:root{color-scheme:dark;--bg:#101820;--panel:#17232e;--card:#1d2c38;--line:#30414e;--text:#eff4f6;--muted:#a1b2be;--green:#66d8ae;--amber:#f0bf70;--gray:#81919f;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:14px}header{height:76px;border-bottom:1px solid var(--line);padding:0 max(24px,calc((100vw - 1550px)/2));display:flex;align-items:center;justify-content:space-between;gap:16px;background:#141f29}.brand,.header-right{display:flex;align-items:center;gap:14px}.brand-icon{color:var(--green);border:1px solid #3c7669;background:#193b36;border-radius:12px;width:46px;height:46px;display:grid;place-items:center}.brand-icon svg{width:32px}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:750;color:var(--muted)}.brand-name{font-size:23px;font-weight:800;letter-spacing:.5px}.brand-name span{color:var(--green);font-weight:500}.header-right a,a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}.connection{font-size:12px;border:1px solid var(--line);padding:7px 10px;border-radius:30px;display:flex;align-items:center;gap:7px;white-space:nowrap}.connection i,.dot{width:8px;height:8px;border-radius:50%;background:var(--gray);display:inline-block;flex:none}.connection.ok i,.dot.green{background:var(--green)}.connection.warn i{background:var(--amber)}main{max-width:1600px;margin:auto;padding:26px 24px}.intro{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:22px}h1{font-size:34px;letter-spacing:-1.3px;line-height:1.1;margin:7px 0}p{color:var(--muted);margin:0}button{font:inherit;color:var(--text);background:#253844;border:1px solid #3a5261;border-radius:8px;padding:10px 13px;cursor:pointer;font-weight:650}button:hover{background:#344d5a}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:2px solid var(--green);outline-offset:3px}.intro button{background:#24574c;border-color:#3a8472;color:#eafff6;white-space:nowrap}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.metrics>div{border:1px solid var(--line);background:var(--panel);padding:15px 17px;border-radius:12px;min-width:0}.metrics small{font-size:10px;color:var(--muted);letter-spacing:1px;font-weight:700;display:block;margin-bottom:7px}.metrics strong{display:block;font-size:24px;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.metrics em{font-size:14px;color:var(--muted);font-style:normal}.workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(325px,385px);gap:16px;align-items:start}.map-panel,.stations-panel{background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow:hidden;min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 16px;border-bottom:1px solid var(--line)}h2{font-size:17px;margin:0 0 4px}.panel-head small,.map-foot,.freq{font-size:11px;color:var(--muted)}.panel-head button{font-size:12px;white-space:nowrap}.freq{white-space:nowrap;border:1px solid var(--line);padding:6px;border-radius:6px}.map-wrap{position:relative}#map{height:clamp(480px,68vh,840px);background:#dce6df;z-index:0;color:#15212a}.map-warning{position:absolute;top:15px;left:50%;transform:translateX(-50%);width:max-content;max-width:80%;z-index:500;background:#fff;color:#273540;padding:10px 14px;border-radius:8px;box-shadow:0 2px 10px #0003;text-align:center}.map-legend{position:absolute;bottom:26px;left:12px;z-index:400;color:#26323a;background:#fff;padding:9px 12px;border-radius:7px;display:flex;gap:14px;font-size:11px;box-shadow:0 1px 8px #0003}.map-legend span{display:flex;align-items:center;gap:5px}.map-legend .green{background:#168761}.map-foot{padding:12px 15px;display:flex;justify-content:space-between;gap:10px;align-items:center}.map-foot label{display:flex;gap:5px;align-items:center;cursor:pointer}.map-foot input{accent-color:var(--green)}.stations{padding:12px;display:grid;gap:10px}.station{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:13px;min-width:0}.station.selected{border-color:var(--green)}.station-top{display:flex;align-items:center;gap:9px}.station-name{font-weight:800;font-size:16px;letter-spacing:.3px}.station-state{margin-left:auto;display:flex;gap:5px;align-items:center;font-size:10px;color:var(--muted);white-space:nowrap}.station.active .station-state{color:var(--green)}.station-time{font-size:11px;color:var(--muted);margin:7px 0 10px}.station-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;border-top:1px solid var(--line);padding:10px 0}.station-grid small,.detail-label{display:block;font-size:10px;color:var(--muted);margin-bottom:3px}.station-grid strong{font-size:13px;font-variant-numeric:tabular-nums}.station-coord{font:11px ui-monospace,monospace;color:var(--muted);overflow-wrap:anywhere}.station-comment{font-size:12px;line-height:1.45;overflow-wrap:anywhere;margin:9px 0}.station-actions{display:flex;justify-content:space-between;align-items:center;margin-top:10px;gap:5px}.station-actions button{padding:6px 9px;font-size:11px}.station-actions a{font-size:11px}.station details{margin-top:8px;font-size:11px;color:var(--muted);overflow-wrap:anywhere}.station summary{cursor:pointer}.station details p{margin-top:7px}.symbol{position:relative;display:inline-grid;place-items:center;flex:none;width:28px;height:28px;background:#e9f0f1;border-radius:6px;color:#283d46;font-size:10px;font-weight:800}.symbol img{position:absolute;width:448px;height:auto;max-width:none}.sprite-clip{position:absolute;width:28px;height:28px;overflow:hidden;inset:0;border-radius:6px}.symbol .overlay{position:absolute;right:0;top:0;color:#182d36;background:#fff;border:1px solid #253845;border-radius:3px;padding:0 2px;font-size:9px}.map-marker{background:none;border:none}.marker-shell{border:2px solid #248b6b;border-radius:9px;background:white;box-shadow:0 2px 8px #0005;display:grid;place-items:center;width:36px;height:36px}.marker-shell.old{border-color:#82909a;opacity:.8}.leaflet-tooltip.aprs-label{font-weight:750;border:0;box-shadow:0 1px 5px #0003;color:#193039}.leaflet-popup-content{line-height:1.6}.leaflet-popup-content button{color:#152c31;background:#e5f5ed;font-size:12px}.notice{background:#42351e;border:1px solid #7e6538;color:#ffe2aa;padding:12px 15px;border-radius:9px;margin-bottom:15px}.notice[hidden],.map-warning[hidden]{display:none}footer{display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:11px;margin-top:18px;line-height:1.6}.sep{margin:0 4px}@media(max-width:900px){.workspace{grid-template-columns:1fr}.stations{grid-template-columns:repeat(2,minmax(0,1fr))}#map{height:55vh;min-height:340px}.metrics{grid-template-columns:repeat(2,1fr)}}@media(max-width:550px){header{padding:0 12px;height:65px}.header-right{gap:6px}.header-right>a{display:none}.brand-icon{width:38px;height:38px}.brand-name{font-size:18px}.brand .eyebrow{font-size:8px;letter-spacing:.6px}.brand{gap:7px}main{padding:18px 12px}.intro{align-items:start}.intro h1{font-size:27px}.intro p{font-size:12px}.intro button{font-size:11px;padding:9px}.metrics{gap:8px}.metrics>div{padding:11px}.metrics small{font-size:9px;letter-spacing:.5px}.metrics strong{font-size:19px}.stations{grid-template-columns:1fr}footer{flex-direction:column}.map-foot{flex-wrap:wrap}.panel-head{padding:13px 12px}.freq{font-size:10px}}

.empty-stations{grid-column:1/-1;padding:22px 15px;border:1px dashed var(--line);border-radius:10px;color:var(--muted);text-align:center;line-height:1.6;font-size:14px;}
