/* Reading-first Atlas: restrained surfaces, useful hierarchy, room for the coast. */
:root{--ink:#193e40;--muted:#536968;--line:#dce4df;--paper:#fffefa}
body{background:var(--paper)}button,input,select{font-family:Arial,Helvetica,sans-serif}button,a,summary,input,select{touch-action:manipulation} :focus-visible{outline:3px solid #ad782b;outline-offset:3px}
.masthead{background:var(--paper);height:76px;padding:0 26px}.workspace{height:calc(100dvh - 76px);grid-template-columns:330px minmax(0,1fr)}.brand strong{font-size:22px}.brand small{font-size:9px}.header-note{font-size:11px}.header-actions .quiet{font-size:12px}
.explorer{background:var(--paper)}.explorer-head{padding:26px 22px 0}.explorer-head h1{font-size:29px;line-height:1.15;margin:9px 0}.explorer-head>p{font-size:13px;line-height:1.55;color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:1.4px}.search-box{border-radius:5px;background:#fff;border-color:#ccd9d3}.search-box input{font-size:14px}.tabs button{font-size:12px;min-height:46px}.explorer-body{padding:10px 16px 22px}.subject-group summary{font-size:14px;min-height:44px}.subject-row{border-radius:3px;padding:10px 8px;min-height:52px}.subject-name{font-size:14px}.subject-meta{font-size:11px;color:#61746d;line-height:1.45}.subject-row.selected{background:#eaf1ed}.only-button{font-size:11px;min-height:36px;padding:7px 10px;border-radius:3px}.section-tools,.explorer-tip{font-size:11px;line-height:1.6}.explorer-footer{font-size:11px;background:var(--paper)}
.map-topbar{padding:18px 22px 12px;background:var(--paper)}.map-topbar h2{font-size:23px}.map-actions button{font-size:12px;min-height:38px}.selection-bar{background:var(--paper);padding:0 22px 12px}.chip{font-size:11px;border-radius:3px}.snapshot-controls{background:var(--paper)}.map-settings{box-shadow:none}.map-settings select{font-size:12px;min-height:38px}.legend{box-shadow:none;border-radius:4px}.legend-toggle{font-size:12px}.legend-item,.legend-note{font-size:11px}.leaflet-tooltip{font-size:12px}
.record-card{padding:18px 8px;background:transparent}.record-card:hover,.record-card.selected-record{background:#edf3ef}.record-card strong{font:normal 19px/1.35 Georgia,serif}.record-card small{font-size:12px;line-height:1.6}.record-card .record-kind{font-size:10px;color:#49675f}.record-quality{font-size:11px}.source-card{border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:20px 7px;box-shadow:none}.source-card>a:first-of-type{font:normal 20px/1.4 Georgia,serif}.source-card p,.source-card details{font-size:12px;line-height:1.65}.source-stage{background:none;border:0;padding:0;font-size:10px}.source-card .evidence-library-link{display:inline-block;background:none;border:0;padding:8px 0;font-size:12px}.panel-note{font-size:12px;line-height:1.6}
.detail-panel{width:420px;background:var(--paper);padding:28px;box-shadow:-3px 0 18px #193e4014;border-left:1px solid var(--line)}.detail-panel h2{font-size:29px;line-height:1.18;padding-right:22px;margin:14px 0}.detail-panel h3{font:normal 21px/1.3 Georgia,serif;margin:22px 0 12px}.detail-panel p,.detail-panel li{font-size:14px;line-height:1.7}.detail-kind{background:none;border:0;padding:0;max-width:90%;font-size:10px;letter-spacing:1px}.record-lead{font-size:15px!important;color:var(--ink)}.scientific-name{font-size:21px}.name-note{font-size:11px!important;color:var(--muted)}.close-button{width:38px;height:38px;background:#edf2ed}.availability{display:block;color:var(--muted);font-size:11px;line-height:1.6;border-top:1px solid var(--line);padding:10px 0;margin:14px 0 0}.availability span{display:inline;padding:0;background:none;border:0;border-radius:0;font-size:11px}.availability span+span:before{content:' · ';margin:0 3px}.evidence-tabs{top:-28px;background:var(--paper);margin:0 0 18px;gap:0}.evidence-tabs button{font-size:12px;padding:13px 8px;min-height:46px}.record-facts{margin:0}.record-facts>div{padding:9px 0}.record-facts dt{font-size:11px;text-transform:none;letter-spacing:0}.record-facts dd{font-size:13px;line-height:1.5}.headline-metrics{display:block;margin:18px 0}.headline-metrics .readable-metric,.finding-section .readable-metric{border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;padding:12px 0;margin:0}.headline-metrics .readable-metric strong{font:normal 23px Georgia,serif}.readable-metric small{font-size:12px}.headline-metrics .readable-metric p{display:block;font-size:11px!important}.study-findings{border-top:1px solid var(--line);margin-top:24px}.study-findings ul{padding-left:19px}.study-findings .finding-scope{font-size:12px;color:var(--muted)}.detail-panel details{font-size:13px;border-radius:0;background:none}.detail-panel summary{padding:13px 0;line-height:1.5}.precision-callout{font-size:12px!important;border-radius:0;background:#f7f2e7;padding:10px 12px}.glossary{border-top:1px solid var(--line);padding:0}.nearby-card{border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;padding:14px 0}.nearby-card strong{font:normal 18px/1.4 Georgia,serif}.nearby-card span,.nearby-card small{font-size:12px}.evidence-chart{background:none;border:0;border-top:1px solid var(--line);border-radius:0;padding:16px 0}.evidence-chart figcaption{font:normal 21px Georgia,serif}.about-stats{display:none}
.research-reader{padding:0;width:min(1040px,calc(100vw - 48px));max-width:none;height:calc(100dvh - 64px);max-height:none;border:1px solid #cbd8d0;border-radius:6px;background:var(--paper);color:var(--ink);box-shadow:0 25px 100px #102f3840}.research-reader::backdrop{background:#163e4059}.reader-toolbar{display:flex;align-items:center;gap:16px;padding:12px 22px;border-bottom:1px solid var(--line);min-height:62px}.reader-toolbar strong{font:normal 20px Georgia,serif;flex:1}.reader-toolbar button{font-size:13px;min-height:40px}.reader-layout{height:calc(100% - 63px);display:grid;grid-template-columns:190px minmax(0,1fr)}.reader-nav{padding:30px 18px;overflow:auto;border-right:1px solid var(--line)}.reader-nav a{display:block;padding:10px 0;font-size:12px;line-height:1.45;text-decoration:none}.reader-nav small{display:block;font-size:10px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);margin-bottom:12px}.reader-body{padding:32px 42px;overflow:auto;overscroll-behavior:contain;scroll-behavior:smooth}.reader-body h1{font:normal 34px/1.18 Georgia,serif;max-width:700px}.reader-body h2{font:normal 25px/1.3 Georgia,serif;margin:32px 0 15px}.reader-body h3{font-size:17px}.reader-body p,.reader-body li{font-size:15px;line-height:1.8;max-width:720px}.reader-body ul{padding-left:22px}.reader-body a{overflow-wrap:anywhere;text-underline-offset:3px}.reader-body section{margin:25px 0}.reader-body details{padding:15px 0;border-top:1px solid var(--line)}.reader-body summary{cursor:pointer;font-weight:600}.reader-body table{border-collapse:collapse;width:100%;font-size:13px}.reader-body th,.reader-body td{padding:10px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}.reader-body .table-scroll{overflow:auto}.reader-body .review-status{border-left:2px solid #b49656;padding:4px 16px;background:none;font-size:13px;line-height:1.7}.reader-body .review-status strong{display:block}.reader-body .review-grid{display:block}.reader-body .review-card{border-bottom:1px solid var(--line);padding:8px 0 20px}.reader-body .review-metrics{display:flex;flex-wrap:wrap;gap:18px;font-size:13px;margin:20px 0}.reader-body .review-metrics strong{font-size:14px;margin-right:4px}.reader-body .review-meta{font-size:12px;color:var(--muted)}.reader-body.pdf-reader{padding:0;display:flex;flex-direction:column}.pdf-reader p{padding:8px 22px;margin:0;font-size:12px}.pdf-reader iframe{width:100%;flex:1;min-height:350px;border:0;background:white}.reader-layout:has(.pdf-reader){grid-template-columns:1fr}.reader-layout:has(.pdf-reader) .reader-nav{display:none}.reader-error{padding:20px 0}.atlas-mobile-nav{display:none}
.mobile-evidence-summary{display:block;padding:8px 20px;background:var(--paper);border-top:1px solid var(--line);font-size:11px}.mobile-evidence-summary>summary{cursor:pointer;padding:5px 0;display:flex;justify-content:space-between}.mobile-evidence-summary .map-summary,.mobile-evidence-summary .map-caption{position:static;max-width:none;background:none;border:0;box-shadow:none;padding:8px 0;font-size:11px;line-height:1.6}.mobile-evidence-summary .map-summary{display:block}.mobile-evidence-summary .summary-dot{display:none}
@media(max-width:1080px) and (min-width:721px){.workspace{grid-template-columns:290px minmax(0,1fr)}.detail-panel{width:370px;padding:24px}.evidence-tabs{top:-24px}.explorer-head{padding:22px 18px 0}}
@media(max-width:720px){body{padding-bottom:calc(58px + env(safe-area-inset-bottom))}.masthead{height:62px;padding:0 14px}.brand strong{font-size:18px}.brand small{font-size:7px}.header-actions .quiet{font-size:11px;min-height:40px}.workspace{height:auto;display:flex}.explorer-head{padding:24px 20px 0}.explorer-head h1{font-size:29px}.map-topbar{padding:12px 14px 9px}.map-topbar h2{font-size:18px}.map-topbar .eyebrow{font-size:9px}.map-actions button{font-size:11px;padding:8px;min-height:40px}.selection-bar{padding:0 14px 10px}.map-canvas{height:58svh;min-height:320px}.detail-panel{width:100%;max-height:78dvh;bottom:calc(58px + env(safe-area-inset-bottom));padding:20px;border:1px solid var(--line);border-radius:12px 12px 0 0}.detail-panel h2{font-size:27px}.evidence-tabs{top:-20px}.atlas-mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:1100;min-height:58px;padding-bottom:env(safe-area-inset-bottom);background:var(--paper);border-top:1px solid #cbd8d0;box-shadow:0 -3px 14px #163e4009}.atlas-mobile-nav button{flex:1;border:0;border-radius:0;background:none;font-size:13px;color:var(--ink);min-height:54px}.atlas-mobile-nav button+button{border-left:1px solid var(--line)}.mobile-evidence-summary{padding:8px 14px}.research-reader{width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}.reader-toolbar{padding:10px 14px;gap:8px}.reader-toolbar strong{font-size:18px}.reader-layout{display:block;overflow:auto;overscroll-behavior:contain}.reader-nav{display:none}.reader-body{padding:24px 22px;height:100%}.reader-body h1{font-size:29px}.reader-body h2{font-size:23px}.reader-body p,.reader-body li{font-size:14px}.reader-body.pdf-reader{height:100%}.source-card>a:first-of-type{font-size:21px}#mobileMapTools select,#mobileMapTools button{min-height:44px}}
.research-reader{overflow:hidden}.reader-toolbar{height:64px;box-sizing:border-box}.reader-layout{height:calc(100% - 64px)}body:has(.research-reader[open]){overflow:hidden}
@media(prefers-reduced-motion:reduce){.reader-body{scroll-behavior:auto}}
@media print{.atlas-mobile-nav,.research-reader{display:none!important}body{padding:0}.mobile-evidence-summary{display:none}.workspace{height:auto}}

/* One optional tools shelf; the desktop detail pane gets its own map column. */
#mapToolsButton{display:inline-flex;align-items:center}
#mobileMapTools[hidden]{display:none!important}
#mobileMapTools{padding:14px 22px;background:#f5f7f3;border-block:1px solid var(--line);max-height:35vh;overflow:auto;flex-shrink:0}
#mobileMapTools .map-settings{position:static;display:flex;gap:8px;align-items:center;margin:0 0 12px}
#mobileMapTools .map-settings select{max-width:100%;min-height:40px}
#mobileMapTools .map-settings button{font-size:12px;min-height:40px;padding:8px 12px}
#mobileMapTools .snapshot-controls{padding:0;background:none;border:0}
#mobileMapTools .snapshot-controls label{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:12px}
#mobileMapTools .legend{position:static;max-width:none;max-height:none;padding:0;background:none;border:0;box-shadow:none}
#mobileMapTools .legend-body{display:flex;flex-wrap:wrap;align-items:center;gap:7px 18px;padding-top:10px}
#mobileMapTools .legend.collapsed .legend-body{display:none}
#mobileMapTools .legend-note{flex-basis:100%;max-width:760px}
@media screen and (min-width:721px){
 .workspace{grid-template-columns:280px minmax(0,1fr)}
 .explorer-head{padding:22px 18px 0}.explorer-head h1{font-size:26px}
 .map-topbar{padding:12px 20px 8px}.map-topbar h2{font-size:21px}
 .selection-bar{padding:0 20px 9px;min-height:36px}
 .map-canvas:has(.detail-panel:not([hidden])){display:grid;grid-template-columns:minmax(0,1fr) 360px}
 #map{min-width:0;min-height:0;grid-column:1}
 .detail-panel{position:relative;grid-column:2;grid-row:1;width:100%;min-width:0;min-height:0;max-height:100%;padding:24px;box-shadow:none}
 .detail-panel h2{font-size:26px}.evidence-tabs{top:-24px}
 .map-canvas:has(.detail-panel:not([hidden])) .leaflet-right{right:0}
 .map-signature{padding:4px 7px;box-shadow:none}.map-signature small{display:none}
 .map-signature img{width:22px;height:22px}.map-signature strong{font-size:11px}
 .mobile-evidence-summary{flex-shrink:0;padding:5px 20px;max-height:20vh;overflow:auto}
}
@media screen and (min-width:721px) and (max-width:1100px){
 .workspace{grid-template-columns:245px minmax(0,1fr)}
 .map-canvas:has(.detail-panel:not([hidden])){grid-template-columns:minmax(0,1fr) 310px}
 .detail-panel{padding:20px}.detail-panel h2{font-size:24px}
 .map-actions button{padding:8px;font-size:11px}.map-topbar h2{font-size:18px}
}
@media screen and (max-width:720px){#mobileMapTools{padding:14px 12px;max-height:45svh}#mobileMapTools .map-settings{flex-wrap:wrap}}
@media print{#mapToolsButton,#mobileMapTools{display:none!important}}
.reader-body.pdf-reader{display:block;overflow:auto;padding:16px 24px}
.pdf-page-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;position:sticky;top:-16px;background:var(--paper);padding:12px 0;border-bottom:1px solid var(--line);z-index:1}
.pdf-page-controls button{min-height:40px;font-size:12px}.pdf-page-controls label{font-size:12px;white-space:nowrap}.pdf-page-controls input{width:55px;min-height:36px;margin:0 6px;text-align:center;border:1px solid var(--line);background:#fff;border-radius:3px}
.pdf-sheet canvas{display:block;width:100%;height:auto;background:white;margin:16px auto}.pdf-sheet details{font-size:12px}.pdf-sheet details p{font-size:13px}
@media(max-width:720px){.reader-body.pdf-reader{padding:12px}.pdf-page-controls{top:-12px;gap:5px}.pdf-page-controls button{padding:8px 6px;font-size:11px}.pdf-page-controls input{width:43px}}

/* Coastal overview: geographic navigation first, observation symbols at local scale. */
.leaflet-tile-pane{filter:saturate(.25) brightness(1.06) contrast(.86)}
#coastViewHint{font:12px/1.45 Arial,sans-serif;color:#566e68;margin:6px 0 0;max-width:580px}
.coastal-place button{border:0;border-radius:2px;background:#fffefae0;box-shadow:none;color:#214f49;font:15px/1.3 Georgia,serif;padding:6px 8px;min-height:42px;width:126px;text-align:center}
.coastal-place button span{font:12px Arial,sans-serif;margin-left:5px;color:#5b7971}
.coastal-place button:hover,.coastal-place button:focus-visible{background:#fff;color:#086653;text-decoration:underline;text-underline-offset:3px}
.research-marker button{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border:0;background:transparent;padding:0;box-shadow:none}
.record-symbol{display:block;width:9px;height:9px;border:1px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #244b4c35}
.record-symbol.symbol-station{border-radius:1px}.record-symbol.symbol-dna{border-radius:1px;transform:rotate(45deg)}
.record-symbol.symbol-group{width:12px;height:12px;background:var(--paper);border:2px solid var(--marker)}
.record-symbol.symbol-study{width:12px;height:12px;border:1.5px dashed var(--marker);background:var(--paper);box-shadow:none}
.record-symbol.symbol-absence{background:#fff;color:#38554f;width:12px;height:12px;line-height:10px;text-align:center;border:0}
.research-marker button:hover .record-symbol,.research-marker button:focus-visible .record-symbol{outline:2px solid #254a42;outline-offset:3px}
.research-visibility{display:flex;flex-wrap:wrap;gap:8px 22px;flex-basis:100%;padding-top:8px;font-size:12px}
.research-visibility label{display:flex;align-items:center;gap:8px;min-height:34px}.research-visibility input{accent-color:#186d60;width:17px;height:17px}
#mobileMapTools .map-settings{flex-wrap:wrap}
@media(max-width:720px){#coastViewHint{font-size:11px;max-width:190px}.coastal-place button{font-size:13px}.map-topbar{align-items:flex-start}.research-visibility{display:block}.research-visibility label{min-height:42px}}

.leaflet-control-scale{margin-bottom:70px!important;margin-left:18px!important}
