/* Twelve calibrated monthly water vessels; the numbers remain ordinary text. */
#history .stream-calendar .calendar-head{align-items:center;flex-wrap:wrap;gap:12px}
#history .stream-calendar .calendar-track{height:auto;min-width:0!important;width:100%;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px;align-items:stretch}
#history .calendar-track .month-water-card{height:auto;min-width:0;aspect-ratio:1;isolation:isolate;display:block;border:1px solid #d5e2ce;border-radius:11px;background:linear-gradient(150deg,#fffefaaa,#edf4e699);overflow:hidden;touch-action:pan-y;transition:background .2s,border-color .2s,box-shadow .2s}
#history .calendar-track .month-water-card:hover{background:#f3f7ed;border-color:#95b383}
#history .calendar-track .month-water-card.active{transform:none;border-color:#718f5e;box-shadow:0 0 0 2px #88a97533,inset 0 0 16px #d7e8cd66}
#history .calendar-track .month-water-card:focus-visible{outline:2px solid #6e8e57;outline-offset:3px}
.month-water{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
.month-water-calibration{fill:none;stroke:#a7b99788;stroke-width:1;vector-effect:non-scaling-stroke}
.water-stop-top{stop-color:#87aaa3;stop-opacity:.44}.water-stop-bottom{stop-color:#bdd5cd;stop-opacity:.3}
.month-water-back{fill:#bfd7d33d}.month-water-surface{fill:none;stroke:#f5ffffbc;stroke-width:.8;vector-effect:non-scaling-stroke}
.month-water-card[data-water-fill="0"] :is(.month-water-fill,.month-water-back,.month-water-surface){display:none}
.month-hours{position:absolute;left:3px;right:3px;top:12%;display:block;text-align:center;color:#2e5138;font-size:clamp(11px,1.13vw,16px);font-weight:600;line-height:1.3;white-space:nowrap;text-shadow:0 1px 4px #fff9;pointer-events:none}
.month-hours small{font-size:.68em;font-weight:400}
#history .calendar-track .month-water-card b{left:0;right:0;bottom:10%;font-size:11px;font-weight:500;color:#2e5138;text-shadow:0 1px 4px #fff9;pointer-events:none}
html[data-theme=dark] #history .calendar-track .month-water-card{border-color:#405b47;background:linear-gradient(145deg,#253c2d,#182e25)}
html[data-theme=dark] #history .calendar-track .month-water-card:hover{border-color:#8ea37a;background:#294532}
html[data-theme=dark] #history .calendar-track .month-water-card.active{transform:none;border-color:#bfd1a0;box-shadow:0 0 0 2px #acc08c33,inset 0 0 16px #61896922}
html[data-theme=dark] .water-stop-top{stop-color:#89a7a6;stop-opacity:.45}html[data-theme=dark] .water-stop-bottom{stop-color:#698789;stop-opacity:.32}
html[data-theme=dark] .month-water-back{fill:#a0bab52d}html[data-theme=dark] .month-water-surface{stroke:#e0eeec91}
html[data-theme=dark] .month-water-calibration{stroke:#849b6870}
html[data-theme=dark] #history .calendar-track .month-water-card :is(.month-hours,b){color:#e1ebd0;text-shadow:0 1px 4px #1c3629}
@media(max-width:1050px){#history .stream-calendar .calendar-track{grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.month-hours{font-size:17px}}
/* Body-level viewport overlay escapes both vessel and calendar clipping without making a scrollbar. */
.stream-spill-layer{position:fixed;inset:0;width:100%;height:100%;z-index:12;overflow:hidden;pointer-events:none!important;contain:strict;visibility:hidden}
.stream-spill-layer[data-active=true]{visibility:visible}
.stream-spill-layer *{pointer-events:none!important}
/* Resting water belongs to its box; compositor scrolling requires no JS translation. */
.stream-water-host63{position:relative}
.stream-water-local63{position:absolute;inset:0;width:100%;height:100%;z-index:2;overflow:hidden;pointer-events:none!important}
.stream-water-local63 *{pointer-events:none!important}
.stream-spill-pool{fill:#91b3b12b;stroke:#f1fcf6a3;stroke-width:.65}
.stream-spill-puddles{fill:#7b9f9c26;stroke:#d9edeab8;stroke-width:.6}
.stream-spill-drops{fill:url(#stream-drop62);stroke:#47656a52;stroke-width:.4}
.stream-spill-glints{fill:none;stroke:#ffffffbf;stroke-width:.5;stroke-linecap:round}
.stream-spill-ribbons{fill:none;stroke:#d1e5e579;stroke-width:1.2;stroke-linecap:round}
html[data-theme=dark] .stream-spill-pool{fill:#a6cbc526;stroke:#e1f5ed85}
html[data-theme=dark] .stream-spill-drops{stroke:#dae9e864}
html[data-theme=dark] .stream-spill-puddles{fill:#a0c5c52b;stroke:#d7eeeb8c}
@media(max-width:540px){#history .stream-calendar .calendar-track{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.month-hours{font-size:14px}#history .calendar-track .month-water-card b{font-size:10px}}
@media(prefers-reduced-motion:reduce){#history .calendar-track .month-water-card{transition:none}.stream-spill-layer,.stream-water-local63{display:none}}
