.early-access {
  margin: 0;
  padding: 10px max(18px, calc((100vw - 1220px) / 2));
  background: #eff5f3;
  color: #3b5551;
  font-size: .825rem;
  line-height: 1.5;
}
.obs-shell { max-width: 1220px; margin-inline: auto; padding: 26px 20px 54px; }
.obs-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.obs-heading h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.12; margin: 0 0 .25em; }
.obs-heading p, .obs-panel header p { color: #516a69; margin: 0; }
.reference-heading { padding: 12px 0; }
.obs-panel { padding: clamp(14px, 3vw, 26px); border: 1px solid #d1dfdc; border-radius: 14px; background: #fff; margin: 14px 0; }
.obs-panel h2 { margin: 0 0 .4em; }
.obs-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 20px 0; }
.obs-controls label { display: grid; gap: 4px; font-weight: 600; }
.obs-action { display: inline-flex; align-items: center; width: fit-content; border: 1px solid #387b75; border-radius: 8px; padding: 8px 12px; background: #fff; color: #125751; font-weight: 650; text-decoration: none; white-space: nowrap; }
.obs-action:hover, .obs-action:focus-visible { background: #e7f3ef; }
.obs-action:disabled { opacity: .5; cursor: default; }
.obs-effort { display: flex; flex-wrap: wrap; gap: 8px 30px; padding-left: 16px; color: #3b5551; }
.obs-chart { display: block; width: 100%; max-height: 340px; margin-block: 12px; background: #f8fbfa; border-radius: 8px; }
.obs-chart text { fill: #405b55; font: 12px system-ui; }
.obs-details { margin: 12px 0; padding: 10px; border: 1px solid #d5e2de; border-radius: 8px; }
.obs-details summary, .obs-context-panel summary { font-weight: 650; cursor: pointer; }
.obs-details dl { display: grid; grid-template-columns: minmax(90px, 1fr) 3fr; gap: 6px; }
.obs-details dt { font-weight: 600; }
.obs-details dd { margin: 0; overflow-wrap: anywhere; }
.obs-scroll { overflow: auto; max-height: 430px; }
.obs-scroll table { width: 100%; text-align: left; border-collapse: collapse; }
.obs-scroll :is(td,th) { padding: 7px 8px; border-bottom: 1px solid #dfebea; }
.obs-link { border: 0; padding: 0; color: #125751; text-decoration: underline; background: transparent; white-space: nowrap; }
.obs-media { margin: 10px 0; }
.obs-media img { display: block; max-width: 100%; height: auto; max-height: 450px; }
.obs-media figcaption { color: #516a69; font-size: .9rem; max-width: 85ch; }
.obs-panel audio, .modal-body audio { display: block; width: min(100%, 420px); margin-bottom: 12px; }
.obs-warning,.catalog-notice { padding: 10px 14px; background: #fff5da; color: #583f10; border-radius: 6px; }
.obs-context-panel .context-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit,minmax(min(260px,100%),1fr)); }
.context-values { display: grid; margin: 10px 0; gap: 10px; grid-template-columns: repeat(auto-fit,minmax(110px,1fr)); }
.context-values label { display: block; }
.context-feed, .context-archive { padding: 12px; margin: 8px 0; border: 1px solid #d5e2de; border-radius: 8px; }
.context-feed pre { overflow: auto; font-size: .75rem; }
.atlas-time .obs-action { align-self: center; }
.atlas-time .strip-values { overflow-x: auto; }
.provider-dataset { border: 1px solid #cbdcd7; border-radius: 10px; padding: 14px; margin-top: 14px; }
.provider-dataset-heading, .provider-date-controls, .provider-date-range, .provider-legend { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.provider-grid { display: grid; grid-template-columns: minmax(80px,auto) 1fr; gap: 7px; align-items: center; padding: 10px 0; overflow: auto; }
.provider-days { display: grid; grid-template-columns: repeat(var(--provider-days),minmax(1px,1fr)); gap: 1px; }
.provider-day { display: inline-block; min-height: 10px; background: #e4eeeb; }
.provider-legend .provider-day { width: 10px; margin-right: 5px; }
.provider-detected { background: #148176; }
.provider-possibly_detected { background: #d0a032; }
.provider-not_detected { background: #8daca8; }
.provider-tier, .tier-badge { border-radius: 7px; background: #e5efe9; color: #124f48; padding: 3px 7px; font-size: .82rem; }
.provider-method, .provider-limits, .provider-calendar-label, .provider-date-range { color: #516a69; font-size: .88rem; }
@media (max-width: 620px) {
  .obs-heading { align-items: start; flex-direction: column; gap: 8px; }
  .obs-controls label { max-width: 100%; }
  .obs-controls :is(select,input) { max-width: 100%; }
}

body[data-page=explorer] #app { min-height: calc(100svh - var(--header-height)); display: flex; flex-direction: column; }
body[data-page=explorer] .atlas-screen { flex: 1; height: auto; min-height: 490px; }
.atlas-map .map-caption {
  top: auto; bottom: var(--atlas-caption-bottom, 108px); max-width: min(360px, calc(100% - 118px));
}
.atlas-map.fullscreen .map-caption { bottom: 22px; }
.atlas-time .strip-values > div { min-width: 116px; flex: 1 0 auto; }
.atlas-time .strip-values strong { font: 650 14px/1.25 var(--sans, Arial, sans-serif); }
.obs-spark-row { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.obs-spark { width: 46px; height: 18px; color: #a2e3d2; }
.tier { display: inline-block; border-radius: 5px; padding: 2px 5px; font-size: .75rem; font-weight: 650; }
.tier.provisional { background: #e4f4eb; color: #155147; }
.tier.failed { background: #fae4dd; color: #742e1d; }
@media(max-width: 740px) {
  #atlas-feed-strip { gap: 7px; }
  .atlas-time .strip-values { justify-content: start; }
  .atlas-time .strip-values > div:nth-child(2) { display: block; }
  .atlas-time .obs-action { padding: 6px 8px; }
  .obs-shell { padding-inline: 4px; }
}
#station-observations { min-width: 0; border-left: 1px solid var(--grid-rule); }
#station-observations > .obs-panel { margin: 0; border: 0; border-radius: 0; }
#station-observations .obs-controls { gap: 9px; }
#station-observations .obs-controls .field {
  appearance: auto; min-width: 0; max-width: 100%; min-height: 30px; padding: 4px 6px;
  border: 1px solid #aebec1; border-radius: 2px; background: #fff; color: #183a43;
  font: 500 13px/1.3 var(--sans, Arial, sans-serif);
}
#station-observations .obs-controls label { font: 500 13px/1.3 var(--sans, Arial, sans-serif); }
@media (max-width: 740px) {
  #station-observations { grid-row: 1; border-left: 0; border-bottom: 1px solid var(--grid-rule); }
}
.obs-available { font-size: .86rem; color: #456361; padding: 0 0 10px; }
.obs-available > div { margin: 3px 0; }
.obs-available .obs-link { margin-left: 5px; }
.obs-chart [data-point] { cursor: pointer; }
.obs-chart [data-point]:hover { r: 5; stroke: white; stroke-width: 1.5px; }
.obs-archive-note { color: #456361; font-size: .88rem; margin-block: 0 8px; }
[data-download-archive] { margin-top: 14px; }
.obs-export { display: flex; align-items: center; flex-wrap: wrap; gap: 0 12px; }
.obs-export p { margin: 14px 0 0; color: #456361; font-size: .88rem; }
.obs-export p:empty { display: none; }
.obs-heading-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
#multi-year { scroll-margin-top: 12px; }
#network-archive { scroll-margin-top: 12px; }
#network-archive .obs-controls { margin-bottom: 12px; }
#network-archive h3 { margin: 18px 0 8px; }
.network-archive-note { color: #456361; font-size: .88rem; margin: 4px 0 10px; }
.network-stations { display: flex; flex-wrap: wrap; gap: 8px 19px; padding: 8px 12px 10px; border: 1px solid #d5e2de; border-radius: 8px; }
.network-stations legend { color: #456361; font-size: .88rem; }
.network-stations label { display: inline-flex; align-items: center; gap: 6px; }
.network-key { display: inline-block; width: .66em; height: .66em; border-radius: 50%; background: var(--station-color); }
.network-source { min-width: 9em; font-size: .85em; }
.network-source dt { font-weight: 600; }
.network-source dd { margin: 0 0 .45em; overflow-wrap: anywhere; }
.network-download nav { display: flex; flex-wrap: wrap; gap: 8px 15px; }
.network-files { padding-inline-start: 20px; }
.network-files li { margin-bottom: 9px; }
.network-files nav { margin-top: 3px; }
.network-ambient { margin-top: 19px; padding-top: 2px; border-top: 1px solid #d5e2de; }
.ambient-stations { display: flex; flex-wrap: wrap; gap: 10px 25px; padding: 0; list-style: none; }
.ambient-stations li { display: grid; gap: 3px; }
.ambient-stations span, .ambient-epoch { display: block; color: #456361; font: 400 .85rem system-ui; }
.ambient-downloads { display: flex; flex-wrap: wrap; gap: 8px 15px; }
#observed-index { padding: 8px max(16px, calc((100vw - 1400px) / 2)); background: #102d34; color: #e3efec; border-bottom: 1px solid #729b9957; }
.observed-index-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin-bottom: 3px; font: 500 .76rem / 1.35 system-ui,sans-serif; }
.observed-index-head > span { color: #b8d1ce; }
[data-observed-selection]:not([hidden]) { display: inline-flex; flex-wrap: wrap; column-gap: 7px; }
[data-observed-selection] a { color: #cde9e3; text-decoration: underline; }
.observed-groups { display: flex; flex-wrap: wrap; gap: 3px 13px; }
.observed-group { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 3px 5px; max-width: 100%; }
.observed-kind { color: var(--coverage-color); font: 650 .68rem / 1.25 system-ui,sans-serif; padding-right: 1px; }
.observed-pill { border: 1px solid #82a9a659; border-radius: 12px; color: inherit; background: #26464c; padding: 2px 6px; font: 500 .69rem / 1.25 system-ui,sans-serif; cursor: pointer; white-space: nowrap; }
.observed-pill:hover, .observed-pill:focus-visible, .observed-pill[aria-pressed="true"] { border-color: var(--coverage-color); background: #345961; }
.observed-pill:focus-visible { outline: 1px solid var(--coverage-color); outline-offset: 1px; }
.observed-whale_analysis { --coverage-color: #a7dfbd; }
.observed-analyst_reports { --coverage-color: #f3c777; }
.observed-ambient_sound { --coverage-color: #94c9fb; }
.observed-reviewed_clips { --coverage-color: #ebaad6; }
.observed-regional_sightings { --coverage-color: #c4c4ee; }
.observed-map-markers { display: contents; }
.observed-marker { --point: var(--coverage-color); color: var(--coverage-color); }
.globe-point.station i { border-color: var(--coverage-color); }
.globe-point.station.observed-analyst_reports i { border-radius: 1px; transform: rotate(45deg); }
.globe-point.station.observed-ambient_sound i { border-radius: 1px; }
.globe-point.station.observed-regional_sightings i { border-style: dotted; }
.globe-point.selected, .atlas-map .observed-marker.selected { z-index: 4; }
.globe-point.selected i { background: var(--coverage-color); }
.observed-key { width: 10px; height: 10px; border-radius: 50%; background: var(--coverage-color); }
@media (max-width: 600px) {
  #observed-index { padding-inline: 12px; }
  .observed-groups { gap: 4px 8px; }
  .observed-pill { min-height: 24px; }
}

body[data-page] .site-footer { display:block; padding:0; }
.site-footer-bar { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; padding:17px var(--edge); }
.site-footer-bar nav { display:flex; flex-wrap:wrap; align-items:center; gap:8px 15px; margin-inline-start:auto; }
.site-footer-bar .footer-action { background:none; border:0; padding:0; color:inherit; font:inherit; cursor:pointer; }
.site-footer-bar :is(a,.footer-action):hover { text-decoration:underline; }
.site-footer-bar :is(a,.footer-action):focus-visible { outline:2px solid currentColor; outline-offset:3px; }
#explorer-footer[hidden], #observed-index[hidden], #preview-exit[hidden] { display:none; }
@media (max-width:520px) {
  .site-footer-bar nav { flex-basis:100%; margin-inline-start:0; }
  .atlas-map .map-caption { max-width:min(280px, calc(100% - 100px)); }
  .atlas-map .map-caption p { font-size:12px; }
}

/* The collapsed listening strip leaves the map unobstructed. */
#atlas-feed-strip {
  display: grid;
  grid-template-columns: minmax(0,max-content) max-content max-content max-content;
  gap: clamp(4px,1vw,10px);
  min-height: 0;
  width: max-content;
  padding: 4px 5px 4px 8px;
  border-radius: 12px;
  background: #0c2c35ee;
  color: #eef8f5;
}
#atlas-feed-strip :is(details,.readout-picker-host,.readout-station-name) { min-width: 0; }
#atlas-feed-strip summary {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding-inline: 6px;
  border-radius: 7px;
  list-style: none;
  cursor: pointer;
}
#atlas-feed-strip summary::-webkit-details-marker { display: none; }
#atlas-feed-strip :is(summary,button,a):focus-visible { outline: 2px solid #b8ede0; outline-offset: -2px; }
#atlas-feed-strip summary:hover { background: #ffffff13; }
.readout-station-name { display: grid; gap: 2px; }
.readout-station-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.readout-chevron {
  flex: 0 0 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
:is(#atlas-feed-strip,.analysis-picker) details[open] > summary .readout-chevron { transform: translateY(1px) rotate(225deg); }
#atlas-feed-strip small { display: block; color: #c4d9d9; font: 500 10px/1.2 var(--sans,Arial,sans-serif); }
#atlas-feed-strip strong { font: 600 13px/1.2 var(--sans,Arial,sans-serif); }
.readout-date {
  display: grid;
  gap: 2px;
  padding-left: 10px;
  border-left: 1px solid #94b6b65c;
  white-space: nowrap;
}
.readout-details > summary { color: #d7e9e7; font: 550 12px/1.1 var(--sans,Arial,sans-serif); }
#atlas-feed-strip .readout-analyze {
  min-height: 44px;
  padding: 6px 12px;
  border: 0;
  border-radius: 8px;
  color: #143b3b;
  background: #e4f3ea;
  font: 650 12px/1.2 var(--sans,Arial,sans-serif);
}
#atlas-feed-strip .readout-analyze:is(:hover,:focus-visible) { background: #cbeae0; }
#atlas-feed-strip .readout-analyze:focus-visible { outline-color: #247166; }
.readout-pop {
  position: absolute;
  inset-inline-start: 0;
  bottom: calc(100% + 8px);
  z-index: 1;
  max-height: min(50svh,24rem);
  overflow: auto;
  overscroll-behavior: contain;
  color: #eef8f5;
  border: 1px solid #729594;
  border-radius: 12px;
  background: #10353e;
  box-shadow: 0 9px 24px #011c28a8;
}
.readout-options {
  width: min(19rem,calc(100vw - 2 * var(--edge,16px)));
  margin: 0;
  padding: 5px;
  list-style: none;
}
.readout-options button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  color: inherit;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font: 550 14px/1.2 var(--sans,Arial,sans-serif);
  text-align: start;
}
.readout-options button:is(:hover,:focus-visible,[aria-current]) { background: #28515b; }
.readout-options button span { color: #c0f4df; }
.station-picker-pop {
  width: min(21rem,calc(100vw - 2 * var(--edge,16px)));
  padding: 6px;
  overflow: hidden;
}
.station-picker-search {
  width: 100%;
  margin-bottom: 4px;
  padding: 8px 10px;
  min-height: 38px;
  border: 1px solid #729594;
  border-radius: 7px;
  background: #0c2c35;
  color: inherit;
  font: 500 14px/1.2 var(--sans,Arial,sans-serif);
}
.station-picker-search::placeholder { color: #c4d9d9; }
.station-picker-pop .readout-options {
  width: auto;
  max-height: min(32svh,17rem);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0;
}
.station-picker-option { display: grid; min-width: 0; gap: 4px; }
.readout-options button .station-picker-option { color: inherit; }
.station-picker-option b { font-weight: 650; }
.station-picker-option > span { font-size: 11px; overflow-wrap: anywhere; }
.station-picker-empty { margin: 8px; font-size: 13px; }
.analysis-picker { position: relative; min-width: 0; }
.analysis-picker:has(.station-picker) > label { display: none; }
.analysis-picker .station-picker { max-width: min(20rem,calc(100vw - 3.5rem)); }
.analysis-picker summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  min-width: min(12rem,100%);
  padding: 5px 12px;
  border: 1px solid #aebec1;
  border-radius: 8px;
  background: #fff;
  color: #183a43;
  cursor: pointer;
  list-style: none;
}
.analysis-picker summary::-webkit-details-marker { display: none; }
.analysis-picker summary:is(:hover,:focus-visible,[aria-current]) { border-color: #46847c; }
.analysis-picker summary small { font-size: 11px; color: #496a6c; }
.analysis-picker summary strong { font-size: 14px; }
.analysis-picker .station-picker-pop {
  top: calc(100% + 6px);
  bottom: auto;
  z-index: 15;
  background: #fff;
  border-color: #aebec1;
  color: #183a43;
  box-shadow: 0 9px 24px #193c4729;
  width: min(21rem,calc(100vw - 4rem));
}
.analysis-picker .station-picker-search { background: #f4f8f7; border-color: #aebec1; }
.analysis-picker .station-picker-search::placeholder { color: #496a6c; }
.analysis-picker .readout-options button:is(:hover,:focus-visible,[aria-current]) { background: #e7f2ee; }
.analysis-picker .readout-options button span:not(.station-picker-option) { color: #496a6c; }
.readout-metrics { width: min(25rem,calc(100vw - 2 * var(--edge,16px))); padding: 10px 12px; }
.readout-metrics-heading,.readout-metric { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.readout-metrics-heading { padding-block: 2px 8px; }
.readout-metrics-heading span { color: #c4d9d9; font-size: 11px; }
.readout-metric { padding-block: 8px; border-top: 1px solid #94b6b647; }
.readout-metric strong { display: block; margin-block: 2px; }
.readout-metric .obs-spark-row { flex-direction: column; align-items: end; gap: 2px; white-space: nowrap; }
.readout-metric .obs-spark { width: 70px; height: 24px; }
@media (max-width: 740px) {
  .research-toolbar .station-controls:has(.analysis-picker) {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    width: 100%;
  }
  .analysis-picker summary { min-width: 0; gap: 8px; }
  .analysis-picker .station-picker-pop { width: min(17rem,calc(100vw - 4rem)); }
  .analysis-picker:nth-child(2) .station-picker-pop { inset-inline: auto 0; }
  #atlas-feed-strip {
    grid-template-columns: minmax(0,1fr) max-content max-content max-content;
    gap: 3px;
    width: auto;
    max-width: none;
    padding-left: 4px;
  }
  #atlas-feed-strip summary { gap: 5px; padding-inline: 5px; }
  .readout-date { padding-left: 6px; }
  #atlas-feed-strip .readout-analyze { padding-inline: 8px; }
}
@media (max-width: 365px) {
  #atlas-feed-strip strong { font-size: 12px; }
  .readout-date small { letter-spacing: -.02em; }
}
