/* Full-window regional map. All zone statuses stay unknown until official feeds exist. */
body.map-layout{height:100dvh;min-height:420px;overflow:hidden}
.map-layout .topbar{height:72px;min-height:72px;padding:10px 22px;position:relative;z-index:8;box-shadow:0 4px 24px #0005}
.map-layout .radar{width:43px;height:43px}
.map-layout .brand strong{font-size:18px}
.map-layout .brand small{font-size:12px}
.map-layout .layout{position:relative;display:block;width:100%;max-width:none;height:calc(100dvh - 112px);margin:0;padding:0;min-height:308px}
.map-layout .map-column{position:relative;height:100%;width:100%}
.map-layout #map-shell{position:absolute;inset:0;height:100%;min-height:0;border:0;border-radius:0;background:#081622}
.map-layout #map{background:radial-gradient(ellipse at 40% 48%,#132d3e,#07141f 80%)}
.map-layout .ocean{fill:#081722}
.map-layout .gridline{stroke:#1b3341;stroke-width:.5;opacity:.5}
.map-layout .country{fill:#101f29;stroke:#29404d;stroke-width:.7}
.map-layout .region{fill:#16303e;stroke:#59a3b8;stroke-width:1.15}
.map-layout .region:hover,.map-layout .region:focus{fill:#26526a;stroke:#a5e0ec}
.map-layout .region.selected{fill:#28576b;stroke:#a6e7f8;stroke-width:1.9}
.map-layout .map-top{position:absolute;z-index:3;left:20px;top:16px;display:block;max-width:calc(100% - 400px);pointer-events:none}
.map-layout .map-top h1{font-size:22px;margin:0 0 6px;text-shadow:0 2px 5px #000}
.map-layout .map-top .eyebrow{display:none}
.map-layout .preview-badge{display:inline-block;font-size:10px;padding:4px 8px;background:#102635ed}
.map-layout .search-wrap{position:absolute;left:20px;top:88px;width:340px;margin:0;background:#0e2334f5;box-shadow:0 4px 24px #0005;z-index:7}
.map-layout .search-wrap input{font-size:14px;padding:12px 4px}
.map-layout .search-wrap>span{font-size:25px;padding:0 11px}
.map-layout .sidebar{position:absolute;z-index:5;right:18px;top:18px;bottom:18px;width:320px;max-height:calc(100% - 36px);overflow-y:auto;background:#0d1c2cf2;box-shadow:0 8px 35px #0006;scrollbar-width:thin;scrollbar-color:#365367 transparent}
.map-layout .sidebar h2{font-size:20px}
.map-layout .sidebar-heading{padding:14px 16px 0;gap:8px}
.map-layout #region-card{padding:6px 16px 16px}
.map-layout #region-card dl{margin:12px 0;font-size:12px}
.map-layout .region-status{font-size:13px;padding:10px}
.map-layout .muted{font-size:12px}
.map-layout .feed{padding:16px}
.map-layout .empty-state{padding:16px 2px 4px}
.map-layout .empty-state svg{width:32px}
.map-layout .empty-state h3{font-size:14px}
.map-layout .empty-state p{font-size:12px}
.map-layout .channel-card{padding:16px}
.map-layout .map-controls{right:356px;top:45%;gap:6px}
.map-layout .map-controls button{width:40px;height:40px;background:#102534f5;font-size:24px}
.map-layout .legend{position:absolute;left:20px;bottom:112px;z-index:3;width:330px;display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;padding:13px 15px;background:#0c202feF;border:1px solid #345269;border-radius:10px;font-size:12px;box-shadow:0 8px 30px #0004}
.map-layout .notice{position:absolute;left:20px;bottom:18px;width:440px;max-width:calc(100% - 415px);z-index:3;padding:11px 13px;font-size:12px;background:#0d2232ed}
.map-layout .notice>span{font-size:18px}
.map-layout .map-note{left:auto;right:356px;bottom:8px;font-size:10px;background:#0b1b28b5}
.map-layout .attribution{right:356px;bottom:32px;font-size:10px;opacity:.8;pointer-events:none}
.map-layout footer{height:40px;padding:10px 20px;background:#0a1727;position:relative;z-index:8;gap:8px;align-items:center;font-size:11px;line-height:1.3}
.map-layout footer button{font-size:11px}
.map-layout #panel-toggle{display:none}
.map-layout .region-label,.map-layout .city-label{pointer-events:none;paint-order:stroke fill;stroke:#081722;stroke-width:3px;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.map-layout .region-label{fill:#98b6c6;font-weight:500;opacity:.85}
.map-layout .city-label text{fill:#deebf3;font-weight:600}
.map-layout .city-label circle{fill:#9bd8ec;stroke:#0b2130;stroke-width:1.2px}
@media(max-width:900px){
 .map-layout .sidebar{display:none;left:12px;right:12px;bottom:50px;top:auto;width:auto;max-height:56%;border-color:#50718a;background:#0c2030fa}
 .map-layout.panel-open .sidebar{display:block}
 .map-layout #panel-toggle{display:block;position:absolute;right:14px;bottom:18px;z-index:7;padding:10px 14px;border:1px solid #60859d;background:#153c53;color:#e5f4ff;border-radius:9px;font-weight:600;font-size:12px;box-shadow:0 3px 18px #0005}
 .map-layout .map-top{left:14px;top:14px;max-width:calc(100% - 28px)}
 .map-layout .map-top h1{font-size:19px}
 .map-layout .search-wrap{left:14px;top:83px;width:300px;max-width:calc(100% - 28px)}
 .map-layout .map-controls{right:14px;top:160px}
 .map-layout .map-controls button{width:38px;height:38px}
 .map-layout .legend{left:14px;bottom:18px;width:210px;padding:10px;gap:7px;font-size:10px;grid-template-columns:1fr 1fr}
 .map-layout .legend span{gap:5px}
 .map-layout .legend .status-dot{width:7px;height:7px}
 .map-layout .notice{display:none}
 .map-layout .attribution{right:12px;bottom:86px;font-size:8px}
 .map-layout .map-note{right:12px;bottom:103px;font-size:9px}
 .map-layout .topbar{padding:9px 14px;gap:8px;flex-wrap:nowrap}
 .map-layout .brand{gap:8px}
 .map-layout .brand strong{font-size:14px;white-space:nowrap;letter-spacing:.04em}
 .map-layout .brand small{display:none}
 .map-layout .radar{width:34px;height:34px}
 .map-layout nav{gap:6px}
 .map-layout nav a{font-size:12px;padding:7px 9px}
 .map-layout footer{display:flex;padding:7px 12px;flex-wrap:nowrap;font-size:9px}
 .map-layout footer>span{margin:0}
 .map-layout footer>span:first-child{display:none}
 .map-layout footer button{font-size:10px;white-space:nowrap}
}
@media(max-width:380px){.map-layout .legend{width:190px;font-size:9px}.map-layout #panel-toggle{padding:10px;font-size:11px}.map-layout .brand strong{font-size:12px}.map-layout nav a{font-size:11px;padding:6px}.map-layout .topbar{padding-left:10px;padding-right:10px}}

.map-layout .sidebar{left:20px;right:auto;top:158px;bottom:auto;width:340px;height:clamp(190px,30vh,280px);max-height:calc(100% - 285px);background:#0d1c2cf2}
.map-layout.panel-hidden .sidebar{display:none}
.map-layout .feed{border:0;padding:13px 14px}
.map-layout .feed-title h2{font-size:15px;letter-spacing:.02em}
.map-layout #feed-close{border:1px solid #3a586e;border-radius:7px;background:#203b50;color:#e4f0fa;width:28px;height:28px;font-size:20px;line-height:20px}
.map-layout .empty-state{padding:27px 10px 12px}
.map-layout .empty-state h3{margin:4px 0 10px;font-size:14px}
.map-layout .empty-state p{font-size:12px;line-height:1.6;margin:0}
.map-layout .legend{bottom:18px;left:20px;width:340px}
.map-layout .map-controls{right:18px;top:38%}
.map-layout .selection-chip{position:absolute;right:18px;top:18px;z-index:3;display:flex;align-items:center;gap:15px;width:auto;max-width:calc(100% - 410px);padding:10px 13px!important;border:1px solid #345269;border-radius:9px;background:#0c2231ef;color:#deedf6;font-size:13px}
.map-layout .selection-status{display:flex;gap:6px;align-items:center;color:#9db4c5;font-size:11px;white-space:nowrap}
.map-layout #panel-toggle{display:block;position:absolute;right:18px;bottom:18px;z-index:7;padding:10px 14px;border:1px solid #60859d;background:#153c53;color:#e5f4ff;border-radius:9px;font-weight:600;font-size:12px;box-shadow:0 3px 18px #0005}
.map-layout .map-note{left:auto;right:18px;bottom:102px}
.map-layout .attribution{right:18px;bottom:83px}
.map-layout #region-name{font-weight:600}
@media(max-width:900px){
 .map-layout .sidebar,.map-layout.panel-open .sidebar{display:block;left:14px;right:auto;top:158px;bottom:auto;width:calc(100% - 86px);max-width:340px;height:205px;max-height:calc(100% - 272px)}
 .map-layout.panel-hidden .sidebar{display:none}
 .map-layout .map-controls{right:14px;top:190px}
 .map-layout .selection-chip{right:14px;top:132px;max-width:calc(100% - 28px);padding:4px 8px!important;border:0;background:#0b1c29c9;font-size:10px;gap:8px}
 .map-layout .selection-status{font-size:9px}
 .map-layout .selection-status .status-dot{width:6px;height:6px}
 .map-layout .legend{left:14px;bottom:18px;width:210px}
 .map-layout #panel-toggle{right:14px;bottom:18px;font-size:11px;padding:10px}
 .map-layout .map-note{bottom:104px}
 .map-layout .attribution{bottom:85px}
 .map-layout .feed-title h2{font-size:13px}
 .map-layout .empty-state{padding:22px 6px 8px}
}
@media(max-width:380px){.map-layout .legend{width:190px;font-size:9px}.map-layout #panel-toggle{font-size:10px;padding:9px}}

.map-layout .legend{display:block}.map-layout #legend-toggle{display:block;width:100%;border:0;background:none;color:#d6e8f4;text-align:left;font-size:11px;padding:0;font-weight:600}.map-layout #legend-items{display:grid;grid-template-columns:1fr 1fr;gap:9px 12px;padding-top:11px}@media(max-width:900px){.map-layout #legend-toggle{font-size:10px}.map-layout #legend-items{gap:7px;padding-top:8px}}

/* Categorical geographical fills, never alert-state colours. */
.map-layout .zone-tone-0{--zone-fill:#355e80}
.map-layout .zone-tone-1{--zone-fill:#505a86}
.map-layout .zone-tone-2{--zone-fill:#2e6d7c}
.map-layout .zone-tone-3{--zone-fill:#596282}
.map-layout .zone-tone-4{--zone-fill:#377693}
.map-layout .zone-tone-5{--zone-fill:#625d86}
.map-layout .country{fill:#263d4d;stroke:#597482;stroke-width:.7}
.map-layout .region{fill:var(--zone-fill,#426381);fill-opacity:.94;stroke:#9ec2d4;stroke-width:1.1;transition:fill-opacity .15s,stroke .15s}
.map-layout .region:hover,.map-layout .region:focus{fill:var(--zone-fill,#426381);fill-opacity:1;stroke:#e3f3fb;stroke-width:1.8}
.map-layout .region.selected{fill:var(--zone-fill,#426381);fill-opacity:1;stroke:#e7f4fc;stroke-width:2.2}
.map-layout .region-label{fill:#d6e4ef;stroke:none;font-weight:500;opacity:.94;text-shadow:0 1px 3px #071321}
.map-layout .city-label text{fill:#f0f5fa;stroke:none;font-weight:500;text-shadow:0 1px 3px #071321}
.map-layout .city-label circle{fill:#daeefa;stroke:#233f53;stroke-width:.8px}
.map-layout .preview-badge{font-size:9px;letter-spacing:.02em;color:#cee1ef}
