[hidden]{display:none !important}
*{box-sizing:border-box}
body{margin:0;background:#0e1113;color:#e8eaed;font-family:'IBM Plex Sans',system-ui,sans-serif;font-size:15px;line-height:1.45}
a{color:#7cc4ff}a:hover{color:#b3dcff}
h1{margin:0;font-size:26px;font-weight:700}
h2{margin:0 0 10px;font-size:18px}
.wrap{max-width:1360px;margin:0 auto;padding:20px 16px 64px;display:flex;flex-direction:column;gap:18px}
.mono{font-family:'IBM Plex Mono',monospace}
.muted{color:#a3adb7}.small{font-size:13px}
.row{display:flex;align-items:center}.gap6{gap:6px}.gap8{gap:8px}.wrapline{flex-wrap:wrap}
.stack6{display:flex;flex-direction:column;gap:6px}.stack8{display:flex;flex-direction:column;gap:8px}
.label{font-size:12px;font-weight:700;letter-spacing:.08em;color:#a3adb7}
.top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}
.btn{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:0 14px;border-radius:10px;border:1px solid #3a434c;background:#171b1f;color:#e8eaed;text-decoration:none;font:inherit;font-weight:600;font-size:14px;cursor:pointer}
.btn:hover{border-color:#6b7580;color:#fff}
.btn.wide{display:flex;width:100%}
.btn.big{min-height:52px;font-size:16px}
.btn.light{background:#e8eaed;color:#0e1113;border-color:#e8eaed}
.card{background:#171b1f;border:1px solid #2a3036;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:8px;min-width:0}
.card-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px}
.card-head h2{margin:0}
.cols{display:flex;flex-wrap:wrap;gap:18px;align-items:flex-start}
.main-col{flex:999 1 620px;min-width:0;display:flex;flex-direction:column;gap:18px}
.side-col{flex:1 1 340px;min-width:0;display:flex;flex-direction:column;gap:18px}

.banner{border-radius:14px;padding:20px;display:flex;flex-wrap:wrap;gap:18px;align-items:center;border:2px solid}
.banner-main{flex:999 1 460px;min-width:0;display:flex;flex-direction:column;gap:6px}
.b-tag{font-size:13px;font-weight:700;letter-spacing:.12em}
.b-title{font-size:28px;font-weight:700;line-height:1.2}
.b-sub{color:#d5dade}
.banner-facts{flex:1 1 260px;display:flex;flex-direction:column;gap:6px;font-size:14px}
.banner-facts div{display:flex;justify-content:space-between;gap:12px}
.lvl0{background:#0f241b;border-color:#34d399}.lvl0 .b-tag{color:#34d399}
.lvl1{background:#2a2210;border-color:#f59e0b}.lvl1 .b-tag{color:#fbbf24}
.lvl2{background:#2a2210;border-color:#f59e0b}.lvl2 .b-tag{color:#fbbf24}
.lvl3{background:#2c1214;border-color:#ef4444}.lvl3 .b-tag{color:#f87171}
.lvl4{background:#3a0d10;border-color:#f87171}.lvl4 .b-tag{color:#fca5a5}

.alerts{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.alert{background:#171b1f;border:1px solid #2a3036;border-radius:10px;padding:12px 14px;display:flex;flex-direction:column;gap:4px}
.alert summary{cursor:pointer;list-style:none}
.alert .st{font-size:12px;font-weight:700;letter-spacing:.08em}
.alert.red{border-color:#ef4444}.alert.red .st{color:#f87171}
.alert.amber{border-color:#f59e0b}.alert.amber .st{color:#fbbf24}
.alert.none .st{color:#a3adb7}
.alert pre{white-space:pre-wrap;font-family:inherit;font-size:13px;color:#c9d0d6;margin:6px 0 0}

.inc{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:12px;border-radius:10px;background:#1a1f24;border:1px solid #2a3036}
.inc.elevated{background:#2a2210;border-color:#f59e0b}
.inc.critical{background:#2c1214;border-color:#ef4444}
.tierbadge{font-size:11px;font-weight:700;letter-spacing:.08em;padding:4px 8px;border-radius:6px;color:#0e1113;min-width:84px;text-align:center}
.elevated .tierbadge{background:#f59e0b}.outer .tierbadge{background:#94a3b8}.critical .tierbadge{background:#ef4444}
.inc-main{flex:999 1 240px;min-width:0;display:flex;flex-direction:column}
.inc-side{flex:1 1 180px;display:flex;flex-direction:column;align-items:flex-end;font-family:'IBM Plex Mono',monospace;font-size:13px}
.empty{padding:12px;border-radius:10px;background:#0f241b;border:1px solid #34d399;color:#34d399;font-weight:600}
.err{color:#fbbf24;font-size:13px}

.roads{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:8px;font-size:14px}
.road{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;background:#1d2227;border:1px solid #2a3036}
.road.closed{background:#2c1214;border-color:#ef4444}
.road .s{font-weight:600;text-align:right}
.road.closed .s{color:#f87171}.road .s.ok{color:#34d399}
.road .note{font-size:12px;color:#a3adb7}

.split{display:flex;flex-wrap:wrap;gap:16px}
.split-side{flex:1 1 240px;min-width:0;display:flex;flex-direction:column;gap:8px}
.map{flex:999 1 400px;min-height:360px;border-radius:10px;border:1px solid #2a3036;background:#0b0e10}
.ac{padding:10px;background:#1d2227;border-radius:8px;font-size:14px;border:1px solid transparent;color:#e8eaed;font:inherit;font-size:14px;text-align:left;cursor:pointer;width:100%}
.ac:hover{border-color:#6b7580}
.ac-photo{width:100%;border-radius:8px;display:block}
.cam-name{background:none;border:0;padding:0;color:#7cc4ff;font:inherit;font-size:13px;text-align:left;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.cam{text-decoration:none}
.ac.fire{border:1px solid #f59e0b}
.windy{width:100%;height:320px;border:1px solid #2a3036;border-radius:10px}
.table-box{overflow-x:auto;border:1px solid #2a3036;border-radius:10px}
table{width:100%;border-collapse:collapse;font-size:14px;min-width:620px}
th{text-align:left;color:#a3adb7;font-size:12px;letter-spacing:.06em;padding:8px 10px}
td{padding:8px 10px;border-top:1px solid #2a3036}
td.mono{font-family:'IBM Plex Mono',monospace}

.grid4{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}
.cam{display:flex;flex-direction:column;gap:6px;text-decoration:none;color:#e8eaed}
.cam .frame{aspect-ratio:16/9;border-radius:8px;background:linear-gradient(#2b3a4a,#3c3a32 60%,#2a2a22);display:flex;align-items:flex-end;padding:6px;font-size:11px;font-family:'IBM Plex Mono',monospace;overflow:hidden;position:relative}
.cam .frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.station{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:48px;padding:6px 12px;border-radius:8px;background:#1d2227;border:1px solid #2a3036;text-decoration:none;color:#e8eaed;font-weight:600;font-size:14px}
.station .n{font-size:12px;color:#a3adb7;font-weight:400}

.report{background:#2a1416;border-color:#7f1d1d}
.call911{display:flex;justify-content:space-between;align-items:center;min-height:52px;padding:0 16px;background:#dc2626;color:#fff;text-decoration:none;border-radius:10px;font-weight:700;font-size:18px}
.call911:hover{color:#fff}
.line{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-top:1px solid #2a3036;font-size:14px}
.report .line{border-top-color:#4a2326}
.report .line a{color:#ffd6d6}
.line .n{font-size:12px;color:#a3adb7}
.report .line .n{color:#c9a9a9}
.line .r{font-family:'IBM Plex Mono',monospace;text-align:right;white-space:nowrap}
.pill-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px;border-radius:10px;background:#1d2227}
.pill-row.strong{border:1px solid #3a434c}
.tcep-box{padding:12px;background:#1d2227;border-radius:10px;white-space:pre-line;font-size:14px;max-height:260px;overflow:auto}
.grid-aqi{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:8px;text-align:center}
.aqi{background:#1d2227;border-radius:8px;padding:10px}
.aqi .v{font-family:'IBM Plex Mono',monospace;font-size:22px}
.aqi .n{font-size:12px;color:#a3adb7}
.handle{padding:6px 10px;border-radius:999px;background:#1d2227;border:1px solid #2a3036;text-decoration:none;font-size:13px;font-family:'IBM Plex Mono',monospace}
.tier{padding:10px;border-radius:8px}
.t-push{background:#2a2210;border:1px solid #f59e0b}.t-push b{color:#fbbf24}
.t-crit{background:#2c1214;border:1px solid #ef4444}.t-crit b{color:#f87171}
.nb{display:flex;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:8px;background:#1d2227;font-size:14px}
footer{border-top:1px solid #2a3036;padding-top:12px}
.leaflet-container{background:#0b0e10}
.leaflet-tile-pane{filter:invert(1) hue-rotate(180deg) brightness(.85) contrast(.9)}
.wind-ctl{background:#171b1f;border:1px solid #3a434c;border-radius:10px;padding:8px 10px;color:#e8eaed;font:600 13px 'IBM Plex Sans',sans-serif;display:flex;align-items:center;gap:10px;box-shadow:0 2px 8px rgba(0,0,0,.4)}
.wind-ctl .arr{font-size:30px;line-height:30px;color:#7cc4ff;display:inline-block}
.wind-ctl .num{font-family:'IBM Plex Mono',monospace;font-size:15px}
.wind-ctl .lbl{font-size:11px;color:#a3adb7;font-weight:400}
@media (max-width:600px){.b-title{font-size:22px}h1{font-size:21px}.map{min-height:300px}}
.station.playing{background:#34d399;border-color:#34d399;color:#0e1113}
.station.playing .n{color:#1f2a1f}
.overlay{position:fixed;inset:0;background:rgba(0,0,0,.7);z-index:2000;display:flex;align-items:center;justify-content:center;padding:12px}
.overlay[hidden]{display:none}
.overlay-box{background:#171b1f;border:1px solid #2a3036;border-radius:12px;width:min(1200px,100%);height:min(860px,100%);display:flex;flex-direction:column;overflow:hidden}
.overlay-map{flex:1;min-height:0}
.cam-pop img{width:260px;max-width:70vw;border-radius:6px;display:block;margin-top:6px}
.cam-num{background:#f59e0b;color:#0e1113;border-radius:999px;font:700 11px 'IBM Plex Sans',sans-serif;width:22px;height:22px;display:flex;align-items:center;justify-content:center;border:2px solid #0e1113}
.cam-num.minor{background:#93c5fd}
.inc{cursor:pointer;width:100%;text-align:left;font:inherit;color:inherit}
.inc:hover{filter:brightness(1.15)}
.fire-body{flex:1;min-height:0;display:flex;flex-wrap:wrap}
.fire-map{flex:999 1 420px;min-height:300px}
.fire-info{flex:1 1 320px;min-width:0;overflow:auto;padding:14px;display:flex;flex-direction:column;gap:10px;font-size:14px;max-height:100%}
.kv{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-top:1px solid #2a3036}
.kv span:last-child{text-align:right}
.hist{font-family:'IBM Plex Mono',monospace;font-size:12px;padding:6px 0;border-top:1px solid #2a3036}
@media (max-width:700px){.fire-body{flex-direction:column;overflow:auto}.fire-map{min-height:260px;flex:0 0 260px}.fire-info{overflow:visible}}
.sheet{background:#171b1f;border:1px solid #2a3036;border-radius:12px;width:min(440px,100%);max-height:100%;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:10px}
.report-btn{background:#dc2626;border-color:#dc2626;color:#fff}
.report-btn:hover{color:#fff}
button.nb{border:1px solid #2a3036;color:#e8eaed;font:inherit;font-size:14px;cursor:pointer;text-align:left}
button.nb:hover{border-color:#6b7580}
.test-bar{position:sticky;top:0;z-index:1500;background:#b91c1c;color:#fff;font-weight:700;letter-spacing:.06em;padding:12px 16px;border-radius:10px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;box-shadow:0 4px 16px rgba(0,0,0,.5)}
.stamped{position:relative;outline:3px dashed #ef4444;outline-offset:2px}
.stamped::before{content:'TEST MODE - NOT REAL';position:absolute;top:8px;right:8px;z-index:500;background:#b91c1c;color:#fff;font:700 12px 'IBM Plex Sans',sans-serif;letter-spacing:.08em;padding:4px 8px;border-radius:6px;transform:rotate(-2deg);pointer-events:none}
.input{min-height:44px;padding:0 12px;border-radius:10px;border:1px solid #3a434c;background:#0e1113;color:#e8eaed;font:inherit;flex:1 1 160px}
.grad-note{background:#1d2227;border-radius:10px;padding:10px 12px;color:#c9d0d6;line-height:1.5}
button.nb.picked{border-color:#34d399;background:#12261d}
.nb .chk{font-size:18px;margin-right:6px}
button.nb{display:flex;align-items:center;gap:8px}
.switch-row{display:flex;align-items:center;gap:10px;min-height:44px;font-size:15px;cursor:pointer}
.switch-row input{width:22px;height:22px;accent-color:#34d399}
