#section-locations [hidden] { display:none !important; }
.locations-heading { display:grid; gap:.6rem; padding:1rem; border:1px solid var(--line); border-radius:.9rem; background:var(--panel); }
.locations-heading p { font-size:.9rem; }
.location-controls { display:grid; grid-template-columns:1fr 1fr; gap:.65rem; }
.location-controls label { display:grid; gap:.35rem; color:var(--muted); font-size:.85rem; }
.location-controls input,.location-controls select { width:100%; min-width:0; min-height:2.8rem; border:1px solid var(--line); border-radius:.6rem; padding:.65rem; background:var(--panel); color:var(--text); }
#location-search-wrap { grid-column:1 / -1; }
#location-content { display:grid; gap:.9rem; } #location-content[hidden] { display:none; }
.location-categories { display:flex; flex-wrap:wrap; gap:.45rem; padding:0; margin:0; border:0; }
.location-categories legend { margin-bottom:.5rem; color:var(--muted); }
.location-categories label { display:flex; align-items:center; gap:.35rem; min-height:2.75rem; padding:.4rem .6rem; background:var(--panel); border:1px solid var(--line); border-radius:.6rem; font-size:.8rem; cursor:pointer; }
.location-categories input { accent-color:var(--green); width:1.1rem; height:1.1rem; }
.location-categories small { color:var(--muted); }
.location-key { display:inline-grid; place-content:center; flex-shrink:0; width:2rem; height:2.25rem; }
.location-key svg { display:block; width:100%; height:100%; }
.location-map-wrap { overflow:hidden; overscroll-behavior:contain; border:1px solid var(--line-strong); border-radius:.8rem; background:#213036; }
.location-map-wrap svg { display:block; width:100%; aspect-ratio:1; touch-action:none; user-select:none; -webkit-user-select:none; -webkit-touch-callout:none; cursor:grab; }
.location-map-wrap svg:active { cursor:grabbing; }
.atlas-structure-ink{fill:#f5dfa5;fill-opacity:.8;stroke:#123f3e;stroke-width:.11;stroke-linecap:round;stroke-linejoin:round;paint-order:stroke;cursor:pointer}.atlas-structure-ink:hover,.atlas-structure-ink:focus{fill:#fff5bd;stroke:#f2a54c;outline:none}.atlas-structure-special{fill:#94dcdf}
.location-marker { cursor:pointer; outline:none; }
.location-marker:focus-visible,.location-marker.selected { filter:drop-shadow(0 0 5px #fff); }
.location-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:.4rem; padding:.5rem; background:var(--panel); }
.location-toolbar button { min-width:2.75rem; min-height:2.75rem; padding:.5rem .7rem; background:var(--panel-2); border:1px solid var(--line); border-radius:.4rem; }
.location-toolbar button:disabled { opacity:.35; }.location-toolbar span { margin-left:auto; color:var(--muted); }
.location-caption { display:grid; gap:.3rem; font-size:.75rem; color:var(--muted); }
.location-results { display:grid; gap:.4rem; }
.location-result { display:flex; align-items:center; gap:.7rem; width:100%; min-height:4rem; padding:.75rem; border:1px solid var(--line); border-radius:.65rem; background:var(--panel); text-align:left; }
.location-result>span:nth-child(2) { display:grid; gap:.2rem; flex:1; }.location-result small { color:var(--muted); font-size:.75rem; }
.location-result:hover,.location-result:focus-visible { border-color:var(--orange); }
.location-list-panel { border:1px solid var(--line); border-radius:.7rem; padding:.65rem; background:var(--panel); }
.location-list-panel summary { cursor:pointer; font-weight:800; color:var(--text); padding:.35rem; }
.location-list-panel .location-categories { margin-top:.75rem; }
.location-list-panel .location-results { margin-top:.65rem; }
.location-list-panel #location-more { margin-top:.65rem; }
body.atlas-map-expanded { overflow:hidden; overscroll-behavior:none; }
body.atlas-map-expanded .location-map-wrap { position:fixed; inset:0; z-index:999; display:grid; grid-template-rows:minmax(0,1fr) auto; border-radius:0; background:#091619; }
body.atlas-map-expanded .location-map-wrap svg { width:100%; height:100%; min-height:0; max-height:none; aspect-ratio:auto; }
body.atlas-map-expanded .location-toolbar { padding-bottom:max(.5rem,env(safe-area-inset-bottom)); }
.location-detail { display:grid; gap:.65rem; padding:1rem; border:1px solid var(--orange); border-radius:.8rem; background:var(--panel); scroll-margin-top:5rem; }
.location-detail[hidden] { display:none; }.location-detail-heading { display:flex; justify-content:space-between; align-items:start; gap:.5rem; }
.location-detail-heading button { min-height:2.75rem; min-width:2.75rem; background:var(--panel-2); border:1px solid var(--line); border-radius:.5rem; font-size:1.4rem; }
.location-detail h3 { margin-top:.25rem; font-size:1.3rem; }.location-detail p { font-size:.87rem; }
.location-detail .location-coordinates { font-weight:800; color:var(--text); font-size:1.05rem; }
.location-detail figure { margin:0; }.location-detail figure svg { display:block; width:100%; max-height:22rem; aspect-ratio:1; background:#213036; border-radius:.5rem; }
.location-detail figcaption { color:var(--muted); font-size:.75rem; padding-top:.35rem; }
.location-warning { padding:.65rem; border-left:3px solid var(--orange); background:rgba(255,157,49,.08); }
.location-asset { display:grid; gap:.25rem; overflow-wrap:anywhere; }
.location-asset code { display:inline-block; width:fit-content; max-width:100%; padding:.25rem .4rem; border:1px solid var(--line); border-radius:.35rem; color:#f9d39a; overflow-wrap:anywhere; }
.atlas-marker-key { margin-top:.85rem; padding:.5rem; border:1px solid var(--line); border-radius:.55rem; }
.atlas-marker-key>summary { font-size:.86rem; }
#location-marker-key { display:grid; gap:.15rem; margin-top:.5rem; }
.atlas-key-row { display:grid; grid-template-columns:2.3rem minmax(0,1fr); gap:.4rem; align-items:center; padding:.4rem; border-bottom:1px solid var(--line); }
.atlas-key-row>span:last-child { display:grid; gap:.2rem; }
.atlas-key-row small { color:var(--muted); line-height:1.4; }
.atlas-key-note { margin:.6rem .3rem .2rem; color:var(--muted); font-size:.78rem; }
.location-detail details { color:var(--muted); font-size:.8rem; }.location-detail details p { padding-top:.5rem; overflow-wrap:anywhere; }.location-detail a { color:var(--green); }
.location-map-wrap + .location-caption { padding:0 .2rem; }
.bottom-nav { grid-template-columns:repeat(6,minmax(0,1fr)); }
.atlas-gas-halo { fill:rgba(164,255,79,.22); stroke:#b5fb6f; stroke-width:2; vector-effect:non-scaling-stroke; filter:drop-shadow(0 0 7px #a8ff64); pointer-events:none; }
.location-marker[data-category="gas_zone"] { filter:drop-shadow(0 0 9px #adff6e); }
@media(min-width:48rem) { .location-results { grid-template-columns:1fr 1fr; } .location-detail { grid-template-columns:1fr 1fr; }.location-detail-heading,.location-detail figure,.location-detail details { grid-column:1 / -1; } }

/* The native Atlas experience uses the map as the screen, including offline. */
.atlas-app-actions{display:none}
body[data-experience="atlas"]{height:100dvh;overflow:hidden;overscroll-behavior:none}
body[data-experience="atlas"] .app-shell{display:flex;flex-direction:column;width:100%;max-width:none;height:100dvh;min-height:0;padding:0;overflow:hidden}
body[data-experience="atlas"] .topbar{flex:none;min-height:3.8rem;padding:.45rem .65rem;z-index:50}
body[data-experience="atlas"] .topbar-actions{display:flex;gap:0}
body[data-experience="atlas"] .topbar-actions .connection,body[data-experience="atlas"] .language-control>span{display:none}
body[data-experience="atlas"] .language-control select{min-width:5.3rem;width:5.3rem;min-height:2.5rem;padding:.25rem .85rem .25rem .35rem;font-size:.7rem}
body[data-experience="atlas"] .brand small,body[data-experience="atlas"] .brand .experience-switch-label{display:none}
body[data-experience="atlas"] .brand img{width:2.3rem;height:2.3rem}
body[data-experience="atlas"] .brand strong{font-size:.88rem}
body[data-experience="atlas"] .atlas-app-actions{display:flex;gap:.3rem;margin-left:auto}
body[data-experience="atlas"] .atlas-app-actions button{min-height:2.5rem;padding:.35rem .5rem;border:1px solid var(--line-strong);border-radius:.45rem;background:#173633;color:#e8f9ef;font-size:.78rem;font-weight:850}
body[data-experience="atlas"] .atlas-app-actions button[aria-expanded="true"]{background:#37795f}
body[data-experience="atlas"] .app-shell>main{position:relative;flex:1;min-height:0;padding:0;overflow:hidden}
body[data-experience="atlas"] #section-locations.active{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:hidden}
body[data-experience="atlas"] #section-locations>.locations-heading{display:none}
body[data-experience="atlas"] #location-content{position:absolute;inset:0;display:block;min-height:0}
body[data-experience="atlas"] #location-loading,body[data-experience="atlas"] #location-layer-warning,body[data-experience="atlas"] #location-map-error{position:absolute;top:1rem;left:1rem;z-index:30}
body[data-experience="atlas"] .location-map-wrap{position:absolute;inset:0;border:0;border-radius:0;background:#1f2828}
body[data-experience="atlas"] .location-map-wrap svg{width:100%;height:100%;max-height:none;aspect-ratio:auto}
body[data-experience="atlas"] .location-controls{position:absolute;top:8px;left:8px;right:8px;z-index:30;display:grid;grid-template-columns:1fr 1fr;gap:.35rem;padding:.4rem;border:1px solid var(--line-strong);border-radius:.65rem;background:#092323e8;box-shadow:0 .5rem 1.5rem #000a;backdrop-filter:blur(12px)}
body[data-experience="atlas"] .location-controls label{gap:0;min-width:0}
body[data-experience="atlas"] .location-controls label>span,body[data-experience="atlas"] .location-controls small{display:none}
body[data-experience="atlas"] .location-controls #location-search-wrap{grid-column:1/-1}
body[data-experience="atlas"] .location-controls input,body[data-experience="atlas"] .location-controls select{min-height:2.5rem;padding:.4rem .5rem}
body[data-experience="atlas"] .location-toolbar{position:absolute;right:8px;bottom:max(8px,env(safe-area-inset-bottom));z-index:29;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.25rem;padding:.3rem;border:1px solid var(--line-strong);border-radius:.6rem;background:#092323e8;box-shadow:0 .5rem 1.5rem #000a}
body[data-experience="atlas"] .location-toolbar button{min-width:2.65rem;min-height:2.65rem;padding:.25rem .35rem}
body[data-experience="atlas"] .location-toolbar #location-fit{max-width:4.5rem;font-size:.68rem}
body[data-experience="atlas"] .location-toolbar #location-expand{display:none}
body[data-experience="atlas"] .location-toolbar span{margin:0;text-align:center;font-size:.7rem}
body[data-experience="atlas"] #location-expand{display:none}
body[data-experience="atlas"] .location-caption{display:none}
body[data-experience="atlas"] #location-layer-panel,body[data-experience="atlas"] #location-list-panel{position:absolute;top:110px;left:8px;z-index:36;width:min(350px,calc(100vw - 16px));max-height:calc(100% - 120px);margin:0;overflow:auto;box-shadow:0 .7rem 1.8rem #000c;background:#102728}
body[data-experience="atlas"] #location-layer-panel:not([open]),body[data-experience="atlas"] #location-list-panel:not([open]){display:none}
body[data-experience="atlas"] #location-detail{position:absolute;left:8px;right:76px;bottom:max(8px,env(safe-area-inset-bottom));z-index:37;width:auto;max-height:55%;overflow:auto;box-shadow:0 .7rem 1.8rem #000c}
@media(max-width:380px){body[data-experience="atlas"] .brand strong{font-size:.74rem}body[data-experience="atlas"] .atlas-app-actions button{padding:.3rem .35rem;font-size:.72rem}}
