/* ============================================================
   CitizenHire — "Signal Desk" design system (Home B, chosen by
   the owner from the Claude Design pass, ported site-wide).
   Newspaper data-desk language: ink #0e1014 on paper #fafaf7,
   one cobalt accent, mono micro-labels, hairline + ink rules,
   square corners everywhere. Libre Franklin + Spline Sans Mono.
   ============================================================ */

:root {
  --paper: #fafaf7;
  --surface: #ffffff;
  --ink: #0e1014;
  --ink-2: #494e57;
  --muted: #7d828c;
  --line: #e2e2da;        /* hairline */
  --line-dark: #33363e;   /* hairline on dark */
  --accent: #1a46c2;
  --accent-strong: #12308c;
  --accent-wash: #eef1fb;
  --bar: #1a46c2;
  --good: #0b6b32;
  --good-bright: #3fd97e; /* on dark */
  --good-tint: #e3f1e7;
  --bad: #b02a20;
  --bad-bright: #f28b82;  /* on dark */
  --bad-tint: #f9e9e6;
  --neutral-tint: #f1f1ec;
  --warn-tint: #fbf3da;
  --dark: #0e1014;
  --dark-2: #22252c;
  --on-dark: #f3f3ee;
  --on-dark-2: #c9ccd2;
  --on-dark-muted: #a7abb3;
  --sans: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); text-decoration: underline; }
::selection { background: #dbe3f8; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 60; }

/* mono micro-label, the system's signature */
.mono-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* ---------- ticker ---------- */
.ticker { background: var(--dark); color: var(--on-dark); display: flex; align-items: stretch; overflow: hidden; }
.ticker-live {
  display: flex; align-items: center; gap: 7px; padding: 7px 12px;
  border-right: 1px solid var(--line-dark);
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 1.6px;
  white-space: nowrap; z-index: 2;
}
.ticker-live i { width: 7px; height: 7px; background: var(--good-bright); display: inline-block; animation: tickblink 1.6s steps(1) infinite; }
.ticker-rail { overflow: hidden; flex: 1; display: flex; align-items: center; }
.ticker-run { display: flex; width: max-content; animation: tickscroll 60s linear infinite; }
.ticker-run:hover { animation-play-state: paused; }
.tick {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 7px 0; margin-right: 36px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.3px; white-space: nowrap;
}
.tick .sep { color: #5f6570; }
.tick .amt { font-weight: 700; color: #ffffff; }
.tick .out-paid { font-weight: 600; color: var(--bad-bright); }
.tick .out-refused { font-weight: 600; color: var(--good-bright); }
.tick .out-asked { font-weight: 600; color: var(--on-dark-muted); }
.tick .rest { color: var(--on-dark-muted); }
@keyframes tickscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tickblink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .ticker-run { animation: none; } .ticker-live i { animation: none; } }

/* ---------- header ---------- */
.demo-banner {
  background: var(--warn-tint); border-bottom: 1px solid var(--line);
  color: var(--ink-2); font-size: 13px; text-align: center; padding: 6px 12px;
}
.demo-banner b { color: var(--ink); }
.r-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--ink); }
.r-nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
  padding: 12px 20px; max-width: 1120px; margin: 0 auto;
}
.brand { color: var(--ink); line-height: 1.05; white-space: nowrap; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand .wm { font-size: 21px; font-weight: 800; letter-spacing: -0.6px; }
.brand .wm b { color: var(--accent); font-weight: 800; }
.brand-sub {
  display: block; font-family: var(--mono); font-size: 9px; font-weight: 600;
  letter-spacing: 2.4px; color: var(--muted); margin-top: 2px; text-transform: uppercase;
}
.navlinks {
  display: flex; gap: 2px 4px; align-items: center; flex: 1;
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  font-size: 14px; font-weight: 600;
}
.navlinks::-webkit-scrollbar { display: none; }
.navlinks a { color: var(--ink); padding: 7px 10px; white-space: nowrap; }
.navlinks a:hover { background: #eeeee8; color: var(--ink); text-decoration: none; }
.navlinks a.active { background: #eeeee8; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 15px var(--sans); cursor: pointer;
  padding: 13px 24px; min-height: 44px;
  border: 1px solid transparent; border-radius: 0; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); color: #fff; text-decoration: none; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: #eeeee8; color: var(--ink); text-decoration: none; }
.btn-sm { padding: 9px 16px; min-height: 38px; font-size: 13.5px; }
.btn-danger { background: var(--bad); color: #fff; }
.btn-danger:hover { background: #8f2018; color: #fff; text-decoration: none; }
.btn-good { background: var(--good); color: #fff; }
.btn-good:hover { background: #085426; color: #fff; text-decoration: none; }

/* ---------- hero ---------- */
.hero { padding: 48px 0 34px; }
.hero .kicker { margin-bottom: 14px; }
.hero h1 {
  margin: 0 0 18px; font-size: clamp(32px, 5.8vw, 56px);
  line-height: 1.03; letter-spacing: -1.8px; font-weight: 800; text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero h1 .never { color: var(--accent); }
.hero p.lede { font-size: clamp(16px, 2.2vw, 18.5px); line-height: 1.55; color: var(--ink-2); max-width: 580px; margin: 0 0 22px; text-wrap: pretty; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-note { margin: 16px 0 0; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.hero-split { display: flex; flex-wrap: wrap; gap: 34px; align-items: flex-start; }
.hero-split .hero-main { flex: 1 1 500px; min-width: 280px; }

/* signal panel (hero right card) */
.sig { flex: 0 1 330px; min-width: 280px; border: 1px solid var(--ink); background: var(--surface); }
.sig-head {
  padding: 9px 14px; border-bottom: 1px solid var(--ink);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 1.8px; color: var(--ink-2);
}
.sig-head .rec { color: var(--good); }
.sig-body { padding: 16px 14px 6px; }
.sig-row { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sig-row:first-child { padding-top: 0; }
.sig-row:last-child { border-bottom: 0; padding-bottom: 14px; }
.sig-row .k { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.sig-row .v { font-family: var(--mono); font-size: 26px; font-weight: 700; letter-spacing: -0.5px; }
.sig-row.good .k, .sig-row.good .v { color: var(--good); }
.sig-foot { padding: 10px 14px; border-top: 1px solid var(--ink); background: #f3f3ee; font-size: 13px; line-height: 1.5; color: var(--ink-2); }

/* ---------- framed sections ---------- */
.section { margin: 0 0 44px; }
.frame { border: 1px solid var(--ink); background: var(--surface); }
.frame-plain { background: transparent; }
.frame-head {
  padding: 9px 16px; border-bottom: 1px solid var(--ink);
  display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; align-items: baseline;
}
.frame-head .t { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.frame-head a { font-family: var(--mono); font-size: 11.5px; font-weight: 600; }
.frame-foot {
  padding: 8px 16px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.8px; color: var(--muted);
}
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(20px, 3.4vw, 27px); letter-spacing: -0.7px; margin: 0; font-weight: 800; }
.section-head .more { font-family: var(--mono); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.section-sub { color: var(--ink-2); margin: -6px 0 16px; max-width: 680px; text-wrap: pretty; }
.kicker { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 2.2px; color: var(--accent); text-transform: uppercase; }
.split { display: flex; flex-wrap: wrap; gap: 24px; }
.split > .col-wide { flex: 1 1 460px; min-width: 300px; }
.split > .col-narrow { flex: 1 1 300px; min-width: 280px; }

/* map iframe */
.map-frame { width: 100%; height: 620px; border: none; display: block; background: var(--surface); }
@media (max-width: 640px) { .map-frame { height: 520px; } }

/* ---------- stat tiles (non-home pages) ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0; }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { background: var(--surface); border: 1px solid var(--ink); padding: 16px 16px 13px; }
.tile .t-label { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.tile .t-value { font-family: var(--mono); font-size: clamp(24px, 4vw, 32px); font-weight: 700; letter-spacing: -0.8px; margin: 6px 0 2px; }
.tile .t-sub { font-size: 12.5px; color: var(--ink-2); }
.tile-good .t-value { color: var(--good); }

/* ---------- bars ---------- */
.bars { display: grid; gap: 11px; }
.bar-row { display: grid; grid-template-columns: minmax(100px, 158px) 1fr auto; gap: 12px; align-items: center; }
.bar-row .bar-name { font-size: 13.5px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-row .bar-name a { color: inherit; }
.bar-row .bar-name a:hover { color: var(--accent); text-decoration: none; }
.bar-track { background: var(--neutral-tint); height: 12px; display: block; position: relative; }
.bar-fill { position: absolute; inset: 0 auto 0 0; background: var(--bar); height: 100%; min-width: 2px; }
.bar-fill.good { background: var(--good); }
.bar-val { font-family: var(--mono); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.bar-val .sub { color: var(--muted); font-weight: 400; }

/* dark stat panel */
.dark-panel { border: 1px solid var(--ink); background: var(--dark); color: var(--on-dark); display: flex; flex-direction: column; }
.dark-panel .frame-head { border-bottom-color: var(--line-dark); }
.dark-panel .frame-head .t { color: var(--on-dark-muted); }
.dark-panel .dp-body { padding: 22px 18px; flex: 1; }
.dark-panel .dp-big { font-family: var(--mono); font-size: 62px; font-weight: 700; line-height: 1; letter-spacing: -2px; color: var(--good-bright); }
.dark-panel .dp-big small { font-size: 32px; }
.dark-panel .dp-body p { margin: 12px 0 18px; font-size: 15px; line-height: 1.55; color: var(--on-dark-2); text-wrap: pretty; }
.dark-panel .dp-body p strong { color: #ffffff; }
.dark-panel .dp-foot { padding: 11px 16px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--on-dark-muted); }
.orow { display: grid; grid-template-columns: 76px 1fr auto; gap: 10px; align-items: center; font-family: var(--mono); font-size: 11px; }
.orow .k { letter-spacing: 1px; color: var(--on-dark-muted); }
.orow .track { background: var(--dark-2); height: 10px; display: block; position: relative; }
.orow .fill { position: absolute; inset: 0 auto 0 0; height: 100%; }
.orow .n { font-weight: 700; }

/* ---------- report rows / cards ---------- */
.ledger-rows .lrow { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: baseline; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.ledger-rows .lrow:last-child { border-bottom: 0; }
.lrow .amt { font-family: var(--mono); font-size: 17px; font-weight: 700; min-width: 92px; }
.lrow .dept { font-size: 14.5px; font-weight: 700; }
.lrow .dept a { color: inherit; }
.lrow .meta { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.lrow p { margin: 2px 0 0; flex-basis: 100%; font-size: 14px; line-height: 1.5; color: var(--ink-2); max-width: 860px; text-wrap: pretty; }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: 1px;
  padding: 3px 8px; border: 1px solid; border-radius: 0; white-space: nowrap;
}
.chip-paid { color: var(--bad); background: var(--bad-tint); border-color: var(--bad); }
.chip-refused { color: var(--good); background: var(--good-tint); border-color: var(--good); }
.chip-asked { color: var(--ink-2); background: var(--neutral-tint); border-color: var(--ink-2); }

.cards { display: grid; gap: 10px; }
@media (min-width: 760px) { .cards.two { grid-template-columns: 1fr 1fr; } }
.report-card { background: var(--surface); border: 1px solid var(--ink); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.rc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rc-amount { font-family: var(--mono); font-size: 20px; font-weight: 700; letter-spacing: -0.5px; }
.rc-what { font-size: 14.5px; font-weight: 700; }
.rc-what a { color: inherit; }
.rc-what a:hover { color: var(--accent); text-decoration: none; }
.rc-what .svc { color: var(--ink-2); font-weight: 500; }
.rc-meta { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.rc-story { font-size: 13.5px; color: var(--ink-2); border-left: 3px solid var(--line); padding-left: 10px; margin: 2px 0 0; line-height: 1.5; }

/* ---------- tables ---------- */
.ledger-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--ink); }
table.ledger { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 480px; }
.ledger th {
  text-align: left; font-family: var(--mono); font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--muted); font-weight: 700; padding: 11px 14px; border-bottom: 1px solid var(--ink);
}
.ledger td { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.ledger tr:last-child td { border-bottom: 0; }
.ledger .num { text-align: right; font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; font-weight: 600; }

/* ---------- filters ---------- */
.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  background: var(--surface); border: 1px solid var(--ink);
  padding: 10px 12px; margin-bottom: 14px;
}
.filter-bar select {
  font: 500 14px var(--sans); color: var(--ink);
  background: var(--neutral-tint); border: 1px solid transparent; border-radius: 0;
  padding: 8px 10px; min-height: 38px;
}
.filter-bar select:focus { border-color: var(--accent); outline: none; }

/* ---------- forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--ink); padding: clamp(16px, 4vw, 28px); max-width: 680px; }
.field { margin-bottom: 18px; }
.field > label, .field .label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.field .hint { font-size: 12.5px; color: var(--muted); font-weight: 400; margin-top: 5px; line-height: 1.5; }
.input, .select, textarea.input {
  width: 100%; font: 400 16px var(--sans); color: var(--ink);
  background: #fff; border: 1px solid var(--ink-2); border-radius: 0;
  padding: 11px 12px; min-height: 46px;
}
textarea.input { min-height: 120px; resize: vertical; }
.input:focus, .select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(26, 70, 194, 0.14); }
.radio-cards { display: grid; gap: 8px; }
@media (min-width: 560px) { .radio-cards { grid-template-columns: repeat(3, 1fr); } }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card span {
  display: flex; flex-direction: column; gap: 2px;
  border: 1px solid var(--ink-2); padding: 11px 12px;
  font-size: 14px; font-weight: 700; cursor: pointer; min-height: 58px; justify-content: center;
}
.radio-card small { font-weight: 500; color: var(--ink-2); font-size: 12px; }
.radio-card input:checked + span { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-wash); }
.radio-card input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); margin-bottom: 12px; line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.form-error {
  background: var(--bad-tint); color: var(--bad); border: 1px solid var(--bad);
  padding: 10px 14px; font-size: 14px; font-weight: 600; margin-bottom: 16px;
}
.hp { position: absolute; left: -9999px; top: -9999px; height: 1px; width: 1px; overflow: hidden; }

/* ---------- prose ---------- */
.prose { max-width: 680px; }
.prose h1 { font-size: clamp(26px, 5vw, 38px); letter-spacing: -1.2px; line-height: 1.1; margin: 8px 0 12px; font-weight: 800; text-wrap: balance; }
.prose h2 { font-size: 21px; letter-spacing: -0.4px; margin: 30px 0 10px; font-weight: 800; }
.prose p, .prose li { color: var(--ink-2); font-size: 15.5px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose ol, .prose ul { padding-left: 22px; }
.prose code { font-family: var(--mono); font-size: 13px; background: var(--neutral-tint); padding: 2px 5px; }
.callout {
  background: var(--surface); border: 1px solid var(--ink); border-left: 4px solid var(--accent);
  padding: 14px 16px; margin: 18px 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.55;
}
.callout.good { border-left-color: var(--good); }
.callout.warn { border-left-color: var(--bad); }
.refuse-script {
  background: var(--accent-wash); border: 1px solid var(--accent);
  padding: 16px 18px; margin: 18px 0;
  font-size: 16px; color: var(--ink); font-weight: 500; line-height: 1.6;
}
.costs-table td:first-child { font-weight: 600; color: var(--ink); width: 38%; }

/* ---------- faq ---------- */
.faq details { background: var(--surface); border: 1px solid var(--ink); padding: 0 16px; margin-bottom: -1px; }
.faq summary { font-weight: 700; font-size: 15px; padding: 14px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 18px; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }

/* ---------- steps / list blocks ---------- */
.steps { display: grid; gap: 10px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--ink); padding: 16px; color: var(--ink); }
a.step { text-decoration: none; }
a.step:hover { background: #f3f3ee; color: var(--ink); }
.step .n { font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--accent); letter-spacing: 2px; }
.step h3 { margin: 6px 0 5px; font-size: 17px; letter-spacing: -0.3px; font-weight: 800; }
.step p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }

.list-block > div, .list-block > a { display: block; padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.list-block > *:last-child { border-bottom: 0; }
.list-block a:hover { background: #f3f3ee; text-decoration: none; color: var(--ink); }

/* ---------- official channels ---------- */
.official { background: var(--surface); border: 1px solid var(--ink); padding: 20px; margin: 26px 0; max-width: 800px; }
.official h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; letter-spacing: -0.3px; }
.official p { margin: 0 0 10px; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.official ul { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.7; color: var(--ink-2); }

/* ---------- pagination ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin: 22px 0; }

/* ---------- footer ---------- */
.r-footer { background: var(--dark); color: var(--on-dark-2); margin-top: 56px; }
.r-footer .inner { max-width: 1120px; margin: 0 auto; padding: 34px 20px 42px; }
.r-footer .covenant { font-size: 17px; font-weight: 700; letter-spacing: -0.2px; color: #ffffff; margin-bottom: 12px; }
.r-footer .disclaimer { font-size: 13px; color: var(--on-dark-muted); max-width: 760px; margin: 0 0 18px; line-height: 1.6; }
.r-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; margin-bottom: 16px; }
.r-footer nav a { color: var(--on-dark); }
.r-footer .fine { font-family: var(--mono); font-size: 11px; line-height: 1.7; color: var(--muted); }
.r-footer .fine a { color: var(--on-dark-muted); }

/* ---------- moderation ---------- */
.mod-card { background: var(--surface); border: 1px solid var(--ink); padding: 16px; margin-bottom: 14px; }
.mod-card .raw { background: var(--neutral-tint); padding: 10px 12px; font-size: 13.5px; color: var(--ink-2); margin: 8px 0; }
.mod-flags { font-size: 12.5px; color: var(--bad); background: var(--bad-tint); border: 1px solid var(--bad); padding: 8px 12px; margin: 8px 0; white-space: pre-line; }
.mod-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; align-items: center; }

/* ---------- misc ---------- */
.pill-row { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { background: var(--neutral-tint); color: var(--ink-2); font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 4px 10px; }
.center { text-align: center; }
.mt0 { margin-top: 0; }
.hidden { display: none; }

/* legacy tile-map partial (kept for rollback) */
.map-wrap { background: var(--surface); border: 1px solid var(--ink); padding: 16px; }
.map-svg { display: block; width: 100%; max-width: 560px; margin: 0 auto; }
.map-legend { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 10px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); flex-wrap: wrap; }
.map-legend .sw { width: 18px; height: 12px; border: 1px solid var(--line); display: inline-block; }
