.workshop { grid-template-rows:auto auto auto minmax(0,1fr) auto auto; }
.workshop>#control-bar {grid-row:1;}
.workshop>.bench-actions {grid-row:2;}
.workshop>.teaching-actions {grid-row:3;}
.workshop>.bench-layout {grid-row:4;}
.workshop>.measurements {grid-row:5;}
.workshop>.replay {grid-row:6;}
.bench-layout { grid-template-columns:minmax(0,1fr) minmax(290px,var(--graph-share,35%)); }
.bench-layout.graph-hidden {grid-template-columns:minmax(0,1fr);}
.teaching-actions {display:flex;align-items:center;gap:6px;padding:5px 10px;background:#edf5ed;overflow-x:auto;min-height:40px;}
.teaching-actions:empty {display:none;}
.teaching-actions button,.teaching-actions select {font-size:12px;min-height:30px;white-space:nowrap;padding:4px 8px;}
.teaching-actions label {display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:12px;}
.teaching-actions input[type=number] {width:75px;min-height:30px;padding:3px;}
.live-graph-panel {grid-template-rows:auto auto minmax(0,1fr);}
.graph-width {display:flex;align-items:center;gap:10px;padding:2px 10px;font-size:10px;color:#536b60;}
.graph-width input {height:14px;min-height:14px;width:100px;}
.graphs-hidden #windows {display:none;}

.presentation .heading {display:none;}
.presentation .heading>div {display:none;}
.presentation .preset-label {margin-left:auto;max-width:100%;}
.presentation #lab {grid-template-rows:auto minmax(0,1fr);}
.presentation .topbar {flex-wrap:wrap;gap:8px;}
.presentation .topbar .preset-label {font-size:0;flex:1;min-width:180px;max-width:330px;}
.presentation .topbar .preset-label select {font-size:12px;width:100%;}
.presentation .top-actions {margin-left:auto;}
.presentation .bench-actions>button:not(#toggle-graph):not(#focus-bench) {display:none;}
.presentation .measurements small,.presentation .scene-model,.presentation #stage-hint {display:none;}
.presentation .scene-heading {min-height:24px;padding:3px 12px;}
.presentation .bench-actions {position:relative;}
.presentation .measurements {gap:8px;padding:6px 12px;}
.presentation .measurements strong {font-size:clamp(18px,2vw,28px);}
.float-window.analysis-side {left:auto!important;right:12px;width:min(540px,48vw);top:var(--controls-bottom);height:calc(100dvh - var(--controls-bottom) - 20px);}
.bench-graph .graph-caption {max-height:38px;overflow:auto;}
.atmosphere-panel,.landscape-panel {inset:12px;margin:auto;width:min(1440px,calc(100vw - 24px));height:calc(100dvh - 24px);}
.landscape-tools {display:flex;align-items:center;gap:12px;padding:8px 16px;}
#landscape-canvas {flex:1;min-height:180px;overflow:hidden;}
#landscape-canvas canvas {display:block;width:100%;height:100%;}
#landscape-note,.landscape-description {padding:0 16px;font-size:13px;margin:7px 0;}
@media(max-width:760px){.float-window.analysis-side{width:calc(100vw - 24px);}.graph-width{display:none;}.bench-layout{grid-template-columns:minmax(0,1fr);}.presentation .measurements{grid-template-columns:repeat(2,minmax(0,1fr));}.presentation .measurements .measure-name{display:none;}.teaching-actions{min-height:38px;}.landscape-tools{flex-wrap:wrap;}.landscape-description{max-height:90px;overflow:auto;}}
@media(max-height:560px){.presentation .measurements{padding:3px 8px;}.presentation .measurements strong{font-size:16px;}.teaching-actions{padding:2px 7px;min-height:34px;}.presentation .topbar{padding-block:3px;}}

.presentation .measurements {grid-template-columns:repeat(4,minmax(0,1fr));}
.presentation .measurements .measure-name {display:none;}
@media(max-width:760px){.presentation .measurements {grid-template-columns:repeat(2,minmax(0,1fr));}.topbar{flex-wrap:wrap;}.top-actions{flex-wrap:wrap;}}

.presentation .bench-actions {display:none;}
.presentation #focus-bench {margin-left:0;}
.presentation #control-bar>#toggle-graph,.presentation #control-bar>#focus-bench {font-size:12px;min-height:30px;}
