
:root {
  color-scheme: light;
  --paper: #fffdf7;
  --paper-2: #f4f1e8;
  --paper-3: #ece8dc;
  --ink: #0a0a0a;
  --rule-soft: #d8d3c6;
  --muted: #565248;
  --faint: #8a857a;
  --blue: #1452ff;
  --blue-ink: #0b2fb0;
  --red: #ee2b3a;
  --red-ink: #c01622;
  --yellow: #ffd23f;

  --safe-d: #0b2fb0;
  --likely-d: #1452ff;
  --lean-d: #8fa9ff;
  --toss: #ffd23f;
  --lean-r: #ff9aa2;
  --likely-r: #ee2b3a;
  --safe-r: #a3101b;
  --not-up-d: #1d2a6b;
  --not-up-r: #6b1015;
  --no-race: #ece8dc;

  --display: "Anton", "Arial Narrow", sans-serif;
  --sans: "Public Sans", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans);
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--yellow); color: var(--ink); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--ink); border: 3px solid var(--paper-2); border-radius: 2px; }
a { color: var(--blue-ink); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); padding: 8px 12px; font-weight: 800; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

.topbar { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 2px solid var(--ink); }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand__logo { width: 38px; height: 38px; border: 2px solid var(--ink); image-rendering: pixelated; display: block; background: var(--paper-2); }
.brand__words { display: flex; flex-direction: column; gap: 5px; }
.brand__name { font-family: var(--display); font-size: 22px; line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
.tricolor { display: block; height: 6px; border: 2px solid var(--ink); background: linear-gradient(90deg, var(--blue) 0 33.33%, #fff 33.33% 66.66%, var(--red) 66.66% 100%); }
.topnav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.topnav a { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; padding: 10px 2px; border-bottom: 3px solid transparent; }
.topnav a:hover { border-bottom-color: var(--blue); }
.stamp { font-family: var(--mono); font-size: 12px; font-weight: 600; border: 2px solid var(--ink); background: var(--paper-2); padding: 5px 10px; font-variant-numeric: tabular-nums; }
.scenario-stamp--demo { background: var(--yellow); }

.section-title { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 28px; line-height: 1.05; letter-spacing: .01em; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; margin-bottom: 14px; }
.section-aside { margin: 0; color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.is-d { color: var(--blue-ink); }
.is-r { color: var(--red-ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px;
  border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); border-radius: 2px; cursor: pointer;
  font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: 14px;
  transition: transform .1s ease, box-shadow .1s ease, background .12s ease;
}
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: #0b3fe0; }
.btn--ink { background: var(--paper); color: var(--ink); }
.btn--ink:hover { background: var(--paper-2); }
.chip {
  display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 4px 10px; cursor: pointer;
  border: 2px solid var(--ink); border-radius: 2px; background: var(--paper); font-size: 13px; font-weight: 600;
  font-variant-numeric: tabular-nums; transition: background .12s ease;
}
.chip:hover { background: var(--paper-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chip b { font-weight: 800; }
.swatch { width: 14px; height: 14px; border: 2px solid var(--ink); flex: none; background: var(--fill, var(--no-race)); }
.chip[aria-pressed="true"] .swatch { border-color: var(--paper); }

.rating-Safe-D { --fill: var(--safe-d); --on: #fff; }
.rating-Likely-D { --fill: var(--likely-d); --on: #fff; }
.rating-Lean-D { --fill: var(--lean-d); --on: var(--ink); }
.rating-Toss-up { --fill: var(--toss); --on: var(--ink); }
.rating-Lean-R { --fill: var(--lean-r); --on: var(--ink); }
.rating-Likely-R { --fill: var(--likely-r); --on: #fff; }
.rating-Safe-R { --fill: var(--safe-r); --on: #fff; }
.rating-No-data { --fill: var(--paper-3); --on: var(--ink); }
.rating-No-election { --fill: var(--no-race); --on: var(--muted); }

main { padding-top: 40px; padding-bottom: 72px; }
.hero {
  padding-bottom: 36px; border-bottom: 2px solid var(--ink);
}
.odds { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--ink); box-shadow: var(--shadow); background: var(--paper); }
.odds__side { padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.odds__side--d { border-right: 2px solid var(--ink); }
.odds__side--r { text-align: right; }
.odds__label { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.odds__value { font-family: var(--display); font-weight: 400; font-size: clamp(54px, 6vw, 84px); line-height: 1; font-variant-numeric: tabular-nums; }
.odds__side--d .odds__value { color: var(--blue); }
.odds__side--r .odds__value { color: var(--red); }
.odds__note { grid-column: 1 / -1; margin: 0; border-top: 2px solid var(--ink); background: var(--paper-2); padding: 10px 22px; font-size: 14px; font-variant-numeric: tabular-nums; }

.seats { padding: 32px 0 40px; }
.seat-strip {
  position: relative; display: grid; grid-template-columns: repeat(100, minmax(0, 1fr)); gap: 2px;
  border: 2px solid var(--ink); background: var(--ink); padding: 3px;
}
.seat { height: 44px; background: var(--fill); }
.seat--safe-d { --fill: var(--not-up-d); }
.seat--safe-r { --fill: var(--not-up-r); }
.seat--tipping { outline: 3px solid var(--paper); outline-offset: -5px; }
.seat-strip::after {
  content: ""; position: absolute; left: 50%; top: -12px; bottom: -12px; width: 3px; transform: translateX(-50%);
  background: var(--yellow); border: 1px solid var(--ink);
}
.seat-key { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-variant-numeric: tabular-nums; }
.seat-key__line { background: var(--yellow); border: 2px solid var(--ink); padding: 1px 6px; }

.outcomes { padding: 0 0 40px; }
.outcomes__frame { border: 2px solid var(--ink); background: var(--paper); box-shadow: var(--shadow); padding: 18px 20px 14px; }
.outcomes__readout { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; min-height: 44px; margin-bottom: 20px; font-variant-numeric: tabular-nums; }
.outcomes__seats { font-family: var(--display); font-size: 30px; line-height: 1; text-transform: uppercase; }
.outcomes__seats .d { color: var(--blue); }
.outcomes__seats .r { color: var(--red); }
.outcomes__chance { font-family: var(--mono); font-size: 20px; font-weight: 600; }
.outcomes__note { color: var(--muted); font-size: 14px; }
.outcomes__plot { position: relative; height: 220px; border-bottom: 2px solid var(--ink); }
.outcomes__grid { position: absolute; inset: 0; pointer-events: none; }
.outcomes__gridline { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--rule-soft); }
.outcomes__gridline span { position: absolute; left: 0; top: -17px; font-family: var(--mono); font-size: 11px; color: var(--faint); }
.outcomes__band { position: absolute; top: 0; bottom: 0; background: var(--paper-2); border-left: 1px solid var(--rule-soft); border-right: 1px solid var(--rule-soft); pointer-events: none; }
.outcomes__band span { position: absolute; top: 4px; right: 6px; font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.outcomes__bars { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 2px; }
.outcomes__bar { flex: 1 1 0; min-width: 0; height: 100%; display: flex; align-items: flex-end; cursor: pointer; background: none; border: 0; padding: 0; }
.outcomes__bar span { display: block; width: 100%; background: var(--fill); min-height: 1px; transition: filter .12s; }
.outcomes__bar--d { --fill: var(--blue); }
.outcomes__bar--r { --fill: var(--red); }
.outcomes__bar:hover span, .outcomes__bar[aria-pressed="true"] span { filter: brightness(.78); box-shadow: inset 0 0 0 2px var(--ink); }
.outcomes__majority { position: absolute; top: 0; bottom: -2px; width: 0; border-left: 3px solid var(--ink); pointer-events: none; }
.outcomes__majority span { position: absolute; top: 4px; left: 4px; white-space: nowrap; background: var(--yellow); border: 2px solid var(--ink); padding: 0 5px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.outcomes__axis { position: relative; height: 22px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.outcomes__axis span { position: absolute; top: 4px; transform: translateX(-50%); }
.outcomes__key { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin-top: 6px; font-size: 13px; font-weight: 600; }
.outcomes__swatch::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; background: var(--fill); border: 1px solid var(--ink); }
.outcomes__swatch--d { --fill: var(--blue); }
.outcomes__swatch--r { --fill: var(--red); }
.outcomes__axis-label { margin-left: auto; color: var(--muted); font-family: var(--mono); font-weight: 400; font-size: 12px; }

.workspace { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.panel { background: var(--paper); border: 2px solid var(--ink); box-shadow: var(--shadow); }
.map-panel { flex: 999 1 640px; min-width: 0; }
.panel__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 2px solid var(--ink); }
.panel__head .section-title { font-size: 26px; }
.state-map-wrap { padding: 18px 18px 6px; }
.state-map { width: 100%; height: auto; display: block; }
.map-state {
  fill: var(--fill); stroke: var(--ink); stroke-width: 1.1; stroke-linejoin: round; vector-effect: non-scaling-stroke;
  cursor: pointer; transition: opacity .15s ease, filter .15s ease;
}
.map-state:hover { filter: brightness(1.08) saturate(1.1); }
.map-state:focus-visible { outline: none; stroke-width: 3.5; }
.map-state[aria-pressed="true"] { stroke-width: 3.5; filter: drop-shadow(3px 3px 0 var(--ink)); }
.map-state--dim { opacity: .18; }
.map-label { font-family: var(--sans); font-size: 11px; font-weight: 800; text-anchor: middle; dominant-baseline: central; pointer-events: none; fill: var(--on, var(--ink)); }
.map-foot { border-top: 2px solid var(--ink); padding: 12px 18px 14px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; }
.selection {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) auto auto; align-items: center; gap: 12px 20px;
  border-top: 2px solid var(--ink); background: var(--paper-2); padding: 12px 18px;
}
.selection__who { display: flex; flex-direction: column; min-width: 0; }
.selection__who strong { font-family: var(--display); font-weight: 400; font-size: 24px; text-transform: uppercase; line-height: 1.05; }
.selection__who span { font-size: 13px; color: var(--muted); }
.selection__matchup { font-size: 14px; }
.selection__margin { font-family: var(--display); font-weight: 400; font-size: 28px; font-variant-numeric: tabular-nums; }

.races { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.races .section-title { font-size: 26px; margin-bottom: 4px; }
.race-list { display: flex; flex-direction: column; gap: 14px; }
.race-card {
  display: flex; flex-direction: column; gap: 6px; width: 100%; text-align: left; cursor: pointer;
  border: 2px solid var(--ink); border-radius: 2px; background: var(--paper); box-shadow: var(--shadow-sm); padding: 12px 14px;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.race-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.race-card[aria-pressed="true"] { background: var(--paper-2); box-shadow: 6px 6px 0 var(--blue); }
.race-card--dim { opacity: .35; }
.race-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.race-card__name, .race-card__margin { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1; text-transform: uppercase; }
.race-card__margin { font-variant-numeric: tabular-nums; }
.race-card__matchup { font-size: 13px; color: var(--muted); }
.race-card__bar { display: flex; height: 12px; border: 2px solid var(--ink); background: var(--red); margin-top: 3px; }
.race-card__bar span { display: block; background: var(--blue); }
.race-card__foot { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.race-card__range { color: var(--muted); font-weight: 400; }
.races__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-size: 13px; color: var(--muted); }

.fold { margin-top: 32px; border: 2px solid var(--ink); background: var(--paper); }
.fold > summary {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; cursor: pointer; list-style: none;
  padding: 16px 20px; font-family: var(--display); font-size: 24px; text-transform: uppercase; line-height: 1.1;
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::before { content: "+"; font-family: var(--mono); font-size: 20px; width: 18px; }
.fold[open] > summary::before { content: "−"; }
.fold[open] > summary { border-bottom: 2px solid var(--ink); }
.fold > summary small { font-family: var(--sans); font-size: 14px; text-transform: none; color: var(--muted); font-weight: 600; }
.fold > summary:hover { background: var(--paper-2); }
.fold--quiet { border-width: 2px 0 0; margin-top: 24px; }
.fold--quiet > summary { font-size: 18px; padding: 14px 0; }
.fold--quiet > p { margin: 12px 0 0; font-size: 14px; color: var(--muted); max-width: 80ch; }

.track { padding: 20px 22px 18px; }
.track__lede { margin: 0 0 18px; color: var(--muted); font-size: 15px; max-width: 70ch; }
.track__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 640px; }
.track__block { min-width: 0; }
.track__title { margin: 0 0 10px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 20px; letter-spacing: .01em; }
.track__table-wrap { overflow-x: auto; }
.track__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; }
.track__table th { text-align: left; font-family: var(--mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-bottom: 2px solid var(--ink); padding: 6px 8px 6px 0; }
.track__table td { padding: 7px 8px 7px 0; border-bottom: 1px solid var(--rule-soft); font-family: var(--mono); }
.track__table td:first-child { font-family: var(--sans); font-weight: 800; }
.track__table tr.track__oos td { border-top: 2px solid var(--ink); border-bottom: 0; background: var(--paper-2); }
.track__note { margin: 10px 0 0; font-size: 14px; color: var(--muted); max-width: 70ch; }
.track > .track__note { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--rule-soft); }


.detail-panel { padding: 20px 22px 26px; }
.detail-heading { display: flex; align-items: center; gap: 10px; }
.detail-code { font-family: var(--mono); font-weight: 600; border: 2px solid var(--ink); padding: 2px 8px; }
.detail-rating { border: 2px solid var(--ink); padding: 2px 8px; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; background: var(--fill, var(--paper-2)); color: var(--on, var(--ink)); }
.detail-name { margin: 12px 0 0; font-family: var(--display); font-weight: 400; font-size: 40px; text-transform: uppercase; line-height: 1; }
.detail-intro { margin: 6px 0 0; color: var(--muted); }
.detail-candidates { margin: 16px 0 0; font-size: 17px; font-weight: 600; }
.detail-top { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 16px 32px; align-items: end; margin-top: 14px; }
.margin-display { display: flex; flex-direction: column; }
.margin-display span { font-family: var(--display); font-size: 64px; line-height: 1; font-variant-numeric: tabular-nums; }
.margin-display small { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.probability-header { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; }
.probability-header strong { font-family: var(--mono); }
.probability-track { height: 16px; border: 2px solid var(--ink); background: var(--red); margin-top: 6px; overflow: hidden; }
.probability-track span { display: block; height: 100%; background: var(--blue); transform-origin: left center; transform: scaleX(0); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.detail-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 20px 0 0; border: 2px solid var(--ink); }
.detail-facts > div { padding: 10px 14px; border-right: 2px solid var(--ink); }
.detail-facts > div:last-child { border-right: 0; }
.detail-facts dt { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.detail-facts dd { margin: 2px 0 0; font-family: var(--mono); font-size: 18px; font-weight: 600; }

.attribution h3 { margin: 26px 0 4px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 22px; }
.waterfall-scroll { overflow-x: auto; scrollbar-width: thin; }
.waterfall-scroll::-webkit-scrollbar { height: 6px; }
.waterfall-scroll::-webkit-scrollbar-thumb { border-width: 1px; }
.waterfall { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin-top: 14px; }
.wf-step { display: flex; flex-direction: column; min-width: 0; }
.wf-plot { position: relative; height: 176px; }
.wf-zero { position: absolute; left: -8px; right: -8px; height: 2px; background: var(--ink); }
.wf-connector { position: absolute; left: -8px; right: 0; height: 0; border-top: 2px dashed var(--faint); }
.wf-bar { position: absolute; left: 14%; right: 14%; background: var(--toss); border: 2px solid var(--ink); }
.wf-bar--up { background: var(--blue); }
.wf-bar--down { background: var(--red); }
.wf-bar--flat { background: var(--paper-3); }
.wf-bar--total { left: 6%; right: 6%; background: var(--paper-2); }
.wf-bar--total-d { left: 6%; right: 6%; background: var(--lean-d); }
.wf-bar--total-r { left: 6%; right: 6%; background: var(--lean-r); }
.wf-bar--thin { border: 0; min-height: 3px; }
.wf-bar--thin.wf-bar--total-d { background: var(--blue); }
.wf-bar--thin.wf-bar--total-r { background: var(--red); }
.wf-bar--final-d { left: 6%; right: 6%; background: var(--safe-d); }
.wf-bar--final-r { left: 6%; right: 6%; background: var(--safe-r); }
.wf-bar--none { left: 14%; right: 14%; height: 3px; border: 0; background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 10px); }
.wf-value { position: absolute; left: 0; right: 0; text-align: center; transform: translateY(-100%); padding-bottom: 3px; font-family: var(--mono); font-size: 12px; font-weight: 600; white-space: nowrap; }
.wf-value--up { color: var(--blue-ink); }
.wf-value--down { color: var(--red-ink); }
.wf-value--flat { color: var(--muted); }
.wf-value--total { color: var(--ink); }
.wf-value--none { color: var(--muted); font-weight: 400; }
.wf-foot { border-top: 2px solid var(--ink); padding: 7px 0 8px; margin-top: 9px; }
.wf-name { font-size: 12px; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.wf-detail { display: block; color: var(--muted); font-size: 11px; line-height: 1.35; margin-top: 2px; overflow-wrap: anywhere; }

.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 18px; padding-bottom: 36px; border-top: 2px solid var(--ink); font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .waterfall { min-width: 680px; }
  .waterfall-scroll { padding-bottom: 6px; }
  .selection { grid-template-columns: 1fr auto; }
  .selection__matchup { grid-column: 1 / -1; grid-row: 2; }
  .detail-top { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  main { padding-top: 24px; }
  .topbar { position: static; }
  .topbar__inner { padding-top: 10px; padding-bottom: 10px; }
  .brand__name { font-size: 19px; }
  .topnav { gap: 2px 14px; }
  .odds__side { padding: 12px; min-width: 0; }
  .odds__label { font-size: 10px; letter-spacing: 0; }
  .odds__value { font-size: 46px; }
  .outcomes__band span { display: none; }
  .odds__note { padding: 10px 14px; }
  .seat { height: 32px; }
  .seat-strip { gap: 1px; padding: 2px; }
  .seat-key { font-size: 11px; }
  .outcomes__frame { padding: 14px 12px 10px; box-shadow: var(--shadow-sm); }
  .track { padding: 16px 14px 14px; }
  .outcomes__plot { height: 170px; }
  .outcomes__bars { gap: 1px; }
  .outcomes__seats { font-size: 24px; }
  .outcomes__chance { font-size: 17px; }
  .outcomes__axis-label { margin-left: 0; }
  .state-map-wrap { padding: 8px; }
  .map-label { font-size: 22px; }
  .panel__head { padding: 12px; }
  .map-foot, .selection { padding-left: 12px; padding-right: 12px; }
  .detail-panel { padding-left: 14px; padding-right: 14px; }
  .detail-facts > div { border-right: 0; border-bottom: 2px solid var(--ink); }
  .detail-facts > div:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
