:root{font-family:Arial,sans-serif;color:#263a32;background:#cad8cc}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}[hidden]{display:none!important}.lab{height:100dvh;min-height:610px;display:flex;flex-direction:column;overflow:hidden}.top{height:66px;flex:none;background:#fafbf7;display:flex;align-items:center;justify-content:space-between;padding:0 32px;z-index:3;border-bottom:1px solid #dbe3da}.logo{font-size:14px;font-weight:600;display:flex;align-items:center;gap:9px}.logo span{color:#9a9e60;font-size:32px}.top-actions{display:flex;align-items:center;gap:22px}.status{font-size:12px;color:#607d6d;cursor:pointer}.status:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:#b7bfb5;margin-right:8px}.status.online:before{background:#65a780}.text-button{border:0;background:none;color:#71877a;font-size:12px}.room{position:relative;flex:1;overflow:hidden;background:linear-gradient(#d8e5db 0%,#e8ede2 75%,#d0dacc 75%)}.windows{position:absolute;left:4%;top:0;height:58%;width:48%;display:grid;grid-template-columns:repeat(3,1fr);gap:9px;border:14px solid #b9cabe;border-top:0;background:#bdcfc0}.windows div{background:linear-gradient(135deg,#dcece4,#f3f7e9);border:5px solid #d3e1d5}.wall-shelf{position:absolute;right:5%;top:28%;width:18%;height:10px;background:#9caf9f;display:flex;justify-content:space-around;align-items:flex-end;padding:0 15px}.wall-shelf span{width:27px;height:70px;background:#e5ebd8;border:3px solid #bdccbc;border-radius:5px 5px 0 0}.wall-shelf span:nth-child(2){height:45px;background:#d3ded0}.context{position:absolute;top:32px;left:4%;max-width:360px}.overline{font-size:10px;letter-spacing:.11em;color:#718b79;font-weight:600}.context h1{font-family:Georgia,serif;font-size:32px;font-weight:400;margin:10px 0}.context p{font-size:13px;color:#6d8374;line-height:1.5;margin:0}.flask-area{position:absolute;left:50%;top:3%;bottom:155px;width:min(45vw,600px);transform:translateX(-50%);display:flex;align-items:center;justify-content:center}.flask-area canvas{height:100%;width:100%;position:relative;z-index:2;touch-action:none}.hint{position:absolute;top:4%;left:50%;transform:translateX(-50%);background:#fbfcf4db;padding:9px 14px;border-radius:4px;font-size:12px;color:#587260;white-space:nowrap;z-index:3;pointer-events:none}.hotplate{position:absolute;bottom:1%;width:200px;height:37px;border-radius:8px;background:#708076;box-shadow:0 6px 0 #596e61;text-align:center;color:#d8e2d5;font-size:8px;letter-spacing:.12em;padding-top:20px}.hotplate div{position:absolute;top:2px;left:30px;right:30px;height:15px;border-radius:50%;background:#aebcb0}.hotplate.on div{background:#d08a62}.readout{position:absolute;right:4%;top:34px;width:225px;background:#f8faf4e8;padding:20px;border:1px solid #e2e9df}.measure{display:flex;justify-content:space-between;font-size:12px;color:#748779;padding:10px 0;border-bottom:1px solid #e8ede6}.measure b{font-variant-numeric:tabular-nums;color:#3b5745;font-weight:500}.readout-divider{height:20px}.readout p{font-size:12px;line-height:1.6;color:#536d5c}.readout .model-note{margin-top:20px;color:#9aa99a;font-size:10px}.bench{position:absolute;bottom:0;left:0;right:0;height:155px;background:#e5e9dd;border-top:8px solid #bac9b8}.bench-top{position:absolute;top:0;width:100%;height:8px;background:#f1f2e8}.tools{height:100%;display:flex;align-items:center;justify-content:center;gap:18px;padding:12px 24px}.tool-intro{width:155px;display:flex;flex-direction:column;gap:5px;margin-right:12px}.tool-intro strong{font-family:Georgia,serif;font-size:18px;font-weight:400}.tool-intro small,.ingredient small,.tool-action small{font-size:10px;color:#8a9a89;line-height:1.4}.ingredient,.tool-action{height:115px;min-width:100px;border:1px solid transparent;background:transparent;border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#435d4b}.ingredient:hover,.tool-action:hover{border-color:#c2d2c0;background:#f7f9f0}.ingredient b,.tool-action b{font-size:12px;font-weight:600}.bottle{position:relative;display:block;width:35px;height:51px;border:2px solid #b9cbbb;border-radius:5px 5px 8px 8px;background:#dcebe3;margin:7px 0 2px}.bottle:before{content:'';position:absolute;width:19px;height:9px;background:#a9bdab;top:-10px;left:6px;border-radius:2px}.bottle i{position:absolute;bottom:2px;left:2px;right:2px;height:26px;background:#a5cfc9;border-radius:0 0 4px 4px}.oil .bottle i{background:#ddbf71}.soap .bottle i{background:#d5ddc0}.tool-divider{height:70px;border-left:1px solid #cad5c6}.tool-action span{font-size:29px;color:#78947c}.tool-action.active{background:#f8ebe0;border-color:#e4bf9e}.controller{min-height:100vh;background:#f6f5f0;padding:25px}.phone-shell{max-width:460px;margin:auto}.mobile-content{padding-top:65px}.mobile-content h1{font:400 50px/1.1 Georgia,serif}.mobile-content p{font-size:14px;color:#7b8a7e;line-height:1.7}.mobile-content label{display:block;font-size:12px;color:#63766a;margin:35px 0 10px}.join-row{display:flex;gap:8px}.join-row input{min-width:0;flex:1;border:1px solid #dce2d8;background:white;border-radius:4px;padding:14px;letter-spacing:.2em;font-size:18px}.join-row button,#sensors{background:#536f59;color:white;border:0;border-radius:4px;padding:14px}.mobile-illustration{display:flex;align-items:center;justify-content:center;gap:35px;color:#a8bba9;font-size:30px;padding:50px 0 30px}.phone-outline{width:110px;height:190px;border:3px solid #9daf9d;border-radius:18px;display:grid;place-items:center;transform:rotate(-10deg);background:#e6ede2;font-size:58px;color:#b6a662}.mobile-help{font-size:11px!important}.pair{position:fixed;inset:0;background:#23362c90;z-index:5;display:grid;place-items:center}.pair>div{position:relative;background:#fbfcf7;padding:32px;width:min(420px,90vw)}.pair h2{font:400 30px Georgia,serif}.pair p{color:#74877a;font-size:13px}.pair code{display:block;overflow-wrap:anywhere;color:#536f59}.pair strong{display:block;font:30px Georgia,serif;letter-spacing:.15em;margin-top:20px}.close{position:absolute;right:15px;top:10px;border:0;background:none;font-size:25px;color:#7e9283}button:focus-visible{outline:3px solid #83a98a;outline-offset:2px}@media(max-width:800px){.top{padding:0 12px}.top-actions{gap:8px}.text-button{font-size:10px}.context{top:15px;left:15px;max-width:200px}.context h1{font-size:23px}.context p{font-size:11px}.readout{right:10px;top:15px;width:160px;padding:12px}.measure{font-size:10px;padding:5px 0}.readout p{font-size:10px}.flask-area{width:60vw;bottom:140px}.bench{height:140px}.tools{justify-content:flex-start;overflow-x:auto;gap:5px}.tool-intro{display:none}.ingredient,.tool-action{min-width:90px}}
.notebook{position:absolute;z-index:2;top:200px;left:4%;width:225px;padding:20px 22px;background:#faf7eb;box-shadow:0 5px 12px #62766624;transform:rotate(-2deg);color:#485d4b}.paper-top{font-size:9px;letter-spacing:.1em;color:#93a28b;display:flex;justify-content:space-between}.notebook h2{font:400 25px Georgia,serif;margin:12px 0 6px}.notebook p,.notebook li{font-size:12px;line-height:1.55}.notebook ol{padding-left:19px}.notebook li{padding:3px 0}.notebook small{font-size:10px;color:#90a08d}.pour{display:none;position:absolute;z-index:4;left:50%;top:4%;width:120px;height:150px;pointer-events:none}.pour.pouring{display:block;animation:pour-bottle 1.5s ease both}.pour-bottle{position:absolute;left:28px;top:0;width:48px;height:75px;border:3px solid #c0d4c4;border-radius:8px;background:#e5eee4;transform:rotate(65deg)}.pour-bottle:after{content:'';position:absolute;right:-10px;top:9px;width:15px;height:24px;background:#b3cbb8}.pour-stream{position:absolute;top:60px;left:82px;width:7px;height:110px;background:#9ac8c5;transform:rotate(4deg);border-radius:8px;animation:stream 1.5s ease both}.pour.oil .pour-stream{background:#d6b35c}.pour.soap .pour-stream{background:#d5ddc0}@keyframes pour-bottle{0%{opacity:0;transform:translate(70px,-30px)}20%,75%{opacity:1;transform:translate(0,0)}100%{opacity:0;transform:translate(50px,-30px)}}@keyframes stream{0%,20%,85%,100%{opacity:0;transform:scaleY(0);transform-origin:top}35%,70%{opacity:1;transform:scaleY(1);transform-origin:top}}.shaking{animation:shake .45s ease}.remote{margin-top:24px;padding:18px;background:#e8eee5}.remote-head{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:#536f59}.remote-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:15px}.remote-grid button{border:1px solid #d2ded0;background:#fafbf7;color:#3b5745;text-align:left;border-radius:5px;min-height:66px;padding:12px}.remote-grid button:active{background:#cedfcf}.remote-grid b,.remote-grid small{display:block}.remote-grid small{margin-top:5px;color:#8a9a89}.remote p{font-size:11px}.mobile-content:has(.remote:not([hidden])){padding-top:24px}.mobile-content:has(.remote:not([hidden])) h1{font-size:32px;margin:10px 0}.mobile-content:has(.remote:not([hidden])) > label,.mobile-content:has(.remote:not([hidden])) .join-row{display:none}@media(max-width:1100px){.notebook{top:180px;width:190px;padding:14px}.notebook li{font-size:11px}}@media(max-width:800px){.notebook{display:none}}
@keyframes shake{0%,100%{transform:translateX(0) rotate(0)}20%{transform:translateX(-7px) rotate(-2deg)}40%{transform:translateX(7px) rotate(2deg)}60%{transform:translateX(-5px) rotate(-1deg)}80%{transform:translateX(5px) rotate(1deg)}}@media(prefers-reduced-motion:reduce){.shaking,.pour.pouring,.pour-stream{animation-duration:.01ms!important}}
/* The stream ends at the flask mouth, whose position follows its rotation. */
.pour{width:1px;height:1px}.pour-bottle{left:-68px;top:-114px;width:48px;height:75px}.pour-stream{left:-3px;top:-76px;height:76px;width:7px;transform:none;transform-origin:bottom}@keyframes stream{0%,20%,85%,100%{opacity:0;transform:scaleY(0)}35%,70%{opacity:1;transform:scaleY(1)}}

.temperature-control{padding-top:16px}.temperature-control label{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#536d5c}.temperature-control strong{font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.temperature-control input{width:100%;margin:12px 0 2px;accent-color:#536f59}.temperature-ends{display:flex;justify-content:space-between;font-size:10px;color:#8a9a89}.temperature-control small{display:block;margin-top:8px;font-size:10px;line-height:1.4;color:#8a9a89}

.remote-temperature{margin-top:16px}.remote-temperature label{display:flex;justify-content:space-between;margin:0;font-size:12px}.remote-temperature input{width:100%;margin:12px 0 0;accent-color:#536f59}

.ice-cube{display:block;width:37px;height:37px;margin:15px 0 8px;border:2px solid #a6c9ca;border-radius:6px;background:#d8eff0;box-shadow:inset 5px 5px 0 #edf9f7}.tools{overflow-x:auto;justify-content:safe center;gap:12px}@media(max-width:1100px){.tools{justify-content:flex-start}}
