/* Landscape references translated into interface layers; chart SVGs stay intact. */
body{background:#0d151b}
.nav{background:#0d151bdc;border-bottom-color:#a6b6b51c}
.hero{isolation:isolate;background:radial-gradient(ellipse at 92% 40%,#758e8b20,transparent 54%),radial-gradient(ellipse at 70% 85%,#e6a38513,transparent 48%),#0d151b}
.atmosphere{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:-1}
.hero h1 em{color:#e6b29b}
.hero-bottom p{color:#b0bdc0}
.hero-coordinate span,.sculpture-controls small{color:#93a5aa}
.sculpture-controls button{background:#14232a9c;border-color:#9bafaf30}
.marquee{background:#142027;color:#b4c2c3;border-color:#758e8b30}
.collection,.laboratory{background:#101b22}
.collection:before{background:radial-gradient(ellipse at 100% 0%,#758e8b16,transparent 50%)}
.laboratory{background:radial-gradient(ellipse at 0 20%,#758e8b11,transparent 50%),#122028;border-top-color:#758e8b30}
.laboratory:before{background:radial-gradient(ellipse at 95% 0%,#e6a3850b,transparent 50%)}
.collection .section-heading h2 em,.laboratory .section-heading h2 em{color:#adc3bf}
.collection .section-heading .eyebrow,.laboratory .section-heading .eyebrow{color:#b4b7b0}
.collection .section-description,.laboratory .section-description{color:#a1b1b6}
.collection-toolbar{background:#101b22ed;border-color:#758e8b33}
.filters button{color:#a8b8be}.filters button:hover:not(.active){background:#758e8b18;border-color:#758e8b66}
.search-label{background:#18272f;border-color:#758e8b40}.search-label span,#collection-count{color:#a2b7b6}
.study-card{background:linear-gradient(145deg,#20313a,#152129);border-color:#758e8b30;border-radius:11px}
.study-card:hover,.study-card:focus-visible{border-color:#b1c2b899;box-shadow:0 12px 30px #0003}
.study-card.is-selected{background:linear-gradient(140deg,#34403e,#19282e);border-color:#e6a38599}
.study-card .card-topline{color:#a3b9b9}.study-card h3{color:#e3ebe8}
.study-preview:after{background:#16272eeb;border-color:#758e8b55}
.lab-shell{border-color:#758e8b55;background:#14232b;box-shadow:0 24px 75px #0003}
.lab-shell:before{background:linear-gradient(90deg,transparent,#758e8b99,#e6a38599,transparent)}
.lab-topbar{background:linear-gradient(100deg,#23343b,#1a2932);border-bottom-color:#758e8b30}
.live-indicator{color:#b4c8c3}.lab-topbar select,.control select{background:#23343d;border-color:#758e8b44}
.control-panel{background:linear-gradient(155deg,#21333b,#17242d);border-right-color:#758e8b30}
.study-kicker,.control-label{color:#b0c5bf}.control-panel h3{color:#e7eee9}.control-panel>p,.control-footer p{color:#a9b9bd}
.control-heading{color:#c5d4d1}.control input[type=range]{accent-color:#a2b9b2}.control-footer a{color:#c2cfc2}
.metric-strip{background:linear-gradient(110deg,#25383c,#192a33);border-top-color:#758e8b55}
.metric{border-color:#758e8b30}.metric strong{color:#e6ede8}.metric:nth-child(2) strong{color:#b9cec7}.metric:nth-child(3) strong{color:#d6b7bc}.metric span{color:#a7bfbd}
.figure-note{background:#1a2c34;color:#a9bfbd}
.data-drawer{background:#17262e;border-color:#758e8b40}.data-toggle{color:#d2dfd9}.data-toggle>.micro{color:#a1b7b6}
.editor-heading h4{color:#e1e9e5}.editor-heading p{color:#a9babd}
#csv-editor{background:#101d25;border-color:#758e8b55;color:#c4d7d0}
.workflow{background:radial-gradient(ellipse at 85% 30%,#758e8b12,transparent 60%),#0e181f}
.workflow-grid article{border-color:#758e8b40}.workflow-grid p{color:#aab9bd}
.install-block{background:linear-gradient(120deg,#203039,#19252d);border-color:#758e8b40}
.closing{position:relative;overflow:hidden;background:radial-gradient(ellipse at 85% 90%,#e6a38518,transparent 55%),#142128}
.closing:before{content:'';position:absolute;width:56vw;height:56vw;border:1px solid #758e8b30;border-radius:50%;right:-13vw;top:-18vw;pointer-events:none}
.closing-link{position:relative}
.contact{background:radial-gradient(ellipse at 85% 100%,#758e8b14,transparent 65%),#101b22;border-color:#758e8b33}
.contact-links a{background:#1d2e3566;border-color:#758e8b40}.contact-links a:hover{background:#2a3b3b88;border-color:#e6a38580}.contact-links .micro{color:#a8bfba}
footer{background:#0d151b}
@media(max-width:760px){.atmosphere{opacity:.6}.closing:before{width:90vw;height:90vw;right:-35vw;top:-10vw}}
@media print{.atmosphere{display:none}}

/* One geometry, six renderings; art stays outside the evidence canvas. */
.sculpture-controls{max-width:510px}.sculpture-controls>div{flex-wrap:wrap;justify-content:flex-end;gap:5px}.sculpture-controls button{padding:9px 12px}.sculpture-controls button.active{background:#e6b29b;color:#18232a;border-color:#e6b29b}
.study-card:before{content:'';position:absolute;top:-1px;left:12%;right:12%;height:1px;background:linear-gradient(90deg,transparent,#adc3bf,transparent);opacity:0;transition:opacity .3s;pointer-events:none}.study-card:hover:before,.study-card:focus-visible:before{opacity:.8}
.lab-shell:focus-within{border-color:#9eb8b2aa}
@media(max-width:760px){.sculpture-controls{max-width:340px;right:5%}.sculpture-controls button{padding:8px 10px;font-size:9px}}
@media(prefers-reduced-motion:reduce){.study-card:before{transition:none}}

/* Evidence-led compositions: quiet fields, precise edges, linked local emphasis. */
.gallery:not(.is-filtered) .study-card:nth-child(11n+1),.gallery.is-filtered .study-card:first-child{grid-column:span 2;grid-row:span 2;display:flex;flex-direction:column}
.gallery:not(.is-filtered) .study-card:nth-child(11n+1) .study-preview,.gallery.is-filtered .study-card:first-child .study-preview{flex:1;aspect-ratio:auto;min-height:260px}
.gallery:not(.is-filtered) .study-card:nth-child(11n+1) h3,.gallery.is-filtered .study-card:first-child h3{font-size:19px;margin-bottom:5px}
.study-card{overflow:hidden}.study-card .study-preview{border-radius:6px}.study-card:hover .study-preview svg{transform:scale(1.012)}
.palette-control>div{flex-wrap:wrap;gap:7px}.palette-button{display:grid;grid-template-columns:repeat(4,10px);gap:2px;padding:6px;border-color:#758e8b44;background:#15232b}
.palette-button span{width:10px;height:17px;border-radius:1px}.palette-button small{grid-column:1/-1;font-size:7px;text-transform:uppercase;letter-spacing:.6px;color:#b4c6c0;margin-top:5px;text-align:center}
.palette-button.active{border-color:#e6a385;background:#e6a3850c}
.evidence-rail{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 16px;margin:0 -16px;background:#edf0e9;border-top:1px solid #d3ded7;color:#33474b;min-height:68px}
.evidence-copy{min-width:0}.evidence-copy .micro{font-size:7px;letter-spacing:1.1px;color:#637f7b}.evidence-copy p{font-size:10px;line-height:1.6;margin:4px 0 0;overflow-wrap:anywhere}
.evidence-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.evidence-actions button{border:1px solid #a6bbb0;border-radius:50%;width:27px;height:27px;background:#fdfcf9;color:#3e6266;transition:background .18s,color .18s}.evidence-actions button:hover{background:#376575;color:#fff}.evidence-actions span{font:9px monospace;min-width:48px;text-align:center;color:#59716e}
.chart-stage .panel-aura{fill:none;stroke:#758e8b;stroke-width:1.2;pointer-events:none;opacity:.75}
.chart-stage .muted{filter:opacity(.5)}.chart-stage .linked{filter:drop-shadow(0 0 1px #758e8b80)}
.chart-stage [data-tip]{transition:opacity .2s,filter .2s}
#tooltip{background:#172a31f5;border-color:#96b4a9aa;color:#eff3e9;box-shadow:0 8px 28px #0002}
.figure-toolbar{padding:3px 0 7px;border-bottom:1px solid #dce3dc}.figure-toolbar button,#panel-picker{border-color:#c3d1c7;color:#456365}.figure-toolbar button:hover{background:#e3eae2;border-color:#8fa99d}
#clear-selection{background:#e7ede4;border-color:#8fa99d;color:#456365}
@media(max-width:850px){.gallery:not(.is-filtered) .study-card:nth-child(11n+1),.gallery.is-filtered .study-card:first-child{grid-column:span 2;grid-row:auto}.gallery:not(.is-filtered) .study-card:nth-child(11n+1) .study-preview,.gallery.is-filtered .study-card:first-child .study-preview{aspect-ratio:1.8;min-height:0;flex:auto}}
@media(max-width:760px){.evidence-rail{margin:0 -9px;padding:11px 10px;gap:10px}.evidence-copy p{font-size:9px}.evidence-actions{gap:4px}.evidence-actions button{width:25px;height:25px}.evidence-actions span{min-width:40px;font-size:8px}.gallery:not(.is-filtered) .study-card:nth-child(11n+1) h3,.gallery.is-filtered .study-card:first-child h3{font-size:16px}.palette-button{grid-template-columns:repeat(4,9px)}.palette-button span{width:9px}.palette-button small{font-size:6px}}
@media(prefers-reduced-motion:reduce){.chart-stage [data-tip],.evidence-actions button{transition:none}}
@media print{.evidence-rail{display:none}}

/* Dark exhibition canvas; paper presentation remains available explicitly. */
body:not(.paper-canvas) .study-preview{background:#14232b;border-color:#758e8b22}
body:not(.paper-canvas) .canvas-area{background:#14232b}
body:not(.paper-canvas) .figure-toolbar{color:#a2b6bd;border-color:#758e8b33}
body:not(.paper-canvas) .figure-toolbar button,body:not(.paper-canvas) #panel-picker{color:#becfcc;background:#1b3039;border-color:#758e8b55}
body:not(.paper-canvas) .figure-toolbar button:hover{background:#29434b;border-color:#a4bcb0}
body:not(.paper-canvas) .evidence-rail{background:#1c323a;color:#d1e0da;border-color:#758e8b44}
body:not(.paper-canvas) .evidence-copy .micro{color:#91b3a7}
body:not(.paper-canvas) .evidence-actions button{background:#213b44;color:#d9e4dc;border-color:#758e8b66}
body:not(.paper-canvas) .evidence-actions span{color:#a9c1b8}
body:not(.paper-canvas) .chart-stage .panel-aura{stroke:#9cbdaf}
.canvas-theme{border:1px solid #758e8b55;background:#20353d;color:#c0d2ca;padding:7px 10px;border-radius:5px;font-size:9px;white-space:nowrap}
.canvas-theme[aria-pressed=true]{border-color:#b3c8b680;color:#e3d1b7;background:#2b3e42}
.collection-toolbar{flex-wrap:wrap}#collection-theme{font-size:9px;padding:7px 10px}
@media(max-width:760px){#collection-theme{align-self:flex-end}.collection-toolbar{gap:8px}}

body:not(.paper-canvas) #clear-selection{background:#2a444b;border-color:#92b5a5;color:#dce6d8}

/* Local light: evidence leads, axes support, selection keeps context visible. */
body:not(.paper-canvas) .chart-stage .muted{filter:opacity(.68)}
body:not(.paper-canvas) .chart-stage .linked{filter:drop-shadow(0 0 1.6px #bedfd599)}
body:not(.paper-canvas) .study-preview{box-shadow:inset 0 0 0 1px #a4c3b80d}
body:not(.paper-canvas) .study-card:hover .study-preview{box-shadow:inset 0 0 0 1px #a4c3b833}
body:not(.paper-canvas) .canvas-area{background:linear-gradient(145deg,#172831,#14232b)}
body:not(.paper-canvas) .evidence-rail{border-top-color:#9abfb15c}

/* Filled evidence receives the same local emphasis as point and line studies. */
body:not(.paper-canvas) .chart-stage [data-visual-role="heat-cell"].linked{filter:none;stroke:#e3d3b8;stroke-width:.75;paint-order:fill stroke}
body:not(.paper-canvas) .chart-stage [data-visual-role="ribbon"].linked{filter:drop-shadow(0 0 1px #bfdcd680);stroke:#d9e8df;stroke-width:.55;paint-order:fill stroke}
body:not(.paper-canvas) .chart-stage [data-visual-role="category"].linked{filter:drop-shadow(0 0 1px #bfdcd680)}
