:root{--bg:#f7f5ef;--panel:#fffefa;--ink:#29372e;--muted:#727970;--line:#e5e7de;--accent:#d55d36;--green:#354e3e;--radius:22px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}button{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:4px}button:disabled{opacity:.4;cursor:default}button svg,span svg{width:21px;height:21px;display:block;flex-shrink:0}[hidden]{display:none!important}button{border:0}p{line-height:1.6}h1,h2,p{margin-top:0}h2{font-size:19px;letter-spacing:-.5px;font-weight:600}h1{font-size:42px;line-height:1.1;letter-spacing:-1.7px;font-weight:550;margin-bottom:12px}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:650;color:var(--muted);margin-bottom:13px}.sidebar{width:224px;position:fixed;inset:0 auto 0 0;background:#eeeee6;border-right:1px solid var(--line);padding:35px 21px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font-size:24px;letter-spacing:-1px;font-weight:650}.brand-mark{background:var(--green);color:#fffefa;padding:11px;border-radius:15px}.brand-sub{display:block;font-size:8px;letter-spacing:1.5px;margin-top:5px;color:var(--muted)}nav{display:grid;gap:7px;margin-top:54px}.nav{display:flex;align-items:center;gap:13px;text-align:left;border-radius:12px;background:transparent;min-height:49px;padding:12px 15px;color:var(--muted);font-size:14px}.nav.active{background:var(--panel);color:var(--green);box-shadow:0 3px 10px #33483405;font-weight:600}.sidebar-bottom{margin-top:auto}.experiment{font-size:12px;font-weight:600}.experiment p{font-weight:400;color:var(--muted);font-size:12px;margin:10px 0 24px}.dot{width:6px;height:6px;background:var(--accent);border-radius:100%;display:inline-block;vertical-align:middle;margin-right:7px}.app-shell{margin-left:224px}.topbar{height:77px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;color:var(--muted);font-size:12px}.topbar>div{display:flex;align-items:center;gap:20px}.demo-pill{background:#f1e9d9;color:#7c6240;padding:8px 11px;border-radius:20px;font-size:11px}time{font-variant-numeric:tabular-nums;color:var(--ink)}main{max-width:1360px;padding:37px 42px 0;margin:auto}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.subtitle{color:var(--muted);font-size:14px;margin-bottom:0}.icon-button{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:12px;background:transparent}.demo-banner{display:flex;align-items:center;gap:11px;padding:12px 15px;margin-bottom:25px;border:1px dashed #d7d2c1;border-radius:12px;color:#7c715c}.demo-banner p{font-size:12px;margin:0}.demo-banner>span{flex-shrink:0}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:25px}.hero-row{display:grid;grid-template-columns:1.45fr 1fr;gap:20px}.weather{min-height:244px;position:relative;overflow:hidden;background:#e9eee1;border-color:#e0e6d6;display:flex;justify-content:space-between}.weather h2{font-size:27px;font-weight:500;line-height:1.25;letter-spacing:-.8px;margin-bottom:19px}.weather .eyebrow{color:#698060;font-size:9px}.weather-detail{display:flex;align-items:center;gap:16px;font-size:12px;line-height:1.6}.weather-number{font-size:41px;letter-spacing:-2px;line-height:1}.weather-art{position:absolute;right:15px;top:45px;width:150px;height:140px}.sun{position:absolute;width:80px;height:80px;right:17px;top:1px;background:#e8b968;border-radius:100%;box-shadow:0 0 0 14px #e8b96812,0 0 0 29px #e8b9680b}.cloud{position:absolute;right:0;top:63px;width:136px;height:47px;background:#f9fbf2;border-radius:50px;box-shadow:0 13px 30px #5d76500c}.cloud:before,.cloud:after{content:"";position:absolute;border-radius:100%;background:inherit}.cloud:before{width:66px;height:66px;left:23px;top:-35px}.cloud:after{width:48px;height:48px;right:12px;top:-20px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px}.section-heading h2{margin:0}.house-status>.section-heading{margin-bottom:20px}.house-status>.section-heading>span{color:#889a82}.status-line{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-top:1px solid var(--line);font-size:12px}.status-line>span{display:flex;align-items:center;gap:10px;color:var(--muted)}.status-line svg{width:16px;height:16px}.status-line strong{font-size:12px;font-weight:550}.house-status>p{margin:8px 0 0;font-size:10px}.quick-section{margin-top:30px}.quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.quick{display:flex;flex-direction:column;align-items:flex-start;background:var(--panel);border:1px solid var(--line);border-radius:17px;padding:17px;text-align:left;transition:transform .15s,border-color .15s}.quick:hover{transform:translateY(-2px);border-color:#c7cebe}.quick-icon{width:42px;height:42px;border-radius:13px;display:flex;align-items:center;justify-content:center;margin-bottom:18px}.peach{background:#f8e5da;color:#b96345}.yellow{background:#f5edd4;color:#a18b3a}.lavender{background:#eae7f0;color:#827397}.sage{background:#e5ecdf;color:#6a825a}.quick strong{font-size:12px;font-weight:600;line-height:1.4}.quick>span:last-child{font-size:10px;color:var(--muted);margin-top:6px;line-height:1.4}.rooms-heading{margin-top:31px}.text-button{background:transparent;padding:8px 0;color:var(--muted);font-size:12px;min-height:44px;display:inline-flex;align-items:center;gap:12px}.room-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.room{padding:23px}.room-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px}.room-title{display:flex;align-items:center;gap:12px}.room-title>span{background:#f1f2e9;border-radius:12px;padding:10px;color:#6a7b63}.room-title h3{font-size:15px;letter-spacing:-.3px;margin:0 0 5px}.room-title p{margin:0;font-size:10px;color:var(--muted)}.room-example{font-size:9px;color:#8c9287;letter-spacing:.4px}.temperature-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.temperature-reading strong{font-size:31px;letter-spacing:-1px;font-weight:500}.temperature-reading span{display:block;color:var(--muted);font-size:10px;margin-top:5px}.temp-stepper{display:flex;align-items:center;gap:8px;background:#f4f4ed;border-radius:12px;padding:3px}.temp-stepper button{width:40px;height:40px;background:var(--panel);border:1px solid var(--line);border-radius:9px;font-size:22px}.temp-stepper output{min-width:48px;text-align:center;font-size:15px;font-variant-numeric:tabular-nums}.room-light{border-top:1px solid var(--line);padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:12px}.light-label{display:flex;align-items:center;gap:9px;font-size:12px}.light-label svg{width:17px;height:17px;color:#a9ab9d}.room-light.on .light-label svg{color:#b99a40}.switch{min-height:44px;min-width:48px;background:transparent;padding:10px 0;display:flex;align-items:center;justify-content:center}.switch-track{background:#d9dfd3;width:40px;height:24px;border-radius:20px;padding:3px;transition:background .2s}.switch[aria-checked=true] .switch-track{background:var(--green)}.switch-track:after{content:"";display:block;background:white;border-radius:100%;width:18px;height:18px;box-shadow:0 1px 3px #0001;transition:transform .2s}.switch[aria-checked=true] .switch-track:after{transform:translateX(16px)}.brightness{display:flex;gap:13px;align-items:center;font-size:11px;color:var(--muted);margin-top:6px}.brightness input{width:100%;accent-color:var(--green);min-height:35px}.brightness output{min-width:34px;text-align:right}.filters{display:flex;gap:8px;margin-bottom:24px;flex-wrap:wrap}.filter{background:transparent;border:1px solid var(--line);border-radius:24px;padding:12px 19px;font-size:13px;min-height:44px}.filter.active{background:var(--green);color:white;border-color:var(--green)}.family-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.family-card{display:flex;flex-direction:column;align-items:flex-start}.family-card h2{font-size:23px}.family-card p{font-size:13px}.primary,.secondary{padding:13px 20px;min-height:46px;border-radius:12px;font-size:13px;font-weight:550}.primary{background:var(--green);color:white}.secondary{border:1px solid var(--line);background:#f3f3eb}.family-card button{margin-top:auto}.activity-heading{margin-top:30px}#activity{padding:8px 23px}.activity-item{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:16px 0;font-size:12px}.activity-item:last-child{border:0}.activity-item time{color:var(--muted);white-space:nowrap}.empty{padding:16px 0;font-size:13px;color:var(--muted)}.connection-list{display:grid;gap:13px}.connection{display:flex;align-items:flex-start;gap:19px}.connection-icon{background:#f0f2e8;color:#73806a;border-radius:14px;padding:13px}.connection>div{flex:1}.connection h2{margin-bottom:6px;font-size:17px}.connection p{font-size:13px;margin-bottom:6px}.connection p.small{font-size:12px;max-width:600px}.connection-tag{background:#f0f0e9;white-space:nowrap;font-size:10px;color:var(--muted);border-radius:20px;padding:8px 10px}.next-step{margin-top:23px;background:#edf0e6}.next-step p{max-width:730px;font-size:13px}.next-step p:last-child{margin-bottom:0}footer{display:flex;justify-content:space-between;gap:12px;padding:28px 0;font-size:10px;color:#8c9287}dialog{border:1px solid var(--line);border-radius:22px;background:var(--panel);color:var(--ink);padding:27px;width:min(520px,calc(100% - 32px));box-shadow:0 20px 100px #24382e25;max-height:90vh;overflow:auto}dialog::backdrop{background:#20372b66;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.dialog-heading h2{margin:0;font-size:21px}dialog p,dialog li{font-size:13px;line-height:1.7}dialog label{display:block;font-size:12px;margin:20px 0 9px}textarea,select{width:100%;border:1px solid #d7dccf;border-radius:11px;padding:12px;background:white;color:var(--ink);font-size:14px}textarea{resize:vertical}form>.primary{width:100%;margin-top:23px}#info-content{margin-bottom:23px;overflow-wrap:anywhere}.preview-message{background:#edf0e6;border-radius:13px;padding:20px;font-size:19px!important}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}#toast{position:fixed;bottom:28px;left:calc(50% + 112px);transform:translate(-50%,15px);background:var(--green);color:white;padding:14px 23px;border-radius:14px;box-shadow:0 8px 25px #20372b22;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:calc(100% - 40px);font-size:13px;z-index:5}#toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1500px){main{padding-top:46px}.hero-row{grid-template-columns:1.6fr 1fr}.weather-art{right:65px;top:55px}}
@media(max-width:1100px){.sidebar{width:190px;padding:30px 16px}.brand{font-size:21px;gap:9px}.brand-sub{font-size:7px}.app-shell{margin-left:190px}.topbar{padding:0 26px}main{padding:28px 26px 0}.weather-art{right:-32px;opacity:.65}.weather h2{position:relative;z-index:1}.connection{flex-wrap:wrap}.connection-tag{margin-left:66px}.quick{padding:14px}#toast{left:calc(50% + 95px)}}
@media(max-width:800px){.sidebar{width:76px;align-items:center;padding:24px 10px}.brand>span:last-child,.brand-sub,.sidebar-bottom{display:none}.brand-mark{padding:13px}.nav{font-size:0;padding:13px;gap:0}.nav svg{width:22px;height:22px}nav{margin-top:35px}.app-shell{margin-left:76px}.topbar{height:64px;padding:0 22px}main{padding:26px 22px 0}h1{font-size:35px}.hero-row{grid-template-columns:1.25fr 1fr;gap:14px}.panel{padding:20px}.weather h2{font-size:23px}.weather-art{right:-55px}.weather .eyebrow{font-size:8px}.house-status h2{font-size:16px}.status-line{font-size:11px}.quick-actions{grid-template-columns:repeat(2,1fr)}.quick{padding:17px}.quick-icon{margin-bottom:15px}.quick strong{font-size:13px}.quick>span:last-child{font-size:11px}.room-grid{gap:14px}.room{padding:18px}.room-title>span{display:none}.temp-stepper{gap:3px}.temp-stepper button{width:35px}.temp-stepper output{min-width:43px}.temperature-reading strong{font-size:26px}#toast{left:calc(50% + 38px)}}
@media(max-width:560px){.sidebar{position:fixed;inset:auto 0 0;width:100%;height:72px;background:#f7f5eff5;backdrop-filter:blur(12px);border:0;border-top:1px solid var(--line);padding:5px 8px;display:block}.brand{display:none}nav{display:grid;grid-template-columns:repeat(4,1fr);margin:0;gap:3px}.nav{font-size:9px;display:flex;flex-direction:column;gap:5px;padding:8px 3px;min-height:59px;border-radius:10px}.nav svg{height:20px;width:20px}.app-shell{margin-left:0;padding-bottom:72px}.topbar{padding:0 20px;height:59px}.topbar>span{font-size:10px}.topbar>div{gap:10px}.demo-pill{font-size:9px;padding:7px 9px}time{font-size:11px}main{padding:26px 18px 0}h1{font-size:34px}.subtitle{font-size:12px;max-width:260px}.intro{gap:10px}.intro .icon-button{display:none}.demo-banner{padding:11px;align-items:flex-start}.demo-banner p{font-size:11px}.demo-banner svg{width:17px;height:17px}.hero-row{grid-template-columns:1fr}.weather{min-height:215px}.weather-art{right:18px;top:50px;opacity:1}.weather h2{font-size:26px}.weather .eyebrow{font-size:9px}.house-status{padding:19px}.house-status .section-heading{margin-bottom:12px}.status-line{padding:10px 0}.house-status>p{display:none}.quick-section{margin-top:25px}.section-heading h2{font-size:17px}.small{font-size:10px}.room-grid,.family-grid{grid-template-columns:1fr}.room{padding:22px}.room-title>span{display:block}.temp-stepper button{width:42px;height:42px}.temp-stepper output{min-width:50px}.temperature-reading strong{font-size:32px}.quick-actions{gap:10px}.quick{padding:15px}.quick strong{font-size:12px}.quick>span:last-child{font-size:10px}.connection{padding:18px;gap:12px}.connection-icon{padding:10px}.connection-tag{margin-left:53px}.connection>div{min-width:180px}.connection p{font-size:12px}footer{flex-direction:column;gap:6px;padding:24px 0}#toast{left:50%;bottom:88px;width:max-content;text-align:center}.family-card h2{font-size:22px}.dialog-heading h2{font-size:18px}dialog{padding:21px}}
@media(prefers-reduced-motion:reduce){*,*:after{transition:none!important;scroll-behavior:auto!important}}
.dialog-fallback[open]{position:fixed;top:50%;left:50%;margin:0;transform:translate(-50%,-50%);z-index:10;box-shadow:0 0 0 100vmax #20372b66,0 20px 100px #24382e25}
