:root{--bg: #0b0c0d;--fill: rgb(255 255 255 / .04);--track: #25272a;--line: rgb(255 255 255 / .07);--text: #ececec;--muted: #9a9da3;--axis: #8a8d93;--cool: #6fa8ff;--warm: #ff6b5e;--sheet: #1c1d1f;--stage-deep: #f2f3f5;--stage-rem: #b5b8be;--stage-light: #7c7f85;--stage-awake: #6e7177;--r-tile: 22px;--r-sheet: 20px;--r-pill: 999px;--gutter: 24px;--section-gap: 34px;--touch: 44px}@font-face{font-family:Inter;src:url(/fonts/inter-latin-wght.woff2) format("woff2");font-weight:200 500;font-style:normal;font-display:swap}*,*:before,*:after{box-sizing:border-box;margin:0}html{color-scheme:dark;-webkit-text-size-adjust:100%;background:var(--bg)}body{min-height:100dvh;color:var(--text);font:400 15px/1.4 Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;background:radial-gradient(120% 55% at 50% 0%,rgb(255 255 255 / .045),transparent 70%),url(/noise.png) 0 0 / 256px 256px repeat,var(--bg);-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}a{color:inherit;text-decoration:none}:focus-visible{outline:2px solid var(--text);outline-offset:3px;border-radius:6px}.screen{max-width:480px;margin:0 auto;padding:16px var(--gutter) 28px;display:flex;flex-direction:column;gap:var(--section-gap)}.num{font-variant-numeric:tabular-nums}.muted{color:var(--muted);font-size:13px}.axis{fill:var(--axis);font-size:11px}.header{display:flex;justify-content:center}.pill{min-height:var(--touch);padding:0 18px;border-radius:var(--r-pill);background:var(--fill);display:inline-flex;align-items:center;gap:8px;font-weight:500;font-size:17px}.pill svg{width:18px;height:18px}.dial-wrap{position:relative;width:342px;max-width:100%;margin:0 auto;touch-action:none}.dial{display:block;width:100%;height:auto;touch-action:none;user-select:none}.dial:focus,.dial:focus-visible{outline:none}.dial.kb:focus-visible{outline:2px solid var(--text);outline-offset:6px;border-radius:6px}.dial-center{position:absolute;left:0;right:0;top:46px;display:flex;flex-direction:column;align-items:center;pointer-events:none}.dir{font-size:13px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;height:18px}.dir.cool{color:var(--cool)}.dir.warm{color:var(--warm)}.dir.neutral{color:var(--muted)}.hero{font-size:84px;font-weight:200;letter-spacing:-.03em;line-height:1;margin-top:6px}.sub{font-size:13px;color:var(--muted);margin-top:8px;height:18px}.sub.room{margin-top:2px}.step-btn{position:absolute;bottom:-4px;width:52px;height:52px;border-radius:50%;background:var(--fill);display:grid;place-items:center}.step-btn.l{left:0}.step-btn.r{right:0}.step-btn svg{width:24px;height:24px}.status{display:flex;gap:10px;align-items:center;justify-content:center;font-size:15px;height:24px;margin-bottom:14px;white-space:nowrap;overflow:hidden}.status .stxt{overflow:hidden;text-overflow:ellipsis;animation:stxt-in .7s ease both}@keyframes stxt-in{0%{opacity:0}to{opacity:1}}.status .dot{width:6px;height:6px;border-radius:50%;background:var(--text);flex:none}.status b{font-weight:500}.status b.cool{color:var(--cool)}.status b.warm{color:var(--warm)}.noted{text-align:center;font-size:13px;color:var(--muted);height:18px;margin-top:-22px;transition:opacity .2s}.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.tile{border-radius:var(--r-tile);background:var(--fill);border:1px solid transparent;min-height:104px;padding:14px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.tile svg{width:24px;height:24px}.tile .t{font-size:13px;color:var(--muted)}.tile .v{font-size:15px;font-weight:400}.tile.on-cool{border-color:var(--cool)}.tile.on-warm{border-color:var(--warm)}.card-head{display:flex;justify-content:space-between;align-items:baseline}.card-head h2{font-size:17px;font-weight:500}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0 18px}.stat{background:var(--fill);border-radius:var(--r-tile);padding:14px 16px}.stat .v{font-size:22px;font-weight:300;display:block}.stat .l{font-size:13px;color:var(--muted)}.chart svg{display:block;width:100%;height:auto}.para{color:var(--muted);font-size:13px;line-height:1.5;margin-top:14px}.empty{background:var(--fill);border-radius:var(--r-tile);padding:28px 18px;text-align:center;color:var(--muted);font-size:13px}.footer{display:flex;justify-content:space-between;align-items:center;min-height:var(--touch);font-size:13px;color:var(--muted)}.footer .st{display:flex;gap:8px;align-items:center}.footer .dot{width:6px;height:6px;border-radius:50%;background:var(--muted)}.footer .dot.on{background:var(--text)}.footer a{min-height:var(--touch);display:inline-flex;align-items:center;padding:0 4px;color:var(--text)}.scrim{position:fixed;inset:0;background:#00000073;display:flex;align-items:flex-end;justify-content:center;z-index:10}.sheet{width:100%;max-width:480px;background:var(--sheet);border-radius:var(--r-sheet) var(--r-sheet) 0 0;padding:22px var(--gutter) 28px;box-shadow:0 -12px 40px #00000080;max-height:86dvh;overflow:auto}.sheet.menu{border-radius:var(--r-sheet);margin:0 12px 12px;width:calc(100% - 24px)}.sheet h2{font-size:17px;font-weight:500;margin-bottom:14px}.row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:var(--touch);padding:6px 0}.row .k{font-size:15px}.row .hint{font-size:13px;color:var(--muted)}.field{min-height:var(--touch);min-width:var(--touch);padding:0 14px;border-radius:var(--r-pill);background:var(--fill);display:inline-flex;align-items:center;gap:8px;font-size:15px}.field.active{border:1px solid var(--text)}.seg{display:inline-flex;gap:6px}.btn{white-space:nowrap;min-height:var(--touch);padding:0 18px;border-radius:var(--r-pill);background:var(--fill);font-size:15px;display:inline-flex;align-items:center;justify-content:center}.btn.primary{background:var(--text);color:var(--bg);font-weight:500}.btn.danger{color:var(--warm)}.sect{font-size:13px;color:var(--muted);letter-spacing:.02em;margin:26px 0 6px}.toggle{width:52px;height:32px;border-radius:var(--r-pill);background:var(--track);position:relative;flex:none}.toggle:after{content:"";position:absolute;top:4px;left:4px;width:24px;height:24px;border-radius:50%;background:var(--muted)}.toggle[aria-checked=true]{background:var(--text)}.toggle[aria-checked=true]:after{background:var(--bg);transform:translate(20px)}.back{display:inline-flex;align-items:center;gap:6px;min-height:var(--touch);color:var(--muted);font-size:15px}.back svg{width:20px;height:20px;transform:rotate(90deg)}.title{font-size:28px;font-weight:300}.skeleton .dial{opacity:.9}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.stat{padding:14px 12px}.stat .v{white-space:nowrap}.toast-host{position:fixed;left:0;right:0;bottom:calc(24px + env(safe-area-inset-bottom));display:flex;justify-content:center;pointer-events:none;z-index:20}.toast{display:inline-flex;align-items:center;gap:8px;padding:10px 18px 10px 14px;border-radius:var(--r-pill);background:var(--sheet);box-shadow:0 8px 28px #0000008c;font-size:14px;animation:toast-in .18s ease-out}.toast svg{width:18px;height:18px;fill:none;stroke:var(--text);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.toast.error svg{stroke:var(--warm)}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.zonebed{flex:none;display:block}.pill .zonebed{margin-left:-4px}.beddiagram{display:block;width:240px;max-width:80%;height:auto;margin:10px auto 6px}.sts{display:flex;flex-direction:column;gap:4px}.lnk{text-decoration:underline;text-underline-offset:3px}.curve-svg{display:block;width:100%;height:auto;touch-action:none;user-select:none;cursor:crosshair}.curve-read{text-align:center;font-size:15px;min-height:22px;margin-bottom:8px;color:var(--muted)}.curve-hit{outline:none;cursor:grab}.curve-hit:focus-visible{stroke:var(--text);stroke-width:2}.legend{display:flex;gap:18px;justify-content:center;font-size:13px;color:var(--muted);margin-top:-12px}.legend .sw{display:inline-block;width:14px;height:3px;border-radius:2px;margin-right:6px;vertical-align:middle}.legend .sw.warm{background:var(--warm)}.legend .sw.cool{background:var(--cool)}.legend .sw.dash{background:repeating-linear-gradient(90deg,var(--muted) 0 4px,transparent 4px 8px)}.btn:disabled{opacity:.45;cursor:default}.fnav{display:flex;gap:6px}.fnav a{padding:0 10px}.bedph{display:inline-block;width:26px;height:22px;flex:none}.bedph.s34{width:34px;height:29px}.linkcode{font-size:34px;font-weight:300;letter-spacing:.08em;text-align:center;padding:16px 0 6px;user-select:all}.steps{padding-left:20px;display:grid;gap:10px;font-size:14px;color:var(--muted);line-height:1.45}.steps b{color:var(--text);font-weight:500}.steps a{color:var(--text)}.beddiagram{width:280px;max-width:88%}.toggle:after{transition:none}.screen.anim .toggle:after{transition:transform .18s}.screen.anim .toggle{transition:background-color .18s}.sts .st{min-height:18px}.dial-wrap{padding-bottom:40px}.card-head+.chart,.card-head+.chart-ph{margin-top:14px}.chart-ph{height:150px}.ph140{height:140px}
