:root {
    --ink: #202421;
    --ink-soft: #515852;
    --paper: #f5f4ef;
    --surface: #ffffff;
    --line: #d8d8d1;
    --gold: #a67512;
    --gold-dark: #775008;
    --gold-pale: #f6edcf;
    --green: #28764c;
    --green-pale: #e5f2ea;
    --red: #a63333;
    --red-pale: #f8e7e5;
    --amber: #8a5a00;
    --amber-pale: #fff1cf;
    --shadow: 0 16px 36px rgba(27, 29, 26, .08);
    --radius: 10px;
}

* { box-sizing: border-box; }
html { color-scheme: light; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--paper); color: var(--ink); }
body { margin: 0; min-height: 100vh; font-size: 16px; line-height: 1.5; }
a { color: var(--gold-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #1769aa; outline-offset: 3px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-180%); background: #fff; color: #111; padding: 10px 14px; border: 2px solid #111; }
.skip-link:focus { transform: none; }

.app-shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 24px 18px; background: #222621; color: #fff; display: flex; flex-direction: column; border-right: 1px solid #343a34; }
.brand { display: block; color: #fff; text-decoration: none; padding: 2px 8px 22px; border-bottom: 1px solid #3a3f39; }
.brand:hover { color: #fff; }
.brand-image { display: block; width: 100%; max-width: 208px; aspect-ratio: 1080 / 335; background: url("naffit-white.png") center / contain no-repeat; }
.nav-list { display: grid; gap: 6px; margin-top: 26px; }
.nav-list a { min-height: 44px; display: flex; align-items: center; color: #dfe3de; text-decoration: none; border-radius: 7px; padding: 10px 12px; font-weight: 600; }
.nav-list a:hover { background: #30352f; color: #fff; }
.nav-list a[aria-current="page"] { color: #fff; background: #3a3e36; box-shadow: inset 3px 0 0 var(--gold); }
.sidebar-footer { margin-top: auto; border-top: 1px solid #3a3f39; padding: 20px 8px 0; }
.signed-in { display: grid; gap: 2px; margin-bottom: 10px; }
.signed-in span { color: #aeb5ad; font-size: 12px; }
.signed-in strong { font-size: 14px; }
.text-button { border: 0; padding: 8px 0; color: #e0c986; background: none; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.main { padding: 42px clamp(24px, 4vw, 64px) 64px; min-width: 0; }
.page-header { display: flex; justify-content: space-between; gap: 28px; align-items: flex-start; margin-bottom: 30px; }
.page-header h1 { margin: 2px 0 5px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4vw, 48px); font-weight: 500; letter-spacing: -.025em; line-height: 1.1; }
.compact-header { max-width: 850px; }
.header-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.eyebrow { margin: 0; color: var(--gold-dark); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.lede { max-width: 680px; margin: 8px 0 0; color: var(--ink-soft); font-size: 18px; }

.button { min-height: 44px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 1px solid transparent; border-radius: 7px; padding: 10px 17px; cursor: pointer; font-weight: 750; text-decoration: none; line-height: 1.2; }
.button-primary { background: var(--gold-dark); color: #fff; }
.button-primary:hover { background: #5f4006; color: #fff; }
.button-secondary { background: #fff; color: var(--ink); border-color: #bfc1bb; }
.button-secondary:hover { border-color: var(--ink); color: var(--ink); }
.button-danger { background: #fff; color: var(--red); border-color: var(--red); }
.button-danger:hover { background: var(--red); color: #fff; }
.button-quiet { color: var(--ink); }
.button-full { width: 100%; }
.button-disabled { border-color: #d1d3cd; background: #eceeea; color: #777d77; cursor: not-allowed; }

.metrics { display: grid; grid-template-columns: repeat(3, minmax(130px, 1fr)) minmax(260px, 2fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 26px; box-shadow: 0 8px 22px rgba(27,29,26,.04); }
.metric { min-height: 126px; padding: 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.metric:last-child { border-right: 0; }
.metric > span { color: var(--ink-soft); font-size: 14px; font-weight: 650; }
.metric strong { font-family: Georgia, serif; font-size: 38px; font-weight: 500; line-height: 1; }
.metric small { color: var(--ink-soft); }
.progress { width: 100%; height: 8px; margin: 11px 0 7px; border: 0; border-radius: 10px; overflow: hidden; background: #e4e5df; appearance: none; }
.progress::-webkit-progress-bar { background: #e4e5df; border-radius: 10px; }
.progress::-webkit-progress-value { background: var(--green); border-radius: 10px; }
.progress::-moz-progress-bar { background: var(--green); border-radius: 10px; }
.progress-warning::-webkit-progress-value { background: #cc8b10; }
.progress-warning::-moz-progress-bar { background: #cc8b10; }
.progress-critical::-webkit-progress-value { background: var(--red); }
.progress-critical::-moz-progress-bar { background: var(--red); }

.content-grid, .detail-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 26px; align-items: start; }
.panel, .form-panel, .confirm-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 22px rgba(27,29,26,.04); }
.panel { overflow: hidden; }
.panel-heading { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.panel-heading h2 { margin: 2px 0 0; font-family: Georgia, serif; font-size: 23px; font-weight: 500; }
.form-panel, .confirm-panel { max-width: 850px; padding: clamp(24px, 4vw, 40px); }
.confirm-panel p { font-size: 18px; max-width: 650px; }
.confirm-danger { border-top: 5px solid var(--red); }

.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 13px 17px; color: var(--ink-soft); background: #f8f8f5; border-bottom: 1px solid var(--line); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
td { padding: 15px 17px; border-bottom: 1px solid #e8e8e2; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfaf6; }
td small { display: block; color: var(--ink-soft); margin-top: 2px; }
code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .94em; }
.empty { color: var(--ink-soft); text-align: center; padding: 30px; }
.status { display: inline-flex; min-height: 28px; align-items: center; border-radius: 20px; padding: 4px 10px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.status-ready { background: #eceeea; color: #485048; }
.status-assigned { background: var(--green-pale); color: #1f633f; }
.status-provisioning { background: var(--amber-pale); color: var(--amber); }
.status-suspended, .status-error { background: var(--red-pale); color: var(--red); }

.activity-list { list-style: none; margin: 0; padding: 8px 20px 16px; }
.activity-list li { min-height: 58px; display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid #ecece7; padding: 10px 0; }
.activity-list li:last-child { border-bottom: 0; }
.activity-mark { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.activity-list li div { display: grid; }
.activity-list strong { font-size: 14px; }
.activity-list span, .activity-list time { color: var(--ink-soft); font-size: 12px; }

.form-stack { display: grid; gap: 23px; }
.form-stack.compact { max-width: 370px; margin: 22px auto 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 750; }
.field label span, .field-hint { color: var(--ink-soft); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1.5px solid #9ba09a; border-radius: 6px; background: #fff; color: var(--ink); padding: 10px 12px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #1769aa; outline: 3px solid rgba(23,105,170,.25); outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: var(--red); }
.field-error { margin: 0; color: var(--red); font-weight: 650; }
.field-hint { margin: 0; font-size: 13px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.error-summary { margin-bottom: 23px; border-left: 5px solid var(--red); background: var(--red-pale); padding: 15px 17px; color: #702323; }
.error-summary ul { margin: 5px 0 0; padding-left: 20px; }
.message-stack { display: grid; gap: 10px; margin-bottom: 22px; }
.message, .credential-warning { border-left: 5px solid #3976a6; background: #e8f1f8; padding: 14px 16px; }
.message-success { border-color: var(--green); background: var(--green-pale); }
.message-warning { border-color: #c3820b; background: var(--amber-pale); }
.message-error { border-color: var(--red); background: var(--red-pale); }
.credential-warning { max-width: 850px; margin-bottom: 18px; border-color: #c3820b; background: var(--amber-pale); }

.detail-list { margin: 0; padding: 7px 24px 24px; }
.detail-list div { display: grid; grid-template-columns: 165px 1fr; gap: 18px; padding: 13px 0; border-bottom: 1px solid #ecece7; }
.detail-list dt { color: var(--ink-soft); font-size: 14px; }
.detail-list dd { margin: 0; font-weight: 600; }
.detail-list + .form-actions { padding: 0 24px 24px; margin-top: 0; }

.film-summary { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); margin-bottom: 26px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 22px rgba(27,29,26,.04); }
.film-summary > div { min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 20px 22px; border-right: 1px solid var(--line); }
.film-summary > div:last-child { border-right: 0; }
.film-summary span { color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.film-summary strong { font-family: Georgia, serif; font-size: 31px; font-weight: 500; line-height: 1; }
.film-summary .summary-date { display: flex; align-items: baseline; gap: 8px; font-size: 25px; }
.film-summary .summary-date small { color: var(--ink-soft); font-family: Inter, ui-sans-serif, sans-serif; font-size: 13px; font-weight: 650; }
.film-summary .summary-error { color: var(--red); }
.integrity-guide { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(240px, 1fr); gap: 22px; margin: 0 0 18px; padding: 18px 20px; border: 1px solid #d8c88e; border-radius: var(--radius); background: #fffaf0; color: #424039; }
.integrity-guide strong { color: #252723; }
.integrity-guide p { margin: 4px 0 0; font-size: 13px; line-height: 1.55; }
.films-panel { overflow: hidden; }
.film-toolbar { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(210px, .55fr) auto auto; gap: 14px; align-items: end; padding: 22px; border-bottom: 1px solid var(--line); background: #fbfbf8; }
.film-toolbar .field { gap: 5px; }
.film-toolbar label { font-size: 13px; }
.film-toolbar .button { min-height: 48px; }
.film-results-heading { min-height: 62px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.film-results-heading p { margin: 0; color: var(--ink-soft); }
.film-results-heading p strong { color: var(--ink); }
.film-results-heading > span { color: var(--ink-soft); font-size: 13px; }
.films-table th:first-child { width: 31%; }
.films-table th:last-child { width: 1%; }
.films-table td { padding-top: 17px; padding-bottom: 17px; }
.film-file { min-width: 0; display: flex; align-items: center; gap: 13px; }
.file-mark { width: 45px; height: 45px; flex: 0 0 45px; display: grid; place-items: center; overflow: hidden; border: 1px solid #ddc88e; border-radius: 6px; background: var(--gold-pale); color: var(--gold-dark); font-size: 10px; font-weight: 850; letter-spacing: .04em; }
.file-mark-package { border-color: #aac6b5; background: var(--green-pale); color: #1f633f; }
.film-file > div { min-width: 0; }
.film-file strong { display: block; overflow-wrap: anywhere; line-height: 1.25; }
.film-file small, .film-production code, .films-table time small { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 12px; }
.film-production { display: grid; gap: 2px; }
.film-production strong { line-height: 1.3; }
.film-production code { margin-top: 0; }
.film-size { white-space: nowrap; font-weight: 650; }
.films-table time { white-space: nowrap; }
.film-download { min-width: 102px; }
.asset-status { display: inline-flex; min-height: 28px; align-items: center; border-radius: 20px; padding: 4px 10px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.asset-status-ready { background: var(--green-pale); color: #1f633f; }
.asset-status-uploading { background: var(--amber-pale); color: var(--amber); }
.asset-status-verifying { background: #e8f1f8; color: #245f8c; }
.asset-status-error { background: var(--red-pale); color: var(--red); }
.asset-note { display: block; max-width: 190px; margin-top: 6px; color: var(--ink-soft); font-size: 11px; line-height: 1.35; }
.asset-note-error { color: #842b2b; }
.integrity-details { margin-top: 7px; }
.integrity-details summary { width: fit-content; cursor: pointer; color: #1f633f; font-size: 12px; font-weight: 750; }
.integrity-details > div { display: flex; align-items: flex-start; gap: 7px; margin-top: 7px; }
.integrity-details code { max-width: 310px; padding: 6px 8px; border-radius: 4px; background: #f0f1ed; color: #394039; font-size: 10px; overflow-wrap: anywhere; }
.integrity-details small { max-width: 360px; margin-top: 6px; }
.hash-copy { min-height: 30px; border: 1px solid #bfc1bb; border-radius: 5px; background: #fff; color: var(--ink); padding: 4px 8px; cursor: pointer; font-size: 11px; font-weight: 700; }
.pagination { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; padding: 14px 22px; border-top: 1px solid var(--line); background: #fbfbf8; }
.pagination > :last-child { justify-self: end; }
.pagination > span { color: var(--ink-soft); font-size: 13px; }
.film-empty { display: grid; justify-items: center; padding: clamp(46px, 8vw, 90px) 24px; text-align: center; }
.film-empty > span { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 18px; border: 1px solid #ddc88e; border-radius: 50%; background: var(--gold-pale); color: var(--gold-dark); font-family: Georgia, serif; font-size: 23px; }
.film-empty h2 { margin: 0; font-family: Georgia, serif; font-size: 27px; font-weight: 500; }
.film-empty p { max-width: 520px; margin: 8px 0 22px; color: var(--ink-soft); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.credential-card { max-width: 760px; background: #fff; border: 1px solid #c9c8c0; border-top: 8px solid var(--gold); border-radius: 7px; padding: clamp(24px, 5vw, 50px); box-shadow: var(--shadow); }
.credential-brand { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.credential-brand strong { font-family: Georgia, serif; font-size: 27px; letter-spacing: .08em; color: var(--gold-dark); }
.credential-brand span { color: var(--ink-soft); font-size: 13px; }
.credential-card h2 { margin: 28px 0 18px; font-family: Georgia, serif; font-size: 27px; font-weight: 500; }
.credential-list { margin: 0; }
.credential-list div { display: grid; grid-template-columns: 185px 1fr; gap: 20px; padding: 11px 0; border-bottom: 1px solid #ecece8; }
.credential-list dt { color: var(--ink-soft); }
.credential-list dd { margin: 0; font-weight: 750; }
.credential-list dd code { font-size: 16px; overflow-wrap: anywhere; }
.credential-help { margin: 25px 0 0; color: var(--ink-soft); font-size: 14px; }

.auth-body { background: #222621; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, .9fr) minmax(520px, 1.1fr); }
.auth-brand { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 54px; color: #fff; background: #252922; }
.auth-brand::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(26,28,24,.08), rgba(26,28,24,.82)); pointer-events: none; }
.auth-logo { position: absolute; inset: 0; background: url("naffit-white.png") center 20% / min(78%, 620px) auto no-repeat; filter: saturate(.92) contrast(1.03); }
.auth-brand p { position: relative; z-index: 1; max-width: 520px; margin: 0; font-family: Georgia, serif; font-size: 28px; line-height: 1.3; }
.auth-panel { display: flex; align-items: center; background: var(--paper); padding: clamp(34px, 7vw, 100px); }
.auth-form-wrap { width: 100%; max-width: 470px; margin: auto; }
.auth-form-wrap h1, .setup-card h1 { margin: 5px 0 10px; font-family: Georgia, serif; font-size: clamp(38px, 5vw, 54px); font-weight: 500; line-height: 1.08; }
.auth-form-wrap .form-stack { margin-top: 32px; }
.security-note { margin: 24px 0 0; color: var(--ink-soft); font-size: 13px; padding-left: 22px; position: relative; }
.security-note::before { content: ""; position: absolute; left: 0; top: 5px; width: 10px; height: 12px; border: 2px solid var(--green); border-radius: 2px; }
.centered-auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px; background: var(--paper); }
.setup-card { width: 100%; max-width: 710px; background: #fff; border-top: 7px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(28px, 6vw, 58px); }
.setup-card.narrow { max-width: 520px; }
.steps { padding-left: 22px; color: var(--ink-soft); }
.steps li { margin: 8px 0; padding-left: 5px; }
.qr-wrap { display: flex; justify-content: center; margin: 25px 0 14px; }
.qr-wrap img { max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 7px; }
.manual-key { max-width: 440px; margin: 0 auto; padding: 10px 0; }
.manual-key summary { cursor: pointer; color: var(--gold-dark); font-weight: 700; }
.manual-key code { display: block; margin-top: 8px; padding: 10px; background: #f1f1ed; overflow-wrap: anywhere; }
.quiet-link { display: inline-block; margin-top: 22px; }

@media (max-width: 1050px) {
    .metrics { grid-template-columns: repeat(3, 1fr); }
    .metric-wide { grid-column: 1 / -1; }
    .metric:nth-child(3) { border-right: 0; }
    .metric-wide { border-top: 1px solid var(--line); }
    .content-grid, .detail-grid { grid-template-columns: 1fr; }
    .film-summary { grid-template-columns: 1fr 1fr; }
    .film-summary > div:nth-child(2) { border-right: 0; }
    .film-summary > div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .integrity-guide { grid-template-columns: 1fr; gap: 10px; }
    .film-toolbar { grid-template-columns: 1fr; padding: 17px; }
    .film-toolbar .button, .film-toolbar .button-secondary { width: 100%; grid-column: auto; }
    .film-results-heading { align-items: flex-start; padding: 14px 17px; }
    .films-table-wrap { overflow: visible; }
    .films-table, .films-table tbody { display: block; }
    .films-table thead { display: none; }
    .films-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 14px; padding: 20px 17px; border-bottom: 1px solid var(--line); }
    .films-table tr:last-child { border-bottom: 0; }
    .films-table td { display: block; padding: 0; border: 0; }
    .films-table td::before { content: attr(data-label); display: block; margin-bottom: 5px; color: var(--ink-soft); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
    .films-table td:first-child, .films-table td:nth-child(2), .films-table td:nth-child(3), .films-table .film-download-cell { grid-column: 1 / -1; }
    .films-table td:first-child::before, .films-table .film-download-cell::before { display: none; }
    .film-download { width: 100%; }
    .asset-note { max-width: none; }
    .integrity-details > div { flex-wrap: wrap; }
    .integrity-details code { max-width: 100%; }
    .pagination { grid-template-columns: 1fr 1fr; padding: 14px 17px; }
    .pagination > span { grid-column: 1 / -1; grid-row: 1; text-align: center; }
}
@media (max-width: 900px) {
    .auth-shell { display: block; }
    .auth-brand { min-height: 300px; padding: 36px; }
    .auth-logo { background-position: center 22%; background-size: min(72%, 520px) auto; }
    .auth-brand p { font-size: 23px; }
    .auth-panel { min-height: calc(100vh - 300px); padding: 44px 32px; }
}
@media (max-width: 760px) {
    .app-shell { display: block; }
    .sidebar { position: static; width: 100%; height: auto; padding: 14px 16px; }
    .brand { padding: 2px 4px 12px; }
    .brand-image { width: min(58vw, 210px); }
    .nav-list { display: flex; overflow-x: auto; margin-top: 12px; gap: 4px; padding-bottom: 3px; }
    .nav-list a { white-space: nowrap; }
    .sidebar-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 10px; }
    .signed-in { margin: 0; }
    .main { padding: 30px 17px 50px; }
    .page-header { display: grid; }
    .header-actions { justify-content: stretch; }
    .header-actions .button { flex: 1 1 180px; }
    .page-header h1 { font-size: 36px; }
    .metrics { grid-template-columns: 1fr 1fr; }
    .metric:nth-child(2) { border-right: 0; }
    .metric:nth-child(3) { border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
    .field-row { grid-template-columns: 1fr; }
    .auth-brand { min-height: 240px; padding: 28px; }
    .auth-logo { background-position: center 30%; background-size: min(88%, 460px) auto; }
    .auth-brand p { font-size: 21px; }
    .auth-panel { min-height: calc(100vh - 240px); padding: 38px 22px; }
    .detail-list div, .credential-list div { grid-template-columns: 1fr; gap: 3px; }
    .credential-brand { display: grid; }
    .film-summary > div { min-height: 100px; padding: 17px; }
    .film-summary strong { font-size: 28px; }
    .film-summary .summary-date { display: grid; gap: 5px; font-size: 22px; }
}
@media print {
    @page { size: A4; margin: 16mm; }
    body { background: #fff; }
    .sidebar, .no-print, .message-stack { display: none !important; }
    .app-shell { display: block; }
    .main { padding: 0; }
    .credential-card { max-width: none; box-shadow: none; border: 1px solid #777; break-inside: avoid; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
