@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap";:root{font-family:DM Sans,sans-serif;color:#26372f;background:#f7f8f5;font-synthesis:none;--bg:#f7f8f5;--surface:#fff;--text:#26372f;--muted:#7c8580;--line:#e6eae4;--green:#276551;--light-green:#edf5ed;--shadow:0 12px 50px #1e3e2810;color-scheme:light}:root[data-theme=dark]{--bg:#141d19;--surface:#1d2922;--text:#edf3ed;--muted:#a1b0a5;--line:#334237;--green:#a2d7b7;--light-green:#2c4435;--shadow:0 12px 50px #0003;color-scheme:dark}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button,a{touch-action:manipulation}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #80b995;outline-offset:4px}button{transition:background .18s,transform .18s,box-shadow .18s}button:active:not(:disabled){transform:translateY(1px)}a{color:inherit;text-decoration:none}button svg{flex-shrink:0}input,select{min-width:0}h1,h2,h3,p{margin:0}h1,h2,h3,.brand{font-family:Manrope,sans-serif}h2{font-size:20px;font-weight:750;letter-spacing:-.6px}h3{font-size:16px;font-weight:700;letter-spacing:-.3px}.app-shell{display:flex;min-height:100vh;background:var(--bg);color:var(--text)}.sidebar{width:230px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:34px 22px 18px;background:var(--surface);border-right:1px solid var(--line);z-index:20}.brand{display:flex;align-items:center;gap:11px;font-size:21px;font-weight:500;letter-spacing:-.8px;margin-bottom:48px}.brand b{font-weight:800}.brand small{display:block;font-family:DM Sans,sans-serif;font-size:8px;letter-spacing:2px;font-weight:600;margin-top:4px;color:var(--muted)}.brand-mark{width:43px;height:46px;display:grid;place-items:center;background:#2d614f;color:#fff;border-radius:14px 14px 14px 4px}.nav-caption{font-size:9px;letter-spacing:1.8px;font-weight:700;color:var(--muted);margin:0 12px 17px}.nav-item{width:100%;display:flex;align-items:center;gap:12px;text-align:left;font-size:13px;font-weight:550;color:var(--muted);border:0;background:none;padding:13px 12px;border-radius:9px;margin:3px 0}.nav-item:hover{background:var(--bg);color:var(--text)}.nav-item.selected{color:var(--green);background:var(--light-green);font-weight:700}.nav-count{font-size:11px;margin-left:auto;opacity:.75}.sidebar-line{height:1px;background:var(--line);margin:27px 12px}.rooms-nav{overflow:auto}.sidebar-empty{font-size:12px;line-height:1.8;color:var(--muted);padding:0 12px}.sidebar-bottom{margin-top:auto;padding-top:35px}.connection-mini{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:10px;padding:13px 11px;margin-bottom:12px;font-size:10px;font-weight:600}.connection-mini small{display:block;font-size:9px;font-weight:400;color:var(--muted);margin-top:4px}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#9da59e;flex-shrink:0}.status-dot.green{background:#90cca3;box-shadow:0 0 0 3px #90cca318}.version{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:19px 12px 0;margin-top:22px;letter-spacing:1px;font-size:9px;color:var(--muted)}.main-shell{width:calc(100% - 230px);margin-left:230px}.topbar{height:85px;padding:0 42px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:var(--surface)}.breadcrumb,.top-actions{display:flex;align-items:center;gap:13px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb b{color:var(--text);font-weight:500}.top-actions{gap:23px}.today{font-size:12px;color:var(--muted)}.avatar{width:35px;height:35px;border:1px solid #dbe5db;background:#e9efe5;color:#4b674d;border-radius:50%;font-size:11px;font-weight:700}.icon-button{border:0;background:none;display:inline-flex;align-items:center;justify-content:center;padding:8px;min-width:34px;min-height:34px;border-radius:9px;color:var(--muted)}.icon-button:hover{background:var(--light-green);color:var(--green)}.icon-button.outlined{border:1px solid var(--line);background:var(--surface);height:39px;width:39px}main{max-width:1500px;margin:0 auto;padding:37px 42px 0}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:30px}.eyebrow{font-size:9px;letter-spacing:1.9px;font-weight:700;color:var(--muted)}.page-heading .eyebrow{margin-bottom:11px;color:var(--green)}h1{font-size:29px;letter-spacing:-1.15px;font-weight:650;line-height:1.3}.subtitle{font-size:12px;color:var(--muted);margin-top:9px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:12px;font-weight:600;min-height:42px;padding:11px 17px;border-radius:8px;white-space:nowrap;border:1px solid transparent}.button.primary{background:#2d6552;color:#fff}.button.primary:hover{background:#204c3e;box-shadow:0 5px 16px #1e573321}.button.secondary{background:var(--surface);border-color:var(--line);color:var(--text)}.button.secondary:hover{background:var(--light-green)}.button.danger{background:#fcecea;color:#a23a37}.button.full{width:100%;margin-top:12px}.overview-grid{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:16px}.hero{background:#e8efe5;min-height:180px;border-radius:15px;position:relative;overflow:hidden;display:flex;align-items:center;padding:18px 24px;color:#2e5744}.hero-content{z-index:1}.hero-tag{font-size:8px;font-weight:700;letter-spacing:1.55px;display:flex;align-items:center;gap:8px}.hero-tag .status-dot{background:#628b64}.hero h2{font-size:24px;line-height:1.3;letter-spacing:-.7px;font-weight:600;margin:10px 0 7px}.hero p{font-size:11px;line-height:1.7;max-width:340px;color:#6b7e6b}.hero-link{display:flex;align-items:center;gap:12px;background:none;border:0;padding:0;font-size:11px;font-weight:650;margin-top:12px;color:#315e49}.house-art{position:absolute;color:#698a64;right:14px;bottom:-4px;width:180px;opacity:.65}.house-art svg{width:100%}.weather-card{border:1px solid var(--line);border-radius:15px;background:var(--surface);padding:17px 20px;display:flex;flex-direction:column}.weather-card svg{color:#a9a16e}.weather-city{font-size:12px;font-weight:600;margin-top:6px}.weather-number{font-family:Manrope,sans-serif;font-size:34px;font-weight:500;letter-spacing:-1px;line-height:1.2}.weather-card>.muted{font-size:10px;line-height:1.7;margin-top:4px}.weather-foot{display:flex;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:8px;margin-top:auto;font-size:9px;color:var(--muted)}.stats-row{display:grid;grid-template-columns:repeat(4,1fr);margin:23px 0 31px;border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:20px 0}.stats-row>div{display:flex;align-items:center;gap:13px;padding:0 22px;border-right:1px solid var(--line)}.stats-row>div:last-child{border:0}.stat-icon{width:40px;height:40px;border-radius:11px;background:var(--light-green);color:var(--green);display:grid;place-items:center;flex-shrink:0}.stat-icon.warm{background:#fbf1df;color:#b19450}.stat-icon.violet{background:#eeedf5;color:#9081ab}.stats-row strong{display:block;font-family:Manrope,sans-serif;font-size:25px;line-height:1.3;font-weight:650;letter-spacing:-.8px}.stats-row strong em{font-style:normal;font-size:13px;color:var(--muted)}.stats-row div div>span{display:block;font-size:9px;color:var(--muted);margin-top:4px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.section-title h2{font-size:18px}.section-title>span{font-size:8px;letter-spacing:1.6px;color:var(--muted);font-weight:600}.scenes-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:34px}.scene-card{display:flex;align-items:center;gap:13px;padding:19px 18px;border:1px solid var(--line);border-radius:12px;background:var(--surface);text-align:left}.scene-card:hover{border-color:#b5c7b4;box-shadow:0 5px 20px #19362208}.scene-card b{display:block;font-size:12px;font-weight:650}.scene-card small{display:block;font-size:9px;color:var(--muted);margin-top:5px}.scene-card>svg{margin-left:auto;color:var(--muted);width:15px}.scene-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;flex-shrink:0}.scene-icon.peach{color:#ad8967;background:#fbf0e4}.scene-icon.lavender{color:#9281a7;background:#f0edf5}.scene-icon.mint{color:#6d9685;background:#eaf3ef}.scene-card.listening{box-shadow:0 0 0 2px #7daa89;animation:pulse 1.5s infinite}.row{display:flex;align-items:center;gap:10px}.spread{justify-content:space-between}.wrap{flex-wrap:wrap}.centered{justify-content:center}.muted{color:var(--muted);font-size:12px;line-height:1.8}.tiny{font-size:10px}.truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:0 12px;color:var(--muted);margin:0;height:39px}.search input{border:0;background:transparent;padding:0;width:150px;font-size:11px;height:100%;margin:0;outline:none;color:var(--text)}.count-pill{font-size:10px;background:var(--line);padding:3px 8px;border-radius:20px}.filter-row{display:flex;gap:8px;margin:4px 0 20px;overflow-x:auto;padding-bottom:2px}.filter-chip{background:none;border:1px solid var(--line);border-radius:7px;font-size:11px;padding:8px 14px;color:var(--muted);white-space:nowrap}.filter-chip.active{background:var(--text);color:var(--surface);border-color:var(--text)}.demo-note{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--muted);margin:0 0 13px}.demo-note .status-dot{background:#bcab7e}.device-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.device-card{border:1px solid var(--line);border-radius:13px;background:var(--surface);padding:20px 20px 16px;transition:box-shadow .2s,border .2s;min-width:0}.device-card:hover{box-shadow:0 6px 22px #283c2309}.device-card.is-on{border-color:#cbdcc9;background:linear-gradient(135deg,var(--surface),var(--light-green))}.device-icon{width:46px;height:46px;display:grid;place-items:center;background:var(--bg);color:#909a91;border-radius:12px}.device-icon.on{background:#e4edd9;color:#648057}.card-tools{gap:0}.card-tools .icon-button{min-width:30px;padding:6px;color:#a7afa7}.favorite.chosen{color:#b79c59!important}.device-room{font-size:9px;color:var(--muted);margin:20px 0 7px;display:flex;align-items:center;justify-content:space-between;gap:8px}.device-room>span{font-size:8px;border:1px solid var(--line);border-radius:4px;padding:2px 5px;white-space:nowrap}.device-card h3{font-size:15px;overflow-wrap:anywhere;line-height:1.5}.device-detail{font-size:9px;color:var(--muted);margin-top:6px;min-height:14px}.device-bottom{display:flex;align-items:center;justify-content:space-between;gap:7px;border-top:1px solid var(--line);margin-top:21px;padding-top:14px;min-height:41px}.device-state{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted)}.device-state.on{color:var(--green)}.device-state.on .status-dot{background:#759d70}.toggle{border:0;width:38px;height:23px;border-radius:20px;background:#e0e5df;padding:3px;flex-shrink:0}.toggle>span{display:grid;place-items:center;width:17px;height:17px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .2s}.toggle.on{background:#3f765a}.toggle.on>span{transform:translate(15px)}.device-bottom select{width:110px;padding:5px;font-size:10px;border:1px solid var(--line);background:var(--surface);border-radius:6px}.add-card{min-height:230px;border:1px dashed #cdd7cb;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:transparent;gap:11px;color:var(--muted)}.add-card>span{width:43px;height:43px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;background:var(--surface)}.add-card b{font-size:12px;font-weight:500}.add-card small{font-size:10px}.add-card:hover{background:var(--light-green)}.empty-state{border:1px dashed var(--line);border-radius:14px;text-align:center;padding:44px 20px;background:var(--surface)}.empty-icon{display:grid;place-items:center;width:76px;height:76px;border-radius:25px;background:var(--light-green);color:var(--green);margin:0 auto 20px}.empty-state h3{font-size:21px}.empty-state p{font-size:12px;color:var(--muted);margin:12px auto 23px;max-width:420px;line-height:1.8}.empty-state .row{flex-wrap:wrap}footer{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:9px;color:var(--muted);border-top:1px solid var(--line);margin-top:36px;padding:22px 0}footer>span:first-child{display:flex;align-items:center;gap:6px}.mobile-nav{display:none}.modal{width:min(570px,calc(100vw - 28px));max-height:90dvh;padding:0;border:1px solid var(--line);border-radius:18px;color:var(--text);background:var(--surface);box-shadow:var(--shadow);overflow:auto}.modal::backdrop{background:#142b2266;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.modal-inner{padding:26px}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:17px}.modal-heading h2{font-size:22px}.modal p{font-size:12px;line-height:1.8}.modal h3{font-size:14px}.modal label{display:block;font-size:11px;font-weight:550;margin-top:17px}.modal input:not([type=file]),.modal select{display:block;width:100%;min-height:43px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--text);font-size:12px;margin-top:8px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:26px;flex-wrap:wrap}.integration-card{padding:18px;border:1px solid var(--line);border-radius:12px;margin:20px 0}.integration-icon{background:var(--light-green);color:var(--green);display:grid;place-items:center;width:40px;height:40px;border-radius:10px;flex-shrink:0}.badge{padding:5px 7px;background:var(--bg);font-size:8px;color:var(--muted);border:1px solid var(--line);border-radius:5px;white-space:nowrap}.badge.success{background:var(--light-green);color:var(--green)}.fine-print{font-size:10px!important;color:var(--muted);line-height:1.9!important;margin:12px 0}.fine-print svg{vertical-align:middle;margin-right:6px}.text-link{display:inline-flex;align-items:center;gap:7px;color:var(--green);font-size:11px;font-weight:600}.details{font-size:11px;margin:15px 0}.details summary{cursor:pointer;font-weight:600}.settings-divider{height:1px;background:var(--line);margin:24px 0}.top-space{margin-top:16px}.toast{position:fixed;bottom:27px;left:calc(50% + 115px);transform:translate(-50%);max-width:min(630px,85vw);z-index:1000;display:flex;align-items:center;gap:15px;padding:13px 15px 13px 20px;background:#263f33;color:#fff;font-size:12px;line-height:1.7;border-radius:12px;box-shadow:0 12px 35px #0003}.toast .icon-button{color:#fff}.notice{display:flex;align-items:center;gap:12px;padding:14px 17px;border-radius:10px;margin-bottom:20px;font-size:11px;line-height:1.6}.notice.warning{background:#faf0dc;color:#826a3d}.notice svg{flex-shrink:0}.notice button{margin-left:auto;border:0;background:transparent;text-decoration:underline;font-size:11px;white-space:nowrap}.consumption{display:grid;grid-template-columns:280px 1fr;gap:25px;min-height:430px}.consumption-summary{padding:35px;background:#e8efe5;border-radius:15px;color:#31563e}.consumption-summary .eyebrow{margin:23px 0 13px}.consumption-summary h2{font-size:56px;font-weight:500}.consumption-summary h2 span{font-size:22px}.consumption-summary p:last-child{font-size:12px;line-height:1.9;margin-top:15px}.panel{padding:30px;border:1px solid var(--line);border-radius:15px;background:var(--surface)}.panel>.muted{margin-top:12px}.usage-row{margin-top:27px;font-size:12px}.usage-row b{font-weight:500}.usage-track{height:7px;background:var(--line);border-radius:7px;margin-top:10px;overflow:hidden}.usage-track span{height:100%;display:block;background:#7da085;border-radius:7px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{box-shadow:0 0 0 4px #7daa8930}}[data-theme=dark] .hero,[data-theme=dark] .consumption-summary{background:#2a4031;color:#d5e5cd}[data-theme=dark] .hero p,[data-theme=dark] .hero-link{color:#b6c7ad}[data-theme=dark] .house-art{color:#bbd1a7}[data-theme=dark] .device-icon.on{background:#384c34;color:#c1d7ab}[data-theme=dark] .stat-icon.warm{background:#473f2b}[data-theme=dark] .stat-icon.violet{background:#383344}[data-theme=dark] .scene-icon{filter:brightness(.8)}@media(min-width:1500px){.device-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.hero h2{font-size:26px}.house-art{right:24px;width:194px}}@media(max-width:1190px){.sidebar{width:205px;padding-left:16px;padding-right:16px}.main-shell{width:calc(100% - 205px);margin-left:205px}main{padding:29px 27px 0}.topbar{padding:0 27px}.page-heading{align-items:flex-start}h1{font-size:25px}.page-heading>.button{font-size:11px;padding:10px 12px}.overview-grid{grid-template-columns:minmax(0,1fr) 220px}.house-art{right:-16px;width:168px;opacity:.3}.hero{padding:18px 20px}.hero h2{font-size:22px}.stats-row>div{padding:0 15px;gap:9px}.stat-icon{width:33px;height:33px}.stats-row div div>span{font-size:8px}.scene-card{padding:16px 12px;gap:9px}.scene-card small{font-size:8px}.scene-icon{width:34px;height:36px}.device-card{padding:17px 15px}.toast{left:calc(50% + 102px)}}@media(max-width:980px){.sidebar{width:180px;padding:28px 12px 15px}.brand{font-size:18px;gap:8px}.brand-mark{width:36px;height:41px}.brand small{font-size:7px;letter-spacing:1.4px}.nav-item{font-size:11px;padding:12px 10px;gap:10px}.main-shell{width:calc(100% - 180px);margin-left:180px}.page-heading{flex-wrap:wrap}.page-heading>.button{min-height:38px}.overview-grid{grid-template-columns:minmax(0,1fr) 185px;gap:14px}.hero h2{font-size:21px}.hero p{max-width:230px}.weather-card{padding:16px}.weather-number{font-size:32px}.stats-row{padding:17px 0}.stats-row>div{padding:0 12px;gap:8px}.stats-row strong{font-size:21px}.stats-row .stat-icon{display:none}.scenes-row{gap:9px}.scene-card{flex-wrap:wrap}.scene-card>svg{display:none}.scene-card b{font-size:11px}.scene-card small{font-size:8px}.device-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.device-heading{flex-wrap:wrap}.toast{left:calc(50% + 90px)}.consumption{grid-template-columns:1fr}.consumption-summary{padding:25px}.consumption-summary .eyebrow{margin:15px 0 5px}}@media(max-width:720px){.sidebar{display:none}.main-shell{width:100%;margin-left:0}.topbar{height:65px;padding:0 22px}.breadcrumb{gap:8px;font-size:11px}.top-actions{gap:11px}.today{display:none}main{padding:26px 21px 70px}.page-heading{gap:18px;margin-bottom:23px}.eyebrow{font-size:8px}.page-heading h1{font-size:26px}.subtitle{font-size:11px}.page-heading>.button{font-size:11px}.overview-grid{grid-template-columns:minmax(0,1fr) 145px;gap:12px}.hero{padding:17px 18px;min-height:172px}.hero h2{font-size:20px;margin-top:9px}.hero-tag{font-size:7px;letter-spacing:1px}.hero p{font-size:10px;max-width:230px}.hero-link{font-size:10px;gap:9px}.house-art{width:145px;right:-40px;opacity:.22}.weather-card{padding:16px 14px}.weather-city{font-size:11px}.weather-number{font-size:29px;letter-spacing:-1px;margin-top:5px}.weather-card>.muted{font-size:9px}.weather-foot{flex-direction:column;gap:4px;font-size:8px;padding-top:7px}.stats-row{margin:17px 0 28px;padding:15px 0}.stats-row>div{padding:0 13px}.stats-row strong{font-size:23px}.stats-row div div>span{font-size:8px;line-height:1.5}.section-title h2{font-size:17px}.section-title>span{font-size:7px;letter-spacing:1px}.scenes-row{margin-bottom:30px}.scene-card{padding:14px 11px;gap:10px}.scene-icon{width:31px;height:31px;border-radius:9px}.scene-icon svg{width:18px}.scene-card small{line-height:1.5;font-size:8px}.device-heading>.row:last-child{width:100%}.search{flex:1}.search input{width:100%}.filter-chip{font-size:10px;padding:8px 12px}.device-grid{gap:12px}.device-card{padding:17px 15px 14px}.device-icon{width:39px;height:39px}.device-icon svg{width:22px}.device-room{font-size:8px;margin-top:17px;gap:4px;flex-wrap:wrap}.device-card h3{font-size:14px}.device-detail{font-size:8px;line-height:1.6;min-height:26px}.device-state{font-size:8px;gap:5px}.device-bottom{padding-top:12px;margin-top:15px}.card-tools .icon-button{min-width:27px;padding:5px}.device-room>span{font-size:7px}.demo-note{font-size:9px;line-height:1.6}.add-card{min-height:233px}.add-card b{font-size:11px}.add-card small{font-size:9px}footer{font-size:8px;line-height:1.6;align-items:flex-start}footer>span{max-width:55%}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;padding:10px 12px max(10px,env(safe-area-inset-bottom));justify-content:space-around;border-top:1px solid var(--line);background:var(--surface);z-index:25}.mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:5px;background:none;border:0;color:var(--muted);font-size:9px;min-width:65px;padding:5px}.mobile-nav button.active{color:var(--green);font-weight:700}.toast{left:50%;bottom:87px;max-width:calc(100% - 30px);width:max-content;font-size:11px}.modal-inner{padding:22px}.modal-heading h2{font-size:20px}.modal .integration-card{padding:14px}.integration-card .tiny{font-size:8px}.integration-card .integration-icon{width:32px;height:35px}.modal{max-height:88dvh}.notice{align-items:flex-start;flex-wrap:wrap;font-size:10px}.notice span{flex:1}.notice button{margin-left:30px}.consumption-summary h2{font-size:43px}.panel{padding:23px}}@media(max-width:410px){main{padding:24px 16px 70px}.topbar{padding:0 16px}.page-heading h1{font-size:24px}.overview-grid{grid-template-columns:1fr}.hero{min-height:160px;padding:17px 20px}.hero h2{font-size:22px}.house-art{right:-2px;width:155px;opacity:.3}.weather-card{display:none}.stats-row>div{padding:0 10px}.stats-row strong{font-size:22px}.stats-row div div>span{font-size:7px}.scene-card b{font-size:10px}.scene-card small{font-size:7px}.device-card{padding:14px 12px}.device-card h3{font-size:13px}.card-tools .icon-button{min-width:25px;padding:4px}.device-icon{width:33px;height:36px}.device-icon svg{width:20px}.device-state{font-size:7px}.toggle{width:34px;height:21px}.toggle>span{width:15px;height:15px}.toggle.on>span{transform:translate(13px)}.section-title>span{display:none}.form-grid{grid-template-columns:1fr}.badge{font-size:7px;padding:4px}.integration-card h3{font-size:12px}.modal-actions .button{padding:10px 12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}.toast{margin:0;border:0;top:auto;right:auto}.toast:popover-open{display:flex}@media(max-width:720px){.stats-row div div>span{font-size:9px}.scene-card b{font-size:12px}.scene-card small,.device-room{font-size:10px}.device-room>span{font-size:9px}.device-detail{font-size:10px;min-height:32px}.device-state{font-size:10px}.device-card h3{font-size:15px}.demo-note{font-size:10px}.add-card small{font-size:11px}.card-tools .icon-button{min-width:34px;min-height:36px}.filter-chip{font-size:11px}.scene-card{align-content:start}.weather-card>.muted{font-size:10px}}@media(max-width:410px){.scene-card b{font-size:11px}.scene-card small{font-size:9px}.stats-row div div>span{font-size:8px}.device-card h3{font-size:14px}.device-room>span{font-size:8px}.device-state{font-size:9px}.card-tools .icon-button{min-width:30px}}.home-control-launch{display:flex;align-items:center;gap:6px;margin-top:10px;padding:5px 8px;border:1px solid var(--line);border-radius:6px;background:var(--bg);color:var(--green);font-size:11px}.home-error{color:#93612d}.home-readings{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.home-readings>div{padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--bg)}.home-readings dt{font-size:10px;color:var(--muted)}.home-readings dd{margin:5px 0 0;font-size:14px;font-weight:600;overflow-wrap:anywhere}.google-home-integration .badge{white-space:normal;text-align:center}@media(max-width:410px){.google-home-integration>.row{align-items:flex-start}.google-home-integration .badge{font-size:7px;max-width:70px}.google-home-integration .row>.row{align-items:flex-start}}.home-diagnostic{margin:16px 0;padding:14px;border:1px solid #d9c79e;border-radius:10px;background:#faf0dc;color:#6d5429;overflow-wrap:anywhere}.home-diagnostic>b{font-size:13px}.home-diagnostic p{font-size:11px;margin:8px 0 12px}.home-diagnostic .button{font-size:11px}[data-theme=dark] .home-diagnostic{background:#443b25;color:#f1dbac;border-color:#746039}.sidebar{width:244px;padding:24px 18px 16px;background:var(--surface);gap:0}.brand{margin-bottom:28px;flex-shrink:0;padding:0 6px}.brand-mark{width:38px;height:42px;border-radius:12px 12px 12px 4px}.sidebar-content{flex:1;min-height:0;overflow:visible;display:flex;flex-direction:column;padding:0}.primary-nav{flex-shrink:0}.sidebar .nav-item{position:relative;padding:11px 13px;min-height:43px;border-radius:10px;font-size:12px;gap:11px;margin:2px 0}.sidebar .nav-item.selected:before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;background:var(--green);border-radius:3px}.primary-nav .nav-count{padding:2px 6px;border-radius:6px;background:var(--surface);opacity:1;min-width:23px;text-align:center;font-size:10px}.sidebar-line{margin:20px 10px 18px;flex-shrink:0}.rooms-heading{padding:0 11px;margin-bottom:9px;flex-shrink:0}.rooms-heading .nav-caption{margin:0;font-size:8px;letter-spacing:1.5px}.rooms-heading>.tiny{font-size:10px}.rooms-nav{min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:transparent transparent}.rooms-nav:hover,.rooms-nav:focus-within{scrollbar-color:var(--line) transparent}.rooms-nav::-webkit-scrollbar{width:4px}.rooms-nav::-webkit-scrollbar-thumb{border-radius:4px;background:transparent}.rooms-nav:hover::-webkit-scrollbar-thumb,.rooms-nav:focus-within::-webkit-scrollbar-thumb{background:var(--line)}.rooms-nav .nav-item{font-weight:500;padding-top:9px;padding-bottom:9px;min-height:38px}.rooms-nav .nav-count{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums;opacity:.85}.sidebar-bottom{margin-top:14px;padding-top:9px;border-top:1px solid var(--line);flex-shrink:0}.sidebar-settings>svg:last-child{margin-left:auto;color:var(--muted)}.sidebar .connection-mini{padding:8px 12px 0;border:0;border-radius:0;margin:0;font-size:10px;gap:7px;background:none;color:var(--muted);font-weight:450;white-space:nowrap}.sidebar-version{margin-left:auto;font-size:8px;color:var(--muted);opacity:.8;font-variant-numeric:tabular-nums}.version{margin-top:12px;padding-top:13px}.house-summary{margin-top:24px}.house-summary>.nav-caption{margin:0 10px 12px;font-size:8px;letter-spacing:1.4px}.house-summary dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}.house-summary dl>div{padding:11px 10px;background:var(--bg);border:1px solid var(--line);border-radius:10px;min-width:0}.house-summary dt{display:flex;align-items:flex-start;gap:5px;color:var(--muted);font-size:9px;line-height:1.4;min-height:26px}.house-summary dt svg{color:var(--green);flex-shrink:0;margin-top:1px}.house-summary dd{margin:6px 0 0;font-family:Manrope,sans-serif;font-size:23px;font-weight:700;letter-spacing:-.8px;line-height:1.1;font-variant-numeric:tabular-nums}.house-summary dd small{font:500 11px DM Sans,sans-serif;color:var(--muted);letter-spacing:0}.sidebar>.house-summary{flex-shrink:0;margin-top:20px}.sidebar>.house-summary>.nav-caption{margin:0 11px 10px;font-size:8px;letter-spacing:1.5px}.sidebar>.house-summary dl{display:block;padding:4px 12px;background:var(--bg);border:1px solid var(--line);border-radius:13px}.sidebar>.house-summary dl>div{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:8px 0;background:none;border:0;border-radius:0;min-height:35px}.sidebar>.house-summary dl>div+div{border-top:1px solid var(--line)}.sidebar>.house-summary dt{align-items:center;gap:9px;font-size:10px;line-height:1.4;min-height:0;min-width:0}.sidebar>.house-summary dt svg{margin:0;width:14px;height:14px;color:var(--muted)}.sidebar>.house-summary dd{margin:0;flex-shrink:0;font-size:18px;letter-spacing:-.5px;font-weight:650;white-space:nowrap}.sidebar>.house-summary dd small{font-size:9px}.mobile-house-summary{display:none}.main-shell{width:calc(100% - 244px);margin-left:244px}.topbar{position:sticky;top:0;z-index:30;height:72px;padding:0 28px;gap:16px}.top-actions{gap:12px;min-width:0}.header-voice-clock{display:flex;align-items:center;gap:15px}.header-voice{display:flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:8px 12px;border:1px solid var(--line);border-radius:9px;background:var(--light-green);color:var(--green);font-size:12px;font-weight:650;white-space:nowrap}.header-voice:hover{border-color:var(--green)}.header-voice.listening{animation:pulse 1.4s infinite;border-color:var(--green)}.header-clock{font-size:18px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:.3px;white-space:nowrap;min-width:77px;text-align:center}main{max-width:none;padding:22px 28px 0}.quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}.quick-actions .scene-card,.quick-weather,.quick-connect{min-height:80px;border-radius:12px;min-width:0}.quick-actions .scene-card{padding:14px 16px;gap:11px;flex-wrap:nowrap;align-content:center}.quick-action>.scene-icon{width:38px;height:38px;flex-shrink:0;border-radius:11px}.quick-action>span:nth-child(2){min-width:0}.quick-action b{font-size:13px;line-height:1.3}.quick-action small{font-size:10px;line-height:1.5;margin-top:4px}.quick-action>svg{margin-left:auto;display:block;width:15px;flex-shrink:0;color:var(--muted)}.quick-weather{display:flex;align-items:center;gap:12px;padding:13px 16px;border:1px solid var(--line);background:var(--surface)}.quick-weather>svg{color:#b19b59;flex-shrink:0}.quick-weather-reading{display:flex;flex-direction:column;gap:3px;min-width:0;flex-shrink:0;max-width:47%}.quick-weather-reading strong{font-family:Manrope,sans-serif;font-size:27px;font-weight:650;letter-spacing:-1px;line-height:1.1}.quick-weather-reading>span{font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-weather-detail{display:flex;flex-direction:column;gap:5px;min-width:0;margin-left:auto;font-size:10px;line-height:1.4}.quick-weather-detail>span{overflow:hidden;text-overflow:ellipsis}.quick-weather-detail small{font-size:9px;color:var(--muted);white-space:nowrap}.quick-connect{display:flex;justify-content:center;gap:10px;padding:13px 16px;font-size:13px;line-height:1.4;white-space:normal;text-align:left}.quick-connect>span{min-width:0}.quick-connect>svg:last-child{margin-left:auto;width:15px}.devices-section>.device-heading{margin-bottom:12px}.device-heading h2{font-size:19px}.filter-row{margin-bottom:16px}.device-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.device-card{padding:15px 16px 13px}.device-icon{width:36px;height:36px;border-radius:10px}.device-icon svg{width:22px;height:22px}.device-room{margin:12px 0 6px;font-size:10px;line-height:1.4}.device-room>span{font-size:8px}.device-card h3{font-size:14px;line-height:1.4}.device-detail:not(.device-error){display:none}.device-error{margin-top:6px;min-height:0;line-height:1.5}.device-bottom{margin-top:14px;padding-top:11px;min-height:35px}.home-control-launch{margin-top:9px;padding:4px 8px;min-height:29px}.add-card{min-height:168px;gap:9px}.add-card>span{width:35px;height:35px}.consumption-heading{margin:2px 0 22px}footer{margin-top:26px}@media(max-width:1190px){.sidebar{width:216px;padding-left:14px;padding-right:14px}.main-shell{width:calc(100% - 216px);margin-left:216px}.topbar{padding:0 22px}.topbar .today{display:none}main{padding:20px 22px 0}.quick-actions{gap:10px}.quick-actions .scene-card,.quick-weather,.quick-connect{padding:12px;gap:8px;min-height:76px}.quick-action>.scene-icon{width:32px;height:34px}.quick-action b,.quick-connect{font-size:12px}.quick-action small{font-size:9px}.quick-action>svg,.quick-connect>svg:last-child{display:none}.quick-weather>svg{width:21px}.quick-weather-detail small{display:none}.quick-weather-reading strong{font-size:25px}.device-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}}@media(max-width:980px){.sidebar{width:200px;padding:22px 12px 14px}.brand{font-size:19px;gap:9px}.main-shell{width:calc(100% - 200px);margin-left:200px}.topbar{padding:0 16px}.breadcrumb{gap:7px;font-size:11px}.breadcrumb>span,.breadcrumb>svg:nth-of-type(2){display:none}.top-actions{gap:8px}.header-voice-clock{gap:10px}.header-clock{font-size:16px;min-width:70px}.header-voice{font-size:11px;padding:8px 10px}main{padding:18px 16px 0}.quick-actions .scene-card,.quick-weather,.quick-connect{min-height:74px;padding:10px}.quick-action>.scene-icon{width:27px;height:30px}.quick-action>.scene-icon svg{width:18px;height:18px}.quick-action b,.quick-connect{font-size:11px}.quick-action small{font-size:8px}.quick-weather{gap:7px;flex-wrap:wrap;align-content:center}.quick-weather>svg{display:none}.quick-weather-reading{max-width:none}.quick-weather-reading strong{font-size:23px}.quick-weather-detail{font-size:9px;max-width:65px}.device-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.sidebar{display:none}.main-shell{width:100%;margin-left:0}.topbar{height:64px;padding:0 16px;gap:12px}main{padding:16px 16px 80px}.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:18px}.quick-actions .scene-card,.quick-weather,.quick-connect{min-height:66px;padding:11px 12px;gap:9px}.quick-action>.scene-icon{width:31px;height:33px}.quick-action b,.quick-connect{font-size:12px}.quick-action small{font-size:9px}.quick-weather{flex-wrap:nowrap}.quick-weather>svg{display:block;width:22px}.quick-weather-reading{max-width:50%}.quick-weather-reading strong{font-size:25px}.quick-weather-detail{font-size:9px;max-width:none}.quick-weather-detail small{display:none}.quick-connect{justify-content:flex-start}.quick-connect>svg:first-child{width:20px;margin:0 3px}.device-heading{gap:9px}.device-heading h2{font-size:17px}.device-heading>.row:last-child{width:100%}.search{min-height:36px}.search input{font-size:12px}.filter-row{gap:7px;margin-bottom:14px}.filter-chip{padding:7px 11px}.device-grid{gap:10px}.device-card{padding:13px 12px 11px}.device-icon{width:32px;height:33px}.device-icon svg{width:20px;height:20px}.device-room{margin:10px 0 6px;font-size:9px}.device-room>span{font-size:8px}.device-card h3{font-size:14px}.device-bottom{margin-top:12px;padding-top:9px}.card-tools .icon-button{min-width:29px;min-height:34px;padding:5px}.device-state{font-size:9px}.add-card{min-height:164px}.mobile-house-summary{display:block}.mobile-house-summary .house-summary{margin:18px 0 22px}.mobile-house-summary .house-summary dt{font-size:11px;min-height:17px}.mobile-house-summary .house-summary dl>div{padding:13px}.consumption-heading h1{font-size:24px}.demo-note{margin:8px 0 12px}.toast{left:50%;max-width:calc(100% - 30px)}}@media(max-width:420px){.topbar{padding:0 12px;gap:10px;height:60px}.breadcrumb>b{display:none}.top-actions,.header-voice-clock{gap:8px}.header-voice{width:100px;min-height:34px;padding:7px 8px;gap:6px;font-size:11px}.header-voice>span{overflow:hidden;text-overflow:ellipsis}.header-voice>svg{width:16px}.header-clock{font-size:14px;min-width:63px}.top-actions>.icon-button{min-width:29px;padding:5px}.top-actions>.avatar{width:31px;height:31px;font-size:10px}main{padding:14px 12px 78px}.quick-actions{gap:8px;margin-bottom:16px}.quick-actions .scene-card,.quick-weather,.quick-connect{padding:9px 10px;gap:8px;min-height:64px}.quick-action>.scene-icon{width:27px;height:29px}.quick-action b,.quick-connect{font-size:11px}.quick-action small{font-size:8px}.quick-weather>svg{display:none}.quick-weather-reading strong{font-size:24px}.quick-weather-reading>span{font-size:9px}.quick-weather-detail{font-size:9px}.quick-connect>svg:first-child{width:17px;margin:0 2px}.device-card{padding:12px 10px 10px}.card-tools .icon-button{min-width:26px;padding:4px}.device-icon{width:28px;height:31px}.device-card h3{font-size:13px}.device-room{font-size:8px}.device-room>span{font-size:7px}.device-state{font-size:8px}.device-heading h2{font-size:16px}.device-heading .outlined{min-width:36px;min-height:36px}}@media(min-width:721px)and (max-height:760px){.sidebar{padding-top:16px;padding-bottom:12px}.sidebar .brand{margin-bottom:18px;font-size:19px}.sidebar .brand-mark{width:34px;height:38px}.sidebar .nav-item{min-height:37px;padding:8px 12px;font-size:11px}.sidebar .sidebar-line{margin-top:14px;margin-bottom:12px}.sidebar .rooms-heading{margin-bottom:6px}.sidebar .rooms-nav .nav-item{min-height:34px;padding-top:7px;padding-bottom:7px}.sidebar>.house-summary{margin-top:14px}.sidebar>.house-summary>.nav-caption{margin-bottom:7px}.sidebar>.house-summary dl{padding:3px 11px}.sidebar>.house-summary dl>div{min-height:31px;padding:6px 0}.sidebar>.house-summary dd{font-size:17px}.sidebar-bottom{margin-top:10px;padding-top:6px}.sidebar .connection-mini{padding-top:6px;font-size:9px}}@media(min-width:721px)and (max-height:620px){.sidebar{padding-top:12px;padding-bottom:12px}.sidebar .brand{margin-bottom:14px;font-size:18px}.sidebar .brand-mark{width:31px;height:34px}.sidebar .brand small{font-size:7px;letter-spacing:1.5px}.sidebar .nav-item{min-height:34px;padding-top:7px;padding-bottom:7px;margin:1px 0}.sidebar .sidebar-line{margin-top:10px;margin-bottom:9px}.sidebar .rooms-heading{margin-bottom:5px}.sidebar .rooms-nav .nav-item{min-height:32px;padding-top:6px;padding-bottom:6px}.sidebar>.house-summary{margin-top:10px}.sidebar>.house-summary>.nav-caption{margin-bottom:6px}.sidebar>.house-summary dl{padding:2px 11px}.sidebar>.house-summary dl>div{min-height:28px;padding:5px 0}.sidebar>.house-summary dd{font-size:16px}.sidebar-bottom{margin-top:8px;padding-top:5px}}.voice-panel{position:fixed;top:84px;right:24px;width:380px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 104px);overflow:auto;z-index:60;padding:20px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:16px;box-shadow:0 14px 48px #142b2230;font-size:12px}.voice-panel-heading{display:flex;align-items:center;gap:10px;margin-bottom:16px}.voice-panel-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:var(--light-green);color:var(--green)}.voice-panel-heading h2{font-size:17px;letter-spacing:-.4px}.voice-panel-heading p{margin-top:4px;color:var(--muted);font-size:11px}.voice-panel-heading>.icon-button{margin-left:auto}.voice-feedback{margin:0;display:flex;align-items:center;gap:8px;padding:13px;border-radius:10px;border:1px solid var(--line);background:var(--bg);font-size:12px;line-height:1.6}.voice-active{color:var(--green);background:var(--light-green)}.voice-problem{display:block;background:#faf0dc;border-color:#e5d4ad;color:#725724}.voice-problem strong{display:block;font-size:12px}.voice-problem p{margin-top:7px;font-size:11px;line-height:1.7}.voice-transcript{margin-top:14px;padding:11px 12px;border-left:2px solid var(--green);background:var(--bg);border-radius:0 7px 7px 0;overflow-wrap:anywhere}.voice-transcript>span{font-size:8px;letter-spacing:1.3px;color:var(--muted)}.voice-transcript p{font-size:12px;line-height:1.6;margin-top:5px}.voice-choices{display:flex;flex-direction:column;gap:7px;margin-top:12px}.voice-choices button{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;border:1px solid var(--line);border-radius:9px;padding:10px 12px;background:var(--bg);font-size:12px;color:var(--text)}.voice-choices button:hover{border-color:var(--green)}.voice-choices b,.voice-choices small{display:block;overflow-wrap:anywhere}.voice-choices small{font-size:10px;line-height:1.5;color:var(--muted);margin-top:3px}.voice-panel-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.voice-panel-actions .button{font-size:11px;padding:10px 12px;min-height:38px}.voice-caption{margin:9px 0 0;font-size:9px;color:var(--muted);line-height:1.6}.voice-examples{display:flex;flex-direction:column;gap:5px;margin-top:17px;font-size:11px;line-height:1.6;color:var(--muted)}.voice-examples b{font-size:10px;color:var(--text);font-weight:600}.voice-typed{margin-top:17px;padding-top:13px;border-top:1px solid var(--line)}.voice-typed summary{font-size:11px;color:var(--green);cursor:pointer;font-weight:600}.voice-typed form{display:flex;align-items:flex-end;gap:8px;margin-top:12px}.voice-typed label{display:block;flex:1;min-width:0;font-size:10px;color:var(--muted)}.voice-typed input{display:block;width:100%;min-height:38px;margin-top:6px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--text);font-size:12px}.voice-typed .button{min-height:38px;padding:9px 11px;font-size:11px}.voice-diagnostic{display:flex;align-items:center;gap:6px;margin-top:14px;padding:4px 0;border:0;background:none;color:var(--muted);font-size:10px;text-align:left}[data-theme=dark] .voice-problem{background:#443b25;border-color:#746039;color:#f1dbac}@media(max-width:720px){.voice-panel{top:76px;right:12px;width:360px;max-height:calc(100dvh - 94px);padding:17px}}@media(max-width:420px){.voice-panel{top:70px;max-height:calc(100dvh - 84px)}.voice-panel-heading h2{font-size:16px}.voice-panel-actions .button{font-size:10px}}
