/* Howloft glass surfaces: a solid fallback, translucent light and restrained motion. */
.hl-lab,.turn-model,.press-model{position:relative;isolation:isolate;margin-block:2rem;padding:clamp(1rem,3vw,1.8rem);border:1px solid #aab8a5;border-radius:1.4rem;background:linear-gradient(145deg,#fffffff2,#edf2e5ee 65%,#e6ead9f2);box-shadow:inset 0 1px 0 #fff,0 12px 30px -24px #31493680;color:#253e30;scroll-margin-top:6rem}
@supports(backdrop-filter:blur(8px)){.hl-lab,.turn-model,.press-model{background:linear-gradient(145deg,#ffffffe8,#eef2e5bd 65%,#e5ead9d9);backdrop-filter:blur(8px)}}
.hl-lab h2{margin:.25rem 0 .8rem;line-height:1.18;font-size:clamp(1.5rem,3vw,2rem);letter-spacing:-.025em}.hl-lab p{line-height:1.6}.lab-kicker{font-size:.75rem!important;letter-spacing:.12em;text-transform:uppercase;font-weight:700;margin:0;color:#44614c}.lab-diagram{background:radial-gradient(ellipse at 24% 10%,#ffffffeb,#e9efdfb8 75%);border:1px solid #a6b59b;border-radius:1rem;box-shadow:inset 0 1px 0 #fff;overflow:hidden;margin-block:1.2rem}.lab-diagram svg{display:block;width:100%;height:auto}.lab-svg-label{font:600 16px system-ui,sans-serif;fill:#294333}.lab-pipe{fill:none;stroke:#879f90;stroke-width:12;stroke-linejoin:round;stroke-linecap:round}.lab-flow{fill:none;stroke:#aa681a;stroke-width:5;stroke-linecap:round;stroke-dasharray:9 12;opacity:.4}.press-return{opacity:0}.press-pump{transform-origin:135px 239px}
.hl-lab[data-state=approach] .press-supply,.hl-lab[data-state=flow] .lab-flow{opacity:1;animation:lab-oil 1s linear infinite}.hl-lab[data-state=flow] .press-supply{animation:none}.hl-lab[data-state=approach] .press-pump,.hl-lab[data-state=flow] .press-pump{animation:lab-pump 2s linear infinite}.hl-lab[data-paused=true] *{animation-play-state:paused!important}.hl-lab[data-slow=true] .lab-flow{animation-duration:2s}.hl-lab[data-slow=true] .press-pump{animation-duration:4s}@keyframes lab-oil{to{stroke-dashoffset:-42}}@keyframes lab-pump{to{transform:rotate(360deg)}}
.lab-actions,.lab-options{display:flex;flex-wrap:wrap;gap:.6rem;margin-block:.8rem}.lab-actions button,.lab-options button{min-height:44px;flex:1 1 8rem;padding:.6rem .8rem;font-family:inherit;font-size:.9rem;font-weight:600;line-height:1.4;color:#294333;border:1px solid #637d66;border-radius:1rem;background:linear-gradient(145deg,#fffffff5,#e7eddee6);box-shadow:inset 0 1px 0 #fff;cursor:pointer;touch-action:manipulation}.lab-options button[aria-pressed=true]{background:#d9e6c6;border-color:#294333}.lab-options button:hover,.lab-actions button:hover{background:#dfe9d1}.lab-actions button:disabled{cursor:wait;opacity:.7}.lab-feedback{font-weight:600;min-height:1.5em;margin:.6rem 0}.lab-feedback:empty{display:none}.lab-explanation{border-top:1px solid #aab8a5;margin-block:1rem;padding-top:.25rem}.lab-explanation summary,.gear-answer-fallback summary{min-height:44px;display:list-item;align-content:center;cursor:pointer;font-weight:650}.lab-note{font-size:.85rem!important;color:#40583f}.lab-film{margin-block:1rem}.lab-film a,.lab-next{display:block;min-height:44px;align-content:center;padding:.5rem 0;text-decoration:underline;text-underline-offset:.23em;font-weight:600;line-height:1.5}.lab-next{border-top:1px solid #aab8a5;margin-top:.9rem;font-size:.9rem}.hl-lab [hidden],.gear-challenge [hidden],.lab-predict [hidden]{display:none!important}.hl-lab :focus-visible,.lab-predict :focus-visible,.gear-challenge :focus-visible{outline:3px solid #984423;outline-offset:4px}
.track-controls label{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.6rem;font-weight:600}.track-controls input[type=range]{width:100%;height:44px;accent-color:#365e4b}.track-power{justify-content:flex-start!important;align-items:center;min-height:44px}.track-power input{width:20px;height:20px;accent-color:#365e4b}.hl-lab[data-track-state=occupied] .track-armature,.hl-lab[data-track-state=failure] .track-armature{transform:translateX(11px)}.hl-lab[data-track-state=failure] .track-current{opacity:0}.lab-predict{margin:1rem 0}.lab-predict>p{font-weight:600}.gear-challenge>p:first-child{margin:0 0 .5rem;font-size:.95rem;line-height:1.5}.gear-challenge .lab-options{flex-wrap:nowrap}.gear-challenge .lab-options button{flex:1 1 0;font-family:inherit}.gear-challenge .gear-result{margin:.5rem 0}.gear-challenge .lab-feedback{font-size:.9rem}.gear-challenge .lab-next{margin:.5rem 0}.gear-challenge{margin-bottom:1rem}
@media(max-width:480px){.lab-svg-label{font-size:24px}.lab-diagram{margin-inline:-.35rem}.lab-options button{flex-basis:100%}.gear-challenge .lab-options button{flex-basis:0}.track-controls output{font-size:.9rem}}
@media(prefers-reduced-motion:reduce){.hl-lab *{animation:none!important;transition:none!important}.hl-lab[data-state=flow] .lab-flow{opacity:1}}

.press-oil{transform-origin:407px 78px}.lab-note a{text-decoration:underline;text-underline-offset:.2em}
