/* Exhibition controls: one shared touch scale, with the model first in portrait. */
:root{--kiosk-scale:1;--secondary:calc(14px * var(--kiosk-scale));--reading:calc(18px * var(--kiosk-scale))}
html{scroll-padding-top:124px}
.workspace>*{min-width:0}.left-panel,.right-panel{padding:26px 24px 18px}
button,.system-toggle,.system-eye,.primary-button,.secondary-button,.feature-links button,.reset-session,.back-button,.top-actions .icon-button,.stage-tools .icon-button{min-height:48px}
.icon-button,.top-actions .icon-button,.stage-tools .icon-button{width:48px;flex-shrink:0}
.system-row{grid-template-columns:minmax(0,1fr) 48px;min-height:50px}.system-eye{width:48px;height:48px}.system-toggle{font-size:16px;line-height:1.35}.system-toggle small{font-size:var(--secondary)}
.field-label,.eyebrow,.stage-header .eyebrow,.right-panel-head .eyebrow,.small-index,.detail-tag,.mini-label,.part-meta,.left-foot small,.stage-subtitle,.section-heading h2,.text-button,.panel-top p,.panel-callout p,.slider-heading,.slider-heading output,.slider-row>span,.orientation>span,.canvas-hint,.statusbar,.statusbar button,.footer-brand,.local-badge,.search-result small,.skin-note{font-size:var(--secondary);letter-spacing:.2px;line-height:1.5}
.detail-description,.detail-fact,.dialog-columns p,.search-result,.select-wrap select,.search-wrap input,.primary-button,.secondary-button,.main-tabs button,.quiz-options button,.journey-card strong{font-size:var(--reading);line-height:1.6}
.detail-fact{gap:12px;grid-template-columns:1fr 1.3fr;font-size:var(--reading)}.detail-latin{font-size:20px}.detail-title{font-size:34px}.detail-actions{gap:10px}.feature-links button,.reset-session,.back-button,.journey-card small{font-size:16px}.panel-top h1{font-size:32px}.panel-top p{margin-bottom:20px}
.search-wrap{height:52px}.select-wrap select{min-height:52px}.left-foot strong{font-size:16px}.section-heading{gap:10px;margin:18px 0 10px}.section-heading h2{font-size:18px}.text-button{padding:8px}.right-panel-head{gap:14px;align-items:flex-start}.small-index{white-space:nowrap}.detail-visual{height:150px;margin-bottom:20px}.detail-description{line-height:1.7;margin-bottom:16px}.detail-fact{padding:12px 0}.panel-callout{margin-top:20px}.statusbar{min-height:52px;height:auto;gap:12px;padding:0 24px}.statusbar .footer-brand{font-size:12px;white-space:nowrap}.statusbar button{flex-shrink:0}
.stage-header{top:26px;left:28px;right:28px}.stage-header h2{font-size:28px;max-width:700px;margin:7px 0;line-height:1.25}.stage-header .eyebrow{font-size:var(--secondary)}.live-indicator{display:none}
.orientation{top:142px;left:28px;right:80px}.orientation>span{margin-bottom:5px;font-size:var(--secondary)}.view-buttons{flex-wrap:wrap;gap:5px}.view-buttons button{width:auto;padding:8px 12px;font-size:14px;min-height:48px;background:#112127ed;color:#b0c7cb}
.stage-tools{top:235px;right:20px;gap:8px}.bottom-controls{left:24px;right:24px;width:auto;max-width:740px;margin:auto;transform:none;bottom:18px}.control-tabs{height:54px}.control-tabs button{font-size:16px}.control-tabs svg{width:19px;height:19px}.slider-panel{height:122px;padding:15px 76px 8px 20px}.slider-row{margin-top:2px;gap:12px}.slider-row input[type=range]{height:48px;margin:0;background:linear-gradient(#52696e,#52696e) center / 100% 6px no-repeat;touch-action:none}.slider-row input[type=range]::-webkit-slider-thumb{width:28px;height:28px}.slider-row input[type=range]::-moz-range-thumb{width:28px;height:28px}.play-explode{width:48px;height:48px;top:52px;right:16px}.slider-heading select{min-height:48px;font-size:14px;max-width:72%}.slider-row>span{white-space:nowrap;font-size:12px}.canvas-hint{bottom:205px;font-size:13px}
.model-label{min-height:48px;max-width:220px;padding:8px 12px;font-size:14px;background:#0b1b23ed;border:1px solid #69868c8c;border-radius:8px;text-shadow:none;color:#f0f4ed;box-shadow:0 3px 12px #0004;line-height:1.3}.model-label:hover{background:#263d44}.label-leaders{stroke:#aac3c7;stroke-width:1}
.restore-hidden{position:absolute;left:28px;top:216px;padding:8px 14px;background:#203539e8;border:1px solid #acc89770;border-radius:8px;color:var(--lime);font-size:14px;z-index:2}.system-loading{position:absolute;bottom:230px;left:50%;transform:translateX(-50%);background:#213d43;padding:12px 18px;border-radius:10px;font-size:16px;z-index:3}
.quiz-running .left-panel{opacity:.48}.quiz-running .left-panel:before{content:'Probíhá poznávačka';color:var(--lime);font-size:18px;margin-bottom:14px}.quiz-feedback{font-size:18px;line-height:1.6}.quiz-options button{min-height:60px;padding:14px}.journey-number{font-size:14px}.journey-card{padding:18px}.journey-card small{line-height:1.6}.toast{font-size:16px;max-width:min(700px,90vw);text-align:center;z-index:20}
.attract-screen{position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:40px 20px 70px;background:linear-gradient(transparent 45%,#071216ed);pointer-events:none}.attract-screen span{font-size:36px;color:var(--lime);text-align:center}.attract-screen small{font-size:18px;margin-top:10px}
dialog{max-width:min(1000px,94vw);max-height:90dvh;overflow:auto}dialog h2{font-size:30px}.dialog-columns p{font-size:var(--reading)}.license-address{display:inline-block;overflow-wrap:anywhere;font-size:14px;color:#a9c3c5}.kiosk{user-select:none;-webkit-user-select:none;overscroll-behavior:none;touch-action:manipulation}.kiosk .left-panel,.kiosk .right-panel,.kiosk .systems-list,.kiosk dialog,.kiosk .search-results{overscroll-behavior:contain}.kiosk kbd,.kiosk .keyboard-shortcuts{display:none}
#keyboard-dialog{width:850px;padding:24px}#keyboard-dialog .dialog-head{gap:20px}#keyboard-value{display:block;min-height:58px;background:#08161c;border:1px solid #52747b;padding:14px;font-size:22px;border-radius:8px;margin:15px 0}.quick-search{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.quick-search button,#keyboard-keys button,.keyboard-actions button{background:#253a40;border:1px solid #48626b;border-radius:8px;font-size:18px;padding:10px}#keyboard-keys{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:7px}.keyboard-actions{display:flex;gap:10px;margin-top:14px}.keyboard-actions button{flex:1}
@media(min-width:1400px){.workspace{grid-template-columns:340px minmax(400px,1fr) 400px}}
@media(min-width:1001px) and (max-width:1399px) and (orientation:landscape){.workspace{grid-template-columns:280px minmax(300px,1fr) 310px}.left-panel,.right-panel{padding:20px 16px}.main-tabs button{padding:0 12px}.topbar{padding:0 20px}.brand small{font-size:8px}.stage-header h2{font-size:23px}.view-buttons button{padding:8px;font-size:12px}.orientation{left:20px}.control-tabs button{font-size:13px}.slider-panel{padding-left:14px}.detail-title{font-size:28px}.system-toggle{font-size:15px}.system-toggle small{display:none}.bottom-controls{left:14px;right:14px}.slider-row>span{font-size:11px}.slider-heading{font-size:12px}.stage-tools{right:12px}.local-badge{display:none}.statusbar .footer-brand{display:none}}
@media(orientation:portrait) and (min-width:700px){body{height:100dvh;overflow:hidden;min-height:900px}.topbar{height:88px;position:relative;padding:0 24px;gap:16px}.main-tabs{margin:auto}.main-tabs button{height:88px;padding:0 15px;font-size:18px}.brand{font-size:16px}.brand small{font-size:8px}.local-badge{display:none}.workspace{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(340px,1.15fr);grid-template-rows:minmax(600px,56%) minmax(0,1fr);min-height:0}.stage{grid-column:1 / -1;grid-row:1;border-bottom:1px solid var(--line)}.left-panel{grid-column:1;grid-row:2;display:flex;overflow:hidden;padding:24px}.right-panel{grid-column:2;grid-row:2;display:flex;padding:24px;overflow:auto;border-top:0}.detail-visual{float:none;width:100%;height:130px;flex-shrink:0}.panel-top{display:none}.left-foot{margin-top:12px}.detail-actions,.quiz-options,.journey-card{max-width:none}.right-panel-head{margin-bottom:18px}.panel-callout{clear:both}.mobile-detail-link,.back-to-model{display:none}.statusbar{min-height:52px}.statusbar .footer-brand{display:none}.stage-header h2{font-size:30px}.bottom-controls{max-width:740px}.main-tabs{gap:0}}
@media(max-width:699px){body{overflow:auto;height:auto}.topbar{padding:12px 12px 0;gap:0;flex-wrap:wrap;height:auto;min-height:108px;position:sticky}.brand{font-size:14px}.brand small{font-size:7px}.brand-mark{width:36px}.top-actions{margin-left:auto;order:1}.main-tabs{order:2;width:100%;margin:5px 0 0;justify-content:center}.main-tabs button{font-size:14px;min-height:48px;height:48px;padding:6px;flex:1}.workspace{display:flex;flex-direction:column}.stage{order:0;width:100%;height:max(700px,calc(100dvh - 115px));min-height:700px}.right-panel{order:1;display:block;padding:24px 18px}.left-panel{order:2;display:flex;padding:24px 18px}.panel-top h1{font-size:30px}.stage-header{left:16px;right:16px;top:20px}.stage-header h2{font-size:24px}.stage-header .eyebrow{font-size:10px}.stage-subtitle{font-size:13px}.orientation{left:16px;right:16px;top:130px}.view-buttons{gap:4px}.view-buttons button{font-size:12px;padding:8px 10px;flex:1}.stage-tools{right:10px;top:227px;gap:6px}.stage-tools .icon-button{width:48px}.bottom-controls{left:10px;right:10px}.control-tabs button{font-size:12px;gap:3px}.control-tabs svg{width:14px}.slider-panel{padding:10px 66px 8px 12px;height:122px}.slider-heading{font-size:12px}.slider-heading select{font-size:12px;max-width:69%}.slider-row{gap:6px}.slider-row>span{font-size:10px}.play-explode{right:10px}.canvas-hint{font-size:10px;gap:6px;bottom:208px}.model-label{font-size:12px;max-width:170px;padding:8px}.detail-description{font-size:18px}.search-wrap{margin:14px 0 0}.select-wrap select,.search-wrap input{font-size:16px}.system-toggle{font-size:16px}.system-toggle small{display:none}.systems-list{display:grid;grid-template-columns:1fr;max-height:600px;overflow:auto}.system-row{grid-template-columns:1fr 48px}.search-results{max-height:500px;min-height:180px}.detail-visual{width:100%;height:170px;float:none;margin:0 0 24px}.statusbar{padding:8px 14px;flex-wrap:wrap;justify-content:center}.statusbar .footer-brand{display:none}.mobile-detail-link{display:block;bottom:236px;right:10px;min-height:48px;font-size:14px}.back-to-model{display:block;min-height:48px;font-size:16px}.restore-hidden{left:16px;top:218px;font-size:12px}.attract-screen span{font-size:28px}.dialog-columns{grid-template-columns:1fr}.keyboard-actions{flex-wrap:wrap}#keyboard-dialog{padding:14px}#keyboard-dialog .dialog-head{display:block}#keyboard-keys{grid-template-columns:repeat(5,minmax(0,1fr))}.keyboard-actions button{font-size:14px}.quick-search{gap:5px}.quick-search button{font-size:14px}#keyboard-dialog h2{font-size:24px}.stage,.right-panel{scroll-margin-top:124px}}

.kiosk{-webkit-touch-callout:none;touch-action:pan-x pan-y}
.top-actions .reset-session{margin:0;padding:8px 14px;min-height:48px;display:inline-flex;gap:8px;background:#1c3032;border:1px solid #658b8060;border-radius:10px;font-size:16px;color:var(--lime);white-space:nowrap;flex-shrink:0}
.top-actions .reset-session svg{width:20px;height:20px}
.attract-screen{position:fixed;inset:0;z-index:50;pointer-events:auto;padding-bottom:12vh;background:linear-gradient(#07121638 40%,#071216ee);touch-action:none}
.dialog-head .icon-button{width:48px;height:48px;min-width:48px;min-height:48px}
@media(min-width:700px){.brand small{font-size:11px;letter-spacing:1px}.orientation{right:auto;width:180px}.view-buttons{display:grid;grid-template-columns:1fr 1fr;gap:6px}.view-buttons button{font-size:14px;padding:8px 10px}.control-tabs button,.slider-heading,.slider-row>span,.canvas-hint{font-size:14px}.slider-heading select{font-size:14px}}
@media(max-width:1100px){.reset-caption{display:none}.top-actions .reset-session{width:48px;padding:0;justify-content:center}}
@media(max-width:699px){.brand small{font-size:9px;letter-spacing:0}.brand{gap:6px;font-size:12px;letter-spacing:1px}.top-actions{gap:4px}.top-actions .icon-button,.top-actions .reset-session{width:48px}.topbar{padding-left:10px;padding-right:10px}}
@media(min-width:1101px) and (max-height:800px){.stage-header{top:14px;left:20px;right:20px}.stage-header h2{font-size:24px;margin:4px 0}.stage-subtitle{display:none}.orientation{top:94px;left:20px}.orientation>span{font-size:14px}.stage-tools{top:94px}.bottom-controls{bottom:12px}.control-tabs{height:48px}.slider-panel{height:86px;padding:6px 72px 4px 16px}.slider-heading{min-height:24px;font-size:14px}.slider-row{margin-top:0}.slider-row>span{font-size:14px}.play-explode{top:28px}.slider-heading select{min-height:34px;font-size:14px}.canvas-hint{display:none}.slider-panel:has(#slice-axis){height:96px}.brand small{font-size:11px}}
@media(orientation:portrait) and (min-width:700px) and (max-height:1199px){body{height:auto;min-height:100dvh;overflow:auto}.topbar{position:sticky;top:0;padding:0 16px;gap:10px}.main-tabs button{font-size:15px;padding:0 10px}.brand{font-size:14px;letter-spacing:2px}.brand small{font-size:7px;letter-spacing:1px}.workspace{grid-template-rows:minmax(850px,calc(100dvh - 140px)) minmax(660px,auto)}.left-panel,.right-panel{max-height:850px}.back-to-model{display:block}.mobile-detail-link{display:block;position:absolute;right:18px;bottom:235px;min-height:48px;font-size:14px}}
@media(orientation:landscape) and (min-width:700px) and (max-width:1100px){body{height:auto;min-height:100dvh;overflow:auto}.topbar{position:sticky;top:0;padding:0 16px;gap:10px}.main-tabs button{font-size:15px;padding:0 10px}.workspace{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(340px,1.15fr);grid-template-rows:minmax(700px,calc(100dvh - 140px)) 700px}.stage{grid-column:1 / -1;grid-row:1;border-bottom:1px solid var(--line)}.left-panel{grid-column:1;grid-row:2;display:flex;overflow:hidden;padding:24px}.right-panel{grid-column:2;grid-row:2;display:flex;overflow:auto;padding:24px}.panel-top{display:none}.detail-visual{float:none;width:100%;height:130px;flex-shrink:0}.back-to-model{display:block}.mobile-detail-link{display:block;position:absolute;right:18px;bottom:235px;min-height:48px;font-size:14px}}

@media(min-width:1101px) and (max-height:800px){.stage-header .eyebrow{display:none}}
@media(min-width:700px){.brand small{font-size:11px;letter-spacing:.5px}}
@media(min-width:1040px){.kiosk .reset-caption{display:inline}.kiosk .top-actions .reset-session{width:auto;padding:8px 14px}}

/* The anatomy exhibit belongs to Kiosek pro muzeum. Keep the full wordmark intact. */
.topbar .brand{display:flex;align-items:center;justify-content:flex-start;flex:0 0 auto;width:180px;min-height:48px;gap:0;margin-right:0}
.brand-logo{display:block;width:100%;height:auto;object-fit:contain}
.attract-brand{position:absolute;top:32px;left:50%;transform:translateX(-50%);width:clamp(180px,25vw,280px);height:auto;object-fit:contain;padding:16px;background:#0f171ced;border-radius:12px}
@media(max-width:1100px){.topbar .brand{width:150px}}
@media(min-width:1101px) and (max-height:800px){.topbar .brand{width:150px}}
@media(max-width:699px){.topbar .brand{width:140px;margin-right:auto}}
.attract-brand{top:clamp(132px,15vh,220px)}
