:root{--bg:#f3f2eb;--ink:#173e36;--muted:#6b7a71;--line:#dfe4da;--green:#286c51;--lime:#d8eb9e;--red:#ac3e32}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.5}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #94bc64;outline-offset:4px}[hidden]{display:none!important}.page{max-width:1120px;padding:0 30px;margin:auto}header{display:flex;align-items:center;justify-content:space-between;height:115px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;color:var(--ink);text-decoration:none;font-size:11px;letter-spacing:1.6px;font-weight:750}.brand small{display:block;font-size:17px;letter-spacing:-.3px;font-weight:550}.brand-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--ink);color:var(--lime);font-size:29px}.badge{font-size:11px;border:1px solid var(--line);border-radius:30px;padding:6px 12px;white-space:nowrap}.badge.online{background:#e2ecd6;color:#315e36;border-color:#d1dfc3}.badge.offline{color:#8c5144;background:#f2e1d8}.subtle{color:var(--muted);background:#f4f5ef}.heading{display:flex;align-items:center;justify-content:space-between;padding:38px 0 28px}h1{font-size:40px;line-height:1.1;letter-spacing:-1.6px;font-weight:550;margin:8px 0 12px}h2{font-size:21px;line-height:1.2;letter-spacing:-.6px;margin:5px 0}h3{font-size:16px;margin:0 0 8px;font-weight:650}p{margin:6px 0 12px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.9px;margin:0;color:var(--muted)}.muted{color:var(--muted)}.small,small{font-size:12px}.icon-button{font-size:26px;background:#e4e9de;border-radius:50%;height:44px;width:44px;color:var(--ink)}.grid{display:grid;grid-template-columns:1.08fr 1fr;gap:22px}.card{border:1px solid var(--line);background:#fcfcf8;border-radius:22px;padding:28px}.card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.temperature{background:var(--ink);color:#f5f5e8;overflow:hidden;position:relative}.temperature .eyebrow,.temperature .muted{color:#a5b9ad}.status-label{font-size:11px;color:#d3e69d;background:#ffffff0d;padding:5px 10px;border-radius:20px}.temperature-reading{font-size:105px;letter-spacing:-6px;line-height:1.2;margin:34px 0 0;font-weight:450}.temperature-reading .unit{font-size:34px;letter-spacing:-1px;margin-left:8px;vertical-align:super;color:#a5b9ad}.target-line{font-size:13px;color:#a5b9ad}.target-line strong{color:#f2f5df;font-weight:500;margin-left:6px}.target-line #pending{margin-left:8px;color:#dfdfa1}.temperature-control{display:flex;align-items:center;justify-content:space-between;margin-top:30px}.temperature-control button{background:#ffffff10;color:#e5efcc;width:50px;height:50px;border:1px solid #ffffff20;border-radius:50%;font-size:27px}.temperature-control div{text-align:center;font-size:32px}.temperature-control small{display:block;color:#a5b9ad;font-size:9px;letter-spacing:1.7px}.temperature input[type=range]{width:100%;accent-color:var(--lime);margin:20px 0}.primary,.secondary{min-height:44px;border-radius:12px;padding:11px 18px;font-weight:600;font-size:13px}.primary{background:var(--lime);color:var(--ink)}.temperature .primary{width:100%}.secondary{background:#eaf0e2;color:var(--ink);border:1px solid #d9e1d0}.text-button{background:none;color:var(--green);padding:12px 0;display:block;font-size:12px;text-decoration:underline;text-underline-offset:4px}.temperature>.small{text-align:center;margin:10px 0 0;font-size:10px}.spark{display:block;width:100%;height:60px;margin-top:12px}.spark path{fill:none;stroke:#c9dd91;stroke-width:2}.spark text{fill:#a5b9ad;font-size:10px;letter-spacing:.2px}.right-column{display:flex;flex-direction:column;gap:22px}.boiler{flex:1}.dot{width:9px;height:9px;border-radius:50%;background:#9da99a}.dot.ok{background:#549152;box-shadow:0 0 0 5px #e8f1dc}.dot.alarm{background:var(--red);box-shadow:0 0 0 5px #f6e7e0}.boiler-state{display:flex;gap:18px;align-items:center;margin:30px 0}.boiler-state p{font-size:13px;margin:5px 0}.state-symbol{font-size:26px;display:grid;place-items:center;border-radius:16px;background:#eef2e8;width:54px;height:60px;flex-shrink:0}.divider{height:1px;background:var(--line);margin:22px 0}.row{display:flex;justify-content:space-between;align-items:center}.row small{display:block;color:var(--muted);margin-top:4px}.toggle{width:48px;height:28px;padding:3px;background:#d3dbcf;border-radius:30px;flex-shrink:0}.toggle span{display:block;background:white;width:22px;height:22px;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .2s}.toggle[aria-checked=true]{background:var(--green)}.toggle[aria-checked=true] span{transform:translateX(20px)}#interlock-detail{margin:18px 0 0;max-width:330px}.camera-placeholder{display:flex;align-items:center;gap:20px;margin-top:22px}.camera-placeholder svg{width:65px;fill:none;stroke:#829780;stroke-width:1.5;flex-shrink:0}.camera-placeholder p{margin:0}.events,.settings{margin-top:22px}.events ol{list-style:none;padding:0;margin:22px 0 0}.events li{display:flex;align-items:flex-start;gap:14px;padding:14px 0;border-top:1px solid var(--line)}.event-dot{display:block;width:8px;height:8px;border-radius:50%;background:#94ac75;margin-top:7px;flex-shrink:0}.event-dot.alarm,.event-dot.offline,.event-dot.modbus{background:var(--red)}.events li div{flex:1}.events li p{font-size:12px;color:var(--muted);margin:2px 0 0}.events time{font-size:11px;color:var(--muted);white-space:nowrap}.settings-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:32px;margin-top:25px}.settings-grid>div+div{border-left:1px solid var(--line);padding-left:26px}label{display:block;font-size:12px;margin:12px 0 7px}input[type=password],select{width:100%;border:1px solid #cfd8c9;border-radius:10px;background:#fff;padding:12px;color:var(--ink)}.checkbox{display:flex;align-items:flex-start;gap:8px;margin-bottom:17px}.checkbox input{accent-color:var(--green);margin-top:4px}.notice,.alarm-banner{padding:17px 22px;border-radius:13px;margin-bottom:22px;font-size:13px}.notice{background:#ede7d5;color:#6b5832}.alarm-banner{background:#f4ded5;color:#873c2d}footer{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;letter-spacing:.5px;padding:32px 0 25px}.login-card{max-width:430px;margin:70px auto 110px;padding:35px 0}.login-card h1{font-size:50px;line-height:1.07;margin:18px 0 24px}.login-card .primary,.login-card .secondary{width:100%;margin-top:16px}.login-card form{margin-top:30px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;box-shadow:0 12px 40px #0003;padding:14px 22px;border-radius:12px;max-width:90vw;width:max-content;font-size:13px;z-index:20}@media(max-width:750px){.page{padding:0 18px}header{height:87px}.brand{font-size:9px}.brand small{font-size:15px}.brand-icon{width:38px;height:38px}.heading{padding:28px 0 23px}h1{font-size:34px}.grid{grid-template-columns:1fr;gap:16px}.card{padding:23px;border-radius:18px}.temperature-reading{font-size:96px;margin-top:23px}.temperature-control{margin-top:23px}.temperature .spark{height:45px}.right-column{gap:16px}.boiler-state{margin:24px 0}.events,.settings{margin-top:16px}.settings-grid{grid-template-columns:1fr;gap:25px}.settings-grid>div+div{border-left:0;border-top:1px solid var(--line);padding:23px 0 0}.events time{font-size:10px}.events li strong{font-size:13px}footer{display:block;padding-bottom:max(24px,env(safe-area-inset-bottom))}footer span{display:block;margin:5px 0}.login-card{margin:55px auto 80px;padding:0 8px}.login-card h1{font-size:46px}.badge{font-size:10px;padding:5px 9px}.eyebrow{font-size:9px;letter-spacing:1.5px}}
/* Repeated taps adjust controls without triggering mobile double-tap zoom. */
button,.temperature-control{touch-action:manipulation}
.temperature-control{-webkit-user-select:none;user-select:none}
input[type=password],select{font-size:16px}
