.login{min-height:100dvh;padding:24px;padding-bottom:calc(24px + env(safe-area-inset-bottom));box-sizing:border-box;font-family:var(--login-font,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);color:var(--login-text,#1a2027);place-items:center;display:grid}.login *,.login :before,.login :after{box-sizing:border-box}.login-card{background:var(--login-card-bg,#fff);border:1px solid var(--login-card-border,#e4e8ed);border-radius:var(--login-radius,16px);width:100%;max-width:340px;box-shadow:var(--login-card-shadow,0 12px 32px #1018281f);gap:14px;padding:clamp(22px,6vw,32px);display:grid}.login-badge{border-radius:var(--login-badge-radius,18px);background:var(--login-badge-bg,#4f46e51f);justify-self:center;place-items:center;width:60px;height:60px;font-size:30px;line-height:1;display:grid}.login-title{text-align:center;font-family:var(--login-title-font,inherit);font-size:var(--login-title-size,24px);font-weight:var(--login-title-weight,800);letter-spacing:-.02em;color:var(--login-title-color,var(--login-text,#1a2027));margin:0 0 2px}.login-notice{text-align:center;color:var(--login-title-color,var(--login-text,#1a2027));background:var(--login-badge-bg,#4f46e51f);border-radius:var(--login-input-radius,10px);margin:0;padding:11px 13px;font-size:14px;line-height:1.45}.login-form{gap:10px;display:grid}.login-verify{gap:12px;display:grid}.login-input{width:100%;font:inherit;color:var(--login-input-text,var(--login-text,#1a2027));background:var(--login-input-bg,#f4f6f8);border:1px solid var(--login-input-border,#e4e8ed);border-radius:var(--login-input-radius,10px);padding:11px 13px}.login-input::placeholder{color:var(--login-text-dim,#9aa6b2)}.login-input:focus{outline:2px solid var(--login-accent,#4f46e5);outline-offset:1px;border-color:#0000}.login-btn{font:inherit;border-radius:var(--login-input-radius,10px);cursor:pointer;text-align:center;border:1px solid #0000;padding:11px 16px;font-weight:600;transition:background-color .15s,border-color .15s}.login-submit{background:var(--login-accent,#4f46e5);color:var(--login-accent-text,#fff)}.login-submit:hover{background:var(--login-accent-strong,#4338ca)}.login-google{background:var(--login-google-bg,#fff);color:var(--login-google-text,var(--login-text,#1a2027));border-color:var(--login-google-border,#e4e8ed)}.login-google:hover{border-color:var(--login-accent,#4f46e5)}.login-divider{color:var(--login-text-dim,#9aa6b2);align-items:center;gap:12px;font-size:13px;display:flex}.login-divider:before,.login-divider:after{content:"";background:var(--login-card-border,#e4e8ed);flex:1;height:1px}.login-switch{color:var(--login-link,var(--login-accent,#4f46e5));cursor:pointer;font:inherit;background:0 0;border:none;justify-self:center;padding:2px;font-size:14px}.login-switch:hover{text-decoration:underline}.login-msg{text-align:center;margin:0;font-size:14px;line-height:1.5}.login-info{color:var(--login-success,#059669)}.login-error{color:var(--login-error,#dc2626)}@media (prefers-reduced-motion:reduce){.login-btn{transition:none}}.denied{min-height:100dvh;padding:24px;padding-bottom:calc(24px + env(safe-area-inset-bottom));box-sizing:border-box;font-family:var(--denied-font,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);color:var(--denied-text,#1a2027);place-items:center;display:grid}.denied *,.denied :before,.denied :after{box-sizing:border-box}.denied-card{text-align:center;background:var(--denied-card-bg,#fff);border:1px solid var(--denied-card-border,#e4e8ed);border-radius:var(--denied-radius,16px);width:100%;max-width:360px;box-shadow:var(--denied-card-shadow,0 12px 32px #1018281f);gap:14px;padding:clamp(22px,6vw,32px);display:grid}.denied-badge{justify-self:center;font-size:40px;line-height:1}.denied-title{font-family:var(--denied-title-font,inherit);font-size:var(--denied-title-size,22px);margin:0;font-weight:700}.denied-body{color:var(--denied-muted,#5b6672);margin:0;font-size:14px;line-height:1.5}.denied-cta{border-radius:var(--denied-btn-radius,10px);background:var(--denied-accent,#2f6fed);color:var(--denied-accent-fg,#fff);font:inherit;cursor:pointer;border:none;padding:12px;font-weight:700;text-decoration:none;display:block}.denied-signout{border:1px solid var(--denied-card-border,#e4e8ed);border-radius:var(--denied-btn-radius,10px);color:var(--denied-muted,#5b6672);font:inherit;cursor:pointer;background:0 0;padding:10px;font-weight:600}.hh-install{z-index:900;left:50%;bottom:calc(16px + env(safe-area-inset-bottom));box-sizing:border-box;border-radius:var(--install-radius,14px);background:var(--install-bg,#fff);width:calc(100% - 32px);max-width:400px;color:var(--install-text,#1a2027);border:1px solid var(--install-border,#e4e8ed);box-shadow:var(--install-shadow,0 10px 30px #1018282e);font-family:var(--install-font,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);padding:16px 44px 16px 18px;animation:.22s ease-out hh-install-in;position:fixed;transform:translate(-50%)}.hh-install *,.hh-install :before,.hh-install :after{box-sizing:border-box}@keyframes hh-install-in{0%{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%)}}@media (prefers-reduced-motion:reduce){.hh-install{animation:none}}.hh-install__title{margin:0 0 4px;font-size:15px;font-weight:600;line-height:1.3}.hh-install__body{color:var(--install-muted,#5b6673);margin:0;font-size:13.5px;line-height:1.45}.hh-install__note{color:var(--install-muted,#5b6673);opacity:.85;margin:8px 0 0;font-size:12.5px;line-height:1.4}.hh-install__icon{vertical-align:-.18em;width:1.05em;height:1.05em;margin:0 1px;display:inline-block}.hh-install__cta{border-radius:var(--install-cta-radius,10px);background:var(--install-cta-bg,#1a2027);width:100%;color:var(--install-cta-text,#fff);font:inherit;cursor:pointer;border:0;margin-top:12px;padding:10px 14px;font-size:14px;font-weight:600}.hh-install__cta:active{transform:scale(.985)}.hh-install__close{width:30px;height:30px;color:var(--install-muted,#5b6673);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;font-size:20px;line-height:1;display:grid;position:absolute;top:8px;right:8px}.hh-install__close:hover{background:var(--install-close-hover,#0000000f)}@media (prefers-color-scheme:dark){.hh-install{background:var(--install-bg,#1b1f24);color:var(--install-text,#eef1f4);border-color:var(--install-border,#2f353d);box-shadow:var(--install-shadow,0 10px 30px #00000073)}.hh-install__body,.hh-install__note,.hh-install__close{color:var(--install-muted,#9aa5b1)}.hh-install__cta{background:var(--install-cta-bg,#eef1f4);color:var(--install-cta-text,#14181d)}.hh-install__close:hover{background:var(--install-close-hover,#ffffff14)}}.hh-notif{border-radius:var(--notif-radius,12px);background:var(--notif-bg,#fff);color:var(--notif-text,#1a2027);border:1px solid var(--notif-border,#e4e8ed);font-family:var(--notif-font,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);padding:14px 16px}.hh-notif *,.hh-notif :before,.hh-notif :after{box-sizing:border-box}.hh-notif__row{justify-content:space-between;align-items:center;gap:12px;display:flex}.hh-notif__title{margin:0 0 2px;font-size:14.5px;font-weight:600}.hh-notif__body{color:var(--notif-muted,#5b6673);margin:0;font-size:13px;line-height:1.45}.hh-notif__cta{border-radius:var(--notif-cta-radius,9px);background:var(--notif-cta-bg,#1a2027);color:var(--notif-cta-text,#fff);font:inherit;cursor:pointer;border:0;flex:none;padding:8px 14px;font-size:13.5px;font-weight:600}.hh-notif__cta:disabled{opacity:.6;cursor:default}.hh-notif__link{font:inherit;color:var(--notif-link,#3b6ea5);cursor:pointer;background:0 0;border:0;margin-top:10px;padding:0;font-size:13px;text-decoration:underline}.hh-notif__note{color:var(--notif-muted,#5b6673);margin:6px 0 0;font-size:12.5px}@media (prefers-color-scheme:dark){.hh-notif{background:var(--notif-bg,#1b1f24);color:var(--notif-text,#eef1f4);border-color:var(--notif-border,#2f353d)}.hh-notif__body,.hh-notif__note{color:var(--notif-muted,#9aa5b1)}.hh-notif__cta{background:var(--notif-cta-bg,#eef1f4);color:var(--notif-cta-text,#14181d)}.hh-notif__link{color:var(--notif-link,#8ab4f8)}}@font-face{font-family:IBM Plex Sans;font-weight:400;font-display:swap;src:url(/assets/ibm-plex-sans-latin-400-normal-CDDApCn2.woff2)format("woff2")}@font-face{font-family:IBM Plex Sans;font-weight:500;font-display:swap;src:url(/assets/ibm-plex-sans-latin-500-normal-6ng42L7E.woff2)format("woff2")}@font-face{font-family:IBM Plex Sans;font-weight:600;font-display:swap;src:url(/assets/ibm-plex-sans-latin-600-normal-CuJfVYMP.woff2)format("woff2")}@font-face{font-family:IBM Plex Mono;font-weight:400;font-display:swap;src:url(/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2)format("woff2")}@font-face{font-family:IBM Plex Mono;font-weight:500;font-display:swap;src:url(/assets/ibm-plex-mono-latin-500-normal-DSY6xOcd.woff2)format("woff2")}:root,[data-look=default]{--bg:#0d1014;--surface:#161a20;--surface-raised:#1d222a;--plan-floor:#12161b;--plan-grid:#181d24;--border:#2a313b;--divider:#222831;--border-strong:#3a424d;--text:#e8ebef;--text-secondary:#c9d0d9;--text-muted:#a3acb8;--on-selected:#0d1014;--wall:#6b7684;--door-closed:#d4dae2;--attention:#f0b24a;--on-attention:#1a1203;--attention-soft:#f0b24a1f;--attention-line:#f0b24a73;--ok:#6fcf97;--selection-fill:#e8ebef0d;--selection-ring:#e8ebef8c;--minimap-line:#5b6573;--danger:#e08277;--danger-soft:#3a1f1d;--glow:#fff0d4;--power:#f2e25c;--power-line:#f2e25c66;--ok-line:#6fcf9766;--hot:#f08a6c;--hot-soft:#f08a6c1f;--hot-line:#f08a6c66;--cold:#6cb4f0;--cold-soft:#6cb4f01f;--cold-line:#6cb4f066;--chart-line:#cfd6de;--chart-band:#cfd6de24;--chart-rule:#262e38;--glow-core:.32;--glow-mid:.12;--scrim:#00000080;--font:"IBM Plex Sans", system-ui, sans-serif;--mono:"IBM Plex Mono", ui-monospace, monospace;--radius-control:12px;--radius-segment:10px;--radius-banner:14px;--radius-card:16px;--radius-sheet:20px;--radius-tile:9px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root,[data-look]{--selected:var(--text);--opening:var(--text-muted)}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;margin:0;font-size:15px}.num,.secret{font-family:var(--mono);font-variant-numeric:tabular-nums}.app{max-width:560px;padding:max(20px, env(safe-area-inset-top)) 16px calc(20px + env(safe-area-inset-bottom));flex-direction:column;gap:14px;margin:0 auto;display:flex}.ui-icon{fill:none;stroke:currentColor;stroke-width:1.75px;stroke-linecap:round;stroke-linejoin:round;flex:none}.ui-icon .dim,.icon .dim{stroke-opacity:.4}.muted{color:var(--text-muted)}.bar{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.bar h1{letter-spacing:-.01em;margin:0;font-size:28px;font-weight:600;line-height:34px}.hub{color:var(--text-muted);align-items:center;gap:6px;margin:2px 0 0;font-size:13px;display:flex}.hub .dot{background:var(--text-muted);border-radius:50%;width:8px;height:8px}.hub.up .dot{background:var(--ok)}.hub.down .dot{background:var(--attention)}.outdoor{color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;margin:4px 0 0;padding:0;font-size:13px;display:inline-flex}.outdoor .num{color:var(--text)}.bar-actions{align-items:center;gap:8px;display:flex}button.away-toggle{background:var(--surface);border:1px solid var(--border);height:44px;color:var(--text);border-radius:22px;padding:0 16px;font-weight:500}button.away-toggle[aria-pressed=true]{background:var(--selected);border-color:var(--selected);color:var(--on-selected);font-weight:600}.away-strip{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);color:var(--text-muted);margin:0;padding:10px 12px;font-size:13px;line-height:1.45}button.icon-button{border-radius:var(--radius-control);background:var(--surface);border:1px solid var(--border);width:44px;height:44px;color:var(--text);place-items:center;padding:0;display:inline-grid}button.icon-button.bare{color:var(--text-muted);background:0 0;border:none}.attention-banner{border-radius:var(--radius-banner);background:var(--attention-soft);border:1px solid var(--attention-line);align-items:stretch;display:flex;overflow:hidden}button.attention-main{text-align:left;background:0 0;border:none;border-radius:0;flex:1;align-items:center;gap:12px;min-width:0;min-height:56px;padding:10px 14px;display:flex}.attention-icon{color:var(--attention)}.attention-main .title{font-size:15px;font-weight:600}button.attention-more{border:none;border-left:1px solid var(--attention-line);min-width:44px;color:var(--text);background:0 0;border-radius:0;flex:none;padding:0 14px;font-size:13px}.row-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.row-text .meta,.attention-main .meta{color:var(--text-muted);font-size:13px}.now-strip{flex-wrap:wrap;gap:6px;display:flex}.now-item{border:1px solid var(--border);border-radius:var(--radius-control);background:var(--surface);min-height:34px;color:var(--text-secondary);font-size:13px;font-family:var(--font);align-items:center;gap:6px;padding:0 10px;display:inline-flex}button.now-item{cursor:pointer}.now-item .ui-icon{color:var(--text-muted)}button.upkeep-line{text-align:left;border:1px dashed var(--border);border-radius:var(--radius-control);background:0 0;align-items:center;gap:8px;width:100%;min-height:38px;padding:0 12px;display:flex}.controls{align-items:center;gap:8px;display:flex}.controls>.segmented{min-width:0}.controls>.segmented.icons{flex:none;margin-left:auto}.controls>.segmented:not(.icons) button{padding:0 11px}.segmented{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-control);gap:2px;max-width:100%;padding:2px;display:inline-flex;overflow-x:auto}.segmented button{border-radius:var(--radius-segment);height:40px;color:var(--text-muted);white-space:nowrap;background:0 0;border:none;padding:0 14px;font-size:14px;font-weight:500}.segmented button[aria-pressed=true]{background:var(--selected);color:var(--on-selected);font-weight:600}.segmented.icons button{place-items:center;width:40px;padding:0;display:grid}.segmented.icons button[aria-pressed=true]{background:var(--border);color:var(--text)}.note,.banner{border-radius:var(--radius-banner);background:var(--surface);border:1px solid var(--border);color:var(--text);margin:0;padding:12px 14px;font-size:14px;line-height:1.45}.note{border-left:3px solid var(--attention-line)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);flex-direction:column;gap:10px;padding:16px;display:flex}.card h2{margin:0;font-size:17px;font-weight:600}.card p{color:var(--text-muted);margin:0;font-size:14px;line-height:1.5}.secret{word-break:break-all;background:var(--surface-raised);border:1px solid var(--border);-webkit-user-select:all;user-select:all;border-radius:8px;padding:10px 12px;font-size:13px;display:block}button{font:inherit;cursor:pointer;border-radius:var(--radius-control);border:1px solid var(--border-strong);min-height:44px;color:var(--text);background:0 0;padding:10px 14px}button.primary{background:var(--selected);border-color:var(--selected);color:var(--on-selected);font-weight:600}button.link{color:var(--text-muted);background:0 0;border:none;min-height:0;padding:0;font-size:13px}button.outline-danger{border-color:var(--danger);color:var(--danger)}button:disabled{opacity:.55;cursor:default}button:focus-visible,.plan .room:focus-visible{outline:2px solid var(--text);outline-offset:2px}.tile{border-radius:var(--radius-tile);background:var(--surface-raised);width:32px;height:32px;color:var(--text-secondary);flex:none;place-items:center;display:grid}.devices{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.device{align-items:stretch;gap:8px;display:flex}.device .toggle{text-align:left;border-radius:var(--radius-card);background:var(--surface);border:1px solid var(--border);flex:1;align-items:center;gap:12px;min-width:0;padding:12px 14px;display:flex}.device.on .toggle{border-color:var(--border-strong)}.device.on .tile{background:var(--selected);color:var(--on-selected)}.text{flex-direction:column;gap:2px;min-width:0;display:flex}.name{font-size:16px;font-weight:600}.state{color:var(--text-muted);font-size:13px}.device.stale .toggle{border-style:dashed}.sensors{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.sensor{border-radius:var(--radius-card);background:var(--surface);border:1px solid var(--border);flex-direction:column;gap:4px;min-width:0;padding:12px 14px;display:flex}.sensor .readings{font-family:var(--mono);font-variant-numeric:tabular-nums;font-size:20px;font-weight:500}.sensor .meta{color:var(--text-muted);font-size:13px}.sensor.stale{border-style:dashed}.sensor.alarm{border-color:var(--danger);border-width:2px}.sensor.alarm .readings{color:var(--danger)}.remotes{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.remote{border-radius:var(--radius-card);background:var(--surface);border:1px solid var(--border);flex-direction:column;gap:12px;padding:12px 14px 14px;display:flex}.remote-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.remote-head .name{margin-right:auto}.remote .meta{color:var(--text-muted);font-size:13px}.remote.stale{border-style:dashed}.buttons{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;display:grid}.buttons button{background:var(--surface-raised);border-color:var(--border);min-height:44px;padding:10px 8px;font-size:14px}.empty{color:var(--text-muted);text-align:center;padding:32px 0;font-size:15px}.foot{justify-content:center;padding-top:4px;display:flex}button.info{min-width:44px;min-height:44px;color:var(--text-muted);background:var(--surface);border-color:var(--border);border-radius:var(--radius-card);flex:none;place-items:center;padding:0;display:grid}.sensor-head{justify-content:space-between;align-items:center;gap:6px;display:flex}.sensor-head button.info,.remote-head button.info{background:0 0;border:none;margin:-8px -10px -8px 0}.hint.center{text-align:center}.hint{color:var(--text-muted);font-size:13px}.room-group{flex-direction:column;gap:8px;display:flex}.group-title{text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin:6px 0 0;font-size:13px;font-weight:600}.group-title .kind{font-weight:400}.climate-view{flex-direction:column;gap:4px;display:flex}.climate-view .group-title{margin-top:10px}.reading-summary{color:var(--text-muted);margin:0;font-size:13px;line-height:1.4}.reading-rows{margin-top:2px}.reading-value{color:var(--text);white-space:nowrap;font-size:20px;font-weight:500}.sparkline{flex:none;overflow:visible}.sparkline polyline{fill:none;stroke:var(--chart-line);stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;opacity:.75}.sparkline ellipse{fill:var(--chart-line);opacity:.75}.trend{color:var(--text-muted);margin-left:2px;font-size:14px;font-weight:400}.reading-value.hot{color:var(--hot)}.reading-value.cold{color:var(--cold)}.row.stale .reading-value{color:var(--text-muted)}.room-cards{flex-direction:column;gap:8px;display:flex}.cards{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}button.room-card{text-align:left;border-radius:var(--radius-card);background:var(--surface);border:1px solid var(--border);align-items:center;gap:12px;width:100%;min-height:72px;padding:12px 14px;display:flex}button.room-card.attention{border-color:var(--attention-line)}.card-title{font-size:16px;font-weight:600}.summary{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.summary .temp{color:var(--text)}.summary.attention{color:var(--attention);font-weight:600}.minimap{flex:none;overflow:visible}.minimap .outline{fill:none;stroke:var(--minimap-line);stroke-width:1px;vector-effect:non-scaling-stroke}.minimap .here{fill:var(--text-secondary)}.minimap .here.attention{fill:var(--attention)}.sheet-backdrop{z-index:10;background:var(--scrim);justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sheet) var(--radius-sheet) 0 0;width:100%;max-width:520px;max-height:85vh;padding:8px 16px calc(16px + env(safe-area-inset-bottom,0px));border-bottom:none;flex-direction:column;gap:12px;display:flex;overflow-y:auto}.sheet>*{flex:none}.grabber{background:var(--border-strong);border-radius:2px;align-self:center;width:36px;height:4px}@media (width>=560px){.sheet-backdrop{align-items:center}.sheet{border-radius:var(--radius-sheet);border-bottom:1px solid var(--border)}.grabber{display:none}}.sheet-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.sheet-head button.icon-button{margin:-4px -10px 0 0}.sheet h2{margin:0;font-size:17px;font-weight:600}.sheet h3{text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin:4px 0 0;font-size:13px;font-weight:600}.sheet .kind{color:var(--text-muted);margin:2px 0 0;font-size:13px}.sheet .hint{margin:0;line-height:1.45}.rows{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.row{border-top:1px solid var(--divider);flex-direction:column;gap:8px;display:flex}.row .buttons{padding-bottom:10px}.row-main{align-items:center;gap:8px;min-height:48px;display:flex}.row-main.tappable{cursor:pointer;-webkit-tap-highlight-color:transparent}button.row-label{text-align:left;background:0 0;border:none;border-radius:0;flex:1;align-items:center;gap:12px;min-width:0;min-height:48px;padding:4px 0;display:flex}.row-label .label{font-size:15px}.row.stale .tile{outline:1px dashed var(--text-muted);outline-offset:-1px}.row .value{color:var(--text-muted);white-space:nowrap;font-size:15px}.row .value.attention{color:var(--attention);font-weight:600}.row .chevron{color:var(--text-muted);display:grid}.row .chevron.caret .ui-icon{transition:transform .12s;transform:rotate(90deg)}.row .chevron.caret.open .ui-icon{transform:rotate(270deg)}.row-chart{padding-bottom:12px}.row-chart .chart{margin-top:4px}button.icon-button.back .ui-icon{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.row .chevron.caret .ui-icon{transition:none}}button.switch{background:0 0;border:none;flex:none;place-items:center;width:48px;height:44px;min-height:44px;padding:0;display:grid}.switch .track{background:var(--border);border-radius:13px;width:44px;height:26px;position:relative}.switch .knob{background:var(--text-muted);border-radius:50%;width:20px;height:20px;position:absolute;top:3px;left:3px}.switch[aria-checked=true] .track{background:var(--selected)}.switch[aria-checked=true] .knob{background:var(--bg);left:21px}.configure{border-top:1px solid var(--divider);margin-top:4px;padding-top:8px}.configure>summary{text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);cursor:pointer;align-items:center;min-height:32px;font-size:13px;font-weight:600;display:flex}.configure[open]>summary{margin-bottom:4px}.configure .settings-group:first-of-type{border-top:none}.settings-group{flex-direction:column;align-items:flex-start;gap:8px;padding-top:4px;display:flex}.confirm-actions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.settings-group+.settings-group{border-top:1px solid var(--divider);padding-top:12px}.climate-profile{box-sizing:border-box;border:1px solid var(--border);border-radius:var(--radius-card);width:100%;margin:0;padding:10px 12px 12px}.climate-profile legend{padding:0 4px;font-size:14px;font-weight:600}.climate-pair{grid-template-columns:1fr 1fr;gap:10px;display:grid}.climate-pair input,.climate-frost input{box-sizing:border-box;width:100%}.climate-frost{width:100%}.looks{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;width:100%;display:grid}button.look-option{text-align:left;border-color:var(--border);flex-direction:column;gap:6px;min-height:0;padding:5px 5px 7px;display:flex}button.look-option[aria-pressed=true]{border-color:var(--selected);box-shadow:inset 0 0 0 1px var(--selected)}.look-name{padding-left:3px;font-size:13px;font-weight:600}.look-preview{border-radius:min(var(--radius-control), 7px);background:var(--bg);height:62px;color:var(--text);font-family:var(--font);display:block;position:relative;overflow:hidden}.lp-room{background:var(--plan-floor);border:2px solid var(--wall);position:absolute;inset:8px 30px 8px 8px;overflow:hidden}.lp-glow{background:radial-gradient(closest-side, var(--glow), transparent);width:48px;height:48px;opacity:calc(var(--glow-core) * 1.8);position:absolute;top:-14px;left:-14px}.lp-temp{font-size:12px;font-weight:500;position:absolute;bottom:2px;right:4px}.lp-door{background:var(--attention);width:14px;height:2px;position:absolute;top:-2px;left:45%}.lp-switch{border-radius:min(var(--radius-control), 6px);background:var(--selected);width:12px;height:22px;margin-top:-11px;position:absolute;top:50%;right:9px}.lp-switch:after{content:"";border-radius:inherit;background:var(--on-selected);width:6px;height:6px;position:absolute;top:3px;left:3px}.segmented.wrap{flex-wrap:wrap;margin-bottom:6px;overflow-x:visible}.segmented.wrap button{padding:0 11px}.chart{grid-template-columns:38px 1fr;column-gap:6px;margin-top:10px;display:grid}.chart.loading{opacity:.55}.chart-y{height:128px;position:relative}.chart-y span{color:var(--text-muted);white-space:nowrap;font-size:11px;position:absolute;right:0;transform:translateY(-50%)}.chart-plot{touch-action:pan-y;height:128px;position:relative}.chart-plot:focus-visible{outline:2px solid var(--selection-ring);outline-offset:2px;border-radius:6px}.chart-plot svg{width:100%;height:100%;display:block;overflow:visible}.chart-rule{stroke:var(--chart-rule);stroke-width:1px}.chart-band,.chart-area{fill:var(--chart-band);stroke:none}.chart-selection{fill:var(--chart-line);opacity:.12}.chart-read.hint{margin-top:2px;font-size:13px}.chart-line{fill:none;stroke:var(--chart-line);stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.chart-cross{stroke:var(--text-muted);stroke-width:1px}.chart-stem{stroke:var(--chart-line);stroke-width:2px;stroke-linecap:round;opacity:.35}.chart-point{background:var(--chart-line);pointer-events:none;border-radius:50%;width:5px;height:5px;margin:-2.5px 0 0 -2.5px;position:absolute}.chart-dot{background:var(--chart-line);width:9px;height:9px;box-shadow:0 0 0 2px var(--surface);pointer-events:none;border-radius:50%;margin:-4.5px 0 0 -4.5px;position:absolute}.chart-x{color:var(--text-muted);grid-column:2;justify-content:space-between;margin-top:6px;font-size:11px;display:flex}.chart-read{grid-column:2;margin:8px 0 0;font-size:14px}.chart-read strong{margin-right:.35em;font-weight:600}.chart-table{grid-column:1/-1;margin-top:10px;font-size:13px}.chart-table summary{color:var(--text-muted);cursor:pointer}.chart-table table{border-collapse:collapse;width:100%;margin-top:8px}.chart-table th,.chart-table td{text-align:right;border-top:1px solid var(--divider);padding:4px 0}.chart-table th:first-child,.chart-table td:first-child{text-align:left}.chart-table th{color:var(--text-muted);font-weight:500}.facts{grid-template-columns:max-content 1fr;gap:6px 14px;margin:0;font-size:14px;display:grid}.facts dt{color:var(--text-muted)}.facts dd{margin:0}.facts dd.warn,.hint.warn{color:var(--danger)}.history{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.cmd{border-top:1px solid var(--divider);grid-template-columns:1fr auto;gap:2px 10px;padding:8px 0;font-size:14px;display:grid}.cmd .what{font-weight:600}.cmd .outcome{text-align:right;color:var(--text-muted)}.cmd .when{color:var(--text-muted);font-size:12px;font-family:var(--mono);grid-column:1/-1}.cmd.failed .outcome,.cmd.offline .outcome{color:var(--danger)}.cmd.unknown .outcome{font-style:italic}.cmd.alert .what{color:var(--danger)}.alert-log{margin-top:12px}.alert-log .cmd{grid-template-columns:32px 1fr auto}.alert-log .alert-icon{border-radius:8px;grid-row:1/span 3;width:32px;height:32px}.alert-log .body{color:var(--text-muted);grid-column:2/-1}.alert-log .when{grid-column:2/-1}.alert-log .day-head{border-top:1px solid var(--divider);text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);padding:14px 0 4px;font-size:13px;font-weight:600;display:block}.alert-log .day-head:first-child{border-top:none;padding-top:4px}.alert-log .day-head+.cmd{border-top:none}.load-more{width:100%;margin-top:12px}.plan{flex-direction:column;gap:10px;display:flex}.plan-frame{width:100%;margin:0 auto;position:relative}.plan-frame .plan-svg{width:100%;height:100%;display:block;position:absolute;inset:0}.room-floor{pointer-events:none}.room-floor .fill{fill:var(--plan-floor)}.grid{fill:none;stroke:var(--plan-grid)}.selection{fill:var(--selection-fill)}.plan .room{cursor:pointer}.plan .room:focus{outline:none}.plan .room .hit{fill:#0000}.plan-wall{fill:none;stroke:var(--wall);stroke-linecap:square}.plan .room.stale .plan-wall{stroke-dasharray:.3 .25}.selection-ring{fill:none;stroke:var(--selection-ring);pointer-events:none}.plan .room:focus-visible .plan-wall{stroke:var(--text)}.plan-frame .door{fill:none;pointer-events:none}.door.closed{stroke:var(--door-closed);stroke-linecap:butt}.door-gap{stroke-linecap:butt}.door-gap.outer{stroke:var(--bg)}.door-gap.inner{stroke:var(--plan-floor)}:is(.feature.window,.window-sensor) .door-gap.outer{stroke:var(--glass,var(--bg))}:is(.feature.window,.window-sensor) .door-gap.inner{stroke:var(--glass,var(--plan-floor))}.door-leaf{stroke:var(--attention);stroke-linecap:round}.door-arc{stroke:var(--attention)}.window-sensor{fill:none;pointer-events:none}.window-sensor .pane{stroke:var(--door-closed);stroke-linecap:butt}.window-sensor.open .pane{stroke:var(--attention)}.plan-wall.open{stroke:var(--wall);stroke-linecap:butt}.feature{fill:none;pointer-events:none}.feature .pane{stroke:var(--opening);stroke-linecap:butt}.feature .plain-leaf{stroke:var(--opening);stroke-linecap:round}.feature .plain-arc{stroke:var(--wall)}.glow-core{stop-color:var(--glow);stop-opacity:var(--glow-core)}.glow-mid{stop-color:var(--glow);stop-opacity:var(--glow-mid)}.glow-edge{stop-color:var(--glow);stop-opacity:0}.glow{opacity:0}.glow.on{opacity:1}:root,[data-look]{--fairy-0:#ff5a5f;--fairy-1:#ffd54a;--fairy-2:#4fdc7c;--fairy-3:#5aa9ff;--festive-wash:#d630401a;--festive-glow:#ffcf6b;--festive-glow-edge:#e0303f}.festive-fill{fill:var(--festive-wash)}.tree-core{stop-color:var(--festive-glow);stop-opacity:.38}.tree-mid{stop-color:var(--festive-glow-edge);stop-opacity:.16}.tree-edge{stop-color:var(--festive-glow-edge);stop-opacity:0}.fairy-lights,.ornaments{pointer-events:none}.fairy-wire{fill:none;stroke:var(--text-muted);stroke-opacity:.55}.fairy-bulb .halo{opacity:.28}.fairy-bulb.c0{fill:var(--fairy-0)}.fairy-bulb.c1{fill:var(--fairy-1)}.fairy-bulb.c2{fill:var(--fairy-2)}.fairy-bulb.c3{fill:var(--fairy-3)}.chip.festive{color:var(--text);border-color:color-mix(in srgb, var(--fairy-0) 60%, transparent)}.chip.festive .ui-icon{color:var(--fairy-2)}@media (prefers-reduced-motion:no-preference){.fairy-bulb{animation:2.6s ease-in-out infinite alternate twinkle}}@keyframes twinkle{0%,40%{opacity:1}to{opacity:.35}}.timer-times{grid-template-columns:1fr 1fr;gap:10px;width:100%;display:grid}.timer-times label{color:var(--text-muted);flex-direction:column;gap:4px;font-size:13px;display:flex}.timer-times input{font:inherit;border:1px solid var(--border);background:var(--surface-raised);color:var(--text);border-radius:8px;min-width:0;padding:8px 10px;font-size:16px}.plan-labels{pointer-events:none;position:absolute;inset:0}.room-label{flex-direction:column;justify-content:space-between;gap:6px;padding:12px;display:flex;position:absolute;overflow:hidden}.label-name{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600;overflow:hidden}.room-label.selected .label-name{color:var(--text)}.room-temp{width:fit-content;color:var(--text-muted);border:1px solid #0000;border-radius:999px;align-items:center;gap:4px;margin:4px 0 0 -7px;padding:0 9px 0 6px;display:flex}.room-temp.hot{background:var(--hot-soft);border-color:var(--hot-line);color:var(--hot)}.room-temp.cold{background:var(--cold-soft);border-color:var(--cold-line);color:var(--cold)}.room-temp .num{color:var(--text);font-size:22px;font-weight:500}.value-fill{fill:var(--text);pointer-events:none}.room-reading{border-radius:var(--radius-tile);color:var(--text);border:1px solid #0000;align-items:baseline;gap:4px;margin-top:2px;padding:2px 7px;display:inline-flex}.room-reading .num{font-size:22px;font-weight:500}.room-reading.hot{background:var(--hot-soft);border-color:var(--hot-line);color:var(--hot)}.room-reading.cold{background:var(--cold-soft);border-color:var(--cold-line);color:var(--cold)}.room-reading.none{color:var(--text-muted);padding-left:0;font-size:12px}.layer-legend{color:var(--text-secondary);align-items:center;gap:8px;margin:0;font-size:12px;display:flex}.layer-legend .ramp{background:linear-gradient(90deg,#e8ebef0d,#e8ebef38);border-radius:3px;flex:1;max-width:160px;height:6px}.room-label.compact{gap:2px;padding:6px}.room-label.compact .label-name{font-size:11px}.room-label.compact .room-temp{gap:2px;margin:2px 0 0 -4px;padding:0 6px 0 3px}.room-label.compact .room-temp .num,.room-label.compact .room-reading .num{font-size:16px}.room-label.compact .room-reading{padding:0 4px}.room-label.tiny{gap:0;padding:3px}.room-label.tiny .label-name{display:none}.room-label.tiny .room-temp{gap:1px;margin:0;padding:0 4px 0 2px}.room-label.tiny .room-temp .num,.room-label.tiny .room-reading .num{font-size:13px}.room-label.tiny .room-reading{margin:0;padding:0 3px}.chips{flex-wrap:wrap;gap:6px;display:flex}.chip{background:var(--surface-raised);border:1px solid var(--border);height:28px;color:var(--text-secondary);white-space:nowrap;border-radius:999px;align-items:center;gap:5px;padding:0 10px;font-size:12px;display:inline-flex}.chips>.chip{min-width:0;max-width:100%}.chip-text,.chip>:not(.ui-icon){text-overflow:ellipsis;min-width:0;overflow:hidden}.chip.stale{border-style:dashed}.chip.icon-only{justify-content:center;width:28px;padding:0}.chip.light .ui-icon{color:var(--glow)}.chip.light{color:var(--text)}.chip.power .ui-icon{color:var(--power)}.chip.power{color:var(--text);border-color:var(--power-line)}.chip.present .ui-icon{color:var(--ok)}.chip.present{color:var(--text);border-color:var(--ok-line)}.chip.hot .ui-icon{color:var(--hot)}.chip.hot{background:var(--hot-soft);border-color:var(--hot-line)}.chip.cold .ui-icon{color:var(--cold)}.chip.cold{background:var(--cold-soft);border-color:var(--cold-line)}.chip.quiet{color:var(--text-muted);background:0 0}.chip.quiet .ui-icon{opacity:.7}.chip.alarm{border-color:var(--danger);color:var(--danger);font-weight:600}.chip.attention{background:var(--attention);border-color:var(--attention);height:26px;color:var(--on-attention);font-weight:600;position:absolute}@media (prefers-reduced-motion:no-preference){.glow{transition:opacity .5s}.chip.busy{animation:1.1s ease-in-out infinite chip-busy}.switch .knob,.switch .track{transition:left .15s,background-color .15s}.device .toggle{transition:border-color .15s}}@keyframes chip-busy{50%{opacity:.5}}.room .fill{fill:var(--surface)}.room .wall{fill:none;stroke:var(--text-muted);stroke-width:.12px;stroke-linecap:square}.room-name{fill:var(--text-muted);pointer-events:none;font-size:.7px;font-weight:600}.pin{pointer-events:none}.pin .disc{fill:var(--surface);stroke:var(--border);stroke-width:.06px}.pin .icon{fill:none;stroke:var(--text-muted);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.editor{flex-direction:column;gap:12px;display:flex}.editor h3{margin:4px 0 0;font-size:14px}.editor-floors{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.plan-svg.editing{touch-action:none;border-radius:8px;width:100%;height:auto;max-height:70vh;display:block}.plan-svg.editing:focus{outline:none}.plan-svg.editing:focus-visible{outline:2px solid var(--text);outline-offset:2px}.floor-bg{fill:var(--plan-floor)}.grid-line{fill:none;stroke:var(--border);stroke-width:.04px}.editing .room .fill{fill:var(--surface-raised);fill-opacity:.85;cursor:move}.editing .room.selected .fill{fill:var(--border)}.editing .room.selected .wall{stroke:var(--text);stroke-width:.16px}.handle{fill:var(--text);stroke:var(--surface);stroke-width:.08px}.handle.move{cursor:move}.handle.resize{cursor:nwse-resize}.editing .room .wall.open{stroke-dasharray:.25 .2;stroke-width:.08px;stroke-linecap:butt}.feature-edit{cursor:grab}.feature-edit .mark{stroke:var(--surface);stroke-width:.2px}.feature-edit.window .mark{stroke:var(--text-muted);stroke-width:.12px;stroke-dasharray:.1 .06}.feature-edit .leaf{stroke:var(--text-muted);stroke-width:.08px}.feature-edit .grip{fill:var(--surface-raised);stroke:var(--text-muted);stroke-width:.06px}.feature-edit.picked .grip{fill:var(--text);stroke:var(--text)}.wall-kinds{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.wall-kinds li{justify-content:space-between;align-items:center;gap:8px;font-size:14px;display:flex}.pin.edit{pointer-events:all;cursor:grab}.pin.edit .disc{fill:var(--surface)}.pin.edit.picked circle{stroke:var(--text);stroke-width:.16px}.editor-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);padding:12px}.field-row{flex-direction:column;gap:10px;display:flex}.field-row label{color:var(--text-muted);flex-direction:column;gap:4px;font-size:13px;display:flex}.field-row input,.tray select,.watch-select{font:inherit;border:1px solid var(--border);background:var(--surface-raised);color:var(--text);border-radius:8px;padding:8px 10px;font-size:16px}.row-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.row-actions.size label{flex:1;min-width:100px}button.danger-text{color:var(--danger)}.tray{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.tray li{flex-direction:column;gap:6px;display:flex}.tray-pick{text-align:left;align-items:baseline;gap:8px;width:100%;display:flex}.tray-pick .where{color:var(--text-muted);margin-left:auto;font-size:12px}.tray li.picked .tray-pick{border-color:var(--text);background:var(--selection-fill)}.note.conflict{flex-direction:column;gap:8px;display:flex}.note.conflict p{margin:0}.editor-actions{padding:10px 0 calc(10px + env(safe-area-inset-bottom,0px));background:var(--bg);justify-content:flex-end;gap:8px;display:flex;position:sticky;bottom:0}.repair{border-color:var(--danger)}.repair h3{margin:6px 0 0;font-size:14px}.repair form{flex-direction:column;gap:8px;margin-top:4px;display:flex}.repair label{color:var(--text-muted);font-size:14px}.repair input{font:inherit;border:1px solid var(--border);background:var(--surface-raised);color:var(--text);border-radius:8px;padding:10px 12px;font-size:16px}.repair .actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}button.danger{background:var(--danger);border-color:var(--danger);color:var(--on-selected);font-weight:600}.steps{color:var(--text-muted);margin:0;padding-left:20px;font-size:14px;line-height:1.5}.steps li+li{margin-top:4px}.steps code,.card p code{font-family:var(--mono);overflow-wrap:anywhere;font-size:12.5px}.demo{border:1px dashed var(--border);border-radius:var(--radius-card);background:var(--surface-raised);flex-direction:column;gap:10px;margin-top:8px;padding:14px;display:flex}.demo-title{color:var(--text-muted);margin:0;font-size:12px;line-height:1.45}.demo-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.demo-label{color:var(--text-muted);min-width:92px;font-size:12px}.demo button{background:var(--surface);border-color:var(--border);border-radius:8px;min-height:0;padding:5px 10px;font-size:12px}.demo button.on{border-color:var(--selected);background:var(--selected);color:var(--on-selected);font-weight:600}.demo button.demo-reset{color:var(--text-muted)}.chart-nav{align-items:center;gap:.6rem;margin:.5rem 0;font-size:.9rem;display:flex}.chart-nav .num{text-align:center;flex:1}.chart-nav button:not(.link){min-width:2.5rem;min-height:2.5rem;font-size:1.2rem}.chart-nav button:disabled{opacity:.35}[data-look=paper]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#fbfaf7;--surface:#fff;--surface-raised:#f2f0eb;--plan-floor:#fff;--plan-grid:#f1eee8;--border:#dcd8cf;--divider:#e9e5dd;--border-strong:#a9a397;--text:#15130f;--text-secondary:#37322b;--text-muted:#5f584e;--selected:#15130f;--on-selected:#fbfaf7;--wall:#15130f;--door-closed:#9a9385;--opening:#15130f;--glass:#cddde8;--attention:#985a00;--on-attention:#fff;--attention-soft:#985a0012;--attention-line:#985a0073;--ok:#1a7340;--selection-fill:#15130f0a;--selection-ring:#15130fbf;--minimap-line:#a9a397;--danger:#b4232a;--danger-soft:#fbe6e5;--glow:#ffd84a;--glow-core:.6;--glow-mid:.28;--power:#15130f;--power-line:#15130f59;--ok-line:#1a734059;--hot:#c0391b;--hot-soft:#c0391b12;--hot-line:#c0391b66;--cold:#1d5fae;--cold-soft:#1d5fae12;--cold-line:#1d5fae66;--chart-line:#15130f;--chart-band:#15130f14;--chart-rule:#ece8e0;--scrim:#15130f47;--radius-control:6px;--radius-segment:4px;--radius-banner:6px;--radius-card:6px;--radius-sheet:12px;--radius-tile:4px}:root[data-look=paper] .bar h1{letter-spacing:-.025em;font-weight:500}:root[data-look=paper] .group-title,:root[data-look=paper] .sheet h3{color:var(--text);letter-spacing:.1em;font-size:12px}:root[data-look=paper] .chip.light{color:var(--text);background:#fff0a3;border-color:#e3c845}:root[data-look=paper] .chip.light .ui-icon{color:var(--text)}:root[data-look=paper] .sheet{box-shadow:0 -8px 30px #15130f1f}:root[data-look=paper] .layer-legend .ramp{background:linear-gradient(90deg,#15130f0d,#15130f38)}[data-look=hygge]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#211813;--surface:#2d221b;--surface-raised:#392b22;--plan-floor:#2f231b;--plan-grid:#372a21;--border:#4b3a2e;--divider:#3a2c23;--border-strong:#75604d;--text:#f6ead8;--text-secondary:#e6d6bf;--text-muted:#c0ab92;--selected:#b3cf9f;--on-selected:#1c2616;--wall:#8d6f57;--door-closed:#f6ead8;--opening:#e6d6bf;--glass:#3e4744;--attention:#f2ab3c;--on-attention:#241503;--attention-soft:#f2ab3c1f;--attention-line:#f2ab3c80;--ok:#86cdb9;--selection-fill:#f6ead80d;--selection-ring:#f6ead899;--minimap-line:#75604d;--danger:#f08c7c;--danger-soft:#45221c;--glow:#ffad55;--glow-core:.5;--glow-mid:.2;--power:#b3cf9f;--power-line:#b3cf9f66;--ok-line:#86cdb966;--hot:#f39a7d;--hot-soft:#f39a7d1f;--hot-line:#f39a7d66;--cold:#93c0ea;--cold-soft:#93c0ea1f;--cold-line:#93c0ea66;--chart-line:#f6ead8;--chart-band:#f6ead81a;--chart-rule:#3a2c23;--scrim:#0c060299;--serif:ui-serif, "Iowan Old Style", "New York", Georgia, "Noto Serif", serif;--shadow:0 1px 2px #0000004d, 0 8px 22px -8px #0000008c;--radius-control:14px;--radius-segment:11px;--radius-banner:18px;--radius-card:20px;--radius-sheet:28px;--radius-tile:12px}:root[data-look=hygge] body{background:radial-gradient(ellipse 120% 700px at 50% -80px, #ffa85029, transparent 70%) no-repeat, var(--bg)}:root[data-look=hygge] .bar h1{font-family:var(--serif);letter-spacing:0;font-size:32px}:root[data-look=hygge] .card h2,:root[data-look=hygge] .sheet h2,:root[data-look=hygge] .card-title{font-family:var(--serif);font-size:18px}:root[data-look=hygge] .label-name{font-family:var(--serif)}:root[data-look=hygge] .group-title,:root[data-look=hygge] .sheet h3,:root[data-look=hygge] .configure>summary{font-family:var(--serif);text-transform:none;letter-spacing:0;font-size:15px;font-style:italic;font-weight:500}:root[data-look=hygge] :is(.card,button.room-card,.device .toggle,.sensor,.remote,.segmented,.now-item,button.icon-button:not(.bare),button.away-toggle,button.info){box-shadow:var(--shadow)}:root[data-look=hygge] .sheet{box-shadow:0 -10px 40px #00000073}:root[data-look=hygge] .plan-wall{stroke-linejoin:round}:root[data-look=hygge] .chip.light{color:var(--text);background:#4a321c;border-color:#b8813f}:root[data-look=hygge] .chip.light .ui-icon{color:#ffc57a}:root[data-look=hygge] .layer-legend .ramp{background:linear-gradient(90deg,#f6ead80d,#f6ead83d)}[data-look=retro]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#040904;--surface:#071108;--surface-raised:#0b190d;--plan-floor:#061007;--plan-grid:#0c1e0f;--border:#1c4524;--divider:#123019;--border-strong:#2e7040;--text:#8cff9e;--text-secondary:#6be382;--text-muted:#48b863;--selected:#8cff9e;--on-selected:#031004;--wall:#3a9c50;--door-closed:#e2ffe6;--opening:#c4ffcd;--glass:#0f3318;--attention:#ffb000;--on-attention:#190f00;--attention-soft:#ffb0001a;--attention-line:#ffb00080;--ok:#7dffe0;--selection-fill:#8cff9e0f;--selection-ring:#8cff9eb3;--minimap-line:#2e7040;--danger:#ff6a55;--danger-soft:#2a0d08;--glow:#d8ffdc;--glow-core:.28;--glow-mid:.1;--power:#e6ff8a;--power-line:#e6ff8a59;--ok-line:#7dffe059;--hot:#ff8a66;--hot-soft:#ff8a661f;--hot-line:#ff8a6666;--cold:#66c8ff;--cold-soft:#66c8ff1f;--cold-line:#66c8ff66;--chart-line:#8cff9e;--chart-band:#8cff9e1f;--chart-rule:#10281a;--scrim:#000000a6;--font:"IBM Plex Mono", ui-monospace, monospace;--radius-control:0;--radius-segment:0;--radius-banner:0;--radius-card:0;--radius-sheet:0;--radius-tile:0}:root[data-look=retro] body{text-shadow:0 0 5px #8cff9e4d;font-size:14px}:root[data-look=retro] :is([aria-pressed=true],button.primary,.chip.attention,.device.on .tile){text-shadow:none}:root[data-look=retro] body:after{content:"";z-index:100;pointer-events:none;background:repeating-linear-gradient(#00000029 0 1px,#0000 1px 3px);position:fixed;inset:0}:root[data-look=retro] .plan-svg{filter:drop-shadow(0 0 3px #8cff9e59)}:root[data-look=retro] .bar h1{text-transform:uppercase;letter-spacing:.12em;font-size:24px;font-weight:500}:root[data-look=retro] .group-title:before,:root[data-look=retro] .sheet h3:before{content:"> "}:root[data-look=retro] .switch .track,:root[data-look=retro] .switch .knob,:root[data-look=retro] .hub .dot,:root[data-look=retro] .chip,:root[data-look=retro] button.away-toggle,:root[data-look=retro] .grabber{border-radius:0}:root[data-look=retro] .layer-legend .ramp{background:linear-gradient(90deg,#8cff9e0d,#8cff9e4d);border-radius:0}@media (prefers-reduced-motion:no-preference){:root[data-look=retro] .bar h1:after{content:"_";animation:1.1s step-end infinite retro-cursor}}@keyframes retro-cursor{50%{opacity:0}}[data-look=bold]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#160f2e;--surface:#221948;--surface-raised:#2d2259;--plan-floor:#1d1540;--plan-grid:#241b4b;--border:#382b6e;--divider:#2c225c;--border-strong:#5a47a8;--text:#fff;--text-secondary:#e6e0ff;--text-muted:#b9aeea;--selected:#ff4f9a;--on-selected:#1a0b1f;--wall:#a99bff;--door-closed:#e6e0ff;--attention:#ffb21f;--on-attention:#1f1300;--attention-soft:#ffb21f26;--attention-line:#ffb21f99;--ok:#3df5a6;--selection-fill:#ff4f9a1a;--selection-ring:#ff4f9a;--minimap-line:#6b5bc4;--danger:#ff6b6b;--danger-soft:#3d1426;--glow:#fff1b8;--glow-core:.42;--glow-mid:.16;--power:#ffe23d;--power-line:#ffe23d80;--ok-line:#3df5a680;--hot:#ff8f5e;--hot-soft:#ff8f5e26;--hot-line:#ff8f5e80;--cold:#4fc8ff;--cold-soft:#4fc8ff26;--cold-line:#4fc8ff80;--chart-line:#fff;--chart-band:#ffffff1f;--chart-rule:#2f2563;--scrim:#0a051999;--radius-control:16px;--radius-segment:13px;--radius-banner:20px;--radius-card:22px;--radius-sheet:28px;--radius-tile:12px}:root[data-look=bold] .bar h1{letter-spacing:-.03em;background:linear-gradient(90deg,#ff4f9a,#a99bff);color:#0000;-webkit-background-clip:text;background-clip:text;font-size:34px;line-height:40px}:root[data-look=bold] .name,:root[data-look=bold] .card-title{font-size:17px}:root[data-look=bold] .group-title{color:var(--wall)}:root[data-look=bold] .attention-banner{background:var(--attention);border-color:var(--attention)}:root[data-look=bold] .attention-banner :is(.attention-icon,.title,.meta,.muted,button.attention-more){color:var(--on-attention)}:root[data-look=bold] button.attention-more{border-left-color:#1f130040;font-weight:600}:root[data-look=bold] button.room-card.attention{border-width:2px}:root[data-look=bold] .chip.light{background:#4a3f1a;border-color:#8a7530}:root[data-look=bold] .chip.power{background:#46410f}:root[data-look=bold] .chip.present{background:#10402f}:root[data-look=bold] .minimap .here{fill:var(--selected)}:root[data-look=bold] .minimap .here.attention{fill:var(--attention)}:root[data-look=bold] .room-floor:nth-of-type(5n+1) .fill{fill:#2b1f63}:root[data-look=bold] .room-floor:nth-of-type(5n+2) .fill{fill:#123b4f}:root[data-look=bold] .room-floor:nth-of-type(5n+3) .fill{fill:#3f1a55}:root[data-look=bold] .room-floor:nth-of-type(5n+4) .fill{fill:#163d35}:root[data-look=bold] .room-floor:nth-of-type(5n+5) .fill{fill:#3a2450}:root[data-look=bold] .grid{stroke:#ffffff09}:root[data-look=bold] .layer-legend .ramp{background:linear-gradient(90deg,#ffffff0d,#ffffff40)}[data-look=futuristic]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#03070d;--surface:#07111c;--surface-raised:#0b1a2a;--plan-floor:#040c16;--plan-grid:#0a2033;--border:#12324d;--divider:#0e263b;--border-strong:#1d5a84;--text:#d6f6ff;--text-secondary:#a9e4f5;--text-muted:#73b6cc;--selected:#39e6ff;--on-selected:#021018;--wall:#39e6ff;--door-closed:#b3f6ff;--attention:#ffb347;--on-attention:#1c1100;--attention-soft:#ffb3471c;--attention-line:#ffb34780;--ok:#4dffb5;--selection-fill:#39e6ff12;--selection-ring:#39e6ffd9;--minimap-line:#1d5a84;--danger:#ff5c78;--danger-soft:#2d0b14;--glow:#fff0d4;--glow-core:.3;--glow-mid:.1;--power:#f2ff5c;--power-line:#f2ff5c66;--ok-line:#4dffb566;--hot:#ff7a59;--hot-soft:#ff7a591f;--hot-line:#ff7a5966;--cold:#6f9dff;--cold-soft:#6f9dff1f;--cold-line:#6f9dff66;--chart-line:#d6f6ff;--chart-band:#d6f6ff1a;--chart-rule:#0e263b;--scrim:#0008108c;--hud:#39e6ffcc;--radius-control:3px;--radius-segment:2px;--radius-banner:3px;--radius-card:3px;--radius-sheet:6px;--radius-tile:2px}:root[data-look=futuristic] body{background:radial-gradient(120% 60% at 50% 0%, #0b2236 0%, var(--bg) 60%) fixed, var(--bg)}:root[data-look=futuristic] .bar h1{font-family:var(--mono);text-transform:uppercase;letter-spacing:.32em;font-size:22px;font-weight:500}:root[data-look=futuristic] .bar h1:after{content:"";background:var(--selected);width:44px;height:2px;box-shadow:0 0 8px var(--selected);margin-top:6px;display:block}:root[data-look=futuristic] :is(.group-title,.sheet h3,.configure>summary,.label-name){font-family:var(--mono);text-transform:uppercase;letter-spacing:.14em;font-weight:500}:root[data-look=futuristic] .label-name{font-size:11px}:root[data-look=futuristic] :is(.card,button.room-card,.sensor,.remote,.device .toggle){background:linear-gradient(var(--hud), var(--hud)) left top / 12px 1px no-repeat border-box, linear-gradient(var(--hud), var(--hud)) left top / 1px 12px no-repeat border-box, linear-gradient(var(--hud), var(--hud)) right top / 12px 1px no-repeat border-box, linear-gradient(var(--hud), var(--hud)) right top / 1px 12px no-repeat border-box, linear-gradient(var(--hud), var(--hud)) left bottom / 12px 1px no-repeat border-box, linear-gradient(var(--hud), var(--hud)) left bottom / 1px 12px no-repeat border-box, linear-gradient(var(--hud), var(--hud)) right bottom / 12px 1px no-repeat border-box, linear-gradient(var(--hud), var(--hud)) right bottom / 1px 12px no-repeat border-box, var(--surface);border-color:#39e6ff29}:root[data-look=futuristic] button.room-card.attention{--hud:var(--attention);border-color:var(--attention-line)}:root[data-look=futuristic] .segmented button[aria-pressed=true],:root[data-look=futuristic] button.away-toggle[aria-pressed=true]{color:var(--selected);box-shadow:inset 0 0 0 1px var(--selected), 0 0 12px #39e6ff4d;background:#39e6ff24}:root[data-look=futuristic] .switch[aria-checked=true] .track{box-shadow:0 0 10px #39e6ff8c}:root[data-look=futuristic] .device.on .tile{box-shadow:0 0 10px #39e6ff80}:root[data-look=futuristic] .hub.up .dot{box-shadow:0 0 6px var(--ok)}:root[data-look=futuristic] .plan-wall:not(.open){filter:drop-shadow(0 0 2px #39e6ffb3)}:root[data-look=futuristic] .chart-line{filter:drop-shadow(0 0 3px #d6f6ff80)}:root[data-look=futuristic] .sheet-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}:root[data-look=futuristic] .sheet{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#07111cdb;border-color:#39e6ff4d;box-shadow:0 0 30px #39e6ff1f}:root[data-look=futuristic] .layer-legend .ramp{background:linear-gradient(90deg,#d6f6ff0d,#d6f6ff40)}[data-look=blueprint]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0e3a6b;--surface:#11427a;--surface-raised:#164c87;--plan-floor:#104076;--plan-grid:#1b5089;--border:#4475aa;--divider:#2b5f97;--border-strong:#86acd6;--text:#f5f9ff;--text-secondary:#dce8f7;--text-muted:#b8cfe9;--selected:#f5f9ff;--on-selected:#0e3a6b;--wall:#f5f9ff;--door-closed:#6ea4dc;--opening:#f5f9ff;--glass:#4f92d8;--attention:#ffc24a;--on-attention:#1d1300;--attention-soft:#ffc24a26;--attention-line:#ffc24a99;--ok:#8affc1;--selection-fill:#f5f9ff14;--selection-ring:#f5f9ffcc;--minimap-line:#86acd6;--danger:#ffa596;--danger-soft:#4a1f3a;--glow:#fff6cc;--glow-core:.3;--glow-mid:.12;--power:#f6f38a;--power-line:#f6f38a80;--ok-line:#8affc180;--hot:#ffa587;--hot-soft:#ffa58726;--hot-line:#ffa58799;--cold:#a6e3ff;--cold-soft:#a6e3ff26;--cold-line:#a6e3ff99;--chart-line:#f5f9ff;--chart-band:#f5f9ff24;--chart-rule:#2b5f97;--scrim:#0514288c;--radius-control:2px;--radius-segment:1px;--radius-banner:2px;--radius-card:2px;--radius-sheet:4px;--radius-tile:2px}:root[data-look=blueprint] body{background-color:var(--bg);background-image:linear-gradient(#ffffff0b 1px,#0000 1px),linear-gradient(90deg,#ffffff0b 1px,#0000 1px);background-size:24px 24px}:root[data-look=blueprint] .bar h1{font-family:var(--mono);text-transform:uppercase;letter-spacing:.18em;border-bottom:3px double var(--text);padding-bottom:2px;font-size:24px;font-weight:500;display:inline-block}:root[data-look=blueprint] :is(.group-title,.sheet h3,.configure>summary,.label-name,.card-title){font-family:var(--mono);text-transform:uppercase;letter-spacing:.1em;font-weight:500}:root[data-look=blueprint] .label-name{color:var(--text);font-size:11px}:root[data-look=blueprint] .card-title{font-size:14px}:root[data-look=blueprint] :is(.card,button.room-card,.sensor,.remote,.device .toggle,.now-item){border-color:var(--border-strong);background:#1040768c}:root[data-look=blueprint] .grid{stroke:#ffffff14}:root[data-look=blueprint] .layer-legend .ramp{background:linear-gradient(90deg,#f5f9ff0d,#f5f9ff40)}[data-look=christmas]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0b1c14;--surface:#12291e;--surface-raised:#183326;--plan-floor:#10261b;--plan-grid:#152e22;--border:#29493a;--divider:#1d3a2c;--border-strong:#3f6653;--text:#fbf5e9;--text-secondary:#e8dfcb;--text-muted:#b5c3b4;--selected:#d4313b;--on-selected:#fff8ee;--wall:#6f9a7e;--door-closed:#fbf5e9;--opening:#e8dfcb;--glass:#23423a;--attention:#ffb238;--on-attention:#231300;--attention-soft:#ffb2381f;--attention-line:#ffb23880;--ok:#7be3a0;--selection-fill:#fbf5e90f;--selection-ring:#fbf5e9b3;--minimap-line:#4f7a63;--danger:#ff8f7a;--danger-soft:#44201b;--glow:#ffd98a;--glow-core:.42;--glow-mid:.16;--power:#ffe36e;--power-line:#ffe36e66;--ok-line:#7be3a066;--hot:#ff9d7e;--hot-soft:#ff9d7e1f;--hot-line:#ff9d7e66;--cold:#8cc8ff;--cold-soft:#8cc8ff1f;--cold-line:#8cc8ff66;--chart-line:#fbf5e9;--chart-band:#fbf5e91f;--chart-rule:#1d3a2c;--scrim:#030a069e;--festive-wash:#d4313b24;--serif:ui-serif, "Iowan Old Style", "New York", Georgia, "Noto Serif", serif;--shadow:0 1px 2px #0000004d, 0 8px 22px -8px #0000008c;--radius-control:14px;--radius-segment:11px;--radius-banner:18px;--radius-card:20px;--radius-sheet:26px;--radius-tile:12px;--orn-0:#e2343f;--orn-1:#f2c14e;--orn-2:#3f73e6;--orn-3:#2fb36b;--orn-4:#a65ad8;--garland:#2f7a4a;--tinsel:#f2c14e}:root[data-look=christmas] body{background:radial-gradient(ellipse 120% 600px at 50% -60px, #ffcf6b1a, transparent 70%) no-repeat, var(--bg)}:root[data-look=christmas] body:before,:root[data-look=christmas] body:after{content:"";z-index:-1;pointer-events:none;background-repeat:repeat;position:fixed;inset:0}:root[data-look=christmas] body:before{opacity:.5;background-image:radial-gradient(circle at 20px 30px,#ffffff8c 1.2px,#0000 1.8px),radial-gradient(circle at 90px 110px,#ffffff73 1px,#0000 1.6px),radial-gradient(circle at 150px 60px,#fff6 1.4px,#0000 2px);background-size:180px 160px}:root[data-look=christmas] body:after{opacity:.35;background-image:radial-gradient(circle at 60px 20px,#ffffffb3 1.8px,#0000 2.6px),radial-gradient(circle at 200px 150px,#ffffff8c 1.5px,#0000 2.3px);background-size:260px 230px}@media (prefers-reduced-motion:no-preference){:root[data-look=christmas] body:before{animation:28s linear infinite snow-far}:root[data-look=christmas] body:after{animation:16s linear infinite snow-near}}@keyframes snow-far{0%{background-position:0 0}to{background-position:40px 160px}}@keyframes snow-near{0%{background-position:0 0}to{background-position:-50px 230px}}:root[data-look=christmas] .bar h1{font-family:var(--serif);letter-spacing:0;background:linear-gradient(90deg,#ff5a5f,#f2c14e);color:#0000;-webkit-background-clip:text;background-clip:text;font-size:32px}:root[data-look=christmas] .bar h1:after{content:" ✦";vertical-align:super;color:var(--tinsel);-webkit-text-fill-color:var(--tinsel);font-size:.6em}:root[data-look=christmas] .card h2,:root[data-look=christmas] .sheet h2,:root[data-look=christmas] .card-title,:root[data-look=christmas] .label-name{font-family:var(--serif)}:root[data-look=christmas] .group-title,:root[data-look=christmas] .sheet h3,:root[data-look=christmas] .configure>summary{font-family:var(--serif);text-transform:none;letter-spacing:0;color:var(--tinsel);font-size:15px;font-style:italic;font-weight:500}:root[data-look=christmas] :is(.card,button.room-card,.device .toggle,.sensor,.remote,.segmented,.now-item,button.icon-button:not(.bare),button.away-toggle,button.info){box-shadow:var(--shadow)}:root[data-look=christmas] .switch[aria-checked=true] .knob{background:var(--on-selected)}:root[data-look=christmas] .chip.light{background:#3b2e14;border-color:#a98536}:root[data-look=christmas] .chip.light .ui-icon{color:#ffd98a}:root[data-look=christmas] .room-floor:nth-of-type(3n+1) .fill{fill:#10281c}:root[data-look=christmas] .room-floor:nth-of-type(3n+2) .fill{fill:#2a1218}:root[data-look=christmas] .room-floor:nth-of-type(3n+3) .fill{fill:#132c25}:root[data-look=christmas] .grid{stroke:#fbf5e909}:root[data-look=christmas] .plan-wall{stroke-linejoin:round}:root[data-look=christmas] .layer-legend .ramp{background:linear-gradient(90deg,#fbf5e90d,#fbf5e93d)}.garland{fill:none;stroke:var(--garland);stroke-linecap:round;stroke-opacity:.95}.tinsel{fill:none;stroke:var(--tinsel);stroke-linecap:round;stroke-opacity:.85}.ornament-string{stroke:var(--text-secondary);stroke-opacity:.55}.ornament-cap{fill:var(--tinsel)}.ornament-band{fill:none;stroke:#fff;stroke-opacity:.35}.ornament-shine{fill:#fff;fill-opacity:.7}.orn-c0 .ornament-body{fill:var(--orn-0)}.orn-c1 .ornament-body{fill:var(--orn-1)}.orn-c2 .ornament-body{fill:var(--orn-2)}.orn-c3 .ornament-body{fill:var(--orn-3)}.orn-c4 .ornament-body{fill:var(--orn-4)}@media (prefers-reduced-motion:no-preference){.ornament{animation:3.8s ease-in-out infinite alternate sway}.ornaments g:nth-child(2n)>.ornament{animation-duration:4.6s;animation-delay:-1.3s}.ornaments g:nth-child(3n)>.ornament{animation-duration:5.2s;animation-delay:-2.4s}}@keyframes sway{0%{transform:rotate(-6deg)}to{transform:rotate(6deg)}}.look-preview[data-look=christmas]{background-image:radial-gradient(circle at 12px 10px,#fff9 1px,#0000 1.6px),radial-gradient(circle at 70px 46px,#ffffff80 1px,#0000 1.6px),radial-gradient(circle at 84px 14px,#ffffff80 1px,#0000 1.6px)}.look-preview[data-look=christmas] .lp-room{border-top:3px solid var(--garland);background-color:#2a1218}.look-preview[data-look=christmas] .lp-room:after{content:"";background:radial-gradient(circle at 35% 35%, #fff8 0 1.5px, transparent 2px), var(--orn-0);width:9px;height:9px;box-shadow:14px 3px 0 -1px var(--orn-1);border-radius:50%;position:absolute;top:4px;left:58%}
