/* Generado por scripts/build_admin_dark.py a partir de assets/app.css: no editar a mano.
   Tema oscuro del panel interno; los ajustes finos están en assets/admin-theme.css. */
html[data-theme="dark"] { --line: #b5b3b0; --text: #f3f2f2; --muted: #667d73; --mint: #f3f2f2; --shadow: 0 18px 48px rgba(0, 0, 0, 0.27); }
html[data-theme="dark"] body { background: radial-gradient(ellipse 850px 460px at 95% -200px,#314a43 0,transparent 75%),var(--bg); }
html[data-theme="dark"] .state-chip.selected { color: #e2eee8; }
html[data-theme="dark"] .map-state.coverage { fill: #619176; }
html[data-theme="dark"] .map-state.democrat { fill: #6897ca; }
html[data-theme="dark"] .map-state.republican { fill: #ce7464; }
html[data-theme="dark"] .map-state.other { fill: #cfa563; }
html[data-theme="dark"] .map-state.selected { stroke: #3f3d3a; filter: drop-shadow(0 0 6px #413f3b); }
html[data-theme="dark"] .legend-swatch.coverage { background: #619176; }
html[data-theme="dark"] .legend-swatch.democrat { background: #6897ca; }
html[data-theme="dark"] .legend-swatch.republican { background: #ce7464; }
html[data-theme="dark"] .legend-swatch.other { background: #cfa563; }
html[data-theme="dark"] .automatic { border-top: 1px solid #b5b3b0; }
html[data-theme="dark"] .races { border-top: 1px solid #b5b3b0; }
html[data-theme="dark"] .tab { background: #212725; }
html[data-theme="dark"] .tab:hover, html[data-theme="dark"] .tab.active { color: #e2f0e9; }
html[data-theme="dark"] select, html[data-theme="dark"] input, html[data-theme="dark"] textarea { background: #1b2321; border: 1px solid #b5b3b0; }
html[data-theme="dark"] .state-code { border: 1px solid #b5b3b0; }
html[data-theme="dark"] .candidates { border-top: 1px solid #b5b3b0; }
html[data-theme="dark"] .track { background: #53625b; }
html[data-theme="dark"] .track::-webkit-progress-bar { background: #53625b; }
html[data-theme="dark"] .empty { border: 1px dashed #b5b3b0; }
html[data-theme="dark"] .notice:not(:empty) { border: 1px solid #b5b3b0; background: #293930; }
html[data-theme="dark"] .notice.error:not(:empty) { color: #f3f2f2; border-color: #b5b3b0; background: #3d2e2a; }
html[data-theme="dark"] .methodology { border-top: 1px solid #b5b3b0; }
html[data-theme="dark"] .footer { border-top: 1px solid #b5b3b0; color: #7c9386; }
html[data-theme="dark"] .new-race-form { border: 1px solid #b5b3b0; background: #212f27; }
html[data-theme="dark"] .race-scope.unconfirmed { color: #efe8de; }
html[data-theme="dark"] .race-scope.confirmed { color: #dfeee5; }
html[data-theme="dark"] .race-scope.excluded { border: 1px solid #b5b3b0; }
html[data-theme="dark"] label { color: #f3f2f2; }
html[data-theme="dark"] .button { border: 1px solid #55534f; background: #2a3b30; }
html[data-theme="dark"] .button:hover { background: #374d3e; }
html[data-theme="dark"] .button.primary { color: #e0ece4; }
html[data-theme="dark"] .button.primary:hover { background: #143b26; }
html[data-theme="dark"] .button.secondary { color: #f3f2f2; border-color: #b5b3b0; }
html[data-theme="dark"] .button.secondary:hover { background: #37433b; }
html[data-theme="dark"] .audit-panel li { background: #212b26; border: 1px solid #b5b3b0; }
html[data-theme="dark"] .status.published { color: #dfeee5; }
html[data-theme="dark"] .status.draft { color: #efe8de; }
html[data-theme="dark"] .audit-panel time { color: #789483; }
html[data-theme="dark"] { --bg: #21201e; --surface: #252321; --surface-raised: #252321; --surface-soft: #201f1d; --line: #3a3835; --text: #eaeae8; --muted: #bfbdba; --mint: #dbdad8; --shadow: 0 16px 38px rgba(0, 0, 0, 0.144); }
html[data-theme="dark"] body { background: linear-gradient(180deg, #232220 0, #21201e 100%); }
html[data-theme="dark"] nav a { color: #d9d8d5; }
html[data-theme="dark"] nav a:hover, html[data-theme="dark"] nav a:focus-visible { color: #dbdad8; }
html[data-theme="dark"] .dashboard-head .eyebrow { color: #f3f2f2; }
html[data-theme="dark"] .dashboard-head .dot { background: #252321; }
html[data-theme="dark"] .dashboard-head .hero-copy > p:not(.eyebrow) { color: #f3f2f2; }
html[data-theme="dark"] .eyebrow, html[data-theme="dark"] .kicker { color: #dbdad8; }
html[data-theme="dark"] .count-pill { border-color: #55534f; color: #dbdad8; background: #252321; }
html[data-theme="dark"] .summary, html[data-theme="dark"] .automatic, html[data-theme="dark"] .races, html[data-theme="dark"] .methodology { border-color: #3a3835; }
html[data-theme="dark"] .helper { color: #bab8b4; }
html[data-theme="dark"] .state-chip.selected { border-color: #b5b3b0; background: #182438; color: #dbdad8; }
html[data-theme="dark"] .map-section + .summary { border-top: 1px solid #3a3835; }
html[data-theme="dark"] .map-state.coverage { fill: #4c4944; }
html[data-theme="dark"] .map-state.democrat { fill: #649ace; }
html[data-theme="dark"] .map-state.republican { fill: #d16e61; }
html[data-theme="dark"] .map-state.other { fill: #37235c; }
html[data-theme="dark"] .map-state.selected { stroke: #45433f; filter: drop-shadow(0 0 7px #45433f); }
html[data-theme="dark"] .ranking-avatar.democrat { background: #14293d; }
html[data-theme="dark"] .ranking-avatar.republican { background: #3c1a14; }
html[data-theme="dark"] .ranking-avatar.other { background: #23153d; }
html[data-theme="dark"] .legend-swatch.coverage { background: #4c4944; }
html[data-theme="dark"] .legend-swatch.democrat { background: #649ace; }
html[data-theme="dark"] .legend-swatch.republican { background: #d16e61; }
html[data-theme="dark"] .legend-swatch.other { background: #37235c; }
html[data-theme="dark"] .login-card, html[data-theme="dark"] .list-panel, html[data-theme="dark"] .form-panel, html[data-theme="dark"] .audit-panel, html[data-theme="dark"] .race-work-panel { background: #252321; border-color: #3a3835; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.072); }
html[data-theme="dark"] .source-link { color: #dbdad8; }
html[data-theme="dark"] .tab { border-color: #55534f; background: #252321; color: #d2d1ce; }
html[data-theme="dark"] .tab:hover, html[data-theme="dark"] .tab.active { border-color: #b5b3b0; background: #3e3b34; color: #f3f2f2; }
html[data-theme="dark"] select, html[data-theme="dark"] input, html[data-theme="dark"] textarea { border-color: #55534f; background: #252321; color: #dedddb; }
html[data-theme="dark"] select:focus-visible, html[data-theme="dark"] input:focus-visible, html[data-theme="dark"] textarea:focus-visible, html[data-theme="dark"] button:focus-visible, html[data-theme="dark"] a:focus-visible, html[data-theme="dark"] summary:focus-visible { outline-color: #b5b3b0; }
html[data-theme="dark"] .automatic .helper a { color: #dbdad8; }
html[data-theme="dark"] .button { border-color: #b5b3b0; background: #383530; color: #f3f2f2; }
html[data-theme="dark"] .button:hover { border-color: #b5b3b0; background: #3e3b34; }
html[data-theme="dark"] .button.primary { background: #3e3b34; border-color: #b5b3b0; color: #f3f2f2; }
html[data-theme="dark"] .button.primary:hover { background: #312e29; }
html[data-theme="dark"] .button.secondary { border-color: #55534f; background: #252321; color: #e2e1df; }
html[data-theme="dark"] .button.secondary:hover { background: #21201e; }
html[data-theme="dark"] .status.published { background: #182438; color: #dbdad8; }
html[data-theme="dark"] .status.draft { background: #3a2d13; color: #eebe63; }
html[data-theme="dark"] .audit-panel li { border-color: #3c3b37; background: #232220; }
html[data-theme="dark"] .form-panel h4, html[data-theme="dark"] .new-race-form strong { color: #dbdad8; }
html[data-theme="dark"] .coverage-label { color: #eebe63; }
html[data-theme="dark"] .new-race-form { border-color: #3b3a36; background: #22211f; }
html[data-theme="dark"] .race-scope.confirmed { background: #182438; color: #dbdad8; }
html[data-theme="dark"] .race-scope.unconfirmed { background: #3a2d13; color: #eebe63; }
html[data-theme="dark"] label { color: #d7d6d4; }
html[data-theme="dark"] .notice:not(:empty) { border-color: #3a3835; background: #23221f; color: #dbdad8; }
html[data-theme="dark"] .notice.error:not(:empty) { color: #d97d77; border-color: #383633; background: #3e1e15; }
html[data-theme="dark"] .footer { color: #bbb9b5; }
html[data-theme="dark"] .footer strong { color: #dedddb; }
html[data-theme="dark"] .footer { border-color: #3a3835; }
html[data-theme="dark"] .hero { background: radial-gradient(ellipse 900px 520px at 78% 48%, rgba(64, 118, 196, 0.2), transparent 70%),
    radial-gradient(ellipse 700px 420px at 8% 0%, rgba(37, 35, 33, 0.07), transparent 70%),
    #262420; border-bottom: 1px solid #b5b3b0; }
html[data-theme="dark"] .hero::after { background: linear-gradient(90deg, rgba(38, 36, 32, 0.92) 0%, rgba(38, 36, 32, 0.7) 34%, rgba(171, 191, 224, 0.0) 62%),
    linear-gradient(0deg, rgba(38, 36, 32, 0.85) 0%, rgba(171, 191, 224, 0.0) 22%); }
html[data-theme="dark"] .hero h1 em { color: #f3f2f2; background: linear-gradient(100deg, #252321 0%, #252321 40%, #252321 50%, #252321 60%, #252321 100%) 100% 0 / 250% 100%; }
html[data-theme="dark"] .hero .hero-copy > p:not(.eyebrow) { color: #f3f2f2; }
html[data-theme="dark"] .hero .dot::after { border: 1px solid #45433f; }
html[data-theme="dark"] .hero .hero-meta > span { border-color: rgba(69, 67, 63, 0.22); background: rgba(171, 191, 224, 0.3); }
html[data-theme="dark"] .hero .projection-card { border: 1px solid rgba(69, 67, 63, 0.2); background: rgba(50, 48, 43, 0.62); color: #f3f2f2; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.004); }
html[data-theme="dark"] .hero .projection-card .mini-label, html[data-theme="dark"] .hero .projection-scope, html[data-theme="dark"] .hero .projection-card-footer a { color: #f3f2f2; }
html[data-theme="dark"] .hero .projection-card h2, html[data-theme="dark"] .hero .projection-copy strong, html[data-theme="dark"] .hero .projection-score strong { color: #f3f2f2; }
html[data-theme="dark"] .hero .projection-year { background: #252321; color: #e8e7e6; }
html[data-theme="dark"] .hero .projection-card-intro, html[data-theme="dark"] .hero .projection-loading { color: #79756f; }
html[data-theme="dark"] .hero .projection-copy small, html[data-theme="dark"] .hero .projection-score span, html[data-theme="dark"] .hero .projection-card-footer { color: #8e8b84; }
html[data-theme="dark"] .hero .projection-row, html[data-theme="dark"] .hero .projection-card-footer { border-color: rgba(69, 67, 63, 0.09); }
html[data-theme="dark"] .hero .projection-place { background: rgba(37, 35, 33, 0.08); color: #f3f2f2; }
html[data-theme="dark"] .hero .projection-row:first-child .projection-place { background: #252321; color: #e8e7e6; }
html[data-theme="dark"] .hero .projection-row { border-left: 1px solid rgba(69, 67, 63, 0.09); }
@media (max-width: 780px) {
  html[data-theme="dark"] .hero .projection-row, html[data-theme="dark"] .hero .projection-row:first-child { border-top: 1px solid rgba(69, 67, 63, 0.09); }
  html[data-theme="dark"] .hero::after { background: linear-gradient(180deg, rgba(38, 36, 32, 0.85) 0%, rgba(171, 191, 224, 0.3) 38%, rgba(171, 191, 224, 0.0) 50%),
      linear-gradient(0deg, rgba(38, 36, 32, 0.7) 0%, rgba(171, 191, 224, 0.0) 15%); }
}
html[data-theme="dark"] nav a { color: #f3f2f2; }
html[data-theme="dark"] nav a:hover, html[data-theme="dark"] nav a:focus-visible { color: #f3f2f2; }
html[data-theme="dark"] .hero { border-image: linear-gradient(180deg, rgba(69, 67, 63, 0.9) 0 40%, var(--flag-red) 40% 100%) 1; }
html[data-theme="dark"] .hero .eyebrow { color: #f3f2f2; }
html[data-theme="dark"] .button:hover, html[data-theme="dark"] .button.primary:hover { color: #f3f2f2; }
html[data-theme="dark"] .rank-tier.tie { border: 1px solid #b5b3b0; color: #dbdad8; }
html[data-theme="dark"] .rank-tier.close { background: #3e3b34; color: #f3f2f2; }
html[data-theme="dark"] .rank-tier.lean { background: #182437; color: #dbdad8; }
html[data-theme="dark"] .rank-tier.safe { background: #22211f; color: #b6b4af; }
html[data-theme="dark"] .rank-person.leader { background: linear-gradient(90deg, var(--tint), rgba(37, 35, 33, 0.0) 90%); }
html[data-theme="dark"] .rank-person.leader .rank-place { background: #3e3b34; color: #f3f2f2; }
html[data-theme="dark"] .rank-person:not(.leader) .rank-pct { color: #b6b4af; }
html[data-theme="dark"] .nation-tier.close .nation-tier-dot { background: #3e3b34; }
html[data-theme="dark"] .nation-tier.lean .nation-tier-dot { background: #3a3834; }
html[data-theme="dark"] .map-card { border: 1px solid #b5b3b0; background: radial-gradient(ellipse 760px 460px at 58% 42%, #183d72, #312f2a 72%); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.396); }
html[data-theme="dark"] .map-card .tab { border-color: rgba(69, 67, 63, 0.2); background: rgba(37, 35, 33, 0.06); color: #f3f2f2; }
html[data-theme="dark"] .map-card .tab:hover, html[data-theme="dark"] .map-card .tab.active { border-color: #45433f; background: #252321; color: #dbdad8; }
html[data-theme="dark"] .map-card .map-reset { border: 1px solid rgba(69, 67, 63, 0.4); color: #f3f2f2; }
html[data-theme="dark"] .map-card .map-reset:hover, html[data-theme="dark"] .map-card .map-reset:focus-visible { border-color: #45433f; background: #252321; color: #dbdad8; }
html[data-theme="dark"] .map-card .legend-item { color: #f3f2f2; }
html[data-theme="dark"] .map-card .legend-swatch { border: 1px solid rgba(69, 67, 63, 0.3); background: #615f5a; }
html[data-theme="dark"] .map-card .legend-swatch.coverage { background: #4c4944; }
html[data-theme="dark"] .map-card .legend-swatch.democrat { background: #649ace; }
html[data-theme="dark"] .map-card .legend-swatch.republican { background: #d16e61; }
html[data-theme="dark"] .map-card .legend-swatch.other { background: #37235c; }
html[data-theme="dark"] .map-card .map-instructions { color: #79756f; }
html[data-theme="dark"] .map-state.selected { stroke: #45433f; filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.03)); }
html[data-theme="dark"] .map-tooltip-row.democrat { border-left-color: #3086cf; }
html[data-theme="dark"] .duel-person.other { --tint: #23221f; }
html[data-theme="dark"] .duel-person:not(.leader) .duel-pct { color: #b6b4af; }
html[data-theme="dark"] .trend { border: 1px solid #42403c; }
html[data-theme="dark"] .trend figcaption { color: #b6b4b0; }
html[data-theme="dark"] .trend-line.democrat, html[data-theme="dark"] .trend-dot.democrat { stroke: #3086cf; }
html[data-theme="dark"] .hero .hero-meta > .countdown { border-color: rgba(224, 49, 79, 0.55); background: rgba(179, 25, 66, 0.16); color: #f3f2f2; }
html[data-theme="dark"] .map-state.democrat.tier-close, html[data-theme="dark"] .legend-swatch.democrat.tier-close { fill: #284769; background: #284769; }
html[data-theme="dark"] .map-state.democrat.tier-lean, html[data-theme="dark"] .legend-swatch.democrat.tier-lean { fill: #649ace; background: #649ace; }
html[data-theme="dark"] .map-state.republican.tier-close, html[data-theme="dark"] .legend-swatch.republican.tier-close { fill: #6c3229; background: #6c3229; }
html[data-theme="dark"] .map-state.republican.tier-lean, html[data-theme="dark"] .legend-swatch.republican.tier-lean { fill: #d16e61; background: #d16e61; }
html[data-theme="dark"] .map-card .legend-note { color: #8e8b84; }
html[data-theme="dark"] .latest-change.up { background: #182438; color: #dbdad8; }
html[data-theme="dark"] .donut-seg.democrat { stroke: #3086cf; }
html[data-theme="dark"] .donut-seg.close { stroke: #b5b3b0; }
html[data-theme="dark"] .donut-seg.lean { stroke: #55534f; }
html[data-theme="dark"] .donut-seg.safe { stroke: #3a3835; }
html[data-theme="dark"] .versus-side.democrat .versus-name { color: #6eade2; }
html[data-theme="dark"] .versus-side.republican .versus-name { color: #d87f79; }
html[data-theme="dark"] .versus-side.other .versus-name { color: #9b84cc; }
html[data-theme="dark"] .map-stat.hot svg { background: #3d141f; }
html[data-theme="dark"] .map-band .map-card { box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }
html[data-theme="dark"] .map-band .map-card { border: 1px solid #3e3d39; background: linear-gradient(180deg, #252321 0%, #232220 100%); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.216); }
html[data-theme="dark"] .map-band .map-card::before { background: linear-gradient(90deg, #3e3b34 0 72%, #252321 72% 74%, var(--flag-red) 74%); }
html[data-theme="dark"] .map-card .tab { border-color: #3d3b38; background: #232220; color: #d0cecc; }
html[data-theme="dark"] .map-card .tab:hover, html[data-theme="dark"] .map-card .tab.active { border-color: #b5b3b0; background: #3e3b34; color: #f3f2f2; }
html[data-theme="dark"] .map-card .map-reset { border-color: #b5b3b0; background: #252321; color: #dbdad8; }
html[data-theme="dark"] .map-card .map-reset:hover, html[data-theme="dark"] .map-card .map-reset:focus-visible { border-color: #b5b3b0; background: #3e3b34; color: #f3f2f2; }
html[data-theme="dark"] .map-state.coverage { fill: #383632; }
html[data-theme="dark"] .map-state.selected { stroke: #b5b3b0; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6)); }
html[data-theme="dark"] .map-card .legend-item { color: #c4c3bf; }
html[data-theme="dark"] .map-card .legend-swatch { border-color: rgba(181, 179, 176, 0.14); background: #201f1d; }
html[data-theme="dark"] .map-card .legend-swatch.coverage { background: #383632; }
html[data-theme="dark"] .map-card .legend-note, html[data-theme="dark"] .map-card .map-instructions { color: #b6b4b0; }
html[data-theme="dark"] .map-state.split, html[data-theme="dark"] .legend-swatch.split { background: repeating-linear-gradient(45deg, #649ace 0 3px, #d16e61 3px 6px); }
html[data-theme="dark"] .map-card .legend-badges b { background: #3e3b34; color: #f3f2f2; }
html[data-theme="dark"] .hero .projection-explain { color: #f3f2f2; }
html[data-theme="dark"] .hero .projection-explain b { color: #f3f2f2; }
html[data-theme="dark"] .hero .projection-card-intro { color: #79756f; }
html[data-theme="dark"] .projection-slide.first { border-color: rgba(224, 31, 82, 0.6); background: linear-gradient(135deg, rgba(179, 25, 66, 0.22), rgba(37, 35, 33, 0.05) 62%); }
html[data-theme="dark"] .hero .photo-ring-track { stroke: rgba(69, 67, 63, 0.14); }
html[data-theme="dark"] .hero .photo-ring .ranking-avatar { box-shadow: 0 0 0 2px #b5b3b0; }
html[data-theme="dark"] .projection-slide.first .projection-rank { color: #f3f2f2; }
html[data-theme="dark"] .hero .projection-slide .projection-scope { color: #f3f2f2; }
html[data-theme="dark"] .hero .projection-slide .projection-copy small { color: #8e8b84; }
@media (max-width: 640px) {
  html[data-theme="dark"] .hero .projection-slide .projection-score { border-top: 1px solid rgba(69, 67, 63, 0.1); }
}
html[data-theme="dark"] .projection-confidence.alta { border-color: #55534f; color: #48966a; }
html[data-theme="dark"] .skip-link { background: #252321; color: #dbdad8; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.54); }
html[data-theme="dark"] .hero :focus-visible { outline: 2px solid #45433f; }
html[data-theme="dark"] .duel-person.democrat .duel-party, html[data-theme="dark"] .rank-person.democrat .rank-party, html[data-theme="dark"] .nation-widest-item.democrat .nation-widest-pct { color: #6eade2; }
html[data-theme="dark"] .duel-person.republican .duel-party, html[data-theme="dark"] .rank-person.republican .rank-party, html[data-theme="dark"] .nation-widest-item.republican .nation-widest-pct { color: #d87f79; }
html[data-theme="dark"] .duel-person.other .duel-party, html[data-theme="dark"] .rank-person.other .rank-party, html[data-theme="dark"] .nation-widest-item.other .nation-widest-pct { color: #9b84cc; }
html[data-theme="dark"] .hero .projection-card-intro { color: #f3f2f2; }
html[data-theme="dark"] .projection-slide.first .projection-rank { box-shadow: 0 0 0 3px #b5b3b0, 0 6px 14px rgba(0, 0, 0, 0.6); }
html[data-theme="dark"] .projection-slide.compact .projection-rank { background: #4d4b46; color: #f3f2f2; }
html[data-theme="dark"] .projection-delta.up { background: rgba(33, 88, 57, 0.16); color: #48966a; }
html[data-theme="dark"] .projection-delta.down { background: rgba(222, 95, 84, 0.18); color: #864741; }
html[data-theme="dark"] .hero .projection-card-footer { background: rgba(37, 35, 33, 0.05); }
html[data-theme="dark"] .hero .projection-explain { color: #f3f2f2; }
html[data-theme="dark"] .hero .projection-explain b { color: #f3f2f2; }
html[data-theme="dark"] .hero .projection-scale { color: #f3f2f2; }
html[data-theme="dark"] .hero .projection-scale::before { background: linear-gradient(90deg, rgba(37, 35, 33, 0.22), #252321); }
html[data-theme="dark"] .race-dialog .projection-confidence.alta { border-color: #55534f; color: #bfe0ce; }
html[data-theme="dark"] .race-dialog .projection-confidence.media { color: #efc961; }
html[data-theme="dark"] .race-dialog-meter.democrat .race-dialog-bar span { background: linear-gradient(90deg, #264764, #1d5c91); }
html[data-theme="dark"] .race-dialog-meter.republican .race-dialog-bar span { background: linear-gradient(90deg, #6a2f28, #a73831); }
html[data-theme="dark"] .race-poll-meta .source-link { color: #dbdad8; }
html[data-theme="dark"] .watch-panel { border: 1px solid #3d3b38; border-top: 4px solid #b5b3b0; background: #252321; }
html[data-theme="dark"] .watch-status { background: #23221f; color: #dad9d7; }
html[data-theme="dark"] .watch-status.error { background: #3e1e15; color: #d97d77; }
html[data-theme="dark"] .watch-tabs { border-bottom: 1px solid #3f3e3a; }
html[data-theme="dark"] .watch-tabs button { color: #c4c3bf; }
html[data-theme="dark"] .watch-tabs button[aria-selected="true"] { border-color: #3f3e3a; border-bottom-color: #45433f; background: #252321; color: #dbdad8; }
html[data-theme="dark"] .watch-tabs button:focus-visible { outline: 2px solid #b5b3b0; }
html[data-theme="dark"] .watch-count { background: #17253a; color: #dbdad8; }
html[data-theme="dark"] .watch-filters { color: #dad9d7; }
html[data-theme="dark"] .watch-item, html[data-theme="dark"] .watch-source { border: 1px solid #3e3d39; background: #242321; color: #dad9d7; }
html[data-theme="dark"] .watch-race { color: #dbdad8; }
html[data-theme="dark"] .watch-item h4 { color: #dedddb; }
html[data-theme="dark"] .watch-meta { color: #b6b4b0; }
html[data-theme="dark"] .watch-flag, html[data-theme="dark"] .watch-trust, html[data-theme="dark"] .watch-kind { background: #22211f; color: #c4c3bf; }
html[data-theme="dark"] .watch-flag.new { background: #3e1520; color: #e86988; }
html[data-theme="dark"] .watch-flag.done { background: #182438; color: #dbdad8; }
html[data-theme="dark"] .watch-trust.trust-ok { background: #1a3625; color: #bfe0ce; }
html[data-theme="dark"] .watch-trust.trust-own { background: #17253a; color: #dbdad8; }
html[data-theme="dark"] .watch-trust.trust-warn { background: #3c3014; color: #efc961; }
html[data-theme="dark"] .watch-trust.trust-bad { background: #3e1e15; color: #d97d77; }
html[data-theme="dark"] .watch-results b { color: #dedddb; }
html[data-theme="dark"] .watch-verify { border-left: 3px solid #3a3835; background: #252321; }
html[data-theme="dark"] .watch-verify.ok { border-left-color: #3fc07a; }
html[data-theme="dark"] .watch-verify.ok strong { color: #bfe0ce; }
html[data-theme="dark"] .watch-verify.warn { border-left-color: #dea921; }
html[data-theme="dark"] .watch-verify.warn strong { color: #efc961; }
html[data-theme="dark"] .watch-verify.bad strong { color: #d97d77; }
html[data-theme="dark"] .watch-verify .source-link { color: #dbdad8; }
html[data-theme="dark"] .watch-source.bad { border-color: #383633; background: #232220; }
html[data-theme="dark"] .watch-source.warn { border-color: #55534f; background: #403315; }
html[data-theme="dark"] .watch-source .item-actions .source-link { color: #dbdad8; }
html[data-theme="dark"] .watch-trusted li { border: 1px solid #3f3e3a; }
html[data-theme="dark"] .watch-trusted small { color: #b6b4b0; }
html[data-theme="dark"] .watch-filters input[type="checkbox"] { accent-color: #3e3b34; }
html[data-theme="dark"] .tl-public .kicker { color: #f47178; }
html[data-theme="dark"] .tl-public .tl-margin.rep { background: linear-gradient(135deg, #ff3341, #ef4052); box-shadow: 0 0 18px rgba(0, 0, 0, 0.288); }
html[data-theme="dark"] .tl-public .tl-mark-label.election { fill: #f4747e; }
html[data-theme="dark"] .status.auto { background: #1a3625; color: #bfe0ce; }
html[data-theme="dark"] .watch-gr-race { border-top: 1px dashed #3a3835; }
html[data-theme="dark"] .projection-card .tab { border-color: rgba(69, 67, 63, 0.2); background: rgba(37, 35, 33, 0.06); color: #f3f2f2; }
html[data-theme="dark"] .projection-card .tab:hover { border-color: rgba(69, 67, 63, 0.55); background: rgba(37, 35, 33, 0.12); color: #f3f2f2; }
html[data-theme="dark"] .projection-card .tab.active { border-color: #45433f; background: #252321; color: #dbdad8; }
html[data-theme="dark"] .projection-card .tab:focus-visible { outline: 2px solid #45433f; }
html[data-theme="dark"] .hero .projection-card::after { background: linear-gradient(115deg, rgba(42, 70, 111, 0.1) 20%, rgba(42, 70, 111, 0.85) 48%, rgba(37, 35, 33, 0.95) 50%, rgba(233, 73, 96, 0.7) 53%, rgba(233, 73, 96, 0.1) 80%); }
html[data-theme="dark"] .hero h1 em { background: linear-gradient(100deg, #252321 0%, #252321 40%, #122037 49%, #252321 58%, #252321 100%) 100% 0 / 250% 100%; }
html[data-theme="dark"] .hero::before { background: linear-gradient(160deg, #252321 0%, #3375ff 45%, #de5470 100%); }
html[data-theme="dark"] .hero .projection-card { background: rgba(44, 42, 38, 0.9); }
html[data-theme="dark"] .map-graticule .major { stroke: rgba(181, 179, 176, 0.17); }
html[data-theme="dark"] .map-band .map-card .map-canvas-wrap { background: radial-gradient(ellipse 60% 55% at 50% 45%, #242321 0%, #23221f 70%, #22211f 100%); }
html[data-theme="dark"] .map-state:not(.democrat):not(.republican):not(.other):not(.split):not(.coverage) { fill: #201f1d; }
html[data-theme="dark"] .map-band .map-state.selected { filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.504)); }
html[data-theme="dark"] .map-band .map-card .tab { color: #d0cecc; }
html[data-theme="dark"] .map-band .map-card .tab.active { color: #f3f2f2; }
@media (hover: hover) and (pointer: fine) {
  html[data-theme="dark"] .map-band .map-card .tab:not(.active):hover { border-color: #55534f; background: #252321; }
}
html[data-theme="dark"] .map-glow.blue { background: radial-gradient(closest-side, rgba(64, 126, 210, 0.16), rgba(64, 126, 210, 0.0)); }
html[data-theme="dark"] .map-glow.red { background: radial-gradient(closest-side, rgba(198, 71, 63, 0.08), rgba(198, 71, 63, 0.0)); }
html[data-theme="dark"] .tl-public .tl-search .fa, html[data-theme="dark"] .tl-public .tl-period-box .fa { color: #f3f2f2; }
html[data-theme="dark"] .tl-public .tl-readout-summary .fa { color: #43668c; }
html[data-theme="dark"] .tl-public .tl-tile.rep .tl-tile-icon { background: linear-gradient(160deg, #ff334c, #b71432); }
html[data-theme="dark"] .tl-public .tl-tile.rep > strong { color: #f3f2f2; }
html[data-theme="dark"] .tl-public .tl-delta.up, html[data-theme="dark"] .tl-public .tl-edge-change.up { color: #67e9cb; }
html[data-theme="dark"] .tl-public .tl-delta.down, html[data-theme="dark"] .tl-public .tl-edge-change.down { color: #f5858e; }
html[data-theme="dark"] .tl-public .tl-delta.flat, html[data-theme="dark"] .tl-public .tl-edge-change.flat { color: #f3f2f2; }
html[data-theme="dark"] .tl-public .tl-tile.edge.rep .tl-edge { color: #f6959e; }
html[data-theme="dark"] .tl-public .tl-tile-body .tl-edge-change.up { color: #67e9cb; }
html[data-theme="dark"] .tl-public .tl-tile-body .tl-edge-change.down { color: #f5858e; }
html[data-theme="dark"] .tl-public .tl-poll.selected { background: linear-gradient(120deg, #3b3833, #2c2a25); }
html[data-theme="dark"] .tl-public .tl-competitive.close { background: rgba(189, 35, 65, 0.14); color: #f3f2f2; }
html[data-theme="dark"] .tl-public .tl-competitive.clear { background: rgba(17, 107, 179, 0.15); color: #a1daf7; }
html[data-theme="dark"] .tl-public .tl-party-result.rep .tl-party-token { border-color: rgba(255, 162, 171, 0.4); }
html[data-theme="dark"] .tl-public .tl-poll-margin.rep { border-color: #b6495c; background: #372235; color: #f58594; }
html[data-theme="dark"] .tl-public .tl-share-bar .rep { background: #ff3350; }
html[data-theme="dark"] .tl-public .tl-poll-link .fa { color: #f3f2f2; }
html[data-theme="dark"] .site-header nav a.is-current { color: #f3f2f2; }
html[data-theme="dark"] .site-header nav a.is-current::after { background: #339dff; }
html[data-theme="dark"] .sim-panel { --sim-ink: #dbdad8; --sim-muted: #b6b4b0; --sim-line: #403e3a; --sim-wash: #232220; --sim-toss: #474440; background: #252321; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.108), 0 24px 54px -26px rgba(0, 0, 0, 0.54); }
html[data-theme="dark"] .sim-label { color: #d0cecc; }
html[data-theme="dark"] .sim-tabs { background: #21201e; }
html[data-theme="dark"] .sim-tabs button { color: #d0cecc; }
html[data-theme="dark"] .sim-tabs button[aria-pressed="true"] { background: #252321; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.288); }
html[data-theme="dark"] .sim-slider::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--sim-ink) var(--p), #1d1c1b var(--p)); }
html[data-theme="dark"] .sim-slider::-moz-range-track { background: linear-gradient(90deg, var(--sim-ink) var(--p), #1d1c1b var(--p)); }
html[data-theme="dark"] .sim-slider.two-sided::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--sim-rep-soft), #231c33 50%, var(--sim-dem-soft)); }
html[data-theme="dark"] .sim-slider.two-sided::-moz-range-track { background: linear-gradient(90deg, var(--sim-rep-soft), #231c33 50%, var(--sim-dem-soft)); }
html[data-theme="dark"] .sim-slider::-webkit-slider-thumb { border: 3px solid #45433f; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6); }
html[data-theme="dark"] .sim-slider::-moz-range-thumb { border: 3px solid #45433f; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6); }
html[data-theme="dark"] .sim-kpi.warn { background: #3e2f15; box-shadow: inset 0 0 0 1px #383633; }
html[data-theme="dark"] .sim-kpi.warn .sim-kpi-value { color: #f2b25f; }
html[data-theme="dark"] .sim-card { background: #252321; }
html[data-theme="dark"] .sim-axis-title { fill: #d0cecc; }
html[data-theme="dark"] .sim-legend { color: #c4c3bf; }
html[data-theme="dark"] .sim-scale-legend .tossup, html[data-theme="dark"] .sim-state.tossup { --c: #474440; }
html[data-theme="dark"] .sim-state { fill: var(--c, #21201e); stroke: #45433f; }
html[data-theme="dark"] .sim-state.none { fill: #21201e; }
html[data-theme="dark"] .sim-state.oth { fill: #3d2562; }
html[data-theme="dark"] .sim-state-label { fill: #f3f2f2; stroke: rgba(25, 24, 21, 0.7); }
html[data-theme="dark"] .sim-table td { border-bottom: 1px solid #42403c; }
html[data-theme="dark"] .sim-table tbody tr:hover { background: #242320; }
html[data-theme="dark"] .sim-table tr.is-flip { background: #3e3115; }
html[data-theme="dark"] .sim-table .oth { color: #9e89c6; }
html[data-theme="dark"] .sim-prob-bar .oth { background: #342158; }
html[data-theme="dark"] .sim-cat.tossup { background: #21201e; color: #c8c7c3; }
html[data-theme="dark"] .sim-cat.lean { background: #15253e; color: #78a4d8; }
html[data-theme="dark"] .sim-cat.likely { background: #14263c; color: #72a5de; }
html[data-theme="dark"] .sim-cat.safe { background: #3e3b34; color: #f3f2f2; }
html[data-theme="dark"] .sim-method { color: #d0cecc; }
html[data-theme="dark"] body:has(.internal) { background: linear-gradient(180deg, #232220 0%, #22211f 100%); }
html[data-theme="dark"] .internal h1 { color: #dbdad8; }
html[data-theme="dark"] .internal .lead { color: #c4c3bf; }
html[data-theme="dark"] .admin-nav a.is-current { background: #3e3b34; color: #f3f2f2; }
html[data-theme="dark"] .internal .internal-overview .stat-card { background: #252321; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.108), 0 12px 30px -18px rgba(0, 0, 0, 0.54); }
html[data-theme="dark"] .internal .stat-card strong { color: #dbdad8; }
html[data-theme="dark"] .internal .watch-panel, html[data-theme="dark"] .internal .race-work-panel, html[data-theme="dark"] .internal .list-panel, html[data-theme="dark"] .internal .form-panel, html[data-theme="dark"] .internal .audit-panel, html[data-theme="dark"] .internal .login-card { background: #252321; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.108), 0 24px 54px -28px rgba(0, 0, 0, 0.54); }
html[data-theme="dark"] .internal .watch-panel::before, html[data-theme="dark"] .internal .race-work-panel::before, html[data-theme="dark"] .internal .audit-panel::before { background: linear-gradient(90deg, #3e3b34 0 70%, #c6473f 70%); }
html[data-theme="dark"] .internal .audit-panel li { background: #232220; color: #c4c3bf; }
html[data-theme="dark"] .internal .audit-panel li strong { color: #dbdad8; }
html[data-theme="dark"] .sim-intro { color: #c4c3bf; }
html[data-theme="dark"] .sim-answer { background: linear-gradient(180deg, #232220, #22211f); }
html[data-theme="dark"] .sim-subsentence { color: #c4c3bf; }
html[data-theme="dark"] .sim-scenario-note { background: #3c2e14; color: #f2bb5f; }
html[data-theme="dark"] .sim-link { color: #dbdad8; }
html[data-theme="dark"] .sim-seat { background: var(--c, #474440); }
html[data-theme="dark"] .sim-seat.tossup { --c: #474440; }
html[data-theme="dark"] .sim-group.dem { background: #232220; }
html[data-theme="dark"] .sim-group.rep { background: #232220; }
html[data-theme="dark"] .sim-group.toss { background: #22211f; }
html[data-theme="dark"] .sim-group.toss h3 { color: #c8c7c3; }
html[data-theme="dark"] .sim-chip-who b.oth { color: #9e89c6; }
html[data-theme="dark"] .sim-chip-bar .oth { background: #342158; }
html[data-theme="dark"] .sim-chance.safe { background: #3e3b34; color: #f3f2f2; }
html[data-theme="dark"] .sim-chance.likely { background: #15243b; color: #72a5de; }
html[data-theme="dark"] .sim-chance.lean { background: #15253e; color: #78a4d8; }
html[data-theme="dark"] .sim-chance.tossup { background: #21201e; color: #c8c7c3; }
html[data-theme="dark"] .sim-whatif > summary::before { border-right: 2.5px solid #b5b3b0; border-bottom: 2.5px solid #b5b3b0; }
html[data-theme="dark"] .sim-whatif > summary strong { color: #dbdad8; }
html[data-theme="dark"] .sim-whatif > summary small { color: #b6b4b0; }
html[data-theme="dark"] .sim-presets button { background: #252321; color: #d0cecc; }
html[data-theme="dark"] .sim-presets button[aria-pressed="true"] { border-color: #b5b3b0; background: #3e3b34; color: #f3f2f2; }
html[data-theme="dark"] .sim-help { color: #b6b4b0; }
html[data-theme="dark"] .sim-hist-wrap figcaption strong { color: #dbdad8; }
html[data-theme="dark"] .sim-hist-wrap figcaption small { color: #b6b4b0; }
html[data-theme="dark"] .sim-board-cell { background: #252321; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.108), 0 10px 26px -18px rgba(0, 0, 0, 0.6); }
html[data-theme="dark"] .sim-board-cell.toss { background: #22211f; }
html[data-theme="dark"] .sim-board-cell.toss strong { color: #c8c7c3; }
html[data-theme="dark"] .sim-board-label { color: #dbdad8; }
html[data-theme="dark"] .sim-board-cell.toss .sim-board-label { color: #c8c7c3; }
html[data-theme="dark"] .sim-board-cell small { color: #b6b4b0; }
html[data-theme="dark"] .sim-chip-names b.oth { color: #9e89c6; }
html[data-theme="dark"] .sim-chip-score strong.oth { color: #9e89c6; }
html[data-theme="dark"] .sim-chip.tossup .sim-chip-score strong { color: #c8c7c3; }
html[data-theme="dark"] .sim-chip-bar span.oth { background: #342158; }
html[data-theme="dark"] .sim-strip-ends .toss { color: #c8c7c3; }
html[data-theme="dark"] .admin-app { --ink: #dbdad8; --line-soft: #403e3a; background: #22211f; }
html[data-theme="dark"] .topbar { background: rgba(37, 35, 33, 0.96); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.108), 0 12px 30px -18px rgba(0, 0, 0, 0.6); }
html[data-theme="dark"] .topbar-menu { background: #252321; }
html[data-theme="dark"] .topbar-time { color: #aba9a4; }
html[data-theme="dark"] .topbar-button { background: #252321; }
html[data-theme="dark"] .topbar-button:hover { border-color: #55534f; background: #232220; }
html[data-theme="dark"] .topbar-button.danger { border-color: #3c3a37; color: #d97e78; }
html[data-theme="dark"] .topbar-button.danger:hover { background: #232220; }
html[data-theme="dark"] .admin-app #admin-notice:not(:empty) { background: #14263d; }
html[data-theme="dark"] .admin-app #admin-notice.error:not(:empty) { background: #3f1a15; color: #d97d77; }
html[data-theme="dark"] .view-head p { color: #b6b4b0; }
html[data-theme="dark"] .home-kpi.warn strong { color: #f2b65f; }
html[data-theme="dark"] .home-card { background: #252321; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.108), 0 20px 44px -26px rgba(0, 0, 0, 0.6); }
html[data-theme="dark"] a.home-card:hover { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.108), 0 26px 50px -24px rgba(0, 0, 0, 0.6); }
html[data-theme="dark"] .home-card.big { background: linear-gradient(160deg, #312f2a 0%, #262420 100%); color: #f3f2f2; }
html[data-theme="dark"] .home-card.big .home-card-icon { background: rgba(37, 35, 33, 0.1); color: #97c3f7; }
html[data-theme="dark"] .home-card.big .home-card-title { color: #f3f2f2; }
html[data-theme="dark"] .home-card.big .home-card-text { color: #6a6761; }
html[data-theme="dark"] .home-score span { background: rgba(37, 35, 33, 0.06); color: #6a6761; }
html[data-theme="dark"] .home-score .dem b { color: #97c3f7; }
html[data-theme="dark"] .home-score .toss b { color: #f3f2f2; }
html[data-theme="dark"] .home-score .rep b { color: #f7a29a; }
html[data-theme="dark"] .home-activity li { background: #232220; color: #c4c3bf; }
html[data-theme="dark"] .home-activity time { color: #aba9a4; }
html[data-theme="dark"] .admin-app .view .workspace-head { background: #252321; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.108), 0 24px 54px -28px rgba(0, 0, 0, 0.54); }
html[data-theme="dark"] .admin-app .view .workspace-head::before { background: linear-gradient(90deg, #3e3b34 0 70%, #c6473f 70%); }
html[data-theme="dark"] .view-header h2 { color: #dbdad8; }
html[data-theme="dark"] .view-header p { color: #b6b4b0; }
html[data-theme="dark"] .view-kpi { background: #232220; box-shadow: inset 0 0 0 1px #403e3a; }
html[data-theme="dark"] .view-kpi span { color: #c4c3bf; }
html[data-theme="dark"] .view-kpi strong { color: #dbdad8; }
html[data-theme="dark"] .view-kpi.ok { background: #22211f; box-shadow: inset 0 0 0 1px #3d3b38; }
html[data-theme="dark"] .view-kpi.ok strong { color: #6fe2b0; }
html[data-theme="dark"] .view-kpi.warn { background: #3f3015; box-shadow: inset 0 0 0 1px #3a3835; }
html[data-theme="dark"] .view-kpi.warn strong { color: #f2b25f; }
html[data-theme="dark"] .view-help { background: #232220; color: #c4c3bf; }
html[data-theme="dark"] .view-help summary { color: #dbdad8; }
html[data-theme="dark"] .view-search { border: 1px solid #3e3c38; background: #252321; color: #aba9a4; }
html[data-theme="dark"] .view-search:focus-within { border-color: #b5b3b0; box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.216); }
html[data-theme="dark"] .view-search input { color: #dedddb; }
html[data-theme="dark"] .view-seg { background: #22211f; }
html[data-theme="dark"] .view-seg button { color: #d0cecc; }
html[data-theme="dark"] .view-seg button[aria-pressed="true"] { background: #252321; color: #dbdad8; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.288); }
html[data-theme="dark"] .filter-count { background: #1f1e1c; color: #d0cecc; }
html[data-theme="dark"] .view-seg button[aria-pressed="true"] .filter-count { background: #3e3b34; color: #f3f2f2; }
html[data-theme="dark"] .view-shown { color: #aba9a4; }
html[data-theme="dark"] .view-empty, html[data-theme="dark"] .filter-empty { background: #232220; color: #b6b4b0; }
html[data-theme="dark"] .state-badge { background: #3e3b34; color: #f3f2f2; }
html[data-theme="dark"] .office-tag { background: #22211f; color: #d0cecc; }
html[data-theme="dark"] .office-tag.senate { background: #14263d; color: #72a5de; }
html[data-theme="dark"] .office-tag.governor { background: #24163d; color: #b4acd3; }
html[data-theme="dark"] .office-tag.house { background: #193827; color: #6fe2b0; }
html[data-theme="dark"] .count-pill { background: #22211f; color: #b6b4b0; }
html[data-theme="dark"] .count-pill.ok { background: #193827; color: #6fe2b0; }
html[data-theme="dark"] .admin-app .gr-card { background: #252321; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.108), 0 14px 32px -20px rgba(0, 0, 0, 0.6); }
@media (hover: hover) and (pointer: fine) {
  html[data-theme="dark"] .admin-app .gr-card:hover { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.108), 0 20px 40px -20px rgba(0, 0, 0, 0.6); }
}
html[data-theme="dark"] .admin-app .gr-card .watch-race { color: #dbdad8; }
html[data-theme="dark"] .admin-app .gr-card .watch-meta { color: #aba9a4; }
html[data-theme="dark"] .admin-app .watch-gr-race { border-top: 1px solid #42403c; }
html[data-theme="dark"] .admin-app .watch-gr-race > .watch-race { color: #d0cecc; }
html[data-theme="dark"] .admin-app .watch-results li.gr-person::before { background: #201f1d; }
html[data-theme="dark"] .admin-app .watch-results li.gr-person.dem::before { background: rgba(47, 111, 192, 0.16); }
html[data-theme="dark"] .admin-app .watch-results li.gr-person.rep::before { background: rgba(198, 71, 63, 0.15); }
html[data-theme="dark"] .admin-app .watch-results li.gr-person.dem b { color: #6fabe2; }
html[data-theme="dark"] .admin-app .watch-results li.gr-person.rep b { color: #da7d76; }
html[data-theme="dark"] .admin-app .watch-results li.watch-gr-other { color: #999690; }
html[data-theme="dark"] .admin-app .watch-verify.ok { background: #193827; color: #6fe2b0; }
html[data-theme="dark"] .admin-app .watch-verify.warn { background: #3d2e14; color: #f2b75f; }
html[data-theme="dark"] .admin-app .watch-verify.none { background: #22211f; color: #b6b4b0; }
html[data-theme="dark"] .admin-app .watch-status:not(:empty) { background: #232220; color: #c4c3bf; }
html[data-theme="dark"] .admin-app .new-race-form { background: #232220; box-shadow: inset 0 0 0 1px #403e3a; }
html[data-theme="dark"] .race-form-title { color: #dbdad8; }
html[data-theme="dark"] .race-row { background: #252321; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.108), inset 0 0 0 1px #413f3b; }
@media (hover: hover) and (pointer: fine) {
  html[data-theme="dark"] .race-row:hover { box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.6), inset 0 0 0 1px #3d3b38; }
}
html[data-theme="dark"] .race-row-text strong { color: #dbdad8; }
html[data-theme="dark"] .poll-row { background: #252321; box-shadow: inset 0 0 0 1px #403e3b, inset 3px 0 0 #2bd48b; }
html[data-theme="dark"] .poll-row.draft { box-shadow: inset 0 0 0 1px #3a3835, inset 3px 0 0 #e29b1d; background: #232220; }
html[data-theme="dark"] .poll-row:hover { box-shadow: inset 0 0 0 1px #3c3a36, inset 3px 0 0 #2bd48b, 0 8px 18px -14px rgba(0, 0, 0, 0.6); }
html[data-theme="dark"] .poll-row-head strong { color: #dbdad8; }
html[data-theme="dark"] .poll-person { color: #d0cecc; }
html[data-theme="dark"] .poll-person.dem b { color: #6fabe2; }
html[data-theme="dark"] .poll-person.rep b { color: #da7d76; }
html[data-theme="dark"] .poll-row-meta { color: #aba9a4; }
html[data-theme="dark"] .admin-app .form-panel h4 { color: #dbdad8; }
html[data-theme="dark"] .admin-app .form-panel input:focus, html[data-theme="dark"] .admin-app .form-panel select:focus, html[data-theme="dark"] .admin-app .form-panel textarea:focus { border-color: #b5b3b0; box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.216); }
html[data-theme="dark"] .admin-app .form-actions { border-top: 1px solid #403e3a; background: rgba(37, 35, 33, 0.96); }
html[data-theme="dark"] .audit-day { color: #d0cecc; }
html[data-theme="dark"] .audit-item:hover { background: #232220; }
html[data-theme="dark"] .audit-item::before { background: #201f1d; }
html[data-theme="dark"] .audit-dot { background: #3d3b37; box-shadow: 0 0 0 4px #45433f; }
html[data-theme="dark"] .audit-item.race .audit-dot { background: #6a4da3; }
html[data-theme="dark"] .audit-body strong { color: #dbdad8; }
html[data-theme="dark"] .audit-body span { color: #c4c3bf; }
html[data-theme="dark"] .audit-item time { color: #aba9a4; }
html[data-theme="dark"] .audit-count { background: #22211f; color: #d0cecc; }
html[data-theme="dark"] .sim-source { background: #23221f; }
html[data-theme="dark"] .sim-source.odiseo { background: #15283e; }
html[data-theme="dark"] .od-pill.ok { background: #193827; color: #6fe2b0; }
html[data-theme="dark"] .od-pill.warn { background: #3d2e14; color: #f2b75f; }
html[data-theme="dark"] .od-pill.none { background: #22211f; color: #b6b4b0; }
html[data-theme="dark"] .od-question { color: #b6b4b0; }
html[data-theme="dark"] .admin-app .sim-panel { --sim-muted: #b8b6b2; --sim-line: #3e3d39; }
html[data-theme="dark"] .admin-app .sim-panel ::selection { color: #f3f2f2; }
html[data-theme="dark"] .admin-app .sim-panel :focus-visible { outline: 2px solid #2f81d0; }
html[data-theme="dark"] .admin-app .sim-status { color: #c7c6c2; }
html[data-theme="dark"] .admin-app #sim-csv { border: 1px solid #3b3936; background: #252321; color: #dbdad8; }
html[data-theme="dark"] .admin-app #sim-csv:disabled { color: #aeaca7; }
html[data-theme="dark"] .sim-overview-head h3, html[data-theme="dark"] .sim-explorer-head h3, html[data-theme="dark"] .sim-directory-head h3 { color: #e0dfdd; }
html[data-theme="dark"] .sim-run-count { color: #b9b7b2; }
html[data-theme="dark"] .sim-source-notice { background: #3d3014; color: #dfd3bd; }
html[data-theme="dark"] .admin-app .sim-source { color: #b9b7b2; }
html[data-theme="dark"] .admin-app .sim-source::before { background: #85827e; }
html[data-theme="dark"] .admin-app .sim-answer { background: #252321; }
html[data-theme="dark"] .admin-app .sim-board-cell.toss strong, html[data-theme="dark"] .admin-app .sim-board-cell.toss .sim-board-label { color: #bdbbb7; }
html[data-theme="dark"] .admin-app .sim-seat.tossup { background: #494641; }
html[data-theme="dark"] .admin-app .sim-seat.oth { background: #7c5d91; }
html[data-theme="dark"] .admin-app .sim-scenario-note { background: #3d2f14; color: #dfd3bd; }
html[data-theme="dark"] .admin-app .sim-tabs { background: #21201e; }
html[data-theme="dark"] .admin-app .sim-tabs button[aria-pressed="true"] { background: #252321; }
html[data-theme="dark"] .admin-app .sim-map-card { background: #312e2a; color: #f3f2f2; }
html[data-theme="dark"] .admin-app .sim-map-card figcaption span { color: #f3f2f2; }
html[data-theme="dark"] .admin-app .sim-state { stroke: #b5b3b0; }
html[data-theme="dark"] .admin-app .sim-state.tossup { --c: #494641; }
html[data-theme="dark"] .admin-app .sim-state.none { fill: #5d5a56; }
html[data-theme="dark"] .admin-app .sim-state.is-selected { stroke: #45433f; }
html[data-theme="dark"] .admin-app .sim-state-label.no-data { fill: #f3f2f2; }
html[data-theme="dark"] .admin-app .sim-state:focus-visible { stroke: #45433f; }
html[data-theme="dark"] .admin-app .sim-state-label { fill: #f3f2f2; stroke: #191815; }
html[data-theme="dark"] .admin-app .sim-map-card .sim-legend { color: #f3f2f2; }
html[data-theme="dark"] .admin-app .sim-map-card .sim-legend .dem::before { background: #6197d1; }
html[data-theme="dark"] .admin-app .sim-map-card .sim-legend .rep::before { background: #612a25; }
html[data-theme="dark"] .admin-app .sim-map-card .sim-legend .tossup::before { background: #494641; }
html[data-theme="dark"] .admin-app .sim-map-card .sim-legend .none::before { background: #5d5a56; border: 1px solid #55534f; }
html[data-theme="dark"] .sim-state-detail { background: #252321; }
html[data-theme="dark"] .sim-state-heading h3 { color: #e0dfdd; }
html[data-theme="dark"] .sim-state-heading .state-badge { background: #21201e; color: #dbdad8; }
html[data-theme="dark"] .sim-state-contests button { border: 1px solid #3e3d39; background: #232220; color: #c2c0bd; }
html[data-theme="dark"] .sim-state-contests button[aria-pressed="true"] { border-color: #b5b3b0; color: #f3f2f2; background: #3c3933; }
html[data-theme="dark"] .sim-state-contests button:hover:not([aria-pressed="true"]) { background: #182739; }
html[data-theme="dark"] .sim-race-heading h4 { color: #ceccc9; }
html[data-theme="dark"] .admin-app .sim-chance.safe { color: #dcdbd8; background: #14283d; }
html[data-theme="dark"] .admin-app .sim-chance.likely { color: #cfcecb; background: #22211f; }
html[data-theme="dark"] .admin-app .sim-chance.lean { color: #c2c0bd; background: #22211f; }
html[data-theme="dark"] .admin-app .sim-chance.tossup { color: #c6c4c1; background: #21201e; }
html[data-theme="dark"] .sim-avatar { background: #21201e; color: #bdbbb7; }
html[data-theme="dark"] .sim-candidate-copy strong { color: #d4d3d1; }
html[data-theme="dark"] .sim-candidate.oth .sim-candidate-copy strong, html[data-theme="dark"] .sim-candidate.oth .sim-candidate-chance strong { color: #b49dc6; }
html[data-theme="dark"] .sim-probability-bar { background: #22211f; }
html[data-theme="dark"] .sim-probability-bar .oth { background: #7c5d91; }
html[data-theme="dark"] .sim-state-race .sim-race-meta { color: #bab8b4; }
html[data-theme="dark"] .sim-interval { color: #bab8b4; }
html[data-theme="dark"] .sim-comparison-title { color: #ceccc9; }
html[data-theme="dark"] .sim-comparison-row > span:first-child { color: #c5c3c0; }
html[data-theme="dark"] .sim-comparison-row strong { color: #cbcac7; }
html[data-theme="dark"] .sim-comparison-row strong.oth { color: #b49dc6; }
html[data-theme="dark"] .sim-comparison-row .sim-comparison-name { color: #cac8c5; }
html[data-theme="dark"] .sim-poll-details summary { color: #73a8de; }
html[data-theme="dark"] .sim-poll-item { border-bottom: 1px solid #42403c; }
html[data-theme="dark"] .sim-poll-item strong { color: #ceccc9; }
html[data-theme="dark"] .sim-poll-item a { color: #73a8de; }
html[data-theme="dark"] .sim-select select { border: 1px solid #3e3c38; background: #252321; color: #cac8c5; }
html[data-theme="dark"] .admin-app .sim-table-wrap { background: #252321; scrollbar-color: #494641 #22211f; }
html[data-theme="dark"] .admin-app .sim-forecast-table th { color: #bab8b4; background: #232220; }
html[data-theme="dark"] .admin-app .sim-forecast-table .sim-poll-count strong { color: #c7c6c2; }
html[data-theme="dark"] .admin-app .sim-link { color: #73a8de; }
html[data-theme="dark"] .sim-directory-empty { background: #252321; }
html[data-theme="dark"] .sim-excluded { background: #232220; }
html[data-theme="dark"] .sim-excluded > summary { color: #ceccc9; }
html[data-theme="dark"] #sim-excluded-count { background: #201f1d; }
html[data-theme="dark"] #sim-excluded-list { scrollbar-color: #494641 #22211f; }
html[data-theme="dark"] .sim-excluded-item strong { color: #ceccc9; }
html[data-theme="dark"] .sim-exclusion-kind { color: #dcb775; }
html[data-theme="dark"] .admin-app .sim-other-summary { color: #b49dc6; }
html[data-theme="dark"] .admin-app .sim-state.sim-district { stroke: #45433f; }
html[data-theme="dark"] .admin-app .sim-state.sim-district.none { fill: #6e6c67; }
html[data-theme="dark"] .admin-app .sim-district-leader { stroke: #393834; }
html[data-theme="dark"] .admin-app .sim-map-card .sim-legend .primary::before { background: #544827; }
html[data-theme="dark"] .admin-app .sim-map-card .sim-legend .oth::before { background: #3d2562; }
html[data-theme="dark"] .sim-primary-note { border-left: 3px solid #55534f; background: #3d3315; color: #dbd2be; }
html[data-theme="dark"] .admin-app .sim-method { background: #21201e; }
@media (max-width: 760px) {
  html[data-theme="dark"] .admin-app .sim-forecast-table .sim-where { border-bottom: 1px solid #42403c; }
}
html[data-theme="dark"] .admin-app .sim-badge circle { stroke: #b5b3b0; }
html[data-theme="dark"] .admin-app .sim-badge text { fill: #e2e1df; }
html[data-theme="dark"] .admin-app .sim-badge.src-internal circle { fill: #201f1d; }
html[data-theme="dark"] .admin-app .sim-map-card .sim-coverage-label { color: #f3f2f2; }
html[data-theme="dark"] .sim-coverage-button { border: 1px solid #b5b3b0; color: #f3f2f2; }
html[data-theme="dark"] .sim-coverage-button:hover { background: #403d39; }
html[data-theme="dark"] .sim-coverage-button[aria-pressed="true"] { border-color: #45433f; background: #252321; color: #e2e1df; }
html[data-theme="dark"] .sim-coverage-button:focus-visible { outline: 2px solid #45433f; }
html[data-theme="dark"] .sim-badge-key { color: #e2e1df; box-shadow: inset 0 0 0 1.5px #b5b3b0; }
html[data-theme="dark"] .sim-badge-key.src-internal { background: #201f1d; }
html[data-theme="dark"] .sim-state-source { color: #d5d4d2; }
html[data-theme="dark"] .sen-panel { --sim-ink: #dbdad8; --sim-muted: #b8b6b2; --sim-line: #3e3d39; color: #dedddb; }
html[data-theme="dark"] .sen-intro h2 { color: #e0dfdd; }
html[data-theme="dark"] .sen-tab { color: #c8c7c3; }
html[data-theme="dark"] .sen-tab b { background: #1e1e1c; }
html[data-theme="dark"] .sen-tab[aria-selected="true"] { background: #36332e; color: #f3f2f2; }
html[data-theme="dark"] .sen-tab[aria-selected="true"] b { background: #4d4a46; color: #f3f2f2; }
html[data-theme="dark"] .sen-tab:hover:not([aria-selected="true"]) { background: #1f1e1c; }
html[data-theme="dark"] .sen-step > span { background: #312e2a; color: #f3f2f2; }
html[data-theme="dark"] .sen-step h3 { color: #e0dfdd; }
html[data-theme="dark"] .sen-verdict { background: #312e2a; color: #f3f2f2; }
html[data-theme="dark"] .sen-verdict.none { border-left-color: #b5b3b0; }
html[data-theme="dark"] .sen-kicker { color: #f3f2f2; }
html[data-theme="dark"] .sen-verdict p { color: #f3f2f2; }
html[data-theme="dark"] .sen-card { background: #252321; }
html[data-theme="dark"] .sen-panel strong.toss { color: #c0bebb; }
html[data-theme="dark"] .sen-panel strong.oth { color: #ab96ca; }
html[data-theme="dark"] .sen-split-bar { background: #21201e; }
html[data-theme="dark"] .sen-split-bar .none { background: #21201e; }
html[data-theme="dark"] .sen-split-legend b { color: #e0dfdd; }
html[data-theme="dark"] .sen-split-legend .toss b { color: #c0bebb; }
html[data-theme="dark"] .sen-split-legend .oth b { color: #ab96ca; }
html[data-theme="dark"] .sen-office { background: #252321; }
html[data-theme="dark"] .sen-office-head h4 { color: #e0dfdd; }
html[data-theme="dark"] .sen-group { border-bottom: 2px solid var(--c, #55534f); color: var(--c, #b8b6b2); }
html[data-theme="dark"] .sen-group b { color: #f3f2f2; }
html[data-theme="dark"] .sen-w-button { border-bottom: 1px solid #42403c; }
html[data-theme="dark"] .sen-w-button:hover { background: #232220; }
html[data-theme="dark"] .sen-w-button:focus-visible { outline: 2px solid #b5b3b0; }
html[data-theme="dark"] .sen-w-code { background: #21201e; color: #dbdad8; }
html[data-theme="dark"] .sen-w-name strong { color: #e0dfdd; }
html[data-theme="dark"] .sen-w.toss .sen-w-chance b { color: #c0bebb; }
html[data-theme="dark"] .sen-w-chance i { background: #21201e; }
html[data-theme="dark"] .sen-avatar { background: #21201e; box-shadow: 0 0 0 2px var(--c, #55534f); color: #dbdad8; }
html[data-theme="dark"] .sen-more { background: #232220; color: #dbdad8; }
html[data-theme="dark"] .sen-more:hover { background: #21201e; }
html[data-theme="dark"] .sen-detail { background: #252321; }
html[data-theme="dark"] .sen-detail h3 { color: #e0dfdd; }
html[data-theme="dark"] .sen-detail-head .state-badge { background: #21201e; color: #dbdad8; }
html[data-theme="dark"] .sen-lead { border-left: 4px solid #55534f; background: #232220; }
html[data-theme="dark"] .sen-list li { border-bottom: 1px solid #42403c; }
html[data-theme="dark"] .sen-source.is-active { border-color: #b5b3b0; box-shadow: inset 0 0 0 1px #b5b3b0; }
html[data-theme="dark"] .sen-chip { background: #22211f; }
html[data-theme="dark"] .sen-chip.dem { background: #14263c; }
html[data-theme="dark"] .sen-chip.rep { background: #3b1915; }
html[data-theme="dark"] .sen-chip.toss { background: #21201e; }
html[data-theme="dark"] .sen-link { color: #6fabe2; }
html[data-theme="dark"] .sen-bar { background: linear-gradient(90deg, #312e2a var(--w), #21201e var(--w)); }
html[data-theme="dark"] .sen-issues { background: #252321; }
html[data-theme="dark"] .sen-table tbody tr:hover { background: #232220; }
html[data-theme="dark"] .sen-match.yes { background: #193627; color: #bfe0ce; }
html[data-theme="dark"] .sen-match.no { background: #3a2a13; color: #f1a85f; }
html[data-theme="dark"] #inicio, html[data-theme="dark"] .hist-panel { --sim-muted: #b8b6b2; --sim-line: #3e3d39; }
html[data-theme="dark"] .home-eyebrow { color: #d87d79; }
html[data-theme="dark"] .home-hero h1 { color: #e0dfdd; }
html[data-theme="dark"] .home-summary { background: #252321; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.09); }
html[data-theme="dark"] .home-sections { background: rgba(37, 35, 33, 0.94); }
html[data-theme="dark"] .home-section-tab { color: #c8c7c3; }
html[data-theme="dark"] .home-section-tab b { background: #21201e; }
html[data-theme="dark"] .home-section-tab:hover { background: #22211f; }
html[data-theme="dark"] .home-section-tab[aria-pressed="true"] { border-color: #b5b3b0; background: #36332e; color: #f3f2f2; }
html[data-theme="dark"] .home-section-tab[aria-pressed="true"] b { background: #4d4a46; color: #f3f2f2; }
html[data-theme="dark"] .home-filter { background: #21201e; color: #dbdad8; }
html[data-theme="dark"] .home-filter button { border: 1px solid #55534f; background: #252321; color: #dbdad8; }
html[data-theme="dark"] .home-section { background: #252321; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.09); }
html[data-theme="dark"] .home-section-head h3 { color: #e0dfdd; }
html[data-theme="dark"] .home-group { color: var(--c, #b8b6b2); }
html[data-theme="dark"] .home-group::after { background: var(--c, #1f1e1c); }
html[data-theme="dark"] .home-group b { background: var(--c, #6e6c69); color: #f3f2f2; }
html[data-theme="dark"] .pc-button { background: #252321; }
html[data-theme="dark"] .pc-button:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.216); }
html[data-theme="dark"] .pc-photo .sen-avatar { box-shadow: 0 0 0 3px #45433f, 0 0 0 5px var(--c); }
html[data-theme="dark"] .pc-party { border: 2px solid #45433f; color: #f3f2f2; }
html[data-theme="dark"] .pc-race { border-bottom: 1px solid #42403c; }
html[data-theme="dark"] .pc-race b { color: #e0dfdd; }
html[data-theme="dark"] .pc-name { color: #e0dfdd; }
html[data-theme="dark"] .pc-bar { background: #21201e; }
html[data-theme="dark"] .pc-change { background: #22211f; color: #c8c7c3; }
html[data-theme="dark"] .pc-change.up { background: #193627; color: #bfe0ce; }
html[data-theme="dark"] .pc-change.down { background: #3a2a13; color: #f1a85f; }
html[data-theme="dark"] .pc-change.flip { background: #3b1915; color: #db7c75; }
html[data-theme="dark"] .pc-change.new { background: #14263c; color: #72a5de; }
html[data-theme="dark"] .hist-kpi { border-left: 4px solid #55534f; background: #252321; }
html[data-theme="dark"] .hist-kpi.moved { border-left-color: #de9c21; }
html[data-theme="dark"] .hist-kpi strong { color: #e0dfdd; }
html[data-theme="dark"] .hist-row:hover, html[data-theme="dark"] .hist-row.is-selected { background: #232220; }
html[data-theme="dark"] .hist-delta .up { color: #bfe0ce; }
html[data-theme="dark"] .hist-delta .down { color: #f1a85f; }
html[data-theme="dark"] .hist-tag { background: #22211f; }
html[data-theme="dark"] .hist-tag.flip { background: #3b1915; color: #db7c75; }
html[data-theme="dark"] .hist-tag.moved { background: #3a2a13; color: #f1a85f; }
html[data-theme="dark"] .hist-tag.new { background: #14263c; color: #72a5de; }
html[data-theme="dark"] .hist-tag.gone { background: #21201e; color: #b8b0d0; }
html[data-theme="dark"] .hist-chart { background: #252321; }
html[data-theme="dark"] .hist-grid { stroke: #413f3b; }
html[data-theme="dark"] .hist-mid { stroke: #55534f; }
html[data-theme="dark"] .hist-axis { fill: #6e6c69; }
html[data-theme="dark"] .hist-line { stroke: #55534f; }
html[data-theme="dark"] .hist-dot { stroke: #b5b3b0; }
html[data-theme="dark"] .hist-total { background: #252321; }
html[data-theme="dark"] .hist-total strong { color: #e0dfdd; }
html[data-theme="dark"] .hist-changes > li { background: #252321; }
html[data-theme="dark"] .hist-versions { color: #c8c7c3; }
html[data-theme="dark"] .hist-download { background: #252321; }
html[data-theme="dark"] .hist-download:hover { border-color: #55534f; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
html[data-theme="dark"] .hist-download strong { color: #e0dfdd; }
html[data-theme="dark"] .hist-download-icon { color: #f3f2f2; }
html[data-theme="dark"] .hist-download-icon.xlsx { background: #246c44; }
html[data-theme="dark"] .users-panel { --sim-line: #3e3d39; --sim-muted: #b8b6b2; }
html[data-theme="dark"] .users-card { background: #252321; }
html[data-theme="dark"] .users-card h3 { color: #e0dfdd; }
html[data-theme="dark"] .users-card label { color: #d5d4d2; }
html[data-theme="dark"] .users-card input, html[data-theme="dark"] .users-card select, html[data-theme="dark"] .users-select, html[data-theme="dark"] .account-dialog input { border: 1px solid #3c3a36; background: #252321; color: #dedddb; }
html[data-theme="dark"] .users-card input:focus-visible, html[data-theme="dark"] .users-card select:focus-visible, html[data-theme="dark"] .users-select:focus-visible, html[data-theme="dark"] .account-dialog input:focus-visible { outline: 2px solid #b5b3b0; }
html[data-theme="dark"] .users-role.admin { background: #14263c; color: #72a5de; }
html[data-theme="dark"] .users-status.on { background: #193627; color: #bfe0ce; }
html[data-theme="dark"] .users-status.off { background: #22211f; color: #b8b6b2; }
html[data-theme="dark"] .users-delete { color: #db7c75 !important; }
html[data-theme="dark"] .account-dialog { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.54); }
html[data-theme="dark"] .account-dialog::backdrop { background: rgba(38, 36, 32, 0.55); }
html[data-theme="dark"] .account-dialog h2 { color: #e0dfdd; }
html[data-theme="dark"] .account-dialog label { color: #d5d4d2; }
html[data-theme="dark"] .account-dialog label small { color: #b8b6b2; }
html[data-theme="dark"] .admin-app .topbar::before { background: #22211f; }
html[data-theme="dark"] .admin-app .view-empty.rich { border: 1px dashed #3c3a37; }
html[data-theme="dark"] .topbar-sources { background: #22211f; }
html[data-theme="dark"] .topbar-sources button { color: #c8c7c3; }
html[data-theme="dark"] .topbar-sources button b { background: #1e1e1c; color: #c7c5c2; }
html[data-theme="dark"] .topbar-sources button[aria-pressed="true"] { background: #36332e; color: #f3f2f2; }
html[data-theme="dark"] .topbar-sources button[aria-pressed="true"] b { background: #4d4a46; color: #f3f2f2; }
html[data-theme="dark"] .topbar-sources button:hover:not([aria-pressed="true"]) { background: #1f1e1c; }
html[data-theme="dark"] .health-toggle { background: #252321; color: #c8c7c3; }
html[data-theme="dark"] .health-toggle:hover { border-color: #55534f; background: #232220; }
html[data-theme="dark"] .health-dot { background: #403e39; }
html[data-theme="dark"] .health-toggle[data-tone="ok"] .health-dot { box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.288); }
html[data-theme="dark"] .health-toggle[data-tone="stale"] .health-dot { box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.324); }
html[data-theme="dark"] .health-toggle[data-tone="error"] { border-color: #3c3a37; color: #d97d77; }
html[data-theme="dark"] .health-toggle[data-tone="error"] .health-dot { box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.288); }
html[data-theme="dark"] .health-panel { background: #252321; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6); }
html[data-theme="dark"] .health-list li::before { background: #403e39; }
html[data-theme="dark"] .health-list li[data-tone="off"]::before { background: #4d4a45; }
html[data-theme="dark"] .health-list li[data-tone="error"] { background: #232220; }
html[data-theme="dark"] .health-list small { color: #aba9a4; }
html[data-theme="dark"] .health-list span { color: #b6b4b0; }
html[data-theme="dark"] .health-list li[data-tone="error"] span { color: #d97d77; }
html[data-theme="dark"] .health-list li[data-tone="stale"] span { color: #ebbb66; }
html[data-theme="dark"] .health-list .health-model { color: #b6b4b0; }
html[data-theme="dark"] .tip-button { color: #a09d98; }
html[data-theme="dark"] .tip-button:hover, html[data-theme="dark"] .tip-button[aria-expanded="true"] { background: #182739; }
html[data-theme="dark"] .admin-app .sim-map-card .tip-button { color: #737069; }
html[data-theme="dark"] .admin-app .sim-map-card .tip-button:hover, html[data-theme="dark"] .admin-app .sim-map-card .tip-button[aria-expanded="true"] { background: rgba(37, 35, 33, 0.14); color: #f3f2f2; }
html[data-theme="dark"] .admin-app .tip .tip-body { background: #252321; box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.6); color: #cecdca; }
html[data-theme="dark"] .view-toc { background: rgba(37, 35, 33, 0.94); box-shadow: 0 8px 22px -16px rgba(0, 0, 0, 0.6); }
html[data-theme="dark"] .view-toc a { color: #bfbdba; }
html[data-theme="dark"] .view-toc a:hover { background: #22211f; }
html[data-theme="dark"] .view-toc a[aria-current="true"] { background: #36332e; color: #f3f2f2; }
html[data-theme="dark"] .topbar-search { background: #252321; color: #b6b4b0; }
html[data-theme="dark"] .topbar-search:hover { border-color: #55534f; background: #232220; }
html[data-theme="dark"] .topbar-search kbd, html[data-theme="dark"] .palette-hint kbd { border: 1px solid #3d3b38; background: #232220; color: #bfbdba; }
html[data-theme="dark"] .palette { background: #252321; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6); color: #dedddb; }
html[data-theme="dark"] .palette::backdrop { background: rgba(171, 191, 224, 0.3); }
html[data-theme="dark"] .palette-field { color: #aba9a4; }
html[data-theme="dark"] .palette-group { color: #aba9a4; }
html[data-theme="dark"] .palette-option small { color: #b6b4b0; }
html[data-theme="dark"] .palette-option[aria-selected="true"] { background: #14263d; box-shadow: inset 3px 0 0 #3276cd; }
html[data-theme="dark"] .palette-empty { color: #b6b4b0; }
html[data-theme="dark"] .palette-hint { color: #aba9a4; }
@media (max-width: 960px) {
  html[data-theme="dark"] .view-toc { box-shadow: 0 -10px 0 #42403c, 0 8px 22px -16px rgba(0, 0, 0, 0.6); }
}
html[data-theme="dark"] .admin-app .sim-map-card .sim-legend .none::before { background: repeating-linear-gradient(45deg, #4e4c48 0 3px, #64615c 3px 6px); border: 1px solid #55534f; }
html[data-theme="dark"] .map-tip { background: #262420; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.6); color: #f3f2f2; }
html[data-theme="dark"] .map-tip strong { color: #f3f2f2; }
html[data-theme="dark"] .admin-app .cand-card { border: 1px solid #3e3d39; background: #242320; }
html[data-theme="dark"] .admin-app .cand-card legend { color: #dbdad8; }
html[data-theme="dark"] .cand-avatar { background: #21201e; color: #bdbbb7; }
html[data-theme="dark"] .cand-photo-actions small { color: #aba9a4; }
html[data-theme="dark"] .cand-clear { color: #d97d77; }
html[data-theme="dark"] .cand-sum { color: #bfbdba; }
html[data-theme="dark"] .cand-sum.error { color: #d97d77; }
html[data-theme="dark"] .cand-preview { border: 1px dashed #3b3936; background: #252321; }
html[data-theme="dark"] .cand-preview figcaption { color: #aba9a4; }
html[data-theme="dark"] .cand-preview-race { color: #dbdad8; }
html[data-theme="dark"] .cand-side { color: #f3f2f2; }
html[data-theme="dark"] .cand-side.rest { background: repeating-linear-gradient(45deg, #21201e 0 4px, #232220 4px 8px); }
html[data-theme="dark"] .cand-preview-meta { color: #b6b4b0; }
html[data-theme="dark"] .media-source { background: #252321; }
html[data-theme="dark"] .media-source i { background: #403e39; }
html[data-theme="dark"] .media-source.off i { background: #4d4a45; }
html[data-theme="dark"] .media-source strong { color: #e0dfdd; }
html[data-theme="dark"] .media-source small { color: #aba9a4; }
html[data-theme="dark"] .media-source.off { color: #96938d; }
html[data-theme="dark"] .media-notice { background: #3d2f14; color: #dfd3bd; }
html[data-theme="dark"] .media-alert { border-left: 4px solid #55534f; background: #252321; }
html[data-theme="dark"] .media-alert-head time { color: #aba9a4; }
html[data-theme="dark"] .media-kind { background: #22211f; color: #e0dfdd; }
html[data-theme="dark"] .media-kind.mayor { background: #312e2a; color: #f3f2f2; }
html[data-theme="dark"] .media-event { color: #bfbdba; }
html[data-theme="dark"] .media-alert-who { color: #bfbdba; }
html[data-theme="dark"] .media-alert-summary { color: #dedddb; }
html[data-theme="dark"] .media-alert-reason { color: #b6b4b0; }
html[data-theme="dark"] .media-alert-points { color: #b6b4b0; }
html[data-theme="dark"] .media-link { color: #74a2dd; }
html[data-theme="dark"] .media-compare-table td > small { color: #aba9a4; }
html[data-theme="dark"] .media-none { color: #96938d; }
html[data-theme="dark"] .media-mover-who small { color: #aba9a4; }
html[data-theme="dark"] .media-tone { background: #22211f; color: #bfbdba; }
html[data-theme="dark"] .media-item { background: #252321; }
html[data-theme="dark"] .media-item-meta { color: #aba9a4; }
html[data-theme="dark"] .media-src { background: #22211f; color: #e0dfdd; }
html[data-theme="dark"] .media-item-title { color: #e0dfdd; }
html[data-theme="dark"] .media-item-summary { color: #cecdca; }
html[data-theme="dark"] .media-chip { background: #22211f; color: #bfbdba; }
html[data-theme="dark"] .live-cross { border-left: 4px solid #55534f; background: #252321; }
html[data-theme="dark"] .live-cross-head { color: #aba9a4; }
html[data-theme="dark"] .live-cross-what { color: #cecdca; }
html[data-theme="dark"] .live-cross small { color: #aba9a4; }
html[data-theme="dark"] .live-summary { background: #252321; }
html[data-theme="dark"] .live-summary h4 { color: #e0dfdd; }
html[data-theme="dark"] .live-stat { background: #232220; }
html[data-theme="dark"] .live-stat strong { color: #e0dfdd; }
html[data-theme="dark"] .live-stat span { color: #b6b4b0; }
html[data-theme="dark"] .live-move small { color: #aba9a4; }
html[data-theme="dark"] .live-table td > small { color: #aba9a4; }
html[data-theme="dark"] .media-sources-box > summary { background: #252321; color: #bfbdba; }
html[data-theme="dark"] .media-office { background: #252321; }
html[data-theme="dark"] .media-office:hover { border-color: #55534f; }
html[data-theme="dark"] .media-office.is-active { border-color: #b5b3b0; box-shadow: inset 0 0 0 1px #b5b3b0, 0 10px 24px -18px rgba(0, 0, 0, 0.6); }
html[data-theme="dark"] .media-office-head strong { color: #e0dfdd; }
html[data-theme="dark"] .media-office-head small { color: #aba9a4; }
html[data-theme="dark"] .media-office-label { color: #b6b4b0; }
html[data-theme="dark"] .media-office-bar { background: #22211f; }
html[data-theme="dark"] .media-office-nums { color: #cecdca; }
html[data-theme="dark"] .media-office-foot { color: #aba9a4; }
html[data-theme="dark"] .media-office-foot .hot { color: #e0dfdd; }
html[data-theme="dark"] .media-office-foot .warm { color: #f2ba5f; }
html[data-theme="dark"] .media-tabs { background: #21201e; }
html[data-theme="dark"] .media-tabs button { color: #c8c7c3; }
html[data-theme="dark"] .media-tabs button:hover:not([aria-selected="true"]) { background: #1f1e1c; }
html[data-theme="dark"] .media-tabs button[aria-selected="true"] { background: #36332e; color: #f3f2f2; }
html[data-theme="dark"] .media-tabs button b { color: #f3f2f2; }
html[data-theme="dark"] .media-legend { color: #b6b4b0; }
html[data-theme="dark"] .race-group-head h3 { color: #e0dfdd; }
html[data-theme="dark"] .race-group-head span { color: #b6b4b0; }
html[data-theme="dark"] .race-line.rebaso td:first-child { box-shadow: inset 3px 0 0 #b5b3b0; }
html[data-theme="dark"] .media-status-badge { background: #22211f; color: #bfbdba; }
html[data-theme="dark"] .media-status-badge.rebaso { background: #312e2a; color: #f3f2f2; }
html[data-theme="dark"] .media-status-badge.disputa { background: #3b2e14; color: #f2ba5f; }
html[data-theme="dark"] .media-status-badge.cerrada { background: #21201e; color: #c8c7c3; }
html[data-theme="dark"] .media-status-badge.consenso.dem { background: #14263c; color: #72a5de; }
html[data-theme="dark"] .media-status-badge.consenso.rep { background: #3b1915; color: #db7c75; }
html[data-theme="dark"] .media-status-badge.sin { color: #96938d; }
html[data-theme="dark"] .live-table td > .media-status-badge + small { color: #aba9a4; }
html[data-theme="dark"] .media-h3 { color: #e0dfdd; }
html[data-theme="dark"] .media-h3 small { color: #aba9a4; }
html[data-theme="dark"] .media-viral-card { border-top: 4px solid #b5b3b0; background: #252321; }
html[data-theme="dark"] .media-viral-card.x { border-top-color: #b5b3b0; }
html[data-theme="dark"] .media-viral-card.instagram { border-top-color: #c83789; }
html[data-theme="dark"] .media-viral-card.tiktok { border-top-color: #28d0d7; }
html[data-theme="dark"] .media-viral-card.youtube { border-top-color: #e82117; }
html[data-theme="dark"] .media-viral-card h4 { color: #e0dfdd; }
html[data-theme="dark"] .media-viral-count { color: #cecdca; }
html[data-theme="dark"] .media-viral-top { color: #b6b4b0; }
html[data-theme="dark"] .media-viral-link { color: #e0dfdd; }
html[data-theme="dark"] .media-viral-card li small { color: #aba9a4; }
html[data-theme="dark"] .social-link { color: #e0dfdd; }
html[data-theme="dark"] .social-link:hover { background: #22211f; }
html[data-theme="dark"] .social-link.x { border-color: #383733; }
html[data-theme="dark"] .social-link.facebook { border-color: #3b3936; }
html[data-theme="dark"] .social-link.instagram { border-color: #3a3935; }
html[data-theme="dark"] .social-link.tiktok { border-color: #393734; }
html[data-theme="dark"] .social-link.youtube { border-color: #3a3935; }
html[data-theme="dark"] .media-accounts-table td > small { color: #aba9a4; }
html[data-theme="dark"] .media-platform { background: #29153e; color: #ab7bd6; }
html[data-theme="dark"] .od-n { color: #aba9a4; }
html[data-theme="dark"] .od-more { border-top: 1px solid #403e3a; }
html[data-theme="dark"] .od-more > summary { color: #74a2dd; }
html[data-theme="dark"] .sim-od-context { background: #232220; }
html[data-theme="dark"] .sim-od-undecided { border-left: 3px solid #55534f; background: #22211f; color: #c9c8c4; }
html[data-theme="dark"] .sim-od-title, html[data-theme="dark"] .sim-od-name strong { color: #e0dfdd; }
html[data-theme="dark"] .sim-od-stat { background: #201f1d; }
html[data-theme="dark"] .sim-od-stat b, html[data-theme="dark"] .sim-od-lead b, html[data-theme="dark"] .sim-od-bar b { color: #e0dfdd; }
html[data-theme="dark"] .sim-od-stat.ok b { color: #9fd3b2; }
html[data-theme="dark"] .sim-od-stat.warn b { color: #dcb775; }
html[data-theme="dark"] .sim-od-lead .dem b { color: #7fb0e8; }
html[data-theme="dark"] .sim-od-lead .rep b { color: #ec8f86; }
html[data-theme="dark"] .sim-od-tag { background: #201f1d; color: #bfbdba; }
html[data-theme="dark"] .sim-od-tag.ok { background: #1b3424; color: #c1e1cd; }
html[data-theme="dark"] .sim-od-tag.warn { background: #3b2e14; color: #dcb775; }
html[data-theme="dark"] .sim-od-ask { color: #bfbdba; }
html[data-theme="dark"] .sim-od-label { color: #d6d5d2; }
html[data-theme="dark"] .sim-od-track i { background: #7a7772; }
html[data-theme="dark"] .media-scope { border: 1px solid #3d3b38; background: #232220; }
html[data-theme="dark"] .media-scope-text { color: #bfbdba; }
html[data-theme="dark"] .media-scope-text strong { color: #e0dfdd; }
html[data-theme="dark"] .media-board-head .media-board-key { color: #b6b4b0; }
html[data-theme="dark"] .media-mover-title { color: #e0dfdd; }
html[data-theme="dark"] .media-mover-title small { color: #aba9a4; }
html[data-theme="dark"] .media-mover-card { background: #252321; }
html[data-theme="dark"] .media-mover-card:hover { border-color: #55534f; }
html[data-theme="dark"] .media-mover-head .media-mover-who small { color: #aba9a4; }
html[data-theme="dark"] .media-event-chip { border: 1px solid #3e3d39; background: #232220; color: #bfbdba; }
html[data-theme="dark"] .media-event-chip b { color: #e0dfdd; }
html[data-theme="dark"] .media-area-mid { stroke: #3d3b38; }
html[data-theme="dark"] .media-area .media-area-stop-bottom { stop-color: #252321; }
html[data-theme="dark"] .media-mover-foot { color: #aba9a4; }
html[data-theme="dark"] .media-switch { color: #bfbdba; }
html[data-theme="dark"] .media-switch-track { background: #524f49; }
html[data-theme="dark"] .media-switch-track::after { background: #252321; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.54); }
html[data-theme="dark"] .social-icon { color: #c8c7c3; }
html[data-theme="dark"] .social-icon:hover { border-color: #55534f; background: #232220; color: #e0dfdd; }
html[data-theme="dark"] .live-side-title { color: #e0dfdd; }
html[data-theme="dark"] .live-side-hint { color: #aba9a4; }
html[data-theme="dark"] button.live-move:hover { background: #232220; }
html[data-theme="dark"] .live-state-title h4 { color: #e0dfdd; }
html[data-theme="dark"] .live-state-code { background: #312e2a; color: #f3f2f2; }
html[data-theme="dark"] .live-state-close { color: #bfbdba; }
html[data-theme="dark"] .live-state-close:hover { background: #232220; }
html[data-theme="dark"] .live-state-summary { color: #aba9a4; }
html[data-theme="dark"] .live-state-race { background: #242320; }
html[data-theme="dark"] .live-state-race-head > strong { color: #e0dfdd; }
html[data-theme="dark"] .live-state-match { color: #aba9a4; }
html[data-theme="dark"] .live-metric dt { color: #aba9a4; }
html[data-theme="dark"] .live-metric-value { color: #bfbdba; }
html[data-theme="dark"] .live-side-sub { color: #e0dfdd; }
html[data-theme="dark"] .live-news-link { color: #73a8de; }
html[data-theme="dark"] .live-state-news small { color: #aba9a4; }
html[data-theme="dark"] .media-variation { background: #252321; }
html[data-theme="dark"] .media-variation.is-on { background: #3f3115; }
html[data-theme="dark"] .media-variation-label { color: #e0dfdd; }
html[data-theme="dark"] .media-variation-count { color: #b6b4b0; }
html[data-theme="dark"] .media-variation.is-on .media-variation-count { color: #ebbb66; }
html[data-theme="dark"] .media-variation-clear { color: #73a8de; }
html[data-theme="dark"] .media-variation-clear:hover { background: #232220; }
html[data-theme="dark"] .health-list .health-group { color: #aba9a4; }
html[data-theme="dark"] .toast { border: 1px solid #403e3a; background: #252321; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6); }
html[data-theme="dark"] .toast-body::before { box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.288); }
html[data-theme="dark"] .toast.stale .toast-body::before { box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.324); }
html[data-theme="dark"] .toast.ok .toast-body::before { box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.288); }
html[data-theme="dark"] .toast-body strong { color: #e0dfdd; }
html[data-theme="dark"] .toast-body span { color: #b6b4b0; }
html[data-theme="dark"] .toast-close { color: #aba9a4; }
html[data-theme="dark"] .toast-close:hover { background: #22211f; }
html[data-theme="dark"] .sim-blend-cell { background: #232220; }
html[data-theme="dark"] .sim-blend-cell span { color: #c5c3c0; }
html[data-theme="dark"] .sim-blend-cell strong { color: #dad8d6; }
html[data-theme="dark"] .sim-blend-cell.is-result { border-color: #b5b3b0; background: #3d3c39; }
html[data-theme="dark"] .sim-blend-cell.is-result span, html[data-theme="dark"] .sim-blend-cell.is-result small { color: #f3f2f2; }
html[data-theme="dark"] .sim-blend-cell.is-result strong { color: #f3f2f2; }
html[data-theme="dark"] .notif-toggle { background: #252321; color: #c8c7c3; }
html[data-theme="dark"] .notif-toggle:hover { border-color: #55534f; background: #232220; }
html[data-theme="dark"] .notif-count { border: 2px solid #43413d; color: #f3f2f2; }
html[data-theme="dark"] .notif-scrim { background: rgba(171, 191, 224, 0.3); }
html[data-theme="dark"] .notif-panel { background: #252321; box-shadow: 0 28px 64px -24px rgba(0, 0, 0, 0.6); }
html[data-theme="dark"] .notif-head h2 { color: #e0dfdd; }
html[data-theme="dark"] .notif-head p { color: #b6b4b0; }
html[data-theme="dark"] .notif-close { color: #b6b4b0; }
html[data-theme="dark"] .notif-close:hover { background: #22211f; }
html[data-theme="dark"] .notif-chip { background: #252321; color: #cecdca; }
html[data-theme="dark"] .notif-chip b { color: #aba9a4; }
html[data-theme="dark"] .notif-chip:hover { border-color: #55534f; }
html[data-theme="dark"] .notif-chip[aria-pressed="true"] { border-color: #b5b3b0; background: #35332e; color: #f3f2f2; }
html[data-theme="dark"] .notif-chip[aria-pressed="true"] b { color: #f3f2f2; }
html[data-theme="dark"] .notif-select select { background-color: #252321; color: #dad8d6; }
html[data-theme="dark"] .notif-parties { background: #22211f; }
html[data-theme="dark"] .notif-seg { color: #c1bfbc; }
html[data-theme="dark"] .notif-seg[aria-pressed="true"] { background: #252321; color: #e0dfdd; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.288); }
html[data-theme="dark"] .notif-seg.dem[aria-pressed="true"] { color: #6992e7; }
html[data-theme="dark"] .notif-seg.rep[aria-pressed="true"] { color: #d87e78; }
html[data-theme="dark"] .notif-status { color: #aba9a4; }
html[data-theme="dark"] .notif-status.is-error { color: #d97d77; }
html[data-theme="dark"] .notif-day { background: #252321; color: #aba9a4; }
html[data-theme="dark"] .notif-icon { background: rgba(36, 94, 152, 0.1); color: #73a8de; }
html[data-theme="dark"] .notif-item.up .notif-icon { background: rgba(31, 138, 91, 0.12); color: #70e1af; }
html[data-theme="dark"] .notif-item.down .notif-icon { background: rgba(198, 71, 63, 0.12); color: #d87e78; }
html[data-theme="dark"] .notif-item.flip .notif-icon { background: rgba(201, 138, 20, 0.15); color: #eebc63; }
html[data-theme="dark"] .notif-item.sev-alta.up .notif-icon { color: #f3f2f2; }
html[data-theme="dark"] .notif-item.sev-alta.down .notif-icon { color: #f3f2f2; }
html[data-theme="dark"] .notif-item.sev-alta.flip .notif-icon { color: #f3f2f2; }
html[data-theme="dark"] .notif-title { color: #e0dfdd; }
html[data-theme="dark"] .notif-party { background: #3a3834; color: #f3f2f2; }
html[data-theme="dark"] .notif-body { color: #c1bfbc; }
html[data-theme="dark"] .notif-links a { color: #73a8de; }
html[data-theme="dark"] .notif-meta { color: #aba9a4; }
html[data-theme="dark"] .notif-kind { color: #cecdca; }
html[data-theme="dark"] .notif-platform { background: #22211f; color: #cecdca; }
html[data-theme="dark"] .notif-go { color: #73a8de; }
html[data-theme="dark"] .notif-go:hover { border-color: #55534f; background: #232220; }
html[data-theme="dark"] .notif-empty strong { color: #e0dfdd; }
html[data-theme="dark"] .notif-empty p { color: #b6b4b0; }
html[data-theme="dark"] .live-state-alerts button { color: #e0dfdd; }
html[data-theme="dark"] .live-state-alerts small { color: #aba9a4; }
html[data-theme="dark"] .live-state-alerts .down button { color: #d87e78; }
html[data-theme="dark"] .live-state-alerts .up button { color: #70e1af; }
html[data-theme="dark"] .home-verdict { background: #312e2a; color: #f3f2f2; }
html[data-theme="dark"] .home-verdict-title { color: #f3f2f2; }
html[data-theme="dark"] .home-ledger-bar { background: #403e3a; }
html[data-theme="dark"] .home-ledger-bar .toss { background: #3b3935; }
html[data-theme="dark"] .home-ledger-bar .oth { background: #362451; }
html[data-theme="dark"] .home-ledger { color: #f3f2f2; }
html[data-theme="dark"] .home-ledger b { color: #f3f2f2; }
html[data-theme="dark"] .home-verdict-meta { border-top: 1px solid rgba(69, 67, 63, 0.12); color: #7e7a74; }
html[data-theme="dark"] .home-sub { color: #e0dfdd; }
html[data-theme="dark"] .home-office { background: #252321; }
html[data-theme="dark"] .home-office:hover { border-color: #55534f; box-shadow: 0 6px 16px -10px rgba(0, 0, 0, 0.6); }
html[data-theme="dark"] .home-office-name { color: #e0dfdd; }
html[data-theme="dark"] .home-col b { color: #e0dfdd; }
html[data-theme="dark"] .home-col.toss b { color: #b9b7b3; }
html[data-theme="dark"] .home-changes-table tbody th { color: #e0dfdd; }
html[data-theme="dark"] .home-changes-table td b { color: #e0dfdd; }
html[data-theme="dark"] .home-delta.up { background: #193626; color: #70e1af; }
html[data-theme="dark"] .home-delta.down { background: #3d1914; color: #d6807b; }
html[data-theme="dark"] .home-battles-head h2 { color: #e0dfdd; }
html[data-theme="dark"] .battle-button { background: #252321; }
html[data-theme="dark"] .battle-button:hover { border-color: #55534f; box-shadow: 0 10px 26px -14px rgba(0, 0, 0, 0.6); }
html[data-theme="dark"] .battle-race b { color: #cecdca; }
html[data-theme="dark"] .battle-match { color: #e0dfdd; }
html[data-theme="dark"] .battle-lead .sen-avatar { box-shadow: 0 0 0 2px #45433f, 0 0 0 4px var(--c); }
html[data-theme="dark"] .battle.toss .battle-odds strong { color: #c4c2bf; }
html[data-theme="dark"] .battle-name { color: #cecdca; }
html[data-theme="dark"] .battle-track { background: #22211f; }
html[data-theme="dark"] .battle-bar b { color: #e0dfdd; }
html[data-theme="dark"] .battle-stats dd { color: #e0dfdd; }
html[data-theme="dark"] .battle-stats .up dd { color: #70e1af; }
html[data-theme="dark"] .battle-stats .down dd { color: #d6807b; }
html[data-theme="dark"] .battle-stats .flip dd { color: #eebc63; }
html[data-theme="dark"] .page-backdrop .hero .eyebrow { color: rgba(243, 242, 242, 0.72); }
html[data-theme="dark"] .page-backdrop .map-band .map-card { border: 1px solid #3f3d39; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.072), 0 18px 40px -28px rgba(0, 0, 0, 0.45); }
html[data-theme="dark"] .page-backdrop .map-stat.hot strong { color: #ea678a; }
html[data-theme="dark"] .page-backdrop .map-card .tab { border-color: #3f3d39; background: #252321; color: #d0cecc; }
html[data-theme="dark"] .page-backdrop .map-card .tab:hover { border-color: #55534f; background: #232220; }
html[data-theme="dark"] .page-backdrop .map-card .tab.active { color: #f3f2f2; }
html[data-theme="dark"] .page-backdrop .map-state.democrat.tier-close, html[data-theme="dark"] .page-backdrop .legend-swatch.democrat.tier-close { fill: #29496d; background: #29496d; }
html[data-theme="dark"] .page-backdrop .map-state.democrat.tier-lean, html[data-theme="dark"] .page-backdrop .legend-swatch.democrat.tier-lean { fill: #213a57; background: #213a57; }
html[data-theme="dark"] .page-backdrop .map-state.democrat, html[data-theme="dark"] .page-backdrop .map-card .legend-swatch.democrat { fill: #213a57; background: #213a57; }
html[data-theme="dark"] .page-backdrop .map-state.republican.tier-close, html[data-theme="dark"] .page-backdrop .legend-swatch.republican.tier-close { fill: #6e342a; background: #6e342a; }
html[data-theme="dark"] .page-backdrop .map-state.republican.tier-lean, html[data-theme="dark"] .page-backdrop .legend-swatch.republican.tier-lean { fill: #592a22; background: #592a22; }
html[data-theme="dark"] .page-backdrop .map-state.republican, html[data-theme="dark"] .page-backdrop .map-card .legend-swatch.republican { fill: #592a22; background: #592a22; }
html[data-theme="dark"] .page-backdrop .map-state.split, html[data-theme="dark"] .page-backdrop .map-card .legend-swatch.split { fill: #4c3a4e; background: #4c3a4e; }
html[data-theme="dark"] .page-backdrop .rank-tier.close, html[data-theme="dark"] .page-backdrop .rank-tier.tie { color: #ea678a; }
html[data-theme="dark"] .page-backdrop .hero h1 em { color: #6a6762; -webkit-text-fill-color: #6a6762; }
html[data-theme="dark"] .page-backdrop .hero .eyebrow { border: 1px solid rgba(69, 67, 63, 0.55); background: rgba(37, 35, 33, 0.04); color: rgba(243, 242, 242, 0.86); }
html[data-theme="dark"] .page-backdrop .hero .hero-copy > p:not(.eyebrow) { color: #f3f2f2; }
html[data-theme="dark"] .page-backdrop .projection-slide.first .projection-rank, html[data-theme="dark"] .page-backdrop .projection-slide.compact .projection-rank { border: 2px solid #b5b3b0; background: #61605e; color: #f3f2f2; }
