/* act.cnliberalism.org: direction A, Blueprint (Tobin's pick, 2026-11-05).
   Navy grid paper, cream line work, gold callouts. Phone first (the boards are
   390 wide); from 900px the page opens out to the desktop boards' two columns. */

@font-face { font-family: "Space Grotesk"; font-weight: 400; font-display: swap; src: url(/fonts/space-grotesk-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url(/fonts/space-grotesk-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 600 700; font-display: swap; src: url(/fonts/space-grotesk-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Space Mono"; font-weight: 400; font-display: swap; src: url(/fonts/space-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Space Mono"; font-weight: 700; font-display: swap; src: url(/fonts/space-mono-latin-700-normal.woff2) format("woff2"); }

:root {
  --navy: #24305E;
  --navy-2: #2F3B68;
  --cream: #FDFBE9;
  --gold: #D9A94E;
  --line: rgba(253, 251, 233, .7);
  --line-2: rgba(253, 251, 233, .5);
  --line-3: rgba(253, 251, 233, .3);
  --soft: rgba(253, 251, 233, .85);
  --mono: "Space Mono", ui-monospace, monospace;
  --sans: "Space Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--navy); }
body {
  margin: 0; min-height: 100vh; padding: 12px;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(207,222,237,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(207,222,237,.07) 1px, transparent 1px),
    linear-gradient(rgba(207,222,237,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(207,222,237,.10) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  color: var(--cream); font: 500 16px/1.45 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cream); }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--gold); color: var(--navy); padding: 10px 14px; font-weight: 700; z-index: 5; }
.skip:focus { top: 16px; }

.frame { max-width: 1180px; margin: 0 auto; border: 1.5px solid var(--line); display: flex; flex-direction: column; }
.pad { padding: 0 16px; }

/* ---------- top bar ---------- */
.top { padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.top img { display: block; width: 106px; height: 50px; }
.is-land .top img { width: 148px; height: 70px; }
.top .step { font: 12px/16px var(--mono); }
.is-land .top .step { display: none; }
.top + section { border-top: 0; }
.has-bar .top { border-bottom: 1px solid var(--line-2); }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; }
.h1 { font-size: 40px; line-height: 42px; font-weight: 700; letter-spacing: -.02em; }
.h1 em, .gold { color: var(--gold); font-style: normal; }
.h2 { font-size: 26px; line-height: 30px; font-weight: 600; letter-spacing: -.01em; }
.h3 { font-size: 21px; line-height: 26px; font-weight: 600; }
.lede { margin: 0; font-size: 17px; line-height: 25px; color: rgba(253,251,233,.88); }
.small { margin: 0; font-size: 13px; line-height: 19px; color: rgba(253,251,233,.78); }
.mono { font-family: var(--mono); }
.label { font: 12px/16px var(--mono); color: var(--soft); }
.dash { border: 1.5px dashed var(--gold); padding: 12px 14px; }
.box { border: 1.5px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: 14px; }
p { margin: 0; }

/* ---------- landing ---------- */
.hero-art { display: block; width: 100%; max-width: 363px; height: auto; margin: 6px auto 0; }
.hero { position: relative; padding: 22px 16px 0; display: flex; flex-direction: column; gap: 14px; }
.bill { font: 13px/20px var(--mono); color: var(--soft); white-space: pre-line; }
.bill strong { color: var(--cream); }
.bill a { color: var(--gold); }

.count { margin: 22px 16px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.count > div { padding: 10px 12px 8px; }
.count > div + div { border-left: 1px solid var(--line-2); }
.count .n { font-size: 40px; line-height: 44px; font-weight: 700; letter-spacing: -.02em; }
.count .n.gold { color: var(--gold); }
.count .bar { grid-column: 1 / -1; border-top: 1px solid var(--line-2); border-left: 0 !important; padding: 8px 8px 4px; }
.count .bar svg { display: block; width: 100%; height: auto; max-height: 96px; }
.chapter-count { margin: 22px 16px 0; padding: 10px 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.count .passed { grid-column: 1 / -1; margin: 0; border-top: 1px solid var(--line-2); padding: 8px 12px; font-size: 14px; line-height: 19px; }
.milestone { border-color: var(--gold); padding: 14px 12px; display: flex; flex-direction: column; gap: 6px; }
.milestone p { margin: 0; }
.milestone .small { font-size: 15px; line-height: 21px; }
.chapter-count + .count { margin-top: 10px; }

.pick { position: relative; margin-top: 30px; padding: 0 16px; display: flex; flex-direction: column; gap: 12px; }
fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.issue { position: relative; display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 10px 12px; border: 1.5px solid var(--line); background: var(--navy); cursor: pointer; }
.issue input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.issue .num { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--cream); display: flex; align-items: center; justify-content: center; font: 700 13px var(--mono); }
.issue .txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.issue .name { font-size: 19px; line-height: 23px; font-weight: 600; }
.issue .blurb { font-size: 14px; line-height: 19px; color: rgba(253,251,233,.82); }
.issue svg { flex: none; width: 40px; height: 44px; stroke: var(--cream); }
.issue:has(input:checked), .issue.on { border: 2px solid var(--gold); background: var(--navy-2); }
.issue:has(input:checked) .num, .issue.on .num { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.issue:has(input:checked) svg, .issue.on svg { stroke: var(--gold); }
.issue:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }

.go { margin-top: 8px; min-height: 56px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--gold); color: var(--navy); border: 0; border-radius: 0; text-decoration: none; font: 700 19px var(--sans); cursor: pointer; padding: 0 16px; }
.go:hover { color: var(--navy); background: #e4b85f; }
.go svg { width: 20px; height: 14px; }
.ob { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--cream); background: transparent; color: var(--cream); text-decoration: none; font: 600 16px var(--sans); padding: 0 12px; cursor: pointer; border-radius: 0; text-align: center; }
.ob:hover { border-color: var(--gold); color: var(--gold); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }

/* ---------- title block ---------- */
.titleblock { margin: 34px 16px 16px; align-self: flex-end; width: 240px; max-width: calc(100% - 32px); font-size: 13px; line-height: 17px; }
.titleblock > div { padding: 7px 9px; }
.titleblock > div + div { border-top: 1px solid var(--line-2); }
.titleblock .row { display: flex; justify-content: space-between; gap: 8px; }

/* ---------- write ---------- */
.write { padding: 20px 16px 0; display: flex; flex-direction: column; gap: 14px; }
.write > .side, .write > .main { display: flex; flex-direction: column; gap: 14px; }
.picked { display: flex; align-items: center; gap: 10px; }
.picked .num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--navy); display: flex; align-items: center; justify-content: center; font: 700 13px var(--mono); }
.picked .name { flex: 1; font-size: 19px; line-height: 23px; font-weight: 600; }
.linkbtn { background: none; border: 0; padding: 8px 0; color: var(--cream); text-decoration: underline; font: 500 15px var(--sans); cursor: pointer; min-height: 44px; }
.linkbtn:hover { color: var(--gold); }
.preview p { font-size: 15px; line-height: 23px; color: rgba(253,251,233,.9); white-space: pre-line; }
.goes-to .hd { padding: 8px 10px; border-bottom: 1px solid var(--line-2); }
.goes-to .m { padding: 10px; display: flex; align-items: center; gap: 10px; }
.goes-to .m + .m { border-top: 1px solid rgba(253,251,233,.35); }
.goes-to .tag { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center; font: 700 12px var(--mono); }
.goes-to .who { flex: 1; font-size: 17px; line-height: 22px; font-weight: 600; }
.goes-to .what { font-size: 14px; color: rgba(253,251,233,.8); white-space: nowrap; }
.goes-to .left-out { padding: 9px 10px 10px; border-top: 1px dashed var(--line-2); font-size: 14px; line-height: 20px; color: rgba(253,251,233,.8); }
.tip { display: flex; gap: 12px; align-items: flex-start; }
.tip svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.notice { border: 1.5px solid var(--gold); background: var(--navy-2); padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.loading { font: 13px/20px var(--mono); color: var(--soft); padding: 16px 0; }

/* Action Network's form, embedded with no styles and dressed here. Its markup
   isn't ours: these rules lean on plain elements, not AN's class names, where
   they can. Checked against the Springfield test campaign. */
.an { color: var(--cream); font: 500 17px/1.45 var(--sans); }
.an h1, .an h2, .an h3, .an h4 { font-family: var(--sans); color: var(--cream); }
.an #action_info, .an .action_info, .an #can_embed_form_inner > h2, .an #can_embed_form_inner > h4, .an .action_description, .an #logo_wrap, .an .can_embed_logo, .an #action_summary { display: none !important; }
.an form { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.an label, .an .control-label { display: block; font: 12px/16px var(--mono); color: var(--soft); margin: 0 0 6px; }
.an input[type="text"], .an input[type="email"], .an input[type="tel"], .an input[type="number"], .an input:not([type]), .an select, .an textarea {
  display: block; width: 100%; min-height: 48px; padding: 0 12px; margin: 0;
  background: var(--navy); color: var(--cream); border: 1.5px solid var(--line); border-radius: 0;
  font: 500 17px var(--sans); -webkit-appearance: none; appearance: none;
}
.an textarea { padding: 12px; line-height: 25px; min-height: 280px; resize: vertical; }
.an input::placeholder, .an textarea::placeholder { color: rgba(253,251,233,.5); }
.an input:focus, .an select:focus, .an textarea:focus { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.an input[type="checkbox"], .an input[type="radio"] { width: 22px; height: 22px; accent-color: var(--gold); vertical-align: middle; margin-right: 8px; }
.an input[type="submit"], .an button[type="submit"], .an .button, .an button.btn {
  min-height: 56px; width: 100%; background: var(--gold); color: var(--navy); border: 0; border-radius: 0; cursor: pointer;
  font: 700 19px var(--sans); padding: 0 16px; -webkit-appearance: none; appearance: none;
}
.an input[type="submit"]:hover, .an button[type="submit"]:hover { background: #e4b85f; }
.an a { color: var(--gold); }
.an ul, .an ol { margin: 0; padding: 0; }
.an .error, .an .alert, .an .can_error, .an [class*="error"] { color: #F4C7A1; font-size: 14px; }
.an small, .an .help-block, .an .disclaimer, .an #can_embed_form .smaller { font-size: 13px; line-height: 19px; color: rgba(253,251,233,.78); }
.an #can_thank_you { display: none; }
/* AN's v6 letter form (checked 2026-11-06 against the live BAAJA campaign):
   its fields are bare <li>s, each with an empty label and a float label that
   repeats the placeholder; its spinner and country picker rely on AN's own CSS. */
.an li { list-style: none; margin: 0 0 14px; padding: 0; }
.an li.form_builder_output:not(:has(input, select, textarea, label, p, div)) { display: none; }
.an label.control-label:empty { display: none; }
.an .floatlabel-input::placeholder { color: transparent; }
.an .hide, .an .ajax-loading { display: none; }
.an .international_link-wrap { display: block; margin: -4px 0 14px; font: 13px/18px var(--mono); }
.an .international_link { cursor: pointer; text-decoration: underline; }
/* AN's dropdowns (country; on the letter step, the signer's title and the topic)
   are an invisible <select> sized by AN's script to a span showing the choice.
   Stretch the select over the span so the whole box opens it, and draw the
   span as a dropdown. */
.an span.block.relative, .an .country_drop_wrap .block { display: block; position: relative; margin-bottom: 14px; }
.an select.hasCustomSelect { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; min-height: 0; opacity: 0 !important; cursor: pointer; z-index: 1; }
.an span.can_select { display: block !important; min-height: 48px; padding: 12px 40px 12px 12px; border: 1.5px solid var(--line); background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23D9A94E' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; line-height: 22px; }
.an span.can_selectInner { width: auto !important; display: block !important; }
.an select.hasCustomSelect:focus + span.can_select { outline: 3px solid var(--gold); border-color: var(--gold); }
.an span.block.relative:has(select[id$="__NAME_PREFIX"])::before { content: "How to address you"; }
.an span.block.relative:has(select[id$="__TOPIC"])::before { content: "Topic (for their office)"; }
.an span.block.relative:has(select[id$="__NAME_PREFIX"])::before, .an span.block.relative:has(select[id$="__TOPIC"])::before { display: block; font: 12px/16px var(--mono); color: var(--soft); margin: 0 0 6px; }
/* The letter step: AN's campaign title repeats the page's, so it goes; the rest gets room. */
.an h2.line { display: none !important; }
.an #action_welcome_message { margin: 0 0 18px; font-size: 15px; }
.an #action_welcome_message small { font-size: 13px; color: var(--soft); }
.an #form_col1 h4 { margin: 0 0 12px; font-size: 17px; }
.an #form_col2 h4 { margin: 22px 0 12px; font-size: 17px; }
.an .floatlabel-wrapper { margin: 0 0 14px; }
.an #d_sharing { margin-top: 18px; }
.an #d_sharing label { display: flex; align-items: center; gap: 10px; margin: 0; line-height: 20px; cursor: pointer; }
.an #d_sharing input[type="checkbox"] { flex: none; margin: 0; }
.an-holder { min-height: 120px; }

/* ---------- sent ---------- */
.sent { position: relative; padding: 26px 16px 0; display: flex; flex-direction: column; gap: 12px; }
.sent .h1 { max-width: 200px; }
.stamp { position: absolute; right: 18px; top: 26px; transform: rotate(-8deg); border: 3px solid var(--gold); padding: 3px; }
.stamp div { border: 1.5px solid var(--gold); padding: 6px 12px 4px; color: var(--gold); font: 700 22px/24px var(--mono); letter-spacing: .12em; text-align: center; }
.stamp small { display: block; font-size: 10px; line-height: 14px; letter-spacing: .08em; }
.todo { padding: 24px 16px 0; display: flex; flex-direction: column; gap: 12px; }
.todo + .todo { padding-top: 30px; }
.todo .hd { display: flex; align-items: center; gap: 10px; }
.bn { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--cream); display: flex; align-items: center; justify-content: center; font: 700 13px var(--mono); }
.bn.on { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.script { font-size: 15px; line-height: 23px; white-space: pre-line; }
.share { padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.share svg.towers { display: block; width: 100%; height: 64px; }
.mylink { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line-2); padding: 0 0 0 10px; }
.mylink span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 13px var(--mono); }
.mylink button { min-height: 44px; padding: 0 14px; background: var(--gold); color: var(--navy); border: 0; font: 700 15px var(--sans); cursor: pointer; }
.card-img { display: block; width: 100%; height: auto; border: 1.5px solid var(--cream); }
.board .r { display: grid; grid-template-columns: 26px minmax(0, 1fr) 52px; gap: 8px; align-items: center; padding: 7px 10px; font-size: 15px; line-height: 20px; }
.board .r + .r { border-top: 1px solid var(--line-3); }
.board .r .k { font: 700 15px var(--mono); }
.board .r:first-child .k { color: var(--gold); }
.board .r .v { text-align: right; font-weight: 700; }
.board .r.me { background: var(--navy-2); border-top: 1.5px dashed var(--gold); }
.board .r.me .yours { color: var(--gold); }

/* ---------- no Democrats ---------- */
.delegation .m { padding: 10px; display: flex; align-items: center; gap: 10px; }
.delegation .m + .m { border-top: 1px solid var(--line-3); }
.delegation .tag { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; font: 700 12px var(--mono); }
.delegation .who { flex: 1; font-size: 17px; font-weight: 600; }

/* ---------- desktop ---------- */
@media (min-width: 900px) {
  body { padding: 24px; }
  .top { padding: 18px 28px; }
  .landing { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 8px 40px; padding: 0 28px; align-items: start; }
  .landing .hero { padding: 28px 0 0; grid-column: 1; grid-row: 1; }
  .landing .hero-art { grid-column: 2; grid-row: 1 / span 2; max-width: 520px; margin-top: 0; }
  .landing .counts { grid-column: 1; grid-row: 2; }
  .landing .count, .landing .chapter-count { margin-left: 0; margin-right: 0; }
  .landing .pick { grid-column: 1 / -1; padding: 0; margin-top: 40px; }
  .landing fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing .go { max-width: 420px; }
  .h1 { font-size: 56px; line-height: 58px; }
  .write { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 18px 40px; padding: 28px 28px 0; align-items: start; }
  .write > .side { grid-column: 1; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 24px; }
  .write > .main { grid-column: 2; display: flex; flex-direction: column; gap: 14px; }
  .sent { padding: 32px 28px 0; }
  .sent .h1 { max-width: none; }
  .stamp { right: 40px; }
  .todos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 8px 28px 0; }
  .todos .todo { padding: 24px 0 0 !important; }
  .board-wrap { padding: 36px 28px 0 !important; max-width: 640px; }
  .nodems { max-width: 760px; }
  .titleblock { margin-right: 28px; }
}
@media (prefers-reduced-motion: no-preference) {
  .count .bar .done { transition: width .6s ease; }
}

/* The demo campaign's stand-in form (act.js standIn). */
.an .demo-note { font: 12px/18px var(--mono); color: var(--gold); border: 1px dashed currentColor; padding: 8px 10px; margin: 0 0 14px; }

/* ---------- state numbers (src/states.ts; design canvas 5USbSQX3BrWAewRVfX8XyD) ---------- */
/* Colour bands for the map, lightest to strongest: they differ in lightness as well as hue. */
.b0 { background: transparent; color: var(--cream); border: 1px dashed rgba(253,251,233,.7); }
.b1 { background: #46527F; color: var(--cream); border: 1px solid #46527F; }
.b2 { background: #E8CF97; color: var(--navy); border: 1px solid #E8CF97; }
.b3 { background: var(--gold); color: var(--navy); border: 1px solid var(--gold); }
.q-solar { background: var(--gold); }
.q-batteries { background: #F0DDB0; }
.q-wind { background: var(--cream); }
.q-fossil { background: repeating-linear-gradient(45deg, rgba(253,251,233,.6) 0 2px, transparent 2px 6px); }

.sheet { display: flex; flex-direction: column; }
.sheet-hd { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--line-2); font: 700 12px/16px var(--mono); }
.sheet .stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sheet .stats > div { padding: 12px; border-bottom: 1px solid var(--line-2); }
.sheet .stats > div:nth-child(odd) { border-right: 1px solid var(--line-2); }
.sheet .stats > div:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.sheet .stats.s3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sheet .stats.s3 > div { border-right: 1px solid var(--line-2); grid-column: auto; }
.sheet .stats.s3 > div:last-child { border-right: 0; grid-column: auto; }
.sheet .big { font-size: 30px; line-height: 34px; font-weight: 700; letter-spacing: -.01em; }
.sheet .big.gold, .gold { color: var(--gold); }
.sheet .what { font-size: 13px; line-height: 18px; color: rgba(253,251,233,.85); }
.sheet-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.sheet-note { padding: 10px 12px; font-size: 14px; line-height: 20px; color: rgba(253,251,233,.88); }
.sheet-note + .sheet-note, .sheet-body + .sheet-note { border-top: 1px solid var(--line-2); }
.sheet-local { padding: 12px; border-top: 1.5px dashed var(--gold); font-size: 15px; line-height: 22px; }
.sheet-links { padding: 12px; border-top: 1px solid var(--line-2); }
.sheet-links .go { margin: 0; min-height: 48px; font-size: 16px; }
.sheet-src { padding: 8px 12px; border-top: 1px solid var(--line-2); font: 11px/16px var(--mono); color: rgba(253,251,233,.8); }
.qbar { display: flex; height: 20px; border: 1px solid var(--line); }
.qkey { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font: 12px/18px var(--mono); }
.qkey li, .legend li { display: flex; align-items: center; gap: 6px; }
.sw { display: inline-block; width: 12px; height: 12px; box-sizing: border-box; flex: none; }
.write > .side:has([data-state-sheet]:not([hidden])) { position: static; }

/* letter blocks (boards D1, D2) */
.blocks { display: flex; flex-direction: column; gap: 10px; }
.blocks-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.blocks-list { display: flex; flex-direction: column; gap: 8px; }
.blk { display: flex; gap: 12px; align-items: center; min-height: 52px; padding: 10px 12px; background: transparent; color: var(--cream); border: 1.5px solid var(--line); text-align: left; font: inherit; cursor: pointer; }
.blk:hover { border-color: var(--gold); }
.blk .mark { flex: none; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border: 1.5px solid currentColor; font: 700 15px/1 var(--mono); }
.blk .txt { display: flex; flex-direction: column; gap: 2px; }
.blk .ttl { font-size: 15px; line-height: 20px; font-weight: 700; }
.blk .sub { font-size: 13px; line-height: 18px; }
.blk.on { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.call-state { font-size: 14px; line-height: 21px; }

/* the landing map (boards C1, C2) */
.statemap { margin-top: 40px; padding: 0 16px; display: flex; flex-direction: column; gap: 18px; }
.statemap .map-l, .statemap .map-r { display: flex; flex-direction: column; gap: 12px; }
.tiles { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 3px; }
.tile { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; font: 700 10px/1 var(--mono); text-decoration: none; box-sizing: border-box; }
.tile:hover { outline: 2px solid var(--cream); outline-offset: 1px; color: inherit; }
.tile.b0:hover, .tile.b1:hover { color: var(--cream); }
.tile.b2:hover, .tile.b3:hover { color: var(--navy); }
.tile[aria-current] { box-shadow: 0 0 0 2px var(--navy), 0 0 0 4px var(--cream); position: relative; z-index: 1; }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font: 12px/16px var(--mono); color: rgba(253,251,233,.9); }
.pick-state { display: flex; flex-direction: column; gap: 6px; }
.pick-state select, .state-go select { min-height: 44px; padding: 0 10px; background: var(--navy); color: var(--cream); border: 1.5px solid var(--line); border-radius: 0; font: 600 16px var(--sans); }
.statemap .src { font-size: 12px; }

/* a page per state (boards B1, B2) */
.state-go { display: flex; align-items: flex-end; gap: 8px; }
.state-go label { display: flex; align-items: center; gap: 8px; }
.state-go .ob { min-height: 44px; }
.top .ob { min-height: 44px; font-size: 15px; }
.st { padding: 22px 16px 0; display: flex; flex-direction: column; gap: 16px; }
.st-l, .st-r { display: flex; flex-direction: column; gap: 14px; }
.st .h1 { font-size: 36px; line-height: 40px; }
.st .h1 em { color: var(--gold); font-style: normal; }
.st .go { margin-top: 0; }
.st .big-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.st .local { border: 1.5px dashed var(--gold); }
.st .local .sheet-hd { color: var(--gold); border-bottom: 1px dashed var(--gold); }
.st .local-text { font-size: 17px; line-height: 25px; }
.st .call { justify-content: space-between; padding: 0 14px; }
.st .stack { gap: 10px; }
.st-list { list-style: none; margin: 0; padding: 0; border: 1.5px solid var(--line); }
.st-list li + li { border-top: 1px solid var(--line-3); }
.st-list a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; min-height: 44px; box-sizing: border-box; align-items: center; text-decoration: none; }
.st-list .nm { font-weight: 600; }
.st-list .mono { color: var(--gold); }

@media (min-width: 900px) {
  .statemap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px 40px; padding: 0 28px; grid-column: 1 / -1; align-items: start; }
  .tiles { gap: 5px; max-width: 640px; }
  .tile { font-size: 14px; }
  .st { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 40px; padding: 32px 28px 0; align-items: start; }
  .st .h1 { font-size: 56px; line-height: 58px; }
  .st-all .st-r { max-height: 760px; overflow: auto; }
}
.st .call .mono { white-space: nowrap; }

/* Why this matters + what the bill does (landing), writing tips (letter step) */
.why { display: flex; flex-direction: column; gap: 22px; padding: 28px 16px 0; }
.why p { margin: 10px 0 0; font-size: 16px; line-height: 24px; }
.why .more-btn { display: none; margin-top: 6px; min-height: 44px; color: var(--gold); font-weight: 600; }
.why.folded .rest { display: none; }
.why.folded .more-btn { display: inline-flex; align-items: center; }
.why-r { border: 1.5px solid var(--line); padding: 16px; }
.does { margin: 10px 0 0; padding: 0; list-style: none; }
.does li { position: relative; padding: 8px 0 8px 22px; font-size: 15px; line-height: 22px; }
.does li + li { border-top: 1px solid var(--line-3); }
.does li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 9px; height: 9px; background: var(--gold); }
.tips { padding: 14px 16px; }
.tips .h3 { margin: 0; }
.tips p { margin: 8px 0 0; font-size: 15px; line-height: 22px; }
.tips a { color: var(--gold); }
@media (min-width: 900px) {
  .why { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px 40px; padding: 36px 28px 0; grid-column: 1 / -1; align-items: start; }
  .why.folded .rest { display: block; }
  .why.folded .more-btn { display: none; }
}
