/* WildlifeChase — design system */
:root {
  color-scheme: light;
  --forest-900: #0c2419;
  --forest-700: #1f4d36;
  --forest-500: #2f7a4f;
  --forest-300: #7fb592;
  --blaze: #e8622a;
  --blaze-600: #c94f1b;
  --bg: #f6f3ea;
  --bg-2: #efeadd;
  --surface: #fffdf8;
  --surface-2: #faf7ef;
  --ink: #16211b;
  --ink-2: #3c4a42;
  --muted: #66756c;
  --line: #e2dccb;
  --line-2: #d3ccb8;
  --link: #1d6b43;
  --shadow: 0 1px 2px rgba(22, 33, 27, .06), 0 6px 20px -8px rgba(22, 33, 27, .16);
  --shadow-lg: 0 10px 40px -12px rgba(12, 36, 25, .35);
  --radius: 16px;
  --radius-sm: 10px;
  /* data / status (fixed across themes, paired with icon + label) */
  --st-open: #0ca30c;
  --st-special: #fab219;
  --st-closed: #d03b3b;
  --st-open-bg: #e2f5e2;
  --st-open-ink: #0a5c0a;
  --st-special-bg: #fff2d1;
  --st-special-ink: #7a5000;
  --st-closed-bg: #fbe3e3;
  --st-closed-ink: #9b1f1f;
  --series: #2f7a4f;
  --track: #ebe6d8;
  --q0: #ece8dc; --q1: #cfe6d4; --q2: #9fcdac; --q3: #62ab7c; --q4: #2f7a4f; --q5: #174a30;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --wrap: 1200px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0d1511; --bg-2: #111b16; --surface: #151f1a; --surface-2: #1a2620; --ink: #e9efe9; --ink-2: #c4d0c8;
    --muted: #93a59a; --line: #26342c; --line-2: #33443a; --link: #8fd3a8; --forest-700: #2a6a49; --forest-500: #3f9464;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -10px rgba(0,0,0,.5);
    --st-open-bg: #12351a; --st-open-ink: #8ee58e; --st-special-bg: #3a2c0a; --st-special-ink: #ffd27a;
    --st-closed-bg: #3d1616; --st-closed-ink: #ffa3a3; --series: #5fb585; --track: #24322a;
    --q0: #1e2a23; --q1: #1f4a33; --q2: #2c6a48; --q3: #3f9464; --q4: #69bb8b; --q5: #a9e0bd;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1511; --bg-2: #111b16; --surface: #151f1a; --surface-2: #1a2620; --ink: #e9efe9; --ink-2: #c4d0c8;
  --muted: #93a59a; --line: #26342c; --line-2: #33443a; --link: #8fd3a8; --forest-700: #2a6a49; --forest-500: #3f9464;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -10px rgba(0,0,0,.5);
  --st-open-bg: #12351a; --st-open-ink: #8ee58e; --st-special-bg: #3a2c0a; --st-special-ink: #ffd27a;
  --st-closed-bg: #3d1616; --st-closed-ink: #ffa3a3; --series: #5fb585; --track: #24322a;
  --q0: #1e2a23; --q1: #1f4a33; --q2: #2c6a48; --q3: #3f9464; --q4: #69bb8b; --q5: #a9e0bd;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blaze-600); }
h1, h2, h3, h4, .h3, .h4 { font-family: var(--serif); line-height: 1.15; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); font-weight: 700; }
h3, .h3 { font-size: 1.2rem; font-weight: 600; }
.h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
code { font: .9em/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; background: var(--surface-2); border: 1px solid var(--line); padding: .1em .4em; border-radius: 6px; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.mt { margin-top: 1.5rem; }
.center { text-align: center; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: var(--surface); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--blaze); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 600 1.2rem/1 var(--serif); letter-spacing: -.01em; }
.logo b { color: var(--blaze); font-weight: 700; }
.nav { margin-left: auto; }
.nav-toggle { display: none; border: 0; background: transparent; cursor: pointer; padding: 12px 10px; border-radius: 10px; }
.nav-toggle:hover { background: var(--bg-2); }
.nav-menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav-menu a { display: block; padding: 8px 11px; border-radius: 9px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-menu a:hover { background: var(--bg-2); color: var(--ink); }
.burger, .burger::before, .burger::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; } .burger::after { top: 6px; }
.hdr-actions { display: flex; gap: 4px; }
.icon-btn { border: 0; background: transparent; color: var(--ink-2); width: 40px; height: 40px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { background: var(--bg-2); color: var(--ink); }
@media (max-width: 1020px) {
  .nav { order: 3; margin-left: 0; }
  .hdr-actions { margin-left: auto; }
  .nav-toggle { display: block; }
  .nav-menu ul { display: none; }
  .nav-menu.open ul { display: grid; position: absolute; left: 0; right: 0; top: 64px; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: var(--shadow-lg); grid-template-columns: 1fr 1fr; }
  .nav-menu a { padding: 12px; }
}

/* ---------- breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 14px 0 0; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin: 0 6px 0 2px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- buttons, pills, chips */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); color: var(--ink); }
.btn-primary { background: var(--forest-700); border-color: var(--forest-700); color: #fff; }
.btn-primary:hover { background: var(--forest-500); color: #fff; }
.btn-accent { background: var(--blaze); border-color: var(--blaze); color: #fff; }
.btn-accent:hover { background: var(--blaze-600); color: #fff; }
.btn-ghost { background: transparent; }
.btn-sm { padding: 6px 11px; font-size: .85rem; border-radius: 9px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.2rem 0 0; }
.btn-row.center { justify-content: center; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 6px; border-radius: 999px; font: 600 .82rem/1.3 var(--font); white-space: nowrap; }
.pill i { font-style: normal; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: .72rem; color: #fff; }
.pill.sm { font-size: .76rem; padding: 2px 9px 2px 4px; }
.pill.sm i { width: 15px; height: 15px; font-size: .62rem; }
.pill.s-open { background: var(--st-open-bg); color: var(--st-open-ink); } .pill.s-open i { background: var(--st-open); }
.pill.s-special { background: var(--st-special-bg); color: var(--st-special-ink); } .pill.s-special i { background: #d18e00; }
.pill.s-closed { background: var(--st-closed-bg); color: var(--st-closed-ink); } .pill.s-closed i { background: var(--st-closed); }
.pill.s-info { background: var(--bg-2); color: var(--ink-2); padding-left: 9px; } .pill.s-info i { background: none; width: auto; font-size: .9rem; }
.pill.s-none { background: var(--bg-2); color: var(--muted); padding-left: 11px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 1rem; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 13px; font-size: .9rem; font-weight: 500; }
.chip a { color: inherit; text-decoration: none; }
.chip.on { border-color: color-mix(in srgb, var(--forest-500) 45%, var(--line)); background: color-mix(in srgb, var(--forest-500) 10%, var(--surface)); }
.chip.off { color: var(--muted); opacity: .75; }
.chip s { text-decoration-thickness: 1px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font: 700 .76rem/1.4 var(--font); color: var(--forest-500); margin: 0 0 .6rem; }
.eyebrow a { color: inherit; }
.eyebrow.light { color: #f7c9a4; }

/* ---------- hero (home) */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--forest-900); min-height: 560px; display: flex; align-items: center; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-in { position: relative; padding-top: 72px; padding-bottom: 140px; width: 100%; }
.hero h1 { color: #fff; max-width: 15ch; font-size: clamp(2.3rem, 5.6vw, 4rem); text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-lede { font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 60ch; color: #e3efe6; }
.hero-search { display: flex; align-items: center; gap: 10px; background: #fff; color: #334; border-radius: 16px; padding: 8px 8px 8px 16px; max-width: 640px; box-shadow: var(--shadow-lg); margin-top: 1.4rem; }
.hero-search input { flex: 1; border: 0; outline: 0; font: 500 1.02rem var(--font); background: transparent; color: #16211b; min-width: 0; padding: 8px 0; }
.hero-search.in-page { border: 1px solid var(--line); background: var(--surface); }
.hero-search.in-page input { color: var(--ink); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hero-chips a, .hero-chips button { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #fff; padding: 7px 14px; border-radius: 999px; text-decoration: none; font: 600 .9rem var(--font); cursor: pointer; backdrop-filter: blur(6px); }
.hero-chips a:hover, .hero-chips button:hover { background: rgba(255,255,255,.22); color: #fff; }
.stats-band { position: relative; margin-top: -64px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; z-index: 2; }
.stats-band .stat { padding: 14px 18px; border-right: 1px solid var(--line); }
.stats-band .stat:last-child { border-right: 0; }
@media (max-width: 820px) { .stats-band { grid-template-columns: repeat(2, 1fr); } .stats-band .stat { border-right: 0; border-bottom: 1px solid var(--line); } .stats-band .stat:last-child { grid-column: span 2; border-bottom: 0; } }
.stat b { display: block; font: 700 1.75rem/1.1 var(--font); letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: .88rem; }
.stat small { display: block; color: var(--muted); }

/* ---------- page hero */
.page-hero { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-bottom: 1px solid var(--line); padding: 28px 0 0; margin-bottom: 8px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 520px; height: 520px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 22px, color-mix(in srgb, var(--forest-500) 9%, transparent) 22px 23px); pointer-events: none; }
.page-hero.slim { padding: 36px 0 30px; }
.page-hero.center { text-align: center; }
.page-hero-in { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; position: relative; z-index: 1; }
.page-hero h1 { max-width: 22ch; }
.h1-sub { display: block; font: 500 clamp(1rem, 1.8vw, 1.25rem)/1.3 var(--font); color: var(--muted); margin-top: .4rem; letter-spacing: 0; }
.lede { font-size: 1.08rem; color: var(--ink-2); max-width: 70ch; }
.ph-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1rem; }
.ph-shape .shape.big { width: 200px; height: 200px; }
@media (max-width: 760px) { .page-hero-in { grid-template-columns: 1fr; } .ph-shape { display: none; } }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 22px; padding-bottom: 24px; position: relative; z-index: 1; }
.stats-row .stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); }
@media (max-width: 720px) { .stats-row { grid-template-columns: repeat(2, 1fr); } .stat b { font-size: 1.4rem; } }

.shape { width: 56px; height: 56px; flex: none; }
.shape path, .shape circle { fill: color-mix(in srgb, var(--forest-500) 22%, transparent); stroke: var(--forest-500); stroke-width: 1.4; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.shape.big path { stroke-width: 2; }

/* ---------- layout */
.layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; padding-top: 20px; }
.side { position: sticky; top: 84px; align-self: start; display: grid; gap: 16px; }
@media (max-width: 1020px) { .layout { grid-template-columns: 1fr; } .side { position: static; } .toc { display: none; } }
.content-narrow { max-width: 920px; }
.content-wide { padding-top: 12px; }
.sec { padding: 26px 0; border-bottom: 1px solid var(--line); }
.sec:last-of-type { border-bottom: 0; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sec-head a { font-weight: 600; white-space: nowrap; }
.toc p { font: 700 .75rem var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 8px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 5px 12px; color: var(--ink-2); text-decoration: none; font-size: .92rem; margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover, .toc a.active { color: var(--ink); border-left-color: var(--blaze); }
.facts dl { margin: 0 0 10px; font-size: .9rem; }
.facts dt { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.facts dd { margin: 0 0 10px; font-weight: 500; }

/* ---------- cards & grids */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; }
.card.pad { padding: 20px; }
a.card { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; display: block; }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.grid { display: grid; gap: 16px; }
.cards-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.cards-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.cards-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.st-card { padding: 16px; display: flex; flex-direction: column; gap: 10px; transition: transform .15s, box-shadow .15s; }
.st-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.st-card-top { display: flex; gap: 12px; align-items: center; }
.st-card h3 { font-size: 1.08rem; margin: 0 0 2px; }
.st-card p { margin: 0; font-size: .85rem; }
.st-card-status { display: flex; flex-wrap: wrap; gap: 5px; }
.st-card-status .pill { font-size: .74rem; padding: 2px 9px 2px 4px; }
.st-card-status .pill i { width: 15px; height: 15px; font-size: .6rem; }
.st-card-sp { font-size: 1.15rem; letter-spacing: 2px; min-height: 1.5em; }
.st-card-acres { color: var(--muted); }
.st-card-acres b { color: var(--ink); }
.state-card { padding: 16px; display: flex !important; gap: 14px; align-items: center; }
.state-card p { margin: 0; }
.state-mini h3 { margin-bottom: 2px; }
.state-mini p { margin: 0; }
.sp-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); margin: 1rem 0; }
.sp-card { display: flex; flex-direction: column; gap: 2px; padding: 16px; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.sp-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.sp-card small { color: var(--muted); line-height: 1.4; }
.sp-emoji { font-size: 1.8rem; line-height: 1.2; }
.sp-grid.big .sp-card { padding: 20px; }
.sp-count { margin-top: 8px; font-weight: 700; color: var(--forest-500); font-size: .9rem; }
.tool-ico { font-size: 1.8rem; display: block; margin-bottom: 6px; }
.tool h3 { margin-bottom: 4px; }
.tool p { margin: 0; }
.status-cards .big-num { font: 700 2.4rem/1 var(--font); margin: 14px 0 6px; }
.big-num { font: 700 4rem/1 var(--font); color: var(--forest-500); margin: 0; }
.youth-card h2 { margin-bottom: 6px; }
.guide-card h2 { margin: 4px 0 6px; }

/* ---------- callouts, notes, quotes */
.note { background: color-mix(in srgb, var(--st-special) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--st-special) 40%, var(--line)); border-radius: 12px; padding: 14px 16px; font-size: .92rem; margin: 1.2rem 0; }
.callout { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--blaze); border-radius: 12px; padding: 16px; margin: 1.2rem 0; }
.callout h3 { margin: 0 0 4px; }
.callout p { margin: 0 0 6px; }
.callout-ico { font-size: 1.7rem; }
blockquote.official { margin: 1.2rem 0; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; position: relative; }
blockquote.official p { font-family: var(--serif); font-size: 1.08rem; line-height: 1.55; margin-bottom: 6px; }
blockquote.official footer { font-size: .85rem; color: var(--muted); }
.check { list-style: none; padding: 0; margin: 0; }
.check li { position: relative; padding-left: 28px; margin: 0 0 9px; }
.check li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%; background: var(--st-open-bg); color: var(--st-open-ink); display: grid; place-items: center; font-size: .72rem; font-weight: 700; }
.check.warn li::before { content: "!"; background: var(--st-special-bg); color: var(--st-special-ink); }
.methods { padding-left: 0; list-style: none; }
.methods li { margin-bottom: 4px; }
.permit-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.big-status { font: 700 1.5rem var(--font); margin: 0 0 8px; }
.big-status.s-special { color: var(--st-special-ink); }
.big-status.s-open { color: var(--st-open-ink); }

/* ---------- tables */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th, .tbl td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { background: var(--surface-2); font: 700 .78rem var(--font); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); position: sticky; top: 0; white-space: nowrap; }
.tbl th[data-sort] { cursor: pointer; user-select: none; }
.tbl th[data-sort]::after { content: " ↕"; opacity: .35; }
.tbl th[aria-sort="ascending"]::after { content: " ↑"; opacity: 1; }
.tbl th[aria-sort="descending"]::after { content: " ↓"; opacity: 1; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: var(--surface-2); }
.tbl tbody tr:target { background: color-mix(in srgb, var(--blaze) 12%, var(--surface)); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl.compact th, .tbl.compact td { padding: 7px 12px; }
.tbl .emo { letter-spacing: 2px; white-space: nowrap; }
.prose .tbl { margin: 1rem 0 1.4rem; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: table; }

/* ---------- lists */
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px 24px; }
.link-list.cols-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.link-list.cols-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.link-list.cols-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.state-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.state-pills a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; color: var(--ink-2); font-size: .9rem; }
.state-pills a:hover { border-color: var(--forest-500); color: var(--ink); }
.state-pills small { color: var(--muted); margin-left: 3px; }
.dist-list { list-style: none; padding: 0; margin: 0 0 8px; }
.dist-list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.dist-list li:last-child { border-bottom: 0; }

/* ---------- directions, sun, weather */
.dir-grid, .sun-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.dir-grid h3, .sun-grid h3 { margin-bottom: 6px; }
.coords { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 16px 0; font-size: .9rem; }
.coords dt { color: var(--muted); }
.coords dd { margin: 0; }
.js-copy { cursor: copy; }
.dl-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.sun-now { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0 14px; }
.sun-now div { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px; text-align: center; }
.sun-now .k { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.sun-now b { font: 700 1.25rem var(--font); }
.sun-today input[type=date] { margin-left: 6px; }
.table-card { padding: 20px; }
.table-card .table-scroll { box-shadow: none; }
.weather-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; }
.wx { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px; text-align: center; box-shadow: var(--shadow); }
.wx .d { font-weight: 700; font-size: .9rem; }
.wx .i { font-size: 1.8rem; line-height: 1.4; }
.wx .t { font: 700 1.25rem var(--font); }
.wx .t small { font-weight: 500; color: var(--muted); font-size: .85rem; }
.wx .w, .wx .s { font-size: .78rem; color: var(--muted); line-height: 1.35; }

/* ---------- FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style: none; position: relative; padding-right: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--ink-2); }

/* ---------- charts */
.chart-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.chart-card { margin: 0; }
.chart-card figcaption { font: 700 .95rem var(--font); margin-bottom: 14px; color: var(--ink); }
.donut-wrap { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.donut { width: 180px; height: 180px; flex: none; }
.donut-track { stroke: var(--track); }
.donut .seg { transition: stroke-width .15s; cursor: default; }
.donut .seg:hover { stroke-width: 32; }
.donut-value { font: 700 26px var(--font); fill: var(--ink); }
.donut-label { font: 500 12px var(--font); fill: var(--muted); }
.s-open { stroke: var(--st-open); } .s-special { stroke: var(--st-special); } .s-closed { stroke: var(--st-closed); } .s-brand { stroke: var(--series); }
.legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 180px; flex: 1; }
.legend li { display: grid; grid-template-columns: 14px 1fr auto; gap: 8px; align-items: center; font-size: .9rem; }
.legend .lg-val { font-variant-numeric: tabular-nums; font-weight: 600; }
.legend small { color: var(--muted); font-weight: 500; margin-left: 4px; }
.sw, .lg, .hb-fill, .st-seg { background: var(--series); }
.sw { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.sw.s-open, .lg.s-open, .hb-fill.s-open, .st-seg.s-open { background: var(--st-open); }
.sw.s-special, .lg.s-special, .hb-fill.s-special, .st-seg.s-special { background: var(--st-special); }
.sw.s-closed, .lg.s-closed, .hb-fill.s-closed, .st-seg.s-closed { background: var(--st-closed); }
.hbars { display: grid; gap: 8px; }
.hb-row { display: grid; grid-template-columns: minmax(90px, 34%) 1fr auto; gap: 10px; align-items: center; font-size: .88rem; }
.hb-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-label a { color: var(--ink-2); }
.hb-track { height: 14px; display: block; }
.hb-fill { display: block; height: 100%; border-radius: 0 4px 4px 0; min-width: 3px; transition: filter .15s; }
.hb-row:hover .hb-fill { filter: brightness(1.12); }
.hb-val { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink-2); min-width: 3.5em; text-align: right; }
.stacked { display: grid; gap: 8px; }
.st-row { display: grid; grid-template-columns: minmax(90px, 30%) 1fr 56px; gap: 10px; align-items: center; font-size: .88rem; }
.st-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-label a { color: var(--ink-2); }
.st-bar { display: flex; gap: 2px; height: 16px; }
.st-seg { display: block; height: 100%; min-width: 2px; }
.st-seg:first-child { border-radius: 4px 0 0 4px; } .st-seg:last-child { border-radius: 0 4px 4px 0; } .st-seg:only-child { border-radius: 4px; }
.st-tot { font-variant-numeric: tabular-nums; color: var(--muted); text-align: right; }
.lg-inline { font-weight: 500; color: var(--muted); font-size: .85rem; }
.lg-inline .lg { margin-left: 8px; }
.cols { width: 100%; height: auto; }
.cols .axis { stroke: var(--line-2); stroke-width: 1; }
.cols .col { fill: var(--series); }
.cols .col:hover { filter: brightness(1.15); }
.cols .col-val { font: 600 12px var(--font); fill: var(--ink-2); }
.cols .col-lab { font: 500 12px var(--font); fill: var(--muted); }
.usmap { width: 100%; height: auto; display: block; }
.usmap .st { stroke: var(--surface); stroke-width: 1; transition: filter .15s; }
.usmap a:hover .st { filter: brightness(1.18); stroke: var(--ink); stroke-width: 1.5; }
.st.q0 { fill: var(--q0); background: var(--q0); } .st.q1 { fill: var(--q1); background: var(--q1); } .st.q2 { fill: var(--q2); background: var(--q2); }
.st.q3 { fill: var(--q3); background: var(--q3); } .st.q4 { fill: var(--q4); background: var(--q4); } .st.q5 { fill: var(--q5); background: var(--q5); }
.map-legend { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 8px 0; font-size: .85rem; color: var(--muted); }
.ml-title { font-weight: 700; color: var(--ink); }
.ml-item { display: inline-flex; align-items: center; gap: 6px; }
.ml-item i { width: 16px; height: 12px; border-radius: 3px; display: inline-block; }
.gantt { --n: 11; font-size: .85rem; }
.g-head, .g-row { display: grid; grid-template-columns: minmax(120px, 22%) 1fr; gap: 12px; align-items: center; }
.g-months { display: grid; grid-template-columns: repeat(var(--n), 1fr); color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.g-row { padding: 6px 0; border-top: 1px solid var(--line); }
.g-row.is-hl { background: color-mix(in srgb, var(--blaze) 7%, transparent); border-radius: 8px; }
.g-label { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-track { position: relative; height: 26px; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / var(--n) - 1px), var(--line) calc(100% / var(--n) - 1px) calc(100% / var(--n))); border-radius: 6px; }
.g-bar { position: absolute; top: 4px; bottom: 4px; background: color-mix(in srgb, var(--series) 70%, transparent); border-radius: 4px; overflow: hidden; }
.g-bar.hl { background: var(--blaze); }
.g-bar em { font-style: normal; font-size: .7rem; color: #fff; padding: 0 6px; line-height: 18px; white-space: nowrap; display: block; overflow: hidden; text-overflow: ellipsis; }
.map-card .usmap { max-width: 900px; margin: 0 auto; }

/* ---------- maps */
.map-wrap { margin: 1rem 0; }
.map { height: 520px; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: var(--bg-2); position: relative; box-shadow: var(--shadow); z-index: 0; }
@media (max-width: 720px) { .map { height: 420px; } }
.map-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .95rem; }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--line-2); border-top-color: var(--forest-500); border-radius: 50%; animation: spin 1s linear infinite; vertical-align: -3px; margin-right: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }
.map-legend-row { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: var(--muted); margin-top: 10px; align-items: center; }
.map-legend-row span { display: inline-flex; align-items: center; gap: 6px; }
.map-tip { flex-basis: 100%; }
.lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; vertical-align: -2px; }
.lg-fee { background: rgba(234, 179, 8, .45); border: 2px solid #ca8a04; }
.lg-bnd { background: transparent; border: 2px dashed var(--ink-2); }
.lg-own { background: rgba(6, 182, 212, .18); border: 2px solid #0e7490; }
.lg-nwr { background: rgba(47, 122, 79, .22); border: 2px solid #1f4d36; }
.lg-ease { background: rgba(168, 85, 247, .15); border: 2px dashed #a855f7; }
.lg-cty { background: transparent; border: 2px solid #64748b; }
.lg-hq { border-radius: 50%; background: var(--blaze); border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.lg-hq.off { background: #7c8a82; }
.lg-wpa { border-radius: 50%; background: #eab308; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25); width: 11px; height: 11px; }
.leaflet-container { font: 14px/1.4 var(--font) !important; background: var(--bg-2) !important; }
.leaflet-popup-content-wrapper { border-radius: 12px !important; }
.leaflet-popup-content { margin: 12px 14px !important; }
.pop h4 { font: 700 1rem var(--font); margin: 0 0 4px; }
.pop p { margin: 0 0 4px; }
.pop .pill { margin: 2px 0 6px; }
.pop a.go { font-weight: 600; }
.wc-ctrl { background: #fff; border-radius: 8px; box-shadow: 0 1px 5px rgba(0,0,0,.35); }
.wc-ctrl button { display: block; width: 36px; height: 36px; border: 0; background: #fff; cursor: pointer; font-size: 18px; border-radius: 8px; color: #222; }
.wc-ctrl button:hover { background: #f1f1f1; }
.map.is-full { position: fixed !important; inset: 0; height: auto !important; z-index: 1000; border-radius: 0; }
.hq-marker { width: 18px; height: 18px; border-radius: 50%; background: var(--blaze); border: 3px solid #fff; box-shadow: 0 1px 6px rgba(0,0,0,.45); }
.hq-marker.off { background: #7c8a82; }
.me-marker { width: 16px; height: 16px; border-radius: 50%; background: #2563eb; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(37,99,235,.25); }
.unit-label { background: rgba(255,255,255,.85); border: 0; border-radius: 6px; padding: 1px 6px; font: 600 11px var(--font); color: #1a1a1a; box-shadow: none; white-space: nowrap; }
.unit-label::before { display: none; }
.hide-labels .unit-label { display: none; }
.marker-cluster-wpa { background: rgba(234, 179, 8, .35) !important; }
.marker-cluster-wpa div { background: rgba(202, 138, 4, .85) !important; color: #fff; font-weight: 700; }
.marker-cluster-st { background: rgba(232, 98, 42, .3) !important; }
.marker-cluster-st div { background: rgba(201, 79, 27, .92) !important; color: #fff; font-weight: 700; }

/* explorer */
.page-map .site-footer { display: none; }
.page-map .crumbs { display: none; }
.explorer { display: grid; grid-template-columns: 320px 1fr; height: calc(100vh - 65px); height: calc(100dvh - 65px); }
.ex-panel { overflow-y: auto; padding: 20px; border-right: 1px solid var(--line); background: var(--surface); }
.ex-map { position: relative; }
.ex-filters fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 0 0 12px; }
.ex-filters legend { font-weight: 700; font-size: .85rem; padding: 0 6px; }
.ex-filters label { display: block; padding: 3px 0; font-size: .92rem; cursor: pointer; }
.ex-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; color: var(--muted); }
.ex-legend span { display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 820px) { .explorer { grid-template-columns: 1fr; grid-template-rows: auto 70vh; height: auto; } .ex-panel { border-right: 0; border-bottom: 1px solid var(--line); } .ex-filters fieldset:first-child { display: grid; grid-template-columns: 1fr 1fr; } }

/* ---------- filters & forms */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 8px 0 16px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.filters input[type=search], .filters select, .hours-form input, .hours-form select, .sun-today input { font: 500 .95rem var(--font); padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); color: var(--ink); min-width: 0; }
.filters input[type=search] { flex: 1 1 200px; }
.check-inline { display: inline-flex; gap: 6px; align-items: center; font-size: .9rem; white-space: nowrap; }
.hours-form label { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.hf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-top: 14px; }
.hf-row { position: relative; }
.hf-row input { width: 100%; }
.search-results.mini { position: absolute; z-index: 20; left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); max-height: 300px; overflow: auto; }
.search-results.mini:empty { display: none; }

/* ---------- search overlay */
.search-overlay { position: fixed; inset: 0; background: rgba(8, 18, 12, .55); backdrop-filter: blur(4px); z-index: 200; display: flex; justify-content: center; align-items: flex-start; padding: 10vh 16px 16px; }
.search-overlay[hidden] { display: none; }
.search-box { width: 100%; max-width: 640px; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.search-input-row { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.search-input-row input { flex: 1; border: 0; outline: 0; background: transparent; font: 500 1.1rem var(--font); color: var(--ink); min-width: 0; }
.kbd { border: 1px solid var(--line-2); background: var(--surface-2); border-radius: 6px; font: 600 .75rem var(--font); padding: 3px 7px; color: var(--muted); cursor: pointer; }
.search-results { list-style: none; margin: 0; padding: 6px; max-height: 60vh; overflow-y: auto; }
.search-results:empty { padding: 0; }
.search-results li a, .search-results li button { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); width: 100%; border: 0; background: none; text-align: left; font: inherit; cursor: pointer; }
.search-results li a:hover, .search-results li a.sel, .search-results li button:hover { background: var(--bg-2); }
.search-results .sr-sub { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.search-results .sr-ico { margin-right: 8px; }
.search-results.page li a { padding: 14px; border-bottom: 1px solid var(--line); border-radius: 0; }
.search-empty { padding: 16px; color: var(--muted); }

/* ---------- tooltip */
.tip { position: fixed; z-index: 300; pointer-events: none; background: #102219; color: #fff; font: 600 .8rem/1.3 var(--font); padding: 6px 10px; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.25); max-width: 280px; }

/* ---------- prose */
.prose { padding-top: 16px; padding-bottom: 20px; font-size: 1.04rem; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.4rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose .check { padding-left: 0; }

/* ---------- footer */
.site-footer { margin-top: 60px; background: var(--forest-900); color: #c9d8cf; padding: 48px 0 20px; }
:root[data-theme="dark"] .site-footer { background: #08100c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-footer { background: #08100c; } }
.foot { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 28px; }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.site-footer .logo { color: #fff; }
.site-footer h2 { font: 700 .8rem var(--font); text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #c9d8cf; text-decoration: none; font-size: .92rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-brand p { font-size: .92rem; max-width: 42ch; margin-top: 12px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 16px; font-size: .82rem; color: #8fa89a; }
.updated { margin-top: 20px; }

@media print {
  .site-header, .site-footer, .map-wrap, .btn, .hero-chips, .side, .js-weather, .search-overlay, .crumbs { display: none !important; }
  body { background: #fff; color: #000; }
  .layout { display: block; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
