/* C172S panel geometry: all anchors refer to the uncropped 1274 x 1235 photograph. */
body.c152-trainer-active #c172sChecklistsView > .aero-breadcrumb {display:none;}
body.c152-trainer-active #c172sChecklistsView {padding:0;min-width:0;}
.c172s-lab {--c152-scene-height:1330;--c152-top-crop:120;}
.c172s-lab .c152-scene, .c172s-lab .c152-scene-scroll.zoomed .c152-scene {aspect-ratio:1274/1330;}
.c172s-lab .c152-scene {margin-top:calc(var(--c152-deck-width,0px) * -.094191523);clip-path:inset(calc(var(--c152-deck-width,0px) * .094191523) 0 0);}
.c172s-lab .c152-gauge-compass {display:none;}
.c172s-lab .c152-switch-caption {top:auto;bottom:calc(100% + 2px);width:3.2cqw;background:#323638;color:#f6f6ed;}
.c172s-lab .c152-panel-surface {aspect-ratio:1274/1235;}
.c172s-lab .c152-panel-surface > img {top:0;}
.c172s-lab .c152-panel-surface > img.c172s-switch-panel {left:0;top:54.5%;width:43.35%;height:auto;z-index:1;}
.c172s-lab .c152-hotspots {overflow:visible;}
.c172s-lab .c152-yoke {left:5.5%;top:72.7%;width:35%;}
.c172s-lab .c152-yoke-grip {display:none;}
.c172s-lab .c152-rudder-pedals {right:7%;top:82%;width:23%;height:9%;}
.c172s-lab .c152-offpanel-actions {inset:0;width:100%;height:100%;display:block;pointer-events:none;}
.c172s-lab .c152-scene-action {position:absolute;flex:none;width:4.7%;height:auto;padding:.5%;font-size:2.7cqw;pointer-events:auto;}
.c172s-lab .c152-brakes {left:79.2%;top:77%;}
.c172s-lab .c152-clear-prop {left:84%;top:95.489%;transform:translate(-50%,-50%);}
/* Replace photographed switch levers while retaining the reference panel's labels and bezels. */
.c172s-lab .c152-split-master {width:1.43%;height:4.8%;border:0;border-radius:1px;background:#161819;}
.c172s-lab .c152-split-master .c152-rocker-face {position:relative;width:94%;height:94%;border-radius:1px;transform:none;}
.c172s-lab .c152-split-master .c152-rocker-face::after {content:'';position:absolute;left:10%;right:10%;top:35%;height:3%;background:#f6e3df;}
.c172s-lab .c152-split-master.is-on .c152-rocker-face {transform:translateY(-2%);}
.c172s-lab .c152-ignition {width:4%;height:4.15%;border:1px solid #a8aeac;background:radial-gradient(#e1e5e4,#b8bdbc 66%,#6c7476 70%,#d7dcdb 80%);}
.c172s-lab .c152-key > span {height:58%;width:13%;background:#15191b;}
.c172s-lab :is([data-panel-control="avionics"],[data-panel-control="avionics2"]) {width:1.55%;height:4.45%;border:0;border-radius:1px;background:#202325;}
.c172s-lab :is([data-panel-control="avionics"],[data-panel-control="avionics2"]) .c152-rocker-face {width:92%;height:96%;border-radius:1px;transform:none;}
.c172s-lab :is([data-panel-control="avionics"],[data-panel-control="avionics2"]).is-on .c152-rocker-face {transform:translateY(-2%);}
.c172s-lab :is([data-panel-control="beacon"],[data-panel-control="nav"],[data-panel-control="strobe"],[data-panel-control="taxi"],[data-panel-control="landing"],[data-panel-control="pitot"],[data-panel-control="fuelPump"]) {width:2.55%;height:4.2%;border:0;border-radius:45% 45% 25% 25%;background:linear-gradient(#414547,#2d3032);}
.c172s-lab :is([data-panel-control="beacon"],[data-panel-control="nav"],[data-panel-control="strobe"],[data-panel-control="taxi"],[data-panel-control="landing"],[data-panel-control="pitot"],[data-panel-control="fuelPump"])::before {content:'';position:absolute;top:0;left:0;width:100%;height:65%;box-sizing:border-box;border:2px solid #bdc4c6;border-radius:50%;background:radial-gradient(#484e51 35%,#d9dedf 40%,#686f71 58%,#edf0ef 73%,#777e80);}
.c172s-lab :is([data-panel-control="beacon"],[data-panel-control="nav"],[data-panel-control="strobe"],[data-panel-control="taxi"],[data-panel-control="landing"],[data-panel-control="pitot"],[data-panel-control="fuelPump"]) .c152-rocker-face {position:relative;z-index:1;width:38%;height:73%;border-radius:40%;background:linear-gradient(90deg,#9fa6a7,#f1f3ef 45%,#d2d6d4);transform:translateY(12%);}
.c172s-lab :is([data-panel-control="beacon"],[data-panel-control="nav"],[data-panel-control="strobe"],[data-panel-control="taxi"],[data-panel-control="landing"],[data-panel-control="pitot"],[data-panel-control="fuelPump"]).is-on .c152-rocker-face {transform:translateY(-20%);}
.c172s-lab .c152-rocker.is-on::after {display:none;}
.c172s-lab .c152-hotspot-label {font-size:1cqw;padding:.4cqw;max-width:18cqw;}
.c172s-lab .c152-hotspot:focus-visible .c152-hotspot-label {display:block;}
.c172s-lab .c152-panel-check span {font-size:1cqw;}
/* Remove obsolete lower-console controls from the underlying photograph. */
.c172s-console-mask {position:absolute;left:51.1%;top:76.8%;width:12.5%;height:23.2%;border-left:1px solid #24292b;border-right:1px solid #24292b;border-radius:3px;background:linear-gradient(90deg,#14191c,#212629,#151a1d);z-index:1;pointer-events:none;}
.c172s-old-air-mask {position:absolute;left:60.6%;top:68%;width:7.1%;height:8.3%;background:linear-gradient(#34383b,#292e31);z-index:1;pointer-events:none;}
.c172s-mixture-socket {position:absolute;left:65.385%;top:66.964%;width:4.4%;aspect-ratio:1;transform:translate(-50%,-50%);border:3px solid #242a2c;border-radius:50%;background:radial-gradient(#1f2629 30%,#596267 43%,#252d31 55%,#11171a 72%);z-index:1;pointer-events:none;}
.c172s-engine-label {position:absolute;z-index:1;transform:translateX(-50%);color:#d6dcdb;text-align:center;font:700 1cqw/1.2 Arial,sans-serif;pointer-events:none;}
.c172s-mixture-label {left:65.385%;top:61.8%;}
.c172s-air-label {left:70.5655%;top:64.6%;}
.c172s-lab :is([data-panel-control="alternateAir"],[data-panel-control="alternateStatic"]) {width:3.4%;height:3.5%;border:1px solid #151b1e;border-radius:50%;background:#252c2e;}
.c172s-lab [data-panel-control="alternateStatic"] {width:2.6%;height:2.7%;}
.c172s-lab [data-panel-control="alternateStatic"] .c152-rocker-face {border-radius:50%;background:radial-gradient(#4d5860,#0d161b 70%);}
.c172s-lab [data-panel-control="alternateAir"] .c152-rocker-face {width:85%;height:85%;border-radius:50%;background:conic-gradient(#c2c9cb,#606b70,#e4e9e9,#808a8f,#c2c9cb);}
/* Radio screens retain their photographed bezels. */
.c172s-lab .c152-radio {left:65.3%;top:24.85%;width:12.1%;height:6.8%;}
.c172s-lab .c152-transponder {left:65.2%;top:41.2%;width:14.1%;height:2.9%;}
.c172s-lab .c152-transponder-screen {padding:2% 4%;}
.c172s-lab .c152-transponder-screen > strong {font-size:13cqw;}
.c172s-lab .c152-trim {width:2.2%;height:19.5%;}
.c172s-lab .c152-trim-indicator {right:calc(100% + 2px);width:110%;box-sizing:border-box;padding:3px 2px;border-radius:3px;background:#10191c;color:#d0dce3;font-size:.9cqw;}
.c172s-lab .c152-trim-indicator output {padding:2px 1px;}
.c172s-lab .c152-flap {width:5.2%;height:12%;min-width:0;min-height:0;padding:.35%;gap:3%;border-width:1px;background:#18282f;}
.c172s-lab .c152-flap > button[data-set] {font-size:1.35cqw;line-height:1.1;}
/* The narrow lower tray now contains only fuel controls and Clear Prop. */
.c172s-lab .c152-panel-surface::after {content:'';position:absolute;top:100%;left:0;width:100%;height:7.7%;z-index:-1;background:#243039;border-radius:0 0 10px 10px;}
.c172s-lab [data-panel-control="fuelShutoff"] {width:4%;height:4%;border:0;background:radial-gradient(circle at 50% 28%,#b7c1c4 18%,#37444a 22%,transparent 25%);isolation:isolate;}
.c172s-lab [data-panel-control="fuelShutoff"]::before {content:'';position:absolute;left:45%;top:22%;width:10%;height:60%;border-radius:2px;background:linear-gradient(90deg,#697b83,#e0e5e5 50%,#73848c);z-index:-1;}
.c172s-lab [data-panel-control="fuelShutoff"].is-on::before {height:20%;}
.c172s-lab [data-panel-control="fuelShutoff"] .c152-rocker-face {position:relative;width:72%;height:72%;border:2px solid #b2191d;border-radius:50%;background:radial-gradient(circle at 40% 30%,#fb5b58,#da252b 50%,#760d16);box-shadow:0 3px 4px #0008,inset 0 0 0 2px #e34a48;transform:translateY(20%);}
.c172s-lab [data-panel-control="fuelShutoff"].is-on .c152-rocker-face {transform:translateY(0);}
.c172s-lab [data-panel-control="fuelShutoff"] .c152-hotspot-label {display:block;left:50%;top:calc(100% + 2px);bottom:auto;transform:translateX(-50%);padding:0;background:transparent;box-shadow:none;font-size:.85cqw;line-height:1.1;}
.c172s-lab .c172s-fuel-selector {width:16%;height:6.8%;box-sizing:border-box;border:1px solid #779098;border-radius:90% 90% 7px 7px;background:linear-gradient(#405661,#1b303a);}
.c172s-lab .c152-selector-label {position:absolute;left:0;right:0;bottom:0;color:#e1ecef;font-size:.85cqw;text-align:center;pointer-events:none;}
.c172s-lab .c152-selector-option {position:absolute;min-height:0;padding:.2cqw;border:0;background:transparent;color:#d6e3e7;font-size:.95cqw;line-height:1.2;touch-action:none;}
.c172s-lab .c152-selector-option[aria-pressed="true"] {color:#fff;background:#497386;border-radius:4px;}
.c172s-lab .c152-selector-left {left:5%;top:48%;}
.c172s-lab .c152-selector-both {left:50%;top:7%;transform:translateX(-50%);}
.c172s-lab .c152-selector-right {right:5%;top:48%;}
.c172s-lab .c152-selector-hub {position:absolute;left:50%;top:65%;transform:translate(-50%,-50%);width:21%;aspect-ratio:1;min-height:0;padding:0;border:2px solid #afbbbc;border-radius:50%;background:radial-gradient(#48565a,#15232a);}
.c172s-lab .c152-selector-pointer {position:absolute;left:43%;bottom:45%;width:14%;height:90%;border-radius:3px;background:#eef1df;transform:rotate(var(--selector-angle,0deg));transform-origin:50% 100%;pointer-events:none;}
.c172s-system-strip {position:absolute;left:62.1%;top:48%;width:19%;box-sizing:border-box;display:grid;gap:.6cqw;background:#111b22;color:#b8dfc6;border:1px solid #46665a;border-radius:4px;padding:.8cqw;font:1.1cqw monospace;}
.c172s-system-strip span {display:flex;justify-content:space-between;gap:.3cqw;flex-wrap:wrap;}
.c172s-system-strip small {width:100%;font-size:.8cqw;color:#b0c0c5;}
.c172s-lab .c152-source a {display:block;margin:7px 0;}
