/* Separate layout zones keep controls clear of the anatomical viewport. */
.hero{height:auto;min-height:176px;padding-bottom:16px}
.badges{margin-top:10px}
.tabs{margin-top:0}
.hero:before,.hero:after{bottom:0}
.anatomy-grid>aside,.anatomy-grid .body-panel{height:502px}
.glands button{height:53px}
.gland-thumb{height:52px}
.body-panel{display:grid;grid-template-rows:70px minmax(0,1fr) 39px 17px}
.body-panel .scene-tools{position:relative;inset:auto;display:flex;align-items:flex-end;gap:8px;padding:7px;background:#031d32;border-bottom:1px solid #175476;min-width:0}
.scene-tools label{display:grid;flex:0 0 106px;gap:3px;font-size:9px;line-height:11px;min-width:0}
.variant-label{color:#b3d3e8;white-space:nowrap;font-size:9px}
.scene-tools select{height:40px;width:106px;font-size:12px;padding:5px 7px;border-radius:6px}
.camera-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-left:auto;padding:4px;border:1px solid #205b7b;border-radius:8px;background:#03283f;min-width:0}
.scene-tools .zoom-tools{display:contents;position:static;inset:auto}
.scene-tools .camera-toolbar button,.scene-tools .camera-toolbar .zoom-tools button{height:40px;min-height:40px;min-width:40px;width:auto;margin:0;padding:5px 9px;border-radius:6px;line-height:1;font-size:11px;background:linear-gradient(#07344e,#042239);border:1px solid #28799b;flex-shrink:0}
.scene-tools .camera-toolbar .zoom-tools button{width:40px;font-size:23px;padding:4px}
.camera-toolbar button[aria-pressed=true]{color:#6af6ff;border-color:#35dce9;background:linear-gradient(#07516a,#053247);box-shadow:inset 0 0 8px #16dfef30}
.camera-toolbar button:hover{border-color:#67edff!important}
.camera-toolbar button:focus-visible{outline:3px solid #ffda79;outline-offset:2px}
.body-panel .model-wrap{position:relative;inset:auto;min-height:0;overflow:hidden}
.body-panel .display-tools{position:relative;inset:auto;min-height:39px;padding:5px 7px;display:flex;align-items:center;gap:9px;background:#032238;border-top:1px solid #1a5270;font-size:10px}
.display-tools>label:first-child{display:flex;gap:6px}
.display-tools input[type=range]{width:65px;min-height:26px}
.body-panel #scene-caption{position:relative;inset:auto;min-height:17px;padding:2px 7px;line-height:12px;font-size:8px;white-space:normal}
.model-label{max-width:147px}
@media(max-width:1450px) and (min-width:1101px){.scene-tools label{flex-basis:91px}.scene-tools select{width:91px;font-size:11px}.variant-label{font-size:8px}.camera-toolbar{gap:5px;padding:4px}.scene-tools .camera-toolbar button{padding:5px 7px;font-size:10px}.scene-tools .camera-toolbar .zoom-tools button{min-width:40px;width:40px}.body-panel .scene-tools{gap:5px;padding:6px}}
@media(max-width:1100px){.anatomy-grid>aside,.anatomy-grid .body-panel{height:520px}.anatomy-grid .organ-panel{height:auto}.scene-tools .camera-toolbar button{font-size:11px}.model-label{max-width:140px}}
@media(max-width:700px){.hero{height:auto;min-height:205px;padding-bottom:16px}.tabs{margin-top:0}.anatomy-grid .body-panel{height:588px;grid-template-rows:118px minmax(0,1fr) 46px 27px}.body-panel .scene-tools{display:grid;grid-template-columns:1fr;align-items:stretch;gap:5px;padding:6px}.scene-tools label{display:flex;align-items:center;justify-content:space-between;font-size:11px;gap:8px}.variant-label{font-size:11px}.scene-tools select{height:40px;width:126px;font-size:12px}.camera-toolbar{justify-content:center;width:100%;margin:0;padding:4px;gap:6px}.scene-tools .camera-toolbar button{font-size:11px;padding:5px 8px;flex:1}.scene-tools .camera-toolbar .zoom-tools button{min-width:40px;width:40px;flex:0 0 40px}.body-panel .display-tools{font-size:9px;gap:6px;padding:4px 6px;min-height:46px}.display-tools>label:first-child{display:grid;gap:0}.display-tools input[type=range]{width:72px}.body-panel #scene-caption{font-size:8px;min-height:27px;padding:3px 6px;line-height:11px}.glands button{height:70px}.gland-thumb{height:58px}}
@media(max-width:350px){.camera-toolbar{gap:3px;padding:3px}.scene-tools .camera-toolbar button{font-size:9px;padding:5px 4px}.scene-tools .camera-toolbar .zoom-tools button{width:40px;min-width:40px}.body-panel .display-tools{font-size:8px;gap:3px}.display-tools input[type=range]{width:56px}}
