:root {
  --paper: #fbfbf9;
  --paper-2: #f0f0ec;
  --paper-3: #e4e4de;
  --ink: #121212;
  --ink-2: #34383a;
  --muted: #5a5f62;
  --yes: #2a6b44;
  --yes-fill: #388557;
  --no: #680a1d;
  --no-fill: #a81733;
  --blue: #14558f;
  --blue-2: #0e3f6b;
  --amber: #b5651d;
  --dem: #14558f;
  --rep: #a81733;
  --unr: #b07c20;
  --oth: #8a9396;
  --rule: 3px solid var(--ink);
  --rule-thin: 1.5px solid var(--ink);
  --font: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(16px, 3.2vw, 44px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.5;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
a { color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--blue-2); }
html { scrollbar-color: var(--ink) var(--paper-2); }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cond { font-stretch: 72%; }

/* ---------- masthead band ---------- */
.band { background: var(--ink); color: var(--paper); padding: 18px var(--pad) 20px; }
.band-in { max-width: 1480px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 10px 32px; align-items: end; justify-content: space-between; }
.band h1 {
  margin: 0; font-stretch: 68%; font-weight: 850; text-transform: uppercase;
  font-size: clamp(44px, 8.4vw, 124px); line-height: .86; letter-spacing: -.01em;
}
.band .line { font-size: clamp(14px, 1.25vw, 17px); line-height: 1.35; max-width: 34ch; color: #e8e8e3; }
.band .line strong { color: #fff; font-weight: 700; }
.band nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-weight: 650; font-size: 15px; }
.band nav a { color: var(--paper); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.band nav a:hover { border-bottom-color: var(--paper); color: #fff; }

/* ---------- the ballot ---------- */
.sheet { max-width: 1480px; margin: 0 auto; padding: clamp(18px, 2.4vw, 32px) var(--pad) 0; }
.hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(18px, 2.4vw, 36px); align-items: start; }
.ballot { border: var(--rule); background: #fff; position: relative; }
.ballot-head { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; padding: 14px 18px 14px 44px; border-bottom: var(--rule); align-items: end; }
.ballot-head h2 { margin: 0; font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.3vw, 32px); line-height: 1; }
.ballot-head p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; max-width: 52ch; }
.ballot-head .key { display: flex; gap: 14px; font-size: 13.5px; font-weight: 650; white-space: nowrap; }
.ballot-head .key span { display: inline-flex; align-items: center; gap: 6px; }

.writein { display: grid; grid-template-columns: auto 1fr auto; gap: 10px 14px; align-items: center; padding: 12px 18px 12px 44px; border-bottom: var(--rule); background: var(--paper-2); }
.writein label { font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: 17px; }
.writein input {
  font: inherit; font-size: 20px; font-weight: 600; border: 0; border-bottom: var(--rule); background: transparent;
  padding: 4px 2px; min-width: 0; width: 100%; color: var(--ink); border-radius: 0;
}
.writein input::placeholder { color: #8b9093; font-weight: 500; }
.writein input:focus-visible { outline: none; border-bottom-color: var(--blue); }
.writein .clr { border: var(--rule-thin); background: #fff; padding: 6px 12px; font-weight: 700; font-size: 14px; cursor: pointer; }
.writein .clr:hover { background: var(--ink); color: var(--paper); }

.qrows { list-style: none; margin: 0; padding: 0; }
.qrow {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) 86px 86px; align-items: stretch;
  border-bottom: var(--rule-thin); position: relative; cursor: pointer; transition: background .25s var(--ease);
}
.qrow:last-child { border-bottom: 0; }
.qrow:hover, .qrow.on { background: var(--paper-2); }
.qrow .mark { position: relative; }
.qrow .mark::before { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 10px; margin-top: -5px; background: var(--ink); transition: width .3s var(--ease); }
.qrow.on .mark::before { width: 26px; }
.qtext { padding: 10px 12px 10px 4px; min-width: 0; }
.qnum { font-stretch: 70%; font-weight: 850; text-transform: uppercase; font-size: 14px; letter-spacing: .02em; }
.qtitle { font-weight: 700; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.15; margin: 1px 0 6px; }
.split { display: flex; height: 8px; gap: 2px; max-width: 380px; }
.split i { display: block; height: 100%; transition: width .6s var(--ease); }
.split .y { background: var(--yes-fill); } .split .n { background: var(--no-fill); }
.qmeta { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 13.5px; color: var(--ink-2); margin-top: 5px; }
.qmeta b { font-weight: 750; }
.qmeta .town { color: var(--ink); }
.out { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 12.5px; letter-spacing: .03em; padding: 1px 6px; color: #fff; }
.out.yes { background: var(--yes); } .out.no { background: var(--no); }

.oval-cell { display: grid; place-items: center; align-content: center; gap: 3px; border-left: var(--rule-thin); padding: 6px 4px; }
.oval {
  width: 46px; height: 24px; border-radius: 50%; border: 2.5px solid var(--ink); background: #fff; cursor: pointer; padding: 0;
  position: relative; overflow: hidden; transition: transform .2s var(--ease);
}
.oval::after { content: ""; position: absolute; inset: 0; background: var(--ink); border-radius: 50%; transform: scale(0); transition: transform .35s var(--ease); }
.oval[aria-pressed="true"]::after { transform: scale(1); }
.oval:hover { transform: scale(1.07); }
.oval:active { transform: scale(.94); }
.oval-lbl { font-stretch: 75%; font-weight: 800; font-size: 13px; text-transform: uppercase; }
.oval-cell .pct { font-size: 13px; color: var(--ink-2); }
.oval-cell.win .oval-lbl { color: var(--ink); text-decoration: underline 3px; text-underline-offset: 3px; }
.oval-cell.win.yes .oval-lbl { text-decoration-color: var(--yes-fill); }
.oval-cell.win.no .oval-lbl { text-decoration-color: var(--no-fill); }

.tally { border-top: var(--rule); padding: 14px 18px 16px 44px; display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; align-items: center; min-height: 86px; background: #fff; }
.tally .big { font-stretch: 72%; font-weight: 850; font-size: clamp(26px, 2.6vw, 38px); line-height: 1; text-transform: uppercase; }
.tally p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.tally .twin { color: var(--ink); font-weight: 700; }
.tally button { border: var(--rule-thin); background: #fff; padding: 8px 14px; font-weight: 750; cursor: pointer; white-space: nowrap; }
.tally button:hover { background: var(--ink); color: var(--paper); }

/* ---------- 3D map ---------- */
.stage { position: sticky; top: 12px; }
.mapcard { border: var(--rule); background: var(--paper); position: relative; }
.mapcard-head { padding: 12px 16px; border-bottom: var(--rule); display: flex; gap: 10px 16px; justify-content: space-between; align-items: start; background: #fff; }
.mapcard-head .qn { font-stretch: 70%; font-weight: 850; text-transform: uppercase; font-size: 14px; }
.mapcard-head .qt { font-weight: 750; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.12; }
.mapcard-head .mode { display: inline-flex; border: var(--rule-thin); flex: none; }
.mapcard-head .mode button { border: 0; background: #fff; padding: 6px 10px; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.mapcard-head .mode button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.mapcard-head .mode button:disabled { color: #9a9ea0; cursor: default; }
.m3big { position: absolute; left: 18px; top: calc(var(--m3head, 78px) + 14px); pointer-events: none; z-index: 2; }
.m3big .v { font-stretch: 66%; font-weight: 850; font-size: clamp(54px, 6.4vw, 104px); line-height: .82; letter-spacing: -.01em; display: flex; align-items: baseline; gap: 10px; }
.m3big .v small { font-size: .42em; text-transform: uppercase; font-stretch: 72%; }
.m3big .s { font-size: 14px; font-weight: 650; color: var(--ink-2); margin-top: 6px; }
#map3d { display: block; width: 100%; height: clamp(360px, calc(100vh - 300px), 760px); touch-action: pan-y; cursor: grab; }
#map3d:active { cursor: grabbing; }
.mapfoot { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between; padding: 10px 16px 12px; border-top: var(--rule-thin); background: #fff; font-size: 13.5px; color: var(--ink-2); }
.ramp { display: grid; grid-template-columns: auto 160px auto; gap: 8px; align-items: center; font-weight: 700; color: var(--ink); }
.ramp i { height: 10px; display: block; }
.steps { display: inline-flex; gap: 6px; }
.steps button { width: 34px; height: 30px; border: var(--rule-thin); background: #fff; cursor: pointer; font-weight: 800; }
.steps button:hover { background: var(--ink); color: var(--paper); }
.map-fallback { padding: 16px; }

.tip {
  position: fixed; z-index: 30; pointer-events: none; background: #fff; color: var(--ink); border: var(--rule);
  padding: 10px 12px; font-size: 13.5px; min-width: 200px; max-width: 280px; box-shadow: 0 10px 28px rgba(18, 18, 18, .16);
}
.tip strong { display: block; font-stretch: 75%; font-weight: 850; font-size: 19px; text-transform: uppercase; line-height: 1.05; }
.tip .sub { color: var(--muted); margin-bottom: 6px; }
.tip .row { display: flex; justify-content: space-between; gap: 12px; }
.tip .warn { color: var(--no); font-weight: 700; }

/* ---------- sections ---------- */
section.part { max-width: 1480px; margin: 0 auto; padding: clamp(72px, 9vw, 140px) var(--pad) 0; }
.part-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 40px; align-items: end; border-bottom: var(--rule); padding-bottom: 14px; margin-bottom: 22px; }
.part-head h2 { margin: 0; font-stretch: 68%; font-weight: 850; text-transform: uppercase; font-size: clamp(36px, 5.4vw, 76px); line-height: .9; letter-spacing: -.005em; }
.part-head p { margin: 0; font-size: 17px; color: var(--ink-2); max-width: 58ch; justify-self: end; }

/* small multiples */
.grid9 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: var(--rule); background: #fff; }
.mini { border-right: var(--rule-thin); border-bottom: var(--rule-thin); padding: 12px 14px 10px; cursor: pointer; text-align: left; background: #fff; border-top: 0; border-left: 0; display: flex; flex-direction: column; gap: 4px; transition: background .25s var(--ease); }
.mini:nth-child(3n) { border-right: 0; }
.mini:nth-last-child(-n+3) { border-bottom: 0; }
.mini:hover { background: var(--paper-2); }
.mini .top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.mini .qn { font-stretch: 70%; font-weight: 850; text-transform: uppercase; font-size: 14px; }
.mini .tt { font-weight: 750; font-size: 17px; line-height: 1.15; }
.mini svg { width: 100%; height: auto; display: block; margin-top: 4px; }
.mini svg path { stroke: #fff; stroke-width: .35; }
.mini .res { font-size: 13.5px; color: var(--ink-2); display: flex; justify-content: space-between; gap: 10px; }
.mini .res b { color: var(--ink); }

/* detail */
.qtabs { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); border: var(--rule); margin-bottom: 22px; background: #fff; }
.qtabs button { border: 0; border-right: var(--rule-thin); background: #fff; padding: 10px 6px 9px; cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.qtabs button:last-child { border-right: 0; }
.qtabs button .n { font-stretch: 70%; font-weight: 850; font-size: 22px; line-height: 1; }
.qtabs button .s { font-size: 12.5px; font-weight: 650; line-height: 1.15; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.qtabs button i { display: block; height: 5px; margin-top: 4px; }
.qtabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.qtabs button[aria-selected="true"] .s { color: #ddd; }
.qtabs button:hover:not([aria-selected="true"]) { background: var(--paper-2); }

.verdict { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: var(--rule); background: #fff; margin-bottom: 22px; }
.verdict > div { padding: 16px 18px; border-right: var(--rule-thin); }
.verdict > div:last-child { border-right: 0; }
.verdict h3 { margin: 0 0 8px; font-stretch: 70%; font-weight: 850; text-transform: uppercase; font-size: clamp(26px, 2.7vw, 40px); line-height: .95; }
.verdict .pcts { display: flex; gap: 22px; align-items: baseline; flex-wrap: wrap; }
.verdict .pcts span { font-stretch: 72%; font-weight: 800; font-size: clamp(30px, 3.3vw, 48px); line-height: 1; }
.verdict .votes { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.verdict .means { font-size: 15.5px; margin: 0; }
.verdict .means b { font-stretch: 75%; font-weight: 850; text-transform: uppercase; display: block; font-size: 14px; margin-bottom: 4px; }
.verdict .means b.y { color: var(--yes); } .verdict .means b.n { color: var(--no); }

.explore { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.mapbox { border: var(--rule); background: #fff; padding: 12px 12px 10px; min-width: 0; }
.mapbar { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { border: var(--rule-thin); background: #fff; padding: 5px 10px; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chips button:hover:not([aria-pressed="true"]) { background: var(--paper-2); }
.chips .lbl { align-self: center; font-weight: 700; font-size: 13.5px; color: var(--muted); margin-right: 2px; }
#map2d { width: 100%; height: auto; display: block; touch-action: manipulation; }
#map2d path.t { stroke: #fff; stroke-width: .6; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill .4s ease; }
#map2d path.t.hl { stroke: var(--ink); stroke-width: 2.4; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }
.legend .scale { display: grid; gap: 3px; width: min(340px, 100%); }
.legend .ends, .legend .ticks { display: flex; justify-content: space-between; font-size: 12.5px; }
.legend .ends { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 13px; }
.legend .bar { height: 10px; }
.hatch { display: inline-block; width: 14px; height: 10px; vertical-align: -1px; margin-right: 5px; background: repeating-linear-gradient(45deg, #b9bdb9 0 2px, #fff 2px 5px); border: 1px solid #b9bdb9; }

.card { border: var(--rule); background: #fff; display: flex; flex-direction: column; min-width: 0; }
.card .ch { padding: 14px 16px 12px; border-bottom: var(--rule); }
.card .cty { font-size: 13.5px; color: var(--muted); font-weight: 650; }
.card h3 { margin: 0; font-stretch: 70%; font-weight: 850; text-transform: uppercase; font-size: 36px; line-height: .95; }
.card .cb { padding: 12px 16px; border-bottom: var(--rule-thin); }
.card .cb:last-child { border-bottom: 0; }
.card .lab { font-stretch: 75%; font-weight: 850; text-transform: uppercase; font-size: 14px; margin: 0 0 8px; }
.stack { display: flex; gap: 2px; height: 12px; }
.stack span { height: 100%; display: block; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; font-size: 14px; margin: 8px 0 0; }
.kv dt { color: var(--ink-2); } .kv dd { margin: 0; text-align: right; font-weight: 650; }
.warn { color: var(--no); font-weight: 700; }
.nine { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.nine li { display: grid; grid-template-columns: 22px minmax(0, 1fr) 46px; gap: 8px; align-items: center; font-size: 13.5px; cursor: pointer; }
.nine li .k { font-weight: 850; font-stretch: 70%; font-size: 15px; }
.nine li .lb { display: grid; gap: 2px; min-width: 0; }
.nine li .lb em { font-style: normal; font-size: 12.5px; font-weight: 650; line-height: 1.1; color: var(--ink); }
.nine li .bar { position: relative; height: 9px; background: var(--paper-2); }
.nine li .bar b { position: absolute; left: 0; top: 0; bottom: 0; }
.nine li .bar s { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); text-decoration: none; }
.nine li .v { text-align: right; font-weight: 700; }
.nine li.cur .k, .nine li.cur .v { text-decoration: underline 2px; text-underline-offset: 3px; }
.keyrow { display: flex; flex-wrap: wrap; gap: 3px 12px; font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.keyrow i { display: inline-block; width: 9px; height: 9px; margin-right: 5px; }
.note { font-size: 13px; color: var(--muted); margin: 0; }

.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; margin-top: 22px; }
.panel { border: var(--rule); background: #fff; padding: 16px; min-width: 0; }
.panel h3 { margin: 0 0 4px; font-stretch: 72%; font-weight: 850; text-transform: uppercase; font-size: 24px; line-height: 1; }
.panel .lede { margin: 0 0 8px; color: var(--ink-2); font-size: 15px; max-width: 60ch; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid line { stroke: var(--paper-3); }
.chart .axis text { fill: var(--muted); font-size: 11.5px; font-family: var(--font); }
.chart .axis .ttl { fill: var(--ink-2); font-size: 12.5px; font-weight: 700; }
.chart circle.dot { stroke: rgba(18, 18, 18, .35); stroke-width: 1; cursor: pointer; }
.chart circle.dot.hl { stroke: var(--ink); stroke-width: 2.5; }
.chart .ref { stroke: var(--ink); stroke-dasharray: 4 4; stroke-width: 1; }
.chart .reflbl, .chart .dlbl { fill: var(--ink-2); font-size: 11.5px; font-weight: 700; font-family: var(--font); paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.rstat { font-size: 14px; color: var(--ink-2); margin-top: 6px; }

/* matrix */
.matrix { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 22px; }
.mx { width: 100%; height: auto; display: block; }
.mx rect.c { cursor: pointer; stroke: #fff; stroke-width: 2; }
.mx rect.c.sel { stroke: var(--ink); stroke-width: 3; }
.mx text { font-family: var(--font); }

/* table */
.tablewrap { overflow: auto; max-height: 620px; border: var(--rule); background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 900px; }
thead th { position: sticky; top: 0; background: #fff; z-index: 1; text-align: left; font-stretch: 75%; font-weight: 850; text-transform: uppercase; font-size: 13px; padding: 10px 10px; border-bottom: var(--rule); white-space: nowrap; }
thead th button { all: unset; cursor: pointer; }
thead th button:focus-visible { outline: 3px solid var(--blue); }
th.n, td.n { text-align: right; }
tbody td { padding: 7px 10px; border-bottom: 1px solid var(--paper-3); white-space: nowrap; }
tbody tr { cursor: pointer; }
tbody tr:hover, tbody tr.sel { background: var(--paper-2); }
.res { font-weight: 850; font-stretch: 75%; font-size: 13px; }
.res.yes { color: var(--yes); } .res.no { color: var(--no); } .res.na { color: var(--muted); }
.strip { display: inline-flex; gap: 2px; vertical-align: -2px; }
.strip i { width: 10px; height: 12px; display: block; }
.tools { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.tools input { font: inherit; font-size: 15px; padding: 7px 10px; border: var(--rule-thin); border-radius: 0; background: #fff; width: 260px; max-width: 100%; }

/* footer */
footer { max-width: 1480px; margin: clamp(80px, 9vw, 140px) auto 0; padding: 0 var(--pad) 40px; }
.cert { border: var(--rule); background: #fff; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cert > div { padding: 16px 18px; border-right: var(--rule-thin); font-size: 14.5px; color: var(--ink-2); }
.cert > div:last-child { border-right: 0; }
.cert h4 { margin: 0 0 6px; font-stretch: 72%; font-weight: 850; text-transform: uppercase; font-size: 17px; color: var(--ink); }
.cert p { margin: 0 0 8px; }
.cert ul { margin: 0; padding-left: 18px; }
.sign { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; align-items: end; margin-top: 30px; }
.sign .wm { font-stretch: 66%; font-weight: 850; text-transform: uppercase; font-size: clamp(44px, 10vw, 150px); line-height: .82; }
.sign p { margin: 0; color: var(--ink-2); font-size: 14px; max-width: 46ch; }

/* entrance */
.rise { opacity: 1; transform: none; }
.js .rise.pending { opacity: 0; transform: translateY(22px); }
.js .rise { transition: opacity .7s var(--ease), transform .8s var(--ease); }
@media (prefers-reduced-motion: reduce) { .js .rise.pending { opacity: 1; transform: none; } .js .rise { transition: none; } .oval::after, .split i { transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .stage { position: relative; top: 0; order: -1; }
  #map3d { height: auto; aspect-ratio: 1.25; }
  .explore { grid-template-columns: minmax(0, 1fr); }
  .matrix, .pair { grid-template-columns: minmax(0, 1fr); }
  .part-head { grid-template-columns: minmax(0, 1fr); }
  .part-head p { justify-self: start; }
}
@media (max-width: 760px) {
  .grid9 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini:nth-child(3n) { border-right: var(--rule-thin); }
  .mini:nth-child(2n) { border-right: 0; }
  .mini:nth-last-child(-n+3) { border-bottom: var(--rule-thin); }
  .mini:last-child { border-bottom: 0; }
  .qtabs { grid-template-columns: repeat(9, minmax(0, 1fr)); }
  .qtabs button { padding: 8px 3px; align-items: center; }
  .qtabs button .s { display: none; }
  .verdict { grid-template-columns: minmax(0, 1fr); }
  .verdict > div { border-right: 0; border-bottom: var(--rule-thin); }
  .verdict > div:last-child { border-bottom: 0; }
  .cert { grid-template-columns: minmax(0, 1fr); }
  .cert > div { border-right: 0; border-bottom: var(--rule-thin); }
}
@media (max-width: 560px) {
  .band { padding-top: 14px; padding-bottom: 14px; }
  .band .line { font-size: 14px; }
  .band nav { font-size: 14px; gap: 2px 14px; }
  .m3big { left: 12px; }
  .mapcard-head { flex-direction: column; }
  .qmeta { font-size: 13px; }
  .ballot-head { grid-template-columns: minmax(0, 1fr); padding-left: 16px; }
  .writein { grid-template-columns: minmax(0, 1fr) auto; padding-left: 16px; }
  .writein label { grid-column: 1 / -1; }
  .qrow { grid-template-columns: 18px minmax(0, 1fr) 64px 64px; }
  .qrow .mark::before { left: 4px; width: 10px; }
  .qrow.on .mark::before { width: 14px; }
  .oval { width: 38px; height: 21px; }
  .tally { padding-left: 16px; grid-template-columns: minmax(0, 1fr); }
  .mini { padding: 10px; }
  .mini .tt { font-size: 15px; }
  .card h3 { font-size: 30px; }
}
