/* TheWoob Explorer data pages: plain, fast, readable HTML that matches the map's navy look. */
:root { --bg: #070d1f; --panel: #0f1830; --line: #243156; --ink: #eef2fb; --ink-2: #b4c0d3; --muted: #8391a8;
  --accent: #818cf8; --accent-2: #6366f1; --teal: #21918c; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 2px; }
.top { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 16px; background: rgba(7, 13, 31, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; }
.brand svg { width: 30px; height: 30px; }
.map-link { color: #fff; background: var(--accent-2); border-radius: 10px; padding: 8px 14px; text-decoration: none; font-weight: 700; font-size: 14px; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 18px 16px 40px; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--ink-2); }
h1 { font-size: clamp(24px, 4.2vw, 34px); line-height: 1.15; letter-spacing: -.02em; margin: 14px 0 10px; }
h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin: 0 0 12px; }
.lede { font-size: 17px; color: var(--ink-2); max-width: 760px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; background: rgba(255, 255, 255, .03); }
.btn.primary { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.block { margin-top: 28px; padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.tiles div { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: rgba(33, 145, 140, .08); }
.tiles b { display: block; font-size: 24px; letter-spacing: -.01em; }
.tiles span { font-size: 12.5px; color: var(--muted); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
tbody th { font-weight: 600; }
td { font-variant-numeric: tabular-nums; }
.facts td:nth-child(3), .facts td:nth-child(4) { color: var(--muted); font-size: 13px; }
.counties td { color: var(--ink) !important; font-size: 14px !important; white-space: nowrap; }
.wave { margin-top: 14px; font-size: 13px; }
.wave caption { text-align: left; color: var(--muted); font-size: 12.5px; padding-bottom: 6px; }
.wave th, .wave td { text-align: center; padding: 6px 4px; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.siblings { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; }
.about { margin-top: 28px; font-size: 14px; color: var(--ink-2); }
.about .cite { background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.about .links { font-size: 13px; }
.states { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.states a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; text-decoration: none; color: var(--ink-2); font-size: 13px; }
.foot { border-top: 1px solid var(--line); padding: 18px 16px 28px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  max-width: 1000px; margin: 0 auto; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) {
  .wave { display: block; overflow-x: auto; }
  .facts thead th:nth-child(4), .facts td:nth-child(4) { display: none; }
  th, td { padding: 8px 6px; }
}
