/* A shared paper palette and a reversible, keyboard-accessible talk layout. */
.chart-overlay-toggle{display:inline-flex;align-items:center;gap:6px;font:12px/1.4 system-ui;color:#36574c;white-space:nowrap}
.chart-overlay-toggle input,.lab-overlay-controls input{accent-color:#386d5f}
.lab-overlay-controls{position:relative;font:12px/1.5 system-ui;color:#36574c;border:1px solid #c6cec2;border-radius:7px;background:#fffdf8;padding:7px 10px}
.lab-overlay-controls summary{cursor:pointer;min-height:24px;display:flex;align-items:center}
.lab-overlay-controls label{display:flex;gap:7px;padding:5px 0;white-space:nowrap}
.lab-overlay-controls p{max-width:250px;font-size:11px;margin:6px 0}
#presentExplorer,.presentation-bar button{min-height:38px;padding:8px 13px;border:1px solid #b8c8ba;background:#fffdf8;border-radius:7px;color:#294a3d;font:600 12px/1.4 system-ui;cursor:pointer}
.presentation-bar[hidden]{display:none}
.presentation-bar{position:fixed;inset:0 0 auto;z-index:10002;height:62px;background:#f7f5ee;border-bottom:1px solid #c6cec2;display:flex;align-items:center;gap:24px;padding:8px 24px;box-sizing:border-box;color:#173b32;font:12px/1.4 system-ui}
.presentation-bar strong{font-weight:600}.presentation-bar span{color:#5b6c62}.presentation-bar button{margin-left:auto}
.explorer-presentation .is-presenting{position:fixed!important;inset:62px 0 0!important;z-index:10001!important;overflow:auto!important;background:#f7f5ee!important;margin:0!important;border-radius:0!important;max-width:none!important;width:auto!important;height:auto!important;min-height:0!important;padding:20px!important;box-sizing:border-box}
.explorer-presentation #presentExplorer{display:none}
.explorer-presentation .stage-action,.explorer-presentation .journey-panel,.explorer-presentation .command-trigger,.explorer-presentation .onboarding-hint{display:none!important}
.explorer-presentation #app .experience{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);height:auto;min-height:0}
.explorer-presentation #app .stage{min-height:680px;height:auto}
.explorer-presentation .chart-scope,.explorer-presentation .lab-pin-scope,.explorer-presentation .reading-note{display:block}
.explorer-presentation .live-workspace{grid-template-columns:minmax(340px,.85fr) minmax(0,1.5fr);align-items:start}
.explorer-presentation .lab-overlay-controls,.explorer-presentation .advanced-mode{display:none}
@media(max-width:800px){.presentation-bar{height:72px;padding:8px 12px;gap:8px;flex-wrap:wrap}.presentation-bar strong{font-size:11px}.presentation-bar span{display:none}.presentation-bar button{font-size:11px}.explorer-presentation .is-presenting{inset:72px 0 0!important;padding:12px!important}.explorer-presentation #app .experience,.explorer-presentation .live-workspace{grid-template-columns:1fr}.explorer-presentation #app .stage{min-height:0}}
@media(prefers-reduced-motion:reduce){.is-presenting *{scroll-behavior:auto!important}}
@media(min-width:1000px){
  .explorer-presentation #app>.topbar{min-height:60px;padding-block:8px}
  .explorer-presentation #app .top-actions,.explorer-presentation #app>.lens-rail{display:none!important}
  .explorer-presentation #app .experience{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)}
  .explorer-presentation #app .stage{min-height:0!important}
  .explorer-presentation #app .programme-world{height:auto;display:flex;flex-direction:column}
  .explorer-presentation #app .programme-chart-viewport{flex:none;height:clamp(330px,calc(100dvh - 540px),640px)!important;min-height:0!important}
  .explorer-presentation #programmePins .programme-locator-weight,.explorer-presentation #programmePins .programme-locator-tools{display:none!important}
  .explorer-presentation #programmeTravelStatus{margin-block:8px}
  .explorer-presentation #linkedSpecimens .linked-pair,.explorer-presentation #labLinkedSpecimens .linked-pair{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
  .explorer-presentation #linkedSpecimens .linked-stage,.explorer-presentation #labLinkedSpecimens .linked-stage{height:clamp(270px,calc(100dvh - 600px),550px)!important;min-height:240px!important}
  .explorer-presentation .linked-toolbar,.explorer-presentation .linked-advanced{display:none!important}
  .explorer-presentation .linked-heading h3{font-size:25px}
  .explorer-presentation .linked-panel figcaption{padding:10px;gap:6px;min-height:70px}
  .explorer-presentation .linked-panel figcaption button{display:none}
  .explorer-presentation .lab-locator-panel,.explorer-presentation .lab-page .export-actions{display:none!important}
  .explorer-presentation .lab-page .world-wrap{height:clamp(400px,calc(100dvh - 370px),750px)!important;min-height:0!important}
  .explorer-presentation.lab-page .world-wrap{height:clamp(320px,32vw,560px)!important;min-height:0!important}
  .explorer-presentation.lab-page #workspace{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)!important}
}
