/* BUILD: RADIOLOOKUP-2026.11.08-stage38 */

:root{
  color-scheme: light;
  --bg:#F5F6F8; --surface:#FFFFFF; --ink:#0F1B2D; --ink2:#334155; --muted:#4A5568; --line:#DDE2EA; --line2:#EEF1F5;
  --brand:#1F5FBF; --brand2:#163F7F; --brandSoft:#EAF1FC; --head:#0F1B2D; --headInk:#FFFFFF; --headMuted:#C9D7EE;
  --call:#E8833A; --callInk:#1A0E04; --ok:#1D5E2E; --okSoft:#E6F4EA; --warnSoft:#FFF4E5; --warn:#8A4B0B;
  --map:#E9EEF3; --mapLand:#F7F9FB; --mapLine:#B9C6D6;
  --am:#C2410C; --fm:#1F5FBF; --fx:#0E7490; --lp:#7C3AED; --tv:#15803D; --tvl:#65A30D; --esr:#A21CAF; --esu:#BE123C; --tw:#57534E;
  box-sizing:border-box; padding-top:env(safe-area-inset-top,0px); padding-bottom:env(safe-area-inset-bottom,0px);
}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){
  color-scheme: dark;
  --bg:#0E1622; --surface:#152132; --ink:#E7EDF5; --ink2:#C3CFDD; --muted:#9AAABD; --line:#26364C; --line2:#1D2B3D;
  --brand:#6FA4F2; --brand2:#9CC1F7; --brandSoft:#1B2E4A; --head:#0A111B; --headInk:#FFFFFF; --headMuted:#A9C4EC;
  --okSoft:#163322; --ok:#8FD6A4; --warnSoft:#3A2A12; --warn:#F2C48D;
  --map:#111C2B; --mapLand:#18263A; --mapLine:#34496A;
  --am:#F08A4B; --fm:#6FA4F2; --fx:#3CC2D8; --lp:#B597F5; --tv:#4ADE80; --tvl:#BEF264; --esr:#E879F9; --esu:#FB7185; --tw:#A8A29E;
}}
:root[data-theme="dark"]{
  color-scheme: dark;
  --bg:#0E1622; --surface:#152132; --ink:#E7EDF5; --ink2:#C3CFDD; --muted:#9AAABD; --line:#26364C; --line2:#1D2B3D;
  --brand:#6FA4F2; --brand2:#9CC1F7; --brandSoft:#1B2E4A; --head:#0A111B; --headInk:#FFFFFF; --headMuted:#A9C4EC;
  --okSoft:#163322; --ok:#8FD6A4; --warnSoft:#3A2A12; --warn:#F2C48D;
  --map:#111C2B; --mapLand:#18263A; --mapLine:#34496A;
  --am:#F08A4B; --fm:#6FA4F2; --fx:#3CC2D8; --lp:#B597F5; --tv:#4ADE80; --tvl:#BEF264; --esr:#E879F9; --esu:#FB7185; --tw:#A8A29E;
}
html{scroll-padding-top:env(safe-area-inset-top,0px)}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'IBM Plex Sans',system-ui,-apple-system,'Segoe UI',sans-serif;font-size:16px;line-height:1.45}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:10;background:var(--head)}
a{color:var(--brand)} a:hover{color:var(--brand2)}
.mono{font-family:'IBM Plex Mono',ui-monospace,Menlo,Consolas,monospace}
.wrap{--gut:24px;max-width:1280px;margin:0 auto;padding:0 var(--gut)}
header.top{background:var(--head);color:var(--headInk);position:sticky;top:env(safe-area-inset-top,0px);z-index:5}
header.top .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;padding-top:12px;padding-bottom:12px}
.logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:19px;color:#fff;text-decoration:none}
.logo:hover{color:#fff}
.hsearch{flex:1 1 320px;display:flex;position:relative}
.hsearch input,.bigsearch input{flex:1;min-width:0;border:0;border-radius:8px 0 0 8px;padding:0 14px;font:inherit;font-size:16px;height:44px;background:#fff;color:#0F1B2D}
.hsearch button,.bigsearch button{border:0;border-radius:0 8px 8px 0;background:#2F6FD6;color:#fff;padding:0 18px;font:inherit;font-weight:600;height:44px;cursor:pointer}
nav.links{display:flex;gap:18px;font-size:15px;flex-wrap:wrap}
nav.links a{color:#D6E2F5;text-decoration:none} nav.links a:hover{color:#fff}
.demo-strip{background:var(--warnSoft);color:var(--warn);font-size:14px}
.demo-strip .wrap{padding-top:8px;padding-bottom:8px}
main{padding:24px 0 48px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:12px}
.pad{padding:20px}
h1,h2,h3{margin:0;line-height:1.2}
h2{font-size:18px}
.row{display:flex;flex-wrap:wrap;gap:24px}
.grow{flex:999 1 560px;min-width:0}
.side{flex:1 1 320px;min-width:0}
.stack{display:flex;flex-direction:column;gap:24px}
.pill{display:inline-block;border-radius:6px;padding:3px 10px;font-size:13px;font-weight:600;background:var(--line2);color:var(--ink2)}
.pill.ok{background:var(--okSoft);color:var(--ok)}
.btn{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 18px;border-radius:8px;font:inherit;font-weight:600;cursor:pointer;text-decoration:none;border:1px solid var(--line);background:var(--surface);color:var(--ink)}
.btn:hover{border-color:var(--brand);color:var(--ink)}
.btn.primary{background:var(--brand);border-color:var(--brand);color:#fff}
.btn.primary:hover{background:var(--brand2);color:#fff}
.facts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:10px 16px;font-size:15px}
.facts dt{color:var(--muted)} .facts dd{margin:0;font-weight:500}
table{width:100%;border-collapse:collapse;font-size:14px}
th{text-align:left;color:var(--muted);font-weight:600;padding:8px;border-bottom:1px solid var(--line)}
td{padding:8px;border-bottom:1px solid var(--line2)}
tr:last-child td{border-bottom:0}
.scroll{overflow-x:auto}
.map{display:block;width:100%;height:auto;background:var(--map);touch-action:none}
.dot{cursor:pointer}
.legend{display:flex;flex-wrap:wrap;gap:14px;font-size:13px;color:var(--muted)}
.legend span::before{content:"";display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px;background:var(--c);vertical-align:-1px}
.hero{background:var(--head);color:#fff}
.hero .wrap{padding-top:36px;padding-bottom:44px;display:flex;flex-direction:column;gap:16px;align-items:center;text-align:center}
.hero h1{font-size:clamp(28px,4.4vw,44px);max-width:820px}
.hero p{margin:0;color:var(--headMuted);font-size:18px;max-width:640px}
.bigsearch{display:flex;width:100%;max-width:760px}
.bigsearch input{height:56px;font-size:17px;border-radius:10px 0 0 10px}
.bigsearch button{height:56px;border-radius:0 10px 10px 0;padding:0 26px;font-size:17px}
.chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;font-size:14px}
.chips a{color:#fff;background:#1E2F4A;border-radius:999px;padding:6px 12px;text-decoration:none}
.chips a:hover{background:#2A4166;color:#fff}
.results a.res{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;padding:12px 4px;border-bottom:1px solid var(--line2);text-decoration:none;color:var(--ink)}
.results a.res:hover{background:var(--brandSoft)}
.res .rc{font-weight:600;min-width:96px}
.res .rf{color:var(--brand)}
.res .rm{color:var(--muted);font-size:14px;margin-left:auto}
.rts{background:var(--head);color:#fff;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:8px}
.rts .k{font-size:13px;color:var(--headMuted);font-weight:600}
.rts .t{font-size:18px;font-weight:600}
.rts .s{font-size:14px;color:#D6E2F5}
.callbtn{margin-top:6px;height:46px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:var(--call);color:var(--callInk);font-weight:700;text-decoration:none;font-size:17px}
.callbtn:hover{color:var(--callInk);filter:brightness(1.05)}
.toast{position:fixed;left:50%;bottom:calc(20px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);background:var(--ink);color:var(--bg);padding:12px 18px;border-radius:10px;font-size:15px;opacity:0;transition:opacity .2s;pointer-events:none;z-index:20;max-width:90vw}
.toast.on{opacity:1}
.filters{display:flex;flex-wrap:wrap;gap:8px}
.filters button{height:36px;border:1px solid var(--line);background:var(--surface);color:var(--ink2);border-radius:6px;padding:0 12px;font:inherit;font-size:14px;cursor:pointer}
.filters button[aria-pressed="true"]{border-color:var(--brand);background:var(--brandSoft);color:var(--brand);font-weight:600}
footer.foot{font-size:13px;color:var(--muted);display:flex;flex-wrap:wrap;gap:8px 24px;padding-top:8px}
.sr{position:absolute;left:-9999px}
.crumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:14px;color:var(--muted);margin-bottom:16px}
.maptools{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;border-bottom:1px solid var(--line)}
.zoombtns{display:flex;gap:6px}
.zoombtns button{width:36px;height:36px;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:6px;font-size:18px;cursor:pointer}
@media (max-width:640px){ .wrap{--gut:14px} nav.links{display:none} .hero .wrap{padding-top:24px;padding-bottom:28px} .facts{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr)} }

.lmap{width:100%;height:440px;background:var(--map);z-index:0}
.leaflet-container{font-family:'IBM Plex Sans',system-ui,sans-serif}
.stlabel{white-space:nowrap;font-size:12px;font-weight:600;color:#0F1B2D;text-shadow:0 0 3px #fff,0 0 3px #fff,0 0 3px #fff}
.stlabel.focus{font-weight:700;font-size:13px}
.ringlabel{font-size:12px;color:#163F7F;text-align:center;text-shadow:0 0 3px #fff,0 0 3px #fff}
.foot a{color:var(--muted)}

/* stage4: phone map filter drop-down, single search on the phone home page, server-rendered pages */
.fsel{display:none}
.fsel select{height:40px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font:inherit;font-size:15px;min-width:220px}
@media (max-width:700px){
  .fsel{display:block}
  .filters[aria-label="Filter by service"]{display:none}
  body.home header.top .hsearch{display:none}
}
.ssrnote{margin:12px 0 0;font-size:14px;color:var(--muted)}
.ssr{padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:16px;margin-top:20px}
.ssr h1{font-size:clamp(28px,4vw,40px);margin:0 0 6px}
.ssr dl{display:grid;grid-template-columns:max-content 1fr;gap:6px 16px;margin:16px 0}
.ssr dt{color:var(--muted)} .ssr dd{margin:0}
.ssr ul{columns:2 220px;padding-left:18px}

/* stage5: report dialog */
.repdlg{border:1px solid var(--line);border-radius:16px;padding:22px;max-width:520px;width:calc(100% - 32px);background:var(--surface);color:var(--ink)}
.repdlg::backdrop{background:rgba(15,27,45,.45)}
.repdlg label{display:block;font-size:14px;color:var(--muted);margin:10px 0 4px}
.repdlg textarea,.repdlg input{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:8px;padding:10px 12px;font:inherit;background:var(--bg);color:var(--ink)}

/* stage5d: site footer, coordinate tap-to-copy, Google Maps links, terms */
.sitefoot{border-top:1px solid var(--line,#e5e7eb);margin-top:32px;padding:16px 0 28px;font-size:13px;color:var(--muted)}
.sitefoot .wrap{display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center}
.sitefoot a,.sitefoot .linkbtn{color:var(--muted)}
.linkbtn{background:none;border:0;padding:0;font:inherit;text-decoration:underline;cursor:pointer}
.ctap{cursor:copy;border-bottom:1px dotted var(--muted)}
.ctap:focus-visible{outline:2px solid var(--accent,#2563eb);outline-offset:2px}
.cnote{font-family:var(--sans,inherit);font-size:13px;color:var(--muted)}
.gml{white-space:nowrap}
.terms h2{font-size:18px;margin:20px 0 6px}

/* stage6: home page */
.hero .herosub{font-size:14px;color:var(--headMuted)}
.hero .herosub a{color:#fff}
.chgstrip{display:block;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:10px 16px;font-size:14px;color:var(--ink2);text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chgstrip strong{color:var(--ink)}
@media (max-width:640px){ .homeside{order:-1} }

/* stage8: the hidden attribute always wins (the Watch button stays hidden until alerts are real) */
[hidden]{display:none!important}

/* stage10: settings bar (hours, units, coordinates, contour level, other service) */
.setbar{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:10px 14px}
.setbar .sbtoggle{display:none}
.setbar .sbbody{display:flex;flex-wrap:wrap;gap:10px 22px;align-items:center}
.sbitem{display:flex;align-items:center;gap:8px;font-size:14px}
.sblabel{color:var(--muted);font-size:13px}
.seg{display:inline-flex;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.seg button{font:inherit;font-size:14px;border:0;background:var(--surface);color:var(--ink2);padding:6px 11px;cursor:pointer;min-height:34px}
.seg button+button{border-left:1px solid var(--line)}
.seg button[aria-pressed="true"]{background:var(--brand);color:#fff}
.sbitem select{font:inherit;font-size:14px;height:34px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);padding:0 8px;max-width:280px}
.sbother{font:inherit;font-size:14px;height:34px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);cursor:pointer}
.sbother[aria-pressed="true"]{background:var(--brand);color:#fff;border-color:var(--brand)}
.sbnote{color:var(--muted);font-size:13px}
@media (max-width:640px){
  .setbar{padding:8px 12px}
  .setbar .sbtoggle{display:block;width:100%;text-align:left;font:inherit;font-size:14px;background:none;border:0;color:var(--ink2);padding:4px 0;cursor:pointer}
  .setbar .sbtoggle::after{content:" â–¾"}
  .setbar.open .sbtoggle::after{content:" â–´"}
  .setbar:not(.open) .sbbody{display:none}
  .setbar .sbbody{margin-top:8px;gap:10px}
  .sbitem{width:100%;justify-content:space-between}
  .sbitem select{max-width:62%}
}
/* stage 11: spacing tools */
.pill.bad{background:var(--warnSoft);color:var(--warn)}
.screen-note{margin:8px 0 0;padding:10px 12px;border-radius:8px;background:var(--warnSoft);color:var(--warn);font-weight:600;font-size:15px}
.spform{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px 16px;align-items:end}
.spform label{display:flex;flex-direction:column;gap:4px;font-size:14px;color:var(--muted)}
.inp{height:44px;border:1px solid var(--line);border-radius:8px;padding:0 10px;font:inherit;font-size:15px;background:var(--surface);color:var(--ink);min-width:0}
.spsum{padding:10px 12px;border-radius:8px;margin-bottom:10px;font-size:15px}
.spsum.ok{background:var(--okSoft);color:var(--ok)}
.spsum.bad{background:var(--warnSoft);color:var(--warn)}
.spnotes{margin:12px 0 0;padding-left:20px;font-size:13px;color:var(--muted)}
.sptable td{vertical-align:top}
/* stage 12: sign-in and watching */
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.btn.on{background:var(--okSoft);border-color:var(--ok);color:var(--ok)}
.wrow{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line2)}
.wrow a{font-weight:600}
.radios{display:flex;flex-direction:column;gap:8px}
.radio{display:flex;gap:10px;align-items:flex-start;padding:8px 10px;border:1px solid var(--line);border-radius:8px;cursor:pointer}
.spform label.radio{flex-direction:row;align-items:center;gap:10px;color:var(--ink2)}
.radio input{margin-top:4px}
/* stage 13: STLs and path profile */
.stltog{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;white-space:nowrap;cursor:pointer}
.profsvg{width:100%;height:auto;display:block;background:var(--surface);border:1px solid var(--line);border-radius:8px;margin-top:10px}
/* stage 14: path profile picking, claims, station contacts */
#pfmap{border-radius:8px;overflow:hidden;border:1px solid var(--line)}
.pfends{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}
.pfend{border:1px solid var(--line);border-radius:8px;padding:10px 12px;margin:0;min-width:0}
.pfend legend{font-weight:700;padding:0 6px}
.pfsearch{display:flex;gap:8px;margin-bottom:8px}.pfsearch .inp{flex:1}
.pfmeta{font-size:13px;margin-top:6px;color:var(--muted)}
.pfpin{background:none;border:0}.pfpin span{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#e8590c;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.4)}
.pfpin span b{transform:rotate(45deg);color:#fff;font-weight:800;font-size:13px}
.pfmin{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin-top:10px;font-size:14px}
.pfmin>div{border:1px solid var(--line);border-radius:8px;padding:8px 10px}
.pill.lic{background:var(--warnSoft);color:var(--warn)}
.vbadge{display:inline-flex;align-items:center;gap:4px;border-radius:6px;padding:3px 10px;font-size:13px;font-weight:700;background:var(--okSoft);color:var(--ok)}
.ctable td{vertical-align:top}
/* stage 15: engineers, reach */
.engcard{border:1px solid var(--line);border-radius:8px;padding:10px 12px;margin-bottom:8px}
.engh{display:flex;justify-content:space-between;gap:8px;align-items:baseline}
.engl{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:14px;margin-top:6px}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;padding:4px 10px;font-size:14px;cursor:pointer;background:var(--surface)}
#rhmap{height:380px}
@media (max-width:640px){#rhform label{grid-column:auto!important}}
.engkm{white-space:nowrap;font-size:13px;color:var(--muted)}
/* stage 16: height units at the boxes, tower log */
.hlab{display:flex;align-items:center;justify-content:space-between;gap:8px}
.unitsw{display:inline-flex;flex-shrink:0;border:1px solid var(--line);border-radius:6px;overflow:hidden}
.unitsw button{border:0;background:var(--surface);color:var(--ink2);font:inherit;font-size:13px;padding:2px 10px;cursor:pointer}
.unitsw button[aria-pressed="true"]{background:var(--brand);color:#fff}
.uin{position:relative;display:block}.uin .inp{width:100%;padding-right:38px}
.usfx{position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:14px;color:var(--muted);pointer-events:none}
.tlog h3{font-size:16px;margin:14px 0 6px}
.tlog .spform{margin-top:6px}
.tlrow{border:1px solid var(--line);border-radius:8px;padding:8px 10px;margin-bottom:8px;font-size:14px}
.tlrow.open{border-color:var(--warn);background:var(--warnSoft)}
dialog.lo{border:0;border-radius:12px;padding:0;max-width:560px;width:calc(100% - 32px);background:var(--surface);color:var(--ink)}
dialog.lo::backdrop{background:rgba(0,0,0,.45)}
.faabtn{display:block;text-align:center;background:#e8590c;color:#fff;font-weight:800;font-size:22px;border-radius:10px;padding:12px;text-decoration:none;margin:10px 0}
.lomenu{position:relative;display:inline-block}.lomenu>summary{list-style:none}.lomenu>summary::-webkit-details-marker{display:none}
.lomenu>div{position:absolute;z-index:20;top:calc(100% + 4px);left:0;display:flex;flex-direction:column;gap:6px;background:var(--card,#fff);border:1px solid var(--line);border-radius:8px;padding:8px;box-shadow:0 6px 20px rgba(0,0,0,.15)}
@media print{.tlog .btn,.tlog form,.tlog details>summary{display:none}}
@media (max-width:640px){.tlog .spform>label{grid-column:auto!important}.tlog .spform{grid-template-columns:1fr}}
/* stage 17: station logo, DX desk */
.stlogo{display:block;max-width:min(320px,100%);max-height:96px;width:auto;height:auto;object-fit:contain;object-position:left center}
.logobox{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}
.logoprev{flex:0 1 340px;min-height:110px;display:flex;align-items:center;justify-content:center;padding:12px;border:1px dashed var(--line);border-radius:10px;background:repeating-conic-gradient(rgba(127,127,127,.12) 0% 25%,transparent 0% 50%) 50%/16px 16px}
.logoprev img{max-width:100%;max-height:140px;object-fit:contain}
textarea.inp{height:auto;min-height:110px;padding-top:10px;padding-bottom:10px;resize:vertical;font:inherit}
.btn:disabled,.btn[disabled]{opacity:.5;cursor:not-allowed}
/* stage 18: tower log void/correct, admin */
.voided .vbody{text-decoration:line-through;opacity:.62}
.vnote{font-size:12px;color:var(--warn);font-weight:700;margin-bottom:2px}.vnote.ok{color:var(--muted);font-weight:600}
.fixd{margin-top:4px}.fixd summary{cursor:pointer;font-size:13px;color:var(--muted)}
[hidden]{display:none!important}
.adm h2{margin-bottom:8px}.adm table{width:100%;border-collapse:collapse}.adm td,.adm th{text-align:left;vertical-align:top;padding:8px 6px;border-bottom:1px solid var(--line);font-size:14px}
.adm .hl{outline:3px solid var(--brand);outline-offset:2px;border-radius:6px}
.admtabs{display:flex;flex-wrap:wrap;gap:8px}.admtabs button{padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:var(--surface,transparent);color:inherit;font:inherit;font-weight:600;font-size:14px;cursor:pointer}
.kpis{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.kpi{border:1px solid var(--line);border-radius:10px;padding:10px 12px}.kpi b{display:block;font-size:24px}.kpi span{font-size:13px;color:var(--muted)}
.adm h3{margin:18px 0 8px;font-size:17px}
/* stage 19: home page, glossary, tour, help, DX */
.herosrch .wrap{gap:14px}
.reachbtn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 26px;border-radius:12px;background:#fff;color:#0F1B2D;font-weight:800;font-size:18px;text-decoration:none;box-shadow:0 2px 10px rgba(0,0,0,.18)}
.reachbtn:hover{background:#eef3fb}
.dxtools{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;width:100%;max-width:860px}
.dxt{display:flex;flex-direction:column;gap:2px;text-align:left;padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.25);color:#fff;text-decoration:none}
.dxt span{font-size:13px;color:var(--headMuted)}.dxt:hover{background:rgba(255,255,255,.18)}
.homegrid{display:grid;grid-template-columns:minmax(0,380px) minmax(0,1fr);gap:16px;align-items:start}
.homegrid #homemap .lmap{height:520px!important}
@media (max-width:760px){.homegrid{grid-template-columns:1fr}.homegrid #homemap .lmap{height:360px!important}}
.nst{display:grid;grid-template-columns:auto auto 1fr auto;grid-template-areas:"c f m o" "n n n o";gap:0 10px;align-items:baseline;padding:9px 8px;border-bottom:1px solid var(--line);cursor:pointer;border-radius:8px}
.nst .rc{grid-area:c;font-weight:800}.nst .rf{grid-area:f;color:var(--brand)}.nst .rm{grid-area:m;justify-self:end;color:var(--muted);font-size:13px}.nst .nc{grid-area:n;font-size:13px;color:var(--muted)}
.nst .nopen{grid-area:o;align-self:center;font-size:13px;margin-left:6px}
.nst:hover,.nst:focus{background:var(--surface2,rgba(47,111,214,.06));outline:none}.nst.on{background:rgba(232,89,12,.1);box-shadow:inset 3px 0 0 #E8590C}
.roll{list-style:none;margin:10px 0 0;padding:0;overflow:hidden}
.roll li{border-bottom:1px solid var(--line);transition:transform .38s ease,opacity .38s ease,max-height .38s ease;max-height:64px}
.roll li a{display:grid;grid-template-columns:auto auto 1fr auto;gap:10px;align-items:baseline;padding:9px 4px;text-decoration:none;color:inherit}
.roll li a:hover{background:rgba(47,111,214,.06)}
.roll .rmsg{color:var(--ink2);font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.roll .rloc{font-size:13px;color:var(--muted);white-space:nowrap}
.roll .rt{font-size:12px;font-weight:700;padding:2px 8px;border-radius:999px;background:var(--line)}.roll .rt.new{background:#dff3e6;color:#11743a}.roll .rt.gone{background:#fbe3e3;color:#a32020}
.roll li.rin{transform:translateY(-100%);opacity:0;max-height:0}.roll li.rout{opacity:0;max-height:0}
.roll.paused{box-shadow:inset 0 0 0 2px rgba(47,111,214,.25);border-radius:8px}
.rollmsg{padding:8px 0;color:var(--muted)}
@media (max-width:640px){.roll li a{grid-template-columns:auto auto 1fr}.roll .rloc{display:none}}
.watchcard{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;justify-content:space-between}
.doors{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.door h2{margin:0 0 8px}.door ul{margin:0;padding-left:18px;line-height:1.9}
.gl{text-decoration:underline dotted;text-decoration-color:var(--muted);text-underline-offset:3px;cursor:help}
.gl:focus{outline:2px solid var(--brand);outline-offset:2px;border-radius:2px}
#gltip{position:absolute;z-index:3000;background:#14181f;color:#f4f5f7;padding:10px 12px;border-radius:10px;font-size:14px;line-height:1.45;box-shadow:0 8px 24px rgba(0,0,0,.25)}
#gltip b{display:block;margin-bottom:2px}
.tour{position:fixed;inset:auto 0 0 0;z-index:2500;display:flex;justify-content:center;padding:16px;pointer-events:none}
.tourbox{pointer-events:auto;max-width:460px;width:100%;background:var(--card,#fff);color:inherit;border:1px solid var(--line);border-radius:14px;padding:16px;box-shadow:0 12px 40px rgba(0,0,0,.3)}
.tourn{margin:0 0 6px;font-size:13px;color:var(--muted);font-weight:700}
.tourhl{outline:3px solid #E8590C;outline-offset:4px;border-radius:12px;position:relative;z-index:1}
.faq{border-bottom:1px solid var(--line);padding:10px 0}.faq summary{cursor:pointer;font-weight:700;font-size:17px}.faq p{margin:8px 0 0;line-height:1.55}

/* BUILD: RADIOLOOKUP-2026.11.08-stage22d - home page skin for the server-rendered home (STAGE22D-SKIN) */
/* Scoped to the server home block only (.ssr that holds .home-cards); works with or without JS. */
.ssr:has(.home-cards){padding:0;background:transparent;border:0;border-radius:0;margin-top:0}
/* dark hero band: H1 + intro lines before the cards, full width under the header */
.ssr:has(.home-cards)>h1,
.ssr:has(.home-cards)>h2:has(~ .home-cards),
.ssr:has(.home-cards)>p:has(~ .home-cards){
  background:var(--head);color:var(--headInk);text-align:center;margin:0;
  box-shadow:0 0 0 100vmax var(--head);clip-path:inset(-1px -100vmax);
  max-width:none;padding:4px max(0px,calc((100% - 860px) / 2));position:relative
}
.ssr:has(.home-cards)>h1{font-size:clamp(30px,4.6vw,48px);letter-spacing:-.5px;line-height:1.1;padding-top:44px;padding-bottom:10px}
.ssr:has(.home-cards)>h2:has(~ .home-cards){font-size:clamp(19px,2.4vw,24px);font-weight:500;color:var(--headMuted);padding-bottom:8px}
.ssr:has(.home-cards)>p:has(~ .home-cards){color:var(--headMuted);font-size:17px}
.ssr:has(.home-cards)>p:has(~ .home-cards):first-of-type{color:var(--headInk);font-size:clamp(17px,2vw,20px);padding-bottom:10px}
.ssr:has(.home-cards)>p:has(+ .home-cards){padding-bottom:40px;font-size:15px}
.ssr:has(.home-cards)>h1 a,.ssr:has(.home-cards)>h2 a,.ssr:has(.home-cards)>p:has(~ .home-cards) a{color:#fff;text-decoration-color:rgba(255,255,255,.5)}
.ssr:has(.home-cards)>h1 abbr,.ssr:has(.home-cards)>p:has(~ .home-cards) abbr,
.ssr:has(.home-cards)>h1 .gl,.ssr:has(.home-cards)>p:has(~ .home-cards) .gl{color:inherit;text-decoration-color:rgba(255,255,255,.45)}
/* the cards */
.ssr .home-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin:24px 0 8px}
.ssr .home-cards .card{display:flex;flex-direction:column;gap:8px;padding:18px 18px 16px;border-radius:14px;
  box-shadow:0 1px 2px rgba(15,27,45,.06);transition:border-color .15s,box-shadow .15s,transform .15s}
.ssr .home-cards .card:hover{border-color:var(--brand);box-shadow:0 6px 18px rgba(15,27,45,.10);transform:translateY(-1px)}
.ssr .home-cards .card h3{margin:0;font-size:18px;line-height:1.25;color:var(--ink)}
.ssr .home-cards .card p{margin:0;font-size:15px;color:var(--ink2);line-height:1.45}
.ssr .home-cards .card .card-cta{margin-top:auto;padding-top:6px}
.ssr .home-cards .card .card-cta a{font-weight:600;text-decoration:none}
.ssr .home-cards .card .card-cta a::after{content:" \2192"}
.ssr .home-cards .card-primary{border-color:var(--brand);background:var(--brandSoft);border-top-width:4px}
.ssr .home-cards .locked-label{display:inline-block;margin-left:4px;padding:1px 8px;border-radius:999px;font-size:12px;font-weight:600;background:var(--line2);color:var(--muted)}
/* trailing browse lines */
.ssr:has(.home-cards)>.home-cards ~ p,.ssr:has(.home-cards)>.home-cards ~ ul{font-size:14px;color:var(--muted);margin:10px 0 0}
.ssr:has(.home-cards)>.home-cards ~ p:last-child{margin-bottom:22px}
@media (min-width:900px){
  .ssr .home-cards:has(> .card:nth-child(6)){grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:640px){
  .ssr:has(.home-cards)>h1{padding-top:30px}
  .ssr:has(.home-cards)>p:has(+ .home-cards){padding-bottom:28px}
  .ssr .home-cards{grid-template-columns:1fr}
}
/* BUILD: RADIOLOOKUP-2026.11.08-stage23 - home page order on radio, TV and broadcast (STAGE23-HOME):
   H1 + intro, map, quick buttons, stations near you, smaller cards, FCC news, browse links. dxlookup.com is untouched. */
.ssr:has(.home23){padding:0;background:transparent;border:0;border-radius:0;margin-top:0}
.home23 .home-hero{background:var(--head);color:var(--headInk);text-align:center;margin:0 calc(-1 * var(--gut,24px));padding:28px var(--gut,24px) 22px;border-radius:0 0 16px 16px}
.home23 .home-hero h1{font-size:clamp(28px,4.4vw,46px);letter-spacing:-.5px;line-height:1.1;margin:0 auto 10px;max-width:900px;color:var(--headInk)}
.home23 .home-hero .home-intro{margin:0 auto;max-width:760px;font-size:clamp(16px,2vw,20px);line-height:1.4;color:var(--headInk)}
.home23 .home-hero .home-sub{margin:8px auto 0;max-width:760px;font-size:14px;color:var(--headMuted)}
.home23 .home-mapslot{margin:16px 0 0;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--surface);min-height:520px}
.home23 .home-mapslot>.homemapc{border:0;border-radius:0;margin:0}
.home23 #homemap .lmap{height:520px!important}
.home23 .home-mapwait{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:520px;text-decoration:none;font-weight:600;color:var(--ink2);background:var(--line2)}
.home23 .home-mapwait span{font-weight:400;font-size:14px;color:var(--muted)}
.home23 .home-quick{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}
.home23 .qb{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-weight:600;font-size:15px;text-decoration:none;white-space:nowrap}
.home23 .qb:hover,.home23 .qb:focus-visible{border-color:var(--brand);background:var(--brandSoft);color:var(--brand)}
.home23 .qb-band{font-weight:700}
.home23 .qb-am{border-color:var(--am);color:var(--am)}.home23 .qb-fm{border-color:var(--fm);color:var(--fm)}.home23 .qb-tv{border-color:var(--tv);color:var(--tv)}
.home23 .home-near{margin:16px 0 0}
.home23 .home-near>.homelist{margin:0}
.home23 .home-near>.near-label{margin:0 0 4px}
.home23 .home-near>ul{columns:2 260px;margin:0;padding-left:18px;font-size:15px}
.home23 .home-news{margin:22px 0 0;padding:16px 20px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.home23 .home-news h2{margin:0 0 6px;font-size:20px}
.home23 .home-newslist{list-style:none;margin:0;padding:0;columns:auto}
.home23 .home-newslist li{padding:8px 0;border-bottom:1px solid var(--line2);line-height:1.4}
.home23 .home-newslist li a{font-weight:600;text-decoration:none}
.home23 .home-newslist li a:hover{text-decoration:underline}
.home23 .home-newslist .nd{font-size:13px;color:var(--muted);white-space:nowrap}
.home23 .home-newslist[data-empty]{display:none}
.home23 .home-newsmore{margin:8px 0 0;font-size:14px;color:var(--muted)}
.home23 .home-browse{margin:18px 0 22px}
.home23 .home-browse p{font-size:14px;color:var(--muted);margin:8px 0 0}
@media (max-width:760px){
  .home23 .home-mapslot,.home23 .home-mapwait{min-height:340px}
  .home23 #homemap .lmap{height:340px!important}
}
@media (max-width:640px){
  .home23 .home-hero{padding:20px var(--gut,14px) 16px;border-radius:0 0 12px 12px}
  .home23 .home-quick{gap:6px}
  .home23 .qb{min-height:38px;padding:0 12px;font-size:14px}
  .home23 .home-news{padding:14px}
}
/* BUILD: RADIOLOOKUP-2026.11.08-stage24 - feature cards gone from radio/TV/broadcast home pages, FCC releases list,
   "Take the tour" link instead of the tour opening by itself (STAGE24-HOME) */
.home23 .tourlink{font:inherit;font-size:inherit;background:none;border:0;padding:0;color:var(--headInk);text-decoration:underline;text-decoration-color:rgba(255,255,255,.5);text-underline-offset:3px;cursor:pointer}
.home23 .tourlink:hover,.home23 .tourlink:focus-visible{text-decoration-color:#fff}
.home23 .home-newsnone{margin:4px 0 0;color:var(--ink2)}
.home23 .home-newslist .nd{margin-left:2px}
/* BUILD: RADIOLOOKUP-2026.11.08-stage26 - quick map of nearby stations while the full list loads (STAGE26-FASTMAP) */
.home23 .fastmap{height:520px;background:var(--map,#e8edf3);z-index:0}
.home23 .fastnote{border-bottom:0;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
@media (max-width:760px){.home23 .fastmap{height:340px}}
#app:has(.home23)>.ssrnote{display:none}
/* BUILD: RADIOLOOKUP-2026.11.08-stage27 - Print / Save PDF for station pages (STAGE27-PRINT) */
.prlist{display:flex;flex-direction:column;gap:4px;max-height:50vh;overflow:auto}
.prrow{display:flex;align-items:center;gap:8px;font-size:15px;padding:4px 0}
.prhead{display:none}
@media print{
  :root,:root[data-theme="dark"]{--bg:#fff;--surface:#fff;--ink:#000;--ink2:#222;--muted:#444;--line:#ccc;--line2:#e5e5e5;--brand:#1F5FBF;--brandSoft:#fff}
  html,body{background:#fff!important;color:#000}
  header.top,footer.sitefoot,#app footer.foot,.crumbs,.setbar,.rts,#engcard,#heardcard,.toast,#gltip,.tour,dialog,.noprint,
  #app .stack>section.card:first-of-type .btn,#app .stack>section.card:first-of-type button,
  .leaflet-control-container,.maptools a,.sbother,#printbtn{display:none!important}
  main .wrap{max-width:none;padding:0}
  .prhead{display:block;margin:0 0 10px;padding-bottom:6px;border-bottom:2px solid #000;font-size:12px}
  .prhead b{display:block;font-size:16px}
  #app .stack{gap:10px}
  .row{display:block!important}
  .row>*{width:auto!important;margin:0 0 10px!important}
  .card{box-shadow:none!important;border:1px solid #bbb!important;break-inside:avoid;page-break-inside:avoid}
  .card table{font-size:12px}
  .card table tr{break-inside:avoid}
  .scroll{overflow:visible!important}
  .leaflet-container{height:420px!important;margin:0 auto;break-inside:avoid}
  a{color:#000;text-decoration:none}
  .gl{text-decoration:none}
  @page{margin:12mm}
}
/* BUILD: RADIOLOOKUP-2026.11.08-stage28 - My sites (STAGE28-MYSITES) */
.mysites h2{margin:0 0 8px}
.mysites table{width:100%;border-collapse:collapse}
.mysites td,.mysites th{text-align:left;vertical-align:top;padding:8px 6px;border-bottom:1px solid var(--line);font-size:14px}
.mysites .pill{margin:0 4px 2px 0}
.ms-muted{color:var(--muted)}
.ms-bad{color:#B42318;font-weight:700}
.ms-warn{color:#B54708;font-weight:700}
.kpi.ms-bad{border-color:#B42318}.kpi.ms-bad b{color:#B42318}
.kpi.ms-warn{border-color:#B54708}.kpi.ms-warn b{color:#B54708}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .ms-bad,:root:not([data-theme="light"]) .kpi.ms-bad b{color:#F97066}:root:not([data-theme="light"]) .ms-warn,:root:not([data-theme="light"]) .kpi.ms-warn b{color:#FDB022}}
:root[data-theme="dark"] .ms-bad,:root[data-theme="dark"] .kpi.ms-bad b{color:#F97066}:root[data-theme="dark"] .ms-warn,:root[data-theme="dark"] .kpi.ms-warn b{color:#FDB022}
/* BUILD: RADIOLOOKUP-2026.11.08-stage30 - STL links on the station map are off until ticked in the STL table (STAGE30-STL) */
.stlmapt{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:13px;cursor:pointer}
.stlmapt input{width:16px;height:16px;margin:0;cursor:pointer}
.stlmapt.stlall{margin:0 0 8px;font-size:14px;font-weight:600}
td .stlmapt{margin-top:4px;color:var(--ink2);font-size:12px;gap:4px}
td .stlmapt input{width:14px;height:14px}
@media print{.stlmapt{display:none}}
/* BUILD: RADIOLOOKUP-2026.11.08-stage31 - distance rings switch on station, tower and earth station maps (STAGE31-RINGS) */
.ringtog{display:flex!important;align-items:center;gap:6px;padding:5px 9px;background:var(--surface,#fff);color:var(--ink);font-size:13px;font-weight:600;cursor:pointer;line-height:1.2;user-select:none}
.ringtog input{width:15px;height:15px;margin:0;cursor:pointer}
/* BUILD: RADIOLOOKUP-2026.11.08-stage33 - NextGen TV by market page (STAGE33-NEXTGEN) */
.nextgen h2{font-size:19px}
.nextgen table{width:100%;border-collapse:collapse}
.nextgen td,.nextgen th{text-align:left;padding:7px 6px;border-bottom:1px solid var(--line);font-size:14px}
.ngf{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:end;margin-top:12px}
.ngf label{display:flex;flex-direction:column;gap:4px;font-size:14px}
.ngf label.stlmapt{flex-direction:row}
.ng3{background:#DCFCE7;color:#166534;font-size:13px;vertical-align:middle}
/* STAGE38-FCCWATCH */
.fw h1{font-size:clamp(26px,4vw,34px);margin:0 0 6px}
.fw-lead{color:var(--ink2);margin:0 0 16px;max-width:860px}
.fw-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}
.fw-card h2{font-size:18px;margin:0 0 4px}.fw-card h2 a{color:inherit}
.fw-count{font-size:12px;font-weight:500;color:var(--muted);background:var(--bg2,rgba(127,127,127,.12));border-radius:999px;padding:2px 8px;vertical-align:middle;white-space:nowrap}
.fw-desc{font-size:13px;color:var(--muted);margin:0 0 8px}
.fw-list{list-style:none;margin:0;padding:0}.fw-list li{padding:7px 0;border-top:1px solid var(--line,rgba(127,127,127,.2));font-size:14px;overflow-wrap:anywhere}.fw-list li:first-child{border-top:0}
.fw-meta{font-size:12px;color:var(--muted)}
.fw-more{font-size:13px;margin:8px 0 0}.fw-empty{font-size:13px;color:var(--muted)}
.fw-table{width:100%;border-collapse:collapse;font-size:14px}.fw-table td,.fw-table th{padding:6px 8px;border-top:1px solid var(--line,rgba(127,127,127,.2));text-align:left;vertical-align:top}
.fw-cols{columns:3 220px;font-size:13px;margin:0 0 12px;padding-left:18px}
.fw>section.card+section.card{margin-top:14px}.fw h3{font-size:15px;margin:14px 0 4px}
.fw-next{opacity:.75}
