*{box-sizing:border-box} :root{--ink:#222329;--muted:#777a84;--line:#e8e9ed;--bg:#fafafb;--orange:#f47561;--coral:#ef6654;--mint:#38b19a;--blue:#61a3dc;--radius:15px} [hidden]{display:none!important} body{margin:0;color:var(--ink);background:var(--bg);font:14px/1.5 'Segoe UI',Inter,Arial,sans-serif;letter-spacing:-.15px} button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ffad8a;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:29px;font-weight:550;letter-spacing:-1.1px;line-height:1.25}h2{font-size:17px;font-weight:600;letter-spacing:-.45px}h3{font-size:15px;font-weight:600}small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:600;letter-spacing:1.6px;color:var(--muted)}.icon{width:19px;height:19px;stroke:currentColor;stroke-width:1.5;fill:none;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex-shrink:0}.sidebar{position:fixed;inset:0 auto 0 0;width:225px;background:#fff;border-right:1px solid var(--line);z-index:30;display:flex;flex-direction:column;padding:25px 16px}.brand{display:block;margin:0 8px 30px}.brand img{display:block;width:170px;height:57px;object-fit:contain}.home-switch{position:relative;display:flex;align-items:center;gap:8px;background:#f7f7f9;border:1px solid var(--line);border-radius:9px;padding:10px;margin:0 2px 27px}.home-switch select{border:0;appearance:none;background:none;width:100%;min-width:0;font-size:12px;font-weight:600;outline:0;cursor:pointer}.home-switch .chevron{pointer-events:none}.nav-caption{font-size:9px;letter-spacing:1.6px;color:#9c9da4;padding:0 12px;margin-bottom:9px}nav{display:grid;gap:5px}nav a{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:7px;color:#696b75;font-size:12px}nav a.active{background:linear-gradient(100deg,#e7f1fd,#fae3ed 55%,#ffbfae);color:#242329}nav a:hover{background-color:#f5f5f7}nav .nav-count{margin-left:auto;border:1px solid #dddde3;border-radius:4px;padding:0 5px;font-size:10px}.side-bottom{margin-top:auto}.add-device-link,.lab-link{display:flex;align-items:center;gap:9px;padding:12px;font-size:12px}.add-device-link span{font-size:19px}.lab-link{color:#85878f;border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:17px}.lab-link span{margin-left:auto}.account{width:100%;border:0;background:transparent;display:flex;align-items:center;text-align:left;gap:9px;padding:5px}.account strong{display:block;font-size:12px;font-weight:600}.account small{display:block;color:var(--muted);font-size:10px}.account>span:last-child{margin-left:auto}.avatar{display:inline-grid;place-items:center;flex-shrink:0;width:33px;height:33px;border:1px solid #ead9cd;border-radius:50%;background:linear-gradient(140deg,#ffebd5,#ffe4e3);font-size:12px;font-weight:600;color:#68544a}.workspace{margin-left:225px;min-height:100vh}.topbar{height:76px;background:#fff;border-top:2px solid transparent;border-image:linear-gradient(90deg,#9bbafb,#e6a1d5,#ffb58c) 1;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px}.breadcrumb{display:flex;gap:14px;font-size:12px;color:var(--muted)}.breadcrumb strong{color:var(--ink);font-weight:500}.top-actions{display:flex;align-items:center;gap:14px}.icon-button{border:1px solid var(--line);border-radius:7px;background:#fff;width:31px;height:31px;display:inline-grid;place-items:center;font-size:18px;color:#5b5d66}.live-badge{display:flex;align-items:center;gap:7px;font-size:11px;color:#737780}.live-badge i,.dot{width:6px;height:6px;border-radius:50%;background:var(--mint);display:inline-block}.live-badge.stale i{background:#e0a443}.live-badge.offline i{background:#a6a7ae}main{padding:30px 34px 15px;max-width:1700px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.page-heading p{margin-top:6px;font-size:12px;color:var(--muted)}.heading-actions{display:flex;gap:9px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #dedfe4;border-radius:7px;background:#fff;padding:9px 14px;font-size:12px;font-weight:500;color:var(--ink);line-height:1.3;white-space:nowrap}.btn:hover:not(:disabled){background:#f6f6f8;border-color:#c9cbd3}.btn.primary{background:var(--ink);color:white;border-color:var(--ink)}.btn.primary:hover:not(:disabled){background:#444650}.btn.coral{border:0;background:linear-gradient(110deg,#aabdf8,#eba7d3,#ff9c7e);color:#292332}.btn.small{padding:7px 11px;font-size:11px}.btn.text{border:none;background:transparent;color:#777a83;padding:5px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 2px 3px #15152803;overflow:hidden}.card-pad{padding:21px}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.card-head p{font-size:11px;color:var(--muted);margin-top:4px}.pill{display:inline-flex;align-items:center;gap:6px;font-size:10px;white-space:nowrap;padding:4px 8px;border:1px solid var(--line);border-radius:5px;background:#fff;color:#737780}.pill.green{color:#28826d;background:#edf8f3;border-color:#dcf0e7}.pill.orange{color:#ac7443;background:#fff6eb;border-color:#f6e8d4}.pill.gray{background:#f6f6f8}.highlights{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:18px;margin-bottom:25px}.highlight{position:relative;min-height:166px;padding:20px 22px;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.highlight:after{content:'';position:absolute;top:0;right:0;border-style:solid;border-width:0 22px 22px 0;border-color:transparent var(--bg) #00000007 transparent;filter:drop-shadow(-1px 1px 1px #00000007)}.highlight.comfort{background:radial-gradient(ellipse at 5% 5%,#b5e7f8,transparent 60%),radial-gradient(ellipse at 75% 5%,#e1bef8,transparent 60%),linear-gradient(110deg,#cae7f5,#f6ccdf 58%,#ffb393)}.highlight>p{font-size:11px;margin:5px 0;color:#74717f;max-width:60%}.highlight.comfort>p{color:#514b60}.highlight-value{font-size:38px;font-weight:450;line-height:1.2;letter-spacing:-1.8px;margin-top:10px}.highlight-value small{font-size:19px;letter-spacing:-.3px;color:#7a7d88}.highlight-footer{margin-top:14px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted);gap:10px}.highlight .hero-icon{position:absolute;right:32px;top:60px;color:#afbfcb}.hero-icon .icon{width:53px;height:53px;stroke-width:1}.comfort .mini-room{position:absolute;right:26px;top:50px;background:#ffffffd4;box-shadow:0 7px 22px #71386614;border:1px solid #ffffffb0;border-radius:8px;padding:12px;transform:rotate(-4deg);font-size:10px;color:#736476}.mini-room strong{display:block;font-size:24px;color:#37333c;font-weight:500}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px}.installation{min-height:445px}.installation>.card-head{padding:21px 22px 0;margin-bottom:0}.schematic{height:360px;position:relative;min-width:0;background:radial-gradient(ellipse at 24% 85%,#e2e4e873 0,transparent 40%),radial-gradient(circle,#dadee3 0.7px,transparent .9px);background-size:auto,15px 15px;overflow:hidden}.pipe-layer{position:absolute;inset:0;width:100%;height:100%}.pipe{fill:none;stroke:#f2a38b;stroke-width:2}.pipe.return{stroke:#b3c7da}.pipe.dashed{stroke:#d2d4dc;stroke-dasharray:4 5}.flow-dot{fill:#ed8c70}.schematic-boiler{position:absolute;width:31%;height:83%;left:5%;top:8%;padding:0;border:0;background:transparent;transition:transform .2s}.schematic-boiler:hover{transform:translateY(-3px)}.schematic-boiler img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 11px 9px #11132212)}.boiler-caption{position:absolute;left:6%;bottom:4%;font-size:10px;color:#92959c}.diagram-node{position:absolute;background:#fffffff5;border:1px solid #e2e3e8;border-radius:9px;text-align:left;padding:10px 13px;box-shadow:0 4px 15px #25253505;min-width:120px;transition:border-color .15s,box-shadow .15s}.diagram-node:hover,.diagram-node.selected{border-color:#efb39f;box-shadow:0 4px 18px #f5ad9525}.diagram-node span{display:flex;align-items:center;gap:6px;font-size:10px;color:#898b94}.diagram-node strong{display:block;font-size:24px;font-weight:500;letter-spacing:-.7px;margin:2px 0}.diagram-node small{display:block;color:#9698a1;font-size:9px}.diagram-node .icon{width:14px;height:14px}.node-boiler{left:31%;top:5%;min-width:125px}.node-mixer{left:45%;top:43%;min-width:115px}.node-room{right:6%;top:9%;min-width:140px}.node-water{right:6%;bottom:9%;min-width:140px}.node-outdoor{left:40%;bottom:4%;background:#ffffffaa;min-width:120px}.node-outdoor strong{font-size:19px}.node-room strong{color:#a1a4ae}.node-room.available strong{color:var(--ink)}.schematic-note{padding:9px 22px 14px;font-size:10px;color:#9698a1;display:flex;justify-content:space-between;border-top:1px solid #f3f3f6;gap:12px}.inspector{padding:22px;display:flex;flex-direction:column}.inspector .device-icon{display:grid;place-items:center;width:41px;height:41px;background:#fff1e9;border-radius:12px;color:#dd9271;margin-bottom:13px}.device-icon .icon{width:23px;height:23px}.inspector .reading{font-size:44px;line-height:1.3;font-weight:400;letter-spacing:-2px;margin:10px 0 4px}.inspector .reading small{font-size:22px;color:#9799a2;font-weight:400;letter-spacing:0}.inspector>p{font-size:11px;color:var(--muted);margin:5px 0}.facts{margin:16px 0 20px;border-top:1px solid var(--line)}.fact{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #f1f1f5;font-size:11px}.fact span{color:var(--muted)}.fact strong{font-weight:500}.inspector .btn{margin-top:auto}.bottom-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);gap:18px;margin-top:18px}.chart-card{padding:21px 22px}.chart-big{display:flex;align-items:baseline;gap:7px;font-size:30px;font-weight:400;letter-spacing:-1px;margin-bottom:5px}.chart-big span{font-size:12px;letter-spacing:0;color:var(--muted)}.segmented{display:flex;padding:3px;background:#f7f7f9;border-radius:7px;gap:2px}.segmented button{border:0;background:transparent;padding:5px 10px;border-radius:5px;font-size:10px;color:#8b8e97}.segmented button.active{background:#fff;color:#40424b;box-shadow:0 1px 3px #0000000a}.chart-host{height:180px;position:relative}.chart-host svg{width:100%;height:100%;overflow:visible}.chart-label{font-size:10px;fill:#a0a2ab}.chart-tooltip{position:absolute;pointer-events:none;background:#343740ed;color:#fff;padding:9px 12px;border-radius:7px;font-size:11px;box-shadow:0 6px 20px #0002;z-index:5;white-space:nowrap}.chart-legend{font-size:10px;color:#8d9099;display:flex;justify-content:space-between;gap:8px;margin-top:8px}.chart-legend i{width:13px;height:2px;display:inline-block;background:var(--mint);vertical-align:middle;margin-right:5px}.system-card{padding:21px 22px}.system-list{display:grid}.system-row{display:flex;align-items:center;gap:11px;padding:13px 0;border-bottom:1px solid #f0f0f3}.system-row:last-child{border:0}.system-row>.icon{color:#8a909a}.system-row div{flex:1}.system-row strong{font-size:12px;font-weight:500}.system-row small{display:block;font-size:10px;color:#92959e;margin-top:2px}.system-row>b{font-size:12px;font-weight:500}.system-row .status-indicator{display:inline-flex;gap:5px;align-items:center;font-size:10px;color:#838995}.system-row .status-indicator i{width:5px;height:5px;background:#b4b7c1;border-radius:50%}.system-row .status-indicator.on i{background:var(--mint)}.section-label{font-size:13px;font-weight:550;margin:25px 0 12px}.full-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.settings-card{padding:24px}.settings-card .value{font-size:35px;font-weight:400;margin:14px 0}.settings-card .value small{font-size:16px;color:var(--muted)}.setting-stepper{display:flex;align-items:center;gap:8px;margin:18px 0}.setting-stepper input{width:90px;text-align:center;border:1px solid var(--line);border-radius:7px;padding:9px}.settings-card .help{font-size:11px;color:var(--muted);line-height:1.7;min-height:55px}.settings-card .btn{width:100%}.empty{padding:40px 24px;text-align:center;color:var(--muted)}.empty .icon{width:38px;height:38px;margin-bottom:10px}.empty h3{color:var(--ink);margin:9px 0}.empty p{font-size:12px;max-width:410px;margin:0 auto 18px}.notice{margin:18px 34px 0;padding:11px 16px;background:#fff6e9;border:1px solid #eedfc7;color:#7d6648;font-size:12px;border-radius:8px}.notice.soft{background:#f1f5fc;border-color:#e2e8f3;color:#63718e}.notice a{text-decoration:underline;font-weight:500}.page-note{font-size:12px;color:var(--muted);margin:18px 0;line-height:1.8}.instructions{display:grid;grid-template-columns:1fr 1fr;gap:20px}.instruction{padding:25px}.step-number{font-size:11px;background:#f3f3f7;border:1px solid var(--line);display:inline-grid;place-items:center;width:27px;height:27px;border-radius:50%;margin-bottom:16px}.instruction p{color:var(--muted);font-size:12px;line-height:1.8;margin:12px 0}.instruction code,.code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f5f8;padding:13px;border:1px solid var(--line);border-radius:7px;font:11px/1.6 Consolas,monospace;color:#5f6675}.form{display:grid;gap:15px}.form label{display:grid;gap:6px;font-size:12px;color:#676b77}.form input,.form select{border:1px solid #dfe1e8;border-radius:7px;padding:11px;background:#fff;width:100%;color:var(--ink)}.form-error{font-size:12px;color:#b9463d;line-height:1.6}.form label.checkbox{display:flex;align-items:flex-start;gap:9px}.checkbox input{width:auto}.connect-options{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:24px}.connect-option{padding:25px}.connect-option p{font-size:12px;line-height:1.7;color:var(--muted);margin:12px 0 18px}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.account-grid .card{padding:25px}.account-grid h2{margin-bottom:20px}.schedule-track{display:grid;grid-template-columns:repeat(24,1fr);gap:2px;margin:12px 0 6px;height:24px}.schedule-track span{background:#f1f2f6;border-radius:3px}.schedule-track span.filled{background:#edc6b9}.schedule-track span.water{background:#b7dbe5}.schedule-hours{display:flex;justify-content:space-between;font-size:10px;color:#999ca7}.schedule-row{padding:20px 0;border-bottom:1px solid var(--line)}.schedule-row:last-child{border-bottom:0}.schedule-meta{display:flex;justify-content:space-between;gap:14px}.schedule-meta p{font-size:12px;color:var(--muted)}.schedule-meta strong{font-size:13px;font-weight:500}.tips{display:grid;gap:16px}.tip{padding:25px;display:flex;gap:20px;align-items:flex-start}.tip .icon{width:26px;height:26px;color:#e6a18b}.tip p{font-size:12px;line-height:1.8;margin-top:7px;color:var(--muted)}.tip .tagline{font-size:10px;color:#b18a73;margin-top:10px}footer{max-width:1700px;margin:auto;padding:25px 34px 27px;display:flex;justify-content:space-between;font-size:10px;color:#a2a4ac;gap:20px}.footer-dot{padding:0 7px}dialog{border:1px solid var(--line);border-radius:17px;padding:28px;max-width:520px;width:calc(100% - 32px);box-shadow:0 30px 100px #17172c26;color:var(--ink)}dialog::backdrop{background:#2426324d;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.dialog-head h2{font-size:20px}.dialog-close{border:0;background:transparent;font-size:23px;color:#8c8e97}.dialog-body p{font-size:12px;color:var(--muted);line-height:1.8;margin:14px 0}.dialog-body .btn{margin-top:10px}.weather-results{display:grid;gap:6px;margin:15px 0}.weather-results button{text-align:left;padding:11px;background:#fafafb;border:1px solid var(--line);border-radius:7px;font-size:12px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#2a2d36;color:#fff;box-shadow:0 10px 30px #0002;border-radius:10px;padding:13px 20px;font-size:12px;z-index:100;max-width:85vw}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-story{margin:20px;background:radial-gradient(ellipse at 0 0,#c9e3f6,transparent 65%),radial-gradient(ellipse at 95% 95%,#ffba9b,transparent 60%),linear-gradient(135deg,#eeebf8,#f6daea);border-radius:20px;padding:42px;display:flex;flex-direction:column;justify-content:space-between}.auth-story>img{width:210px}.auth-story h1{font-size:52px;font-weight:500;line-height:1.1;margin:18px 0 24px;letter-spacing:-2.4px}.auth-story p{max-width:380px;font-size:14px;color:#777080;line-height:1.8}.auth-story p.auth-foot{font-size:11px}.auth-form-wrap{display:grid;place-items:center;padding:40px}.auth-form-wrap>div{max-width:370px;width:100%}.auth-form-wrap h2{font-size:28px;font-weight:500;letter-spacing:-1px}.auth-form-wrap .subtitle{color:var(--muted);font-size:12px;margin:10px 0 30px}.auth-form-wrap .form{margin:22px 0}.auth-switch{font-size:12px;color:var(--muted);margin-top:20px}.auth-switch button{border:0;background:transparent;color:var(--coral);padding:0;font-weight:500}.alert-list{display:grid;gap:10px}.alert-list p{background:#fcf8f4;border:1px solid #efe6dc;padding:14px;font-size:12px;line-height:1.7;border-radius:8px}.mobile-only{display:none}.inline-link{color:#b5765a;border-bottom:1px solid #e4d0c5}.source-detail{font-size:10px;color:#989ba4;margin-top:16px}.source-detail summary{cursor:pointer}.source-detail p{font-size:10px;margin-top:8px}.device-identity{font:11px Consolas,monospace;color:#9699a3;overflow-wrap:anywhere}.progress-bar{height:4px;background:#f1f1f5;border-radius:3px;overflow:hidden;margin:10px 0}.progress-bar span{display:block;height:100%;background:linear-gradient(90deg,#a4c9de,#f3a994);border-radius:3px;max-width:100%}
@media(min-width:1700px){.dashboard-grid{grid-template-columns:minmax(0,1fr) 340px}.schematic{height:405px}.inspector{padding:26px}.node-boiler{top:7%}.node-room{top:13%}.node-water{bottom:13%}}
@media(max-width:1200px){.sidebar{width:200px}.brand img{width:155px}.workspace{margin-left:200px}main{padding:25px 24px}.topbar{padding:0 24px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 245px}.diagram-node{min-width:100px;padding:8px 10px}.node-room,.node-water{min-width:110px;right:3%}.diagram-node strong{font-size:22px}.inspector{padding:18px}.highlight{padding:18px}.highlights{gap:12px}.highlight>p{max-width:80%}.highlight .hero-icon{right:20px}.comfort .mini-room{right:15px;top:62px;padding:8px}.bottom-grid{grid-template-columns:1.3fr 1fr}.full-grid{gap:12px}.settings-card{padding:18px}.notice{margin:14px 24px 0}}
@media(max-width:1000px){.dashboard-grid{grid-template-columns:1fr}.inspector{display:grid;grid-template-columns:60px 1fr 1fr;gap:0 15px}.inspector .device-icon{grid-row:1/4}.inspector .reading{grid-column:2;grid-row:2}.inspector>.facts{grid-column:3;grid-row:1/5;margin:0}.inspector>.btn{grid-column:2}.inspector>p{grid-column:2}.schematic{height:350px}.highlights{grid-template-columns:1fr 1fr}.highlight:last-child{grid-column:1/-1;min-height:120px}.highlight:last-child .highlight-value{display:inline-block}.highlight:last-child .highlight-footer{position:absolute;right:22px;bottom:25px}.full-grid{grid-template-columns:1fr 1fr}.bottom-grid{grid-template-columns:1fr}.account-grid{grid-template-columns:1fr}.auth-story h1{font-size:42px}.auth-story{padding:30px}}
@media(max-width:720px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:220px;box-shadow:8px 0 25px #0001}.sidebar.open{transform:translateX(0)}.workspace{margin-left:0}.mobile-only{display:inline-grid}.topbar{height:64px;padding:0 16px;gap:10px}.breadcrumb{gap:8px;font-size:10px;flex:1}.top-actions{gap:8px}.live-badge{font-size:10px}.top-actions .avatar{display:none}main{padding:24px 16px 10px}.page-heading{align-items:flex-start;gap:12px}h1{font-size:25px}.heading-actions .btn{padding:8px;font-size:10px}.highlights{gap:10px}.highlight{padding:16px;min-height:174px}.highlight h3{font-size:13px}.highlight-value{font-size:30px}.highlight .hero-icon{display:none}.comfort .mini-room{display:none}.highlight>p{max-width:100%}.highlight-footer{align-items:flex-start;flex-direction:column;gap:7px}.highlight:last-child{min-height:155px}.highlight:last-child .highlight-footer{position:static}.diagram-node{min-width:95px;padding:7px 9px}.diagram-node strong{font-size:20px}.diagram-node span{font-size:9px}.diagram-node small{font-size:8px}.node-boiler{left:31%;top:4%}.node-room{right:3%;top:25%;min-width:100px}.node-water{right:3%;bottom:10%;min-width:100px}.node-mixer{left:36%;top:43%}.node-outdoor{left:7%;bottom:5%}.schematic{height:340px}.schematic-boiler{width:35%;height:70%;left:2%;top:2%}.boiler-caption{display:none}.schematic-note{padding:10px 16px;font-size:9px}.installation>.card-head{padding:18px 16px 0}.card-head h2{font-size:15px}.inspector{display:block}.inspector .device-icon{float:left;margin-right:14px}.inspector .reading{font-size:36px}.inspector .facts{margin:15px 0}.inspector .btn{width:100%}.full-grid,.connect-options,.instructions{grid-template-columns:1fr}.chart-card,.system-card{padding:18px 16px}.notice{margin:14px 16px 0}.schedule-meta{display:block}.schedule-meta p{margin-top:4px}footer{padding:20px 16px;display:block;font-size:9px}footer>span{display:block;margin-bottom:5px}.auth-layout{grid-template-columns:1fr}.auth-story{min-height:230px;padding:25px;margin:12px}.auth-story>img{width:150px}.auth-story h1{font-size:32px;margin:12px 0}.auth-story .eyebrow,.auth-story>div>p,.auth-foot{display:none}.auth-form-wrap{padding:25px}.auth-form-wrap h2{font-size:24px}.tip{padding:20px;gap:14px}.chart-host{height:170px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.operation-card{margin-top:20px}.highlight.comfort>p{max-width:57%}.highlight.comfort .highlight-footer{align-items:flex-end}.mini-room{pointer-events:none}
.home-switch{display:block;padding:0;background:transparent;border:0;margin:0 0 27px;position:relative}.home-trigger{display:flex;align-items:center;gap:10px;width:100%;padding:11px 12px;border:1px solid #e6e5ed;border-radius:12px;background:linear-gradient(120deg,#f6f8fd,#fcf7f8);text-align:left;box-shadow:0 2px 4px #28223803}.home-trigger:hover,.home-trigger[aria-expanded=true]{border-color:#c8c8dd;background:#f2f3fa}.home-trigger-icon{display:grid;place-items:center;border:1px solid #e7e5ef;background:#fff;width:32px;height:34px;border-radius:9px;flex-shrink:0;color:#6b647e}.home-trigger-text{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}.home-trigger-text small{font-size:8px;letter-spacing:1.2px;color:#95929f}.home-trigger-text strong{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-chevron{width:18px;height:18px;fill:none;stroke:#8a8499;stroke-width:1.5;flex-shrink:0;transition:transform .2s}.home-trigger[aria-expanded=true] .home-chevron{transform:rotate(180deg)}.home-menu{position:absolute;top:calc(100% + 7px);left:0;right:0;z-index:50;background:#fff;border:1px solid #e8e5ef;border-radius:13px;box-shadow:0 12px 30px #29213f18;padding:7px}.home-menu-caption{font-size:8px;letter-spacing:1.3px;color:#9d97a9;padding:7px 9px}.home-menu button{display:flex;align-items:center;gap:8px;text-align:left;width:100%;padding:10px 9px;background:none;border:0;border-radius:7px;font-size:12px;color:#5f5b6b}.home-menu button:hover,.home-menu button:focus-visible{background:#f5f4fa}.home-menu button[aria-checked=true]{background:linear-gradient(105deg,#eef4ff,#fae9ef,#ffded2);color:#353040}.home-menu button>span:first-of-type{overflow:hidden;text-overflow:ellipsis}.home-menu .home-check{margin-left:auto;color:#9574a0}.home-menu .home-menu-add{border-top:1px solid #efedf3;margin-top:7px;border-radius:0;padding-top:13px;font-size:11px}.settings-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px}.settings-intro>div{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:12px}.settings-intro p{font-size:11px;color:var(--muted);max-width:440px}.input-temperature{display:flex;align-items:center;gap:9px;border:1px solid #dedee8;border-radius:9px;background:#fafafd;padding-right:15px}.input-temperature input{border:0;background:transparent!important;font-size:24px;font-weight:500;width:100%;padding:12px!important}.input-temperature>span{color:#9893a3}.setting-range{font-size:10px;color:#96909f;margin-top:-8px}.settings-card .help{min-height:60px}.change-list{display:grid;gap:0}.change-row{padding:13px 0;display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid #f0eef4}.change-row>div{display:flex;flex-wrap:wrap;align-items:center;gap:9px}.change-row strong{font-size:12px;font-weight:500}.change-row strong span{margin-left:7px}.change-row small{font-size:10px;color:var(--muted);flex-basis:100%}.parameter-catalog{margin-top:20px}.parameter-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:17px}.parameter-search{display:flex;align-items:center;gap:9px;padding:9px 12px;border:1px solid #e4e1eb;background:#faf9fc;border-radius:8px;min-width:220px;color:#9b92aa}.parameter-search input{border:0;outline:0;background:none;min-width:0;width:100%;font-size:12px}.parameter-tabs{display:flex;gap:4px;flex-wrap:wrap}.parameter-tabs button{font-size:11px;padding:7px 10px;border:1px solid transparent;background:#fff;border-radius:6px;color:#8a8294}.parameter-tabs button.active{border-color:#e5deed;background:#f4eff9;color:#61536f}.parameter-row{display:flex;align-items:center;gap:16px;padding:15px 3px;border-top:1px solid #efedf3}.parameter-row>div{flex:1;min-width:0}.parameter-row strong{display:block;font-size:12px;font-weight:500}.parameter-row small{font-size:10px;color:#96909f}.parameter-row>div>small{display:block;margin-top:3px}.parameter-row>b{font-size:16px;font-weight:500;white-space:nowrap}.parameter-code{font:10px Consolas,monospace;color:#aaa3b2;min-width:28px;text-align:right}@media(max-width:720px){.settings-intro{align-items:flex-start;flex-direction:column;gap:10px}.settings-intro>div{white-space:normal}.parameter-search{width:100%}.parameter-row{gap:8px}.parameter-row>b{font-size:14px}.parameter-tabs{gap:2px}.parameter-tabs button{padding:7px}.settings-card .help{min-height:0}.change-row>div{gap:8px}}
/* Customer plan library and weekly editor. */
.plan-current{padding:28px;margin-bottom:30px;overflow:hidden}.plan-current.is-active{background:radial-gradient(ellipse at 0 0,#e4f1f9,transparent 65%),radial-gradient(ellipse at 100% 0,#fce7e2,transparent 60%),#fff}.plan-current h2{font-size:25px;margin:10px 0}.plan-current p{font-size:12px;color:var(--muted);line-height:1.7}.plan-current .eyebrow{font-size:9px}.plan-start-note{display:flex;align-items:center;gap:12px;padding:20px 0 2px;font-size:12px;color:var(--muted)}.plan-targets{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.plan-targets>span{display:flex;gap:10px;align-items:center;padding:11px 14px;background:#ffffffb0;border:1px solid var(--line,#e9e9ee);border-radius:9px;font-size:12px}.plan-targets b{font-size:17px;font-weight:500}.plan-run-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.plan-run-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:22px 0}.plan-run-actions .source-detail{margin:0 0 0 8px}.plan-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:16px 0 32px}.plan-preset{padding:24px;display:flex;align-items:flex-start;flex-direction:column}.plan-preset h2{margin:18px 0 10px;font-size:17px}.plan-preset p{font-size:12px;line-height:1.7;color:var(--muted);flex:1;margin-bottom:24px}.preset-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(140deg,#d3eafa,#fce0dd)}.preset-1{background:linear-gradient(140deg,#eee4fc,#fad5dd)}.preset-2{background:linear-gradient(140deg,#d9efe8,#e6eef9)}.preset-3{background:linear-gradient(140deg,#f5e5d5,#f8dce4)}.plan-library-head{display:flex;justify-content:space-between;gap:15px}.plan-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:16px 0 28px}.plan-library>.empty{grid-column:1/-1;padding:40px}.plan-template{padding:24px}.plan-template h2{font-size:18px}.plan-template .plan-targets{margin-bottom:6px}.plan-template .page-note{margin:0 0 16px}.template-windows{min-height:40px}.template-windows>div{display:grid;grid-template-columns:1fr auto;gap:7px;font-size:12px;padding:10px 0;border-bottom:1px solid #f1f1f5}.template-windows small{grid-column:1/-1;color:var(--muted);font-size:10px}.template-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.template-actions .icon-button{margin-left:auto;padding:8px 13px}.plan-preview{padding-top:20px;border-top:1px solid #dde1eb}.plan-days{display:flex;gap:6px;margin:0 0 20px}.plan-days button{border:1px solid #e6e7ed;background:#fff;padding:8px 13px;border-radius:7px;font-size:11px}.plan-days button.active{background:#25252d;color:#fff;border-color:#25252d}.plan-timeline-row{display:grid;grid-template-columns:140px 1fr;gap:16px;align-items:center;margin-bottom:13px;font-size:12px}.plan-track{display:flex;gap:3px;height:33px}.plan-track span{flex:1;min-width:0;display:grid;place-items:center;background:#e3e8ee;border-radius:4px;font-size:9px;color:#6b7482}.plan-track .comfort-hour{background:linear-gradient(135deg,#b8d9ec,#e9c6e4,#ffbcad);color:#4c4858}.plan-timeline-hours{display:flex;justify-content:space-between;margin:0 0 20px 156px;color:var(--muted);font-size:9px}.plan-next{border-top:1px solid #e5e6ed;padding-top:20px}.plan-next h3{font-size:13px;margin-bottom:10px}.plan-next>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;font-size:11px}.plan-next>div>span{display:flex;gap:16px}.plan-next b{margin-left:5px}.plan-journal{margin-bottom:20px}.plan-journal>p{font-size:12px;color:var(--muted);margin-bottom:16px}
dialog.wide{width:min(1000px,calc(100vw - 36px));max-width:1000px}.plan-editor-note{font-size:12px;line-height:1.7;background:#f3f5fa;border-radius:9px;padding:13px 16px;color:#717887}.plan-base-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.plan-base-card{padding:16px;border:1px solid #e8e9ef;border-radius:10px}.form .plan-checkbox{display:flex;align-items:center;gap:8px;margin-bottom:12px}.form input[type=checkbox],.form input[type=radio]{width:16px;min-width:16px;height:16px;padding:0;accent-color:#746881}.plan-base-card>small{display:block;color:var(--muted);font-size:10px;margin-top:7px}.plan-window{display:grid;grid-template-columns:minmax(130px,1.4fr) 1fr 1fr 1fr 32px;align-items:end;gap:12px;padding:18px 0;border-top:1px solid #ececf2}.form select{appearance:none;background:#f8f9fc;border:1px solid #dddfe9;border-radius:8px;padding:12px 30px 12px 12px;font:inherit;color:#272731;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23777788' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;width:100%;margin-top:8px}.plan-window .remove-window{height:42px;padding:0}.day-checkboxes{grid-column:1/-1;display:flex;gap:6px;align-items:center;flex-wrap:wrap}.day-checkboxes label{position:relative;cursor:pointer}.day-checkboxes input{position:absolute;opacity:0}.day-checkboxes span{display:block;border:1px solid #e3e4eb;border-radius:6px;padding:7px 11px;font-size:11px}.day-checkboxes input:checked+span{background:#e9eaf5;border-color:#bdc0da;color:#45415e}.day-checkboxes input:focus-visible+span{outline:2px solid #81749d}.day-checkboxes small{margin-left:12px;color:var(--muted);font-size:10px}.plan-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #ececf2;padding-top:16px}.plan-editor-footer span{font-size:11px;color:var(--muted)}.plan-duration{border:1px solid #e4e6ef;border-radius:10px;padding:16px;display:grid;gap:16px}.plan-duration legend{font-size:12px;padding:0 7px}.plan-duration label{display:flex;align-items:center;gap:10px}.plan-duration input{margin:0}
@media(max-width:1100px){.plan-presets{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-window{grid-template-columns:1.5fr 1fr 1fr 1fr 32px;gap:8px}.plan-window input{padding:10px 6px}}
@media(max-width:700px){.plan-presets,.plan-library,.plan-base-grid{grid-template-columns:1fr}.plan-current{padding:20px}.plan-current .card-head{align-items:flex-start;flex-direction:column}.plan-current h2{font-size:22px}.plan-timeline-row{grid-template-columns:1fr;gap:8px}.plan-timeline-hours{margin-left:0}.plan-days{gap:4px}.plan-days button{padding:8px 10px}.plan-track{gap:2px}.plan-track span{font-size:8px}.plan-next>div{flex-direction:column}.plan-next>div>span{flex-wrap:wrap}.plan-window{grid-template-columns:1fr 1fr}.plan-window>label:first-child{grid-column:1/-1}.plan-window .remove-window{grid-column:2;grid-row:3;justify-self:end;width:32px}.plan-window .day-checkboxes{grid-column:1/-1}.day-checkboxes small{margin:5px 0}.plan-editor-footer{align-items:stretch;flex-direction:column}.plan-library-head{flex-direction:column;gap:4px}.plan-run-actions .source-detail{margin:8px 0 0}}
.plan-track-svg{display:block;width:100%;height:36px;overflow:visible}.plan-track-svg .base-hour{fill:#e3e8ee}.plan-track-svg .comfort-hour{fill:#efb9b7}.plan-track-svg text{font-size:15px;fill:#5b6171;font-family:inherit}
/* Fuel inventory uses controller A6 and optional per-home display capacity. */
.schematic-boiler{height:68%;top:7%}.boiler-caption{top:2%;bottom:auto}
.node-fuel{left:4%;bottom:4%;width:28%;min-width:178px;max-width:260px;display:flex;align-items:center;gap:12px;padding:12px 14px;z-index:2}
.node-fuel .fuel-vessel{position:relative;display:grid;place-items:center;flex-shrink:0;width:35px;height:51px;border:1px solid #c9c4d6;border-radius:6px 6px 11px 11px;background:#faf9fc;overflow:hidden}
.fuel-vessel i{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(150deg,#b9d7eb,#dbb9d7,#efa98f);transition:height .3s}
.fuel-vessel.unknown{background:repeating-linear-gradient(135deg,#f5f4f8,#f5f4f8 4px,#eae8f0 4px,#eae8f0 5px)}
.fuel-vessel b{color:#a09aaa;font-size:17px;font-weight:400}.node-fuel .fuel-node-copy{display:block;min-width:0}.node-fuel strong{display:block;font-size:26px;line-height:1.25;margin:5px 0 3px}.node-fuel strong em{font-size:12px;font-style:normal;color:#97909f;font-weight:400}.node-fuel small{font-size:9px;line-height:1.5}
.fuel-level-summary{margin:17px 0}.fuel-level-summary>p{font-size:11px;line-height:1.7;color:#8b8494}.fuel-percent{display:flex;align-items:baseline;gap:9px}.fuel-percent strong{font-size:22px;font-weight:500}.fuel-percent span{font-size:10px;color:#8b8494}.fuel-level-summary .progress-bar{height:8px}.fuel-level-summary .fuel-capacity-warning{color:#a1693b}.fuel-inspector>.source-detail{margin-top:16px;font-size:10px;line-height:1.7}.fuel-inspector .facts .fact{gap:12px}.fuel-inspector .facts strong{text-align:right}
@media(max-width:1000px){.fuel-inspector{display:block}.fuel-inspector>.facts{margin:18px 0}.fuel-inspector .device-icon{float:none}.fuel-inspector .btn{width:100%}}
@media(max-width:720px){.schematic{height:450px}.schematic-boiler{width:40%;height:49%;left:2%;top:7%}.node-boiler{left:47%;top:3%}.node-room{top:26%;right:3%}.node-mixer{left:45%;top:48%}.node-water{right:3%;bottom:8%}.node-outdoor{left:4%;bottom:4%}.node-fuel{left:4%;top:59%;bottom:auto;width:40%;min-width:0;padding:9px;gap:8px}.node-fuel .fuel-vessel{width:26px;height:44px}.node-fuel strong{font-size:23px}.node-fuel .fuel-node-copy>span{font-size:9px;flex-wrap:wrap;gap:4px}.node-fuel small{font-size:8px}.node-fuel .icon{width:12px;height:12px}}
.dashboard-plan{display:grid;grid-template-columns:44px minmax(0,1fr) minmax(180px,.65fr) auto;align-items:center;gap:20px;padding:22px 25px;margin:0 0 22px;background:linear-gradient(105deg,#f3f7fd 0%,#faf6fc 62%,#fff5ee 100%)}
.dashboard-plan-icon{width:44px;height:48px;display:grid;place-items:center;border:1px solid #e6dce9;border-radius:13px;background:#ffffffb0;color:#9a85a6}.dashboard-plan-icon .icon{width:22px;height:22px}.dashboard-plan-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.dashboard-plan-heading .eyebrow{font-size:8px;letter-spacing:1.2px}.dashboard-plan h2{font-size:18px;margin:9px 0 6px;line-height:1.4}.dashboard-plan-main>p{font-size:11px;color:#81788a;line-height:1.6}.dashboard-plan-main>small{font-size:10px;color:#8b7e8e}.dashboard-plan-next{border-left:1px solid #e9e2ed;padding-left:22px}.dashboard-plan-next>small{display:block;font-size:10px;color:#9a8f9f;margin-bottom:7px}.dashboard-plan-next>strong{display:block;font-size:12px;font-weight:500;line-height:1.6}.dashboard-plan-next>div{display:flex;gap:9px;flex-wrap:wrap;font-size:10px;color:#8e8194;margin-top:7px}.dashboard-plan-targets{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px;align-items:center}.dashboard-plan-targets>span{font-size:10px;padding:5px 8px;border-radius:6px;background:#ffffffad;border:1px solid #eee5f0;color:#81738d}.dashboard-plan-targets>span:first-child{border:0;background:none;padding-left:0;color:#978b9f}.dashboard-plan-targets b{font-weight:500;color:#474051;margin-left:4px}.dashboard-plan-actions{display:flex;flex-direction:column;align-items:stretch;gap:5px}.dashboard-plan-actions .btn{white-space:nowrap}.dashboard-plan-actions .btn.text{font-size:10px;justify-content:center}
@media(max-width:1200px){.dashboard-plan{grid-template-columns:38px 1fr auto;gap:14px;padding:20px}.dashboard-plan-next{grid-column:2;grid-row:2;border:0;padding:0}.dashboard-plan-actions{grid-column:3;grid-row:1/3}.dashboard-plan-icon{width:38px;height:42px}}
@media(max-width:720px){.dashboard-plan{grid-template-columns:32px minmax(0,1fr);padding:17px;gap:12px}.dashboard-plan-icon{width:32px;height:38px;align-self:start}.dashboard-plan h2{font-size:16px}.dashboard-plan-actions{grid-column:1/-1;grid-row:auto;flex-direction:row;flex-wrap:wrap;margin-top:3px}.dashboard-plan-actions .btn.primary{flex:1}.dashboard-plan-next{grid-column:2;grid-row:auto}.dashboard-plan-heading{gap:6px}.dashboard-plan-heading .pill{font-size:9px}}
/* BEGIN EVENTS STYLES */
/* Home event center: controller messages and estimates keep distinct sources. */
.heating-watch{padding:24px 26px;margin-bottom:22px;overflow:hidden}.heating-watch .card-head{padding:0 0 16px;gap:12px}.heating-watch h2{font-size:19px;margin:5px 0 0}.heating-watch .eyebrow{font-size:9px;letter-spacing:.16em;color:var(--muted)}.heat-metrics{display:flex;gap:50px;padding:10px 0 18px}.heat-metric{display:flex;flex-direction:column;gap:8px}.heat-metric>span{font-size:12px;color:var(--muted)}.heat-metric strong{font-size:31px;letter-spacing:-.04em;font-weight:500}.heat-metric strong small{font-size:13px;font-weight:400;color:var(--muted)}.heat-metric>small,.heat-history,.heat-plan small{font-size:11px;color:var(--muted);line-height:1.7}.heat-explanation{font-size:13px;line-height:1.7;color:#9e4d32;background:#fff6ee;padding:12px 16px;border-radius:8px}.heat-plan{display:flex;align-items:flex-start;gap:12px;padding:16px;background:#f7f8fc;border-radius:10px}.heat-plan strong{font-size:12px;font-weight:500}.heat-plan .plan-targets{margin:9px 0}.heat-plan.needs-attention{background:#fff4ed}.heat-plan>.icon{flex-shrink:0;margin-top:2px}.heating-chart{margin-bottom:18px}.heating-chart svg{display:block;width:100%;height:auto;min-height:130px;max-height:240px}.heating-chart svg text{fill:#9297a5;font-size:10px;font-family:inherit}.heat-grid{stroke:#eeeef3;stroke-width:1}.heat-series line{stroke-width:2;fill:none}.heat-series.A2{stroke:#769ad4;fill:#769ad4}.heat-series.A15{stroke:#ee917a;fill:#ee917a}.heat-legend{display:flex;align-items:center;gap:18px;font-size:11px;color:var(--muted);padding:10px 0}.heat-legend span:before{content:'';display:inline-block;width:16px;height:3px;margin-right:7px;vertical-align:middle;background:#769ad4}.heat-legend span+span:before{background:#ee917a}.heat-legend small{margin-left:auto}.heating-watch.compact .heat-metrics{gap:42px}.heat-history{margin-top:16px}.heating-watch .event-evidence summary{color:#5e6d86}.heat-history p{margin:6px 0}
@media(max-width:550px){.heating-watch{padding:18px 16px}.heating-watch .card-head{align-items:flex-start;flex-direction:column}.heat-metrics{gap:25px}.heat-metric strong{font-size:27px}.heat-legend{gap:10px;flex-wrap:wrap}.heat-legend small{margin-left:0}}
.event-banner{margin:0 32px;padding:12px 16px;display:flex;align-items:center;gap:10px;border:1px solid #efdfbd;background:#fff9ec;border-radius:10px;color:#755726;font-size:12px}.event-banner>a{margin-left:auto;display:inline-flex;align-items:center;gap:7px;color:inherit;white-space:nowrap}.event-banner.alarm{border-color:#edc8c3;background:#fff2f0;color:#a13f33}.event-banner>.icon{flex-shrink:0}
.dashboard-events{margin-bottom:22px;padding:20px 24px;background:linear-gradient(115deg,#fff,#fafbfe)}.dashboard-events .card-head{padding:0 0 10px}.dashboard-events .eyebrow{font-size:9px;letter-spacing:.16em;margin-bottom:5px;display:block;color:var(--muted)}.dashboard-events h2{margin:0;font-size:18px}.event-row{display:flex;align-items:flex-start;gap:14px;padding:19px 0;border-top:1px solid var(--line)}.event-row:first-of-type{border-top:0}.event-symbol{width:36px;height:36px;display:grid;place-items:center;background:#eef2f9;color:#607797;border-radius:11px;flex-shrink:0}.event-row.alarm .event-symbol{background:#ffebe6;color:#ba4835}.event-row.warning .event-symbol{background:#fff3db;color:#a06e1d}.event-content{min-width:0;flex:1}.event-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.event-title h3{font-size:14px;line-height:1.5;margin:0;font-weight:600}.event-content>p{font-size:12px;line-height:1.7;color:#6b6e78;margin:6px 0}.event-meta{display:flex;gap:7px 16px;flex-wrap:wrap;font-size:10px;color:var(--muted);line-height:1.6}.event-meta strong{font-weight:500;color:#946317}.event-row>.btn{flex-shrink:0;margin-top:2px}.pill.red{background:#ffebe6;color:#a7372b;border-color:#f2cdc6}.pill.amber{background:#fff4df;color:#895e12;border-color:#efdfb8}.event-evidence{margin-top:9px;font-size:11px;color:#777a84;line-height:1.7}.event-evidence summary{cursor:pointer;width:fit-content}.event-evidence p{margin:6px 0}.event-evidence code{display:inline-block;padding:6px 9px;background:#f6f7fa;border-radius:5px;word-break:break-word}.event-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.event-overview article{padding:24px;display:flex;flex-direction:column;gap:12px}.event-overview span{font-size:12px;color:#626671}.event-overview strong{font-weight:500;font-size:29px;letter-spacing:-.04em}.event-overview small{font-size:10px;line-height:1.6;color:var(--muted)}.event-current,.event-history{padding:22px 26px;margin-bottom:22px}.event-current .card-head,.event-history .card-head{padding:0 0 8px}.event-pagination{border-top:1px solid var(--line);padding-top:18px;display:flex;justify-content:center}.event-history .read .event-title h3{font-weight:500}
@media(max-width:850px){.event-row{flex-wrap:wrap}.event-row>.btn{margin-left:50px}.event-title{gap:5px 10px}.event-overview{gap:10px}.event-overview article{padding:16px}.event-overview strong{font-size:23px}.event-banner{margin:0 20px}}
@media(max-width:550px){.event-overview{grid-template-columns:1fr}.event-overview article{display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px 10px}.event-overview small{grid-column:1/-1}.dashboard-events,.event-current,.event-history{padding:18px 16px}.dashboard-events .card-head,.event-history .card-head{gap:14px;align-items:flex-start;flex-direction:column}.event-banner{margin:0 14px;flex-wrap:wrap}.event-banner>a{margin-left:26px}.event-symbol{width:30px;height:30px;border-radius:8px}.event-row{gap:10px}.event-row>.btn{margin-left:40px}}

.heat-fuel-warning{padding:14px 16px;margin:0 0 18px;border:1px solid #efdfbd;border-radius:10px;background:#fff9ec;color:#755726;font-size:12px;line-height:1.65}.heat-fuel-warning p{margin:4px 0}.heat-fuel-warning small{font-size:11px}.event-banner>span>small{display:block;margin-top:4px;line-height:1.5}

/* The overview is a status strip; detailed history lives in Events. */
.heating-watch.compact{display:flex;flex-wrap:wrap;align-items:center;gap:16px 28px;padding:18px 24px;margin-bottom:20px}
.heat-compact-heading{margin-right:auto;min-width:200px}
.heat-compact-heading h2{font-size:17px;margin:5px 0 8px}
.heat-compact-heading .inline-link{font-size:11px}
.heating-watch.compact .heat-metrics{padding:0;gap:32px;flex-shrink:0}
.heating-watch.compact .heat-metric{gap:5px}
.heating-watch.compact .heat-metric strong{font-size:26px}
.heat-fuel-chip{display:flex;flex:0 0 auto;align-items:center;gap:10px;width:270px;max-width:100%;padding:10px 13px;border:1px solid #efdfbd;background:#fff9ec;border-radius:9px;color:#755726;text-decoration:none;line-height:1.5}
.heat-fuel-chip>span{flex:1;min-width:0}
.heat-fuel-chip strong{display:block;font-size:11px;font-weight:500}
.heat-fuel-chip small{font-size:10px;display:block}
.heat-fuel-chip>.icon{flex-shrink:0}
.event-banner-actions{display:flex;align-items:center;gap:16px;margin-left:auto;flex-shrink:0}
.event-banner-actions a{display:inline-flex;align-items:center;gap:6px;color:inherit;white-space:nowrap}
.event-banner-actions .btn{background:transparent;border-color:currentColor;color:inherit;white-space:nowrap}
.event-banner[hidden]{display:none}
@media(max-width:1100px){.heating-watch.compact{flex-wrap:wrap;gap:16px 24px}.heat-fuel-chip{max-width:100%;width:fit-content}.event-banner-actions{gap:10px}}
@media(max-width:650px){.heating-watch.compact{padding:16px}.heat-compact-heading{flex-basis:100%}.heating-watch.compact .heat-metrics{gap:28px;flex-wrap:wrap;flex-shrink:1}.event-banner{flex-wrap:wrap}.event-banner-actions{margin-left:26px}}
.start-monitor{display:flex;flex-wrap:wrap;gap:5px 16px;align-items:center;padding:10px 12px;background:#f7f8fc;border:1px solid #e9ebf1;border-radius:10px;font-size:12px;color:#526075;margin-top:12px}.start-monitor strong{color:#26354a}.start-monitor small{color:#687587}.heating-watch.compact .start-monitor{flex:1 1 340px;min-width:0;margin-top:0;padding:8px 12px}
@media(max-width:650px){.heating-watch.compact .heat-fuel-chip{width:100%}.heating-watch.compact .start-monitor{flex-basis:100%}}

/* END EVENTS STYLES */
/* BEGIN HISTORY STYLES */
.history-section{padding:24px 26px;margin-bottom:24px}.history-section>.card-head{padding:0 0 20px}.history-filters{padding:16px;background:#f7f8fb;border:1px solid #e8eaf0;border-radius:12px}.history-periods{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:14px}.history-periods button{border:1px solid transparent;background:transparent;color:#747986;border-radius:7px;padding:8px 13px;font-size:12px}.history-periods button:hover{background:#fff}.history-periods button[aria-pressed=true]{background:linear-gradient(110deg,#e3effd,#f7e4ef 60%,#ffdfd3);color:#272b35;border-color:#dddfea;font-weight:600}.history-filter-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.history-filter-form label{display:flex;flex-direction:column;gap:6px;color:#717784;font-size:11px;min-width:140px}.history-filter-form input,.history-filter-form select{height:38px;border:1px solid #dfe2ea;border-radius:7px;background:#fff;padding:8px 11px;color:#303743;min-width:0;font-size:12px;width:100%}.history-filter-form select{padding-right:30px}.history-filter-form .history-search{flex:1;min-width:170px;max-width:380px}.history-filter-form .btn{height:38px}.history-filter-help{display:block;margin-top:10px;font-size:10px;color:var(--muted)}.history-results-meta{display:flex;justify-content:space-between;gap:12px;padding:16px 0;color:var(--muted);font-size:11px;border-bottom:1px solid var(--line)}.history-empty{padding:36px 16px;text-align:center;font-size:12px;color:var(--muted)}.history-empty strong{display:block;color:#565f70;font-weight:500;margin-bottom:6px}.history-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--line);padding-top:16px;color:var(--muted);font-size:11px}.history-pagination>div{display:flex;gap:8px}.history-error{padding:14px;margin-top:12px;border-radius:8px;background:#fff1eb;color:#90442f;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:14px}.history-reading-table{font-size:12px}.history-reading-table>[role=row]{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:15px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.history-reading-table [role=row]:last-child{border-bottom:0}.history-reading-head{font-size:10px;color:var(--muted)}.history-reading-table [role=cell]:last-child{color:var(--muted);font-size:11px}.history-reading-table strong{font-weight:500}.event-current-details{margin-bottom:24px}.event-current-details>summary{cursor:pointer;padding:14px 0;color:#626a7b;font-size:12px}.event-current-details .heating-watch{margin-bottom:12px}.history-section .change-row{gap:16px}.history-section .event-row{padding:16px 0}
@media(max-width:650px){.history-section{padding:18px 16px}.history-filters{padding:12px}.history-filter-form{gap:10px}.history-filter-form label{flex:1;min-width:120px}.history-filter-form .history-search{min-width:100%;max-width:none}.history-periods button{font-size:11px;padding:8px 10px}.history-pagination{flex-wrap:wrap}.history-reading-table>[role=row]{grid-template-columns:1.5fr 1fr;gap:8px}.history-reading-table [role=cell]:last-child{grid-column:1/-1}.history-reading-head [role=columnheader]:last-child{display:none}}

.history-pagination.top{border-top:0;border-bottom:1px solid var(--line);padding:0 0 14px;margin-bottom:4px}.history-section{scroll-margin-top:90px}.event-current-details>summary span{color:var(--muted);margin-left:12px;font-size:11px}

/* END HISTORY STYLES */
.room-sensor-section{margin:24px 0}.room-sensor-section>.card-head{margin-bottom:16px;gap:20px}.room-sensor-section h2{font-size:18px}.room-sensor-section p{font-size:12px;color:var(--muted);line-height:1.6}.room-average{display:flex;align-items:center;gap:16px}.room-average>strong{font-size:30px;font-weight:500;white-space:nowrap}.room-average small{font-size:14px;font-weight:400;color:var(--muted)}.room-sensor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.room-sensor-card{padding:22px 24px}.room-sensor-card .card-head>span:first-child{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:600}.sensor-values{display:flex;align-items:baseline;gap:25px;margin:20px 0}.sensor-values>strong{font-size:37px;font-weight:400;letter-spacing:-1px}.sensor-values>strong small{font-size:15px;color:var(--muted);letter-spacing:0}.sensor-values>span{display:flex;align-items:center;gap:6px;font-size:17px}.sensor-values>span small{font-size:11px;color:var(--muted)}.sensor-meta{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted);padding-top:12px;border-top:1px solid var(--line)}.sensor-meta b{font-weight:500;color:var(--ink);margin-left:4px}.room-sensor-card .source-detail{margin:12px 0}.room-sensor-card .btn{font-size:11px}.fact span small{display:block;margin-top:4px;font-size:10px;color:var(--muted)}
@media(max-width:700px){.room-sensor-grid{grid-template-columns:1fr}.room-sensor-section>.card-head{align-items:flex-start;flex-wrap:wrap}.room-sensor-card{padding:20px}.room-average{gap:12px}.sensor-values{gap:18px}.sensor-meta{flex-wrap:wrap}.sensor-values>span{flex-wrap:wrap}}
/* SmartHome and sensor battery state: measured capacity, never a loading animation. */
.battery-status{display:inline-flex;align-items:center;gap:12px;color:var(--ink);min-height:32px}.battery-shell{position:relative;display:inline-flex;width:88px;height:23px;border:1.5px solid #97a2ad;border-radius:6px;padding:3px;background:#f6f7f9;flex-shrink:0}.battery-shell:after{content:"";position:absolute;width:3px;height:9px;right:-5px;top:5px;border-radius:0 2px 2px 0;background:#97a2ad}.battery-fill{height:100%;border-radius:2px;background:hsl(var(--battery-hue) 54% 43%);transition:width .45s ease,background-color .45s ease}.battery-percentage{font-size:13px;font-variant-numeric:tabular-nums;font-weight:600}.battery-percentage small{display:block;font-size:9px;font-weight:400;color:var(--muted);margin-top:2px}.battery-status.low .battery-percentage,.battery-status.low small{color:#b43e3c}.battery-status.unknown{color:var(--muted);font-size:10px}.battery-status.unknown .battery-shell{background:repeating-linear-gradient(135deg,#f8f8fa,#f8f8fa 4px,#e5e7ed 4px,#e5e7ed 5px)}.sensor-meta{align-items:center}.sensor-meta>span:last-child{text-align:right}.smart-intro{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:40px;padding:32px;background:linear-gradient(110deg,#e5f4fb 0%,#f0eaf9 53%,#ffefe7 100%);margin-bottom:18px}.smart-intro h2{font-size:29px;letter-spacing:-.7px;line-height:1.2;margin:10px 0 14px}.smart-intro p,.smart-regulation>p,.smart-setup p{font-size:12px;line-height:1.8;color:#646b7b;max-width:560px}.smart-path{display:flex;align-items:center;justify-content:center;gap:15px}.smart-path>div{text-align:center;min-width:92px}.smart-path .icon{width:25px;height:25px;color:#77658e;margin-bottom:13px}.smart-path strong,.smart-path small{display:block}.smart-path strong{font-size:12px}.smart-path small{font-size:10px;color:var(--muted);margin-top:6px}.smart-path>span{color:#aba2b5}.smart-integration{display:flex;align-items:center;gap:18px;padding:22px 25px}.smart-integration h2{font-size:15px;margin-bottom:6px}.smart-integration p{font-size:12px;color:var(--muted)}.smart-integration small{font-size:10px;color:var(--muted)}.smart-integration>div:nth-child(2){flex:1}.smart-integration .device-icon{margin:0;flex-shrink:0}.smart-regulation,.smart-setup{padding:27px;margin:24px 0}.smart-regulation h2,.smart-setup h2{font-size:18px;margin:7px 0}.smart-thresholds{display:grid;grid-template-columns:1fr 1fr 1fr;gap:0;margin:24px 0;border:1px solid var(--line);border-radius:12px;overflow:hidden}.smart-thresholds>div{padding:20px 24px;background:#fafbfe}.smart-thresholds>div+div{border-left:1px solid var(--line)}.smart-thresholds strong{display:block;font-size:24px;font-weight:500;letter-spacing:-.6px;margin:10px 0}.smart-thresholds small,.smart-thresholds span{display:block;color:var(--muted);font-size:11px;line-height:1.6}.smart-thresholds .comfort-target{background:linear-gradient(135deg,#eaf6f4,#f5eef9)}.smart-regulation-bottom{display:flex;justify-content:space-between;align-items:center;gap:25px}.smart-regulation-bottom p{font-size:12px;line-height:1.8;color:var(--muted);max-width:760px}.smart-details{margin-top:20px;border-top:1px solid var(--line);padding-top:16px;font-size:12px}.smart-details summary{cursor:pointer;color:#685b82}.smart-details ul{padding-left:18px;line-height:1.9;color:var(--muted)}.smart-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin-top:24px}.smart-steps b{display:inline-grid;place-items:center;border-radius:9px;width:30px;height:30px;background:#f0edf7;color:#78698f;font-size:11px}.smart-steps h3{font-size:13px;margin:14px 0 8px}.smart-steps p{font-size:11px}.smart-home-link{display:flex;align-items:center;gap:12px;padding:14px 18px;margin-bottom:22px;border:1px solid var(--line);background:#f7f5fc;border-radius:12px;font-size:12px;color:#675582}.smart-empty{text-align:center;padding:40px;margin:22px 0}.smart-empty p{font-size:12px;color:var(--muted);margin:16px auto;max-width:440px}.smart-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.smart-enable{display:flex!important;flex-direction:row!important;align-items:center;gap:12px;padding:14px;background:#f4f2f9;border-radius:10px}.smart-enable input{width:18px!important;height:18px;accent-color:#86729d}.smart-guide ol{padding-left:22px;font-size:12px;line-height:1.85}.smart-guide li{margin-bottom:18px}.smart-guide p{font-size:12px;line-height:1.85}.smart-guide a{color:#66518b}.smart-integration+.room-sensor-section{margin-top:30px}
@media(max-width:1000px){.smart-intro{grid-template-columns:1fr}.smart-path{justify-content:flex-start}.smart-integration{flex-wrap:wrap}.smart-steps{grid-template-columns:1fr 1fr}.smart-thresholds>div{padding:17px}.smart-regulation-bottom{align-items:flex-start}}
@media(max-width:600px){.smart-intro,.smart-regulation,.smart-setup{padding:21px}.smart-intro h2{font-size:26px}.smart-path{gap:8px;justify-content:space-between}.smart-path>div{min-width:0}.smart-path small{font-size:9px}.smart-thresholds{grid-template-columns:1fr}.smart-thresholds>div+div{border-left:0;border-top:1px solid var(--line)}.smart-regulation-bottom{flex-direction:column}.smart-steps,.smart-form-grid{grid-template-columns:1fr}.smart-integration>div:nth-child(2){min-width:200px}.smart-regulation .card-head,.smart-setup .card-head{flex-wrap:wrap;gap:12px}.battery-shell{width:76px}.smart-steps{gap:18px}}
.battery-fill{display:block;width:100%;height:100%;background:none}.battery-status.low .battery-shell{border-color:#c65e58}.battery-status.low .battery-shell:after{background:#c65e58}
@media(prefers-reduced-motion:reduce){.battery-fill{transition:none}}
/* BEGIN CONTROLLER STYLES */
/* Equipment guide: facts and connection paths, separate from live telemetry. */
.catalog-intro{padding:30px 34px;display:grid;grid-template-columns:1.3fr 1fr;gap:40px;background:linear-gradient(115deg,#e7f3fc 0%,#f0eafa 47%,#fff0e8 100%);margin-bottom:22px}.catalog-intro h2{font-size:27px;line-height:1.25;margin:10px 0 14px;letter-spacing:-.8px}.catalog-intro p{max-width:560px;line-height:1.7;color:#606477}.catalog-intro-facts{display:grid;gap:16px;align-content:center}.catalog-intro-facts>div{display:flex;gap:16px;align-items:center}.catalog-intro-facts b{display:grid;place-items:center;width:35px;height:35px;border:1px solid #fff;border-radius:10px;font-size:11px;background:#ffffff70;color:#76647e}.catalog-intro-facts span{font-weight:600}.catalog-intro-facts small{display:block;font-size:11px;color:#6b6c7c;font-weight:400;margin-top:3px}.catalog-advice{margin-bottom:26px}.catalog-advice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;margin:18px 0}.catalog-advice-grid h3{font-size:13px;margin-bottom:8px}.catalog-advice-grid p{font-size:12px;line-height:1.8;color:#6a6e7b}.catalog-advice .source-detail{border-top:1px solid var(--line);padding-top:14px}.catalog-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap}.catalog-toolbar .parameter-search{min-width:240px;max-width:400px;flex:1}.catalog-count{font-size:11px;color:var(--muted);margin:14px 0}.controller-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.controller-card{padding:25px;display:flex;flex-direction:column;min-width:0}.controller-card h2{font-size:21px;margin:14px 0 5px}.controller-card>p:not(.controller-tag){font-size:13px;line-height:1.75;color:#727684;margin:11px 0}.controller-tag{font-size:11px;color:#91644f;font-weight:600}.controller-card ul{padding-left:18px;font-size:13px;line-height:1.9;margin:4px 0 20px}.controller-card dl{margin:0 0 20px;padding-top:2px}.controller-card dl>div{display:grid;grid-template-columns:105px 1fr;gap:12px;padding:11px 0;border-top:1px solid var(--line);font-size:11px}.controller-card dt{color:#7b7e89}.controller-card dd{margin:0;color:#4d5261;line-height:1.6}.controller-card-actions{margin-top:auto;display:flex;gap:8px;flex-wrap:wrap}.controller-card-actions .selected{background:#e9eaf5;border-color:#bbbcd2;color:#514a68}.catalog-comparison,.catalog-evidence{margin-top:24px}.controller-table-wrap{overflow:auto;margin-top:18px}.controller-table{width:100%;border-collapse:collapse;min-width:650px;font-size:12px;line-height:1.7}.controller-table caption{text-align:left;margin-bottom:12px;color:var(--muted);font-size:11px}.controller-table th,.controller-table td{padding:15px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}.controller-table thead th{background:#f4f4f9;font-weight:600}.controller-table th:first-child{min-width:145px}.controller-table tbody th{font-weight:500;color:#727685}.controller-table td{min-width:180px}.catalog-evidence p{color:#707584;font-size:12px;line-height:1.85;margin-top:12px;max-width:960px}.catalog-evidence>small{display:block;color:#8a8d98;margin-top:16px;font-size:10px}.controller-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}.controller-detail-grid h3,.controller-setup h3,.controller-purchase h3,.controller-sources h3{font-size:13px;margin-bottom:7px}.controller-detail-grid p{font-size:12px;line-height:1.8;color:#707484}.controller-setup{padding:20px;background:#f5f6fa;border:1px solid #e8eaf0;border-radius:12px}.controller-setup ol{padding-left:20px;margin:14px 0 0;font-size:12px;line-height:1.8}.controller-setup li+li{margin-top:10px}.controller-purchase{padding:20px 0;margin:0 0 15px;border-bottom:1px solid var(--line)}.controller-purchase p{font-size:12px;line-height:1.8;color:#76707a}.controller-sources{display:grid;gap:8px;margin-bottom:24px}.controller-sources a{font-size:11px;color:#4a7191;text-decoration:underline;text-underline-offset:3px}.controller-sources h3{color:var(--ink)}
@media(max-width:1050px){.catalog-advice-grid{grid-template-columns:1fr}.catalog-intro{gap:20px;padding:26px}.controller-card-actions .btn{width:100%}}
@media(max-width:700px){.catalog-intro,.controller-grid,.controller-detail-grid{grid-template-columns:1fr}.catalog-intro{padding:22px}.catalog-intro h2{font-size:24px}.catalog-intro-facts{border-top:1px solid #ffffff90;padding-top:18px}.controller-card{padding:20px}.controller-card h2{font-size:19px}.controller-card .card-head{align-items:flex-start;gap:8px;flex-wrap:wrap}.controller-card dl>div{grid-template-columns:85px 1fr}.catalog-toolbar{align-items:stretch}.catalog-toolbar .parameter-search{min-width:0;max-width:none;flex-basis:100%}.catalog-toolbar .parameter-tabs{flex-wrap:wrap;gap:6px}.catalog-comparison .card-head{gap:12px;flex-wrap:wrap}}
.plan-operation-note{font-size:12px;line-height:1.6;color:var(--muted);border-left:3px solid #edb4aa;padding:8px 12px;background:#fcf8f6;border-radius:0 6px 6px 0}.plan-operation-note strong{display:block;color:var(--ink)}
.operation-card{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:22px 26px;margin-bottom:20px;border-color:#d9dfe9}.operation-card h2{margin:6px 0}.operation-card p{max-width:720px;font-size:12px;line-height:1.6;color:var(--muted)}.operation-card small{display:block;font-size:10px;color:var(--muted);line-height:1.6;margin-top:8px}.operation-next{display:block;font-size:13px;margin-top:12px}.operation-actions{min-width:215px;display:flex;flex-direction:column;gap:8px}.operation-actions small{max-width:240px}@media(max-width:760px){.operation-card{display:block}.operation-actions{margin-top:18px}}

.fuel-selected{display:flex;flex-direction:column}.fuel-chart{height:178px;flex-shrink:0;margin-top:auto;padding:10px 22px 12px;border-top:1px solid var(--line)}.fuel-chart-head{display:flex;justify-content:space-between;align-items:center;gap:12px;height:36px}.fuel-chart h3{font-size:12px;font-weight:500}.fuel-chart-head span{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}.fuel-chart svg{display:block;width:100%;height:108px;outline-offset:2px}.fuel-chart-legend{display:flex;align-items:center;gap:18px;font-size:9px;color:var(--muted)}.fuel-chart-legend>span:last-child{margin-left:auto}.fuel-chart-legend i{display:inline-block;width:15px;height:2px;margin-right:6px;vertical-align:middle}.fuel-key{background:#e9977e}.temp-key{background:#38b19a}
@media(min-width:1001px){.fuel-selected .schematic{height:340px;min-height:300px;flex:1;max-height:360px}.fuel-selected .schematic-note{padding-top:8px;padding-bottom:8px}}
@media(max-width:720px){.fuel-chart{height:190px;padding:10px 16px}.fuel-chart-head{height:48px}.fuel-chart-head span{font-size:9px}.fuel-chart-legend{gap:10px}.fuel-chart .segmented button{padding:4px 6px}.fuel-chart-legend>span:last-child{display:none}}

/* The device inventory includes the same live sensor cards as SmartHome. */
.inventory-sensor{min-width:0;display:flex;flex-direction:column}.inventory-sensor h2{margin:20px 0 8px;font-size:16px}.inventory-sensor .sensor-kind{font-size:11px;color:var(--muted);margin:0}.inventory-sensor .sensor-values{margin:16px 0}.inventory-sensor .sensor-meta{flex-wrap:wrap}.inventory-sensor .source-detail{line-height:1.7;overflow-wrap:anywhere}.sensor-actions{display:flex;flex-wrap:wrap;gap:8px}.inventory-sensor .sensor-actions{margin-top:auto;padding-top:8px}.inventory-sensor .sensor-actions .btn{flex:1;white-space:nowrap}.inventory-sensor .card-head{gap:12px;flex-wrap:wrap}

.local-preview-notice{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff7eb;border:1px solid #f0d6ac;color:#694a23}.local-preview-notice>div{display:grid;gap:4px}.local-preview-notice .btn{flex-shrink:0;white-space:nowrap}@media(max-width:650px){.local-preview-notice{align-items:flex-start;flex-direction:column}}

.dashboard-plan-main .plan-demand-reason{color:#365f5a;font-size:12px;line-height:1.65;margin-top:10px}.plan-demand-reason a{white-space:nowrap;text-decoration:underline}
/* Shared data-quality and heat-demand status in SmartHome. */
.automation-quality{margin:20px 0;padding:24px}
.automation-quality p{max-width:900px;color:var(--muted,#727a8a);line-height:1.65}
.quality-rooms,.quality-decision{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}
.quality-rooms>div,.quality-decision>div{display:flex;flex-direction:column;gap:7px;min-width:0;overflow-wrap:anywhere}
.quality-rooms>div{padding:16px;border:1px solid #e7e8ef;border-radius:12px}
.quality-rooms span{font-size:13px}.quality-rooms small,.quality-decision small{color:#727a8a;font-size:12px}
.quality-decision{padding:18px;border-radius:12px;background:#f7f7fc}.quality-decision strong{font-size:14px;font-weight:500}
@media(max-width:650px){.quality-rooms,.quality-decision{grid-template-columns:1fr}.automation-quality{padding:18px}}
.comfort-mode{padding:28px;margin:22px 0;background:linear-gradient(125deg,#fff 65%,#f5f8f4)}
.comfort-mode h2{margin:7px 0}.comfort-mode h3{margin:0 0 6px}.comfort-mode p{line-height:1.7}
.comfort-mode-rules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}
.comfort-mode-rules>div{display:grid;gap:9px;padding:18px;border:1px solid #e7e5ed;border-radius:12px;background:#fff}
.comfort-mode-rules .icon{color:#a481ac}.comfort-mode-rules span,.comfort-trial-metrics span{font-size:12px;color:#73758c;line-height:1.6}
.comfort-mode-live{display:flex;align-items:center;gap:10px;padding:12px 16px;background:#edf7f3;border-radius:10px}
.comfort-mode-live.waiting{background:#f2f2f8;color:#62667c}
.comfort-trial-report{border-top:1px solid #e6e4ed;padding-top:22px;margin-top:22px}
.comfort-trial-report progress{display:block;width:100%;height:7px;border:0;border-radius:6px;overflow:hidden;margin:16px 0 22px;background:#eceaf2;accent-color:#a287bc}
.comfort-trial-report progress::-webkit-progress-bar{background:#eceaf2}.comfort-trial-report progress::-webkit-progress-value{background:linear-gradient(90deg,#9fc8e5,#c1a8df,#f6ac9c)}
.comfort-trial-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.comfort-trial-metrics>div{display:flex;flex-direction:column;gap:8px}.comfort-trial-metrics strong{font-size:24px;font-weight:500}.comfort-trial-metrics small{font-size:12px;color:#73758c;line-height:1.6}
@media(max-width:1000px){.comfort-trial-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.comfort-mode{padding:20px}.comfort-mode-rules{grid-template-columns:1fr}.comfort-trial-metrics{gap:20px 14px}.comfort-trial-metrics strong{font-size:20px}}
