
.tr-business-flow,
.tr-flow-simple-card {
    --tr-navy: #0B315F;
    --tr-red: #EF334F;
    --tr-green: #2E8B3C;
    --tr-bg: #F8FAFC;
    --tr-text: #10233F;
    --tr-muted: #64748B;
    --tr-border: #E2E8F0;
    width: min(calc(100% - 28px), 1080px);
    margin: clamp(34px, 6vw, 74px) auto;
    color: var(--tr-text);
}

.tr-business-flow *,
.tr-flow-simple-card * {
    box-sizing: border-box;
}

.tr-flow-hero,
.tr-flow-card,
.tr-flow-simple-card,
.tr-flow-choice-grid > a,
.tr-flow-notice,
.tr-owned-place-tabs {
    border: 1px solid var(--tr-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(11, 49, 95, .07);
}

.tr-flow-hero {
    padding: clamp(28px, 5vw, 50px);
    background:
        radial-gradient(circle at 8% 88%, rgba(239, 51, 79, .09), transparent 23rem),
        linear-gradient(135deg, #fff, #f7f9fc);
}

.tr-owner-hero {
    background:
        radial-gradient(circle at 8% 88%, rgba(239, 51, 79, .25), transparent 23rem),
        linear-gradient(135deg, #0B315F, #164B80);
}

.tr-flow-hero > span {
    color: var(--tr-red);
    font-weight: 800;
}

.tr-owner-hero > span,
.tr-owner-hero h1,
.tr-owner-hero p {
    color: #fff;
}

.tr-flow-hero h1 {
    margin: 8px 0 10px;
    color: var(--tr-navy);
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 900;
    line-height: 1.25;
}

.tr-flow-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--tr-muted);
}

.tr-flow-card {
    margin-top: 18px;
    padding: clamp(22px, 4vw, 38px);
}

.tr-selected-place {
    display: grid;
    gap: 4px;
    margin-bottom: 22px;
    padding: 16px;
    border-radius: 14px;
    background: #f8fafc;
}

.tr-selected-place strong {
    color: var(--tr-navy);
    font-size: 18px;
}

.tr-selected-place span {
    color: var(--tr-muted);
}

.tr-flow-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tr-flow-form > label {
    display: grid;
    gap: 7px;
}

.tr-flow-form > label > span,
.tr-services-fieldset legend {
    color: var(--tr-navy);
    font-size: 14px;
    font-weight: 800;
}

.tr-flow-form input:not([type="checkbox"]):not([type="file"]),
.tr-flow-form select,
.tr-flow-form textarea {
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid var(--tr-border);
    border-radius: 12px;
    background: #fff;
    font: inherit;
}

.tr-flow-form textarea {
    resize: vertical;
}

.tr-flow-form input:focus,
.tr-flow-form select:focus,
.tr-flow-form textarea:focus {
    border-color: var(--tr-navy);
    box-shadow: 0 0 0 4px rgba(11, 49, 95, .08);
    outline: none;
}

.tr-flow-full {
    grid-column: 1 / -1;
}

.tr-upload-field {
    padding: 15px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
}

.tr-upload-field small {
    color: var(--tr-muted);
}

.tr-flow-form > button {
    grid-column: 1 / -1;
    min-height: 54px;
    border: 0;
    border-radius: 13px;
    color: #fff;
    background: var(--tr-navy);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.tr-flow-form > button:hover {
    background: var(--tr-red);
}

.tr-flow-simple-card {
    max-width: 680px;
    padding: 38px;
    text-align: center;
}

.tr-flow-simple-card h2 {
    margin-top: 0;
    color: var(--tr-navy);
}

.tr-flow-simple-card p {
    color: var(--tr-muted);
}

.tr-flow-simple-card > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.tr-flow-simple-card a {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    padding: 9px 17px;
    border-radius: 11px;
    color: #fff !important;
    background: var(--tr-navy);
    font-weight: 800;
    text-decoration: none !important;
}

.tr-flow-simple-card .tr-flow-secondary {
    color: var(--tr-navy) !important;
    border: 1px solid var(--tr-border);
    background: #fff;
}

.tr-flow-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.tr-flow-choice-grid > a {
    display: grid;
    gap: 8px;
    min-height: 170px;
    align-content: center;
    padding: 26px;
    color: inherit !important;
    text-decoration: none !important;
}

.tr-flow-choice-grid strong {
    color: var(--tr-navy);
    font-size: 21px;
}

.tr-flow-choice-grid span {
    color: var(--tr-muted);
}

.tr-flow-notice {
    display: flex;
    gap: 8px 16px;
    align-items: center;
    margin: 18px 0;
    padding: 15px 18px;
    box-shadow: none;
}

.tr-flow-notice-success {
    color: #166534;
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.tr-flow-notice-warning {
    color: #92400e;
    border-color: #fde68a;
    background: #fffbeb;
}

.tr-flow-notice-error {
    color: #991b1b;
    border-color: #fecaca;
    background: #fef2f2;
}

.tr-owned-place-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    padding: 10px;
}

.tr-owned-place-tabs a {
    padding: 8px 13px;
    border-radius: 10px;
    color: var(--tr-navy) !important;
    text-decoration: none !important;
}

.tr-owned-place-tabs a.is-active {
    color: #fff !important;
    background: var(--tr-navy);
}

.tr-services-fieldset {
    margin: 0;
    padding: 16px;
    border: 1px solid var(--tr-border);
    border-radius: 14px;
}

.tr-services-fieldset legend {
    padding: 0 8px;
}

.tr-service-checkboxes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.tr-service-checkboxes label {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px;
    border-radius: 10px;
    background: #f8fafc;
}

@media (max-width: 760px) {
    .tr-flow-form,
    .tr-flow-choice-grid {
        grid-template-columns: 1fr;
    }

    .tr-flow-full {
        grid-column: auto;
    }

    .tr-service-checkboxes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tr-flow-notice {
        display: grid;
    }
}

@media (max-width: 480px) {
    .tr-service-checkboxes {
        grid-template-columns: 1fr;
    }
}


.tr-form-preserved-notice {
    margin: 14px 0;
    padding: 13px 15px;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    color: #0b315f;
    background: #eff6ff;
    font-weight: 800;
}
