:root{color-scheme:only light;--bg:#f3f5f7;--card:#fff;--text:#193342;--muted:#6f818b;--line:#e3e9ed;--soft:#f5f8fa;--accent:#167d73;--accent-soft:#e7f3f0;--blue:#498fc1;--orange:#de885f;--shadow:0 3px 18px #18323e04;--danger:#b1473e;--warning:#926a25;--warn-bg:#fff6e5;--info-bg:#eaf3f8;--info:#3d6989}
html[data-theme=dark]{color-scheme:only dark;--bg:#101b24;--card:#182631;--text:#dbe6ec;--muted:#98abb7;--line:#2b3d49;--soft:#20323e;--accent:#79cebd;--accent-soft:#203e3d;--blue:#77b2dd;--orange:#e39c77;--shadow:none;--danger:#f09b91;--warning:#dfbd83;--warn-bg:#3c3326;--info-bg:#233846;--info:#aacfe6}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}button,input,select{font:inherit;color:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled,input:disabled,select:disabled{cursor:default;opacity:.48}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #54b7af99;outline-offset:3px}button{border:0}input,select{border:1px solid var(--line);border-radius:9px;background:var(--card);padding:10px 12px;min-width:0;min-height:42px}input[type=number]{font-variant-numeric:tabular-nums}select{max-width:100%}h1,h2,h3,p{margin:0}h1{font-size:30px;font-weight:640;letter-spacing:-1px;line-height:1.2}h2{font-size:17px;font-weight:650;letter-spacing:-.35px}h3{font-size:14px;font-weight:600}a{color:inherit}svg{display:block}button svg,.brand svg,.icon-tile svg,.air-reading>svg,.temperature>span>svg,.overview-bottom>span>svg,.notice>svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.65px;color:var(--muted)}.subtitle{font-size:13px;color:var(--muted);margin-top:9px}.topbar{background:var(--card);border-bottom:1px solid var(--line)}.header-inner{max-width:1296px;padding:0 32px;margin:auto;min-height:78px;display:flex;align-items:center;gap:23px}.brand{display:flex;align-items:center;gap:11px;font-size:27px;font-weight:720;letter-spacing:-1.4px;text-decoration:none}.brand-light{font-weight:390}.brand-symbol{background:var(--accent);color:var(--card);width:33px;height:35px;border-radius:10px;display:grid;place-items:center}.brand-symbol svg{width:22px;height:22px;stroke-width:1.6}.header-divider{height:23px;width:1px;background:var(--line)}.product-label{font-size:13px;color:var(--muted);font-weight:550}.header-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.header-actions select{border:0;background:var(--soft);font-size:12px;min-height:36px;max-width:230px}.icon-button{display:grid;place-items:center;background:transparent;color:var(--muted);width:37px;height:37px;border-radius:9px}.icon-button:hover{background:var(--soft);color:var(--text)}.shell{max-width:1296px;margin:0 auto;padding:31px 32px 0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading .eyebrow{margin-bottom:9px;font-size:9px}.connection-block{display:flex;align-items:flex-end;flex-direction:column;gap:9px;flex-shrink:0}.badge{display:inline-flex;gap:7px;align-items:center;border:1px solid var(--line);background:var(--soft);border-radius:25px;padding:5px 11px;font-size:11px;font-weight:550;white-space:nowrap}.badge.online{color:var(--accent);background:var(--accent-soft);border-color:transparent}.badge.warning{color:var(--warning);background:var(--warn-bg);border-color:transparent}.status-dot,.mini-dot{width:6px;height:6px;border-radius:50%;background:var(--muted);display:inline-block}.online .status-dot,.mini-dot.on{background:var(--accent)}.connection-block .small{font-size:10px}.tabs{display:flex;gap:30px;border-bottom:1px solid var(--line);margin-bottom:24px}.tabs>button{background:none;color:var(--muted);display:flex;align-items:center;gap:8px;padding:0 0 14px;border-bottom:2px solid transparent;margin-bottom:-1px;font-size:13px;font-weight:550}.tabs>button[aria-selected=true]{color:var(--accent);border-bottom-color:var(--accent)}.tabs svg{width:17px;height:17px}.draft-dot{width:6px;height:6px;background:var(--orange);border-radius:50%}.nav-count{background:var(--warn-bg);color:var(--warning);border-radius:20px;padding:0 6px;font-size:10px}.notice{padding:14px 17px;border-radius:11px;font-size:12px;margin-bottom:19px;display:flex;align-items:flex-start;gap:11px}.notice strong{font-size:13px;display:block;margin-bottom:2px}.notice.info{background:var(--info-bg);color:var(--info)}.notice.warning{background:var(--warn-bg);color:var(--warning)}.notice.error{background:var(--warn-bg);color:var(--danger)}.notice svg{margin-top:2px}.card{background:var(--card);border:1px solid var(--line);border-radius:15px;padding:24px;box-shadow:var(--shadow)}.card-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.card-title .small{margin-top:4px}.wrap{flex-wrap:wrap}.icon-tile{display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);border-radius:10px;width:37px;height:37px;flex-shrink:0}.icon-tile.warm{background:var(--warn-bg);color:var(--orange)}.overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.system-card{padding:24px 26px 0;background:linear-gradient(115deg,#1e3b4d,#173143 75%,#213d4d);color:#e8eff3;border-radius:15px;overflow:hidden;min-width:0}.system-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.system-heading .eyebrow{font-size:9px;color:#8fabbe;letter-spacing:1.5px}.system-heading h2{font-size:20px;font-weight:550;margin-top:4px;color:#f2f5f8;letter-spacing:-.45px}.system-mode{font-size:10px;background:#ffffff0d;color:#c9dbe5;border:1px solid #ffffff10;padding:5px 9px;border-radius:6px;max-width:46%;text-align:right}.system-visual{height:196px;position:relative;display:flex;align-items:center;margin:0 -10px}.heatpump-art{width:80%;max-width:425px;position:absolute;left:11%;top:14px;overflow:visible}.air-reading{position:relative;z-index:1;margin-left:8px;display:flex;align-items:flex-start;flex-direction:column;gap:2px;width:100px}.air-reading>svg{color:#9eb9cc;margin-bottom:8px;width:23px;height:23px}.air-reading>span{color:#a6becd;font-size:10px}.air-reading strong{font-size:23px;font-weight:500;letter-spacing:-.4px;white-space:nowrap}.air-reading strong small{font-size:12px;font-weight:400;color:#a6becd}.water-readings{position:relative;margin-left:auto;margin-right:9px;text-align:right;z-index:1;display:grid;gap:10px}.water-readings>div{display:flex;flex-direction:column}.water-readings>div>span{font-size:10px}.water-readings strong{font-size:25px;font-weight:550;line-height:1.25;letter-spacing:-.5px;white-space:nowrap}.water-readings small{font-size:11px;font-weight:400;color:#a7bcc9}.warm-text{color:#ebb298}.cool-text{color:#8cbadc}.system-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid #ffffff15;padding:15px 0;font-size:10px;color:#a9becb}.system-footer>span{display:flex;align-items:center;gap:7px}.system-footer strong{font-size:11px;color:#e3edf3;font-weight:550}.system-footer .mini-dot.on{background:#7bd0b9;box-shadow:0 0 8px #7bd0b938}#fan-blades{transform-origin:131px 88px}#heatpump-art.running #fan-blades{animation:fan-spin 4s linear infinite}@keyframes fan-spin{to{transform:rotate(360deg)}}.energy-card{padding:22px 23px;display:flex;flex-direction:column}.energy-card .card-title{margin-bottom:11px}.energy-card h2{font-size:14px}.power-value{font-size:44px;font-weight:580;letter-spacing:-1.7px;color:var(--accent);line-height:1.2;display:flex;align-items:baseline;gap:9px;margin-top:3px}.power-value small{font-size:19px;font-weight:400;letter-spacing:-.4px}.energy-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:12px;margin-top:11px;border-top:1px solid var(--line);font-size:12px}.energy-row>div{display:flex;flex-direction:column;gap:2px}.energy-row>div small{font-size:9px;color:var(--muted)}.energy-row strong{font-size:20px;font-weight:550;letter-spacing:-.5px;white-space:nowrap}.energy-row strong small{font-size:11px;font-weight:400;letter-spacing:0;color:var(--muted)}.temperature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.temperature{padding:19px 21px}.temperature>span{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:8px;min-height:20px}.temperature>span>svg{width:15px;height:15px}.temperature>strong{font-size:29px;letter-spacing:-1px;font-weight:550;display:block;margin:5px 0 2px;line-height:1.3}.temperature>strong small{font-size:15px;color:var(--muted);font-weight:400;letter-spacing:0}.temperature>small{font-size:10px;color:var(--muted)}.plain-icon{font-size:20px!important;gap:11px!important}.plain-icon>span{font-size:11px}.history-card{padding:23px 24px 17px}.history-card .card-title{margin-bottom:16px}.segments{background:var(--soft);border:1px solid var(--line);border-radius:9px;padding:3px;display:inline-flex;flex-wrap:wrap;gap:2px}.segments button{background:transparent;color:var(--muted);font-size:11px;min-width:44px;min-height:29px;padding:5px 10px;border-radius:6px;white-space:nowrap}.segments button[aria-pressed=true]{background:var(--card);color:var(--text);box-shadow:0 1px 4px #16334312;font-weight:600}.chart-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.chart-types{display:flex;gap:18px}.chart-types button{font-size:11px;padding:4px 0;background:none;color:var(--muted)}.chart-types button.selected{color:var(--text);font-weight:600}.chart-legend{display:flex;gap:7px 14px;flex-wrap:wrap;min-height:24px}.chart-legend button{background:none;padding:3px 0;display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted)}.chart-legend button[aria-pressed=false]{opacity:.42}.chart-legend i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--series)}.chart-host{position:relative;margin-top:7px;height:255px}.chart-host>svg{width:100%;height:100%;overflow:visible;touch-action:pan-y}.chart-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:12px;text-align:center;padding:24px}.chart-tooltip{position:absolute;top:20px;z-index:4;min-width:155px;max-width:215px;padding:10px 12px;background:var(--card);border:1px solid var(--line);border-radius:9px;box-shadow:0 4px 18px #12222f1a;font-size:10px;pointer-events:none}.chart-tooltip>strong{display:block;margin-bottom:6px;font-size:11px}.chart-tooltip>div{display:flex;justify-content:space-between;gap:16px;line-height:1.8}.chart-tooltip b{font-weight:600}.chart-footer{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:10px;color:var(--muted);border-top:1px solid var(--line);padding-top:12px}.overview-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:19px 2px;font-size:11px;color:var(--muted)}.overview-bottom>span{display:flex;align-items:center;gap:8px}.overview-bottom svg{width:16px;height:16px}.text-button{display:inline-flex;align-items:center;gap:7px;background:none;color:var(--accent);font-size:11px;padding:3px}.text-button svg{width:15px;height:15px}.page-footer{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:10px;padding:22px 0 24px;border-top:1px solid var(--line);margin-top:8px}.footer-separator{padding:0 7px;color:var(--line)}.settings-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:9px;padding:10px 15px;font-size:12px;font-weight:550;min-height:40px}.button.primary{background:var(--accent);color:var(--card);border:1px solid var(--accent)}.button.secondary{background:var(--card);border:1px solid var(--line);color:var(--text)}.button:hover:not(:disabled){filter:brightness(.97)}.button.small{font-size:10px;min-height:32px;padding:6px 9px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.settings-grid>.card>h2{margin-bottom:4px}.setting-card .eyebrow{font-size:9px;margin-bottom:5px;display:block}.setting-card .card-title{margin-bottom:10px}.full-width{grid-column:1/-1}.field{display:flex;flex-direction:column;gap:7px;margin-top:19px;font-size:12px}.field>small{font-size:10px;color:var(--muted);min-height:15px}.field>input,.field>select{width:100%}.stepper{display:flex;align-items:center;background:var(--soft);border:1px solid var(--line);border-radius:10px;overflow:hidden;max-width:100%;min-height:49px}.stepper input{background:none;border:0;width:90px;text-align:right;font-size:24px;letter-spacing:-.6px;flex:1;padding:7px 4px;appearance:textfield;-moz-appearance:textfield}.stepper input::-webkit-inner-spin-button{appearance:none}.stepper>span{font-size:14px;color:var(--muted);margin-right:auto;padding-right:20px}.stepper button{background:none;color:var(--accent);font-size:23px;width:52px;align-self:stretch;flex-shrink:0}.stepper button:hover:not(:disabled){background:var(--accent-soft)}.switch-row{display:flex;align-items:center;gap:9px;position:relative;font-size:12px;min-height:40px;margin-top:17px}.switch-row>span:first-child{margin-right:auto}.switch-row small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.switch-row>input{position:absolute;right:0;opacity:0;width:38px;height:23px;margin:0;min-height:0;z-index:1;cursor:pointer}.switch-track{width:36px;height:21px;background:var(--line);border-radius:20px;flex-shrink:0;position:relative}.switch-track:after{content:"";position:absolute;left:3px;top:3px;width:15px;height:15px;border-radius:50%;background:var(--card);box-shadow:0 1px 3px #0002;transition:transform .15s}.switch-row input:checked+.switch-track{background:var(--accent)}.switch-row input:checked+.switch-track:after{transform:translateX(15px)}.switch-row input:disabled+.switch-track{opacity:.4}.switch-row input:focus-visible+.switch-track{outline:3px solid #54b7af99;outline-offset:3px}.curve-chart{width:100%;height:180px;margin:8px 0}.curve-key{display:flex;gap:18px;font-size:10px;color:var(--muted);margin-top:12px}.curve-key>span{display:flex;align-items:center;gap:6px}.key-line{width:17px;border-top:2px solid var(--accent)}.key-line.dashed{border-top:2px dashed var(--muted)}.curve-inputs{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px;margin:12px 0}.curve-inputs label{font-size:10px;text-align:center;color:var(--muted)}.curve-inputs input{width:100%;min-height:38px;text-align:center;font-size:14px;color:var(--text);padding:8px 3px;margin-top:5px}.thermostat-controls{display:grid;grid-template-columns:2fr 1fr 1fr;gap:18px}.thermostat-controls .field{margin-top:8px}.schedule-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:25px}.weekdays{display:flex;gap:5px}.weekdays button{width:37px;height:32px;border-radius:7px;font-size:11px;background:var(--soft);color:var(--muted)}.weekdays button[aria-pressed=true]{background:var(--accent);color:var(--card)}.schedule-help{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0 10px;color:var(--muted);font-size:10px}.schedule-help>span{display:flex;align-items:center;gap:5px}.hour-key{height:8px;width:8px;display:inline-block;background:var(--soft);border:1px solid var(--line);border-radius:2px}.hour-key.day{background:var(--accent);border-color:var(--accent)}.hours{display:grid;grid-template-columns:repeat(24,minmax(0,1fr));gap:4px;margin-bottom:15px}.hours button{background:var(--soft);border:1px solid var(--line);color:var(--muted);height:36px;font-size:10px;border-radius:5px;padding:0}.hours button[aria-pressed=true]{background:var(--accent);color:var(--card);border-color:var(--accent)}.hours button:disabled{opacity:.65}.aku-card{display:flex;justify-content:space-between;align-items:center;gap:15px}.aku-card .small{margin-top:5px}.savebar{position:sticky;bottom:12px;z-index:6;background:var(--card);border:1px solid var(--line);box-shadow:0 5px 30px #17354716;border-radius:12px;padding:15px 18px;margin:22px 0;display:flex;align-items:center;justify-content:space-between;gap:15px}.savebar.dirty{border-color:var(--accent)}.savebar>div:first-child{display:flex;flex-direction:column;gap:3px;font-size:12px}.savebar>div:first-child>span{font-size:10px;color:var(--muted)}.save-actions{display:flex;gap:8px;flex-shrink:0}.diagnostics-head{margin-bottom:20px}.diagnostics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:20px}.diagnostics-grid h2{font-size:14px}.details{margin:16px 0 0}.details>div{display:flex;justify-content:space-between;align-items:baseline;gap:14px;font-size:11px;padding:9px 0;border-bottom:1px solid var(--line)}.details>div:last-child{border:0}.details dt{color:var(--muted)}.details dd{margin:0;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.io-list{margin-top:17px}.io-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:10px 0;font-size:11px}.io-row:last-child{border:0}.io-value{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:10px}.io-value:before{content:"";width:5px;height:5px;background:var(--line);border-radius:50%}.io-value.on{color:var(--accent)}.io-value.on:before{background:var(--accent)}.alarm-list{font-size:12px}.alarm{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line)}.alarm>strong{padding:4px 8px;border-radius:6px;color:var(--danger);background:var(--warn-bg);font-size:11px}.alarm.warn>strong{color:var(--warning)}.alarm-ok{display:flex;align-items:center;gap:10px;color:var(--accent);padding:6px 0}.alarm-ok svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:30;background:var(--text);color:var(--card);padding:13px 20px;border-radius:11px;box-shadow:0 5px 30px #0003;max-width:calc(100vw - 28px);font-size:12px}.invalid{outline:2px solid var(--danger)!important;outline-offset:1px}button[aria-busy=true]{opacity:.55;pointer-events:none}#preview-tag{letter-spacing:.6px;color:var(--orange)}
@media(min-width:1180px){.system-visual{height:198px}.heatpump-art{left:13%;top:8px;width:76%;max-width:445px}.water-readings{margin-right:14px}.system-card{padding-top:26px}.system-heading{margin-bottom:5px}}
@media(max-width:1000px){.overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.system-heading h2{font-size:18px}.system-mode{font-size:9px}.system-card{padding:22px 18px 0}.heatpump-art{left:6%;top:27px;width:82%}.air-reading strong{font-size:20px}.air-reading{margin-left:4px}.water-readings strong{font-size:22px}.water-readings{margin-right:6px}.temperature{padding:17px 15px}.temperature>span{font-size:10px}.plain-icon>span{font-size:10px}.diagnostics-grid{gap:13px}.diagnostics-grid>.card{padding:18px 15px}.hours{grid-template-columns:repeat(12,minmax(0,1fr))}.header-inner,.shell{padding-left:24px;padding-right:24px}.curve-inputs{gap:5px}}
@media(max-width:760px){.header-inner{min-height:67px;padding:0 18px;gap:12px}.brand{font-size:24px;gap:8px}.brand-symbol{width:30px;height:32px}.header-divider,.product-label{display:none}.header-actions{gap:4px}.header-actions select{font-size:10px;max-width:160px;padding:8px 6px}.icon-button{width:32px;height:34px}.shell{padding:23px 18px 0}.page-heading{align-items:flex-start;gap:10px;margin-bottom:23px}h1{font-size:25px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.2px}.subtitle{font-size:11px;max-width:220px}.connection-block{gap:5px;margin-top:3px}.connection-block .small{max-width:105px;text-align:right;font-size:9px}.badge{font-size:10px;padding:4px 8px}.tabs{gap:26px;margin-bottom:20px}.tabs>button{font-size:12px;gap:7px}.overview-grid{grid-template-columns:1fr;gap:16px}.system-card{padding:23px 23px 0}.system-heading h2{font-size:21px}.system-mode{font-size:10px}.system-visual{height:195px;max-width:620px;margin:auto}.heatpump-art{width:76%;left:12%;top:4px;max-width:390px}.air-reading strong{font-size:24px}.water-readings{margin-right:12px;gap:16px}.water-readings strong{font-size:27px}.system-footer{font-size:10px}.energy-card{display:grid;grid-template-columns:1fr 1fr;gap:0 20px;padding:20px}.energy-card .card-title{grid-column:1/-1;margin-bottom:7px}.energy-card>.small{grid-column:1}.power-value{grid-column:1;grid-row:3/5;font-size:40px;margin:0}.energy-row{grid-column:2;padding:9px 0;margin:0;gap:8px}.energy-row:nth-last-child(2){grid-row:2/4;border:0}.energy-row:last-child{grid-row:4/6}.energy-row strong{font-size:18px}.energy-row>div{font-size:10px}.energy-row>div small{font-size:8px}.temperature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.temperature{padding:18px 19px}.temperature>span,.plain-icon>span{font-size:11px}.temperature>strong{font-size:29px}.history-card{padding:20px 17px 15px}.history-card h2{font-size:16px}.card-title{gap:12px}.history-card .segments button{font-size:10px;min-width:38px;padding:4px 7px}.chart-host{height:235px}.chart-legend{gap:6px 11px}.chart-footer{font-size:9px}.chart-types{gap:15px}.overview-bottom{font-size:10px;align-items:flex-start}.overview-bottom>span{max-width:65%}.text-button{font-size:10px;white-space:nowrap}.settings-grid{grid-template-columns:1fr;gap:16px}.card{padding:20px}.settings-top{align-items:flex-start}.settings-top .button{font-size:10px;padding:8px 11px}.settings-top>.small{font-size:10px}.curve-inputs{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.curve-chart{height:160px}.thermostat-controls{grid-template-columns:1fr 1fr;gap:12px}.thermostat-controls>.field:first-child{grid-column:1/-1}.weekdays{gap:4px}.weekdays button{width:33px;height:32px}.hours{grid-template-columns:repeat(12,minmax(0,1fr));gap:4px}.hours button{font-size:10px}.savebar{flex-wrap:wrap;gap:12px;bottom:9px;padding:12px 14px}.save-actions{width:100%;justify-content:flex-end}.save-actions .button{flex:1;font-size:11px;min-height:39px}.diagnostics-grid{grid-template-columns:1fr;gap:16px}.diagnostics-grid>.card{padding:20px}.aku-card{align-items:flex-start;flex-wrap:wrap}.settings-grid>.full-width{grid-column:auto}.notice{font-size:11px;padding:13px 14px}.notice strong{font-size:12px}.page-footer{font-size:9px;padding-bottom:22px;gap:5px}.page-footer>span:last-child{font-size:8px}}
@media(max-width:420px){.header-actions select{max-width:128px}.brand{font-size:23px;gap:7px}.brand-symbol{width:28px;height:30px}.header-actions{gap:0}.header-inner{gap:7px;padding:0 13px}.icon-button{width:30px}.shell{padding:21px 14px 0}.page-heading{flex-wrap:wrap}.page-heading h1{font-size:25px}.page-heading .subtitle{max-width:none}.connection-block{align-items:center;flex-direction:row;margin-top:0;gap:8px}.connection-block .small{max-width:none;text-align:left}.page-heading .eyebrow{font-size:7px}.tabs{gap:20px;margin-bottom:17px}.tabs>button{font-size:11px;gap:6px}.system-card{padding:20px 16px 0}.system-heading h2{font-size:18px}.system-mode{font-size:8px;max-width:45%}.system-visual{height:163px;margin:0 -3px}.heatpump-art{width:83%;left:5%;top:7px}.air-reading{margin-left:0;width:68px}.air-reading>svg{width:19px;margin-bottom:5px}.air-reading>span{font-size:9px}.air-reading strong{font-size:19px}.air-reading strong small{font-size:10px}.water-readings{margin-right:0;gap:13px}.water-readings>div>span{font-size:9px}.water-readings strong{font-size:22px}.system-footer{font-size:9px;gap:8px;padding:13px 0}.system-footer strong{font-size:10px}.energy-card{padding:17px;gap:0 15px}.energy-card .card-title{margin-bottom:5px}.energy-card h2{font-size:13px}.power-value{font-size:33px}.power-value small{font-size:15px}.energy-row{flex-wrap:wrap;gap:1px;padding:7px 0}.energy-row>div small{display:none}.energy-row strong{font-size:17px}.energy-row strong small{font-size:9px}.temperature{padding:16px 15px}.temperature>span,.plain-icon>span{font-size:10px}.temperature>strong{font-size:27px}.temperature>small{font-size:9px}.history-card{padding:18px 13px 13px}.history-card .card-title{align-items:flex-start}.history-card h2{font-size:15px}.history-card .segments{padding:2px}.history-card .segments button{min-width:30px;padding:4px 5px;font-size:9px}.history-card .card-title .small{font-size:9px}.chart-toolbar{margin-top:5px}.chart-legend button{font-size:9px}.chart-host{height:220px}.chart-footer>span:last-child{display:none}.overview-bottom{font-size:9px;gap:8px}.overview-bottom>span{max-width:58%}.text-button{font-size:9px}.text-button svg{display:none}.card{padding:18px 16px}.hours{gap:3px}.hours button{font-size:9px;height:33px}.weekdays button{width:31px}.curve-inputs input{font-size:13px}.settings-top{flex-wrap:wrap}.page-footer{font-size:8px}.notice.info p{font-size:10px}}
@media(max-width:350px){.brand{font-size:20px;gap:5px}.brand-symbol{width:25px;height:27px}.header-actions{min-width:0}.header-actions select{max-width:100px}.header-inner{padding:0 11px}.icon-button{width:28px;flex-shrink:0}.system-mode{max-width:43%}.system-heading h2{font-size:16px}.water-readings strong{font-size:20px}.air-reading strong{font-size:18px}}
#day-note{display:block}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* History navigation, 2026-10-31. Uses the existing panel colours. */
.history-navigation{margin:6px 0 14px;padding-top:12px;border-top:1px solid var(--line)}
.history-nav-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:11px}
.history-window{flex:1;min-width:0;color:var(--muted);font-variant-numeric:tabular-nums}
.history-nav-head .text-button{padding:5px 9px;border:1px solid var(--line);border-radius:6px;white-space:nowrap}
.history-nav-head .text-button[aria-pressed=true]{background:var(--soft);font-weight:600}
.history-slider-row{display:flex;align-items:center;gap:12px;margin-top:9px}
.history-slider-row input[type=range]{flex:1;min-width:0;width:100%;height:32px;margin:0;padding:0;accent-color:var(--accent);cursor:pointer;box-shadow:none;background:transparent;border:0}
.history-slider-row input:disabled{cursor:default;opacity:.45}
.history-step{flex-shrink:0;width:34px;height:32px;border:1px solid var(--line);border-radius:7px;background:var(--soft);color:var(--text);font-size:18px}
.history-step:disabled{opacity:.35;cursor:default}
.history-slider-labels{display:flex;justify-content:space-between;gap:10px;padding:0 46px;color:var(--muted);font-size:10px}
@media(max-width:420px){.history-nav-head{gap:7px}.history-window{order:3;flex-basis:100%;font-size:10px}.history-nav-head .text-button{margin-left:auto}.history-slider-labels{font-size:9px;padding:0 40px}.history-slider-row{gap:6px}}

/* Equal-width operation/energy panels and twelve daily summaries, 2026-11-01. */
.system-card{padding:22px 22px 0;display:flex;flex-direction:column}
.system-heading{gap:8px;align-items:flex-start;min-height:44px}
.system-heading h2{font-size:20px}
.system-mode{font-size:9px;max-width:46%;padding:5px 7px}
.system-visual{position:relative;display:grid;grid-template-columns:72px minmax(0,1fr) 88px;gap:4px;align-items:center;flex:1;min-height:190px;height:auto;max-width:none;margin:0}
.heatpump-art{position:static;left:auto;top:auto;width:100%;max-width:none;grid-column:2;grid-row:1}
.air-reading{grid-column:1;grid-row:1;width:auto;margin:0;min-width:0}
.air-reading strong{font-size:22px}
.water-readings{grid-column:3;grid-row:1;margin:0;gap:16px;min-width:0}
.water-readings strong{font-size:25px}
.system-footer{padding:14px 0;gap:8px}
.energy-card{display:flex;flex-direction:column;padding:20px 22px;min-width:0}
.energy-card .card-title{margin-bottom:10px}
.energy-card h2{font-size:16px}
.energy-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}
.energy-kpis>div{min-width:0}
.energy-kpis>div+div{padding-left:12px;border-left:1px solid var(--line)}
.energy-label{font-size:11px;color:var(--muted);display:block;margin-bottom:3px}
.energy-kpis .power-value,.energy-kpi-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 5px;line-height:1.25;margin:0;font-size:27px;font-weight:600;letter-spacing:-.7px;overflow-wrap:anywhere}
.energy-kpis .power-value small,.energy-kpi-value small{font-size:11px;font-weight:400;letter-spacing:0}
.energy-kpi-value.today{color:var(--accent)}
.energy-kpi-value.total{font-size:23px}
.energy-day-note{color:var(--muted);font-size:9px;min-height:14px;margin:7px 0 10px}
.daily-heading{border-top:1px solid var(--line);padding-top:10px;margin-bottom:8px}
.daily-heading h3{font-size:12px;font-weight:600;line-height:1.4;margin:0}
.daily-heading>span{font-size:10px;color:var(--muted)}
.daily-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
.daily-tile{min-width:0;background:var(--soft);border-radius:8px;padding:9px 6px 8px}
.daily-tile time{display:block;font-size:10px;margin-bottom:5px;color:var(--muted);font-variant-numeric:tabular-nums}
.daily-energy{display:flex;align-items:baseline;gap:3px;flex-wrap:wrap;color:var(--accent);font-variant-numeric:tabular-nums;line-height:1.3}
.daily-energy strong{font-size:15px;font-weight:650;letter-spacing:-.3px;overflow-wrap:anywhere}
.daily-energy small{font-size:9px}
.daily-temperature{font-size:10px;color:var(--muted);margin-top:5px;white-space:nowrap;font-variant-numeric:tabular-nums}
.daily-partial{font-size:9px;line-height:1;color:var(--muted);margin-left:1px}
.daily-footer{display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap;margin-top:8px;font-size:9px;color:var(--muted)}
.daily-error{color:#b15f35}
@media(min-width:901px) and (max-width:1179px){.daily-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.energy-card,.system-card{padding-left:16px;padding-right:16px}.energy-kpis{gap:8px}.energy-kpis>div+div{padding-left:8px}.energy-kpis .power-value,.energy-kpi-value{font-size:23px}.energy-kpi-value.total{font-size:19px}.system-visual{grid-template-columns:62px minmax(0,1fr) 76px}.air-reading strong{font-size:20px}.water-readings strong{font-size:22px}.system-heading h2{font-size:18px}}
@media(max-width:900px){.overview-grid{grid-template-columns:1fr}.system-card{min-height:295px}.system-visual{max-width:660px;width:100%;align-self:center;min-height:190px}.heatpump-art{max-width:430px;justify-self:center}.energy-card{display:flex;gap:0}.energy-kpis .power-value{grid-column:auto;grid-row:auto}}
@media(max-width:520px){.energy-card{padding:18px 16px}.energy-kpis{gap:8px}.energy-kpis>div+div{padding-left:8px}.energy-label{font-size:10px}.energy-kpis .power-value,.energy-kpi-value{font-size:22px}.energy-kpi-value.total{font-size:19px}.energy-kpi-value small,.energy-kpis .power-value small{font-size:10px}.daily-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.daily-tile{padding:9px 10px}.daily-energy strong{font-size:17px}.daily-temperature{font-size:11px}.system-card{padding:20px 16px 0;min-height:280px}.system-heading h2{font-size:18px}.system-mode{font-size:8px}.system-visual{grid-template-columns:58px minmax(0,1fr) 73px;gap:2px;min-height:170px}.air-reading strong{font-size:19px}.water-readings strong{font-size:22px}}
@media(max-width:350px){.energy-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.energy-kpis>div+div{padding-left:8px}.energy-kpis>div:last-child{grid-column:1/-1;padding:8px 0 0;border-left:0;border-top:1px solid var(--line)}.energy-kpis .power-value,.energy-kpi-value{font-size:20px}.energy-kpi-value.total{font-size:19px}.daily-tile{padding:8px 7px}.daily-energy strong{font-size:15px}.daily-temperature{font-size:10px}.system-heading h2{font-size:16px}.system-visual{grid-template-columns:53px minmax(0,1fr) 66px}.air-reading strong{font-size:18px}.water-readings strong{font-size:20px}}

/* Readable daily figures, compact sensor cards and taller history, 2026-11-01. */
.daily-tile time{font-size:13px;font-weight:600;color:var(--text);margin-bottom:6px}
.daily-temperature{font-size:13px;font-weight:600;color:var(--text);margin-top:6px}
.daily-partial{color:var(--text)}
@media(min-width:901px) and (max-width:1279px){.daily-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.temperature-grid{gap:12px;margin:14px 0}
.temperature-grid .temperature{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:start;gap:3px 9px;padding:11px 14px;min-width:0}
.temperature-grid .temperature>span{grid-column:1;grid-row:1;align-self:center;min-width:0;font-size:11px;gap:6px;line-height:1.25}
.temperature-grid .temperature>strong{grid-column:2;grid-row:1;margin:0;font-size:25px;line-height:1.25;white-space:nowrap;letter-spacing:-.6px}
.temperature-grid .temperature>strong small{font-size:12px}
.temperature-grid .temperature>small{grid-column:1/-1;grid-row:2;font-size:10px;line-height:1.4}
.temperature-grid .plain-icon{gap:6px!important}
.temperature-grid .plain-icon>span{font-size:11px}
.chart-host{height:460px}
@media(max-width:1000px){.temperature-grid{gap:10px}.temperature-grid .temperature{padding:10px 11px;column-gap:6px}.temperature-grid .temperature>strong{font-size:23px}}
@media(max-width:760px){.chart-host{height:425px}.temperature-grid{gap:10px;margin:12px 0}}
@media(min-width:521px) and (max-width:760px){.daily-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:520px){.temperature-grid .temperature{padding:9px 12px;grid-template-columns:1fr;row-gap:3px}.temperature-grid .temperature>strong{grid-column:1;grid-row:1;font-size:24px}.temperature-grid .temperature>span{grid-column:1;grid-row:2;font-size:10px}.temperature-grid .plain-icon>span{font-size:10px}.temperature-grid .temperature>small{grid-column:1;grid-row:3;font-size:9px}}
@media(max-width:420px){.chart-host{height:400px}}
@media(max-width:350px){.daily-temperature{font-size:11.5px}.daily-tile time{font-size:12px}.temperature-grid .temperature{padding:8px 10px}.temperature-grid .temperature>strong{font-size:23px}}

/* 21 daily bars and separated coloured history panes, 2026-11-01. */
:root{--plot-base:#f5f8fa;--room-plot:#fafcfd;--outdoor-plot:#f5f8fa;--daily-temp-line:#a65824;--daily-current:#d88a48}
html[data-theme=dark]{--plot-base:#182631;--room-plot:#1d2c37;--outdoor-plot:#182631;--daily-temp-line:#f1bc89;--daily-current:#efb477}
.chart-host,.daily-chart-host{background:var(--plot-base)}
.daily-chart-host{height:181px;position:relative;min-width:0}
#daily-chart{width:100%;height:100%;overflow:visible;touch-action:pan-y}
#daily-chart [data-day]{cursor:crosshair;outline:none}
#daily-chart .daily-highlight{opacity:0}
#daily-chart [data-active] .daily-highlight,#daily-chart [data-day]:focus .daily-highlight{opacity:.65}
.daily-tooltip{position:absolute;top:16px;z-index:5;max-width:calc(100% - 8px);width:max-content;padding:9px 12px;border:1px solid var(--line);border-radius:9px;background:var(--card);color:var(--text);box-shadow:0 5px 18px #0002;font-size:12px;line-height:1.5;pointer-events:none}
.daily-tooltip strong{display:block;font-size:13px;margin-bottom:3px}
.daily-tooltip b{font-size:14px;font-variant-numeric:tabular-nums}
.daily-tooltip small{display:block;color:var(--muted);font-size:10px}
.daily-footer>span:first-child{display:flex;align-items:center;gap:4px;color:var(--text);font-size:10px}
.daily-key{display:inline-block;width:8px;height:8px;border-radius:2px;margin-left:4px;background:var(--accent)}
.daily-key.temp{background:var(--daily-temp-line);height:3px;width:13px}
.daily-key.current{background:var(--daily-current)}

/* Public login, account and unit selection use the existing panel themes. */
.entry-shell{min-height:calc(100vh - 100px);display:grid;place-items:center;padding:50px 20px}.login-card{width:100%;max-width:430px;padding:38px}.login-card h1{font-size:34px;margin:14px 0 9px}.login-card>p{line-height:1.7}.login-card form{margin-top:28px;display:grid;gap:19px}.login-card input{min-height:45px;font-size:16px}.login-card .button{min-height:46px;display:flex;justify-content:space-between;align-items:center}.entry-units{padding-top:60px}.entry-units>h1{margin:12px 0}.unit-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:850px;margin-top:34px}.unit-card{display:grid;text-align:left;gap:13px;padding:28px;cursor:pointer;color:var(--text);transition:border-color .15s,transform .15s}.unit-card:hover{border-color:var(--accent);transform:translateY(-2px)}.unit-card:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.unit-card>strong{font-size:22px}.unit-card-icon{font-size:32px;color:var(--accent)}.unit-online{font-size:11px;color:var(--accent)}.unit-card-open{margin-top:12px;color:var(--accent);font-size:12px;font-weight:600}.account-shell{max-width:1100px}.account-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:10px 0 26px}.account-heading h1{margin:10px 0}.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:24px}.profile-grid input{width:100%;min-height:43px;font-size:14px}.account-section-title{margin:34px 0 18px}.account-section-title p{line-height:1.7}.account-unit{margin-bottom:20px}.account-save{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:24px 0 38px}.account-save .button{min-height:43px}.account-save p{max-width:70%}
@media(max-width:760px){.entry-shell{padding:30px 18px}.login-card{padding:30px 24px}.login-card h1{font-size:31px}.entry-units{padding-top:32px}.unit-cards,.profile-grid{grid-template-columns:1fr}.unit-cards{gap:16px;margin-top:26px}.unit-card{padding:25px}.profile-grid{gap:17px}.profile-grid input{font-size:16px}.account-heading{align-items:flex-start}.account-save{align-items:flex-start;flex-direction:column}.account-save p{max-width:none}.account-save .button{width:100%}}
@media(max-width:760px){.header-inner.with-units{flex-wrap:wrap;padding-top:12px;padding-bottom:10px;gap:10px}.with-units .header-actions{flex-basis:100%;margin-left:0;gap:6px}.with-units .header-actions select{flex:1;min-width:0;max-width:none}}

/* Per-unit MET Norway forecast, 2026-11-01. */
.weather-card{margin:0 0 22px;padding:23px 22px 17px;min-width:0}
.weather-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px}
.weather-heading h2{font-size:17px;margin:0 0 4px}.weather-heading p{margin:0}
.weather-heading>span{text-align:right;font-variant-numeric:tabular-nums}
.weather-location{margin:-4px 0 18px;overflow-wrap:anywhere}.weather-location p{margin:4px 0}.weather-location>p:first-child{font-weight:500}
.weather-location-source{margin:8px 0 0}.weather-location-source a{color:inherit;text-underline-offset:3px}
.weather-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:6px}
.weather-hour{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;padding:12px 3px 10px;border-radius:9px;background:var(--soft)}
.weather-day{font-size:9px;color:var(--muted);white-space:nowrap}
.weather-time{font-size:12px;margin-top:5px;font-weight:600}
.weather-icon{width:58px;max-width:100%;height:48px;margin:8px 0 2px;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.weather-sun{stroke:#d79b38;fill:#efc86b22}.weather-moon{stroke:#929fc1;fill:#929fc122}
.weather-cloud{stroke:var(--muted);fill:var(--soft)}.weather-rain{stroke:#659abd}.weather-snow{stroke:#78a6bf}.weather-lightning{stroke:#d79b38;stroke-width:2.5}
.weather-temperature{font-size:23px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.weather-temperature small{font-size:11px;font-weight:400;color:var(--muted)}
.weather-description{font-size:9px;line-height:1.4;color:var(--muted);min-height:26px;margin-top:5px;overflow-wrap:anywhere}
.weather-footer{display:flex;justify-content:space-between;gap:8px 15px;flex-wrap:wrap;margin-top:15px;padding-top:12px;border-top:1px solid var(--line);font-size:9px;color:var(--muted)}
.weather-footer a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
.weather-empty{font-size:12px;padding:15px 0;margin:0}
@media(max-width:1100px){.weather-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.weather-day,.weather-description{font-size:10px}.weather-description{min-height:28px}}
@media(max-width:760px){.weather-card{padding:20px;margin-bottom:18px}.weather-heading{flex-wrap:wrap}.weather-heading h2{font-size:16px}.weather-heading>span{text-align:left;font-size:10px}.weather-footer{font-size:9px}}
@media(max-width:480px){.weather-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.weather-card{padding:18px 16px}.weather-hour{padding:10px 2px 8px}.weather-temperature{font-size:21px}.weather-day,.weather-description{font-size:9px}}
