:root{color-scheme:dark;--bg:#141718;--side:#101314;--card:#1c2021;--card-hi:#222727;--line:#303535;--text:#f2f2eb;--muted:#a3aaa6;--dim:#818b87;--gold:#cbb99a;--teal:#8cbdb3;--radius:20px;font-family:'Avenir Next',Avenir,'Segoe UI',sans-serif;font-synthesis:none;font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,select{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button{border:0}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--gold);outline-offset:5px}button:disabled{cursor:default;opacity:.45}svg.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;flex:none}button span[data-icon],a span[data-icon]{display:inline-flex}h1,h2,h3,p{margin:0}h1{font-size:34px;line-height:1.25;font-weight:500;letter-spacing:-1.3px}h2{font-size:21px;letter-spacing:-.5px;font-weight:500}h3{font-size:17px;font-weight:500}small{font-size:13px}button{transition:background .18s,transform .18s}button:active{transform:translateY(1px)}button:hover{filter:brightness(1.1)}.skip-link{position:fixed;top:-100px;left:20px;z-index:100;background:var(--gold);padding:14px;color:#171b1b}.skip-link:focus{top:12px}.sidebar{position:fixed;left:0;top:0;bottom:0;width:226px;background:var(--side);border-right:1px solid #262c2c;display:flex;flex-direction:column;padding:39px 22px 22px;z-index:20}.brand{display:flex;align-items:center;gap:12px;padding-left:12px;font-size:31px;line-height:1;font-weight:500;letter-spacing:-1.4px}.brand-mark{width:44px;height:44px;color:var(--gold);display:grid;place-items:center;border:1px solid #6b6455;border-radius:12px}.brand-mark .icon{width:27px;height:27px}.brand-sub{display:block;font-size:10px;letter-spacing:3px;font-weight:400;margin-top:8px}.residence-label{font-size:10px;letter-spacing:1.5px;color:var(--dim);margin:53px 8px 20px;display:flex;align-items:center;gap:7px}.tiny-line{width:12px;height:1px;background:var(--gold)}.desktop-nav{display:flex;flex-direction:column;gap:8px}.side-item{display:flex;align-items:center;gap:13px;width:100%;min-height:49px;padding:12px 14px;border-radius:11px;background:transparent;color:#a3aaa6;font-size:14px;text-align:left}.side-item.active{background:#2b2d29;color:#e1d0b1}.side-item.active .icon{color:var(--gold)}.side-item:hover{background:#202525}.sidebar-bottom{margin-top:auto;padding-top:40px}.weather-link{display:flex;gap:10px;align-items:center;font-size:13px;color:#a1aba4;padding:20px 14px}.weather-link .icon{width:15px;height:15px}.owner{border-top:1px solid #2a3030;margin-top:17px;padding-top:24px;display:flex;gap:11px;align-items:center;font-size:14px}.avatar{height:36px;width:36px;border:1px solid #596055;border-radius:50%;display:grid;place-items:center;font-size:12px;color:var(--gold);flex:none}.owner small{display:block;font-size:11px;color:var(--dim);margin-top:5px}.app-shell{margin-left:226px;max-width:1900px}.topbar{height:88px;padding:0 40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #262c2c;gap:15px}.breadcrumb{font-size:11px;letter-spacing:1.5px;color:var(--dim)}.breadcrumb span{margin:0 18px;color:#48524d}.breadcrumb strong{font-weight:400;color:#b9c0b9}.top-actions{display:flex;align-items:center;gap:25px}.preview-label{display:flex;align-items:center;gap:8px;color:var(--gold);font-size:12px;background:transparent;min-height:40px;white-space:nowrap}.preview-dot{height:6px;width:6px;border:1px solid var(--gold);border-radius:50%}.icon-button{height:40px;width:40px;border-radius:50%;display:grid;place-items:center;background:transparent;color:#b6beb7;position:relative;flex:none}.icon-button:hover{background:#2a3030}.icon-button i{position:absolute;width:4px;height:4px;background:var(--gold);border-radius:50%;top:8px;right:9px}.mobile-brand{display:none}main{padding:30px 40px 10px;min-height:calc(100vh - 160px);outline:none}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:20px}.page-heading p{margin-top:7px;color:var(--muted);font-size:14px}.page-date{color:#a6afa7;font-size:13px;text-align:right;line-height:1.8}.page-date span{display:block;font-size:11px;color:var(--dim);letter-spacing:1.1px}.hero{min-height:285px;position:relative;border-radius:22px;overflow:hidden;background:#272e2d;border:1px solid #3b423c;isolation:isolate}.hero-image{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;object-position:center 55%;z-index:-3}.hero:after{content:'';position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(16,24,23,.92),rgba(16,24,23,.65) 32%,rgba(16,24,23,.03) 70%),linear-gradient(0deg,rgba(8,15,17,.5),transparent 40%)}.hero-copy{padding:34px 35px;width:62%}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--gold);display:block}.hero h2{font-family:Georgia,'Times New Roman',serif;font-size:41px;line-height:1.13;letter-spacing:-1px;font-weight:400;margin-top:14px}.hero h2 em{font-weight:400;color:#d9d4c6}.hero-stats{display:flex;gap:30px;margin-top:26px}.hero-stat small{display:block;color:#c3c9c0;font-size:12px;margin-bottom:5px}.hero-stat strong{font-size:26px;font-weight:400;letter-spacing:-1px}.hero-stat strong span{font-size:16px;color:#c2ccc5;margin-left:2px}.hero-stat+.hero-stat{border-left:1px solid #65746b55;padding-left:28px}.image-caption{position:absolute;right:20px;top:18px;background:#14202070;backdrop-filter:blur(12px);padding:7px 11px;border:1px solid #ffffff22;border-radius:20px;color:#dde3de;font-size:10px}.hero .hero-link{position:absolute;right:24px;bottom:25px;background:#15272580;border:1px solid #ffffff55;color:#f4f4ed;backdrop-filter:blur(10px);border-radius:9px;font-size:12px;padding:11px 17px}.scenes-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0 29px}.scene-chip{display:flex;align-items:center;gap:12px;padding:14px 17px;min-height:62px;background:#1b2021;border:1px solid #323736;border-radius:13px;text-align:left;font-size:14px}.scene-chip .icon{color:#a8b1ab;width:20px}.scene-chip.active{background:#302f29;border-color:#7a6d55;color:#e7d3ac}.scene-chip.active .icon{color:var(--gold)}.scene-chip .scene-mark{margin-left:auto;font-size:11px;color:#d3be99}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.section-heading .subtle{font-size:13px;color:var(--muted)}.text-button{color:var(--gold);background:none;padding:8px 0;font-size:13px;min-height:40px}.dashboard-grid{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:18px;margin-bottom:29px}.card{background:linear-gradient(135deg,#222727,#1b2021);border:1px solid #333a37;border-radius:var(--radius);padding:22px;min-width:0}.card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px;gap:12px}.card-label{display:flex;align-items:center;gap:9px;font-size:15px;color:#e8e9df}.card-label .icon{color:var(--gold);width:19px;height:19px}.source-tag{font-size:10px;letter-spacing:.3px;color:#acb6ad;border:1px solid #424c44;border-radius:5px;padding:4px 6px;white-space:nowrap}.large-number{font-size:37px;font-weight:400;letter-spacing:-1.6px;line-height:1.2}.large-number span{font-size:18px;letter-spacing:0;color:#bec9bd;margin-left:5px}.reading-caption{font-size:12px;color:var(--muted);margin-top:6px}.number-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.trend{font-size:11px;color:var(--teal);background:#2b3c37;padding:6px 9px;border-radius:7px;white-space:nowrap}.mini-chart{height:65px;width:100%;display:block;margin:12px 0 8px;overflow:visible}.chart-grid{stroke:#3c4541;stroke-width:1;stroke-dasharray:3 5}.chart-stroke{stroke:var(--teal);stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}.card-bottom{border-top:1px solid #36403a;padding-top:12px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted);gap:9px}.card-bottom strong{color:#dddcc8;font-weight:400}.climate-card .card-head{margin-bottom:7px}.thermostat{height:135px;position:relative;display:flex;align-items:center;justify-content:center;gap:12px}.dial{width:142px;height:130px;position:relative;display:grid;place-items:center}.dial svg{width:142px;height:142px;position:absolute;top:-4px;left:0;transform:rotate(135deg)}.dial circle{fill:none;stroke-width:3;stroke-linecap:round}.dial .track{stroke:#42463e;stroke-dasharray:259 345}.dial .progress{stroke:var(--gold);stroke-dasharray:187 345;transition:stroke-dasharray .3s}.dial-value{z-index:1;text-align:center;padding-top:7px}.dial-value strong{font-size:36px;font-weight:400;letter-spacing:-1.6px}.dial-value small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.round-control{height:33px;width:33px;display:grid;place-items:center;border-radius:50%;border:1px solid #535b50;background:#2c322d;color:#d5d4be;font-size:20px;flex:none}.round-control .icon{width:15px;height:15px}.climate-mode{display:flex;justify-content:center;gap:6px;color:var(--gold);font-size:11px;margin-bottom:16px}.climate-mode .icon{width:13px;height:13px}.pool-card{position:relative;overflow:hidden}.pool-card:before{content:'';position:absolute;right:-40px;top:45px;width:200px;height:150px;background:radial-gradient(ellipse,#56999824,transparent 65%);pointer-events:none}.pool-surface{height:65px;position:relative;overflow:hidden;margin:10px -5px 10px}.pool-surface svg{width:100%;height:100%;stroke:#6daca830;fill:none;stroke-width:1.3}.pool-surface svg path{animation:water 10s ease-in-out infinite alternate}.pool-badge{position:absolute;left:5px;top:28px;color:#b5d2c6;font-size:11px}.pool-badge .tiny-dot{display:inline-block;background:#85b3a3;width:5px;height:5px;border-radius:50%;margin-right:6px}.rooms-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.room-card{background:#1b2021;border:1px solid #303936;border-radius:16px;padding:20px;text-align:left;min-width:0;transition:border-color .2s,transform .2s}.room-card:hover{border-color:#72745e;transform:translateY(-2px)}.room-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.room-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#33392f;color:#c5c3a6}.room-top strong{font-size:24px;font-weight:400}.room-top strong small{font-size:14px;color:#adb8a9}.room-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:8px}.room-bottom span{font-size:13px;color:var(--muted)}.room-bottom h3{font-size:16px;margin-bottom:6px}.room-devices{display:flex;gap:6px;color:#bac9b8}.room-devices .icon{width:16px;height:16px}.app-footer{padding:30px 40px 24px;display:flex;justify-content:space-between;gap:15px;color:#8e9990;font-size:10px;letter-spacing:.7px}.app-footer i{font-style:normal;margin:0 8px}.mobile-nav{display:none}.view-intro{margin-bottom:28px}.view-intro p{font-size:15px;color:var(--muted);margin-top:9px;max-width:700px;line-height:1.7}.two-column{display:grid;grid-template-columns:1.6fr 1fr;gap:20px}.three-column{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.spaced{margin-top:24px}.tabs{display:flex;gap:5px;background:#131817;border:1px solid #3b433d;padding:4px;border-radius:10px;width:max-content;max-width:100%}.tabs button{font-size:12px;padding:8px 12px;background:transparent;color:var(--muted);border-radius:7px;min-height:36px}.tabs button.active{background:#384037;color:#e0dbc3}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:25px 0}.stat-grid>div{border-left:1px solid #48513f;padding-left:16px}.stat-grid small{color:var(--muted);font-size:12px}.stat-grid strong{font-size:27px;font-weight:400;display:block;margin-top:9px}.stat-grid strong span{font-size:13px;color:var(--muted)}.big-chart{height:235px;width:100%;display:block;touch-action:pan-y;cursor:crosshair}.chart-frame{position:relative}.graph-axis{display:flex;justify-content:space-between;color:#abb4a7;font-size:12px}.chart-tooltip{min-height:26px;text-align:center;color:var(--gold);font-size:14px;margin-top:9px}.legend{display:flex;gap:20px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:20px}.legend i{display:inline-block;height:7px;width:7px;background:var(--teal);border-radius:50%;margin-right:7px}.legend .gold{background:var(--gold)}.flow-diagram{position:relative;min-height:210px;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:22px;margin:20px 0}.flow-node{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:12px;color:var(--muted);text-align:center}.flow-node>span{display:grid;place-items:center;height:54px;width:54px;border:1px solid #6b775e;border-radius:18px;background:#28312b;color:var(--gold)}.flow-node strong{font-size:19px;color:#e1e0cb;font-weight:400}.flow-diagram:before{content:'';position:absolute;top:80px;left:15%;right:15%;height:1px;background:linear-gradient(90deg,#cbbb92,#8cbdb3);opacity:.6}.flow-center>span{width:70px;height:70px;background:#3c4735;border-color:#9a9a73}.flow-center .icon{width:29px;height:29px}.detail-list{list-style:none;padding:0;margin:0}.detail-list li{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #333e36;padding:18px 0;font-size:14px;color:var(--muted)}.detail-list li:last-child{border-bottom:0}.detail-list strong{color:#e6e5d5;font-weight:400;white-space:nowrap}.button-primary{border-radius:9px;padding:12px 18px;background:var(--gold);color:#232820;font-size:14px;min-height:44px}.button-secondary{border:1px solid #58634f;border-radius:9px;padding:11px 17px;background:#2a332b;color:#e4dfc6;font-size:14px;min-height:44px}.full-width{width:100%}.muted-note{color:var(--muted);font-size:13px;line-height:1.7;margin-top:17px}.control-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:22px 0}.control-row small{display:block;color:var(--muted);font-size:12px;margin-top:6px}.switch{width:44px;height:26px;border-radius:20px;background:#404941;position:relative;flex:none;border:1px solid #62705c}.switch:before{content:'';position:absolute;top:4px;left:4px;width:16px;height:16px;border-radius:50%;background:#b2bbaa;transition:transform .2s}.switch[aria-checked=true]{background:#b3ba8b}.switch[aria-checked=true]:before{background:#293626;transform:translateX(18px)}input[type=range]{width:100%;accent-color:var(--gold);height:30px;cursor:pointer}.range-head{display:flex;justify-content:space-between;margin:20px 0 8px;font-size:14px}.range-head output{color:var(--gold)}.cover-visual{width:105px;height:115px;border:5px solid #626e5c;margin:24px auto 14px;position:relative;background:linear-gradient(#4e6e60,#a0ac82);border-radius:3px;overflow:hidden}.cover-visual:after{content:'';position:absolute;left:50%;top:0;bottom:0;width:3px;background:#687660}.blind{position:absolute;inset:0 0 auto;height:var(--blind-height,25%);background:repeating-linear-gradient(#a5a994 0 6px,#5f6b5a 7px 8px);border-bottom:3px solid #c7c7ac;transition:height .3s}.forecast{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-top:25px}.forecast div{text-align:center;border-right:1px solid #384335;padding:12px 2px}.forecast div:last-child{border:0}.forecast small{color:var(--muted);font-size:12px}.forecast .icon{display:block;margin:18px auto;color:var(--gold);width:28px;height:28px}.forecast strong{font-size:21px;font-weight:400}.weather-large{display:flex;align-items:center;gap:25px;margin:30px 0}.weather-large>.icon{width:80px;height:80px;color:var(--gold)}.weather-large strong{font-size:66px;font-weight:300;letter-spacing:-3px}.weather-large small{display:block;color:var(--muted);font-size:15px}.scenario-card{min-height:210px;display:flex;flex-direction:column}.scenario-card>span{color:var(--gold);margin-bottom:20px}.scenario-card h3{font-size:20px}.scenario-card p{color:var(--muted);font-size:14px;line-height:1.7;margin:12px 0 24px}.scenario-card button{margin-top:auto;align-self:flex-start}.connection{display:flex;align-items:center;gap:14px;padding:20px 0;border-bottom:1px solid #394335}.connection:last-child{border:0}.connection>span:first-child{display:grid;place-items:center;width:46px;height:46px;background:#2b352c;border-radius:13px;color:var(--gold);flex:none}.connection>div{flex:1;min-width:0}.connection h3{font-size:15px}.connection small{display:block;color:var(--muted);font-size:12px;margin-top:7px;line-height:1.6}.connection .source-tag{border-color:#6a634b;color:#cebc92}.references a{display:block;padding:16px 0;border-bottom:1px solid #35402f;color:#e1d4b3;font-size:15px}.references a small{display:block;font-size:12px;color:var(--muted);margin-top:7px;line-height:1.7}.toggle-option{display:flex;align-items:center;justify-content:space-between;padding:18px 0;gap:16px}.toggle-option small{display:block;color:var(--muted);margin-top:5px;font-size:12px}dialog{color:var(--text);background:#202725;border:1px solid #58604e;border-radius:22px;padding:28px;width:min(480px,calc(100% - 28px));max-height:calc(100dvh - 40px);box-shadow:0 30px 150px #000a}dialog::backdrop{background:#07100dd0;backdrop-filter:blur(8px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.dialog-header h2{font-size:26px;margin-top:9px}.dialog-header .eyebrow{font-size:10px}.dialog-note{border-top:1px solid #414b3a;margin-top:24px;padding-top:18px;color:#b2baa8;font-size:12px;line-height:1.7}dialog p{font-size:15px;line-height:1.8;color:#b7c1b0}.dialog-controls .thermostat{height:180px}.dialog-controls .dial{transform:scale(1.13);margin:0 18px}.dialog-controls .card-bottom{margin-top:15px}.toast{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translateX(-50%);padding:14px 21px;border-radius:12px;border:1px solid #707a5d;background:#303d2e;color:#ede8d6;z-index:100;font-size:13px;box-shadow:0 8px 50px #0007;max-width:90vw;text-align:center}.toast[hidden]{display:none}.view-enter{animation:appear .35s ease both}.light-mode{--bg:#ebeee8;--side:#e0e5dd;--text:#263326;--muted:#52624e;--gold:#6d613e;--card:#f1f4ed}.light-mode .card,.light-mode .room-card,.light-mode .scene-chip{background:#f0f3eb;color:#263326;border-color:#c4cbbf}.light-mode .large-number,.light-mode h2,.light-mode h3,.light-mode .card-label,.light-mode .room-top strong{color:#293626}.light-mode .topbar,.light-mode .sidebar{border-color:#c6cebf}.light-mode .side-item{color:#53634b}.light-mode .side-item.active{background:#c6d0ba;color:#31412b}.light-mode .breadcrumb strong{color:#46563e}.light-mode .owner,.light-mode .weather-link{color:#46563e}.light-mode .hero h2{color:#f2f2eb}.light-mode .hero-stat strong{color:#fff}.light-mode .hero .eyebrow{color:#d1bd96}.comfortable{font-size:18px}.comfortable .card-label,.comfortable .side-item,.comfortable .room-bottom h3{font-size:17px}.comfortable .reading-caption,.comfortable .card-bottom,.comfortable .room-bottom span,.comfortable .muted-note{font-size:15px}@keyframes appear{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes water{from{transform:translateX(-5px)}to{transform:translateX(8px)}}
@media(min-width:1700px){main{padding:36px 55px}.hero{min-height:330px}.hero-copy{padding:42px}.hero h2{font-size:49px}.dashboard-grid{gap:24px}.card{padding:28px}.topbar{padding:0 55px}}
@media(max-width:1200px){.sidebar{width:190px;padding-left:15px;padding-right:15px}.brand{font-size:27px;padding-left:4px;gap:9px}.brand-mark{width:37px;height:39px}.brand-sub{font-size:9px;letter-spacing:2.5px}.side-item{font-size:13px;padding-left:11px;gap:10px}.app-shell{margin-left:190px}main{padding:26px}.topbar{padding:0 26px}.dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.card{padding:18px}.card-label{font-size:14px;gap:6px}.source-tag{font-size:9px}.thermostat{gap:5px}.dial{width:120px}.dial svg{left:-11px}.round-control{width:29px;height:29px}.hero h2{font-size:36px}.scenes-strip{gap:9px}.scene-chip{padding:12px;font-size:13px;gap:9px}.scene-mark{display:none}.hero-copy{width:65%}.hero-stats{gap:19px}.hero-stat+.hero-stat{padding-left:18px}.breadcrumb{font-size:10px}.two-column{grid-template-columns:1.3fr 1fr}}
@media(max-width:1000px) and (min-width:761px){.dashboard-grid{grid-template-columns:1fr 1fr}.energy-card{grid-column:1/-1}.energy-card .mini-chart{height:70px}.rooms-grid{grid-template-columns:repeat(2,1fr)}.hero h2{font-size:33px}.hero-link{display:none}.hero-copy{width:90%}.page-date{display:none}.scene-chip{flex-direction:column;gap:9px;font-size:12px}.two-column{grid-template-columns:1fr}.three-column{grid-template-columns:1fr 1fr}.top-actions{gap:8px}.breadcrumb span{margin:0 8px}}
@media(max-width:760px){.sidebar{display:none}.app-shell{margin-left:0}.topbar{height:72px;padding:0 20px;position:sticky;top:0;background:#141b17eb;backdrop-filter:blur(20px);z-index:15}.breadcrumb{display:none}.mobile-brand{display:flex;align-items:center;gap:8px;font-size:23px;letter-spacing:-1px}.mobile-brand>span[data-icon]{display:grid;place-items:center;color:var(--gold)}.mobile-brand>span:last-child{font-size:11px;letter-spacing:0;margin:5px 0 0 -4px;color:#b3bda8}.top-actions{gap:8px}.preview-label{font-size:10px;gap:5px}.icon-button{height:33px;width:33px}.preview-dot{height:5px;width:5px}main{padding:25px 20px 8px}.page-heading{margin-bottom:22px}.page-heading h1{font-size:27px;letter-spacing:-1px}.page-heading p{font-size:13px}.page-date{display:none}.hero{min-height:315px;border-radius:18px}.hero-image{object-position:63% 50%}.hero:after{background:linear-gradient(90deg,#0b1816dc,#0b181654 75%),linear-gradient(0deg,#0b1816d4,transparent 75%)}.hero-copy{width:100%;padding:30px 23px}.hero .eyebrow{font-size:9px;letter-spacing:1.7px}.hero h2{font-size:33px;line-height:1.2;margin-top:17px}.hero-stats{gap:22px;margin-top:30px}.hero-stat+.hero-stat{padding-left:21px}.hero-stat strong{font-size:25px}.hero-stat small{font-size:10px}.hero-stat strong span{font-size:13px}.image-caption{top:auto;bottom:12px;right:14px;font-size:9px;padding:4px 7px;border:0;background:#0c221a55}.hero .hero-link{display:none}.scenes-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:15px 0 27px}.scene-chip{flex-direction:column;justify-content:center;gap:9px;padding:12px 4px;font-size:10px;min-height:75px;border-radius:11px}.scene-chip .icon{width:21px;height:21px}.section-heading h2{font-size:19px}.section-heading .text-button{font-size:12px}.dashboard-grid{grid-template-columns:1fr;gap:14px;margin-bottom:28px}.card{padding:22px}.card-head{margin-bottom:20px}.card-label{font-size:16px;gap:9px}.source-tag{font-size:11px}.energy-card .mini-chart{height:80px}.thermostat{height:150px;gap:25px}.dial{width:142px}.dial svg{left:0}.round-control{width:36px;height:36px}.climate-card .card-bottom{margin-top:4px}.pool-surface{height:75px}.large-number{font-size:39px}.reading-caption,.card-bottom{font-size:13px}.rooms-grid{grid-template-columns:1fr 1fr;gap:11px}.room-card{padding:16px 13px}.room-top{margin-bottom:25px}.room-icon{width:32px;height:32px;border-radius:9px}.room-icon .icon{width:19px;height:19px}.room-top strong{font-size:23px}.room-top strong small{font-size:12px}.room-bottom{display:block}.room-bottom h3{font-size:15px}.room-bottom span{font-size:12px}.room-devices{margin-top:13px}.app-footer{padding:25px 20px 106px;display:block;text-align:center;font-size:9px;line-height:2.2}.app-footer>span{display:block}.mobile-nav{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,1fr);padding:8px 6px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #394638;background:#17201bf5;backdrop-filter:blur(18px);z-index:30}.mobile-nav button{min-height:50px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border-radius:10px;background:transparent;color:#a2b19f;font-size:10px}.mobile-nav button.active{color:#e6d0a8;background:#35413180}.mobile-nav .icon{height:21px;width:21px}.two-column,.three-column{grid-template-columns:1fr}.view-intro h1{font-size:29px}.view-intro p{font-size:14px}.stat-grid{gap:10px}.stat-grid>div{padding-left:10px}.stat-grid small{font-size:11px}.stat-grid strong{font-size:24px}.big-chart{height:190px}.forecast{grid-template-columns:repeat(3,1fr);gap:14px}.forecast div:nth-child(3){border:0}.toast{bottom:95px;left:50%;width:max-content;max-width:calc(100% - 30px);font-size:12px}.connection .source-tag{font-size:9px}.light-mode .topbar{background:#e0e5ddeb}.light-mode .mobile-nav{background:#e0e5ddf5}.light-mode .mobile-nav button{color:#57664b}.light-mode .mobile-nav button.active{background:#becbb1;color:#283623}dialog{padding:23px}}
@media(max-width:359px){main{padding:22px 14px}.topbar{padding:0 12px}.mobile-brand{font-size:21px;gap:5px}.mobile-brand>span:last-child{display:none}.top-actions{gap:5px}.page-heading h1{font-size:24px}.hero-copy{padding:28px 19px}.hero h2{font-size:30px}.hero-stats{gap:15px}.hero-stat+.hero-stat{padding-left:14px}.hero-stat strong{font-size:24px}.source-tag{font-size:9px}.card{padding:18px}.room-top strong{font-size:20px}.room-icon{width:29px;height:29px}.flow-diagram{gap:9px}.stat-grid strong{font-size:21px}.rooms-grid{gap:9px}.card-label{font-size:15px}.tabs button{padding:8px 9px}.connection{gap:10px}.connection .source-tag{max-width:70px;text-align:center}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

[data-chart-dot][hidden]{display:none}.card-head{flex-wrap:wrap}
/* Sources réelles : même composition, états explicites et commandes indisponibles. */
.source-status{font-size:11px;line-height:1.65;color:#aab7ae;margin:12px 0;overflow-wrap:anywhere}.source-status.is-error{color:#dfbd98}.hero-sources{display:flex;flex-wrap:wrap;column-gap:24px;row-gap:0;margin:0 3px}.hero-sources .source-status{margin:8px 0 0;flex:1 1 320px}.pending-card{display:flex;flex-direction:column}.pending-symbol{display:grid;place-items:center;min-height:105px;color:#7d8c80}.pending-symbol .icon{width:48px;height:48px;stroke-width:1}.pending-card>.text-button{align-self:flex-start;margin-top:auto}.pending-card>.muted-note{margin:0 0 12px}.measurement-only{height:138px}.measurement-only .track{stroke:#6b765f}.current-pool{display:flex;flex-direction:column;gap:8px}.current-pool>span{color:var(--muted);font-size:12px}.current-pool>strong{font-size:34px;font-weight:400;letter-spacing:-1px}.empty-chart{min-height:220px;display:grid;place-items:center;text-align:center;padding:25px;color:var(--muted);font-size:14px;border-block:1px solid #384335;margin:20px 0}.period-caption{font-size:11px;line-height:1.7;color:var(--muted);margin:15px 0}.chart-tooltip strong{display:block;font-size:23px;font-weight:400;margin:15px 0 7px}.chart-tooltip span{display:block;font-size:11px;line-height:1.65}.chart-cursor{stroke:#cbb99a;stroke-width:1;stroke-dasharray:3 5;opacity:.55}.history-range-label{display:block;color:var(--muted);font-size:12px;margin-top:18px}.history-range-label input{display:block;margin-top:9px}.source-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;margin:12px 0}.source-link .icon{width:15px;height:15px}.forecast-rain{display:block;font-size:10px;color:var(--muted);margin-top:7px}.scenario-card .source-tag{align-self:flex-start;margin-bottom:12px}.scenario-card .text-button{margin-top:auto}.detail-list strong{white-space:normal;text-align:right;max-width:60%;overflow-wrap:anywhere}.connection .source-tag{white-space:normal;max-width:120px;text-align:center}.stat-grid strong{overflow-wrap:anywhere}.view-enter:has([data-chart]){animation:none}.room-top .source-tag{font-size:9px}.top-actions .preview-label{font-size:11px}
@media(max-width:760px){.hero-sources{display:block}.hero-sources .source-status{font-size:10px}.measurement-only{height:145px}.source-status{font-size:11px}.connection .source-tag{max-width:90px}.hero-stats{gap:17px}.hero-stat+.hero-stat{padding-left:15px}.hero-stat strong{font-size:24px}.card-head:has(.tabs){flex-direction:column;align-items:flex-start}.stat-grid{gap:8px}.stat-grid>div{padding-left:8px}.top-actions .preview-label{font-size:10px}}
@media(max-width:359px){.hero-stats{gap:13px}.hero-stat+.hero-stat{padding-left:11px}.hero-stat strong{font-size:21px}.hero-stat strong span{font-size:11px}.hero-copy{padding:28px 17px}.top-actions .preview-label{font-size:9px}.connection .source-tag{max-width:72px}}
/* SolarEdge : mesures horaires et énergie quotidienne, sans flux supposé. */
.daily-energy{display:block;margin-top:5px}.solar-data-dot{fill:var(--teal)}[data-solar-dot][hidden]{display:none}.solar-mini-empty{height:65px;display:grid;place-items:center;color:var(--muted);font-size:12px;margin:12px 0 8px}[data-solar-chart]+.graph-axis{gap:20px;font-size:10px;line-height:1.6}[data-solar-chart]+.graph-axis>span{max-width:48%}[data-solar-chart]+.graph-axis>span:last-child{text-align:right}.view-enter:has([data-solar-chart]){animation:none}
