
  /* ---------- Brand palette — same tokens as the other inner pages ---------- */
  :root{
    --bg-deep:        #0c2326;
    --bg-mid:         #173b41;
    --bg-card:        #1f4a51;
    --bg-card-hover:  #266068;
    --ink:            #f4f8f8;
    --ink-mute:       #b8cdd0;
    --accent:         #cfe9ed;
    --accent-strong:  #8ec9d2;
    --accent-ink:     #0c2326;
    --rule:           rgba(255,255,255,.08);
    --shadow:         0 6px 20px rgba(0,0,0,.35);
    --free:           #ffd166;   /* the free-tier yellow */
    --free-ink:       #33260a;
  }

  *{box-sizing:border-box}
  html{scroll-padding-top:104px}
  html,body{margin:0;padding:0;background:var(--bg-mid);color:var(--ink);
    font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
    -webkit-font-smoothing:antialiased; line-height:1.45;}
  a{color:inherit;text-decoration:none}
  button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}

  /* ---------- Header / nav ---------- */
  header.site{
    position:sticky; top:0; z-index:40;
    background:var(--bg-deep);
    border-bottom:1px solid var(--rule);
    padding:14px 28px;
    display:flex; align-items:center; justify-content:space-between;
    gap:24px;
  }
  .brand{display:flex;align-items:center;gap:0}
  .site-logo{height:64px;width:auto;display:block}
  /* wrap, never overflow: six 22px links + logo + socials need ~1240px */
  nav.site{display:flex;align-items:center;justify-content:center;flex:1;gap:8px;flex-wrap:wrap;row-gap:4px}
  nav.site a.nav-link{font-size:22px;font-weight:700;color:var(--ink-mute);padding:8px 22px;border-radius:8px;transition:.15s;white-space:nowrap;letter-spacing:.01em}
  nav.site a.nav-link:hover{color:var(--ink);background:rgba(255,255,255,.07)}
  /* Free-tier pill — declared before the media queries below so they override it */
  nav.site a.nav-link.free{background:var(--free);color:var(--free-ink);font-size:16px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:9px 18px;border-radius:999px}
  nav.site a.nav-link.free:hover{background:#ffdd8a;color:var(--free-ink)}
  nav.site a.nav-link.free[aria-current="page"]{box-shadow:0 0 0 2px rgba(255,255,255,.3)}
  /* 701–1230px: the compact nav cannot fit beside the logo/socials/cart, and
     squeezing it there stacks the links into a tall column — give it its own
     centred row instead (measured: it needs 633px, the sidepieces ~460px). */
  @media(min-width:701px) and (max-width:1230px){
    header.site{flex-wrap:wrap}
    nav.site{order:3;flex:none;flex-basis:100%}
  }
  /* measured: the full-size nav needs 1333px once the Free Layers pill is in it
     (1468px on index.html, which also carries the cart button), so the compact
     type starts here rather than at the phone breakpoint. Anything that still
     does not fit wraps to a second row — it must never overflow the viewport. */
  @media(max-width:1340px){nav.site a.nav-link{font-size:15px;padding:6px 12px}
    nav.site a.nav-link.free{font-size:13px;padding:6px 14px}}

  /* ---------- Page shell ---------- */
  .page-hero{background:radial-gradient(ellipse at top,#1f4a51 0%,var(--bg-mid) 60%);padding:56px 28px 48px;text-align:center;border-bottom:1px solid var(--rule)}
  .page-hero h1{font-size:42px;font-weight:300;margin:0 0 12px}
  .page-hero h1 em{font-style:normal;color:var(--accent)}
  .page-hero h1 em.free{color:var(--free)}
  .page-hero p{color:var(--ink-mute);font-size:17px;max-width:640px;margin:0 auto}
  .crumb{font-size:13px;color:var(--ink-mute);margin-bottom:18px}
  .crumb a{color:var(--accent-strong)}
  .crumb a:hover{color:var(--accent)}
  .page-body{max-width:960px;margin:0 auto;padding:44px 28px 72px}

  /* ---------- Google-Earth-style viewer ---------- */
  .demo-card{background:#0b1a20;border:1px solid var(--rule);border-radius:16px;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.45)}
  .demo-top{display:flex;align-items:center;gap:8px;padding:11px 14px;background:#0a1519;border-bottom:1px solid var(--rule)}
  .demo-top .dot{width:11px;height:11px;border-radius:50%}
  .demo-top .r{background:#ff5f57}.demo-top .y{background:#febc2e}.demo-top .g{background:#28c840}
  .demo-top .ge{margin-left:10px;font-size:12px;color:#7f9aa6;font-weight:600;letter-spacing:.03em}
  .mapbox{position:relative;background:#0e1f26;aspect-ratio:16/11}
  #freeMap{position:absolute;inset:0;z-index:1}
  .leaflet-container{background:#0e1f26;font-family:inherit}
  .leaflet-control-attribution{font-size:9px;background:rgba(11,26,32,.7);color:#8fa8b2}
  .leaflet-control-attribution a{color:var(--accent-strong)}
  /* The layer chips live ON the map, stacked down the right edge */
  .demo-controls{display:flex;gap:8px;padding:12px}
  .chip{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;padding:8px 13px;border-radius:999px;border:1.5px solid var(--rule);background:rgba(255,255,255,.03);color:var(--ink);cursor:pointer;transition:.15s;user-select:none}
  .chip:hover{background:rgba(255,255,255,.07)}
  .chip .sw{width:11px;height:11px;border-radius:3px;flex:none}
  .chip.active{border-color:currentColor;box-shadow:inset 0 0 0 1px currentColor}
  .chip[data-k=county].active{color:#fc4a4a}
  .chip[data-k=city].active{color:#ffe34a}
  .chip[data-k=school].active{color:#21c463}
  .chip[data-k=residential].active{color:#58a6ff}
  .chip[data-k=commercial].active{color:#ff9a3c}
  .chip[data-k=zoning].active{color:#e07bff}
  .chip[data-k=traffic].active{color:#35d0ba}
  .chip[data-k=parcel].active{color:#5fd884}
  .chip .live-tag{font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:2px 6px;border-radius:999px;background:rgba(47,168,79,.18);color:#5fd884}
  .chip.off-look{opacity:.5}
  .parcel-hint{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:5;pointer-events:none;background:rgba(11,26,32,.88);border:1px solid var(--rule);border-radius:999px;padding:10px 20px;font-size:14px;color:var(--ink);white-space:nowrap;display:flex;align-items:center;gap:9px;box-shadow:0 8px 26px rgba(0,0,0,.4)}
  .parcel-hint[hidden]{display:none}
  .parcel-hint .spin{width:12px;height:12px;flex:none;border-radius:50%;border:2px solid rgba(255,255,255,.25);border-top-color:var(--accent-strong);animation:pspin .8s linear infinite}
  @keyframes pspin{to{transform:rotate(360deg)}}
  /* PAPA-style address search, top-left beside the zoom control */
  /* the search bar lives IN the title bar, highlighted gold so it can't be missed */
  .map-search{position:relative;z-index:7;flex:1;max-width:340px;margin-left:auto}
  .map-search input{width:100%;background:rgba(255,209,102,.13);border:2px solid var(--gold,#ffd166);border-radius:999px;padding:7px 14px;color:var(--ink);font:13px/1.2 inherit;box-shadow:0 0 10px rgba(255,209,102,.25)}
  .map-search input::placeholder{color:#ffd166;opacity:.85}
  .map-search input:focus{outline:none;border-color:#ffdd8a;background:rgba(255,209,102,.2)}
  .addr-sugs{position:absolute;left:0;right:0;top:calc(100% + 6px);background:#0b1a20;border:1px solid var(--rule);border-radius:10px;overflow:hidden;box-shadow:0 12px 30px rgba(0,0,0,.5)}
  .addr-sugs[hidden]{display:none}
  .addr-sug{padding:8px 12px;font-size:12.5px;cursor:pointer;color:var(--ink)}
  .addr-sug:hover{background:rgba(255,255,255,.08)}
  .addr-sug .b{color:var(--ink-mute);font-size:11px;margin-top:1px}
  /* Google-Earth-style feature labels: bare text with a halo, no tooltip chrome */
  .lyr-label{background:none;border:none;box-shadow:none;color:#fff;font-size:11px;font-weight:700;letter-spacing:.02em;text-shadow:0 1px 3px rgba(0,0,0,.9),0 0 2px rgba(0,0,0,.9);pointer-events:none}
  .lyr-label::before{display:none}
  /* county names read at a glance (David 2026-07-31) */
  .lyr-label-big{font-size:19px;letter-spacing:.05em;font-weight:800;text-transform:uppercase}
/* vmap-county-map-v28 */
  /* neighbouring live counties, drawn on the map and clickable
     (David 2026-08-05: not a dropdown) */
  .cty-nb-label{font-size:12px;font-weight:800;letter-spacing:.04em;
    text-transform:uppercase;color:#ffe9a8;text-shadow:0 1px 3px rgba(0,0,0,.9);
    background:none;border:none;box-shadow:none;pointer-events:none}
  .cty-nb-label::before{display:none}
  /* v28: at parcel zoom a neighbour outline must not eat the click -- the
     parcel under it opens its card in place (David 2026-11-21, /fl/) */
  .vmap-nb-pass .leaflet-ctyNb-pane path{pointer-events:none!important}
  /* Statewide entry (David 2026-08-07, Florida; generalized 2026-08-11 for
     any state in STATE_INFO): .lyr-label-big is a PERMANENT Leaflet
     tooltip in fixed screen pixels — sized to read naturally at the normal
     tight single-county zoom, but at the statewide zoom-out the same 19px
     text now covers a third of the state (David: screenshot showing
     "PALM BEACH COUNTY BOUNDARY" sprawled across six other counties). No
     county is "selected" in this mode anyway, so the host's own big label
     is hidden outright rather than rescaled. */
  .vmap-state-wide .lyr-label-big{display:none}
  /* VMAP card: the one look for every click balloon and hover tag */
  .vmap-pop .leaflet-popup-content-wrapper{background:#0b1a20;color:var(--ink);border:1px solid var(--accent-strong);border-radius:10px;box-shadow:0 14px 34px rgba(0,0,0,.55)}
  .vmap-pop .leaflet-popup-tip{background:#0b1a20}
  .vmap-pop .leaflet-popup-content{margin:11px 13px;font:13px/1.55 inherit}
  /* the close X gets its own chip above the card so content never covers it */
  .vmap-pop .leaflet-popup-close-button{top:-12px;right:-12px;width:26px;height:26px;
    background:#0b1a20;border:1px solid var(--accent-strong);border-radius:50%;
    color:var(--accent-strong);font:700 16px/24px "Helvetica Neue",Helvetica,Arial,sans-serif;
    text-align:center;padding:0;box-shadow:0 4px 12px rgba(0,0,0,.5);z-index:5}
  .vmap-pop .leaflet-popup-close-button:hover{color:#fff;background:#12303a}
  .vmap-pop .leaflet-popup-content{margin-top:14px}
  .vmap-pop a{color:var(--accent-strong);text-decoration:underline}
  .vc-head{font-weight:800;color:var(--accent-strong);letter-spacing:.02em;margin-bottom:4px}
  /* card bodies are the KMZ balloons, authored for Google Earth's white
     balloon — give them that paper so their inline colors stay readable */
  .vmap-pop .vc-body{background:#fff;color:#111;border-radius:6px;padding:8px 10px;margin-top:3px}
  .vmap-pop .vc-body a{color:#0b5cad}
  .vmap-pop .vc-body img{max-width:100%;height:auto;display:block;border-radius:4px;margin:6px 0}
  /* stacked card: one logo up top, thin rules between the layers under the click */
  .vc-stack .vc:not(:first-child)::before{display:none}
  .vc-stack .vc:not(:first-child){border-top:1px solid rgba(255,255,255,.14);margin-top:9px;padding-top:9px}
  .vmap-pop .leaflet-popup-content{max-height:340px;overflow-y:auto}
  .leaflet-tooltip.vmap-tip{background:#0b1a20;color:var(--ink);border:1px solid var(--accent-strong);border-radius:8px;box-shadow:0 8px 20px rgba(0,0,0,.45);font:12.5px/1.45 inherit;padding:7px 10px}
  .leaflet-tooltip.vmap-tip::before{display:block;content:'';width:58px;height:14px;background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NDAgMTMwIiB3aWR0aD0iNTQwIiBoZWlnaHQ9IjEzMCI+CiAgPGRlZnM+CiAgICA8c3R5bGU+CiAgICAgIC52bXtmaWxsOm5vbmU7c3Ryb2tlOiNmZmY7c3Ryb2tlLXdpZHRoOjMuMjtzdHJva2UtbGluZWpvaW46bWl0ZXI7c3Ryb2tlLWxpbmVjYXA6YnV0dH0KICAgICAgLnZye3N0cm9rZTojZmZmO3N0cm9rZS13aWR0aDoxLjM7ZmlsbDpub25lfQogICAgICAudnN7ZmlsbDojZmZmO2ZvbnQtZmFtaWx5OiJIZWx2ZXRpY2EgTmV1ZSIsSGVsdmV0aWNhLEFyaWFsLHNhbnMtc2VyaWY7Zm9udC1zaXplOjE2cHg7Zm9udC13ZWlnaHQ6MzAwO2xldHRlci1zcGFjaW5nOjhweH0KICAgIDwvc3R5bGU+CiAgPC9kZWZzPgoKICA8IS0tIFYg4oCUIGNlbnRlcmVkIGJsb2NrIHN0YXJ0cyBhdCB4PTYwIC0tPgogIDxwb2x5bGluZSBjbGFzcz0idm0iIHBvaW50cz0iNjAsOCAxMDAsOTIgMTQwLDgiLz4KCiAgPCEtLSBNIC0tPgogIDxwb2x5bGluZSBjbGFzcz0idm0iIHBvaW50cz0iMTYwLDkyIDE2MCw4IDIwNiw2MCAyNTIsOCAyNTIsOTIiLz4KCiAgPCEtLSBBIC0tPgogIDxwb2x5bGluZSBjbGFzcz0idm0iIHBvaW50cz0iMjcyLDkyIDMxNiw4IDM2MCw5MiIvPgogIDxsaW5lIGNsYXNzPSJ2bSIgeDE9IjI4NyIgeTE9IjY3IiB4Mj0iMzQ1IiB5Mj0iNjciLz4KCiAgPCEtLSBQIC0tPgogIDxwb2x5bGluZSBjbGFzcz0idm0iIHBvaW50cz0iMzgwLDkyIDM4MCw4IDQyMCw4Ii8+CiAgPHBhdGggY2xhc3M9InZtIiBkPSJNNDIwLDggUTQ2Miw4IDQ2MiwzOCBRNDYyLDY4IDQyMCw2OCBMMzgwLDY4Ii8+CgogIDwhLS0gUnVsZSDigJQgZnVsbCB3aWR0aCBjZW50ZXJlZCAtLT4KICA8bGluZSBjbGFzcz0idnIiIHgxPSI0MCIgeTE9IjEwMiIgeDI9IjUwMCIgeTI9IjEwMiIvPgoKICA8IS0tIFJFQUxUWSBJTlRFTExJR0VOQ0Ug4oCUIGNlbnRlcmVkIC0tPgogIDx0ZXh0IGNsYXNzPSJ2cyIgeD0iMjcwIiB5PSIxMjIiIHRleHQtYW5jaG9yPSJtaWRkbGUiPlJFQUxUWSBJTlRFTExJR0VOQ0U8L3RleHQ+Cjwvc3ZnPg==") no-repeat left center/contain;margin-bottom:4px;position:static;border:none}
  .vmap-pop .vc::before{display:block;content:'';width:74px;height:18px;background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NDAgMTMwIiB3aWR0aD0iNTQwIiBoZWlnaHQ9IjEzMCI+CiAgPGRlZnM+CiAgICA8c3R5bGU+CiAgICAgIC52bXtmaWxsOm5vbmU7c3Ryb2tlOiNmZmY7c3Ryb2tlLXdpZHRoOjMuMjtzdHJva2UtbGluZWpvaW46bWl0ZXI7c3Ryb2tlLWxpbmVjYXA6YnV0dH0KICAgICAgLnZye3N0cm9rZTojZmZmO3N0cm9rZS13aWR0aDoxLjM7ZmlsbDpub25lfQogICAgICAudnN7ZmlsbDojZmZmO2ZvbnQtZmFtaWx5OiJIZWx2ZXRpY2EgTmV1ZSIsSGVsdmV0aWNhLEFyaWFsLHNhbnMtc2VyaWY7Zm9udC1zaXplOjE2cHg7Zm9udC13ZWlnaHQ6MzAwO2xldHRlci1zcGFjaW5nOjhweH0KICAgIDwvc3R5bGU+CiAgPC9kZWZzPgoKICA8IS0tIFYg4oCUIGNlbnRlcmVkIGJsb2NrIHN0YXJ0cyBhdCB4PTYwIC0tPgogIDxwb2x5bGluZSBjbGFzcz0idm0iIHBvaW50cz0iNjAsOCAxMDAsOTIgMTQwLDgiLz4KCiAgPCEtLSBNIC0tPgogIDxwb2x5bGluZSBjbGFzcz0idm0iIHBvaW50cz0iMTYwLDkyIDE2MCw4IDIwNiw2MCAyNTIsOCAyNTIsOTIiLz4KCiAgPCEtLSBBIC0tPgogIDxwb2x5bGluZSBjbGFzcz0idm0iIHBvaW50cz0iMjcyLDkyIDMxNiw4IDM2MCw5MiIvPgogIDxsaW5lIGNsYXNzPSJ2bSIgeDE9IjI4NyIgeTE9IjY3IiB4Mj0iMzQ1IiB5Mj0iNjciLz4KCiAgPCEtLSBQIC0tPgogIDxwb2x5bGluZSBjbGFzcz0idm0iIHBvaW50cz0iMzgwLDkyIDM4MCw4IDQyMCw4Ii8+CiAgPHBhdGggY2xhc3M9InZtIiBkPSJNNDIwLDggUTQ2Miw4IDQ2MiwzOCBRNDYyLDY4IDQyMCw2OCBMMzgwLDY4Ii8+CgogIDwhLS0gUnVsZSDigJQgZnVsbCB3aWR0aCBjZW50ZXJlZCAtLT4KICA8bGluZSBjbGFzcz0idnIiIHgxPSI0MCIgeTE9IjEwMiIgeDI9IjUwMCIgeTI9IjEwMiIvPgoKICA8IS0tIFJFQUxUWSBJTlRFTExJR0VOQ0Ug4oCUIGNlbnRlcmVkIC0tPgogIDx0ZXh0IGNsYXNzPSJ2cyIgeD0iMjcwIiB5PSIxMjIiIHRleHQtYW5jaG9yPSJtaWRkbGUiPlJFQUxUWSBJTlRFTExJR0VOQ0U8L3RleHQ+Cjwvc3ZnPg==") no-repeat left center/contain;margin-bottom:6px}
  .emoji-pin{font-size:22px;line-height:1;text-align:center;text-shadow:0 1px 3px rgba(0,0,0,.6);background:none;border:none}
  .fs-btn{font-size:17px}
  .mapbox:fullscreen{aspect-ratio:auto}
  .mapbox.fs-fallback{position:fixed;inset:0;z-index:2000;aspect-ratio:auto}
  .mapbox>.demo-controls{position:absolute;top:16px;right:16px;z-index:6;flex-direction:column;flex-wrap:nowrap;align-items:stretch;background:rgba(10,21,25,.85);border:1px solid var(--rule);border-radius:12px;max-height:calc(100% - 32px);overflow-y:auto;padding:8px 9px;gap:4px}
  /* the full stack fits down the right edge: compact chips on the map panel */
  .mapbox>.demo-controls .chip{font-size:11px;padding:4px 9px}
  .mapbox>.demo-controls .chip .sw{width:9px;height:9px}
  .chip.xtra.active{color:var(--accent-strong)}
  .lyr-toggle{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-mute);cursor:pointer;padding:2px 9px 4px;display:flex;justify-content:space-between;align-items:center;gap:10px;user-select:none}
  .lyr-toggle:hover{color:var(--ink)}
  .demo-controls.collapsed .chip{display:none}
  .demo-controls.collapsed{padding:6px 9px}
  /* "Political" parent folder: Congress / House / Senate / Commissioners */
  .lyr-group{display:flex;flex-direction:column;align-items:stretch;gap:4px;border:1px solid var(--rule);border-radius:10px;padding:4px 6px 6px;background:rgba(255,255,255,.03)}
  .lyr-group>.grp-head{font-size:10.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-mute);cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:2px 3px;user-select:none}
  .lyr-group>.grp-head:hover{color:var(--ink)}
  .lyr-group.pro-group{border-color:rgba(126,224,192,.4);background:rgba(126,224,192,.08);box-shadow:0 0 0 1px rgba(126,224,192,.12) inset}
  .lyr-group.pro-group>.grp-head{color:#7ee0c0}
  .lyr-group.pro-group>.grp-head:hover{color:#9dead1}
  .lyr-group.closed>.chip{display:none}
  .demo-controls.collapsed .lyr-group{display:none}
  /* the fullscreen control is a feature, not furniture — make it pop */
  .fs-bar{border:none!important}
  .leaflet-bar a.fs-btn{width:auto;min-width:34px;padding:0 12px;background:#ffd166;color:#33260a;
    font-weight:800;font-size:15px;display:flex;align-items:center;gap:7px;
    box-shadow:0 0 12px rgba(255,209,102,.45);border-radius:8px}
  .leaflet-bar a.fs-btn:hover{background:#ffdd8a;color:#33260a}
  .fs-lbl{font-size:11.5px;letter-spacing:.06em;text-transform:uppercase}
  /* FULL SCREEN is removed permanently (David 2026-08-28) — the control
     is still built by the frozen JS below, so it dies here instead */
  .fs-bar{display:none!important}
  /* Home button — county pages are map-only (no site header), so this is
     the way OUT of the map (David 2026-08-08, "the only thing missing is
     a home button to get out of the map"). Same chip look as FULL SCREEN,
     stacked under it; its own class so it does NOT hide with .fs-bar in
     native fullscreen — navigating exits fullscreen anyway. */
  .home-bar{border:none!important}
  .leaflet-bar a.home-btn{width:auto;min-width:34px;padding:0 12px;background:#ffd166;color:#33260a;
    font-weight:800;font-size:15px;display:flex;align-items:center;gap:7px;
    box-shadow:0 0 12px rgba(255,209,102,.45);border-radius:8px}
  .leaflet-bar a.home-btn:hover{background:#ffdd8a;color:#33260a}
  .home-lbl{font-size:11.5px;letter-spacing:.06em;text-transform:uppercase}
  .fs-exit{position:absolute;top:14px;left:50%;transform:translateX(-50%);z-index:1001;
    background:#ffd166;color:#33260a;border:none;border-radius:999px;padding:9px 20px;
    font:700 13px/1 "Helvetica Neue",Helvetica,Arial,sans-serif;letter-spacing:.05em;cursor:pointer;
    box-shadow:0 8px 24px rgba(0,0,0,.45)}
  .fs-exit:hover{background:#ffdd8a}
  .fs-exit[hidden]{display:none}
  /* The FULL SCREEN toggle-in control is redundant once already in full
     screen — this rule already existed but was scoped inside the
     max-width:640px media query, so on desktop it stayed visible
     alongside Exit Full Screen (David round 4, screenshot showing both
     at once). Unscoped here so it hides on every viewport width; it
     reappears automatically once Exit Full Screen removes fs-fallback. */
  .mapbox:fullscreen .fs-bar,.mapbox.fs-fallback .fs-bar{display:none}
  /* County pages (.county-mode): the overlay IS the page, not a
     fullscreen state — the FULL SCREEN entry button stays visible under
     the zoom control and only hides inside real (native) fullscreen.
     Both rules tie on specificity, so the :fullscreen hide must stay
     AFTER the .fs-fallback show. */
  .county-mode .mapbox.fs-fallback .fs-bar{display:block}
  .county-mode .mapbox:fullscreen .fs-bar{display:none}
  /* In full screen the address bar rides ON the map (David 2026-08-01) */
  .map-search.fs-search{position:absolute;top:16px;left:60px;z-index:1002;width:min(320px,calc(50% - 170px))}
  /* Option C command bar (David 2026-08-27): county pages only */
  .county-mode .map-topbar{position:absolute;top:0;left:0;right:0;height:56px;display:flex;align-items:center;gap:14px;padding:0 14px;background:rgba(10,21,25,.92);border-bottom:1px solid rgba(255,255,255,.14);box-shadow:0 4px 18px rgba(0,0,0,.4);z-index:1002}
  .county-mode .map-topbar .tb-area{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:1px;color:var(--ink);white-space:nowrap}
  .county-mode .map-topbar .tb-area .tb-nm{font-size:18px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
  .county-mode .map-topbar .tb-area span{color:var(--accent-strong)}
  /* .tb-clear retired 2026-08-29 — see #clearLayers below */
  .county-mode .map-topbar .map-search{flex:1;max-width:430px;min-width:0;margin:0 0 0 auto}
  .county-mode .map-topbar .map-search input{background:#fff;border:2px solid var(--gold,#ffd166);color:#111827;box-shadow:0 2px 10px rgba(0,0,0,.35)}
  .county-mode .map-topbar .map-search input::placeholder{color:#6b7280;opacity:1}
  .county-mode .map-topbar .map-search input:focus{background:#fff;border-color:#ffdd8a}
  .county-mode .map-topbar .tb-right{margin-left:auto;display:flex;gap:8px;align-items:center}
  .county-mode .map-topbar .leaflet-bar{margin:0;border:none!important;box-shadow:none}
  .county-mode .mapbox .leaflet-top.leaflet-left{top:56px}
  .county-mode .mapbox>.demo-controls{top:72px}
  .vmap-state-wide .map-topbar .tb-area,.vmap-fl-wide .map-topbar .tb-area{display:none}
  .lyr-pin-rule{height:1px;background:rgba(255,255,255,.14);margin:3px 2px;flex:none}
  @media(max-width:640px),(max-height:500px) and (max-width:960px){
    .county-mode .map-topbar{gap:8px;padding:0 8px}
    .county-mode .map-topbar .tb-area{display:none}
    .county-mode .map-topbar .fs-lbl,.county-mode .map-topbar .home-lbl{display:none}
    .county-mode .mapbox>.demo-controls{top:auto}
  }
  /* Bar v2 (David 2026-08-28, A/C from the mockups): Home left, search
     right; Live Parcel Data's chip is gone from county pages — the pill
     under the search is the layer's whole UI (gold below parcel zoom,
     green at it). The layer panel drops below the pill. */
  #parcelPill{position:absolute;top:64px;right:16px;z-index:1002;display:none;align-items:center;gap:8px;background:#ffd166;border-radius:999px;padding:9px 16px;font-size:13px;font-weight:800;color:#33260a;letter-spacing:.05em;text-transform:uppercase;box-shadow:0 0 16px rgba(255,209,102,.6)}
  #parcelPill.on{background:#5fd884;color:#06231c;box-shadow:0 0 16px rgba(95,216,132,.6)}
  #parcelPill .dot{width:8px;height:8px;border-radius:50%;background:#06231c;flex:none}
  /* Parcel on/off (David 2026-10-19): the pill is a toggle */
  #parcelPill{cursor:pointer;user-select:none}
  #parcelPill .tg{margin-left:4px;padding:3px 9px;border-radius:999px;background:rgba(0,0,0,.16);font-size:11px;letter-spacing:.08em}
  #parcelPill.off{background:rgba(10,21,25,.88);color:#cfd8dc;box-shadow:none;border:1.5px solid rgba(255,255,255,.3)}
  #parcelPill.off .tg{background:#ffd166;color:#33260a}
  .county-mode .map-topbar .tb-logo img{height:34px;width:auto;display:block}
  /* Back link (David 2026-10-26, patch_topbar_back_link.py) */
  .county-mode .map-topbar .tb-back{flex:none;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;border:1.5px solid rgba(255,255,255,.3);color:var(--accent-strong);font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}
  .county-mode .map-topbar .tb-back:hover{border-color:var(--accent-strong);color:var(--accent)}
  .vmap-state-wide .map-topbar .tb-back,.vmap-fl-wide .map-topbar .tb-back{display:none}
  @media(max-width:1100px){.county-mode .map-topbar .tb-back span{display:none}.county-mode .map-topbar .tb-back{padding:6px 10px}}
  /* Map toolbar (David 2026-10-19): Measure / Locate / Basemap / Share /
     Street View, left of the address search (patch_map_toolbar.py) */
  .county-mode .map-topbar .tb-tools-wrap{position:relative;margin-left:auto;display:flex;align-items:center;flex:none}
  .county-mode .map-topbar .tb-tools-wrap~.map-search{margin-left:0}
  .county-mode .map-topbar.menu-open{z-index:1005}
  .tb-tools{display:flex;gap:4px;align-items:center}
  .tb-tool,.tb-tools-btn{display:flex;align-items:center;justify-content:center;gap:8px;height:34px;min-width:34px;padding:0 8px;border-radius:8px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.2);color:#e6f1f3;font:800 11px/1 inherit;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;white-space:nowrap}
  .tb-tool svg,.tb-tools-btn svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .tb-tool:hover,.tb-tool:focus-visible,.tb-tools-btn:hover,.tb-tools-btn:focus-visible{border-color:#ffd166;color:#ffd166;outline:none}
  .tb-tool.on,.tb-tools-btn.on{background:#ffd166;border-color:#ffd166;color:#33260a}
  .tb-tool .lbl{display:none}
  .tb-tools-btn{display:none}
  .tb-tools-btn .lbl{display:none}
  .tb-pop{position:absolute;top:calc(100% + 10px);right:0;z-index:1004;display:none;flex-direction:column;gap:4px;min-width:190px;background:rgba(10,21,25,.96);border:1.5px solid rgba(255,209,102,.55);border-radius:12px;padding:8px;box-shadow:0 10px 28px rgba(0,0,0,.5)}
  .tb-pop.open{display:flex}
  .tb-pop .bm{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:8px;color:#e6f1f3;font-size:13px;font-weight:700;cursor:pointer;border:1px solid transparent}
  .tb-pop .bm:hover{border-color:rgba(255,209,102,.6)}
  .tb-pop .bm.on{background:#ffd166;color:#33260a}
  .tb-pop .bm i{width:22px;height:22px;border-radius:5px;flex:none;border:1px solid rgba(255,255,255,.35)}
  .vmap-tool-mode.leaflet-container{cursor:crosshair}
  .vmap-tool-mode .leaflet-overlay-pane,.vmap-tool-mode .leaflet-overlay-pane *,.vmap-tool-mode .leaflet-marker-pane *{pointer-events:none!important}
  #vmapToolPanel{position:absolute;top:68px;left:50%;transform:translateX(-50%);z-index:1003;display:none;min-width:260px;max-width:calc(100% - 24px);background:rgba(10,21,25,.95);border:1.5px solid #ffd166;border-radius:12px;padding:10px 12px;color:#e6f1f3;font-size:13px;box-shadow:0 10px 28px rgba(0,0,0,.5)}
  #vmapToolPanel.open{display:block}
  #vmapToolPanel .tp-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#ffd166}
  #vmapToolPanel .tp-x{cursor:pointer;color:#cfd8dc;font-size:15px;line-height:1;padding:2px 4px}
  #vmapToolPanel .tp-x:hover{color:#fff}
  #vmapToolPanel .tp-read{display:flex;flex-wrap:wrap;gap:4px 16px;margin:8px 0 6px;font-size:15px;font-weight:800}
  #vmapToolPanel .tp-read span{color:#9fb3b9;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;margin-right:5px}
  #vmapToolPanel .tp-hint{color:#9fb3b9;font-size:12px}
  #vmapToolPanel .tp-btns{display:flex;gap:6px;margin-top:8px}
  #vmapToolPanel .tp-btns div{flex:1;text-align:center;padding:6px 8px;border-radius:8px;border:1px solid rgba(255,255,255,.25);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
  #vmapToolPanel .tp-btns div:hover{border-color:#ffd166;color:#ffd166}
  #vmapToolPanel .tp-btns div.pri{background:#ffd166;border-color:#ffd166;color:#33260a}
  .vmap-measure-lbl{background:rgba(10,21,25,.9);color:#ffd166;border:1px solid #ffd166;border-radius:6px;font-weight:800;font-size:12px;padding:2px 6px;box-shadow:none}
  .vmap-measure-lbl:before{display:none}
  @media(min-width:1281px) and (max-width:1599px){
    .county-mode .map-topbar.map-topbar .tb-tools-wrap~.map-search{max-width:280px}
  }
  @media(max-width:1280px){
    .tb-tools-btn{display:flex;padding:0}
    .tb-tools{position:absolute;top:calc(100% + 10px);right:0;z-index:1004;display:none;flex-direction:column;align-items:stretch;min-width:190px;background:rgba(10,21,25,.96);border:1.5px solid rgba(255,209,102,.55);border-radius:12px;padding:8px;box-shadow:0 10px 28px rgba(0,0,0,.5)}
    .tb-tools.open{display:flex}
    .tb-tool{justify-content:flex-start;height:38px;padding:0 12px;gap:10px}
    .tb-tool .lbl{display:inline}
    .county-mode .map-topbar.map-topbar .tb-tools-wrap~.map-search{max-width:260px}
  }
  @media(max-width:920px) and (min-width:641px){
    .county-mode .map-topbar.map-topbar .tb-tools-wrap~.map-search{max-width:236px}
    .tb-tools-btn .lbl{display:none}
  }
  @media(max-width:640px),(max-height:500px) and (max-width:960px){
    .tb-tools-btn .lbl{display:none}
    .county-mode .map-topbar.map-topbar .tb-tools-wrap~.map-search{max-width:none}
    #vmapToolPanel{top:110px;left:8px;right:8px;transform:none;min-width:0;max-width:none}
  }
  .county-mode .home-bar{display:none!important}
  .county-mode .chip[data-k="parcel"]{display:none!important}
  .county-mode #parcelHint{display:none!important}
  /* Bar v4 (David 2026-08-29): "Clear all layers" leaves the command bar —
     where it read as a subtitle of the county name, half a screen from the
     layers it clears — for its own control directly ABOVE the layer panel,
     at the panel's exact width. Outlined, never solid: a gold FILL on this
     side of the map means live parcels, and two solid gold objects stacked
     in one corner read as one control that wrapped. On phones the command
     bar has room, so it rides there as a short "Clear" chip instead of
     adding a third band over the bottom-docked panel. */
  .county-mode #clearLayers{position:absolute;top:114px;right:16px;width:196px;z-index:1002;display:flex;align-items:center;justify-content:center;gap:7px;background:rgba(10,21,25,.85);border:1.5px solid rgba(255,209,102,.55);border-radius:10px;padding:7px 10px;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#ffd166;cursor:pointer;user-select:none}
  .county-mode #clearLayers:hover,.county-mode #clearLayers:focus-visible{background:#ffd166;border-color:#ffd166;color:#33260a;outline:none}
  .county-mode #clearLayers .x{font-size:12px;line-height:1}
  .county-mode #clearLayers .lbl-sm{display:none}
  .county-mode .mapbox>.demo-controls{top:152px;max-height:calc(100% - 168px)}
  @media(max-width:640px),(max-height:500px) and (max-width:960px){
    #parcelPill{right:8px}
    .county-mode #clearLayers{position:static;flex:none;width:auto;padding:7px;border-radius:8px}
    .county-mode #clearLayers .lbl,.county-mode #clearLayers .lbl-sm{display:none}
    .county-mode .map-topbar .map-search{max-width:none}
    .county-mode .mapbox>.demo-controls{top:auto;max-height:min(32vh,48%)}
  }
  /* Pro Layers' own LEFT panel (David 2026-08-28, Pro-left option A) */
  .county-mode #proPanel{position:absolute;left:16px;top:150px;z-index:6;width:196px;display:flex;flex-direction:column;gap:4px;background:rgba(10,25,22,.88);border:1px solid rgba(126,224,192,.5);border-radius:12px;padding:8px 9px;box-shadow:0 0 0 1px rgba(126,224,192,.15) inset,0 8px 24px rgba(0,0,0,.4);max-height:calc(100% - 166px);overflow-y:auto}
  .county-mode #proPanel .lyr-group.pro-group{border:none;background:none;box-shadow:none;padding:0}
  .county-mode #proPanel .pro-cta{margin-top:4px;background:#7ee0c0;color:#06231c;font-weight:800;font-size:11.5px;letter-spacing:.04em;border-radius:8px;padding:8px 10px;text-align:center;cursor:pointer}
  .county-mode #proPanel .pro-cta:hover{background:#9dead1}
  @media(max-width:640px),(max-height:500px) and (max-width:960px){
    .county-mode #proPanel{left:10px;right:10px;top:auto;bottom:calc(min(32vh,48%) + 34px);width:auto;max-height:24vh}
  }
  /* iPad portrait / narrow desktop (641-920px): the centered county name
     collided with the 430px search field (David 2026-08-28, "be aware of
     formatting for an iPhone as well as the iPad") — smaller name,
     narrower search */
  @media(max-width:920px) and (min-width:641px){
    .county-mode .map-topbar .map-search{max-width:280px}
    .county-mode .map-topbar .tb-area .tb-nm{font-size:14px}
  }
  /* Phones: the layer panel docks along the BOTTOM of the map — normal view
     and full screen alike — and the address bar gets its own full-width row
     in the title bar so it is never cut off (David 2026-08-01) */
  @media(max-width:640px),(max-height:500px) and (max-width:960px){
    /* Regular view: the layer panel sits UNDER the map (syncPanelDock moves
       it out of .mapbox); full screen docks it over the map's bottom
       (David 2026-08-01). */
    .mapbox>.demo-controls{top:auto;bottom:10px;left:10px;right:10px;padding:8px;gap:6px;
      flex-direction:row;flex-wrap:wrap;align-items:center;max-height:min(32vh,48%)}
    .mapbox>.demo-controls .chip{font-size:11.5px;padding:6px 10px}
    .demo-card>.demo-controls{flex-wrap:wrap;gap:6px;align-items:center;
      padding:10px 12px;background:#0b1a20;border-top:1px solid var(--rule)}
    .demo-card>.demo-controls .chip{font-size:11.5px;padding:6px 10px}
    .demo-controls .lyr-toggle{flex-basis:100%}
    .demo-controls .lyr-group{flex-basis:100%;flex-direction:row;flex-wrap:wrap;align-items:center}
    .lyr-group>.grp-head{flex-basis:100%}
    .demo-top{flex-wrap:wrap}
    .map-search{flex:none;flex-basis:100%;max-width:none;margin:7px 0 2px}
    /* Full screen, phones: ONE top row — address bar + compact exit chip;
       the redundant FULL SCREEN toggle hides and the zoom control drops
       below the row (David 2026-08-01, "too congested"). */
    .map-search.fs-search{top:10px;left:10px;right:84px;width:auto;margin:0}
    .fs-exit{top:10px;left:auto;right:10px;transform:none;padding:11px 13px;font-size:0;line-height:0}
    .fs-exit::after{content:'\2715 Exit';font-size:12px;line-height:1;letter-spacing:.04em}
    .mapbox:fullscreen .fs-bar,.mapbox.fs-fallback .fs-bar{display:none}
    .mapbox:fullscreen .leaflet-top.leaflet-left,.mapbox.fs-fallback .leaflet-top.leaflet-left{top:50px}
  }
  .demo-note{font-size:12.5px;color:var(--ink-mute);padding:0 14px 14px;background:#0b1a20}
  .demo-note b{color:var(--ink)}

  /* ---------- The free base layers + paid previews ---------- */
  .fl-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:26px}
  @media(max-width:760px){.fl-grid{grid-template-columns:repeat(2,1fr)}}
  .fl-item{background:var(--bg-card);border:1px solid var(--rule);border-radius:12px;padding:16px 15px;text-align:center}
  .fl-item .sw{width:12px;height:12px;border-radius:3px;display:inline-block;margin-bottom:8px}
  .fl-item .nm{font-size:13.5px;font-weight:600;line-height:1.3}
  .fl-item .fr{font-size:11px;font-weight:800;letter-spacing:.1em;color:var(--free);text-transform:uppercase;margin-top:6px}
  /* a paid layer shown in the viewer as a preview */
  .fl-item .pv{font-size:11px;font-weight:800;letter-spacing:.08em;color:var(--accent-strong);text-transform:uppercase;margin-top:6px}
  /* a layer this county has no KMZ for yet */
  .fl-item.pending{opacity:.55}
  .fl-item.pending .fr,.fl-item.pending .pv{color:var(--ink-mute)}
  .fl-foot{margin:18px auto 0;max-width:720px;text-align:center;font-size:13px;color:var(--ink-mute);line-height:1.65}
  .fl-foot em{font-style:normal;color:var(--ink)}
  .fl-foot a{color:var(--accent-strong);text-decoration:underline}
  .fl-foot a:hover{color:var(--accent)}

  /* ---------- Email gate ---------- */
  .gate{margin-top:32px;background:linear-gradient(140deg,#1f4a51,#266068);border:1px solid var(--rule);border-radius:16px;padding:38px 40px;text-align:center}
  .gate h2{font-size:clamp(22px,3vw,28px);font-weight:300;margin:0}
  .gate p{color:var(--ink-mute);font-size:15.5px;max-width:520px;margin:12px auto 22px}
  .emailform{display:flex;gap:12px;max-width:520px;margin:0 auto;flex-wrap:wrap;justify-content:center}
  .emailform select,.emailform input{flex:1;min-width:200px;background:rgba(0,0,0,.22);border:1px solid rgba(255,255,255,.16);border-radius:8px;color:var(--ink);font:15px/1.2 inherit;padding:13px 15px}
  .emailform select:focus,.emailform input:focus{outline:none;border-color:var(--accent-strong)}
  .emailform input::placeholder{color:var(--ink-mute)}
  .emailform button{background:var(--free);color:var(--free-ink);padding:13px 22px;border-radius:8px;font-size:14px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;transition:.15s;white-space:nowrap}
  .emailform button:hover:not(:disabled){background:#ffdd8a}
  .emailform button:disabled{opacity:.6;cursor:not-allowed}
  .gate-err{color:#ffb4b4;font-size:13px;margin-top:12px;min-height:1px}
  .gate-done{color:#bfe9c8;font-size:15px;font-weight:600;margin-top:16px}
  .gate small{display:block;margin-top:14px;color:var(--ink-mute);font-size:12.5px}

  /* ---------- Footer ---------- */
  footer.site{
    background:var(--bg-deep);border-top:1px solid var(--rule);
    padding:24px 28px;text-align:center;color:var(--ink-mute);font-size:12px;letter-spacing:.06em;
  }

  /* ── Phone layout: header must fit 375px or the whole page renders zoomed-out ── */
  @media(max-width:700px){
    header.site{flex-wrap:wrap;gap:6px 8px;padding:10px 12px}
    .site-logo{height:38px}
    nav.site{order:3;flex:none;flex-basis:100%;justify-content:center;gap:0;row-gap:5px}
    nav.site a.nav-link{font-size:13px;padding:5px 7px;letter-spacing:0}
    nav.site a.nav-link.free{font-size:11px;padding:4px 11px}
    .page-hero{padding:36px 16px 32px}
    .page-hero h1{font-size:30px}
    .page-body{padding:28px 14px 56px}
    .gate{padding:26px 20px}
  }
