/* Quiet, round 7. Desktop-first at 1440. Type-only wordmark; the site name
   itself lives in one Python constant (SITE_NAME in build.py), not here. */
:root {
  --bg: #F7F6F3;
  --raised: #FFFFFF;
  --ink: #171717;
  --muted: #4A4A4A;
  --line: #E2DFD8;
  --sign: #D7B73A;
  --sans: "Source Sans 3", sans-serif;
  --serif: "Source Serif 4", "Source Serif Pro", serif;
  --nav: 220px;
  --rail: 300px;
  --gutter: 20px;
  --wordmark-weight: 600;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--ink); overflow-x: hidden; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  hyphens: manual;
  overflow-wrap: break-word;
  overflow-x: hidden;
  max-width: 100%;
}
img { display: block; max-width: 100%; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
.nb { white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Type-only wordmark — swap the visible name in SITE_NAME (build.py) */
.wordmark {
  font-family: var(--serif);
  font-weight: var(--wordmark-weight);
  font-size: 20px;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  text-decoration: none;
  font-variation-settings: "opsz" 20, "wght" 600;
  display: inline-block;
}
.wordmark:hover { text-decoration: none; }
.working-name {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  vertical-align: 2px;
}

/* Phone-first shell; desktop grid at 1100+ */
.shell { min-height: 100vh; }
.site-nav {
  padding: 16px var(--gutter) 12px;
}
.nav-brand { margin-bottom: 14px; }
.nav-brand .working-name { display: block; margin: 4px 0 0; margin-left: 0; }
.nav-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.nav-list a, .nav-list span {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.nav-list a:hover, .nav-list a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nav-list .coming {
  color: var(--muted);
  font-weight: 400;
  font-style: italic;
}
.site-search { padding: 0 var(--gutter) 16px; }
.site-search input {
  width: 100%;
  max-width: 28em;
  font: inherit;
  font-size: 15px;
  padding: 8px 10px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  outline: none;
}
.site-search input::placeholder { color: var(--muted); }
.site-search input:focus { border-bottom-width: 2px; padding-bottom: 7px; }

.main { padding: 8px var(--gutter) 48px; }
.rail { padding: 8px var(--gutter) 48px; }

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 48;
  margin: 0 0 10px;
}
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 32;
  margin: 0 0 12px;
}
h3 { font-size: 14px; font-weight: 650; margin: 0 0 6px; letter-spacing: 0.02em; }
.kicker {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.summary {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.35;
  font-variation-settings: "opsz" 18;
  max-width: 32em;
  margin: 0 0 24px;
}
.prose p, .lede { font-size: 16px; line-height: 1.55; max-width: 40em; }
.prose p + p { margin-top: 0.85em; }
.caption, figcaption {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  margin-top: 8px;
  max-width: 48em;
}
.page-head { padding-top: 4px; margin-bottom: 8px; }

.site-footer {
  padding: 16px var(--gutter) 32px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted);
}
.site-footer p { max-width: 78em; }
.site-footer strong { color: var(--muted); font-weight: 650; }

/* Rail */
.rail-block { margin: 0 0 28px; }
.rail-block h2, .rail-block .rail-title {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
.rail-block p, .rail-block li { font-size: 13.5px; line-height: 1.45; }
.rail-block ul { list-style: none; }
.rail-block li { margin: 0 0 8px; }
.status-dot { font-weight: 650; }

/* Dashboard */
.dash { display: flex; flex-direction: column; gap: 40px; }
.dash-section h2 { margin-bottom: 10px; }
.item { padding: 12px 0; }
.item .t { font-weight: 650; font-size: 16px; display: block; }
.item .m { font-size: 14px; color: var(--muted); margin-top: 3px; display: block; line-height: 1.4; }
.item a.t { text-decoration: none; }
.item a.t:hover { text-decoration: underline; }
.empty {
  font-size: 15px;
  color: var(--muted);
  font-style: italic;
  padding: 4px 0 8px;
}
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: 6px;
}

/* Votes */
.tally {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 0 0 14px;
  font-size: 16px;
}
.tally .tally-label {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.tally .mark { font-size: 16px; }
.tally .mark-shape { width: 20px; height: 20px; flex-basis: 20px; font-size: 13px; }
.vote-key.quiet-key {
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 12px;
  color: var(--muted);
}
.quiet-key .mark { font-weight: 500; font-size: 12px; color: var(--muted); }
.quiet-key .mark-shape { width: 14px; height: 14px; flex-basis: 14px; font-size: 9px; }
.status-line {
  font-size: 13px;
  line-height: 1.4;
  margin: 0 0 14px;
  max-width: 42em;
}
.status-line strong { font-weight: 650; }
.dais { display: flex; flex-direction: column; max-width: 680px; }
.seat {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 16px;
  padding: 10px 0;
  align-items: baseline;
}
.seat .role {
  grid-column: 1;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}
.seat .name { grid-column: 1; font-weight: 650; font-size: 16px; line-height: 1.2; }
.seat .name a { text-decoration: none; }
.seat .name a:hover { text-decoration: underline; }
.seat .mark { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}
.mark-shape {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.75px solid var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.mark-yes .mark-shape { background: var(--ink); color: var(--raised); }
.mark-no .mark-shape, .mark-abstain .mark-shape { background: transparent; color: var(--ink); }
.mark-absent .mark-shape { border-radius: 50%; background: transparent; }
.mark-blank .mark-shape { border-style: dotted; background: transparent; color: transparent; }

/* Compact recent-votes tally (Home) */
.vote-tally { list-style: none; margin: 0 0 12px; }
.vote-tally li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  row-gap: 1px;
  padding: 7px 0;
  align-items: baseline;
  border-top: 1px solid var(--line);
}
.vote-tally li:last-child { border-bottom: 1px solid var(--line); }
.vote-tally .vt-item {
  font-weight: 650;
  font-size: 14.5px;
  line-height: 1.3;
  text-decoration: none;
}
.vote-tally a.vt-item:hover { text-decoration: underline; }
.vote-tally .vt-result {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 8px;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
}
.vote-tally .vt-result .mark { font-size: 12.5px; font-weight: 650; }
.vote-tally .vt-result .mark-shape { width: 15px; height: 15px; flex-basis: 15px; font-size: 11px; }
.vote-tally .vt-note {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.dash-section .status-line { margin: 0 0 10px; font-size: 12.5px; }
@media (min-width: 1100px) {
  .dash-section.span-2 .vote-tally li {
    grid-template-columns: minmax(12em, 1.3fr) auto minmax(14em, 1.2fr);
    align-items: baseline;
  }
  .dash-section.span-2 .vote-tally .vt-note { grid-column: auto; }
}


/* Agenda / lists */
.agenda { list-style: none; margin-top: 4px; }
.agenda details { padding: 10px 0; }
.agenda summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto 14px;
  gap: 8px;
  align-items: baseline;
  font-size: 15px;
  line-height: 1.35;
}
.agenda summary::-webkit-details-marker { display: none; }
.agenda .amt { font-size: 13px; color: var(--muted); font-weight: 500; text-align: right; }
.agenda .amt.missing { font-style: italic; }
.agenda .chev { width: 10px; text-align: center; color: var(--ink); font-size: 14px; }
.agenda details[open] .chev { transform: rotate(90deg); }
.agenda .body { margin-top: 8px; font-size: 14.5px; line-height: 1.5; }
.links { font-size: 13px; margin-top: 6px; }
.links a { margin-right: 12px; }

.record { list-style: none; }
.record li { padding: 12px 0; }
.record .t { font-weight: 650; font-size: 15px; display: block; }
.record .m { font-size: 13.5px; color: var(--muted); margin-top: 3px; display: block; line-height: 1.4; }

.roster { list-style: none; }
.roster li { padding: 10px 0; }
.roster .role { font-size: 11px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.roster .name { font-weight: 650; font-size: 17px; display: block; }
.roster .note { font-size: 13px; color: var(--muted); }

.section { padding: 28px 0 0; }
.sources { font-size: 14px; line-height: 1.5; max-width: 50em; }
.sources li { margin: 0 0 8px 1.1em; }

/* Map — no overscan. symbol-avoid-edges hides labels that would nick
   the visible frame; minor and path road names are turned off at this zoom.
   A thin paper mat is only an edge finish, not a sliver cover. */
.map-block { margin: 8px 0 16px; }
.map-crop {
  position: relative;
  overflow: hidden;
  height: 220px;
  width: 100%;
  background: #eceae4;
}
.map-crop::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 8px var(--bg);
  pointer-events: none;
  z-index: 1;
}
.map-overscan {
  position: absolute;
  inset: 0;
}
.map {
  width: 100%;
  height: 100%;
  background: #eceae4;
  position: relative;
  overflow: hidden;
}
a.map-teaser {
  display: block;
  color: inherit;
  text-decoration: none;
}
a.map-teaser:hover .map-go { text-decoration: underline; }
.map-go {
  display: inline-block;
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 650;
}
.maplibregl-ctrl-top-left { margin: 84px 0 0 84px; z-index: 2; }
.maplibregl-ctrl-group {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.maplibregl-ctrl-group button {
  background: var(--raised) !important;
  width: 28px !important;
  height: 28px !important;
  border: 1px solid var(--ink) !important;
  border-radius: 0 !important;
}
.maplibregl-ctrl-group button + button { border-top: 0 !important; margin-top: -1px; }
.maplibregl-canvas { outline: none; }
.map .maplibregl-map,
.map .maplibregl-canvas-container,
.map .maplibregl-canvas { width: 100% !important; height: 100% !important; }
.map-legend { font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 8px 0 0; }
.map-legend .key { display: inline-flex; align-items: center; gap: 6px; }
.map-legend .sq { width: 10px; height: 10px; background: var(--ink); display: inline-block; }
.map-legend .circ { width: 10px; height: 10px; background: var(--ink); border-radius: 50%; display: inline-block; }
.map-legend .sq.ex { background: transparent; border: 1.5px dashed var(--ink); }

.pin-wrap { display: flex; flex-direction: column; align-items: center; pointer-events: auto; }
.pin {
  width: 24px;
  height: 24px;
  background: var(--ink);
  color: var(--raised);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  line-height: 24px;
  text-align: center;
  border: 2px solid var(--raised);
  box-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.pin.circle { border-radius: 50%; line-height: 20px; }
.pin.example {
  background: var(--raised);
  color: var(--ink);
  border: 2px dashed var(--ink);
  box-shadow: none;
  line-height: 20px;
  border-radius: 0;
}
.pin-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg);
  padding: 1px 4px;
  white-space: nowrap;
  margin-top: 2px;
  text-align: center;
}

.case-list { list-style: none; }
.case-list li { padding: 14px 0; }
.case-list .t { font-weight: 650; font-size: 17px; display: block; }
.case-list .m { font-size: 14px; color: var(--muted); margin-top: 3px; display: block; }

/* How it works flow */
.flow { list-style: none; max-width: 36em; margin: 8px 0 28px; }
.flow > li { position: relative; padding: 0 0 24px 40px; }
.flow > li:last-child { padding-bottom: 0; }
.flow .num {
  position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px;
  border: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; background: var(--bg); z-index: 1;
}
.flow > li:not(:last-child)::after {
  content: "";
  position: absolute; left: 11px; top: 24px; bottom: 0;
  width: 1.5px; background: var(--ink);
}
.flow .step-title { font-weight: 650; font-size: 16px; line-height: 1.3; }
.flow .step-body { font-size: 15px; line-height: 1.5; color: var(--muted); margin-top: 4px; }

/* IA diagram */
.ia-wrap { max-width: 1180px; }
.ia-grid {
  display: grid;
  gap: 40px;
  margin-top: 12px;
}
.ia-col h2 { font-size: 18px; }
.sitemap { list-style: none; }
.sitemap > li { padding: 7px 0; font-size: 16px; }
.sitemap .sub { list-style: none; padding: 4px 0 4px 18px; font-size: 14.5px; color: var(--muted); }
.sitemap .coming { font-style: italic; }
.graph { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px 20px; }
.g-node {
  padding: 12px 14px;
  background: var(--raised);
}
.g-node strong { display: block; font-size: 15px; }
.g-node span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.35; }
.g-links { grid-column: 1 / -1; font-size: 14px; line-height: 1.55; max-width: 50em; }
.g-links li { margin: 0 0 6px 1.1em; }

/* Wordmark options sheet */
.page-wordmarks { background: var(--bg); }
.wm-row {
  display: flex;
  gap: 0;
  min-height: 160px;
  align-items: stretch;
}
.wm-opt {
  flex: 1;
  padding: 48px 40px;
  border-right: 1px solid var(--line);
}
.wm-opt:last-child { border-right: 0; }
.wm-opt .label {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.wm-opt .wordmark { font-size: 28px; font-variation-settings: "opsz" 28, "wght" 600; }
.wm-opt .working-name { display: block; margin: 6px 0 0; margin-left: 0; }


/* Home — issue-first, single column, no rail */
.page-home .main { max-width: 42rem; }
.coming-up { margin: 0 0 72px; padding-top: 8px; }
.coming-up h1 { margin: 0 0 28px; }
.coming-item { padding: 8px 0 4px; }
.coming-when {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.coming-stake {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 36;
  margin: 0 0 16px;
  max-width: 22em;
}
.coming-action {
  font-size: 16px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 36em;
}
.coming-action strong { color: var(--ink); font-weight: 650; }
.coming-up .empty { margin-top: 22px; font-size: 15px; }

.recent { margin: 0 0 72px; }
.recent h2 { margin-bottom: 8px; }
.recent .status-line { margin: 0 0 18px; }

.issue-card {
  padding: 22px 0 24px;
  border-top: 1px solid var(--line);
}
.issue-card:last-child { border-bottom: 1px solid var(--line); }
.issue-card .tag { margin: 0 0 6px; }
.issue-card .headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 28;
  text-decoration: none;
  display: block;
  color: var(--ink);
}
.issue-card a.headline:hover { text-decoration: underline; text-underline-offset: 3px; }
.issue-card .outcome {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.45;
  max-width: 40em;
}
.issue-card .tally-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 12px 0 0;
}
.issue-card .tally-announced { font-size: 13px; color: var(--muted); }
.issue-card .card-note {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.4;
}
.issue-card .votes-link { margin: 10px 0 0; font-size: 14.5px; font-weight: 650; }
.issue-card .card-meta {
  margin: 8px 0 0;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.home-map { margin: 0 0 24px; max-width: 48rem; }
.home-map h2 { margin-bottom: 8px; }
.home-map .map-lead {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 12px;
  max-width: 40em;
}

/* Issue detail reading column */
.page-issue .dais { max-width: 36em; }
.page-issue .issue-timeline { margin-top: 8px; }


/* Home — issue-first, two columns inside the left nav.
   Main (~60%): Recently decided. Rail (~40%): Coming up + map. */
.page-home .main { max-width: none; }
.page-home .recent { margin: 0; }
.page-home .recent h2, .page-home .recent > h1 {
  font-size: 22px;
  margin: 0 0 18px;
  font-variation-settings: "opsz" 32;
}

.lead-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 4px 0 36px;
  margin: 0 0 12px;
  border-bottom: 1px solid var(--line);
}
.lead-card .lead-visual {
  display: block;
  text-decoration: none;
  color: inherit;
}
.lead-card .lead-visual img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #eceae4;
  display: block;
}
.lead-card .lead-credit {
  grid-column: 1 / -1;
  display: block;
  margin: 0;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
}
.lead-card .headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 44;
  text-decoration: none;
  color: var(--ink);
  display: block;
}
.lead-card a.headline:hover { text-decoration: underline; text-underline-offset: 3px; }
.lead-card .outcome { margin: 12px 0 0; font-size: 17.5px; line-height: 1.45; max-width: 40em; }
.lead-card .tally-row { margin-top: 14px; }
.lead-card .votes-link { font-size: 15px; }

/* Compact Coming up in the rail */
.rail-coming .rail-title, .rail-map .rail-title { margin-bottom: 12px; }
.up-how { font-size: 12.5px; line-height: 1.4; color: var(--slate); margin: 10px 0 0; }
.up-more { font-size: 13.5px; margin: 10px 0 0; font-weight: 650; }
.up-item { padding: 6px 0; border-top: 1px solid var(--line); }
.up-item:last-child { border-bottom: 1px solid var(--line); }
.up-item .up-title {
  font-weight: 650;
  font-size: 14.5px;
  line-height: 1.3;
  display: block;
}
.up-item .up-stake { font-size: 13.5px; line-height: 1.4; color: var(--ink); margin: 4px 0 0; }
.up-item .up-when {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.up-item .up-action { font-size: 12.5px; color: var(--muted); margin: 4px 0 0; line-height: 1.35; }
.up-item .up-cite { font-size: 12px; margin: 4px 0 0; }
.up-when a { font-size: inherit; font-weight: 650; text-transform: none; letter-spacing: 0; }
.up-group { padding: 6px 0; border-top: 1px solid var(--line); }
.up-group .up-title { font-weight: 650; font-size: 14.5px; line-height: 1.3; }
.up-group .up-item { padding: 6px 0 0; border: 0; }
.up-group .up-item:last-child { border: 0; }
.page-home .home-map { margin: 8px 0 0; max-width: none; }
.page-home .home-map h2 { display: none; } /* title is the rail heading */
.page-home .map-lead { font-size: 12.5px; margin-bottom: 8px; }

/* Issue detail lead visual */
.issue-visual { margin: 0 0 24px; max-width: 40rem; }
.issue-visual img { width: 100%; height: 260px; object-fit: cover; background: #eceae4; display: block; }
.issue-visual .lead-credit { display: block; margin-top: 6px; font-size: 11.5px; color: var(--muted); }

/* Desktop 1440 shell */
@media (max-width: 1099px) {
  .vote-tally li { grid-template-columns: 1fr; }
  .vote-tally .vt-result { justify-content: flex-start; margin-top: 2px; }
  .page-home .map-crop { height: 200px; }
  .page-development .map-crop { height: 280px; }
}
@media (min-width: 1100px) {
  :root { --gutter: 36px; }
  body { font-size: 16.5px; }
  .shell {
    display: grid;
    grid-template-columns: var(--nav) minmax(0, 1fr) var(--rail);
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    column-gap: 0;
  }
  .shell.no-rail { grid-template-columns: var(--nav) minmax(0, 1fr); }

  .page-home { --rail: minmax(300px, 0.67fr); }
  .page-home.page-home .shell,
  body.page-home .shell {
    grid-template-columns: var(--nav) minmax(0, 1.5fr) minmax(300px, 1fr);
  }
  .lead-card {
    grid-template-columns: 1fr;
    gap: 16px 0;
    padding: 6px 0 40px;
  }
  .lead-card .lead-visual { grid-row: auto; grid-column: 1; }
  .lead-card .lead-body { grid-row: auto; grid-column: 1; }
  .lead-card .headline { font-size: 40px; font-variation-settings: "opsz" 56; letter-spacing: -0.03em; }
  .lead-card .lead-visual img { height: 300px; }
  .lead-card .outcome { font-size: 18.5px; }
  .page-home .map-crop { height: 200px; }
  .page-home .map-crop::after { box-shadow: inset 0 0 0 8px var(--bg); }
  .page-home .recent { margin-bottom: 0; }

  .site-nav {
    grid-column: 1;
    grid-row: 1 / -1;
    padding: 28px 22px 32px 28px;
    position: sticky;
    top: 0;
    align-self: start;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  .wordmark { font-size: 22px; font-variation-settings: "opsz" 22, "wght" 600; }
  .nav-list { flex-direction: column; gap: 9px; margin-top: 8px; }
  .nav-list a, .nav-list span { font-size: 15px; }
  .nav-list .coming { margin-top: 18px; font-size: 13.5px; }
  .site-search {
    grid-column: 2 / -1;
    grid-row: 1;
    padding: 28px var(--gutter) 8px;
  }
  .site-search input { max-width: 32em; }
  .main {
    grid-column: 2;
    grid-row: 2;
    padding: 12px var(--gutter) 64px 0;
  }
  .shell.no-rail .main { padding-right: var(--gutter); }
  .rail {
    grid-column: 3;
    grid-row: 2;
    padding: 12px var(--gutter) 64px 8px;
  }
  .site-footer {
    grid-column: 2 / -1;
    grid-row: 3;
    padding: 4px var(--gutter) 28px 0;
  }
  h1 { font-size: 40px; font-variation-settings: "opsz" 56; }
  .summary { font-size: 21px; line-height: 1.35; margin-bottom: 28px; }
  .page-development .map-crop { height: 520px; }
  .page-development .map-crop::after { box-shadow: inset 0 0 0 8px var(--bg); }
  .coming-up { margin-bottom: 88px; padding-top: 12px; }
  .coming-up h1 { font-size: 48px; font-variation-settings: "opsz" 64; margin-bottom: 32px; }
  .coming-stake { font-size: 34px; font-variation-settings: "opsz" 48; margin-bottom: 18px; }
  .coming-when { font-size: 13.5px; }
  .coming-action { font-size: 17px; }
  .recent { margin-bottom: 88px; }
  .issue-card .headline { font-size: 24px; }
  .dash { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 56px; align-items: start; }
  .dash-section.span-2 { grid-column: 1 / -1; }
  .seat { padding: 12px 0; }
  .ia-grid { grid-template-columns: 0.85fr 1.15fr; gap: 56px; }
}


/* ------------------------------------------------------------------
   Round 8 — inner-page pattern (issue detail, member).
   Shared: breadcrumb, page header, ~60/40 main+rail, footnotes,
   last-updated. Desktop-first at 1440, left nav unchanged.
   ------------------------------------------------------------------ */

.breadcrumb {
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
  margin: 0 0 16px;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
}
.breadcrumb li {
  display: inline;
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: var(--muted);
  margin: 0 0.4em;
  text-decoration: none;
  font-weight: 400;
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

/* Title rule lives in color.css (navy, the one in-content navy element). */
.page-issue .page-head > h1,
.page-member .page-head > h1 {
  margin-bottom: 14px;
}
.page-issue .page-head .summary,
.page-member .page-head .summary {
  margin-top: 4px;
  margin-bottom: 16px;
}

/* Numbered source marks in running text */
sup.fn {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
  margin-left: 1px;
}
sup.fn a { text-decoration: none; }
sup.fn a:hover { text-decoration: underline; text-underline-offset: 2px; }

.sources {
  list-style: decimal;
  padding-left: 1.35em;
  font-size: 14px;
  line-height: 1.5;
  max-width: 50em;
}
.sources li { margin: 0 0 10px; padding-left: 0.2em; }
.sources li:target {
  outline: 1px dotted var(--ink);
  outline-offset: 3px;
}

.doc-list { list-style: none; max-width: 44em; }
.doc-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.doc-list li:last-child { border-bottom: 1px solid var(--line); }
.doc-list .t { font-weight: 650; font-size: 15px; display: block; line-height: 1.3; }
.doc-list .t a { text-decoration: none; }
.doc-list .t a:hover { text-decoration: underline; text-underline-offset: 3px; }
.doc-list .m { font-size: 13.5px; color: var(--muted); margin-top: 3px; display: block; line-height: 1.4; }

.facts { max-width: 40em; }
.facts .fact {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.facts .fact:last-child { border-bottom: 1px solid var(--line); }
.facts .label {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px;
}
.facts .value { font-size: 16px; line-height: 1.45; }
.facts .value .note {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.4;
}
.gap {
  font-style: italic;
  font-weight: 400;
}

.last-updated {
  margin-top: 40px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 44em;
}

/* Rail locator on the issue page — static crop, shown in full so
   street labels and the SR 773 shield are not clipped. */
.rail-locator img {
  width: 100%;
  height: auto;
  display: block;
  background: #eceae4;
}
.rail-locator .lead-credit,
.rail-locator figcaption {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--muted);
}

.page-issue .dais,
.page-member .record { max-width: 40em; }

/* Inner pages share Home's ~60/40 main+rail split inside the 220px nav. */
@media (min-width: 1100px) {
  .page-issue .shell,
  .page-member .shell {
    grid-template-columns: var(--nav) minmax(0, 1.5fr) minmax(300px, 1fr);
  }
}


/* ------------------------------------------------------------------
   Round 8 — locked inner-page pattern, all pages.
   Title rule is in color.css (.title-rule). Gaps are one muted line.
   Sources are a per-section muted line, not clusters of footnote marks.
   ------------------------------------------------------------------ */

.title-rule {
  display: block;
  width: 48px;
  height: 2px;
  margin: 8px 0 16px;
  background: var(--ink);
}

.gap-line {
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
  font-style: italic;
  font-weight: 400;
  margin: 8px 0 0;
  max-width: 44em;
}
.page-head .gap-line { margin-top: 6px; margin-bottom: 4px; }

.sec-sources {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  margin: 12px 0 0;
  max-width: 44em;
}
.sec-sources .lbl {
  font-weight: 650;
  letter-spacing: 0.04em;
  margin-right: 0.35em;
}

/* Compact horizontal status line (issue pages, above the fold) */
.steps-h {
  list-style: none;
  display: flex;
  align-items: flex-start;
  margin: 16px 0 6px;
  padding: 0;
  max-width: 44em;
}
.steps-h > li {
  flex: 1 1 0;
  position: relative;
  text-align: center;
  padding: 0 6px;
  min-width: 0;
}
.steps-h > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 6px;
  left: calc(50% + 10px);
  right: calc(-50% + 10px);
  height: 1.5px;
  background: var(--ink);
  pointer-events: none;
}
.step-dot {
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto 8px;
  border: 1.75px solid var(--ink);
  border-radius: 50%;
  background: var(--ink);
  box-sizing: border-box;
}
.steps-h .pending .step-dot {
  background: transparent;
}
.steps-h .when {
  display: block;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.25;
}
.steps-h .what {
  display: block;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--muted);
  margin-top: 2px;
}

/* Compact facts row (member pages) */
.facts-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 16px;
  padding: 14px 0 16px;
  margin: 0 0 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 44em;
}
.facts-row .label {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px;
}
.facts-row .value {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
}
.facts-row.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts-row.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }


/* Council member grid */
.member-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  margin: 8px 0 0;
}
.member-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.member-grid .member-card:last-child { border-bottom: 1px solid var(--line); }
.initials {
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  background: var(--bg);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  box-sizing: border-box;
}
.member-card .role {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.member-card .name {
  font-weight: 650;
  font-size: 17px;
  line-height: 1.2;
  display: block;
}
.member-card a.name { text-decoration: none; }
.member-card a.name:hover { text-decoration: underline; text-underline-offset: 3px; }
.member-card .term {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.board-block { padding: 8px 0 4px; }
.board-block + .board-block { margin-top: 12px; }
.board-meta { font-size: 14px; line-height: 1.45; color: var(--muted); margin: 0 0 8px; max-width: 44em; }
.board-list { list-style: none; max-width: 44em; }
.board-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  align-items: baseline;
}
.board-list li:last-child { border-bottom: 1px solid var(--line); }
.board-list .role-inline { font-weight: 500; }
.board-list .term { font-size: 13px; color: var(--muted); }

/* Issues filter tabs: weight + underline, not color */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  margin: 4px 0 22px;
  padding: 0;
  border-bottom: 1px solid var(--line);
  list-style: none;
}
.tabs button {
  appearance: none;
  background: none;
  border: 0;
  padding: 8px 0 10px;
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tabs button[aria-selected="true"] {
  font-weight: 700;
  border-bottom-color: var(--ink);
}
.tabs button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.issue-index .issue-card { max-width: 44em; }
.tag-row { margin: 6px 0 0; }
.tag-row .tag { color: var(--muted); }

/* Spending cards */
.spend-list { list-style: none; max-width: 44em; }
.spend-card {
  padding: 16px 0 18px;
  border-top: 1px solid var(--line);
}
.spend-card:last-child { border-bottom: 1px solid var(--line); }
.spend-card .t {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  display: block;
}
.spend-card .facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 10px 0 0;
}
.spend-card .facts .label {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 2px;
}
.spend-card .facts .value { font-size: 14.5px; line-height: 1.35; }
.spend-card .facts .value.gap { font-style: italic; color: var(--muted); }
.spend-card .m { font-size: 13.5px; color: var(--muted); margin-top: 8px; display: block; line-height: 1.4; }
.coming-later {
  margin: 28px 0 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
  font-style: italic;
  max-width: 40em;
}

/* Meetings list */
.meet-list { list-style: none; max-width: 44em; }
.meet-item {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.meet-list .meet-item:last-child { border-bottom: 1px solid var(--line); }
.meet-item .when {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px;
}
.meet-item .t { font-weight: 650; font-size: 16.5px; display: block; line-height: 1.3; }
.meet-item a.t { text-decoration: none; }
.meet-item a.t:hover { text-decoration: underline; text-underline-offset: 3px; }
.meet-item .m { font-size: 14px; color: var(--muted); margin-top: 3px; display: block; line-height: 1.4; }

.agenda-plain { list-style: none; max-width: 44em; }
.agenda-plain li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.agenda-plain li:last-child { border-bottom: 1px solid var(--line); }
.agenda-plain .t { font-weight: 650; font-size: 16px; display: block; line-height: 1.3; }
.agenda-plain .m { font-size: 14px; color: var(--muted); margin-top: 4px; display: block; line-height: 1.4; }

.placeholder {
  font-family: var(--sans);
  font-style: italic;
  color: var(--muted);
}

.page-how .prose, .page-how .section { max-width: 44em; }

@media (min-width: 1100px) {
  .page-issue .shell,
  .page-member .shell,
  .page-council .shell,
  .page-meetings .shell,
  .page-meeting .shell,
  .page-issues .shell,
  .page-spending .shell,
  .page-development .shell,
  .page-how .shell,
  .page-search .shell {
    grid-template-columns: var(--nav) minmax(0, 1.5fr) minmax(300px, 1fr);
  }
  .member-grid { grid-template-columns: 1fr 1fr; column-gap: 32px; border-bottom: 1px solid var(--line); }
  .member-grid .member-card { border-bottom: 0; }
  .member-grid .member-card:last-child,
  .member-grid .member-card:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 1099px) {
  .facts-row { grid-template-columns: 1fr 1fr; }
  .spend-card .facts { grid-template-columns: 1fr; }
  .steps-h { flex-wrap: wrap; }
  .steps-h > li { flex: 1 1 30%; margin-bottom: 12px; }
  .steps-h > li:not(:last-child)::after { display: none; }
}

/* Round 8 pages 3–8 additions */
.page-development .map-crop.map-large { height: 360px; }
@media (min-width: 1100px) {
  .page-development .map-crop.map-large { height: 560px; }
}

.dev-list { list-style: none; max-width: 44em; margin: 8px 0 0; }
.dev-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.dev-list .dev-item:last-child { border-bottom: 1px solid var(--line); }
.pin-mark {
  width: 24px;
  height: 24px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  line-height: 24px;
  text-align: center;
  margin-top: 1px;
}
.pin-mark.pin-square { border-radius: 0; }
.pin-mark.pin-circle { border-radius: 50%; }
.dev-item .t { font-weight: 650; font-size: 16.5px; line-height: 1.3; }
.dev-item .t a { text-decoration: none; }
.dev-item .t a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dev-item .case-id { font-size: 13px; color: var(--muted); margin-top: 2px; }
.dev-item .m { font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.4; }

.agenda-plain .item-num {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px;
}
.agenda-plain .plain {
  font-size: 15px;
  line-height: 1.45;
  margin: 6px 0 0;
  max-width: 40em;
}
.agenda-plain .outcome {
  font-size: 13.5px;
  color: var(--muted);
  font-style: italic;
  font-weight: 400;
  margin: 8px 0 0;
}

.placeholder-email {
  font-family: var(--sans);
  font-style: italic;
  color: var(--muted);
}
.page-how strong.term { font-weight: 650; font-style: normal; color: var(--ink); }

.issue-index { max-width: 44em; }
.issue-card.spend-card { padding: 22px 0 24px; }
.issue-card.spend-card .outcome { color: var(--muted); }

#upcoming { scroll-margin-top: 16px; }


/* Development rail: compact case cards matching map pins */
.rail-cases { list-style: none; margin: 4px 0 0; }
.rail-case {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.rail-cases .rail-case:last-child { border-bottom: 1px solid var(--line); }
.rail-case .t { font-weight: 650; font-size: 15.5px; line-height: 1.3; }
.rail-case .t a { text-decoration: none; }
.rail-case .t a:hover { text-decoration: underline; text-underline-offset: 3px; }
.rail-case .status { font-size: 13.5px; line-height: 1.35; margin-top: 3px; }
.rail-case .m { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.4; }


/* Search results — locked inner-page pattern */
.search-hits { list-style: none; max-width: 44em; margin: 0; }
.search-hit {
  padding: 16px 0 18px;
  border-top: 1px solid var(--line);
}
.search-hits .search-hit:last-child { border-bottom: 1px solid var(--line); }
.hit-type {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 4px;
  /* Title case, as a word — not all caps, and not a colored chip. */
}
.hit-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.28;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 22;
  text-decoration: none;
  display: inline;
}
.hit-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.hit-snippet {
  font-size: 15px;
  line-height: 1.45;
  margin: 6px 0 0;
  max-width: 42em;
  color: var(--ink);
}
.hit-meta {
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
  margin: 6px 0 0;
}
/* Match highlight: bold weight, inherited color. Never a color-only cue. */
.hit-q,
.hit-title .hit-q,
.hit-snippet .hit-q {
  font-weight: 700;
  color: inherit;
  background: none;
  font-style: inherit;
}
.search-tabs .count {
  font-weight: 400;
  color: var(--muted);
  margin-left: 0.2em;
}
.search-tabs button[aria-selected="true"] .count { font-weight: 650; }

.search-empty,
.search-none { max-width: 40em; margin-top: 4px; }
.search-empty p,
.search-none .none-warm {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 20px;
}
.none-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 10px;
}
.search-suggest { margin: 8px 0 0; }
.suggest-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.search-suggest ul { list-style: none; }
.search-suggest li { margin: 0 0 8px; font-size: 16px; line-height: 1.4; }
.search-suggest a { text-underline-offset: 3px; }
.search-note {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  margin: 28px 0 0;
  max-width: 44em;
}

@media (min-width: 1100px) {
  .hit-title { font-size: 22px; font-variation-settings: "opsz" 28; }
  .hit-snippet { font-size: 15.5px; }
}
@media (max-width: 1099px) {
  .hit-title { font-size: 19px; }
  .search-tabs { gap: 4px 18px; }
}
