.atlas-explorer [hidden] { display:none !important; }
.atlas-tools { display:flex; align-items:end; gap:14px; flex-wrap:wrap; padding:16px; background:#e9f1e8; border:1px solid var(--line); border-radius:14px; margin-bottom:16px; }
.atlas-tools > label { display:grid; gap:5px; font-weight:650; }
.atlas-tools select, .atlas-tools input[type=search], .mountain-controls select { min-height:44px; padding:7px 11px; color:var(--ink); background:white; border:1px solid #a8bead; border-radius:8px; font:inherit; max-width:100%; }
.atlas-tools fieldset { display:flex; align-items:center; flex-wrap:wrap; gap:4px 12px; border:0; margin:0; padding:0; }
.atlas-tools legend { font-weight:650; }
.atlas-tools fieldset label { display:flex; gap:5px; align-items:center; min-height:44px; }
.atlas-workspace { display:grid; grid-template-columns:minmax(0, 3fr) minmax(245px, 1fr); border:1px solid var(--line); border-radius:16px; overflow:hidden; background:white; }
.atlas-stage { position:relative; background:#ecf3ec; align-self:start; }
#atlas-canvas { width:100%; min-height:300px; display:block; touch-action:pan-y; }
.atlas-area { fill:#b5c9af; cursor:pointer; }
.atlas-tone-1 { fill:#abc2b5; }.atlas-tone-2 { fill:#c9d5b6; }.atlas-tone-3 { fill:#96b3a4; }
.atlas-area path { stroke:#fff; stroke-width:1; vector-effect:non-scaling-stroke; }
.atlas-area:hover path { stroke:#204b3e; stroke-width:2; }
.atlas-area text { font:15px system-ui,sans-serif; text-anchor:middle; fill:#143c34; paint-order:stroke; stroke:#edf5e9; stroke-width:2; pointer-events:none; }
.atlas-muted { opacity:.28; }
.atlas-tehsil-shapes path { fill:#d5ca881c; stroke:#665421; stroke-dasharray:4 2; stroke-width:1; vector-effect:non-scaling-stroke; cursor:pointer; }
.atlas-tehsil-shapes path:hover { fill:#ffedac9e; }
.atlas-point-shapes a circle { fill:#145d8d; stroke:white; stroke-width:1.5; }
.atlas-point-shapes a .atlas-dot-core { fill:#fff; stroke:none; pointer-events:none; }
.atlas-agency-shapes rect { fill:#93580e; stroke:white; stroke-width:1.5; }
.atlas-agency-shapes text { font:bold 12px system-ui,sans-serif; text-anchor:middle; dominant-baseline:middle; fill:#fff; pointer-events:none; }
.atlas-point-shapes a:focus-visible circle,.atlas-point-shapes a:hover circle,.atlas-point-shapes .atlas-selected-pin circle,.atlas-agency-shapes a:focus-visible rect,.atlas-agency-shapes a:hover rect,.atlas-agency-shapes .atlas-selected-pin rect { stroke:#0a293b; stroke-width:2.5; }
.atlas-map-controls { display:flex; gap:6px; padding:0 12px; flex-wrap:wrap; }
.atlas-map-controls button { min-width:44px; min-height:44px; padding:6px 12px; }
.atlas-map-legend { margin:0; padding:12px; font-size:13px; }
.atlas-map-legend b { color:#145d8d; margin-left:6px; }.atlas-map-legend b:nth-of-type(2){color:#93580e;}
.atlas-results { padding:16px; min-width:0; }
.atlas-results h2 { margin:0; font-size:23px; }
#atlas-results { max-height:480px; overflow:auto; overscroll-behavior:contain; }
.atlas-result { padding:12px; margin:0 0 8px; border:1px solid var(--line); border-radius:10px; background:#f7faf6; overflow-wrap:anywhere; }
.atlas-result p,.atlas-result h3 { margin:0 0 3px; }.atlas-result h3 { font-size:18px; }
.atlas-result summary, #atlas-tehsil-list summary { cursor:pointer; padding:8px 0; }
.atlas-result li { margin-bottom:7px; }
.atlas-selected { background:#e1f0f7; border-color:#145d8d; }
.atlas-explorer .editorial-note { margin-top:22px; }
.mountain-controls { display:flex; gap:12px; flex-wrap:wrap; align-items:end; margin:16px 0; }
.mountain-controls[hidden], .peak-row[hidden], [data-glacier-profile][hidden] { display:none; }
.mountain-controls label { display:grid; gap:6px; }
.peak-comparison-output { padding:14px; border:1px solid var(--line); border-radius:12px; background:#eaf3ed; }
.mountain-glaciers { margin:32px 0; }
.mountain-glaciers details { padding:12px 16px; border:1px solid var(--line); border-radius:12px; background:#fff; }
.mountain-glaciers summary { display:list-item; padding:10px 0; cursor:pointer; }
.mountain-glaciers summary strong { font:600 21px Georgia,serif; display:inline; }
.mountain-glaciers details p { margin:9px 0; }
@media(max-width:850px) { .atlas-workspace { grid-template-columns:minmax(0,1fr); } #atlas-results { max-height:360px; } }
@media(max-width:500px) { .atlas-tools > label { width:100%; } #atlas-canvas { min-height:220px; } .atlas-map-legend { line-height:1.8; } }
