/* Overview plots. Keep scientific numbers legible independently of colour. */
.dashboard-charts{align-items:stretch}
.dashboard-charts .chart-card{display:flex;flex-direction:column;padding:1.25rem 1.45rem 1.05rem;overflow:hidden}
.chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.chart-head h2{line-height:1.45}
.chart-head p,.chart-foot{font-size:.83rem;line-height:1.5;margin:.25rem 0 0}
.chart-total{display:flex;align-items:baseline;gap:.28rem;line-height:1;color:var(--ink);white-space:nowrap}
.chart-total b{font-size:1.62rem;font-weight:650;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.chart-total span{font-size:.78rem;color:var(--weak)}
.chart-card .chart-foot{margin-top:auto;padding-top:.58rem;border-top:1px solid var(--line);color:var(--weak)}
.cue-chart{width:100%;height:174px;margin:.35rem 0 .52rem}
.cue-plot{display:block;width:100%;height:174px;overflow:visible}
.plot-grid{stroke:#d4ded5;stroke-dasharray:3 4;stroke-width:1}
.plot-base{stroke:#9cafa4;stroke-width:1}
.axis-label,.axis-tick,.bar-number{fill:#34554a;font-family:inherit;font-variant-numeric:tabular-nums}
.axis-label{font-size:12px}
.axis-tick{font-size:11px;fill:#4f6b5b}
.bar-number{font-size:12px;font-weight:700;fill:#173e34}
.cue-column{fill:#28785f}
.cue-empty{height:100%;display:grid;align-content:center;justify-items:center;position:relative;text-align:center;color:#496457}
.cue-empty strong{font-size:.98rem;font-weight:650}
.cue-empty small{font-size:.82rem;color:#617269}
.cue-empty-labels{position:absolute;bottom:4px;left:0;right:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px dashed #b8c7bb;padding-top:.46rem}
.cue-empty-labels span{font-size:.76rem;color:#596e60}
.dashboard-charts .stage-card{background:#183e36;color:#f4f8ec;border-color:#193f37}
.stage-card .chart-head p,.stage-card .chart-foot{color:#c4d8cc}
.stage-card .chart-foot{border-color:#426357}
.stage-chart{display:grid;grid-template-columns:minmax(108px,.7fr) minmax(0,1.25fr);align-items:center;gap:clamp(1rem,2.6vw,2rem);min-height:174px;margin:.35rem 0 .52rem}
.stage-wheel{position:relative;max-width:144px;width:100%;justify-self:center}
.stage-wheel svg{display:block;width:100%;height:auto;overflow:visible}
.stage-track{stroke:#416457;stroke-width:12;fill:none}
.stage-empty{stroke-dasharray:2 4;stroke-width:4}
.stage-center{position:absolute;inset:0;display:grid;align-content:center;text-align:center;line-height:1.25;overflow:hidden}
.stage-center b{font-size:clamp(1.25rem,2.3vw,1.85rem);font-weight:650;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.stage-center small{color:#d7e7dc;font-size:.72rem}
.stage-large-number b{font-size:clamp(.8rem,1.5vw,1.12rem)}
.stage-legend{list-style:none;margin:0;padding:0;min-width:0}
.stage-key{display:grid;grid-template-columns:1fr auto minmax(3.2em,auto);align-items:baseline;gap:.5rem;margin:0;padding:.34rem 0;border-bottom:1px solid #395c4f;font-size:.8rem;line-height:1.45}
.stage-key:last-child{border-bottom:none}
.stage-name{display:flex;align-items:center;gap:.48rem}
.stage-name:before{content:"";width:8px;height:8px;flex:none;border-radius:2px;background:var(--key-color)}
.stage-0{--key-color:#f1c579}.stage-1{--key-color:#8ac5e4}.stage-2{--key-color:#c7aedc}.stage-3{--key-color:#b5c4c5}.stage-4{--key-color:#82d8b6}
.stage-count,.stage-ratio{text-align:right;font-variant-numeric:tabular-nums}
.stage-ratio{color:#c6d9ce;min-width:3.5em;font-size:.77rem}
@media (min-width:711px) and (max-width:1010px){
 .stage-chart{grid-template-columns:minmax(76px,.55fr) minmax(0,1.4fr);gap:.65rem}
 .dashboard-charts .chart-card{padding:1rem}
 .stage-key{gap:.3rem}
}
@media (max-width:710px){
 .dashboard-charts .chart-card{padding:1.05rem 1rem .9rem}
 .stage-chart{grid-template-columns:minmax(88px,.62fr) minmax(0,1.25fr);gap:.7rem}
 .stage-key{gap:.35rem}.stage-name{gap:.29rem}
 .axis-label{font-size:11px}.chart-head{gap:.5rem}
}
@media (max-width:355px){.stage-chart{grid-template-columns:80px minmax(0,1fr);gap:.4rem}.stage-key{font-size:.74rem}.stage-ratio{font-size:.7rem}}
@media(forced-colors:active){.cue-column{fill:Highlight}.axis-tick,.axis-label,.bar-number{fill:CanvasText}.plot-grid,.plot-base,.stage-track{stroke:CanvasText}.stage-key{border-color:CanvasText}.stage-wheel{forced-color-adjust:none}.stage-center{color:#fff;background:#183e36;inset:23%;border-radius:50%}}

.gallery-entry,.community-heading,.gallery-browse,.gallery-pager{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.gallery-entry{border:1px solid #acc8bb;border-radius:12px;background:#edf5ef;padding:1rem 1.25rem;margin:1rem 0}
.gallery-entry strong{color:#133c32;font-size:1.07rem}.gallery-entry span{margin-left:.9rem;color:#466055;font-size:.91rem}
.gallery-entry a,.gallery-shortcut,.gallery-list,.community a{color:#165849;font-weight:650;text-underline-offset:.2em}
.gallery-entry a,.gallery-shortcut,.gallery-list{display:inline-flex;align-items:center;min-height:44px}
.gallery-shortcut{margin-top:.3rem}.community{scroll-margin-top:1rem;outline-offset:3px}
.community-heading{border-bottom:1px solid #ccdbcf;padding-bottom:.65rem}.community-heading p{margin:.3rem 0}
.gallery-browse{justify-content:flex-start;margin:.9rem 0}.gallery-browse p,.gallery-work p{margin:0;color:#506558;font-size:.87rem}
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:1rem}
.gallery-work{border:1px solid #c4d6c8;border-radius:9px;overflow:hidden;min-width:0;padding:0 0 .72rem}
.gallery-work h3,.gallery-work p{margin:.5rem .8rem 0;overflow-wrap:anywhere}.gallery-work h3{font-size:1rem}
.gallery-images{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;background:#162c26}
.gallery-images img,.gallery-broken{width:100%;height:auto;aspect-ratio:16/10;flex:0 0 100%;object-fit:contain;scroll-snap-align:start}
.gallery-broken{display:grid;place-items:center;color:white;font-size:.86rem;padding:.75rem;box-sizing:border-box}
.gallery-flip [hidden]{display:none}.gallery-photo-pager{margin:.35rem .55rem 0;display:flex;align-items:center;justify-content:space-between;gap:.4rem;color:#466055;font-size:.83rem}.gallery-photo-pager button{min-height:44px;padding:.15rem .45rem}
.gallery-pager{justify-content:center;margin-top:1rem}.gallery-pager[hidden]{display:none}.gallery-pager span{font-size:.88rem}
.gallery-publish{margin-top:1rem;border-top:1px solid #ccdbcf;padding-top:.7rem}
.gallery-publish summary{cursor:pointer;font-weight:700;min-height:44px;line-height:44px}
.gallery-publish p{max-width:78ch}.gallery-submit{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.1rem .9rem;background:#e1efe7;border-radius:6px}
.gallery-submit[aria-disabled=true]{color:#56665b;background:#f0f2ef;cursor:default;text-decoration:none}
@media(max-width:600px){.gallery-entry{gap:.3rem}.gallery-entry span{display:block;margin:.2rem 0 0}.community-heading,.gallery-browse{gap:.4rem}.gallery-images img{max-height:55vh}}
@media(max-width:400px){.gallery-pager{gap:.35rem}.gallery-pager button{padding:.3rem .5rem}}
@media(forced-colors:active){.gallery-entry,.gallery-work,.gallery-submit{border:1px solid CanvasText}.gallery-submit[aria-disabled=true]{color:GrayText}}

