:root {
    --navy-950: #001329;
    --navy-900: #061c33;
    --navy-800: #12304e;
    --blue-700: #245b98;
    --blue-600: #2763ab;
    --blue-100: #eaf2fb;
    --blue-50: #f4f8fd;
    --gold-600: #94742e;
    --gold-500: #ad8d49;
    --gold-100: #f4eddc;
    --ink: #17212b;
    --muted: #5f6d7a;
    --line: #dce3e9;
    --line-strong: #c7d1da;
    --surface: #ffffff;
    --surface-soft: #f5f7f9;
    --surface-warm: #faf9f6;
    --success: #167052;
    --success-soft: #eaf6f1;
    --warning: #8a5c14;
    --warning-soft: #fbf5e8;
    --danger: #a83338;
    --danger-soft: #fdf0f1;
    --shadow-sm: 0 1px 2px rgba(0, 19, 41, .05), 0 8px 24px rgba(0, 19, 41, .05);
    --shadow-md: 0 16px 50px rgba(0, 19, 41, .10);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --shell: 1216px;
    --font: "Instrument Sans", "Segoe UI", Inter, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    background: var(--surface-soft);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img, svg { display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy-950); letter-spacing: -.025em; }
h1 { margin-bottom: 20px; font-size: clamp(2.15rem, 4vw, 3.5rem); font-weight: 500; line-height: 1.08; }
h2 { font-size: 1.3rem; font-weight: 650; line-height: 1.28; }
h3 { font-size: 1rem; font-weight: 650; }
p { color: var(--muted); }

.shell { width: min(calc(100% - 64px), var(--shell)); margin-inline: auto; }
.icon { width: 22px; height: 22px; flex: 0 0 auto; }
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.is-hidden, [hidden] { display: none !important; }

.skip-link {
    position: fixed;
    z-index: 1000;
    left: 16px;
    top: 12px;
    transform: translateY(-150%);
    padding: 11px 18px;
    border-radius: var(--radius-sm);
    background: var(--navy-950);
    color: #fff;
    font-weight: 650;
    text-decoration: none;
}
.skip-link:focus-visible { transform: translateY(0); }

:focus-visible {
    outline: 3px solid rgba(39, 99, 171, .35);
    outline-offset: 3px;
}

.preview-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 40px;
    padding: 7px 20px;
    background: var(--blue-600);
    color: #fff;
    font-size: .82rem;
}
.preview-bar a { font-weight: 700; }
.preview-badge { display: inline-flex; align-items: center; gap: 8px; }
.preview-badge .icon { width: 17px; height: 17px; }

.site-header {
    position: relative;
    z-index: 20;
    min-height: 84px;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 16px; color: var(--navy-900); text-decoration: none; }
.brand img { width: 130px; height: 54px; object-fit: contain; object-position: left center; }
.brand-divider { width: 1px; height: 30px; background: var(--line-strong); }
.brand-portal { max-width: 130px; font-size: .77rem; font-weight: 650; line-height: 1.25; letter-spacing: .03em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.language-switcher { display: inline-flex; align-items: center; gap: 5px; color: #7c8792; }
.language-switcher button {
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: .82rem;
    font-weight: 650;
}
.language-switcher button[aria-pressed="true"] { color: var(--navy-950); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.header-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--line-strong);
    border-radius: 100px;
    background: #fff;
    color: var(--navy-900);
    cursor: pointer;
    font-size: .86rem;
    font-weight: 650;
    text-decoration: none;
    transition: border-color .18s ease, background-color .18s ease;
}
.header-link:hover { border-color: var(--navy-800); background: var(--surface-soft); }
.header-link .icon { width: 18px; height: 18px; }
.header-exit-form { margin: 0; }

.site-footer {
    border-top: 1px solid #e6e3de;
    background: #f2f2f0;
    color: #625e57;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(390px, 1.65fr) repeat(3, minmax(118px, .55fr));
    gap: 52px 42px;
    padding-block: 76px 68px;
}
.footer-company { max-width: 530px; }
.footer-brand-link { display: inline-flex; text-decoration: none; }
.footer-logo { width: 140px; height: 48px; object-fit: contain; object-position: left center; }
.footer-slogan { margin: 10px 0 0; color: #715d39; font-size: .78rem; }
.footer-contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; margin-top: 48px; }
.footer-heading { margin: 0 0 12px; color: #4e473e; font-size: 1rem; font-weight: 650; letter-spacing: -.015em; }
.footer-company a:not(.footer-brand-link), .footer-company address {
    display: block;
    width: fit-content;
    max-width: 260px;
    margin: 0;
    color: #68645e;
    font-size: .86rem;
    font-style: normal;
    line-height: 1.58;
    text-decoration: none;
}
.footer-company a:not(.footer-brand-link) { min-height: 30px; }
.footer-nav { padding-top: 3px; }
.footer-nav-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.footer-nav-list a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    color: #6a6660;
    font-size: .86rem;
    line-height: 1.35;
    text-decoration: none;
    transition: color .16s ease, transform .16s ease;
}
.footer-nav-list a:hover, .footer-company a:not(.footer-brand-link):hover, .footer-legal a:hover { color: #775e2c; }
.footer-nav-list a:hover { transform: translateX(2px); }
.footer-socials a { gap: 9px; }
.footer-socials .icon { width: 18px; height: 18px; color: #68645e; stroke-width: 1.7; }
.footer-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding-block: 23px 27px;
    border-top: 1px solid #dcd9d3;
}
.footer-note { max-width: 520px; margin: 0; color: #77726b; font-size: .76rem; line-height: 1.55; }
.footer-bottom-meta { display: grid; gap: 10px; justify-items: end; text-align: right; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 22px; }
.footer-legal a { color: #66625c; font-size: .76rem; text-underline-offset: 4px; }
.footer-copyright { margin: 0; color: #77726b; font-size: .76rem; }

/* Legal and policy pages */
.legal-page { padding-block: 72px 92px; }
.legal-shell { max-width: 1040px; }
.legal-hero { max-width: 820px; margin-bottom: 36px; }
.legal-hero h1 { margin-bottom: 16px; }
.legal-hero .page-lead { max-width: 780px; }
.legal-updated { margin: 22px 0 0; color: #73808b; font-size: .82rem; font-weight: 650; }
.legal-content { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.legal-section { padding: 28px 32px; border-bottom: 1px solid var(--line); }
.legal-section:last-child { border-bottom: 0; }
.legal-section h2 { margin-bottom: 12px; font-size: 1.2rem; }
.legal-section p { margin-bottom: 12px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { display: grid; gap: 8px; margin: 10px 0 0; padding-left: 22px; color: var(--muted); }
.legal-section li { padding-left: 4px; }
.legal-contact { margin-top: 24px; padding: 24px 28px; border-left: 4px solid var(--gold-500); border-radius: var(--radius-sm); background: var(--surface-warm); }
.legal-contact h2 { margin-bottom: 8px; font-size: 1.05rem; }
.legal-contact p { margin-bottom: 8px; }
.legal-contact p:last-child { margin-bottom: 0; }
.legal-contact a { color: var(--blue-700); font-weight: 700; text-underline-offset: 3px; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 12px 21px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button:disabled { cursor: not-allowed; opacity: .66; transform: none; }
.button .icon { width: 20px; height: 20px; }
.button-primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 18px rgba(39,99,171,.17); }
.button-primary:hover { background: #20538f; box-shadow: 0 10px 24px rgba(39,99,171,.23); }
.button-secondary { border-color: var(--line-strong); background: #fff; color: var(--navy-950); }
.button-secondary:hover { border-color: var(--blue-600); color: var(--blue-700); }
.button-ghost { border-color: transparent; background: transparent; color: var(--navy-800); }
.button-ghost:hover { background: #eef2f5; }
.button-block { width: 100%; }
.button-copy { min-height: 44px; padding: 10px 15px; border-color: rgba(39,99,171,.24); background: var(--blue-50); color: var(--blue-700); font-size: .88rem; box-shadow: none; }
.button-copy.is-copied { border-color: rgba(22,112,82,.24); background: var(--success-soft); color: var(--success); }
.button-default, .button-loading { display: inline-flex; align-items: center; gap: 10px; }
.button-loading { display: none; }
.is-loading .button-default { display: none; }
.is-loading .button-loading { display: inline-flex; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.eyebrow { display: inline-block; margin-bottom: 15px; color: var(--blue-700); font-size: .76rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-on-dark { color: #aac8e8; }
.page-heading { max-width: 780px; margin-bottom: 38px; }
.page-heading h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.page-lead { margin-bottom: 0; font-size: 1.09rem; line-height: 1.65; }
.inline-note { display: flex; align-items: flex-start; gap: 10px; margin: 0; color: var(--muted); font-size: .88rem; }
.inline-note .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--blue-600); }
.inline-note-success { margin: -6px 0 26px; color: var(--success); }

/* Home */
.home-hero { overflow: hidden; border-bottom: 1px solid #ebe8e2; background: #fff; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(440px, .97fr); gap: 54px; min-height: 570px; }
.home-copy { align-self: center; max-width: 650px; padding: 84px 24px 84px 0; }
.home-copy .eyebrow { color: var(--gold-600); }
.home-copy h1 { max-width: 610px; color: #232422; font-size: clamp(2.7rem, 4.6vw, 4.15rem); font-weight: 480; line-height: 1.04; }
.home-lead { max-width: 610px; margin-bottom: 30px; color: #646a70; font-size: 1.06rem; line-height: 1.7; }
.home-privacy { display: flex; align-items: flex-start; gap: 13px; max-width: 570px; padding-top: 24px; border-top: 1px solid #dedbd5; }
.home-privacy .icon { margin-top: 2px; color: var(--gold-600); }
.home-privacy p { margin: 0; color: #4f575e; font-size: .92rem; }
.action-panel {
    align-self: center;
    margin-left: 8px;
    padding: 40px;
    border: 1px solid #dedbd5;
    border-radius: 14px;
    background: #fbfbfa;
    box-shadow: 0 16px 42px rgba(74, 61, 38, .07);
}
.action-choice { display: grid; grid-template-columns: 52px 1fr; gap: 20px; }
.choice-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--blue-600); color: #fff; }
.choice-icon-soft { background: var(--gold-100); color: var(--gold-600); }
.action-choice h2 { margin: 2px 0 8px; font-size: 1.45rem; }
.action-choice p { margin-bottom: 22px; font-size: .94rem; line-height: 1.6; }
.panel-divider { display: flex; align-items: center; gap: 10px; height: 56px; margin-left: 26px; }
.panel-divider span { width: 1px; height: 100%; background: var(--line); }
.home-support { display: grid; grid-template-columns: 1.25fr .75fr; gap: 30px; padding-block: 54px; }
.process-strip, .emergency-note { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.process-strip { padding: 28px 32px; }
.process-strip h2 { margin-bottom: 22px; font-size: 1.05rem; }
.process-strip ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.process-strip li { display: flex; align-items: center; gap: 11px; color: var(--navy-800); font-size: .86rem; }
.process-strip li span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--blue-700); font-weight: 750; }
.emergency-note { display: flex; align-items: flex-start; gap: 15px; padding: 28px; background: var(--warning-soft); border-color: #ead9b7; }
.emergency-note > .icon { margin-top: 1px; color: var(--warning); }
.emergency-note h2 { margin-bottom: 7px; font-size: 1.02rem; color: #64440f; }
.emergency-note p { margin: 0; color: #785b2c; font-size: .86rem; }

/* Report progress and forms */
.report-page { min-height: 720px; padding: 48px 0 80px; }
.report-shell { max-width: 1100px; }
.progress { margin-bottom: 64px; }
.progress-mobile { display: none; }
.progress-track { display: none; }
.progress-track .progress-step-1 { width: 14.286%; }
.progress-track .progress-step-2 { width: 28.571%; }
.progress-track .progress-step-3 { width: 42.857%; }
.progress-track .progress-step-4 { width: 57.143%; }
.progress-track .progress-step-5 { width: 71.429%; }
.progress-track .progress-step-6 { width: 85.714%; }
.progress-track .progress-step-7 { width: 100%; }
.progress-list { display: grid; grid-template-columns: repeat(7, 1fr); margin: 0; padding: 0; list-style: none; }
.progress-list li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #82909c; font-size: .73rem; font-weight: 600; text-align: center; line-height: 1.25; }
.progress-list li::before { content: ""; position: absolute; z-index: 0; top: 16px; right: 50%; width: 100%; height: 1px; background: var(--line-strong); }
.progress-list li:first-child::before { display: none; }
.step-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface-soft); color: #71808d; font-size: .76rem; }
.step-dot .icon { width: 15px; height: 15px; }
.progress-list .is-current { color: var(--navy-950); }
.progress-list .is-current .step-dot { border-color: var(--blue-600); background: var(--blue-600); color: #fff; box-shadow: 0 0 0 5px var(--blue-100); }
.progress-list .is-complete { color: var(--navy-800); }
.progress-list .is-complete::before { background: var(--blue-600); }
.progress-list .is-complete .step-dot { border-color: var(--blue-600); background: #fff; color: var(--blue-600); }
.report-form { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.form-actions-end { justify-content: flex-end; }
.field-group { margin-bottom: 26px; }
.field-group > label, .field-label { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; color: var(--navy-900); font-size: .91rem; font-weight: 650; }
.required-mark { color: var(--danger); }
.optional-tag { margin-left: auto; color: #7d8994; font-size: .72rem; font-weight: 500; }
input[type="text"], input[type="password"], input[type="date"], textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--ink);
    outline: none;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
input::placeholder, textarea::placeholder { color: #8a97a2; opacity: 1; }
input:hover, textarea:hover { border-color: #9eacb8; }
input:focus, textarea:focus { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(39,99,171,.11); }
.has-error input, .has-error textarea, .choice-fieldset.has-error .choice-card { border-color: var(--danger); }
.field-help { margin: 7px 0 0; color: #74818d; font-size: .78rem; }
.field-error { margin: 8px 0 0; color: var(--danger); font-size: .82rem; font-weight: 600; }
.field-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 7px; color: #74818d; font-size: .78rem; }
.field-meta .field-help { margin: 0; }
.form-grid { display: grid; gap: 24px; }
.form-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.information-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); }
.information-item { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 25px; border-bottom: 1px solid var(--line); }
.information-item:nth-child(odd) { border-right: 1px solid var(--line); }
.information-item:nth-last-child(-n+2) { border-bottom: 0; }
.information-item:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.information-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--blue-50); color: var(--blue-700); }
.information-icon .icon { width: 21px; height: 21px; }
.information-item h2 { margin: 1px 0 6px; font-size: 1rem; }
.information-item p { margin: 0; font-size: .86rem; line-height: 1.55; }
.report-page .information-list + .report-form { margin-top: 24px; }
.check-consent { display: flex; align-items: flex-start; gap: 13px; cursor: pointer; color: var(--navy-900); font-size: .93rem; font-weight: 550; line-height: 1.5; }
.check-consent input, .choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.custom-check { display: grid; place-items: center; flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px; border: 1.5px solid #9eacb8; border-radius: 5px; background: #fff; color: transparent; }
.custom-check .icon { width: 15px; height: 15px; }
.check-consent input:focus + .custom-check,
input:focus-visible + .custom-check { outline: 3px solid rgba(39,99,171,.3); outline-offset: 2px; }
input:checked + .custom-check { border-color: var(--blue-600); background: var(--blue-600); color: #fff; }

.reference-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 34px; padding: 22px 24px; border: 1px solid #c9dced; border-radius: var(--radius); background: var(--blue-50); }
.reference-card > div { display: grid; gap: 4px; }
.reference-card .field-label { margin: 0; }
.reference-number { color: var(--navy-950); font-size: 1.48rem; letter-spacing: .08em; }
.reference-card .field-help { margin: 0; }
.password-control { position: relative; }
.password-control input { padding-right: 54px; }
.icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.password-control .icon-button { position: absolute; top: 3px; right: 3px; }
.icon-button:hover { background: #edf1f4; color: var(--navy-900); }
.icon-button .icon { width: 19px; height: 19px; }
.password-feedback { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; margin-bottom: 28px; padding: 20px; border-radius: var(--radius-sm); background: var(--surface-soft); }
.strength-heading { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 10px; color: var(--muted); font-size: .78rem; }
.strength-heading strong { color: var(--navy-900); }
.strength-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.strength-bars span { height: 5px; border-radius: 10px; background: #d7dfe5; }
.password-strength[data-score="1"] .strength-bars span:nth-child(-n+1) { background: var(--danger); }
.password-strength[data-score="2"] .strength-bars span:nth-child(-n+2) { background: #d28b27; }
.password-strength[data-score="3"] .strength-bars span:nth-child(-n+3) { background: var(--blue-600); }
.password-strength[data-score="4"] .strength-bars span { background: var(--success); }
.password-rules > strong { display: block; margin-bottom: 8px; color: var(--navy-900); font-size: .8rem; }
.password-rules ul { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 16px; margin: 0; padding: 0; list-style: none; }
.password-rules li { display: flex; align-items: center; gap: 6px; color: #77848f; font-size: .76rem; }
.password-rules li .icon { width: 15px; height: 15px; }
.password-rules li.is-met { color: var(--success); }

.alert { display: flex; align-items: flex-start; gap: 13px; margin: 24px 0; padding: 17px 18px; border: 1px solid; border-radius: var(--radius-sm); }
.alert > .icon { margin-top: 1px; }
.alert strong { display: block; margin-bottom: 3px; color: inherit; }
.alert p { margin: 0; color: inherit; font-size: .86rem; }
.alert ul { margin: 5px 0 0; padding-left: 20px; }
.alert-warning { border-color: #ead6ab; background: var(--warning-soft); color: #785019; }
.alert-info { border-color: #c9dced; background: var(--blue-50); color: #294d73; }
.alert-error { border-color: #eabfc2; background: var(--danger-soft); color: #8c292f; }
.alert-success { border-color: #b9dfd0; background: var(--success-soft); color: #145c46; }
.alert-neutral { border-color: var(--line); background: var(--surface-soft); color: var(--muted); }

.choice-fieldset { margin: 0; padding: 0; border: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice-grid-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-card { position: relative; display: flex; align-items: center; gap: 13px; min-height: 62px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--navy-900); cursor: pointer; font-size: .9rem; font-weight: 550; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.choice-card:hover { border-color: #92a8bc; background: #fbfcfd; }
.choice-card:has(input:checked) { border-color: var(--blue-600); background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue-600); }
.choice-card input:focus-visible ~ span:last-child { text-decoration: underline; text-underline-offset: 4px; }
.custom-radio { width: 20px; height: 20px; flex: 0 0 auto; border: 1.5px solid #9eacb8; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 5px #fff; }
input:checked + .custom-radio { border-color: var(--blue-600); background: var(--blue-600); }
.conditional-field { display: none; margin-top: 22px; }
.conditional-field.is-visible { display: block; }
.category-label-list { display: grid; gap: 5px; margin: 0; padding-left: 1.15rem; overflow-wrap: anywhere; }
.success-categories { margin: -10px 0 24px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-soft); }
.success-categories h2 { margin: 0 0 10px; font-size: .92rem; }

.upload-zone { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 280px; padding: 34px; border: 1.5px dashed #9db1c3; border-radius: var(--radius); background: #f9fbfd; text-align: center; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.upload-zone:hover, .upload-zone.is-dragging { border-color: var(--blue-600); background: var(--blue-50); box-shadow: inset 0 0 0 1px rgba(39,99,171,.15); }
.upload-zone input { position: absolute; opacity: 0; pointer-events: none; }
.upload-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 14px; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); }
.upload-zone strong { margin-bottom: 3px; color: var(--navy-900); font-size: 1.08rem; }
.upload-zone > span:not(.upload-icon):not(.button) { color: var(--muted); font-size: .88rem; }
.upload-button { min-height: 44px; margin: 16px 0 10px; pointer-events: none; }
.upload-zone small { color: #77848f; font-size: .74rem; }
.upload-feedback:not(:empty) { margin-top: 14px; color: var(--danger); font-size: .84rem; }
.file-section { margin-top: 28px; }
.file-section h2 { margin-bottom: 12px; font-size: 1rem; }
.empty-files { margin: 0; padding: 18px; border-radius: var(--radius-sm); background: var(--surface-soft); font-size: .86rem; }
.file-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.file-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 66px; padding: 10px 10px 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.file-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: var(--blue-50); color: var(--blue-700); }
.file-icon .icon { width: 19px; height: 19px; }
.file-details { min-width: 0; display: grid; }
.file-details strong { overflow: hidden; color: var(--navy-900); font-size: .85rem; text-overflow: ellipsis; white-space: nowrap; }
.file-details small { color: var(--muted); font-size: .74rem; }
.file-status-invalid, .file-status-oversize, .file-status-error { border-color: #e9bec1; background: var(--danger-soft); }
.file-status-invalid .file-icon, .file-status-oversize .file-icon, .file-status-error .file-icon { background: #f7dbdd; color: var(--danger); }
.file-status-invalid .file-details small, .file-status-oversize .file-details small, .file-status-error .file-details small { color: var(--danger); }
.remove-file-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; font-size: .74rem; font-weight: 700; }
.remove-file-button:hover { background: var(--danger-soft); color: var(--danger); }
.remove-file-button:focus-visible { outline: 3px solid rgba(39,99,171,.28); outline-offset: 2px; }
.remove-file-button .icon { width: 17px; height: 17px; }

.attachment-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.attachment-row { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 11px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.attachment-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--blue-50); color: var(--blue-700); }
.attachment-icon .icon { width: 17px; height: 17px; }
.attachment-details { display: grid; min-width: 0; }
.attachment-details strong { overflow: hidden; color: var(--navy-900); font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.attachment-details > span { color: var(--muted); font-size: .72rem; line-height: 1.45; }
.attachment-list-review .attachment-row { padding: 7px 0; border: 0; background: transparent; }
.attachment-list-review .attachment-icon { width: 30px; height: 30px; }
.received-attachments { margin-top: 22px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-soft); }
.attachment-summary-heading { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.attachment-summary-heading h2 { margin: 0; font-size: .95rem; }
.attachment-summary-heading span { color: var(--muted); font-size: .74rem; }

.review-form { padding: 0; background: transparent; border: 0; box-shadow: none; }
.review-list { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.review-row { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: start; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.review-row:last-child { border-bottom: 0; }
.review-row h2 { margin-bottom: 7px; color: var(--muted); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.review-row p { max-width: 820px; margin: 0; color: var(--ink); white-space: normal; }
.text-button { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 7px 4px; border: 0; background: transparent; color: var(--blue-700); cursor: pointer; font-size: .82rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.text-button .icon { width: 16px; height: 16px; }
.review-files { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.review-files li { display: flex; align-items: center; gap: 7px; color: var(--navy-800); font-size: .85rem; }
.review-files .icon { width: 17px; height: 17px; }
.review-files span { color: var(--muted); }
.review-form .check-consent { margin-top: 24px; padding: 21px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.button-submit { min-width: 220px; }

.success-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-md); }
.success-main { padding: 54px; }
.status-symbol { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 24px; border-radius: 50%; background: var(--success-soft); color: var(--success); }
.status-symbol .icon { width: 31px; height: 31px; stroke-width: 2.2; }
.status-symbol-error { background: var(--danger-soft); color: var(--danger); }
.success-main h1 { max-width: 680px; }
.success-main .page-lead { max-width: 720px; }
.success-reference { display: grid; grid-template-columns: 1fr auto; gap: 5px 20px; align-items: center; margin: 34px 0 24px; padding: 20px 22px; border: 1px solid #c9dced; border-radius: var(--radius); background: var(--blue-50); }
.success-reference > span { grid-column: 1; color: var(--muted); font-size: .78rem; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; }
.success-reference strong { grid-column: 1; color: var(--navy-950); font-size: 1.45rem; letter-spacing: .08em; }
.success-reference .button { grid-column: 2; grid-row: 1 / 3; }
.response-note { margin: 20px 0 0; font-size: .86rem; }
.success-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.success-side { display: flex; flex-direction: column; justify-content: center; padding: 38px; background: var(--navy-950); color: #fff; }
.success-side h2 { color: #fff; }
.success-side p { color: rgba(255,255,255,.72); }
.success-shield { width: 100px; height: 100px; margin: 0 0 42px; color: rgba(255,255,255,.16); }
.text-button-light { color: #fff; }

/* Tracking */
.track-page { min-height: 680px; padding: 74px 0 90px; }
.track-shell { display: grid; grid-template-columns: minmax(0, .92fr) minmax(440px, .78fr); gap: 90px; align-items: center; max-width: 1060px; }
.track-intro h1 { max-width: 560px; }
.track-intro .page-lead { max-width: 550px; }
.trust-list { display: grid; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.trust-list p { display: flex; align-items: flex-start; gap: 11px; margin: 0; font-size: .86rem; }
.trust-list .icon { width: 19px; height: 19px; margin-top: 2px; color: var(--blue-700); }
.track-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-md); }
.track-card .report-form { padding: 0; border: 0; box-shadow: none; }
.compact-alert { margin-top: 0; }
.track-help { display: flex; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.track-help > .icon { width: 19px; height: 19px; margin-top: 2px; color: var(--blue-700); }
.track-help h2 { margin-bottom: 6px; font-size: .92rem; }
.track-help p { margin-bottom: 7px; font-size: .8rem; }
.track-help a { color: var(--blue-700); font-size: .82rem; font-weight: 700; text-underline-offset: 3px; }

/* Status */
.status-page { padding: 50px 0 80px; }
.status-shell { max-width: 1160px; }
.status-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; margin-bottom: 14px; }
.status-heading h1 { margin-bottom: 0; font-size: clamp(2rem, 3.4vw, 3rem); }
.status-confidential { margin-bottom: 26px; }
.status-overview { display: grid; grid-template-columns: 270px 1fr; overflow: hidden; margin-bottom: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.status-primary { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 28px; background: var(--blue-50); border-right: 1px solid var(--line); }
.status-badge { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-700); font-weight: 700; }
.status-badge .icon { width: 20px; height: 20px; }
.status-badge-neutral { color: var(--muted); }
.record-state { padding: 5px 9px; border: 1px solid #b9dfd0; border-radius: 100px; background: var(--success-soft); color: var(--success); font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.status-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.status-facts div { padding: 21px 24px; }
.status-facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.status-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.status-facts dt, .closed-facts dt { margin-bottom: 4px; color: var(--muted); font-size: .72rem; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; }
.status-facts dd, .closed-facts dd { margin: 0; color: var(--navy-900); font-size: .88rem; font-weight: 600; }
.status-columns { display: grid; grid-template-columns: .78fr 1.22fr; gap: 26px; align-items: start; }
.timeline-panel, .messages-panel, .report-attachments-panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.report-attachments-panel { margin-bottom: 26px; }
.attachment-heading { margin-bottom: 16px; }
.section-heading { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 25px; }
.section-heading h2 { margin: 0 0 5px; font-size: 1.15rem; }
.section-heading p { margin: 0; font-size: .8rem; }
.section-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: var(--blue-50); color: var(--blue-700); }
.section-icon .icon { width: 19px; height: 19px; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding-bottom: 23px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; top: 24px; bottom: 0; left: 10px; width: 1px; background: var(--line-strong); }
.timeline li:last-child::before { display: none; }
.timeline-marker { position: relative; z-index: 1; display: grid; place-items: center; width: 21px; height: 21px; border: 2px solid var(--line-strong); border-radius: 50%; background: #fff; color: #fff; }
.timeline-marker .icon { width: 12px; height: 12px; }
.timeline-complete .timeline-marker { border-color: var(--success); background: var(--success); }
.timeline-current .timeline-marker { border: 5px solid var(--blue-600); box-shadow: 0 0 0 4px var(--blue-100); }
.timeline-complete::before { background: var(--success) !important; }
.timeline strong { display: block; margin-bottom: 3px; color: var(--navy-900); font-size: .85rem; }
.timeline p { margin: 0 0 4px; font-size: .76rem; line-height: 1.45; }
.timeline small { color: #82909b; font-size: .68rem; }
.timeline-current small { color: var(--blue-700); font-weight: 700; }
.timeline-upcoming { opacity: .62; }
.messages-heading { position: relative; padding-right: 76px; }
.messages-heading .eyebrow { margin-bottom: 4px; font-size: .65rem; }
.new-message-badge { position: absolute; top: 0; right: 0; padding: 5px 9px; border-radius: 100px; background: var(--blue-600); color: #fff; font-size: .65rem; font-weight: 700; }
.message-thread { display: grid; gap: 13px; margin-bottom: 26px; }
.message { max-width: 88%; padding: 15px 17px; border: 1px solid var(--line); border-radius: 4px 12px 12px 12px; background: var(--surface-soft); }
.message header { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 7px; }
.message header strong { color: var(--navy-900); font-size: .75rem; }
.message time { color: #7d8994; font-size: .68rem; }
.message p { margin: 0; color: var(--ink); font-size: .82rem; }
.message-attachments { margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); }
.message-attachments .attachment-row { padding: 7px 0; border: 0; background: transparent; }
.message-attachments .attachment-icon { width: 30px; height: 30px; background: rgba(255,255,255,.7); }
.message-attachments .attachment-details strong { font-size: .76rem; }
.message-attachments .attachment-details > span { font-size: .67rem; }
.message-request { border-color: #d9c28c; background: var(--warning-soft); }
.request-badge { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 8px; color: var(--warning); font-size: .68rem; font-weight: 750; }
.request-badge .icon { width: 14px; height: 14px; }
.message-user { justify-self: end; border-radius: 12px 4px 12px 12px; border-color: #c9dced; background: var(--blue-50); }
.empty-messages { display: flex; flex-direction: column; align-items: center; padding: 42px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); text-align: center; }
.empty-messages > .icon { width: 35px; height: 35px; margin-bottom: 14px; color: #8da0b0; }
.empty-messages h3 { margin-bottom: 5px; }
.empty-messages p { max-width: 360px; margin: 0; font-size: .8rem; }
.reply-form { padding-top: 24px; border-top: 1px solid var(--line); }
.reply-actions { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.attachment-button { display: flex; align-items: center; gap: 10px; min-height: 48px; cursor: pointer; color: var(--blue-700); }
.attachment-button > .icon { width: 20px; height: 20px; }
.attachment-button span { display: grid; }
.attachment-button strong { font-size: .78rem; }
.attachment-button small { color: var(--muted); font-size: .66rem; }
.closed-summary { display: grid; grid-template-columns: 58px 1fr; gap: 20px; margin-bottom: 26px; padding: 28px; border: 1px solid #b9dfd0; border-radius: var(--radius); background: var(--success-soft); }
.closed-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--success); }
.closed-summary h2 { margin-bottom: 12px; font-size: 1.4rem; }
.closed-summary h3 { margin: 20px 0 7px; }
.closed-summary p { margin-bottom: 18px; color: #315c4f; }
.closed-facts { margin: 0; }
.closed-message-state { display: inline-flex; align-items: center; gap: 7px; color: #315c4f; font-size: .78rem; font-weight: 700; }
.closed-message-state .icon { width: 16px; height: 16px; }

/* Preview and errors */
.preview-page { padding-block: 64px 84px; }
.preview-heading { max-width: 760px; }
.preview-heading .inline-note { margin-top: 20px; }
.preview-group { margin-top: 44px; }
.preview-group > h2 { margin-bottom: 16px; font-size: 1.05rem; }
.preview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.preview-card { display: grid; min-height: 155px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.preview-card:hover { transform: translateY(-2px); border-color: #a7bac9; box-shadow: var(--shadow-md); }
.preview-code { width: fit-content; padding: 4px 8px; border-radius: 100px; background: var(--blue-50); color: var(--blue-700); font-size: .68rem; font-weight: 750; }
.preview-card strong { align-self: center; color: var(--navy-900); }
.preview-open { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .72rem; }
.preview-open .icon { width: 15px; height: 15px; }
.narrow-page { min-height: 620px; padding-block: 90px; }
.error-page { max-width: 720px; }

@media (max-width: 1050px) {
    .home-grid { grid-template-columns: 1fr 430px; gap: 30px; }
    .home-copy { padding-right: 24px; }
    .action-panel { margin-left: 10px; padding: 32px; }
    .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 32px; }
    .footer-company { grid-column: 1 / -1; max-width: 620px; }
    .progress-list li span:last-child { max-width: 90px; }
    .status-columns { grid-template-columns: .7fr 1.3fr; }
    .preview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    .shell { width: min(calc(100% - 40px), var(--shell)); }
    .site-header, .header-inner { min-height: 74px; }
    .brand img { width: 108px; height: 46px; }
    .brand-divider, .brand-portal { display: none; }
    .header-actions { gap: 10px; }
    .header-link span { display: none; }
    .header-link { width: 44px; padding: 0; }
    .home-grid { grid-template-columns: 1fr; gap: 0; padding-block: 64px; }
    .home-copy { max-width: 700px; padding: 10px 0 50px; }
    .home-copy h1 { max-width: 680px; }
    .action-panel { margin: 0; }
    .home-support { grid-template-columns: 1fr; }
    .footer-company a:not(.footer-brand-link) { min-height: 44px; }
    .footer-nav-list a { min-height: 44px; }
    .footer-bottom { display: grid; }
    .footer-bottom-meta { justify-items: start; text-align: left; }
    .footer-legal { justify-content: flex-start; }
    .footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }
    .legal-page { padding-block: 54px 72px; }
    .progress { margin-bottom: 42px; }
    .progress-list { display: none; }
    .progress-mobile { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 10px; color: var(--muted); font-size: .76rem; }
    .progress-mobile div { display: grid; }
    .progress-mobile strong { color: var(--navy-900); font-size: .9rem; }
    .progress-percent { align-self: end; color: var(--blue-700); font-weight: 700; }
    .progress-track { display: block; overflow: hidden; height: 5px; border-radius: 20px; background: var(--line); }
    .progress-track span { display: block; height: 100%; border-radius: 20px; background: var(--blue-600); }
    .track-shell { grid-template-columns: 1fr; gap: 44px; max-width: 680px; }
    .status-overview { grid-template-columns: 1fr; }
    .status-primary { border-right: 0; border-bottom: 1px solid var(--line); }
    .status-columns { grid-template-columns: 1fr; }
    .timeline { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .timeline li { padding: 0; }
    .timeline li::before { display: none; }
    .success-layout { grid-template-columns: 1fr; }
    .success-side { min-height: 250px; }
    .success-shield { display: none; }
}

@media (max-width: 620px) {
    .shell { width: min(calc(100% - 28px), var(--shell)); }
    body { font-size: 15px; }
    .site-header, .header-inner { min-height: 68px; }
    .brand img { width: 100px; height: 42px; }
    .language-switcher button { min-width: 44px; }
    .header-link { width: 44px; min-height: 44px; }
    .preview-bar { justify-content: space-between; gap: 12px; font-size: .72rem; }
    .preview-badge .icon { display: none; }
    .home-grid { padding-block: 46px 52px; }
    .home-copy { padding-bottom: 36px; }
    .home-copy h1 { font-size: clamp(2.25rem, 10.5vw, 3rem); }
    .home-lead { font-size: .96rem; }
    .action-panel { padding: 26px 20px; }
    .action-choice { grid-template-columns: 44px 1fr; gap: 14px; }
    .choice-icon { width: 44px; height: 44px; }
    .action-choice h2 { font-size: 1.2rem; }
    .action-choice .button { width: 100%; }
    .panel-divider { margin-left: 22px; }
    .home-support { padding-block: 30px; }
    .process-strip { padding: 24px 20px; }
    .process-strip ol { grid-template-columns: 1fr; }
    .emergency-note { padding: 22px 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 50px 42px; }
    .footer-company { grid-column: auto; }
    .footer-contact-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 36px; }
    .footer-nav { padding-top: 24px; border-top: 1px solid #dedbd5; }
    .footer-nav-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
    .footer-bottom { gap: 22px; padding-block: 21px 28px; }
    .footer-bottom-meta { gap: 16px; }
    .footer-legal { gap: 0 18px; }
    .legal-page { padding-block: 40px 56px; }
    .legal-hero { margin-bottom: 26px; }
    .legal-section { padding: 23px 20px; }
    .legal-contact { padding: 21px 20px; }
    .report-page { padding: 30px 0 56px; }
    .page-heading { margin-bottom: 28px; }
    .page-heading h1 { margin-bottom: 15px; font-size: 2rem; }
    .page-lead { font-size: .98rem; }
    .progress { margin-bottom: 34px; }
    .report-form { padding: 22px 18px; }
    .form-grid-2 { grid-template-columns: 1fr; gap: 0; }
    .form-actions { position: sticky; z-index: 4; bottom: 0; margin: 28px -18px -22px; padding: 15px 18px; background: rgba(255,255,255,.97); box-shadow: 0 -8px 22px rgba(0,19,41,.06); }
    .form-actions .button { min-width: 0; }
    .form-actions .button-primary { flex: 1; }
    .form-actions-end { justify-content: stretch; }
    .information-list { grid-template-columns: 1fr; }
    .information-item, .information-item:nth-child(odd), .information-item:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
    .information-item:last-child { grid-column: auto; border-bottom: 0; }
    .information-item { padding: 20px 18px; }
    .reference-card { display: grid; padding: 18px; }
    .reference-card .button { width: 100%; }
    .reference-number { font-size: 1.24rem; }
    .password-feedback { grid-template-columns: 1fr; gap: 20px; }
    .password-rules ul { grid-template-columns: 1fr; }
    .choice-grid, .choice-grid-wide { grid-template-columns: 1fr; }
    .upload-zone { min-height: 250px; padding: 28px 16px; }
    .review-row { grid-template-columns: 1fr; gap: 10px; padding: 19px 18px; }
    .review-row .text-button { justify-self: start; }
    .review-form .check-consent { padding: 18px; }
    .button-submit { min-width: 0; }
    .success-main { padding: 34px 22px; }
    .success-reference { grid-template-columns: 1fr; }
    .success-reference .button { grid-column: 1; grid-row: auto; width: 100%; margin-top: 10px; }
    .success-actions .button { width: 100%; }
    .success-side { min-height: 220px; padding: 30px 24px; }
    .track-page { padding: 44px 0 64px; }
    .track-card { padding: 26px 20px; }
    .status-page { padding: 34px 0 60px; }
    .status-heading { display: grid; }
    .status-tools .button { width: 100%; }
    .status-facts { grid-template-columns: 1fr; }
    .status-facts div, .status-facts div:nth-child(odd), .status-facts div:nth-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
    .status-facts div:last-child { border-bottom: 0; }
    .timeline-panel, .messages-panel, .report-attachments-panel { padding: 22px 18px; }
    .timeline { grid-template-columns: 1fr; }
    .timeline li { padding-bottom: 20px; }
    .message { max-width: 96%; }
    .message header { display: grid; gap: 2px; }
    .file-item { grid-template-columns: 36px minmax(0, 1fr); gap: 9px; }
    .file-item .remove-file-button { grid-column: 1 / -1; justify-self: end; margin-top: -4px; }
    .attachment-summary-heading { display: grid; gap: 3px; }
    .reply-actions { align-items: stretch; flex-direction: column; }
    .reply-actions .button { width: 100%; }
    .closed-summary { grid-template-columns: 1fr; padding: 22px 18px; }
    .preview-page { padding-block: 44px 64px; }
    .preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .preview-card { min-height: 140px; padding: 16px; }
    .narrow-page { min-height: 540px; padding-block: 60px; }
}

@media (max-width: 380px) {
    .header-actions { gap: 2px; }
    .language-switcher { gap: 0; }
    .language-switcher button { min-width: 44px; }
    .home-copy h1 { font-size: 2.25rem; }
    .action-choice { grid-template-columns: 1fr; }
    .panel-divider { margin-left: 0; height: 34px; }
    .panel-divider span { width: 100%; height: 1px; }
    .form-actions { gap: 8px; }
    .form-actions .button { padding-inline: 14px; }
    .preview-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
    body { background: #fff; color: #000; }
    .site-header, .site-footer, .preview-bar, .progress, .form-actions, .success-actions, .status-tools, .reply-form, .header-actions { display: none !important; }
    .report-page, .status-page { padding: 0; }
    .success-layout, .status-overview, .timeline-panel, .messages-panel { border: 1px solid #bbb; box-shadow: none; }
    .success-side { background: #eee; color: #000; }
    .success-side h2, .success-side p { color: #000; }
}
