:root {
  --ground: #EDEFEA; --ink: #0F1210; --muted: #3B4139; --muted-2: #4A5048; --line: #CBD0C6; --line-soft: #E2E5DE;
  --white: #FFFFFF; --blue: #3A57E8; --alert: #E4572E; --alert-ink: #1A0A05;
  --houses: #F4D35E; --large-lot: #F7E8A6; --farm: #CFE5B4; --industrial: #7A5BD0; --parks: #3E9A5A; --dark-2: #1C211D; --on-dark: #C3C9BE;
  --display: 'Archivo', system-ui, sans-serif; --serif: 'Newsreader', Georgia, serif; --mono: 'IBM Plex Mono', ui-monospace, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--display); -webkit-font-smoothing: antialiased; }
a { color: var(--ink); } a:hover { color: var(--blue); }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--mono); }
.expanded { font-stretch: 125%; }
main [id], .site-footer { scroll-margin-top: 88px; }
.skip-link { position: absolute; left: -999px; } .skip-link:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(237,239,234,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-word { font-size: 26px; font-weight: 900; font-stretch: 125%; letter-spacing: -0.02em; }
.zip-chip { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white); font-family: var(--mono); font-size: 14px; font-weight: 500; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px; margin-left: auto; align-items: center; }
.navlink { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink); }
.navlink:hover { background: var(--line-soft); color: var(--ink); }
.navlink[aria-current="page"] { background: var(--ink); color: var(--white); }
.navlink.is-soon { color: var(--muted-2); cursor: default; }
.soon { font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: var(--houses); color: var(--ink); }

/* Banner */
.notice { margin: 16px auto 0; max-width: 1280px; padding: 0 32px; }
.notice p { margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* Hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr)); gap: 32px; padding-top: 40px; }
.hero-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 8px 0; }
.eyebrow { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; color: var(--muted-2); text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(44px, 6.4vw, 88px); line-height: .92; font-weight: 900; font-stretch: 125%; letter-spacing: -0.035em; }
.lede { margin: 0; max-width: 520px; font-size: 19px; line-height: 1.5; color: var(--muted); }
.addr-form { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.addr-form label { font-size: 14px; font-weight: 700; }
.addr-row { display: flex; flex-wrap: wrap; gap: 8px; }
.addr-row input { flex: 1 1 260px; height: 56px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--white); font: inherit; font-size: 17px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 26px; border: 0; border-radius: 14px; background: var(--ink); color: var(--white); font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; text-decoration: none; }
.btn:hover { color: var(--white); background: #262C27; }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-light { background: var(--white); color: var(--ink); } .btn-light:hover { background: var(--ground); color: var(--ink); }
.addr-msg { margin: 0; font-size: 14px; color: var(--muted); min-height: 1.4em; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.stat { background: var(--white); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.stat b { font-size: 40px; font-weight: 900; font-stretch: 125%; line-height: 1; }
.stat span { font-size: 14px; color: var(--muted-2); }
.stat .stat-none { font-size: 22px; line-height: 1.1; }
.stat.is-alert { background: var(--alert); color: var(--alert-ink); } .stat.is-alert span { color: var(--alert-ink); font-weight: 600; }

/* Map card */
.map-card { margin: 0; background: var(--white); border: 1.5px solid var(--ink); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; min-height: 520px; }
.map-stage { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; min-height: 440px; }
.map-svg { position: relative; flex: 1 1 auto; background: var(--farm); cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none; }
.map-svg.is-dragging { cursor: grabbing; }
.map-svg:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.map-card.is-county .map-svg { background: var(--ground); }
.map-svg svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
/* Overlay items (labels, pins, you-dot) are counter-scaled by mapview.js: --ks = 1 / zoom keeps them a constant size. */
.map-svg .ks { transform: scale(var(--ks, 1)); transform-origin: 0 0; transform-box: view-box; }
/* Zoomed in, strokes keep their default screen width instead of thickening with the viewBox. */
.map-svg.is-zoomed .roads path, .map-svg.is-zoomed .plans path, .map-svg.is-zoomed .outline path, .map-svg.is-zoomed .fallback rect { vector-effect: non-scaling-stroke; }
.map-svg .map-label { font-family: var(--mono); font-size: 11px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.map-svg .map-fallback { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.map-svg .pin, .map-svg .dot, .map-svg .cluster { cursor: pointer; }
.map-svg .pin text { font-family: var(--display); font-size: 15px; font-weight: 800; }
.map-svg .cluster text { font-family: var(--display); font-size: 13px; font-weight: 800; }
.map-svg .halo { display: none; }
.map-svg .is-active .halo { display: inline; }
/* Zoom controls: a small vertical stack at the top-right of the map. */
.map-ctl { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; flex-direction: column; background: var(--white); border: 1.5px solid var(--ink); border-radius: 12px; overflow: hidden; }
.map-ctl button { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: var(--white); color: var(--ink); font: inherit; font-size: 24px; font-weight: 700; line-height: 1; cursor: pointer; }
.map-ctl button + button { border-top: 1.5px solid var(--ink); }
.map-ctl button:hover { background: var(--ground); }
.map-ctl button:focus-visible { outline: 3px solid var(--blue); outline-offset: -5px; }
.map-ctl button[aria-disabled="true"] { color: #A7ADA2; cursor: default; }
.map-hint { position: absolute; top: 12px; left: 12px; z-index: 2; margin: 0; padding: 8px 12px; border-radius: 10px; background: var(--ink); color: var(--white); font-family: var(--mono); font-size: 12.5px; font-weight: 500; pointer-events: none; }
.map-hint[hidden] { display: none; }
/* Phone tap-to-move (mapview.js): hint pill and Done button, shown only in the phone media query below. */
.map-tap { display: none; }
.map-done { display: none; }
.map-legends { display: flex; flex-direction: column; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding: 14px 18px; border-top: 1.5px solid var(--ink); font-size: 13px; font-weight: 600; }
.legend span { display: flex; align-items: center; gap: 6px; }
.c-only { display: none !important; }
.map-card.is-county .c-only { display: flex !important; }
.map-card.is-county .z-only { display: none !important; }
/* Pin legend: round markers on a tinted row, so it reads as a separate key from the square zoning swatches. */
.pin-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding: 10px 18px; border-top: 1px solid var(--line); background: var(--ground); font-size: 13px; font-weight: 600; }
.pin-legend span { display: flex; align-items: center; gap: 7px; }
.pin-legend-label { font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.pdot { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--white); box-shadow: 0 0 0 1px var(--ink); box-sizing: border-box; font-style: normal; }
/* Shapes match the map markers: hearing = ringed circle, waiting = solid circle, filed = rounded square. */
.pdot.is-upcoming { background: var(--alert); box-shadow: 0 0 0 3px var(--ink); margin: 0 2px; }
.pdot.is-waiting { background: var(--ink); }
.pdot.is-filed { background: var(--blue); border-radius: 4px; }
.pdot.is-you { background: var(--white); border: 3.5px solid var(--blue); box-shadow: 0 0 0 1.5px var(--white), 0 0 0 2.5px var(--ink); }
.pdot.is-cluster { width: 22px; height: 22px; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 800; }
.sw { width: 14px; height: 14px; border: 1px solid var(--ink); display: inline-block; }
.sw-hatch { background: repeating-linear-gradient(45deg, var(--ink) 0 2px, var(--houses) 2px 6px); }
.map-note { margin: 0; padding: 8px 18px; border-top: 1.5px solid var(--ink); font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--muted); }

/* Sections */
.section { margin-top: 72px; display: flex; flex-direction: column; gap: 20px; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
#countywide-section { margin-top: 56px; }
#zones, #recent-section { margin-top: 88px; }
#zones { gap: 24px; }
.section h2 { margin: 0; font-size: 40px; font-weight: 900; font-stretch: 125%; letter-spacing: -0.02em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.chip:focus-visible, .seg button:focus-visible, .btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
/* Radius toggle: two small chips joined into one segmented control. */
.seg { display: inline-flex; align-items: center; }
.seg-label { margin-right: 8px; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.seg button { min-height: 44px; min-width: 56px; padding: 0 12px; border: 1.5px solid var(--ink); background: var(--white); color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.seg button + button { margin-left: -1.5px; }
.seg button:focus-visible { position: relative; z-index: 1; }
.seg button:first-of-type { border-radius: 999px 0 0 999px; padding-left: 14px; } .seg button:last-of-type { border-radius: 0 999px 999px 0; padding-right: 14px; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.chips-sm { gap: 6px; }
.chips-sm .chip { padding: 0 12px; font-size: 13px; font-weight: 600; background: var(--white); }
.chips-sm .chip[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.chips-sm .count { font-weight: 600; }

/* Cards */
.cards { display: flex; flex-direction: column; gap: 16px; }
.card { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; background: var(--white); border: 1.5px solid var(--ink); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(15,18,16,.10); color: var(--ink); }
.card.is-active { outline: 3px solid var(--blue); outline-offset: 2px; }
.card-date { background: var(--ink); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px 8px; gap: 2px; text-align: center; }
.card-date .mono { font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.card-date b { font-size: 48px; font-weight: 900; font-stretch: 125%; line-height: 1; }
.card-date .tbd { font-size: 14px; font-weight: 700; line-height: 1.2; }
.pin-badge { margin-top: 6px; width: 28px; height: 28px; border-radius: 50%; background: var(--white); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.card-body { padding: 22px 26px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--muted-2); text-transform: uppercase; }
.meta strong { color: var(--ink); font-weight: 600; }
.card h3 { margin: 0; overflow-wrap: anywhere; font-family: var(--serif); font-size: 30px; line-height: 1.12; font-weight: 600; letter-spacing: -0.01em; }
.card p { margin: 0; overflow-wrap: anywhere; font-size: 16.5px; line-height: 1.5; color: var(--muted); max-width: 760px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tag { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 8px; background: var(--ground); font-size: 13px; font-weight: 600; }
.tag.zone { font-family: var(--mono); }
.card-side { padding: 22px 26px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; gap: 16px; border-left: 1px solid var(--line-soft); min-width: 200px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; height: auto; padding: 4px 12px; border-radius: 999px; background: var(--ground); font-size: 13px; font-weight: 700; }
.pill.is-hearing { background: var(--alert); color: var(--alert-ink); }
.pill.is-waiting { background: var(--houses); }
/* Just filed: light blue tint, ink text (contrast ~16:1), blue dot. */
.pill.is-filed { background: #DCE4FD; color: var(--ink); }
.pill.is-filed::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.pill.is-hearing::before, .pill.is-waiting::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.chip .count { font-weight: 700; }
.go { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.more-status { margin: 0; font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--muted-2); }
.btn-outline-ink { height: 48px; padding: 0 22px; background: transparent; color: var(--ink); border: 1.5px solid var(--ink); font-size: 15px; }
.btn-outline-ink:hover { background: var(--white); color: var(--ink); }
.recent-toggle { align-self: flex-start; }
.empty { padding: 28px; background: var(--white); border: 1.5px dashed var(--line); border-radius: 20px; font-size: 17px; color: var(--muted); }

/* Countywide band */
.countywide { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); background: var(--ink); color: var(--white); border-radius: 24px; overflow: hidden; }
.countywide > * { padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.countywide .intro { border-right: 1px solid #2A302A; gap: 14px; }
.countywide .go { margin-top: auto; }
.countywide h2 { color: var(--white); font-size: 34px; line-height: 1; }
.countywide p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--on-dark); }
.countywide a { color: var(--white); text-decoration: none; }
.countywide h3 { margin: 0; font-family: var(--serif); font-size: 28px; line-height: 1.15; font-weight: 600; }
.badge-blue { align-self: flex-start; display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--blue); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; }

/* Zoning 101 */
.zone-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.zone-card { background: var(--white); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.zone-card .swatch { height: 64px; display: flex; align-items: end; padding: 12px 18px; font-family: var(--mono); font-size: 22px; font-weight: 600; }
.zone-card div:last-child { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.zone-card strong { font-size: 17px; } .zone-card span { font-size: 15px; line-height: 1.45; color: var(--muted); }

/* Table */
.table-box { overflow-x: auto; background: var(--white); border: 1.5px solid var(--ink); border-radius: 20px; }
table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15.5px; }
th { text-align: left; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted-2); font-weight: 600; padding: 16px 22px; }
td { padding: 16px 22px; border-top: 1px solid var(--line-soft); }
td a { font-weight: 600; text-decoration: none; }
td.muted { color: var(--muted); }
td.mono { font-size: 14px; }
.outcome { display: inline-flex; height: 28px; align-items: center; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--houses); }
.outcome.approved { background: #2F7A45; color: var(--white); } .outcome.closed { background: var(--ink); color: var(--white); }

/* Footer */
.site-footer { margin-top: 96px; background: var(--ink); color: #E9ECE5; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px; }
.site-footer a { color: var(--white); }
.site-footer .label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: #B9BFB4; }
.site-footer p { margin: 0; font-size: 15px; line-height: 1.5; color: #B9BFB4; }
.site-footer .credit { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid #2A302A; font-size: 13px; }
.site-footer.slim .credit { padding-top: 12px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }

/* Phone (matches MobileHome artboard) */
.tabbar { display: none; }
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .notice { padding: 0 16px; }
  .stat .stat-none { font-size: 16px; }
  .main-nav { display: none; }
  .site-header { position: static; }
  .site-header .wrap { padding-top: 12px; padding-bottom: 14px; gap: 12px; }
  main [id], .site-footer { scroll-margin-top: 12px; }
  .hero-copy { gap: 16px; padding: 0; }
  .hero-copy > div:first-child { gap: 14px !important; }
  .addr-row .btn { flex: 1 1 auto; }
  .zip-chip { order: 3; height: 40px; font-size: 13px; }
  .brand-word { font-size: 22px; }
  .hero { padding-top: 20px; gap: 20px; }
  .hero h1 { font-size: 44px; }
  .lede { font-size: 16.5px; }
  .stats { border-radius: 14px; }
  .stat { padding: 12px; gap: 2px; } .stat b { font-size: 28px; } .stat span { font-size: 12px; }
  .stat.is-alert b { font-size: 20px; line-height: 1.1; white-space: nowrap; }
  .map-card { min-height: 0; border-radius: 20px; }
  .map-stage { min-height: 0; }
  /* Phone: always the full map, sized to the screen. mapview.js renders a viewBox matching this box. */
  .map-svg { flex: 0 0 auto; height: 70vh; height: min(70svh, 560px); min-height: 360px; }
  .map-ctl { top: 8px; right: 8px; }
  /* Phone: the map is locked until tapped, so a swipe over it scrolls the page. Tapped (.map-active): one finger pans,
     two pinch, and the card shows a blue ring with a Done button. */
  .map-svg { touch-action: pan-y pinch-zoom; }
  .map-card.map-active .map-svg { touch-action: none; }
  .map-card.map-active { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue); }
  .map-tap { display: block; position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 2; margin: 0; padding: 6px 12px; max-width: calc(100% - 24px); white-space: nowrap; border: 1.5px solid var(--ink); border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink); font-family: var(--mono); font-size: 12px; font-weight: 600; pointer-events: none; }
  .map-card.map-active .map-tap { background: var(--ink); color: var(--white); }
  .map-done { position: absolute; top: 8px; left: 8px; z-index: 2; min-width: 72px; height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--ink); color: var(--white); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
  .map-card.map-active .map-done { display: block; }
  .map-done:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
  .legend { gap: 6px 12px; padding: 10px 16px; font-size: 12px; }
  .pin-legend { gap: 6px 12px; padding: 8px 16px; font-size: 12px; }
  .section { margin-top: 32px; gap: 14px; }
  .section h2 { font-size: 28px; }
  .card { grid-template-columns: 1fr; border-radius: 18px; }
  .card-date { flex-direction: row; justify-content: flex-start; gap: 10px; padding: 10px 14px; }
  .card-date .mono, .card-date b { font-family: var(--mono); font-size: 12.5px; font-weight: 600; font-stretch: 100%; letter-spacing: .04em; line-height: 1.2; }
  .card-date .tbd { font-size: 13px; }
  .card-date .pin-badge { order: -1; margin: 0; width: 26px; height: 26px; font-size: 13px; }
  .card-body { padding: 16px; }
  .card h3 { font-size: 24px; line-height: 1.15; } .card p { font-size: 15px; line-height: 1.45; }
  .meta { font-size: 12px; }
  .card-side { flex-direction: row; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; border-left: 0; border-top: 1px solid var(--line-soft); padding: 12px 16px; min-width: 0; }
  #countywide-section { margin-top: 28px; } #zones, #recent-section { margin-top: 40px; }
  .countywide { border-radius: 20px; }
  .countywide h2 { font-size: 26px; } .countywide h3 { font-size: 24px; }
  .countywide > * { padding: 20px; } .countywide .intro { border-right: 0; border-bottom: 1px solid #2A302A; }
  .site-footer { margin-top: 48px; padding-bottom: 64px; }
  .tabbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; background: var(--white); border-top: 1.5px solid var(--ink); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 64px; text-decoration: none; color: var(--muted-2); font-size: 12.5px; font-weight: 700; }
  .tabbar a { transition: color .15s, box-shadow .15s; }
  .tabbar a[aria-current="true"] { color: var(--ink); font-weight: 800; box-shadow: inset 0 4px 0 var(--ink); }
  .tabbar a:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
}

/* Item page (Item + MobileItem artboards) */
.crumbs { margin-top: 28px; font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--muted-2); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--muted-2); }
.item-title { margin-top: 24px; display: flex; flex-direction: column; gap: 18px; }
.item-title h1 { margin: 0; overflow-wrap: anywhere; max-width: 1000px; font-family: var(--serif); font-size: clamp(36px, 5vw, 68px); line-height: 1.02; font-weight: 600; letter-spacing: -0.02em; }
.item-title .where { margin: 0; font-size: 18px; color: var(--muted); }
.facts { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1px; background: var(--ink); border: 1.5px solid var(--ink); border-radius: 18px; overflow: hidden; }
.fact { background: var(--white); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.fact .mono { font-size: 11.5px; letter-spacing: .08em; color: var(--muted-2); }
.fact b { font-size: 19px; font-weight: 800; }
.fact b.mono { font-family: var(--mono); font-weight: 600; font-size: 19px; color: inherit; letter-spacing: 0; }
.fact.is-dark { background: var(--ink); color: var(--white); } .fact.is-dark .mono { color: var(--on-dark); }
.item-body { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.item-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.item-side { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.item-main h2 { margin: 0 0 14px; font-size: 28px; font-weight: 900; font-stretch: 125%; letter-spacing: -0.01em; }
.plain { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.5; }
.dd { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.dd > div { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.dd h3 { margin: 0 0 12px; font-size: 17px; font-weight: 800; }
.dd ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.4; }
.dd li { display: flex; gap: 10px; } .dd svg { flex: none; }
.timeline { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.timeline li { display: flex; flex-direction: column; gap: 10px; padding-right: 12px; }
.timeline .bar { height: 8px; background: var(--ink); }
.timeline li:first-child .bar { border-radius: 4px 0 0 4px; } .timeline li:last-child { padding-right: 0; } .timeline li:last-child .bar { border-radius: 0 4px 4px 0; }
.timeline strong { font-size: 16px; } .timeline li.is-todo strong { color: var(--muted-2); }
.timeline li.is-next .mono { color: var(--ink); font-weight: 600; }
.timeline .bar.next { background: repeating-linear-gradient(45deg, var(--ink) 0 3px, var(--houses) 3px 8px); border: 1.5px solid var(--ink); }
.timeline .bar.todo { background: var(--line); }
.timeline .mono { font-size: 12px; color: var(--muted-2); }
.docs { background: var(--white); border: 1.5px solid var(--ink); border-radius: 18px; overflow: hidden; }
.docs a { display: flex; align-items: center; gap: 16px; padding: 18px 22px; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line-soft); }
.docs a:first-child { border-top: 0; } .docs a:hover { background: #F6F7F4; }
.docs .kind { font-family: var(--mono); font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 6px; background: var(--ink); color: var(--white); }
.docs .lbl { flex: 1; font-weight: 700; font-size: 16px; }
.docs .kind.web { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.docs .src { font-family: var(--mono); font-size: 13px; color: var(--muted-2); }
.parcel { margin: 0; background: var(--white); border: 1.5px solid var(--ink); border-radius: 22px; overflow: hidden; }
.parcel svg { display: block; width: 100%; height: auto; }
.parcel figcaption { padding: 14px 18px; border-top: 1.5px solid var(--ink); font-size: 14px; line-height: 1.45; display: flex; flex-direction: column; gap: 4px; }
.weigh { background: var(--ink); color: var(--white); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.weigh h2 { margin: 0; font-size: 26px; font-weight: 900; font-stretch: 125%; }
.weigh ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.weigh li { display: flex; gap: 14px; }
.weigh .n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--white); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.weigh li:first-child .n { background: var(--alert); color: var(--alert-ink); }
.weigh small { display: block; font-size: 14.5px; color: var(--on-dark); line-height: 1.4; margin-top: 2px; }
.weigh .btn { height: 52px; font-weight: 800; font-size: 16px; }
.weigh .btn-outline { height: 48px; background: transparent; color: var(--white); border: 1.5px solid var(--white); font-weight: 700; font-size: 15px; }
.weigh .btn-outline:hover { background: #262C27; }
.parcel-top { display: none; }
.site-footer.slim { color: #C3C9BE; }
.site-footer.slim .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 32px; padding-bottom: 32px; }
.site-footer.slim p { font-size: 14px; color: #C3C9BE; }
.action-bar { display: none; }
@media (max-width: 760px) {
  .crumbs { margin-top: 16px; }
  .item-title { margin-top: 16px; gap: 12px; }
  .item-title h1 { font-size: 36px; line-height: 1.05; }
  .item-title .where { font-size: 15px; }
  .item-title .pill { min-height: 28px; padding: 4px 10px; font-size: 12.5px; }
  .parcel-top { display: block; margin-top: 18px; }
  .parcel-top figcaption { display: none; }
  .item-side .parcel { display: none; }
  .parcel { border-radius: 18px; }
  .facts { margin-top: 16px; border-radius: 16px; }
  .fact { padding: 14px; gap: 4px; } .fact .mono { font-size: 11px; } .fact b, .fact b.mono { font-size: 16px; }
  .fact.is-planno { display: none; }
  .item-body { margin-top: 28px; }
  .item-main { gap: 28px; }
  .item-main h2 { margin-bottom: 10px; }
  .docs { border-radius: 16px; } .docs a { padding: 0 16px; min-height: 56px; gap: 12px; } .docs .lbl { font-size: 15px; } .docs .kind { font-size: 11px; padding: 3px 7px; } .docs .src { display: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plain { font-size: 19px; }
  .item-main h2 { font-size: 22px; }
  .timeline { display: flex; flex-direction: column; }
  .timeline li { display: grid; grid-template-columns: 16px 1fr; grid-template-rows: auto 1fr; column-gap: 14px; row-gap: 2px; min-height: 52px; padding: 0; }
  .timeline li:last-child { min-height: 0; }
  .timeline .bar, .timeline .bar.next, .timeline .bar.todo { grid-row: 1 / 3; grid-column: 1; width: 16px; height: auto; border: 0; border-radius: 0; background: none; display: flex; flex-direction: column; align-items: center; }
  .timeline .bar::before { content: ''; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--ink); box-sizing: border-box; }
  .timeline .bar::after { content: ''; flex: 1; width: 3px; background: var(--ink); }
  .timeline .bar.next::before { background: var(--houses); border: 3px solid var(--ink); }
  .timeline .bar.next::after, .timeline .bar.todo::before { background: var(--line); }
  .timeline li:last-child .bar::after { display: none; }
  .timeline strong { grid-column: 2; grid-row: 1; font-size: 15.5px; }
  .timeline .mono { grid-column: 2; grid-row: 2; }
  .weigh .btn { display: none; }
  .action-bar { display: flex; flex-direction: column; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 7; background: var(--ink); padding: 12px 16px calc(20px + env(safe-area-inset-bottom)); }
  .action-bar span { font-size: 13px; color: var(--on-dark); text-align: center; }
  .action-bar .btn { height: 52px; }
  body.has-action-bar .site-footer { padding-bottom: 120px; }
  body.has-action-bar .tabbar { display: none; }
}
