@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 700 800; font-display: swap; src: url("/assets/fonts/big-shoulders-display.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/public-sans.woff2") format("woff2"); }

/* Tokens. Paper and ink from a printed ballot. Marigold marks time that is
   running out, and nothing else. No party colors anywhere, results included. */
:root {
  --paper: #ECEFE9; --panel: #F7F8F4; --ink: #13201B; --muted: #4B5852;
  --rule: #C5CDC6; --track: #D9E0D9; --signal: #FFB81C; --signal-ink: #13201B;
  --board: #0C1613; --flap: #16231E; --flap-hi: #1F2F29; --flap-lo: #111C18; --flap-ink: #FFC23D; --board-muted: #A7B6AF;
  --wash: rgba(255, 184, 28, .24);
  --display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", sans-serif;
  --text: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --map: #CCD5CD; --ctl: #6F7B75; --cov: #EBC35F;
  --measure: 66ch; --bar: 3.75rem; --head: 3.75rem; --focus: #1B1C1A;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E");
  --shadow: 0 1px 0 rgba(27, 28, 26, .04), 0 14px 34px -22px rgba(27, 28, 26, .45);
  --shadow-hi: 0 2px 0 rgba(27, 28, 26, .05), 0 20px 40px -22px rgba(27, 28, 26, .55);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0F1916; --panel: #13211D; --ink: #E8EEE9; --muted: #A1B0A9;
    --rule: #2A3C36; --track: #21322C; --signal: #FFC23D; --signal-ink: #0F1916;
    --wash: rgba(255, 194, 61, .16); --focus: #FFC23D; color-scheme: dark; --map: #2C413A;
    --board: #09110F; --ctl: #7F918A; --cov: #D5A83C;
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E"); --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 16px 36px -22px rgba(0, 0, 0, .9); --shadow-hi: 0 2px 0 rgba(0, 0, 0, .35), 0 22px 44px -22px rgba(0, 0, 0, 1);
  }
}
:root[data-theme="dark"] {
  --paper: #0F1916; --panel: #13211D; --ink: #E8EEE9; --muted: #A1B0A9;
  --rule: #2A3C36; --track: #21322C; --signal: #FFC23D; --signal-ink: #0F1916;
  --wash: rgba(255, 194, 61, .16); --focus: #FFC23D; color-scheme: dark; --map: #2C413A;
  --board: #09110F; --ctl: #7F918A; --cov: #D5A83C;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E"); --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 16px 36px -22px rgba(0, 0, 0, .9); --shadow-hi: 0 2px 0 rgba(0, 0, 0, .35), 0 22px 44px -22px rgba(0, 0, 0, 1);
}
:root[data-theme="light"] { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }
p, li, dd { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 1rem); }
body { margin: 0; background: var(--paper) var(--grain); color: var(--ink); font: 400 1.0625rem/1.55 var(--text); padding-bottom: env(safe-area-inset-bottom, 0px); }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[tabindex="-1"]:focus { outline: none; }
svg { max-width: 100%; }
button, select, textarea { font: inherit; color: inherit; }
.wrap { width: min(100% - 2.5rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px), 76rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .5rem 1rem; z-index: 30; }
.skip:focus { left: 1rem; top: calc(env(safe-area-inset-top, 0px) + .5rem); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

select {
  appearance: none; min-height: 2.5rem; padding: .45rem 2.1rem .45rem .75rem;
  background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23888' stroke-width='2'/%3E%3C/svg%3E") no-repeat right .75rem center;
  border: 1.5px solid var(--ctl); border-radius: 10px; cursor: pointer; transition: border-color .15s ease;
}
select:hover, .finder input:hover { border-color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.5rem; padding: .5rem 1rem;
  border: 1.5px solid var(--ink); border-radius: 8px; background: var(--ink); color: var(--paper);
  font-weight: 600; cursor: pointer; text-decoration: none;
}
.btn.quiet { background: transparent; color: var(--ink); border-color: var(--ctl); }
.btn.quiet:hover { border-color: var(--ink); }
.btn { border-radius: 10px; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.btn:hover { filter: brightness(1.12); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn .ico { width: 1.1em; height: 1.1em; }
.btn.sm { min-height: 2.25rem; padding: .35rem .8rem; font-size: .875rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* Header ---------------------------------------------------------------- */
.site { position: sticky; top: 0; z-index: 20; background: var(--paper); background: color-mix(in srgb, var(--paper) 90%, transparent); -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px); border-bottom: 1px solid var(--rule); padding-top: env(safe-area-inset-top, 0px); transition: box-shadow .2s ease; }
.site.scrolled { box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .6); }
.site .wrap { display: flex; align-items: center; gap: 1.75rem; height: var(--bar); }
.brand { display: inline-flex; flex: none; align-items: center; gap: .45rem; padding: .55rem 0; text-decoration: none; font: 800 1.6rem/1 var(--display); }
.brand svg { width: 1.5rem; height: 1.5rem; flex: none; }
.site nav { display: flex; gap: 1.35rem; font-size: .9375rem; }
.site nav a { color: var(--muted); text-decoration: none; padding: .3rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.site nav a:hover, .site nav a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--signal); }
.mini select { width: 13rem; max-width: 100%; min-width: 0; }
.mini { min-width: 0; margin-left: auto; display: flex; align-items: center; gap: .5rem; font-size: .9375rem; }
.mini label { color: var(--muted); white-space: nowrap; }
.site .jump { display: none; }
@media (max-width: 940px) {
  :root { --head: calc(var(--bar) + 2.75rem); }
  .site .wrap > nav { display: none; }
  .site .jump { display: flex; justify-content: space-between; gap: .35rem; overflow-x: auto; scrollbar-width: none; padding: 0 1.25rem; height: 2.75rem; align-items: center; border-top: 1px solid var(--rule); font-size: clamp(.8125rem, 3.75vw, .9375rem); scroll-snap-type: x proximity; scroll-padding-inline: 1.25rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fl, 0px), #000 calc(100% - var(--fr, 0px)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--fl, 0px), #000 calc(100% - var(--fr, 0px)), transparent); }
  .jump::-webkit-scrollbar { display: none; }
  .site .jump { padding-left: calc(1.25rem + env(safe-area-inset-left, 0px)); padding-right: calc(1.25rem + env(safe-area-inset-right, 0px)); }
  .jump a { flex: none; padding: .6rem .15rem; scroll-snap-align: start; }
}
@media (max-width: 640px) { .mini label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .site .wrap { gap: 1rem; } }
@media (max-width: 440px) { .brand { font-size: 1.4rem; } .brand svg { width: 1.35rem; height: 1.35rem; } }
@media (max-width: 340px) { .site .jump { padding-inline: .75rem; gap: .1rem; font-size: .8125rem; } }

/* Bands: sections alternate paper and panel instead of stacking rules. */
.band { position: relative; padding: clamp(2.5rem, 6vw, 4.5rem) 0; scroll-margin-top: var(--head); --card: var(--panel); }
.band:not(.hero)::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 14px; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 60px) top left / 100% 14px no-repeat, repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 12px) top left / 100% 7px no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.band.alt { background: var(--panel) var(--grain); --card: var(--paper); }
.band-head { margin: 0 auto 2rem; max-width: var(--measure); text-align: center; }
.band-head h2 { margin: 0; font: 800 clamp(2.1rem, 4.2vw, 3.1rem)/1 var(--display); }
.band-head p { margin: .6rem 0 0; color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; box-shadow: var(--shadow); }
.note { margin: 0 auto; padding: 1.25rem 1.5rem; max-width: var(--measure); }
.note p { margin: 0; }
.note .btn { margin: .85rem auto 0; display: flex; width: max-content; max-width: 100%; }
.cta { text-align: center; margin: .9rem 0 0; }
.muted { color: var(--muted); }
.src { margin: .5rem 0 0; font-size: .875rem; color: var(--muted); }

/* Election Clock ---------------------------------------------------------- */
.hero { padding-top: clamp(1.75rem, 4vw, 3rem); position: relative; overflow: hidden; }
.hero h1 { text-align: center; }
.hero .wrap { position: relative; z-index: 1; }
.hero-dial { position: absolute; z-index: 0; right: -9rem; top: -11rem; width: 34rem; height: 34rem; color: var(--ink); opacity: .05; pointer-events: none; }
@media (max-width: 760px) { .hero-dial { width: 22rem; height: 22rem; right: -9rem; top: -8rem; } }
@media (max-width: 560px) { .hero-dial { display: none; } }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem 1.5rem; margin: .85rem 0 0; text-align: center; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0; }
.hero h1 { margin: 0 0 1.1rem; font: 800 clamp(2.2rem, 4.6vw, 3.6rem)/.95 var(--display); text-wrap: balance; }
.clock { --fs: clamp(3rem, 9.4vw, 7.8rem); display: flex; flex-wrap: nowrap; align-items: flex-start; gap: clamp(.4rem, 1.5vw, 1.25rem); padding: clamp(.9rem, 2vw, 1.4rem) clamp(1rem, 2.4vw, 1.6rem) clamp(.8rem, 1.6vw, 1.1rem); background: var(--board); border-radius: 16px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 -2px 0 rgba(0, 0, 0, .5), var(--shadow-hi); outline: 1px solid rgba(255, 255, 255, .06); outline-offset: -1px; }
.clock.wide { --fs: clamp(2.8rem, 8.6vw, 7.2rem); }
.clock-cap { margin: 0 0 .6rem; font-weight: 700; }
.clock .unit { flex: var(--n, 2) 1 0; min-width: 0; display: grid; justify-items: center; gap: .55rem; text-align: center; }
.clock .sep { flex: 0 0 auto; align-self: flex-start; height: calc(var(--fs) * 1.18); display: grid; align-content: center; justify-items: center; gap: calc(var(--fs) * .2); }
.clock .sep i { display: block; width: calc(var(--fs) * .085); aspect-ratio: 1; border-radius: 50%; background: var(--flap-ink); opacity: .45; }
.flaps { display: flex; justify-content: center; gap: calc(var(--fs) * .06); font: 800 var(--fs)/1 var(--display); color: var(--flap-ink); min-height: calc(var(--fs) * 1.18); text-shadow: 0 0 .32em rgba(255, 194, 61, .22); }
.flap { position: relative; display: block; width: .78em; height: 1.18em; border-radius: .07em; box-shadow: 0 .03em .05em rgba(0, 0, 0, .6); perspective: 4em; }
.flap .half, .flap .leaf { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; }
.flap .top, .flap .ltop { top: 0; border-radius: .07em .07em 0 0; background: linear-gradient(180deg, var(--flap-hi), var(--flap)); }
.flap .bot, .flap .lbot { bottom: 0; border-radius: 0 0 .07em .07em; background: linear-gradient(180deg, var(--flap-lo), var(--flap)); }
.flap .half > span, .flap .leaf > span { position: absolute; left: 0; right: 0; height: 200%; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.flap .top > span, .flap .ltop > span { top: 0; }
.flap .bot > span, .flap .lbot > span { bottom: 0; }
.flap::after { content: ""; position: absolute; z-index: 3; left: 0; right: 0; top: calc(50% - .012em); height: .024em; min-height: 1px; background: rgba(0, 0, 0, .7); }
.flap::before { content: ""; position: absolute; z-index: 4; top: calc(50% - .06em); left: -.02em; right: -.02em; height: .12em; background: linear-gradient(90deg, var(--board) .035em, transparent .035em, transparent calc(100% - .035em), var(--board) calc(100% - .035em)); }
.flap .leaf { display: none; z-index: 2; backface-visibility: hidden; }
.flap.flip .ltop { display: block; transform-origin: 50% 100%; animation: flapTop var(--fd, .16s) ease-in forwards; }
.flap.flip .lbot { display: block; transform-origin: 50% 0; transform: rotateX(90deg); animation: flapBot var(--fd, .16s) ease-out var(--fd, .16s) forwards; }
@keyframes flapTop { to { transform: rotateX(-90deg); } }
@keyframes flapBot { to { transform: rotateX(0deg); } }
.clock .l { color: var(--board-muted); font-size: clamp(.875rem, 1.4vw, 1rem); font-weight: 600; }
.clock.is-today { display: block; }
.clock .today { padding: clamp(.4rem, 1.5vw, 1rem) .2rem; text-align: center; color: var(--flap-ink); font: 800 clamp(2.4rem, 7vw, 5.5rem)/.9 var(--display); }
@media (max-width: 560px) {
  .clock { --fs: clamp(2.6rem, 20.5vw, 5.9rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem .9rem; }
  .clock .sep { display: none; }
  .clock.wide { --fs: clamp(2.4rem, 14.5vw, 4.4rem); }
  .clock.three { grid-template-columns: repeat(3, minmax(0, 1fr)); --fs: clamp(2.2rem, 12vw, 3.6rem); }
  .hero-meta { font-size: .8125rem; }
  .hero-meta .src-line { display: block; margin-top: .15rem; font-size: .75rem; opacity: .8; }
  .hero h1 .h1-sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .foot-more { display: none; }
  .hero h1 .h1-when { display: block; margin-top: .18em; font-size: .6em; font-weight: 700; letter-spacing: .01em; color: var(--muted); }
}
.hero-meta { margin: 0; max-width: var(--measure); font-size: .875rem; color: var(--muted); }
.hero-meta a { color: inherit; }
@media (max-width: 560px) { .you { margin-top: 1.25rem; } }

/* "You" panel: the one personal action, then what it unlocks. */
.you { position: relative; margin-top: 1.5rem; padding: clamp(1.25rem, 3vw, 2rem); }
.you > * { position: relative; z-index: 1; }
/* Reserve the panel's height before scripts fill it, so nothing below it jumps on first paint. */
html:not([data-state]) #you-main { min-height: 32rem; }
html[data-state] #you-main { min-height: 24.5rem; }
@media (max-width: 1099px) { html:not([data-state]) #you-main { min-height: 27rem; } }
@media (max-width: 899px) { html[data-state] #you-main { min-height: 26rem; } }
@media (max-width: 820px) { html:not([data-state]) #you-main { min-height: 40rem; } }
@media (max-width: 760px) { html[data-state] #you-main { min-height: 36rem; } }
.you > .you-bg { position: absolute; z-index: 0; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.you-ghost { position: absolute; right: -3%; top: -12%; width: min(46%, 26rem); height: auto; aspect-ratio: 1; }
.you-ghost path { fill: var(--ink); opacity: .05; }
@media (max-width: 640px) { .you-ghost { width: 70%; right: -12%; top: -6%; } }
.ask { display: grid; grid-template-columns: auto minmax(13rem, 21rem) minmax(0, 1fr); align-items: center; gap: 1rem 1.5rem; }
.ask label { font: 800 clamp(1.7rem, 3vw, 2.3rem)/1 var(--display); }
.ask select { min-height: 3.25rem; font-size: 1.125rem; font-weight: 600; border-width: 2px; }
.ask p { margin: 0; color: var(--muted); max-width: 40ch; }
@media (max-width: 820px) { .ask { grid-template-columns: 1fr; } }
.you-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1rem; }
.you-top h2 { margin: 0; font: 800 clamp(1.9rem, 3.6vw, 2.7rem)/1 var(--display); }
.swap { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .9375rem; }
.swap select { width: auto; max-width: 12rem; min-height: 2.5rem; }
.linkbtn { background: none; border: 0; padding: .35rem 0; min-height: 2rem; color: var(--muted); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; font-size: .9375rem; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1.25rem 0 0; border-top: 1px solid var(--rule); }
.stat { padding: 1rem 1.25rem 0 0; min-width: 0; }
.stat + .stat { border-left: 1px solid var(--rule); padding-left: 1.25rem; }
.stat dt { color: var(--muted); font-size: .875rem; font-weight: 600; }
.stat dd { margin: 0; }
.big { display: block; margin: .35rem 0 .3rem; font: 800 clamp(2.3rem, 4.6vw, 3.4rem)/.9 var(--display); font-variant-numeric: tabular-nums; }
.big small { font-size: .5em; }
.stat p { margin: 0; font-size: .9375rem; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; margin-top: 1rem; }
}

/* Road to Election Day: every deadline placed on one line of time. */
.road-wrap { margin: 1.75rem 0 0; }
.road-cap { margin: 0 0 .25rem; font-size: .875rem; font-weight: 600; color: var(--muted); }
.road { position: relative; height: 7rem; margin: 0 .5rem; }
.road-track { position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; background: var(--track); border-radius: 3px; overflow: hidden; }
.road-gone { position: absolute; left: 0; top: 0; bottom: 0; background: var(--muted); opacity: .55; }
.road-range { position: absolute; top: 50%; height: 16px; margin-top: -8px; background: var(--wash); border: 1.5px solid var(--signal); border-radius: 8px; }
.mk { position: absolute; top: 50%; width: 0; height: 0; }
.mk-dot { position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--card); border: 3px solid var(--ink); }
.mk.gone .mk-dot { border-color: var(--rule); }
.mk.next .mk-dot { background: var(--signal); }
.mk.today .mk-dot { left: -2px; top: -15px; width: 4px; height: 30px; border: 0; border-radius: 2px; background: var(--ink); }
.mk.eday .mk-dot { left: -11px; top: -11px; width: 22px; height: 22px; background: var(--signal); border-radius: 5px; }
.mk-label { position: absolute; white-space: nowrap; font-size: .8125rem; line-height: 1.2; transform: translateX(-50%); }
.mk-label b { display: block; font-weight: 700; }
.mk-label span { color: var(--muted); }
.mk-label.start { transform: translateX(-8px); }
.mk-label.end { transform: translateX(calc(-100% + 8px)); text-align: right; }
.mk[data-row="up"] .mk-label { bottom: 16px; }
.mk[data-row="down"] .mk-label { top: 16px; }
.mk.gone .mk-label { color: var(--muted); }

/* Your Voting Clock --------------------------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; max-width: 54rem; }
.timeline { max-width: 62rem; }
.dl { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; align-items: start; gap: .25rem 1.25rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.dl:first-child { border-top: 1px solid var(--rule); }
.dl-date { position: relative; display: flex; flex-direction: column; text-align: center; min-height: 4.6rem; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--card); overflow: hidden; box-shadow: 0 2px 0 var(--rule), 0 3px 0 var(--card), 0 4px 0 var(--rule); }
.dl-date::before { content: ""; position: absolute; top: .28rem; left: 22%; right: 22%; height: .32rem; background: radial-gradient(circle, var(--card) 45%, transparent 50%) left / .32rem .32rem no-repeat, radial-gradient(circle, var(--card) 45%, transparent 50%) right / .32rem .32rem no-repeat; }
.dl-date .mo { display: block; padding: .72rem 0 .12rem; background: var(--ink); color: var(--paper); font-weight: 700; font-size: .8125rem; line-height: 1.1; }
.dl-date .d { display: grid; place-items: center; flex: 1; padding: .2rem 0 .25rem; font: 800 2.5rem/.9 var(--display); font-variant-numeric: tabular-nums; }
.dl.next .dl-date { background: var(--signal); color: var(--signal-ink); }
.dl.next .dl-date .mo { background: var(--signal-ink); color: var(--signal); }
.dl.gone { color: var(--muted); }
.dl.gone .dl-date { border-color: var(--rule); background: transparent; box-shadow: none; }
.dl.gone .dl-date .mo { background: var(--track); color: var(--muted); }
.dl h3 { margin: 0; font-size: 1.1875rem; line-height: 1.3; }
.dl .when { margin: .2rem 0 0; }
.dl .left { font-weight: 700; }
.dl .detail { margin: .5rem 0 0; max-width: var(--measure); }
.dl .btn { min-height: 2.25rem; padding: .35rem .8rem; font-size: .875rem; }
@media (max-width: 640px) { .dl { grid-template-columns: 4.5rem minmax(0, 1fr); } .dl .btn { grid-column: 2; justify-self: start; margin-top: .5rem; } }
.fine { margin: 1.5rem 0 0; max-width: var(--measure); }

/* Office Clock ------------------------------------------------------------- */
.seats { max-width: 64rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); align-items: center; gap: 1.25rem 2.5rem; margin: 0 0 2.5rem; padding: 1.25rem 1.5rem; }
.seats .big { margin-top: 0; }
.seats p { margin: 0; }
.dots { display: flex; flex-wrap: wrap; gap: 7px; }
.dots span { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--muted); }
.dots span.up { background: var(--signal); border-color: var(--signal); }
.dots span.gov { border-radius: 4px; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: .75rem 0 0; font-size: .8125rem; color: var(--muted); }
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--muted); margin-right: .35rem; vertical-align: -1px; }
.legend i.up { background: var(--signal); border-color: var(--signal); }
@media (max-width: 760px) { .seats { grid-template-columns: 1fr; } }

.group { margin: 0 0 2.5rem; max-width: 64rem; }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; border-bottom: 2px solid var(--ink); padding-bottom: .45rem; }
.group-head h3 { margin: 0; font: 800 1.6rem/1 var(--display); }
.group-head h3 span { color: var(--muted); }
.filter { display: flex; align-items: center; gap: .5rem; font-size: .9375rem; }
.offices { list-style: none; margin: 0; padding: 0; }
.office { display: grid; grid-template-columns: 3.5rem minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'ring who f1 f2'; align-items: center; gap: .5rem 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.office .ring { grid-area: ring; } .office .who { grid-area: who; } .office .f1 { grid-area: f1; } .office .f2 { grid-area: f2; }
.office .who strong { display: block; font-size: 1.125rem; line-height: 1.3; }
.office .who span { color: var(--muted); font-size: .9375rem; }
.fact small { display: block; color: var(--muted); font-size: .8125rem; }
.fact b { font-weight: 600; }
.fact em { font-style: normal; color: var(--muted); font-size: .9375rem; }
.tag { display: inline-block; margin-top: .2rem; padding: .05rem .5rem; border-radius: 99px; background: var(--signal); color: var(--signal-ink); font-size: .75rem; font-weight: 700; }
@media (max-width: 760px) {
  .office { grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'ring who who' '. f1 f2'; gap: .6rem 1rem; }
}
.more { margin: 1rem auto 0; display: flex; width: max-content; max-width: 100%; }

/* Rings: percent of term served, percent of vote counted. */
.ring { display: block; width: 3.5rem; height: 3.5rem; }
.ring .t { fill: none; stroke: var(--track); stroke-width: 5; }
.ring .f { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; transition: stroke-dashoffset .7s ease-out; }
.ring.up .f { stroke: var(--signal); }
.ring text { fill: var(--ink); font: 700 13px var(--text); }

/* Results ------------------------------------------------------------------ */
.waiting { padding: 1.5rem; max-width: 52rem; margin-left: auto; margin-right: auto; }
.waiting h3 { margin: 0 0 .25rem; font-size: 1.25rem; }
.waiting p { margin: 0; color: var(--muted); max-width: var(--measure); }
.testbar { margin: 0 0 1.25rem; padding: .7rem 1rem; border-radius: 8px; font-weight: 700; color: var(--signal-ink);
  background: repeating-linear-gradient(-45deg, var(--signal) 0 14px, #FFD36B 14px 28px); border: 2px solid var(--ink); }
.rtools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1.25rem; }
.tabs { display: flex; flex-wrap: wrap; gap: .4rem; }
.tabs button { padding: .4rem .85rem; border-radius: 99px; border: 1.5px solid var(--rule); background: transparent; font-size: .9375rem; font-weight: 600; cursor: pointer; }
.tabs button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.called { min-width: 15rem; font-size: .9375rem; }
.bar { height: 8px; background: var(--track); border-radius: 4px; overflow: hidden; margin-top: .35rem; }
.bar span { display: block; height: 100%; background: var(--ink); border-radius: 4px; transition: width .7s ease-out; }
.races { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); gap: 1rem; }
.race { padding: 1.1rem 1.25rem 1rem; display: flex; flex-direction: column; gap: .8rem; }
.race header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; align-items: start; }
.race h3 { margin: 0; font-size: 1.125rem; line-height: 1.25; }
.race header p { margin: .15rem 0 0; color: var(--muted); font-size: .875rem; }
.race .ring { width: 3rem; height: 3rem; }
.race .ring text { font-size: 12px; }
.counted { text-align: center; font-size: .6875rem; color: var(--muted); line-height: 1.1; margin-top: .15rem; }
.cands { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.cand { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .1rem 1rem; }
.cand .nm { font-weight: 600; }
.cand .nm small { color: var(--muted); font-weight: 400; }
.cand .pc { font-weight: 700; text-align: right; }
.cand .bar { grid-column: 1 / -1; margin-top: 0; }
.cand .vt { grid-column: 1 / -1; font-size: .8125rem; color: var(--muted); }
.cand:not(.lead) .bar span { background: var(--muted); }
.win { display: inline-flex; align-items: center; gap: .25rem; margin-left: .35rem; padding: 0 .45rem; border-radius: 99px; background: var(--signal); color: var(--signal-ink); font-size: .6875rem; font-weight: 700; vertical-align: 1px; }
.race footer { margin-top: auto; font-size: .8125rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: .6rem; }

/* Media Clock -------------------------------------------------------------- */
.builder { display: grid; grid-template-columns: minmax(0, 19rem) minmax(0, 1fr); gap: 2rem; align-items: start; }
.controls { display: grid; gap: 1rem; }
.controls label { display: grid; gap: .3rem; min-width: 0; font-weight: 600; font-size: .9375rem; }
.controls select { width: 100%; max-width: 100%; }
.controls .hint { font-weight: 400; color: var(--muted); font-size: .875rem; }
.preview-wrap { display: grid; gap: 1rem; min-width: 0; }
.preview { display: block; width: 100%; max-width: 520px; height: 230px; border: 0; background: transparent; }
.newsframe { margin: 0; max-width: 40rem; border: 1px solid var(--rule); border-radius: 14px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.nf-bar { display: flex; align-items: center; gap: .35rem; padding: .55rem .8rem; border-bottom: 1px solid var(--rule); background: var(--track); }
.nf-bar i { width: .6rem; height: .6rem; border-radius: 50%; background: var(--rule); }
.nf-bar span { margin-left: .6rem; padding: .15rem .7rem; border-radius: 99px; background: var(--card); color: var(--muted); font-size: .8125rem; }
.nf-body { display: grid; gap: 1rem; padding: 1.25rem clamp(1rem, 3vw, 1.75rem); }
.nf-lines { display: grid; gap: .5rem; }
.nf-lines b { display: block; height: .55rem; width: 100%; border-radius: 99px; background: var(--track); }
.nf-lines b.h { height: 1rem; background: var(--rule); }
.newsframe figcaption { padding: .6rem 1rem .8rem; color: var(--muted); font-size: .875rem; border-top: 1px solid var(--rule); }
textarea { width: 100%; min-height: 5.5rem; padding: .75rem; border: 1.5px solid var(--rule); border-radius: 8px; background: var(--card); font: .8125rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; resize: vertical; }
@media (max-width: 820px) { .builder { grid-template-columns: minmax(0, 1fr); } }

/* Footer ------------------------------------------------------------------- */


/* Map picker, state outline, finder, tools, icons */
.ask2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1.25rem 2.5rem; align-items: center; }
.ask2 h2 { margin: 0 0 .5rem; font: 800 clamp(1.8rem, 3.2vw, 2.4rem)/1 var(--display); }
.ask2 p { margin: .75rem 0 0; color: var(--muted); max-width: 40ch; }
.ask2 select { width: 100%; max-width: 22rem; min-height: 3.25rem; font-size: 1.125rem; font-weight: 600; border-width: 2px; }
@media (max-width: 820px) { .ask2 { grid-template-columns: 1fr; } }
.usmap { display: block; width: 100%; height: auto; }
.usmap path.has { fill: var(--cov); }
.usmap path.has:hover { fill: var(--signal); }
.map-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; margin-top: .6rem; min-height: 1.75rem; }
.map-label { margin: 0; font-size: .875rem; color: var(--muted); }
.map-label.on { color: var(--ink); font-weight: 600; }
.legend { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; margin: 0; padding: 0; list-style: none; font-size: .8125rem; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: .4rem; }
.legend .sw { width: .8rem; height: .8rem; border-radius: 3px; background: var(--map); border: 1px solid var(--ctl); }
.legend .sw.has { background: var(--cov); border-color: transparent; }
.chips button.has::before { content: ""; display: inline-block; width: .5rem; height: .5rem; margin-right: .45rem; border-radius: 50%; background: var(--cov); }
.suggest { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .85rem; margin: 1rem 0 0; padding: .65rem .85rem; border-radius: 12px; background: var(--wash); max-width: 40ch; }
.suggest[hidden] { display: none; }
.usmap path { fill: var(--map); stroke: var(--card); stroke-width: 1.2; cursor: pointer; transition: fill .15s ease; }
.usmap path:hover { fill: var(--rule); }
.map-skel { aspect-ratio: 975 / 610; border-radius: 12px; background: var(--track); opacity: .5; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .75rem 0 0; }
.chips button { padding: .35rem .75rem; min-height: 2.25rem; border-radius: 99px; border: 1.5px solid var(--rule); background: transparent; font-size: .875rem; font-weight: 600; cursor: pointer; }
.chips button:hover { border-color: var(--signal); background: var(--wash); }
.you-id { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.outline { width: 3.2rem; height: 3.2rem; flex: none; }
.outline path { fill: var(--signal); stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.finder { margin: 1.25rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--rule); }
.finder label { display: flex; align-items: center; gap: .45rem; font-weight: 700; margin: 0 0 .5rem; }
.finder label .ico { width: 1.2rem; height: 1.2rem; color: var(--muted); }
.finder-row { display: flex; gap: .5rem; max-width: 36rem; }
.combo { position: relative; flex: 1; min-width: 0; }
.finder input { width: 100%; min-width: 0; min-height: 2.75rem; padding: .5rem .8rem; border: 1.5px solid var(--ctl); border-radius: 10px; background: var(--card); color: var(--ink); font: inherit; }
.finder input[aria-expanded="true"] { border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; }
.combo.busy::after { content: ""; position: absolute; right: .8rem; top: 50%; width: .95rem; height: .95rem; margin-top: -.5rem; border: 2px solid var(--rule); border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.addr-list { position: absolute; z-index: 6; left: 0; right: 0; top: calc(100% + .3rem); margin: 0; padding: .3rem; list-style: none; background: var(--card); border: 1.5px solid var(--ctl); border-radius: 10px; box-shadow: var(--shadow-hi); max-height: 17rem; overflow-y: auto; }
.addr-list[hidden] { display: none; }
.addr-list li { display: flex; align-items: center; gap: .5rem; padding: .55rem .7rem; border-radius: 7px; cursor: pointer; line-height: 1.3; }
.addr-list li .ico { width: 1rem; height: 1rem; color: var(--muted); }
.addr-list li[aria-selected="true"], .addr-list li[role="option"]:hover { background: var(--wash); }
.addr-list .addr-note { color: var(--muted); font-size: .8125rem; cursor: default; }
.addr-list .addr-head { color: var(--ink); font-weight: 700; font-size: .875rem; }   /* v103: the line above addresses offered after a search */
.addr-list [role="option"] + .addr-note { border-top: 1px solid var(--rule); border-radius: 0; margin-top: .2rem; padding-top: .55rem; }
.locate { display: inline-flex; align-items: center; gap: .35rem; margin-top: .35rem; color: var(--ink); }
.locate .ico { width: 1.05rem; height: 1.05rem; }
.finder-note { margin: .45rem 0 0; font-size: .8125rem; color: var(--muted); max-width: 60ch; }
.finder-result { margin: .6rem 0 0; max-width: 62ch; overflow-wrap: anywhere; }
.finder-result:empty { display: none; }
.finder-result.nudge { animation: vc-nudge .7s ease-out; border-radius: 4px; }
@keyframes vc-nudge { 0%, 35% { background: var(--wash); box-shadow: 0 0 0 4px var(--wash); } 100% { background: transparent; box-shadow: 0 0 0 4px transparent; } }
@media (prefers-reduced-motion: reduce) { .finder-result.nudge { animation: none; font-weight: 600; } }
.tools { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0 0 1.25rem; }
.ico { width: 1.25rem; height: 1.25rem; flex: none; }
.dl h3 { display: flex; align-items: flex-start; gap: .5rem; }
.dl h3 .ico { margin-top: .12rem; color: var(--muted); }
.dl.next h3 .ico { color: var(--ink); }
.office.mine { background: var(--wash); border-radius: 12px; padding-inline: .75rem; margin-inline: -.75rem; }
.print-head { display: none; }
.past { margin: 0 0 1rem; max-width: 62rem; }
.past summary { cursor: pointer; font-weight: 600; color: var(--muted); padding: .35rem 0; width: fit-content; }
.past[open] summary { margin-bottom: .5rem; }
footer { border-top: 1px solid var(--rule); background: var(--panel) var(--grain); padding: clamp(2.5rem, 5vw, 4rem) 0 2.5rem; color: var(--muted); font-size: .9375rem; }
footer strong { color: var(--ink); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(0, 1fr)); gap: 2.25rem clamp(1.5rem, 4vw, 4rem); align-items: start; }
.foot-brand .brand { padding: 0; font-size: 1.85rem; color: var(--ink); }
.foot-brand p { margin: .7rem 0 1.15rem; max-width: 30ch; }
.foot-jump { display: grid; gap: .35rem; max-width: 16rem; font-weight: 600; color: var(--ink); }
.foot-col h2 { margin: 0 0 .7rem; font: 700 1rem/1.25 var(--text); color: var(--ink); }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li a { display: inline-block; padding: .3rem 0; color: var(--muted); text-decoration: none; }
.foot-col li a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.contacts { display: grid; gap: 1rem; margin: 0; }
.contacts dt { font-size: .8125rem; }
.contacts dd { margin: .15rem 0 0; }
.contacts a { color: var(--ink); overflow-wrap: anywhere; }
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2.5rem; margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.foot-legal p { margin: 0; max-width: 64ch; }
.foot-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.5rem; }
.appearance { display: flex; align-items: center; gap: .5rem; }
.appearance select { min-height: 2.25rem; font-size: .875rem; }
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand, .foot-contact { grid-column: 1 / -1; }
  .foot-contact .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-col li a { padding: .4rem 0; }
}
@media (max-width: 350px) { .foot-contact .contacts { grid-template-columns: 1fr; } }
.allstates { margin-top: 1.25rem; }
.allstates summary { cursor: pointer; font-weight: 600; color: var(--ink); width: fit-content; padding: .25rem 0; }
.allstates ul { list-style: none; margin: 1rem 0 0; padding: 0; columns: 5 10rem; column-gap: 1.5rem; }
.allstates li { padding: .15rem 0; break-inside: avoid; }
.allstates a { text-decoration: none; }
.allstates a:hover { text-decoration: underline; }
.allstates a[aria-current="page"] { color: var(--ink); font-weight: 700; }

@media print {
  :root, :root[data-theme="dark"] { --paper: #fff; --panel: #fff; --card: #fff; --ink: #000; --muted: #333; --rule: #aaa; --grain: none; color-scheme: light; }
  body { background: #fff; }
  .site, .skip, .hero, #office-clock, #results, #media-clock, footer, .tools, .dl .btn, .band-head p, .past, .dl .left { display: none !important; }
  .band { padding: 0; background: #fff; }
  .print-head { display: block; margin: 0 0 1rem; font-weight: 700; }
  .dl { break-inside: avoid; }
  .src a::after { content: " (" attr(href) ")"; font-size: .75em; word-break: break-all; }
}

@media (prefers-contrast: more) {
  :root { --muted: #3E413C; --rule: #8A8E86; --track: #C4C7BF; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --muted: #C9CCC3; --rule: #6B6F67; --track: #4A4D47; } }
  :root[data-theme="dark"] { --muted: #C9CCC3; --rule: #6B6F67; --track: #4A4D47; }
}
@media (forced-colors: active) {
  .ring .t { stroke: GrayText; } .ring .f { stroke: Highlight; } .ring text { fill: CanvasText; }
  .bar span, .road-gone, .dots span.up, .mk.next .mk-dot, .mk.eday .mk-dot, .mk.today .mk-dot { forced-color-adjust: none; background: Highlight; }
  .clock, .tag, .win, .testbar { border: 2px solid CanvasText; }
  .flaps, .clock .today { forced-color-adjust: auto; color: CanvasText; }
  .flap::before { display: none; }
}
@media (pointer: coarse) {
  select, textarea, .appearance select, .swap select { font-size: 16px !important; }
  a, button, select { -webkit-tap-highlight-color: rgba(255, 184, 28, .25); }
}
.btn:active, .tabs button:active { transform: translateY(1px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ring .f, .bar span, .btn, .site { transition: none; }
  .combo.busy::after { animation: none; border-top-color: var(--rule); }
}

/* Policy and information pages ------------------------------------------- */
.doc { padding: clamp(1.25rem, 2.5vw, 1.75rem) 0 4rem; }   /* v220 (Shams, Oct 16: empty band above the breadcrumb on desktop): 56px -> 28px */
.doc article { max-width: 46rem; }
.doc h1 { margin: 0 0 .5rem; font: 800 clamp(2.4rem, 5vw, 3.4rem)/.95 var(--display); }
.doc h2 { margin: 2.25rem 0 .6rem; font: 800 1.65rem/1.05 var(--display); }
.doc h3 { margin: 1.5rem 0 .4rem; font-size: 1.125rem; }
.doc p, .doc li { max-width: 68ch; }
.doc-center { text-align: center; }
.doc-center p { margin-left: auto; margin-right: auto; }
.doc ul { padding-left: 1.25rem; }
.doc li { margin: .35rem 0; }
.doc .updated { color: var(--muted); margin: 0 0 1.5rem; }
.doc .summary { padding: 1.1rem 1.35rem; margin: 1.25rem 0 0; }
.doc .summary p { margin: .35rem 0; }
.simple-nav { display: flex; gap: 1.35rem; margin-left: auto; font-size: .9375rem; }
.simple-nav a { color: var(--muted); text-decoration: none; padding: .3rem 0; border-bottom: 2px solid transparent; }
.simple-nav a:hover { color: var(--ink); border-bottom-color: var(--signal); }
@media (max-width: 560px) { .simple-nav .hide-sm { display: none; } }

/* Registration deadlines by state (v22) */
.doc article:has(.regwrap) { max-width: 60rem; }
.regwrap { overflow-x: auto; margin: 1.5rem 0 0; }
.regtable { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.regtable th, .regtable td { text-align: left; vertical-align: top; padding: .75rem 1rem .75rem 0; border-bottom: 1px solid var(--rule); }
.regtable thead th { padding-top: 0; font-size: .8125rem; font-weight: 700; color: var(--muted); border-bottom: 1.5px solid var(--ink); }
.regtable tbody th { width: 34%; font-weight: 700; }
.regtable td ul { list-style: none; margin: 0; padding: 0; }
.regtable td li { margin: 0 0 .25rem; max-width: none; }
.regtable .rd { font-weight: 700; font-variant-numeric: tabular-nums; }
.regtable li:has(.rd.past) { color: var(--muted); }
.regtable .rd.past { text-decoration: line-through; font-weight: 400; }
.regtable .reg-none { margin: 0; color: var(--muted); }
/* Media Clock page (v22) */
.embed-demo { margin: 1.5rem 0 0; max-width: 520px; }
.embed-demo iframe { display: block; width: 100%; height: 230px; border: 0; }
.code { margin: .75rem 0 0; padding: 1rem 1.1rem; border: 1px solid var(--rule); border-radius: 8px; background: var(--panel); font: .8125rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-all; }
.doc .cta { margin: .75rem 0 0; text-align: left; }

/* v25 balance: on wide screens every section's content sits in a centered column,
   and standalone boxes center their contents. Lists keep a straight left edge inside their column. */
#deadlines { max-width: 62rem; margin-inline: auto; }
#offices, #results-box { max-width: 64rem; margin-inline: auto; }
.timeline, .seats, .group { margin-inline: auto; }
.dl .detail { max-width: 80ch; }
.note, .waiting { text-align: center; }
.waiting p { margin-inline: auto; }
.finder { text-align: center; }
.finder label { justify-content: center; }
.finder-row, .finder-note, .finder-result { margin-inline: auto; }
.addr-list { text-align: left; }
.builder { max-width: 62rem; margin-inline: auto; }
.newsframe, .preview { margin-inline: auto; }
#media-clock .fine { margin-inline: auto; text-align: center; max-width: 76ch; }
.doc article { margin-inline: auto; }
#deadlines .fine, #offices .fine { margin-inline: auto; text-align: center; }

/* v26: Media Clock on one center line: settings in a row, then preview, code, button and note, all the same width. */
.builder { grid-template-columns: minmax(0, 1fr); max-width: 52rem; gap: 1.5rem; }
.controls { grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: left; }
@media (max-width: 760px) { .controls { grid-template-columns: minmax(0, 1fr); } }
.newsframe { width: 100%; max-width: none; }
#media-clock .fine { max-width: 52rem; }
/* v26: officeholder rows span the full line: circle at the far left, "Voters decide next" flush right. */
@media (min-width: 761px) { .office { grid-template-columns: 3.5rem minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); } }
.office .f1 { justify-self: center; text-align: center; }
.office .f2 { justify-self: end; text-align: right; }
@media (max-width: 760px) { .office .f1 { justify-self: start; text-align: left; } }
.controls { align-items: start; }

/* v27: a tighter top on laptops, so a state's "road to Election Day" fits on screen with the countdown. */
@media (min-width: 561px) {
  .hero { padding-top: clamp(1rem, 2.2vw, 1.6rem); }
  .hero h1 { margin-bottom: .75rem; }
  .clock { --fs: clamp(3rem, 7.4vw, 6rem); }
  .clock.wide { --fs: clamp(2.8rem, 6.9vw, 5.6rem); }
  .hero-foot { margin-top: .6rem; }
  .you { margin-top: 1rem; padding: clamp(1rem, 2vw, 1.4rem) clamp(1.25rem, 3vw, 2rem); }
  .stats { margin-top: .75rem; }
  .road-wrap { margin-top: 1rem; }
}
@media (min-width: 561px) {
  .clock { --fs: clamp(3rem, 6.6vw, 5.4rem); }
  .clock.wide { --fs: clamp(2.8rem, 6.2vw, 5rem); }
  .big { font-size: clamp(2.1rem, 3.8vw, 2.9rem); }
  html[data-state] #you-main { min-height: 21rem; }
}
@media (min-width: 561px) {
  .you-top h2 { font-size: clamp(1.9rem, 3.2vw, 2.35rem); }
  .stat { padding-top: .6rem; }
  .stats { margin-top: .6rem; }
  .road-wrap { margin-top: .75rem; }
  html[data-state] #you-main { min-height: 20rem; }
}

/* The Latest (v28) */
.lt-list { list-style: none; margin: 0 auto; padding: 0; max-width: 52rem; text-align: left; }
.lt { padding: 1rem 0; border-bottom: 1px solid var(--rule); scroll-margin-top: calc(var(--head) + 1rem); }
.lt:first-child { border-top: 1px solid var(--rule); }
.lt-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; margin: 0 0 .4rem !important; font-size: .8125rem; color: var(--muted); }
.lt-kind { font-weight: 700; padding: .1rem .6rem; border-radius: 99px; border: 1.5px solid var(--ink); color: var(--ink); }
.lt-kind.k-reminder { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
.lt-kind.k-rule_change, .lt-kind.k-court { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.lt h3 { margin: 0; font-size: 1.125rem; line-height: 1.35; }
.lt p { margin: .35rem 0 0; max-width: none; }
.lt .src, .lt-states { font-size: .875rem; color: var(--muted); }
#latest .band-head { margin-bottom: 1.5rem; }
#latest-feed { max-width: 52rem; margin-inline: auto; }
.lt-filter select { min-height: 2.5rem; margin-left: .5rem; }

/* v29: map caption and color key sit to the right, clear of the territory buttons */
.map-foot { justify-content: flex-end; text-align: right; }
@media (max-width: 560px) {
  .map-foot { flex-direction: column; align-items: flex-end; gap: .3rem; margin-bottom: .9rem; }
  .map-foot .legend { justify-content: flex-end; }
}
/* v29: The Latest is centered like the rest of the page (the /latest page keeps its left-aligned text column) */
/* Nov 4, 2026: updates read like a newspaper column: left-aligned, compact (was centered, v29) */

/* v30: Puerto Rico (no 2026 election) gets its own look in the map key and buttons */
.chips button.none { border-style: dashed; color: var(--muted); }
.chips button.none::before { content: ""; display: inline-block; width: .55rem; height: 2px; margin-right: .45rem; vertical-align: middle; background: var(--muted); }
.legend .sw.none { background: transparent; border: 1.5px dashed var(--muted); }
/* v30: The Latest, a nationwide fallback line, and 3 updates on phones (all on /latest) */
.lt-fallback { margin: 0 auto 1rem; text-align: center; color: var(--muted); font-size: .9375rem; }
@media (max-width: 560px) { #latest .lt:nth-child(n+4) { display: none; } }

/* v31: Where to vote, under the address finder */
.vote-places { max-width: 36rem; margin: 1rem auto 0; text-align: center; }
.vote-places h3 { margin: 0 0 .5rem; font-size: 1.125rem; }
.vote-places h4 { margin: .75rem 0 .35rem; font-size: .875rem; color: var(--muted); text-transform: none; }
.vote-places ul { list-style: none; margin: 0; padding: 0; }
.vote-places li { padding: .6rem 0; border-top: 1px solid var(--rule); line-height: 1.45; }
.vp-mi, .vp-when { color: var(--muted); font-size: .875rem; }
.vp-note { margin: .6rem 0 0; color: var(--muted); font-size: .875rem; }
.lt-ai { font-weight: 700; color: var(--muted); border: 1px dashed var(--muted); border-radius: 99px; padding: .05rem .5rem; }

/* v32: the homepage picker is one centered column: heading, map, territories, the list, then the finder */
.ask2.ask-stack { display: block; text-align: center; }
.ask-stack .ask-head p { margin-inline: auto; max-width: 52ch; }
.ask-stack .suggest { margin-inline: auto; justify-content: center; }
.ask-map { max-width: 46rem; margin: 1rem auto 0; }
.ask-stack > .chips { justify-content: center; margin-top: .9rem; }
.ask-pick { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem .9rem; margin: 1.1rem auto 0; }
.ask-pick label { font-weight: 700; }
.ask-stack .ask-pick select { width: auto; min-width: 15rem; max-width: 100%; min-height: 2.75rem; font-size: 1rem; }
/* v32: The Latest uses the same column width as the officeholder lists */
#latest-feed, .lt-list { max-width: 64rem; }
/* v32: reserve the stacked picker's height while it loads (no jump) */
html:not([data-state]) #you-main { min-height: 44rem; }
@media (max-width: 820px) { html:not([data-state]) #you-main { min-height: 42rem; } }

/* v33: What's on your ballot, under Where to vote. One centered column. Each race is a centered box, and
   candidate lists keep a straight left edge inside it. Every candidate looks the same: no party colors,
   photos, badges or links. Colors come from the existing tokens only. */
.ballot { max-width: 36rem; margin: 1.5rem auto 0; padding-top: 1.25rem; border-top: 1px solid var(--rule); text-align: center; }
.ballot[hidden] { display: none; }
.ballot h3 { margin: 0; font-size: 1.125rem; }
.ballot h4 { margin: 1.5rem 0 .7rem; font-size: 1.0625rem; }
.ballot h5 { margin: 0; font-size: 1.0625rem; line-height: 1.25; }
.ballot-for { margin: .3rem 0 0; color: var(--muted); font-size: .9375rem; }
.b-races, .b-measures { list-style: none; margin: 0; padding: 0; }
.b-race, .b-measure { margin: 0 0 .75rem; padding: .95rem 1rem 1.05rem; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); overflow-wrap: anywhere; }
.b-race:last-child, .b-measure:last-child { margin-bottom: 0; }
.race-sub, .race-meta, .m-ex { margin: .25rem 0 0; color: var(--muted); font-size: .9375rem; line-height: 1.4; }
.m-sub { margin: .3rem 0 0; font-weight: 600; line-height: 1.4; }
.m-ex { margin-top: .45rem; }
.m-link { margin: .6rem 0 0; font-size: .9375rem; }
.b-cands { list-style: none; width: fit-content; max-width: 100%; margin: .8rem auto 0; padding: 0; text-align: left; }
.b-cands li { margin: 0 0 .6rem; line-height: 1.35; }
.b-cands li:last-child { margin-bottom: 0; }
.cand-name { display: block; font-weight: 600; }
.cand-party { display: block; color: var(--muted); font-size: .875rem; }
.ballot-note { margin: 1rem 0 0; color: var(--muted); font-size: .875rem; }
.ballot-note + .ballot-note { margin-top: .5rem; }

/* v34 ------------------------------------------------------------------------------------------------
   A smaller countdown, so the map and the territories fit on a laptop screen without scrolling, and the
   countdown sits on one line on phones. On wide screens the state picker puts the map beside the
   heading, the territories and the list; each column stays centered. */
@media (min-width: 561px) {
  .hero h1 { font-size: clamp(2rem, 3.4vw, 2.85rem); margin-bottom: .6rem; }
  .clock { --fs: clamp(2.6rem, 4.3vw, 3.9rem); max-width: 50rem; margin-inline: auto; padding: .8rem 1.4rem .75rem; }
  .clock.wide { --fs: clamp(2.4rem, 3.9vw, 3.5rem); }
  .clock .unit { gap: .4rem; }
  .hero-foot { margin-top: .55rem; }
}
@media (max-width: 560px) {
  .clock, .clock.three { display: flex; --fs: clamp(1.8rem, 11.2vw, 2.9rem); gap: .45rem; padding: .7rem .55rem .6rem; }
  .clock.wide { --fs: clamp(1.6rem, 9.3vw, 2.5rem); }
  .clock .unit { gap: .3rem; }
  .clock .l { font-size: .8125rem; }
  .hero h1 { margin-bottom: .7rem; }
}

@media (min-width: 900px) {
  .ask2.ask-stack { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-rows: 1fr auto auto auto 1fr;
    grid-template-areas: ". map" "head map" "chips map" "pick map" ". map"; column-gap: clamp(1.5rem, 3vw, 2.75rem); align-items: center; }
  .ask-stack .ask-head { grid-area: head; }
  .ask-stack .ask-map { grid-area: map; width: 100%; max-width: 36rem; margin: 0 auto; }
  .ask-stack > .chips { grid-area: chips; margin-top: 1rem; }
  .ask-stack .ask-pick { grid-area: pick; margin-top: 1rem; }
  .ask-stack .ask-head p { max-width: 42ch; }
  .ask-stack .suggest { max-width: none; margin-top: .8rem; padding: .5rem .8rem; }
  html:not([data-state]) #you-main { min-height: 25rem; }
}

/* Phones: heading, then the map, then the instructions, so the map is on the first screen. */
@media (max-width: 899px) {
  .ask2.ask-stack { display: flex; flex-direction: column; align-items: stretch; }
  .ask-stack .ask-head { display: contents; }
  .ask-stack .ask-head h2 { order: 1; }
  .ask-stack .suggest { order: 2; }
  .ask-stack .ask-map { order: 3; margin-top: .75rem; }
  .ask-stack .ask-head p:not(.suggest) { order: 4; margin-top: .75rem; }
  .ask-stack > .chips { order: 5; }
  .ask-stack .ask-pick { order: 6; }
}
@media (max-width: 560px) {
  .you { margin-top: .75rem; }
  .hero-foot { margin-top: .5rem; gap: .5rem 1rem; }
  .hero-actions .btn { min-height: 2.5rem; padding-block: .3rem; }
}

@media (max-width: 899px) { html:not([data-state]) #you-main { min-height: 45rem; } }

/* The note and key under the map are centered like the map above them. */
.ask-stack .map-foot { justify-content: center; text-align: center; flex-direction: row; align-items: center; gap: .3rem 1.1rem; margin: .45rem 0 0; min-height: 0; }
.ask-stack .map-foot .legend { justify-content: center; }
.ask-stack .map-label { font-size: .8125rem; }
/* v104: the note under the map names the state under the pointer, so its length changes as the pointer moves.
   Two things followed from that. Between 561 and 899 pixels wide the map's box had no width of its own and took
   the width of the note-and-key row: a longer name widened the box, the map grew with it, and everything below
   jumped (by up to 58 pixels) at every state the pointer crossed. And on wider screens the row went from one line
   to two when a long name no longer fitted beside the key. Now the box has a set width at every size, and the note
   has a line to itself, one line high, that never wraps: nothing written in it can move anything else. */
.ask-stack .ask-map { width: 100%; }
@media (max-width: 899px) { .ask-stack .ask-map { max-width: 36rem; } }
.ask-stack .map-label { flex: 0 0 100%; min-width: 0; height: 1.35em; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 900px) {
  .ask-stack > .chips { gap: .35rem; }
  .ask-stack > .chips button { min-height: 2.05rem; padding: .25rem .65rem; font-size: .8125rem; }
  .ask-stack .ask-pick select { min-width: 12rem; }
  .ask-stack .ask-pick { gap: .4rem .7rem; }
}
@media (max-width: 560px) {
  .hero { padding-top: 1rem; }
  .hero h1 { font-size: 2rem; }
  .hero-foot { margin-top: .4rem; }
  .you { padding-top: .9rem; }
  .ask-stack .map-label { display: none; }
  .ask-stack .ask-head h2 { margin-bottom: 0; }
  .ask-stack .suggest { margin-top: .6rem; padding: .5rem .75rem; font-size: .9375rem; }
}

/* The Latest on the homepage and state pages: two items, then View more */
.lt-more { margin: 1.1rem 0 0; text-align: center; }

/* Location -> address to confirm */
.vp-addr { margin: .25rem 0 0; font-size: 1.0625rem; font-weight: 700; overflow-wrap: anywhere; }
.vp-act { margin: .9rem 0 0; }

/* v34: space kept for a state's panel before it fills in, measured at each width, so the address box
   below doesn't move when it does. */
html[data-state] #you-main { min-height: 22.8rem; }
@media (max-width: 1099px) { html[data-state] #you-main { min-height: 24rem; } }
@media (max-width: 899px) { html[data-state] #you-main { min-height: 25rem; } }
@media (max-width: 760px) { html[data-state] #you-main { min-height: 34.6rem; } }
@media (max-width: 560px) { html[data-state] #you-main { min-height: 38rem; } }
@media (max-width: 430px) { html[data-state] #you-main { min-height: 40.9rem; } }
@media (max-width: 375px) { html[data-state] #you-main { min-height: 43.8rem; } }
/* The map key takes its space from the start (it fills in once coverage loads), so nothing below it moves. */
.ask-stack .legend[hidden] { display: flex; visibility: hidden; }

/* v35: The Latest is a centered column of left-aligned items, about 65 characters a line, so longer
   summaries read easily. The heading above and the link below stay centered on the column. */
#latest-feed, .lt-list { max-width: 40rem; }
#latest .lt-list { text-align: left; }
#latest .lt-meta { justify-content: flex-start; }
#latest .lt-fallback { max-width: 40rem; }

/* v35: one plain line about privacy in the footer */
.foot-privacy { margin: .6rem 0 0; color: var(--muted); font-size: .875rem; }

/* v35: the 2026 midterm election countdown page */
.cd-answer { font-size: 1.125rem; font-weight: 600; }
.cd-frame { max-width: 44rem; margin: 1.25rem 0 0; }
.cd-frame iframe { display: block; width: 100%; height: 15rem; border: 0; border-radius: 14px; }
@media (max-width: 560px) { .cd-frame iframe { height: 13.5rem; } }
.doc .cta .btn { text-decoration: none; }

/* v35: "What is Vote Clock?" on the homepage: a centered column of left-aligned items, like The Latest */
.wi-list { list-style: none; max-width: 40rem; margin: 0 auto; padding: 0; text-align: left; }
.wi-list li { padding: .7rem 0; border-bottom: 1px solid var(--rule); line-height: 1.5; }
.wi-list li:first-child { border-top: 1px solid var(--rule); }
.wi-promise { max-width: 40rem; margin: 1.1rem auto 0; text-align: center; color: var(--muted); font-size: .9375rem; }

/* v35: the midterm countdown page */
.cd-answer { font-size: 1.125rem; font-weight: 600; }
.cd-frame { margin: 1rem 0 0; }
.cd-frame iframe { display: block; width: 100%; max-width: 500px; height: 230px; border: 0; margin: 0 auto; }
.doc .cd-frame + .cta { text-align: center; margin-top: .75rem; }

/* v35: lists inside the ballot and the places on the "What's on my ballot?" page use the same layout as
   the homepage (the document style's indented lists don't apply there). */
.doc .ballot ul, .doc .ballot ol, .doc .vote-places ul { padding-left: 0; }
.doc .ballot li, .doc .vote-places li { margin: 0; max-width: none; }
.doc .b-race, .doc .b-measure { margin: 0 0 .75rem; }
.doc .b-race:last-child, .doc .b-measure:last-child { margin-bottom: 0; }
.doc .b-cands li { margin: 0 0 .6rem; }
.doc .b-cands li:last-child { margin-bottom: 0; }
.doc .ballot p, .doc .vote-places p { max-width: none; }
.ballot-page { margin: 1.25rem 0 2rem; text-align: center; }

/* v35: on the countdown and ballot pages the top (heading, answer, tool) is one centered block; the
   questions and answers below it read as a left-aligned article, set apart by a rule. */
.tool-page > h1, .tool-page > .updated, .tool-page > .cd-answer { text-align: center; margin-inline: auto; }
.tool-page > .cd-answer { max-width: 36rem; }
.tool-page > h2:first-of-type { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--rule); }
.tool-page .cta { text-align: center; }
.tool-page > .cta, .tool-page > .cd-frame, .tool-page > .cd-answer, .tool-page > .updated { margin-inline: auto; }
.tool-page > .cta, .tool-page > .cd-frame { max-width: none; }
/* v95: the line under the clock belongs to the centered block. */
.tool-page > .cd-lead { max-width: 36rem; margin: 1rem auto 0; text-align: center; }
.tool-page > h2[id] { scroll-margin-top: 5rem; }
/* v96: the embed options on the midterm page (three settings in a row, then the preview, the code and the note) and the
   footer's social marks in quiet grey, like the links beside them, with full ink on hover. The brand colors were the only
   red and blue on the page. The YouTube mark's triangle is a cut-out, so the page shows through it. */
.cd-builder { display: grid; gap: 1.25rem; margin: 1rem 0 1.25rem; }
.cd-builder .code { margin: 0; }
.cd-builder .cta { margin: 0; }
.foot-social .soc .soc-ico { background: var(--muted); filter: none; }
.foot-social .soc:hover .soc-ico { background: var(--ink); filter: none; }
.foot-social a.soc-youtube::before { display: none; }

/* v35: Office Clock on phones. The name runs across the top; "Term ends" and "Voters decide next" each sit
   on their own row with the date and the count on one line, instead of two narrow columns that wrap. */
@media (max-width: 760px) {
  .office { grid-template-columns: 3.5rem minmax(0, 1fr); grid-template-areas: 'ring who' '. f1' '. f2'; gap: .45rem 1rem; }
  .office .f1, .office .f2 { justify-self: start; text-align: left; }
  .office .fact br { display: none; }
  .office .fact b, .office .fact em { white-space: nowrap; }
  .office .fact em::before { content: " ("; }
  .office .fact em::after { content: ")"; }
  .office .fact .tag { margin-left: .4rem; vertical-align: 1px; }
}

/* v36: slide-out menu. The ☰ sits first in the header on every page; on phones it replaces the row of
   section tabs. Colors come from the existing tokens (green-black, paper, marigold), nothing red or blue. */
.menu-btn { flex: none; display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-left: -.6rem; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; }
.menu-btn:hover { background: var(--wash); }
.menu-bars { display: grid; gap: 4px; width: 1.25rem; }
.menu-bars i { display: block; height: 2px; border-radius: 2px; background: currentColor; }
.site .wrap { gap: 1.25rem; }
.site .wrap > .brand { margin-left: -.35rem; }
@media (max-width: 940px) {
  :root { --head: var(--bar); }
  .site .jump { display: none; }
}
@media (max-width: 640px) { .site .wrap { gap: .6rem; } }
@media (max-width: 380px) { .mini select { width: 9.5rem; } }

.drawer-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(5, 10, 8, .55); opacity: 0; transition: opacity .25s ease; }
.drawer { position: fixed; z-index: 91; top: 0; bottom: 0; left: 0; width: min(21rem, 86vw); display: flex; flex-direction: column; background: var(--paper); color: var(--ink); border-right: 1px solid var(--rule); box-shadow: 0 0 2.5rem rgba(0, 0, 0, .35); transform: translateX(-102%); transition: transform .25s ease; overflow-y: auto; overscroll-behavior: contain; padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); }
.drawer-scrim[hidden], .drawer[hidden] { display: none; }
html.drawer-open { overflow: hidden; }
html.drawer-open .drawer { transform: none; }
html.drawer-open .drawer-scrim { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer-scrim { transition: none; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; height: var(--bar); padding: 0 .75rem 0 1.25rem; border-bottom: 1px solid var(--rule); flex: none; }
.drawer-title { margin: 0; font: 800 1.5rem/1 var(--display); }
.drawer-x { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font-size: 1.25rem; cursor: pointer; }
.drawer-x:hover { background: var(--wash); }
.drawer-nav { padding: .5rem 0 1rem; }
.drawer-nav details { border-bottom: 1px solid var(--rule); }
.drawer-nav summary { display: flex; align-items: center; gap: .6rem; padding: .85rem 1.25rem; font-weight: 700; cursor: pointer; list-style: none; }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav summary::before { content: "▸"; color: var(--signal); transition: transform .15s ease; }
.drawer-nav details[open] > summary::before { transform: rotate(90deg); }
.drawer-nav ul { list-style: none; margin: 0; padding: 0 0 .6rem; }
.drawer-nav li a { display: block; padding: .55rem 1.25rem .55rem 2.6rem; color: var(--ink); text-decoration: none; }
.drawer-nav li a:hover { background: var(--wash); }
.drawer-nav .drawer-plain { padding-top: .6rem; }
.drawer-nav .drawer-plain a { padding-left: 1.25rem; color: var(--muted); }
.drawer-social { margin-top: auto; padding: 1rem 1.25rem 1.5rem; border-top: 1px solid var(--rule); }
.drawer-social p { margin: 0 0 .6rem; font-weight: 700; font-size: .875rem; color: var(--muted); }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.social a { display: inline-block; padding: .3rem .7rem; border: 1.5px solid var(--rule); border-radius: 99px; color: var(--ink); text-decoration: none; font-size: .8125rem; font-weight: 600; }
.social a:hover { border-color: var(--signal); background: var(--wash); }
.foot-social { margin-top: .9rem; }

/* v39: shorter page. The state picker is heading, suggestion, map and territories; the address box below
   does the rest. "Read more" sits on the same line as the text it opens. */
@media (min-width: 900px) {
  .ask2.ask-stack { grid-template-rows: 1fr auto auto 1fr; grid-template-areas: ". map" "head map" "chips map" ". map"; }
}
@media (max-width: 560px) {
  .ask-stack > .chips { gap: .35rem; }
  .ask-stack > .chips button { min-height: 2rem; padding: .25rem .6rem; font-size: .8125rem; }
}
.more-inline { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: var(--muted); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.more-inline:hover { color: var(--ink); }
.more-link { margin-left: .35rem; white-space: nowrap; }
.foot-legal p { max-width: 56ch; }

/* v39, phones: the embed builder and the full feature list open on tap. On wider screens they're always shown. */
.reveal-row { display: none; text-align: center; margin: .25rem 0 0; }
.chip-short { display: none; }
@media (max-width: 899px) {
  .reveal-row { display: block; }
  #mc-builder:not(.open), #wi-more:not(.open) { display: none; }
  #wi-more:not(.open) + .wi-promise { display: none; }
}
@media (max-width: 560px) {
  .chip-long { display: none; }
  .chip-short { display: inline; }
}
@media (max-width: 899px) { #mc-builder:not(.open) + .fine { display: none; } }
/* v39: the shorter picker needs less reserved space before it draws */
@media (max-width: 899px) { html:not([data-state]) #you-main { min-height: 34rem; } }
@media (max-width: 560px) { html:not([data-state]) #you-main { min-height: 27rem; } }

/* v40, phones: each fact is one line, the label then the date, so "Term ends Jan 20, 2029 (842 days left)". */
@media (max-width: 760px) {
  .office .fact { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .5rem; row-gap: .1rem; }
  .office .fact small { display: inline; flex: none; }
  .office .fact b { flex: none; }
  .office .fact em { flex: none; margin-left: -.2rem; }
  .office .fact .tag { flex: none; margin-left: 0; }
  .office { row-gap: .3rem; }
}

/* v40, all screens: a date and its count never break apart. Some browsers (Safari) shrank these columns
   to their narrowest width, giving "Jan 3, / 2027 / 94 days / left". */
.office .fact { width: max-content; max-width: 100%; }
.office .fact b, .office .fact em, .office .fact small { white-space: nowrap; }

/* v40: social links sit on one line in the bottom row, next to the copyright, instead of a stack of pills. */
.foot-social { gap: .25rem 1.1rem; margin: 0; }
.foot-social a { padding: .2rem 0; border: 0; border-radius: 0; font-size: .875rem; font-weight: 600; color: var(--muted); text-decoration: none; background: none; }
.foot-social a:hover { color: var(--ink); background: none; text-decoration: underline; text-underline-offset: .2em; }
.foot-meta { justify-content: flex-start; }
.foot-meta .appearance { margin-left: auto; }
@media (max-width: 640px) { .foot-meta .appearance { margin-left: 0; } .foot-social { gap: .2rem .9rem; } }

/* v40: "All 56 state and territory pages" is the last thing on the page, centered; the list opens centered too. */
.allstates { text-align: center; margin-top: 1.25rem; padding-bottom: 1.5rem; }
.allstates > summary { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; list-style: none; }
.allstates > summary::-webkit-details-marker { display: none; }
.allstates > summary::before { content: "▸"; color: var(--signal); transition: transform .15s ease; }
.allstates[open] > summary::before { transform: rotate(90deg); }
.allstates #statelist { justify-content: center; text-align: left; margin-inline: auto; }

/* v40: About joins the top menu on wide screens. Between 941 and 1199px the menu uses short labels and the
   "Your state" label hides (screen readers still hear it), so the state picker keeps its full width. */
.nl-short { display: none; }
@media (min-width: 941px) and (max-width: 1199px) {
  .nl-long { display: none; }
  .nl-short { display: inline; }
  .mini label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .mini select { min-width: 10.5rem; }
}

/* v42: four builder choices in one row on wide screens; a one-line note under the copy button. */
@media (min-width: 761px) { .controls { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.code-note { margin: .5rem 0 0; text-align: center; color: var(--muted); font-size: .875rem; }

/* v42: the bottom row (copyright, social links, appearance) spans the page and is centered. */
.foot-legal > .foot-meta { flex-basis: 100%; justify-content: center; text-align: center; }
.foot-legal > .foot-meta .appearance { margin-left: 0; }
.foot-legal > .foot-meta .foot-social { justify-content: center; }
/* the two lines above it are centered too, so the whole bottom section lines up */
.foot-legal { justify-content: center; text-align: center; }
.foot-legal > p { flex-basis: 100%; max-width: none; }

/* v43: social links use each platform's icon (Font Awesome Free, CC BY 4.0; license kept in each file).
   One color, the page's ink, so the marks aren't recolored into the site's palette. */
.soc { display: inline-flex; align-items: center; gap: .45rem; }
.soc-ico { display: inline-block; flex: none; width: 1.15rem; height: 1.15rem; background-color: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.soc-x { --ico: url("/assets/social/x.svg"); }
.soc-facebook { --ico: url("/assets/social/facebook.svg"); }
.soc-instagram { --ico: url("/assets/social/instagram.svg"); }
.soc-threads { --ico: url("/assets/social/threads.svg"); }
.soc-bluesky { --ico: url("/assets/social/bluesky.svg"); }
.soc-youtube { --ico: url("/assets/social/youtube.svg"); }
.soc-tiktok { --ico: url("/assets/social/tiktok.svg"); }
.soc-linkedin { --ico: url("/assets/social/linkedin.svg"); }
.soc-reddit { --ico: url("/assets/social/reddit.svg"); }
/* Footer: icons only, in the centered bottom row, each a 44px tap target. Screen readers hear "Vote Clock on X". */
.foot-social { gap: .15rem .35rem; }
.foot-social .soc { justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; color: var(--ink); border-radius: 10px; }
.foot-social .soc:hover { background: var(--wash); text-decoration: none; }
.foot-social .soc-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.foot-social .soc-ico { width: 1.3rem; height: 1.3rem; }
/* Menu: icon and name. */
.drawer-social .soc { color: var(--ink); }
.foot-legal > .foot-meta .foot-social { margin: 0; align-items: center; }
.foot-social li, .drawer-social .social li { display: flex; }
/* Icons only, in the footer and the menu; each icon is a 44px tap target and screen readers hear "Vote Clock on X". */
.social a.soc { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--ink); }
.social a.soc:hover { background: var(--wash); }
.social .soc-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.social .soc-ico { width: 1.3rem; height: 1.3rem; }
.drawer-social .social { gap: .1rem .25rem; margin-left: -.6rem; }

/* v45: official brand colors. X, Threads and TikTok are black marks, shown white in dark mode so they stay visible. */
:root { --mark-mono: #000; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --mark-mono: #fff; } }
:root[data-theme="dark"] { --mark-mono: #fff; }
.soc-x .soc-ico, .soc-threads .soc-ico, .soc-tiktok .soc-ico { background: var(--mark-mono); }
.soc-facebook .soc-ico { background: #0866FF; }
.soc-instagram .soc-ico { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.soc-bluesky .soc-ico { background: #1185FE; }
.soc-youtube .soc-ico { background: #FF0000; }
.soc-linkedin .soc-ico { background: #0A66C2; }
.soc-reddit .soc-ico { background: #FF4500; }
.social a.soc:hover .soc-ico { filter: brightness(1.1); }
/* YouTube's play triangle is white, so a small white square sits behind the cut-out (visible in dark mode too). */
.social a.soc-youtube { position: relative; }
.social a.soc-youtube::before { content: ""; position: absolute; left: 50%; top: 50%; width: .5rem; height: .5rem; transform: translate(-50%, -50%); background: #fff; }
.social a.soc-youtube .soc-ico { position: relative; }

/* ======================================================================================================
   v46 refinement. Same identity (ballot ink, marigold for time running out, the flip-clock board), with
   less noise: no paper grain, no ruler ticks between sections, brighter and cleaner surfaces in light
   mode, softer shadows, calmer links and buttons, one spacing rhythm. Layout sizes are unchanged.
   ====================================================================================================== */
:root {
  --paper: #F3F5F1; --panel: #FFFFFF; --rule: #D5DBD5; --track: #E3E8E3; --map: #CFD8D0;
  --shadow: 0 1px 2px rgba(19, 32, 27, .05), 0 8px 24px -16px rgba(19, 32, 27, .22);
  --shadow-hi: 0 1px 2px rgba(19, 32, 27, .06), 0 14px 32px -18px rgba(19, 32, 27, .3);
  --grain: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #0E1714; --panel: #122019; --rule: #26372F; --grain: none;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 26px -18px rgba(0, 0, 0, .7); --shadow-hi: 0 1px 2px rgba(0, 0, 0, .35), 0 16px 34px -18px rgba(0, 0, 0, .8); }
}
:root[data-theme="dark"] { --paper: #0E1714; --panel: #122019; --rule: #26372F; --grain: none;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 26px -18px rgba(0, 0, 0, .7); --shadow-hi: 0 1px 2px rgba(0, 0, 0, .35), 0 16px 34px -18px rgba(0, 0, 0, .8); }

/* Clean surfaces: sections separate by a quiet change of surface and one hairline, not tick marks. */
body { background: var(--paper); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.band:not(.hero)::before { content: none; }
.band.alt { background: var(--panel); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band-head h2 { letter-spacing: -.005em; }
.band-head p { font-size: 1rem; line-height: 1.55; }

/* Header: a hairline, no drop shadow when scrolled. */
.site.scrolled { box-shadow: none; }

/* Cards and panels: one radius, a hairline and a soft shadow. */
.card, .newsframe, .you { border-radius: 16px; }

/* Links: thin underline that strengthens on hover; navigation links are plain until hovered. */
a { text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); text-underline-offset: .2em; }
a:hover { text-decoration-color: currentColor; text-decoration-thickness: 1px; }
.site nav a, .foot-col li a, .drawer-nav a { text-decoration: none; }

/* Buttons: no jump on hover, a calm darken instead. */
.btn { transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.btn:hover { transform: none; box-shadow: none; filter: brightness(1.08); }
.btn.quiet:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); filter: none; }

/* Chips, tabs and selects share the same hairline and radius. */
.chips button, .tabs button { border-width: 1px; }
select { border-width: 1px; }

/* The countdown board keeps its look; its frame gets the same soft shadow as the rest. */
.clock { box-shadow: var(--shadow-hi); }

/* v51: The Latest's "what it means for you" line */
.lt-means { margin: .25rem 0 0; font-weight: 600; color: var(--ink); }

/* v52: Share next to Add to calendar on each deadline */
.dl-actions { display: inline-flex; flex-wrap: wrap; gap: .4rem; align-self: start; }
.dl-actions .btn svg { width: 1em; height: 1em; margin-right: .3em; vertical-align: -.1em; }
@media (max-width: 640px) { .dl .dl-actions { grid-column: 2; margin-top: .5rem; } .dl .dl-actions .btn { margin-top: 0; } }

/* v54: the voting plan and the deadlines quiz. One card, steps to tick off, dates that never break apart.
   No red or green anywhere: a right answer is filled with ink, and every state is also said in words. */
.pl { --card: var(--panel); max-width: 40rem; margin: 1.25rem auto 2rem; padding: clamp(1rem, 3vw, 1.75rem); text-align: left; }
.pl p, .pl li { max-width: none; }
.pl-nb { white-space: nowrap; }
.pl-pick { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem .75rem; margin: 0 0 1rem; }
.pl-pick label { font-weight: 700; }
.pl-pick select { width: 100%; max-width: 22rem; min-height: 3rem; font-size: 1.0625rem; font-weight: 600; }
.pl-hint { text-align: center; margin: .5rem auto; max-width: 34rem !important; }
.pl-center { text-align: center; }
.pl-how { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.pl-how legend { width: 100%; padding: 0; margin: 0 0 .5rem; text-align: center; font-weight: 700; }
.pl-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.pl-opts label { position: relative; display: flex; }
.pl-opts input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pl-opts span { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 3rem; padding: .5rem .6rem; border: 1.5px solid var(--ctl); border-radius: 10px; font-weight: 600; line-height: 1.2; text-align: center; }
.pl-opts input:hover + span { border-color: var(--ink); }
.pl-opts input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pl-opts input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (max-width: 480px) { .pl-opts { grid-template-columns: 1fr; } }
.pl-bar { display: flex; align-items: center; gap: .75rem; margin: 0 0 .6rem; }
.pl-meter { flex: 1; height: .6rem; border-radius: 99px; background: var(--track); overflow: hidden; }
.pl-meter i { display: block; height: 100%; border-radius: 99px; background: var(--ink); transition: width .25s ease; }
.pl-count { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.pl-steps { list-style: none; margin: 0; padding: 0; }
.pl-step { margin: 0; padding: 1rem 0; border-top: 1px solid var(--rule); }
.pl-check { display: flex; align-items: flex-start; gap: .7rem; font-size: 1.0625rem; font-weight: 700; cursor: pointer; }
.pl-check input { flex: none; width: 1.5rem; height: 1.5rem; margin: .05rem 0 0; accent-color: var(--ink); cursor: pointer; }
.pl-step.is-done .pl-check span { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.pl-body { padding-left: 2.2rem; }
.pl-body p { margin: .45rem 0 0; }
.doc .pl-dates { list-style: none; margin: .45rem 0 0; padding: 0; }
.pl-dates li { margin: .5rem 0; }
.pl-when { display: block; }
.pl-dates li.gone { color: var(--muted); }
.pl-left { font-size: .875rem; color: var(--muted); }
.pl-dates li:not(.gone) .pl-left { padding: .08rem .4rem; border-radius: 6px; background: var(--wash); color: var(--ink); font-weight: 600; }
.pl-src, .pl-fine, .pl-sizehint { font-size: .875rem; color: var(--muted); }
.pl-act { margin: .7rem 0 0; }
.pl .btn { text-decoration: none; }
.pl-pickrow { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.pl-pickrow label { font-weight: 600; }
.pl-pickrow select { width: auto; max-width: 100%; }
.pl-done { padding: 1.25rem 0 0; border-top: 1px solid var(--rule); text-align: center; }
.doc .pl-done h2 { margin: 0 0 .4rem; }
.pl-done p { margin: .4rem auto 0; max-width: 34rem; }
.pl-sizes, .pl-share { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1rem 0 0; }
.pl-sizes .btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pl-card { display: block; width: 100%; max-width: 15rem; height: auto; margin: .75rem auto 0; border: 1px solid var(--rule); border-radius: 12px; }
.pl-card[data-shape="post"] { max-width: 18rem; }
.pl-card[data-shape="wide"] { max-width: 30rem; }
.pl-foot { margin: 1rem 0 0; padding-top: .75rem; border-top: 1px solid var(--rule); text-align: center; font-size: .875rem; color: var(--muted); }
.pl-foot .linkbtn { font-size: inherit; }
.qz-step { margin: 0 0 .5rem; text-align: center; font-size: .875rem; font-weight: 600; color: var(--muted); }
.qz-q { border: 0; padding: 0; margin: 0; min-width: 0; }
.qz-q legend { width: 100%; padding: 0; margin: 0 0 .9rem; text-align: center; }
.qz-ask { display: block; font: 800 1.5rem/1.1 var(--display); text-wrap: balance; }
.qz-verb { display: block; margin-top: .35rem; font-weight: 600; color: var(--muted); }
.qz-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
@media (max-width: 480px) { .qz-opts { grid-template-columns: 1fr; } }
.qz-opt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; min-height: 3.25rem; padding: .5rem .75rem; border: 1.5px solid var(--ctl); border-radius: 10px; background: transparent; font-weight: 600; cursor: pointer; }
.qz-opt:hover:not([disabled]) { border-color: var(--ink); }
.qz-opt[disabled] { cursor: default; color: var(--muted); }
.qz-opt.is-right { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.qz-opt.is-wrong { border-style: dashed; border-color: var(--ink); color: var(--ink); }
.qz-mark { font-size: .75rem; font-weight: 700; }
.qz-why { margin: 1rem 0 0; text-align: center; }
.qz-why p { margin: .4rem auto 0; max-width: 34rem; }
.qz-end { text-align: center; }
.qz-end p { margin: .4rem auto 0; max-width: 34rem; }
.doc .qz-end .cta { margin: .9rem auto 0; max-width: none; text-align: center; }
.qz-score { font: 800 clamp(3rem, 10vw, 4.5rem)/1 var(--display); }
@media (prefers-reduced-motion: reduce) { .pl-meter i { transition: none; } }
@media print { .pl-share, .pl-sizes, .pl-sizehint, .pl-card, .pl-foot, .pl-act, .pl-how { display: none !important; } }

/* v55: state picker on the registration deadlines page. The chosen state's dates show under the picker. */
.reg-pick { margin: 0 0 1.5rem; }   /* lines up with the heading and the text column on this left-aligned page */
.reg-pick .pl-pick { margin-bottom: 0; }
.reg-result { text-align: center; }
.reg-result:empty { display: none; }
.doc .reg-result .reg-name { margin: 1.1rem 0 .5rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: 1.4rem; }
.doc .reg-dates ul { list-style: none; margin: 0; padding: 0; }
.reg-dates li { margin: .3rem 0; }
.reg-dates .rd { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.reg-dates li:has(.rd.past) { color: var(--muted); }
.reg-dates .rd.past { text-decoration: line-through; font-weight: 400; }
.reg-dates .reg-none { margin: 0; color: var(--muted); }
.reg-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: .9rem 0 0; }
.regtable tr.is-mine th, .regtable tr.is-mine td { background: var(--wash); }
.regtable tr.is-mine th { padding-left: .6rem; }

/* v57: the registration deadline map, shown on the page so image search can find it. */
.regmap { margin: 1.5rem 0 0; max-width: 46rem; }
.regmap img { display: block; width: 100%; height: auto; border-radius: 14px; }
.regmap figcaption { margin-top: .5rem; font-size: .875rem; color: var(--muted); }
@media print { .regmap { display: none; } }

/* v58: a state's updates and national updates are kept apart. The "National updates" button sits centered
   under the state's list and opens the national list in place, in the same column. */
.lt-nat { margin: 1.1rem auto 0 !important; max-width: none !important; text-align: center; }
.lt-nat-list { margin-top: 1.1rem; }
.lt-nat-list[hidden] { display: none; }

/* v60: The Latest page has two parts, "Election deadlines" and "Latest updates", two items each, with a button
   under each that opens the rest in place. */
.doc h2.lt-h { margin: 1.9rem 0 .7rem; }
.doc h2.lt-h:first-child { margin-top: .5rem; }
.lt-rest[hidden] { display: none; }
.lt-rest .lt:first-child { border-top: 0; }


/* v65: urgency. Marigold marks time that is running out, and it grows as a cutoff nears. Never red or blue. */
.dl.u1 .left { box-shadow: inset 0 -.5em 0 var(--wash); }
.dl.u2 .left, .dl.u3 .left { padding: .08em .45em; border-radius: 5px; background: var(--signal); color: var(--signal-ink); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.stat.u1 .big, .stat.u2 .big { box-shadow: inset 0 -.3em 0 var(--wash); }
.stat.u3 .big { padding: 0 .3em; border-radius: 6px; background: var(--signal); color: var(--signal-ink); }
.lastday { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1rem; margin: 1rem 0 0; padding: .8rem 1rem; border-radius: 12px; background: var(--signal); color: var(--signal-ink); text-align: center; }
.lastday p { margin: 0; font-weight: 600; }
.lastday a:not(.btn) { color: inherit; }
.lastday .btn { background: var(--signal-ink); color: var(--signal); border-color: var(--signal-ink); }
.lastday .ld-sound { flex-basis: 100%; margin: 0; padding: .2rem 0; border: 0; background: none; color: inherit; font: inherit; font-size: .875rem; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.motion .lastday { animation: vc-pulse 2.4s ease-in-out infinite; }
@keyframes vc-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 184, 28, .6); } 50% { box-shadow: 0 0 0 .65rem rgba(255, 184, 28, 0); } }
/* v65: the trust line, on the first screen and in every footer. */
.hero-notes { min-width: 0; max-width: 100%; }
.hero-trust { margin: 0 0 .2rem; text-align: center; font-size: .875rem; font-weight: 600; color: var(--muted); }
.hero-trust span { white-space: nowrap; }
.hero-notes .hero-meta { margin-inline: auto; }
.count-note { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 560px) {
  .hero-trust { font-size: .78rem; line-height: 1.3; text-wrap: balance; }
  .hero-trust span { white-space: normal; }
  .hero-notes .hero-meta .src-line { margin-top: 0; }
}
@media (max-width: 380px) { .hero-actions { gap: .4rem; } .hero-actions .btn { padding-inline: .55rem; font-size: .8125rem; } }
.foot-privacy strong { color: var(--ink); }
/* v65: report an error. */
.fine .linkbtn { display: inline; padding: 0; min-height: 0; font-size: inherit; color: inherit; }
.report { display: grid; gap: .3rem; margin: 1rem 0 0; padding: 1.1rem 1.25rem 1.25rem; max-width: var(--measure); }
.report[hidden] { display: none; }
.report h3 { margin: 0 0 .3rem; font-size: 1.0625rem; }
.report label { margin-top: .55rem; font-size: .9375rem; font-weight: 600; }
.report .rp-opt { font-weight: 400; color: var(--muted); }
.report select, .report textarea, .report input[type="url"] { width: 100%; padding: .55rem .65rem; border: 1px solid var(--ctl); border-radius: 8px; background: var(--paper); color: var(--ink); font: inherit; }
.report textarea { min-height: 5rem; resize: vertical; }
.report .fine { margin: .6rem 0 0; font-size: .875rem; color: var(--muted); }
.rp-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: .7rem 0 0; }
.rp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.rp-done { margin: 0; }
@media print { .lastday, .report, .hero-trust { display: none !important; } }
@media (min-width: 561px) {
  .hero-notes .hero-trust { margin: 0; font-size: .8125rem; line-height: 1.3; }
  .hero-notes .hero-meta { font-size: .8125rem; line-height: 1.3; }
}

/* v66: "Missed the deadline?" and "Share your state". */
.ms-pick { display: grid; gap: .45rem; margin: 1.2rem 0 0; padding: 1.1rem 1.25rem 1.25rem; max-width: var(--measure); text-align: left; justify-items: start; }
.ms-pick label { font-weight: 600; }
.ms-pick select { width: 100%; max-width: 24rem; }
.ms-pick #ms-out:empty { display: none; }
.ms-pick #ms-out > :first-child { margin-top: .6rem; }
.ms-pick #ms-out > :last-child { margin-bottom: 0; }
.ms-h { margin: .6rem 0 .4rem; font-size: 1.125rem; }
.ms-open { margin: 0 0 .6rem; padding-left: 1.15rem; }
.ms-open li { margin: 0 0 .5rem; }
.ms-src { color: var(--muted); font-size: .875rem; }
.ms-list { padding-left: 1.15rem; }
.ms-list li { margin: 0 0 .35rem; }
.ms-list .rd { font-weight: 700; }
.ms-list li:has(.rd.past) { color: var(--muted); }
.ms-list .rd.past { font-weight: 400; text-decoration: line-through; }
.sh-img { display: block; width: 100%; max-width: 38rem; height: auto; margin: .6rem 0 0; border: 1px solid var(--rule); border-radius: 12px; }
.sh-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0 1rem; }
.sh-words { display: block; width: 100%; max-width: 38rem; margin-top: .3rem; padding: .55rem .65rem; border: 1px solid var(--ctl); border-radius: 8px; background: var(--panel); color: var(--ink); font: inherit; resize: vertical; }
#sh-kit label { font-weight: 600; }
.flyer { display: none; }
@media print {
  .share-main article > *:not(.flyer) { display: none !important; }
  .share-main .flyer { display: block !important; padding: 8vh 0 0; text-align: center; color: #000; }
  .fl-kick { margin: 0; font: 700 22pt/1.2 var(--text); letter-spacing: .04em; text-transform: uppercase; }
  .fl-state { margin: .1em 0 .2em; font: 800 64pt/1 var(--display); }
  .fl-next { margin: 0 auto; max-width: 16cm; font: 600 20pt/1.3 var(--text); }
  .fl-qr { width: 8cm; margin: 1.2cm auto .6cm; }
  .fl-qr svg { display: block; width: 100%; height: auto; }
  .fl-url { margin: 0; font: 800 30pt/1.1 var(--display); }
  .fl-trust { margin: .8cm 0 0; font: 400 13pt/1.4 var(--text); }
}
@media (min-width: 561px) and (max-width: 1199px) { .ht-x { display: none; } }

/* v67: the last day is red. Marigold still marks the days before; red appears only on a deadline's final day, as a
   warning, never on maps, officeholders or pictures. Brick red, white text (6.5 to 1). */
:root { --alert: #B3261E; --alert-ink: #FFFFFF; }
.dl.u3 .left, .stat.u3 .big, .lastday { background: var(--alert); color: var(--alert-ink); }
.lastday .btn { background: var(--alert-ink); color: var(--alert); border-color: var(--alert-ink); }
@keyframes vc-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(179, 38, 30, .55); } 50% { box-shadow: 0 0 0 .65rem rgba(179, 38, 30, 0); } }

/* v70: the toolkit picture is drawn on the device, in each platform's size. */
.sh-sizes { display: flex; flex-wrap: wrap; gap: .5rem; margin: .7rem 0 0; }
.sh-sizes [aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
canvas.sh-img { width: auto; max-width: min(100%, 30rem); max-height: 78vh; }

/* v72: the questions and answers under a state's date list, and under "What is Vote Clock?" on the home page.
   One line until opened, so the page stays short; centered like the list and the note above it. */
.qa { max-width: 62rem; margin: 1.5rem auto 0; text-align: center; }
.qa[hidden] { display: none; }
.qa > summary { display: block; width: fit-content; max-width: 100%; margin-inline: auto; cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); padding: .35rem 0; text-wrap: balance; }
.qa > summary::-webkit-details-marker { display: none; }
.qa > summary::before { content: "▸"; display: inline-block; margin-right: .45rem; color: var(--signal); transition: transform .15s ease; }
.qa[open] > summary::before { transform: rotate(90deg); }
.qa > summary h2 { display: inline; margin: 0; font: inherit; }
.qa-body { text-align: left; max-width: 54rem; margin: 1rem auto 0; }
.qa-body h3 { margin: 1.5rem 0 .4rem; font: 700 1.0625rem/1.35 var(--text); }
.qa-body h3:first-child { margin-top: 0; }
.qa-body p { margin: 0 0 .5rem; }
.qa-body ul { margin: 0; padding-left: 1.15rem; }
.qa-body li { margin: 0 0 .55rem; line-height: 1.5; max-width: none; }
.qa-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.qa-scroll .regtable { min-width: 34rem; }
.qa-scroll .regtable caption { text-align: left; color: var(--muted); font-size: .875rem; padding: 0 0 .6rem; }
.qa-note { margin: 1.25rem 0 0; color: var(--muted); font-size: .9375rem; }
@media print { .qa { display: none !important; } }

/* v75: official voting tools, inside the address finder card (see design/wheretovote.mjs) */
.wv-tools { margin: 1.25rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--rule); text-align: center; }
.wv-tools[hidden] { display: none; }
.wv-tools h2, .wv-tools h3 { margin: 0; font-size: 1.125rem; }
/* v83: rows of three, two, then one tile. A last row that is not full sits in the middle (a state can have five tiles). */
.wv-grid { list-style: none; margin: .85rem auto 0; padding: 0; max-width: 60rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; text-align: left; }
.wv-item { display: flex; flex: 0 0 calc((100% - 1.2rem) / 3); min-width: 0; }
@media (max-width: 900px) { .wv-item { flex-basis: calc((100% - .6rem) / 2); } }
/* v90: phones show two tiles in a row (a fifth sits in the middle); only a very narrow screen goes to one. */
@media (max-width: 480px) { .wv-grid { gap: .45rem; } .wv-item { flex-basis: calc((100% - .45rem) / 2); } .wv-link { padding: .65rem .5rem; } }
@media (max-width: 330px) { .wv-item { flex-basis: 100%; } }
.wv-link { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .15rem; width: 100%; padding: .7rem .95rem; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.wv-link:hover { border-color: var(--ink); transform: translateY(-1px); }
.wv-link strong { font: 700 1.05rem/1.25 var(--display); }
/* v90: the "opens in a new tab" arrow is drawn, not typed: phones turned the typed arrow into a blue emoji box. */
a.wv-link[target="_blank"] strong::after { content: ""; display: inline-block; width: .62em; height: .62em; margin-left: .32em; vertical-align: .02em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 10 10 2M4 2h6v6' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 10 10 2M4 2h6v6' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.wv-link small { font-size: .8125rem; color: var(--muted); }
.wv-local .wv-link { border-style: dashed; }
.wv-local .wv-link.wv-found { border-style: solid; }
.wv-note { margin: .75rem auto 0; max-width: 62ch; font-size: .8125rem; color: var(--muted); }
.wv-stay { margin-top: .6rem; }
.wv-next { margin: 1rem auto 0; max-width: 34rem; padding: .9rem 1rem .8rem; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; text-align: left; }
.wv-next[hidden] { display: none; }
.wv-next h3, .wv-next h4 { margin: 0; font: 700 1.05rem/1.25 var(--display); text-align: center; }
.wv-next-line { margin: .25rem 0 0; font-size: .875rem; color: var(--muted); text-align: center; }
.wv-steps { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .35rem; }
.wv-steps li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.wv-steps label { display: flex; align-items: center; gap: .6rem; flex: 1; min-height: 2.75rem; cursor: pointer; }
.wv-steps input { flex: none; width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--ink); }
.wv-steps input:checked + span { color: var(--muted); text-decoration: line-through; }
.wv-steps .btn { flex: none; min-width: 4.25rem; justify-content: center; }
.wv-next .wv-note { text-align: center; }
@media print { .wv-tools { display: none !important; } }
/* v77: later dates wait behind a button on screen; print always shows every date */
@media screen { .timeline > li.dl-more { display: none; } }
.dl-more-cta { margin-top: 1.1rem; }
@media print { .dl-more-cta { display: none !important; } }
/* v79: the ballot shows its first races; a button brings in the rest */
@media screen { .b-race.b-more { display: none; } }
.b-more-cta { margin: .75rem 0 0; }
/* v81: the page that lists every race and candidate from a state's own list. Every candidate looks the same:
   a name, then the party in the muted text colour. No party colours. */
.doc article.cl { max-width: 60rem; }
.cl [id] { scroll-margin-top: 5.5rem; }
.cl-jump ul { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; margin: 1.25rem 0 0; padding: .9rem 1.1rem; border: 1px solid var(--rule); border-radius: 12px; }
.cl-jump li { margin: 0; }
.cl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 0 2rem; }
.cl-race h3 { margin: 1.1rem 0 .25rem; font-size: 1rem; }
.doc .cl-race ul, .doc .cl-list { list-style: none; margin: 0; padding: 0; }
.cl-race li, .cl-list li { margin: .15rem 0; max-width: none; }
.cl-party { color: var(--muted); }
/* v81: "show more" and "show fewer" sit side by side and wrap on a narrow screen */
.more-row .btn + .btn { margin-inline-start: .5rem; }
@media (max-width: 26rem) { .more-row .btn { display: block; width: 100%; } .more-row .btn + .btn { margin: .5rem 0 0; } }

/* v88: the "coming up" strip. Colors: the gold scale of the registration map, brightest for today. No party colors.
   v97: one line, above the logo and the menu, so the page's main part starts higher. The date pill, what it is and the
   "still open" note sit on a single row; the buttons sit at its right end. A line too long for the screen slides
   sideways once (design/soon.mjs places the strip; assets/site.js runs it). The height is fixed, so nothing below moves. */
.soon { background: var(--board); color: #ECEFE9; border-bottom: 1px solid #22332D; }
.soon[hidden] { display: none; }
.soon-in { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .75rem; padding-block: .25rem; }
.soon-stage { flex: 1 1 0; min-width: 0; display: grid; height: 2rem; align-items: center; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 1.25rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 1.25rem), transparent); }
.soon-card { grid-area: 1 / 1; justify-self: start; display: flex; align-items: center; gap: .75rem; width: max-content; white-space: nowrap; visibility: hidden; }
.soon-card.is-on { visibility: visible; }
/* A line wider than the strip: it rests, slides to its end, rests. Hovering, focus, Pause and the open list hold it. */
.soon-card.soon-run { animation: soon-slide var(--soon-secs, 8s) linear 1 both; }
@keyframes soon-slide { 0%, 14% { transform: translateX(0); } 86%, 100% { transform: translateX(var(--soon-shift, 0)); } }
.soon-card.soon-run.soon-loop { animation-iteration-count: infinite; animation-direction: alternate; }
.soon.is-held .soon-card.soon-run, .soon:hover .soon-card.soon-run, .soon:focus-within .soon-card.soon-run { animation-play-state: paused; }
/* The line can also be swiped or scrolled sideways by hand (no script, or less motion asked for: that is the only way). */
.soon-stage::-webkit-scrollbar { display: none; }
.soon-item { display: inline-flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; font-size: .9375rem; line-height: 1.3; }
.soon-when { display: inline-block; padding: .16rem .55rem; border-radius: 999px; font: 800 .8125rem/1.25 var(--text); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
/* v91: the site's rule (v67). Brick red only on a deadline's last day; marigold for today's openings and for tomorrow; darker gold further out. */
.soon-hot .soon-when { background: var(--alert, #B3261E); color: var(--alert-ink, #FFFFFF); }
.soon-d1 .soon-when { background: #FFC23D; color: #13201B; }
.soon-d2 .soon-when { background: #C79A3A; color: #13201B; }
.soon-what { font-weight: 600; }
.soon-item:hover .soon-what, .soon-item:focus-visible .soon-what { text-decoration: underline; text-underline-offset: .18em; }
.soon-item:focus-visible, .soon-btn:focus-visible { outline: 2px solid #FFC23D; outline-offset: -2px; border-radius: 6px; }
.soon-more { margin: 0; font-size: .8125rem; line-height: 1.4; color: #B9C6C0; }
.soon-more[hidden] { display: none; }
.soon-ctl { flex: none; display: flex; align-items: center; gap: .25rem; }
.soon-btn { min-width: 1.75rem; min-height: 1.75rem; padding: 0 .4rem; border: 1px solid #33473F; border-radius: 7px; background: transparent; color: #DDE4DF; font: 700 1rem/1 var(--text); cursor: pointer; }
.soon-btn.soon-word { font-size: .75rem; padding: 0 .55rem; }
.soon-btn:hover { border-color: #FFC23D; color: #FFC23D; }
.soon-btn[hidden], .soon-count[hidden] { display: none; }
.soon-count { min-width: 3.4rem; text-align: center; font-size: .75rem; color: #A7B6AF; font-variant-numeric: tabular-nums; }
/* Phones: the arrows and the count give their room to the words; Pause and the list stay. */
@media (max-width: 640px) { .soon-in { gap: 0 .4rem; } #soon-prev, #soon-next, .soon-count { display: none; }
  /* The two words become a pause mark and "All" (the buttons keep their full names for screen readers). */
  .soon-stage { height: 2.25rem; } .soon-btn { min-width: 2.25rem; min-height: 2.25rem; }   /* big enough to tap */
  .soon-btn.soon-word { padding: 0 .45rem; font-size: 0; }
  .soon-btn.soon-word::before { font-size: .75rem; }
  #soon-pause::before { content: "\275A\275A"; font-size: .6rem; letter-spacing: .05em; } #soon-pause[aria-pressed="true"]::before { content: "\25B6"; font-size: .7rem; }
  #soon-all::before { content: "All"; } #soon-all[aria-expanded="true"]::before { content: "Close"; } }
@media (pointer: coarse) { .soon-stage { height: 2.25rem; } .soon-btn { min-width: 2.25rem; min-height: 2.25rem; } }
/* The whole list opens under the line, on its own row; there the notes may wrap. */
.soon-list { flex: 1 0 100%; list-style: none; margin: .4rem 0 .45rem; padding: 0; display: grid; gap: .55rem; }
.soon-list[hidden] { display: none; }
.soon-list li { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .75rem; }
.soon-list .soon-item { flex-wrap: wrap; }
@media print { .soon { display: none !important; } }

/* v92: the floating buttons stay to the very end of the page, so the footer leaves them room below its last line. */
.has-dock footer { padding-bottom: 5.75rem; }

/* v88: Home and Top, on every page, once the visitor has scrolled down a screen. */
.dock { position: fixed; z-index: 60; right: max(.75rem, env(safe-area-inset-right)); bottom: max(.75rem, env(safe-area-inset-bottom)); display: flex; gap: .4rem; }
.dock[hidden] { display: none; }
.dock-btn { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-height: 2.75rem; padding: 0 .85rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--panel); color: var(--ink); font: 700 .875rem/1 var(--text); text-decoration: none; cursor: pointer; box-shadow: var(--shadow); }
.dock-btn svg { width: 1rem; height: 1rem; flex: none; }
.dock-btn:hover { border-color: var(--ink); }
.dock-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media print { .dock { display: none !important; } }

/* v90: "Back to top" and "Home" at the start of every page's footer. Plain links, so they work with no script. */
.foot-top { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 0 auto 2rem; }
.foot-top a { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 2.75rem; padding: 0 1.1rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 700; text-decoration: none; }
.foot-top a:hover { border-color: var(--ink); }
.foot-top svg { width: 1rem; height: 1rem; flex: none; }
@media print { .foot-top { display: none !important; } }

/* v97: the embed options are compact, on the home page, the state pages, the widget page and the midterm page: as many
   to a row as fit (two on a phone), smaller boxes. On the widget page the clock is the builder's preview, in the middle
   of the page like the home page's. */
.controls { grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: .75rem; }
@media (max-width: 760px) { .controls { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.controls label { font-size: .8125rem; gap: .2rem; }
.controls select { min-height: 2.125rem; padding: .3rem 1.9rem .3rem .6rem; font-size: .875rem; border-radius: 8px; background-position: right .6rem center; }
.controls .hint { font-size: .75rem; line-height: 1.35; }
/* Five options (the widget page): the clock and the state share the first row, the three about placement the second. */
@media (min-width: 761px) { .cd-builder[data-kind="media"] .controls { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cd-builder[data-kind="media"] .controls label { grid-column: span 2; } .cd-builder[data-kind="media"] .controls label:nth-child(-n+2) { grid-column: span 3; } }
@media (max-width: 760px) { .controls label:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.doc .embed-demo { margin-inline: auto; }
.cd-builder .newsframe { width: 100%; max-width: none; }
.cd-builder .cta.cd-copy, .doc .cd-builder .cta { text-align: center; }
.cd-builder .code-note { text-align: center; }
.cd-builder [data-copy]:disabled { opacity: .5; cursor: not-allowed; }
/* v97: on the article pages (the ballot and where-to-vote pages, the widget and midterm pages) the list of matching
   addresses and the preview frame get the same solid card color the home page gives them. Without it the list was
   see-through and the text under it showed. */
.doc { --card: var(--panel); }
/* v98: a ballot measure's choices (Idaho's advisory question lists six). */
.m-opts { margin: .35rem 0 0; padding-left: 1.4rem; text-align: left; font-size: .9375rem; }
.m-opts li { margin: .1rem 0; }

/* v105: a state with no news of its own. No heading and no empty box under the deadline list: only the
   "National updates" button and the link to The Latest, in a short band. */
#latest.lt-empty { padding-block: 1.5rem; }
#latest.lt-empty .band-head { display: none; }
#latest.lt-empty .lt-nat { margin-top: 0 !important; }
#latest.lt-empty .lt-nat-list:not([hidden]) { margin-bottom: .25rem; }

/* v106: "Report an error" on every page (assets/report.js): the form opens over the page; the lines that carry the link. */
dialog.er { width: 100%; max-width: min(34rem, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 0; background: transparent; color: inherit; overflow: auto; }
dialog.er::backdrop { background: rgba(8, 14, 12, .6); }
dialog.er .report { margin: 0; max-width: none; background: var(--panel); text-align: left; }
dialog.er .er-about { margin: 0; overflow-wrap: anywhere; }
.er-center { text-align: center; margin: .75rem 0 0; font-size: .9375rem; color: var(--muted); }
.foot-privacy .linkbtn { font: inherit; color: inherit; }

/* v107: the two clock pages on a large screen. Up to 1099 pixels they are as they were: one reading column. From 1100
   pixels the page takes the width the home page uses: the heading and the clock centered, the options in one row, the
   preview beside the code, and the reading sections two to a row so no line of text gets longer than it was. The
   sections are wrapped (.cols2, .embed-sec) for this; the rule that used to sit on the midterm page's first question
   moves to the wrapper, so narrow screens look the same. */
.tool-page > .cols2 { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--rule); }
.tool-page > .cols2 > section:first-child > h2 { margin-top: 0; }
.tool-page h2[id] { scroll-margin-top: 5rem; }
@media (min-width: 1100px) {
  .doc article.wide, .doc article.tool-page[data-asof] { max-width: none; }
  .doc article.wide > h1, .doc article.tool-page[data-asof] > h1 { max-width: 56rem; margin-inline: auto; text-align: center; }
  .doc article.wide > .updated, .doc article.wide > h2, .doc article.wide > p, .embed-sec > h2, .doc .embed-sec > p { max-width: 46rem; margin-inline: auto; text-align: center; }
  .cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3.5rem; }
  .doc article.wide > .cols2, .embed-sec { margin-top: 2.75rem; padding-top: 2rem; border-top: 1px solid var(--rule); }
  .doc article.wide > .cols2 > section:nth-child(-n+2) > h2, .tool-page > .cols2 > section:nth-child(-n+2) > h2, .embed-sec > h2 { margin-top: 0; }
  .doc article.wide > .cd-builder, .embed-sec > .cd-builder { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: 1.75rem; align-items: start; margin-top: 1.5rem; margin-bottom: 1.5rem; }
  .doc .cd-builder > .controls { grid-column: 1 / -1; }
  .doc .cd-builder[data-kind="media"] > .controls { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .doc .cd-builder[data-kind="media"] > .controls label:nth-child(n) { grid-column: auto; }
  .doc .cd-builder[data-kind="midterm"] > .controls { grid-template-columns: repeat(3, minmax(0, 15rem)); justify-content: center; }
  .doc .cd-builder > .newsframe { grid-column: 1; grid-row: 2 / span 3; }
  .doc .cd-builder > .code, .doc .cd-builder > .cta.cd-copy, .doc .cd-builder > .code-note { grid-column: 2; max-width: none; text-align: left; }
}
/* v107: three next steps under the midterm clock, so a visit that came for the countdown can go on to the voter's own
   deadlines, ballot and polling place. */
.tool-page > .cd-next { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1.25rem auto 0; }
.tool-page > .cd-next .btn { text-decoration: none; }

/* v111: the finder on the long lists (assets/listfind.js): candidate pages and early voting pages */
.lf { margin: 1.25rem 0 0; padding: .85rem 0 .6rem; background: var(--paper); border-bottom: 1px solid var(--rule); }
.lf label { display: block; font-weight: 700; margin: 0 0 .4rem; }
.lf-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.lf input { flex: 1 1 16rem; min-width: 0; min-height: 2.75rem; padding: .5rem .8rem; border: 1.5px solid var(--ctl); border-radius: 10px; background: var(--card); color: var(--ink); font: inherit; }
.lf input:hover { border-color: var(--ink); }
.lf select { flex: 1 1 12rem; min-width: 0; max-width: 100%; }
.lf-out { margin: .45rem 0 0; font-size: .875rem; color: var(--muted); max-width: none; }
.lf-clear { padding: 0; border: 0; background: none; color: var(--ink); text-decoration: underline; cursor: pointer; font: inherit; }
.lf-more { margin: .75rem 0 .25rem; }
.cl li.lf-hit { background: color-mix(in srgb, var(--signal) 28%, transparent); border-radius: 4px; }
.cl [hidden] { display: none !important; }
.cl-race, .cl h2 { scroll-margin-top: 9rem; }
@media (max-width: 600px) { .lf select, .lf input { flex-basis: 100%; font-size: 16px; } }

/* v129: easier reading on desktop (many visitors read on a computer). Same fonts and colors; larger body text on
   wide screens and no text smaller than 14px there (13px for small tags). */
@media (min-width: 1100px) {
  body { font-size: 1.125rem; line-height: 1.6; }
  .site .jump, .hero-meta, .mk-label, .dl-date .mo, .legend, .fact small, .cand .vt, .race footer, .nf-bar span,
  .addr-list .addr-note, .finder-note, .contacts dt, .regtable thead th, .lt-meta, .clock .l, .ask-stack .map-label,
  .ask-stack > .chips button, .social a, .hero-actions .btn, .hero-notes .hero-meta, .wv-link small, .wv-note,
  .soon-more, .controls label { font-size: .875rem; }
  .tag, .counted, .win, .qz-mark, .soon-count, .controls .hint, .hero-meta .src-line { font-size: .8125rem; }
  .hero-trust, .hero-notes .hero-trust { font-size: .9375rem; }
  .ev-sites li, .of-list li { line-height: 1.5; }
}
/* the folding arrow is decoration in marigold; on the light page it is too faint to see, so it takes the ink color */
:root:not([data-theme="dark"]) .qa > summary::before, :root:not([data-theme="dark"]) .allstates > summary::before { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .qa > summary::before, :root:not([data-theme="light"]) .allstates > summary::before { color: var(--signal); } }

/* v129: long lists (assets/fold.js) */
.fold-rest, .fold-miss { display: none !important; }
.fold-btn, .fold-close { margin: .75rem 0 .25rem; }
.fold-close { display: block; }
.fold-find { position: static; }
/* office index pages: the full list in columns on wide screens, so 254 counties fit in a few screens */
@media (min-width: 900px) {
  .of-list { columns: 3 15rem; column-gap: 2rem; padding-left: 0; list-style: none; }
  .of-list li { break-inside: avoid; margin: 0 0 .75rem; }
}

/* v130: passed deadlines (written by the build and by Worker v54 for today) */
.vc-ended{display:inline-block;margin-left:.4em;padding:0 .45em;border-radius:4px;font-size:.78em;font-weight:700;letter-spacing:.04em;text-transform:uppercase;background:rgba(127,127,127,.18);color:inherit;vertical-align:.08em}
.dl-past{opacity:.72}

/* v131: the ready-made clocks on the free election countdown clock page, each with a live preview and its code. */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 1rem 0 .75rem; }
@media (max-width: 760px) { .gallery { grid-template-columns: minmax(0, 1fr); } }
.gallery .gal { margin: 0; padding: 1rem 1.1rem 1.1rem; border: 1px solid var(--rule); border-radius: 14px; background: var(--card); display: grid; gap: .75rem; align-content: start; }
.gallery .gal h3 { margin: 0; font-size: 1.0625rem; line-height: 1.3; }
.gallery .gal p { margin: 0; }
.gallery .gal-preview { display: grid; justify-items: center; }
.gallery .gal-preview iframe { display: block; border: 0; }
.gallery .code { margin: 0; font-size: .75rem; max-height: 9.5rem; overflow: auto; }
.gallery .cta { margin: 0; text-align: center; }

/* v131b (Oct 15): centered wherever the content around it is centered */
p.of-index { text-align: center; }
.gallery .gal h3, .gallery .gal > p { text-align: center; }
#seen-list { list-style: none; padding: 0; text-align: center; }
#seen-list li { margin: .35rem 0; }

/* v132: a passed opening ("Started") is not struck through; early voting is still going on */
.rd.past[data-open]{text-decoration:none}
/* v132: long office web addresses wrap inside their card on phones (they ran up to 200 px past the screen edge) */
.of-card,.of-card a,.crumbs{overflow-wrap:anywhere}
/* v132: raw web addresses in answers (e.g. Minnesota FAQ, Wisconsin clerk pages) wrap instead of running off a phone screen */
.qa-body,main p,main li,main dd{overflow-wrap:break-word}

/* v133: long runs of names fold to two lines with a "See all N" button (fold.js rule 4) */
.fold-clamp{display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fold-see{display:block;margin:.25rem 0 1rem}
/* v134: every page title is centered (Shams: titles must always be centered), with the "from ... checked" line under it */
.doc h1, main > h1, main article > h1, main section > h1 { text-align: center; margin-inline: auto; text-wrap: balance; }
.doc article > h1 + .updated, .doc article > h1 + p.of-index + .updated, .doc article > .updated:first-of-type { text-align: center; }
/* v135: early voting pages open on a compact list of counties (listfind.js) */
.lf-idx ul { list-style: none; margin: 1rem 0 .5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .35rem 1rem; }
.lf-idx li { margin: 0; }
.lf-idx small { color: var(--muted, #666); white-space: nowrap; }
.lf-idx li.lf-idx-rest { display: none; }
.lf-idx.lf-idx-all li.lf-idx-rest { display: list-item; }
/* v136: centered section titles and tool boxes site-wide (Shams: "things need to get centered ... everywhere").
   Running text and bulleted lists stay left-aligned for reading; titles, pickers and their headings are centered. */
.doc article > h2, .doc article > section > h2, .doc .card > h2, .doc .card > h3, .ms-h { text-align: center; text-wrap: balance; }
.ms-pick { text-align: center; }
.ms-pick > label { display: block; }
.ms-pick > select { display: block; margin-inline: auto; max-width: 22rem; width: 100%; }
.ms-pick ul, .ms-pick ol { text-align: left; display: inline-block; max-width: 100%; margin-inline: auto; }

/* v138 layout (Shams, Oct 15): one centered column. Every block in a page uses the same full width, so text no longer
   stops partway and comes back to the left while the title and tools are centered over a wider area. On desktop the
   column is wide and the type larger, for older readers and shorter pages. Short items (one line) are centered. */
.doc article, .doc article:has(.regwrap) { max-width: 76rem; margin-inline: auto; }
.doc p, .doc li, .fine, .doc .fine, .note, .dl .detail, .waiting p, .finder-note, .finder-result, .hero-meta { max-width: none; }
@media (min-width: 900px) {
  .doc { font-size: 1.125rem; }
  .doc h2 { font-size: 2rem; }
  .doc h3 { font-size: 1.25rem; }
}
@media (min-width: 1400px) { .doc { font-size: 1.1875rem; } }
/* a paragraph that fits on one line, and every short label above a tool, sits in the middle (doc.js marks one-liners) */
.doc .one-line, .lf > label, .lf-out, .fold-find > label, .fold-find .lf-out { text-align: center; }
.lf-row { justify-content: center; }
.cl-jump ul { justify-content: center; }
/* candidate lists: each race is a centered block (title over its names), races in centered rows */
.doc .cl-race, .doc .cl-list { text-align: center; }
.cl-grid { justify-content: center; }
.lf-idx ul { justify-content: center; text-align: center; }
/* v138: county list on early pages: each county on one line where it fits, columns centered */
.lf-idx ul { grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: .5rem 1.5rem; }
.lf-idx li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .lf-idx ul { grid-template-columns: 1fr; } }
.lf-idx ul { grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); }
.lf-idx li { white-space: normal; overflow: visible; text-overflow: clip; }
.lf-idx a { white-space: nowrap; }
.doc .crumbs { text-align: center; }
/* v139: county locator map under the title (Census boundaries; the county in Vote Clock yellow) */
.loc-map { margin: .25rem auto 1rem; text-align: center; }
.loc-map img { display: block; margin: 0 auto; max-width: 200px; height: auto; border-radius: 10px; }
.loc-map figcaption { margin-top: .3rem; font-size: .8125rem; color: var(--muted); }
/* v139: the state's flag above the title on state-level pages (public domain, Wikimedia Commons) */
.state-flag { display: block; margin: 0 auto .75rem; height: 60px; width: auto; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
@media (max-width: 560px) { .state-flag { height: 44px; } }
/* v140 (Shams, Oct 15, 5 pm: "screen still 2/3rds", "things still feel on the right"). On a computer the page now
   fills the screen (a 3% margin each side) instead of stopping at 76rem, and list pages are no longer held to 60rem.
   On big screens the type grows with the screen so lines stay readable. The "See all" list button is centered. */
@media (min-width: 1100px) {
  .wrap { width: 94%; }
  .doc article, .doc article.cl, .doc article:has(.regwrap) { max-width: none; }
}
/* Desktop containers grow with the screen while retaining the reader's text size. */
.lf-more { display: flex; width: max-content; max-width: 100%; margin: .9rem auto .25rem; }
.reg-pick, .regmap { margin-inline: auto; }
/* v140: the county list keeps each name and its count on one line (no "101 sites" falling to its own line) */
.lf-idx ul { grid-template-columns: repeat(auto-fill, minmax(23rem, 1fr)); }
@media (max-width: 560px) { .lf-idx ul { grid-template-columns: 1fr; } }
/* v142 (Shams, Oct 15: "these selection boxes don't have to be screen-wide"): search box + picker sit in a centered row */
.lf-row { max-width: 48rem; margin-inline: auto; }

/* v144: "at a glance" answer tiles at the top of early voting, ballot and office pages (Shams: "too texty for a modern
   reader"). The first phone screen answers when / where / hours, then one row of buttons; sources move to small print. */
.glance{display:grid;grid-template-columns:repeat(auto-fit,minmax(9.5rem,1fr));gap:.65rem;max-width:52rem;margin:1rem auto 1rem;padding:0;list-style:none}
.gl-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.2rem;text-align:center;padding:.8rem .9rem;background:var(--panel);border:1px solid var(--rule);border-radius:12px;min-width:0}
.gl-k{font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.gl-v{font:700 1.35rem/1.15 var(--display);overflow-wrap:anywhere}
.gl-s{font-size:.85rem;color:var(--muted);line-height:1.3}
.gl-live{display:inline-block;margin-top:.15rem;padding:.1rem .55rem;border-radius:99px;background:var(--wash);color:var(--ink);font-size:.8rem;font-weight:700}
.gl-live.gl-ended{background:rgba(127,127,127,.18);color:inherit;text-transform:uppercase;letter-spacing:.04em}
.gl-note{max-width:44rem;margin:.25rem auto 1rem;padding:.65rem 1rem;border-left:4px solid var(--signal);background:var(--panel);border-radius:0 10px 10px 0;font-size:.95rem}
.gl-act{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin:0 auto 1rem;max-width:52rem}
.gl-act .btn{justify-content:center}
.doc .gl-src,.gl-src{font-size:.85rem;color:var(--muted);text-align:center;max-width:44rem;margin:0 auto 1.5rem}
@media (max-width:420px){.glance{grid-template-columns:1fr 1fr}.gl-tile.gl-wide{grid-column:1/-1}.gl-v{font-size:1.2rem}.gl-act .btn{flex:1 1 9rem}}
.gl-act .btn{text-align:center}
/* v145 (Shams, Oct 15: "If an odd box in a line, center. Everywhere"): on a two-column phone screen a lone last tile
   sits in the middle at the same width as the tiles above it, not stuck on the left (seen at 440px on the Chicago early
   voting page). fold.js v145 does the same for every other grid of boxes on the site. */
@media (max-width:500px){.glance{grid-template-columns:1fr 1fr}.glance>.gl-tile:last-child:nth-child(odd):not(.gl-wide){grid-column:1/-1;justify-self:center;width:calc((100% - .65rem) / 2)}}
@media (min-width:421px){.gl-v{font-size:1.45rem}}
main .gl-note{max-width:52rem;margin:.25rem auto 1rem}
.gl-act .btn{white-space:nowrap}
#lf{scroll-margin-top:calc(var(--head, 4rem) + 1rem)}

/* ===================================================================================================================
   v147 (Shams, Oct 15): balance, color, and a bold appearance switch.
   ================================================================================================================ */

/* 1. Balance ("why not keep a balance? ... as much to the right as to the left"). Nothing hugs the left with empty
   space on the right: race columns sit in centered rows, every heading is centered, footer columns are centered,
   and long paragraphs run flush to both edges (fold.js marks them; one-liners are centered). */
.cl-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 2.5rem; }
.cl-grid > * { flex: 0 1 17.5rem; min-width: 0; }
@media (max-width: 640px) { .cl-grid > * { flex-basis: 100%; } }
main h2, main h3, main h4, .doc .cl-measure > h3 { text-align: center; text-wrap: balance; }
/* v151 (Shams, Oct 15: titles "oddly centered or not centered over the text"): a title inside a list item (a news
   item, an office card) lines up with its own text, which stays left-aligned for reading */
main :is(li, td, th, dd) :is(h2, h3, h4) { text-align: inherit; }
.vc-center { text-align: center; }
.vc-even { text-align: left; }
.foot-grid { text-align: center; }
.foot-brand .brand { justify-content: center; }
.foot-brand p { margin-inline: auto; }
.foot-jump { display: flex; flex-direction: column; align-items: center; }
.foot-jump select { margin-inline: auto; }
.foot-contact p, .foot-contact a { margin-inline: auto; }

/* 2. Color with a meaning (approved Oct 15). Marigold leads (main buttons, tile labels and bars, section rules); teal
   means "open now"; red stays for the last day; gray means ended. The dark theme is a deep green, not near-black. */
:root { --go: #0E7F66; --go-ink: #fff; --label: #8A5A00; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #13231E; --panel: #1C3029; --rule: #34514A; --track: #27403A; --muted: #B3C2BB; --map: #31504A; --go: #3CC6A4; --go-ink: #0F1916; --label: var(--signal); }
}
:root[data-theme="dark"] { --paper: #13231E; --panel: #1C3029; --rule: #34514A; --track: #27403A; --muted: #B3C2BB; --map: #31504A; --go: #3CC6A4; --go-ink: #0F1916; --label: var(--signal); }
.site { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
.btn:not(.quiet):not(.linkbtn) { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
.btn.quiet { border-color: var(--rule); }
.gl-tile { border-top: 3px solid var(--signal); box-shadow: var(--shadow); }
.gl-k { color: var(--label); }
.gl-live:not(.gl-ended) { background: var(--go); color: var(--go-ink); }
.doc article > h2::after, .doc article > section > h2::after, .doc article > .cl > h2::after {
  content: ""; display: block; width: 3rem; height: 3px; margin: .55rem auto 0; border-radius: 2px; background: var(--signal); }

/* 3. Appearance switch in the top bar ("very bold ... so people have the option to make it bright") */
.appear { position: relative; flex: none; margin-left: auto; }
@media (min-width: 941px) { .site .wrap > .simple-nav ~ .appear { margin-left: 0; } }
.site .wrap > .mini ~ .appear { margin-left: 0; }
.appear-btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.5rem; padding: .3rem .85rem; border: 2px solid var(--signal); border-radius: 999px; background: transparent; color: var(--ink); font: 800 .9375rem/1 var(--text); letter-spacing: .01em; cursor: pointer; white-space: nowrap; }
.appear-btn:hover, .appear-btn[aria-expanded="true"] { background: var(--signal); color: var(--signal-ink); }
.appear-btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.appear-btn .appear-caret { width: .8rem; height: .8rem; }
.appear-menu { position: absolute; right: 0; top: calc(100% + .45rem); z-index: 40; min-width: 13.5rem; padding: .35rem; background: var(--panel); border: 1px solid var(--rule); border-radius: 12px; box-shadow: var(--shadow-hi); }
.appear-menu[hidden] { display: none; }
.appear-menu button { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 2.75rem; padding: .5rem .8rem; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font: 700 1rem/1.2 var(--text); text-align: left; cursor: pointer; }
.appear-menu button:hover, .appear-menu button:focus-visible { background: var(--wash); }
.appear-menu button[aria-pressed="true"]::after { content: "✓"; color: var(--label); font-weight: 800; }
@media (max-width: 400px) { .appear-btn { padding: .3rem .65rem; font-size: .875rem; } .appear-btn .appear-caret { display: none; } }
@media print { .appear { display: none !important; } }
/* v147 fit: phones. On pages with the state picker in the top bar (home, state pages) the switch shows its icon only,
   so the picker keeps its room; the "Started" pill fits inside a half-width tile. */
@media (max-width: 560px) {
  .site .wrap:has(> .mini) .appear-btn { width: 2.75rem; height: 2.75rem; padding: 0; justify-content: center; }
  .site .wrap:has(> .mini) .appear-btn span, .site .wrap:has(> .mini) .appear-btn .appear-caret { display: none; }
  .site .wrap:has(> .mini) { gap: .6rem; }
}
@media (max-width: 420px) { .gl-tile { padding: .75rem .5rem; } .gl-live { font-size: .75rem; padding: .1rem .5rem; } }
.foot-jump { width: min(100%, 17rem); margin-inline: auto; }
.foot-jump select { width: 100%; }
/* v147: early voting site lists are centered cards in centered rows (a short last row sits in the middle), and office
   index columns center their names, so a list never hugs the left with the right side empty. */
main .ev-sites { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; padding: 0; margin-inline: 0; list-style: none; }
main .ev-sites > li { flex: 0 1 17rem; min-width: 0; text-align: center; padding: .9rem 1rem; background: var(--panel); border: 1px solid var(--rule); border-radius: 12px; }
@media (max-width: 640px) { main .ev-sites > li { flex-basis: 100%; } }
main .of-list { text-align: center; }
/* v147b: plain lists balance too (fold.js): short items centered without bullets, long ones as a centered block */
main ul.vc-list-center { list-style: none; padding-left: 0; text-align: center; }
main ul.vc-list-center > li { margin-inline: auto; }
main .vc-list-block { width: fit-content; max-width: 100%; margin-inline: auto; }

/* v147c (Shams, Oct 15: "give the buttons some highlights, some pictures ... give some life to it"): every button gets
   a small picture of what it does (fold.js picks it from the button's words), main buttons a warm glow, quiet ones
   teal icons and a teal ring on hover; Directions becomes a small teal pill; the at-a-glance labels get icons. */
[data-ico="pin"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11a7 7 0 0 1 14 0c0 4.8-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.6'/%3E%3C/svg%3E"); }
[data-ico="list"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11'/%3E%3Cpath d='M4.5 6h.01M4.5 12h.01M4.5 18h.01' stroke-width='3.2'/%3E%3C/svg%3E"); }
[data-ico="office"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V10l7-5.5 7 5.5v11M9.5 21v-5.5h5V21'/%3E%3C/svg%3E"); }
[data-ico="dir"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 11 20 4l-7 16.5-2-7.5z'/%3E%3C/svg%3E"); }
[data-ico="more"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
[data-ico="flag"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4h11.5l-2 4 2 4H5'/%3E%3C/svg%3E"); }
[data-ico="ballot"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='2.5'/%3E%3Cpath d='m8.5 12.5 2.5 2.5 4.5-5.5'/%3E%3C/svg%3E"); }
[data-ico="cal"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
[data-ico="clock"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E"); }
[data-ico="code"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8.5 8-4 4 4 4M15.5 8l4 4-4 4'/%3E%3C/svg%3E"); }
[data-ico="ext"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4l-8.5 8.5M18 14v5.5H4.5V6H10'/%3E%3C/svg%3E"); }
[data-ico="reg"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2.5'/%3E%3Cpath d='M9 3h6v3H9zM8.5 13l2.5 2.5 4.5-5'/%3E%3C/svg%3E"); }
[data-ico="search"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E"); }
[data-ico]::before { content: ""; display: inline-block; flex: none; width: 1.1em; height: 1.1em; vertical-align: -.17em; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
a[data-ico]:not(.btn):not(.vc-dir)::before, button[data-ico]:not(.btn)::before { margin-right: .4rem; }
.btn[data-ico] { gap: .5rem; }
[data-ico="more"][aria-expanded="true"]::before, [data-ico="more"].is-open::before { transform: rotate(180deg); }
.btn:not(.quiet):not(.linkbtn) { background: linear-gradient(180deg, #FFD466 0%, var(--signal) 52%, #F0A500 100%); border-color: #E9A100; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 18px -10px rgba(255, 184, 28, .85); }
.btn:not(.quiet):not(.linkbtn):hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 12px 26px -10px rgba(255, 184, 28, 1); filter: none; transform: translateY(-1px); }
.btn.quiet { background: color-mix(in srgb, var(--panel) 75%, transparent); }
.btn.quiet[data-ico]::before { background: var(--go); }
.btn.quiet:hover { border-color: var(--go); box-shadow: 0 0 0 3px color-mix(in srgb, var(--go) 22%, transparent); transform: translateY(-1px); }
.vc-dir { display: inline-flex; align-items: center; gap: .35rem; margin-top: .55rem; padding: .3rem .85rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--go) 50%, transparent); background: color-mix(in srgb, var(--go) 15%, transparent); color: var(--ink); font-weight: 700; font-size: .92em; text-decoration: none; }
.vc-dir::before { background: var(--go); }
.vc-dir:hover { background: color-mix(in srgb, var(--go) 26%, transparent); }
.gl-k[data-ico] { display: inline-flex; align-items: center; gap: .35rem; }
.gl-k[data-ico]::before { background: var(--go); width: 1.05rem; height: 1.05rem; }
.gl-tile { background: linear-gradient(180deg, color-mix(in srgb, var(--signal) 10%, var(--panel)) 0%, var(--panel) 60%); }
main .ev-sites > li { background: linear-gradient(180deg, color-mix(in srgb, var(--go) 7%, var(--panel)) 0%, var(--panel) 45%); }
/* v147d (Shams, Oct 15: the embed clock "to every single one of them, appropriately placed and centered"): a centered
   box at the end of every page offering that page's state clock (or the Election Day clock) for other websites. */
.vc-embed { max-width: 44rem; margin: 2.5rem auto 1rem; padding: 1.4rem 1.25rem 1.5rem; text-align: center; border: 1px solid var(--rule); border-top: 3px solid var(--go); border-radius: 14px; background: linear-gradient(180deg, color-mix(in srgb, var(--go) 9%, var(--panel)) 0%, var(--panel) 70%); }
.vc-embed-ico { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: color-mix(in srgb, var(--go) 18%, transparent); color: var(--go); }
.vc-embed-ico svg { width: 1.5rem; height: 1.5rem; }
.doc .vc-embed h2, .vc-embed h2 { margin: .6rem 0 .35rem; font: 800 1.45rem/1.1 var(--display); text-align: center; text-wrap: balance; }
.vc-embed p { margin: 0 auto 1rem; max-width: 36rem; color: var(--muted); text-align: center; }
@media print { .vc-embed { display: none; } }
/* v147e: Search in the top bar, and the box it opens under the bar */
.search-btn { flex: none; display: inline-flex; align-items: center; gap: .4rem; min-height: 2.5rem; padding: .3rem .85rem; border: 2px solid var(--go); border-radius: 999px; background: transparent; color: var(--ink); font: 800 .9375rem/1 var(--text); cursor: pointer; white-space: nowrap; }
.search-btn svg { width: 1.1rem; height: 1.1rem; color: var(--go); }
.search-btn:hover, .search-btn[aria-expanded="true"] { background: color-mix(in srgb, var(--go) 18%, transparent); }
.site .wrap > .search-btn { margin-left: auto; }
@media (min-width: 941px) { .site .wrap > .simple-nav ~ .search-btn { margin-left: 0; } }
.site .wrap > .mini ~ .search-btn { margin-left: 0; }
.site .wrap > .search-btn + .appear { margin-left: 0; }
.site-search { border-top: 1px solid var(--rule); background: var(--paper); padding: .75rem 0 1rem; }
.site-search[hidden] { display: none; }
.site-search .wrap { display: block; height: auto; max-width: 44rem; }
.site-search form { position: relative; margin: 0; }
.site-search input { width: 100%; min-height: 3rem; padding: .6rem 2.75rem .6rem 1rem; border: 2px solid var(--go); border-radius: 12px; background: var(--panel); color: var(--ink); font: 600 1.0625rem/1.2 var(--text); }
.site-search input:focus { outline: 3px solid color-mix(in srgb, var(--go) 35%, transparent); outline-offset: 1px; }
.site-search-x { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); width: 2.25rem; height: 2.25rem; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 1.05rem; cursor: pointer; }
.site-search-list { list-style: none; margin: .5rem 0 0; padding: 0; max-height: min(60vh, 26rem); overflow-y: auto; }
.site-search-list a { display: block; padding: .55rem .8rem; border-radius: 10px; text-decoration: none; color: var(--ink); }
.site-search-list strong { display: block; font-weight: 700; }
.site-search-list small { display: block; color: var(--muted); font-size: .85rem; margin-top: .1rem; }
.site-search-list a:hover, .site-search-list [aria-selected="true"] a { background: var(--wash); }
.site-search-note { margin: .5rem 0 0; color: var(--muted); font-size: .9rem; text-align: center; }
.site-search-note:empty { display: none; }
@media (max-width: 560px) {
  .search-btn { width: 2.75rem; height: 2.75rem; padding: 0; justify-content: center; }
  .search-btn span { display: none; }
  .site .wrap { gap: .6rem; }
}
@media (max-width: 400px) { .appear-btn span { font-size: .8125rem; } .appear-btn { padding: .3rem .55rem; gap: .3rem; } }
@media print { .search-btn, .site-search { display: none !important; } }
.site-search input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
/* phones, pages with the state picker in the top bar (home, state pages): the logo shows its mark only, so the
   picker keeps room for a state's full name next to Search and Appearance */
@media (max-width: 440px) {
  .site .wrap:has(> .mini) > .brand { font-size: 0; gap: 0; }
  .site .wrap:has(> .mini) > .brand svg { width: 1.6rem; height: 1.6rem; }
  .site .wrap:has(> .mini) .search-btn, .site .wrap:has(> .mini) .appear-btn { width: 2.5rem; height: 2.5rem; }
  .site .wrap:has(> .mini) { gap: .5rem; }
  .site .wrap:has(> .mini) > .mini { flex: 1 1 auto; }
  .site .wrap:has(> .mini) > .mini select { width: 100%; }
}
/* v149: the embed box shows the clock itself, live (lazy: it loads only when the box comes near the screen) */
.vc-embed-live { max-width: 520px; margin: 0 auto 1.1rem; }
.vc-embed-live iframe { display: block; width: 100%; height: 240px; border: 0; }
/* v149: the site finder that replaces long lists of voting sites (fold.js rule 1) */
.zipfind { max-width: 34rem; margin: 1rem auto 1.25rem; padding: 1.1rem 1.1rem .9rem; text-align: center; border: 1px solid var(--rule); border-top: 3px solid var(--go); border-radius: 14px; background: linear-gradient(180deg, color-mix(in srgb, var(--go) 9%, var(--panel)) 0%, var(--panel) 70%); }
.zipfind > label { display: block; margin-bottom: .55rem; font: 800 1.35rem/1.15 var(--display); }
.zipfind input { width: 100%; min-height: 3rem; font-size: 1.0625rem; text-align: center; border: 2px solid var(--go); border-radius: 12px; }
.zipfind .lf-out { margin: .6rem 0 0; }
.zipfind .lf-out:empty { display: none; }
main .ev-sites:not(:has(> li:not(.fold-rest))) { margin: 0; }
.ev-sites + .fold-btn { display: flex; margin: .5rem auto 1.5rem; }
/* v152 (Shams, Oct 15): under the clock, the trust line and what the clock counts to are centered under it, on every
   state page and the home page. On wide screens "Add Election Day to calendar" sits on the left of that text and
   "Share" on the right; on smaller screens the two buttons sit centered on a row of their own below it. The line
   saying what the clock counts to ("Counting to 7:00 AM CST on Election Day, when polls open in Texas") now shows. */
.count-note { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
.hero-foot { flex-direction: column; flex-wrap: nowrap; }
.hero-foot > .hero-notes { width: 100%; text-align: center; }
@media (min-width: 1300px) {
  .hero-foot { display: grid; grid-template-columns: max-content minmax(0, 50rem) max-content; justify-content: center; align-items: center; gap: .5rem 1.5rem; }
  .hero-foot > .hero-actions { display: contents; }
  .hero-foot > .hero-notes { grid-column: 2; grid-row: 1; }
  .hero-foot [data-eday-ics] { grid-column: 1; grid-row: 1; }
  .hero-foot [data-share-site] { grid-column: 3; grid-row: 1; }
}
/* v152 fit: pages with the state picker in the top bar (home, state pages) between phone and wide-desktop widths:
   Search and Appearance show their icons only and "Your state" is read out but not shown, so nothing overlaps */
@media (min-width: 561px) and (max-width: 1599px) {
  .site .wrap:has(> .mini) .search-btn, .site .wrap:has(> .mini) .appear-btn { width: 2.6rem; height: 2.6rem; padding: 0; justify-content: center; }
  .site .wrap:has(> .mini) .search-btn span, .site .wrap:has(> .mini) .appear-btn span, .site .wrap:has(> .mini) .appear-btn .appear-caret { display: none; }
  .site .wrap:has(> .mini) { gap: 1rem; }
  .site .wrap:has(> .mini) .mini label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site .wrap:has(> .mini) > .mini { flex: 0 1 11rem; min-width: 7.5rem; }
  .site .wrap:has(> .mini) .mini select { width: 100%; }
}
/* v152 fit: between 941 and 1180 pixels the section links of the home and state pages move to the row under the top
   bar (as on tablets), so the state picker, Search and Appearance keep their room */
@media (min-width: 941px) and (max-width: 1180px) {
  :root:has(.site .wrap > .mini) { --head: calc(var(--bar) + 2.75rem); }
  .site .wrap:has(> .mini) > nav { display: none; }
  .site:has(.wrap > .mini) .jump { display: flex; justify-content: center; gap: 2rem; height: 2.75rem; align-items: center; border-top: 1px solid var(--rule); font-size: .9375rem; }
  .site:has(.wrap > .mini) .jump a { flex: none; padding: .6rem .15rem; }
}
/* v154 (Shams, Oct 15: "if you don't visually show the clock here ... people won't embed as much"): on phones the home
   and state pages' "Free election countdown clock for your website" shows the live clock above "Get the embed code"
   (wider screens already show the builder with its live preview; once opened on a phone, the builder's preview takes over) */
.mc-live { display: none; }
@media (max-width: 899px) {
  .mc-live { display: block; margin: 0 auto 1rem; }
  #media-clock:has(#mc-builder.open) .mc-live { display: none; }
}
/* v160 (Shams, Oct 15: "that line under the clock: center it"): the two side columns are the same width, so the trust
   line and the counting line sit exactly in the middle, under the clock, whatever the buttons' widths. Calendar hugs
   the text from the left, Share from the right. */
@media (min-width: 1300px) {
  .hero-foot { width: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, max-content) minmax(0, 1fr); justify-content: stretch; }
  .hero-foot > .hero-notes { max-width: 52rem; }
  .hero-foot [data-eday-ics] { justify-self: end; }
  .hero-foot [data-share-site] { justify-self: start; }
}
/* v161: national state-by-state tables as a grid of state cards (fold.js rule 5) */
.regtable.vc-cards, .regtable.vc-cards tbody { display: block; width: 100%; }
.regtable.vc-cards thead { display: none; }
.regtable.vc-cards tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: .75rem; }
.regtable.vc-cards tbody > tr { display: flex; flex-direction: column; align-items: center; text-align: center; padding: .85rem 1rem .9rem; background: linear-gradient(180deg, color-mix(in srgb, var(--go) 7%, var(--panel)) 0%, var(--panel) 55%); border: 1px solid var(--rule); border-radius: 12px; }
.regtable.vc-cards tbody > tr.fold-miss { display: none !important; }
.regtable.vc-cards th, .regtable.vc-cards td { display: block; width: auto; padding: 0; border: 0; text-align: center; }
.regtable.vc-cards tbody th { width: auto; margin: 0 0 .4rem; font: 800 1.25rem/1.15 var(--display); }
.regtable.vc-cards tbody th a { text-decoration: none; }
.regtable.vc-cards tbody th br + a { display: block; margin-top: .2rem; font: 600 .85rem/1.3 var(--text); text-decoration: underline; }
.regtable.vc-cards td li { margin: 0 0 .45rem; font-size: .92rem; }
.regtable.vc-cards td li:last-child { margin-bottom: 0; }
.regtable.vc-cards .rd { display: block; }
.regtable.vc-hours tbody { grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr)); }
@media (max-width: 560px) { .regtable.vc-hours tbody { grid-template-columns: 1fr 1fr; gap: .5rem; } .regtable.vc-hours tbody > tr { padding: .7rem .5rem; } }
.regtable.vc-hours .rd { display: none; }
.regtable.vc-hours .ph-big { display: block; font: 800 1.2rem/1.2 var(--display); color: var(--ink); }
.regtable.vc-hours .ph-small { display: block; margin-top: .15rem; font-size: .8rem; color: var(--muted); }
.regtable.vc-hours a.src { display: inline-block; margin-top: .3rem; font-size: .78rem; }
.doc article:has(.regtable.vc-cards) { max-width: 76rem; }
.regtable.vc-cards .cd-sub { display: block; margin-top: .15rem; font: 500 .8rem/1.35 var(--text); color: var(--muted); }
.regtable.vc-cards .cd-sub a { color: var(--ink); }
.regtable.vc-cards .cd-label { display: block; font-weight: 700; color: var(--ink); }
.regtable.vc-cards td li .rd { font-weight: 500; }
.regtable.vc-cards td li a.src { font-size: .78rem; }
.regtable.vc-cards td li { padding-top: .45rem; border-top: 1px solid color-mix(in srgb, var(--rule) 60%, transparent); }
.regtable.vc-cards td li:first-child { padding-top: 0; border-top: 0; }
.regtable.vc-cards tbody > tr.fold-rest { display: none !important; }
.regwrap + .fold-btn { display: flex; margin: 1rem auto 1.5rem; }

/* v162 (Shams, Oct 15: "still too long a list with the cards. you could have divided them based on time zones ...
   be tricky and creative"): the national state-by-state pages open on one time zone at a time (fold.js rule 5).
   Polling hours becomes a two-column timetable: state on the left, hours on the right. */
.tz-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; max-width: 52rem; margin: 1.1rem auto .4rem; }
.tz-tab { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.5rem; padding: .4rem .9rem; border: 1.5px solid var(--rule); border-radius: 999px; background: var(--panel); color: var(--ink); font: 700 .95rem/1.1 var(--text); cursor: pointer; transition: border-color .15s, background-color .15s, transform .15s; }
.tz-tab:hover { border-color: var(--go); transform: translateY(-1px); }
.tz-tab .tz-n { min-width: 1.5rem; padding: .12rem .4rem; border-radius: 999px; background: color-mix(in srgb, var(--go) 20%, transparent); font: 800 .75rem/1.1 var(--text); text-align: center; }
.tz-tab[aria-pressed="true"] { background: linear-gradient(180deg, #FFD466 0%, var(--signal) 52%, #F0A500 100%); border-color: #E9A100; color: var(--signal-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 18px -10px rgba(255, 184, 28, .85); }
.tz-tab[aria-pressed="true"] .tz-n { background: rgba(19, 32, 27, .14); }
.tz-tab.tz-you .tz-name::after { content: ""; display: inline-block; width: .5rem; height: .5rem; margin: 0 0 .1rem .4rem; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 3px color-mix(in srgb, var(--go) 25%, transparent); vertical-align: middle; }
.tz-tabs.tz-off .tz-tab { opacity: .55; }
.tz-note { max-width: 40rem; margin: .3rem auto 1rem; text-align: center; font-size: .9rem; color: var(--muted); }
.vc-mine-tag { display: inline-block; margin: 0 0 .15rem .5rem; padding: .15rem .5rem; border-radius: 999px; background: color-mix(in srgb, var(--go) 22%, transparent); color: var(--ink); font: 800 .7rem/1.2 var(--text); letter-spacing: .02em; text-transform: uppercase; vertical-align: middle; }
.regtable.vc-cards tbody > tr.vc-mine { border-color: var(--go); box-shadow: 0 0 0 1px var(--go) inset; }
.regtable.vc-hours tbody { grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); column-gap: 2.75rem; row-gap: 0; max-width: 58rem; margin: 0 auto; }
.regtable.vc-hours tbody > tr { flex-direction: row; align-items: center; justify-content: space-between; gap: .9rem; padding: .7rem .35rem; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; }
.regtable.vc-hours tbody > tr.vc-mine { background: color-mix(in srgb, var(--go) 10%, transparent); box-shadow: none; border-radius: 8px; padding-inline: .6rem; }
.regtable.vc-hours tbody th { flex: 1 1 auto; margin: 0; text-align: left; font: 800 1.15rem/1.15 var(--display); }
.regtable.vc-hours tbody td { flex: 0 1 auto; text-align: right; }
.regtable.vc-hours td li { margin: 0; padding: 0; border: 0; font-size: 1rem; }
.regtable.vc-hours .ph-big { font: 800 1.1rem/1.2 var(--display); white-space: nowrap; }
.regtable.vc-hours .ph-small { margin-top: .1rem; font-size: .76rem; }
.regtable.vc-hours .ph-small a.src { display: inline; margin: 0; font-size: inherit; }
@media (max-width: 560px) {
  .regtable.vc-hours tbody { grid-template-columns: 1fr; gap: 0; }
  .regtable.vc-hours tbody > tr { padding: .6rem .2rem; }
  .regtable.vc-hours .ph-big { white-space: normal; }
  .tz-tab { min-height: 2.35rem; padding: .35rem .75rem; font-size: .9rem; }
}
.regtable.vc-cards tr.is-mine th, .regtable.vc-cards tr.is-mine td { background: none; padding-left: 0; }
.regtable.vc-cards td li .vc-ended { display: inline-block; margin: .1rem 0 0 .35rem; vertical-align: middle; }
.regtable.vc-cards:not(.vc-hours) td li .rd { display: inline; }
@media (max-width: 560px) {
  .tz-name[data-short] { font-size: 0; }
  .tz-name[data-short]::before { content: attr(data-short); font-size: .9rem; }
  .regtable.vc-cards:not(.vc-hours) tbody { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .regtable.vc-cards:not(.vc-hours) tbody > tr { padding: .7rem .45rem .75rem; }
  .regtable.vc-cards:not(.vc-hours) tbody > tr.vc-mine { grid-column: 1 / -1; }
  .regtable.vc-cards:not(.vc-hours) tbody th { font-size: 1.12rem; }
  .regtable.vc-cards:not(.vc-hours) td li { font-size: .8rem; line-height: 1.35; }
  .regtable.vc-cards:not(.vc-hours) .cd-sub { font-size: .72rem; }
}
/* v162b: cards flow in centered rows (a short last row sits in the middle); the polling hours timetable reads
   down one column, then the next, in alphabetical order */
.regtable.vc-cards tbody { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: .75rem; }
.regtable.vc-cards:not(.vc-hours) tbody > tr { flex: 0 1 17.5rem; min-width: 0; }
.regtable.vc-cards td li a.src { margin-left: .35rem; }
.regtable.vc-hours tbody { display: block; columns: 2 22rem; column-gap: 2.75rem; max-width: 58rem; margin: 0 auto; }
.regtable.vc-hours tbody > tr { break-inside: avoid; }
.regtable.vc-hours .ph-small a.src { margin-left: 0; }
@media (max-width: 560px) {
  .regtable.vc-cards:not(.vc-hours) tbody { gap: .5rem; }
  .regtable.vc-cards:not(.vc-hours) tbody > tr { flex: 0 1 calc(50% - .25rem); }
  .regtable.vc-cards:not(.vc-hours) tbody > tr.vc-mine { flex-basis: 100%; }
}
/* v162: a "See all 42" under a run of names sits in the middle; office lists never show bullets */
.fold-see { display: flex; width: max-content; max-width: 100%; margin: .4rem auto 1.1rem; }
main ul.of-list { list-style: none; padding-left: 0; }
main ul.vc-zoned > li.vc-mine { padding: .25rem .6rem; border-radius: 8px; background: color-mix(in srgb, var(--go) 12%, transparent); }
/* v166 (Shams, Oct 15: the "Your state" box on the missed-deadline page was ugly: label stuck top-left in a wide empty card,
   the menu in the middle). Now the same as the voting plan and registration pages: a card no wider than it needs, "Your state"
   and the menu side by side in the middle (stacked on phones); the answer for the chosen state reads under them. */
.ms-pick { grid-template-columns: auto minmax(0, 22rem); justify-content: center; align-items: center; column-gap: .8rem; row-gap: .5rem;
  width: 100%; max-width: 40rem; margin: 1.25rem auto 0; padding: 1.75rem 1.5rem; text-align: center; }
.ms-pick > label { font-weight: 700; font-size: 1.125rem; margin: 0; }
.ms-pick > select { max-width: none; width: 100%; margin: 0; }
.ms-pick #ms-out { grid-column: 1 / -1; justify-self: stretch; }
@media (max-width: 560px) { .ms-pick { grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 1.1rem 1rem; } }
/* v168 (Shams, Oct 15: the footer's Vote Clock logo, line and "Go to a state" sat high and off to one side next to the
   link columns): on computers the brand block sits in the middle of the footer row, every part centered on one axis. */
.foot-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.foot-brand .foot-jump { width: 100%; max-width: 16rem; margin-inline: auto; justify-items: stretch; text-align: center; }
@media (min-width: 861px) { .foot-brand { align-self: center; } }

/* v168: "Cities and towns in Harris County" on county and state pages: a titled box of city chips (citypages.py) */
.vc-cities { max-width: 62rem; margin: 1.4rem auto 1.6rem; padding: 1.1rem 1rem .9rem; border: 1px solid var(--rule); border-radius: 14px; background: var(--panel); text-align: center; }
main .vc-cities .vc-cities-h { margin: 0 0 .7rem; font: 800 1.45rem/1.15 var(--display); text-align: center; }
.vc-cities-list { margin: 0 auto; line-height: 1.5; text-align: center !important; }
.vc-cities-list a { display: inline-block; margin: .2rem .15rem; padding: .3rem .8rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 650; text-decoration: none; }
.vc-cities-list a:hover { border-color: var(--go); color: var(--go); }
/* Oct 30: names without a page of their own are plain text, not chips (they looked like buttons: rage clicks on
   "#towns › span.vc-town"); a comma follows each so multi-word names stay readable. */
.vc-cities-list .vc-town { display: inline; margin: 0; padding: 0; border: 0; color: var(--ink); font-weight: 500; white-space: nowrap; }
.vc-cities-list .vc-town:has(+ .vc-town)::after { content: ","; }
/* v315: the county's towns box (towns314.py): a lead line, then cities, towns or townships and other communities */
.vc-towns-lead { max-width: 46rem; margin: 0 auto .6rem; text-align: center !important; }
main .vc-cities .vc-towns-h { margin: .9rem 0 .35rem; font: 700 1.05rem/1.2 var(--display); text-align: center; }
.vc-cities .vc-zips, .vc-cities .vc-towns-src { max-width: 46rem; margin: .7rem auto 0; text-align: center !important; }
.vc-cities-list.fold-clamp { -webkit-line-clamp: 3; line-clamp: 3; }
/* Nov 4, 2026 review: a folded ZIP list ended in ",…" (read as ",.."); it is cut at two lines with no ellipsis instead,
   and "See all" below opens the rest */
.vc-cities .vc-zips.fold-clamp { display: block; -webkit-line-clamp: unset; line-clamp: none; max-height: 3.2em; max-height: 2lh; overflow: hidden; }
.vc-cities + .fold-see, .vc-cities .fold-see { margin-top: .5rem; }
/* v174 (Shams, Oct 16: "odd writings"): on phones a justified paragraph opens wide gaps between words ("Most   of   Houston");
   a phone line is already as wide as the screen, so long paragraphs read left-aligned there and stay flush both sides on
   wider screens. */
@media (max-width: 600px) { .vc-even { text-align: left; -webkit-hyphens: manual; hyphens: manual; } }
/* v203 (Shams, Oct 16: label stuck left of a two-line title): a tile label's icon flows with its words, so a label that
   wraps on a phone reads "[icon] ELECTION / OFFICE" centered, not an icon beside both lines; a little less letter
   spacing on phones keeps "Election office" on one line in a half-width tile. */
.gl-k[data-ico] { display: block; }
.gl-k[data-ico]::before { margin-right: .35rem; vertical-align: -.2em; }
@media (max-width: 420px) { .gl-k { letter-spacing: .04em; } }
/* v203: a glance row with one tile (county office pages: "Early voting / From Mon, Oct 19") is a centered card as wide as a
   tile, not a band across the page. */
.glance:has(> .gl-tile:only-child) { grid-template-columns: minmax(9.5rem, 17rem); justify-content: center; }
/* v205: a short "at a glance" note (one line, e.g. Texas early voting) was a wide box with its words centered next to
   a left accent bar; the note now fits its words, stays centered on the page, and reads left to right. */
.gl-note,main .gl-note{width:fit-content;text-align:left}

/* v208: widget page sizes table and website builders list */
.lead-fit { text-align: center; max-width: 52rem; margin-inline: auto; }
table.sizes { max-width: 46rem; margin: 0 auto 1rem; }
ul.platforms { list-style: none; padding: 0; max-width: 52rem; margin: 0 auto 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: .6rem; }
ul.platforms li { padding: .75rem .9rem; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel); text-align: center; }
ul.platforms.plat-one { display: block; max-width: 40rem; }
.plat-tabs .tz-tab { min-height: 2.2rem; }

/* v217 (Shams, Oct 16: the big map "makes no sense ... especially with that color"): the map starts small and grows
   when used, with a plain instruction above it. Computers: hovering the map enlarges it in place (it rises over the
   page as a card, nothing below moves). Touch screens: the first tap enlarges it, the next tap picks the state.
   States are a lighter gold, so the one under the pointer stands out in full marigold with a dark edge. */
.ask-stack .map-cta { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: 0 0 .5rem;
  font-weight: 700; font-size: 1rem; color: var(--ink); }
.ask-stack .map-cta svg { flex: none; color: var(--signal-ink); background: var(--signal); border-radius: 50%; padding: 3px; width: 26px; height: 26px; }
.ask-stack .map-cta .cta-touch { display: none; }
@media (hover: none) { .ask-stack .map-cta .cta-fine { display: none; } .ask-stack .map-cta .cta-touch { display: inline; } }
.usmap path.has { fill: color-mix(in srgb, var(--cov) 62%, var(--card)); }
.usmap path.has:hover, .ask-stack .usmap path:hover { fill: var(--signal); stroke: var(--ink); stroke-width: 1.6; }
.ask-stack .mapbox { transition: transform .28s ease, box-shadow .28s ease, max-width .28s ease; border-radius: 14px; }
@media (min-width: 900px) {
  .ask2.ask-stack { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-areas: ". map" "head map" "chips map" "pick map" ". map"; }
  .ask-stack .ask-map { max-width: 25rem; }
}
@media (min-width: 900px) and (hover: hover) {
  .ask-stack .mapbox { position: relative; transform-origin: 80% 12%; }
  .ask-stack .mapbox:hover { transform: scale(1.5); z-index: 6; background: var(--card); padding: .5rem .6rem .3rem;
    margin: -.5rem -.6rem -.3rem; box-shadow: 0 18px 40px rgba(19, 32, 27, .22); }
  #you-main:has(.mapbox:hover), .ask-map:has(.mapbox:hover) { position: relative; z-index: 30; }
}
@media (max-width: 899px) and (hover: none) {
  .ask-stack .ask-map { display: flex; flex-direction: column; align-items: center; }
  .ask-stack .mapbox { width: 100%; max-width: 17rem; cursor: zoom-in; }
  .ask-stack .mapbox.big { max-width: 36rem; cursor: auto; }
  .ask-stack .mapbox:not(.big) .usmap path { pointer-events: none; }
}

/* v218 (Shams, Oct 16: the footer looked "so unprofessional ... one section is so tall, the logo is on the left"):
   a standard website footer. Computers: four columns of even height, all starting on the same top line, text
   left-aligned in each: the logo and its line, Explore (its 13 links in two short columns), About, Contact. Below a
   rule, the two plain-language lines, then one row: copyright on the left, social icons in the middle, Appearance
   on the right. Tablets: logo row on top, the three link columns side by side. Phones: one centered column. */
@media (min-width: 861px) {
  footer .foot-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.9fr) minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 2rem clamp(1.5rem, 3.5vw, 3.5rem); align-items: start; text-align: left; }
  footer .foot-brand { align-self: start; align-items: flex-start; text-align: left; }
  footer .foot-brand .brand { justify-content: flex-start; }
  footer .foot-brand p { margin: .6rem 0 0; max-width: 28ch; }
  footer .foot-brand .foot-jump { margin: 1rem 0 0; align-items: stretch; text-align: left; }
  footer .foot-brand .foot-jump select { margin-inline: 0; }
  footer .foot-contact p, footer .foot-contact a { margin-inline: 0; }
  footer .foot-col:first-of-type ul { column-count: 2; column-gap: 1.75rem; }
  footer .foot-col li { break-inside: avoid; }
  footer .foot-col li a { padding: .22rem 0; }
  footer .foot-col h2 { margin-bottom: .55rem; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; }
  footer .contacts { gap: .8rem; }
  footer .foot-legal > .foot-meta { justify-content: space-between; text-align: left; }
  footer .foot-legal > .foot-meta > span:first-child { flex: 1 1 0; }
  footer .foot-legal > .foot-meta .appearance { flex: 1 1 0; justify-content: flex-end; }
}
@media (min-width: 600px) and (max-width: 860px) {
  footer .foot-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1.2fr); text-align: left; }
  footer .foot-brand { grid-column: 1 / -1; align-self: start; align-items: flex-start; text-align: left; }
  footer .foot-brand .brand { justify-content: flex-start; }
  footer .foot-brand p { margin-inline: 0; }
  footer .foot-contact { grid-column: auto; }
  footer .foot-contact .contacts { grid-template-columns: 1fr; }
  footer .foot-contact p, footer .foot-contact a { margin-inline: 0; }
  footer .foot-col:first-of-type ul { column-count: 2; column-gap: 1.25rem; }
  footer .foot-col li { break-inside: avoid; }
  footer .foot-col h2 { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; }
}
@media (max-width: 599px) {
  footer .foot-col:first-of-type { grid-column: 1 / -1; }
  footer .foot-contact { grid-column: auto; }
  footer .foot-contact .contacts { grid-template-columns: 1fr; }
  footer .foot-social { gap: 0; flex-wrap: nowrap; justify-content: center; }
  footer .foot-social .soc { width: 2.4rem; }
  footer .foot-col:first-of-type ul { column-count: 2; column-gap: 1rem; }
  footer .foot-col li { break-inside: avoid; }
  footer .foot-col h2 { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; }
}

/* v221: the header state menu on county, city, office and hub pages (doc.js), computers only (1080px and wider) */
.hop { display: none; }
@media (min-width: 1080px) {
  .site .wrap > .hop { display: flex; align-items: center; gap: .55rem; font-size: .9375rem; margin-left: 1.25rem; }
  .hop label { color: var(--muted); white-space: nowrap; }
  .hop select { width: 11.5rem; min-width: 0; }
  .hop-local { color: var(--muted); white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; margin-left: .35rem; }
  .hop-local:hover { color: var(--ink); }
}
@media (min-width: 1080px) and (max-width: 1199px) {
  .hop label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site .wrap > .hop { margin-left: .75rem; }
  .hop select { width: 9.5rem; }
}

/* v223: state pages: "Where to vote" and "What's on my ballot" on the first screen, right under the title */
.st-quick { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: .9rem auto 1rem; max-width: 34rem; }
.st-q { flex: 1 1 13rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem;
  padding: .6rem 1rem; border: 1.5px solid var(--ink); border-radius: 10px; background: var(--ink); color: var(--paper);
  font-weight: 700; font-size: 1.05rem; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.st-q:hover { filter: brightness(1.12); transform: translateY(-1px); box-shadow: var(--shadow); }
.st-q:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.st-q .ico { width: 1.15em; height: 1.15em; }
@media (max-width: 420px) { .st-quick { gap: .5rem; margin: .7rem auto .8rem; } .st-q { flex-basis: 100%; min-height: 2.75rem; } }
/* v228 (looks run): a short dates table ("Texas voting dates for Houston voters") sits centered under its centered
   heading instead of hugging the left edge; full-width tables are unchanged */
.doc article table.of-dates { margin-inline: auto; }
/* v230 looks: a city box with one or two chips fits its words instead of stretching across the page (Franklin County, Ohio:
   "Big city in Franklin County" + Columbus); a lone glance tile on phones is as wide as its column, so "Started · 17 days left"
   stays on one line (Hubbard County, Minnesota). */
.vc-cities { width: fit-content; min-width: min(100%, 20rem); }
@media (max-width:500px){ .glance>.gl-tile:only-child:last-child:nth-child(odd):not(.gl-wide){ width:auto; justify-self:stretch; grid-column:auto; } }

/* Desktop space: tools use the width; prose retains a reading measure. */
@media screen and (min-width: 1100px) {
  .band { padding-block: 2.5rem; }
  .band-head { max-width: 72rem; margin-bottom: 1.25rem; }
  .band-head h2 { max-width: 68rem; margin-inline: auto; }
  .band-head p { max-width: 74ch; margin-inline: auto; }
  #latest-feed, #latest .lt-list { max-width: 88rem; }
  #latest .lt-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; }
  #latest .lt { border-top: 1px solid var(--rule); padding-block: .85rem; }
  #latest .lt:only-child { grid-column: 1 / -1; max-width: 76ch; width: 100%; margin-inline: auto; }
  .wi-list { max-width: 88rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
  .wi-list li { border-top: 1px solid var(--rule); border-bottom: 0; }
  .wi-promise { max-width: 90ch; }
  #deadlines { max-width: 88rem; }
  .dl { padding-block: .9rem; }
  .wv-grid { max-width: 88rem; }
  .wv-item { flex-basis: calc((100% - 1.8rem) / 4); }
  .wv-note { max-width: 90ch; }
  .doc article.wide > h1, .doc article.tool-page[data-asof] > h1 { max-width: 80rem; }
  .doc article.wide > p, .doc article.wide > .updated { max-width: 92ch; }
  .tool-page > .cd-lead, .tool-page > .cd-answer { max-width: 78ch; }
  .doc .pl { max-width: 84rem; }
  .pl-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
  .pl-steps > li { min-width: 0; }
  .reg-pick { display: grid; grid-template-columns: minmax(16rem, 1fr) minmax(0, 2fr); align-items: center; gap: 2rem; }
  .reg-pick .pl-pick { margin: 0; }
  .reg-pick .reg-result { border-top: 0; margin: 0; padding: 0 0 0 2rem; border-left: 1px solid var(--rule); }
  main .gl-note, .doc .gl-src, .gl-src, .glance, .gl-act { max-width: 84rem; }
  .tool-page > .cols2, .doc article.wide > .cols2, .embed-sec { margin-top: 1.75rem; padding-top: 1.25rem; }
}
/* In-flow invitation: no flashing, storage or overlay. */
.embed-invite { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1rem; padding: .65rem 1rem; border-bottom: 1px solid var(--rule); background: var(--panel); }
.embed-invite p { margin: 0; font-size: .875rem; color: var(--muted); }
.embed-invite .btn { background: var(--go); border-color: var(--go); color: var(--go-ink); min-height: 2.75rem; font-size: .875rem; }
.embed-invite .invite-dismiss { display: inline-grid; place-items: center; flex: none; min-width: 2.75rem; min-height: 2.75rem; padding: .25rem; border: 1px solid var(--rule); border-radius: 50%; color: var(--ink); background: transparent; cursor: pointer; font-size: 1.25rem; }
@media screen and (max-width: 600px) {
  .embed-invite { justify-content: space-between; gap: .35rem .5rem; }
  .embed-invite p { order: 3; width: 100%; font-size: .8125rem; text-align: center; }
}
@media print { .embed-invite { display: none !important; } }
/* The shared orphan-row helper must not carry desktop translations into stacked lists. */
.pl-steps > li, #latest .lt-list > li, .wi-list > li { translate: none !important; }
@media screen and (max-width: 360px) {
  .site .appear-btn span, .site .appear-btn .appear-caret { display: none; }
  footer .foot-social { flex-wrap: wrap; max-width: 100%; }
  footer .foot-meta { min-width: 0; }
}

/* Oct 19 2026: The Latest on the home page is centered again (badge row, headline, summary and states line), in both
   the one-column phone view and the two-column desktop grid. Later rules above had set it back to left. */
/* Nov 4, 2026: updates read like a newspaper column: left-aligned, compact (was centered, v29) */

/* Oct 19 2026: on wide screens the Embed button sits under Share in the right-hand column, the same width as Share. */
@media (min-width: 1300px) {
  .hero-foot [data-share-site], .hero-foot [data-embed-link] { justify-self: start; }
  .hero-foot [data-embed-link] { grid-column: 3; grid-row: 2; }
}

/* Oct 19 2026: center the embed button and let the copy below span the banner.
   Reserve close-button space only on the button row, not beside every line of text. */
.embed-invite { position: relative; flex-direction: column; flex-wrap: nowrap; gap: .25rem; padding: .55rem max(.75rem, env(safe-area-inset-right)) .55rem max(.75rem, env(safe-area-inset-left)); text-align: center; }
.embed-invite .invite-main { display: flex; justify-content: center; box-sizing: border-box; width: 100%; padding-inline: 2.75rem; }
.embed-invite p { width: 100%; max-width: none; text-align: center; line-height: 1.35; }
.embed-invite .invite-when { color: var(--ink); font-size: .9375rem; }
.embed-invite .invite-when a { color: inherit; font-weight: 700; }
.embed-invite .invite-trust { font-size: .8125rem; }
.embed-invite .invite-dismiss { position: absolute; top: .55rem; right: max(.75rem, env(safe-area-inset-right)); }
@media (max-width: 560px) {
  .embed-invite { justify-content: center; }
  .embed-invite p, .embed-invite .invite-trust { order: initial; font-size: .8125rem; }
  .embed-invite .invite-when { font-size: .875rem; }
}

/* Center the announcement and its right-hand controls as one compact row.
   Only opening All adds the separate list below it. */
.soon-in { flex-wrap: nowrap; justify-content: center; column-gap: 1rem; }
.soon-in:has(.soon-list:not([hidden])) { flex-wrap: wrap; }
.soon-stage { flex: 0 1 auto; width: max-content; min-width: 0; max-width: 100%; grid-template-columns: minmax(0, 1fr); }
.soon-card { justify-self: start; }
.soon-ctl { flex: 0 0 auto; justify-content: center; }
.soon-ctl:not(:has(> :not([hidden]))) { display: none; }
.soon-list li { justify-content: center; }
/* On desktop, navigation and selectors form one centered group. */
@media (min-width: 1100px) {
  .site .wrap { justify-content: center; }
  .site .wrap > .mini, .site .wrap > .simple-nav, .site .wrap > .search-btn, .site .wrap > .appear { margin-left: 0; }
}

/* Keep the centered ticker group comfortably spaced on phones. */
@media (max-width: 640px) { .soon-in { column-gap: .5rem; } }

/* Oct 20 2026: shorter pages on phones. Deadline rows let the explanation and source use the full card width
   instead of the narrow column beside the date badge. The embed box copy spans its box instead of a 36rem strip. */
@media (max-width: 600px) {
  .dl { grid-template-columns: 3.75rem minmax(0, 1fr); gap: .2rem .85rem; padding-block: .85rem; }
  .dl > div { display: contents; }
  .dl-date { grid-column: 1; grid-row: 1 / span 2; min-height: 3.9rem; }
  .dl-date .d { font-size: 2rem; }
  .dl h3 { grid-column: 2; grid-row: 1; align-self: end; font-size: 1.0625rem; }
  .dl .when { grid-column: 2; grid-row: 2; align-self: start; margin: 0; }
  .dl .detail, .dl .src, .dl .dl-actions { grid-column: 1 / -1; max-width: none; }
  .dl .detail { margin-top: .3rem; }
  .dl .src { margin: .2rem 0 0; }
  .vc-embed { padding: 1.1rem .9rem 1.2rem; margin-top: 1.75rem; }
}
.vc-embed { max-width: 52rem; }
.vc-embed p { max-width: none; }

/* Oct 20 2026: officials list on phones: the term and next-election facts run the full row width under the name
   instead of a narrow column beside the ring, so each office takes about a quarter less height. */
@media (max-width: 600px) {
  .office { grid-template-columns: 3.5rem minmax(0, 1fr); grid-template-areas: "ring who" "f1 f1" "f2 f2"; gap: .3rem 1rem; padding: .8rem 0; }
  .office .fact { width: auto; max-width: none; }
}

/* Oct 20 2026: on phones the three stats (next deadline, ballot, early voting) are a compact two-column row each:
   label and number on the left, explanation on the right. About 130 px shorter. The reserved height of the box
   (it holds the space while the numbers load) is lowered to match, so no empty band shows under the road graphic. */
@media (max-width: 600px) {
  .stat { display: grid; grid-template-columns: 6.25rem minmax(0, 1fr); column-gap: .9rem; align-items: center; padding-top: .7rem; }
  .stat + .stat { margin-top: .7rem; }
  .stat dt { grid-column: 1; grid-row: 1; }
  .stat dd { display: contents; }
  .stat .big { grid-column: 1; grid-row: 2; margin: .1rem 0 0; }
  .stat p { grid-column: 2; grid-row: 1 / span 2; text-align: left; }
  /* Oct 26 2026: a stat with two paragraphs ("Check at vote.gov" button + "Or contact your election office")
     put both in the same cell and the text sat on top of the button. First paragraph row 1, second row 2. */
  .stat p:has(+ p) { grid-row: 1; }
  .stat p + p { grid-row: 2; }
  html[data-state] #you-main { min-height: 27rem; }
}
@media (max-width: 560px) { html[data-state] #you-main { min-height: 29rem; } }
@media (max-width: 480px) { html[data-state] #you-main { min-height: 31rem; } }
@media (max-width: 430px) { html[data-state] #you-main { min-height: 32rem; } }
@media (max-width: 375px) { html[data-state] #you-main { min-height: 34.5rem; } }
@media (max-width: 340px) { html[data-state] #you-main { min-height: 41rem; } }

/* v20261022: a passed line of a site's hours (doc.js marks it "Ended") */
.ev-hours .ev-past { color: var(--muted); }
/* Oct 23: .doc ul's 1.25rem left padding pushed the at-a-glance tiles 20px right on every place page; keep the tile grid centered */
.doc ul.glance { padding: 0; }

/* Oct 26 2026: ballot measure "Show what yes and no mean" button (fold.js 1c), centered under the measure */
.cl-measure .cl-m-more { display: flex; margin: .4rem auto 1rem; }

/* v301: the Find button while a lookup runs (not faded like a disabled button: it is working, with a small spinner) */
.btn.is-busy, .btn.is-busy[disabled] { opacity: 1; cursor: progress; gap: .45rem; }
.btn.is-busy::before { content: ""; width: .85rem; height: .85rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; flex: none; }
@media (prefers-reduced-motion: reduce) { .btn.is-busy::before { animation: none; } }
/* v301: "at a glance" tiles that jump to their details, and the county map that opens large */
.gl-tile.gl-go { cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.gl-tile.gl-go:hover { transform: translateY(-2px); }
.gl-tile.gl-go:focus-visible, .loc-map img.map-tap:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.loc-map img.map-tap { cursor: zoom-in; }
dialog.map-big { border: 1px solid var(--rule); border-radius: 14px; padding: 1rem; background: var(--panel); color: var(--ink); max-width: min(34rem, calc(100vw - 2rem)); text-align: center; }
dialog.map-big::backdrop { background: rgba(0, 0, 0, .55); }
dialog.map-big img { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: contain; margin: 0 auto; }
dialog.map-big p { margin: .6rem 0 0; font-size: .875rem; color: var(--muted); }
dialog.map-big .map-big-act { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: .8rem; }
/* v309: a "Show all ... " button whose label wraps to two lines keeps its arrow next to the first word,
   with both lines centered (the arrow sat alone at the left edge on phones, e.g. NC candidates "Show all 14 districts"). */
.btn.lf-more { display: block; text-align: center; line-height: 1.35; }
.btn.lf-more[data-ico]::before { margin-right: .4rem; }

/* v311 (final week): on the home page with no state chosen, the address box leads the card and the map follows. */
.card.you.ask-first { display: flex; flex-direction: column; }
.card.you.ask-first > #finder { order: -1; margin: 0 0 1.1rem; padding: 0 0 1.1rem; border-top: 0; border-bottom: 1px solid var(--rule); text-align: center; position: relative; z-index: 1; }
.card.you.ask-first #addr-label { justify-content: center; font: 700 clamp(1.35rem, 3.2vw, 1.85rem)/1.2 var(--display); margin: .1rem 0 .75rem; text-align: center; }
.card.you.ask-first #addr-label .ico { display: none; }
.card.you.ask-first .finder-row { margin: 0 auto; }
.card.you.ask-first .finder input { min-height: 3.1rem; font-size: 1.05rem; }
.card.you.ask-first .finder-row .btn { min-height: 3.1rem; }
.card.you.ask-first #ask-title { font-size: clamp(1.1rem, 2.4vw, 1.4rem); }
/* v311: the clock's notes and its three buttons sat lopsided on desktop (calendar alone on the left, Share and Embed
   stacked on the right). Notes centered, then the three buttons in one centered row, on every width. */
@media (min-width: 600px) {
  .hero-foot { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
  .hero-foot > .hero-notes { width: 100%; max-width: 52rem; }
  .hero-foot > .hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
}
.card.you.ask-first #you-main { min-height: 0; }
/* v311: the ready-made clock on town and county pages */
.embed-local { margin: 2rem auto 1.5rem; padding: 1.25rem; max-width: 44rem; border: 1px solid var(--rule); border-radius: 14px; background: var(--card); text-align: center; }
.embed-local h2 { margin-top: 0; }
.embed-local .code { text-align: left; max-height: 9rem; overflow: auto; }
.embed-local .gl-act { margin: .75rem auto 0; }
/* v311 (Shams, Oct 27: the big titles push the page down; size has no effect on search): page titles smaller and
   lighter, same words. Phone: about 2 lines instead of 4. */
.doc h1 { font: 700 clamp(1.45rem, 5.4vw, 2.3rem)/1.1 var(--display); letter-spacing: 0; margin-bottom: .6rem; }
.doc h2 { font-size: clamp(1.25rem, 4.2vw, 1.75rem); }
/* the free-clock bar above every page: smaller on phones so the page itself shows first */
@media (max-width: 700px) {
  .embed-invite { padding-top: .4rem; padding-bottom: .4rem; }
  .embed-invite .invite-trust { display: none; }
  .embed-invite .btn { min-height: 2.4rem; padding-block: .2rem; font-size: .8125rem; }
  .embed-invite .invite-when { font-size: .75rem; line-height: 1.3; }
  .embed-invite .invite-dismiss { min-width: 2.25rem; min-height: 2.25rem; }
}
/* v311 (Shams: "not just page headlines, anywhere you see headlines like this"): every section heading on every
   page is smaller and lighter. Numbers (clock, dates, counts) keep their size; they are the answer, not a heading. */
.hero h1 { font: 700 clamp(1.5rem, 4.6vw, 2.3rem)/1.1 var(--display); margin-bottom: .6rem; }
.band-head h2, .you-top h2, .ask2 h2 { font: 700 clamp(1.3rem, 4.2vw, 1.9rem)/1.12 var(--display); }
main h2 { font-weight: 700; font-size: clamp(1.25rem, 4.2vw, 1.85rem); line-height: 1.15; }
main h3 { font-size: clamp(1.05rem, 3.4vw, 1.3rem); line-height: 1.2; }
.band { padding: clamp(1.75rem, 4.5vw, 3.25rem) 0; }

/* v313: the term ring says what its percent is ("of term served"), so it can't be read as a poll number */
.office .term-ring { grid-area: ring; display: flex; flex-direction: column; align-items: center; gap: .1rem; }
.office .term-ring small { font-size: .625rem; line-height: 1.1; color: var(--muted); text-align: center; max-width: 3.6rem; }


/* Homepage state map: full-sized, in normal flow, no hover overlay or two-tap zoom. */
.ask2.ask-stack { display: flex; flex-direction: column; align-items: center; width: 100%; text-align: center; }
.ask-stack .ask-head { display: block; width: 100%; }
.ask-stack .ask-head p { margin-inline: auto; }
.ask-stack .ask-map { display: block; width: 100%; max-width: 55rem; margin: 1rem auto; }
.ask-stack .mapbox, .ask-stack .mapbox.big { display: block; position: static; width: 100%; max-width: none; transform: none; transition: none; padding: 0; margin: 0; box-shadow: none; cursor: default; }
.ask-stack .mapbox:hover { transform: none; margin: 0; padding: 0; box-shadow: none; background: transparent; }
.ask-stack .mapbox:not(.big) .usmap path { pointer-events: auto; }
.ask-stack .usmap { display: block; width: 100%; height: auto; overflow: visible; }
.ask-stack .usmap path { cursor: pointer; }
.ask-stack .map-cta { margin: 0 0 .45rem; font-size: .95rem; }
.ask-stack .map-northeast { display: flex; justify-content: center; flex-wrap: wrap; gap: .35rem; align-items: center; margin: .5rem auto .2rem; font-size: .8125rem; color: var(--muted); }
.ask-stack .map-northeast button { cursor: pointer; background: var(--panel); border: 1px solid var(--rule); border-radius: 7px; font-size: .8125rem; min-width: 2.45rem; min-height: 2.45rem; padding: .3rem .45rem; font-weight: 700; color: var(--ink); }
.ask-stack .map-northeast button:hover, .ask-stack .map-northeast button:focus-visible { background: var(--signal); color: var(--signal-ink); outline: 2px solid var(--ink); outline-offset: 1px; }
@media (max-width: 899px) {
  .ask2.ask-stack { display: flex; align-items: stretch; }
  .ask-stack .ask-map { max-width: 100%; }
  .ask-stack .ask-head { display: contents; }
  .ask-stack .mapbox, .ask-stack .mapbox.big { max-width: 100%; }
}

/* v310 Share & Support card (assets/support.js): after the answer on every page; centered; no overlay. */
.vc-support { box-sizing: border-box; width: calc(100% - 2rem); max-width: 44rem; margin: 2rem auto; padding: 1.15rem 1.25rem 1.2rem;
  background: var(--panel); color: var(--ink); border: 1px solid var(--rule); border-top: 4px solid var(--signal); border-radius: 12px;
  box-shadow: var(--shadow); text-align: center; }
main.doc .vc-support { width: 100%; }
.vc-support h2 { margin: 0 0 .35rem; font: 800 clamp(1.3rem, 4.4vw, 1.6rem)/1.1 var(--display); letter-spacing: .01em; }
.vc-support p { margin: .35rem auto .8rem; max-width: 36rem; }
.vc-support-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.vc-support-row .btn { min-height: 44px; min-width: 8.5rem; justify-content: center; }
.vc-support-more { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .35rem .9rem; font-size: .95rem; color: var(--muted); margin: .7rem auto .2rem !important; }
.vc-support-more span { flex-basis: 100%; }
.vc-support-more a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; padding: .35rem .1rem; }
@media (min-width: 600px) { .vc-support-more span { flex-basis: auto; } }
.vc-support-status { min-height: 1.2em; margin: .3rem auto 0 !important; font-size: .95rem; overflow-wrap: anywhere; }
.vc-support-status:empty { min-height: 0; margin: 0 !important; }
.vc-support-tip { margin-top: 1rem; padding-top: .9rem; border-top: 1px dashed var(--rule); }
.vc-support-tip-h { font-weight: 700; margin-bottom: .6rem !important; }
.vc-support .btn.vc-tip { background: transparent; border: 2px solid var(--signal); color: var(--ink); font-weight: 800; min-width: 5.5rem; box-shadow: none; }
.vc-support .btn.vc-tip:hover { background: var(--wash); }
.vc-support-fine { font-size: .82rem; color: var(--muted); margin: .7rem auto 0 !important; line-height: 1.45; }
/* v310 Share button in the top bar (assets/support.js), styled like Search; Search keeps its place right after it. */
.site .wrap > .hshare + .search-btn { margin-left: 0; }
.hshare svg { color: var(--ink); }
.hshare.is-sharing { background: color-mix(in srgb, var(--go) 18%, transparent); }
.vc-support-share.is-sharing { opacity: .72; }
@media (max-width: 600px) { .site .wrap > .hshare { display: none; } }
/* v310: on the narrowest phones (320px) "Find your Election Day polling place" was wider than the screen; long button
   labels may now wrap instead of pushing the page sideways. */
@media (max-width: 480px) { .gl-act .btn { white-space: normal; max-width: 100%; text-wrap: balance; flex: 1 1 100%; } }   /* one button per row on a phone, as before the wrap fix (Oct 28) */   /* v315: was 360px; on a 390px phone "Find your Election Day polling place" ran 12px past the column */

/* v311 (Oct 28, 2026, Shams: "less lines and shorter pages"): flags beside the title instead of above it; on phones
   the hero notes flow as one balanced paragraph, the plain "Your road to Election Day" caption is dropped (the road
   keeps its spoken label) and the local map leaves the top of the page. */
.title-row { display: flex; align-items: center; justify-content: center; gap: .8rem; max-width: 100%; margin: 0 auto .5rem; }
.title-row > .state-flag { flex: none; margin: 0; height: 52px; }
.title-row > h1 { margin: 0; min-width: 0; text-align: center; text-wrap: balance; }
/* v312: an invisible twin of the flag on the right keeps the title itself centered on the page (Shams: the pair looked
   pushed to the right). */
.title-row::after { content: ""; flex: none; width: var(--fw, 84px); }
@media (max-width: 700px) {
  .title-row { gap: .6rem; }
  .title-row > .state-flag { height: 34px; }
  .title-row::after { width: var(--fw, 54px); }
  .hero-notes { text-align: center; text-wrap: balance; font-size: .8125rem; line-height: 1.4; }
  .hero-notes .hero-trust, .hero-notes .hero-meta { display: inline; margin: 0; font-size: .8125rem; line-height: 1.4; }
  .hero-notes .hero-trust span { white-space: normal; }
  .hero-notes .hero-trust::after { content: " "; }
  .hero-notes .hero-meta .src-line { display: inline; margin: 0; font-size: inherit; }
  .road-cap-plain { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .loc-map { display: none; }
}
/* The local map is left out at every width (Shams: move it aside or remove it; no side space is reliable on every
   screen). It stays in the HTML for image search. */
.loc-map { display: none; }
/* v311: on local pages the top bar is full between phone and wide desktop; Share shows as an icon there, like Search on phones. */
@media (min-width: 601px) and (max-width: 1320px) {
  .site .wrap > .simple-nav ~ .hshare { width: 2.75rem; height: 2.75rem; padding: 0; justify-content: center; }
  .site .wrap > .simple-nav ~ .hshare span { display: none; }
}
/* v312 (Shams, Oct 28: keep light/dark in the top bar; the state picker was what took the room): on phones the top bar
   holds menu, clock, a narrower state picker, Share, Search and Appearance, each a full 44px tap. Long state names end
   in "..." inside the picker. Local pages show the clock without the words "Vote Clock", like the state pages. */
@media (max-width: 600px) {
  .site .wrap { gap: .4rem; }
  .site .wrap > .hshare { display: inline-flex; }
  .site .wrap > .hshare, .site .wrap > .search-btn, .site .wrap .appear-btn,
  .site .wrap:has(> .mini) .search-btn, .site .wrap:has(> .mini) .appear-btn { width: 2.75rem; height: 2.75rem; min-height: 2.75rem; padding: 0; justify-content: center; flex: none; }
  .site .wrap .appear-btn span, .site .wrap .appear-btn .appear-caret { display: none; }
  .site .wrap > .mini { flex: 1 1 auto; min-width: 0; margin-left: 0; }
  .site .wrap > .mini select { width: 100%; min-width: 0; max-width: 11rem; font-size: .9375rem; text-overflow: ellipsis; }
  .site .wrap:has(> .simple-nav) > .brand { font-size: 0; gap: 0; }
  .site .wrap:has(> .simple-nav) > .brand svg { width: 1.6rem; height: 1.6rem; }
  .site .wrap > .simple-nav { margin-left: auto; }
}
@media (max-width: 345px) { .site .wrap:has(> .mini) > .brand { display: none; } }
.foot-share { margin-top: .75rem; }
.band .wrap > .vc-support { width: 100%; }
.thanks { text-align: center; padding: 1.5rem 0 1rem; }
.thanks p { margin-inline: auto; max-width: 38rem; }
/* v311 (Shams, Oct 28, iPhone): the address suggestions showed under the next block ("Where to vote ... official tools")
   and swiping moved the whole page instead of the list. The finder now sits above what follows it, and the list scrolls
   by itself (its height follows the space left above the keyboard, set by support.js). */
.finder { position: relative; z-index: 15; }   /* under the sticky top bar (20) */
.addr-list { z-index: 60; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
/* v312: the state card's shape + name sat left of center; it is centered like the page title, the shape to its left. */
.you-top { justify-content: center; }
.you-id { justify-content: center; }
.you-id::after { content: ""; flex: none; width: 3.2rem; }
.support-page .btn.vc-tip { background: transparent; border: 2px solid var(--signal); color: var(--ink); font-weight: 800; min-width: 5.5rem; justify-content: center; }
.support-page h2 { margin-top: 2rem; }
/* v313: the note after a share (bottom of the screen, closes itself), Support in the wide top bar, the Nov 4-10 strip. */
.vc-thanks { position: fixed; z-index: 40; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: min(26rem, calc(100% - 2rem)); box-sizing: border-box; padding: .8rem 2.6rem .8rem 1rem; background: var(--panel); color: var(--ink); border: 1px solid var(--rule); border-top: 3px solid var(--signal); border-radius: 12px; box-shadow: var(--shadow-hi); text-align: center; font-size: .95rem; }
.vc-thanks p { margin: 0; }
.vc-thanks-row { display: flex; justify-content: center; gap: .5rem; margin-top: .55rem !important; }
.vc-thanks-row a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 .9rem; border: 2px solid var(--signal); border-radius: 10px; color: var(--ink); font-weight: 800; text-decoration: none; }
.vc-thanks-x, .vc-after button { position: absolute; top: .3rem; right: .3rem; width: 2.5rem; height: 2.5rem; border: 0; background: transparent; color: var(--muted); font-size: 1rem; cursor: pointer; }
.site nav .nav-support { display: none; }
@media (min-width: 1280px) { .site nav .nav-support { display: inline; color: var(--ink); font-weight: 700; } }
.vc-after { background: var(--wash); border-bottom: 1px solid var(--rule); }
.vc-after .wrap { position: relative; padding: .55rem 2.8rem .55rem 1rem; text-align: center; }
.vc-after p { margin: 0; font-size: .95rem; }
.vc-after a { color: var(--ink); font-weight: 700; }
.vc-after button { top: 50%; transform: translateY(-50%); }
@media (min-width: 1280px) and (max-width: 1439px) { .site nav .nav-support { display: none; } }   /* the top bar is full below 1440px on every page */
/* The note after a share sits above the Home/Top buttons; they hide while it shows. */
body:has(.vc-thanks) #dock-top, body:has(.vc-thanks) #dock-home { visibility: hidden; }
@media (max-width: 600px) { .vc-after p { font-size: .875rem; line-height: 1.35; } .vc-after .wrap { padding-block: .45rem; } }

/* v315 (Oct 28 audit): on a phone the 4-column "every date" table scrolled sideways (564px in a 390px screen). Each
   date becomes a short stacked card: the deadline, its date and time, its source, the day it was checked. */
@media (max-width: 600px) {
  .qa-scroll .regtable, .qa-scroll .regtable tbody, .qa-scroll .regtable tr, .qa-scroll .regtable th, .qa-scroll .regtable td { display: block; width: auto; }
  .qa-scroll .regtable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .qa-scroll .regtable caption { display: block; text-align: center; margin-bottom: .4rem; }
  .qa-scroll .regtable tr { padding: .65rem 0; border-bottom: 1px solid var(--rule); text-align: center; }
  .qa-scroll .regtable th, .qa-scroll .regtable td { border: 0; padding: .1rem 0; text-align: center; }
  .qa-scroll .regtable tbody th { width: auto; }
  .qa-scroll .regtable td:last-child { color: var(--muted); font-size: .8125rem; }
  .qa-scroll .regtable td:last-child::before { content: "Checked "; }
}
.az-emergency { max-width: 46rem; margin: .4rem auto .8rem; text-align: center !important; }

/* Oct 28: the one-line tip link under the answer (support.js). One line on any phone: the size shrinks with the screen. */
.vc-tipline { margin: .25rem auto .9rem; text-align: center !important; font-size: min(.9375rem, 4vw); line-height: 1.3; white-space: nowrap; }
.vc-tipline a { color: var(--muted); text-decoration: none; }
.vc-tipline a strong { color: var(--ink); text-decoration: underline; text-underline-offset: .18em; }
.vc-tipline a:hover strong, .vc-tipline a:focus-visible strong { color: var(--go); }

/* Nov 4, 2026: after the 2026 election the 2028 countdown is a minor element, not the headline. */
#clock.clock-minor { transform: scale(.55); transform-origin: top center; margin-bottom: -2.2em; opacity: .85; }
@media (max-width: 600px) { #clock.clock-minor { transform: scale(.62); margin-bottom: -1.6em; } }
/* Nov 4, 2026: AP race calls (results page, home and state results boxes) */
ul.calls { list-style: none; padding: 0; margin: .5rem auto 1rem; max-width: 44rem; text-align: left; }
ul.calls li { padding: .6rem 0; border-bottom: 1px solid var(--rule); line-height: 1.45; }
ul.calls li:last-child { border-bottom: 0; }
ul.calls .fine { display: block; margin-top: .15rem; }
details.calls-bar { max-width: 44rem; margin: .6rem auto; border: 1px solid var(--rule); border-radius: 12px; background: var(--card, transparent); }
details.calls-bar > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; cursor: pointer; list-style: none; }
details.calls-bar > summary::-webkit-details-marker { display: none; }
details.calls-bar > summary h2 { margin: 0; font-size: 1.25rem; }
details.calls-bar > summary span { white-space: nowrap; }
details.calls-bar > summary::after { content: "▾"; transition: transform .15s; }
details.calls-bar[open] > summary::after { transform: rotate(180deg); }
details.calls-bar > summary:hover, details.calls-bar > summary:focus-visible { background: color-mix(in srgb, currentColor 6%, transparent); border-radius: 12px; }
details.calls-bar > ul.calls, details.calls-bar > ul.cr-list { padding: 0 1rem 1rem; }
.calls-more { display: block; margin: .25rem auto 1rem; }

/* Nov 4, 2026: the panel keeps its loading height only while empty; once filled it is as tall as what it shows. */
#you-main:not(:empty) { min-height: 0 !important; }

/* Nov 4, 2026: race calls as short rows, newspaper style; home page shows one closed bar per office */
.cr-box { max-width: 44rem; margin: 0 auto; text-align: left; }
/* Nov 4, 2026 (Shams): results as cards, two to a line, space between each; not a textbook list */
.cr-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.cr { display: flex; flex-direction: column; gap: .4rem; padding: .85rem .9rem; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); line-height: 1.3; text-align: left; min-width: 0; }
.cr-who, .cr-who a { font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.cr-who a:hover { text-decoration: underline; }
.cr-win { font-size: 1.02rem; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.cr-p { display: inline-block; min-width: 1.35rem; text-align: center; font-size: .75rem; font-weight: 700; border: 1px solid var(--rule); border-radius: 4px; padding: 0 .25rem; margin-left: .2rem; color: var(--muted); vertical-align: .08rem; }
.cr-src { font-size: .78rem; color: var(--muted); margin-top: auto; padding-top: .35rem; border-top: 1px dashed var(--rule); }
.cr-src a { color: var(--muted); }
@media (max-width: 340px) { .cr-list { grid-template-columns: 1fr; } }
.calls-more { display: block; margin: .9rem auto .2rem; }
ul.cr-statetiles { list-style: none; margin: 0; padding: 0 .75rem .75rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
ul.cr-statetiles a { display: flex; flex-direction: column; gap: .15rem; padding: .65rem .8rem; border: 1px solid var(--rule); border-radius: 10px; text-decoration: none; color: var(--ink); background: var(--paper); }
ul.cr-statetiles a:hover { border-color: currentColor; }
ul.cr-statetiles span { font-size: .8rem; color: var(--muted); }
.cr-states-bars { padding: 0 .75rem .5rem; }
.cr-states-bars .cr-bar > .cr-list { padding: 0 .75rem .5rem; }
.cr-bar { border: 1px solid var(--rule); border-radius: 12px; margin: 0 0 .6rem; background: var(--paper); }
.cr-bar > summary { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .8rem 1rem; cursor: pointer; list-style: none; font-weight: 700; }
.cr-bar > summary::-webkit-details-marker { display: none; }
.cr-bar > summary::after { content: "▾"; color: var(--muted); transition: transform .15s; }
.cr-bar[open] > summary::after { transform: rotate(180deg); }
.cr-bar > summary:hover { background: color-mix(in srgb, currentColor 5%, transparent); border-radius: 12px; }
.cr-n { margin-left: auto; font-weight: 400; font-size: .875rem; color: var(--muted); white-space: nowrap; }
.cr-bar > .cr-list { padding: 0 .75rem .75rem; }
.cr-all { text-align: center; margin: .9rem 0 .4rem; }
.cr-foot { font-size: .8125rem; color: var(--muted); text-align: center; margin: .4rem 0 0; }
#latest .lt-list, #latest .lt { text-align: left; }
#latest .lt-meta { justify-content: flex-start; }
.lt { padding: .85rem 0; }
.lt h3 { font-size: 1.0625rem; line-height: 1.3; margin-top: .1rem; }
.lt p { font-size: .9375rem; line-height: 1.45; }
.lt > p:not(.lt-meta):not(.src):not(.lt-means):not(.lt-states) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lt .lt-means { font-weight: 600; font-size: .9375rem; }
.lt .lt-kind, .lt .lt-ai { font-size: .75rem; padding: 0 .5rem; }
/* v-wide (Nov 4, 2026, Shams: "extend this and any other text like this all the way right to left, least number of
   lines ... sleek, high-end"). Body text never uses balanced wrapping (it squeezed paragraphs into a narrow column and
   added lines) and never stops at a narrow character cap: centered text fills the full column, so each block takes the
   fewest lines. Titles keep balanced wrapping. */
.hero-trust, .hero-notes, .hero-meta, .vc-motto, .vc-tipafter, .finder-note, .gl-act .btn { text-wrap: pretty !important; }
.ask p, .ask2 p, .suggest, .finder-note, .finder-result, .foot-brand p, .foot-legal p, #media-clock .fine,
.ask-stack .ask-head p, .band-head p, .wv-note, .wi-promise, .hero-meta, .hero-notes, .tool-page > .cd-lead,
.tool-page > .cd-answer, #latest .lt:only-child { max-width: none !important; }
@media (max-width: 720px) {
  main p, main li, main dd, footer p { max-width: none !important; }
  .hero-notes { line-height: 1.35; }
  .hero-notes .hero-trust { font-size: .8125rem; line-height: 1.35; }
  .hero-trust span { white-space: normal; }
  .hero-notes .hero-meta .src-line { display: inline; }
  .finder-note { margin-top: .4rem; }
}
@media (max-width: 480px) { .vc-long { display: none; } }
@media (min-width: 481px) { .vc-short { display: none; } }
/* After-election thank-you strip: the text runs the full bar, the close button sits beside it (no lopsided padding). */
.vc-after .wrap { display: flex; align-items: center; gap: .4rem; padding: .4rem .15rem .4rem .9rem; text-align: center; }
.vc-after p { flex: 1 1 auto; min-width: 0; margin: 0; font-size: .875rem; line-height: 1.35; text-wrap: pretty; max-width: none; }
.vc-after a { white-space: nowrap; text-decoration-thickness: 2px; text-underline-offset: 2px; }
.vc-after button { position: static; transform: none; flex: none; width: 2.25rem; height: 2.25rem; }
@media (max-width: 720px) {
  .hero-notes .hero-trust { margin-bottom: .25rem; }
  .hero-trust span { white-space: nowrap; }
  .hero-actions { gap: .4rem; }
  .hero-actions .btn { padding-inline: .8rem !important; }
}
/* v-wide: "None yet" in a deadline tile reads as a word, not a giant number broken over two lines */
.big.muted { white-space: nowrap; font-size: clamp(1.6rem, 3vw, 2.2rem); }
/* v-wide: official-tool tiles on a phone. Tighter padding and line height so a tile's text uses its full width, and a
   lone last tile runs the whole row instead of sitting as a tall narrow box in the middle. */
@media (max-width: 480px) {
  .wv-link { padding: .6rem .55rem !important; gap: .1rem; }
  .wv-link strong { line-height: 1.15; text-wrap: pretty; }
  .wv-link small { line-height: 1.3; text-wrap: pretty; }
  .wv-grid > .wv-item:last-child:nth-child(odd) { flex-basis: 100%; }
}
.cr[hidden], ul.calls > li[hidden] { display: none !important; }
/* Nov 4: the 2028 clock heads the results hero under its own label, with a rule before the 2026 results title */
.clock-cap.cap-2028 { margin: 0 auto .3rem; text-align: center; font: 700 .75rem/1.2 var(--text); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.wrap > .cap-2028 + #clock.clock-minor { margin-inline: auto; }
.wrap > #clock.clock-minor + * { margin-top: 0; padding-top: 1rem; border-top: 1px solid var(--rule); }
/* Nov 4: after the election, the state map card sits right under the home page title, above the clock. */
.hero .wrap.map-first { display: flex; flex-direction: column; }
.hero .wrap.map-first > h1 { order: -2; }
.hero .wrap.map-first > .card.you { order: -1; margin-top: .75rem; margin-bottom: 1.5rem; }
/* Nov 4: the small Northeastern states sit as one even row (no lone "VT" on a second line): label on its own line,
   8 buttons that share the width. */
.ask-stack .map-northeast > span { flex-basis: 100%; text-align: center; }
.ask-stack .map-northeast { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); max-width: 30rem; width: 100%; }
.ask-stack .map-northeast > span { grid-column: 1 / -1; }
.ask-stack .map-northeast button { min-width: 0; }
.ask-stack .map-foot:has(.legend[hidden]) { display: none; }
.hero .wrap.map-first .ask-map { margin-bottom: 0; }
.hero .wrap.map-first .ask-stack > .chips { margin-top: 0; }

/* Nov 4 audit: officeholder groups sit centered; two-person groups (President and Vice President, a state's two
   senators) share one row on mid-size screens instead of stacking two tall cards. */
.group { margin-left: auto; margin-right: auto; }
@media (min-width: 561px) and (max-width: 760px) {
  .offices:not([data-house]):has(> li:nth-child(2)):not(:has(> li:nth-child(3))) { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.25rem; }
  .offices:not([data-house]):has(> li:nth-child(2)):not(:has(> li:nth-child(3))) .office { grid-template-columns: 3.5rem minmax(0, 1fr); grid-template-areas: 'ring who' 'f1 f1' 'f2 f2'; gap: .5rem .8rem; }
}
.group-head:not(:has(.filter)) { justify-content: center; }

/* Nov 4 audit, /2026-election-results: the 56 state links were one centered column, 2,000px on a phone. A grid of
   columns instead; the dates still ahead get tighter rows and two columns where there is room. */
#states ~ .ms-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .15rem 1rem; text-align: center; }
#states ~ .ms-list li { margin: 0; padding: .3rem 0; }
#ahead + ul { padding-left: 1.1rem; }
#ahead + ul li { margin: 0 0 .35rem; line-height: 1.4; }
@media (min-width: 760px) { #ahead + ul { columns: 2 20rem; column-gap: 2.5rem; } #ahead + ul li { break-inside: avoid; } }

/* Nov 4, 2026 (Shams): button rows are centered, never left-ragged; short labels centered; the chosen picture size
   reads as chosen (the later .btn.quiet panel background had been hiding its light text). */
.sh-sizes, .sh-actions { justify-content: center; }
.sh-sizes .btn.quiet[aria-pressed="true"], .pl-sizes .btn.quiet[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
#sh-kit > label[for="sh-words"] { display: block; text-align: center; }
#sh-title, .band-head h2, .band-head p { text-wrap: balance; }
/* A doc block followed straight by a full-width band (e.g. the 2026 archive): no empty gap between them. */
.doc:has(+ .band) { padding-bottom: 0; }
.doc:has(+ .band) article > :last-child { margin-bottom: 0; }
.doc + .band { padding-top: 1.5rem; }
/* Nov 4 (Shams): an intro paragraph reads as an even, centered block: lines balanced to near-equal length with equal
   space on both sides (never justified). Every paragraph avoids a lone last word. */
.lead-even { text-align: center; text-wrap: balance; margin-left: auto; margin-right: auto; }
p, li { text-wrap: pretty; }
/* Nov 4: state link grids on the results page and the 2026 archive */
ul.cr-states { list-style: none; padding: .25rem 1rem .75rem; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .35rem 1rem; text-align: left; }
ul.cr-states a { text-decoration: none; } ul.cr-states a:hover { text-decoration: underline; }
article > ul.cr-states { padding: 0; margin: .5rem 0 1.25rem; }

/* ===== Nov 5, 2026 — ONE ALIGNMENT SYSTEM (Shams: "it's still weighing towards the left ... titles that should be
   centered are not centered ... make it a standard system"). Replaces the Nov 4 "reading layout" and the Oct 15
   justify pass. Every page follows these five rules; nothing else in this file should set text-align for page text.
   1. TITLES: every h1–h4 is centered and balanced. Only a title inside a list row or table (a news item, an office
      card) lines up with its own text.
   2. SHORT TEXT (intros, notes, captions, empty states, sources — up to 4 lines): centered, lines balanced to equal
      length with equal space on both sides. A line that fits on one line never breaks.
   3. LONG TEXT (5+ lines, marked .vc-prose by fold.js): left-aligned across the full column. Never justified.
   4. CONTENT BLOCKS (lists, tables, Q&A answers in rows, form fields): left inside, the block itself centered or
      running edge to edge. A lone last item in a two-column grid is centered.
   5. BUTTON AND CHIP ROWS: centered. ===== */
main :is(h1, h2, h3, h4), .band-head, .band-head h2, .band-head p, .doc article > h2, .doc article > section > h2,
  .doc .card > h2, .doc .card > h3, .vc-embed h2, .doc .vc-embed h2, .wv-next h3, .wv-next h4, .ms-h, summary {
  text-align: center; text-wrap: balance; }
.band-head, .band-head h2, .band-head p { margin-left: auto !important; margin-right: auto !important; }
.band-head h2 { max-width: none; }
.band-head p { max-width: 72rem !important; }
.doc article > h2::after, .doc article > section > h2::after, .doc article > .cl > h2::after { margin: .55rem auto 0; }
/* 2. short text. Rules 2 and 4 use :where() (lowest specificity) so a component's own rule (a stat, a tile) always wins. */
main :where(p, .note, .waiting, figcaption, .code-note, .cr-foot, .wi-promise, .lt-fallback, .er-center, .pl-hint, .pl-center,
  .pl-done, .pl-foot, .reg-result, .lastday, .updated, .site-search-note, .vc-towns-lead, .vc-towns-src, .vc-zips, .fine,
  .one-line, .doc-center, .vc-center, .lead-even, .card, .vote-places, .ballot, .ballot-page, .wv-tools, .wv-next-line,
  .wv-note, .vc-embed, .qa, .qa-body) {
  text-align: center; }
main :where(p, figcaption, .note) { text-wrap: balance; }
main :where(p, .note, .fine, .code-note, .cr-foot, .wi-promise, .lt-fallback, .vc-towns-lead, .vc-towns-src, .vc-zips) {
  margin-left: auto; margin-right: auto; }
/* 3. long text */
main .vc-prose, main .vc-even { text-align: left !important; text-wrap: pretty; -webkit-hyphens: manual; hyphens: manual; }
/* 4. content blocks keep their reading edge */
main :where(li, dd, dt, td, th, blockquote, .of-list, .cl-race, .cl-list, .ms-pick, .lf-out, .addr-list, .controls,
  .office .f1, .b-cands, .lt-list, .wi-list, .cr-states) { text-align: left; }
main :where(li, dd, dt, td, th, blockquote, form, .controls) :where(p, .note, figcaption) { text-align: inherit; text-wrap: pretty; margin-left: 0; margin-right: 0; }
main :is(li, td, th, dd) :is(h2, h3, h4) { text-align: inherit; }
/* lists and grids that are centered on purpose */
main :is(ul.vc-list-center, ul.vc-list-center > li, .ev-sites > li, .chips, .chips > li, .wv-grid > li, .regtable.vc-cards tbody > tr,
  .vc-cities-list, .vc-cities .chips, #states ~ .ms-list) { text-align: center; }
main .vc-cities .chips, main .vc-cities .vc-cities-list { justify-content: center; }
main .vc-cities { width: auto !important; max-width: none !important; }
@media (min-width: 761px) {
  main .wi-list > li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 1.25rem); text-align: center; }
}
/* 5. button, chip and hero rows */
main :is(h1, .hero, .hero p, .hero-foot, .hero-actions, .hero-notes, .cta, .gl-act, .st-quick, .chips, .glance, .gl-tile, .clock-cap, .lt-more,
  .lt-nat, .calls-more, .cr-all, .reveal-row, .wv-link, .wv-link *, .allstates, .dl-date, .counted, .zipfind input, .finder-row,
  .vc-tip, .vc-support-row, .map-foot, .vc-support, .vc-support p, .vc-support h2) { text-align: center; }
main .wv-grid, main .vc-support-more { justify-content: center; }
main[data-record] .vc-ended { display: none; }

/* Nov 4, 2026: a race the AP has not called yet */
.cr-wait .cr-win { color: var(--muted); font-weight: 600; }
.cr-wait .cr-win::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent, #e0a526); margin-right: .4rem; vertical-align: .1rem; }

/* Nov 4, 2026: 2026 result on each officeholder card (AP call or official count link) */
.office .seat-win { font-weight: 700; color: var(--ink, inherit); }
.office .seat-win .cr-p { margin-left: .25rem; }
.office .seat-src { font-size: .8125rem; }

/* Nov 5, 2026: /2026-cycle-report */
.cy-chart { margin: 1rem 0 1.25rem; }
.cy-chart svg { width: 100%; height: auto; display: block; }
.cy-chart .cy-bar { fill: var(--muted); opacity: .45; }
.cy-chart .cy-peak { fill: var(--accent, #e0a526); }
.cy-chart .cy-lbl text { font-size: 22px; fill: var(--muted); }
.cy-chart figcaption { font-size: .85rem; color: var(--muted); margin-top: .4rem; }
.cy-table table { width: 100%; border-collapse: collapse; font-size: .85rem; margin-top: .5rem; }
.cy-table td, .cy-table th { text-align: left; padding: .2rem .4rem; border-bottom: 1px solid var(--rule); }
ul.cy-list { list-style: none; margin: .75rem 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
ul.cy-list li { display: flex; flex-direction: column; gap: .2rem; padding: .7rem .85rem; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); }
ul.cy-list li span { font-size: .82rem; color: var(--muted); }
@media (max-width: 340px) { ul.cy-list { grid-template-columns: 1fr; } }
/* Nov 5 alignment system: footer fine print wraps in even lines (no lone "verify" on its own line) */
.foot-legal p, .foot-legal .foot-meta { text-wrap: balance; }
main .wi-list > li { text-wrap: pretty; }
/* Nov 5 alignment system: the at-a-glance figures (Next deadline, Up next, Your registration) are centered in their
   columns, like the tiles under them — a stat block reads as a unit, not as left-ragged text */
.stat :is(dt, dd), .stat dd :is(p, .big) { text-align: center; margin-left: auto; margin-right: auto; }
/* Nov 5: a race name ("U.S. Senate") never breaks; the count beside it wraps instead */
#results summary .cr-o, .cr-o { white-space: nowrap; flex-shrink: 0; }
#results summary .cr-n { min-width: 0; text-align: right; }
.stat p { text-wrap: balance; }
.stat .btn, main .btn { white-space: nowrap; }
/* Nov 5, 2026: 2026 early-voting archive pages lead with results; the old site list is one closed, quiet section */
.ev-after { margin: 1rem 0 1.5rem; padding: 1.1rem 1.25rem; border: 1px solid var(--rule); border-radius: 14px; background: var(--card, var(--panel)); }
.ev-after h2 { margin: 0 0 .5rem; }
.ev-after p { margin: .4rem auto 0; }
.ev-after .gl-act { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: .85rem; }
details.ev-archive { margin: 1.5rem 0; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); }
details.ev-archive > summary { cursor: pointer; padding: .9rem 1rem; font-weight: 700; color: var(--muted); }
details.ev-archive[open] > summary { border-bottom: 1px solid var(--rule); }
details.ev-archive > :not(summary) { margin-left: 1rem; margin-right: 1rem; }
details.ev-archive .vc-ended { display: none; }
