:root {
  --paper:#f6f5ef;
  --ink:#162e2b;
  --muted:#5d6965;
  --line:#d4dcd4;
  --green:#28685c;
  --lime:#d8ee9c;
  --white:#fffefa
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:30px
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
a {
  color:inherit;
  text-underline-offset:5px
}
a:hover {
  color:var(--green)
}
button,input,select {
  font:inherit
}
a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible {
  outline:3px solid var(--green);
  outline-offset:5px
}
header,main,footer {
  max-width:1320px;
  margin:auto;
  padding-left:48px;
  padding-right:48px
}
header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  min-height:102px;
  border-bottom:1px solid var(--line)
}
.brand {
  font-size:23px;
  font-weight:700;
  text-decoration:none;
  letter-spacing:-1px;
  white-space:nowrap
}
.brand-icon {
  display:inline-grid;
  place-items:center;
  background:var(--ink);
  color:var(--lime);
  width:32px;
  height:32px;
  border-radius:50%;
  font:italic 27px Georgia;
  margin-right:7px
}
.brand-fin {
  font-weight:400
}
nav {
  display:flex;
  gap:24px;
  font-size:14px
}
nav a {
  text-decoration:none;
  padding:9px 0
}
nav a[aria-current] {
  border-bottom:2px solid var(--green);
  font-weight:650
}
.lab-label {
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  white-space:nowrap
}
.lab-label span {
  display:inline-block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--green);
  margin-right:7px
}
.skip {
  position:absolute;
  top:-70px;
  background:white;
  padding:12px;
  z-index:10
}
.skip:focus {
  top:0
}
section {
  padding:72px 0;
  border-bottom:1px solid var(--line)
}
h1,h2,h3,p {
  margin-top:0
}
h1,h2 {
  font-family:Georgia,"Times New Roman",serif;
  font-weight:400;
  letter-spacing:-.045em;
  line-height:1.07
}
h1 {
  font-size:clamp(44px,5.3vw,76px);
  margin-bottom:26px
}
h1 em,h2 em {
  color:var(--green);
  font-weight:400
}
h2 {
  font-size:clamp(34px,3.5vw,49px);
  margin-bottom:24px
}
h3 {
  font-size:21px;
  line-height:1.3;
  letter-spacing:-.025em;
  margin-bottom:13px
}
p {
  margin-bottom:18px
}
.eyebrow {
  display:block;
  font-size:10px;
  line-height:1.5;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:700;
  color:var(--green);
  margin-bottom:20px
}
.lead {
  font-size:19px;
  line-height:1.7;
  color:var(--muted);
  max-width:650px
}
.hero {
  display:grid;
  grid-template-columns:1.6fr 1fr;
  gap:65px;
  align-items:center;
  padding:80px 0
}
.actions {
  display:flex;
  gap:25px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:30px
}
.button {
  display:inline-flex;
  gap:35px;
  align-items:center;
  background:var(--ink);
  color:var(--white);
  text-decoration:none;
  padding:15px 23px;
  border-radius:3px;
  font-size:14px;
  font-weight:600
}
.button:hover {
  background:var(--green);
  color:white
}
.text-link {
  font-weight:600;
  font-size:14px
}
.hero-note {
  background:#e9eddf;
  padding:30px 32px;
  border-radius:4px
}
.cycle {
  padding:0;
  list-style:none;
  margin:0
}
.cycle li {
  display:flex;
  gap:21px;
  padding:14px 0;
  border-bottom:1px solid #cbd4c1
}
.cycle li>span {
  font:italic 23px Georgia;
  color:#526c55
}
.cycle strong {
  font-size:15px
}
.cycle p {
  font-size:13px;
  color:var(--muted);
  margin:4px 0 8px
}
.note-bottom {
  font-size:12px;
  margin-top:20px;
  color:var(--muted)
}
.status-strip {
  padding:30px 0;
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:32px;
  align-items:center
}
.status-strip strong {
  font-family:Georgia;
  font-size:40px;
  line-height:1.2;
  display:block;
  font-weight:400
}
.status-strip span:not(.eyebrow) {
  display:block;
  font-size:12px;
  color:var(--muted);
  max-width:160px;
  margin-top:8px
}
.status-strip p,.status-strip .eyebrow {
  margin-bottom:5px
}
.section-heading {
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:70px;
  align-items:end;
  margin-bottom:32px
}
.section-heading>p {
  color:var(--muted);
  max-width:460px
}
.section-heading h2 {
  margin-bottom:0
}
.agent-grid,.three-columns {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px
}
.agent-card {
  background:var(--white);
  border:1px solid var(--line);
  border-radius:5px;
  padding:28px;
  display:flex;
  flex-direction:column
}
.avatar {
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border-radius:50%;
  font:27px Georgia;
  margin-bottom:28px;
  background:#dce4cf
}
.avatar-behaviorist {
  background:#e4dcee
}
.avatar-skeptic {
  background:#e7dec8
}
.agent-card h3 {
  font:34px Georgia
}
.agent-card .eyebrow {
  margin-bottom:9px;
  font-size:9px
}
.agent-card p,.agent-card blockquote {
  font-size:14px
}
.agent-card p {
  color:var(--muted)
}
blockquote {
  margin:4px 0 28px;
  padding-left:14px;
  border-left:2px solid var(--green)
}
.card-meta {
  margin-top:auto;
  border-top:1px solid var(--line);
  padding-top:17px;
  font-size:10px;
  color:var(--muted)
}
.card-meta strong {
  display:block;
  color:var(--ink);
  font-size:12px;
  font-weight:500;
  overflow-wrap:anywhere
}
.split-section {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:90px
}
.split-section>div>p {
  max-width:475px;
  color:var(--muted)
}
.feature-stack article {
  padding:0 0 24px;
  margin-bottom:24px;
  border-bottom:1px solid var(--line)
}
.feature-stack article:last-child {
  border:0;
  margin:0;
  padding-bottom:0
}
.feature-stack p {
  font-size:15px;
  color:var(--muted);
  margin-bottom:5px
}
.feature-stack a {
  font-size:14px
}
.pill {
  display:inline-block;
  padding:4px 10px;
  background:var(--lime);
  border-radius:20px;
  font-size:10px;
  font-weight:650;
  letter-spacing:.02em;
  margin-bottom:12px
}
.pill.amber {
  background:#f0e3c2
}
.pill.outline {
  background:none;
  border:1px solid var(--line)
}
.page-intro {
  max-width:920px;
  padding-bottom:55px;
  border:0
}
.jump-links {
  display:flex;
  gap:25px;
  flex-wrap:wrap;
  font-size:14px;
  margin-top:35px
}
.notice {
  padding:19px 23px;
  background:#ede8d6;
  border-left:3px solid #928351;
  font-size:14px;
  margin:0 0 28px
}
.interactive-grid {
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:0;
  border:1px solid var(--line);
  border-radius:6px;
  overflow:hidden
}
.control-panel {
  padding:32px;
  background:#e9eddf
}
.chart-panel {
  padding:32px;
  background:var(--white)
}
label:not(.radio) {
  display:block;
  margin-top:22px;
  font-size:13px;
  font-weight:600
}
output {
  float:right;
  font-size:14px
}
input[type=range] {
  width:100%;
  margin:15px 0;
  accent-color:var(--green)
}
fieldset {
  border:0;
  padding:0;
  margin:20px 0
}
legend {
  font-size:14px;
  margin-bottom:12px
}
.radio {
  display:block;
  font-size:14px;
  margin:8px 0
}
.radio input {
  accent-color:var(--green);
  margin-right:8px
}
.big-number {
  font:66px Georgia;
  margin:15px 0
}
.chart-panel svg {
  width:100%;
  height:auto;
  display:block
}
svg text {
  font:12px system-ui;
  fill:var(--muted)
}
details {
  border-top:1px solid var(--line);
  padding:17px 0
}
summary {
  cursor:pointer;
  font-size:14px;
  font-weight:600
}
details p {
  margin:15px 0 0;
  font-size:14px;
  color:var(--muted)
}
.small {
  font-size:12px;
  color:var(--muted);
  line-height:1.7
}
.result-sentence {
  font-size:20px;
  line-height:1.5
}
.flow {
  display:flex;
  gap:20px;
  align-items:center;
  border:1px solid var(--line);
  padding:30px;
  margin-bottom:25px;
  background:var(--white)
}
.flow>div {
  flex:1
}
.flow span:not(.flow-arrow) {
  font-size:11px;
  color:var(--green)
}
.flow strong {
  display:block;
  margin:8px 0;
  font-size:15px
}
.flow p {
  font-size:13px;
  color:var(--muted);
  margin-bottom:0
}
.flow-arrow {
  font-size:23px;
  color:var(--green)
}
.table-wrap {
  overflow:auto;
  border:1px solid var(--line);
  background:var(--white)
}
table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
  font-size:14px
}
th,td {
  padding:18px 24px;
  border-bottom:1px solid var(--line)
}
thead {
  background:#e9eddf;
  font-size:12px
}
caption {
  text-align:left;
  padding:15px 24px;
  font-size:12px;
  color:var(--muted)
}
select {
  width:100%;
  border:1px solid #a9b5a6;
  border-radius:3px;
  background:var(--white);
  padding:11px;
  color:var(--ink);
  font-size:14px;
  margin-top:9px
}
.three-columns {
  margin-top:36px
}
.three-columns p {
  font-size:15px;
  color:var(--muted)
}
.info-card {
  padding:28px;
  border:1px solid var(--line);
  background:var(--white)
}
.step {
  font:italic 36px Georgia;
  display:block;
  margin-bottom:30px;
  color:var(--green)
}
.callout {
  padding:48px;
  margin:50px 0;
  background:var(--ink);
  color:var(--white);
  border:0;
  border-radius:5px
}
.callout p {
  max-width:800px;
  color:#d1dbd2
}
.callout .eyebrow {
  color:var(--lime)
}
.callout .button {
  background:var(--lime);
  color:var(--ink)
}
.prose p {
  color:var(--muted)
}
.credits {
  max-width:850px
}
.experiment-list {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px
}
.experiment {
  border:1px solid var(--line);
  background:var(--white);
  padding:25px;
  border-radius:4px
}
.experiment-top {
  display:flex;
  align-items:center;
  gap:15px;
  font-size:12px;
  flex-wrap:wrap;
  margin-bottom:15px
}
.experiment-top .pill {
  margin:0 0 0 auto
}
.ticker {
  font-size:18px;
  font-weight:700
}
.experiment h3 {
  font-size:19px
}
.experiment-numbers {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin:25px 0
}
.experiment-numbers span {
  font-size:11px;
  color:var(--muted);
  display:block;
  margin-bottom:6px
}
.experiment-numbers strong {
  font-size:19px;
  font-weight:500
}
.recorded-text {
  white-space:pre-wrap;
  overflow-wrap:anywhere
}
.record-summary {
  font-size:14px
}
.record-summary span {
  margin:0 13px;
  color:var(--muted)
}
.empty {
  padding:35px;
  border:1px dashed var(--line);
  color:var(--muted)
}
footer {
  display:grid;
  grid-template-columns:1fr 1.4fr 1fr;
  gap:45px;
  padding-top:55px;
  padding-bottom:50px;
  font-size:12px
}
footer p {
  color:var(--muted);
  margin:12px 0
}
footer .brand {
  font-size:20px
}
footer strong {
  font-size:13px
}
footer a {
  display:inline-block;
  margin-bottom:8px
}
footer .small {
  font-size:10px
}
::selection {
  background:var(--lime)
}
@media(max-width:1100px) {
  header .lab-label {
    display:none
  }
  .hero {
    gap:30px
  }
  .section-heading {
    gap:35px
  }
}
@media(max-width:760px) {
  header,main,footer {
    padding-left:22px;
    padding-right:22px
  }
  header {
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
    padding-top:22px;
    padding-bottom:12px
  }
  nav {
    gap:19px;
    flex-wrap:wrap;
    font-size:12px
  }
  .hero,.section-heading,.split-section,.interactive-grid {
    grid-template-columns:1fr;
    gap:30px
  }
  .hero {
    padding-top:48px
  }
  .hero-note {
    padding:25px
  }
  .agent-grid,.three-columns,.experiment-list {
    grid-template-columns:1fr
  }
  .status-strip {
    grid-template-columns:1fr 1fr;
    gap:22px
  }
  .status-strip strong {
    font-size:32px
  }
  section {
    padding:45px 0
  }
  .section-heading {
    margin-bottom:25px
  }
  .section-heading p {
    margin-bottom:0
  }
  .flow {
    flex-direction:column;
    align-items:stretch;
    gap:12px
  }
  .flow-arrow {
    transform:rotate(90deg);
    align-self:center
  }
  .interactive-grid {
    gap:0
  }
  .control-panel,.chart-panel {
    padding:24px
  }
  .callout {
    padding:30px 24px
  }
  .page-intro {
    padding-top:45px
  }
  footer {
    grid-template-columns:1fr;
    gap:20px
  }
  .table-wrap {
    max-width:100%
  }
  th,td {
    padding:15px 12px
  }
  .experiment-top .pill {
    margin-left:0
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
}

/* Election watchlist map: state coverage, never district vote shading. */
.map-controls {display:flex;align-items:center;flex-wrap:wrap;gap:.8rem;margin:1.5rem 0}
.map-controls select {padding:.6rem;max-width:100%;font:inherit;background:#fff;border:1px solid #c9cbc2;border-radius:5px}
.election-map-layout {display:grid;grid-template-columns:minmax(0,1.7fr) minmax(220px,1fr);gap:2rem;align-items:start}
#election-map {width:100%;height:auto;background:#f2f2e9;border-radius:12px}
#election-map path {fill:#dedfd7;stroke:#fff;stroke-width:1.1;transition:fill .15s}
#election-map path.tracked {fill:#74968a;cursor:pointer}
#election-map path.tracked:hover {fill:#254f43}
#election-map path:focus,#election-map path.selected {stroke:#111;stroke-width:4;outline:none}
#election-map path.selected:not(.tracked) {fill:#dedfd7}
#election-map path.tracked {stroke:#254f43;stroke-width:2}
.audit-original {border-left:4px solid #b26928;padding-left:1rem}
.audit-report pre {white-space:pre-wrap;overflow-wrap:anywhere}
#map-races {max-height:590px;overflow:auto;padding:.2rem .6rem .2rem .2rem}
#map-races article {border-bottom:1px solid #dedfd7;padding:1rem 0}
#map-races h3 {font-size:1.1rem;margin:0 0 .4rem}
#map-races p {font-size:.95rem;margin:.3rem 0}
@media(max-width:760px) {.election-map-layout {grid-template-columns:1fr} #map-races {max-height:420px} .map-controls {gap:.5rem}}

/* Margin ranges: one shared scale, with text alternatives and no win meter. */
.forecast-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}
.forecast-card h3 {font-size:1.1rem}
.margin-chart {display:block;width:100%;height:auto;margin:.7rem 0}
.margin-chart text {font:3.5px system-ui;fill:#303a38}
.rep-side {fill:#f5e6df}.dem-side {fill:#e4edf5}
.even-line {stroke:#788782;stroke-width:.4;stroke-dasharray:1 1}
.range-line {stroke:#647871;stroke-width:1;stroke-linecap:round}
.estimate-dot {fill:#172c26;stroke:#fff;stroke-width:.5}
.forecast-grid [hidden] {display:none!important}
@media(max-width:760px) {.forecast-grid {grid-template-columns:1fr}}

.map-legend {display:flex;gap:1rem;flex-wrap:wrap;font-size:.95rem}
.legend-dem {color:#245f9a}.legend-rep {color:#a34232}
.forecast-marker {cursor:pointer;outline:none}
.forecast-marker circle {fill:#eee;stroke:#fff;stroke-width:1.8}
.forecast-marker text {fill:#fff;font:bold 10px system-ui;pointer-events:none}
.forecast-marker.dem circle {fill:#245f9a;stroke:#245f9a}
.forecast-marker.rep circle {fill:#a34232;stroke:#a34232}
.forecast-marker.uncertain circle {fill:#fff;stroke-width:2.8}
.forecast-marker.dem.uncertain text {fill:#245f9a}.forecast-marker.rep.uncertain text {fill:#a34232}
.forecast-marker.missing circle,.forecast-marker.even circle {fill:#f1f1ea;stroke:#555}
.forecast-marker.missing text,.forecast-marker.even text {fill:#555}
.forecast-marker:focus circle,.forecast-marker.active circle {stroke:#152c24;stroke-width:3.5}

.legend-missing {color:#555}

.forecast-marker.thin circle {stroke-dasharray:3 2}

.map-controls label {display:inline-block;width:auto;margin:0}
.map-controls select {width:auto;min-width:150px;margin:0}
.map-controls button,#map-races button {font:inherit;padding:.6rem .8rem;border:1px solid #c9cbc2;border-radius:5px;background:#fff;cursor:pointer}
.election-map-layout #election-map {height:clamp(240px,40vw,500px)}

.chamber-seat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:1rem;margin:1rem 0}.chamber-state{padding:.65rem;border:1px solid #d5d8dc;border-radius:6px}.chamber-tiles{display:flex;flex-wrap:wrap;gap:3px;margin-top:.4rem}.chamber-seat{color:#fff;font-size:10px;border:0;border-radius:3px;width:25px;height:25px;padding:0;cursor:pointer}.chamber-seat:focus-visible{outline:3px solid #111;outline-offset:2px}

/* Whole-chamber evidence map and seat ranges. */
.chamber-range-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.5rem 0}
.chamber-range-card{border:1px solid #d5d8dc;border-top:4px solid;padding:1rem;border-radius:8px;background:#fff}
.chamber-range-card h3{font-size:1rem;margin:0 0 .7rem}.chamber-range-card strong{font-size:clamp(1.5rem,3vw,2.4rem);line-height:1.2}.chamber-range-card p{font-size:.85rem;margin:.7rem 0 0}
.chamber-coverage{height:28px;display:flex;overflow:hidden;border-radius:5px;margin:1rem 0}.chamber-coverage span{display:block}
.chamber-coverage-key,.chamber-map-key{display:flex;flex-wrap:wrap;gap:.6rem 1.2rem;font-size:.9rem;margin:1rem 0}
.chamber-coverage-key i,.chamber-map-key i{display:inline-block;width:12px;height:12px;margin-right:6px;border-radius:2px}
.evidence-gap{background:#d5a453}.evidence-poll{background:#267e79}.evidence-background{background:#adcbd5}
#chamber-map{width:100%;max-height:570px;display:block;background:#f3f6f6;border-radius:12px;margin:1rem 0}
#chamber-map path{stroke:white;stroke-width:1;cursor:pointer}#chamber-map path:hover,#chamber-map path:focus,#chamber-map path.selected{stroke:#172e39;stroke-width:3;outline:none}
.chamber-seat{width:44px;height:40px;font-size:12px}.chamber-state[hidden]{display:none}
#chamber-seat-detail{padding:1rem;background:#edf2f4;border-radius:6px;min-height:4rem}
.election-jumps{display:flex;flex-wrap:wrap;gap:.65rem;margin:1.5rem 0}.election-jumps a{border:1px solid #c7d2d8;padding:.55rem .85rem;border-radius:20px;text-decoration:none;font-size:.9rem}
@media(max-width:600px){.chamber-range-cards{grid-template-columns:1fr;gap:.6rem}.chamber-range-card{display:grid;grid-template-columns:1fr 1fr;align-items:center}.chamber-range-card p{grid-column:1/-1}.chamber-range-card strong{text-align:right}.chamber-range-card h3{margin:0}.chamber-seat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Release 1: Field Intelligence Notes */
.avatar-elections{background:#286ca8;color:#fff}
.avatar-hindsight{background:var(--ink);color:var(--lime)}
.avatar-buzz{background:#b9a35a;color:var(--ink)}
.avatar-murphy{background:#34756b;color:#fff}
.agent-card h3 a{text-decoration:none}
.desk-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.four-columns{grid-template-columns:repeat(4,minmax(0,1fr))}
.paused{min-height:70vh;display:flex;align-items:center}
@media (max-width:1000px){.desk-grid,.four-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.desk-grid,.four-columns{grid-template-columns:1fr}}
main code{overflow-wrap:anywhere;word-break:break-all}
h1.claim-text{font-size:clamp(28px,3.4vw,44px);line-height:1.15}
.note-section{padding-top:28px;padding-bottom:28px}
.reading{border-left:3px solid var(--green);margin:18px 0;padding:4px 18px}
