/* Research atlas. Route and data colours are defined in app.js. */

:root {
  color-scheme: light;
  --page: #f7f8f5;
  --surface: #ffffff;
  --surface-2: #edf1ed;
  --ink: #192d3b;
  --ink-2: #56646a;
  --muted: #65726c;
  --hairline: #dce2dc;
  --border: rgba(11, 11, 11, 0.10);
  --link: #23634e;
  --accent: #23634e;
  --hot: #eb6834;
  --one: #2a78d6;
  --focus: #2a78d6;
  --shadow: 0 1px 2px rgba(11, 11, 11, 0.04), 0 10px 30px rgba(11, 11, 11, 0.06);
  --radius: 12px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
b, strong { font-weight: 650; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.015em; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1440px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 2000;
  background: var(--ink); color: var(--page); padding: 8px 14px; border-radius: 8px;
}
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- top bar */

.topbar {
  position: sticky; top: 0; z-index: 1500;
  background: color-mix(in srgb, var(--page) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; letter-spacing: -0.01em; white-space: nowrap; }
.brand-mark { width: 28px; height: 28px; flex: none; }
.brand-mark rect { fill: var(--accent); }
.brand-mark path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.brand-mark circle { fill: #fff; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 0.94rem; white-space: nowrap; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
@media (max-width: 900px) { .nav { display: none; } }

/* ---------------------------------------------------------------- hero */

.hero { position: relative; overflow: hidden; padding: 72px 0 56px; border-bottom: 1px solid var(--hairline); }
.hero-net {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 34%, #000 72%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 34%, #000 72%);
}
.hero-inner { position: relative; }
.eyebrow { color: var(--ink-2); font-size: 0.82rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }
.hero h1 { margin-top: 14px; max-width: 17em; font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 760; letter-spacing: -0.028em; line-height: 1.06; text-wrap: balance; }
.lede { margin-top: 20px; max-width: 40em; font-size: 1.14rem; color: var(--ink-2); text-wrap: pretty; }
.lede b { color: var(--ink); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--ink);
  font-weight: 600; font-size: 0.97rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.btn:hover { border-color: var(--ink-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--ink); color: var(--page); border-color: var(--ink); }
.btn-primary:hover { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 86%, var(--page)); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 48px 0 0; border-top: 1px solid var(--hairline); }
.stat { display: flex; flex-direction: column; padding: 22px 22px 0 0; }
.stat + .stat { padding-left: 22px; border-left: 1px solid var(--hairline); }
.stat dt { order: 2; margin-top: 4px; font-weight: 650; font-size: 1rem; }
.stat dd { margin: 0; }
.stat-value { order: 1; font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 720; letter-spacing: -0.03em; line-height: 1; }
.stat-of { font-size: 0.5em; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.stat-note { order: 3; margin-top: 8px; color: var(--ink-2); font-size: 0.92rem; line-height: 1.5; }
.stat-note b { color: var(--ink); }
@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { margin-top: 18px; border-top: 1px solid var(--hairline); }
}
@media (max-width: 560px) {
  .hero { padding: 44px 0 40px; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; border-left: 0; margin-top: 18px; border-top: 1px solid var(--hairline); }
  .hero-net { opacity: 0.35; -webkit-mask-image: none; mask-image: none; }
}

/* ---------------------------------------------------------------- sections */

.section { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--hairline); }
#issues { background: var(--surface-2); }
.section-head { max-width: 46em; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 720; letter-spacing: -0.022em; }
.section-head p { margin-top: 12px; color: var(--ink-2); font-size: 1.04rem; text-wrap: pretty; }
.section-head-row { display: flex; gap: 24px; align-items: flex-end; justify-content: space-between; max-width: none; }
.section-head-row > div:first-child { max-width: 46em; }
.downloads { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .section-head-row { flex-direction: column; align-items: flex-start; } }
@media (max-width: 640px) { .section { padding: 52px 0; } }

/* ---------------------------------------------------------------- map */

.map-section { padding-bottom: 56px; }
.views {
  display: inline-flex; gap: 2px; padding: 4px; margin-bottom: 18px; max-width: 100%;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px;
  overflow-x: auto; scrollbar-width: none;
}
.views::-webkit-scrollbar { display: none; }
.views button {
  border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  color: var(--ink-2); font-weight: 600; font-size: 0.95rem; white-space: nowrap;
}
.views button:hover { color: var(--ink); }
.views button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(11, 11, 11, 0.12); }

.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; height: clamp(540px, 76vh, 860px); }
.map-frame { position: relative; min-height: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); }
#leaflet { position: absolute; inset: 0; background: var(--surface-2); font: inherit; }
.panel {
  min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 20px; padding: 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  overscroll-behavior: contain;
}
@media (max-width: 1000px) {
  .map-layout { grid-template-columns: 1fr; height: auto; }
  .map-frame { height: 64vh; min-height: 420px; }
  .panel { overflow: visible; }
}

.map-tip {
  position: absolute; z-index: 800; pointer-events: none; max-width: 300px;
  padding: 7px 10px; border-radius: 9px; background: var(--ink); color: var(--page);
  font-size: 0.84rem; line-height: 1.35; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.map-tip b { display: block; font-size: 0.95rem; }
.map-tip span { opacity: 0.82; }
.map-selected {
  position: absolute; left: 12px; top: 12px; z-index: 800; display: flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 12px; border-radius: 999px; background: var(--ink); color: var(--page);
  font-weight: 650; font-size: 0.92rem; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.map-selected button { border: 0; width: 28px; height: 28px; border-radius: 999px; background: color-mix(in srgb, var(--page) 18%, transparent); color: inherit; cursor: pointer; font-size: 1rem; line-height: 1; }
.map-hint {
  position: absolute; left: 50%; bottom: 16px; z-index: 800; transform: translateX(-50%);
  padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--page); font-size: 0.86rem;
  pointer-events: none; opacity: 0; transition: opacity 0.2s ease; white-space: nowrap;
}
.map-hint.on { opacity: 0.92; }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--ink-2); }

/* Leaflet in the page's colours. The OpenStreetMap tiles are greyed so that only the
   routes carry colour, and inverted in dark mode. */
.leaflet-container { font: inherit; background: var(--surface-2); }
.leaflet-tile-pane { filter: grayscale(1) contrast(0.82) brightness(1.08); }
.leaflet-bar { border: 1px solid var(--border) !important; box-shadow: var(--shadow) !important; border-radius: 10px !important; overflow: hidden; }
.leaflet-bar a { background: var(--surface) !important; color: var(--ink) !important; border-bottom-color: var(--hairline) !important; width: 34px !important; height: 34px !important; line-height: 34px !important; }
.leaflet-bar a:hover { background: var(--surface-2) !important; }
.leaflet-control-attribution { background: color-mix(in srgb, var(--surface) 82%, transparent) !important; color: var(--ink-2) !important; font-size: 11px !important; border-top-left-radius: 8px; }
.leaflet-control-attribution a { color: var(--ink-2) !important; }
.leaflet-popup-content-wrapper { background: var(--surface); color: var(--ink); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }
.leaflet-popup-tip { background: var(--surface); }
.leaflet-popup-content { margin: 14px 16px; font-size: 0.92rem; line-height: 1.45; min-width: 200px; }
.leaflet-container a.leaflet-popup-close-button { color: var(--ink-2); }
.popup-title { font-weight: 650; margin-bottom: 4px; }
.popup-meta { color: var(--ink-2); margin-bottom: 10px; }

/* ---------------------------------------------------------------- panel */

.finder label { display: block; font-weight: 650; font-size: 0.92rem; margin-bottom: 8px; }
.finder input {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--page); color: var(--ink); font: inherit; font-size: 1rem;
}
.finder input:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
.route-chips { margin-top: 10px; max-height: 108px; overflow: auto; padding: 2px; }
.finder-empty { color: var(--ink-2); font-size: 0.9rem; }
@media (max-width: 1000px) { .route-chips { max-height: 150px; } }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 10px;
  border-radius: 8px; border: 1px solid transparent; background: var(--surface-2); color: var(--ink);
  font-size: 0.86rem; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; text-decoration: none;
}
button.chip:hover { border-color: var(--ink-2); }
.chip[aria-current="true"] { background: var(--ink); color: var(--page); }
.chip small { font-weight: 500; color: var(--ink-2); font-size: 0.8rem; }
.chip[aria-current="true"] small { color: inherit; opacity: 0.8; }
span.chip { cursor: default; }
.swatch-dot { width: 9px; height: 9px; border-radius: 999px; flex: none; }

.panel-view h3, .card h3 { font-size: 1.15rem; font-weight: 700; }
.panel-view > p { margin-top: 8px; color: var(--ink-2); font-size: 0.94rem; }
.legend { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.legend li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 0.92rem; }
.legend .key-line { height: 4px; border-radius: 4px; }
.legend .key-box { height: 14px; border-radius: 3px; }
.legend .count { color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.legend small { display: block; color: var(--ink-2); font-size: 0.82rem; }
.legend-title { margin-top: 16px; font-size: 0.82rem; color: var(--ink-2); }
.fact { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hairline); font-size: 0.92rem; color: var(--ink-2); }
.fact b { color: var(--ink); }

.card-head { display: flex; align-items: flex-start; gap: 14px; }
.card-num {
  flex: none; min-width: 56px; height: 56px; padding: 0 10px; display: grid; place-items: center;
  border-radius: 14px; background: var(--ink); color: var(--page); font-size: 1.5rem; font-weight: 750; letter-spacing: -0.02em;
}
.card-ends { font-weight: 650; line-height: 1.3; }
.card-meta { margin-top: 4px; color: var(--ink-2); font-size: 0.86rem; }
.card-close { margin-left: auto; flex: none; width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-size: 1.1rem; line-height: 1; color: var(--ink-2); }
.card-close:hover { color: var(--ink); border-color: var(--ink-2); }
.badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 5px 11px 5px 9px; border-radius: 999px; background: var(--surface-2); font-weight: 650; font-size: 0.88rem; }
.badge i { width: 18px; height: 4px; border-radius: 4px; display: inline-block; }
.card-shape { margin-top: 8px; color: var(--ink-2); font-size: 0.92rem; }
.card h4 { margin: 20px 0 10px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 0; }
.facts div { min-width: 0; }
.facts dt { color: var(--ink-2); font-size: 0.8rem; line-height: 1.3; }
.facts dd { margin: 2px 0 0; font-weight: 650; font-size: 1.04rem; }
.facts dd small { display: block; font-weight: 500; color: var(--ink-2); font-size: 0.78rem; }
.items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.item {
  display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--hairline); background: var(--surface); cursor: pointer;
}
.item:hover { border-color: var(--ink-2); }
.item-title { font-weight: 600; font-size: 0.92rem; line-height: 1.35; }
.item-meta { margin-top: 3px; color: var(--ink-2); font-size: 0.84rem; }
.item-meta .tag { display: inline-block; width: 10px; height: 3px; border-radius: 3px; vertical-align: middle; margin-right: 6px; }
.card-note { color: var(--ink-2); font-size: 0.88rem; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.card-actions .btn { min-height: 38px; padding: 7px 14px; font-size: 0.9rem; }

/* ---------------------------------------------------------------- data issues */

.issue-group + .issue-group { margin-top: 36px; }
.issue-group > h3 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.issue-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .issue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .issue-grid { grid-template-columns: 1fr; } }
.issue {
  display: flex; flex-direction: column; padding: 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.issue-count { display: flex; align-items: baseline; gap: 8px; font-size: 2rem; font-weight: 740; letter-spacing: -0.025em; line-height: 1; }
.issue-count small { font-size: 0.86rem; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.issue h4 { margin-top: 12px; font-size: 1.02rem; font-weight: 680; }
.issue p { margin-top: 6px; color: var(--ink-2); font-size: 0.92rem; text-wrap: pretty; }
.issue code { font-size: 0.88em; padding: 1px 5px; border-radius: 5px; background: var(--surface-2); color: var(--ink); }
.issue .chips { margin-top: 14px; }

/* ---------------------------------------------------------------- checklist */

.tables { display: grid; gap: 18px; }
.table-card { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; }
.table-card h3 { padding: 18px 20px 4px; font-size: 1.08rem; font-weight: 700; }
.table-card .table-note { padding: 0 20px; color: var(--ink-2); font-size: 0.88rem; }
.table-scroll { overflow-x: auto; margin-top: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
@media (max-width: 700px) { .table-scroll table { min-width: 660px; } }
@media (max-width: 700px) { .tables:not(.all-tables) td:nth-child(2) { min-width: 210px; } }
th, td { padding: 11px 14px; text-align: left; vertical-align: top; }
th:first-child, td:first-child { padding-left: 20px; }
th:last-child, td:last-child { padding-right: 20px; }
thead th { color: var(--ink-2); font-weight: 650; font-size: 0.8rem; border-bottom: 1px solid var(--hairline); white-space: nowrap; }
tbody tr + tr td { border-top: 1px solid var(--hairline); }
tbody tr:hover td { background: color-mix(in srgb, var(--surface-2) 70%, transparent); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.route { font-weight: 700; white-space: nowrap; }
td .sub { display: block; color: var(--ink-2); font-size: 0.84rem; margin-top: 2px; }
.go { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); font-size: 0.84rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.go:hover { border-color: var(--ink-2); }
.go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- method */

.method { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.method-text h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 720; letter-spacing: -0.022em; margin-bottom: 18px; }
.method-text p { max-width: 44em; color: var(--ink-2); margin-top: 14px; text-wrap: pretty; }
.defs { margin: 20px 0 6px; max-width: 44em; }
.defs dt { font-weight: 680; margin-top: 14px; }
.defs dd { margin: 3px 0 0; color: var(--ink-2); }
.links { position: sticky; top: 84px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.links h3 { font-size: 1.02rem; font-weight: 700; }
.links ul { list-style: none; margin: 12px 0 0; padding: 0; }
.links li + li { border-top: 1px solid var(--hairline); }
.links li a { display: block; padding: 11px 0; font-weight: 600; text-decoration: none; }
.links li a::after { content: " →"; }
.links li a:hover { text-decoration: underline; }
.author { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hairline); color: var(--ink-2); font-size: 0.9rem; }
@media (max-width: 900px) { .method { grid-template-columns: 1fr; gap: 28px; } .links { position: static; } }

.footer { padding: 32px 0 48px; border-top: 1px solid var(--hairline); color: var(--ink-2); font-size: 0.86rem; }

/* ---------------------------------------------------------------- research atlas */

::selection { background: #d4e7dc; color: #183e30; }
body { line-height: 1.65; }
.wrap { max-width: 1280px; padding-inline: 40px; }
.wrap-wide { max-width: 1440px; }
.topbar { background: #f7f8f5f2; backdrop-filter: blur(12px); }
.topbar-inner { height: 76px; }
.brand { gap: 11px; font-size: 1.05rem; font-weight: 400; letter-spacing: -.035em; }
.brand b { font-weight: 750; }
.brand-mark { width: 34px; height: 34px; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 10px 11px; font-size: .79rem; font-weight: 550; }
.nav a:hover, .nav a[aria-current="location"] { color: var(--accent); background: #e6ede6; }
.hero { padding: 64px 0 52px; background: var(--page); }
.hero-grid { display: grid; grid-template-columns: 1.13fr 1fr; align-items: center; gap: 44px; }
.eyebrow, .section-kicker { color: var(--accent); font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.hero h1 { margin-top: 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.8rem, 4.65vw, 4.4rem); line-height: 1.07; font-weight: 400; letter-spacing: -.055em; }
h1 em, .coverage-intro h2 em { color: var(--accent); font-weight: 400; }
.lede { max-width: 34em; margin-top: 24px; font-size: 1rem; line-height: 1.85; }
.cta { gap: 10px; margin-top: 28px; }
.btn { min-height: 48px; border-radius: 7px; padding: 11px 17px; font-size: .82rem; gap: 10px; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: #184e3c; border-color: #184e3c; }
.cta .btn-primary > span { padding-left: 10px; font-size: 1.1rem; }
.paper-link { display: inline-flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; font-size: .78rem; text-decoration: none; color: var(--ink-2); }
.paper-link span { color: var(--accent); }
.paper-link:hover { text-decoration: underline; }
.network-figure { position: relative; margin: 0; height: 410px; border: 1px solid #d9e2dc; border-radius: 3px; background-color: #edf2ee; background-image: linear-gradient(#dce5df70 1px, transparent 1px), linear-gradient(90deg, #dce5df70 1px, transparent 1px); background-size: 40px 40px; }
.figure-top, .network-figure figcaption { position: absolute; left: 20px; right: 20px; display: flex; justify-content: space-between; gap: 12px; color: #596d61; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .57rem; letter-spacing: .035em; }
.figure-top { top: 17px; }
.network-figure figcaption { bottom: 16px; padding-top: 12px; border-top: 1px solid #cedbd1; font-size: .62rem; }
.hero-net { inset: 36px 12px 48px; width: calc(100% - 24px); height: calc(100% - 84px); opacity: 1; mask-image: none; -webkit-mask-image: none; }
.figure-north { position: absolute; right: 22px; top: 44px; display: grid; justify-items: center; color: #718375; font-size: 1.5rem; line-height: 1; }
.figure-north small { margin-top: 4px; font: .55rem ui-monospace, monospace; }
.snapshot-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 40px; padding: 15px 18px; background: #ecefe8; border: 1px solid #dce2d5; border-radius: 6px; }
.note-mark { display: grid; place-items: center; flex: none; width: 18px; height: 18px; margin-top: 3px; border: 1px solid #6f806d; border-radius: 50%; font: italic 13px Georgia, serif; color: var(--accent); }
.snapshot-note p { color: var(--ink-2); font-size: .77rem; line-height: 1.75; }
.snapshot-note strong { color: var(--ink); }
.snapshot-note a { white-space: nowrap; }
.stats-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; }
.stats-heading h2 { font-size: .8rem; letter-spacing: 0; font-weight: 650; }
.stats-heading a { font-size: .69rem; color: var(--ink-2); text-decoration: none; }
.stats { margin: 17px 0 0; gap: 14px; border-top: 0; }
.stat, .stat + .stat { position: relative; min-width: 0; margin: 0; padding: 24px 20px 20px; border: 1px solid var(--hairline); border-radius: 8px; background: #ffffffb3; }
.stat::before { content: ""; position: absolute; top: -1px; left: 20px; width: 30px; height: 3px; background: #356b97; }
.stat:nth-child(2)::before { background: #c07d41; }
.stat:nth-child(3)::before { background: #837699; }
.stat:nth-child(4)::before { background: #48816a; }
.stat-value { font-size: clamp(2.5rem, 3.5vw, 3.2rem); letter-spacing: -.065em; font-weight: 550; font-variant-numeric: tabular-nums; }
.stat-of { font-size: .4em; font-weight: 450; }
.stat dt { margin-top: 13px; font-size: .77rem; font-weight: 650; line-height: 1.4; }
.stat dd.stat-note { margin-top: 10px; font-size: .78rem; line-height: 1.75; }
.stat-note a { text-decoration: none; }
.section { padding-block: 68px; }
.section-head { max-width: 48em; margin-bottom: 28px; }
.section-kicker { margin-bottom: 15px; }
.section-head p.section-kicker, .method-text p.section-kicker { margin-top: 0; color: var(--accent); font-size: .66rem; line-height: 1.5; }
.section-head h2, .method-text h2, .coverage-intro h2 { font-size: clamp(1.8rem, 2.8vw, 2.45rem); letter-spacing: -.045em; font-weight: 550; line-height: 1.15; }
.section-head > p:not(.section-kicker), .section-head-row > div > p:not(.section-kicker) { font-size: .91rem; line-height: 1.8; }
.section-head-row { max-width: none; }
.map-section { background: #fff; }
.map-toolbar { justify-content: space-between; }
.views { display: flex; flex-wrap: wrap; border-radius: 7px; background: #f1f4f0; padding: 4px; gap: 3px; }
.views button { min-height: 42px; padding-inline: 14px; border-radius: 4px; font-size: .79rem; font-weight: 550; }
.views button[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.map-layout { gap: 0; height: clamp(580px, 76vh, 820px); grid-template-columns: minmax(0, 1fr) 340px; }
.mobile-finder { padding: 18px; border: 1px solid var(--border); border-bottom: 0; border-radius: 8px 8px 0 0; background: #fff; }
.map-frame { border-radius: 10px 0 0 10px; border-right: 0; }
.panel { border-radius: 0 10px 10px 0; box-shadow: none; padding: 22px; gap: 22px; scrollbar-width: thin; scrollbar-color: #c3d1c6 transparent; }
.finder label { font-size: .78rem; }
.finder input { border-radius: 6px; background: #f5f7f3; }
.chip { min-height: 36px; border: 1px solid #e0e6df; background: #f1f4ef; border-radius: 5px; }
.panel-view h3 { font-size: 1.1rem; }
.panel-view > p { font-size: .85rem; }
.legend li { font-size: .82rem; }
.legend small { font-size: .73rem; }
.fact { font-size: .8rem; line-height: 1.75; }
.caveat { background: #f1f4ef; }
.coverage-section { background: #eaf0e9; }
.coverage-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 80px; }
.coverage-intro h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 3.7vw, 3.4rem); font-weight: 400; line-height: 1.08; }
.coverage-intro > p:not(.section-kicker) { margin-top: 22px; font-size: .91rem; color: var(--ink-2); line-height: 1.85; }
.coverage-limit { margin-top: 24px; padding-left: 14px; border-left: 2px solid #a0b9a6; font-size: .76rem; line-height: 1.8; color: var(--ink-2); }
.coverage-limit strong { color: var(--ink); }
.text-link { display: inline-flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; font-size: .77rem; text-decoration: none; font-weight: 600; }
.text-link span { color: var(--ink-2); font-weight: 400; }
.text-link + .text-link { margin-left: 18px; }
.coverage-explorer { min-width: 0; padding: 28px 32px; background: #fbfcf9; border: 1px solid #d3dfd3; border-radius: 10px; }
.control-label { font-size: .75rem; font-weight: 650; }
.radius-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; margin-top: 12px; }
.radius-options button { min-height: 44px; padding: 6px; border: 1px solid var(--hairline); border-radius: 5px; background: transparent; font-size: .76rem; cursor: pointer; }
.radius-options button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.coverage-result { display: flex; align-items: center; gap: 22px; margin-top: 27px; padding-bottom: 25px; border-bottom: 1px solid var(--hairline); }
.coverage-number { flex: none; color: var(--accent); font-size: clamp(2.5rem, 4vw, 3.8rem); font-weight: 500; line-height: 1; letter-spacing: -.065em; font-variant-numeric: tabular-nums; }
.coverage-result p { color: var(--ink-2); font-size: .77rem; line-height: 1.6; }
.coverage-result strong { color: var(--ink); }
.coverage-chart { display: grid; gap: 12px; margin-top: 24px; }
.coverage-bar { display: grid; grid-template-columns: 46px minmax(0, 1fr) 44px; align-items: center; gap: 12px; width: 100%; min-height: 32px; padding: 0; border: 0; background: transparent; font: .74rem ui-monospace, SFMono-Regular, monospace; color: var(--ink-2); text-align: left; cursor: pointer; }
.bar-track { position: relative; height: 13px; overflow: hidden; background: #e8eee6; border-radius: 2px; }
.bar-fill { position: absolute; top: 0; left: 0; display: block; width: var(--coverage); height: 100%; background: #a6bda9; border-radius: 2px; }
.bar-walk { background: #5f7f66; }
.coverage-bar[aria-pressed="true"] { color: var(--accent); font-weight: 700; }
.coverage-bar[aria-pressed="true"] .bar-fill { background: #7fa98f; }
.coverage-bar[aria-pressed="true"] .bar-walk { background: var(--accent); }
.chart-legend { margin: 4px 0 0; color: var(--ink-2); font-size: .72rem; line-height: 1.7; }
.legend-swatch { display: inline-block; width: 11px; height: 11px; margin: 0 5px -1px 0; background: #a6bda9; border-radius: 2px; }
.legend-walk { background: #5f7f66; }
.coverage-bar > span:last-child { text-align: right; }
.chart-source { margin-top: 23px; color: var(--ink-2); font-size: .72rem; line-height: 1.7; }
#issues { background: var(--page); }
.issue { border-radius: 8px; box-shadow: none; padding: 23px; }
.issue-count { color: var(--accent); font-size: 2.1rem; font-weight: 500; }
.issue h4 { font-size: .93rem; line-height: 1.35; }
.issue p { font-size: .8rem; line-height: 1.8; }
.issue-group > h3 { font-size: .65rem; letter-spacing: .13em; }
.table-card { border-radius: 8px; box-shadow: none; min-width: 0; }
.table-card h3 { padding: 22px 24px 7px; font-size: 1rem; line-height: 1.4; }
.table-card .table-note { padding-inline: 24px; font-size: .78rem; line-height: 1.8; }
.table-scroll { margin-top: 20px; scrollbar-width: thin; scrollbar-color: #adbcad #edf1eb; }
thead, .sortable-table thead th { background: #edf2ec; }
thead th { font-size: .7rem; }
td { font-size: .82rem; }
tbody tr:nth-child(even) { background: #f9faf7; }
.go { min-height: 36px; color: var(--accent); background: #f3f6ef; border-radius: 5px; }
.table-filter { background: #f5f7f2; border-radius: 5px; font-size: 1rem; }
.table-count { font-size: .74rem; }
.method { grid-template-columns: minmax(0, 1fr) 310px; gap: 60px; }
.method-text > p, .defs dd { font-size: .88rem; line-height: 1.85; }
.defs { padding: 5px 22px 22px; border-left: 2px solid #b1c4b4; background: #eef2eb; }
.defs dt { font-size: .86rem; }
.evidence-guide { display: grid; gap: 12px; margin: 26px 0; }
.evidence-guide > div { padding: 14px 16px; background: #fff; border: 1px solid var(--hairline); border-radius: 6px; }
.evidence-tag { display: inline-flex; align-items: center; gap: 7px; font-size: .7rem; font-weight: 650; color: #315c7b; }
.evidence-tag::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.evidence-tag.estimated { color: #72623d; }
.evidence-tag.review { color: #805448; }
.evidence-guide p { margin-top: 4px; font-size: .78rem; line-height: 1.7; }
.links { top: 100px; border-top: 3px solid var(--accent); border-radius: 3px 3px 8px 8px; box-shadow: none; }
.links li a { font-size: .8rem; }
.author { font-size: .75rem; overflow-wrap: anywhere; }
.footer { background: #e9eee6; padding-block: 32px; }
.footer-brand { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; color: var(--ink); font-size: 1.1rem; font-weight: 650; text-decoration: none; letter-spacing: -.035em; }
.footer-brand span { font-size: .72rem; font-weight: 500; letter-spacing: 0; }
.footer p { max-width: 80em; margin-top: 8px; font-size: .72rem; line-height: 1.8; }

@media (max-width: 1100px) {
  .wrap { padding-inline: 28px; }
  .hero-grid { gap: 28px; }
  .hero h1 { font-size: clamp(2.7rem, 4.8vw, 3.8rem); }
  .network-figure { height: 360px; }
  .nav a { padding-inline: 8px; font-size: .73rem; }
  .coverage-layout { gap: 40px; }
  .map-layout { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 1000px) {
  .map-layout { grid-template-columns: 1fr; height: auto; }
  .map-frame { border-radius: 0; border-right: 1px solid var(--border); border-bottom: 0; height: 58svh; min-height: 400px; }
  .panel { border-radius: 0 0 8px 8px; }
  .route-chips { max-height: 90px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3), .stat:nth-child(n + 3) { padding-left: 20px; margin-top: 0; border: 1px solid var(--hairline); }
  .method { gap: 32px; grid-template-columns: minmax(0, 1fr) 280px; }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 118px; }
  .topbar-inner { flex-wrap: wrap; height: auto; gap: 6px; padding-block: 12px 6px; }
  .brand { width: 100%; font-size: 1rem; }
  .brand-mark { width: 28px; height: 28px; }
  .nav { width: 100%; min-width: 0; margin: 0; overflow-x: auto; scrollbar-width: thin; }
  /* The menu scrolls sideways here: a fade at the right edge shows there is more. */
  .nav { padding-right: 24px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .nav a { min-height: 40px; padding-inline: 10px; }
  .hero { padding-top: 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: clamp(2.9rem, 8vw, 4.5rem); }
  .lede { max-width: 40em; }
  .network-figure { height: 340px; }
  .snapshot-note { margin-top: 26px; }
  .section { padding-block: 48px; }
  .coverage-layout { grid-template-columns: 1fr; gap: 30px; }
  .coverage-intro h2 br { display: none; }
  .coverage-intro h2 em::before { content: " "; }
  .coverage-intro > p:not(.section-kicker) { max-width: 40em; }
  .coverage-limit { max-width: 44em; }
  .coverage-explorer { max-width: 640px; width: 100%; }
  .method { grid-template-columns: 1fr; }
  .links { position: static; }
  .views { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .views button { padding-inline: 8px; }
  .map-toolbar { gap: 10px; }
  .map-toolbar .tour-start { margin-left: auto; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 20px; }
  .hero { padding-bottom: 36px; }
  .hero h1 { font-size: clamp(2.6rem, 9.4vw, 3.5rem); }
  .eyebrow { font-size: .58rem; letter-spacing: .1em; }
  .lede { font-size: .91rem; margin-top: 20px; }
  .cta { gap: 8px; }
  .cta .btn { flex: 1 1 auto; justify-content: center; font-size: .78rem; padding-inline: 12px; }
  .network-figure { height: 275px; }
  .figure-top, .network-figure figcaption { left: 14px; right: 14px; font-size: .52rem; }
  .snapshot-note { padding: 13px; gap: 9px; }
  .snapshot-note p { font-size: .71rem; }
  .stats-heading { align-items: flex-start; gap: 10px; }
  .stats-heading h2 { max-width: 12em; line-height: 1.5; font-size: .75rem; }
  .stats-heading a { max-width: 10em; text-align: right; font-size: .65rem; }
  .stats { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat, .stat + .stat, .stat:nth-child(3) { padding: 20px 14px 16px; margin: 0; }
  .stat::before { left: 14px; }
  .stat-value { font-size: 2.3rem; }
  .stat dt { font-size: .71rem; }
  .stat dd.stat-note { font-size: .74rem; line-height: 1.7; }
  .map-frame { height: 64svh; min-height: 380px; }
  .panel { padding: 18px; }
  .section-head-row .downloads { width: 100%; }
  .downloads .btn { white-space: normal; }
  .coverage-explorer { padding: 23px 20px; }
  .coverage-result { gap: 16px; }
  .coverage-result p { font-size: .72rem; }
  .radius-options button { font-size: .7rem; }
  .table-tools { padding-inline: 16px; }
  .table-card h3, .table-card .table-note { padding-inline: 18px; }
  .reach-stats { grid-template-columns: 1fr 1fr; }
  .footer-brand { font-size: 1rem; }
}
@media (max-width: 360px) {
  .wrap { padding-inline: 16px; }
  .cta { flex-direction: column; }
  .cta .btn { justify-content: center; }
  .views { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coverage-result { flex-wrap: wrap; }
  .radius-options { gap: 3px; }
  .radius-options button { font-size: .65rem; }
}
@media (pointer: coarse) {
  .chip, .go, .card-close, .pair-open, .map-selected button, .tour-close { min-width: 44px; min-height: 44px; }
  .leaflet-bar a { width: 44px !important; height: 44px !important; line-height: 44px !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* ---------------------------------------------------------------- tour, shorter paths, stop spacing, reach */

.btn-tour svg, .tour-start svg { fill: currentColor; stroke: none; }
.cta .btn-tour::after { content: none; }
.map-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.map-toolbar .views { margin-bottom: 0; }
.tour-start {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 10px;
  border: 1px solid var(--hairline); background: #f1f5ef; color: var(--accent); font-weight: 650; font-size: .87rem; cursor: pointer;
}
.tour-start:hover { background: #e5ede1; border-color: #acbda9; }
.tour-start svg { width: 16px; height: 16px; }

.tour {
  position: absolute; left: 16px; bottom: 16px; z-index: 900; width: min(430px, calc(100% - 32px));
  padding: 18px 20px 16px; border-radius: 16px; background: #fffffff5; border: 1px solid var(--border);
  box-shadow: 0 18px 48px #1729520f, 0 4px 12px #17295214;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.tour-top { display: flex; align-items: center; gap: 10px; }
.tour-step { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.tour-close {
  margin-left: auto; width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--ink-2); cursor: pointer; font-size: 1rem; line-height: 1;
}
.tour-close:hover { color: var(--ink); border-color: var(--ink-2); }
.tour-title { margin-top: 10px; font-size: 1.22rem; font-weight: 760; letter-spacing: -.03em; }
.tour-text { margin-top: 8px; color: var(--ink-2); font-size: .9rem; line-height: 1.65; }
.tour-bottom { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.tour-dots { display: flex; flex-wrap: wrap; gap: 6px; }
.tour-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #cfdaeb; cursor: pointer; transition: width .2s ease; }
.tour-dot.on { width: 22px; background: var(--accent); }
.tour-actions { display: flex; gap: 8px; margin-left: auto; }
.btn-small { min-height: 36px; padding: 7px 14px; font-size: .84rem; }

.stop-results { margin-top: 14px; }
.stop-results .items { margin-top: 6px; }
.popup-link { margin-top: 12px; padding: 0; border: 0; background: none; color: var(--link); font-weight: 650; cursor: pointer; }
.popup-link::after { content: " →"; }

.legend .key-line { background: var(--key); }
.legend .key-line.dashed { height: 4px; background: repeating-linear-gradient(90deg, var(--key) 0 8px, transparent 8px 13px); }
.legend .key-box { background: var(--key); }
.legend .key-dot {
  justify-self: center; width: var(--size, 10px); height: var(--size, 10px); border-radius: 999px; background: var(--key);
  box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px #17295222;
}
.eyebrow-small { margin-bottom: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.reach-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 4px; }
.reach-stats div { padding: 12px 14px; border: 1px solid var(--hairline); border-radius: 12px; background: #f8faff; }
.reach-stats dt { font-size: .76rem; line-height: 1.3; color: var(--ink-2); }
.reach-stats dd { margin: 4px 0 0; font-size: 1.3rem; font-weight: 750; letter-spacing: -.02em; }
.reach-stats dd small { display: block; margin-top: 3px; font-size: .74rem; font-weight: 500; line-height: 1.4; letter-spacing: 0; color: var(--ink-2); }
.panel-view > .btn-small { margin-top: 14px; }

.pairs { display: grid; gap: 6px; }
.pair { display: flex; align-items: center; gap: 6px; }
.pair .chip[aria-pressed="true"] { background: #fff1ea; border-color: #f2a27f; color: #a8461c; }
.pair-open {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid #e2e9f4; background: var(--surface); color: var(--accent); cursor: pointer;
}
.pair-open:hover { background: #e7efff; border-color: #7b9ee8; }
.pair-open svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.compare-note { margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: #fff4ee; color: #8a3a17; }
.item-meta .tag-fix { width: 14px; background: repeating-linear-gradient(90deg, #1baf7a 0 5px, transparent 5px 8px); }

.caveat { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #f5f7fc; border: 1px solid var(--hairline); color: var(--ink-2); font-size: .8rem; line-height: 1.6; }
.all-tables { gap: 28px; }
.table-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 24px 0; }
.table-filter {
  flex: 1 1 260px; max-width: 420px; height: 42px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--border);
  background: #f5f7fc; color: var(--ink); font: inherit; font-size: .92rem;
}
.table-filter:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
.table-count { color: var(--ink-2); font-size: .84rem; }
.table-tall { max-height: 620px; overflow: auto; }
.sortable-table thead th { position: sticky; top: 0; z-index: 1; background: #edf2ec; }
.sortable-table th.sortable button {
  display: inline-flex; align-items: center; gap: 2px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-weight: 650; color: inherit; text-align: inherit; white-space: nowrap;
}
.sortable-table th.num button { justify-content: flex-end; }
.sortable-table th[aria-sort="ascending"], .sortable-table th[aria-sort="descending"] { color: var(--accent); }
.sortable-table td { font-size: .88rem; }
.sortable-table td.nowrap { white-space: nowrap; }
.sortable-table .ends { display: block; min-width: 220px; max-width: 320px; }
.shape-cell { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.sortable-table td.carrier-cell { min-width: 240px; }
.shape-cell i { width: 16px; height: 4px; border-radius: 4px; display: inline-block; }

@media (max-width: 760px) {
  .table-tools { padding: 12px 16px 0; }
  .map-toolbar { gap: 8px; }
  .tour { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 14px 16px; }
  .tour-title { font-size: 1.05rem; }
  .tour-text { font-size: .84rem; line-height: 1.55; }
  .reach-stats { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- print: the summary without the map */

@media print {
  :root, :root[data-theme="dark"] {
    color-scheme: light; --page: #fff; --surface: #fff; --surface-2: #f4f4f1; --ink: #000; --ink-2: #3d3d3a;
    --hairline: #d6d5ce; --border: #d6d5ce; --shadow: none; --link: #000;
  }
  @page { margin: 14mm 14mm 16mm; }
  body { font-size: 10pt; background: #fff; }
  .topbar, .skip, .cta, .paper-link, .network-figure, .map-section, .downloads, .go, .chips button, .tour, .radius-options, #routes, .table-tools { display: none !important; }
  .hero-grid, .coverage-layout { grid-template-columns: 1fr; }
  .coverage-section { break-inside: avoid; }
  .coverage-explorer { padding: 12px; }
  .hero { padding: 0 0 14px; }
  .hero h1 { font-size: 21pt; }
  .lede { font-size: 10.5pt; margin-top: 10px; }
  .stats { margin-top: 16px; }
  .stat-value { font-size: 22pt; }
  .stat-note, .issue p { font-size: 9pt; }
  .section { padding: 16px 0; }
  #issues { background: #fff; }
  .section-head { margin-bottom: 12px; }
  .section-head h2 { font-size: 15pt; }
  .issue-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .issue { padding: 10px; break-inside: avoid; }
  .issue-count { font-size: 15pt; }
  .issue-group + .issue-group { margin-top: 14px; }
  .chip { min-height: 0; padding: 1px 6px; font-size: 8pt; }
  .table-card { break-inside: avoid; }
  table { font-size: 8.8pt; }
  th, td { padding: 5px 8px; }
  .method { grid-template-columns: 1fr; gap: 12px; }
  .links { position: static; padding: 10px; }
  .links li a { padding: 3px 0; }
  .links li a::after { content: ""; }
  .links li a[href^="http"]::after { content: " · " attr(href); font-weight: 400; color: var(--ink-2); }
  a { text-decoration: none; }
}
