@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Italic.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0B0C0F;
  --bg-elev: #101117;
  --panel: #16171D;
  --panel-2: #1C1E26;
  --ink: #F1EEE6;
  --ink-dim: #C5C1B7;
  --muted: #8A8E97;
  --faint: #5E636C;
  --line: rgba(241, 238, 230, 0.10);
  --line-2: rgba(241, 238, 230, 0.16);
  --crimson: #C51F1F;
  --crimson-2: #E03A3A;
  --crimson-dim: rgba(197, 31, 31, 0.18);
  --tape: #E2C15A;
  --steel: #7A92A8;
  --charged: #D08A2A;
  --pending: #7A92A8;
  --convicted: #A33B30;
  --dismissed: #6D7370;
  --ok: #8AA084;
  --max: 1320px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--tape); }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

/* Sample banner */
.sample {
  background: var(--tape);
  color: #141414;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 7px 16px;
}
.sample span { font-weight: 500; letter-spacing: 0.08em; }

/* Header */
.topbar {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.topbar-in {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.mark {
  width: 36px;
  height: 36px;
  border: 1px solid var(--crimson);
  display: grid;
  place-items: center;
  position: relative;
}
.mark::before, .mark::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-color: var(--crimson);
  border-style: solid;
}
.mark::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.mark::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.mark b {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--crimson);
  letter-spacing: 0;
}
.brand-text { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand-name em { font-style: normal; color: var(--crimson); }
.brand-loc {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
nav.prim {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 0;
  overflow: auto hidden;
  scrollbar-width: none;
}
nav.prim::-webkit-scrollbar { display: none; }
nav.prim a {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
nav.prim a:hover, nav.prim a.is-on {
  color: var(--ink);
  border-bottom-color: var(--crimson);
}
.desk-search {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 8px 12px;
  min-width: 200px;
}
.desk-search svg { width: 14px; height: 14px; stroke: var(--muted); fill: none; stroke-width: 1.7; }
.desk-search input {
  background: none; border: 0; outline: none; color: var(--ink);
  font: 500 12px/1 Inter, sans-serif; letter-spacing: 0.04em; width: 100%;
}
.desk-search input::placeholder { color: var(--faint); }

/* Innocence tape */
.tape {
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
  color: var(--tape);
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 16px;
}

/* Place-key / cross-site block */
.placebar { border-bottom: 1px solid var(--line); background: var(--bg-elev); }
.placebar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 52px;
  flex-wrap: wrap;
  padding: 8px 0;
}
.pkey {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.pkey .k {
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.pkey code {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  background: none;
}
.xsite {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.xsite a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-2);
  background: var(--panel);
  padding: 7px 11px;
  font-size: 12px;
  color: var(--ink);
}
.xsite a:hover { border-color: var(--tape); color: var(--tape); }
.xsite a b {
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tape);
}
.xsite a.is-here {
  border-color: var(--crimson);
  background: var(--crimson-dim);
}
.xsite a.is-here b { color: var(--crimson-2); }

/* Breadcrumb */
.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 22px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--tape); }
.crumb .sep { color: var(--faint); }

main { padding: 0 0 72px; }

/* Hero */
.hero { padding: 22px 0 8px; }
.kicker {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--crimson-2);
  margin-bottom: 10px;
}
h1 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin-bottom: 14px;
}
.lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: 46rem;
}
.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 2px;
  border: 1px solid var(--line);
}
.stat {
  background: var(--panel);
  padding: 12px 16px 14px;
  min-width: 108px;
}
.stat b {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  max-width: 9em;
}
.note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--faint);
}

/* Section heads */
.sec {
  margin-top: 40px;
}
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 16px;
}
.sec-head h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.sec-head p, .sec-head a.more {
  font-size: 13px;
  color: var(--muted);
}
.sec-head a.more:hover { color: var(--tape); }

/* Mugshot wall */
.wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--ink);
}
a.card:hover { border-color: var(--crimson); color: var(--ink); }
a.card:hover .cname { color: var(--tape); }
.photo {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #0E0F13;
  overflow: hidden;
}
.photo svg { width: 100%; height: 100%; }
.photo .badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 1;
}
.fileid {
  position: absolute;
  top: 8px;
  right: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink);
  background: rgba(11, 12, 15, 0.72);
  padding: 3px 6px;
}
.meta { padding: 10px 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.cname {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.cwhere, .cwhen {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
}

/* Chips */
.chip {
  display: inline-flex;
  align-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 7px;
  border: 1px solid currentColor;
  background: rgba(11, 12, 15, 0.72);
  color: var(--ink);
}
.chip.booked { color: #F3C7C7; border-color: var(--crimson); background: rgba(197, 31, 31, 0.28); }
.chip.charged { color: #F3D7A8; border-color: var(--charged); background: rgba(208, 138, 42, 0.22); }
.chip.pending { color: #D3E2EE; border-color: var(--pending); background: rgba(122, 146, 168, 0.22); }
.chip.convicted { color: #F0C8C3; border-color: var(--convicted); background: rgba(163, 59, 48, 0.28); }
.chip.dismissed { color: #D4D6D4; border-color: var(--dismissed); background: rgba(109, 115, 112, 0.28); }

.key {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}
.key .lab { letter-spacing: 0.08em; text-transform: uppercase; font-family: "Space Grotesk", sans-serif; font-size: 10px; font-weight: 600; color: var(--faint); }

.tag {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  padding: 4px 8px;
  color: var(--ink-dim);
}

/* County index */
.counties {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.county {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
}
.county:hover { background: var(--panel); color: var(--ink); }
.county:hover .cn { color: var(--tape); }
.cn { min-width: 0; }
.cst {
  font-family: "Space Grotesk", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  flex-shrink: 0;
}
.county.is-live .cst { color: var(--crimson-2); }
.county.is-next .cst { color: var(--tape); }

/* Jails list */
.jails { display: grid; gap: 10px; }
.jail {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 14px 16px;
  color: var(--ink);
}
.jail .tag { margin-bottom: 8px; }
a.jail:hover { border-color: var(--tape); color: var(--ink); }
.jail h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.jail p { font-size: 13px; color: var(--muted); margin-top: 3px; }
.jail .go {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tape);
}

/* Cities row */
.cities { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.city {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 16px;
  color: var(--ink);
}
a.city:hover { border-color: var(--tape); color: var(--ink); }
.city h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 700;
}
.city p { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* News strip */
.news-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.news-list a {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.news-list a:hover .nt { color: var(--tape); }
.news-list .nd {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}
.news-list .nt { font-size: 15px; font-weight: 500; }

/* Person file */
.file {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 32px;
  padding-top: 22px;
  align-items: start;
}
.jacket {
  background: var(--panel);
  border: 1px solid var(--line);
  position: sticky;
  top: 16px;
}
.jacket-photo { position: relative; aspect-ratio: 3 / 4; background: #0E0F13; }
.jacket-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jacket-photo .badge { position: absolute; left: 10px; bottom: 10px; }
.jacket-body { padding: 16px 16px 18px; }
.jacket-body h1 {
  font-size: 28px;
  margin: 0 0 6px;
  letter-spacing: -0.03em;
}
.also-known { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.ids { display: grid; gap: 8px; margin: 14px 0; }
.idrow { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.idrow .l { color: var(--faint); text-transform: uppercase; letter-spacing: 0.1em; font-family: "Space Grotesk", sans-serif; font-size: 10px; font-weight: 600; }
.idrow .v { font-variant-numeric: tabular-nums; text-align: right; }
.innocent-box {
  border: 1px solid var(--tape);
  color: var(--tape);
  font-size: 12px;
  padding: 10px 12px;
  margin-top: 4px;
  line-height: 1.45;
}
.related {
  border: 1px solid var(--line-2);
  padding: 12px 14px;
  margin-top: 24px;
  background: var(--bg-elev);
}
.related h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tape);
  margin-bottom: 8px;
}
.related p { font-size: 13px; color: var(--ink-dim); }
.related a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.related a:hover { color: var(--tape); }

.timeline { min-width: 0; }
.tl-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 16px;
}
.rail { position: relative; }
.rail::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 4px;
  bottom: -8px;
  width: 1px;
  background: var(--line-2);
}
.tl-item:last-child .rail::before { display: none; }
.dot {
  width: 11px;
  height: 11px;
  margin: 6px auto 0;
  background: var(--bg);
  border: 2px solid var(--crimson);
  position: relative;
  z-index: 1;
}
.tl-item.is-done .dot { border-color: var(--convicted); background: var(--convicted); }
.entry {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 16px 16px 18px;
  margin-bottom: 14px;
}
.entry-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 10px;
}
.entry h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.when { font-size: 12px; color: var(--muted); margin-top: 3px; }
.entry-grid {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.thumb { aspect-ratio: 3 / 4; background: #0E0F13; border: 1px solid var(--line); }
.charges { width: 100%; border-collapse: collapse; }
.charges th, .charges td {
  text-align: left;
  font-size: 13px;
  padding: 6px 8px 6px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.charges th {
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
  width: 7.5rem;
}
.src { font-size: 12px; color: var(--muted); margin-top: 10px; }
.removed-note {
  border: 1px dashed var(--line-2);
  padding: 12px 14px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}
.removed-note b {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dismissed);
  margin-bottom: 4px;
  font-weight: 700;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  background: var(--bg-elev);
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 13px;
}
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.fbrand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.fbrand em { font-style: normal; color: var(--crimson); }
footer a { color: var(--ink-dim); }
footer a:hover { color: var(--tape); }
footer ul { list-style: none; display: grid; gap: 6px; }
footer h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}

@media (max-width: 1040px) {
  .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .counties { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-row, .file, .foot-in, .cities { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .jail { grid-template-columns: 1fr; }
  .jacket { position: static; max-width: 360px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 28px); }
  .topbar-in { min-height: 60px; gap: 14px; }
  .desk-search { display: none; }
  h1 { font-size: 36px; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .counties { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-row { gap: 16px; }
  .news-list a { grid-template-columns: 1fr; gap: 4px; }
  .entry-grid { grid-template-columns: 72px 1fr; gap: 12px; }
  .placebar-in { align-items: start; }
  .xsite a { width: 100%; }
}

@media (max-width: 720px) {
  .jacket { max-width: none; }
  .jacket-photo { aspect-ratio: 4 / 5; max-height: 320px; }
  .jacket-photo svg { width: 100%; height: 100%; object-fit: cover; }
  .file-hero { padding: 18px 0 0; }
  .file-hero h1 { font-size: 32px; margin-bottom: 8px; }
  .entry-grid { grid-template-columns: 1fr; }
  .entry-grid .thumb { width: 84px; }
  .charges th, .charges td { display: block; width: auto; }
  .charges th { padding: 8px 0 0; border-bottom: 0; }
  .charges td { padding: 2px 0 8px; }
  nav.prim { gap: 14px; }
}

/* ---- 2100 build additions: logo, theme toggle, light theme, extra modules ---- */
.brand .logo { height: 44px; width: auto; }
.theme-toggle {
  flex-shrink: 0; border: 1px solid var(--line-2); background: var(--panel);
  color: var(--ink-dim); font-family: "Space Grotesk", sans-serif; font-size: 10px;
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 11px; cursor: pointer;
}
.theme-toggle:hover { border-color: var(--tape); color: var(--tape); }
html[data-theme="light"] {
  --bg: #F2EFE7; --bg-elev: #EAE6DB; --panel: #FFFFFF; --panel-2: #F6F3EC;
  --ink: #16171C; --ink-dim: #3C3F46; --muted: #5E6068; --faint: #8B8D94;
  --line: rgba(22, 23, 28, 0.14); --line-2: rgba(22, 23, 28, 0.24);
  --crimson-dim: rgba(197, 31, 31, 0.10);
}
html[data-theme="light"] .tape { color: #7A5E10; }
html[data-theme="light"] .photo { background: #23242B; }
html[data-theme="light"] .thumb { background: #23242B; }
html[data-theme="light"] .jacket-photo { background: #23242B; }
html[data-theme="light"] .fileid { color: #F1EEE6; }
html[data-theme="light"] .chip.booked { background: rgba(197,31,31,0.14); color: #8E1616; }
html[data-theme="light"] .chip.charged { background: rgba(208,138,42,0.16); color: #7C4E0E; }
html[data-theme="light"] .chip.pending { background: rgba(122,146,168,0.18); color: #33506B; }
html[data-theme="light"] .chip.convicted { background: rgba(163,59,48,0.14); color: #7E2A20; }
.xsite a b.hist-b { color: var(--tape); }
.status-copy { border: 1px solid var(--line); background: var(--panel); padding: 16px 18px; font-size: 14px; color: var(--ink-dim); max-width: 52rem; }
.status-copy p + p { margin-top: 8px; }
.status-copy a { border-bottom: 1px solid var(--line-2); overflow-wrap: anywhere; }
.status-copy p { overflow-wrap: anywhere; }
.people-list { border-top: 1px solid var(--line); }
.people-list a {
  display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: baseline;
  padding: 9px 10px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 14px;
}
.people-list a:hover { background: var(--panel); }
.people-list .pj { color: var(--muted); font-size: 12px; }
.people-list .pb { font-family: "Space Grotesk", sans-serif; font-size: 11px; letter-spacing: 0.08em; color: var(--faint); text-transform: uppercase; }
.article-body { max-width: 52rem; font-size: 15.5px; line-height: 1.65; color: var(--ink-dim); }
.article-body p { margin: 0 0 14px; }
.article-body h2, .article-body h3 { font-family: "Space Grotesk", sans-serif; color: var(--ink); margin: 26px 0 10px; letter-spacing: -0.01em; }
.article-body a { border-bottom: 1px solid var(--line-2); }
.article-body .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 14px 0; }
.article-body .gallery figure { margin: 0; border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.article-body .gallery img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.article-body .gallery figcaption { padding: 8px 10px; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.article-body .gallery figcaption strong { display: block; font-size: 13px; color: var(--ink); }
.article-body img { max-width: 100%; }
.photo-record { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.photo-record .pr-head { font-size: 12px; color: var(--muted); margin: 0 0 8px; }
.pr-strip { display: flex; gap: 10px; flex-wrap: wrap; }
.pr-cell { margin: 0; width: 84px; }
.pr-cell img { width: 84px; height: 105px; object-fit: cover; background: #23242B; display: block; }
/* Face-safe framing (Joel 2026-11-17): landscape photos (generator-
   tagged .ph-wide from measured shape) letterbox whole inside the
   frame on the frame's own dark ground — never cover-cropped through
   the face. Portrait photos keep the standard treatment. */
.photo img.ph-wide, .jacket-photo img.ph-wide, .thumb img.ph-wide { width: 100%; height: 100%; object-fit: contain; }
.pr-cell img.ph-wide { object-fit: contain; }
.article-body .gallery img.ph-wide { object-fit: contain; }
.pr-cell figcaption { font-size: 11px; color: var(--muted); padding-top: 4px; line-height: 1.3; }
.pr-cell .pr-cur { display: inline-block; color: var(--tape); font-weight: 700; text-transform: uppercase; font-size: 9.5px; letter-spacing: 0.08em; }
.cform label { display: block; font-weight: 600; margin: 14px 0 4px; color: var(--ink); font-size: 14px; }
.cform input[type=text], .cform input[type=email], .cform select, .cform textarea {
  width: 100%; box-sizing: border-box; padding: 9px 10px; border: 1px solid var(--line-2);
  background: var(--panel); color: var(--ink); font: inherit;
}
.cform textarea { min-height: 110px; }
.cform .attest { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-weight: 400; }
.cform .attest input { margin-top: 4px; }
.cform button { margin-top: 18px; padding: 11px 22px; border: 0; background: var(--tape); color: #141414; font: inherit; font-weight: 700; cursor: pointer; }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform .opt { font-weight: 400; color: var(--muted); }
.chip.st-live { color: #F3C7C7; border-color: var(--crimson); background: var(--crimson-dim); }
.chip.st-covered { color: #F3C7C7; border-color: var(--crimson); background: var(--crimson-dim); }
.chip.st-ingest { color: #F3D7A8; border-color: var(--charged); background: rgba(208,138,42,0.22); }
.chip.st-next { color: #D3E2EE; border-color: var(--pending); background: rgba(122,146,168,0.22); }
.chip.st-apra { color: #D4D6D4; border-color: var(--dismissed); background: rgba(109,115,112,0.28); }
html[data-theme="light"] .chip.st-ingest { color: #7C4E0E; }
html[data-theme="light"] .chip.st-next { color: #33506B; }
html[data-theme="light"] .chip.st-apra { color: #4A4E4C; }
tr.charge-dismissed td { color: var(--muted); }
tr.charge-dismissed td .cdesc { text-decoration: line-through; }
.fresh { font-size: 12px; color: var(--faint); margin-top: 10px; }
.search-big { display: flex; gap: 8px; border: 1px solid var(--line-2); background: var(--panel); padding: 10px 12px; max-width: 34rem; margin-top: 18px; }
.search-big input { background: none; border: 0; outline: none; color: var(--ink); font: 500 14px/1 Inter, sans-serif; width: 100%; }
.search-big button { background: var(--crimson); color: #fff; border: 0; padding: 8px 16px; font-family: "Space Grotesk", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
/* ---- contextual menu row (Joel markup 2026-11-15): shifts with the page ---- */
.ctxbar { border-bottom: 1px solid var(--line); background: var(--bg); }
.ctxbar-in { display: flex; align-items: center; gap: 18px; min-height: 44px; }
.ctx-lead {
  flex-shrink: 1; min-width: 0; font-family: "Space Grotesk", sans-serif; font-size: 11px;
  font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tape);
  white-space: normal; overflow-wrap: break-word;
}
html[data-theme="light"] .ctx-lead { color: #7A5E10; }
.ctxnav {
  display: flex; align-items: center; gap: 16px; min-width: 0; flex: 1;
  overflow: auto hidden; scrollbar-width: none;
}
.ctxnav::-webkit-scrollbar { display: none; }
.ctxnav a {
  font-family: "Space Grotesk", sans-serif; font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim);
  white-space: nowrap; padding: 5px 0; border-bottom: 1px solid transparent;
}
.ctxnav a:hover { color: var(--tape); }
.ctxnav a.is-on { color: var(--ink); border-bottom-color: var(--crimson); }
table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td { text-align: left; font-size: 13.5px; padding: 7px 10px 7px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font-family: "Space Grotesk", sans-serif; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
/* ---- front-door US map + regions row (History locmap pattern, 2100 palette) ---- */
.locmap { width: 100%; height: auto; display: block; }
.locmap .st { fill: var(--panel-2); stroke: var(--line-2); stroke-width: 1; }
.locmap .st.inreg { fill: rgba(122, 146, 168, 0.38); }
.locmap .st.live { fill: var(--crimson); }
.locmap a.mapshape:hover path, .locmap a.mapshape:focus-visible path { fill: var(--tape); }
.locmap .dot { fill: var(--tape); stroke: var(--bg); stroke-width: 2; }
.locmap .mapring { fill: none; stroke: var(--tape); stroke-width: 2; opacity: 0; pointer-events: none; }
.locmap .mapdot { outline: none; }
.locmap .mapdot:hover .mapring, .locmap .mapdot:focus-visible .mapring { opacity: 0.9; }
.locmap .maptip { font: 650 13px "Space Grotesk", sans-serif; fill: var(--ink); paint-order: stroke; stroke: var(--bg); stroke-width: 4px; visibility: hidden; pointer-events: none; }
.locmap .mapdot:hover .maptip, .locmap .mapdot:focus-visible .maptip { visibility: visible; }
html[data-theme="light"] .locmap .st { fill: #E4DFD1; }
html[data-theme="light"] .locmap .st.inreg { fill: #BFCFD9; }
html[data-theme="light"] .locmap .st.live { fill: var(--crimson); }
/* ---- map drill-down (Joel 2026-11-15): one level per click, a map at every level ---- */
.locmap .cty { fill: var(--panel-2); stroke: var(--line-2); stroke-width: 1.2; }
.locmap .cty.live { fill: var(--crimson); }
.locmap .dot.jail { fill: var(--crimson); stroke: var(--tape); stroke-width: 2.5; }
html[data-theme="light"] .locmap .cty { fill: #DAD0B2; stroke: rgba(22, 23, 28, 0.55); }
html[data-theme="light"] .locmap .cty.live { fill: var(--crimson); }
.subnav .sublink-off { border: 1px dashed var(--line); color: var(--faint); padding: 7px 11px; font-size: 13px; }
.locmap.ctymap-one .cty { stroke-width: 0.4; }
.locmap.ctymap-one .dot { fill: var(--ink); stroke: var(--bg); stroke-width: 0.3; }
.locmap.ctymap-one .dot.jail { fill: var(--tape); stroke: var(--crimson); stroke-width: 0.45; }
.locmap.ctymap-one .mapring { stroke-width: 0.3; }
.geo-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.geo-list li { border: 1px solid var(--line); background: var(--panel); padding: 14px 16px; }
.geo-list b { display: block; font-family: "Space Grotesk", sans-serif; font-size: 17px; font-weight: 600; color: var(--ink); }
.geo-list span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.geo-list span.covers { font-size: 11px; }
.geo-list a { display: block; }
.geo-list a:hover b { color: var(--tape); }
.geo-list li.soon { opacity: 0.72; }
.geo-list li.soon b { color: var(--ink-dim); }
/* ---- tree sub-menus (Joel flow 2026-11-15): the next level down, labeled ---- */
.submenus { display: grid; gap: 12px; }
.submenu { border: 1px solid var(--line); background: var(--panel); padding: 14px 16px 16px; }
.submenu-h { font-family: "Space Grotesk", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tape); margin-bottom: 10px; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; }
.subnav a { border: 1px solid var(--line-2); background: var(--bg-elev); color: var(--ink-dim); padding: 7px 11px; font-size: 13px; }
.subnav a:hover { color: var(--tape); border-color: var(--tape); }
.subnav a .n { margin-left: 7px; font-family: "Space Grotesk", sans-serif; font-size: 11px; letter-spacing: 0.05em; color: var(--faint); }
/* ---- USA-TREE SHELL (Amendments 5+6, Joel 2026-11-15): History's
   map-left / list-right split at every USA > region > state > county
   level. FIXED structure; themed ONLY by the palette variables above
   (another USA-tree property adopts this shell by changing variable
   values, nothing else). Map first in DOM, so mobile stacks map over
   list, History's order; the split collapses at 900px. ---- */
.geo-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.geo-map .locmap { width: 100%; height: auto; display: block; }
.geo-map .map-note { margin-top: 10px; font-size: 13px; color: var(--muted); }
.geo-side > h2 { font-family: "Space Grotesk", sans-serif; font-size: 26px; font-weight: 700; color: var(--ink); margin: 2px 0 4px; }
.geo-side .geo-list { grid-template-columns: 1fr; margin-top: 14px; }
.geo-side .geo-list.many { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); }
.geo-side .geo-list.many li { padding: 7px 9px; }
.geo-side .geo-list.many b { font-size: 13px; }
.geo-side .geo-list.many span { font-size: 10.5px; margin-top: 1px; }
.geo-side .geo-list.many span.covers { font-size: 9.5px; }
/* FIT (Joel, 2026-11-15 23:20 ET): on state hubs the 88-92 county
   rail must fit the map beside it, never tower past it. The side
   column leaves the flow over the grid's right track, so the
   section is exactly the map's height; the county list scrolls
   inside the rail. Every county stays present and clickable:
   compact rows, no pagination, no hiding. Stacked (<=900px) the
   rail returns to normal flow and the full list shows. */
.geo-fit .geo-grid { position: relative; }
.geo-fit .geo-side { position: absolute; top: 0; bottom: 0; right: 0; left: calc((100% - 2rem) * 1.3 / 2.3 + 2rem); display: flex; flex-direction: column; min-height: 0; }
.geo-fit .geo-stats, .geo-fit .geo-side > h2 { flex: none; }
.geo-fit .geo-list.many { overflow-y: auto; min-height: 0; flex: 1 1 auto; gap: 6px; padding-right: 2px; scrollbar-width: thin; }
@media (max-width: 900px) { .geo-fit .geo-side { position: static; } .geo-fit .geo-list.many { overflow: visible; flex: none; } }
.geo-side .cities { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-top: 14px; }
.geo-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; margin-bottom: 22px; }
.geo-stats .gs b { display: block; font-family: "Space Grotesk", sans-serif; font-size: 30px; font-weight: 700; line-height: 1.05; color: var(--ink); }
.geo-stats .gs span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px) { .geo-grid { grid-template-columns: 1fr; } }
/* ---- listing grouping (Amendment 1): covered cities ride under their
   anchor as ONE "Also covering" line; the covered-by fact states once
   per group, never once per city. ---- */
.subnav .alsocov { font-size: 12.5px; color: var(--muted); padding: 7px 2px; }
.subnav .alsocov a { border: 0; background: none; padding: 0; color: var(--ink-dim); text-decoration: underline; }
.subnav .alsocov a:hover { color: var(--tape); }
.cities .alsocov.gridline { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--muted); border: 1px dashed var(--line); background: var(--panel); padding: 9px 12px; }
.cities .alsocov.gridline a { color: var(--ink-dim); text-decoration: underline; }
.cities .alsocov.gridline a:hover { color: var(--tape); }
/* ---- city boundary lines on county maps (Amendment 4): Census place
   polygons are the selectable area; label sits at the centroid. ---- */
.locmap.ctymap-one .cty.live { fill: rgba(179, 35, 58, 0.22); stroke: var(--crimson); stroke-width: 0.8; }
.locmap.ctymap-one .ctypoly { fill: rgba(8, 12, 18, 0.38); stroke: var(--ink); stroke-width: 0.45; }
.locmap.ctymap-one .ctypoly.live { fill: rgba(230, 184, 92, 0.35); }
.locmap.ctymap-one .ctypoly.jail { stroke: var(--tape); stroke-width: 0.7; }
html[data-theme="light"] .locmap.ctymap-one .ctypoly { fill: rgba(30, 40, 55, 0.14); }
.locmap.ctymap-one a.mapshape:hover .ctypoly, .locmap.ctymap-one a.mapshape:focus-visible .ctypoly { fill: rgba(230, 184, 92, 0.45); }
.locmap.ctymap-one .citylabel { font-family: "Space Grotesk", sans-serif; font-weight: 650; fill: var(--ink); paint-order: stroke; stroke: var(--bg); pointer-events: none; }
/* ---- mobile menus (Joel 2026-11-16): at phone widths the main
   header nav and the contextual (place) nav collapse behind a Menu
   toggle instead of clipping off-screen. The toggles never render
   on desktop, where both navs keep today's inline layout exactly. ---- */
.nav-toggle, .ctx-toggle {
  display: none; flex-shrink: 0; border: 1px solid var(--line-2); background: var(--panel);
  color: var(--ink-dim); font-family: "Space Grotesk", sans-serif; font-size: 10px;
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 11px; cursor: pointer;
}
.nav-toggle:hover, .ctx-toggle:hover { border-color: var(--tape); color: var(--tape); }
@media (max-width: 720px) {
  .topbar-in { flex-wrap: wrap; row-gap: 10px; padding-top: 8px; padding-bottom: 8px; }
  .brand { order: 1; }
  .theme-toggle { order: 2; margin-left: auto; }
  .nav-toggle { display: block; order: 3; }
  nav.prim { order: 4; display: none; flex: 1 1 100%; flex-direction: column; align-items: stretch; gap: 0; overflow: visible; padding: 4px 0 8px; }
  nav.prim.open { display: flex; }
  nav.prim a { padding: 10px 2px; border-bottom: 1px solid var(--line); }
  nav.prim a.is-on { border-bottom-color: var(--crimson); }
  .ctxbar-in { flex-wrap: wrap; row-gap: 8px; padding-top: 6px; padding-bottom: 6px; }
  .ctx-toggle { display: block; margin-left: auto; }
  .ctxnav { display: none; flex: 1 1 100%; order: 3; }
  .ctxnav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; overflow: visible; padding: 2px 0 6px; }
  .ctxnav a { padding: 9px 0; border-bottom: 1px solid var(--line); }
  .ctxnav a.is-on { border-bottom-color: var(--crimson); }
}

.hsearch { position: relative; }
.hsearch-results { position: absolute; top: calc(100% + 6px); left: 0; width: 100%; min-width: min(320px, 86vw); background: var(--panel); border: 1px solid var(--line); z-index: 80; max-height: 62vh; overflow: auto; box-shadow: 0 18px 40px rgba(0,0,0,0.45); text-align: left; }
.desk-search .hsearch-results { left: auto; right: 0; }
.hs-row { display: block; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.hs-row:last-child { border-bottom: 0; }
.hs-row:hover, .hs-row:focus { background: var(--panel-2); }
.hs-name { display: block; font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.02em; color: var(--ink); }
.hs-meta { display: block; font-size: 11.5px; color: var(--steel); margin-top: 1px; }
.hs-none { padding: 10px 12px; color: var(--steel); font-size: 12.5px; }

/* scroll-load walls (Joel 2026-11-16): deferred cards/rows hide only
   once JS marks the container .js-on; the bar (counter + Show all)
   likewise appears only under .js-on, so no-JS readers get the
   complete set and no misleading counter. */
.scrollwall .wallbar { display: none; }
.scrollwall.js-on .wallbar { display: flex; align-items: center; gap: 14px; margin: 16px 0 4px; }
.scrollwall.js-on .deferred { display: none !important; }
.wallcount { color: var(--steel); font-size: 13px; }
.wallall { font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.wallall:hover, .wallall:focus { border-color: var(--steel); }
.wallsent { height: 1px; }

/* front-door More tile (Joel 2026-11-16): an in-grid tile in the
   booking-card footprint; it renders only once JS marks the wall
   .js-on, so no-JS readers get the full set and no dead control. */
.frontwall .moretile { display: none; }
.frontwall.js-on .moretile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font: inherit; text-align: center; cursor: pointer; background: var(--panel-2); border: 1px dashed var(--line-2); color: var(--ink); padding: 12px; }
.frontwall.js-on .moretile:hover, .frontwall.js-on .moretile:focus { border-color: var(--crimson); }
.moretile .more-lab { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 22px; letter-spacing: 0.02em; }
.moretile .more-n { color: var(--steel); font-size: 12.5px; }
.hero .jail-title { font-family: "Space Grotesk", sans-serif; font-size: clamp(22px, 3.4vw, 34px); line-height: 1.15; margin: 12px 0 0; color: #ffd23e; }

/* Midwest nav dropdown (Midwest Restore milestone, Joel 2026-11-17).
   The markup exists only once the restore fires, so these rules are
   dormant until then. Wide screens: the panel opens on hover and on
   keyboard focus-within; nav.prim gives up its horizontal-scroll
   clipping only where the strip provably fits. Tight and small
   screens (including the mobile scroll strip): the two state links
   ride inline next to the Midwest item, always tappable. */
.nav-drop { position: relative; display: inline-flex; align-items: center; }
.nav-drop-menu { display: none; }
@media (min-width: 1100px) {
  nav.prim { overflow: visible; }
  .nav-drop-menu {
    position: absolute; top: 100%; left: 0; z-index: 60;
    flex-direction: column; min-width: 172px; padding: 6px 0;
    background: var(--panel); border: 1px solid var(--line);
  }
  .nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { display: flex; }
  .nav-drop-menu a { padding: 7px 14px; border-bottom: 0; }
  .nav-drop-menu a:hover { color: var(--ink); background: var(--panel-2); }
}
@media (max-width: 1099px) {
  .nav-drop { gap: 14px; }
  .nav-drop-menu { display: inline-flex; gap: 14px; }
  .nav-drop-menu a { font-size: 11px; color: var(--steel); }
}

/* ---- social layer (Joel, 2026-11-17): footer social row, share rows, county Facebook blocks ---- */
.foot-social { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; padding: 14px 0 2px; border-top: 1px solid var(--line); margin-top: 4px; font-size: 13px; }
.foot-social-lab { font-family: "Space Grotesk", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }
.foot-social a { color: var(--ink-dim); }
.foot-social a:hover { color: var(--tape); }
.foot-social-sep { color: var(--faint); }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 16px 0 4px; }
.share-lab { font-family: "Space Grotesk", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }
.share-btn { border: 1px solid var(--line-2); background: var(--panel); color: var(--ink-dim); font-family: "Space Grotesk", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 12px; cursor: pointer; text-decoration: none; }
.share-btn:hover { border-color: var(--tape); color: var(--tape); }
.county-fb-card { display: flex; gap: 18px; align-items: center; background: var(--panel); border: 1px solid var(--line-2); padding: 18px 20px; }
.county-fb-avatar { height: 88px; width: auto; flex: none; }
.county-fb-meta h2 { font-family: "Space Grotesk", sans-serif; font-size: 17px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 6px; }
.county-fb-meta p { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.county-fb-follow { display: inline-block; border: 1px solid var(--tape); color: var(--tape); font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 10px 16px; text-decoration: none; }
.county-fb-follow:hover { background: var(--tape); color: #141414; }
@media (max-width: 560px) { .county-fb-card { flex-direction: column; align-items: flex-start; } }
.county-fb-link { margin-top: 10px; font-size: 14px; }

/* Board card filter (Joel 2026-11-21): sticky search above mugshot
   walls. Filters only text already on the cards. */
.board-filter { position: sticky; top: 0; z-index: 15; background: var(--bg); padding: 8px 0 12px; margin: 0 0 8px; border-bottom: 1px solid var(--line); }
.board-filter-lab { display: block; font-family: "Space Grotesk", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); margin: 0 0 8px; }
.board-filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.board-filter-q { flex: 1 1 220px; min-width: 0; background: var(--panel); border: 1px solid var(--line-2); color: var(--ink); font: 500 14px/1.3 Inter, sans-serif; padding: 10px 12px; border-radius: 0; }
.board-filter-q:focus { outline: 2px solid var(--tape); outline-offset: 1px; border-color: var(--tape); }
.board-filter-q::placeholder { color: var(--faint); }
.board-filter-clear { flex: none; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink-dim); font-family: "Space Grotesk", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 9px 12px; cursor: pointer; }
.board-filter-clear:hover, .board-filter-clear:focus { border-color: var(--tape); color: var(--tape); }
.board-filter-count { font-size: 12.5px; color: var(--steel); min-height: 1em; }
.board-filter-empty { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
a.card.card-nomatch { display: none !important; }
html[data-theme="light"] .board-filter { background: var(--bg); }
@media (max-width: 720px) {
  .board-filter { padding: 8px 0 10px; }
  .board-filter-q { flex: 1 1 100%; }
}

/* Region hub state rail (Joel 2026-11-21): publishing states as full
   cards, no-coverage states as compact chips so the rail matches the
   map column. */
.geo-states { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.geo-live-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
a.geo-live { display: block; border: 1px solid var(--crimson); background: var(--crimson-dim); padding: 14px 16px; text-decoration: none; color: inherit; }
a.geo-live:hover, a.geo-live:focus { border-color: var(--tape); }
a.geo-live .kicker { margin: 0 0 4px; color: var(--crimson); }
html[data-theme="light"] a.geo-live .kicker { color: var(--crimson); }
a.geo-live h3 { font-family: "Space Grotesk", sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
a.geo-live p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.soon-wrap { margin: 2px 0 0; }
.soon-lab { font-family: "Space Grotesk", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); margin: 0 0 8px; }
.soon-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.soon-chips li { border: 1px solid var(--line); background: var(--panel); color: var(--ink-dim); font-size: 12.5px; padding: 5px 10px; border-radius: 999px; }
.geo-fit .geo-states { overflow-y: auto; min-height: 0; flex: 1 1 auto; padding-right: 2px; scrollbar-width: thin; }
@media (max-width: 900px) {
  .geo-fit .geo-grid { position: static; }
  .geo-fit .geo-side { position: static; inset: auto; display: block; }
  .geo-fit .geo-states { overflow: visible; flex: none; }
  a.geo-live h3 { font-size: 20px; }
}
