/* ============================================================
 * app.css — SRVY shared UI (login design system)
 *
 * This is the HR Cluster login design system, reused verbatim so SRVY, HR Cluster,
 * and future products stay visually synchronized. Tokens (colour/space/radius/
 * shadow/type) and the login / form / button components are kept identical to
 * HR Cluster's main.css — keep them in sync rather than forking values here.
 * ============================================================ */

/* ── Design tokens ───────────────────────────────────────── */
:root {
    --color-bg:            #f5f5f5;
    --color-surface:       #ffffff;
    --color-white:         #ffffff;
    --color-border:        #e0e0e0;
    --color-border-strong: #c0c0c0;
    --color-text:          #1a1a1a;
    --color-text-muted:    #666666;
    --color-text-light:    #999999;
    --color-accent:        #1a1a1a;
    --color-accent-hover:  #333333;
    --color-accent-subtle: #f5f6f8;
    --color-danger:        #c0392b;

    --color-flash-error-bg:     #fdecea;
    --color-flash-error-text:   #7f0000;
    --color-flash-error-border: #ef9a9a;

    --space-xs:  0.25rem;
    --space-sm:  0.5rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2rem;
    --space-2xl: 3rem;

    --font-size-sm:   0.875rem;
    --font-size-base: 1rem;
    --font-size-lg:   1.125rem;
    --font-size-xl:   1.25rem;
    --font-size-2xl:  1.5rem;

    --radius-sm: 3px;
    --radius-md: 8px;
    --radius-lg: 10px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.07);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.10);

    --sidebar-width: 220px;
    --topbar-height: 48px;
}

/* ── Base ────────────────────────────────────────────────── */
* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--color-text);
    background: var(--color-bg);
}

a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Utilities (shared with HR Cluster) ──────────────────── */
.text-small  { font-size: var(--font-size-sm); }
.text-muted  { color: var(--color-text-muted); }
.text-center { text-align: center; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }

/* ── Login shell + card ──────────────────────────────────── */
.login-shell {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* particles canvas shows through */
    padding: var(--space-lg);
    position: relative;
    z-index: 1;
}

.login-box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    width: 100%;
    max-width: 380px;
}

.login-brand {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.login-logo {
    height: 56px;
    width: auto;
    display: block;
    margin: 0 auto var(--space-sm);
}

.login-brand-name {
    font-size: var(--font-size-xl);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 var(--space-xs);
}

.login-brand p {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    margin-top: var(--space-xs);
}

.login-box .btn-primary {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: var(--font-size-base);
    margin-top: var(--space-md);
}

/* ── Forms ───────────────────────────────────────────────── */
.form-group { margin-bottom: var(--space-md); }

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
    color: var(--color-text-muted);
}

.form-control {
    display: block;
    width: 100%;
    padding: 6px 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    color: var(--color-text);
    background: var(--color-white);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    min-height: 38px;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-text);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.form-control::placeholder { color: var(--color-text-light); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0 14px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
    min-height: 36px;
}
.btn:focus-visible { outline: 2px solid var(--color-text); outline-offset: 2px; }
.btn:active:not(:disabled) { transform: scale(0.98); }
.btn:disabled, .btn[disabled] { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}
.btn-primary:hover {
    background: var(--color-accent-hover);
    text-decoration: none;
    color: var(--color-white);
}

/* ── Flash (error) ───────────────────────────────────────── */
.flash {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-md);
}
.flash-error {
    background: var(--color-flash-error-bg);
    color: var(--color-flash-error-text);
    border-color: var(--color-flash-error-border);
}
.flash-success {
    background: #eef7ee;
    color: #1e6b2e;
    border-color: #cfe6cf;
}

/* ── Auth flows (forgot / reset / invite) + inline actions ── */
.auth-intro { color: var(--color-text-muted); font-size: var(--font-size-sm); line-height: 1.6; margin: 0 0 var(--space-md); }
.auth-aux { margin: var(--space-md) 0 0; font-size: var(--font-size-sm); }
.section-title { font-size: var(--font-size-lg); font-weight: 600; margin: var(--space-lg) 0 var(--space-sm); }
.btn-link {
    background: none; border: none; padding: 0; cursor: pointer;
    color: var(--color-text-muted); font-size: var(--font-size-sm); text-decoration: underline;
}
.btn-link:hover { color: var(--color-text); }
.btn-link-danger:hover { color: var(--color-danger); }

/* ── Login — mobile adjustments (matches HR Cluster) ─────── */
@media (max-height: 700px) {
    .login-shell { padding: var(--space-md) var(--space-md); }
    .login-box { padding: var(--space-lg) var(--space-lg); }
    .login-brand { margin-bottom: var(--space-md); }
    .login-logo { height: 40px; }
    .login-brand-name { font-size: var(--font-size-lg); }
}

/* ── Site footer (legal links) — HR Cluster design system ── */
.site-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--space-xl);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: var(--space-xl);
    position: relative;   /* sit above the particle canvas on login/landing */
    z-index: 1;
}
.site-footer a { color: var(--color-text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--color-text); text-decoration: underline; }
.site-footer .dot { color: var(--color-text-light); }
.site-footer .footer-placeholder { color: var(--color-text-muted); cursor: default; }
/* On login pages the footer hugs the bottom under the centred card. */
body.login-page .site-footer { margin-top: 0; flex-shrink: 0; }

/* Compact language switcher — subtle, no pill. Placed as a top-right page control. */
.lang-menu { position: relative; display: inline-block; }
.lang-menu > summary {
    list-style: none;
    cursor: pointer;
    color: var(--color-text-muted);
}
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary::after { content: " \25BE"; font-size: 0.7em; }
.lang-menu > summary:hover,
.lang-menu[open] > summary { color: var(--color-text); }
.lang-menu-list {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 4px;
    z-index: 20;
}
.lang-menu-list a {
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    white-space: nowrap;
}
.lang-menu-list a:hover { background: var(--color-accent-subtle); color: var(--color-text); text-decoration: none; }
.lang-menu-list a.active { color: var(--color-text); font-weight: 600; }

/* Global controls region — fixed top-right on all public-facing pages. A single
   consistent home for global UI controls (language now; more later). Flex so
   additional controls line up alongside the language switcher. */
.page-controls {
    position: fixed;
    top: var(--space-md);
    right: var(--space-lg);
    z-index: 40;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.75rem;
    color: var(--color-text-muted);
}
/* Inside the authenticated shell topbar the region flows to the right of the bar
   (the sticky opaque topbar would occlude a fixed overlay). */
.app-topbar .page-controls {
    position: static;
    margin-left: auto;
    top: auto;
    right: auto;
    z-index: auto;
}

/* ── App shell (sidebar + topbar + content) — HR Cluster design system ── */
.app-shell { display: flex; min-height: 100vh; overflow-x: hidden; }

.app-sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--color-surface);
    border-right: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    overflow: hidden;
}

.app-main {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-height: 100vh;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.app-topbar {
    height: var(--topbar-height);
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    padding: 0 var(--space-lg);
    gap: var(--space-md);
    position: sticky;
    top: 0;
    z-index: 50;
}
.app-topbar .page-title { font-size: var(--font-size-base); font-weight: 600; }

/* Compact workspace content density (HR Cluster's operational tier) — the portals
   are operational workspaces, not document pages, so content sits close to the
   topbar and sidebar. Card internal padding is unaffected. */
.app-content { flex: 1; padding: var(--space-md) 12px; width: 100%; min-width: 0; }

.sidebar-toggle { display: none; }
.nav-close, .nav-footer-links { display: none; }

.sidebar-brand {
    padding: var(--space-lg) var(--space-md);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}
.sidebar-logo { height: 24px; width: auto; display: block; }
.sidebar-brand .brand-name {
    font-weight: 700;
    font-size: var(--font-size-lg);
    letter-spacing: -0.02em;
    color: var(--color-text);
    line-height: 1.1;
}
.sidebar-brand .account-name {
    font-size: var(--font-size-sm);
    font-weight: 400;
    color: var(--color-text-muted);
    display: block;
}

.sidebar-nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: var(--space-sm) 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.sidebar-nav a {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 12px;
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    border-radius: var(--radius-md);
    margin: 0 var(--space-sm);
    transition: color 0.15s ease, background 0.15s ease;
}
.sidebar-nav a:hover { color: var(--color-text); background: var(--color-accent-subtle); text-decoration: none; }
.sidebar-nav a.active { color: var(--color-text); font-weight: 500; background: var(--color-accent-subtle); }
.sidebar-nav a.active::before {
    content: "";
    position: absolute;
    left: 0; top: 6px; bottom: 6px;
    width: 2px; border-radius: 2px;
    background: var(--color-text);
}

.sidebar-footer {
    flex: 0 0 auto;
    padding: var(--space-md);
    border-top: 1px solid var(--color-border);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}
.sidebar-footer .nav-user-name { display: block; margin-bottom: var(--space-xs); color: var(--color-text); }
.sidebar-footer a { color: var(--color-text-muted); }
.sidebar-footer a:hover { color: var(--color-danger); text-decoration: none; }

/* Empty-state placeholder for thin/coming-soon sections */
.empty-state {
    border: 1px dashed var(--color-border-strong);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
    color: var(--color-text-muted);
    background: var(--color-surface);
}
.empty-state h2 { margin: 0 0 var(--space-xs); color: var(--color-text); font-size: var(--font-size-lg); }

/* ── Module content: page head, cards, tables, detail, forms ── */
/* Action bar above module content — title lives in the topbar, so this holds
   the page's primary action (right-aligned). */
.page-head { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-md); margin-bottom: var(--space-sm); }

.btn-secondary { background: transparent; color: var(--color-text); border-color: var(--color-border-strong); }
.btn-secondary:hover { background: var(--color-accent-subtle); text-decoration: none; color: var(--color-text); }

/* Cards — HR Cluster module pattern: white panels, never content on the gray bg */
.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-lg); box-shadow: var(--shadow-sm); }
.card + .card { margin-top: var(--space-md); }
.card-title { font-size: var(--font-size-sm); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--color-text-muted); margin: 0 0 var(--space-md); }
.card .empty { color: var(--color-text-muted); margin: 0; }

/* Tables inside cards — rows bleed to the card edges */
.card:has(> .table-wrap) {
    overflow: hidden; /* Clip flush table rows to card radius without clipping non-table card popovers. */
}
.card .table-wrap { margin: 0 calc(-1 * var(--space-lg)); }
.card .table-wrap:last-child { margin-bottom: calc(-1 * var(--space-lg)); }
.card > .table-wrap:first-child { margin-top: calc(-1 * var(--space-lg)); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table thead th { font-size: var(--font-size-sm); font-weight: 500; color: var(--color-text-muted); text-align: left; padding: var(--space-sm) var(--space-md); border-bottom: 1px solid var(--color-border-strong); }
.data-table td { padding: var(--space-sm) var(--space-md); vertical-align: middle; }
/* One owner per divider: thead draws the header/first-row line, `tr + tr` draws each
   inter-row line — the first row has no top border of its own, so no doubled hairline.
   Both use the same 1px border-strong: consistent weight, and a step darker than the
   card's lighter --color-border so separators stay crisp instead of merging with the edge. */
.data-table tbody tr + tr td { border-top: 1px solid var(--color-border-strong); }
.data-table th:first-child, .data-table td:first-child { padding-left: var(--space-lg); }
.data-table th:last-child, .data-table td:last-child { padding-right: var(--space-lg); }
.data-table tr.clickable { cursor: pointer; }
.data-table tr.clickable:hover { background: var(--color-accent-subtle); }
.data-table .name { font-weight: 600; }
.data-table .sub { color: var(--color-text-muted); font-size: var(--font-size-sm); }
.data-table .col-right { text-align: right; white-space: nowrap; }

/* Detail field rows inside a card */
.detail-table { width: 100%; border-collapse: collapse; }
.detail-table tr + tr th, .detail-table tr + tr td { border-top: 1px solid var(--color-border); }
.detail-table th, .detail-table td { padding: var(--space-sm) 0; text-align: left; font-weight: normal; vertical-align: middle; }
.detail-table th { width: 180px; color: var(--color-text-muted); font-size: var(--font-size-sm); padding-right: var(--space-md); }

/* Status badge */
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: var(--font-size-sm); }
.badge-active { background: #e8f5e9; color: #2e7d32; }
.badge-inactive { background: #f0f0f0; color: #757575; }
/* Survey lifecycle: draft (neutral) · published (green) · closed (muted red) */
.badge-draft { background: #f0f0f0; color: #757575; }
.badge-published { background: #e8f5e9; color: #2e7d32; }
.badge-closed { background: #fdecea; color: #b0413e; }

/* Inline action form inside a table row (e.g. revoke a participating company) */
.inline-form { display: inline; margin: 0; }

/* Forms inside a card — compact, capped width */
.form-card { max-width: 36rem; }
.form-card .form-group:last-of-type { margin-bottom: 0; }
.form-actions { display: flex; align-items: center; gap: var(--space-sm); margin-top: var(--space-lg); }
.field-error { color: var(--color-danger); font-size: var(--font-size-sm); margin-top: 4px; }
.field-hint { color: var(--color-text-muted); font-size: var(--font-size-sm); margin-top: 4px; }

/* Card header row: card title + inline action (e.g. "Add user") */
.card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); margin-bottom: var(--space-md); }
.card-head .card-title { margin: 0; }
.btn-sm { min-height: 28px; padding: 0 10px; font-size: var(--font-size-sm); }

/* Radio group (e.g. company role) */
.form-label { display: block; font-size: 0.82rem; font-weight: 500; margin-bottom: var(--space-xs); color: var(--color-text-muted); }
.radio-group { display: flex; flex-direction: column; gap: var(--space-sm); }
.form-group label.radio { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: 0; font-size: var(--font-size-base); font-weight: 400; color: var(--color-text); cursor: pointer; }

/* Access/help note (e.g. "This user will get access to …") */
.form-note { color: var(--color-text-muted); font-size: var(--font-size-sm); margin: 0 0 var(--space-md); }

/* ── Modal (shared SRVY pattern, matches HR Cluster) ── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 1000; align-items: center; justify-content: center; padding: var(--space-md); }
.modal-overlay.open { display: flex; }
.modal { background: var(--color-surface); border-radius: var(--radius-lg); box-shadow: 0 8px 40px rgba(0,0,0,0.18); width: 100%; max-width: 460px; max-height: 90vh; overflow: hidden; display: flex; flex-direction: column; }
.modal > form { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; }
.modal-header { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding: var(--space-lg) var(--space-lg) var(--space-md); border-bottom: 1px solid var(--color-border); }
.modal-title { font-size: var(--font-size-lg); font-weight: 600; margin: 0; }
.modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--color-text-muted); line-height: 1; padding: 0 var(--space-xs); border-radius: var(--radius-sm); }
.modal-close:hover { color: var(--color-text); }
.modal-close:focus-visible { outline: 2px solid var(--color-text); outline-offset: 2px; }
.modal-body { flex: 1; overflow-y: auto; min-height: 0; padding: var(--space-lg); }
.modal-body .form-group:last-of-type { margin-bottom: 0; }
.modal-footer { flex-shrink: 0; display: flex; align-items: center; justify-content: flex-end; gap: var(--space-sm); padding: var(--space-md) var(--space-lg); border-top: 1px solid var(--color-border); }

/* ── App shell — mobile (sidebar collapses to a top bar + overlay nav) ── */
@media (max-width: 768px) {
    .app-shell { flex-direction: column; }
    .app-sidebar {
        width: 100%; height: auto; position: relative; top: auto; left: auto;
        flex-direction: row; align-items: center; gap: 8px;
        border-right: none; border-bottom: 1px solid var(--color-border);
        padding: 4px 12px; overflow: visible; z-index: 200;
    }
    .sidebar-brand { flex: 1 1 auto; min-width: 0; padding: 0; border-bottom: none; }
    .sidebar-toggle {
        display: flex; align-items: center; justify-content: center;
        background: none; border: none; cursor: pointer; color: var(--color-text);
        width: 44px; height: 44px; font-size: 1.5rem; line-height: 1; border-radius: var(--radius-sm);
    }
    .sidebar-toggle:active { background: var(--color-accent-subtle); }
    .sidebar-nav {
        display: none; position: fixed; inset: 0; background: var(--color-surface);
        z-index: 999; padding: 3.5rem var(--space-md) var(--space-xl); gap: 2px; overflow-y: auto;
    }
    .sidebar-nav.open { display: flex; }
    .sidebar-nav a { font-size: 1.1rem; font-weight: 500; padding: 12px var(--space-md); margin: 0; }
    .sidebar-nav.open .nav-close { display: flex; }
    .nav-close {
        position: absolute; top: 4px; right: 4px; width: 44px; height: 44px;
        align-items: center; justify-content: center; background: none; border: none;
        font-size: 1.85rem; cursor: pointer; color: var(--color-text); line-height: 1; border-radius: var(--radius-sm);
    }
    .sidebar-footer { display: none; }
    .app-main { margin-left: 0; }
}

/* ── Cookie consent banner (GA consent-gated via srvy:cookie-consent) ── */
.cookie-banner {
    position: fixed;
    left: var(--space-md);
    right: var(--space-md);
    bottom: var(--space-md);
    z-index: 9999;
    max-width: 640px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
    background: var(--color-text);
    color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm) var(--space-md);
    font-size: 0.85rem;
    line-height: 1.5;
    transform: translateY(16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cookie-banner__text { flex: 1 1 260px; margin: 0; }
.cookie-banner__actions { display: flex; gap: var(--space-sm); flex: 0 0 auto; }
.cookie-banner__btn {
    appearance: none;
    border: 1px solid rgba(255,255,255,0.22);
    background: transparent;
    color: var(--color-white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font: inherit;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}
.cookie-banner__btn:hover,
.cookie-banner__btn:focus-visible { background: rgba(255,255,255,0.10); outline: none; }
.cookie-banner__btn--primary { background: var(--color-white); border-color: var(--color-white); color: var(--color-text); }
.cookie-banner__btn--primary:hover,
.cookie-banner__btn--primary:focus-visible { background: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.85); }
@media (max-width: 520px) {
    .cookie-banner {
        left: var(--space-sm);
        right: var(--space-sm);
        bottom: var(--space-sm);
        padding: var(--space-sm) var(--space-md);
        flex-wrap: nowrap;
        gap: var(--space-sm);
    }
    .cookie-banner__text { flex: 1 1 auto; min-width: 0; font-size: 0.75rem; line-height: 1.35; }
    .cookie-banner__actions { gap: var(--space-xs); }
    .cookie-banner__btn { padding: var(--space-xs) var(--space-sm); font-size: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) {
    .cookie-banner { transition: none; }
}
