/* The homepage design system (docs/home-v1/index.html <style>); re-copied by build_procedures.py --sync-css. */

/* Layout: full-bleed night bands; dark glass panels float over video and the map; content column max 1440 with side gutters. Single dark look by design (Night). */
:root {
  color-scheme: dark;
  --night: #03060c;
  --deep: #060a13;
  --land: #0a111f;
  --glass: rgba(14, 20, 36, .5);
  --glass-solid: rgba(8, 12, 22, .86);
  --edge: rgba(190, 205, 255, .13);
  --edge-hi: rgba(225, 232, 255, .26);
  --ink: #eef1f8;
  --mute: #a3abbe;
  --faint: #687188;
  --t1: #ff3d5a; --t2: #ff7a3d; --t3: #ffb23d; --t4: #f4e15c; --t5: #9be564; --t6: #3fd6c6; --t7: #4aa3ff; --t8: #7b8cff;
  --ramp: linear-gradient(90deg, var(--t1), var(--t2), var(--t3), var(--t4), var(--t5), var(--t6), var(--t7), var(--t8));
  --f: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --fs-hero: clamp(42px, min(6.4vw, 11vh), 116px);
  --fs-h2: clamp(34px, 4.2vw, 68px);
  --fs-h3: clamp(21px, 1.7vw, 27px);
  --max: 1440px;
  --gut: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
  --nav-h: 99px;
  --dbl: 0 0 0 8px rgba(14,17,28,.6), 0 0 0 9px rgba(255,255,255,.08);
}
@media (max-width: 960px) { :root { --nav-h: 79px; } }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 16px/1.55 var(--f); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--t7); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 300; }
p { margin: 0; }
.lbl { font: 500 11px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.num { font-variant-numeric: tabular-nums; }
.in { max-width: calc(var(--max) + 64px); margin: 0 auto; padding-left: max(32px, var(--gut)); padding-right: max(32px, var(--gut-r)); }
@media (max-width: 700px) { .in { padding-left: var(--gut); padding-right: var(--gut-r); } }
.band { padding-block: clamp(64px, 7vw, 112px); position: relative; }
.head { display: grid; gap: 18px; max-width: 900px; margin-bottom: clamp(36px, 4vw, 64px); }
.head h2 { font-size: var(--fs-h2); line-height: 1; letter-spacing: -.035em; }
.head p.lead { color: var(--mute); font-size: clamp(16px, 1.25vw, 19px); max-width: 62ch; }
.glass { background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.015)), var(--glass); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); border: 1px solid var(--edge); box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 24px 70px rgba(0,0,0,.45); }
.btn { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--edge-hi); background: rgba(255,255,255,.06); border-radius: 999px; padding: 12px 20px; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s; }
.btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.btn-p { background: var(--ink); color: var(--night); border-color: var(--ink); }
.btn-p:hover { background: #fff; }
.btn svg { width: 16px; height: 16px; }
.chip { border: 1px solid var(--edge); background: rgba(255,255,255,.04); border-radius: 999px; padding: 8px 14px; font-size: 14px; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; color: var(--ink); }
.chip:hover { background: rgba(255,255,255,.1); border-color: var(--edge-hi); }
.chip.on { background: var(--ink); color: var(--night); border-color: var(--ink); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; display: inline-block; box-shadow: 0 0 10px currentColor; background: currentColor; }
.solidglass { background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0)), rgba(6, 10, 19, .97); }
.rampline { height: 1px; background: var(--ramp); opacity: .8; }

/* nav: a lattice bar (schadt.com v3): each cell lit from its top edge in a spectrum color, lamps at both ends, a lit double rim along the bottom */
.nav { --bh: 92px; position: fixed; z-index: 50; top: 0; left: 0; right: 0; padding-top: env(safe-area-inset-top, 0px);
  background: linear-gradient(180deg, rgba(18,21,32,.84), rgba(8,10,16,.92)); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); transition: background .3s linear; }
.nav.solid { background: linear-gradient(180deg, rgba(14,16,24,.95), rgba(6,8,13,.97)); }
.nav::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 124px);
  -webkit-mask: linear-gradient(90deg, #000, rgba(0,0,0,.2) 28%, rgba(0,0,0,.2) 72%, #000); mask: linear-gradient(90deg, #000, rgba(0,0,0,.2) 28%, rgba(0,0,0,.2) 72%, #000); }
.nav::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 7px; pointer-events: none;
  background: linear-gradient(90deg, #ff3d5a, #ffb23d 18%, rgba(255,255,255,.5) 34%, rgba(255,255,255,.18) 50%, rgba(255,255,255,.5) 66%, #3fd6c6 82%, #7b8cff) top / 100% 1px no-repeat,
    linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.1)) bottom / 100% 1px no-repeat, rgba(8,9,14,.82); }
.nav .lamps { position: absolute; inset: 0; overflow: hidden; pointer-events: none; mix-blend-mode: screen; opacity: .75;
  background: url(/media/light/haze-orange.webp) left -200px top -130px / 760px 300px no-repeat, url(/media/light/haze-blue.webp) right -200px top -130px / 760px 300px no-repeat; }
.bar-in { position: relative; display: flex; align-items: stretch; height: var(--bh); margin: 0 auto; border-inline: 1px solid rgba(255,255,255,.1); background: rgba(6,8,13,.35); }
.cell { --nc: var(--t7); position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 8px; padding-inline: 18px;
  font: 500 16px/1 var(--f); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; color: rgba(240,242,248,.86);
  border: 0; border-left: 1px solid rgba(255,255,255,.09); background: transparent; cursor: pointer; transition: color .2s linear, background .2s linear; }
.cell::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .16; transition: opacity .2s linear;
  background: linear-gradient(180deg, color-mix(in srgb, var(--nc) 62%, transparent) 0%, color-mix(in srgb, var(--nc) 24%, transparent) 46%, transparent 100%); }
.cell::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none; opacity: .35; transition: opacity .2s linear;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--nc) 70%, #fff) 20%, color-mix(in srgb, var(--nc) 70%, #fff) 80%, transparent); }
.cell:hover, .cell[aria-expanded="true"] { color: #fff; background: linear-gradient(180deg, color-mix(in srgb, var(--nc) 22%, transparent), rgba(255,255,255,.02)); }
.cell:hover::before, .cell[aria-expanded="true"]::before { opacity: 1; }
.cell:hover::after, .cell[aria-expanded="true"]::after { opacity: 1; }
.cell:active { background: rgba(0,0,0,.35); box-shadow: inset 0 4px 14px rgba(0,0,0,.7); }
.cell.home { --nc: var(--t8); flex: none; border-left: 0; padding-inline: 28px; font-size: 22px; letter-spacing: -.03em; color: var(--ink); }
.cell.home b, .mark b { font-weight: 500; background: var(--ramp); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cells { display: flex; flex: 1; }
.cells .cell { flex: 1 1 auto; }
.cell.cta { --nc: var(--t2); flex: none; padding-inline: 34px; font-weight: 600; color: #fff; background: linear-gradient(180deg, rgba(255,122,61,.42), rgba(255,61,90,.14)); box-shadow: inset 0 0 0 1px rgba(255,170,120,.3); }
.cell.cta::before { opacity: .7; } .cell.cta::after { opacity: 1; }
.cell.cta:hover { background: linear-gradient(180deg, rgba(255,140,80,.62), rgba(255,61,90,.22)); }
.cell.menu { display: none; flex: 1; }
.burger { display: grid; gap: 5px; } .burger::before, .burger::after { content: ""; display: block; width: 18px; height: 2px; border-radius: 1px; background: currentColor; }
.cell .caret { width: 10px; height: 10px; transition: transform .2s; }
.cell[aria-expanded="true"] .caret { transform: rotate(180deg); }
.mark { font: 500 23px/1 var(--f); letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.mega { position: absolute; left: 0; right: 0; top: calc(100% + 7px); padding-block: 22px 24px; background: linear-gradient(180deg, rgba(12,14,22,.97), rgba(6,8,12,.98));
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); border-bottom: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 80px -20px rgba(0,0,0,.95); }
.mega-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.mcell { position: relative; border-radius: 18px; padding: 16px 16px 14px; --dbl: 0 0 0 1px rgba(255,255,255,.04); --lo: .18; }
.mcell .lbl { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.mcell ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mcell button { background: none; border: 0; padding: 5px 0; font-size: 18.5px; font-weight: 350; letter-spacing: -.01em; cursor: pointer; text-align: left; color: rgba(238,241,248,.88); }
.mcell button:hover { color: #fff; }
.mega-foot { margin-top: 18px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; color: var(--mute); font-size: 14px; }
.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(3,6,12,.95); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); overflow-y: auto; padding: calc(env(safe-area-inset-top, 0px) + 18px) var(--gut-r) 40px var(--gut); }
.sheet-top { display: flex; justify-content: space-between; align-items: center; height: 48px; margin-bottom: 18px; }
.sheet h3 { margin: 26px 0 8px; }
.sheet .big { display: block; font-size: 34px; font-weight: 300; letter-spacing: -.03em; text-decoration: none; padding: 6px 0; border: 0; background: none; text-align: left; cursor: pointer; }
.sheet .chips { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 1180px) { .cells .cell.opt { display: none; } }
@media (max-width: 960px) { .nav { --bh: 72px; } .cells { display: none; } .cell.menu { display: flex; } .cell.home { font-size: 19px; padding-inline: 18px; } .cell.cta { padding-inline: 20px; font-size: 14.5px; } .mega { display: none !important; } .bar-in { border-inline: 0; } }
@media (max-width: 520px) { .cell.cta { display: none; } .cell.home { flex: 1; justify-content: flex-start; font-size: 18px; } .cell.menu { flex: none; padding-inline: 24px; } }

/* hero: one lit frame; the hero film (docs/film-v1, architecture/FILM.md) beside or above a lit panel with the headline,
   the film's chapters (each one seeks the film) and links. The film carries its own type; nothing sits over it. */
.hero { position: relative; padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 16px); padding-bottom: 22px; background: var(--night); isolation: isolate; }
/* v21 (Steve 2026-10-21: "wasting all the screen real estate"): nav and hero run edge to edge like the map, same 20 px side margin */
.hero > .in { max-width: none; padding-left: max(20px, var(--gut)); padding-right: max(20px, var(--gut-r)); }
.hfilm { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.hfv { width: min(100%, calc((100svh - var(--nav-h) - 64px) * 16 / 9)); aspect-ratio: 16 / 9; justify-self: center; }
.hfv video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.hfv video.on { opacity: 1; }
.hside { position: relative; border-radius: 20px; padding: 22px 24px; display: grid; gap: 16px; align-content: start; --dbl: 0 0 0 1px rgba(255,255,255,.04); }
.hside h1 { font-size: clamp(28px, 2.3vw, 46px); line-height: 1.02; letter-spacing: -.035em; font-weight: 300; margin: 0; }
.hside .lead { font-size: clamp(15px, 1.05vw, 17px); color: rgba(238,241,248,.8); font-weight: 350; margin: 0; }
.hch { list-style: none; margin: 0; padding: 0; display: grid; }
.hch button { width: 100%; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 4px 6px; align-items: baseline; padding: 9px 0 8px; border: 0; border-top: 1px solid var(--edge); background: none; color: var(--mute); text-align: left; cursor: pointer; font: 400 16px/1.2 var(--f); }
.hch button b { font: 500 11px/1 var(--f-mono); letter-spacing: .08em; color: var(--faint); }
.hch button:hover, .hch button.on { color: #fff; }
.hch button.on b { color: #fff; }
.hch button i { grid-column: 1 / -1; height: 2px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.hch button i::after { content: ""; display: block; height: 100%; background: var(--ramp); transform: scaleX(var(--p, 0)); transform-origin: left; }
.hside .hgo { justify-content: flex-start; }
.hfctl { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: var(--mute); cursor: pointer; font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.hfctl:hover { color: #fff; }
/* wide screens: the film fills the height, the panel stands beside it */
@media (min-width: 1200px) and (min-aspect-ratio: 5/3) {
  .hfilm { grid-template-columns: minmax(0, 1fr) clamp(300px, 21vw, 400px); }
  .hfv { width: 100%; justify-self: stretch; }
  .hside .hgo { display: grid; gap: 8px; }
  .hside .hgo .btn { justify-content: space-between; }
}
@media (min-width: 1200px) and (min-aspect-ratio: 5/3) and (max-height: 880px) { .hside .lead { display: none; } .hside { gap: 10px; padding: 16px 18px; } .hch button { padding: 6px 0 5px; font-size: 15px; } .hside .hgo { gap: 6px; } .hside .hgo .btn { min-height: 38px; padding-block: 8px; } }
/* stacked: the panel runs under the film in two columns */
@media (max-width: 1199px), (max-aspect-ratio: 5/3) {
  .hside { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; gap: 14px 28px; }
  .hside > .lbl, .hside > h1, .hside > .lead { grid-column: 1; }
  .hside > .hch, .hside > .hgo, .hside > .hfctl { grid-column: 2; }
  .hside > .hch { grid-row: 1 / span 3; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 18px; }
}
@media (max-width: 760px) {
  .hfv { aspect-ratio: 9 / 16; width: min(100%, calc((100svh - var(--nav-h) - 40px) * 9 / 16)); }
  .hside { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .hside > * { grid-column: 1 !important; grid-row: auto !important; }
  .hside > .hch { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.field { display: grid; gap: 2px; padding: 9px 16px 8px; border-radius: 13px; background: rgba(255,255,255,.04); border: 1px solid transparent; position: relative; }
.field:focus-within { border-color: var(--edge-hi); background: rgba(255,255,255,.07); }
.field label, .flabel { font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.field input { background: transparent; border: 0; outline: 0; font-size: 17px; font-weight: 400; padding: 2px 0; width: 100%; appearance: none; -webkit-appearance: none; }
.field input::placeholder { color: var(--faint); }
.field .chev { position: absolute; right: 16px; bottom: 15px; width: 12px; height: 12px; color: var(--mute); pointer-events: none; }

/* map band */
.mapband { position: relative; height: max(720px, calc(100svh - var(--nav-h))); background: var(--night); border-top: 1px solid var(--edge); }
#mapc { position: absolute; inset: 0; isolation: isolate; } /* numbered chips stay under the console, tools and panel */
.maplibregl-map { overflow: hidden; position: relative; -webkit-tap-highlight-color: transparent; font: inherit; }
.maplibregl-canvas-container, .maplibregl-canvas { position: absolute; left: 0; top: 0; }
.maplibregl-canvas:focus { outline: none; }
.maplibregl-canvas-container.maplibregl-interactive { cursor: grab; }
.maplibregl-canvas-container.maplibregl-interactive:active { cursor: grabbing; }
.maplibregl-canvas-container.maplibregl-touch-drag-pan, .maplibregl-canvas-container.maplibregl-touch-zoom-rotate { touch-action: pan-y; }
.maplibregl-marker { position: absolute; top: 0; left: 0; will-change: transform; }
.maplibregl-cooperative-gesture-screen { align-items: center; background: rgba(3,6,12,.5); color: #fff; display: flex; font-size: 20px; inset: 0; justify-content: center; line-height: 1.2; opacity: 0; padding: 1rem; pointer-events: none; position: absolute; transition: opacity 1s ease 1s; z-index: 99; text-align: center; }
.maplibregl-cooperative-gesture-screen.maplibregl-show { opacity: 1; transition: opacity .05s; }
.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message { display: none; }
@media (hover: none), (max-width: 480px) { .maplibregl-cooperative-gesture-screen .maplibregl-desktop-message { display: none; } .maplibregl-cooperative-gesture-screen .maplibregl-mobile-message { display: block; } }
.panel { position: absolute; z-index: 3; right: max(20px, var(--gut-r)); top: 16px; bottom: 16px; width: 340px; border-radius: 20px; display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; }
.panel-head { padding: 18px 20px 14px; border-bottom: 1px solid var(--edge); display: grid; gap: 4px; }
.panel-head h3 { font-size: 19px; font-weight: 450; letter-spacing: -.01em; }
.panel-body { overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
.rows { list-style: none; margin: 0; padding: 6px 8px 10px; }
.rows li button { display: grid; grid-template-columns: 22px 10px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; text-align: left; background: none; border: 0; border-radius: 12px; padding: 10px 10px; cursor: pointer; }
.rows li button:hover { background: rgba(255,255,255,.06); }
.rows .k { font: 500 12px/1 var(--f-mono); color: var(--faint); }
.rows .nm { min-width: 0; }
.rows .nm b { display: block; font-weight: 450; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows .nm small { display: block; color: var(--mute); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows .rv { text-align: right; font: 500 13px/1.2 var(--f-mono); }
.rows .rv small { display: block; color: var(--mute); font-size: 11.5px; }
.empty { padding: 22px 20px; color: var(--mute); font-size: 14px; }
.pcard { padding: 18px 20px 6px; display: grid; gap: 14px; }
.pcard h4 { margin: 0; font-size: 24px; font-weight: 400; letter-spacing: -.02em; line-height: 1.12; }
.ptype { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--mute); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--edge); border: 1px solid var(--edge); border-radius: 14px; overflow: hidden; }
.stats div { background: rgba(8,12,22,.7); padding: 10px 12px; display: grid; gap: 2px; }
.stats b { font: 400 20px/1.2 var(--f); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pacts { display: flex; gap: 8px; flex-wrap: wrap; padding: 4px 20px 20px; }
.pacts .btn { padding: 9px 15px; font-size: 13.5px; }
.rk { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 600 11.5px/1 var(--f-mono); font-style: normal; color: #fff; background: rgba(8,12,22,.88); border: 1.5px solid var(--c); box-shadow: 0 0 12px var(--c); pointer-events: none; }
.tip { position: absolute; z-index: 5; pointer-events: none; transform: translate(14px, -50%); background: rgba(8,12,22,.92); border: 1px solid var(--edge-hi); border-radius: 10px; padding: 7px 10px; font-size: 13.5px; white-space: nowrap; display: grid; gap: 1px; }
.tip small { color: var(--mute); font-size: 12px; }
.attrib { position: absolute; z-index: 2; left: max(24px, var(--gut)); bottom: 8px; font-size: 11px; color: var(--faint); }
.mk { pointer-events: none; transform: translateY(-14px); }
.mk div { background: rgba(8,12,22,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--edge-hi); border-radius: 12px; padding: 7px 12px; font-size: 13.5px; white-space: nowrap; display: grid; gap: 1px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.mk small { color: var(--mute); font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.maploading { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; }

/* compare */
.compare { background: linear-gradient(180deg, var(--night), var(--deep)); }
.cmp-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.cmp-wrap { overflow-x: auto; border-radius: 24px; background: linear-gradient(180deg, rgba(13,16,26,.94), rgba(6,8,13,.97)); }
.cmp { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 15px; }
.cmp th { text-align: left; font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); padding: 18px 18px 14px; border-bottom: 1px solid var(--edge); white-space: nowrap; }
.cmp td { padding: 16px 18px; border-bottom: 1px solid rgba(190,205,255,.07); vertical-align: middle; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp tr.me td { background: rgba(255,255,255,.05); }
.cmp td.nm b { font-weight: 450; font-size: 16px; display: block; }
.cmp td.nm small { color: var(--mute); font-size: 13px; }
.cmp .tag { font: 500 10px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--edge-hi); border-radius: 999px; padding: 4px 7px; margin-left: 8px; color: var(--ink); vertical-align: 2px; }
.cmp .ty { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: rgba(238,241,248,.86); }
.cmp .rbar { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px; min-width: 190px; }
.cmp .rbar i { display: block; height: 6px; border-radius: 6px; background: currentColor; box-shadow: 0 0 12px currentColor; }
.cmp td.r { font-family: var(--f-mono); font-size: 14px; white-space: nowrap; }
.yes { color: var(--t5); } .no { color: var(--faint); }

/* procedures: a framed bento; each card = a clean film tile and a panel of checkboxes that filter the map */
.pbento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pcard { position: relative; border-radius: 22px; padding: 10px; display: grid; gap: 4px; align-content: start; }
.pv { aspect-ratio: 16 / 9; border-radius: 15px; }
.pbody { padding: 14px 10px 6px; display: grid; gap: 8px; }
.pbody h3 { display: flex; align-items: center; gap: 10px; font-size: clamp(22px, 1.9vw, 28px); font-weight: 400; letter-spacing: -.025em; }
.cks { display: grid; gap: 1px; }
.ck { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 8px; margin: 0 -8px; border-radius: 10px; cursor: pointer; font-size: 15px; color: rgba(238,241,248,.86); }
.ck:hover { background: rgba(255,255,255,.05); color: #fff; }
.ck input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ck .box { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid rgba(255,255,255,.3); background: rgba(255,255,255,.03); display: grid; place-items: center; transition: background .15s, border-color .15s; }
.ck input:checked + .box { background: var(--ink); border-color: var(--ink); box-shadow: 0 0 12px rgba(255,255,255,.25); }
.ck input:checked + .box::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--night); border-bottom: 2px solid var(--night); transform: translateY(-1px) rotate(-45deg); }
.ck input:focus-visible + .box { outline: 2px solid var(--t7); outline-offset: 2px; }
.ck input:checked ~ .ckn { color: #fff; }
.ckc { font: 500 11.5px/1 var(--f-mono); font-style: normal; color: var(--faint); }
.mapbar { position: relative; margin-top: 18px; border-radius: 18px; padding: 12px 14px 12px 22px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; --dbl: 0 0 0 1px rgba(255,255,255,.04); }
.mapbar > span:first-child { font-size: 16px; font-weight: 450; }
.mb-ct { font: 500 12px/1 var(--f-mono); color: var(--mute); letter-spacing: .06em; margin-right: auto; }
.mapbar .btn { padding: 10px 16px; font-size: 14px; }
.mapbar .btn.on { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.42); }
@media (max-width: 1000px) { .pbento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pbento { grid-template-columns: 1fr; } .mapbar .mb-ct { width: 100%; order: 2; } }

/* provider types: eight lit cards, each lit in its map color */
.types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.tcard { position: relative; border-radius: 22px; padding: 24px 24px 22px; display: grid; gap: 10px; align-content: start; grid-template-rows: auto auto 1fr auto auto; min-height: 250px; width: 100%; text-align: left; color: var(--ink); font: inherit; cursor: pointer; transition: opacity .2s, filter .2s; }
.tcard .tc-top { display: flex; justify-content: space-between; align-items: center; }
.tcard .tc-h { display: block; font-size: 21px; font-weight: 450; letter-spacing: -.015em; line-height: 1.15; }
.tcard .tc-p { display: block; color: var(--mute); font-size: 14.5px; }
.tcard .tc-n { font-size: 14px; color: var(--mute); } .tcard .tc-n b { color: var(--ink); font-weight: 450; font-size: 20px; margin-right: 4px; }
.tcard .sw { width: 34px; height: 4px; border-radius: 4px; background: currentColor; box-shadow: 0 0 16px currentColor; }
.tcard h3 { font-size: 21px; font-weight: 450; letter-spacing: -.015em; line-height: 1.15; }
.tcard p { color: var(--mute); font-size: 14.5px; }
.tcard .src { display: block; font: 500 10.5px/1.45 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
@media (max-width: 1100px) { .types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .types { grid-template-columns: 1fr; } .tcard { min-height: 0; } }

/* cities: lit cards, a rim-lit photo tile on top, the top three below */
.cities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.city { position: relative; border-radius: 24px; padding: 10px; display: grid; gap: 4px; align-content: start; }
.cph { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; padding: 0; border-radius: 16px; }
.cph img { filter: brightness(.86) saturate(.95); transition: transform 1s ease; }
.cph:hover img { transform: scale(1.03); }
.chead { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 8px 2px; }
.chead .cn { font-size: clamp(24px, 2.1vw, 32px); font-weight: 400; letter-spacing: -.03em; line-height: 1; }
.city ol { list-style: none; margin: 0; padding: 6px 8px 4px; display: grid; }
.city li { display: grid; grid-template-columns: 22px 10px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 2px; border-bottom: 1px solid rgba(190,205,255,.08); }
.city li:last-child { border-bottom: 0; }
.city li .k { font: 500 12px/1 var(--f-mono); color: var(--faint); }
.city li b { font-weight: 450; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.city li .rv { font: 500 13px/1 var(--f-mono); color: var(--mute); white-space: nowrap; }
@media (max-width: 1000px) { .cities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cities { grid-template-columns: 1fr; } }

/* industry: four cards, a header row with a divider, lists with dividers, sub-columns split by rules */
.industry { background: var(--deep); }
.ind { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.icard { position: relative; border-radius: 22px; display: grid; grid-template-rows: auto 1fr; align-content: start; }
.ihead { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 22px 26px 16px; border-bottom: 1px solid var(--edge); }
.ihead h3 { font-size: 22px; font-weight: 400; letter-spacing: -.02em; }
.ihead .lbl { color: var(--faint); white-space: nowrap; }
.ibody { padding: 12px 26px 20px; }
.icols { display: grid; }
.icols.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.icols.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.icols > div { padding: 16px 22px 20px; border-left: 1px solid var(--edge); }
.icols > div:first-child { border-left: 0; padding-left: 26px; }
.icols .lbl { display: block; margin-bottom: 6px; color: var(--faint); }
.ilist { list-style: none; margin: 0; padding: 0; display: grid; }
.ilist li { display: grid; gap: 3px; padding: 10px 0; border-bottom: 1px solid rgba(190,205,255,.07); }
.ilist li:last-child { border-bottom: 0; }
.ilist b { font-weight: 450; font-size: 15px; }
.ilist small { font: 500 10.5px/1.35 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.ilist.two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.ilist.two li:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid rgba(190,205,255,.07); }
.brank { list-style: none; margin: 0; padding: 0; counter-reset: b; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
.brank li { counter-increment: b; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: baseline; padding: 10px 0; border-bottom: 1px solid rgba(190,205,255,.07); font-size: 15px; }
.brank li::before { content: counter(b); font: 500 11px/1 var(--f-mono); color: var(--faint); }
@media (max-width: 1100px) { .ind { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .icols.c3, .icols.c2 { grid-template-columns: 1fr; } .icols > div { border-left: 0; border-top: 1px solid var(--edge); padding-left: 26px; } .icols > div:first-child { border-top: 0; } .brank { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .ilist.two, .brank { grid-template-columns: 1fr; } }

/* practices: the pitch on a lit panel, beside downtown St. Petersburg in 3D with a line to every provider within 10 miles */
.prac { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; }
.ptext { position: relative; border-radius: 22px; padding: clamp(26px, 3vw, 44px); display: grid; gap: 20px; align-content: center; }
.ptext h2 { font-size: var(--fs-h2); letter-spacing: -.035em; line-height: 1; }
.plead { color: var(--mute); font-size: 18px; max-width: 40ch; }
.pfeat { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--edge); }
.pfeat li { display: grid; gap: 3px; padding: 13px 0; border-bottom: 1px solid var(--edge); }
.pfeat b { font-weight: 450; font-size: 16px; }
.pfeat small { color: var(--faint); font: 500 10.5px/1.35 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.pcity { min-height: 560px; border-radius: 22px; background: #03060c; }
.cmap, .cmap.maplibregl-map { position: absolute; inset: 0; }
.pctag { position: absolute; left: 16px; bottom: 16px; z-index: 5; }
.pctag b { font-weight: 600; }
@media (max-width: 900px) { .prac { grid-template-columns: 1fr; } .pcity { min-height: 420px; } }

/* footer: a framed bento; the brand and publisher across the top, then procedures, markets, types, data and method */
.foot { position: relative; isolation: isolate; padding-block: clamp(64px, 7vw, 104px) 40px; background: var(--night); }
.fbento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fcard { position: relative; border-radius: 22px; padding: 28px 28px 26px; --dbl: 0 0 0 1px rgba(255,255,255,.035); min-width: 0; }
.fcard h4 { margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--edge); font: 500 11px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.fbrand { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 0; padding: 0; }
.fb-l { padding: 32px 36px; display: grid; gap: 16px; align-content: start; }
.fb-r { padding: 32px 36px; display: grid; gap: 14px; align-content: start; border-left: 1px solid var(--edge); }
.fmark { font-size: clamp(28px, 2.6vw, 38px); }
.fline { color: var(--mute); max-width: 46ch; font-size: 16px; }
.fnav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; }
.fnav a { color: rgba(238,241,248,.86); text-decoration: none; font-size: 15px; }
.fnav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.fmaa { display: block; width: min(220px, 70%); }
.fmaa img { width: 100%; height: auto; filter: drop-shadow(0 0 18px rgba(130,170,255,.35)) drop-shadow(0 0 2px rgba(255,255,255,.4)); }
.fb-r p { color: var(--mute); font-size: 14.5px; line-height: 1.65; }
.fproc { grid-column: span 2; }
.fgroups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 22px; }
.fgroups .lbl { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; color: var(--faint); }
.fgroups ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fcard button { background: none; border: 0; padding: 2px 0; cursor: pointer; text-align: left; font-size: 14.5px; color: rgba(238,241,248,.86); }
.fcard button:hover { color: #fff; }
.fmk { list-style: none; margin: 0; padding: 0; display: grid; }
.fmk li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid rgba(190,205,255,.07); }
.fmk li:last-child { border-bottom: 0; }
.fmk em { font: 500 12px/1 var(--f-mono); font-style: normal; color: var(--faint); }
.ftypes { list-style: none; margin: 0; padding: 0; display: grid; }
.ftypes li { padding: 4px 0; }
.ftypes button { display: flex; align-items: center; gap: 10px; }
.fdata { grid-column: 1 / -1; }
.fcols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.fcols > div { padding: 0 28px; border-left: 1px solid var(--edge); }
.fcols > div:first-child { padding-left: 0; border-left: 0; }
.fcols .lbl { display: block; margin-bottom: 6px; color: var(--faint); }
.fsrc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
.fsrc-list li { display: grid; gap: 3px; padding: 10px 0; border-bottom: 1px solid rgba(190,205,255,.07); }
.fsrc-list b { font-weight: 450; font-size: 14.5px; }
.fsrc-list small { color: var(--faint); font: 500 10.5px/1.35 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.foot-base { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--edge); display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; font-size: 13px; color: var(--faint); }
@media (max-width: 1100px) { .fbento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fproc { grid-column: 1 / -1; } .fsrc-list { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .fbrand { grid-template-columns: 1fr; } .fb-r { border-left: 0; border-top: 1px solid var(--edge); } .fcols { grid-template-columns: 1fr; } .fcols > div { padding: 0; border-left: 0; } .fcols > div + div { margin-top: 18px; } .fgroups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fbento { grid-template-columns: 1fr; } .fb-l, .fb-r { padding: 26px 24px; } }


/* ---------- light (schadt.com v3 recipe, spectrum colors): lit glass, framed bentos, rim-lit tiles, glass menus ---------- */
.L1 { --lx: 22%; --la: 22deg; --lw: 190%; --lh: 140%; --lm: url(/media/light/beam-wide.webp); --lc: var(--t1); --lo: .14; --gx: -14px; }
.L2 { --lx: 80%; --la: -26deg; --lw: 220%; --lh: 150%; --lm: url(/media/light/beam-soft.webp); --lc: var(--t7); --lo: .14; --gx: 14px; }
.L3 { --lx: 62%; --la: -34deg; --lw: 170%; --lh: 150%; --lm: url(/media/light/beam.webp); --lc: var(--t3); --lo: .14; --gx: 10px; }
.L4 { --lx: 50%; --la: 0deg; --lw: 240%; --lh: 130%; --lm: url(/media/light/beam-soft.webp); --lc: var(--t6); --lo: .12; --gx: 0px; }
.L5 { --lx: 16%; --la: 40deg; --lw: 210%; --lh: 170%; --lm: url(/media/light/beam-wide.webp); --lc: var(--t8); --lo: .14; --gx: -16px; }
.L6 { --lx: 40%; --la: 14deg; --lw: 180%; --lh: 140%; --lm: url(/media/light/beam.webp); --lc: var(--t2); --lo: .14; --gx: -6px; }
/* lit glass: dark surface, a hot spot on the top edge, a beam falling from it, a rim brightest there, colored glow spilling out, a second edge outside */
.lit { isolation: isolate; overflow: hidden; border: 1px solid rgba(255,255,255,.06);
  background: radial-gradient(140% 90% at var(--lx, 50%) -22%, color-mix(in srgb, var(--lc, var(--t7)) 26%, transparent) 0%, color-mix(in srgb, var(--lc, var(--t7)) 8%, transparent) 46%, transparent 76%),
    linear-gradient(180deg, rgba(15,18,30,.93), rgba(6,7,12,.97));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), var(--dbl), 0 -20px 90px -36px color-mix(in srgb, var(--lc, var(--t7)) 50%, transparent), 0 50px 90px -40px rgba(0,0,0,.9);
  -webkit-backdrop-filter: blur(16px) saturate(1.25); backdrop-filter: blur(16px) saturate(1.25); }
.lit::before { content: ""; position: absolute; left: var(--lx, 50%); top: -70%; width: 200%; height: 130%; z-index: -1; pointer-events: none; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--lc, var(--t7)) 30%, transparent), transparent); mix-blend-mode: screen; opacity: .6; }
.lit::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit; padding: 1.5px;
  background: radial-gradient(120% 130% at var(--lx, 50%) 0, rgba(255,255,255,.4) 0, color-mix(in srgb, var(--lc, var(--t7)) 55%, transparent) 24%, color-mix(in srgb, var(--lc, var(--t7)) 14%, transparent) 56%, rgba(255,255,255,.05) 82%); }
.lit::after, .gframe::before, .tile::before { -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
/* frame: the outer band a bento sits in, lit at both top corners */
.gframe { --rl: var(--t1); --rr: var(--t7); position: relative; isolation: isolate; padding: 12px; border-radius: 34px;
  background: linear-gradient(180deg, rgba(40,44,60,.42), rgba(14,16,24,.5)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), -18px -16px 60px -34px color-mix(in srgb, var(--rl) 55%, transparent), 18px -16px 60px -34px color-mix(in srgb, var(--rr) 55%, transparent), 0 60px 120px -60px rgba(0,0,0,.9); }
.gframe::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 6;
  background: radial-gradient(40% 60% at 0% 0%, #fff 0, color-mix(in srgb, var(--rl) 80%, #fff) 6%, color-mix(in srgb, var(--rl) 50%, transparent) 18%, transparent 50%),
    radial-gradient(40% 60% at 100% 0%, #fff 0, color-mix(in srgb, var(--rr) 80%, #fff) 6%, color-mix(in srgb, var(--rr) 50%, transparent) 18%, transparent 50%), rgba(255,255,255,.08); }
@media (max-width: 620px) { .gframe { padding: 8px; border-radius: 26px; } }
/* media tile: rim light, a wash of its color from the top, a line of light on the top edge */
.tile { --c: var(--t7); position: relative; border-radius: 22px; overflow: hidden; background: #05070d; isolation: isolate; max-width: 100%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 60px -30px rgba(0,0,0,.85); }
.tile > video, .tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit; padding: 1px;
  background: radial-gradient(100% 70% at 25% 0%, rgba(255,255,255,.55), color-mix(in srgb, var(--c) 45%, transparent) 14%, rgba(255,255,255,.06) 48%); }

.tile .lt { position: absolute; left: 12%; right: 38%; top: 0; height: 1px; z-index: 3; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--c) 90%, #fff), transparent); box-shadow: 0 0 14px 1px color-mix(in srgb, var(--c) 70%, transparent); }
.ttag { display: inline-flex; align-items: center; gap: 8px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; font-style: normal; color: #fff; white-space: nowrap;
  padding: 8px 10px; border-radius: 10px; background: rgba(9,12,22,.5); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
/* haze behind a section: amber from the left, blue from the right */
.band { isolation: isolate; }
.haze { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .4; mix-blend-mode: screen;
  background: url(/media/light/haze-orange.webp) left -460px top 40px / 1000px 580px no-repeat, url(/media/light/haze-blue.webp) right -460px top 40px / 1000px 580px no-repeat; }
/* glass menus (the browser's select lists cannot be styled) */
.gs-btn { background: transparent; border: 0; font-size: 18px; padding: 2px 26px 2px 0; width: 100%; text-align: left; cursor: pointer; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-btn:focus-visible { outline: none; }
.gs-btn[aria-expanded="true"] ~ .chev { transform: rotate(180deg); }
.field .chev { transition: transform .2s; }
.gs-pop { position: fixed; z-index: 80; border-radius: 20px; padding: 10px; max-height: min(70vh, 560px); overflow-y: auto; display: grid; gap: 8px; align-content: start;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
/* menus: calm light, no colored spill outside, one thin edge */
.gs-pop.lit { --dbl: 0 0 0 1px rgba(255,255,255,.05); --lo: .07;
  background: radial-gradient(24% 3% at var(--lx, 50%) 0, rgba(255,255,255,.14), transparent), linear-gradient(180deg, rgba(15,18,30,.97), rgba(7,9,15,.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), var(--dbl), 0 34px 80px -24px rgba(0,0,0,.95); }
.gs-pop [role="option"] { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; background: none; border: 0; border-radius: 10px; padding: 9px 12px; font-size: 15.5px; color: rgba(238,241,248,.86); cursor: pointer; }
.gs-pop [role="option"]:hover, .gs-pop [role="option"]:focus-visible { background: rgba(255,255,255,.08); color: #fff; outline: none; }
.gs-pop [role="option"][aria-selected="true"] { background: rgba(255,255,255,.12); color: #fff; }
.gs-pop [role="option"][aria-selected="true"]::after { content: ""; width: 16px; height: 2px; border-radius: 2px; background: var(--ramp); flex: none; }
.gs-proc { width: min(820px, calc(100vw - 32px)); }
.gs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gs-col { border-radius: 14px; padding: 10px 6px 8px; background: linear-gradient(180deg, color-mix(in srgb, var(--gc) 10%, transparent), transparent 70%); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--gc) 55%, transparent); }
.gs-col .lbl { display: flex; align-items: center; gap: 8px; padding: 2px 12px 6px; }
.gs-all { font-weight: 500; }
.gs-area, .gs-city { width: 300px; }
.gs-q { width: 100%; background: rgba(255,255,255,.05); border: 1px solid var(--edge); border-radius: 12px; padding: 10px 12px; font-size: 15px; outline: none; color: var(--ink); }
.gs-q:focus { border-color: var(--edge-hi); }
.gs-list { display: grid; gap: 2px; }
.gs-empty { padding: 10px 12px; color: var(--mute); }
@media (max-width: 700px) { .gs-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .gs-grid { grid-template-columns: 1fr; } }

/* sections joined: a lit seam on every band's top edge; lit cards inside a frame drop their outer edge */
.mapband::before, .band::before, .foot::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; z-index: 4; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,61,90,.55) 16%, rgba(255,178,61,.5) 30%, rgba(255,255,255,.42) 50%, rgba(63,214,198,.5) 70%, rgba(123,140,255,.55) 84%, transparent);
  box-shadow: 0 0 22px 1px rgba(150,170,255,.22); }
.mapband { border-top: 0; }
.gframe .lit { --dbl: 0 0 0 1px rgba(255,255,255,.035); }
.gframe .types, .gframe .cities, .gframe .ind { gap: 12px; }
/* map: full-width control bar, market labels, market rows, provider type switches */
.cg { display: grid; gap: 8px; min-width: 0; align-content: center; }
.seg { display: flex; background: rgba(0,0,0,.3); border-radius: 999px; padding: 3px; border: 1px solid var(--edge); }
.seg button { border: 0; background: none; border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-weight: 500; cursor: pointer; color: var(--mute); white-space: nowrap; }
.seg button.on { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
.rng { --a: 0%; --b: 100%; }
.rng-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rng-val { font: 500 12px/1 var(--f-mono); color: var(--ink); white-space: nowrap; }
.rng-track { position: relative; height: 22px; }
.rng-track::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); }
.rng-fill { position: absolute; top: 9px; height: 4px; border-radius: 4px; left: var(--a); right: calc(100% - var(--b)); background: var(--ramp); box-shadow: 0 0 10px rgba(160,180,255,.35); }
.rng input { position: absolute; inset: 0; width: 100%; height: 22px; margin: 0; background: none; -webkit-appearance: none; appearance: none; pointer-events: none; }
.rng input::-webkit-slider-runnable-track { background: none; height: 22px; }
.rng input::-moz-range-track { background: none; }
.rng input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: #fff; border: 0; cursor: pointer; box-shadow: 0 0 0 4px rgba(255,255,255,.12), 0 2px 8px rgba(0,0,0,.6); }
.rng input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 0; cursor: pointer; box-shadow: 0 0 0 4px rgba(255,255,255,.12), 0 2px 8px rgba(0,0,0,.6); }
.rng input:focus-visible { outline: none; }
.rng input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--t7); }
.mlab { display: inline-flex; align-items: baseline; gap: 7px; padding: 5px 9px; border-radius: 9px; background: rgba(8,12,22,.74); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ink); font: 500 12.5px/1 var(--f); white-space: nowrap; cursor: pointer; }
.mlab small { font: 500 11px/1 var(--f-mono); color: var(--mute); }
.mlab:hover { border-color: rgba(255,255,255,.42); color: #fff; }
.mbar { display: block; height: 3px; border-radius: 3px; background: currentColor; margin-top: 7px; box-shadow: 0 0 8px currentColor; opacity: .9; }
.mstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--edge); border: 1px solid var(--edge); border-radius: 14px; overflow: hidden; margin: 12px 14px 4px; }
.mstats div { background: rgba(8,12,22,.7); padding: 10px 12px; display: grid; gap: 3px; }
.mstats b { font: 400 20px/1.15 var(--f); font-variant-numeric: tabular-nums; }
.tsec { display: grid; gap: 8px; }
.tquick { display: flex; flex-wrap: wrap; gap: 4px; }
.tquick button { border: 1px solid var(--edge); background: rgba(255,255,255,.03); border-radius: 999px; padding: 5px 9px; font-size: 12px; cursor: pointer; color: var(--mute); }
.tquick button.on { background: rgba(255,255,255,.14); color: #fff; border-color: var(--edge-hi); }
.tgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.tt { display: flex; align-items: center; gap: 7px; border: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.02); border-radius: 9px; padding: 6px 8px; font-size: 12.5px; cursor: pointer; color: var(--faint); text-align: left; white-space: nowrap; }
.tt i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--c); flex: none; }
.tt.on { color: var(--ink); background: color-mix(in srgb, var(--c) 12%, rgba(255,255,255,.03)); border-color: color-mix(in srgb, var(--c) 40%, transparent); }
.tt.on i { background: var(--c); box-shadow: 0 0 8px var(--c); }
/* compare: the 10-mile count by provider type */
.cmp-top .lbl { margin-right: 4px; }
.cmp-radius { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 18px; min-height: 8px; }
.cmp-radius .radius { display: flex; align-items: baseline; gap: 10px; margin-right: 10px; }
.cmp-radius .radius b { font: 300 46px/1 var(--f); letter-spacing: -.03em; }
.cmp-radius .radius span { color: var(--mute); }
.rchip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--edge); border-radius: 999px; padding: 7px 12px; font-size: 13.5px; background: rgba(255,255,255,.03); }

/* compare on phones: each provider folds into a card, no sideways scroll */
@media (max-width: 760px) {
  .cmp { min-width: 0; }
  .cmp thead { display: none; }
  .cmp, .cmp tbody { display: block; width: 100%; }
  .cmp tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 16px; padding: 16px 18px; border-bottom: 1px solid var(--edge); }
  .cmp tr:last-child { border-bottom: 0; }
  .cmp td { display: block; padding: 0; border: 0; background: none !important; min-width: 0; }
  .cmp tr.me { background: rgba(255,255,255,.05); }
  .cmp td.nm, .cmp td.empty { grid-column: 1 / -1; }
  .cmp td[data-l]::before { content: attr(data-l); display: block; margin-bottom: 4px; font: 500 10px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
  .cmp .rbar { min-width: 0; grid-template-columns: auto minmax(0, 1fr); }
  .cmp .ty { white-space: normal; }
}

/* Miami loop: the focus card (top left of the tile) */
.hfocus { position: absolute; z-index: 6; left: 12px; top: 12px; width: max-content; max-width: min(80%, 330px); padding: 9px 13px 10px; border-radius: 13px; display: grid; gap: 3px; pointer-events: none;
  background: rgba(6,9,18,.74); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 18px 40px -18px rgba(0,0,0,.8);
  opacity: 0; transform: translateY(-4px); transition: opacity .35s ease, transform .35s ease; }
.hfocus.on { opacity: 1; transform: none; }
.hf-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hf-name b { font-weight: 500; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hf-meta { font: 500 10.5px/1.35 var(--f-mono); letter-spacing: .03em; color: var(--mute); }
.hf-sub { margin-top: 6px; font: 500 9.5px/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.hf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.hf-list li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 7px; align-items: baseline; font-size: 12.5px; }
.hf-k { font: 600 10px/1 var(--f-mono); color: #fff; }
.hf-n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hf-list em { font: 500 10px/1 var(--f-mono); font-style: normal; color: var(--mute); white-space: nowrap; }

.hf-scene { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 400; letter-spacing: -.01em; }
.hf-box { width: 16px; height: 16px; border-radius: 5px; background: var(--c); box-shadow: 0 0 12px var(--c); display: grid; place-items: center; flex: none; }
.hf-box::after { content: ""; width: 8px; height: 4px; border-left: 2px solid #03060c; border-bottom: 2px solid #03060c; transform: translateY(-1px) rotate(-45deg); }

.hf-c { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; background: rgba(8,12,22,.9); border: 1.5px solid var(--c); box-shadow: 0 0 8px var(--c); }
.hf-list li:has(.hf-c) { grid-template-columns: 16px minmax(0, 1fr) auto; }
.rk.rk-in { animation: rkIn .45s ease-out both; }
/* the main map's numbered top 10 are buttons: a tap selects that provider */
.rk-btn { pointer-events: auto; cursor: pointer; padding: 0; transition: background .15s, box-shadow .15s; }
.rk-btn:hover, .rk-btn:focus-visible { background: var(--c); color: #03060c; box-shadow: 0 0 18px var(--c); outline: none; }
@keyframes rkIn { from { opacity: 0; } }
.hmap, .hcmp { container-type: inline-size; }
@container (max-width: 400px) {
  .hfocus { left: 8px; top: 8px; max-width: calc(100% - 16px); padding: 7px 10px 8px; gap: 2px; }
  .hf-scene { font-size: 14px; }
  .hf-meta { font-size: 9.5px; }
  .hf-name b { font-size: 13px; }
  .hf-list li { font-size: 11.5px; }
  .hf-sub { margin-top: 3px; }
}
/* Reset map: console, map tools and results panel; white when the map is off its defaults */
.mreset { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 12px; border: 1px solid var(--edge-hi); background: rgba(255,255,255,.05); color: var(--ink); font: 500 14px/1 var(--f); cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, box-shadow .15s; }
.mreset svg, .preset svg { width: 15px; height: 15px; flex: none; }
.mreset:hover { background: rgba(255,255,255,.12); }
.mreset.on { background: var(--ink); color: var(--night); border-color: var(--ink); box-shadow: 0 0 22px rgba(255,255,255,.3); }
.preset { justify-self: start; display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--night); font: 500 13px/1 var(--f); cursor: pointer; }
@media (max-width: 900px), (max-aspect-ratio: 5/4) { .mcon .mreset { justify-self: start; } }
/* panel rows: the name opens the card, the pin shows the doctor on the map */
.rows li.rw { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 4px; }
.nmw { display: flex; align-items: center; gap: 6px; min-width: 0; }
.nmw .nmlink { min-width: 0; }
.onmap.sm { width: 26px; height: 26px; border-radius: 8px; flex: none; }
.onmap.sm svg { width: 13px; height: 13px; }
.onmap { width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--edge); background: rgba(255,255,255,.03); color: var(--mute); display: grid; place-items: center; cursor: pointer; }
.onmap svg { width: 15px; height: 15px; }
.onmap:hover, .onmap:focus-visible { color: #fff; border-color: var(--edge-hi); background: rgba(255,255,255,.1); }
.btn svg + * { margin-left: 0; }
.nmlink { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nmlink:hover, .nmlink:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.city li .nmlink { font-weight: 450; font-size: 15px; }
/* selected provider: one column in the side panel, two when the panel runs full width */
.panel { container-type: inline-size; }
.selc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px 32px; padding: 18px 20px 8px; }
.selc h4 { margin: 0; font-size: 24px; font-weight: 400; letter-spacing: -.02em; line-height: 1.12; }
.sc-main { display: grid; gap: 14px; align-content: start; min-width: 0; }
.sc-side { display: grid; gap: 4px; align-content: start; min-width: 0; }
.sc-side .rows { padding: 0; }
.selc .stats b small { font-size: 12px; color: var(--mute); font-weight: 400; margin-left: 4px; }
.sc-sec { display: grid; gap: 8px; }
.sc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-procs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sc-procs li { border: 1px solid var(--edge); border-radius: 999px; padding: 5px 10px; font-size: 13px; color: rgba(238,241,248,.86); }
.sc-none { color: var(--mute); font-size: 14px; }
.selc .pacts { padding: 2px 0 6px; }
.selc .pacts .btn svg { width: 15px; height: 15px; }
/* stacked (map above, results below): the results grow with the page, no scroll box inside the page, nothing slides under its header */
@media (max-width: 900px), (max-aspect-ratio: 5/4) { .panel { max-height: none; } .panel-body { overflow: visible; } }
@container (min-width: 760px) {
  .selc { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .selc .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .panel .rows:not(.sc-side .rows) { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition-duration: .01ms !important; } }
/* map console (v16, Steve 2026-10-20: "map things have to ride near the map"): every control that changes the map sits on the map.
   Filters across the top edge, each opening its panel right under its button; map tools on the left edge; results on the right. */
.mcon { position: absolute; z-index: 4; left: max(20px, var(--gut)); top: 16px; right: calc(max(20px, var(--gut-r)) + 354px); border-radius: 20px; padding: 10px 10px 10px 18px; display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; --dbl: 0 0 0 1px rgba(255,255,255,.04); }
.mcon h2 { font-size: 17px; font-weight: 450; letter-spacing: -.01em; line-height: 1.15; white-space: nowrap; }
.mf { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; flex: 1 1 auto; }
.fb { position: relative; display: grid; gap: 3px; min-width: 0; max-width: 210px; padding: 7px 30px 8px 12px; border-radius: 12px; border: 1px solid var(--edge); background: rgba(255,255,255,.04); color: var(--ink); text-align: left; cursor: pointer; transition: background .15s, border-color .15s; }
.fb::after { content: ""; position: absolute; right: 13px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid var(--mute); border-bottom: 1.5px solid var(--mute); transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.fb[aria-expanded="true"]::after { transform: translateY(-15%) rotate(225deg); }
.fb:hover { background: rgba(255,255,255,.08); border-color: var(--edge-hi); }
.fb[aria-expanded="true"] { background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.42); }
.fb.set { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
.fb.set .fl::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px #fff; vertical-align: 1px; }
.fb .fl { font: 500 9.5px/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.fb b { font-weight: 450; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mpop { position: absolute; z-index: 6; width: 340px; max-width: calc(100% - 32px); border-radius: 18px; padding: 14px 16px 16px; display: grid; gap: 12px; align-content: start; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent;
  --dbl: 0 0 0 1px rgba(255,255,255,.05); background: linear-gradient(180deg, rgba(15,18,30,.97), rgba(7,9,15,.98)); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), var(--dbl), 0 30px 70px -24px rgba(0,0,0,.95); }
.mpop[hidden] { display: none; }
.mp-proc { width: 620px; }
.mp-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.mp-note { font-size: 12.5px; line-height: 1.45; color: var(--mute); }
.mpop .tquick button, .mpop .all { border: 1px solid var(--edge); background: rgba(255,255,255,.03); border-radius: 999px; padding: 5px 11px; font-size: 12.5px; cursor: pointer; color: var(--mute); }
.mpop .tquick button.on, .mpop .all.on { background: rgba(255,255,255,.14); color: #fff; border-color: var(--edge-hi); }
.mpop .tgrid { display: grid; grid-template-columns: 1fr; gap: 3px; }
.mpop .tt { width: 100%; padding: 8px 10px; font-size: 14px; gap: 10px; }
.tt em { margin-left: auto; font: 500 11.5px/1 var(--f-mono); font-style: normal; color: var(--faint); }
.mpop .rail-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 18px; }
.mpop .grp { display: grid; align-content: start; }
.mpop .grp .lbl { display: flex; align-items: center; gap: 8px; margin: 2px 0 4px; font-size: 10px; color: var(--faint); }
.mpop .ck { margin: 0 -8px; padding: 5px 8px; font-size: 14px; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 8px; }
.mpop .ck .box { width: 15px; height: 15px; border-radius: 5px; }
.mpop .seg { width: max-content; max-width: 100%; }
/* map bar (v20, Steve 2026-10-21: the side strip read "compressed and weird ... hard to read"): labeled tools and the key in one row along the map's bottom edge */
.mbot { position: absolute; z-index: 4; left: max(20px, var(--gut)); right: calc(max(20px, var(--gut-r)) + 354px); bottom: 30px; border-radius: 18px; padding: 8px 10px 8px 8px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; --dbl: 0 0 0 1px rgba(255,255,255,.04); }
.mtools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mtools .tg { display: flex; align-items: center; gap: 2px; padding: 3px 10px 3px 3px; border-radius: 12px; border: 1px solid var(--edge); background: rgba(255,255,255,.03); }
.mtools .tg button { width: 32px; height: 32px; border-radius: 9px; border: 0; background: none; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.mtools .tl { margin-left: 4px; font-size: 13.5px; color: var(--mute); }
.mtools .tb { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 13px; border-radius: 12px; border: 1px solid var(--edge); background: rgba(255,255,255,.03); color: var(--ink); font-size: 13.5px; font-weight: 450; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.mtools .tb b { font: 600 12px/1 var(--f-mono); letter-spacing: .04em; }
.mtools button:hover { background: rgba(255,255,255,.1); }
.mtools .tb:hover { border-color: var(--edge-hi); }
.mtools button:focus-visible { outline: 2px solid var(--t7); outline-offset: -2px; }
.mtools svg { width: 16px; height: 16px; flex: none; }
.mtools .t3d[aria-pressed="true"], .mtools .tspin[aria-pressed="true"], .mtools [data-tool="reset"].on { background: var(--ink); color: var(--night); border-color: var(--ink); box-shadow: 0 0 16px rgba(255,255,255,.28); }
.mkey { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 13.5px; color: var(--ink); }
.mkey .kr { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.mkey .kl { color: var(--mute); }
.mkey .bar { width: 64px; height: 5px; border-radius: 5px; background: var(--ramp); }
/* provider type rail (Steve 2026-10-21: "make it easy to turn on and off providers ... clusters"): on the map's left edge,
   between the console and the tool bar; three groups, each with its own switch, every type with its own */
.mrail { position: absolute; z-index: 4; left: max(20px, var(--gut)); top: 132px; bottom: 140px; width: 236px; border-radius: 18px; padding: 12px 8px 10px; display: grid; gap: 8px; align-content: start; overflow: hidden auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; --dbl: 0 0 0 1px rgba(255,255,255,.04); }
.mr-head { display: grid; gap: 8px; padding: 0 6px; }
.mr-pre { display: flex; flex-wrap: wrap; gap: 4px; }
.mr-pre button { border: 1px solid var(--edge); background: rgba(255,255,255,.03); border-radius: 999px; padding: 5px 9px; font-size: 12px; cursor: pointer; color: var(--mute); white-space: nowrap; }
.mr-pre button:hover { color: #fff; border-color: var(--edge-hi); }
.mr-pre button.on { background: var(--ink); color: var(--night); border-color: var(--ink); }
.mr-groups { display: grid; gap: 6px; }
.mr-g { display: grid; gap: 0; padding-top: 6px; border-top: 1px solid var(--edge); }
.rg { display: grid; grid-template-columns: 15px minmax(0, 1fr) auto; gap: 9px; align-items: center; width: 100%; padding: 5px 8px; border: 0; border-radius: 9px; background: none; color: var(--ink); text-align: left; cursor: pointer; font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.rg:hover { background: rgba(255,255,255,.06); }
.rg .bx { width: 15px; height: 15px; border-radius: 5px; border: 1.5px solid rgba(255,255,255,.35); display: grid; place-items: center; }
.rg[aria-pressed="true"] .bx { background: var(--ink); border-color: var(--ink); }
.rg[aria-pressed="true"] .bx::after { content: ""; width: 7px; height: 4px; border-left: 2px solid var(--night); border-bottom: 2px solid var(--night); transform: translateY(-1px) rotate(-45deg); }
.rg[aria-pressed="mixed"] .bx::after { content: ""; width: 7px; height: 2px; border-radius: 1px; background: var(--ink); }
.rg em { font: 500 11px/1 var(--f-mono); font-style: normal; color: var(--faint); letter-spacing: 0; text-transform: none; }
.mrail .tt { width: 100%; padding: 6px 8px; font-size: 13.5px; gap: 9px; border-color: transparent; background: none; }
.mrail .tt span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrail .tt .sn, .pvg .tt .sn { display: none; }
.mrail .tt:hover { color: #fff; background: rgba(255,255,255,.05); }
.mrail .tt.on { background: color-mix(in srgb, var(--c) 10%, transparent); border-color: transparent; }
/* map interface v2 (Steve 2026-10-21: "give me an interface around the map to work with the map ... visible ... easy to reset
   ... the 3D view should be a much bigger, cooler button ... more instructions"): the console holds the live caption, Area,
   3D and Reset, the provider switches and both sliders; the left rail holds every procedure; nothing hides in a menu */
.mcon { display: grid; gap: 10px; padding: 12px 14px 12px 18px; align-content: start; }
.mc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-width: 0; }
.mc-top { flex-wrap: nowrap; }
.mc-title { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.mc-title h2 { font-size: 19px; font-weight: 450; letter-spacing: -.015em; line-height: 1.15; white-space: nowrap; }
.mc-now { font-size: 13.5px; line-height: 1.4; color: rgba(238,241,248,.78); }
.mc-now b { color: #fff; font-weight: 500; }
.mc-lbl { font: 500 10px/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.mc-types { padding-top: 10px; border-top: 1px solid var(--edge); }
.mc-sl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 18px; padding-top: 10px; border-top: 1px solid var(--edge); align-items: start; }
.mc-scale { display: grid; gap: 8px; }
.mc-scale .seg button { padding: 7px 11px; font-size: 13px; }
.rng-ticks { position: relative; height: 12px; margin: 0 9px; }
.rng-ticks span { position: absolute; top: 0; transform: translateX(-50%); font: 500 9px/1 var(--f-mono); color: var(--faint); white-space: nowrap; }
.rng-ticks span.in { color: var(--ink); }
.rng.set .rng-val { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,.5); }
.pvs { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; min-width: 0; flex: 1 1 100%; }
.pvg { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 12px; border: 1px solid var(--edge); background: rgba(255,255,255,.02); }
.pvg .rg { width: auto; grid-template-columns: 15px auto; padding: 6px 8px; }
.pvg .rg em { display: none; }
.pvg .tt { padding: 6px 9px; font-size: 13px; gap: 7px; border-color: transparent; background: none; white-space: nowrap; }
.pvg .tt.on { background: color-mix(in srgb, var(--c) 14%, transparent); }
.pvg .tt em { margin-left: 2px; font-size: 10.5px; }
/* the 3D button: a lit tile with rising columns */

@media (max-width: 1680px) { .pvg .tt .ln { display: none; } .pvg .tt .sn { display: inline; } }
.m3d { flex: none; display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 18px 0 12px; border-radius: 15px; cursor: pointer; color: #fff; text-align: left;
  border: 1px solid rgba(255,200,150,.45); background: linear-gradient(135deg, rgba(255,61,90,.35), rgba(255,178,61,.22) 45%, rgba(74,163,255,.3)); box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 10px 30px -8px rgba(255,122,61,.55); transition: transform .15s, box-shadow .2s; }
.m3d:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 14px 36px -8px rgba(255,122,61,.75); }
.mspin { border-color: rgba(150,200,255,.45); background: linear-gradient(135deg, rgba(63,214,198,.3), rgba(74,163,255,.32) 55%, rgba(123,140,255,.36)); box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 10px 30px -8px rgba(74,163,255,.55); }
.mspin:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 14px 36px -8px rgba(74,163,255,.75); }
.mspin svg { width: 26px; height: 26px; flex: none; filter: drop-shadow(0 0 6px rgba(255,255,255,.6)); }
.mspin[aria-pressed="true"] svg { animation: mspin 2.4s linear infinite; filter: none; color: #4aa3ff; }
@keyframes mspin { to { transform: rotate(360deg); } }
.m3d-ic { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.m3d-ic i { width: 6px; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, #fff, rgba(255,255,255,.4)); box-shadow: 0 0 8px rgba(255,255,255,.6); transition: height .4s; }
.m3d-ic i:nth-child(1) { height: 10px; } .m3d-ic i:nth-child(2) { height: 22px; } .m3d-ic i:nth-child(3) { height: 15px; } .m3d-ic i:nth-child(4) { height: 26px; }
.m3d-t { display: grid; gap: 2px; }
.m3d-t b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.m3d-t small { font: 500 10px/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.75); white-space: nowrap; }
.m3d[aria-pressed="true"] { background: #fff; color: var(--night); border-color: #fff; box-shadow: 0 0 30px rgba(255,255,255,.45); }
.m3d[aria-pressed="true"] .m3d-t small { color: rgba(3,6,12,.65); }
.m3d[aria-pressed="true"] .m3d-ic i { background: linear-gradient(180deg, #ff3d5a, #ffb23d); box-shadow: none; }
.m3d[aria-pressed="true"] .m3d-ic i:nth-child(1) { height: 18px; } .m3d[aria-pressed="true"] .m3d-ic i:nth-child(2) { height: 12px; } .m3d[aria-pressed="true"] .m3d-ic i:nth-child(3) { height: 26px; } .m3d[aria-pressed="true"] .m3d-ic i:nth-child(4) { height: 16px; }
/* procedure rail */
.mrail { width: 270px; gap: 8px; }
.mr-head { grid-template-columns: 1fr auto; align-items: center; }
.mr-head .all { border: 1px solid var(--edge); background: rgba(255,255,255,.03); border-radius: 999px; padding: 5px 10px; font-size: 12px; cursor: pointer; color: var(--mute); white-space: nowrap; }
.mr-head .all.on { background: var(--ink); color: var(--night); border-color: var(--ink); }
.mr-help { padding: 0 6px; font-size: 12px; line-height: 1.45; color: var(--mute); }
.pps { display: flex; flex-wrap: wrap; gap: 4px; padding: 2px 2px 4px 8px; }
.pp { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--edge); background: rgba(255,255,255,.02); border-radius: 999px; padding: 4px 8px; font-size: 12px; cursor: pointer; color: rgba(238,241,248,.78); white-space: nowrap; }
.pp:hover { color: #fff; border-color: var(--edge-hi); }
.pp em { font: 500 10px/1 var(--f-mono); font-style: normal; color: var(--faint); }
.pp.on { color: #fff; background: color-mix(in srgb, var(--c) 22%, transparent); border-color: color-mix(in srgb, var(--c) 70%, transparent); box-shadow: 0 0 12px color-mix(in srgb, var(--c) 35%, transparent); }
.pp.on em { color: rgba(255,255,255,.8); }
.rg .gdot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 8px; vertical-align: 0; box-shadow: 0 0 8px currentColor; background: currentColor; }
/* MapLibre's "hold Ctrl to zoom" note: a small pill in the middle of the map, never a column of large text */
.maplibregl-cooperative-gesture-screen { inset: auto !important; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%); padding: 10px 16px !important; border-radius: 12px; background: rgba(8,12,22,.88) !important; border: 1px solid var(--edge-hi); font-size: 14px !important; white-space: nowrap; }
/* map controls v3 (Steve 2026-10-21: "a huge navigation for tablet ... Photoshop packs in a lot of stuff in a very small interface
   ... runs around the edges ... icon-driven ... pop-up rollovers ... you don't see the map"): a slim icon toolbar on the map's
   left edge (bottom edge on tablets and phones), ordered Area, 3D, Spin, Reset | Providers, Procedures, Reviews | zoom and
   turn; Providers, Procedures and Reviews open one panel at a time over the map; a one-line caption on top */
.mcap { position: absolute; z-index: 4; top: 16px; left: calc(max(20px, var(--gut)) + 92px); right: calc(max(20px, var(--gut-r)) + 354px); border-radius: 16px; padding: 10px 16px 11px; display: grid; gap: 2px; --dbl: 0 0 0 1px rgba(255,255,255,.04); }
.mcap h2 { font-size: 17px; font-weight: 450; letter-spacing: -.01em; line-height: 1.2; }
.mtb { position: absolute; z-index: 5; left: max(20px, var(--gut)); top: 16px; width: 80px; max-height: calc(100% - 32px); overflow: visible; border-radius: 18px; padding: 7px; display: flex; flex-direction: column; align-items: stretch; gap: 4px; --dbl: 0 0 0 1px rgba(255,255,255,.04); }
.tbtn { position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; min-height: 52px; padding: 6px 2px; border-radius: 12px; border: 1px solid transparent; background: none; color: var(--ink); cursor: pointer; font: 500 10.5px/1.1 var(--f); letter-spacing: .01em; transition: background .15s, border-color .15s; }
.tbtn svg { width: 22px; height: 22px; }
.tbtn:hover, .tbtn[aria-expanded="true"] { background: rgba(255,255,255,.08); border-color: var(--edge); }
.tbtn:focus-visible { outline: 2px solid var(--t7); outline-offset: -2px; }
.tbl { color: rgba(238,241,248,.82); white-space: nowrap; }
.tbtn[aria-expanded="true"] .tbl, .tbtn:hover .tbl { color: #fff; }
.tbig { min-height: 62px; }
.t3d { border-color: rgba(255,200,150,.4); background: linear-gradient(160deg, rgba(255,61,90,.35), rgba(255,178,61,.2) 55%, rgba(74,163,255,.28)); box-shadow: 0 8px 22px -10px rgba(255,122,61,.7); }
.tspin { border-color: rgba(150,200,255,.4); background: linear-gradient(160deg, rgba(63,214,198,.28), rgba(74,163,255,.3) 55%, rgba(123,140,255,.34)); box-shadow: 0 8px 22px -10px rgba(74,163,255,.7); }
.t3d .m3d-ic { height: 24px; }
.t3d .m3d-ic i { width: 5px; }
.t3d[aria-pressed="true"], .tspin[aria-pressed="true"], .mtb [data-reset].on { background: #fff; color: var(--night); border-color: #fff; box-shadow: 0 0 22px rgba(255,255,255,.4); }
.t3d[aria-pressed="true"] .tbl, .tspin[aria-pressed="true"] .tbl, .mtb [data-reset].on .tbl { color: var(--night); }
.tspin[aria-pressed="true"] svg { animation: mspin 2.4s linear infinite; color: #4aa3ff; }
.t3d[aria-pressed="true"] .m3d-ic i { background: linear-gradient(180deg, #ff3d5a, #ffb23d); box-shadow: none; }
.tsep { height: 1px; margin: 4px 6px; background: var(--edge); flex: none; }
.tpair { display: flex; gap: 2px; }
.tpair .tbtn { flex: 1; min-height: 34px; padding: 4px 0; }
.tpair .tbtn svg { width: 17px; height: 17px; }
.tsm .tbl { display: none; }
.tbadge { position: absolute; top: 3px; right: 5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #fff; color: var(--night); font: 600 10px/18px var(--f-mono); text-align: center; box-shadow: 0 0 10px rgba(255,255,255,.5); }
.tip { position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%); z-index: 9; width: max-content; max-width: 260px; padding: 8px 11px; border-radius: 10px; background: rgba(8,12,22,.95); border: 1px solid var(--edge-hi); color: var(--ink); font: 400 13px/1.35 var(--f); text-align: left; white-space: normal; pointer-events: none; opacity: 0; transition: opacity .12s; box-shadow: 0 12px 30px -10px rgba(0,0,0,.8); }
.tip b { font-weight: 600; }
@media (hover: hover) { .tbtn:hover .tip { opacity: 1; transition-delay: .25s; } }
.tbtn[aria-expanded="true"] .tip { opacity: 0 !important; }
.fly { position: absolute; z-index: 6; left: calc(max(20px, var(--gut)) + 92px); top: 16px; width: 360px; max-height: calc(100% - 92px); overflow: hidden auto; border-radius: 18px; padding: 14px 16px 16px; display: grid; gap: 12px; align-content: start; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; --dbl: 0 0 0 1px rgba(255,255,255,.05);
  background: linear-gradient(180deg, rgba(15,18,30,.96), rgba(7,9,15,.97)); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), var(--dbl), 0 30px 70px -24px rgba(0,0,0,.95); }
.fly[hidden] { display: none; }
.fly-proc { width: 400px; }
.fly-h { display: flex; align-items: center; gap: 10px; }
.fly-h b { font-size: 16px; font-weight: 500; margin-right: auto; }
.fly-h .all { border: 1px solid var(--edge); background: rgba(255,255,255,.03); border-radius: 999px; padding: 5px 10px; font-size: 12px; cursor: pointer; color: var(--mute); white-space: nowrap; }
.fly-h .all.on { background: var(--ink); color: var(--night); border-color: var(--ink); }
.fly-x { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--edge); background: rgba(255,255,255,.04); color: var(--ink); cursor: pointer; flex: none; }
.fly-x svg { width: 15px; height: 15px; }
.fly-help { font-size: 12.5px; line-height: 1.45; color: var(--mute); }
.fly .pvs { display: grid; gap: 8px; }
.fly .pvg { display: grid; gap: 2px; padding: 4px; }
.fly .pvg .rg { width: 100%; grid-template-columns: 15px minmax(0, 1fr) auto; }
.fly .pvg .rg em { display: inline; }
.fly .pvg .tt { width: 100%; }
.fly .pvg .tt .ln { display: inline; } .fly .pvg .tt .sn { display: none; }
.fly .tt em { margin-left: auto; }
.fly .mr-groups { display: grid; gap: 6px; }
.fly .pps { padding-left: 30px; }
.fly .rng { display: grid; gap: 6px; }
.mkey { position: absolute; z-index: 4; left: calc(max(20px, var(--gut)) + 92px); bottom: 26px; padding: 7px 12px; border-radius: 12px; font-size: 12.5px; pointer-events: none; --dbl: 0 0 0 1px rgba(255,255,255,.04); }
@media (max-width: 1100px) { .mcap { right: calc(max(20px, var(--gut-r)) + 314px); } }
/* tablets and phones: caption above the map, the toolbar along the map's bottom edge, panels rise from it */
@media (max-width: 900px), (max-aspect-ratio: 5/4) {
  .mcap { position: relative; inset: auto; grid-row: 1; border-radius: 0; border-left: 0; border-right: 0; padding: 18px var(--gut-r) 14px var(--gut); --dbl: 0 0 0 0 transparent; }
  .mcap h2 { font-size: clamp(22px, 4.6vw, 30px); font-weight: 400; letter-spacing: -.03em; }
  .mtb { top: auto; bottom: 10px; left: 10px; right: 10px; width: auto; max-height: none; flex-direction: row; align-items: stretch; justify-content: center; flex-wrap: nowrap; overflow: hidden; padding: 5px; gap: 2px; }  /* hidden: the lit glass glow is twice the bar's width and made it scroll */
  .tbtn { min-width: 56px; min-height: 52px; }
  .tbig { min-height: 52px; }
  .tsep { width: 1px; height: auto; margin: 6px 3px; }
  .tpair { flex-direction: column; } .tpair .tbtn { min-width: 40px; min-height: 0; }
  .tip { display: none; }
  .fly, .fly-proc { left: 10px; right: 10px; top: auto; bottom: 82px; width: auto; max-height: calc(100% - 100px); }
  .mkey { left: 10px; bottom: auto; top: 10px; }
}
@media (min-width: 601px) and (max-width: 760px) { .tbtn { min-width: 46px; } .tbl { font-size: 9.5px; } }
@media (max-width: 600px) { .tnav { display: none !important; } .tbtn { min-width: 0; flex: 1; } .tbl { font-size: 10px; } .mkey { display: none; } }
@media (max-width: 1100px) { .panel { width: 300px; } .mcon, .mbot { right: calc(max(20px, var(--gut-r)) + 314px); } }
@media (max-width: 1280px) { .mc-sl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .mc-scale { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; } .m3d-t small { display: none; } }
/* stacked: filters above the map, the map, the results under it; panels open over the map */
@media (max-width: 900px), (max-aspect-ratio: 5/4) {
  .mapband { height: auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto auto; }
  .mapband > * { min-width: 0; }
  .mcon { position: relative; inset: auto; grid-row: 1; display: grid; gap: 12px; border-radius: 0; border-left: 0; border-right: 0; padding: 22px var(--gut-r) 14px var(--gut); --dbl: 0 0 0 0 transparent; }
  .mc-title h2 { font-size: clamp(24px, 5vw, 34px); font-weight: 400; letter-spacing: -.03em; white-space: normal; }
  .mc-top { flex-wrap: wrap; }
  .mc-title { flex-basis: 100%; }
  .fb { max-width: none; flex: 1 1 200px; }
  .mc-sl { grid-template-columns: minmax(0, 1fr); }
  #mapc { position: relative; inset: auto; grid-row: 2; height: 78svh; min-height: 460px; }
  .mrail { position: relative; inset: auto; grid-row: 2; width: auto; border-radius: 0; border-left: 0; border-right: 0; padding: 12px var(--gut-r) 12px var(--gut); overflow: hidden; --dbl: 0 0 0 0 transparent; }
  .mr-head { padding: 0; }
  .mr-help { padding: 0; }
  .mr-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 14px; }
  .pps { padding-left: 0; }
  .panel { position: relative; inset: auto; grid-row: 3; width: auto; border-radius: 0; border-left: 0; border-right: 0; max-height: 520px; --dbl: 0 0 0 0 transparent; }
  .mpop { width: auto; max-width: none; left: var(--gut); right: var(--gut-r); }
  .mbot { position: relative; inset: auto; grid-row: 4; border-radius: 0; border-left: 0; border-right: 0; padding: 12px var(--gut-r) 14px var(--gut); --dbl: 0 0 0 0 transparent; }
  .attrib, .tip { display: none; }
}
@media (max-width: 560px) {
  .mf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mpop .rail-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mtools .tb { padding: 0 11px; }
  .mr-groups { grid-template-columns: 1fr; }
  .pvg { flex-wrap: wrap; }
  .pvg .tt .ln { display: none; } .pvg .tt .sn { display: inline; }
  .m3d { flex: 1 1 40%; justify-content: center; }
}
@media (max-width: 380px) { .mpop .rail-list { grid-template-columns: 1fr; } }
/* hero bar, procedure lists: information and links; the map's own filters sit on the map */
.hgo { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
@media (max-width: 860px) { .hgo { justify-content: flex-start; } }
.plist { list-style: none; margin: 0; padding: 0; display: grid; }
.plist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid rgba(190,205,255,.07); font-size: 15px; color: rgba(238,241,248,.86); scroll-margin-top: calc(var(--nav-h) + 40px); }
.plist li:last-child { border-bottom: 0; }
.plist em { font: 500 12px/1 var(--f-mono); font-style: normal; color: var(--mute); }
.plist li:target { color: #fff; }
.fgroups a, .ftypes a { text-decoration: none; }
.ftypes a { display: flex; align-items: center; gap: 10px; }
