/* sherpa-dispatch — iPad-optimized dashboard
 * Designed for 1024x768 portrait/landscape iPad
 * Color system: navy primary, party-coded badges
 */

:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --ink: #1a2332;
  --ink-soft: #4a5568;
  --ink-muted: #718096;
  --border: #e2e8f0;
  --accent: #1e3a5f;
  --accent-light: #3b5a85;

  --gop-red: #c1272d;
  --gop-red-bg: #fde8ea;
  --dem-blue: #1f5fa8;
  --dem-blue-bg: #e6efff;

  --winner-bg: #f0f9f4;
  --winner-border: #2f9e66;
  --runoff-bg: #fef9ec;
  --runoff-border: #d69e2e;

  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Arial, Tahoma, "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  padding: 0 0 60px 0;
}

/* HEADER */
.hdr {
  background: var(--accent);
  color: #fff;
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
}
.hdr h1 {
  font-size: 26px;
  letter-spacing: -0.5px;
  font-weight: 700;
}
.hdr-sub {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 2px;
}
.countdown {
  text-align: center;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 10px 20px;
  min-width: 80px;
}
.cd-num {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}
.cd-lbl {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 4px;
}

/* WEIGHTS PANEL */
.weights-panel {
  background: var(--surface);
  margin: 20px 28px;
  padding: 18px 22px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.weights-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.weights-header h2 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-soft);
  font-weight: 600;
}
.btn-reset {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
}
.btn-reset:hover { background: var(--bg); }

.sliders {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 22px;
}
.slider-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-soft);
}
.slider-row label span {
  color: var(--accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.slider-row input[type="range"] {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  background: var(--border);
  border-radius: 3px;
  outline: none;
}
.slider-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.weights-total {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-muted);
  text-align: right;
}
.weights-total span { font-weight: 700; color: var(--ink); }
.weights-warning {
  color: var(--gop-red);
  margin-left: 8px;
  font-weight: 600;
}

/* NATIONAL ENVIRONMENT (WAVE) PANEL */
.wave-panel {
  background: var(--surface);
  margin: 20px 28px;
  padding: 18px 22px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.wave-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.wave-header h2 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-soft);
  font-weight: 600;
}
.wave-control {
  display: flex;
  align-items: center;
  gap: 14px;
}
.wave-end {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.wave-end.r { color: var(--gop-red); }
.wave-end.d { color: var(--dem-blue); }
.wave-control input[type="range"] {
  flex: 1;
  height: 8px;
  -webkit-appearance: none;
  border-radius: 4px;
  outline: none;
  background: linear-gradient(to right,
    var(--gop-red) 0%, #e2e8f0 50%, var(--dem-blue) 100%);
}
.wave-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,0.3);
}
.wave-readout {
  text-align: center;
  margin-top: 12px;
  font-size: 15px;
}
.wave-readout strong { color: var(--accent); font-weight: 700; }
.wave-readout span { color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.wave-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.5;
  text-align: center;
}

/* WAVE CONTEXT (approval prediction + history) */
.wave-context {
  margin-top: 14px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.approval-readout {
  background: var(--bg);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.approval-now {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.approval-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-soft);
  font-weight: 700;
}
.approval-val {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.approval-sub { font-size: 11px; color: var(--ink-muted); }
.approval-implies {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.approval-implies strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.approval-caveat {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--ink-muted);
}
.history-details summary {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 4px 0;
}
.history-table {
  width: 100%;
  margin-top: 10px;
  font-size: 12.5px;
  border-collapse: collapse;
}
.history-table th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--border);
  padding: 4px 8px;
}
.history-table td {
  padding: 4px 8px;
  border-bottom: 1px dashed var(--border);
  color: var(--ink-soft);
}
.history-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.wave-flag { font-size: 12px; }
.history-note {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* FORECAST COLUMNS */
.forecast-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.forecast-pair.cols-3 { grid-template-columns: repeat(3, 1fr); }
.scorecard.variant-you { border-color: var(--accent-light); }
.scorecard.variant-cook { background: #fcfcfd; }
.scorecard.variant-market { border-color: #b8a; }
.scorecard-source {
  font-size: 11px;
  color: var(--ink-muted);
  font-style: italic;
  margin-bottom: 10px;
  line-height: 1.4;
}
/* "Cook ratings as of …" — fresh is a quiet footnote; stale is a loud,
 * un-missable banner so a broken daily refresh can't hide behind a green UI. */
.cook-asof.stale {
  font-style: normal;
  font-weight: 700;
  color: var(--gop-red);
  background: var(--gop-red-bg);
  border: 1px solid var(--gop-red);
  border-radius: 6px;
  padding: 6px 9px;
}

/* SECTIONS */
.section {
  margin: 28px;
}
.section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.section-toggle {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--ink-muted);
  padding-bottom: 8px;
}
.count-badge {
  background: var(--ink-muted);
  color: #fff;
  border-radius: 12px;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 700;
}
.caret {
  font-size: 11px;
  color: var(--ink-muted);
  transition: transform 0.2s;
}
.section-toggle.expanded .caret { transform: rotate(180deg); }

/* RACE GRID */
.race-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 18px;
}
.race-grid.presumptive {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.race-grid.collapsed { display: none; }

.race-card {
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.race-card-hdr {
  background: var(--bg);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.race-card-hdr h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.race-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 11px;
  color: var(--ink-muted);
  align-items: center;
}
.meta-incumbent { font-weight: 500; }

/* NOMINEES */
.race-card-nominees {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin: 4px 0 6px 0;
  flex-wrap: wrap;
}
.nominee-d, .nominee-r {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nominee-d.tbd, .nominee-r.tbd {
  color: var(--ink-muted);
  font-style: italic;
  font-weight: 500;
}
.nominee-vs {
  color: var(--ink-muted);
  font-weight: 400;
  font-size: 11px;
}
.nominee-party {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  text-align: center;
  line-height: 16px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}
.nominee-party.d { background: var(--dem-blue); }
.nominee-party.r { background: var(--gop-red); }
.nominee-party.i { background: #7c5cbf; }
.inc-marker {
  font-size: 11px;
  color: var(--runoff-border);
  margin-left: 2px;
  cursor: help;
}

/* SCORECARD */
.scorecard {
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  margin-bottom: 18px;
}
.scorecard-hdr {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.scorecard-hdr h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.3px;
}
.scorecard-threshold {
  font-size: 11px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.scorecard-bar {
  height: 22px;
  display: flex;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}
.scorecard-bar-fill.d { background: var(--dem-blue); }
.scorecard-bar-fill.r { background: var(--gop-red); }
.scorecard-bar-fill.tossup {
  background: repeating-linear-gradient(
    45deg, #cbd5e1, #cbd5e1 5px, #e2e8f0 5px, #e2e8f0 10px
  );
}
.scorecard-counts {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 12px;
}
.scorecard-count.d { color: var(--dem-blue); font-weight: 700; }
.scorecard-count.r { color: var(--gop-red); font-weight: 700; }
.scorecard-count.tossup { color: var(--ink-muted); font-weight: 700; }
.scorecard-num { font-variant-numeric: tabular-nums; font-size: 18px; }

.scorecard-controlmath {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: 8px;
  margin-bottom: 14px;
}
.scorecard-controlmath strong { color: var(--ink); font-variant-numeric: tabular-nums; }

/* WHAT-IF (toss-up scratchpad) */
.whatif {
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: #fcfcfd;
}
.whatif-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.whatif-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-soft);
}
.whatif-reset {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
  font-family: inherit;
}
.whatif-reset:hover { background: var(--bg); }
.whatif-note {
  font-size: 11px;
  color: var(--ink-muted);
  font-style: italic;
  margin: 4px 0 10px 0;
}
.whatif-list { list-style: none; }
.whatif-race {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
}
.whatif-race:last-child { border-bottom: none; }
.whatif-race-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.whatif-lean {
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-muted);
  margin-left: 6px;
}
.whatif-btns {
  display: inline-flex;
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.whatif-btn {
  background: var(--surface);
  border: none;
  border-right: 1px solid var(--border);
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink-muted);
}
.whatif-btn:last-child { border-right: none; }
.whatif-btn.d.active { background: var(--dem-blue); color: #fff; }
.whatif-btn.r.active { background: var(--gop-red); color: #fff; }
.whatif-btn.toss.active { background: var(--ink-muted); color: #fff; }
.whatif-tally {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}
.whatif-tally strong { font-variant-numeric: tabular-nums; }
.whatif-tally strong.d { color: var(--dem-blue); }
.whatif-tally strong.r { color: var(--gop-red); }
.whatif-tally strong.tossup { color: var(--ink-muted); }
.whatif-verdict {
  display: inline-block;
  margin-left: 6px;
  font-weight: 700;
  color: var(--ink);
}

.scorecard-baseline {
  margin-top: 12px;
}
.scorecard-baseline summary {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-muted);
  cursor: pointer;
  font-weight: 600;
}
.scorecard-baseline-body {
  margin-top: 6px;
  font-size: 11px;
  color: var(--ink-soft);
}
.meta-rating {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  border: 1px solid var(--border);
}
.meta-rating.rating-solid-d   { background: #dbeafe; color: #1e3a8a; border-color: #1e3a8a; }
.meta-rating.rating-likely-d  { background: #e0e7ff; color: #1f5fa8; border-color: #1f5fa8; }
.meta-rating.rating-lean-d    { background: var(--dem-blue-bg); color: var(--dem-blue); border-color: var(--dem-blue); }
.meta-rating.rating-toss-up   { background: #fef9ec; color: #92400e; border-color: var(--runoff-border); }
.meta-rating.rating-lean-r    { background: var(--gop-red-bg); color: var(--gop-red); border-color: var(--gop-red); }
.meta-rating.rating-likely-r  { background: #fee2e2; color: #991b1b; border-color: #991b1b; }
.meta-rating.rating-solid-r   { background: #fecaca; color: #7f1d1d; border-color: #7f1d1d; }
.meta-pvi {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.meta-kalshi {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--accent-light);
}

/* RACE CARD CALLS (Cook · You · Kalshi) */
.race-card-calls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 12px 16px;
}
.call-block {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.call-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-muted);
  font-weight: 600;
}
.call-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--border);
}
.call-badge.d { background: var(--dem-blue-bg); color: var(--dem-blue); border-color: var(--dem-blue); }
.call-badge.r { background: var(--gop-red-bg); color: var(--gop-red); border-color: var(--gop-red); }
.call-badge.toss { background: #fef9ec; color: #92400e; border-color: var(--runoff-border); }
.call-badge.you.shifted { box-shadow: 0 0 0 2px var(--runoff-border); }
.call-badge.na { background: var(--bg); color: var(--ink-muted); border-color: var(--border); font-weight: 600; }
.whatif-empty {
  font-size: 12px;
  color: var(--ink-muted);
  font-style: italic;
  padding: 6px 0;
}

/* PROBABILITY BLOCK */
.prob-block {
  padding: 14px 16px;
}
.prob-row {
  display: grid;
  grid-template-columns: 22px 56px 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 6px;
}
.prob-label {
  font-weight: 700;
  font-size: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  text-align: center;
  line-height: 22px;
  color: #fff;
}
.prob-label.d { background: var(--dem-blue); }
.prob-label.r { background: var(--gop-red); }
.prob-value {
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.prob-value.d { color: var(--dem-blue); }
.prob-value.r { color: var(--gop-red); }
.prob-bar {
  display: block;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
}
.prob-bar-fill {
  display: block;
  height: 100%;
  transition: width 0.3s ease;
}
.prob-bar-fill.d { background: var(--dem-blue); }
.prob-bar-fill.r { background: var(--gop-red); }
.prob-meta {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 8px;
}
.prob-meta strong { font-weight: 700; }
.favored-d { color: var(--dem-blue); }
.favored-r { color: var(--gop-red); }

/* COMPONENTS (collapsible) */
.components {
  border-top: 1px solid var(--border);
  padding: 8px 16px 12px 16px;
}
.components summary {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-muted);
  cursor: pointer;
  font-weight: 600;
  padding: 4px 0;
}
.components summary:hover { color: var(--ink-soft); }
.components-table {
  width: 100%;
  margin-top: 6px;
  font-size: 12px;
}
.components-table td {
  padding: 3px 0;
  color: var(--ink-soft);
}
.components-table td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.components-table tr.row-total td {
  border-top: 1px solid var(--border);
  padding-top: 6px;
  color: var(--ink);
}

.primary-block {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
}
.primary-block:first-of-type { border-top: none; }

.primary-hdr {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.party-badge {
  display: inline-block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  text-align: center;
  line-height: 26px;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
}
.party-badge.r { background: var(--gop-red); }
.party-badge.d { background: var(--dem-blue); }
.primary-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-muted);
  font-weight: 600;
}
.runoff-tag {
  margin-left: auto;
  background: var(--runoff-bg);
  color: var(--runoff-border);
  border: 1px solid var(--runoff-border);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.primary-note {
  font-size: 11px;
  color: var(--ink-muted);
  font-style: italic;
  margin-bottom: 8px;
  padding: 6px 8px;
  background: var(--bg);
  border-radius: 4px;
}

/* CANDIDATES */
.candidate-list {
  list-style: none;
}
.candidate {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}
.candidate:last-child { border-bottom: none; }

.candidate.winner {
  background: var(--winner-bg);
  margin: 0 -16px;
  padding: 10px 16px;
  border-left: 3px solid var(--winner-border);
}
.candidate.runoff {
  background: var(--runoff-bg);
  margin: 0 -16px;
  padding: 10px 16px;
  border-left: 3px solid var(--runoff-border);
}

.cand-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 4px;
}
.cand-rank {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-muted);
}
.cand-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.cand-score {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.candidate.winner .cand-score { color: var(--winner-border); }

.cand-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-left: 36px;
}
.cand-bar-fill {
  height: 100%;
  background: var(--accent-light);
  transition: width 0.3s ease;
}
.candidate.winner .cand-bar-fill { background: var(--winner-border); }
.candidate.runoff .cand-bar-fill { background: var(--runoff-border); }

.cand-notes {
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: 4px;
  margin-left: 36px;
  font-style: italic;
}

/* PRESUMPTIVE CARDS */
.presumptive-card {
  background: var(--surface);
}
.presumptive-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--winner-border);
  padding: 4px 0;
}
.presumptive-note {
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* FOOTER */
.ftr {
  text-align: center;
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: 30px;
}

/* RESPONSIVE - iPad portrait, phones */
@media (max-width: 1100px) {
  .forecast-pair.cols-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .forecast-pair, .forecast-pair.cols-3 { grid-template-columns: 1fr; }
  .hdr { padding: 14px 18px; }
  .wave-panel { margin: 14px 18px; padding: 14px 16px; }
  .section { margin: 18px; }
  .race-grid { grid-template-columns: 1fr; }
}
