/* Lake & River Levels: one small stylesheet, mobile first, light + dark. */
:root {
  --bg: #f2f5f9;
  --surface: #ffffff;
  --surface-2: #edf2f8;
  --text: #0f1f33;
  --muted: #536479;
  --line: #d6dfea;
  --accent: #0a5cad;
  --accent-soft: #e3eefa;
  --water: #0b7bd1;
  --band: rgba(14, 165, 164, 0.16);
  --brand: #0b2545;          /* deep navy: header, footer, headings */
  --brand-2: #13406f;
  --hero-a: #0b3d6e;         /* hero band gradient */
  --hero-b: #0b7285;
  --on-brand: #ffffff;
  --on-brand-muted: #b9cbe0;
  --teal: #0e9f9a;
  --thead: #e8eff7;
  --ok: #1f7a4d;     --ok-bg: #e3f4ea;
  --warn: #9a6200;   --warn-bg: #fdf1d8;
  --flood: #b3261e;  --flood-bg: #fbe4e2;
  --low2: #8a3b12;   --low2-bg: #fbe8dc;
  --low1: #9a6200;   --low1-bg: #fdf1d8;
  --high1: #0b6e99;  --high1-bg: #e0f0f7;
  --high2: #1d4f91;  --high2-bg: #dde7f7;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 32, 48, 0.06), 0 2px 8px rgba(16, 32, 48, 0.05);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1419; --surface: #141e25; --surface-2: #1b2832; --text: #e4ecf2; --muted: #93a4b1;
    --line: #26343f; --accent: #5cc2ee; --accent-soft: #15303d; --water: #4fb3e6; --band: rgba(79, 179, 230, 0.16);
    --ok: #6fd39e; --ok-bg: #13301f; --warn: #f2c063; --warn-bg: #362a10; --flood: #ff8a80; --flood-bg: #3b1714;
    --low2: #ffab7a; --low2-bg: #3a2014; --low1: #f2c063; --low1-bg: #362a10; --high1: #5cc2ee; --high1-bg: #15303d;
    --high2: #9bb8ff; --high2-bg: #1b2747;
    --brand: #081a30; --brand-2: #0e2d50; --hero-a: #0b2f55; --hero-b: #0a5361; --on-brand: #ffffff;
    --on-brand-muted: #9fb5cf; --teal: #2dd4bf; --thead: #1b2832;
    --shadow: none; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1419; --surface: #141e25; --surface-2: #1b2832; --text: #e4ecf2; --muted: #93a4b1;
  --line: #26343f; --accent: #5cc2ee; --accent-soft: #15303d; --water: #4fb3e6; --band: rgba(79, 179, 230, 0.16);
  --ok: #6fd39e; --ok-bg: #13301f; --warn: #f2c063; --warn-bg: #362a10; --flood: #ff8a80; --flood-bg: #3b1714;
  --low2: #ffab7a; --low2-bg: #3a2014; --low1: #f2c063; --low1-bg: #362a10; --high1: #5cc2ee; --high1-bg: #15303d;
  --high2: #9bb8ff; --high2-bg: #1b2747;
  --brand: #081a30; --brand-2: #0e2d50; --hero-a: #0b2f55; --hero-b: #0a5361; --on-brand: #ffffff;
  --on-brand-muted: #9fb5cf; --teal: #2dd4bf; --thead: #1b2832;
  --shadow: none; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .4em; }
h1 { font-size: 1.55rem; letter-spacing: -0.01em; }
h2 { font-size: 1.2rem; margin-top: 1.6em; }
h3 { font-size: 1rem; }
p { margin: 0 0 .8em; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.num { font-variant-numeric: tabular-nums; }

/* Header / footer */
.site-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); }
.logo svg { width: 26px; height: 26px; }
.site-nav { display: flex; gap: 14px; font-size: .925rem; }
.site-nav a { color: var(--muted); }
.theme-toggle { background: none; border: 1px solid var(--line); border-radius: 999px; width: 34px; height: 34px;
  color: var(--muted); cursor: pointer; font-size: 1rem; }
.crumbs { font-size: .85rem; color: var(--muted); margin: 14px 0 6px; overflow-wrap: anywhere; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { margin: 0 6px; }
.site-foot { margin-top: 48px; padding: 28px 0 40px; border-top: 1px solid var(--line); background: var(--surface);
  font-size: .85rem; color: var(--muted); }
.site-foot a { color: var(--muted); text-decoration: underline; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0; }
.attrib li { margin-bottom: 4px; }

/* Hero data card */
.hero { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 18px 14px; margin: 8px 0 16px; }
.hero-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.big { font-size: 2.6rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.05; }
.big .unit { font-size: 1.1rem; font-weight: 600; color: var(--muted); margin-left: 4px; }
.alt-unit { color: var(--muted); font-size: .95rem; }
.asof { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.stat { background: var(--surface-2); border-radius: 10px; padding: 9px 11px; min-width: 0; }
.stat .label { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.stat .value { font-weight: 650; font-variant-numeric: tabular-nums; }
.up { color: var(--ok); } .down { color: var(--low2); } .flat { color: var(--muted); }
@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .big { font-size: 3.1rem; }
  h1 { font-size: 1.85rem; }
}

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; white-space: nowrap; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.b-normal, .b-ok { color: var(--ok); background: var(--ok-bg); }
.b-low1, .b-warn { color: var(--low1); background: var(--low1-bg); }
.b-low2 { color: var(--low2); background: var(--low2-bg); }
.b-high1 { color: var(--high1); background: var(--high1-bg); }
.b-high2 { color: var(--high2); background: var(--high2-bg); }
.b-flood { color: var(--flood); background: var(--flood-bg); }
.b-muted { color: var(--muted); background: var(--surface-2); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* Panels, tables */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
  margin: 14px 0; box-shadow: var(--shadow); }
.panel > h2:first-child { margin-top: 0; }
.meaning p { margin-bottom: .5em; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
td.r, th.r { text-align: right; }
tbody tr:hover { background: var(--surface-2); }
th[data-sort] { cursor: pointer; user-select: none; }
th[data-sort]::after { content: " ↕"; opacity: .4; }
.grid2 { display: grid; gap: 14px; }
@media (min-width: 760px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .95rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-variant-numeric: tabular-nums; }

/* Weather */
.wx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wx div { background: var(--surface-2); border-radius: 10px; padding: 8px; font-size: .85rem; }
.wx b { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; }

/* Chart */
.chart { position: relative; }
.chart-tabs { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.chart-tabs button { border: 1px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 999px;
  padding: 4px 12px; font: inherit; font-size: .85rem; cursor: pointer; }
.chart-tabs button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.chart svg { width: 100%; height: 240px; display: block; touch-action: pan-y; }
.chart .tip { position: absolute; pointer-events: none; background: var(--text); color: var(--bg); font-size: .8rem;
  padding: 4px 8px; border-radius: 6px; white-space: nowrap; transform: translate(-50%, -120%); display: none; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .8rem; color: var(--muted); margin-top: 6px; }
.chart-legend i { display: inline-block; width: 14px; height: 3px; vertical-align: middle; margin-right: 5px; border-radius: 2px; }
.chart noscript, .chart .fallback { font-size: .85rem; color: var(--muted); }

/* Lists, links */
.links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.links li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; background: var(--surface-2);
  border-radius: 10px; }
.links .meta { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.note { font-size: .85rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: 10px; }
.cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.card .big { font-size: 1.6rem; }
.flood-box { border-left: 4px solid var(--line); }
.flood-box.b-flood-border { border-left-color: var(--flood); }
.flood-box.b-warn-border { border-left-color: var(--warn); }
.flood-box.b-ok-border { border-left-color: var(--ok); }
.prose { max-width: 70ch; }
/* Links inside running text are underlined (not colour alone). */
p a, .prose a, .note a, .kv a, .flood-box p a { text-decoration: underline; text-underline-offset: 2px; }

/* ---- Brand layer: navy header/footer, water-blue hero band, coloured headings ---- */
.site-head { background: var(--brand); border-bottom: 0; box-shadow: inset 0 -3px 0 var(--teal); }
.logo, .logo span { color: var(--on-brand); }
.site-nav a { color: var(--on-brand-muted); }
.site-nav a:hover { color: var(--on-brand); }
.theme-toggle { color: var(--on-brand); border-color: rgba(255, 255, 255, 0.3); }
h1 { color: var(--brand); }
:root[data-theme="dark"] h1 { color: var(--text); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) h1 { color: var(--text); } }
.panel > h2, .panel h2 { color: var(--brand-2); }
:root[data-theme="dark"] .panel h2 { color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .panel h2 { color: var(--accent); } }

.hero { padding: 0; overflow: hidden; border: 0; }
.hero-head { background: linear-gradient(120deg, var(--hero-a), var(--hero-b)); color: var(--on-brand);
  padding: 18px 18px 16px; }
.hero-head .big { color: var(--on-brand); }
.hero-head .big .unit, .hero-head .alt-unit, .hero-head .asof { color: var(--on-brand-muted); }
.hero-head .badges .badge { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25); }
.hero .stats { margin: 0; padding: 14px 18px 16px; }
.hero > .stats:only-child { padding-top: 16px; }
.stat { border-top: 3px solid var(--water); background: var(--surface-2); }
.stat .label { color: var(--brand-2); }
:root[data-theme="dark"] .stat .label { color: var(--muted); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stat .label { color: var(--muted); } }

thead th { background: var(--thead); color: var(--brand-2); }
:root[data-theme="dark"] thead th { color: var(--muted); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) thead th { color: var(--muted); } }
tbody tr:nth-child(even) { background: color-mix(in srgb, var(--surface-2) 45%, transparent); }
.links li { border-left: 3px solid var(--water); }
.chart-tabs button[aria-pressed="true"] { background: var(--brand-2); border-color: var(--brand-2); }
.meaning { background: linear-gradient(var(--accent-soft), var(--accent-soft)) left / 4px 100% no-repeat, var(--surface); }

.site-foot { background: var(--brand); color: var(--on-brand-muted); border-top: 3px solid var(--teal); }
.site-foot a { color: var(--on-brand); }
.site-foot strong { color: var(--on-brand); }
.card { border-top: 3px solid var(--water); }
.flood-box th, .flood-box td { white-space: normal; padding: 8px 6px; }

/* ---- Money modules ---- */
.ad-slot { min-height: 120px; margin: 14px 0; display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border-radius: var(--radius); overflow: hidden; }
.ad-slot > span { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 760px) { .ad-slot { min-height: 100px; } }
.gear-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.gear-list a { display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface-2); font-weight: 600; }
.gear-list a::after { content: " ›"; color: var(--muted); }
iframe.stay22 { width: 100%; height: 420px; border: 0; border-radius: 10px; background: var(--surface-2); }
.map-placeholder { height: 260px; border-radius: 10px; background: var(--surface-2); display: flex; align-items: center;
  justify-content: center; color: var(--muted); font-size: .9rem; }
.alert-box { border-top: 3px solid var(--teal); }
.alert-form { display: grid; gap: 10px; }
.alert-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.alert-row label, .alert-row span { color: var(--muted); font-size: .92rem; }
.alert-form select, .alert-form input { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--text); min-width: 0; }
.alert-form input[type="number"] { width: 8.5em; }
.alert-form input[type="email"] { flex: 1 1 220px; }
.alert-form button { font: inherit; font-weight: 650; padding: 8px 16px; border: 0; border-radius: 8px;
  background: var(--brand-2); color: #fff; cursor: pointer; }
.alert-form button:disabled { opacity: .6; cursor: default; }
.alert-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert-msg.ok { color: var(--ok); } .alert-msg.err { color: var(--flood); }

/* ---- Guides ---- */
.guide { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px;
  margin: 8px 0 16px; max-width: none; }
.guide > * { max-width: 70ch; }
.guide .eyebrow { text-transform: uppercase; letter-spacing: .06em; color: var(--teal); font-weight: 650; margin-bottom: 4px; }
.guide h2 { color: var(--brand-2); margin-top: 1.4em; }
.guide table { margin: 10px 0 16px; }
.guide ul, .guide ol { padding-left: 1.3em; }
.guide li { margin-bottom: 4px; }
.guide .sources { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 8px; font-size: .9rem; }
.help-link { font-size: .78rem; font-weight: 500; text-transform: none; letter-spacing: 0; margin-left: 4px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .guide h2 { color: var(--accent); } }
:root[data-theme="dark"] .guide h2 { color: var(--accent); }

/* Fishing, stocking, ramps, camping (Prompt 6) */
.stats3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .stats3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { background: var(--surface-2); border-radius: 999px; padding: 3px 10px; font-size: .88rem; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.filters select { border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; background: var(--surface); color: var(--text); }
td.wrap { white-space: normal; }
.ramp-group { padding: 10px 0; border-bottom: 1px solid var(--line); }
.ramp-group h3 { margin: 0 0 4px; font-size: 1rem; }
.ramp-group p { margin: 0; line-height: 1.9; }
.maplink { display: inline-block; min-width: 28px; text-align: center; margin: 0 2px 2px 0; padding: 0 6px; border: 1px solid var(--line); border-radius: 6px; }

/* ---- Authority layer: trust bar, serif headings, navy hero, data tables ---- */
:root { --serif: "Source Serif 4", Georgia, "Times New Roman", serif; --gold: #c9a227; --navy-line: #1d3d63; }
h1, h2, .foot-name { font-family: var(--serif); font-weight: 700; letter-spacing: -0.005em; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.3rem; }
@media (min-width: 640px) { h1 { font-size: 2.1rem; } }
.trust-bar { background: #061528; color: #c6d4e4; font-size: .78rem; }
.trust-bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding-top: 6px; padding-bottom: 6px; }
.trust-bar b { color: #fff; font-weight: 600; }
.tb-src::before { content: "✓ "; color: var(--gold); }
.site-head { box-shadow: inset 0 -3px 0 var(--gold); }
.site-head .wrap { height: 60px; }
.logo span { font-family: var(--serif); font-size: 1.2rem; letter-spacing: .005em; }
.site-nav { gap: 16px; font-weight: 500; }
@media (max-width: 559px) { .hide-sm { display: none; } .site-nav { gap: 12px; font-size: .88rem; } .tb-src { display: none; } }
.panel h2 { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.prose .lead, .lead { font-size: 1.08rem; }

/* footer */
.site-foot { border-top: 3px solid var(--gold); }
.foot-grid { display: grid; gap: 18px; margin-bottom: 14px; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; } }
.foot-grid > div > a { display: block; margin: 0 0 6px; }
.foot-name { color: var(--on-brand); font-size: 1.15rem; margin: 0 0 6px; }
.foot-h { color: var(--on-brand); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; margin-bottom: 8px; }
.foot-report { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 12px; }
.site-foot .attrib { padding-left: 1.1em; }

/* home hero */
.home-hero { background: linear-gradient(135deg, var(--brand) 0%, var(--hero-a) 60%, var(--hero-b) 130%); color: var(--on-brand);
  border-radius: var(--radius); padding: 26px 20px 22px; margin: 18px 0 10px; }
.home-hero h1 { color: var(--on-brand) !important; font-size: 1.85rem; line-height: 1.15; max-width: 22ch; }
@media (min-width: 640px) { .home-hero { padding: 38px 36px 30px; } .home-hero h1 { font-size: 2.6rem; } }
.home-hero .lead { color: var(--on-brand-muted); max-width: 60ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--gold); margin-bottom: 10px; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #34d399; margin-right: 8px;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, .25); vertical-align: 1px; }
.search { position: relative; margin-top: 16px; max-width: 620px; }
.search input { width: 100%; font-size: 1.05rem; padding: 14px 104px 14px 16px; border: 0; border-radius: 10px;
  background: #fff; color: #0f1f33; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
.search-btn { position: absolute; right: 6px; top: 6px; bottom: 6px; display: flex; align-items: center; padding: 0 18px;
  border-radius: 7px; background: var(--gold); color: #10213a; font-weight: 700; pointer-events: none; }
.search-results { list-style: none; margin: 4px 0 0; padding: 0; position: absolute; left: 0; right: 0; z-index: 5;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); max-height: 60vh; overflow: auto; }
.search-results li a { display: block; padding: 9px 12px; color: var(--text); }
.search-results li a:hover, .search-results li a:focus { background: var(--surface-2); text-decoration: none; }
.search-results .where { color: var(--muted); font-size: .82rem; display: block; }
.hero-counts { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--on-brand-muted); font-size: .92rem; }
.hero-counts b { color: var(--on-brand); font-family: var(--serif); font-size: 1.35rem; margin-right: 4px; font-variant-numeric: tabular-nums; }
.src-label { margin: 16px 0 6px; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--on-brand-muted); }
.src-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.src-chips li { border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; padding: 3px 11px; font-size: .8rem; color: var(--on-brand); }
.updated-line { font-size: .85rem; color: var(--muted); margin: 0 0 6px; }
.updated-line::before { content: "● "; color: var(--ok); }

/* home layout, navy data tables, sidebar cards */
.home-grid { display: grid; gap: 0 18px; }
@media (min-width: 900px) { .home-grid { grid-template-columns: minmax(0, 1fr) 300px; } }
.data-table thead th, .prose thead th { background: var(--brand); color: #fff; }
.data-table .table-wrap { border-radius: 8px; border: 1px solid var(--line); }
.data-table td .where { display: block; font-size: .8rem; color: var(--muted); }
.data-table td { vertical-align: middle; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--brand-2); border-radius: var(--radius);
  padding: 14px 16px; margin: 14px 0; box-shadow: var(--shadow); }
.side-card h2 { font-size: 1.1rem; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--brand-2); }
.side-list { list-style: none; padding: 0; margin: 0 0 8px; }
.side-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.side-list li:last-child { border-bottom: 0; }
.side-list a { font-weight: 600; }
.side-list .where { display: block; font-size: .8rem; color: var(--muted); }
.side-list .badge { margin-top: 4px; font-size: .75rem; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 8px; display: grid; gap: 12px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; background: var(--surface-2); border-radius: 10px; padding: 14px; font-size: .92rem; }
.steps li::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--brand); color: var(--gold); font-family: var(--serif); font-weight: 700; margin-bottom: 8px; }
.steps b { display: block; margin-bottom: 2px; }
.chip-grid { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.chip-grid.wide { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.chip-grid a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--surface); color: var(--text); font-weight: 500; }
.chip-grid a:hover { border-color: var(--accent); text-decoration: none; }
.chip-grid a span { color: var(--muted); font-size: .8rem; font-weight: 400; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:root[data-theme="dark"] .side-card h2 { color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .side-card h2 { color: var(--accent); } }
.data-table td.wrap { min-width: 170px; }
.data-table td.wrap a { font-weight: 600; }
.show-sm { display: none; }
.logo span, .site-nav a { white-space: nowrap; }
@media (max-width: 559px) {
  .show-sm { display: inline; }
  .logo span { font-size: 1.05rem; }
  .home-hero { padding: 22px 16px 18px; }
  .home-hero h1 { font-size: 1.6rem; }
  .home-hero .lead { font-size: .98rem; }
}
.data-table .badge { white-space: normal; }
article.prose { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--brand-2); border-radius: var(--radius);
  padding: 22px 18px; margin: 20px 0; max-width: 820px; box-shadow: var(--shadow); }
@media (min-width: 640px) { article.prose { padding: 30px 34px; } }
article.prose h2 { color: var(--brand-2); margin-top: 1.4em; }
article.prose ul, article.prose ol { padding-left: 1.3em; }
article.prose li { margin-bottom: 6px; }
