@layer reset, tokens, base, components, pages, utilities;

@layer reset {
    *, *::before, *::after { box-sizing: border-box; }
    html { color-scheme: light; scroll-behavior: smooth; }
    body, h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
    ul, ol { padding: 0; }
    img, svg { display: block; max-width: 100%; }
    button, input, select, textarea { font: inherit; }
}

@layer tokens {
    :root {
        --navy-950: #07172f;
        --navy-900: #0d2448;
        --navy-800: #17345f;
        --navy-700: #254a79;
        --red-700: #a80f16;
        --red-600: #cf1b20;
        --red-500: #e43b40;
        --slate-700: #364e6c;
        --slate-500: #667085;
        --ink: #101828;
        --muted: #667085;
        --border: #e4e7ec;
        --background: #f7f9fc;
        --surface: #fff;
        --success: #087443;
        --warning: #9a5b00;
        --danger: #b42318;
        --focus-inner: #fff;
        --focus-outer: #1f6feb;
        --shadow-sm: 0 1px 3px rgb(16 24 40 / 8%);
        --shadow-md: 0 16px 44px rgb(13 36 72 / 13%);
        --shadow-lg: 0 28px 72px rgb(7 23 47 / 18%);
        --radius-sm: .5rem;
        --radius-md: .75rem;
        --radius-lg: 1rem;
        --radius-xl: 1.5rem;
        --container: 75rem;
        --header-height: 5.25rem;
    }
}

@layer base {
    @font-face {
        font-family: Inter;
        src: url('/fonts/inter-variable-latin.woff2') format('woff2');
        font-display: swap;
        font-style: normal;
        font-weight: 100 900;
    }
    body { min-width: 20rem; background: var(--background); color: var(--ink); font: 400 1rem/1.65 Inter, system-ui, sans-serif; }
    h1, h2, h3 { color: var(--navy-900); line-height: 1.13; text-wrap: balance; }
    h1 { font-size: clamp(2.35rem, 5vw, 4.8rem); letter-spacing: -.048em; }
    h2 { font-size: clamp(1.75rem, 3.3vw, 2.7rem); letter-spacing: -.035em; }
    h3 { font-size: 1.25rem; }
    p { max-width: 72ch; }
    a { color: var(--navy-800); text-underline-offset: .2em; }
    :where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--focus-inner); box-shadow: 0 0 0 4px var(--focus-outer); border-radius: .25rem; }
    [hidden] { display: none !important; }
    .skip-link { position: fixed; z-index: 1000; left: 1rem; top: -5rem; padding: .75rem 1rem; background: #fff; color: var(--navy-900); }
    .skip-link:focus { top: 1rem; }
}

@layer components {
    .container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
    .section { padding-block: clamp(3.25rem, 6vw, 5.75rem); }
    .section--white { background: var(--surface); }
    .section--navy { background: var(--navy-900); color: #fff; }
    .section--navy :where(h1,h2,h3,a) { color: #fff; }
    .stack { display: grid; gap: 1.25rem; }
    .cluster { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
    .eyebrow { color: var(--red-600); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
    .lead { color: var(--slate-500); font-size: clamp(1.05rem, 2vw, 1.28rem); }
    .button { display: inline-flex; min-height: 2.75rem; align-items: center; justify-content: center; gap: .5rem; border: 1px solid transparent; border-radius: var(--radius-sm); padding: .68rem 1.1rem; cursor: pointer; font-weight: 750; text-decoration: none; transition: background-color .16s, border-color .16s, transform .16s; }
    .button:hover { transform: translateY(-1px); }
    .button--primary { background: var(--navy-900); color: #fff; }
    .button--primary:hover { background: var(--navy-800); }
    .button--cta { background: var(--red-600); color: #fff; }
    .button--cta:hover { background: var(--red-700); }
    .button--secondary { border-color: var(--border); background: #fff; color: var(--navy-900); }
    .button--quiet { background: transparent; color: inherit; }
    .button:disabled { cursor: wait; opacity: .58; transform: none; }
    .card { border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); padding: clamp(1.15rem, 2.5vw, 1.75rem); }
    .card--interactive { transition: box-shadow .18s, transform .18s; }
    .card--interactive:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
    .grid { display: grid; gap: 1.25rem; }
    .grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
    .grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
    .brand-logo { width: calc(var(--logo-height, 3.1rem) * 640 / 239); height: var(--logo-height, 3.1rem); aspect-ratio: 640 / 239; object-fit: contain; }
    .public-header { position: sticky; z-index: 50; top: 0; min-height: var(--header-height); border-bottom: 1px solid rgb(228 231 236 / 80%); background: rgb(255 255 255 / 94%); backdrop-filter: blur(14px); }
    .public-header__inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
    .public-header__brand { flex: 0 0 auto; }
    .public-nav { display: none; align-items: center; gap: .1rem; }
    .public-nav a { min-height: 2.75rem; display: inline-flex; align-items: center; border-radius: .5rem; padding: .55rem .65rem; color: var(--slate-700); font-size: .9rem; font-weight: 700; text-decoration: none; }
    .public-nav a:hover { background: var(--background); color: var(--navy-900); }
    .public-nav a[aria-current='page'] { position: relative; color: var(--navy-900); }
    .public-nav a[aria-current='page']::after { position: absolute; right: .7rem; bottom: .22rem; left: .7rem; height: .15rem; border-radius: 1rem; background: var(--red-600); content: ''; }
    .header-actions { display: flex; align-items: center; gap: .5rem; }
    .locale-switch { display: flex; border: 1px solid var(--border); border-radius: .55rem; overflow: hidden; }
    .locale-switch a { min-width: 2.75rem; min-height: 2.75rem; display: grid; place-items: center; padding: .4rem; text-decoration: none; font-weight: 800; }
    .locale-switch a[aria-current='true'] { background: var(--navy-900); color: #fff; }
    .menu-trigger { min-width: 2.75rem; min-height: 2.75rem; border: 1px solid var(--border); border-radius: .55rem; background: #fff; color: var(--navy-900); }
    .drawer { position: fixed; z-index: 100; inset: 0; background: rgb(7 23 47 / 55%); }
    .drawer__panel { width: min(26rem, 92vw); height: 100%; margin-left: auto; overflow-y: auto; background: #fff; padding: 1rem; box-shadow: var(--shadow-md); }
    .drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
    .drawer__nav { display: grid; gap: .3rem; }
    .drawer__nav a { min-height: 2.75rem; display: flex; align-items: center; border-radius: .5rem; padding: .65rem .8rem; text-decoration: none; font-weight: 700; }
    .public-footer { background: var(--navy-950); color: #dce5f2; padding-block: 3.5rem 1.25rem; }
    .public-footer a { width: fit-content; color: #fff; text-decoration: none; }
    .public-footer a:hover { text-decoration: underline; }
    .public-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(16rem, 1.6fr) repeat(2, minmax(10rem, .7fr)); }
    .hero { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); padding-block: clamp(3rem, 8vw, 7rem); }
    .hero__copy { display: grid; gap: 1.4rem; }
    .media { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--navy-900), var(--slate-700)); aspect-ratio: 4/3; box-shadow: var(--shadow-md); }
    .media--hero { aspect-ratio: 5/4; }
    .media--header { aspect-ratio: 16/8; }
    .media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
    .media__fallback { width: 100%; height: 100%; background: radial-gradient(circle at 75% 20%, rgb(207 27 32 / 85%), transparent 24%), linear-gradient(145deg, var(--navy-900), var(--slate-700)); }
    .breadcrumbs { display: flex; flex-wrap: wrap; gap: .4rem; padding-block: 1rem; color: var(--muted); font-size: .9rem; }
    .breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; list-style: none; }
    .breadcrumbs li + li::before { content: '/'; margin-right: .4rem; }
    .alert { border-left: .3rem solid var(--navy-700); border-radius: var(--radius-sm); background: #eef4ff; padding: 1rem; }
    .alert--error { border-color: var(--danger); background: #fff1f0; }
    .alert--success { border-color: var(--success); background: #edfdf4; }
    .form-stack { display: grid; gap: 1rem; }
    .field { display: grid; gap: .38rem; }
    .field label, .fieldset legend { color: var(--navy-900); font-weight: 750; }
    .field :where(input, select, textarea) { width: 100%; min-height: 2.75rem; border: 1px solid #b9c1cd; border-radius: var(--radius-sm); background: #fff; color: var(--ink); padding: .68rem .78rem; }
    .field textarea { min-height: 8rem; resize: vertical; }
    .field :where(input,select,textarea)[aria-invalid='true'] { border-color: var(--danger); }
    .field__hint { color: var(--muted); font-size: .9rem; }
    .field__error { color: var(--danger); font-size: .9rem; font-weight: 650; }
    .filter-bar { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem; margin-bottom: 1.5rem; }
    .filter-bar .field { min-width: min(100%, 15rem); flex: 1 1 15rem; }
    .check { display: flex; gap: .7rem; align-items: flex-start; }
    .check input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; }
    .status { display: grid; justify-items: start; gap: .75rem; border: 1px dashed #b9c1cd; border-radius: var(--radius-lg); padding: 2rem; }
    .pagination { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: center; margin-top: 2rem; }
    .pagination a, .pagination span { min-width: 2.75rem; min-height: 2.75rem; display: grid; place-items: center; border: 1px solid var(--border); border-radius: .5rem; background: #fff; padding: .5rem; text-decoration: none; }
    .table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; }
    table { width: 100%; border-collapse: collapse; }
    th, td { padding: .85rem 1rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
    th { background: #f3f6fa; color: var(--navy-900); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
    .badge { display: inline-flex; align-items: center; min-height: 1.8rem; border-radius: 999px; background: #eaf0f8; color: var(--navy-900); padding: .2rem .65rem; font-size: .82rem; font-weight: 750; }
    .two-factor-qr { width: min(100%, 18rem); border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; padding: 1rem; }
    .two-factor-qr svg { width: 100%; height: auto; }
}

@layer pages {
    .auth-page { min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr); background: var(--navy-950); }
    .auth-brand { display: none; background: linear-gradient(145deg, var(--navy-950), var(--navy-800)); color: #fff; padding: clamp(2rem, 6vw, 6rem); }
    .auth-main { display: grid; place-items: center; padding: 1rem; background: var(--background); }
    .auth-card { width: min(100%, 32rem); padding: clamp(1.5rem, 5vw, 3rem); }
    .workspace { height: 100dvh; display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; background: var(--background); }
    .workspace__topbar { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--navy-950); color: #fff; padding: .65rem 1rem; }
    .workspace__body { min-height: 0; display: grid; grid-template-columns: 17.5rem minmax(0, 1fr); overflow: hidden; }
    .workspace__sidebar { min-height: 0; overflow-y: auto; overscroll-behavior: contain; border-right: 1px solid var(--border); background: #fff; padding: 1rem; }
    .workspace__nav { display: grid; gap: .25rem; }
    .workspace__nav a { min-height: 2.75rem; display: flex; align-items: center; border-radius: .55rem; color: var(--slate-700); padding: .58rem .7rem; text-decoration: none; font-weight: 700; }
    .workspace__nav a:hover, .workspace__nav a[aria-current='page'] { background: #edf3fa; color: var(--navy-900); }
    .workspace__main { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: clamp(1rem, 3vw, 2.25rem); }
    .workspace__menu-trigger { display: none; }
    .page-head { display: grid; gap: .65rem; margin-bottom: 2rem; }
    .metric { border-left: .3rem solid var(--red-600); }
    .metric__value { color: var(--navy-900); font-size: 2rem; }
    .metric__value--date { font-size: 1rem; overflow-wrap: anywhere; }
    .status-pill { display: inline-flex; width: fit-content; min-height: 2rem; align-items: center; border: 1px solid var(--border); border-radius: 999px; background: var(--background); color: var(--navy-900); padding: .25rem .7rem; font-size: .82rem; font-weight: 750; }
}

@layer components {
    .section--tint { background: #eef3f8; }
    .grow { flex: 1 1 auto; }
    .muted-on-dark { color: #aebdd0; }
    .marketing-hero { overflow: hidden; background: linear-gradient(115deg, #fff 0 60%, #edf2f8 60%); }
    .marketing-hero__grid { display: grid; min-height: min(48rem, calc(100dvh - var(--header-height))); grid-template-columns: minmax(0, .95fr) minmax(24rem, .85fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; padding-block: clamp(3.5rem, 8vw, 7.25rem); }
    .marketing-hero--compact .marketing-hero__grid { min-height: auto; padding-block: clamp(3rem, 6vw, 5.25rem); }
    .marketing-hero__copy { display: grid; gap: 1.35rem; max-width: 45rem; }
    .marketing-hero__copy h1 { max-width: 14ch; }
    .marketing-hero--compact h1 { font-size: clamp(2.35rem, 4.5vw, 4.25rem); }
    .marketing-hero__actions { margin-top: .5rem; }
    .section-heading { display: grid; max-width: 49rem; gap: .85rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
    .section-heading--centered { margin-inline: auto; text-align: center; }
    .section-heading--centered p { margin-inline: auto; }
    .feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
    .feature-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature-card { position: relative; display: flex; min-height: 13rem; flex-direction: column; justify-content: space-between; gap: 1.25rem; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; padding: clamp(1.35rem, 2.5vw, 2rem); box-shadow: var(--shadow-sm); }
    .feature-card::before { position: absolute; inset: 0 auto 0 0; width: .22rem; background: var(--red-600); content: ''; opacity: 0; transition: opacity .18s; }
    .feature-card:hover::before { opacity: 1; }
    .feature-card__body { display: grid; gap: .7rem; }
    .feature-card p { color: var(--muted); }
    .feature-card .button--text { min-height: auto; justify-content: flex-start; padding: 0; border: 0; color: var(--navy-800); }
    .step-number { color: var(--red-600); font-size: .85rem; font-weight: 850; letter-spacing: .12em; }
    .content-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(18rem, .95fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
    .content-split--reverse { grid-template-columns: minmax(18rem, .95fr) minmax(0, 1.05fr); }
    .content-split__copy { display: grid; align-content: center; }
    .content-split__copy .section-heading { margin-bottom: 0; }
    .process-list { display: grid; list-style: none; }
    .process-list li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding-block: 1.25rem; border-bottom: 1px solid var(--border); }
    .process-list li > span { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; border-radius: 50%; background: var(--navy-900); color: #fff; font-weight: 800; }
    .process-list li div { display: grid; gap: .35rem; }
    .value-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; list-style: none; }
    .value-list li { display: flex; min-height: 4.5rem; align-items: center; gap: .7rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1rem .25rem; color: var(--navy-900); }
    .value-list li span { color: var(--red-600); }
    .value-list--centered li { justify-content: center; }
    .values-band { background: var(--navy-950); color: #dce5f2; }
    .values-band :where(h2,strong) { color: #fff; }
    .values-band .lead { color: #bac7d7; }
    .values-band .value-list li { border-color: rgb(255 255 255 / 18%); }
    .opportunity-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, .8fr); gap: 2rem; align-items: center; }
    .status--compact { justify-items: start; padding: 1.35rem; }
    .section-action { margin-top: 2rem; }
    .cta-band { background: linear-gradient(120deg, var(--navy-900), var(--navy-800)); color: #fff; padding-block: clamp(3rem, 5vw, 4.5rem); }
    .cta-band h2 { color: #fff; }
    .cta-band p:not(.eyebrow) { color: #dce5f2; }
    .cta-band__inner { display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
    .notice-panel { display: grid; max-width: 60rem; grid-template-columns: 3.25rem 1fr; gap: 1.25rem; align-items: start; }
    .notice-panel__mark { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: 50%; background: var(--navy-900); color: #fff; font-size: 1.25rem; font-weight: 850; }
    .form-layout { display: grid; grid-template-columns: minmax(17rem, .65fr) minmax(0, 1.35fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
    .form-layout__intro { position: sticky; top: calc(var(--header-height) + 2rem); }
    .form-card { max-width: 52rem; padding: clamp(1.35rem, 4vw, 2.5rem); }
    .form-section { display: grid; gap: 1rem; padding-bottom: 1.35rem; border-bottom: 1px solid var(--border); }
    .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    .contact-layout { display: grid; grid-template-columns: minmax(16rem, .6fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
    .contact-layout--centered { display: flex; justify-content: center; }
    .contact-layout--centered > * { width: min(100%, 52rem); }
    .contact-channels { padding-top: 1rem; }
    .contact-channel { display: grid; gap: .2rem; border-bottom: 1px solid var(--border); padding-block: 1rem; }
    .action-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
    .action-panel { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
    .action-panel summary { display: flex; min-height: 4.75rem; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; cursor: pointer; list-style: none; }
    .action-panel summary::-webkit-details-marker { display: none; }
    .action-panel summary > span { display: flex; align-items: center; gap: .75rem; color: var(--navy-900); }
    .action-panel[open] summary > svg { transform: rotate(180deg); }
    .action-panel__content { border-top: 1px solid var(--border); padding: 1.25rem; }
    .filter-toolbar { display: grid; grid-template-columns: minmax(16rem, 1.4fr) minmax(13rem, .7fr) auto; gap: 1rem; align-items: end; margin-bottom: 1.5rem; }
    .filter-toolbar__actions { justify-content: flex-end; }
    .results-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-block: 2rem 1.25rem; }
    .results-heading h2 { font-size: 1.5rem; }
    .job-grid, .article-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
    .job-card { display: grid; min-height: 15rem; align-content: space-between; gap: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; padding: 1.4rem; box-shadow: var(--shadow-sm); transition: border-color .18s, box-shadow .18s, translate .18s; }
    .job-card:hover { border-color: #bac8d9; box-shadow: var(--shadow-md); translate: 0 -.15rem; }
    .job-card h3 { font-size: 1.35rem; }
    .job-card h3 a { text-decoration: none; }
    .job-card__location { color: var(--slate-700); }
    .job-card__link { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 1rem; font-weight: 750; text-decoration: none; }
    .jobs-empty { max-width: 46rem; }
    .job-detail__header { background: linear-gradient(120deg, #fff, #edf3fa); padding-block: clamp(3.25rem, 7vw, 6rem); }
    .job-detail__header-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(17rem,.7fr); gap: 3rem; align-items: end; }
    .job-detail__header h1 { max-width: 16ch; font-size: clamp(2.4rem,5vw,4.5rem); }
    .job-apply-card { display: grid; gap: 1rem; border: 1px solid var(--border); border-top: .25rem solid var(--red-600); border-radius: var(--radius-lg); background: #fff; padding: 1.5rem; box-shadow: var(--shadow-md); }
    .job-detail__body { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(17rem,.65fr); gap: clamp(2rem,6vw,5rem); align-items: start; }
    .job-detail__aside { position: sticky; top: calc(var(--header-height) + 1.5rem); }
    .job-detail__aside dl > div { display: grid; gap: .15rem; border-bottom: 1px solid var(--border); padding-bottom: .75rem; }
    .job-detail__aside dt { color: var(--muted); font-size: .8rem; font-weight: 750; text-transform: uppercase; }
    .prose { max-width: 48rem; font-size: 1.04rem; }
    .prose > section { display: grid; gap: 1rem; }
    .prose > section + section { padding-top: 2rem; border-top: 1px solid var(--border); }
    .prose :where(h2,h3) { scroll-margin-top: calc(var(--header-height) + 1rem); }
    .prose :where(p,li) { max-width: 70ch; }
    .content-list { display: grid; gap: .7rem; padding-left: 1.25rem; }
    .pre-line { white-space: pre-line; }
    .back-link { width: fit-content; color: var(--navy-800); font-weight: 700; text-decoration: none; }
    .editorial-header, .article-detail__header { background: linear-gradient(120deg, #fff, #edf3fa); }
    .editorial-header__inner { display: grid; max-width: 58rem; gap: 1rem; padding-block: clamp(3.5rem,7vw,6.5rem); text-align: center; }
    .editorial-header__inner p { margin-inline: auto; }
    .article-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
    .article-card__body { display: grid; gap: .75rem; padding: 1.3rem; }
    .article-card h2 { font-size: 1.3rem; }
    .article-card h2 a { text-decoration: none; }
    .media--article { border-radius: 0; aspect-ratio: 16/10; box-shadow: none; }
    .article-detail__header-inner { display: grid; max-width: 62rem; gap: 1rem; padding-block: clamp(3.5rem,7vw,6rem); }
    .article-detail__header h1 { max-width: 17ch; }
    .article-byline { color: var(--muted); font-weight: 650; }
    .media--article-hero { margin-top: 1.5rem; aspect-ratio: 16/8; }
    .article-body { max-width: 48rem; }
    .article-body :where(p,ul,ol,blockquote,h2,h3) + :where(p,ul,ol,blockquote,h2,h3) { margin-top: 1.25rem; }
    .article-body :where(ul,ol) { padding-left: 1.25rem; }
    .faq-layout { display: grid; grid-template-columns: minmax(16rem,.65fr) minmax(0,1.35fr); gap: clamp(2rem,6vw,5rem); align-items: start; }
    .faq-layout__intro { position: sticky; top: calc(var(--header-height) + 2rem); }
    .faq-list { display: grid; gap: .75rem; }
    .faq-item { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; }
    .faq-item summary { display: flex; min-height: 4.5rem; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; cursor: pointer; list-style: none; }
    .faq-item summary::-webkit-details-marker { display:none; }
    .faq-item[open] summary { color: var(--navy-900); }
    .faq-item[open] summary svg { rotate: 180deg; }
    .faq-item__answer { border-top: 1px solid var(--border); padding: 1.2rem; color: var(--slate-700); }
    .application-page { background: linear-gradient(110deg,#fff 0 48%,var(--background) 48%); padding-block: clamp(3rem,6vw,5rem); }
    .application-layout { display: grid; grid-template-columns: minmax(20rem,.85fr) minmax(0,1.15fr); gap: clamp(2rem,6vw,5rem); align-items: start; }
    .application-intro { position: sticky; top: calc(var(--header-height) + 1.5rem); }
    .application-intro h1 { font-size: clamp(2.3rem,4.5vw,4rem); }
    .document-policy { display: grid; grid-template-columns: 2.5rem 1fr; gap: .8rem; border: 1px solid #bfd0e4; border-radius: var(--radius-md); background: #edf3fa; padding: 1rem; }
    .document-policy svg { color: var(--navy-800); }
    .document-policy p { color: var(--muted); font-size: .88rem; }
    .form-progress { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; }
    .form-progress span { display: grid; min-height: 2rem; place-items: center; border-radius: 999px; background: #e7ebf0; color: var(--muted); font-size: .8rem; font-weight: 800; }
    .form-progress span[aria-current='step'] { background: var(--navy-900); color: #fff; }
    .form-section h2 { font-size: 1.25rem; }
    .upload-field input[type='file'] { padding: .55rem; border-style: dashed; background: var(--background); }
    .catalog-swatches { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
    .catalog-swatches > div { display: grid; gap: .4rem; }
    .catalog-swatches span { height: 6rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--swatch); }
    .catalog-swatches .swatch--navy { --swatch: #0d2448; }
    .catalog-swatches .swatch--red { --swatch: #cf1b20; }
    .catalog-swatches .swatch--slate { --swatch: #364e6c; }
    .catalog-swatches .swatch--background { --swatch: #f7f9fc; }
    .content-media-constrained, .status--page { max-width: 48rem; }
    .auth-display-title { font-size: clamp(2rem, 5vw, 3rem); }
    .account-section-title { font-size: 1.5rem; }
    .catalog-swatches code { color: var(--muted); }
    .logo-showcase { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); }
    .logo-showcase > div { display: grid; min-height: 10rem; place-items: center; padding: 2rem; }
    .logo-showcase--navy { background: var(--navy-900); }
    .logo-showcase--red { background: var(--red-600); }
    .footer-nav { display: grid; align-content: start; gap: .55rem; }
    .footer-nav strong { margin-bottom: .35rem; color: #fff; }
    .footer-authorization { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgb(255 255 255 / 14%); color: #dce5f2; font-size: .95rem; line-height: 1.55; }
    .footer-authorization__logo { flex: none; width: 11.5rem; max-width: 100%; height: auto; padding: .5rem; background: #fff; }
    .footer-authorization__details { display: grid; flex: 1 1 20rem; min-width: 0; gap: .3rem; }
    .footer-authorization strong { color: #fff; font-weight: 600; text-transform: uppercase; }
    .footer-authorization__permits { display: inline-block; color: #f2b1b4; font-weight: 800; letter-spacing: .035em; white-space: nowrap; }
    .public-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / 14%); color: #aebdd0; font-size: .88rem; }
    .footer-locales { display: flex; gap: .75rem; }
    .drawer__label { margin-block: 1rem .4rem; color: var(--muted); font-size: .75rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
    .drawer__divider { height: 1px; margin-block: 1rem; background: var(--border); }
    .drawer__nav a { justify-content: space-between; }
    .drawer__nav a[aria-current='page'] { background: #edf3fa; color: var(--navy-900); }
    .button--compact { min-height: 2.25rem; padding: .4rem .7rem; font-size: .88rem; }
    .password-field { position: relative; }
    .password-field input { padding-right: 5.25rem !important; }
    .password-field button { position: absolute; top: 50%; right: .4rem; min-height: 2rem; translate: 0 -50%; border: 0; background: transparent; color: var(--navy-800); font-size: .85rem; font-weight: 750; cursor: pointer; }
    .account-type-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem; }
    .account-type { position: relative; cursor: pointer; }
    .account-type input { position: absolute; width: 1px; height: 1px; opacity: 0; }
    .account-type > span { display: grid; min-height: 6rem; gap: .3rem; border: 1px solid #b9c1cd; border-radius: var(--radius-md); padding: 1rem; }
    .account-type small { color: var(--muted); line-height: 1.4; }
    .account-type input:checked + span { border-color: var(--navy-900); background: #edf3fa; box-shadow: inset 0 0 0 1px var(--navy-900); }
    .account-type input:focus-visible + span { outline: 2px solid #fff; box-shadow: 0 0 0 4px var(--focus-outer); }
    .services-introduction { max-width: 58rem; }
    .services-detail-section { background: linear-gradient(180deg, #f4f7fb, #fff); }
    .services-detail-list { display: grid; gap: 1.25rem; list-style: none; }
    .service-detail-card { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid var(--border); border-radius: var(--radius-xl); background: #fff; padding: clamp(1.4rem, 3.5vw, 2.5rem); box-shadow: var(--shadow-sm); }
    .service-detail-card:nth-child(even) { margin-left: clamp(0rem, 4vw, 4rem); }
    .service-detail-card__number { display: grid; width: 3.75rem; height: 3.75rem; place-items: center; border-radius: 50%; background: var(--navy-900); color: #fff; font-size: .9rem; font-weight: 850; letter-spacing: .08em; }
    .service-detail-card__body { max-width: 61rem; }
    .service-detail-card__body h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
    .service-detail-card__lead { color: var(--navy-800); font-size: 1.08rem; font-weight: 750; }
    .service-detail-card__closing { border-left: .2rem solid var(--red-600); padding-left: 1rem; color: var(--navy-800); font-weight: 700; }
    .service-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem 1.5rem; list-style: none; }
    .service-checklist li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .55rem; align-items: start; }
    .service-checklist svg { margin-top: .25rem; color: var(--red-600); stroke-width: 2.5; }
    .service-price { display: flex; width: fit-content; min-width: min(100%, 20rem); align-items: center; justify-content: space-between; gap: 2rem; border-radius: var(--radius-md); background: #edf3fa; padding: .9rem 1rem; }
    .service-price span { color: var(--muted); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
    .service-price strong { color: var(--navy-900); font-size: 1.1rem; }
    .founder-section { background: var(--navy-950); color: #dce5f2; }
    .founder-profile { display: grid; grid-template-columns: minmax(18rem, .82fr) minmax(0, 1.18fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
    .media--portrait { max-height: 47rem; aspect-ratio: 4 / 5; }
    .founder-profile__copy { max-width: 48rem; }
    .founder-profile__copy h2 { color: #fff; font-size: clamp(2.35rem, 5vw, 4.5rem); }
    .founder-profile__role { margin-top: .45rem; color: #f2b1b4; font-weight: 750; }
    .founder-profile__copy > p:not(.eyebrow, .founder-profile__role) { color: #dce5f2; }
    .founder-mission { display: grid; gap: .45rem; margin-top: .5rem; border-left: .25rem solid var(--red-600); padding: 1rem 1.25rem; background: rgb(255 255 255 / 6%); }
    .founder-mission strong { color: #fff; font-size: 1.05rem; }
    .founder-mission p { color: #e6edf6; font-size: 1.05rem; }
    .authorization-band { border-block: 1px solid #bfcfe2; background: #eaf1f8; }
    .authorization-band__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.1rem; align-items: center; padding-block: 1.4rem; }
    .authorization-band__mark { display: grid; width: 3.25rem; height: 3.25rem; place-items: center; border-radius: 50%; background: var(--navy-900); color: #fff; }
    .authorization-band h2 { font-size: clamp(1.2rem, 2.5vw, 1.55rem); }
    .authorization-band p { color: var(--slate-700); }
    .authorization-band__permits { border-radius: 999px; background: #fff; color: var(--navy-900) !important; padding: .65rem .9rem; font-weight: 850; letter-spacing: .045em; white-space: nowrap; box-shadow: var(--shadow-sm); }
    .regulatory-note { border-top: 1px solid #f0c6c8; background: #fff7f7; color: var(--slate-700); }
    .regulatory-note .container { padding-block: 1rem; }
    .regulatory-note p { max-width: 78rem; font-size: .9rem; }
    .booking-section { scroll-margin-top: calc(var(--header-height) + 1rem); background: linear-gradient(145deg, var(--navy-950), var(--navy-800)); color: #dce5f2; }
    .booking-section__intro { display: grid; max-width: 52rem; gap: .8rem; }
    .booking-section__intro h2 { color: #fff; }
    .booking-section__intro p { color: #dce5f2; }
    .booking-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
    .booking-card { display: grid; grid-template-rows: auto 1fr auto; gap: 1rem; border: 1px solid rgb(255 255 255 / 16%); border-radius: var(--radius-lg); background: rgb(255 255 255 / 8%); padding: clamp(1.25rem, 2.4vw, 1.75rem); }
    .booking-card__icon { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: var(--radius-md); background: var(--red-600); color: #fff; }
    .booking-card__duration { width: fit-content; border-radius: 999px; background: rgb(255 255 255 / 12%); color: #fff; padding: .3rem .6rem; font-size: .75rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
    .booking-card h3 { color: #fff; font-size: 1.3rem; }
    .booking-card p { color: #dce5f2; }
    .booking-card__action { width: 100%; justify-content: center; background: #fff; color: var(--navy-900); }
    .booking-card__action:hover { background: #edf3fa; color: var(--navy-950); }
    .booking-section__footer { display: flex; align-items: end; justify-content: space-between; gap: 2rem; border-top: 1px solid rgb(255 255 255 / 16%); padding-top: 1.25rem; }
    .booking-section__footer p { color: #dce5f2; }
    .booking-section__footer strong { color: #fff; }
    .newsletter-panel { max-width: 48rem; }
    .cta-band__tagline { font-weight: 800; }
}

@layer pages {
    .auth-brand { position: relative; overflow: hidden; }
    .auth-brand::after { position: absolute; right: -10rem; bottom: -10rem; width: 30rem; height: 30rem; border: 1px solid rgb(255 255 255 / 12%); border-radius: 50%; box-shadow: 0 0 0 5rem rgb(255 255 255 / 3%), 0 0 0 10rem rgb(255 255 255 / 2%); content: ''; }
    .auth-brand__copy { position: relative; z-index: 1; max-width: 34rem; }
    .auth-brand__copy h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.5rem); }
    .auth-brand__copy p { color: #c7d2e2; }
    .auth-benefits { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: .5rem; list-style: none; color: #fff; font-size: .9rem; }
    .auth-benefits li::before { margin-right: .45rem; color: #ff6468; content: '✓'; }
    .auth-card { box-shadow: var(--shadow-md); }
    .auth-title { font-size: clamp(2rem, 5vw, 3rem); }
    .workspace__topbar { min-height: 4.25rem; padding-inline: 1.1rem; }
    .workspace__brand { display: flex; align-items: center; gap: .9rem; color: #fff; text-decoration: none; }
    .workspace__brand > span { padding-left: .9rem; border-left: 1px solid rgb(255 255 255 / 24%); font-size: .83rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
    .workspace__top-actions { display: flex; align-items: center; gap: .55rem; }
    .icon-button { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border-radius: .55rem; color: #fff; text-decoration: none; }
    .icon-button:hover { background: rgb(255 255 255 / 10%); }
    .user-menu { position: relative; }
    .user-menu summary { display: flex; min-height: 2.75rem; align-items: center; gap: .55rem; padding: .25rem .45rem; border-radius: .6rem; color: #fff; cursor: pointer; list-style: none; }
    .user-menu summary::-webkit-details-marker { display: none; }
    .user-menu summary:hover { background: rgb(255 255 255 / 10%); }
    .user-avatar { display: grid; width: 2.15rem; height: 2.15rem; place-items: center; border-radius: 50%; background: var(--red-600); color: #fff; font-weight: 850; }
    .user-menu__panel { position: absolute; z-index: 80; top: calc(100% + .5rem); right: 0; display: grid; min-width: 13rem; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-md); }
    .user-menu__panel :where(a,button) { display: flex; width: 100%; min-height: 2.75rem; align-items: center; gap: .6rem; border: 0; background: #fff; color: var(--ink); padding: .65rem .8rem; text-align: left; text-decoration: none; cursor: pointer; }
    .user-menu__panel :where(a,button):hover { background: var(--background); }
    .workspace__body { grid-template-columns: 16.5rem minmax(0, 1fr); }
    .workspace__sidebar { padding: 1rem .75rem 2rem; }
    .workspace-nav-group + .workspace-nav-group { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); }
    .workspace-nav-group h2 { padding: 0 .7rem .4rem; color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
    .workspace__nav a { gap: .7rem; font-size: .9rem; }
    .workspace__nav a svg { flex: 0 0 auto; }
    .workspace__nav a[aria-current='page'] { box-shadow: inset .2rem 0 var(--red-600); }
    .workspace__main { padding: clamp(1.25rem, 3vw, 2.25rem); }
    .page-head { display: flex; max-width: 88rem; align-items: flex-start; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
    .page-head__copy { display: grid; max-width: 54rem; gap: .45rem; }
    .page-head h1 { font-size: clamp(2rem, 3.3vw, 3rem); }
    .page-head .lead { font-size: 1rem; }
    .page-head__actions { display: flex; flex: 0 0 auto; gap: .75rem; }
    .metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; margin-bottom: 1.25rem; }
    .metric-card { display: grid; min-height: 7.25rem; align-content: space-between; gap: .7rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; padding: 1.1rem; box-shadow: var(--shadow-sm); }
    .metric-card > span { color: var(--muted); font-size: .85rem; font-weight: 650; }
    .metric-card__value { color: var(--navy-900); font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1; }
    .metric-card__value--small { font-size: .9rem; overflow-wrap: anywhere; }
    .workspace-panel { max-width: 88rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); padding: clamp(1rem, 2vw, 1.4rem); }
    .workspace-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
    .workspace-panel__head h2 { font-size: 1.3rem; }
    .result-count { border-radius: 999px; background: var(--background); color: var(--muted); padding: .25rem .65rem; font-size: .82rem; font-weight: 700; }
    .workspace-panel .table-wrap { border-radius: var(--radius-md); box-shadow: none; }
    .record-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
    .record-grid > div { display: grid; gap: .2rem; border-bottom: 1px solid var(--border); padding-bottom: .75rem; }
    .record-grid dt { color: var(--muted); font-size: .78rem; font-weight: 750; text-transform: uppercase; }
    .record-grid dd { overflow-wrap: anywhere; }
    .table-cell--primary { color: var(--navy-900); font-weight: 750; }
    .table-actions { width: 1%; white-space: nowrap; }
    .status-pill--published, .status-pill--active, .status-pill--hired, .status-pill--completed, .status-pill--clean { border-color: #a6e0c3; background: #edfdf4; color: var(--success); }
    .status-pill--draft, .status-pill--pending, .status-pill--pending-approval, .status-pill--submitted { border-color: #f2d39f; background: #fff8eb; color: var(--warning); }
    .status-pill--rejected, .status-pill--suspended, .status-pill--failed { border-color: #f4b5b0; background: #fff1f0; color: var(--danger); }
    .filter-bar { max-width: 88rem; padding: 1rem; }
    .filter-bar .field--compact { flex-grow: .55; }
    .notice-card, .company-summary { display: flex; max-width: 88rem; align-items: center; justify-content: space-between; gap: 1.5rem; border: 1px solid #bfd0e4; border-radius: var(--radius-lg); background: #edf3fa; padding: 1.25rem; }
    .company-summary { background: linear-gradient(110deg, #fff, #edf3fa); }
    .company-summary h2 { max-width: 27ch; overflow-wrap: anywhere; font-size: clamp(1.65rem, 3vw, 2.45rem); }
    .progress-track { height: .5rem; overflow: hidden; border-radius: 999px; background: #e7ebf0; }
    .progress-track span { display: block; height: 100%; border-radius: inherit; background: var(--red-600); }
    .checklist { display: grid; margin-top: .75rem; }
    .checklist__item { display: grid; grid-template-columns: 2.25rem minmax(0,1fr) auto; gap: .8rem; align-items: center; border-top: 1px solid var(--border); padding-block: .85rem; color: var(--ink); text-decoration: none; }
    .checklist__item > span:nth-child(2) { display: grid; }
    .checklist__item small { color: var(--muted); }
    .checklist__status { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; background: #e8edf4; color: var(--navy-900); font-weight: 800; }
    .checklist__status.is-complete { background: #d8f3e6; color: var(--success); }
}

@layer utilities {
    .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
    .muted { color: var(--muted); }
    .text-small { font-size: .9rem; }
    .mt-2 { margin-top: 2rem; }
    .w-full { width: 100%; }
}

@media (min-width: 75em) {
    .public-nav { display: flex; }
    .menu-trigger { display: none; }
    .auth-page { grid-template-columns: minmax(20rem, .9fr) minmax(28rem, 1.1fr); }
    .auth-brand { display: grid; align-content: space-between; }
}

@media (max-width: 61.99em) {
    .marketing-hero { background: linear-gradient(#fff 0 70%, #edf2f8 70%); }
    .marketing-hero__grid { min-height: auto; grid-template-columns: 1fr; padding-block: 3.25rem; }
    .marketing-hero__grid .media { max-height: 34rem; }
    .content-split, .content-split--reverse, .form-layout, .contact-layout { grid-template-columns: 1fr; }
    .founder-profile { grid-template-columns: minmax(16rem, .72fr) minmax(0, 1.28fr); gap: 2.25rem; }
    .content-split--reverse .content-split__copy { order: 2; }
    .form-layout__intro { position: static; }
    .feature-grid, .booking-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .value-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .public-footer__grid { grid-template-columns: minmax(0,1.5fr) repeat(2,minmax(9rem,1fr)); }
    .job-grid, .article-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .job-detail__header-grid, .job-detail__body, .faq-layout, .application-layout { grid-template-columns: 1fr; }
    .job-detail__aside, .faq-layout__intro, .application-intro { position: static; }
    .application-page { background: var(--background); }
    .workspace__body { grid-template-columns: 1fr; }
    .workspace__sidebar { display: none; }
    .workspace__main { padding-bottom: 5rem; }
    .workspace__menu-trigger { display: inline-grid; place-items: center; }
    .workspace__topbar > .cluster > span { display: none; }
    .hide-tablet { display: none !important; }
    .workspace__brand > span { display: none; }
    .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 47.99em) {
    .hide-mobile { display: none !important; }
    .container { width: min(calc(100% - 1.25rem), var(--container)); }
    .section { padding-block: 3.25rem; }
    .public-header__inner { gap: .5rem; }
    .brand-logo { --logo-height: 2.75rem !important; }
    .marketing-hero__grid { gap: 2rem; padding-block: 2.75rem; }
    .marketing-hero__copy h1 { font-size: clamp(2.25rem, 12vw, 3.25rem); }
    .feature-grid, .feature-grid--2, .form-grid, .action-panels, .opportunity-band, .filter-toolbar, .job-grid, .article-grid, .catalog-swatches, .logo-showcase { grid-template-columns: 1fr; }
    .founder-profile, .service-detail-card, .booking-grid { grid-template-columns: 1fr; }
    .service-detail-card:nth-child(even) { margin-left: 0; }
    .service-checklist { grid-template-columns: 1fr; }
    .media--portrait { width: min(100%, 29rem); margin-inline: auto; }
    .filter-toolbar__actions { justify-content: flex-start; }
    .feature-card { min-height: auto; }
    .cta-band__inner, .public-footer__bottom, .notice-card, .company-summary { align-items: flex-start; flex-direction: column; }
    .public-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
    .public-footer__brand { grid-column: 1 / -1; }
    .public-footer__bottom { display: grid; }
    .authorization-band__inner { grid-template-columns: auto 1fr; }
    .authorization-band__permits { grid-column: 1 / -1; width: fit-content; white-space: normal; }
    .booking-section__footer { align-items: flex-start; flex-direction: column; }
    .value-list { grid-template-columns: 1fr; }
    .account-type-grid { grid-template-columns: 1fr; }
    .auth-main { align-items: start; padding: .75rem; }
    .auth-card { border-radius: var(--radius-md); padding: 1.25rem; }
    .page-head { display: grid; gap: 1rem; }
    .page-head__actions { width: 100%; }
    .page-head__actions .button { width: 100%; }
    .workspace__main { padding: 1rem .75rem 4rem; }
    .workspace__topbar { padding-inline: .65rem; }
    .workspace__top-actions { gap: .25rem; }
    .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .metric-card { min-height: 6rem; padding: .9rem; }
    .metric-card__value { font-size: 1.7rem; }
    .metric-card__value--small { font-size: .82rem; line-height: 1.35; }
    .record-grid { grid-template-columns: 1fr; }
    .filter-bar { align-items: stretch; }
    .filter-bar .field { min-width: 100%; }
    .table-wrap { border: 0; overflow: visible; background: transparent; }
    .responsive-table thead { display: none; }
    .responsive-table, .responsive-table tbody, .responsive-table tr, .responsive-table td { display: block; width: 100%; }
    .responsive-table tr { margin-bottom: .75rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; padding: .6rem; }
    .responsive-table td { display: grid; grid-template-columns: minmax(7rem, .4fr) 1fr; gap: .75rem; border: 0; padding: .45rem; }
    .responsive-table td::before { content: attr(data-label); color: var(--muted); font-size: .8rem; font-weight: 800; text-transform: uppercase; }
    .responsive-table td.hide-mobile { display: none; }
    .table-actions { width: auto; white-space: normal; }
}

.media-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1rem;
}

.media-admin-card {
  padding: 0;
  overflow: hidden;
}

.media-admin-card > summary {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: center;
  min-height: 4.75rem;
  padding: .75rem;
  cursor: pointer;
  list-style: none;
}

.media-admin-card > summary::-webkit-details-marker {
  display: none;
}

.media-admin-card > summary small {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
}

.media-admin-card__thumb {
  overflow: hidden;
  aspect-ratio: 8 / 5;
  border-radius: var(--radius-sm);
  background: var(--background);
}

.media-admin-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-admin-card[open] > summary {
  border-bottom: 1px solid var(--border);
}

.media-admin-card > form {
  margin-inline: 1rem;
}

.destructive-zone {
  border-top: 1px solid color-mix(in srgb, var(--red-600) 24%, transparent);
  padding-block: .75rem 1rem;
}

.page-hero--editorial {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(120deg, #fff, #edf3fa);
}

.page-hero__content {
  display: grid;
  max-width: 58rem;
  gap: 1rem;
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.page-hero__content h1 {
  max-width: 18ch;
}

.legal-content {
  display: grid;
  gap: 1.25rem;
  margin-inline: auto;
}

.legal-content :where(h2, h3) {
  margin-top: 1.5rem;
}

.legal-content :where(ul, ol) {
  display: grid;
  gap: .55rem;
  padding-left: 1.4rem;
}

.status-pill--success {
  border-color: #a6e0c3;
  background: #edfdf4;
  color: var(--success);
}

.approval-form {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

@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; }
}

@layer components {
    .booking-type { display: flex; flex-direction: row; gap: 1rem; align-items: start; cursor: pointer; }
    .booking-type input { flex: none; margin-top: .3rem; }
    .booking-type:has(input:checked) { border-color: var(--navy-900); box-shadow: 0 0 0 2px var(--navy-900); }
    .booking-widget fieldset { min-width: 0; border: 0; padding: 0; }
    .booking-widget legend { margin-bottom: 1rem; }
    .booking-widget select { max-width: 100%; }
    .booking-picker { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
    .booking-month { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
    .booking-month .button { min-width: 2.75rem; padding: .5rem; }
    .booking-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .25rem; }
    .booking-weekday { text-align: center; font-size: .8rem; color: var(--muted); }
    .booking-day, .booking-time { min-height: 2.75rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; color: var(--navy-900); cursor: pointer; font-weight: 700; padding: .25rem; }
    .booking-day:disabled { opacity: .4; cursor: default; border-color: transparent; }
    .booking-day[aria-pressed='true'], .booking-time[aria-pressed='true'] { background: var(--navy-900); color: #fff; }
    .booking-times { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; max-height: 27rem; overflow-y: auto; }
    .booking-times > p { grid-column: 1 / -1; }
    .booking-hours-row { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; }
    .booking-hours-row .field { flex: 1 1 9rem; }
    @media (max-width: 700px) { .booking-picker { grid-template-columns: 1fr; } }
}
@layer components {
    .booking-section .booking-widget > fieldset h3, .booking-section .booking-widget > .field > label { color: #fff; }
    .booking-section .booking-widget .card { color: var(--ink); }
    .booking-section .booking-widget .card p, .booking-section .booking-widget .card strong { color: var(--ink); }
    .booking-section .booking-widget .booking-type:has(input:checked) { border-color: #fff; box-shadow: 0 0 0 2px #fff; }
    .booking-widget .field__error { background: #fff; color: #a11822; padding: .5rem; border-radius: .25rem; }
}
