:root {
 --glass:rgba(8,31,39,.65);
 --glass-edge:rgba(206,237,228,.28);
 --glass-shadow:0 5px 30px #02212c24,inset 0 1px 0 #ffffff12;
 --edge:clamp(16px,2.8vw,50px);
 --chrome:76px;
}
body {background:#0b3442 url(assets/atlas.webp) center center / cover fixed;color:#e7f1ec}
body[data-page=explorer] {background:#0b3442}
.top {position:relative;z-index:15;height:var(--chrome);background:none;border:none}
.top-inner {max-width:none;margin:0;padding:0 var(--edge);display:grid;grid-template-columns:1fr auto 1fr;gap:15px;width:100%;align-items:center}
.brand {justify-self:start;font-size:20px;letter-spacing:-.065em;text-shadow:0 1px 10px #041b21}
.top nav,.top-end,.atlas-toolbar,.atlas-map .layers-btn,.atlas-map .map-controls>div,.atlas-map .expand,.atlas-map .layer-pop,.atlas-time,.obs-legend,.atlas-map .layer-key {
 background:var(--glass);border:1px solid var(--glass-edge);box-shadow:var(--glass-shadow);
 -webkit-backdrop-filter:blur(19px) saturate(1.32);backdrop-filter:blur(19px) saturate(1.32);
}
.top nav {height:42px;padding:3px;gap:3px;border-radius:30px;align-items:stretch}
.navitem {border-radius:25px;font-size:13px;line-height:1;height:auto;padding:0 17px;color:#d2e7e2;transition:background .18s,color .18s}
.navitem.active {background:#e5f2e1;color:#153e3f}
.navitem:hover:not(.active){background:#ffffff14}
.navitem.active:after {display:none}
.top-end {margin:0;justify-self:end;display:flex;border-radius:24px;padding:4px 7px 4px 8px;gap:4px}
.top-end .status-pill {color:#e8f5ed}
body[data-page=explorer] .top {position:absolute;inset:0 0 auto;pointer-events:none}
body[data-page=explorer] .top-inner>* {pointer-events:auto}
.atlas-screen {height:100vh;height:100svh;min-height:520px;position:relative;background:none;overflow:visible}
.atlas-screen .atlas-map {position:absolute;inset:0;border:0;overflow:hidden;isolation:isolate}
.atlas-screen .atlas-map.fullscreen {position:fixed;inset:0;z-index:30}
.atlas-map .map-stage {position:absolute;inset:0;height:100%;border:0;background:#123748;isolation:isolate}
.atlas-map .map-world>.map-img,.atlas-map #overlays {mask-image:none}
.atlas-map .map-world>.map-img {filter:saturate(.94) brightness(.86)}
.atlas-map:before {inset:0;z-index:1;background:radial-gradient(ellipse 49% 43% at 5% 0%,#031f2ec9 0%,#05283380 45%,transparent 100%),linear-gradient(0deg,#041e314a,transparent 18%);pointer-events:none}
.atlas-map .map-world {will-change:transform}
.atlas-title {top:calc(var(--chrome) + 12px);left:var(--edge);max-width:min(460px,55vw);text-shadow:0 1px 7px #071a20}
.atlas-title h1 {font-size:clamp(48px,5.7vw,88px);margin:4px 0;line-height:.98}
.atlas-title p {font-size:14px;color:#f0f7ed}
.atlas-title .eyebrow {color:#dbedbe}
.atlas-toolbar {left:auto;right:var(--edge);top:calc(var(--chrome) + 12px);border-radius:11px;overflow:hidden}
.atlas-map .map-north {right:calc(var(--edge) + 7px);top:calc(var(--chrome) + 74px);filter:drop-shadow(0 1px 3px #082a2c)}
.atlas-map .atlas-tool,.atlas-map .layers-btn {color:#f1f8f3}
.atlas-map .layers-btn {bottom:25px;right:var(--edge);height:44px;border-radius:15px}
.atlas-map .map-controls {right:var(--edge);bottom:90px}
.atlas-map .expand {right:var(--edge);bottom:199px}
.atlas-map .expand,.atlas-map .map-controls>div {border-radius:12px;overflow:hidden}
.atlas-map .map-controls button,.atlas-map .expand {background:var(--glass)}
.atlas-map .map-controls button {background:none}
.atlas-map .layer-pop {inset:auto var(--edge) 77px auto;max-height:calc(100% - 160px);border-radius:17px;background:rgba(9,32,39,.88);text-align:left}
.atlas-map .layer-pop h3 {font:500 18px var(--serif)}
.atlas-map .layer-pop select {background:#dfede3;color:#193433}
.atlas-map .obs-legend,.atlas-map .layer-key {border-radius:8px;padding:5px 9px;color:#deeee2;font:11px var(--mono);left:var(--edge);right:auto;max-width:calc(100% - 180px);transform:none;text-align:left}
.atlas-map .obs-legend {bottom:114px}
.atlas-map .layer-key {bottom:143px}
.atlas-map .map-foot {display:none}
.atlas-map .map-coords {top:auto;bottom:74px;right:var(--edge);left:auto;font-size:9px;color:#e0ede4;text-shadow:0 1px 3px black}
.atlas-map .marker-label {text-shadow:0 1px 4px #001619,0 0 7px #001619,0 0 14px #001619!important}
.region-marker {--point:#b8f0dc}
.atlas-map .map-marker .marker-label {left:26px}
.atlas-map .map-label.ocean {text-shadow:0 1px 2px #082b34}
#atlas-feed-strip {position:absolute;z-index:4;left:var(--edge);bottom:22px;right:auto;width:auto;max-width:calc(100% - 225px);gap:22px;padding:12px 16px;border-radius:16px;min-height:68px;align-items:center}
.readout-location label,.strip-values small {display:block;font:10px var(--mono);color:#c3d8ce;letter-spacing:.05em}
.readout-location label {text-transform:uppercase}
.readout-location select.field {color:#f2faf1;max-width:170px;border:0;font-size:15px;cursor:pointer;padding:3px 24px 2px 0;color-scheme:dark}
.readout-location select option {background:#15323a;color:#f0f6ed}
.strip-values {display:flex;align-items:center;gap:20px;border-left:1px solid #d2e7d550;padding-left:20px}
.strip-values strong {font:500 23px/1.2 var(--serif);color:#f5f9e9}
.strip-values span {font-size:11px;color:#d7e7de}
.strip-jump {color:#daebd7;border:1px solid var(--glass-edge);width:28px;height:28px;border-radius:50%}
.obs-vessels i {position:absolute;right:24px;top:-9px;background:#232b42;color:#e2d2ff;font:10px var(--mono);white-space:nowrap;padding:1px 4px}
.atlas-log,body:not([data-page=explorer]) #app {background:rgba(244,249,242,.94);color:#1b373b}
.atlas-log {max-width:none;padding:42px var(--edge)}
.field-log-scroll {overflow-x:auto}
.field-log {width:100%;border-collapse:collapse;text-align:left}
.field-log td,.field-log th {border-bottom:1px solid #c3d2c9;padding:13px 10px;font-size:14px}
.field-log td small {display:block;color:#5a7069;font-size:11px}
.field-log td.missing {color:#697f79}
body:not([data-page=explorer]) #app {margin:0 var(--edge) 24px;padding:0 clamp(18px,3vw,50px) 30px;border:1px solid #e5f3e98a;border-radius:22px;max-width:none;box-shadow:var(--glass-shadow);backdrop-filter:blur(20px)}
body:not([data-page=explorer]) .page-title {background:none;color:#1b373b;margin:0;min-height:0;padding:24px 0}
body[data-page=about] .page-title p,body[data-page=about] .page-title .eyebrow {color:#466656}
footer {max-width:none;margin:0;padding:24px var(--edge);color:#e1eee7;background:#0b2b34cc}
footer a {color:#def2e2}
.acoustic-result {padding:10px 0 16px;border-bottom:1px solid #becfc2}
.acoustic-choice {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.acoustic-choice h3 {font:500 23px var(--serif);margin:0}
.acoustic-choice label {font-size:12px}
.archive-stat strong {font:400 32px var(--serif)}
.observed-chart {width:100%;display:block;color:#4d675d}
.acoustic-result details {font-size:13px;color:#33554b}
.acoustic-result summary {cursor:pointer}
@media(min-width:1600px){body:not([data-page=explorer]) #app {max-width:1600px;margin-inline:auto}}
@media(max-width:740px){
 :root {--edge:14px;--chrome:108px}
 .top-inner {display:grid;grid-template-columns:1fr auto;grid-template-rows:43px 43px;align-content:center;gap:5px;padding:3px var(--edge);justify-content:initial}
 .top nav {grid-column:1/-1;grid-row:2;justify-self:center;order:0;width:auto;margin:0;gap:1px}
 .top .navitem {padding:0 13px}
 .top-end {grid-column:2;grid-row:1}
 .atlas-title {left:var(--edge);top:var(--chrome);max-width:80vw}
 .atlas-title h1 {font-size:50px}
 .atlas-toolbar {left:auto;right:var(--edge);top:calc(var(--chrome) + 4px)}
 .atlas-toolbar .atlas-tool span {display:none}
 .atlas-title p {font-size:12px}
 #atlas-feed-strip {left:var(--edge);right:var(--edge);bottom:10px;max-width:none;gap:10px;padding:9px 12px;min-height:61px}
 .strip-values {flex:1;justify-content:space-evenly;gap:6px;padding-left:8px}
 .strip-values small,.readout-location label {font-size:9px}
 .strip-values strong {font-size:18px}
 .strip-values span {font-size:9px}
 .readout-location select.field {font-size:12px;max-width:120px}
 .strip-jump {display:none}
 .atlas-map .layers-btn {right:var(--edge);bottom:81px;min-height:36px;height:36px}
 .atlas-map .map-controls {bottom:132px}
 .atlas-map .expand {bottom:239px}
 .atlas-map .layer-pop {bottom:124px;max-height:calc(100% - 238px);max-width:calc(100vw - 30px)}
 .atlas-map .obs-legend {bottom:81px;max-width:calc(100% - 168px);font-size:9px;gap:3px}
 .atlas-map .layer-key {bottom:128px;max-width:calc(100% - 76px)}
 .atlas-map .map-coords {display:none}
 body:not([data-page=explorer]) #app {margin:0 8px 12px;padding:0 14px 20px;border-radius:15px}
}
@media(max-width:385px){.strip-values>div:nth-child(2){display:none}}
@media(prefers-reduced-transparency:reduce){:root{--glass:#102f36}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

.map-stage {touch-action:none}
.map-stage.ease-camera .map-world {transition:transform .28s cubic-bezier(.22,.74,.25,1)}
.atlas-map .layer-pop:not([hidden]) {animation:open-layers .21s ease-out;transform-origin:bottom right}
@keyframes open-layers {from{opacity:0;translate:0 6px}to{opacity:1;translate:0}}
@media(min-width:741px){
 .atlas-title {top:auto;bottom:24%;max-width:40vw}
 .atlas-map:before {background:radial-gradient(ellipse 39% 24% at 4% 70%,#052534a3,transparent),linear-gradient(0deg,#041e3133,transparent 16%)}
}
@media(max-width:740px) and (min-height:620px){
 .atlas-title {top:auto;bottom:28%;max-width:86vw}
}
@media(prefers-reduced-motion:reduce){.atlas-map .layer-pop:not([hidden]){animation:none}}

body[data-page=explorer] footer {display:none}
.top nav {align-self:center}
.atlas-toolbar {display:flex}
.atlas-toolbar button+button {border-left:1px solid var(--glass-edge)}
dialog:has(.modal-field-log){width:min(850px,94vw)}
.modal-field-log {color:#173a3e}
.modal-field-log .field-log td,.modal-field-log .field-log th {min-width:105px}
@media(min-width:741px){.atlas-screen{min-height:0}}
@media(max-height:520px){.atlas-title p,.atlas-map .map-north,.atlas-map .map-coords{display:none}.atlas-title h1{font-size:40px}}
.atlas-map .map-world,.map-stage.ease-camera .map-world {will-change:auto;transform:none;transition:none}
.imagery-tiles,.imagery-level {position:absolute;inset:0;overflow:hidden;pointer-events:none}
.imagery-tiles img {position:absolute;max-width:none;opacity:0;transition:opacity .22s ease-out;filter:brightness(.85) saturate(.82)}
.imagery-tiles img[data-ready] {opacity:1}
.imagery-credit {position:absolute;bottom:3px;right:var(--edge);z-index:4;font:10px/1.1 var(--mono);color:#e2efec;background:#082332b0;padding:2px 5px;border-radius:3px;text-decoration:none}
.mini-map .imagery-credit {right:5px}
.atlas-map .layer-pop {width:min(332px,calc(100vw - 28px));overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#83a69c #143437}
.atlas-map .layer-pop .field-toggle {display:flex;gap:9px;align-items:center}
.habitat-filters {display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:7px 10px;margin:8px 0}
.atlas-map .layer-pop .habitat-field {color:#cee4db;display:grid;gap:3px;font:12px var(--mono)}
.habitat-field {min-width:0}
.habitat-field select.field {width:100%;min-width:0;font:14px var(--sans,Arial);border-radius:5px;padding:5px 18px 5px 6px}
.habitat-browse {border:0;border-bottom:1px solid #93b4ad;color:#e0f3de;background:none;cursor:pointer;font:14px/1.6 var(--sans,Arial);padding:0}
.habitat-browse span {font:11px var(--mono);padding-left:5px}
.habitat-polygon {pointer-events:visiblePainted;fill-opacity:.22;stroke-opacity:.9;stroke-width:1.15;cursor:pointer}
.habitat-polygon:hover {fill-opacity:.45;stroke-width:1.8}
.habitat-list,.habitat-detail {color:#183e40}
.habitat-list button {display:grid;gap:4px;width:100%;text-align:left;background:transparent;border:0;border-top:1px solid #bfd1c9;padding:11px 6px 11px 14px;box-shadow:inset 3px 0 var(--type-color)}
.habitat-list button:hover {background:#e2eee7}
.habitat-list small,.habitat-detail dt {color:#526a60}
.habitat-detail h3 {font:28px var(--serif);margin:12px 0 0}
.habitat-detail dl {display:grid;grid-template-columns:max-content 1fr;gap:.5rem 1rem}
.habitat-detail dd {margin:0}
.habitat-detail .habitat-type {box-shadow:inset 4px 0 var(--type-color);padding-left:10px;font:13px var(--mono)}
.atlas-map .layer-key {max-width:min(68vw,650px);line-height:1.4;white-space:normal}
@media(max-width:740px){.atlas-map .layer-key{max-width:calc(100% - 88px);bottom:122px}.imagery-credit{bottom:0;font-size:8px}}
.atlas-map .layer-key:not([hidden]) {display:grid;gap:3px}
.key-habitat,.key-habitat>span {display:inline-flex;align-items:center;gap:5px}
.key-habitat {gap:8px;flex-wrap:wrap}
.key-habitat i {width:8px;height:8px;border-radius:2px}
.key-habitat small {font:inherit;color:#c3d6ce}

.atlas-map.local-view .atlas-title {top:calc(var(--chrome) + 15px);bottom:auto;max-width:min(48vw,450px)}
.atlas-map.local-view .atlas-title h1 {font-size:clamp(25px,3vw,43px)}
.atlas-map.local-view .atlas-title p {font-size:12px}
.atlas-map .map-coords {background:#0b2737a8;padding:2px 4px}
@media(max-width:740px){.atlas-map.local-view .atlas-title{top:calc(var(--chrome) + 52px);max-width:80vw}}
[data-atlas-globe-host] {position:absolute;inset:0}
[data-atlas-globe-host][hidden],.map-stage .map-world[hidden] {display:none!important}
.projection-switch {position:absolute;z-index:6;left:var(--edge);top:calc(var(--chrome) + 12px);display:flex;gap:2px;background:var(--glass);backdrop-filter:blur(15px);border:1px solid var(--glass-edge);border-radius:18px;padding:3px}
.projection-switch button {display:inline-flex;align-items:center;gap:6px;border:0;background:none;color:#dcebe6;padding:6px 11px;font-size:12px;border-radius:14px;cursor:pointer}
.projection-switch button[aria-pressed=true] {background:#dcefe2;color:#17413e}
.projection-switch svg {width:15px;height:15px}
.atlas-map.local-view .atlas-title {top:calc(var(--chrome) + 64px)}
.field-record-point {display:grid;place-items:center;position:absolute;transform:translate(-50%,-50%);width:21px;height:21px;border:0;padding:0;background:none;pointer-events:auto;cursor:pointer}
.field-record-point i,.atlas-map .layer-pop .measured-option .evidence-swatch {width:9px;height:9px;background:#52c8ed;border:1px solid #defbff;transform:rotate(45deg);border-radius:1px;box-shadow:0 1px 4px #05263c}
.field-record-point:hover i,.field-record-point:focus-visible i {outline:2px solid #e5f7ff;outline-offset:2px}
.atlas-map .layer-pop #blue-selection-note {font-size:12px;line-height:1.35;padding:5px 0}
@media(max-width:740px){.projection-switch {top:calc(var(--chrome) + 4px)}.projection-switch button{font-size:11px;padding:6px 9px}.atlas-map.local-view .atlas-title{top:calc(var(--chrome) + 60px)}}
.blue-evidence {margin-block:16px}
.blue-evidence details {border-top:1px solid #738b8440;padding:9px 0}
.blue-evidence summary {cursor:pointer;font-weight:600;font-size:14px}
.blue-evidence h3 {font:500 22px var(--serif);margin:0}
.blue-evidence p {line-height:1.55}
.habitat-list .blue-evidence details:last-child {border-bottom:1px solid #738b8440}

.habitat-polygon.estimated {stroke-dasharray:4 3;fill-opacity:.16;stroke-width:1.7}
.atlas-map .measured-option .estimate-swatch {width:14px;height:9px;background:#cb8edd33;border:1px dashed #e5acf4}

.shipping-density-overlay {position:absolute;left:0;top:-6.451613%;width:100%;height:116.129032%;max-width:none;pointer-events:none}
.shipping-density-key i {display:inline-block;width:16px;height:3px;margin-right:5px;vertical-align:middle;background:linear-gradient(90deg,#cc963755,#f4bd70)}
