/* One playable surface. Tools sit beside the object, measurements are optional. */
.special-bench.intuitive-bench{padding:0;gap:0;background:#f8eedc;border:2px solid #dfceb4;border-radius:24px;box-shadow:0 5px 0 #e4d5bf;overflow:hidden;position:relative;flex:1;min-height:0;display:flex;flex-direction:column}.stage-order{display:flex;align-items:center;gap:10px;padding:10px 16px;background:#fffaf0;flex:none;border-bottom:1px solid #e1d1bb}.stage-back,.stage-reset,.stage-details{min-width:46px;min-height:46px;border-radius:50%;background:#fff8e8;border:1px solid #d8c6aa;font-size:26px;flex:none}.stage-customer{width:68px;height:68px;flex:none}.stage-customer .customer{background:none;width:100%;height:100%}.stage-order-bubble{flex:1;min-width:0}.intuitive-bench .stage-order-bubble p{font-size:21px;line-height:1.5;margin:0}.stage-order>.softbtn{font-size:17px;flex:none;min-height:44px}.play-stage{position:relative;flex:1;min-height:0;isolation:isolate;background:radial-gradient(ellipse at 50% 65%,#fff9e7 0,#f3e6ca 70%);overflow:hidden}.play-stage:after{content:'';position:absolute;left:0;right:0;bottom:0;height:23%;background:repeating-linear-gradient(0deg,#b9986510 0 2px,transparent 2px 17px),linear-gradient(#e8d1aa55,#d9b98a55);border-top:2px solid #d7bc9055;z-index:-1}.stage-rule{position:absolute;top:12px;left:50%;translate:-50% 0;font-size:16px;color:#8a846d;white-space:nowrap}.play-object{position:absolute;left:24%;right:23%;top:18px;bottom:18px;border-radius:30px;border:2px dashed transparent;transition:background 150ms,border-color 150ms}.play-object.drop-ready{background:#c7dfc342;border-color:#9bba8b}.play-object>.service-model{height:100%;max-width:none;min-height:0;margin:auto}.play-object .physical-object,.play-object .thermal-scene,.play-object .cushion-load{width:100%;height:100%}.goal-outline{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}.goal-outline path{fill:none;stroke:#aa9e7b;stroke-width:2;stroke-dasharray:5 5;opacity:.6}.stage-ready .goal-outline path{stroke:#739e80;opacity:.4}.stage-thermal-dock,.stage-weight-dock{position:absolute;left:4%;bottom:5%;display:flex;flex-direction:column;align-items:center;gap:10px}.stage-tool{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;width:108px;padding:4px;background:transparent;border:0;touch-action:none;position:relative;color:#6d5945;font-size:18px;line-height:1.25;border-radius:18px}.stage-tool>svg{width:88px;height:88px;overflow:visible;filter:drop-shadow(0 5px 1px #9e7c4924);pointer-events:none}.stage-tool>span{background:#fff8e9d9;padding:3px 12px;border-radius:10px;white-space:nowrap;pointer-events:none}.stage-tool:hover,.stage-tool:focus-visible{background:#fff8e866}.stage-tool.selected>span{background:#d7e7d0}.stage-tool.selected svg{filter:drop-shadow(0 0 7px #8cae80)}.stage-tool:not(:disabled):active{transform:none}.stage-pump-dock{position:absolute;right:4%;bottom:3%;display:flex;flex-direction:column;align-items:center;gap:0}.stage-pump-dock>.stage-tool:first-child{width:110px}.stage-pump-dock>.stage-tool:first-child svg{height:125px;width:100px}.stage-pump-dock>.stage-valve{flex-direction:row;width:112px;min-height:55px;font-size:17px}.stage-valve>svg{width:46px;height:50px}.stage-valve>span{padding:3px 7px}.stage-gas-connection{position:absolute;left:4%;bottom:12%}.connected-gas>svg{height:120px;width:95px}.stage-gas-tray{position:absolute;bottom:3%;left:50%;translate:-50% 0;display:flex;gap:14px;padding:4px 20px 8px;border-radius:22px;background:#e3c69b88;border-bottom:5px solid #bb996d55}.stage-gas-tray .stage-tool{width:100px}.stage-gas-tray .stage-tool>svg{height:100px}.stage-thermometer{position:absolute;right:5%;top:10%;bottom:10%;width:95px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;pointer-events:none}.stage-thermometer svg{width:88px;height:180px;min-height:0}.stage-thermometer b{font-size:25px;color:#a66d55}.stage-thermometer>span{font-size:17px;white-space:nowrap;color:#789b8a}.thermometer-fluid{transition:d 80ms linear}.stage-target-tag{position:absolute;right:4%;top:8%;background:#fff9e9;border:1px solid #dac5a5;border-radius:14px;rotate:3deg;box-shadow:0 3px 0 #cbb38a44;padding:10px 16px;text-align:center;pointer-events:none}.stage-target-tag small{display:block;font-size:17px}.stage-target-tag b{display:block;font-size:26px;color:#6b8b79}.play-object .scale-art{padding:0;border:0;background:transparent;cursor:pointer;z-index:1}.play-object .weighed-can{pointer-events:none;z-index:2}.play-object .scale-reading{pointer-events:none;z-index:3}.scale-tap-hint{position:absolute;left:50%;bottom:1%;translate:-50% 0;background:#fff3d9;border:1px solid #c5ab7f;border-radius:10px;padding:4px 12px;font-size:18px;white-space:nowrap}.stage-footer{display:flex;align-items:center;gap:10px;background:#fff9ec;padding:10px 16px;flex:none;border-top:1px solid #e1ceb2}.stage-reset{font-size:30px}.stage-details{border-radius:12px;min-width:54px;font-size:17px;padding:6px}.intuitive-bench .stage-hint{font-size:19px;line-height:1.4;margin:0;flex:1;color:#8b7d63;text-align:center}.stage-handoff{font-size:21px;white-space:nowrap;min-width:160px;padding:10px 19px}.stage-handoff.ready{background:#b7d4b4;border-color:#7fa27b;box-shadow:0 4px 0 #769572;color:#355433}.stage-stickers{position:absolute;left:19%;right:18%;bottom:2%;display:flex;align-items:center;flex-direction:column;gap:5px}.stage-stickers>span{font-size:17px;color:#8e806b}.stage-stickers>div{display:flex;gap:7px;justify-content:center;width:100%}.stage-sticker{min-width:0;flex:1;max-width:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:95px;padding:5px;background:#fffaf0;border:2px dashed #d9bd8f;border-radius:14px;font-size:17px;line-height:1.25;box-shadow:2px 3px 0 #baa27b22;rotate:-2deg}.stage-sticker:nth-child(even){rotate:2deg}.stage-sticker>.item,.stage-sticker>.service-prop{height:48px;width:64px;background:none}.stage-sticker.selected{border-style:solid;background:#e0ecd5;border-color:#94b085}.stage-sticker .flame-sticker{font-size:40px;line-height:1;color:#c98e65}.has-labels .play-object{bottom:90px}.stage-process{position:absolute;left:50%;bottom:0;translate:-50% 0}.stage-process .stage-tool{width:220px}.stage-process .stage-tool>svg{height:85px}.stage-drag-ghost{position:fixed;z-index:20000;width:100px;height:110px;pointer-events:none;translate:-50% -50%;filter:drop-shadow(0 10px 5px #72593e44)}.stage-drag-ghost>svg{width:100%;height:100%}.using-ice .ice-tool,.using-warm-air .blower-tool{pointer-events:auto;cursor:grab}.thermal-scene .ice-tool:focus-visible,.thermal-scene .blower-tool:focus-visible{outline:none;filter:drop-shadow(0 0 5px #608b83)}
@media(max-height:650px){.stage-order{padding:5px 10px;gap:7px}.stage-customer{width:48px;height:48px}.intuitive-bench .stage-order-bubble p{font-size:18px;line-height:1.4}.stage-footer{padding:6px 10px;gap:7px}.intuitive-bench .stage-hint{font-size:17px}.stage-handoff{min-width:138px;min-height:46px;font-size:19px;padding:7px 14px}.stage-back,.stage-reset,.stage-details{min-width:44px;min-height:44px}.stage-thermal-dock,.stage-weight-dock{gap:3px;bottom:4%;left:3%}.stage-tool{width:94px;font-size:17px}.stage-tool>svg{width:70px;height:70px}.stage-thermometer{right:3%;width:82px;top:6%;bottom:6%}.stage-thermometer svg{height:135px;width:70px}.stage-thermometer b{font-size:22px}.stage-thermometer>span{font-size:16px}.stage-pump-dock{right:2%;bottom:0}.stage-pump-dock>.stage-tool:first-child svg{width:85px;height:95px}.stage-pump-dock>.stage-valve{min-height:44px}.stage-valve>svg{height:40px;width:40px}.stage-target-tag{padding:7px 11px;right:3%;top:5%}.stage-target-tag b{font-size:23px}.stage-target-tag small{font-size:16px}.stage-rule{top:7px;font-size:15px}.stage-gas-tray{padding:2px 12px 4px;gap:9px}.stage-gas-tray .stage-tool{width:90px}.stage-gas-tray .stage-tool>svg{height:78px}.connected-gas>svg{height:90px;width:75px}.stage-gas-connection{left:2%}.stage-stickers{gap:3px}.stage-sticker{font-size:16px;min-height:82px;padding:4px;gap:2px}.stage-sticker>.item,.stage-sticker>.service-prop{height:36px;width:50px}.stage-stickers>span{font-size:16px}.has-labels .play-object{bottom:92px}.scale-tap-hint{font-size:16px;padding:3px 8px}.stage-process .stage-tool>svg{height:65px}.play-object{left:21%;right:21%;top:15px;bottom:10px}}

.stage-tool.selected svg{opacity:.35;filter:none}.weighing-model{width:100%;height:100%;overflow:visible}.scale-touch{cursor:pointer}.scale-touch:focus-visible{outline:none;filter:drop-shadow(0 0 5px #719b86)}.scale-record-hint{position:absolute;bottom:0;left:50%;translate:-50% 0;white-space:nowrap;background:#fff9e8d9;border-radius:9px;padding:4px 10px;font-size:17px;pointer-events:none}

.intuitive-bench.category-uses .play-object{bottom:100px}.has-labels .service-charge{visibility:hidden}.intuitive-bench .service-label{display:none}

.scale-hit-button{display:block;width:100%;height:100%;min-height:0;padding:0;background:transparent;border:0;cursor:pointer;border-radius:12px}.scale-hit-button:not(:disabled):active{transform:none}.scale-hit-button:focus-visible{outline:3px solid #82ac8f;outline-offset:-6px}

.stage-sticker{touch-action:none}

/* Temperature is a read-only status bar; only the illustrated tools change it. */
.thermal-dashboard{position:absolute;left:5%;right:5%;top:10px;padding:8px 16px 6px;background:#fffaf0e8;border:1px solid #d5c5aa;border-radius:16px;pointer-events:none;z-index:4;color:#6e624f}.thermal-bar-heading{display:flex;justify-content:space-between;gap:12px;font-size:18px;line-height:1.2}.thermal-bar-heading b{color:#677f70}.thermal-meter{height:12px;margin:8px 0 18px;border:1px solid #cabda5;border-radius:8px;position:relative;background:linear-gradient(90deg,#b8d9df,#f1e4bc 50%,#e9b29a)}.thermal-safe-zone{position:absolute;top:-3px;bottom:-3px;background:#a8cc8b;border:2px solid #648956;border-radius:4px;opacity:.85}.thermal-target-line{position:absolute;top:-4px;bottom:-4px;border-left:2px dashed #587549}.thermal-needle{position:absolute;top:-8px;bottom:-7px;border-left:4px solid #695749;translate:-2px 0}.thermal-needle:before{content:'';position:absolute;top:-4px;left:-6px;border:4px solid transparent;border-top-color:#695749}.thermal-low,.thermal-high{position:absolute;top:14px;font-size:13px;line-height:1}.thermal-low{left:0}.thermal-high{right:0}.thermal-range-note{font-size:17px;text-align:center;line-height:1.25}.thermal-range-note>span{font-size:14px}.thermal-dashboard.in-range{border-color:#7c9d64;background:#eff6e7}.category-temperature .play-object{top:116px;bottom:12px;left:22%;right:22%}.category-temperature .stage-rule{top:102px;font-size:14px}.category-temperature .stage-thermal-dock{left:4%;bottom:8%}.stage-warm-dock{position:absolute;right:4%;bottom:8%}.category-temperature .stage-tool{min-width:106px;min-height:110px}.category-temperature .stage-tool.selected{background:#e4edd5a6;outline:2px solid #8dab76}.category-temperature .stage-tool.selected>svg{opacity:.75}.category-temperature .stage-tool>span{padding:4px 8px}.category-temperature .stage-handoff:not(.ready){background:#e8c6cb}.category-temperature .stage-hint{font-size:18px}
@media(max-height:650px){.thermal-dashboard{top:6px;left:3%;right:3%;padding:5px 12px}.thermal-bar-heading{font-size:17px}.thermal-meter{margin:7px 0 17px;height:10px}.thermal-range-note{font-size:16px}.thermal-range-note>span{font-size:13px}.category-temperature .play-object{top:104px;bottom:6px;left:21%;right:21%}.category-temperature .stage-rule{top:91px;font-size:13px}.category-temperature .stage-thermal-dock{left:2%;bottom:8%}.stage-warm-dock{right:2%;bottom:8%}.category-temperature .stage-tool{width:110px;min-height:98px}.category-temperature .stage-hint{font-size:16px}}
/* Children bring a notebook: the answer and the explanation are both required. */
.study-child{position:relative;display:inline-flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0;min-height:0}.study-child>.customer{width:100%;height:100%}
.study-bench{display:flex;flex-direction:column;gap:10px;min-height:0;padding:14px!important;background:#e9e1cf!important;border:2px solid #b9aa8e!important;border-radius:24px}
.study-header{display:flex;align-items:center;gap:12px;flex:none;min-width:0}.study-header>.study-child{width:60px;height:60px;flex:none}.study-header>div{min-width:0}.study-header small{font-size:18px;color:#78694f}.study-header h2{margin:2px 0;font-size:27px;line-height:1.2}.study-header .softbtn{min-height:44px;min-width:44px}
.study-progress{display:flex;gap:7px;margin-left:auto;flex:none}.study-progress>span{display:grid;place-items:center;width:35px;height:35px;border:2px solid #cbbd9d;border-radius:50%;color:#96896d;background:#f6f0df;font-family:ShopJua,sans-serif}.study-progress>.current{border-color:#a48d67;color:#695638}.study-progress>.complete{border-color:#8ca280;background:#d7e3cc;color:#4f6746}
.study-notebook{display:grid;grid-template-columns:1fr 1.04fr;grid-template-rows:auto minmax(0,1fr);column-gap:24px;row-gap:10px;flex:1;min-height:0;padding:18px 22px 16px 32px;border-radius:12px;background:linear-gradient(90deg,transparent 17px,#dcbab0 17px,#dcbab0 19px,transparent 19px),#fffdf5;box-shadow:0 4px 0 #cfc2a5}
.study-problem{grid-column:1/-1;font-size:23px!important;line-height:1.4!important;margin:0!important;color:#5f523f}
.study-figure{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:0;margin:0;gap:8px}.study-picture{display:block;flex:1;min-height:0;width:100%;max-height:290px;font-family:ShopGowun,sans-serif}.study-figure figcaption{flex:none;font-size:18px;line-height:1.4;color:#786c57;background:#f4efdf;border-radius:8px;padding:8px 10px;width:100%;box-sizing:border-box}
.study-answer{display:flex;flex-direction:column;justify-content:center;min-width:0;min-height:0}.study-step{font-size:18px;color:#8c7756}.study-answer h3{font-size:23px;line-height:1.3;margin:6px 0 12px}.study-answer h3:focus{outline:none}.study-choices{display:flex;flex-direction:column;gap:10px}.study-choice{display:flex;align-items:center;gap:9px;text-align:left;font-family:ShopGowun,sans-serif;font-size:21px!important;line-height:1.35!important;min-height:54px;padding:10px 12px!important;border-color:#d2c3a6;background:#faf6e9}.study-choice>span{flex:none;display:grid;place-items:center;width:27px;height:27px;background:#e9dfca;border-radius:50%;font-family:ShopJua,sans-serif}.study-choice:focus-visible{outline:3px solid #79976c;outline-offset:2px}
.study-finished{padding:12px 16px;border-radius:14px;background:#eaf1e3}.study-finished p{font-size:22px;line-height:1.5;margin:8px 0}.study-finished small{font-size:18px;color:#5d7650}.study-done-mark{display:grid;place-items:center;width:42px;height:42px;background:#cbdcbd;border-radius:50%;color:#597447;font:30px ShopJua,sans-serif}
.study-footer{display:flex;align-items:center;gap:12px;flex:none;min-width:0}.study-footer .softbtn{min-height:48px;flex:none}.study-footer .primary{min-height:52px;white-space:nowrap;flex:none}.study-feedback{flex:1;min-width:0;font-size:18px;line-height:1.35;margin:0;color:#76664d}.study-feedback.retry{color:#965a42}.study-footer .primary:disabled{opacity:.55;cursor:default}
.study-problem,.study-choice,.study-feedback,.study-figure figcaption,.study-finished p{word-break:keep-all;overflow-wrap:break-word}
@media(max-height:720px){.study-bench{gap:7px;padding:10px!important}.study-header>.study-child{width:44px;height:44px}.study-header h2{font-size:23px}.study-header small{font-size:16px}.study-notebook{padding:12px 15px 12px 27px;column-gap:16px;row-gap:6px}.study-problem{font-size:21px!important;line-height:1.35!important}.study-answer h3{font-size:21px;margin:3px 0 7px}.study-choices{gap:6px}.study-choice{font-size:19px!important;min-height:46px;padding:7px 9px!important}.study-figure figcaption{font-size:17px;padding:6px 8px}.study-finished{padding:9px 12px}.study-finished p{font-size:20px;line-height:1.4}.study-done-mark{width:32px;height:32px;font-size:24px}.study-footer{gap:8px}.study-footer .primary{font-size:20px;min-height:48px;padding:8px 12px}.study-feedback{font-size:17px}}
@media(max-width:900px){.study-header{gap:8px}.study-header h2{font-size:22px}.study-notebook{column-gap:12px;grid-template-columns:.9fr 1.1fr}.study-problem{font-size:20px!important}.study-choice{font-size:18px!important}.study-progress>span{width:29px;height:29px}.study-header small{font-size:16px}.study-figure figcaption{font-size:16px}.study-answer h3{font-size:20px}.study-feedback{font-size:16px}.study-footer .softbtn{font-size:17px;padding:8px}.study-footer .primary{font-size:19px}.study-finished p{font-size:19px}}
@media(max-height:580px){.study-notebook{grid-template-columns:1fr 1.12fr}.study-problem{grid-column:1;grid-row:1;font-size:19px!important}.study-figure{grid-column:1;grid-row:2;gap:5px}.study-answer{grid-column:2;grid-row:1/3}.study-header>.study-child{width:38px;height:38px}.study-header h2{font-size:21px}.study-choice{font-size:18px!important;min-height:44px;padding:7px 9px!important}.study-step{font-size:16px}.study-answer h3{font-size:20px}.study-figure figcaption{font-size:16px;padding:5px 7px}.study-footer .primary{font-size:18px}.study-feedback{font-size:16px}.study-header small{font-size:15px}.study-finished p{font-size:19px}.study-done-mark{display:none}}
.game-grid.study-conversation{grid-template-columns:1fr}.study-conversation .speech{max-width:760px;left:6%;right:6%;margin-left:auto;margin-right:auto}.study-conversation .room{min-width:0}
.study-compact-picture{display:none}
@media(max-height:580px){.study-bench .study-picture{display:none}.study-compact-picture{display:flex;align-items:stretch;justify-content:center;gap:7px;width:100%;min-height:66px;flex:1}.study-compare-card{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:#f0e8d7;border:1px solid #dfd1b6;border-radius:10px;text-align:center;padding:5px;word-break:keep-all}.study-compare-card.step-1{background:#dce9e4;border-color:#b7cec2}.study-compare-card.step-2{background:#e8e0ed;border-color:#ccbbd4}.study-compare-card span{font-size:16px;line-height:1.2}.study-compare-card strong{font-family:ShopJua,sans-serif;font-size:21px;line-height:1.2;color:#66543e}.study-compare-card.scene-can-weight strong{font-size:26px}}
.service-card>.study-child{flex:1;width:100%;height:clamp(80px,20vh,180px);max-height:45%}.service-card>.study-child>.customer{height:100%;max-height:100%}

/* Anchor the prop to the character's square drawing frame, not the room width. */
.study-child{display:inline-grid;place-items:center;aspect-ratio:1;width:auto;height:100%;max-width:100%}
.study-child>.customer{position:relative;display:block;width:100%;height:100%;min-width:0;min-height:0}
.study-notebook-prop{position:absolute;right:9%;bottom:6%;display:block;width:31%;height:auto;max-width:none;object-fit:contain;transform:rotate(-9deg);transform-origin:center;pointer-events:none;user-select:none}
.study-conversation .customer-spot{display:grid;place-items:center}
.study-conversation .customer-spot>.study-child{width:auto;height:100%;aspect-ratio:1;max-width:100%}
.service-card>.study-child{flex:1;width:auto;height:clamp(80px,20vh,180px);max-height:45%;aspect-ratio:1}
.study-header>.study-child{flex:none;width:60px;height:60px}
@media(max-height:720px){.study-header>.study-child{width:44px;height:44px}}
@media(max-height:580px){.study-header>.study-child{width:38px;height:38px}}
