:root {
    color-scheme: dark;
    --bg: #0a0b0e;
    --bg-elevated: #0e1014;
    --surface: #121419;
    --surface-2: #171a20;
    --surface-3: #1d2027;
    --surface-soft: rgba(255, 255, 255, 0.035);
    --surface-hover: rgba(255, 255, 255, 0.065);
    --text: #f4f5f7;
    --text-soft: #c8c9cf;
    --muted: #8f929c;
    --muted-2: #6e717b;
    --line: rgba(255, 255, 255, 0.085);
    --line-strong: rgba(255, 255, 255, 0.14);
    --accent: #8e7cff;
    --accent-strong: #a99cff;
    --accent-soft: rgba(142, 124, 255, 0.14);
    --green: #46d39a;
    --green-soft: rgba(70, 211, 154, 0.13);
    --yellow: #f3bd58;
    --yellow-soft: rgba(243, 189, 88, 0.14);
    --red: #ff6c76;
    --red-soft: rgba(255, 108, 118, 0.14);
    --blue: #69a9ff;
    --blue-soft: rgba(105, 169, 255, 0.14);
    --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.18);
    --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.35);
    --radius-xs: 8px;
    --radius-sm: 11px;
    --radius: 15px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --sidebar-width: 286px;
    --topbar-height: 78px;
    --content-max: 1450px;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

html[data-theme="light"] {
    color-scheme: light;
    --bg: #f6f6f8;
    --bg-elevated: #fbfbfc;
    --surface: #ffffff;
    --surface-2: #f3f3f6;
    --surface-3: #ebebef;
    --surface-soft: rgba(20, 22, 28, 0.035);
    --surface-hover: rgba(20, 22, 28, 0.06);
    --text: #14151a;
    --text-soft: #41434b;
    --muted: #6e707a;
    --muted-2: #8b8d96;
    --line: rgba(20, 22, 28, 0.09);
    --line-strong: rgba(20, 22, 28, 0.16);
    --accent: #6754e8;
    --accent-strong: #503adf;
    --accent-soft: rgba(103, 84, 232, 0.1);
    --green: #168a5b;
    --green-soft: rgba(22, 138, 91, 0.1);
    --yellow: #a56b00;
    --yellow-soft: rgba(190, 124, 0, 0.1);
    --red: #c93545;
    --red-soft: rgba(201, 53, 69, 0.1);
    --blue: #2a6fc5;
    --blue-soft: rgba(42, 111, 197, 0.1);
    --shadow-sm: 0 8px 24px rgba(25, 26, 32, 0.07);
    --shadow-lg: 0 28px 80px rgba(25, 26, 32, 0.13);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    min-width: 320px;
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 78% -10%, rgba(142, 124, 255, 0.08), transparent 34rem),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: not-allowed; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, ul, ol, dl, dd { margin-top: 0; }
::selection { background: var(--accent); color: #fff; }

:focus-visible {
    outline: 2px solid var(--accent-strong);
    outline-offset: 3px;
}

[hidden] { display: none !important; }

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

.icon, .search-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.navigation-progress {
    position: fixed;
    z-index: 300;
    inset: 0 auto auto 0;
    width: 0;
    height: 2px;
    opacity: 0;
    background: linear-gradient(90deg, var(--accent), var(--green));
    box-shadow: 0 0 16px var(--accent);
    transition: width .35s var(--ease), opacity .2s ease;
}
.navigation-progress.is-loading { width: 72%; opacity: 1; }
.navigation-progress.is-complete { width: 100%; opacity: 0; transition: width .18s ease, opacity .28s .12s ease; }

.app-shell { min-height: 100vh; }

.sidebar {
    position: fixed;
    z-index: 90;
    inset: 0 auto 0 0;
    display: flex;
    flex-direction: column;
    width: var(--sidebar-width);
    padding: 22px 16px 18px;
    background: color-mix(in srgb, var(--bg-elevated) 96%, transparent);
    border-right: 1px solid var(--line);
    backdrop-filter: blur(18px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 4px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}
.brand-mark {
    position: relative;
    display: inline-flex;
    align-items: end;
    gap: 3px;
    width: 31px;
    height: 31px;
    padding: 5px;
    border: 1px solid rgba(142, 124, 255, .32);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(142, 124, 255, .2), rgba(70, 211, 154, .06));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
}
.brand-mark i { display: block; width: 4px; border-radius: 3px 3px 1px 1px; background: var(--accent-strong); }
.brand-mark i:nth-child(1) { height: 8px; opacity: .72; }
.brand-mark i:nth-child(2) { height: 13px; opacity: .86; }
.brand-mark i:nth-child(3) { height: 19px; }
.brand-mark b { position: absolute; width: 5px; height: 5px; border-radius: 50%; right: 4px; top: 4px; background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: 18px; letter-spacing: -.45px; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: .055em; text-transform: uppercase; }

.sidebar-close { display: none; }
.sidebar-nav { margin-top: 28px; }
.nav-label {
    margin: 0 10px 10px;
    color: var(--muted-2);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.nav-label-spaced { margin-top: 27px; }
.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 43px;
    margin: 3px 0;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 580;
    transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s var(--ease);
}
.nav-item:hover { color: var(--text); background: var(--surface-soft); }
.nav-item:active { transform: scale(.985); }
.nav-item.is-active {
    color: var(--text);
    background: var(--surface-2);
    border-color: var(--line);
    box-shadow: inset 3px 0 0 var(--accent);
}
.nav-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    color: var(--muted);
}
.nav-item.is-active .nav-icon { color: var(--accent-strong); background: var(--accent-soft); }
.nav-count {
    min-width: 25px;
    height: 23px;
    margin-left: auto;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--surface-3);
    color: var(--muted);
    font-size: 11px;
    line-height: 23px;
    text-align: center;
}
.nav-count-accent { background: var(--accent); color: #fff; }

.sidebar-insight {
    display: flex;
    gap: 10px;
    margin-top: auto;
    margin-bottom: 15px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-soft);
}
.insight-icon { display: grid; place-items: center; width: 28px; height: 28px; color: var(--accent-strong); border-radius: 9px; background: var(--accent-soft); }
.sidebar-insight strong { display: block; margin: 1px 0 3px; font-size: 12px; }
.sidebar-insight p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.sidebar-foot { padding-top: 4px; }
.sidebar-legal-links { display: flex; justify-content: center; gap: 15px; margin-top: 12px; color: var(--muted-2); font-size: 11px; }
.sidebar-legal-links a:hover { color: var(--text); }

.workspace {
    min-width: 0;
    min-height: 100vh;
    margin-left: var(--sidebar-width);
}

.topbar {
    position: sticky;
    z-index: 70;
    top: 0;
    display: grid;
    grid-template-columns: minmax(280px, 720px) auto;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: var(--topbar-height);
    padding: 14px clamp(22px, 3vw, 48px);
    background: color-mix(in srgb, var(--bg) 84%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
    backdrop-filter: blur(20px) saturate(130%);
}

.global-search {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    height: 48px;
    padding: 0 8px 0 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025), var(--shadow-sm);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.global-search:focus-within { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: 0 0 0 4px var(--accent-soft); }
.global-search .search-icon { color: var(--muted); }
.global-search input {
    min-width: 0;
    flex: 1;
    height: 100%;
    padding: 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
}
.global-search input::placeholder { color: var(--muted-2); }
.global-search kbd {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 7px;
    border: 1px solid var(--line);
    border-bottom-color: var(--line-strong);
    border-radius: 6px;
    background: var(--surface-2);
    color: var(--muted);
    font-family: inherit;
    font-size: 10px;
    box-shadow: 0 1px 0 var(--line);
}
.search-submit {
    height: 34px;
    margin-left: 8px;
    padding: 0 13px;
    border: 0;
    border-radius: 10px;
    background: var(--text);
    color: var(--bg);
    font-size: 12px;
    font-weight: 750;
}

.topbar-actions { display: flex; align-items: center; gap: 8px; }
.topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 620;
}
.topbar-link:hover { background: var(--surface-soft); color: var(--text); }
.icon-button {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface);
    color: var(--text-soft);
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s var(--ease);
}
.icon-button:hover { color: var(--text); background: var(--surface-2); border-color: var(--line-strong); }
.icon-button:active { transform: scale(.96); }
.theme-icon-dark { display: none; }
html[data-theme="light"] .theme-icon-light { display: none; }
html[data-theme="light"] .theme-icon-dark { display: inline-flex; }
.mobile-menu-button, .mobile-brand, .mobile-search-button { display: none; }

.page-content {
    width: min(100%, calc(var(--content-max) + clamp(44px, 6vw, 96px)));
    min-height: calc(100vh - var(--topbar-height));
    margin: 0 auto;
    padding: 38px clamp(22px, 3vw, 48px) 72px;
}

.breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 28px; color: var(--muted); font-size: 12px; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span:last-child { color: var(--text-soft); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 760;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }

.directory-hero { margin-bottom: 30px; }
.hero-layout { display: grid; grid-template-columns: 1fr; align-items: end; gap: clamp(32px, 5vw, 80px); }
.hero-copy h1, .page-hero h1 {
    max-width: 920px;
    margin: 12px 0 12px;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.03;
    letter-spacing: -.048em;
}
.hero-copy > p, .page-hero > p {
    max-width: 800px;
    margin-bottom: 0;
    color: var(--text-soft);
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px;display:none; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 720;
    line-height: 1;
    text-align: center;
    transition: transform .18s var(--ease), background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0) scale(.985); }
.button-primary { background: var(--text); color: var(--bg); box-shadow: 0 8px 26px rgba(0, 0, 0, .14); }
.button-primary:hover { background: color-mix(in srgb, var(--text) 88%, var(--accent)); }
.button-ghost { border-color: var(--line); background: var(--surface-soft); color: var(--text-soft); }
.button-ghost:hover { border-color: var(--line-strong); background: var(--surface-hover); color: var(--text); }
.button-quiet { border-color: var(--line); background: var(--surface); color: var(--text-soft); }
.button-quiet:hover { color: var(--text); background: var(--surface-2); }
.button-danger { background: var(--red); color: #fff; }
.button-danger:hover { background: color-mix(in srgb, var(--red) 85%, #000); }
.button-disabled { background: var(--surface-2); color: var(--muted-2); cursor: not-allowed; }
.button-block { width: 100%; }
.button-large { min-height: 50px; padding-inline: 20px; border-radius: 14px; font-size: 14px; }
.button-small { min-height: 36px; padding: 7px 11px; border-radius: 10px; font-size: 12px; }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; display:none; }
.stat-card {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(145deg, var(--surface), var(--surface-soft));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}
.stat-card span { display: block; color: var(--muted); font-size: 10px; font-weight: 740; letter-spacing: .07em; text-transform: uppercase; }
.stat-card strong { display: block; margin: 5px 0 2px; font-size: 27px; line-height: 1; letter-spacing: -.035em; }
.stat-card small { display: block; overflow: hidden; color: var(--muted-2); font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }

.category-notice {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin: 0 0 22px;
    padding: 16px 18px;
    border: 1px solid color-mix(in srgb, var(--yellow) 28%, var(--line));
    border-radius: 15px;
    background: var(--yellow-soft);
}
.notice-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: color-mix(in srgb, var(--yellow) 18%, transparent); color: var(--yellow); }
.category-notice strong { display: block; margin: 1px 0 2px; font-size: 13px; }
.category-notice p { margin: 0; color: var(--text-soft); font-size: 12px; }

.directory-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.directory-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto;
    gap: 10px;
    padding: 15px;
    border-bottom: 1px solid var(--line);
}
.directory-search-wrap, .admin-search-field {
    position: relative;
    display: flex;
    align-items: center;
    height: 43px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg-elevated);
}
.directory-search-wrap > .icon, .directory-search-wrap > .search-icon, .admin-search-field > .icon { margin-left: 13px; color: var(--muted); }
.directory-search-wrap input, .admin-search-field input {
    min-width: 0;
    flex: 1;
    height: 100%;
    padding: 0 40px 0 11px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
}
.input-clear { position: absolute; right: 7px; display: grid; place-items: center; width: 29px; height: 29px; padding: 0; border: 0; border-radius: 8px; background: var(--surface-2); color: var(--muted); }
.input-clear .icon { width: 14px; height: 14px; }
.select-control {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 170px;
    height: 43px;
    padding-left: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg-elevated);
    color: var(--muted);
}
.select-control select {
    width: 100%;
    height: 100%;
    padding: 0 30px 0 9px;
    border: 0;
    outline: 0;
    appearance: none;
    background: transparent;
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 600;
}
.select-control::after { content: ""; position: absolute; right: 13px; width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg) translateY(-2px); pointer-events: none; }
.select-control .icon { width: 16px; height: 16px; }

.filter-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 15px; border-bottom: 1px solid var(--line); }
.filter-chips { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.filter-chips::-webkit-scrollbar { display: none; }
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    font-size: 11px;
    font-weight: 680;
    white-space: nowrap;
}
.filter-chip:hover { color: var(--text); background: var(--surface-soft); }
.filter-chip.is-active { border-color: var(--line); background: var(--surface-2); color: var(--text); }
.filter-chip .icon { width: 14px; height: 14px; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 3px transparent; }
.dot-green { background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.dot-yellow { background: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-soft); }
.dot-red { background: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.results-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.results-meta strong { color: var(--text); font-size: 12px; }
.text-button { padding: 0; border: 0; background: transparent; color: var(--accent-strong); font-size: 11px; font-weight: 680; }
.text-button:hover { text-decoration: underline; }

.signal-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--surface-soft); color: var(--muted); font-size: 10px; }
.signal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.signal-legend a { display: inline-flex; align-items: center; gap: 3px; margin-left: auto; color: var(--text-soft); font-weight: 650; }
.signal-legend a:hover { color: var(--accent-strong); }
.signal-legend .icon { width: 13px; height: 13px; }

.site-list { --site-grid: minmax(370px, 1.9fr) 100px 92px minmax(160px, .78fr) 128px; }
.site-list.show-offer-column { --site-grid: minmax(355px, 1.75fr) 100px 92px minmax(150px, .68fr) minmax(145px, .68fr) 128px; }
.site-list-head, .site-row { display: grid; grid-template-columns: var(--site-grid); column-gap: 16px; }
.site-list-head {
    align-items: center;
    min-height: 40px;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
    color: var(--muted-2);
    font-size: 9px;
    font-weight: 760;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.site-row {
    position: relative;
    align-items: center;
    min-height: 145px;
    padding: 20px 18px;
    border-bottom: 1px solid var(--line);
    transition: background .18s ease;
}
.site-row:last-child { border-bottom: 0; }
.site-row:hover { background: var(--surface-soft); }
.site-row.is-closed { opacity: .72; }
.site-row.is-closed::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(255,255,255,.01) 14px 15px); }

.site-identity { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.favicon-wrap, .favicon-preview-large {
    position: relative;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 52px;
    height: 52px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.favicon-fallback { position: absolute; z-index: 0; color: var(--muted); font-size: 18px; font-weight: 800; }
.site-favicon, .favicon-preview-large img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; background: var(--surface-2); }
.site-favicon.is-broken, .favicon-preview-large img.is-broken { display: none; }
.site-copy { min-width: 0; }
.site-title-line { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.site-title-line h2 { margin: 0; font-size: 16px; line-height: 1.25; letter-spacing: -.02em; }
.badge { display: inline-flex; align-items: center; gap: 4px; min-height: 21px; padding: 2px 7px; border-radius: 999px; font-size: 9px; font-weight: 760; white-space: nowrap; }
.badge .icon { width: 11px; height: 11px; }
.badge-featured { background: var(--accent-soft); color: var(--accent-strong); }
.badge-neutral { background: var(--surface-3); color: var(--muted); border: 1px solid var(--line); }
.site-meta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 5px; }
.domain { color: var(--muted); font-size: 11px; }
.category-tag, .verdict-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 999px; font-size: 9px; font-weight: 680; }
.category-tag { background: var(--surface-2); color: var(--text-soft); }
.category-tag:hover { color: var(--text); background: var(--surface-3); }
.category-tag .icon { width: 11px; height: 11px; }
.verdict-green { color: var(--green); background: var(--green-soft); }
.verdict-yellow { color: var(--yellow); background: var(--yellow-soft); }
.verdict-red { color: var(--red); background: var(--red-soft); }
.site-copy > p { max-width: 620px; margin: 8px 0 7px; color: var(--text-soft); font-size: 12px; line-height: 1.52; }
.verification-line { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; color: var(--muted-2); font-size: 10px; }
.verification-line .icon { width: 13px; height: 13px; }
.stale-badge { margin-left: 3px; padding: 1px 6px; border-radius: 999px; background: var(--yellow-soft); color: var(--yellow); font-weight: 700; }

.status-cell, .risk-cell, .offer-cell { min-width: 0; }
.binary-status { display: inline-flex; align-items: center; gap: 8px; }
.binary-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; }
.binary-icon .icon { width: 14px; height: 14px; }
.status-yes .binary-icon { background: var(--green-soft); color: var(--green); }
.status-no .binary-icon { background: var(--red-soft); color: var(--red); }
.status-mixed .binary-icon, .status-unknown .binary-icon { background: var(--yellow-soft); color: var(--yellow); }
.binary-status strong, .risk-main strong { display: block; color: var(--text-soft); font-size: 11px; line-height: 1.25; }
.binary-status small, .risk-main small { display: block; margin-top: 2px; color: var(--muted-2); font-size: 9px; line-height: 1.3; }
.risk-main { display: flex; align-items: center; gap: 9px; min-width: 0; }
.risk-orb { position: relative; display: grid; flex: 0 0 auto; place-items: center; width: 27px; height: 27px; border-radius: 50%; }
.risk-orb i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.risk-green { color: var(--green); background: var(--green-soft); }
.risk-yellow { color: var(--yellow); background: var(--yellow-soft); }
.risk-red { color: var(--red); background: var(--red-soft); }
.risk-main small { max-width: 165px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.offer-cell { display: grid; align-content: center; justify-items: start; gap: 3px; }
.offer-label { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.offer-cell > strong { color: var(--text-soft); font-size: 11px; line-height: 1.35; }
.promo-code { display: inline-flex; align-items: center; gap: 6px; margin-top: 3px; padding: 4px 7px; border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: 8px; background: var(--accent-soft); color: var(--accent-strong); }
.promo-code code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 800; }
.promo-code .icon { width: 12px; height: 12px; }
.promo-code.is-copied { border-style: solid; color: var(--green); background: var(--green-soft); }
.muted-dash { color: var(--muted-2); }
.site-action { display: grid; justify-items: end; gap: 5px; }
.button-visit { min-width: 112px; border-color: var(--line); background: var(--surface-2); color: var(--text); }
.button-visit:hover { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); background: var(--accent-soft); color: var(--accent-strong); }
.button-visit .icon { width: 14px; height: 14px; }
.site-action small { color: var(--muted-2); font-size: 9px; }

.directory-empty { padding: 70px 20px; text-align: center; }
.empty-icon, .error-page .error-code { display: grid; place-items: center; margin: 0 auto 15px; }
.empty-icon { width: 50px; height: 50px; border-radius: 16px; background: var(--surface-2); color: var(--muted); }
.directory-empty h2 { margin-bottom: 5px; font-size: 20px; }
.directory-empty p { margin-bottom: 18px; color: var(--muted); }
.directory-footnote { display: flex; align-items: flex-start; gap: 9px; padding: 14px 17px; border-top: 1px solid var(--line); background: var(--surface-soft); color: var(--muted); font-size: 10px; }
.directory-footnote .icon { margin-top: 1px; color: var(--accent-strong); }
.directory-footnote p { margin: 0; }
.directory-footnote a { color: var(--text-soft); text-decoration: underline; text-underline-offset: 2px; }

.site-footer {
    width: min(100%, calc(var(--content-max) + clamp(44px, 6vw, 96px)));
    margin: 0 auto;
    padding: 45px clamp(22px, 3vw, 48px) 28px;
    border-top: 1px solid var(--line);
}
.footer-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 70px; }
.footer-brand .brand-copy small { display: none; }
.footer-main > div:first-child > p { max-width: 580px; margin: 16px 0 0; color: var(--muted); font-size: 11px; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr)); gap: 45px; }
.footer-links > div { display: grid; align-content: start; gap: 8px; }
.footer-links strong { margin-bottom: 4px; font-size: 11px; }
.footer-links a { color: var(--muted); font-size: 11px; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 35px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 10px; }
.mobile-submit-fab { display: none; }

/* Forms and submission page */
.submit-shell, .content-shell { max-width: 1220px; margin: 0 auto; }
.page-hero { margin-bottom: 36px; }
.compact-hero { max-width: 820px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 64px); }
.submit-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .65fr); align-items: start; gap: 24px; }
.form-card, .guideline-card, .prose-card, .method-card, .admin-panel, .login-card, .submission-source-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}
.form-card { padding: clamp(22px, 4vw, 38px); }
.form-section-head, .admin-form-section-head { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 20px; }
.section-spaced { margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }
.section-number, .admin-form-section-head > span {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 10px;
    font-weight: 800;
}
.form-section-head h2, .admin-form-section-head h2 { margin: 0 0 2px; font-size: 17px; letter-spacing: -.02em; }
.form-section-head p, .admin-form-section-head p { margin: 0; color: var(--muted); font-size: 11px; }
.form-grid { display: grid; gap: 16px; }
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: grid; align-content: start; gap: 7px; min-width: 0; margin-bottom: 17px; }
.field > span:first-child, .fieldset-control > legend { color: var(--text-soft); font-size: 11px; font-weight: 700; }
.field > span b, .fieldset-control > legend b { color: var(--red); }
.field > span em { margin-left: 5px; color: var(--muted-2); font-size: 9px; font-style: normal; font-weight: 600; text-transform: uppercase; }
.field input, .field textarea, .field select, .captcha-card input, .category-form input, .category-form textarea, .category-form select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 11px;
    outline: 0;
    background: var(--bg-elevated);
    color: var(--text);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field input, .field select, .captcha-card input, .category-form input, .category-form select { height: 44px; padding: 0 13px; }
.field textarea, .category-form textarea { min-height: 110px; padding: 12px 13px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder, .captcha-card input::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus, .field select:focus, .captcha-card input:focus, .category-form input:focus, .category-form textarea:focus, .category-form select:focus { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: 0 0 0 4px var(--accent-soft); }
.field small, .field-meta { color: var(--muted); font-size: 9px; }
.input-wrap, .select-wrap { position: relative; display: flex; align-items: center; }
.input-wrap > .icon, .select-wrap > .icon:first-child { position: absolute; z-index: 2; left: 12px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.input-wrap input, .select-wrap select { padding-left: 38px; }
.select-wrap select { appearance: none; padding-right: 34px; }
.select-wrap > .icon:last-child { position: absolute; right: 11px; width: 15px; height: 15px; color: var(--muted); transform: rotate(90deg); pointer-events: none; }
.field.has-error input, .field.has-error textarea, .field.has-error select, .captcha-card.has-error { border-color: color-mix(in srgb, var(--red) 60%, var(--line)); }
.field-error { color: var(--red) !important; font-size: 10px !important; }
.standalone-error { display: block; margin: -8px 0 14px; }
.field-meta { display: flex; justify-content: space-between; gap: 12px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-error-summary { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 23px; padding: 13px 14px; border: 1px solid color-mix(in srgb, var(--red) 35%, var(--line)); border-radius: 12px; background: var(--red-soft); color: var(--red); }
.form-error-summary > .icon { margin-top: 2px; }
.form-error-summary strong { display: block; font-size: 12px; }
.form-error-summary p { margin: 2px 0 0; color: var(--text-soft); font-size: 10px; }

.captcha-card { display: grid; grid-template-columns: minmax(0, 1fr) 120px; align-items: center; gap: 14px; margin: 10px 0 18px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-soft); }
.captcha-copy { display: flex; align-items: center; gap: 11px; }
.captcha-copy > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-strong); }
.captcha-copy strong { display: block; font-size: 11px; }
.captcha-copy p { margin: 2px 0 0; color: var(--text-soft); font-size: 12px; }
.captcha-card label { min-width: 0; }
.captcha-card input { text-align: center; font-weight: 750; }
.captcha-card > .field-error { grid-column: 1 / -1; margin-top: -7px; }

.check-field { position: relative; display: flex; align-items: flex-start; gap: 10px; margin: 0 0 18px; color: var(--text-soft); font-size: 10px; cursor: pointer; }
.check-field input { position: absolute; opacity: 0; pointer-events: none; }
.custom-check { display: grid; flex: 0 0 auto; place-items: center; width: 19px; height: 19px; margin-top: 1px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--bg-elevated); color: transparent; }
.custom-check .icon { width: 13px; height: 13px; }
.check-field input:checked + .custom-check { border-color: var(--accent); background: var(--accent); color: #fff; }
.check-field input:focus-visible + .custom-check { outline: 2px solid var(--accent); outline-offset: 2px; }
.check-field a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }
.check-field.has-error .custom-check { border-color: var(--red); }
.form-privacy-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 13px 0 0; color: var(--muted); font-size: 9px; text-align: center; }
.form-privacy-note .icon { width: 13px; height: 13px; color: var(--green); }

.guideline-card { padding: 24px; }
.sticky-card { position: sticky; top: calc(var(--topbar-height) + 20px); }
.guideline-kicker { color: var(--accent-strong); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.guideline-card h2 { margin: 7px 0 18px; font-size: 20px; }
.check-list { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 9px; color: var(--text-soft); font-size: 10px; line-height: 1.5; }
.check-list li > .icon { width: 16px; height: 16px; margin-top: 1px; color: var(--green); }
.check-list li:last-child > .icon { color: var(--red); }
.check-list strong { color: var(--text); }
.review-process { display: grid; grid-template-columns: 26px 1fr; gap: 0 10px; margin-top: 23px; padding-top: 20px; border-top: 1px solid var(--line); }
.review-process > span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; background: var(--surface-2); color: var(--accent-strong); font-size: 9px; font-weight: 800; }
.review-process p { margin: 0 0 10px; }
.review-process p strong, .review-process p small { display: block; }
.review-process p strong { font-size: 10px; }
.review-process p small { color: var(--muted); font-size: 9px; }
.review-process > i { width: 1px; height: 14px; margin: -8px auto 2px; background: var(--line-strong); }
/* Correct the existing review-process grid placement */
.review-process > span {
    grid-column: 1;
}

.review-process > p {
    grid-column: 2;
}

.review-process > i {
    grid-column: 1;
}

.review-process > span:nth-of-type(1),
.review-process > p:nth-of-type(1) {
    grid-row: 1;
}

.review-process > i:nth-of-type(1) {
    grid-row: 2;
}

.review-process > span:nth-of-type(2),
.review-process > p:nth-of-type(2) {
    grid-row: 3;
}

.review-process > i:nth-of-type(2) {
    grid-row: 4;
}

.review-process > span:nth-of-type(3),
.review-process > p:nth-of-type(3) {
    grid-row: 5;
}
.compact-guideline { display: flex; gap: 11px; margin-top: 14px; padding: 16px; }
.compact-guideline > .icon { color: var(--yellow); }
.compact-guideline strong { display: block; font-size: 11px; }
.compact-guideline p { margin: 3px 0 0; color: var(--muted); font-size: 9px; }
.success-panel { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; padding: 18px 20px; border: 1px solid color-mix(in srgb, var(--green) 35%, var(--line)); border-radius: 16px; background: var(--green-soft); }
.success-mark { display: grid; flex: 0 0 auto; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #07110c; }
.success-panel h2 { margin: 0 0 3px; font-size: 15px; }
.success-panel p { margin: 0; color: var(--text-soft); font-size: 11px; }

/* Content / methodology / legal */
.narrow-content { max-width: 900px; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.method-card { padding: 24px; }
.method-card .risk-orb { width: 38px; height: 38px; margin-bottom: 16px; }
.method-card h2 { margin-bottom: 8px; font-size: 17px; }
.method-card p { margin: 0; color: var(--text-soft); font-size: 11px; line-height: 1.62; }
.method-green { border-top: 2px solid var(--green); }
.method-yellow { border-top: 2px solid var(--yellow); }
.method-red { border-top: 2px solid var(--red); }
.content-columns { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 20px; }
.prose-card { padding: clamp(22px, 3vw, 34px); }
.prose-card h2 { margin-bottom: 18px; font-size: 20px; letter-spacing: -.02em; }
.number-list { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.number-list li { display: flex; gap: 14px; }
.number-list li > span { flex: 0 0 auto; color: var(--accent-strong); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 800; }
.number-list strong { display: block; margin-bottom: 3px; font-size: 12px; }
.number-list p { margin: 0; color: var(--text-soft); font-size: 11px; line-height: 1.55; }
.definition-list { display: grid; gap: 15px; }
.definition-list > div { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.definition-list > div:last-child { border-bottom: 0; }
.definition-list dt { margin-bottom: 4px; font-size: 11px; font-weight: 750; }
.definition-list dd { color: var(--text-soft); font-size: 10px; }
.inline-notice { display: flex; gap: 9px; margin-top: 20px; padding: 13px; border-radius: 12px; background: var(--yellow-soft); color: var(--yellow); }
.inline-notice p { margin: 0; color: var(--text-soft); font-size: 9px; }
.legal-prose h2 { margin: 27px 0 8px; font-size: 16px; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p { margin-bottom: 0; color: var(--text-soft); font-size: 12px; line-height: 1.75; }
.legal-prose a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }
.error-page { display: grid; justify-items: center; max-width: 560px; margin: 80px auto; text-align: center; }
.error-page .error-code { width: 76px; height: 76px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); color: var(--accent-strong); font-size: 21px; font-weight: 850; }
.error-page h1 { margin-bottom: 8px; font-size: 30px; letter-spacing: -.035em; }
.error-page p { margin-bottom: 22px; color: var(--muted); }

/* Flash messages */
.flash-stack { position: fixed; z-index: 200; right: 22px; top: calc(var(--topbar-height) + 16px); display: grid; gap: 8px; width: min(390px, calc(100vw - 32px)); }
.flash { display: grid; grid-template-columns: 28px 1fr 26px; align-items: center; gap: 9px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 13px; background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: var(--shadow-lg); backdrop-filter: blur(16px); animation: flash-in .35s var(--ease); }
.flash-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 9px; }
.flash-success .flash-icon { background: var(--green-soft); color: var(--green); }
.flash-error .flash-icon { background: var(--red-soft); color: var(--red); }
.flash-warning .flash-icon, .flash-info .flash-icon { background: var(--yellow-soft); color: var(--yellow); }
.flash p { margin: 0; font-size: 11px; }
.flash-close { display: grid; place-items: center; width: 25px; height: 25px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--muted); }
.flash-close:hover { background: var(--surface-2); color: var(--text); }
.flash-close .icon { width: 13px; height: 13px; }
.flash.is-leaving { opacity: 0; transform: translateX(20px); transition: .25s ease; }
@keyframes flash-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }

/* Admin shell */
.admin-body { background: var(--bg); }
.admin-sidebar .sidebar-insight { display: none; }
.admin-mode-label { display: flex; align-items: center; gap: 7px; margin: 19px 5px 0; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--accent-soft); color: var(--accent-strong); font-size: 10px; font-weight: 760; letter-spacing: .04em; text-transform: uppercase; }
.admin-mode-label .icon { width: 13px; height: 13px; }
.admin-session-note { margin: 11px 0 0; color: var(--muted); font-size: 9px; text-align: center; }
.admin-topbar { grid-template-columns: minmax(0, 1fr) auto; }
.admin-topbar-title { display: grid; }
.admin-topbar-title strong { margin-top: 1px; font-size: 15px; }
.admin-page-content { max-width: 1510px; }
.admin-page-shell { max-width: 1400px; margin: 0 auto; }
.admin-page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 25px; }
.admin-page-header h1 { margin: 7px 0 5px; font-size: clamp(30px, 3vw, 42px); line-height: 1.08; letter-spacing: -.04em; }
.admin-page-header p { max-width: 720px; margin: 0; color: var(--muted); font-size: 12px; }
.header-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 13px; color: var(--muted); font-size: 11px; }
.back-link:hover { color: var(--text); }
.back-link .icon { width: 14px; height: 14px; }
.admin-warning-banner { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; padding: 15px 17px; border: 1px solid color-mix(in srgb, var(--yellow) 35%, var(--line)); border-radius: 14px; background: var(--yellow-soft); }
.admin-warning-banner > .icon { margin-top: 1px; color: var(--yellow); }
.admin-warning-banner strong { display: block; margin-bottom: 2px; font-size: 12px; }
.admin-warning-banner p { margin: 0; color: var(--text-soft); font-size: 10px; }
.admin-warning-banner code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--yellow); }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 18px; }
.admin-stat-card { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); }
.admin-stat-icon { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; border-radius: 13px; }
.stat-icon-purple { background: var(--accent-soft); color: var(--accent-strong); }
.stat-icon-green { background: var(--green-soft); color: var(--green); }
.stat-icon-yellow { background: var(--yellow-soft); color: var(--yellow); }
.stat-icon-blue { background: var(--blue-soft); color: var(--blue); }
.admin-stat-card > div { min-width: 0; }
.admin-stat-card span:not(.admin-stat-icon) { display: block; overflow: hidden; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; text-overflow: ellipsis; white-space: nowrap; }
.admin-stat-card strong { display: block; margin: 3px 0 1px; font-size: 25px; line-height: 1.1; letter-spacing: -.035em; }
.admin-stat-card small { display: block; color: var(--muted-2); font-size: 9px; }
.admin-dashboard-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.admin-panel { overflow: hidden; }
.admin-panel-spaced { margin-top: 18px; }
.admin-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 66px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.admin-panel-head h2 { margin: 0 0 2px; font-size: 15px; }
.admin-panel-head p { margin: 0; color: var(--muted); font-size: 9px; }
.admin-panel-head > a { display: inline-flex; align-items: center; gap: 3px; color: var(--accent-strong); font-size: 10px; font-weight: 700; white-space: nowrap; }
.admin-panel-head > a .icon { width: 13px; height: 13px; }
.compact-admin-list { display: grid; }
.compact-admin-item { display: grid; grid-template-columns: 37px minmax(0, 1fr) auto 16px; align-items: center; gap: 10px; min-height: 68px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.compact-admin-item:last-child { border-bottom: 0; }
.compact-admin-item:hover { background: var(--surface-soft); }
.compact-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--surface-2); color: var(--muted); }
.compact-admin-item > span:nth-child(2) { min-width: 0; }
.compact-admin-item strong, .compact-admin-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compact-admin-item strong { font-size: 11px; }
.compact-admin-item small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.compact-admin-item time { color: var(--muted-2); font-size: 9px; }
.compact-admin-item > .icon { width: 14px; height: 14px; color: var(--muted); }
.category-progress-list { display: grid; padding: 8px 17px 15px; }
.category-progress-item { display: flex; align-items: center; gap: 11px; padding: 10px 0; }
.category-progress-icon { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-strong); }
.category-progress-item > div { min-width: 0; flex: 1; }
.category-progress-item > div > span { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 10px; }
.category-progress-item b { color: var(--muted); }
.category-progress-item meter { width: 100%; height: 7px; border: 0; border-radius: 999px; background: var(--surface-2); }
.category-progress-item meter::-webkit-meter-bar { border: 0; border-radius: 999px; background: var(--surface-2); }
.category-progress-item meter::-webkit-meter-optimum-value { border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--green)); }
.category-progress-item meter::-moz-meter-bar { border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--green)); }
.admin-empty-state { display: grid; justify-items: center; padding: 42px 20px; text-align: center; }
.admin-empty-state > .icon { width: 30px; height: 30px; margin-bottom: 10px; color: var(--muted); }
.admin-empty-state strong { font-size: 13px; }
.admin-empty-state p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.admin-empty-state .button { margin-top: 14px; }
.large-empty { padding-block: 75px; }

.admin-table-wrap { width: 100%; overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; }
.admin-table th { height: 41px; padding: 0 14px; border-bottom: 1px solid var(--line); color: var(--muted-2); font-size: 9px; font-weight: 760; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.admin-table td { min-height: 62px; padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--text-soft); font-size: 10px; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover { background: var(--surface-soft); }
.table-site { display: flex; align-items: center; gap: 10px; min-width: 180px; }
.table-site img { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.table-site span { min-width: 0; }
.table-site strong, .table-site small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table-site strong { max-width: 250px; color: var(--text); font-size: 11px; }
.table-site small { max-width: 250px; margin-top: 2px; color: var(--muted); font-size: 9px; }
.mini-featured { display: inline-flex; margin-left: 4px; color: var(--accent-strong); vertical-align: -2px; }
.mini-featured .icon { width: 12px; height: 12px; }
.table-signal { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.admin-status-pill { display: inline-flex; align-items: center; min-height: 23px; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 9px; font-weight: 700; white-space: nowrap; }
.paying-yes, .pill-positive, .submission-status-approved { background: var(--green-soft); color: var(--green); }
.paying-no, .submission-status-rejected { background: var(--red-soft); color: var(--red); }
.paying-mixed, .paying-unknown, .submission-status-pending { background: var(--yellow-soft); color: var(--yellow); }
.pill-muted { background: var(--surface-2); color: var(--muted); }
.date-cell { display: grid; gap: 2px; white-space: nowrap; }
.date-cell small { color: var(--yellow); font-size: 8px; }
.table-actions { display: flex; justify-content: flex-end; gap: 6px; }
.table-actions form { margin: 0; }
.table-actions .icon-button { width: 33px; height: 33px; border-radius: 9px; }
.danger-button:hover { border-color: color-mix(in srgb, var(--red) 40%, var(--line)); background: var(--red-soft); color: var(--red); }
.actions-column { width: 90px; }
.admin-filter-bar { display: flex; align-items: center; gap: 9px; padding: 13px; border-bottom: 1px solid var(--line); }
.admin-search-field { min-width: 260px; flex: 1; }
.admin-filter-bar .select-control { min-width: 185px; }
.filter-result-count { margin-left: auto; color: var(--muted); font-size: 9px; }

/* Admin forms */
.admin-form-page { max-width: 1250px; }
.page-error-summary { max-width: 820px; }
.admin-editor-form { display: grid; grid-template-columns: minmax(0, 1fr) 285px; align-items: start; gap: 20px; }
.admin-editor-main { display: grid; gap: 18px; }
.admin-form-section { padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.admin-form-section .field:last-child { margin-bottom: 0; }
.url-preview-grid { grid-template-columns: minmax(0, 1fr) 180px; align-items: stretch; }
.favicon-preview-card { display: grid; place-items: center; align-content: center; padding: 15px; border: 1px dashed var(--line-strong); border-radius: 14px; background: var(--surface-soft); text-align: center; }
.favicon-preview-card > span { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.favicon-preview-large { width: 72px; height: 72px; margin: 12px 0; border-radius: 19px; }
.favicon-preview-card small { color: var(--muted); font-size: 8px; line-height: 1.4; }
.fieldset-control { margin: 0 0 21px; padding: 0; border: 0; }
.fieldset-control legend { margin-bottom: 9px; }
.choice-grid { display: grid; gap: 9px; }
.four-choices { grid-template-columns: repeat(4, 1fr); }
.three-choices { grid-template-columns: repeat(3, 1fr); }
.choice-card { position: relative; display: flex; align-items: center; gap: 9px; min-height: 67px; padding: 11px; border: 1px solid var(--line); border-radius: 13px; background: var(--bg-elevated); cursor: pointer; }
.choice-card:hover { border-color: var(--line-strong); background: var(--surface-soft); }
.choice-card input { position: absolute; opacity: 0; }
.choice-card > i { position: absolute; right: 8px; top: 8px; display: none; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--accent); color: #fff; }
.choice-card > i .icon { width: 11px; height: 11px; }
.choice-card input:checked ~ i { display: grid; }
.choice-card:has(input:checked) { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); background: var(--accent-soft); }
.choice-icon { display: grid; flex: 0 0 auto; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--surface-2); color: var(--muted); }
.choice-yes .choice-icon { background: var(--green-soft); color: var(--green); }
.choice-no .choice-icon { background: var(--red-soft); color: var(--red); }
.choice-mixed .choice-icon, .choice-unknown .choice-icon { background: var(--yellow-soft); color: var(--yellow); }
.choice-card strong, .choice-card small { display: block; }
.choice-card strong { font-size: 10px; }
.choice-card small { margin-top: 2px; color: var(--muted); font-size: 8px; line-height: 1.3; }
.risk-choice .risk-orb { width: 30px; height: 30px; }
.risk-choice-green:has(input:checked) { border-color: color-mix(in srgb, var(--green) 45%, var(--line)); background: var(--green-soft); }
.risk-choice-yellow:has(input:checked) { border-color: color-mix(in srgb, var(--yellow) 45%, var(--line)); background: var(--yellow-soft); }
.risk-choice-red:has(input:checked) { border-color: color-mix(in srgb, var(--red) 45%, var(--line)); background: var(--red-soft); }
.toggle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.toggle-card { position: relative; display: flex; align-items: center; gap: 11px; min-height: 62px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--bg-elevated); cursor: pointer; }
.toggle-card > input { position: absolute; opacity: 0; }
.toggle-switch { position: relative; flex: 0 0 auto; width: 34px; height: 20px; border-radius: 999px; background: var(--surface-3); transition: background .18s ease; }
.toggle-switch::after { content: ""; position: absolute; width: 14px; height: 14px; left: 3px; top: 3px; border-radius: 50%; background: var(--muted); transition: transform .2s var(--ease), background .18s ease; }
.toggle-card input:checked ~ .toggle-switch { background: var(--accent); }
.toggle-card input:checked ~ .toggle-switch::after { transform: translateX(14px); background: #fff; }
.toggle-card strong, .toggle-card small { display: block; }
.toggle-card strong { font-size: 10px; }
.toggle-card small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.inline-toggle { margin: 2px 0 17px; }
.compact-field { max-width: 260px; }
.save-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.save-card-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-strong); }
.save-card h2 { margin: 14px 0 6px; font-size: 17px; }
.save-card > p { margin-bottom: 18px; color: var(--muted); font-size: 10px; }
.save-card .button + .button, .save-card form + form, .save-card .button + form { margin-top: 8px; }
.save-card-meta { display: grid; grid-template-columns: 1fr auto; gap: 7px 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 9px; }
.save-card-meta span { color: var(--muted); }
.save-card-meta strong { font-weight: 700; }
.reject-form { margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--line); }
.reject-form .field { margin-bottom: 9px; }
.reject-form textarea { min-height: 78px; }
.danger-text { color: var(--red); }
.decision-complete { display: grid; justify-items: center; margin-bottom: 14px; padding: 17px; border-radius: 13px; background: var(--surface-soft); text-align: center; }
.decision-complete > span { display: grid; place-items: center; width: 35px; height: 35px; margin-bottom: 8px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.decision-complete strong { font-size: 11px; }
.decision-complete p { margin: 3px 0 0; color: var(--muted); font-size: 8px; }

/* Submissions admin */
.admin-tab-bar { display: flex; gap: 5px; margin-bottom: 13px; overflow-x: auto; }
.admin-tab { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 12px; border: 1px solid transparent; border-radius: 10px; color: var(--muted); font-size: 10px; font-weight: 700; white-space: nowrap; }
.admin-tab span { min-width: 20px; padding: 1px 6px; border-radius: 999px; background: var(--surface-2); text-align: center; }
.admin-tab:hover { color: var(--text); background: var(--surface-soft); }
.admin-tab.is-active { border-color: var(--line); background: var(--surface); color: var(--text); }
.submission-admin-list { display: grid; }
.submission-admin-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 18px; border-bottom: 1px solid var(--line); }
.submission-admin-card:last-child { border-bottom: 0; }
.submission-admin-card:hover { background: var(--surface-soft); }
.submission-card-main { display: flex; gap: 13px; min-width: 0; }
.submission-domain-icon { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--surface-2); color: var(--muted); }
.submission-card-main > div { min-width: 0; }
.submission-title-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.submission-title-line h2 { margin: 0; font-size: 14px; }
.submission-card-main a { display: inline-flex; align-items: center; gap: 3px; max-width: 600px; margin-top: 2px; overflow: hidden; color: var(--accent-strong); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.submission-card-main a .icon { width: 11px; height: 11px; }
.submission-card-main p { max-width: 800px; margin: 7px 0 0; color: var(--text-soft); font-size: 10px; }
.submission-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; color: var(--muted); font-size: 9px; }
.submission-meta span { display: inline-flex; align-items: center; gap: 4px; }
.submission-meta .icon { width: 12px; height: 12px; }
.submission-card-actions { display: flex; align-items: center; gap: 7px; }
.submission-card-actions form { margin: 0; }
.submission-source-card { margin-bottom: 18px; padding: 20px; }
.source-card-head { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; margin-bottom: 18px; }
.source-card-head > span:first-child { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--yellow-soft); color: var(--yellow); }
.source-card-head strong, .source-card-head small { display: block; }
.source-card-head strong { font-size: 12px; }
.source-card-head small { color: var(--muted); font-size: 9px; }
.source-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.source-card-grid > div { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.source-card-grid span, .source-card-grid strong, .source-card-grid a, .source-card-grid small { display: block; }
.source-card-grid span { color: var(--muted); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.source-card-grid strong { margin-top: 4px; font-size: 10px; }
.source-card-grid a, .source-card-grid small { margin-top: 2px; color: var(--accent-strong); font-size: 9px; }
.source-card-grid a { display: inline-flex; align-items: center; gap: 4px; }
.source-card-grid a .icon { width: 11px; height: 11px; }
.submission-source-card blockquote { margin: 17px 0 0; padding: 15px 17px; border-left: 2px solid var(--accent); border-radius: 0 11px 11px 0; background: var(--surface-soft); color: var(--text-soft); font-size: 11px; }
.prior-review-note { margin-top: 14px; padding: 12px; border-radius: 11px; background: var(--yellow-soft); }
.prior-review-note strong { font-size: 10px; }
.prior-review-note p { margin: 3px 0 0; color: var(--text-soft); font-size: 9px; }

/* Categories admin */
.category-admin-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); align-items: start; gap: 18px; }
.category-admin-list { display: grid; }
.category-admin-item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.category-admin-item:last-child { border-bottom: 0; }
.category-admin-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-strong); }
.category-admin-item > div:nth-child(2) { min-width: 0; }
.category-admin-item > div:nth-child(2) > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.category-admin-item h3 { margin: 0; font-size: 13px; }
.category-admin-item h3 + span { color: var(--muted); font-size: 9px; }
.category-admin-item code { display: inline-block; margin-top: 3px; color: var(--accent-strong); font-size: 9px; }
.category-admin-item p { margin: 8px 0 0; color: var(--text-soft); font-size: 9px; }
.category-flags { display: flex; gap: 7px; margin-top: 8px; }
.category-flags span { padding: 2px 6px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 8px; }
.category-admin-actions { display: flex; gap: 6px; }
.category-admin-actions form { margin: 0; }
.category-admin-actions .icon-button { width: 33px; height: 33px; }
.category-editor-panel { position: sticky; top: calc(var(--topbar-height) + 18px); }
.category-form { padding: 18px; }
.category-form .field:last-of-type { margin-bottom: 16px; }

/* Logs */
.log-table td { vertical-align: top; }
.log-table td:first-child time, .log-table td:first-child small { display: block; white-space: nowrap; }
.log-table td:first-child small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.log-table code { color: var(--accent-strong); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; }
.log-table pre { max-width: 580px; margin: 0; overflow: auto; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px; white-space: pre-wrap; word-break: break-word; }

/* Auth */
.auth-body { display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 50% 0, rgba(142, 124, 255, .15), transparent 36rem), var(--bg); }
.auth-shell { width: min(100%, 450px); }
.auth-brand-wrap { display: flex; justify-content: center; margin-bottom: 20px; }
.auth-main { width: 100%; }
.login-card { padding: clamp(26px, 6vw, 40px); }
.login-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 15px; background: var(--accent-soft); color: var(--accent-strong); }
.login-card h1 { margin: 8px 0 8px; font-size: 26px; line-height: 1.15; letter-spacing: -.035em; }
.login-card > p { margin-bottom: 25px; color: var(--muted); font-size: 11px; }
.login-form .field { margin-bottom: 14px; }
.login-security-note { display: flex; gap: 9px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); }
.login-security-note .icon { width: 15px; height: 15px; color: var(--green); }
.login-security-note p { margin: 0; font-size: 9px; }
.auth-back-link { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 16px; color: var(--muted); font-size: 10px; }
.auth-back-link:hover { color: var(--text); }
.auth-back-link .icon { width: 13px; height: 13px; }

/* Responsive directory card layout */
@media (max-width: 1320px) {
    .hero-layout { grid-template-columns: minmax(0, 1fr); }
    .hero-stats { max-width: 620px; }
    .site-list-head { display: none; }
    .site-list, .site-list.show-offer-column { --site-grid: repeat(4, minmax(0, 1fr)); }
    .site-row { align-items: stretch; row-gap: 14px; padding: 18px; }
    .cell-website { grid-column: 1 / -1; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
    .status-cell, .risk-cell, .offer-cell, .site-action { position: relative; padding-top: 18px; }
    .status-cell::before, .risk-cell::before, .offer-cell::before { content: attr(data-label); position: absolute; top: 0; left: 0; color: var(--muted-2); font-size: 8px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
    .site-action { align-content: center; justify-items: stretch; }
    .button-visit { width: 100%; }
    .site-list:not(.show-offer-column) .cell-action { grid-column: 4; }
}

@media (max-width: 1120px) {
    :root { --sidebar-width: 250px; }
    .topbar { padding-inline: 24px; }
    .page-content, .site-footer { padding-inline: 24px; }
    .global-search kbd, .topbar-link span { display: none; }
    .topbar-link { width: 38px; padding: 0; justify-content: center; }
    .directory-toolbar { grid-template-columns: minmax(220px, 1fr) auto; }
    .directory-toolbar .select-control:first-of-type { grid-row: 2; grid-column: 1 / -1; }
    .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-editor-form { grid-template-columns: minmax(0, 1fr) 250px; }
    .four-choices { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    :root { --topbar-height: 68px; }
    body.sidebar-open { overflow: hidden; }
    .sidebar { width: min(320px, 88vw); transform: translateX(-105%); transition: transform .28s var(--ease); box-shadow: var(--shadow-lg); }
    body.sidebar-open .sidebar { transform: translateX(0); }
    .sidebar-close { display: inline-grid; }
    .sidebar-scrim { position: fixed; z-index: 80; inset: 0; display: block; background: rgba(0, 0, 0, .56); opacity: 0; pointer-events: none; transition: opacity .25s ease; backdrop-filter: blur(2px); }
    body.sidebar-open .sidebar-scrim { opacity: 1; pointer-events: auto; }
    .workspace { margin-left: 0; }
    .topbar { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; padding: 10px 16px; }
    .mobile-menu-button, .mobile-search-button { display: inline-grid; }
    .mobile-brand { display: block; min-width: 0; }
    .mobile-brand .brand-copy small { display: none; }
    .mobile-brand .brand-copy strong { font-size: 15px; }
    .mobile-brand .brand-mark { width: 28px; height: 28px; }
    .global-search { position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; display: none; box-shadow: var(--shadow-lg); }
    body.mobile-search-open .global-search { display: flex; }
    .topbar-actions { justify-self: end; }
    .topbar-link { display: inline-flex; }
    .page-content { padding: 28px 16px 70px; }
    .site-footer { padding-inline: 16px; }
    .mobile-submit-fab { position: fixed; z-index: 60; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 15px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--text); color: var(--bg); box-shadow: var(--shadow-lg); font-size: 12px; font-weight: 760; }
    .hero-copy h1, .page-hero h1 { font-size: clamp(34px, 8vw, 49px); }
    .submit-layout, .content-columns, .category-admin-layout { grid-template-columns: minmax(0, 1fr); }
    .sticky-card, .category-editor-panel { position: static; }
    .method-grid { grid-template-columns: 1fr; }
    .admin-topbar-title { display: none; }
    .admin-topbar { grid-template-columns: auto minmax(0, 1fr) auto; }
    .admin-page-header { align-items: flex-start; flex-direction: column; }
    .header-actions { justify-content: flex-start; }
    .admin-dashboard-grid { grid-template-columns: 1fr; }
    .admin-editor-form { grid-template-columns: 1fr; }
    .admin-save-sidebar { order: -1; }
    .save-card.sticky-card { position: static; }
    .source-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .stat-card { padding: 12px; }
    .stat-card strong { font-size: 22px; }
    .directory-toolbar { grid-template-columns: 1fr; }
    .directory-toolbar .select-control, .directory-toolbar .select-control:first-of-type { grid-column: auto; grid-row: auto; width: 100%; }
    .filter-row { align-items: flex-start; flex-direction: column; }
    .filter-chips { width: 100%; }
    .results-meta { width: 100%; justify-content: space-between; }
    .signal-legend { gap: 12px; }
    .signal-legend a { width: 100%; margin-left: 0; }
    .site-list, .site-list.show-offer-column { --site-grid: repeat(2, minmax(0, 1fr)); }
    .site-list:not(.show-offer-column) .cell-action { grid-column: auto; }
    .cell-website { grid-column: 1 / -1; }
    .cell-action { grid-column: 1 / -1; padding-top: 4px; }
    .site-action { justify-items: stretch; }
    .two-columns, .three-columns, .url-preview-grid { grid-template-columns: 1fr; }
    .favicon-preview-card { min-height: 170px; }
    .captcha-card { grid-template-columns: 1fr; }
    .captcha-card > .field-error { grid-column: auto; }
    .footer-main { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 5px; }
    .admin-stat-grid { grid-template-columns: 1fr; }
    .admin-filter-bar { align-items: stretch; flex-direction: column; }
    .admin-search-field, .admin-filter-bar .select-control { width: 100%; min-width: 0; }
    .filter-result-count { margin-left: 0; }
    .toggle-grid, .three-choices { grid-template-columns: 1fr; }
    .submission-admin-card { align-items: flex-start; flex-direction: column; }
    .submission-card-actions { width: 100%; justify-content: flex-end; }
    .category-admin-item { grid-template-columns: 40px minmax(0, 1fr); }
    .category-admin-actions { grid-column: 2; justify-content: flex-end; }
    .flash-stack { top: calc(var(--topbar-height) + 10px); right: 16px; }
}

@media (max-width: 520px) {
    .topbar-actions .button-quiet { width: 38px; padding: 0; }
    .topbar-actions .button-quiet span { display: none; }
    .topbar-link { display: none; }
    .hero-stats { grid-template-columns: 1fr; }
    .hero-actions { display: grid; grid-template-columns: 1fr; display: none; }
    .hero-actions .button { width: 100%; }
    .site-list, .site-list.show-offer-column { --site-grid: 1fr; }
    .site-row { grid-template-columns: 1fr; }
    .cell-website, .cell-action, .status-cell, .risk-cell, .offer-cell { grid-column: 1; }
    .site-identity { gap: 11px; }
    .favicon-wrap { width: 46px; height: 46px; border-radius: 12px; }
    .site-copy > p { font-size: 11px; }
    .status-cell, .risk-cell, .offer-cell { min-height: 57px; padding: 19px 12px 10px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); }
    .status-cell::before, .risk-cell::before, .offer-cell::before { top: 7px; left: 11px; }
    .site-action { padding-top: 0; }
    .form-card, .guideline-card, .prose-card, .method-card, .admin-form-section { padding: 18px; }
    .page-hero h1 { font-size: 37px; }
    .four-choices { grid-template-columns: 1fr; }
    .admin-page-header h1 { font-size: 32px; }
    .admin-stat-card { padding: 14px; }
    .source-card-head { grid-template-columns: 36px 1fr; }
    .source-card-head > .admin-status-pill { grid-column: 2; justify-self: start; }
    .submission-source-card { padding: 15px; }
}

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

.legal-effective-date {
    display: inline-flex;
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 650;
}

/* Admin directory importer */
.import-source-panel { margin-bottom: 18px; }
.import-source-grid { grid-template-columns: minmax(0, 1.4fr) minmax(250px, .6fr); }
.import-options-grid { align-items: stretch; margin-bottom: 17px; }
.import-options-grid .toggle-card { min-height: 82px; }
.import-notice { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 17px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); color: var(--muted); }
.import-notice > .icon { flex: 0 0 auto; width: 16px; height: 16px; color: var(--green); }
.import-notice p { margin: 0; font-size: 9px; line-height: 1.55; }
.import-preview { overflow: hidden; }
.import-warning { display: flex; align-items: flex-start; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--yellow-soft); color: var(--yellow); font-size: 9px; }
.import-warning > .icon { flex: 0 0 auto; width: 14px; height: 14px; }
.import-preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.import-select-all, .import-row-check { margin: 0; }
.import-scan-stats { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 13px; color: var(--muted); font-size: 8px; }
.import-check-column { width: 46px; }
.import-row-check { justify-content: center; }
.import-domain-code { color: var(--accent-strong); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; white-space: nowrap; }
.import-table .table-site small { max-width: 360px; }
.import-table tr.is-existing-import { opacity: .56; }
.import-commit-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px; border-top: 1px solid var(--line); background: var(--surface-soft); }
.import-summary-toggle { width: min(520px, 100%); min-height: 62px; margin: 0; }

@media (max-width: 760px) {
    .import-source-grid, .import-options-grid { grid-template-columns: 1fr; }
    .import-preview-toolbar, .import-commit-bar { align-items: stretch; flex-direction: column; }
    .import-scan-stats { justify-content: flex-start; }
    .import-commit-bar .button { width: 100%; }
}