/* GovMeet demo, look v2 (Nov 8).
   One idea carries the brand: an agenda with the line that matters marked in highlighter yellow.
   Our words are set in Public Sans (the US government's own typeface); the government's words, quoted from
   agendas and minutes, in Source Serif 4, so a reader always sees which is which. */
:root {
  --ink: #13233c;        /* text and primary buttons: 15:1 on white */
  --ink-2: #4b5870;      /* secondary text: 7:1 on white */
  --ink-3: #6b7689;      /* quiet notes, never body text */
  --line: #dfe4eb;
  --surface: #f3f5f8;
  --paper: #ffffff;
  --marker: #ffe14d;     /* the found line, the facts we mark */
  --marker-soft: #fff4b8;
  --green: #0f6b47; --green-bg: #e2f3ea;
  --amber: #8f4700; --amber-bg: #ffefd2;
  --red: #b42318; --red-bg: #fde6e4;
  --blue: #1f4fc8; --blue-bg: #e3ebff;
  --slate: #4b5870; --slate-bg: #eceff3;
  --c95: #0f6b47; --c90: #4fad80; --c80: #a7d9bd; --c0: #dff1e7; --cnext: #f1f3f6;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 1120px;
  --r-card: 12px;
  --r-sheet: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.6 var(--sans);
  font-feature-settings: "tnum" 0; padding-bottom: 64px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--marker); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 5.2vw, 56px); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.lede { font-size: 1.25rem; line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-2); }
.small { font-size: 0.875rem; line-height: 1.5; }
.num { font-variant-numeric: tabular-nums; }
.stack > * + * { margin-top: 16px; }
.section { padding: 96px 0; }
.section.tint { background: var(--surface); }
.section-head { max-width: 40em; margin-bottom: 32px; }
.section-head p { margin-top: 12px; color: var(--ink-2); font-size: 1.125rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.25rem; text-decoration: none; letter-spacing: -0.01em; }
.brand svg { width: 26px; height: 26px; }
.top nav { display: flex; gap: 24px; font-size: 1rem; color: var(--ink-2); }
.top nav a { text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); text-decoration: underline; }
.top .right { margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: 1rem; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 0.875rem; font-weight: 700; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 24px;
  border-radius: 8px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: 600 1rem/1 var(--sans);
  text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: #0a1729; text-decoration: none; }
.btn.light { background: var(--paper); color: var(--ink); border-color: #c6cdd8; }
.btn.light:hover { border-color: var(--ink); background: var(--paper); }
.btn.sm { height: 36px; padding: 0 16px; font-size: 0.875rem; border-radius: 8px; }
.textlink { font-weight: 600; }

/* email capture */
.capture { display: flex; gap: 12px; flex-wrap: wrap; max-width: 520px; }
.capture input { flex: 1 1 240px; height: 46px; border: 1px solid #c6cdd8; border-radius: 8px; padding: 0 16px;
  font: 400 1rem var(--sans); color: var(--ink); background: #fff; }
.capture input:focus { outline: 3px solid var(--marker); outline-offset: 1px; border-color: var(--ink); }
input, select { font-family: var(--sans); }

/* the agenda sheet: paper, item numbers in the margin, the government's words in serif */
.sheet { background: #fff; border: 1px solid #d5dbe4; border-radius: var(--r-sheet);
  box-shadow: 0 1px 0 #d5dbe4, 0 22px 40px -24px rgba(19, 35, 60, .35); padding: 24px 0 16px; }
.sheet-head { padding: 0 24px 16px; border-bottom: 1px solid var(--line); font: 600 0.875rem/1.4 var(--sans); color: var(--ink-2); }
.sheet-head strong { display: block; color: var(--ink); font-size: 0.875rem; }
.item { display: grid; grid-template-columns: 52px 1fr; padding: 8px 24px 8px 0; font: 400 1rem/1.55 var(--serif); color: #5d6878; }
.item .n { text-align: right; padding-right: 16px; font: 600 0.875rem/1.9 var(--sans); color: var(--ink-3); }
.item.dim { color: #6b7689; }
.item.hit { color: var(--ink); }
.bar { display: block; height: 9px; margin: 8px 0; border-radius: 4px; background: #e6eaf0; }
.mark { background: linear-gradient(transparent 8%, var(--marker) 8%, var(--marker) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 2px; }
.sweep .mark { background-size: 0% 100%; background-repeat: no-repeat; animation: sweep 1.1s .5s cubic-bezier(.3,.7,.3,1) forwards; }
@keyframes sweep { to { background-size: 100% 100%; } }
@media (prefers-reduced-motion: reduce) { .sweep .mark { animation: none; background-size: 100% 100%; } }
.fact { border-bottom: 2px solid var(--ink); font-weight: 600; }

/* notes pinned to the sheet: what we pull out of the line */
.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 16px 24px 0 48px;
  border-top: 1px solid var(--line); }
.notes div { padding: 12px 0 2px; }
.notes dt { font-size: 0.875rem; color: var(--ink-2); }
.notes dd { margin: 2px 0 0; font-weight: 600; font-size: 1rem; }

/* stage of a case: color always comes with words */
.stage { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 12px; border-radius: 999px;
  font: 600 0.875rem/1 var(--sans); white-space: nowrap; }
.stage::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stage.vote { color: var(--amber); background: var(--amber-bg); }
.stage.ok { color: var(--green); background: var(--green-bg); }
.stage.no { color: var(--red); background: var(--red-bg); }
.stage.out { color: var(--slate); background: var(--slate-bg); }
.stage.cont { color: var(--blue); background: var(--blue-bg); }
.tag { display: inline-block; font: 500 0.875rem/1 var(--sans); color: var(--ink-2); border: 1px solid var(--line);
  border-radius: 8px; padding: 4px 8px; background: #fff; }

/* a case row: date, what and where, acres: the number a land buyer scans for */
.cases { border-top: 1px solid var(--line); }
.case { display: grid; grid-template-columns: 76px minmax(0, 1fr) 120px; gap: 24px; padding: 24px 0;
  border-bottom: 1px solid var(--line); align-items: start; }
.case .when { font-size: 0.875rem; color: var(--ink-2); line-height: 1.25; }
.case .when b { display: block; font-size: 1.5rem; color: var(--ink); font-weight: 800; line-height: 1.05; }
.case .where { font-size: 0.875rem; color: var(--ink-2); }
.case h3 { margin: 3px 0 8px; font-size: 1.125rem; line-height: 1.35; }
.case .meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 8px; font-size: 0.875rem; }
.case .acres { text-align: right; }
.case .acres b { display: block; font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.05; }
.case .acres span { font-size: 0.875rem; color: var(--ink-2); }
.case.selected { background: linear-gradient(90deg, var(--marker-soft), transparent 70%); }

/* coverage tile map */
.tiles { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 4px; }
.tile { aspect-ratio: 1; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font: 700 0.875rem/1.1 var(--sans); color: var(--ink); background: var(--cnext); text-decoration: none; }
.tile small { font-weight: 500; font-size: 0.75rem; margin-top: 2px; }
.tile.t95 { background: var(--c95); color: #fff; }
.tile.t90 { background: var(--c90); color: #0b2a1c; }
.tile.t80 { background: var(--c80); color: #0b2a1c; }
.tile.t0 { background: var(--c0); color: #0b2a1c; }
.tile.next { color: var(--ink-3); background: var(--cnext); outline: 1px dashed #c6cdd8; outline-offset: -1px; }
.tile.on { box-shadow: 0 0 0 3px var(--marker), 0 0 0 4px var(--ink); }
.tiles.mini .tile { border-radius: 4px; font-size: 0.75rem; }
.tiles.mini .tile small { display: none; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: 0.875rem; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
@media (max-width: 640px) { .tile small { display: none; } .tile { font-size: 0.75rem; } }

/* plain lists of facts */
.facts { display: grid; grid-template-columns: 130px 1fr; gap: 12px 16px; margin: 0; font-size: 1rem; }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; font-weight: 600; }
.panel .facts { grid-template-columns: 92px 1fr; }

/* quotes from agendas and minutes */
.source { font: 400 1.125rem/1.65 var(--serif); color: var(--ink); background: #fff; border-left: 3px solid var(--marker);
  padding: 4px 0 4px 16px; }
.source-cap { margin-top: 12px; font-size: 0.875rem; color: var(--ink-2); }

/* panels and boxes */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; }
.panel.tint { background: var(--surface); border-color: transparent; }
.callout { background: var(--marker-soft); border-radius: var(--r-card); padding: 24px 24px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.plan { border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px; background: #fff; display: flex; flex-direction: column; }
.plan.main { border: 2px solid var(--ink); }
.plan .price { font-size: 2.25rem; font-weight: 800; margin: 12px 0 2px; letter-spacing: -0.02em; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 24px; flex: 1; }
.plan li { padding: 8px 0 8px 24px; position: relative; font-size: 1rem; border-top: 1px solid var(--line); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

/* questions */
details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: 1.125rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--ink-2); }
details[open] summary::after { content: "–"; }
details p { margin-top: 12px; color: var(--ink-2); max-width: 46em; }

/* app shell (feed, search) */
.app { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: calc(100vh - 64px); }
.side { border-right: 1px solid var(--line); padding: 24px 16px; font-size: 1rem; background: var(--surface); }
.side h4 { margin: 24px 0 8px; font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.side h4:first-child { margin-top: 0; }
.side a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; }
.side a:hover { background: #e6eaf0; }
.side a[aria-current] { background: #fff; font-weight: 600; box-shadow: inset 3px 0 0 var(--ink); }
.main { padding: 32px 32px 64px; min-width: 0; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 24px 0 0; }
.tabs a { padding: 12px 16px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 1rem; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current] { color: var(--ink); border-color: var(--ink); }
.day { font-size: 0.875rem; font-weight: 700; padding: 24px 0 8px; color: var(--ink); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.sticky { position: sticky; top: 88px; }

/* demo switcher */
.demo-nav { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 50; display: flex; gap: 2px;
  padding: 4px; background: var(--ink); border-radius: 12px; max-width: calc(100vw - 20px); overflow-x: auto;
  box-shadow: 0 10px 30px -10px rgba(19, 35, 60, .5); }
.demo-nav span { color: var(--marker); font: 700 0.75rem/30px var(--sans); padding: 0 12px; }
.demo-nav a { color: #c9d2e0; font: 500 0.875rem/30px var(--sans); padding: 0 12px; border-radius: 8px; text-decoration: none; white-space: nowrap; }
.demo-nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.demo-nav a[aria-current] { color: var(--ink); background: var(--marker); font-weight: 600; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0; font-size: 0.875rem; color: var(--ink-2); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 16px; margin-left: auto; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .app { grid-template-columns: 1fr; }
  .side { display: none; }
  .main { padding: 24px 24px 48px; }
  .plans { grid-template-columns: 1fr; }
  .top nav { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .case { grid-template-columns: 56px minmax(0, 1fr); }
  .case .acres { grid-column: 2; text-align: left; }
  .case .acres b, .case .acres span { display: inline; font-size: 1rem; }
  .case .acres span { margin-left: 4px; }
  .notes { grid-template-columns: 1fr; margin-left: 24px; }
  .facts { grid-template-columns: 110px 1fr; }
  .lede { font-size: 1.125rem; }
}

/* v3 (Nov 8) */
/* the window: from a posted agenda to the vote, with the head start marked */
.window { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin: 12px 0 0; }
.window li { list-style: none; position: relative; padding: 48px 32px 0 0; }
.window li::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 2px; background: #c6cdd8; }
.window li::after { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px #fff; }
.window li.head::before { top: 11px; height: 10px; background: var(--marker); border-radius: 0; }
.window li:last-child::before { right: 28px; background: linear-gradient(90deg, #c6cdd8, transparent); }
.window .d { font-size: 0.875rem; font-weight: 700; color: var(--ink-2); }
.window h3 { margin: 4px 0 8px; font-size: 1.125rem; }
.window p { color: var(--ink-2); font-size: 1rem; }
.headstart { position: absolute; top: -22px; left: 28px; font: 700 0.875rem/1 var(--sans); background: var(--marker); padding: 8px 8px; border-radius: 8px; }
@media (max-width: 900px) {
  .window { grid-template-columns: 1fr; }
  .window li { padding: 0 0 24px 32px; }
  .window li::before { left: 6px; right: auto; top: 14px; bottom: 0; width: 2px; height: auto; }
  .window li.head::before { left: 2px; width: 10px; top: 14px; height: auto; }
  .window li:last-child::before { display: none; }
  .window li::after { top: 3px; }
  .headstart { position: static; display: inline-block; margin-bottom: 8px; }
}
/* agenda systems we read */
.systems { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.systems span { font: 600 1rem/1 var(--sans); padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.systems span.more { background: var(--ink); color: #fff; border-color: var(--ink); }
/* a price still to be set */
.todo { display: inline-block; font-size: 1.25rem; font-weight: 700; color: var(--ink-3); border: 2px dashed #c6cdd8; border-radius: 8px; padding: 4px 12px; letter-spacing: 0; }
/* small-screen menu */
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-size: 1rem; font-weight: 600; border: 1px solid #c6cdd8; border-radius: 8px; height: 36px; padding: 0 12px; display: flex; align-items: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: none; }
.menu[open] summary { border-color: var(--ink); }
.menu div { position: absolute; right: 0; top: 44px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; min-width: 200px; box-shadow: 0 16px 30px -18px rgba(19, 35, 60, .4); }
.menu div a { display: block; padding: 12px 12px; text-decoration: none; border-radius: 8px; }
.menu div a:hover { background: var(--surface); }
details.menu { border: 0; padding: 0; }
@media (max-width: 900px) { .menu { display: block; } .top .right .hide-sm { display: none; } }
/* clickable state tiles and case rows */
button.tile { border: 0; cursor: pointer; font-family: var(--sans); padding: 0; }
button.tile:hover { filter: brightness(.95); }
button.tile[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--marker), 0 0 0 4px var(--ink); }
.case[data-pick] { cursor: pointer; }
.case[data-pick]:hover { background: #fafbfc; }
.case[data-pick].selected:hover { background: linear-gradient(90deg, var(--marker-soft), transparent 70%); }
.stamp { font-size: 0.875rem; color: var(--ink-3); margin-top: 8px; }
details.menu summary::after, details.menu[open] summary::after { content: none; }

/* v4 (Nov 8) */
.stakes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.stakes p { padding: 16px 24px; border-radius: var(--r-card); background: var(--surface); color: var(--ink-2); font-size: 1rem; }
.stakes p b { display: block; color: var(--ink); margin-bottom: 4px; }
.stakes p.with { background: var(--marker-soft); color: var(--ink); }
.chat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; font-size: 1rem; }
.chat .q { margin-left: 18%; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px 12px 4px 12px; }
.chat .a { margin-top: 16px; margin-right: 6%; background: var(--surface); padding: 16px 16px; border-radius: 12px 12px 12px 4px; }
.chat ol { margin: 8px 0 0; padding-left: 24px; }
.chat li { margin-top: 8px; }
.chat li a { font-size: 0.875rem; color: var(--ink-2); margin-left: 4px; }
.plays { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.plays > div { border-top: 2px solid var(--ink); padding-top: 16px; }
.plays h3 { margin: 12px 0 8px; }
.plays p { color: var(--ink-2); }
.who { row-gap: 32px; }
.why { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; }
.why li { position: relative; padding-left: 32px; color: var(--ink-2); }
.why li b { display: block; color: var(--ink); font-size: 1.125rem; margin-bottom: 4px; }
.why li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--marker); }
.why li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 8px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
@media (max-width: 900px) { .stakes, .why { grid-template-columns: 1fr; } .plays { grid-template-columns: 1fr; } .chat .q { margin-left: 8%; } }

/* v5 (Nov 8): one standout colour, quieter structure, finer type */
/* Yellow belongs to the found line and the head start only. Everything else steps back. */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 5px rgba(19, 35, 60, .12); }
.capture input:focus, .field:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
.chip input:focus-visible + span, .seg input:focus-visible + span { outline: 2px solid var(--ink); }
h1, h2, h3, .case h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
.btn:active { transform: translateY(1px); }
.btn { transition: background-color .15s ease, border-color .15s ease; }
.callout { background: var(--surface); border-left: 3px solid var(--ink); border-radius: 0 var(--r-card) var(--r-card) 0; }
.panel { border-color: transparent; background: var(--surface); }
.panel.white { background: #fff; border-color: var(--line); }
.stakes p.with { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.why li::before { background: var(--ink); }
.why li::after { border-color: #fff; }
.tile.on, button.tile[aria-pressed="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
.case.selected, .case[data-pick].selected:hover { background: var(--surface); box-shadow: inset 3px 0 0 var(--ink); }
.demo-nav a[aria-current] { background: #fff; color: var(--ink); }
.demo-nav span { color: #fff; opacity: .7; }
.source { border-left-color: var(--line); }
/* whole case rows open their case; links inside stay their own targets */
.case { position: relative; }
.case .rowlink { text-decoration: none; }
.case .rowlink::after { content: ""; position: absolute; inset: 0; }
.case a:not(.rowlink) { position: relative; z-index: 1; }
.case:has(.rowlink):hover { background: #fafbfc; }
.case:has(.rowlink):hover .rowlink { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
/* the counts as a sorted bar list: the numbers drawn to scale, labelled where they are */
.barlist { list-style: none; padding: 0; margin: 0; max-width: 760px; }
.barlist li { display: grid; grid-template-columns: 210px minmax(0, 1fr) 70px; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.barlist .lab b { display: block; font-size: 1rem; }
.barlist .lab span { font-size: 0.875rem; color: var(--ink-2); }
.barlist .bar2 { height: 12px; background: var(--ink); border-radius: 0 4px 4px 0; width: var(--w); min-width: 3px; }
.barlist .val { text-align: right; font-weight: 800; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .barlist li { grid-template-columns: minmax(0, 1fr) 64px; } .barlist .bar2 { grid-column: 1 / -1; grid-row: 2; } }
.case { padding-left: 16px; padding-right: 16px; }
.panel .source { background: transparent; }

/* v6 (Nov 8): Telegram mock-up (looks like Telegram on purpose, so people know it at a glance), company watch,
   calendar export, who's behind it. */
.tg { background: #dfe7ec; font: 400 1rem/1.45 var(--sans); }
.tg-head { display: flex; align-items: center; gap: 12px; background: #fff; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.tg-head b { display: block; font-size: 1rem; }
.tg-head small { display: block; color: var(--ink-3); font-size: 0.875rem; line-height: 1.2; }
.tg-ava { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; flex: none; }
.tg-ava svg { width: 24px; height: 24px; }
.tg-body { padding: 16px 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.tg-msg { position: relative; background: #fff; border-radius: 12px 12px 12px 4px; padding: 8px 12px 24px; max-width: 90%;
  align-self: flex-start; box-shadow: 0 1px 1px rgba(19, 35, 60, .08); margin-top: 8px; }
.tg-msg p + p { margin-top: 3px; }
.tg-msg.me { align-self: flex-end; background: #e4f6d6; border-radius: 12px 12px 4px 12px; }
.tg-time { position: absolute; right: 10px; bottom: 4px; font-size: 0.75rem; color: var(--ink-3); }
.tg-kick { font-size: 0.875rem; font-weight: 700; color: #2a7bd1; }
.tg-quote { border-left: 3px solid #3390ec; background: rgba(51, 144, 236, .08); padding: 4px 8px; border-radius: 4px;
  font-family: var(--serif); font-size: 0.875rem; margin-top: 8px !important; }
.tg-reply { border-left: 3px solid #3390ec; padding: 2px 8px; font-size: 0.875rem; color: var(--ink-2); margin-bottom: 8px; }
.tg-reply b { display: block; color: #1f66b5; }
.tg-keys { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; max-width: 90%; width: 90%; }
.tg-keys a { display: grid; place-items: center; min-height: 36px; padding: 4px 8px; border-radius: 8px; text-align: center;
  background: rgba(19, 35, 60, .62); color: #fff; font-size: 0.875rem; font-weight: 600; text-decoration: none; line-height: 1.2; }
.tg-keys a:hover { background: rgba(19, 35, 60, .76); }
.tg-keys a.wide, .tg-keys a:only-child { grid-column: 1 / -1; }
.tg-loc { padding: 8px 8px 24px; }
.tg-loc p { padding: 4px 8px 0; font-size: 0.875rem; }
.tg-map { display: block; width: 200px; height: 96px; border-radius: 12px; position: relative;
  background: #eef2e8 repeating-linear-gradient(35deg, transparent 0 22px, #fff 22px 26px); }
.tg-map i { position: absolute; left: 50%; top: 40%; width: 16px; height: 16px; margin: -8px; border-radius: 50% 50% 50% 0;
  background: #e5533d; transform: rotate(-45deg); box-shadow: 0 0 0 3px #fff; }
.tgcard { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.whobox { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.whobox .k { font-size: 0.875rem; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.whobox a { font-weight: 700; font-size: 1.125rem; }
.whobox p + p { margin-top: 4px; }
.cwatch { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 0 32px; align-items: end; margin-top: 32px;
  padding: 24px 24px; border-radius: var(--r-card); background: var(--surface); }
.cwatch b { display: block; font-size: 1.875rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.cwatch span { font-size: 0.875rem; color: var(--ink-2); }
.cwatch .go { justify-self: end; }
@media (max-width: 640px) { .cwatch { grid-template-columns: repeat(3, auto); gap: 12px 24px; } .cwatch .go { grid-column: 1 / -1; justify-self: start; } }
.section.tint .cwatch { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }

/* v7 (Nov 8): fixes from Don't Make Me Think. */
.top nav a[aria-current] { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 9px; }
.tagline { font-size: 0.875rem; color: var(--ink-2); margin-left: -16px; padding-left: 16px; border-left: 1px solid var(--line); white-space: nowrap; }
@media (max-width: 1240px) { .tagline { display: none; } }
.topsearch { flex: 1; max-width: 460px; display: flex; gap: 8px; }
.topsearch input { flex: 1; min-width: 0; height: 38px; border: 1px solid #c6cdd8; border-radius: 8px; padding: 0 12px; font: 400 1rem var(--sans); background: #fff; color: var(--ink); }
.topsearch input:focus { outline: 3px solid var(--marker); outline-offset: 1px; border-color: var(--ink); }
.topsearch .btn { height: 38px; }
.case .rowlink { text-decoration: underline; text-decoration-color: #c6cdd8; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.case:has(.rowlink):hover .rowlink { text-decoration-color: var(--ink); }
.crumbs b { color: var(--ink); font-weight: 600; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.demo-toast { position: fixed; left: 50%; bottom: 64px; transform: translateX(-50%); z-index: 60; background: #fff; color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 10px 30px -10px rgba(19, 35, 60, .35); padding: 12px 16px; border-radius: 12px; font-size: 0.875rem; max-width: calc(100vw - 32px); }
@media (max-width: 900px) {
  .top.appbar .wrap { flex-wrap: wrap; height: auto; row-gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .top.appbar nav { display: flex; gap: 16px; margin-left: auto; font-size: 0.875rem; }
  .top.appbar .topsearch { order: 5; flex-basis: 100%; max-width: none; }
}
@media (max-width: 640px) { .top.appbar .right { display: none; } }

/* v8 (Nov 8): StoryBrand. */
.cta-pair { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.promise { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; margin-top: 16px; }
.promise li { font-size: 1rem; }
.promise li b { font-size: 1rem; }
@media (max-width: 900px) { .promise { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .promise { grid-template-columns: 1fr; } }

/* v9 (Nov 8): positioning (Dunford). */
.eyebrow { font-size: 0.875rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 16px; }
.stakes.alts { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 16px; }
@media (max-width: 900px) { .stakes.alts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .stakes.alts { grid-template-columns: 1fr; } }

/* v10 (Nov 8): Refactoring UI. Type 12 14 16 18 20 24 30 36 (+ fluid headings); spacing 4 8 12 16 24 32 48 64 96;
   radii 4 8 12 (+ pills); weights 400 500 600 700 800. */
main p { max-width: 68ch; }
.section.tint .plan:not(.main) { border-color: transparent; }
.section.tint .cwatch { box-shadow: none; }
.tgcard { border: 0; }
.bigacres { margin-top: 8px; color: var(--ink-2); }
.bigacres b { font-size: 1.875rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; margin-right: 4px; letter-spacing: -0.01em; }
.top nav a, .top .right a { white-space: nowrap; }
.tabs { overflow-x: auto; scrollbar-width: none; }
.tabs a { white-space: nowrap; }
@media (max-width: 640px) { .tabs a { padding: 12px 12px; } }

/* v12 (Nov 8): web review fixes. */
.tg-kick, .tg-reply b { color: #1f66b5; }
.tg-time { color: #56637a; }
.tile.next { color: var(--ink-2); }
.searchbox input, .bigsearch input { min-width: 0; }
.h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: 0; }
.field-error { color: var(--red); font-size: 0.875rem; font-weight: 600; margin-top: 8px; }
.final .field-error { color: #ffc9c2; }
input[aria-invalid="true"] { border-color: var(--red) !important; }
.done { padding: 32px 0; border-top: 1px solid var(--line); }
.done h2 { font-size: 1.5rem; }
.done p { margin-top: 8px; }
.done .btn { margin-top: 24px; }
@media (max-width: 900px) {
  .top.appbar nav a { padding: 11px 0; }
  .foot nav a { display: inline-block; padding: 11px 0; }
}
@media (max-width: 900px) { .crumbs a { display: inline-block; padding: 4px 0; } }
.done { border-top: 0; padding-top: 8px; }

/* v14 (Nov 8): Storytelling with Data, Form Design Patterns, Designing Interfaces. */
.barlist .bar2 { background: #c3cad6; }
.barlist li.hi .bar2 { background: var(--ink); }
.barlist li:not(.hi) .val { color: var(--ink-2); }
.capture label:not(.sr) { flex-basis: 100%; font-weight: 600; font-size: 0.9375rem; }
.final .capture label { color: #fff; }
.capture .field-error { flex-basis: 100%; margin: -4px 0 0; }
.field-error::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 8px;
  border-radius: 50%; background: var(--red); color: #fff; font-size: 0.75rem; font-weight: 800; vertical-align: 1px; }
.final .field-error::before { background: #ffc9c2; color: var(--ink); }
.step .body > label { display: block; font-weight: 600; margin-bottom: 8px; }
.step .body > .field-error { margin: 0 0 8px; }
.panel.inlay { margin: 8px 0 16px; box-shadow: inset 4px 0 0 var(--ink); }

/* v15: all states as bullet graphs (Few) */
.panel.state { scroll-margin-top: 96px; }
.stall { margin-top: 64px; }
.stall > p { margin-top: 8px; max-width: 44em; }
.stlist { list-style: none; margin: 16px 0 0; padding: 0; }
.strow { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 3rem; gap: 12px; align-items: center; width: 100%; min-height: 40px;
  padding: 4px 8px; border: 0; border-radius: 4px; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.strow:hover { background: #e9edf3; }
.strow[aria-pressed="true"] { background: #fff; box-shadow: inset 3px 0 0 var(--ink); }
.strow .nm { font-weight: 600; font-size: 0.9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strow .trk { position: relative; height: 10px; }
.strow .trk::after { content: ""; position: absolute; left: 95%; top: -5px; bottom: -5px; width: 2px; background: var(--ink); }
.strow .sbar { display: block; height: 100%; width: var(--w); background: #c3cad6; border-radius: 0 3px 3px 0; }
.stlist li.hi .sbar { background: var(--ink); }
.strow .v { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.stlist li:not(.hi) .v { color: var(--ink-2); }
@media (min-width: 900px) { .stlist { columns: 2; column-gap: 48px; } .stlist li { break-inside: avoid; } }
@media (max-width: 640px) { .strow { grid-template-columns: 8rem minmax(0, 1fr) 2.75rem; } }

/* v16: the 24 newest states (places of 10,000+ people so far): a small dot on the tile */
.tile { position: relative; }
.tile.part::after, .legend i.part::after { content: ""; position: absolute; top: 5px; right: 5px; width: 6px; height: 6px;
  border-radius: 50%; background: currentColor; opacity: .8; }
.legend i.part { position: relative; color: #0b2a1c; }
.legend i.part::after { top: 2px; right: 2px; width: 5px; height: 5px; }
.tiles.mini .tile.part::after { top: 3px; right: 3px; width: 4px; height: 4px; }

/* v17: product screens. Form controls shared by sign-up and alerts */
.field { width: 100%; height: 46px; border: 1px solid #c6cdd8; border-radius: 8px; padding: 0 16px; font: 400 1rem var(--sans); color: var(--ink); background: #fff; }
.field:focus { outline: 3px solid var(--marker); outline-offset: 1px; border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 1px solid #c6cdd8; border-radius: 999px; font-size: 1rem; background: #fff; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--marker); outline-offset: 2px; }
.seg { display: inline-flex; border: 1px solid #c6cdd8; border-radius: 8px; overflow: hidden; margin-top: 12px; max-width: 100%; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; padding: 8px 16px; font-size: 1rem; border-left: 1px solid #c6cdd8; white-space: nowrap; }
.seg label:first-child span { border-left: 0; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--marker); outline-offset: -3px; }
/* feed filters */
.ffilters { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: 16px 0 8px; }
.fgroup { display: inline-flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.flab { font-size: 0.875rem; color: var(--ink-2); margin-right: 4px; }
.fchip { height: 34px; padding: 0 12px; border: 1px solid #c6cdd8; border-radius: 999px; background: #fff; color: var(--ink); font: 500 0.9375rem var(--sans); cursor: pointer; }
.fchip:hover { border-color: var(--ink); }
.fchip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.fcount { font-size: 0.9375rem; color: var(--ink-2); font-variant-numeric: tabular-nums; margin-left: auto; }
#mapToggle { display: none; }
/* maps */
.sidecol { display: grid; gap: 16px; align-content: start; }
.mapcard { padding: 0; overflow: hidden; }
.mapcard #map { height: 260px; background: #e9edf3; }
.mapcard .minimap { height: 180px; }
.mapcard .minimap.tall { height: 220px; }
.maphint { font-size: 0.8125rem; color: var(--ink-2); padding: 8px 12px; margin: 0; }
.leaflet-container { font: 400 0.75rem var(--sans); }
.leaflet-container .leaflet-control-attribution { background: rgba(255,255,255,.8); color: var(--ink-3); }
.leaflet-container .leaflet-control-attribution a { color: var(--ink-3); }
.leaflet-container.drawing { cursor: crosshair; touch-action: none; }
.leaflet-tooltip { font: 500 0.8125rem var(--sans); color: var(--ink); border-color: var(--line); border-radius: 6px; }
.leaflet-bar a { color: var(--ink); }
#mapslot .mapcard { margin: 8px 0 16px; }
@media (max-width: 900px) { .sidecol { display: contents; } #mapToggle { display: inline-block; } .mapcard #map { height: 220px; } }
/* case: next hearing, the record */
.nextup { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 1rem; }
.nextup .nx-k { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.nextup .count { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--slate-bg); color: var(--slate); font-weight: 700; font-size: 0.875rem; }
.nextup .count.soon { background: var(--amber-bg); color: var(--amber); }
.recsec { margin-top: 48px; }
.record { margin: 16px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.record > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.record dt { color: var(--ink-2); }
.record dd { margin: 0; font-weight: 600; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.record dd.blank { color: var(--ink-3); font-weight: 400; font-style: italic; }
.record dd .arrow { color: var(--ink-3); font-weight: 400; }
.record dd .small { flex-basis: 100%; font-weight: 400; }
.record dd .vote-line { flex-basis: 100%; }
.src { border: 0; background: none; padding: 0; color: var(--ink-2); font: 400 0.875rem var(--sans); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; cursor: pointer; }
.src:hover, .src[aria-expanded="true"] { color: var(--ink); }
.excerpt { flex-basis: 100%; display: block; font: 400 1rem/1.5 var(--serif); color: var(--ink); background: var(--marker-soft); padding: 6px 10px; border-radius: 6px; margin-top: 4px; quotes: "“" "”"; }
.report { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 1rem; }
.report summary { cursor: pointer; font-weight: 600; }
.reportform { display: grid; gap: 8px; margin-top: 12px; }
.reportform label { font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.reportform select, .reportform textarea { width: 100%; border: 1px solid #c6cdd8; border-radius: 8px; padding: 8px 12px; font: 400 1rem var(--sans); color: var(--ink); background: #fff; }
.reportform .btn { justify-self: start; }
.report .ok { color: var(--green); font-weight: 600; margin-top: 12px; }
/* company outcomes */
.outcomes { margin-top: 24px; }
.obar { display: flex; height: 14px; border-radius: 4px; overflow: hidden; margin-top: 8px; background: var(--surface); }
.obar span { width: var(--w); }
.obar .ok, .okey .ok { background: var(--c95); } .obar .cont, .okey .cont { background: var(--c80); } .obar .no, .okey .no { background: #c3cad6; } .obar .ahead, .okey .ahead { background: var(--marker); }
.okey { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 10px 0 12px; font-size: 0.9375rem; color: var(--ink-2); }
.okey i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
@media (max-width: 640px) { .record > div { grid-template-columns: 1fr; gap: 2px; } .nextup { font-size: 0.9375rem; } }

/* v17 audit fixes */
@media (max-width: 640px) {
  .top.appbar nav { flex-basis: 100%; margin-left: 0; order: 3; overflow-x: auto; scrollbar-width: none; }
  .seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg span { text-align: center; white-space: normal; }
  .seg label:nth-child(odd) span { border-left: 0; }
  .seg label:nth-child(n+3) span { border-top: 1px solid #c6cdd8; }
}
.src { min-height: 24px; padding: 3px 0; }
.meta a, .mention .meta a { display: inline-block; padding: 2px 0; }
.chan .small a, .kpi .sub a, .watch .n a { display: inline-block; padding: 3px 0; }
.opt input { width: 24px; height: 24px; }
.chan .state.off { color: var(--ink-2); }
.leaflet-container .leaflet-control-attribution, .leaflet-container .leaflet-control-attribution a { color: var(--ink-2); }
.tg-keys a.primary { background: #1f66b5; }
.mini-head small { color: var(--ink-2); }
.toggle { flex-wrap: wrap; }

.topsearch { min-width: 0; }
.topsearch input { width: 0; flex: 1 1 0; }
.leaflet-container .leaflet-control-attribution a { display: inline-block; padding: 5px 0; }

/* Street tiles toned down to sit with the rest of the page */
.leaflet-tile-pane { filter: grayscale(1) contrast(0.82) brightness(1.08); }

[hidden] { display: none !important; }

/* GovMeet demo, design B: "precise, quiet, instrument" (Nov 8).
   Same pages and patterns as design A; a different personality. Where A is a highlighted agenda in civic sans,
   B is a ledger: IBM Plex Sans for our words, Plex Serif for the government's, Plex Mono for every number and
   identifier. One signal colour (vermilion) and it means only one thing: time pressure. 2px corners, hairlines
   instead of cards, numbers set like an instrument. Loads after gm.css and the page styles. */
:root {
  --ink: #15171c; --ink-2: #4b505b; --ink-3: #646a76;
  --line: #e1e4e8; --line-strong: #c3c8d0;
  --surface: #f5f6f7; --paper: #ffffff;
  --accent: #b53a08; --accent-bg: #fcece4;
  --marker: #b53a08; --marker-soft: #fcece4;
  --green: #2f6b4f; --green-bg: #e6f1eb;
  --amber: #b53a08; --amber-bg: #fcece4;
  --red: #a93226; --red-bg: #f7e5e3;
  --blue: #2b5fae; --blue-bg: #e5ecf7;
  --slate: #4b505b; --slate-bg: #eceef1;
  --c95: #15171c; --c90: #5b6170; --c80: #a6adb8; --c0: #dfe3e8; --cnext: #f3f4f6;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r-card: 2px; --r-sheet: 2px;
}

/* type: smaller, tighter, numbers in mono */
body { font: 400 1rem/1.5 var(--sans); }
h1 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; letter-spacing: -0.015em; }
h3 { font-size: 1.0625rem; font-weight: 600; }
.lede { font-size: 1.125rem; line-height: 1.5; }
.section { padding: 64px 0; }
.section-head p { font-size: 1rem; }
.num, .counts b, .kpi b, .keys b, .cwatch b, .case .acres b, .case .when b, .plan .price, .barlist .val, .strow .v,
.compare td b, .p-item .acres, .outcomes b, .tile small, .record dd .ids, .count, time { font-family: var(--mono); font-weight: 500; letter-spacing: 0; }
.counts b, .kpi b, .keys b, .cwatch b { font-size: 2rem; }
.plan .price { font-size: 1.875rem; }
a { text-decoration-color: var(--line-strong); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

/* header */
.top .wrap { height: 56px; gap: 24px; }
.brand { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
.top nav { font-size: 0.9375rem; gap: 20px; }
.top nav a[aria-current] { font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.avatar { width: 28px; height: 28px; border-radius: 2px; font-size: 0.75rem; }
.topsearch input, .topsearch .btn { height: 34px; border-radius: 2px; }
.topsearch input { font-size: 0.9375rem; border-color: var(--line-strong); }
.topsearch input:focus, .capture input:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.tagline { font-size: 0.8125rem; }

/* buttons, inputs, chips: square, quiet */
.btn { height: 40px; padding: 0 16px; border-radius: 2px; font: 600 0.9375rem/1 var(--sans); }
.btn:hover { background: #000; }
.btn.light { border-color: var(--line-strong); }
.btn.sm { height: 32px; padding: 0 12px; font-size: 0.875rem; border-radius: 2px; }
.capture input, .field, .searchbox input, .bigsearch input, .filters select, .reportform select, .reportform textarea,
.quiet input[type=time], .seg, .chip span, .chosen span { border-radius: 2px; border-color: var(--line-strong); }
.searchbox input, .bigsearch input { border-width: 1px; height: 48px; font-size: 1rem; }
.capture input { height: 40px; }
.fchip { height: 30px; padding: 0 10px; border-radius: 2px; border-color: var(--line-strong); font-size: 0.875rem; }
.flab { font: 500 0.6875rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.fcount { font-family: var(--mono); font-size: 0.8125rem; }
.chip span { height: 32px; font-size: 0.9375rem; }
.steps li::before, .step h2::before { border-radius: 2px; }

/* status words and tags */
.stage { height: 22px; padding: 0 8px; border-radius: 2px; font: 500 0.8125rem/1 var(--sans); gap: 6px; }
.stage::before { width: 6px; height: 6px; }
.stage.vote { color: var(--accent); background: var(--accent-bg); }
.tag { font: 500 0.6875rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 4px 6px;
  border-radius: 2px; border-color: var(--line-strong); color: var(--ink-2); }
.day { font: 500 0.75rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding: 20px 0 6px; }
.tabs a { font-size: 0.9375rem; padding: 10px 12px; }

/* the found line: a rule under the words, not a highlighter */
.mark, mark { background: var(--accent-bg); color: inherit; padding: 0 1px; box-shadow: none;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sweep .mark { animation: none; background-size: 100% 100%; }
.fact { border-bottom: 1px solid var(--accent); font-weight: 600; }
b, strong { font-weight: 600; }
.excerpt { background: var(--surface); border-left: 2px solid var(--accent); border-radius: 0; font-family: var(--serif); }
.callout { background: var(--surface); border-left: 3px solid var(--ink); border-radius: 0; padding: 16px 20px; }
.case.selected { background: var(--surface); box-shadow: inset 3px 0 0 var(--ink); }
.chosen span, .example { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); }

/* panels and rows: hairlines, less padding */
.panel { border-radius: 2px; padding: 20px; }
.panel.tint { background: var(--surface); }
.sheet { box-shadow: none; border-color: var(--line-strong); }
.side { padding: 20px 12px; font-size: 0.9375rem; }
.side a { border-radius: 2px; padding: 6px 10px; }
.side a[aria-current] { box-shadow: inset 2px 0 0 var(--ink); }
.side h4 { font: 500 0.6875rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin: 20px 0 6px; }
.main { padding: 24px 28px 64px; }
@media (max-width: 900px) { .main { padding: 16px 16px 48px; } .panel { padding: 16px; } }
.case { gap: 16px; padding: 14px 12px; }
@media (min-width: 641px) { .case { grid-template-columns: 64px minmax(0, 1fr) 104px; } }
@media (max-width: 640px) { .case { grid-template-columns: 52px minmax(0, 1fr); gap: 8px 12px; padding: 12px 8px; } .case .acres b { font-size: 1rem; } .section { padding: 48px 0; } }
.case .when b { font-size: 1.25rem; }
.case .when, .case .where, .case .meta { font-size: 0.8125rem; }
.case h3 { font-size: 1rem; margin: 2px 0 6px; }
.case .acres b { font-size: 1.125rem; }
.case .acres span { font-size: 0.75rem; }
.facts, .record > div { font-size: 0.9375rem; }
.facts dt, .record dt { font: 500 0.6875rem/1.8 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.facts dd, .record dd { font-weight: 500; }
.src { font: 500 0.75rem/1 var(--mono); }
.barlist li { padding: 10px 0; }
.barlist .lab b { font-size: 0.9375rem; }
.barlist .bar2, .strow .sbar, .obar, .bar { border-radius: 0; }
.barlist .val { font-size: 1.0625rem; }
.okey i, .legend i { border-radius: 0; }

/* pricing */
.plan { border-radius: 2px; padding: 24px; }
.plan.main { border: 1px solid var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.plan .badge { background: var(--ink); color: #fff; border-radius: 2px; font: 500 0.6875rem/22px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.plan li { font-size: 0.9375rem; padding: 6px 0 6px 22px; }
.plan li::before { border-color: var(--ink); }
summary { font-size: 1rem; font-weight: 600; }
details { padding: 14px 0; }

/* coverage map: one hue, dark means covered */
.tile { border-radius: 2px; font: 600 0.8125rem/1.1 var(--sans); }
.tile.t90 { color: #fff; }
.tile.t80, .tile.t0 { color: var(--ink); }
.tile.next { outline-color: var(--line-strong); }
.tile.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); }
.tiles.mini .tile { border-radius: 2px; }

/* small boxes that were rounded */
.headstart, .systems span, .todo, .menu summary, .menu div, .menu div a, .tgcard, .skip, .demo-toast, .leaflet-tooltip,
.watch, .kpi, .client, .vote .d, .nextup .count, .stakes p, .obar, .window li.head::before, .report, .outcomes { border-radius: 2px; }
.nextup .count { font-size: 0.8125rem; }
.timeline .dot { border-radius: 0; width: 10px; height: 10px; margin-left: 6px; }

/* dark closing band: white button, not yellow */
.final .btn { background: #fff; color: var(--ink); border-color: #fff; }
.final .btn:hover { background: #e6e8eb; }

/* demo switcher */
.demo-nav { border-radius: 2px; box-shadow: none; }
.demo-nav span { color: #fff; font: 500 0.6875rem/30px var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.demo-nav a { border-radius: 2px; }
.demo-nav a[aria-current] { background: #fff; color: var(--ink); }

/* maps: markers in ink, the open case in the signal colour */
.leaflet-container { font-family: var(--sans); }
.leaflet-tile-pane { filter: grayscale(1) contrast(0.78) brightness(1.1); }

/* touch targets stay 24px+ at the smaller type; the head-start label reads white on the signal colour */
.case .meta a, .meta a, .record dd a, .nextup a, .sources a, .p-item a { display: inline-block; padding: 4px 0; }
.headstart { color: #fff; }
.mail-foot a, .p-item a, .p-item h2 + a { display: inline-block; padding: 4px 0; }

@font-face{font-family:'IBM Plex Sans';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/ibm-plex-sans-latin-400-normal.woff2?v=1) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'IBM Plex Sans';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/ibm-plex-sans-latin-ext-400-normal.woff2?v=1) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'IBM Plex Sans';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/ibm-plex-sans-latin-500-normal.woff2?v=1) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'IBM Plex Sans';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/ibm-plex-sans-latin-ext-500-normal.woff2?v=1) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'IBM Plex Sans';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/ibm-plex-sans-latin-600-normal.woff2?v=1) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'IBM Plex Sans';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/ibm-plex-sans-latin-ext-600-normal.woff2?v=1) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'IBM Plex Sans';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/ibm-plex-sans-latin-700-normal.woff2?v=1) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'IBM Plex Sans';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/ibm-plex-sans-latin-ext-700-normal.woff2?v=1) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'IBM Plex Serif';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/ibm-plex-serif-latin-400-normal.woff2?v=1) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'IBM Plex Serif';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/ibm-plex-serif-latin-ext-400-normal.woff2?v=1) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'IBM Plex Serif';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/ibm-plex-serif-latin-500-normal.woff2?v=1) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'IBM Plex Serif';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/ibm-plex-serif-latin-ext-500-normal.woff2?v=1) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'IBM Plex Mono';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/ibm-plex-mono-latin-400-normal.woff2?v=1) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'IBM Plex Mono';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/ibm-plex-mono-latin-ext-400-normal.woff2?v=1) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'IBM Plex Mono';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/ibm-plex-mono-latin-500-normal.woff2?v=1) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'IBM Plex Mono';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/ibm-plex-mono-latin-ext-500-normal.woff2?v=1) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}