/* Civic Agent decision card, rendered inside a frame on any host page.
   Tokens match the site: slate "same for everyone", highway-sign green "just for you", cone orange only for real deadlines. */
:root {
  --sheet: #faf8f2; --raise: #f2eee4;
  --ink: #1b1a16; --ink-2: #47453d; --ink-3: #615e55;
  --line: #cdc6b5; --line-2: #e2dccd;
  --guide: #0e5a3a; --guide-bg: #e1ece3; --guide-ink: #ffffff;
  --shared: #3f4a57; --shared-bg: #ebe8e0;
  --due: #a33d08; --due-bg: #f5e0cc; --due-ink: #ffffff;
  --done: #3b4778; --done-bg: #e6e8f1;
  --link: #1f4f9a;
  --sign: #0e5a3a;
  --serif: "Source Serif 4", Georgia, serif;
  --display: "Overpass", system-ui, sans-serif;
  --body: "Overpass", system-ui, -apple-system, sans-serif;
  --mono: "Overpass Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sheet: #1d1c18; --raise: #24231e; --ink: #ece7db; --ink-2: #bcb6a7; --ink-3: #a09b8e;
    --line: #3d3a32; --line-2: #2a2924; --guide: #7cc9a0; --guide-bg: #16301f; --guide-ink: #0f1a13;
    --shared: #c0c6cc; --shared-bg: #2a2d30; --due: #f08a4b; --due-bg: #3b2416; --due-ink: #151512; --done: #b9c1ec; --done-bg: #272b3d; --link: #8fb0ff; --sign: #12603f;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --sheet: #1d1c18; --raise: #24231e; --ink: #ece7db; --ink-2: #bcb6a7; --ink-3: #a09b8e;
  --line: #3d3a32; --line-2: #2a2924; --guide: #7cc9a0; --guide-bg: #16301f; --guide-ink: #0f1a13;
  --shared: #c0c6cc; --shared-bg: #2a2d30; --due: #f08a4b; --due-bg: #3b2416; --due-ink: #151512; --done: #b9c1ec; --done-bg: #272b3d; --link: #8fb0ff; --sign: #12603f;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: transparent; }
body { color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-text-size-adjust: 100%; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: var(--link); }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.eyebrow { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.small { font-size: 12.5px; color: var(--ink-3); }

.cac { background: var(--sheet); border: 2px solid var(--sign); border-radius: 5px; overflow: hidden; }
.cac-head { display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--sign); color: #fff; font-size: 13px; }
.cac-head a { color: inherit; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.cac-head b { font-family: var(--display); font-weight: 900; font-size: 14px; }
.cac-head .dom { margin-left: auto; font-family: var(--mono); font-size: 11px; opacity: .85; }
.cac-body { padding: 14px; display: grid; gap: 12px; }
.sample { font-size: 12px; color: var(--due); background: var(--due-bg); border-radius: 3px; padding: 6px 10px; }
.status { justify-self: start; padding: 4px 10px; border-radius: 3px; font-size: 12.5px; font-weight: 700; }
.status.up { background: var(--shared-bg); color: var(--shared); }
.status.open { background: var(--due-bg); color: var(--due); }
.status.done { background: var(--done-bg); color: var(--done); }
.title { display: grid; gap: 4px; }
.title h1 { font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.who { font-size: 13.5px; color: var(--ink-2); }
.half { border-radius: 3px; padding: 12px; display: grid; gap: 10px; }
.half.shared { background: var(--shared-bg); }
.half.personal { background: var(--guide-bg); }
.half > .eyebrow { color: var(--shared); }
.half.personal > .eyebrow { color: var(--guide); }
.stages { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; font-size: 12px; }
.stages li { padding: 3px 8px; border-radius: 3px; border: 1px solid var(--line); background: var(--sheet); color: var(--ink-3); }
.stages li.past { color: var(--ink-2); }
.stages li.now { border-color: var(--due); color: var(--due); font-weight: 700; }
.stages li.now.d { border-color: var(--done); color: var(--done); }
.what { font-size: 14.5px; }
.sides { display: grid; gap: 8px; }
.side { background: var(--sheet); border-radius: 3px; padding: 10px 12px; display: grid; gap: 4px; }
.side b { font-size: 14px; }
.side p { font-size: 14px; color: var(--ink-2); }
.cite { font-size: 12.5px; color: var(--link); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--link) 40%, transparent); }
a.cite:hover { text-decoration: underline; }
.held { border: 1.5px dashed var(--due); border-radius: 3px; padding: 10px 12px; font-size: 13.5px; background: var(--due-bg); }
.pc { display: grid; gap: 10px; }
.pc-sum { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; }
.pc-sum b { font-variant-numeric: tabular-nums; }
.pc-group { display: grid; }
.pc-group > .eyebrow { padding-bottom: 4px; }
.theme { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.theme .t { font-size: 14px; font-weight: 600; }
.theme .n { font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.theme q { grid-column: 1 / -1; font-family: var(--serif); font-size: 15px; color: var(--ink-2); }
.theme .cite { grid-column: 1 / -1; }
.openq { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.openq li { display: flex; gap: 8px; }
.openq li::before { content: "?"; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--sheet); color: var(--shared); font-weight: 700; font-size: 12px; display: grid; place-items: center; margin-top: 2px; }
.openq li.answered::before { content: "\2713"; color: var(--guide); }
.votes { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13.5px; }
.votes li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px solid var(--line); }
.votes li span:last-child { font-weight: 700; }
.review { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--ink-2); border-top: 1px solid var(--line-2); padding-top: 10px; }
.review svg { flex: none; margin-top: 2px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--link); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
details.more > summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--guide); list-style: none; }
details.more > summary::-webkit-details-marker { display: none; }
details.more[open] > summary { margin-bottom: 10px; }
.money { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--guide); line-height: 1.05; font-variant-numeric: tabular-nums; }
.method { font-size: 12.5px; color: var(--ink-2); }
.personal p:not(.method) { font-size: 14px; }
.addrpick { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: var(--sheet); border-radius: 3px; padding: 5px 11px; font-size: 13px; }
.btnrow { display: flex; flex-wrap: wrap; gap: 8px; }
.btn { display: inline-block; border: 0; border-radius: 3px; padding: 10px 14px; background: var(--guide); color: var(--guide-ink); font-weight: 700; font-size: 14.5px; text-decoration: none; }
.btn.line { background: transparent; color: var(--guide); border: 1.5px solid var(--guide); padding: 8.5px 12.5px; }
.how { font-size: 14px; background: var(--raise); border-radius: 3px; padding: 12px; display: grid; gap: 6px; }
.how ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }

/* inline strip */
.cac.strip { border-width: 1.5px; border-radius: 3px; }
.strip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 12px; font-size: 14px; }
.strip-row .brand { display: inline-flex; gap: 6px; align-items: center; color: var(--guide); font-family: var(--display); font-weight: 800; text-decoration: none; }
.strip-row .grow { flex: 1 1 200px; min-width: 0; }
.err { padding: 14px; font-size: 14px; color: var(--ink-2); border: 1.5px dashed var(--line); border-radius: 10px; background: var(--sheet); }

/* reader's market value box: computed on the page, never stored */
.valform { display: grid; gap: 8px; }
.valform label { font-size: 14px; font-weight: 600; }
.valrow { display: flex; gap: 8px; flex-wrap: wrap; }
.valrow input { flex: 1 1 140px; min-width: 0; padding: 9px 11px; border: 1px solid var(--line); border-radius: 3px; background: var(--sheet); color: var(--ink); font: inherit; }

/* quiet but big items */
.quiet { border: 1.5px dashed var(--shared); border-radius: 3px; padding: 10px 12px; font-size: 13.5px; background: var(--sheet); }
.flags { display: grid; gap: 6px; }
.flags ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; }
.flags > .eyebrow { color: var(--due); }

/* Decisions ahead list */
.lede { font-size: 14.5px; color: var(--ink-2); }
.dlist { list-style: none; margin: 0; padding: 0; display: grid; }
.ditem { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 11px 0; border-top: 1px solid var(--line-2); }
.ditem .due { padding: 7px 6px; border-radius: 3px; background: var(--shared-bg); color: var(--ink-2); text-align: center; }
.ditem .due.soon { background: var(--due-bg); color: var(--due); }
.ditem .due small { font-size: 11px; line-height: 1.15; }
.ditem .due b { font-family: var(--display); font-size: 15px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.dmain { display: grid; gap: 3px; min-width: 0; }
.dmain h2 { font-size: 15.5px; line-height: 1.3; font-family: var(--body); font-weight: 700; letter-spacing: 0; }
.meta { font-size: 12.5px; color: var(--ink-3); }
.tierq { justify-self: start; font-size: 12px; font-weight: 700; color: var(--shared); background: var(--shared-bg); border-radius: 3px; padding: 2px 9px; }
.dact { font-size: 13.5px; padding-top: 2px; white-space: nowrap; }
.dact a { display: inline-block; min-height: 24px; padding: 4px 0; }
.empty { padding: 12px 0; font-size: 14px; color: var(--ink-2); }
@media (max-width: 480px) { .ditem { grid-template-columns: 64px minmax(0, 1fr); } .dact { grid-column: 2; } }

.err { padding: 14px; font-size: 14px; color: var(--ink-2); border: 1.5px dashed var(--line); border-radius: 3px; background: var(--sheet); }

/* ---------- where it reaches: map snapshot ----------
   Yellow means one thing on every card: this decision reaches here. Solid = where it legally applies,
   dashed = a nearby effect with its own source. Never red or green, never a judgment. */
:root {
  --map-bg: #ece7da; --map-out: #ddd6c5; --map-line: #9d9480;
  --map-street: #fbfaf6; --map-case: #c9bfa8; --map-major: #ffffff; --map-major-case: #ab9f84;
  --map-hwy: #f4efe3; --map-hwy-case: #6f6c62; --map-label: #4a473f; --map-halo: #ece7da;
  --reach: #ffc81a; --reach-case: #2b2410; --reach-fill: rgba(255, 196, 0, .18); --reach-glow: #ffcf26;
  --pin: #0e5a3a; --pin-ring: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --map-bg: #1f1e1a; --map-out: #171613; --map-line: #5a564b;
    --map-street: #3a382f; --map-case: #2a2822; --map-major: #4a473c; --map-major-case: #2a2822;
    --map-hwy: #59554a; --map-hwy-case: #8f8a7d; --map-label: #c4bdac; --map-halo: #1f1e1a;
    --reach: #ffd23a; --reach-case: #000000; --reach-fill: rgba(255, 205, 40, .14); --reach-glow: #ffcc00;
    --pin: #7cc9a0; --pin-ring: #0f1a13;
  }
}
:root[data-theme="dark"] {
  --map-bg: #1f1e1a; --map-out: #171613; --map-line: #5a564b;
  --map-street: #3a382f; --map-case: #2a2822; --map-major: #4a473c; --map-major-case: #2a2822;
  --map-hwy: #59554a; --map-hwy-case: #8f8a7d; --map-label: #c4bdac; --map-halo: #1f1e1a;
  --reach: #ffd23a; --reach-case: #000000; --reach-fill: rgba(255, 205, 40, .14); --reach-glow: #ffcc00;
  --pin: #7cc9a0; --pin-ring: #0f1a13;
}
.reachmap { display: grid; gap: 8px; }
.reachmap > .eyebrow { color: var(--shared); }
.mapbox { position: relative; aspect-ratio: 16 / 10; max-width: 100%; border-radius: 3px; overflow: hidden; border: 1px solid var(--line); background: var(--map-bg); }
.mapbox svg { display: block; width: 100%; height: 100%; }
.mapbox .open { position: absolute; right: 8px; top: 8px; background: var(--sheet); color: var(--ink); border-radius: 3px; padding: 5px 9px 3px; font: 700 12.5px var(--display); text-decoration: none; box-shadow: 0 0 0 1px var(--line); }
.mapbox .open:hover { box-shadow: 0 0 0 2px var(--ink); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 22px; height: 0; border-top: 3px solid var(--reach); box-shadow: 0 0 0 1.5px var(--reach-case), 0 0 7px 2px var(--reach-glow); border-radius: 2px; }
.sw.d { border-top-style: dashed; box-shadow: none; }
.sw.p { width: 11px; height: 11px; border: 2.5px solid var(--pin-ring); border-radius: 50%; background: var(--pin); box-shadow: 0 0 0 1px var(--pin); }
.reachline { font-size: 14.5px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.fact { background: var(--sheet); border-radius: 3px; padding: 8px 10px 7px; display: grid; gap: 1px; align-content: start; }
.fact b { font-family: var(--display); font-weight: 800; font-size: 17px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.fact span { font-size: 12.5px; color: var(--ink-2); line-height: 1.3; }
.cac.compact .facts { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 520px) { .facts { grid-template-columns: minmax(0, 1fr); } }
.drawn { font-family: var(--mono); font-size: 11.5px; line-height: 1.5; color: var(--ink-2); }
.mine { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; background: var(--guide-bg); border-radius: 3px; padding: 8px 10px; }
.mine .mk { flex: none; font: 800 11px var(--display); letter-spacing: .04em; text-transform: uppercase; border-radius: 3px; padding: 3px 7px 2px; }
.mk.in { background: var(--reach); color: #2b2410; }
.mk.near { border: 1.5px dashed var(--ink-2); color: var(--ink); }
.mk.out { border: 1px solid var(--line); background: var(--sheet); color: var(--ink-2); }

/* svg classes; the snapshot carries class names only */
.mapbox .m-bg { fill: var(--map-bg); }
.mapbox .m-out { fill: var(--map-out); }
.mapbox .m-county { stroke: var(--map-line); stroke-width: 1; stroke-dasharray: 6 4 1 4; vector-effect: non-scaling-stroke; }
.mapbox [class^="c-"], .mapbox [class^="f-"] { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mapbox .c-minor { stroke: var(--map-case); stroke-width: 6.5; } .mapbox .f-minor { stroke: var(--map-street); stroke-width: 4.5; }
.mapbox .c-major { stroke: var(--map-major-case); stroke-width: 7; } .mapbox .f-major { stroke: var(--map-major); stroke-width: 5; }
.mapbox .c-minor { stroke: var(--map-case); stroke-width: 4; } .mapbox .f-minor { stroke: var(--map-street); stroke-width: 2.5; }
.mapbox .lbl.road { font-size: 22px; font-weight: 700; text-transform: none; letter-spacing: 0; fill: var(--ink-2); }
.dmaps .mapbox .chrome-t { font-size: 24px; }
.mapbox .c-hwy { stroke: var(--map-hwy-case); stroke-width: 9; } .mapbox .f-hwy { stroke: var(--map-hwy); stroke-width: 6; }
.mapbox .dot { fill: var(--ink); stroke: var(--map-bg); stroke-width: 2; vector-effect: non-scaling-stroke; }
.mapbox .lbl { font: 700 17px var(--display); letter-spacing: .05em; text-transform: uppercase; fill: var(--map-label); paint-order: stroke; stroke: var(--map-halo); stroke-width: 4px; stroke-linejoin: round; dominant-baseline: central; }
.mapbox .lbl.town { font-size: 21px; font-weight: 800; fill: var(--ink); }
.mapbox .lbl.faint { font-weight: 600; fill: var(--ink-3); text-anchor: middle; }
.mapbox .shield path { fill: var(--ink-2); }
.mapbox .shield text { font: 900 15px var(--display); fill: var(--sheet); text-anchor: middle; dominant-baseline: central; }
.mapbox .chrome rect, .mapbox .chrome path { fill: var(--ink-2); }
.mapbox .chrome-t { font: 600 12px var(--mono); fill: var(--ink-2); paint-order: stroke; stroke: var(--map-halo); stroke-width: 3px; }
.mapbox .r-fill { fill: var(--reach-fill); }
.mapbox .r-glow { fill: none; stroke: var(--reach-glow); stroke-width: 15; vector-effect: non-scaling-stroke; opacity: .75; stroke-linejoin: round; }
.mapbox .r-case { fill: none; stroke: var(--reach-case); stroke-width: 7; vector-effect: non-scaling-stroke; stroke-linejoin: round; opacity: .85; }
.mapbox .r-line { fill: none; stroke: var(--reach); stroke-width: 3.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.mapbox .n-fill { fill: var(--reach-fill); opacity: .45; }
.mapbox .n-case { fill: none; stroke: var(--reach-case); stroke-width: 5; stroke-dasharray: 7 6; vector-effect: non-scaling-stroke; opacity: .55; }
.mapbox .n-line { fill: none; stroke: var(--reach); stroke-width: 2.8; stroke-dasharray: 7 6; vector-effect: non-scaling-stroke; }
.mapbox .you-ring { fill: var(--sheet); stroke: var(--ink); stroke-width: 3; }
.mapbox .you-dot { fill: var(--ink); }
.mapbox .lbl.you-t { fill: var(--ink); font-size: 20px; font-weight: 800; }
.mapbox .pin-c { fill: var(--pin); stroke: var(--pin-ring); stroke-width: 3; vector-effect: non-scaling-stroke; }
.mapbox .pin-h { fill: none; stroke: var(--pin); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: .5; }
.cac.compact .mapbox .lbl.minor, .cac.where .mapbox .lbl, .cac.where .mapbox .chrome, .cac.where .mapbox .shield { display: none; }
.cac.compact .mapbox .lbl.town { font-size: 34px; }
.cac.compact .mapbox .chrome-t { font-size: 22px; }
.reach-g { animation: reachin 1.8s ease-out both; }
@keyframes reachin { 0% { opacity: 0; } 35% { opacity: 1; } 60% { opacity: .7; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .reach-g { animation: none; } }

/* map strip: its own small card */
.cac.where { border-width: 1.5px; border-radius: 3px; }
.where-row { display: flex; gap: 12px; align-items: center; padding: 8px; }
.where-row .mapbox { flex: none; width: 112px; aspect-ratio: auto; height: 70px; }
.where-row .grow { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; font-size: 14px; }
.where-row .brand { display: inline-flex; gap: 6px; align-items: center; color: var(--guide); font-family: var(--display); font-weight: 800; font-size: 12.5px; text-decoration: none; }
@media (max-width: 420px) { .where-row .mapbox { width: 84px; height: 53px; } }

/* Decisions ahead map: numbered pins match the list. A lit pin or row is drawn in ink: yellow is kept for "reaches here". */
.ahead-grid { display: grid; gap: 12px; }
@media (min-width: 640px) {
  .ahead-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; gap: 18px; }
  .ahead-grid > figure { order: 2; }
  .ahead-map { position: sticky; top: 8px; }
}
.ahead-map { margin: 0; display: grid; gap: 6px; }
.ahead-map .mapbox svg { display: block; width: 100%; height: 100%; }
.ahead .mapbox .lbl.town { font-size: 30px; }
.apin { cursor: pointer; outline: none; }
.apin-glow { fill: none; stroke: var(--ink); stroke-width: 4; opacity: 0; transition: opacity .15s; }
.apin-c { fill: var(--ink); stroke: var(--map-bg); stroke-width: 4; transition: transform .15s; }
.apin-n { font: 800 22px var(--display); fill: #ffffff; pointer-events: none; }
.ahead-map.lit .apin:not(.on) { opacity: .45; }
.apin.on .apin-glow { opacity: 1; }
.apin.on .apin-c { fill: var(--ink); stroke: var(--sheet); transform: scale(1.12); }
.apin.on .apin-n { fill: var(--sheet); }
.ditem { cursor: pointer; border-radius: 3px; transition: background .15s; }
.ditem.on { background: var(--raise); box-shadow: inset 3px 0 0 var(--ink); }
.ditem:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.ditem .due { display: grid; gap: 2px; justify-items: center; }
.ditem .num { font: 800 12px var(--display); width: 20px; height: 20px; border-radius: 50%; background: var(--sign); color: #fff; display: grid; place-items: center; }
.ditem.on .num { background: var(--ink); color: var(--sheet); }
@media (prefers-reduced-motion: reduce) { .apin-glow, .apin-c, .ditem { transition: none; } }

/* Who governs this address: /who and /embed/who */
.cac.who .wform { display: grid; gap: 6px; }
.wrow { display: flex; gap: 8px; }
.wrow input { flex: 1 1 auto; min-width: 0; font: 16px var(--body); padding: 10px 12px; border-radius: 3px; border: 1.5px solid var(--ink-3); background: var(--sheet); color: var(--ink); }
.wrow input:focus { border-color: var(--ink); outline: none; }
.wrow input:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.wout { display: grid; gap: 12px; }
.wfound { font-size: 15px; }
.wlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wbody { border: 1px solid var(--line); border-left: 4px solid var(--sign); border-radius: 3px; padding: 12px; display: grid; gap: 8px; background: var(--sheet); }
.wbody h2 { font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1.2; }
.wnext { background: var(--shared-bg); border-radius: 3px; padding: 10px; display: grid; gap: 3px; font-size: 14.5px; }
.wnext b { font-family: var(--display); font-weight: 800; font-size: 16px; }
.wnext .btnrow { margin-top: 6px; }
.wnext.none { color: var(--ink-2); }
.wlinks { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; }
.wlinks:empty { display: none; }
.wmap { margin: 0; display: grid; gap: 6px; }
.wmap iframe { width: 100%; height: 340px; border: 1px solid var(--line); border-radius: 3px; display: block; background: var(--map-bg); }
.who-thanks { display: grid; gap: 10px; margin-top: 8px; }

/* ---------- how to weigh in (/embed/weigh-in) and open seats (/embed/seats) ---------- */
body.page { background: var(--raise); }
/* Inside a news site's page, let the host page show through, like every other embed. */
html.framed body.page { background: transparent; }
body.page main { max-width: 760px; margin: 0 auto; padding: 16px; }
.kit-sec { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.kit-sec h2, .seat h2 { font-family: var(--display); font-weight: 800; font-size: 17px; line-height: 1.2; }
.kit-sec ul, .kit-sec ol, .seat ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14.5px; }
.kit-sec p { font-size: 14.5px; }
.kit-sec .small, .seat .small { font-size: 12.5px; }
ol.kit-dates { list-style: none; padding: 0; gap: 8px; }
.kit-date { display: grid; gap: 2px; padding: 10px 12px; border-radius: 3px; background: var(--due-bg); }
.kit-date b { color: var(--due); font-family: var(--display); }
.kit-date.past { background: var(--shared-bg); }
.kit-date.past b { color: var(--shared); }
.seats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.seat { border: 1px solid var(--line); border-left: 4px solid var(--guide); border-radius: 3px; padding: 12px; display: grid; gap: 8px; background: var(--sheet); }
.seat .deadline { justify-self: start; padding: 4px 10px; border-radius: 3px; font-size: 12.5px; font-weight: 700; background: var(--due-bg); color: var(--due); }
.seat dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 12px; font-size: 14px; }
.seat dt { font-weight: 700; color: var(--ink-2); }
.seat dd { margin: 0; }
.seat > p { font-size: 14.5px; }
@media (max-width: 480px) { .seat dl { grid-template-columns: minmax(0, 1fr); } .seat dd { margin-bottom: 4px; } }
@media print {
  body.page { background: #fff; }
  body.page main { padding: 0; }
  .noprint, .cac-head .dom { display: none; }
  .cac { border-width: 1px; }
}
/* what a body is, on the who lookup: the ballot answer up front, the rest on tap */
.wabout > summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 13.5px; }
.wabout > summary::-webkit-details-marker { display: none; }
.wballot { font-weight: 700; padding: 2px 8px; border-radius: 3px; background: var(--shared-bg); color: var(--ink); }
.wballot.elected { background: var(--guide-bg); color: var(--guide); }
.wwhat { color: var(--link); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.wwhat::after { content: " \25BE"; text-decoration: none; display: inline-block; margin-left: 2px; }
.wabout[open] .wwhat::after { content: " \25B4"; }
.wabout dl { margin: 10px 0 6px; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 12px; font-size: 14px; }
.wabout dt { font-weight: 700; color: var(--ink-2); }
.wabout dd { margin: 0; }
.wabout .small { font-size: 12px; }
@media (max-width: 480px) { .wabout dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .wabout dd { margin-bottom: 6px; } }
.wseat { display: grid; gap: 3px; padding: 10px 12px; border-radius: 3px; background: var(--guide-bg); }
.wseat .eyebrow { color: var(--guide); }

/* ---------- recently decided (/embed/decided): the after-the-vote card ---------- */
.dcards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dcard { border: 1px solid var(--line); border-left: 4px solid var(--done); border-radius: 3px; padding: 12px; display: grid; gap: 8px; background: var(--sheet); transition: background .15s; }
.dcard.on { background: var(--raise); box-shadow: inset 3px 0 0 var(--ink); }
.dcard h2 { font-family: var(--display); font-weight: 800; font-size: 17px; line-height: 1.25; text-wrap: balance; }
.dcard dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 12px; font-size: 14px; }
.dcard dl:empty { display: none; }
.dcard dt { font-weight: 700; color: var(--ink-2); }
.dcard dd { margin: 0; }
.dtop { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dtop .num { font: 800 12px var(--display); width: 22px; height: 22px; border-radius: 50%; background: var(--sign); color: #fff; display: grid; place-items: center; }
.dcard.on .dtop .num { background: var(--ink); color: var(--sheet); }
.tierq.c { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.tierd { font-size: 12px; font-weight: 700; color: var(--ink-3); border: 1px dashed var(--line); border-radius: 3px; padding: 1px 8px; }
.dvotes { display: grid; gap: 4px; background: var(--done-bg); border-radius: 3px; padding: 10px 12px; }
.dvotes .eyebrow { color: var(--done); }
.dvotes > b { font-family: var(--display); font-size: 15px; }
.dcard .sides { background: var(--shared-bg); border-radius: 3px; padding: 10px; }
.dcard .sides > .eyebrow { color: var(--shared); }
.srcs { display: flex; flex-wrap: wrap; gap: 2px 0; }
.dmap { margin: 0; }
.dmap.lit .apin:not(.on) { opacity: .45; }
.routine { display: grid; gap: 8px; }
.rgroup { display: grid; gap: 4px; padding: 8px 0; border-top: 1px solid var(--line-2); }
.rgroup ul { margin: 0; padding-left: 20px; display: grid; gap: 2px; font-size: 14px; }
@media (max-width: 480px) { .dcard dl { grid-template-columns: minmax(0, 1fr); } .dcard dd { margin-bottom: 4px; } }
@media (prefers-reduced-motion: reduce) { .dcard { transition: none; } }

/* recently decided on a body in the who lookup */
.wdec { display: grid; gap: 4px; padding: 10px 12px; border-radius: 3px; background: var(--done-bg); }
.wdec > .eyebrow { color: var(--done); }
.wdec ul { margin: 0; padding-left: 18px; display: grid; gap: 3px; font-size: 14px; }
.wdec .small { font-size: 12px; }

/* ---------- shared pieces (embed/ui.js) ---------- */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* "Do this by" plate: cone orange only within 14 days, plain ink further out */
.plate { justify-self: start; display: inline-grid; grid-template-columns: auto auto; gap: 0 12px; align-items: baseline; border-radius: 4px; padding: 7px 12px 6px; margin: 0; }
.plate .pl-k { grid-column: 1 / -1; font: 800 11.5px var(--display); letter-spacing: .06em; text-transform: uppercase; }
.plate .pl-d { font-family: var(--display); font-weight: 800; font-size: 16px; }
.plate .pl-n { font: 700 13px var(--mono); font-variant-numeric: tabular-nums; }
.plate.soon { background: var(--due); color: var(--due-ink); }
.plate.far { background: var(--sheet); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
/* The route: one mile marker per stage */
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.route li { position: relative; display: grid; gap: 2px; justify-items: center; text-align: center; padding: 0 3px; font-size: 12px; line-height: 1.25; color: var(--ink-3); }
/* Each stage draws the stretch of road that leads into it, from the previous marker's center to its own. A stretch
   already travelled (into a past, current or decided stage) is dark; one still ahead is light. The first stage has
   nothing leading in. Markers sit above the road so it runs marker to marker. */
.route li::before { content: ""; position: absolute; top: 8px; left: -50%; right: 50%; height: 3px; background: var(--line); z-index: 0; }
.route li:first-child::before { display: none; }
.route li.past::before, .route li.now::before, .route li.done::before { background: var(--ink-3); }
.rt-m { position: relative; z-index: 1; width: 19px; height: 19px; border-radius: 3px; background: var(--sheet); box-shadow: inset 0 0 0 2px var(--ink-3); display: grid; place-items: center; color: #fff; }
.route li.past .rt-m { background: var(--ink-2); box-shadow: none; }
.route li.now .rt-m { background: var(--sign); box-shadow: 0 0 0 2px var(--sheet), 0 0 0 4px var(--sign); }
.route li.done .rt-m { background: var(--done); box-shadow: none; }
.rt-l { font-weight: 700; color: var(--ink-2); }
.route li.now .rt-l { color: var(--guide); }
.route li.done .rt-l { color: var(--done); }
.rt-d { font-family: var(--mono); font-size: 11px; }
.rt-speak { vertical-align: -2px; margin-left: 3px; color: var(--ink-3); }
.rt-dots { display: flex; align-items: center; gap: 4px; margin: 0; font-size: 12.5px; color: var(--ink-2); }
.rt-dots i { width: 9px; height: 9px; border-radius: 2px; box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.rt-dots i.past { background: var(--ink-2); box-shadow: none; }
.rt-dots i.now { background: var(--sign); box-shadow: none; width: 12px; height: 12px; }
.rt-dots i.done { background: var(--done); box-shadow: none; }
.rt-dots span { margin-left: 6px; }
/* Vote tally: squares in last-name order, never colored by yes or no */
.trow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.trow > b { font-family: var(--display); font-size: 15px; }
.tally { display: inline-flex; gap: 3px; }
.tv { position: relative; width: 20px; height: 20px; border-radius: 2px; display: grid; place-items: center; font: 800 11px var(--display); font-style: normal; }
.tv.y { background: var(--ink); color: var(--sheet); }
.tv.n { box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.tv.a { box-shadow: inset 0 0 0 1.5px var(--ink-3); color: var(--ink-3); border: 0; outline: 1.5px dotted var(--ink-3); outline-offset: -1.5px; }
.tv.mv::after { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 7px 7px 0; border-color: transparent var(--done) transparent transparent; }
.tnames > summary { cursor: pointer; font-size: 12.5px; color: var(--ink-2); }
.tnames[open] > summary { margin-bottom: 6px; }
/* Links between tools */
.tools { display: flex; flex-wrap: wrap; gap: 2px 8px; border-top: 1px solid var(--line-2); padding-top: 10px; }
.tools span { color: var(--ink-3); }
.tools a { color: var(--guide); font-weight: 700; }
/* Site bar on pages opened directly */
.sitebar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 10px 16px; background: var(--sign); color: #fff; }
.sitebar a { color: #fff; text-decoration: none; }
.sb-logo { display: inline-flex; gap: 8px; align-items: center; }
.sb-logo b { font-family: var(--display); font-weight: 900; font-size: 16px; }
.sitebar nav { display: flex; flex-wrap: wrap; gap: 4px 14px; font: 700 14px var(--display); margin-left: auto; }
.sitebar nav a { padding: 2px 0; border-bottom: 2px solid transparent; }
.sitebar nav a[aria-current="page"], .sitebar nav a:hover { border-bottom-color: #fff; }
@media (max-width: 520px) { .sitebar nav { margin-left: 0; width: 100%; font-size: 13.5px; } }
/* An approximate spot (one decision's map): a yellow diamond (this decision reaches about here), cased dark so it
   reads on the pale map, with a dark center dot. No boundary is drawn, since the notice gives none. */
.spot-d { fill: var(--reach); stroke: var(--reach-case); stroke-width: 5; paint-order: stroke; filter: drop-shadow(0 0 5px var(--reach-glow)); }
.spot-c { fill: var(--reach-case); }
/* Results not posted yet */
.pending { border: 1.5px dashed var(--shared); border-radius: 3px; padding: 10px 12px; display: grid; gap: 6px; }
.pending ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; }
.pending > .eyebrow { color: var(--shared); }
.dsum { font-size: 14.5px; }
.dcard details.more > summary { font-size: 13.5px; }
.dmore { display: grid; gap: 8px; }
.act { display: grid; gap: 4px; font-size: 13.5px; }
.act-line { font-size: 13.5px; color: var(--ink); }
.dcard h2 a.dlink { color: inherit; text-decoration: none; }
.dcard h2 a.dlink:hover { text-decoration: underline; text-underline-offset: 3px; }
/* ---------- one decision's page (/d/<id>) ---------- */
.dpage { max-width: 760px; margin: 0 auto; padding: 18px 16px 48px; display: grid; gap: 16px; }
.dhead { display: grid; gap: 6px; }
.dhead h1 { font-family: var(--display); font-weight: 900; font-size: clamp(24px, 5vw, 34px); line-height: 1.1; letter-spacing: -.01em; text-wrap: balance; }
.dsec { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.dsec > h2 { font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1.2; }
.dsec p, .dsec li { font-size: 15px; }
.devents { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.devent { display: grid; gap: 2px; padding: 10px 12px; border-radius: 3px; background: var(--shared-bg); font-size: 14.5px; }
.devent b { font-family: var(--display); }
.devent.soon { background: var(--due-bg); }
.devent.soon b { color: var(--due); }
.dpage .dmap { max-width: 520px; }
.dpage dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 14px; font-size: 15px; }
.dpage dt { font-weight: 700; color: var(--ink-2); }
.dpage dd { margin: 0; }
@media (max-width: 480px) { .dpage dl { grid-template-columns: minmax(0, 1fr); } .dpage dd { margin-bottom: 6px; } }
.permalink { font-family: var(--mono); font-size: 12px; color: var(--ink-3); word-break: break-all; }
.kit-when { font-size: 14px; font-weight: 700; color: var(--ink); background: var(--raise); border-radius: 3px; padding: 8px 10px; }
.seat-top { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.seat .deadline.far { background: var(--shared-bg); color: var(--ink-2); }

/* ---------- round-two fixes: focus, skip link, tap targets, asides, print ---------- */
.sitebar a:focus-visible, .cac-head a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 10; background: var(--sheet); color: var(--ink); padding: 8px 12px; border-radius: 3px; font-weight: 700; }
.skip:focus { top: 8px; }
.sitebar nav a { min-height: 24px; display: inline-flex; align-items: center; }
summary { min-height: 24px; padding-block: 2px; }
a.cite, .linkbtn, .tools a { display: inline-block; min-height: 24px; padding-block: 3px; }
.asides { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13.5px; color: var(--ink-2); }
.asides b { color: var(--ink); }
.ailine b { color: var(--ink-2); }
.dabout { margin-top: -4px; }
a.dlink { color: inherit; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: var(--line); }
a.dlink:hover { text-decoration-color: currentColor; }
.sorter { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sorter .textbtn { border: 1px solid var(--line); background: var(--sheet); border-radius: 3px; padding: 3px 10px; min-height: 28px; font-size: 13px; }
.sorter .textbtn[aria-pressed="true"] { border-color: var(--ink); font-weight: 700; }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.witems { margin: 2px 0 0; padding-left: 18px; }
.printonly { display: none; }
@media print { .printonly { display: block; } a.cite::after { content: " (" attr(href) ")"; word-break: break-all; } }
.ditem h2, .dcard h2 { overflow-wrap: anywhere; }

/* Decision page "Where": up-close parcel map beside the county map */
.dmaps { display: grid; gap: 12px; }
@media (min-width: 720px) { .dmaps { grid-template-columns: 1fr 1fr; } }
.dmap .sw { display: inline-block; vertical-align: middle; margin-right: 4px; }
.youline { margin-top: 8px; }
button.linkbtn { font: inherit; font-weight: 600; cursor: pointer; }

/* opt-in: remember this address's map point on this device */
.remember { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 6px; font-size: 14.5px; line-height: 1.45; cursor: pointer; }
.remember input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--ink, #1d1c19); }

/* Decisions ahead: "We watch…" list of bodies */
.watch { margin: 14px 0 6px; border-top: 1px solid var(--rule, #d8d2c3); padding-top: 10px; }
.watch summary { cursor: pointer; font-family: var(--display); font-weight: 800; min-height: 24px; }
.watch-k h2 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 12px 0 4px; color: var(--ink-2); }
.watch-k ul { margin: 0; padding-left: 18px; columns: 2 260px; column-gap: 24px; }
.watch-k li { break-inside: avoid; margin: 2px 0; font-size: 14.5px; }
.watch-k li a.linkbtn { display: inline; padding: 0; font-weight: 400; }

/* /who: who sits on a body */
.wmembers { display: grid; gap: 2px; margin: 8px 0; }
.wmembers p { margin: 0; }
/* Decision page maps sit at half width on a phone, so their words are drawn larger. */
.dmap .mapbox .lbl, .dmap .mapbox .lbl.town { font-size: 30px; }
.dmap .mapbox .lbl.road { font-size: 30px; stroke-width: 6px; }
.dmap .mapbox .chrome-t { font-size: 26px; }
.howfar { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.howfar label { flex-basis: 100%; }
.howfar input { flex: 1 1 200px; min-width: 0; font: inherit; padding: 8px 10px; border: 1.5px solid var(--ink, currentColor); border-radius: 4px; background: var(--sheet, transparent); color: inherit; }
.howfar .small { flex-basis: 100%; }
.waiting { margin: 14px 0 4px; border-top: 1px solid var(--rule, #d8d2c3); padding-top: 10px; }
.waiting ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.waiting li { display: grid; gap: 2px; }
/* A decision page printed to bring to a hearing: no site bar, buttons, or countdowns that are wrong tomorrow. */
@media print {
  .sitebar, .skip, .tools, form.howfar, .share, [data-forget], .pl-n, .dpage .moreline { display: none !important; }
  .dsec, .devent, .dmaps, figure, .side { break-inside: avoid; }
  h1, h2, .eyebrow { break-after: avoid; }
}
.calline { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.calline .small { flex: 1 1 18em; }
ul.news { display: grid; gap: 6px; padding-left: 1.1em; }
@media print { .calline { display: none !important; } }

sup.tm { font-size: .5em; font-weight: 400; vertical-align: super; line-height: 0; margin-left: 1px; letter-spacing: 0; }
.brand > sup.tm { margin-left: -5px; align-self: flex-start; line-height: 1; }

/* ---------- visual pass (Nov 2026), on civicagent.org pages only; embeds inside news sites keep their layout ---------- */
/* /d/<id>: questions are one line each, answers open on tap; "worth knowing" as short cards */
.openq.qa { gap: 0; font-size: 15px; }
.openq.qa li { padding: 9px 0; border-top: 1px solid var(--line-2); align-items: start; }
.openq.qa li:first-child { border-top: 0; }
.openq.qa details { flex: 1; min-width: 0; }
.openq.qa summary { cursor: pointer; list-style: none; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.openq.qa summary::-webkit-details-marker { display: none; }
.openq.qa summary::after { content: "Answer \25BE"; flex: none; font: 700 12.5px var(--display); color: var(--link); padding-top: 3px; }
.openq.qa details[open] summary::after { content: "Hide \25B4"; }
.openq.qa details p { margin-top: 6px; }
.openq.qa .qmiss { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 3px; background: var(--shared-bg); font-weight: 700; }
.flagcards { list-style: none; padding: 0 !important; display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px !important; }
.flagcards li { padding: 10px 12px; border: 1px solid var(--line); border-left: 4px solid var(--due); border-radius: 4px; background: var(--raise); font-size: 14.5px; }
.flagcards .small { display: block; margin-top: 4px; }

/* /ahead as a page: the map first and wide, then the decisions as cards */
body.page main:has(.ahead) { max-width: 1120px; }
body.page .ahead .ahead-grid { grid-template-columns: minmax(0, 1fr); }
body.page .ahead .ahead-grid > figure { order: -1; }
body.page .ahead .mapbox { aspect-ratio: 21 / 9; }
body.page .ahead .dlist { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
body.page .ahead .ditem { grid-template-columns: 76px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 8px; background: var(--sheet); padding: 14px; }
body.page .ahead .ditem .dact { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 16px; padding-top: 8px; border-top: 1px solid var(--line-2); white-space: normal; }
body.page .ahead .ditem .dact br { display: none; }
body.page .ahead .dmain h2 { font-size: 17px; }
@media (max-width: 600px) { body.page .ahead .mapbox { aspect-ratio: 16 / 10; } body.page .ahead .dlist { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 900px) {
  body.page .ahead .mapbox .lbl.town { font-size: 18px; }
  body.page .ahead .mapbox .lbl.road { font-size: 15px; }
  body.page .ahead .apin-n { font-size: 17px; }
}

/* "Where it stands now": the one-line status strip for a news story */
.st-strip .st-meta { padding: 0 12px 8px; }
.st-strip .strip-row { padding-bottom: 6px; }

/* "What it costs": one decision's even-split calculator; the math runs on the page, nothing is stored */
.cc-plans { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.cc-plan { display: grid; gap: 2px; padding: 10px 12px; background: var(--raise); border-left: 4px solid var(--shared); border-radius: 3px; }
.cc-plan b { font-family: var(--display); font-size: 14.5px; }
.cc-num { font-size: 14px; color: var(--ink-2); }
.cc-big { font-family: var(--display); font-weight: 900; font-size: 26px; color: var(--ink); font-variant-numeric: tabular-nums; margin-right: 4px; }
.cc-sub { font-size: 13.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cc .valrow input { flex: 0 1 7em; font-size: 18px; }
.cc .valform > *, .cc .cac-body > * { min-width: 0; }
.cc .valrow select { flex: 1 1 100%; width: 100%; min-width: 0; padding: 9px 11px; border: 1px solid var(--line); border-radius: 3px; background: var(--sheet); color: var(--ink); font: inherit; }
.wb-table summary { cursor: pointer; font-size: 14px; }
.wb-table ul { margin: 6px 0 0; padding-left: 18px; }
/* "Wrote about this? Add your story" on decision pages. */
.addstory summary { cursor: pointer; font-size: 15px; color: var(--ink-2, #3a3833); }
.addstory form { display: grid; gap: 8px; margin-top: 8px; max-width: 30rem; }
.addstory label { display: grid; gap: 3px; font-size: 14px; font-weight: 700; }
.addstory input { font: inherit; font-weight: 400; font-size: 16px; padding: 8px 9px; border: 1.5px solid var(--line, #cdc6b5); border-radius: 3px; background: #fff; min-width: 0; }
.addstory button { justify-self: start; }

/* The host newsroom's own newsletter link (embed.js data-newsletter): one quiet line under the piece, theirs, not ours. */
.nl-line { margin: 6px 2px 0; font-family: var(--body); font-size: 14px; line-height: 1.4; }
.nl-line a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; padding: 4px 0; }
.nl-line a:hover { color: var(--ink); text-decoration-color: currentColor; }
.nl-line svg { flex: none; color: var(--ink-3); }
