#heatingScreen{--heat-navy:#143846;--heat-teal:#087f75;--heat-coral:#dc7655;--heat-cream:#fffaf4;color:#1b3037}
#heatingScreen .heat-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}
#heatingScreen .heat-head h1{font-size:clamp(1.8rem,4vw,2.35rem);letter-spacing:-.045em}
#heatingScreen .heat-head p{color:#62767a;margin-top:7px;line-height:1.5}
#heatingScreen .heat-kicker{font-size:.75rem;letter-spacing:.13em;text-transform:uppercase;font-weight:850;color:var(--heat-teal);margin-bottom:8px}
#heatingScreen .heat-pill{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;border-radius:999px;padding:10px 13px;background:#e8f0f8;color:#204d71;font-size:.76rem;font-weight:750;border:1px solid #d4e2ef}
#heatingScreen .heat-pill:before{content:'';height:8px;width:8px;border-radius:50%;background:#5b84a4}
#heatingScreen .heat-hero{min-height:590px;border:1px solid #dfe6ee;border-radius:18px;background:linear-gradient(155deg,#ffffff 6%,#f7f9fa 58%,#f3f7f7 100%);color:#18293a;box-shadow:0 5px 18px rgba(32,77,113,.05);padding:28px;display:flex;flex-direction:column;align-items:center;overflow:hidden}
#heatingScreen .heat-device-name{font-size:1.55rem;font-weight:650;line-height:1.2;color:#204d71;margin:0 0 18px}
#heatingScreen .heat-hero-top{width:100%;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}
#heatingScreen .heat-mode-label{display:inline-flex;align-items:center;min-height:40px;border-radius:999px;padding:8px 20px;background:#e8f0f8;color:#204d71;font-size:.93rem;font-weight:650;letter-spacing:.01em}
#heatingScreen .heat-hero-status{display:inline-flex;align-items:center;min-height:32px;border-radius:999px;padding:6px 11px;background:#fff2df;color:#855009;font-size:.74rem;font-weight:750}
#heatingScreen .heat-dial{width:min(410px,78vw);aspect-ratio:1;flex:none;border-radius:50%;background:linear-gradient(145deg,#df9858 4%,#d67d3e 52%,#bf6536 100%);box-shadow:0 14px 28px rgba(128,72,35,.15);position:relative;display:flex;align-items:center;justify-content:center;margin:auto 0;color:#fff}
#heatingScreen .heat-dial-ring{position:absolute;inset:3%;border:3px solid rgba(255,255,255,.46);border-radius:50%;pointer-events:none}
#heatingScreen .heat-dial-content{display:flex;flex-direction:column;align-items:center;text-align:center;transform:translateY(-3%)}
#heatingScreen .heat-dial-caption{font-size:.8rem;letter-spacing:.04em;color:#fff4e6;font-weight:650}
#heatingScreen .heat-dial-value{font-size:clamp(6rem,14vw,9.7rem);font-weight:400;line-height:1;letter-spacing:-.08em;margin:10px 0 16px;white-space:nowrap}
#heatingScreen .heat-dial-value span{font-size:.27em;letter-spacing:0;vertical-align:top;display:inline-block;margin:10px 0 0 7px}
#heatingScreen .heat-dial-current{font-size:clamp(1rem,2.6vw,1.35rem);font-weight:450;white-space:nowrap}
#heatingScreen .heat-dial-current strong{font-weight:650}
#heatingScreen .heat-adjust{position:absolute;bottom:14%;width:64px;height:64px;border:1px solid #ead9cc;border-radius:50%;background:#fff;color:#a9562c;font-size:3.2rem;font-weight:350;line-height:1;display:grid;place-items:center;box-shadow:0 4px 9px rgba(63,57,50,.14);padding:0}
#heatingScreen .heat-adjust-minus{left:5%}
#heatingScreen .heat-adjust-plus{right:5%}
#heatingScreen .heat-adjust:disabled{opacity:1;cursor:not-allowed}
#heatingScreen .heat-adjust:focus-visible{outline:3px solid #fff;outline-offset:5px}
#heatingScreen .heat-hero-note{max-width:460px;text-align:center;font-size:.78rem;line-height:1.5;color:#5c6b7b;background:#e8f0f8;padding:9px 14px;border-radius:10px;margin:0 auto}
#heatingScreen .heat-section{background:#fff;border:1px solid #dfe8e7;border-radius:20px;padding:22px;margin-top:16px;box-shadow:0 4px 18px rgba(14,52,61,.035)}
#heatingScreen .heat-section-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}
#heatingScreen .heat-section h2{font-size:1.13rem;letter-spacing:-.02em}
#heatingScreen .heat-section p{color:#657779;font-size:.83rem;line-height:1.55;margin-top:5px}
#heatingScreen .heat-muted{font-size:.75rem;color:#77888b}
#heatingScreen .heat-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:21px 0 15px}
#heatingScreen .heat-day{min-height:70px;border:1px solid #dbe7e5;border-radius:12px;background:#f8fbfa;color:#243f45;padding:10px 4px;text-align:center;font-size:.8rem;font-weight:750}
#heatingScreen .heat-day small{display:block;font-size:.68rem;font-weight:500;color:#6b8385;margin-top:6px}
#heatingScreen .heat-day[aria-selected="true"]{background:#f8eee8;border-color:#c77a45;color:#874b29;box-shadow:inset 0 0 0 1px #c77a45}
#heatingScreen .heat-timeline{height:44px;border-radius:12px;background:repeating-linear-gradient(90deg,#f4f7f5 0,#f4f7f5 calc(25% - 1px),#dce7e5 calc(25% - 1px),#dce7e5 25%);position:relative;overflow:hidden;border:1px solid #dce7e5}
#heatingScreen .heat-timeline-bar{position:absolute;top:6px;bottom:6px;border-radius:7px;background:linear-gradient(90deg,#d99863,#bf6a3e);box-shadow:0 2px 6px rgba(128,72,35,.15)}
#heatingScreen .heat-time-labels{display:flex;justify-content:space-between;font-size:.68rem;color:#728385;margin:6px 2px 18px}
#heatingScreen .heat-window-list{display:grid;gap:9px}
#heatingScreen .heat-window{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;border:1px solid #e1e9e7;border-radius:12px;padding:12px 14px;background:#fcfdfc}
#heatingScreen .heat-window strong{font-size:.88rem}
#heatingScreen .heat-window small{display:block;color:#718184;margin-top:4px;font-size:.72rem}
#heatingScreen .heat-window button{border:0;background:#f8e8e4;color:#a84d42;border-radius:8px;min-height:34px;padding:0 10px;font-size:.72rem;font-weight:750}
#heatingScreen .heat-empty{border:1px dashed #cddedb;border-radius:12px;padding:20px;background:#fafcfb;color:#738487;font-size:.82rem;text-align:center}
#heatingScreen .heat-editor{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:9px;align-items:end;margin-top:16px;padding-top:16px;border-top:1px solid #e6edeb}
#heatingScreen .heat-editor label{display:grid;gap:6px;color:#5c7275;font-size:.72rem;font-weight:750}
#heatingScreen .heat-editor input{min-width:0;width:100%;min-height:42px;border:1px solid #d4e2df;border-radius:9px;padding:0 10px;color:#1b3037;background:#fff}
#heatingScreen .heat-editor .btn{min-height:42px}
#heatingScreen .heat-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid #e6edeb;padding-top:17px;margin-top:17px}
#heatingScreen .heat-actions .btn.primary{background:#204d71}
#heatingScreen .heat-status{font-size:.78rem;color:#587477;line-height:1.45}
#heatingScreen .heat-status.error{color:#b54242}
#heatingScreen .heat-footnote{font-size:.75rem;color:#748588;line-height:1.55;margin-top:16px}
@media(max-width:720px){#heatingScreen .heat-hero{min-height:570px;padding:20px 15px}#heatingScreen .heat-dial{width:min(420px,80vw)}#heatingScreen .heat-days{grid-template-columns:repeat(4,1fr)}#heatingScreen .heat-editor{grid-template-columns:repeat(2,1fr)}#heatingScreen .heat-editor .btn{grid-column:1/-1}}
@media(max-width:430px){#heatingScreen .heat-head{display:block}#heatingScreen .heat-pill{margin-top:14px}#heatingScreen .heat-section{padding:17px}#heatingScreen .heat-hero{min-height:500px;border-radius:20px}#heatingScreen .heat-dial{width:min(340px,78vw)}#heatingScreen .heat-dial-value{font-size:6.5rem}#heatingScreen .heat-adjust{width:52px;height:52px;font-size:2.7rem}#heatingScreen .heat-hero-note{font-size:.7rem}#heatingScreen .heat-days{grid-template-columns:repeat(4,1fr)}#heatingScreen .heat-day{min-height:61px}}

#heatingScreen .heat-control-row{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:18px 0 0}#heatingScreen .heat-control-row label{font-weight:700;font-size:.85rem}#heatingScreen .heat-control-row select{border:1px solid #cad9df;border-radius:8px;background:#fff;color:#204d71;padding:10px;min-width:80px}#heatingScreen .heat-control-row .primary{background:#204d71}#heatingScreen .heat-control-row :disabled,#heatingScreen .heat-adjust:disabled{opacity:.5}#heatingScreen .heat-adjust:not(:disabled){cursor:pointer}#heatingScreen .heat-command-status{font-size:.83rem;line-height:1.5;text-align:center;min-height:1.5em;margin:10px 0;color:#204d71}#heatingScreen .heat-command-status.error{color:#b54242}

#heatingScreen .heat-apply-week{margin:12px 0 16px}
#heatingScreen .heat-apply-week button{min-height:44px}
@media(max-width:640px){#heatingScreen .heat-apply-week button{width:100%}}
