@font-face{font-family:Inter;src:url(assets/Inter-Regular.woff2) format("woff2"),url(assets/Inter-Regular.ttf) format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:Inter;src:url(assets/Inter-SemiBold.woff2) format("woff2"),url(assets/Inter-SemiBold.ttf) format("truetype");font-weight:600 900;font-display:swap}
:root{color-scheme:light;--bg:#f4f7f8;--card:#fff;--text:#233847;--muted:#4f6a77;--accent:#31567c;--line:#d3dfe4;--select:#e7f0f2;--map:#edf0ed;--mapline:#bfcbc9;--dark-logo:none;--light-logo:block}
:root[data-theme=dark]{color-scheme:dark;--bg:#142229;--card:#1d3039;--text:#edf4f5;--muted:#b9cbd0;--accent:#9fcad0;--line:#3d545d;--select:#2d4853;--map:#233632;--mapline:#4e625e;--dark-logo:block;--light-logo:none}
:root{--map-no-value:#a6b4b2}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font:400 16px/1.52 Inter,system-ui,sans-serif}
h1,h2,h3,p{margin:0}
h1{font-size:clamp(1.95rem,4vw,3rem);line-height:1.12;letter-spacing:-.05em;font-weight:700}
h2{font-size:1.35rem;line-height:1.24;letter-spacing:-.02em;font-weight:700}
h3{font-size:.96rem;font-weight:650}
a{color:var(--accent);text-underline-offset:.22em}
button,select,input{font:inherit;color:inherit}
button,select,input[type=date]{padding:.46rem .67rem;border:1px solid var(--line);border-radius:.5rem;background:var(--card);min-height:40px}
button{cursor:pointer;font-weight:600}
button:hover{background:var(--select)}
button:disabled{opacity:.55;cursor:default}
:focus-visible{outline:2px solid #4978a2;outline-offset:3px}
.shell{width:min(1230px,100% - 48px);margin-inline:auto}
.site-header{background:var(--card);border-bottom:1px solid var(--line)}
.header-inner{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-areas:"logo title nav theme";align-items:center;gap:18px;padding-block:16px}
.header-logo{grid-area:logo}
.header-title{grid-area:title}
.header-title h1{font-size:clamp(1.25rem,2.2vw,1.75rem);letter-spacing:-.03em;line-height:1.16}
.header-title p{margin-top:.2rem;font-size:.81rem;color:var(--muted)}
.logo{width:116px;max-height:36px;object-fit:contain}
.light-logo{display:var(--light-logo)}
.dark-logo{display:var(--dark-logo)}
nav{grid-area:nav;display:flex;flex-wrap:wrap;gap:21px}
nav a{text-decoration:none;font-size:.9rem;font-weight:600}
nav a:hover{text-decoration:underline}
.theme{grid-area:theme;justify-self:end}
.theme select{font-size:.88rem}
.content{padding-top:21px}
.explore-controls,.timeline,.site-toolbar,.downloads{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.explore-controls{gap:10px 18px;margin-bottom:12px}
.location-control,.site-toolbar label{display:flex;align-items:center;gap:8px;font-size:.9rem;color:var(--muted);font-weight:600}
.location-control select,.site-toolbar select,.site-toolbar input,#layer{color:var(--text);font-weight:400}
.choice{display:inline-flex;align-items:stretch;gap:0;border:1px solid var(--line);border-radius:.55rem;background:var(--card);padding:3px}
.choice button{min-height:36px;border:0;padding:.32rem .6rem;white-space:nowrap}
.choice button[aria-pressed=true]{color:var(--accent);background:var(--select)}
.choice button span{font-size:.72em;opacity:.87;display:inline-block;margin-left:2px}
.panel{border:1px solid var(--line);border-radius:.78rem;background:var(--card);overflow:hidden;min-width:0}
.explore{display:grid;grid-template-columns:minmax(0,26rem) minmax(0,1fr);align-items:start;gap:16px;--map-height:clamp(525px,73vh,750px)}
.explore[data-grid="2"]{grid-template-columns:minmax(0,38rem) minmax(0,1fr);--map-height:clamp(360px,55vh,540px)}
.map-view-controls{
  display:grid;grid-template-columns:max-content max-content minmax(0,22rem);
  align-items:center;gap:8px 14px;margin-bottom:12px
}
.map-variable button{font-size:.86rem;padding-inline:.55rem}
.depth-slot{display:grid;align-items:center;min-height:44px;min-width:0}
#fixed-map-depth,.map-depth-control{
  grid-area:1/1;display:grid;align-items:center;column-gap:8px;
  font-size:.9rem;color:var(--muted);font-weight:600
}
#fixed-map-depth{grid-template-columns:4.45rem minmax(0,9rem)}
.map-depth-control{grid-template-columns:4.45rem minmax(0,1fr) 4.5rem}
#fixed-map-depth[hidden],.map-depth-control[hidden]{display:none}
#layer{width:100%;min-width:0;font-size:.86rem;padding-inline:.45rem}
.map-depth-control input{width:100%;min-width:0;min-height:40px}
.map-depth-control input[type=range]{margin:0;accent-color:var(--accent)}
.map-depth-control input[type=number]{
  padding:.35rem;border:1px solid var(--line);border-radius:.5rem;background:var(--card);
  color:var(--text);font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums
}
.map-frame{background:var(--map);position:relative;height:var(--map-height)}
#map{position:absolute;inset:0;width:100%;height:100%;display:block;cursor:crosshair;touch-action:pan-y}
#map[data-zoomed="true"]{cursor:grab;touch-action:none}
#map[data-dragging="true"]{cursor:grabbing}
.north{position:absolute;right:13px;top:11px;padding:.18rem .38rem;border-radius:.4rem;background:var(--card);font-size:.85rem;font-weight:650;pointer-events:none}
.map-controls{position:absolute;right:11px;top:48px;display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.map-controls button{min-width:42px;padding:.24rem .43rem;font-size:1.08rem}
.map-controls button:disabled{opacity:1;color:var(--muted)}
.map-controls button:last-child{margin-top:2px;font-size:.72rem}
.map-footer{position:absolute;bottom:11px;inset-inline:12px;display:flex;align-items:flex-end;justify-content:space-between;gap:8px;pointer-events:none}
.legend,.map-timestamp{border-radius:.5rem;background:var(--card);border:1px solid var(--line);font-size:.75rem}
.legend{flex:none;padding:.45rem .58rem .33rem;color:var(--text);min-width:136px}
.map-timestamp{margin:0;padding:.36rem .58rem;color:var(--muted);text-align:right}
@media(max-width:540px){
  .map-date-divider{display:none}
  #map-clock:not([hidden]){display:block}
}
@media(max-width:360px){
  .map-time-divider{display:none}
  .map-time{display:block}
}
.legend-ramp{margin:.2rem 0;height:7px;border-radius:3px}
.legend-labels{display:flex;justify-content:space-between}
.legend-missing{display:flex;align-items:center;gap:.35rem;margin-top:.25rem;color:var(--muted)}
.legend-missing::before{content:"";width:.65rem;height:.65rem;border-radius:2px;background:var(--map-no-value)}
.timeline{flex:1 1 300px;min-width:0;max-width:34rem;flex-wrap:nowrap;gap:9px}
.timeline input[type=range]{flex:1;min-width:0;accent-color:var(--accent)}
.timeline input[type=date]{font-size:.88rem}
.timeline button{min-width:66px;font-size:.9rem}
.point{padding:20px 24px;display:flex;flex-direction:column;gap:10px;min-height:calc(var(--map-height) + 2px)}
.muted{color:var(--muted);font-size:.88rem}
.numbers{display:grid;grid-template-columns:1fr 1fr;gap:9px 13px;margin:15px 0 17px}
.numbers div{padding:7px 0 8px;border-bottom:1px solid var(--line)}
.numbers dt{color:var(--muted);font-size:.77rem}
.numbers dd{margin:0;font-size:1.03rem;font-weight:600}
.point-summary{display:grid;gap:2px}
.point-summary,.point-summary h2,.point-summary .muted,#point-time,.chart-stack h3{font-size:.875rem;line-height:1.45}
.point-summary h2{font-weight:400;letter-spacing:normal}
.point-summary strong,.chart-stack h3{font-weight:600}
.point-heading,.point-location,.chart-heading{display:flex;align-items:baseline;flex-wrap:wrap}
.point-heading,.chart-heading{justify-content:space-between;gap:2px 10px}
.chart-heading{column-gap:6px}
.point-location{gap:0 8px}
#point-time,.point-bed{white-space:nowrap;font-variant-numeric:tabular-nums}
.point-readings{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 10px;font-variant-numeric:tabular-nums}
.point-direction{color:var(--muted)}
.point-temperature{border-left:1px solid var(--line);padding-left:10px;line-height:1}
.point-tabs{background:var(--bg)}
.point-tabs button{background:transparent;font-size:.88rem}
.point-tabs button:hover,.point-tabs button[aria-selected=true]{color:var(--accent);background:var(--select)}
.point-chart-group{display:flex;flex:1;flex-direction:column;gap:10px;min-width:0}
.point-chart-group[hidden]{display:none}
.point-chart-group:focus-visible{outline-offset:1px;border-radius:.25rem}
.chart-context{font-size:.79rem}
.chart-stack{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.chart-stack canvas{display:block;width:100%;height:clamp(115px,calc((var(--map-height) - 265px)/2),185px)}
.chart-stack .date-chart{cursor:ew-resize;touch-action:pan-y pinch-zoom}
.depth-chart{position:relative}
.depth-chart canvas{cursor:ns-resize;touch-action:pan-y pinch-zoom}
.depth-grip{position:absolute;inset-inline:53px 0;height:26px;transform:translateY(-50%);cursor:ns-resize;touch-action:none}
.point-actions{display:flex;align-items:center;gap:5px 18px;flex-wrap:wrap}
.text-button{padding:3px 0;min-height:30px;border:0;background:transparent;color:var(--accent);font-size:.88rem;font-weight:400;text-decoration:underline;text-underline-offset:.22em}
.text-button:hover{background:transparent;color:var(--text)}
.plain{color:var(--accent);font-size:.88rem}
.status{font-size:.85rem;color:var(--muted);padding:7px 0}
.section-title{display:flex;align-items:end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:21px 0 11px}
.section-title p{margin-top:3px}
.up-period,.up-toolbar,.up-key,.up-readout{font-size:.85rem}
.up-panel{padding:14px 16px}
.up-toolbar,.up-toolbar label{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.up-toolbar label{color:var(--muted);font-weight:600}
.up-toolbar select{font-weight:400}
.up-pair{display:grid;grid-template-columns:minmax(245px,.75fr) minmax(0,1.4fr);gap:clamp(18px,3vw,42px);margin:13px 0 15px;border-top:1px solid var(--line);padding-top:13px}
.up-pair h3{font-size:.875rem;line-height:1.45;font-weight:600}
.up-map-col,.up-details{min-width:0}
#up-map,#up-section{display:block;width:100%;border-radius:.35rem}
#up-map{height:380px;background:var(--map);margin:8px 0;cursor:crosshair}
#up-section{height:263px;margin-top:6px;cursor:crosshair}
.up-key{width:min(100%,215px);margin-inline:auto;text-align:center;color:var(--muted);font-size:.77rem}
.up-gradient{height:7px;border-radius:2px;border:1px solid var(--line)}
.up-gradient.velocity{background:linear-gradient(to right,#a86243,#dfb69a,#f2f3e9,#86b9bd,#21596c)}
.up-gradient.heat{background:linear-gradient(to right,#345b83,#599b9e,#c4dca9,#ecc779,#b96847)}
.up-ticks,.up-section-key{display:flex;align-items:center;justify-content:space-between}
.up-ticks{font-variant-numeric:tabular-nums}
.up-place{display:flex;flex-wrap:wrap;gap:3px 1.4rem;align-items:baseline;margin:0 0 20px;padding:0 0 12px;border-bottom:1px solid var(--line)}
.up-place p,.up-section-key{font-size:.84rem}
.up-readout{min-height:2.9em;margin-top:12px;color:var(--text);font-variant-numeric:tabular-nums}
.up-section-key{gap:12px;color:var(--muted);padding-left:45px}
.up-section-key .up-key{margin:0;max-width:38%}
.up-isotherm-key::before{content:"";display:inline-block;vertical-align:middle;width:18px;margin-right:7px;border-top:2px solid var(--text)}
@media(max-width:760px){
  .up-pair{grid-template-columns:minmax(0,1fr)}
  #up-map{height:335px}
  .up-details{border-top:1px solid var(--line);padding-top:12px}
  #up-section{height:230px}
  .up-place{margin-bottom:12px}
}
.site-panel{display:grid;gap:14px;padding:13px 17px}
.site-location{display:flex;align-items:center;justify-content:space-between;flex:1;gap:8px 12px;min-width:max-content}
.site-block{padding-top:13px;border-top:1px solid var(--line)}
.site-block-heading{display:flex;align-items:center;justify-content:space-between;gap:6px 12px;flex-wrap:wrap}
.site-block-heading .muted,.site-note{font-size:.82rem}
.site-table{width:100%;border-collapse:collapse;font-size:.88rem;font-variant-numeric:tabular-nums}
.site-table th,.site-table td{text-align:right;padding:.45rem .55rem;border-bottom:1px solid var(--line);vertical-align:top}
.site-table tr>:first-child{text-align:left;padding-inline-start:0}
.site-table tr>:last-child{padding-inline-end:0}
.site-table thead th{color:var(--muted);font-weight:600}
.site-table tbody th{font-weight:500}
.site-table tbody tr:last-child>*{border-bottom:0}
.site-overview{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:clamp(24px,4vw,54px)}
.site-distributions{display:grid;gap:14px;min-width:0}
.site-distributions>*+*{border-top:1px solid var(--line);padding-top:12px}
.site-panel h3{font-size:.875rem;line-height:1.45;font-weight:600}
.site-chart{min-width:0;margin:0;--range-peak:#98672a;--range-band:#5b8984}
[data-theme=dark] .site-chart{--range-peak:#e8c979;--range-band:#82b2ad}
.range-key{display:flex;align-items:center;flex-wrap:wrap;gap:4px 16px;margin:6px 0 13px;color:var(--muted);font-size:.8rem}
.range-key>span{display:inline-flex;align-items:center;gap:6px}
.symbol{display:inline-block;flex:none;background:var(--accent)}
.symbol.median{width:8px;height:8px;border-radius:50%;box-shadow:0 0 0 1.5px var(--card)}
.symbol.p90{width:3px;height:13px}
.symbol.peak{width:8px;height:8px;background:var(--range-peak);transform:rotate(45deg)}
.symbol.extent{height:2px;width:16px;background:var(--muted)}
.symbol.band{height:8px;width:16px;border-radius:2px;background:var(--range-band)}
.range-row{display:grid;grid-template-columns:7.7rem minmax(0,1fr) 4.65rem;align-items:center;gap:12px;min-height:31px;font-size:.85rem}
.range-heading{min-height:24px;font-size:.77rem;color:var(--muted)}
.range-value{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.range-row:not(.range-heading) .range-value{font-weight:600}
.range-tick{position:absolute;transform:translateX(-50%);top:50%;line-height:1;translate:0 -50%;font-variant-numeric:tabular-nums}
.range-axis,.range-track{display:block;position:relative;height:100%}
.range-track{border-right:1px solid var(--line);background:repeating-linear-gradient(90deg,var(--line) 0 1px,transparent 1px var(--interval))}
.range-track::before{content:"";position:absolute;top:50%;inset-inline:0;border-top:1px solid var(--line)}
.range-track>.symbol{position:absolute;top:50%;transform:translate(-50%,-50%)}
.range-track>.extent,.range-track>.band{transform:translateY(-50%)}
.range-track>.peak{transform:translate(-50%,-50%) rotate(45deg)}
.site-weak{container:weak-flow / inline-size}
.range-row.range-footer{min-height:21px}
.range-unit{grid-column:2;text-align:center;color:var(--muted);font-size:.77rem}
.weak-table{table-layout:fixed}
.weak-table thead th:first-child{width:32%}
.weak-table thead th:nth-child(2){width:36%}
@container weak-flow (max-width:24rem){
  .weak-table tbody tr{height:calc(2lh + .9rem + 1px)}
}
.weak-share{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.weak-track{display:block;width:clamp(40px,9vw,130px);height:6px;border-radius:4px;background:var(--select)}
.weak-fill{display:block;height:100%;border-radius:inherit;background:var(--accent)}
.weak-number{flex:0 0 6.5ch;font-variant-numeric:tabular-nums}
#weak-flow-table th,#weak-flow-table td{vertical-align:middle}
.site-flow{display:flex;flex-direction:column;gap:12px;min-width:0;margin:0}
.site-flow .site-block-heading{min-height:40px}
#flow-depth{font-size:.875rem;color:var(--text)}
.site-bay{margin:0;flex:1;position:relative;min-height:190px}
#site-flow-view{position:absolute;inset:0;overflow:hidden;border-radius:6px}
#site-flow-map{display:block;width:100%;height:100%;background:var(--map)}
#rose-info{position:absolute;min-width:0;min-height:0;border:0;padding:0;border-radius:50%;background:transparent;color:var(--text);cursor:help}
#rose-info span{position:absolute;right:-3px;top:0;border:1px solid var(--line);border-radius:50%;width:18px;height:18px;line-height:16px;font-size:12px;background:var(--card)}
#rose-tip{position:absolute;left:8px;bottom:42px;max-width:min(16rem,calc(100% - 16px));padding:8px 10px;background:var(--card);color:var(--text);border:1px solid var(--line);border-radius:5px;font-size:.8rem;line-height:1.4;pointer-events:none}
.site-conditions{display:flex;flex-wrap:wrap;gap:8px clamp(16px,3vw,38px);margin:0}
:root{--bay-water:#dfedf1;--bay-shore:#31545a;--rose-ring:#687d88;--rose-petal:#627e98;--rose-strong:#31567c;--rose-arrow:#9b6724}
:root[data-theme=dark]{--bay-water:#254b58;--bay-shore:#bbd6cf;--rose-ring:#b6cbd3;--rose-petal:#9ab6c8;--rose-strong:#c6dae6;--rose-arrow:#f2c272}
.shore-key,.site-flow-links{display:flex;gap:4px 12px;align-items:center;flex-wrap:wrap}
.shore-key,.shore-credit{position:absolute;background:var(--card);font-size:.72rem;line-height:1.35;padding:3px 6px;border-radius:3px}
.shore-key{top:6px;left:6px;color:var(--text)}
.shore-credit{bottom:4px;right:4px}
.shore-key span{display:inline-flex;align-items:center;gap:5px}
.shore-key i{width:15px;border-top:2px solid var(--bay-shore)}
.shore-key i.model-shore{border-top:2px dashed var(--rose-ring)}
.bearing-arrow{color:var(--rose-arrow);font-style:normal;font-weight:700;display:inline-block}
.rose-overlay-key{position:absolute;inset:9px auto auto 9px;padding:4px 8px;max-width:calc(100% - 74px);background:var(--card);border:1px solid var(--line);border-radius:7px;color:var(--muted);font-size:.75rem}
.rose-overlay-key>div{display:flex;align-items:center;gap:8px;justify-content:space-between;color:var(--text)}
.rose-overlay-key button{min-width:30px;min-height:30px;padding:0;font-size:1.15rem}
.site-conditions dt,.site-footnote{color:var(--muted);font-size:.8rem}
.site-conditions dd{margin:1px 0 0;font-size:.875rem;line-height:1.45;font-weight:600}
.site-flow-links a,.site-flow-links button,.site-footnote a{font-size:.84rem}
.site-footnote{display:flex;justify-content:space-between;gap:6px 16px;align-items:baseline;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:9px}
.site-download-controls{margin-top:9px}
.site-download-controls #profile-date{flex-basis:100%}
@media(max-width:900px){
  .site-overview{grid-template-columns:minmax(0,1fr);gap:16px}
  .site-flow{border-top:1px solid var(--line);padding-top:12px}
  .site-bay{flex:none;height:clamp(200px,52vw,330px)}
}
@media(max-width:480px){
  .site-flow-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .site-flow-links>:not([hidden]){display:flex;align-items:center;min-height:44px;text-align:left}
  .range-row{grid-template-columns:minmax(68px,1fr) minmax(108px,2.15fr) 4.45rem;gap:8px;min-height:43px;font-size:.8rem}
  .range-heading{min-height:23px;font-size:.75rem}
  .weak-share{gap:5px}
  .weak-track{width:32px}
  #site-speed-plot .range-track>.p90{top:calc(50% - 7px);height:9px}
  #site-speed-plot .range-track>.peak{top:calc(50% + 7px)}
}
@media(max-width:360px){#site-temp-plot .range-tick:nth-child(even){visibility:hidden}}
.downloads{margin-top:10px}
.methods{margin-block:clamp(2.5rem,5vw,4rem) clamp(2.75rem,5vw,4rem)}
.methods-heading{display:grid;gap:.65rem;margin-bottom:1.4rem}
.methods > details{border-top:1px solid var(--line)}
.methods > details:last-child{border-bottom:1px solid var(--line)}
.methods summary{cursor:pointer;padding-block:.875rem;font-weight:600;line-height:1.35}
.methods summary::marker{color:var(--accent)}
.methods p,.method-figure figcaption{max-width:76ch}
.methods p{font-size:.94rem;line-height:1.58}
.method-content,.method-topic{display:grid;grid-template-columns:minmax(0,1fr);gap:.75rem}
.method-content{max-width:62rem;padding:.3rem 0 1.6rem clamp(.5rem,1.25vw,1.125rem)}
.method-topic h3{font-size:1.025rem;line-height:1.35}
.method-topic + .method-topic{margin-top:.65rem;padding-top:1.35rem;border-top:1px solid var(--line)}
.method-note{margin-top:.3rem;border-top:1px solid var(--line)}
.method-note summary{padding-block:.75rem;font-size:.92rem}
.method-note .method-content{padding:.125rem 0 .25rem}
.methods .downloads{margin:.2rem 0 0;gap:.5rem 1.125rem;align-items:baseline;font-size:.875rem;line-height:1.5;max-width:76ch}
.methods .downloads a{max-width:100%;overflow-wrap:anywhere}
.methods [id]{scroll-margin-top:1rem}
.method-figure{margin:.35rem 0 .45rem}
.method-figure a,.method-figure img{display:block}
.method-figure img{width:100%;height:auto;border:1px solid var(--line);border-radius:5px}
.method-figure figcaption{margin-top:.55rem;font-size:.875rem;line-height:1.5;color:var(--muted)}
.method-table{width:min(100%,44rem);margin:.35rem 0;border-collapse:collapse;font-size:.875rem;font-variant-numeric:tabular-nums}
.method-table caption{text-align:left;font-weight:600;margin-bottom:.5rem}
.method-table th,.method-table td{padding:.45rem clamp(.22rem,1.3vw,.7rem);border-bottom:1px solid var(--line);text-align:right}
.method-table tr>:first-child{text-align:left;padding-left:0}
.method-table thead th{color:var(--muted)}
.method-table tbody th{font-weight:500}
.footer{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding:19px 0 26px;font-size:.83rem;color:var(--muted)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.mobile-control{display:none}
@media(max-width:1040px){.explore,.explore[data-grid="2"]{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}.point{padding:16px}}
@media(max-width:950px){.header-inner{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"logo title theme" ". nav nav";row-gap:9px}}
@media(max-width:860px){.explore,.explore[data-grid="2"]{grid-template-columns:minmax(0,1fr)}.explore{--map-height:clamp(455px,69svh,645px)}.explore[data-grid="2"]{--map-height:clamp(305px,50svh,425px)}.point{min-height:0}.chart-stack canvas{height:clamp(130px,21vw,162px)}}
@media(max-width:680px){
  .shell{width:calc(100% - 25px)}
  .header-inner{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"logo theme" "title title" "nav nav";padding-block:9px 13px;gap:8px}
  .logo{width:86px}
  .header-title h1{font-size:1.28rem}
  .header-title p{font-size:.76rem}
  nav{gap:4px 15px}
  nav a{font-size:.81rem}
  .theme select{font-size:.78rem}
  .content{padding-top:13px}

  .explore-controls{display:grid;gap:8px}
  .location-control select{flex:1;min-width:0}
  .timeline{display:grid;grid-template-columns:44px minmax(0,1fr) 44px minmax(64px,auto);gap:6px;max-width:none}
  .timeline .mobile-control{display:block;min-width:0;padding:0;font-size:1.4rem;line-height:1}
  .timeline input[type=date],.location-control select,#layer,.site-toolbar select,.site-toolbar input{min-width:0;min-height:44px;font-size:1rem}
  .timeline input[type=date]{width:100%;padding-inline:.38rem}
  .timeline #play{min-width:0;padding-inline:.45rem}
  .timeline #day{grid-column:1/-1;width:100%;margin:0}
  .timeline button,.timeline #day,.map-controls button,.map-view-controls button,.map-depth-control input,#series-retry{min-height:44px}

  .explore,.explore[data-grid="2"]{gap:12px}
  .explore{--map-height:clamp(375px,58svh,535px)}
  .explore[data-grid="2"]{--map-height:clamp(295px,43svh,390px)}
  .map-view-controls{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:8px}
  .map-view-controls .choice button{flex:1}
  .depth-slot{grid-column:1/-1}
  #fixed-map-depth{grid-template-columns:4.45rem minmax(0,1fr)}
  .map-controls button{min-width:44px}
  .chart-stack canvas{height:clamp(156px,40vw,185px)}

  .site-panel{padding-inline:12px}
  .site-table th,.site-table td{padding-inline:.23rem}
  .site-table{font-size:.8rem}
  .site-download-controls{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:8px}
  .site-download-controls label{display:grid;gap:4px;font-size:.84rem}
  .site-download-controls select,.site-download-controls input{width:100%;padding-inline:.35rem}
  .site-download-controls #profile-date{grid-column:1/-1;margin:0}
  .site-toolbar #show-site,#sites .choice button{min-height:44px}
}
@media(max-width:480px){.map-view-controls{grid-template-columns:minmax(0,1fr)}}
@media(max-width:420px){#point-year{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}
@media(max-width:380px){.point-time-wide{display:none}}
@media(max-width:355px){.point{padding-inline:12px}}
@media(max-width:400px){
  .site-download-controls{grid-template-columns:minmax(0,1fr)}
  .site-download-controls label{grid-template-columns:5.1rem minmax(0,1fr);align-items:center}
}
