/* Molecular cartography: artwork and live annotations share one coordinate space. */
.exhibit-construct .exhibit-composition{display:flex;flex-direction:column;gap:24px}
.exhibit-construct .exhibit-artwork{width:100%;height:auto!important;min-height:0!important;aspect-ratio:1.16;max-width:1320px;margin:auto;padding-bottom:130px}
.research-exhibit .exhibit-artwork .scene-construct{inset:0 0 130px!important;width:100%;height:auto!important;aspect-ratio:auto!important;transform:none;top:0!important;background:radial-gradient(ellipse at 54% 52%,#0a263d91,transparent 65%);border:0;box-shadow:none;overflow:visible;perspective:none}
#construct-art,#plasmid-dna{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:pan-y}
#plasmid-dna{pointer-events:none}#construct-art{cursor:grab;overflow:visible}#construct-art:active{cursor:grabbing}
#construct-art text{font-family:'IBM Plex Sans',sans-serif;fill:#d2e9ed;paint-order:stroke;stroke:#071827;stroke-width:2.5px;stroke-linejoin:round}
#construct-art .map-scale{font:13px 'IBM Plex Mono',monospace;fill:#8baeb9;stroke-width:2px}
#construct-art .map-source-arrow{fill:#7fafa542;stroke:#98d8c454;stroke-width:1}
#construct-art .map-gene-label{font-size:18px;font-weight:500;stroke-width:1.5px}
#construct-art [data-map-feature]{cursor:pointer;outline:none;fill:initial;stroke:initial}
#construct-art .map-annotation-name{font-weight:500;font-size:19px}
#construct-art .map-coordinate{font:14px 'IBM Plex Mono',monospace;fill:#8faebd}
#construct-art .map-leader{fill:none;stroke:#92bfc957;stroke-width:1;transition:stroke .3s}
#construct-art .map-site{fill:#8cbdc6;stroke:none}
#construct-art .map-feature-trace{fill:none;stroke:transparent;stroke-width:2;pointer-events:none}
#construct-art .map-gene-body{transition:filter .4s,opacity .4s}
#construct-art .map-gene.is-linked .map-gene-body,#construct-art .map-gene:hover .map-gene-body,#construct-art .map-gene:focus-visible .map-gene-body{filter:drop-shadow(0 0 8px var(--feature));opacity:1}
#construct-art .map-gene:not(.is-linked){opacity:.86}
#construct-art .map-annotation:hover text,#construct-art .map-annotation:focus-visible text,#construct-art .map-annotation[aria-pressed=true] text{fill:#f4d5a6}
#construct-art .map-annotation[aria-pressed=true] .map-leader{stroke:#efc98e;stroke-width:2}
#construct-art .map-annotation[aria-pressed=true] .map-site{fill:#ffe1ad;r:5px}
#construct-art [data-map-feature]:hover,#construct-art [data-map-feature]:focus-visible,#construct-art [data-map-feature][aria-pressed=true]{fill:initial;stroke:initial}
#map-centre-title{font:500 30px 'Space Grotesk',sans-serif;fill:#d9f2f4}#map-centre-sub{font:17px 'IBM Plex Mono',monospace;fill:#aed2d6}#map-centre-note{font-size:13px;fill:#8eaab7}
.mechanism-trail{fill:none;stroke-width:4;stroke-linecap:round;filter:drop-shadow(0 0 5px #91e9db70)}.mechanism-glow{filter:drop-shadow(0 0 7px #c9f7ea)}
.exhibit-construct .exhibit-caption{display:grid;grid-template-columns:minmax(180px,.65fr) 1fr;gap:10px 35px;max-width:1000px;padding:15px 4%;min-height:0;width:100%;align-self:center}.exhibit-construct .exhibit-caption h4{grid-row:1/4;font-size:1.7rem}.exhibit-construct .exhibit-caption .caption-extra{margin:0}.exhibit-construct .caption-source{margin:6px 0 0;grid-column:2}
.exhibit-construct .experience-readout{bottom:38px!important;left:5%;right:5%}.exhibit-construct .art-gesture{bottom:0!important}
.exhibit-construct .exhibit-invitation{gap:13px 25px;align-items:center}.exhibit-construct .experience-action{background:none;border:0;border-bottom:1px solid #8abfc24d;border-radius:0;padding:10px 0;min-height:44px}.exhibit-construct .experience-action:first-child{color:#f0d2a6}.exhibit-construct .action-signal{display:none}.exhibit-construct .invitation-hint{order:4;margin:0}.exhibit-construct .map-feature-picker{flex-basis:auto;min-width:230px;max-width:320px;margin:0;flex-direction:row;align-items:center;gap:12px}.map-feature-picker>span{display:none}.map-feature-picker select{background:#0c2230aa;border:0;border-bottom:1px solid #9bb9bd55;border-radius:0;padding:12px 25px 12px 0;font-size:.85rem}.map-source-link{font-size:.78rem;color:#89a5b5;padding:12px 0;text-decoration:underline;text-underline-offset:5px;min-height:44px}
#plasmid-workbench{max-width:none;max-height:none;width:100vw;height:100dvh;padding:0;border:0;margin:0;color:#dceef3;background:radial-gradient(ellipse at 55% 50%,#11364b,#04121f 75%);overflow:hidden}#plasmid-workbench::backdrop{background:#010a13ec}
.map-workbench-bar{position:relative;z-index:3;display:flex;align-items:center;gap:16px;min-height:76px;padding:12px 4%;border-bottom:1px solid #a1c7cb24}.map-workbench-bar strong{font:500 22px 'Space Grotesk',sans-serif;white-space:nowrap}.map-workbench-bar small{font-size:12px;color:#92b8c3;margin-left:10px}.map-workbench-bar select{margin-left:auto;max-width:330px;background:#0e2a3c;color:#d7edf1;border:1px solid #7aa9b43d;padding:10px;min-width:0}.map-workbench-bar button{color:#c7e5ec;min-width:40px;min-height:44px;padding:9px;border-bottom:1px solid #9fbcc545;white-space:nowrap}.map-workbench-bar button:focus-visible{outline:2px solid #8edadd}
#map-workbench-stage{position:absolute;inset:90px 3% 100px}#map-workbench-stage .scene-construct{position:absolute;inset:0!important;transform:none!important;background:none;perspective:none;height:100%;width:100%}#map-workbench-stage #construct-art{touch-action:none;overflow:hidden}#map-workbench-status{position:absolute;bottom:18px;left:8%;right:8%;font:14px/1.6 'IBM Plex Sans',sans-serif;color:#aac6d1;text-align:center;max-width:1000px;margin:auto}
@media(max-width:760px){.exhibit-construct .exhibit-artwork{aspect-ratio: .88;padding-bottom:150px}.research-exhibit .exhibit-artwork .scene-construct{bottom:150px!important}.exhibit-construct .exhibit-caption{display:block;padding:15px 4%}.exhibit-construct .caption-extra{margin-top:16px!important}.exhibit-construct .caption-source{margin-top:16px}.exhibit-construct .experience-readout{bottom:45px!important}.exhibit-construct .experience-action{font-size:.85rem}.exhibit-construct .map-feature-picker{min-width:0;max-width:100%;width:100%}.exhibit-construct .map-feature-picker select{width:100%}.map-workbench-bar{flex-wrap:wrap;gap:7px;padding:10px 4%}.map-workbench-bar strong{font-size:17px}.map-workbench-bar small{display:none}.map-workbench-bar select{order:5;flex-basis:100%;max-width:none;margin:0}#map-workbench-stage{inset:125px 0 140px}#map-workbench-status{font-size:12px;left:6%;right:6%;bottom:20px}.map-workbench-bar button{font-size:13px}}

/* Credits belong to the figure they describe, not an unrelated page margin. */
.research-exhibit .exhibit-artwork>.exhibit-credit{position:absolute;left:0;right:0;bottom:-39px;max-width:none;margin:0!important;padding:0 4%;text-align:center;font:11px/1.5 'IBM Plex Mono',monospace;color:#8eb0bf}
@media(max-width:760px){.exhibit-composition,.exhibit-cell .exhibit-composition,.exhibit-enzyme .exhibit-composition{gap:65px}.exhibit-construct .exhibit-composition{gap:65px}}
/* Keep the ecosystem at its original brightness; local text backing preserves contrast. */
.home .research-guide{background:transparent}.home .knowledge,.home .experience{background:transparent}
.exhibit-introduction,.exhibit-caption,.research-heading,.experience-readout,.research-conclusion,.outcome-updated{background:radial-gradient(ellipse,#061727e8 0%,#061727c7 58%,transparent 76%);text-shadow:0 1px 9px #04101e}
.research-exhibit:before{opacity:.3}
.research-exhibit .exhibit-artwork .scene-construct{background:radial-gradient(ellipse at 54% 52%,#061b2ee8 0%,#061b2ed4 47%,transparent 75%)}
#plasmid-workbench .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}

/* Art is independent of its labels and changes with the chosen explanation. */
#transport-art [data-transport-focus]{cursor:pointer;outline:none}#transport-art [data-transport-focus]:hover text,#transport-art [data-transport-focus]:focus-visible text,#transport-art [data-transport-focus][aria-pressed=true] text{fill:#e9cfaa;text-decoration:underline;text-underline-offset:8px}
#cell-detail-art image{filter:drop-shadow(0 12px 18px #0005)}#cell-detail-art .cell-label-on-art{paint-order:stroke;stroke:#062032;stroke-width:6px;stroke-linejoin:round;font-size:17px}
.envelope-upper{animation:envelopeOpenUpper 1.3s both}.envelope-lower{animation:envelopeOpenLower 1.3s both}.ribosome-reading{animation:readRNA 4s linear infinite}
@keyframes envelopeOpenUpper{from{transform:translateY(50px)}to{transform:translateY(-12px)}}@keyframes envelopeOpenLower{from{transform:translateY(-45px)}to{transform:translateY(18px)}}@keyframes readRNA{to{stroke-dashoffset:-100}}
.exhibit-invitation .experience-action{border:0;border-radius:0;background:none;padding:10px 0;border-bottom:1px solid #9fc7c655;box-shadow:none;margin-right:16px}.exhibit-invitation .experience-action:hover{background:none;color:#e7cdac;transform:none}.exhibit-invitation .action-signal{border-color:#e5cfa5}.exhibit-invitation .action-signal:after{background:#e5cfa5}
@media(prefers-reduced-motion:reduce){.envelope-upper,.envelope-lower,.ribosome-reading{animation:none}}

/* A soft local backdrop keeps transparent molecular structures legible while organisms remain vivid around them. */
.exhibit-artwork .scene-enzyme{background:radial-gradient(ellipse at 50% 48%,#061727f5 0%,#061727e8 40%,#0617278c 64%,transparent 80%)}
.exhibit-caption{background:radial-gradient(ellipse,#061727f5 0%,#061727e8 65%,transparent 95%)}
.anatomy-key,.exhibit-invitation,.art-gesture,.exhibit-credit{isolation:isolate;text-shadow:0 1px 4px #04101e,0 0 14px #04101e}
