/* Bags Risk: data-desk styling. Tokens first; dark palette redefines only tokens. */
:root {
  --paper: #f4f1ea;
  --paper-2: #ebe7dd;
  --ink: #151412;
  --ink-2: #57534b;
  --ink-3: #8a857a;
  --rule: #d6d0c3;
  --rule-strong: #151412;
  --hostile: #c4321a;
  --friendly: #151412;
  --t1: #f1e0d6; --t1-ink: #3d2a20;
  --t2: #e8b59d; --t2-ink: #3d1d10;
  --t3: #dd855f; --t3-ink: #2b0f05;
  --t4: #c9502c; --t4-ink: #fff7f2;
  --t5: #9c1b0d; --t5-ink: #fff3ee;
  --guard: #1f7a6d; --guard-off: #b9b2a4;
  --D: #2f5fb3; --R: #c23b2b; --I: #7a6a3a; --O: #8a857a;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Martian Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #12110f; --paper-2: #1c1a17; --ink: #ede8de; --ink-2: #b3ada1; --ink-3: #7f7a70;
    --rule: #34312b; --rule-strong: #ede8de;
    --hostile: #f0613f; --friendly: #ede8de;
    --t1: #5b4034; --t1-ink: #f3dccf;
    --t2: #6a3522; --t2-ink: #fbe1d3;
    --t3: #a4462a; --t3-ink: #fff1e9;
    --t4: #d65a33; --t4-ink: #1a0802;
    --t5: #ff6a45; --t5-ink: #1a0501;
    --guard: #56c2ae; --guard-off: #5a564e;
    --D: #6f98e6; --R: #ec6b5a; --I: #c2ad6d;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 15px/1.5 var(--sans); font-variation-settings: 'wdth' 100;
  padding-inline: var(--gutter);
  padding-block: env(safe-area-inset-top, 0px) env(safe-area-inset-bottom, 0px);
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--ink-3); }
a:hover { text-decoration-color: var(--hostile); color: var(--hostile); }
.mono, .num { font-family: var(--mono); font-size: 0.8em; font-feature-settings: 'tnum'; }
.muted { color: var(--ink-3); }
main, .mast-inner, .foot { max-width: 1180px; margin-inline: auto; }

/* ---------- masthead ---------- */
.mast { border-bottom: 3px solid var(--rule-strong); padding-block: 22px 14px; }
.mast-inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; }
.wordmark { text-decoration: none; line-height: 0.92; display: block; }
.wordmark span { display: block; font: 500 13px/1 var(--mono); letter-spacing: 0.02em; color: var(--ink-2); margin-bottom: 6px; }
.wordmark strong {
  display: block; font-weight: 900; font-variation-settings: 'wdth' 62;
  font-size: clamp(30px, 5vw, 56px); text-transform: uppercase; letter-spacing: -0.01em;
}
.wordmark:hover { color: var(--ink); }
.wordmark:hover strong { color: var(--hostile); }
.mast nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.04em; }
.mast nav a { text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; }
.mast nav a[aria-current] { border-bottom-color: var(--hostile); }

/* ---------- intro & scale ---------- */
.intro { padding-block: 36px 8px; max-width: 760px; }
.kicker { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--hostile); margin: 0 0 14px; }
.lede { font-size: clamp(19px, 2.3vw, 24px); line-height: 1.35; font-variation-settings: 'wdth' 88; margin: 0 0 10px; letter-spacing: -0.005em; }
.lede-sub { color: var(--ink-2); margin: 0; }

.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; align-items: end; margin-block: 28px 8px; }
.scale-step { position: relative; height: 170px; display: flex; flex-direction: column; justify-content: flex-end; font-size: 12px; }
.scale-step::before {
  content: ''; display: block; height: max(var(--h), 4px); background: var(--bg); order: 2;
  transform-origin: bottom; animation: rise .7s cubic-bezier(.2,.8,.2,1) both;
}
.scale-step:nth-child(2)::before { animation-delay: .05s } .scale-step:nth-child(3)::before { animation-delay: .1s }
.scale-step:nth-child(4)::before { animation-delay: .15s } .scale-step:nth-child(5)::before { animation-delay: .2s }
@keyframes rise { from { transform: scaleY(0) } }
.scale-n { order: 1; font: 600 18px/1 var(--mono); margin-bottom: 4px; }
.scale-name { order: 3; overflow-wrap: anywhere; font-weight: 700; font-variation-settings: 'wdth' 75; margin-top: 6px; line-height: 1.1; }
.scale-range { order: 4; font: 400 10px/1.4 var(--mono); color: var(--ink-3); }
.scale-cap { grid-column: 1 / -1; font-size: 13px; color: var(--ink-2); padding-top: 10px; border-top: 1px solid var(--rule); margin-top: 6px; }
.t1 { --bg: var(--t1); --fg: var(--t1-ink); } .t2 { --bg: var(--t2); --fg: var(--t2-ink); }
.t3 { --bg: var(--t3); --fg: var(--t3-ink); } .t4 { --bg: var(--t4); --fg: var(--t4-ink); }
.t5 { --bg: var(--t5); --fg: var(--t5-ink); } .t0 { --bg: transparent; --fg: var(--ink-2); }

/* ---------- controls ---------- */
.board { padding-block: 24px 8px; }
.controls { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding-block: 12px; border-top: 3px solid var(--rule-strong); border-bottom: 1px solid var(--rule); }
.controls input[type=search] {
  font: 400 14px var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--ink);
  padding: 7px 10px; min-width: 0; flex: 1 1 200px; max-width: 280px; border-radius: 0;
}
.controls input[type=search]:focus { outline: 2px solid var(--hostile); outline-offset: 1px; }
.pills { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--ink); }
.pills button {
  font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink);
  background: none; border: 0; padding: 8px 10px; cursor: pointer;
}
.pills button + button { border-left: 1px solid var(--ink); }
.pills button[aria-pressed=true] { background: var(--ink); color: var(--paper); }
.pills button:focus-visible { outline: 2px solid var(--hostile); outline-offset: 2px; }
.check { font-size: 13px; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; }
.check input { accent-color: var(--hostile); }
.count { font: 400 11px var(--mono); color: var(--ink-3); margin: 8px 0; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; }
th {
  font: 500 10.5px/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2);
  text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--ink); white-space: nowrap; vertical-align: bottom;
}
th.num, td.num { text-align: right; }
th.num { font-size: 10.5px; }
th[data-sort] { cursor: pointer; user-select: none; }
th[data-sort]:hover { color: var(--ink); }
th[aria-sort]::after { content: ' ↓'; color: var(--hostile); }
th[aria-sort=ascending]::after { content: ' ↑'; }
td.mono, td.num { white-space: nowrap; }
td { padding: 7px 10px 7px 0; border-bottom: 1px solid var(--rule); vertical-align: middle; }
tbody tr:hover { background: var(--paper-2); }
.lb td.name { font-weight: 600; min-width: 190px; }
.lb td.name a { text-decoration: none; }
.lb td.name a:hover { text-decoration: underline; }
.flag { font: 400 9.5px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-2); border: 1px solid var(--rule); padding: 2px 4px; vertical-align: 2px; white-space: nowrap; }
.flag-quiet { border-style: dashed; color: var(--ink-3); }
.score { white-space: nowrap; min-width: 92px; }
.score b { font-weight: 600; font-size: 14px; display: inline-block; min-width: 2.2em; }
.score sup { color: var(--hostile); }
.bar { display: inline-block; width: 44px; height: 6px; margin-right: 8px; vertical-align: 2px; background: linear-gradient(90deg, var(--hostile) calc(var(--s) * 1%), var(--rule) 0); }

.party { display: inline-flex; align-items: center; gap: 5px; font: 500 11px var(--mono); color: var(--ink-2); }
.party i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); display: inline-block; }
.party-D { --c: var(--D); } .party-R { --c: var(--R); } .party-I { --c: var(--I); } .party-O { --c: var(--O); }

.tier {
  display: inline-block; font: 700 12px/1 var(--sans); font-variation-settings: 'wdth' 75; letter-spacing: 0.01em;
  padding: 4px 7px 5px; background: var(--bg); color: var(--fg); white-space: nowrap; text-transform: uppercase;
}
.tier.t0 { border: 1px dashed var(--ink-3); padding: 3px 6px 4px; }

.tape { display: inline-flex; gap: 2px; vertical-align: middle; }
.tape i { width: 9px; height: 14px; display: inline-block; }
.tape i.half { height: 7px; align-self: flex-end; }
.v-hostile { background: var(--hostile); }
.v-friendly { background: var(--friendly); }
.v-nv { box-shadow: inset 0 0 0 1px var(--ink-3); }
.tape i.brk { position: relative; }
.tape i.brk::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--ink); }
.tape { padding-bottom: 5px; }
.g-protect { background: var(--guard); }
.g-unprotect { background: var(--guard-off); }
.g-nv { box-shadow: inset 0 0 0 1px var(--ink-3); }
.breaks { font-weight: 600; color: var(--ink); }
.brk-label { color: var(--ink-2) !important; font-style: italic; }
.guard-protect { color: var(--guard); } .guard-unprotect { color: var(--ink-2); font-weight: 400; } .guard-nv { color: var(--ink-3); font-weight: 400; }
.sub-intro { font-size: 13px; color: var(--ink-2); margin: -4px 0 10px; }
.tally-guard .tally-cell.e-friendly { background: var(--guard); }
.tally-guard .tally-cell.e-hostile { background: var(--guard-off); color: var(--ink); }
.legend { font-size: 12px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; margin-top: 14px; }
.legend .tape { margin-right: -6px; }

@media (max-width: 720px) {
  .lb .tape-col, .lb .guard-col { display: none; }
  .lb td.name { min-width: 150px; }
  .bar { display: none; }
  .scale-name { font-size: 11px; }
}

/* ---------- candidate ---------- */
.crumb { font: 400 11px var(--mono); color: var(--ink-3); margin: 28px 0 8px; }
.cand-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; align-items: flex-end; padding-bottom: 18px; border-bottom: 3px solid var(--rule-strong); }
.cand h1, .bill h1 { font-weight: 800; font-variation-settings: 'wdth' 70; font-size: clamp(36px, 6vw, 60px); line-height: 0.95; margin: 0 0 12px; letter-spacing: -0.01em; }
.meta { color: var(--ink-2); margin: 2px 0; font-size: 14px; }
.cand-tier { background: var(--bg); color: var(--fg); padding: 14px 18px; min-width: 220px; }
.cand-tier.t0 { border: 1px dashed var(--ink-3); }
.cand-tier-label { display: block; font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; opacity: .8; margin-bottom: 8px; }
.cand-tier-name { display: block; font-weight: 900; font-variation-settings: 'wdth' 62; font-size: 34px; line-height: 0.95; text-transform: uppercase; }
.cand-score { display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; align-items: center; padding-block: 22px; border-bottom: 1px solid var(--rule); }
.big-score { margin: 0; font: 600 72px/0.9 var(--mono); letter-spacing: -0.04em; grid-row: span 2; }
.big-score small { font-size: 18px; color: var(--ink-3); letter-spacing: 0; }
.big-sub { margin: 0; max-width: 520px; color: var(--ink-2); }
.big-na { margin: 0; grid-column: 1 / -1; color: var(--ink-2); max-width: 620px; }
.tape-big .tape i { width: 16px; height: 24px; } .tape-big .tape i.half { height: 12px; } .tape-big .tape { gap: 3px; }
@media (max-width: 560px) { .cand-score { grid-template-columns: 1fr; } .big-score { grid-row: auto; } }
h2 { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; margin: 34px 0 10px; }
.votes td .sub, .votes td + td .sub, .sub { display: block; font-size: 12px; color: var(--ink-3); }
.effect { font-weight: 700; font-variation-settings: 'wdth' 80; font-size: 13px; }
.effect-hostile { color: var(--hostile); } .effect-nv { color: var(--ink-3); font-weight: 400; }
.src { font: 400 11px var(--mono); white-space: nowrap; }
.notes { list-style: none; padding: 0; margin: 0; }
.notes li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--rule); }
.notes p { margin: 0 0 4px; }
.notes blockquote { margin: 0 0 6px; font-size: 18px; font-variation-settings: 'wdth' 85; }
.fine { font-size: 12px; color: var(--ink-3); margin-top: 32px; }

/* ---------- bill ---------- */
.facts { display: grid; grid-template-columns: 150px 1fr; gap: 10px 20px; margin: 22px 0; padding-block: 16px; border-block: 1px solid var(--rule); max-width: 860px; }
.facts dt { font: 500 10.5px/1.6 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2); }
.facts dd { margin: 0; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 10px; } .notes li { grid-template-columns: 1fr; gap: 4px; } }
.roll { border-top: 3px solid var(--rule-strong); margin-top: 30px; }
.tally { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 3px; margin: 14px 0; }
.tally-cell { padding: 12px 14px; background: var(--paper-2); display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.tally-cell.e-hostile { background: var(--hostile); color: var(--paper); }
.tally-cell.e-hostile .sub { color: inherit; opacity: .8; }
.tally-cell.e-friendly { background: var(--friendly); color: var(--paper); }
.tally-cell.e-friendly .sub { color: inherit; opacity: .7; }
.tally-n { font: 600 30px/1 var(--mono); }
details summary { cursor: pointer; font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: 0.05em; padding-block: 8px; }
.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; font-size: 13px; }
.who h3 { font: 500 11px var(--mono); text-transform: uppercase; color: var(--ink-2); }
.who ul { list-style: none; padding: 0; margin: 0; columns: 1; }
.who li { padding-block: 2px; }

/* ---------- prose ---------- */
.prose { max-width: 720px; padding-block: 36px; }
.prose h2 { margin-top: 36px; }
.prose li { margin-bottom: 6px; }
.formula { background: var(--paper-2); padding: 12px 14px; border-left: 3px solid var(--hostile); font-size: 13px; }
.disclaimer-block { margin-top: 36px; padding-top: 12px; border-top: 1px solid var(--rule); font-weight: 600; }

/* ---------- footer ---------- */
.foot { border-top: 3px solid var(--rule-strong); margin-top: 56px; padding-block: 18px 40px; font-size: 12px; color: var(--ink-2); }
.foot p { margin: 0 0 8px; max-width: 820px; }
.foot .disclaimer { font-weight: 700; color: var(--ink); font-size: 13px; }

@media (prefers-reduced-motion: reduce) { .scale-step::before { animation: none; } }

/* ---------- corrections form ---------- */
.fix-form { display: grid; gap: 14px; max-width: 560px; margin: 24px 0 8px; padding: 18px; background: var(--paper-2); border-top: 3px solid var(--rule-strong); }
.fix-form label { display: grid; gap: 6px; font: 500 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2); }
.fix-form .req, .fix-form .opt { text-transform: none; letter-spacing: 0; font-family: var(--sans); color: var(--ink-3); font-weight: 400; }
.fix-form input:not([type=hidden]), .fix-form textarea { font: 400 15px/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--ink); border-radius: 0; padding: 8px 10px; width: 100%; }
.fix-form input:focus, .fix-form textarea:focus { outline: 2px solid var(--hostile); outline-offset: 1px; }
.fix-form button { justify-self: start; font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; background: var(--ink); color: var(--paper); border: 0; padding: 12px 16px; cursor: pointer; }
.fix-form button:disabled { opacity: .5; cursor: wait; }
.fix-status { margin: 0; font-size: 14px; }
.hp { position: absolute; left: -9999px; }

/* ---------- phones ---------- */
.m-only, .m-sort, .m-filters { display: none; }
.filters-panel { display: contents; }
a, button, select, input { -webkit-tap-highlight-color: transparent; }
.pills button:active { background: var(--paper-2); }
.pills button[aria-pressed=true]:active { opacity: .85; }

@media (max-width: 640px) {
  body { font-size: 15px; }
  .m-only { display: inline; }
  .mast { padding-block: 16px 0; }
  .mast-inner { gap: 10px; }
  .mast nav { gap: 0 16px; font-size: 11px; letter-spacing: 0.02em; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; }
  .mast nav::-webkit-scrollbar { display: none; }
  .mast nav a { padding-block: 10px; white-space: nowrap; }
  .intro { padding-block: 22px 0; }
  .lede { font-size: 18px; }
  .scale { margin-block: 20px 4px; }
  .scale-step { height: 120px; }
  .scale-n { font-size: 14px; }
  .scale-name { font-size: 10px; }
  .scale-range { font-size: 9px; }

  /* controls: full-width, thumb-sized */
  .controls { display: grid; grid-template-columns: auto 1fr; gap: 8px; padding-block: 12px; }
  .controls input[type=search] { grid-column: 1 / -1; max-width: none; font-size: 16px; padding: 10px 12px; }
  .pills { display: flex; grid-column: 1 / -1; }
  .pills button { flex: 1; min-height: 40px; padding: 8px 4px; font-size: 10.5px; }
  .m-filters { display: block; font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink); background: var(--paper); border: 1px solid var(--ink); border-radius: 0; min-height: 42px; }
  .m-filters[aria-expanded=true] { background: var(--ink); color: var(--paper); }
  .filters-panel { display: none; grid-column: 1 / -1; gap: 8px; }
  .filters-panel.open { display: grid; grid-template-columns: 1fr 1fr; }
  .m-sort { display: flex; grid-column: auto; align-items: center; gap: 8px; font: 500 0/1 var(--mono); color: transparent; }
  .m-sort select { flex: 1; min-width: 0; min-height: 42px; font: 400 15px var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--ink); border-radius: 0; padding: 9px 10px; }
  .check { font-size: 12.5px; min-height: 32px; }

  /* leaderboard rows become tappable cards */
  .lb thead { display: none; }
  .lb, .lb tbody { display: block; }
  .lb tr {
    position: relative; display: grid; grid-template-columns: auto auto auto 1fr auto; align-items: center;
    column-gap: 8px; row-gap: 5px; padding: 11px 0; border-bottom: 1px solid var(--rule);
    grid-template-areas: "name name name name score" "seat party tape guard tier" "breaks breaks breaks breaks breaks";
  }
  .lb tr[hidden] { display: none; }
  .lb tr:active { background: var(--paper-2); }
  .lb td { padding: 0; border: 0; }
  .lb .c-name { grid-area: name; min-width: 0; font-size: 16px; line-height: 1.25; }
  .lb .c-name a::after { content: ''; position: absolute; inset: 0; }
  .lb .c-seat { grid-area: seat; font-size: 11px; color: var(--ink-2); }
  .lb .c-party { grid-area: party; }
  .lb .c-party .party { font-size: 0; gap: 0; } .lb .c-party .party i { width: 9px; height: 9px; }
  .lb .c-breaks { grid-area: breaks; text-align: left; font-size: 11px; color: var(--ink-2); }
  .lb .c-breaks.c-none, .lb .c-votes { display: none; }
  .lb .c-score { grid-area: score; min-width: 0; }
  .lb .c-score b { font-size: 22px; min-width: 0; }
  .lb .c-tier { grid-area: tier; justify-self: end; }
  .lb .c-tier .tier { font-size: 10.5px; padding: 3px 6px 4px; }
  .lb .c-tape, .lb .c-guard { display: block; }
  .lb .c-tape { grid-area: tape; }
  .lb .c-tape .tape i { width: 8px; height: 13px; } .lb .c-tape .tape i.half { height: 6px; }
  .lb .c-guard { grid-area: guard; }
  .lb .c-guard .tape { padding-left: 7px; border-left: 1px solid var(--rule); }
  .lb .c-guard .tape i { width: 8px; height: 13px; }
  .lb .c-tape .muted, .lb .c-guard .muted { display: none; }
  .lb .flag { font-size: 9px; }
  .table-wrap:has(.lb) { overflow: visible; }

  /* vote tables stack */
  table.stack thead, table.simple-stack thead { display: none; }
  table.stack, table.stack tbody, table.simple-stack, table.simple-stack tbody { display: block; }
  table.stack tr {
    display: grid; grid-template-columns: 1fr auto auto; column-gap: 12px; row-gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--rule);
    grid-template-areas: "date date src" "bill bill bill" "effect cast weight";
  }
  table.stack td { padding: 0; border: 0; }
  table.stack .v-date { grid-area: date; font-size: 11px; color: var(--ink-2); }
  table.stack .v-src { grid-area: src; justify-self: end; }
  table.stack .v-bill { grid-area: bill; font-size: 16px; }
  table.stack .v-effect { grid-area: effect; }
  table.stack .v-effect .sub { display: inline; margin-left: 8px; }
  table.stack .v-cast { grid-area: cast; align-self: start; }
  table.stack .v-weight { grid-area: weight; align-self: start; color: var(--ink-3); }
  table.stack:not(:has(.v-weight)) tr { grid-template-areas: "date date src" "bill bill bill" "effect effect cast"; }
  table.simple-stack tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); }
  table.simple-stack td { display: block; padding: 2px 0; border: 0; }
  table.simple-stack td:first-child { font-size: 16px; }

  /* candidate & bill pages */
  .crumb { margin-top: 18px; }
  .cand-head { gap: 14px; }
  .cand-tier { min-width: 0; width: 100%; padding: 12px 14px; }
  .cand-tier-name { font-size: 28px; }
  .big-score { font-size: 60px; }
  .tape-big .tape i { width: 14px; height: 22px; } .tape-big .tape i.half { height: 11px; }
  .tally { grid-template-columns: 1fr 1fr; }
  .tally-cell.e-nv { grid-column: 1 / -1; flex-direction: row; gap: 8px; align-items: baseline; padding-block: 8px; }
  .tally-cell.e-nv .tally-n { font-size: 18px; }
  .tally-n { font-size: 26px; }
  details summary { padding-block: 12px; }
  .foot { margin-top: 40px; }
  .fix-form { padding: 14px; }
  .fix-form input:not([type=hidden]), .fix-form textarea { font-size: 16px; }
}
