/* =============================================================================
   Voter Fraud Evidence — site stylesheet
   Light/dark themes via CSS variables, no external fonts or frameworks.
   Sections: 1 tokens · 2 base · 3 header/nav · 4 hero · 5 layout blocks
             6 cards & badges · 7 details/collapsibles · 8 filters & search
             9 stats, map, timeline · 10 media · 11 footer, toast, utilities
             12 animation · 13 print
   ============================================================================= */

/* 1 ── Design tokens ───────────────────────────────────────────────────────── */
:root {
  --navy: #0b1f3a;
  --navy-2: #13315c;
  --red: #b3202a;
  --red-2: #d63a44;
  --gold: #c9971c;
  --gold-2: #f2c14e;
  --bg: #f6f4ef;
  --bg-2: #ffffff;
  --bg-3: #ece8df;
  --ink: #1b1f27;
  --ink-2: #4a5160;
  --ink-3: #6b7280;
  --line: #ddd7ca;
  --link: #1d4ed8;
  --shadow: 0 1px 2px rgba(11, 31, 58, .06), 0 6px 18px rgba(11, 31, 58, .08);
  --shadow-lift: 0 2px 4px rgba(11, 31, 58, .08), 0 14px 32px rgba(11, 31, 58, .14);
  --radius: 14px;
  --radius-sm: 9px;
  --max: 1200px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-head: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --mono: "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;
  --s-proven: #15803d; --s-charged: #c2410c; --s-official: #1d4ed8;
  --s-under-investigation: #7e22ce; --s-testimony: #0f766e; --s-claim: #57534e;
  --c-established: #15803d; --c-disputed: #b45309; --c-inference: #1d4ed8;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0b1220;
  --bg-2: #111a2e;
  --bg-3: #18233b;
  --ink: #e8ecf4;
  --ink-2: #b6bfd0;
  --ink-3: #8b95a8;
  --line: #26334f;
  --link: #8ab4ff;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 18px rgba(0, 0, 0, .35);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, .5), 0 14px 32px rgba(0, 0, 0, .45);
  --s-proven: #4ade80; --s-charged: #fb923c; --s-official: #7aa7ff;
  --s-under-investigation: #c084fc; --s-testimony: #2dd4bf; --s-claim: #a8a29e;
  --c-established: #4ade80; --c-disputed: #fbbf24; --c-inference: #7aa7ff;
  color-scheme: dark;
}

/* 2 ── Base ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--bg);
  transition: background-color .3s ease, color .3s ease;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--mono); font-size: .88em; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold-2); color: #111; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3 ── Header & navigation ─────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--navy) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  color: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .18);
}
.site-header::after {
  content: ""; display: block; height: 4px;
  background: linear-gradient(90deg, var(--red) 0 33%, #fff 33% 66%, var(--navy-2) 66% 100%);
  background-size: 300% 100%; animation: stripe 18s linear infinite;
}
.header-inner { max-width: 1440px; margin: 0 auto; padding: 10px 18px; display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; white-space: nowrap; }
.brand-mark { font-size: 1.7rem; line-height: 1; filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); }
.brand-text { font-family: var(--font-head); font-size: 1.15rem; letter-spacing: .2px; }
.brand-text small { display: block; font-family: var(--font); font-weight: 500; font-size: .7rem; opacity: .75; letter-spacing: .6px; text-transform: uppercase; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav a {
  display: flex; align-items: center; gap: 5px; padding: 8px 9px; border-radius: 10px; white-space: nowrap;
  color: #e7ecf7; text-decoration: none; font-size: .9rem; font-weight: 600; transition: background .2s, color .2s;
}
.main-nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.main-nav a[aria-current="page"] { background: rgba(242,193,78,.18); color: var(--gold-2); box-shadow: inset 0 -2px 0 var(--gold-2); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; cursor: pointer; font-size: 1.05rem;
  transition: background .2s, transform .15s;
}
.icon-btn:hover { background: rgba(255,255,255,.2); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 20px; height: 20px; }
.nav-toggle { display: none; }

/* Global search box (header) */
.search-wrap { position: relative; }
.search-input {
  width: 190px; height: 40px; padding: 0 12px 0 36px; border-radius: 10px; font: inherit; font-size: .93rem;
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.1); color: #fff; transition: width .25s, background .2s;
}
.search-input::placeholder { color: #c3cbe0; }
.search-input:focus { width: 280px; background: rgba(255,255,255,.18); outline: none; border-color: var(--gold-2); }
.search-wrap .search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #c3cbe0; pointer-events: none; }
.search-results {
  position: absolute; right: 0; top: calc(100% + 8px); width: min(560px, 92vw); max-height: 70vh; overflow: auto;
  background: var(--bg-2); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lift);
  padding: 6px; display: none;
}
.search-results.open { display: block; animation: fadeUp .18s ease-out; }
.search-results a { display: grid; grid-template-columns: 28px 1fr; gap: 2px 8px; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.search-results a:hover, .search-results a.active { background: var(--bg-3); }
.search-results .r-emoji { grid-row: span 2; font-size: 1.2rem; line-height: 1.4; }
.search-results .r-title { font-weight: 650; line-height: 1.3; }
.search-results .r-meta { font-size: .8rem; color: var(--ink-3); }
.search-results mark { background: color-mix(in srgb, var(--gold-2) 55%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.search-results .r-empty { padding: 14px; color: var(--ink-3); }
.search-results .r-foot { font-size: .78rem; color: var(--ink-3); padding: 6px 10px 2px; border-top: 1px solid var(--line); margin-top: 4px; }

@media (max-width: 1360px) { .brand-text small { display: none; } }
@media (max-width: 1460px) and (min-width: 1241px) {
  .main-nav a > span[aria-hidden] { display: none; }
  .main-nav a { padding: 8px 8px; }
  .search-input { width: 160px; }
}
@media (max-width: 1240px) {
  .nav-toggle { display: inline-grid; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); display: none; border-top: 1px solid rgba(255,255,255,.12); }
  .main-nav.open { display: block; animation: fadeUp .2s ease-out; }
  .main-nav ul { flex-direction: column; padding: 8px 12px 14px; }
  .main-nav a { padding: 12px; font-size: 1rem; }
  .header-tools { margin-left: auto; }
  .search-input, .search-input:focus { width: min(46vw, 260px); }
}
@media (max-width: 560px) {
  .header-inner { padding: 8px 10px; gap: 8px; }
  .brand { gap: 7px; min-width: 0; }
  .brand-mark { font-size: 1.45rem; }
  .brand-text small { display: none; }
  .brand-text { font-size: .98rem; overflow: hidden; text-overflow: ellipsis; }
  .header-tools { gap: 6px; flex: none; }
  .icon-btn { width: 38px; height: 38px; }
  .search-input, .search-input:focus { width: 40px; padding: 0; color: transparent; cursor: pointer; }
  .search-input:not(:focus)::placeholder { color: transparent; }
  .search-input:focus { position: fixed; left: 10px; right: 10px; top: 10px; width: auto; padding: 0 12px 0 36px; color: #fff; background: var(--navy); z-index: 60; }
  .search-results { position: fixed; left: 10px; right: 10px; top: 58px; width: auto; }
}

/* 4 ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: radial-gradient(1200px 500px at 85% -10%, rgba(179,32,42,.55), transparent 60%),
              radial-gradient(900px 500px at 0% 120%, rgba(201,151,28,.35), transparent 60%),
              linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .55; transform: scale(1.04); animation: heroDrift 30s ease-in-out infinite alternate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,31,58,.55) 0%, rgba(11,31,58,.82) 70%, rgba(11,31,58,.95) 100%); }
.hero-inner { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 9vw, 110px) 18px clamp(40px, 7vw, 80px); }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-size: .85rem; font-weight: 600; letter-spacing: .3px; }
.hero h1 { color: #fff; margin: 16px 0 12px; max-width: 900px; text-shadow: 0 3px 18px rgba(0,0,0,.35); }
.hero h1 .accent { color: var(--gold-2); }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #dfe6f3; max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.page-hero { padding: clamp(34px, 6vw, 64px) 0 clamp(26px, 4vw, 40px); }
.page-hero .hero-inner { padding-top: 0; padding-bottom: 0; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: .98rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s;
  font-family: var(--font);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(180deg, var(--red-2), var(--red)); color: #fff; box-shadow: 0 6px 18px rgba(179,32,42,.35); }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1b1300; box-shadow: 0 6px 18px rgba(201,151,28,.3); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-plain { background: var(--bg-2); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.btn-sm { padding: 7px 12px; font-size: .86rem; border-radius: 9px; }

/* 5 ── Layout blocks ───────────────────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 18px; }
.section { padding: clamp(40px, 6vw, 72px) 0; }
.section-alt { background: var(--bg-3); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.section-head h2 { margin: 0; display: flex; align-items: center; gap: 10px; }
.section-head .emoji { font-size: 1.1em; }
.section-head p { margin: 4px 0 0; color: var(--ink-2); max-width: 760px; }
.grid { display: grid; gap: 18px; }
.grid > * { min-width: 0; }            /* let long titles/URLs wrap instead of widening the column */
.card, .finding-body, .drill-body { overflow-wrap: anywhere; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (max-width: 680px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
/* Windows has no flag emoji (it shows the letters "US"), so the flag is drawn */
.flag-us { display: inline-block; width: 1.35em; height: .9em; vertical-align: -.08em; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.15);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 10'%3E%3Cpath fill='%23b22234' d='M0 0h19v10H0z'/%3E%3Cpath stroke='%23fff' stroke-width='.77' d='M0 1.15h19M0 2.69h19M0 4.23h19M0 5.77h19M0 7.31h19M0 8.85h19'/%3E%3Cpath fill='%233c3b6e' d='M0 0h7.6v5.38H0z'/%3E%3Cg fill='%23fff'%3E%3Ccircle cx='1.3' cy='1' r='.32'/%3E%3Ccircle cx='3.8' cy='1' r='.32'/%3E%3Ccircle cx='6.3' cy='1' r='.32'/%3E%3Ccircle cx='2.55' cy='2.7' r='.32'/%3E%3Ccircle cx='5.05' cy='2.7' r='.32'/%3E%3Ccircle cx='1.3' cy='4.4' r='.32'/%3E%3Ccircle cx='3.8' cy='4.4' r='.32'/%3E%3Ccircle cx='6.3' cy='4.4' r='.32'/%3E%3C/g%3E%3C/svg%3E") center / cover; }
.card-summary.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { font-weight: 700; font-size: .9rem; text-decoration: none; }
.lede { font-size: 1.12rem; color: var(--ink-2); }
.callout {
  border-left: 5px solid var(--gold); background: color-mix(in srgb, var(--gold-2) 12%, var(--bg-2));
  padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 18px 0;
}
.callout.info { border-color: var(--s-official); background: color-mix(in srgb, var(--s-official) 9%, var(--bg-2)); }
.callout.warn { border-color: var(--red); background: color-mix(in srgb, var(--red) 8%, var(--bg-2)); }
.breadcrumbs { font-size: .85rem; color: #c8d1e3; margin-bottom: 6px; }
.breadcrumbs a { color: #e3e9f6; }

/* Overview bullets (60-second summary) */
.overview-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.overview-list li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.overview-list .o-emoji { font-size: 1.6rem; line-height: 1.2; text-align: center; }
.overview-list strong { display: block; font-size: 1.04rem; }
.overview-list span { color: var(--ink-2); font-size: .97rem; }

/* Depth picker */
.path-card { position: relative; display: block; text-decoration: none; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden; }
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--gold); }
.path-card .p-emoji { font-size: 2.2rem; }
.path-card h3 { margin: 10px 0 6px; }
.path-card p { color: var(--ink-2); margin: 0 0 10px; font-size: .97rem; }
.path-card .p-time { font-size: .8rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--gold); }
.path-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--accent, var(--gold)); }

/* 6 ── Cards & badges ──────────────────────────────────────────────────────── */
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 20px; transition: box-shadow .2s, transform .2s, border-color .2s; position: relative;
}
.card.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card-title { font-family: var(--font-head); font-size: 1.22rem; margin: 6px 0 8px; line-height: 1.3; }
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { color: var(--link); }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: .84rem; color: var(--ink-3); }
.card-summary { color: var(--ink-2); margin: 10px 0 6px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.evidence-card { border-left: 6px solid var(--strength-color, var(--line)); scroll-margin-top: 90px; }
.evidence-card.is-target { animation: targetGlow 2.4s ease-out 1; }

.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: .78rem; font-weight: 700;
  line-height: 1.5; white-space: nowrap; border: 1px solid transparent; background: var(--bg-3); color: var(--ink-2);
}
.badge-strength { color: #fff; background: var(--strength-color); }
[data-theme="dark"] .badge-strength { color: #0b1220; }
.badge-outline { background: transparent; border-color: var(--line); color: var(--ink-2); font-weight: 600; }
.badge-cat { background: color-mix(in srgb, var(--navy-2) 10%, var(--bg-2)); color: var(--ink); border-color: var(--line); font-weight: 600; }
.badge-ecb { color: #fff; }
.badge-ecb.established { background: var(--c-established); }
.badge-ecb.disputed { background: var(--c-disputed); }
.badge-ecb.inference { background: var(--c-inference); }
[data-theme="dark"] .badge-ecb { color: #0b1220; }
.badge-id { font-family: var(--mono); background: var(--bg-3); color: var(--ink-2); font-weight: 600; }

.strength-proven { --strength-color: var(--s-proven); }
.strength-charged { --strength-color: var(--s-charged); }
.strength-official { --strength-color: var(--s-official); }
.strength-under-investigation { --strength-color: var(--s-under-investigation); }
.strength-testimony { --strength-color: var(--s-testimony); }
.strength-claim { --strength-color: var(--s-claim); }

/* Legend */
.legend { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.legend-item { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: var(--bg-2); border: 1px solid var(--line); border-left: 5px solid var(--strength-color); border-radius: var(--radius-sm); }
.legend-item .l-emoji { font-size: 1.4rem; line-height: 1.2; }
.legend-item strong { display: block; }
.legend-item span { font-size: .88rem; color: var(--ink-2); }

/* Category cards */
.cat-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.cat-card .c-emoji { font-size: 2rem; }
.cat-card h3 { margin: 0; font-size: 1.1rem; }
.cat-card p { color: var(--ink-2); font-size: .9rem; margin: 0; flex: 1; }
.cat-card .c-count { font-weight: 700; font-size: .85rem; color: var(--ink-3); }
.stack-bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: var(--bg-3); margin-top: 6px; }
.stack-bar span { display: block; height: 100%; background: var(--strength-color); transform-origin: left; animation: growX .9s ease-out both; }

/* Quote */
blockquote.quote {
  margin: 10px 0; padding: 12px 16px 12px 44px; position: relative; background: var(--bg-3); border-radius: var(--radius-sm);
  font-family: var(--font-head); font-style: italic; color: var(--ink);
}
blockquote.quote::before { content: "\201C"; position: absolute; left: 12px; top: -6px; font-size: 3rem; color: var(--gold); font-style: normal; line-height: 1; }
blockquote.quote footer { margin-top: 6px; font-family: var(--font); font-style: normal; font-size: .84rem; color: var(--ink-3); }

/* 7 ── Collapsible sections ────────────────────────────────────────────────── */
details.drill { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); margin-top: 10px; overflow: hidden; }
details.drill > summary {
  list-style: none; cursor: pointer; padding: 10px 14px; display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: .95rem;
  user-select: none; transition: background .2s;
}
details.drill > summary::-webkit-details-marker { display: none; }
details.drill > summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .25s ease; flex: none; }
details.drill[open] > summary::after { transform: rotate(-135deg); }
details.drill > summary:hover { background: var(--bg-3); }
details.drill > summary .count { font-weight: 600; font-size: .8rem; color: var(--ink-3); background: var(--bg-3); border-radius: 999px; padding: 0 8px; }
details.drill > .drill-body { padding: 4px 16px 14px; animation: fadeUp .25s ease-out; }
details.drill ul { margin: 6px 0; padding-left: 1.2em; }
details.drill li { margin: 4px 0; }
details.drill.expert-only { border-style: dashed; }
body:not(.expert-mode) .expert-hint { display: none; }

/* Finding rows (ECB explorer) */
details.finding { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 8px 0; content-visibility: auto; contain-intrinsic-size: auto 64px; border-left: 5px solid var(--cls-color, var(--line)); }
details.finding.established { --cls-color: var(--c-established); }
details.finding.disputed { --cls-color: var(--c-disputed); }
details.finding.inference { --cls-color: var(--c-inference); }
details.finding > summary { list-style: none; cursor: pointer; padding: 11px 14px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
details.finding > summary::-webkit-details-marker { display: none; }
details.finding > summary .f-title { font-weight: 650; line-height: 1.35; }
details.finding > summary .f-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
details.finding > summary .f-chev { width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .25s; }
details.finding[open] > summary .f-chev { transform: rotate(-135deg); }
details.finding > summary:hover { background: var(--bg-3); }
.finding-body { padding: 2px 16px 14px; animation: fadeUp .25s ease-out; }
.finding-body ol { padding-left: 1.4em; font-size: .9rem; }
.finding-body ol li { margin: 3px 0; word-break: break-word; }
.vector-group > h2 { position: sticky; top: 64px; z-index: 5; background: var(--bg); padding: 10px 0; margin: 26px 0 6px; border-bottom: 2px solid var(--line); font-size: 1.35rem; display: flex; align-items: center; gap: 10px; }

/* 8 ── Filters ─────────────────────────────────────────────────────────────── */
.filter-bar {
  position: sticky; top: 64px; z-index: 20; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); padding: 12px 0; margin-bottom: 18px;
}
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-row + .filter-row { margin-top: 8px; }
.filter-input { flex: 1 1 260px; min-width: 200px; height: 44px; padding: 0 14px 0 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 12px center / 18px; color: var(--ink); font: inherit; }
.filter-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold-2) 30%, transparent); }
select.filter-select { height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); padding: 0 12px; font: inherit; font-size: .93rem; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2);
  color: var(--ink-2); font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; transition: all .15s;
}
.chip:hover { border-color: var(--gold); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
[data-theme="dark"] .chip[aria-pressed="true"] { background: var(--gold-2); color: #1b1300; border-color: var(--gold-2); }
.chip .n { font-size: .75rem; opacity: .75; }
.filter-status { font-size: .9rem; color: var(--ink-3); margin-left: auto; }
.filter-status strong { color: var(--ink); }
.no-results { display: none; text-align: center; padding: 40px 10px; color: var(--ink-3); font-size: 1.05rem; }
.no-results.show { display: block; }
.toggle-group { display: inline-flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.toggle-group button { border: 0; background: transparent; color: var(--ink-2); padding: 9px 14px; font: inherit; font-size: .88rem; font-weight: 650; cursor: pointer; }
.toggle-group button[aria-pressed="true"] { background: var(--navy); color: #fff; }
[data-theme="dark"] .toggle-group button[aria-pressed="true"] { background: var(--gold-2); color: #1b1300; }
[hidden] { display: none !important; }
@media (max-width: 760px) {
  /* On phones the filters scroll away with the page and each chip row swipes sideways */
  .filter-bar { position: static; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .filter-row[role="group"], .filter-row.scroll {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .filter-row[role="group"]::-webkit-scrollbar, .filter-row.scroll::-webkit-scrollbar { display: none; }
  .filter-row .chip { flex: none; }
  .filter-status { flex: none; }
  .vector-group > h2 { top: 0; position: static; }
}

/* 9 ── Stats, bars, map, timeline ──────────────────────────────────────────── */
.stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.stat { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--accent, var(--gold)); }
.stat .s-emoji { font-size: 1.6rem; }
.stat .s-num { font-family: var(--font-head); font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 700; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .s-label { font-size: .88rem; color: var(--ink-2); line-height: 1.35; margin-top: 4px; }
.stat .s-src { font-size: .72rem; color: var(--ink-3); margin-top: 6px; }
.hero .stats { margin-top: 34px; }
.hero .stat { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); box-shadow: none; backdrop-filter: blur(4px); }
.hero .stat .s-num { color: #fff; }
.hero .stat .s-label { color: #d5ddec; }
.hero .stat .s-src { color: #aab6cc; }

.bars { display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: minmax(150px, 260px) 1fr 48px; gap: 10px; align-items: center; font-size: .9rem; }
.bar-row .b-label { display: flex; gap: 6px; align-items: center; color: var(--ink); }
.bar-row .b-label a { color: inherit; text-decoration: none; }
.bar-row .b-label a:hover { text-decoration: underline; }
.bar-track { display: block; height: 12px; background: var(--bg-3); border-radius: 999px; overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--navy-2), var(--red)); transform-origin: left; animation: growX 1s ease-out both; }
.bar-row .b-num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink-2); }
@media (max-width: 560px) { .bar-row { grid-template-columns: 1fr 44px; } .bar-track { grid-column: 1 / -1; grid-row: 2; } }

/* Tile-grid map of the U.S. */
.tile-map { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; max-width: 760px; margin: 0 auto; }
.tile {
  aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center; text-decoration: none; font-weight: 800; font-size: clamp(.62rem, 1.6vw, .9rem);
  color: var(--ink-2); background: var(--bg-3); border: 1px solid var(--line); position: relative; transition: transform .15s, box-shadow .2s;
}
.tile small { position: absolute; bottom: 2px; font-size: .62em; font-weight: 700; opacity: .85; }
.tile.heat-1 { background: #fde8e8; color: #7f1d1d; border-color: #f7c6c6; }
.tile.heat-2 { background: #f8b4b4; color: #7f1d1d; border-color: #f19a9a; }
.tile.heat-3 { background: #e85d63; color: #fff; border-color: #d43f46; }
.tile.heat-4 { background: #b3202a; color: #fff; border-color: #8f1820; }
.tile.heat-5 { background: #7a121a; color: #fff; border-color: #5c0d13; }
[data-theme="dark"] .tile.heat-1 { background: #3b1d22; color: #fecaca; border-color: #4d262d; }
[data-theme="dark"] .tile.heat-2 { background: #5f1f27; color: #fecaca; border-color: #77303a; }
a.tile:hover { transform: scale(1.12); z-index: 2; box-shadow: var(--shadow-lift); }
.map-legend { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 14px; font-size: .82rem; color: var(--ink-3); flex-wrap: wrap; }
.map-legend .tile { width: 22px; height: 22px; aspect-ratio: auto; border-radius: 5px; }

.state-section { scroll-margin-top: 90px; }
.state-section h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.state-abbr { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--navy); color: #fff; font-family: var(--font); font-size: .95rem; font-weight: 800; }

.timeline { position: relative; margin: 0; padding: 0 0 0 30px; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 4px; bottom: 4px; width: 3px; border-radius: 3px; background: linear-gradient(var(--red), var(--gold), var(--navy-2)); }
.timeline .t-year { position: relative; margin: 26px 0 12px -30px; font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.timeline .t-year::before { content: ""; width: 25px; height: 25px; border-radius: 50%; background: var(--navy); border: 4px solid var(--gold-2); box-shadow: 0 0 0 4px var(--bg); }
.timeline .t-item { position: relative; margin: 0 0 12px; }
.timeline .t-item::before { content: ""; position: absolute; left: -24px; top: 18px; width: 13px; height: 13px; border-radius: 50%; background: var(--strength-color, var(--gold)); box-shadow: 0 0 0 4px var(--bg); }
.timeline .t-date { font-size: .8rem; font-weight: 700; color: var(--ink-3); letter-spacing: .3px; text-transform: uppercase; }
.timeline .card { padding: 12px 16px; }

/* 10 ── Media ──────────────────────────────────────────────────────────────── */
.video-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.video-card .v-frame { position: relative; background: #000; aspect-ratio: 16 / 9; }
.video-card video, .video-card .v-poster { width: 100%; height: 100%; object-fit: cover; }
.video-card .v-play {
  position: absolute; inset: 0; display: grid; place-items: center; border: 0; cursor: pointer;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.6)); color: #fff;
}
.video-card .v-play span { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: rgba(179,32,42,.92); box-shadow: 0 8px 26px rgba(0,0,0,.45); font-size: 1.9rem; transition: transform .2s; padding-left: 5px; }
.video-card .v-play:hover span { transform: scale(1.1); }
.video-card .v-dur { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.75); color: #fff; font-size: .8rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; pointer-events: none; }
.video-card .v-body { padding: 14px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.video-card .v-body h3 { margin: 0 0 6px; font-size: 1.1rem; }
.video-card .v-body p { color: var(--ink-2); font-size: .92rem; flex: 1; }
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.doc-list li a { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .15s; }
.doc-list li a:hover { border-color: var(--gold); transform: translateX(3px); }
.doc-list .d-icon { font-size: 1.7rem; text-align: center; }
.doc-list .d-title { font-weight: 650; line-height: 1.3; }
.doc-list .d-meta { font-size: .8rem; color: var(--ink-3); }
.doc-list .d-size { font-size: .8rem; color: var(--ink-3); white-space: nowrap; }
.video-card iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-card .v-src { position: absolute; left: 10px; top: 10px; background: rgba(0,0,0,.72); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .4px; padding: 2px 8px; border-radius: 6px; pointer-events: none; }
.video-card .card-meta { flex-wrap: wrap; }

.voice-card { display: flex; flex-direction: column; gap: 8px; }
.voice-card .vc-head { display: flex; gap: 12px; align-items: center; }
.voice-card .vc-emoji { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.45rem; background: var(--bg-3); border: 2px solid var(--gold); }
.voice-card .vc-name { margin: 0; font-size: 1.02rem; line-height: 1.25; }
.voice-card .vc-name a { color: var(--ink); text-decoration: none; }
.voice-card .vc-name a:hover { color: var(--red); text-decoration: underline; }
.voice-card .vc-people { font-size: .82rem; color: var(--ink-3); }
.voice-card p { margin: 0; color: var(--ink-2); flex: 1; }
.voice-card .card-actions { margin-top: 4px; flex-wrap: wrap; }
.wa-fact, .wa-action { display: flex; flex-direction: column; gap: 8px; scroll-margin-top: 90px; }
.wa-fact h3, .wa-action h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.wa-fact p, .wa-action p { margin: 0; color: var(--ink-2); flex: 1; }
.wa-fact .share-btn, .wa-action .share-btn { align-self: flex-start; }
.wa-level summary .badge { font-size: .9rem; }
.wa-hero .stat { color: inherit; transition: transform .2s, box-shadow .2s; }
.wa-hero .stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.wa-band { background: linear-gradient(135deg, #0f3d2e 0%, #13315c 100%); color: #fff; }
.wa-band h2, .wa-band p { color: #fff; }
.wa-band .wa-band-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.wa-band ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wa-band li a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; text-decoration: none; }
.wa-band li a:hover { background: rgba(255,255,255,.16); border-color: var(--gold-2); }
.wa-band li strong { color: var(--gold-2); }
@media (max-width: 760px) { .wa-band .wa-band-grid { grid-template-columns: 1fr; } }
.voice-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.voice-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); font-size: .86rem; font-weight: 600; text-decoration: none; transition: border-color .2s, transform .15s; }
.voice-chip:hover { border-color: var(--gold); transform: translateY(-2px); }

.post-card .p-head { display: flex; align-items: center; gap: 10px; }
.post-card .p-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--red), var(--navy-2)); color: #fff; font-weight: 800; }
.post-card .p-name { font-weight: 750; line-height: 1.2; }
.post-card .p-handle { font-size: .82rem; color: var(--ink-3); }
.post-card .p-text { margin: 10px 0 0; white-space: pre-line; color: var(--ink); }

/* 11 ── Footer, toast, utilities ───────────────────────────────────────────── */
.site-footer { background: var(--navy); color: #c9d2e4; padding: 44px 0 26px; margin-top: 40px; }
.site-footer a { color: #fff; }
.site-footer h4 { color: #fff; font-family: var(--font); font-size: .95rem; letter-spacing: .4px; text-transform: uppercase; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 2fr 1fr 1fr 1.3fr; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .93rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 26px; padding-top: 16px; font-size: .82rem; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 9px; font-size: .84rem; font-weight: 650; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); text-decoration: none; cursor: pointer; font-family: var(--font); transition: border-color .15s, background .15s; }
.share-btn:hover { border-color: var(--gold); background: var(--bg-3); }
.share-btn svg { width: 16px; height: 16px; }
.site-footer .share-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 10px; font-weight: 650; box-shadow: var(--shadow-lift); z-index: 95; transition: all .25s ease; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; transform: translateY(10px); background: var(--navy); color: #fff; border: 0; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.muted { color: var(--ink-3); }
.small { font-size: .86rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 10px; } .mt-2 { margin-top: 22px; } .mt-3 { margin-top: 36px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 6px; }
.source-list { padding-left: 1.2em; }
.source-list li { margin: 5px 0; word-break: break-word; }
.source-list .pub { color: var(--ink-3); font-size: .86rem; }
.kbd { font-family: var(--mono); font-size: .8rem; border: 1px solid var(--line); border-bottom-width: 2px; padding: 0 5px; border-radius: 5px; background: var(--bg-2); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--bg-2); border-radius: var(--radius-sm); overflow: hidden; }
table.data th, table.data td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.data th { background: var(--bg-3); font-weight: 700; }

/* 12 ── Animation ──────────────────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes stripe { from { background-position: 0 0; } to { background-position: 300% 0; } }
@keyframes heroDrift { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
@keyframes targetGlow { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold-2) 80%, transparent); } 100% { box-shadow: 0 0 0 18px transparent; } }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--red-2); animation: pulseDot 1.6s ease-in-out infinite; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 13 ── Print ──────────────────────────────────────────────────────────────── */
@media print {
  .site-header, .filter-bar, .site-footer, .to-top, .card-actions, .hero-actions, .toast, .search-wrap, .no-print { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero { background: #fff !important; color: #000; }
  .hero::before, .hero-bg { display: none; }
  .hero h1, .hero .lead, .hero .stat .s-num, .hero .stat .s-label { color: #000 !important; text-shadow: none; }
  .card, details.finding, details.drill { box-shadow: none; break-inside: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #555; word-break: break-all; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* GovCheck family bar v2: begin (master copy: GovCheck.org/site_src/family-bar/; keep identical on every GovCheck site) */
.gcbar { position: relative; z-index: 60; background: #071526; border-bottom: 1px solid rgba(242, 199, 92, 0.3); line-height: 1.2; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 15px; text-align: left; }
.gcbar *, .gcbar *::before, .gcbar *::after { box-sizing: border-box; }
.gcbar-in { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 8px; }
.gcbar a, .gcbar a:hover, .gcbar a:visited { color: #f7f3ea; text-decoration: none; }
.gcbar a::after { content: none; }
.gcbar-home { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 8px; border-radius: 8px; }
.gcbar-home svg { display: block; flex: none; width: 26px; height: 26px; }
.gcbar-name { font-family: Georgia, "Times New Roman", Times, serif; font-size: 17px; font-weight: 700; letter-spacing: 0.01em; color: #ffffff; }
.gcbar-tld { color: #f2c75c; }
.gcbar-sub { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: #d9d0bd; }
.gcbar-home:hover .gcbar-name { text-decoration: underline; text-underline-offset: 3px; }
.gcbar .gcbar-menu { position: static; margin: 0; padding: 0; border: 0; background: none; }
.gcbar .gcbar-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; margin: 0; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: #f7f3ea; font: 600 14px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; cursor: pointer; list-style: none; user-select: none; }
.gcbar .gcbar-toggle::-webkit-details-marker { display: none; }
.gcbar .gcbar-toggle::before, .gcbar .gcbar-toggle::after { content: none; display: none; }
.gcbar .gcbar-toggle:hover { background: rgba(242, 199, 92, 0.14); }
.gcbar-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #a10f22; color: #ffffff; font-size: 12px; font-weight: 800; }
.gcbar-caret { font-size: 12px; transition: transform 0.15s ease; }
.gcbar-menu[open] .gcbar-caret { transform: rotate(180deg); }
.gcbar-list { position: absolute; right: 8px; top: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px; width: min(560px, calc(100vw - 16px)); max-height: 75vh; overflow-y: auto; margin: 4px 0 0; padding: 8px; list-style: none; background: #0b1f3a; border: 1px solid rgba(242, 199, 92, 0.45); border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4); }
.gcbar-list li { margin: 0; padding: 0; list-style: none; }
.gcbar-list li::before, .gcbar-list li::marker { content: none; }
.gcbar .gcbar-item { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 10px; border: 1px solid transparent; border-radius: 10px; }
.gcbar .gcbar-item:hover { background: rgba(255, 255, 255, 0.08); }
.gcbar .gcbar-item[aria-current="page"] { border-color: rgba(242, 199, 92, 0.6); background: rgba(242, 199, 92, 0.1); }
.gcbar-emo { flex: none; font-size: 20px; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.gcbar-label { display: flex; flex-direction: column; gap: 2px; font-weight: 700; font-size: 15px; color: #ffffff; }
.gcbar-host { font-weight: 400; font-size: 13px; color: #d9d0bd; }
.gcbar-home:focus-visible, .gcbar .gcbar-toggle:focus-visible, .gcbar .gcbar-item:focus-visible { outline: 3px solid #f2c75c; outline-offset: -3px; }
.gcbar-toggle-short { display: none; }
@media (max-width: 560px) { .gcbar-sub, .gcbar-toggle-text { display: none; } .gcbar-toggle-short { display: inline; } }
@media (prefers-reduced-motion: reduce) { .gcbar-caret { transition: none; } }
@media print { .gcbar { display: none; } }
/* GovCheck family bar: end */
