*{box-sizing:border-box}body{margin:0;background:#eae8de;color:#273e3c;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,[role=button]:focus-visible{outline:3px solid #139381;outline-offset:5px}a{color:inherit;text-decoration:none}.workshop{max-width:1440px;margin:auto;padding:25px 38px 18px}.mast{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:750;letter-spacing:.08em}.brand{display:flex;gap:10px;align-items:center}.brand>span{display:grid;place-items:center;width:30px;height:33px;border-radius:9px;background:#204c45;color:#e8ca7e;font-size:23px}.brand small{font-size:10px;color:#7d8880}.back{letter-spacing:0;color:#65746b}.heading{display:flex;align-items:center;justify-content:space-between;margin:30px 0 24px;gap:20px}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:800;color:#7b8a7e;margin:0 0 8px}h1{font-size:clamp(28px,3.3vw,47px);letter-spacing:-.055em;margin:0;font-weight:800;line-height:1.1}h1>span{color:#dd8e57}.intro{font-size:13px;line-height:1.7;color:#7a847a;margin:0}#scenes{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin-bottom:17px}#scenes button{border:1px solid #cccfc0;background:#f0efe7;border-radius:13px;padding:13px 16px;display:flex;align-items:center;gap:12px;color:#6e7c70;text-align:left;transition:background .2s,transform .2s}#scenes button:hover{transform:translateY(-2px);background:#faf9f0}#scenes button[aria-selected=true]{background:#234f46;border-color:#234f46;color:#fff4cf;box-shadow:0 4px 10px #29463818}.tab-num{font-size:11px;opacity:.55}.tab-name{font-size:14px;font-weight:750}.tab-symbol{font-size:24px;margin-left:auto;color:#a8b3a2}.bench{background:#f8f6ed;border:1px solid #d5d5c5;border-radius:21px;overflow:hidden;box-shadow:0 12px 35px #4b524414}.bench-head{display:flex;align-items:center;justify-content:space-between;padding:21px 27px 12px;gap:16px;position:relative;z-index:1}h2{font-size:22px;letter-spacing:-.03em;margin:0 0 5px}.scene-copy>p:last-child{font-size:12px;margin:0;color:#7b867a}.controls{display:flex;align-items:center;gap:12px}.energy{text-align:center;min-width:90px}.energy>span{display:block;font-size:8px;letter-spacing:.1em;color:#85907e;font-weight:800}.energy strong{display:block;font-size:24px;color:#a5813c;line-height:1.25}.controls button{height:44px;border-radius:11px;border:1px solid #d7d7c7;background:#eeeee3;color:#536252;padding:0 14px;font-size:12px;font-weight:700;white-space:nowrap}.controls .run{background:#dfaa52;border-color:#c78e39;box-shadow:0 3px 0 #bd8639;color:#3e3f27;min-width:173px;font-size:13px}.controls .run:hover{background:#e9b866}.controls .run:active{transform:translateY(2px);box-shadow:0 1px 0 #bd8639}.viewport{width:100%;background:radial-gradient(ellipse at 45% 40%,#fffcf0 0,#f2f1e6 75%)}#machine{display:block;width:100%;height:auto;touch-action:none;user-select:none;overflow:visible}svg text{font-family:system-ui,sans-serif;pointer-events:none}svg .unit{cursor:grab}svg .unit.dragging{cursor:grabbing}.body-art{transition:filter .2s}.unit:hover .body-art,.unit:focus-within .body-art{filter:drop-shadow(0 0 9px #e4ba6670)}.unit[data-active=true] .body-art{filter:drop-shadow(0 0 10px #63b3a13b)}.unit[data-failed=true] .body-art{filter:drop-shadow(0 0 12px #e5694d88)}.ground-shadow{fill:#344c3c;opacity:.09}.port{cursor:crosshair;transition:r .15s}.port:hover{r:13}.port-halo{fill:none;stroke:currentColor;opacity:.18;stroke-width:9}.port-core{stroke:#fffcf0;stroke-width:3}.power{cursor:pointer;outline:none}.power .power-bg{fill:#f7f4e8;stroke:#cbd1c0;stroke-width:1.5;filter:url(#softShadow)}.power:hover .power-bg{fill:#fff5d2;stroke:#bf9851}.power:active{transform:translateY(2px)}[data-active=true] .power-bg{fill:#2e7564;stroke:#22594d}[data-active=true] .power text{fill:#fff7dd}.power text{fill:#6f7d68;font-size:11px;font-weight:750}.unit-label{font-size:15px;font-weight:750;fill:#3e554b}.unit-types{font-size:10px;fill:#8a9484}.tag{font-size:9px;letter-spacing:.13em;font-weight:800;fill:#8c9685}.rotor,.wind-rotor{transform-box:fill-box;transform-origin:center;animation:spin 2s linear infinite;animation-play-state:paused}.wind-rotor{animation-duration:5s}.unit[data-active=true] .rotor,.unit[data-active=true] .wind-rotor{animation-play-state:running}.water{opacity:.12;transition:opacity .5s}.unit[data-active=true] .water{opacity:1}.water-flow{stroke-dasharray:14 12;animation:flow .7s linear infinite}.splash{transform-box:fill-box;transform-origin:center;animation:splash 1.1s ease-in-out infinite}.steam{opacity:.12}.unit[data-active=true] .steam{opacity:.8}.steam-line{stroke-dasharray:22 12;animation:flow 2s linear infinite}.flame{transform-box:fill-box;transform-origin:50% 100%;animation:flicker .8s ease-in-out infinite alternate;opacity:.25}.unit[data-active=true] .flame{opacity:1}.lit{opacity:.1;transition:opacity .5s}.unit[data-active=true] .lit{opacity:1}.needle{transform-origin:0 0;transform:rotate(-35deg);transition:transform 1s}.unit[data-active=true] .needle{transform:rotate(34deg)}.bulb-glow{opacity:0;transition:opacity .6s}.unit[data-active=true] .bulb-glow{opacity:1}.wire{cursor:pointer}.wire .wire-hit{fill:none;stroke:transparent;stroke-width:23}.wire-shell{fill:none;stroke:#42564c;stroke-width:10;opacity:.25}.wire-core{fill:none;stroke-width:5}.wire:hover .wire-shell{stroke:#bf674d;opacity:.6;stroke-width:13}.wire-flow{fill:none;stroke:#fffce4;stroke-width:2;stroke-dasharray:4 20;opacity:0}.wire[data-active=true] .wire-flow{opacity:1;animation:flow 1s linear infinite}.wire[data-failed=true] .wire-core{stroke:#dc765c}.preview-wire{fill:none;stroke:#c29856;stroke-width:4;stroke-dasharray:8 7;pointer-events:none}.bench-foot{display:flex;align-items:center;gap:12px;padding:15px 25px;background:#eeeee2;border-top:1px solid #dddccb;min-height:68px}.status-icon{background:#dfe5d5;color:#6b826b;border-radius:10px;display:grid;place-items:center;width:32px;height:32px;flex-shrink:0}#status{font-size:12px;line-height:1.55;color:#63725f;margin:0;flex:1}#example{border:0;background:transparent;color:#5c7965;font-size:11px;font-weight:750;white-space:nowrap;padding:10px}.bench.success .bench-foot{background:#e3ebd9}.bench.success .status-icon{background:#357563;color:white}footer{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#83907d;font-size:10px;padding:17px 3px}footer p{margin:0}footer b{font-size:9px;color:#6f806c;margin-right:4px}footer p>span{padding:0 7px}.legend{display:flex;gap:12px;white-space:nowrap}.legend span:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--c);margin-right:5px}.mobile-note{display:none}.paused *{animation-play-state:paused!important}@keyframes spin{to{transform:rotate(360deg)}}@keyframes flow{to{stroke-dashoffset:-72}}@keyframes splash{50%{transform:scale(1.15,.85);opacity:.6}}@keyframes flicker{to{transform:scale(.9,1.12)}}@media(max-width:900px){.workshop{padding:16px}.heading{margin:20px 0}.intro{font-size:11px}#scenes button{padding:10px;gap:8px}.tab-name{font-size:12px}.bench-head{padding:16px 18px}.scene-copy>p:last-child{max-width:280px;font-size:11px}.controls{gap:8px}.controls button{padding:0 11px}.controls #reset span{display:none}.controls .run{min-width:145px;font-size:12px}h2{font-size:19px}footer{flex-wrap:wrap}.brand small{display:none}}@media(max-width:560px){.workshop{padding:14px 10px}.intro{display:none}h1{font-size:30px}.heading .eyebrow{font-size:8px}#scenes{gap:5px}.tab-symbol{display:none}.tab-name{font-size:10px}.tab-num{font-size:9px}.bench-head{flex-wrap:wrap;padding:14px}.scene-copy{width:100%}.controls{width:100%;justify-content:space-between}.energy{min-width:60px;text-align:left}.energy>span{font-size:7px}.energy strong{font-size:21px}.controls .run{flex:1;min-width:0}.viewport{overflow-x:auto}#machine{width:900px;max-width:none}.bench-foot{padding:12px;gap:9px;flex-wrap:wrap}#status{font-size:11px}#example{margin-left:40px;padding:3px}footer{font-size:9px;line-height:1.8}footer p>span{padding:0 3px}.legend{flex-wrap:wrap}.mobile-note{display:block;font-size:10px;color:#85907b;text-align:center}}
@media(prefers-reduced-motion:reduce){.rotor,.wind-rotor,.splash,.flame{animation-duration:8s}.water-flow,.wire-flow,.steam-line{animation-duration:4s}}

.zoom{display:none}@media(max-width:560px){.zoom{display:block;margin:0 14px 10px;border:0;background:transparent;color:#687d66;font-size:11px;padding:5px 0}.viewport.fitted #machine{width:100%}}

.bench-foot:has(#status:empty){display:none}.scene-copy{min-height:50px}

.jewel-slide{animation:thread 1.3s ease-in-out infinite alternate;animation-play-state:paused}.unit[data-active=true] .jewel-slide{animation-play-state:running}@keyframes thread{to{transform:translateX(8px)}}
#scenes{grid-template-columns:repeat(5,minmax(0,1fr))}#scenes button,.tab-name{min-width:0}@media(max-width:560px){#scenes button{padding:10px 4px;justify-content:center}.tab-num{display:none}.tab-name{font-size:9px;overflow-wrap:anywhere}}

.unit[data-fixed=true]{cursor:pointer}

#scenes{grid-template-columns:repeat(4,minmax(0,1fr))}.unit[data-fixed=true]{cursor:default}.connect-help{margin:0;padding:0 27px 15px;font-size:12px;color:#73856c;display:flex;align-items:center;gap:12px}.socket-demo{font-size:18px;letter-spacing:2px;white-space:nowrap;color:#5f8068}.process-bar{display:flex;justify-content:center;align-items:center;gap:35px;padding:20px 25px;background:#eeeee2;border-top:1px solid #dddccb}.clock{text-align:right;min-width:110px}.clock>span{font-size:9px;color:#7d8b75;letter-spacing:.1em;font-weight:750}.clock strong{display:block;font-size:30px;color:#3b6050;font-variant-numeric:tabular-nums;line-height:1.2}.clock small{font-size:17px;font-weight:500}.process-bar .run{border:1px solid #b7873d;border-radius:14px;min-width:315px;padding:18px 30px;background:#dfaa52;box-shadow:0 4px 0 #bd8639;color:#3e3f27;font:750 17px system-ui;cursor:pointer}.process-bar .run:hover{background:#e9b866}.process-bar .run:active{transform:translateY(2px);box-shadow:0 2px 0 #bd8639}.process-bar .run:disabled{opacity:.45;cursor:default}.bench-foot{min-height:48px;padding-top:10px;padding-bottom:10px}.unit[data-processing=true] .rotor{animation-play-state:running}.unit[data-processing=true] .lit{opacity:1}.unit[data-processing=true] .steam{opacity:.8}.unit[data-processing=true] .flame{opacity:1}.proof-dough{transform-box:fill-box;transform-origin:50% 100%;transform:scaleY(calc(.65 + var(--progress,0)*.65))}.baked-layer{opacity:var(--progress,0)}.mix-whisk{animation:whisk .45s ease-in-out infinite alternate;animation-play-state:paused;transform-box:fill-box;transform-origin:50% 0}.unit[data-processing=true] .mix-whisk{animation-play-state:running}#machine[data-has-links=false] [data-id="0"] [data-port=out] .port-halo,#machine[data-connecting=true] [data-port=in] .port-halo{animation:socket 1.1s ease-in-out infinite}.port:has(+circle){cursor:crosshair}@keyframes socket{50%{opacity:.6;stroke-width:13}}@keyframes whisk{to{transform:rotate(14deg)}}@media(max-width:560px){#scenes{grid-template-columns:repeat(3,minmax(0,1fr))}.connect-help{padding:0 14px 12px;font-size:10px;gap:8px}.process-bar{gap:15px;padding:16px 12px}.clock{min-width:70px}.clock strong{font-size:24px}.clock>span{font-size:7px}.process-bar .run{min-width:0;flex:1;font-size:13px;padding:17px 10px}}
#machine{overflow:hidden}[data-port][data-selected=true] .port-halo{stroke:#e3a734;opacity:.8;stroke-width:7}[data-port][data-selected=true] .port-core{stroke:#d18d13!important;fill:#ffdc73}.process-bar .run{background:#ffcf32;border-color:#dba916;box-shadow:0 5px 0 #c39113,0 4px 24px #f8c83238;min-width:315px;font-size:21px;letter-spacing:.02em}.process-bar .run:hover{background:#ffdc55}.process-bar .run[aria-pressed=true]{background:#f27354;border-color:#dc5437;color:#fff8e8;box-shadow:0 5px 0 #b8422d,0 4px 24px #ef6c4930}.process-bar .run[aria-pressed=true]:hover{background:#fa8566}@media(max-width:560px){.process-bar .run{min-width:0;font-size:18px}}
#scene-caption:empty{display:none}#scene-caption{max-width:680px;line-height:1.6}.thermal-flow{stroke-dasharray:12 8;animation:flow 1s linear infinite;animation-play-state:paused}.piston{animation:compress .5s ease-in-out infinite alternate;animation-play-state:paused}.clock-pendulum{transform-origin:0 -76px;animation:pendulum 1.2s ease-in-out infinite alternate;animation-play-state:paused}.clock-anchor{transform-origin:0 -48px;animation:anchor .6s ease-in-out infinite alternate;animation-play-state:paused}.escape-wheel{transform-origin:0 0;animation:spin 9s steps(15) infinite;animation-play-state:paused}.clock-minute,.clock-hour{transform-origin:0 0;animation:spin 12s linear infinite;animation-play-state:paused}.clock-hour{animation-duration:144s}.falling-weight{animation:weight-drop 16s ease-in-out infinite alternate;animation-play-state:paused}.unit[data-active=true] :is(.thermal-flow,.piston,.clock-pendulum,.clock-anchor,.escape-wheel,.clock-minute,.clock-hour,.falling-weight),.unit[data-processing=true] :is(.thermal-flow,.piston,.clock-anchor,.escape-wheel){animation-play-state:running}.bench.paused *{animation-play-state:paused!important}@keyframes compress{to{transform:translateY(16px)}}@keyframes pendulum{from{transform:rotate(-14deg)}to{transform:rotate(14deg)}}@keyframes anchor{from{transform:rotate(-7deg)}to{transform:rotate(7deg)}}@keyframes weight-drop{to{transform:translateY(18px)}}@media(max-width:560px){#scenes{grid-template-columns:repeat(2,minmax(0,1fr))}.bench-head{align-items:flex-start}#scene-caption{font-size:11px}}
.food-frost{opacity:var(--cooling,0);transition:opacity .3s}.guided-path .unit[data-kind=coldFood] .body-art{filter:drop-shadow(0 0 calc(var(--cooling,0)*18px) #76c6d0)}

[hidden]{display:none!important}.bench[data-running=false] *{animation-play-state:paused!important}.unit[data-failed=true] .body-art{filter:drop-shadow(0 0 8px #ef4c32) drop-shadow(0 0 18px #ef4c3280)!important}.path-reward{display:flex;gap:16px;padding:20px 27px;background:#e2edd9;color:#355b45}.reward-star{font-size:36px;color:#b68d37}.path-reward h3{font-size:20px;margin:0 0 7px}.path-reward p{margin:0;line-height:1.6;font-size:13px;max-width:800px}@media(max-width:560px){.path-reward{padding:16px;gap:10px}.path-reward p{font-size:12px}}
.unit:not([data-active=true]):not([data-processing=true]) *,.unit[data-failed=true] *{animation-play-state:paused!important}
