@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#252932;background:#f5f6f8;font-size:16px;--accent:#b9430b;--muted:#6b7280;--border:#e4e7eb}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:0;border-radius:8px;background:var(--accent);color:white;padding:11px 17px;font-weight:600}button:hover{filter:brightness(.93)}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #d69636;outline-offset:3px}a{text-decoration:none;color:inherit}aside{position:fixed;width:244px;height:100dvh;background:#fff;border-right:1px solid var(--border);padding:35px 22px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:9px;font:800 19px Manrope,sans-serif;white-space:nowrap}.brand b{color:var(--accent)}.mark{background:#b9430b;color:#fff;border-radius:10px;padding:8px;font-size:23px}.workspace{font-size:12px;letter-spacing:1.5px;color:#7b8290;margin:55px 12px 17px}.nav{display:flex;gap:12px;padding:14px 12px;border-radius:8px;font-size:14px;margin:4px 0;background:transparent;color:#667080;text-align:left}.nav.active{background:#fff0e5;color:#b9430b;font-weight:700}.aside-bottom{margin-top:auto;padding:15px 10px}.chip{font-size:11px;letter-spacing:1px;color:#996540}.aside-bottom p{font:700 23px/1.4 Manrope,sans-serif}.aside-bottom small{color:#858b96}main{margin-left:244px;padding:0 42px;max-width:1700px}header{height:90px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.breadcrumb{font-size:12px;letter-spacing:1px;color:#858b96}.breadcrumb strong{color:#5f6672}.header-right{display:flex;gap:20px;align-items:center;font-size:14px}.header-right>span{color:var(--muted)}.heading{display:flex;align-items:center;justify-content:space-between;margin:38px 0 23px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;color:var(--accent)}h1{font:800 clamp(27px,3vw,38px)/1.25 Manrope,sans-serif;letter-spacing:-1.4px;margin:10px 0}h1 span{color:#f97316}.heading p,p{color:var(--muted);line-height:1.6}.heading p{margin:0;font-size:15px}.subtle{background:white;color:#9a3b0d;border:1px solid var(--border)}.notice{padding:13px 17px;border:1px solid #f1ddcf;background:#fff6ef;border-radius:9px;color:#865337;font-size:14px;margin-bottom:23px}.notice.demo{background:#fff5df;border-color:#ebd4a1;color:#805c1f}.notice.error{background:#fdefec;border-color:#e9bcb3;color:#a04738}.metrics{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:20px}.card{background:white;border:1px solid var(--border);border-radius:14px;padding:25px;box-shadow:0 3px 8px #25293203}.temperature{background:#7c2d12;color:white;border-color:#7c2d12}.card-label{display:flex;justify-content:space-between;gap:10px;font-size:11px;letter-spacing:1.4px;font-weight:700}.card-label span{font-size:10px;letter-spacing:.8px;opacity:.65}.reading{margin:17px 0 7px;display:flex;align-items:baseline;gap:10px}.reading strong{font:500 72px/1.1 Manrope,sans-serif;letter-spacing:-4px}.reading>span{font-size:26px;color:#ffd2af}.status{font-size:14px;color:#ffe4d1;min-height:21px}.scale{display:flex;gap:4px;margin-top:24px}.scale i{height:5px;width:33.33%;border-radius:3px;background:#75bc96}.scale i:nth-child(2){background:#e5bf6d}.scale i:nth-child(3){background:#d78373}.scale-label{display:flex;justify-content:space-between;font-size:10px;margin-top:8px;color:#ffdfc6;gap:5px}.future{position:relative}.future .card-label{color:#687080}.future-reading{font:500 56px Manrope,sans-serif;color:#bec3cc;margin:20px 0 14px}.future-reading span{font-size:24px}h3{font-size:15px;margin:0 0 5px}.future p{font-size:14px;margin:0 0 16px;max-width:230px}.tag{display:inline-block;padding:5px 9px;background:#f1f3f6;border-radius:5px;color:#687080;font-size:11px}.lower{display:grid;grid-template-columns:2.05fr 1fr;gap:20px;margin-top:22px}.section-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}h2{font:700 17px Manrope,sans-serif;margin:0}.section-head p{font-size:13px;margin:6px 0 0}.ranges{display:flex;background:#f3f4f6;padding:3px;border-radius:7px}.ranges button{font-size:12px;padding:6px 10px;background:transparent;color:#747c89}.ranges .selected{background:white;color:#b9430b;box-shadow:0 1px 3px #0001}.plot{height:240px;margin-top:22px;display:flex;align-items:center;justify-content:center}.empty{text-align:center;color:#667080;font-size:15px}.empty small{display:block;margin-top:9px;color:#858d99;font-size:13px}.plot svg{width:100%;height:100%;overflow:visible}.chart-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eef0f3;padding-top:15px;font-size:12px;color:#727b89}.legend{display:inline-block;width:8px;height:8px;border-radius:50%;background:#ea580c;margin-right:7px}.text-button{background:none;color:#b9430b;font-size:12px;padding:4px}.device-art{display:flex;justify-content:center;align-items:center;height:124px;background:radial-gradient(ellipse,#fff0e3,white 70%);gap:20px}.board{width:54px;height:79px;background:#374151;border:5px solid #202630;border-radius:5px;position:relative;box-shadow:6px 5px 0 #f1ddcf}.board:before,.board:after{content:'';position:absolute;width:5px;height:65px;top:2px;background:repeating-linear-gradient(#b9bca8 0 3px,transparent 3px 7px)}.board:before{left:-10px}.board:after{right:-10px}.board span{display:block;background:#bdc3cb;margin:6px 3px;padding:12px 0;font-size:8px;text-align:center;color:#374151}.board i{display:block;width:4px;height:4px;background:#ffad64;margin:3px}.sensor-probe{height:63px;width:12px;border-radius:7px 7px 2px 2px;background:linear-gradient(90deg,#939eac,#e7eaf0,#a2aab7);position:relative}.sensor-probe:after{content:'';position:absolute;top:62px;left:4px;height:20px;border-left:3px solid #4b5563}.device h3{margin-top:10px}.device p{font-size:13px;margin:4px 0 17px}dl{margin:0}dl div{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin-top:12px}dt{color:#7b8290}dd{margin:0;text-align:right;overflow-wrap:anywhere}.events{margin-top:22px}.muted{font-size:14px;color:#7b8290}.event{display:flex;justify-content:space-between;padding:13px 0;border-top:1px solid #eef0f3;font-size:14px;gap:16px}.event:first-child{margin-top:18px}.event time{color:#7b8290;font-size:12px}.event em{font-style:normal;color:#8e6841}footer{display:flex;justify-content:space-between;gap:25px;padding:25px 0 30px;font-size:11px;color:#7b8290;line-height:1.6}footer strong{font-size:10px;letter-spacing:1px}footer>span:last-child{max-width:470px;text-align:right}dialog{border:1px solid var(--border);border-radius:16px;padding:28px;width:min(500px,92vw);color:#252932}dialog::backdrop{background:#17202b80}dialog p{font-size:14px}#close{background:#f3f4f6;color:#6b7280;padding:5px 9px}label{display:block;font-size:14px;font-weight:600;margin-top:20px}input{display:block;width:100%;padding:12px;border:1px solid #d0d5de;border-radius:7px;margin-top:7px}dialog small{display:block;color:#727b89;font-size:12px;line-height:1.6;margin-top:15px}.dialog-actions{display:flex;justify-content:space-between;margin-top:22px}#configError{color:#a04738}.reading strong.hot{color:#ffd0b5}@media(min-width:1500px){main{padding:0 60px}}@media(max-width:1100px){aside{width:200px;padding:30px 15px}.brand{font-size:16px}main{margin-left:200px;padding:0 24px}.metrics{gap:12px}.card{padding:20px}.reading strong{font-size:59px}.scale-label{font-size:9px}.lower{grid-template-columns:1.7fr 1fr;gap:12px}}@media(max-width:800px){aside{position:static;height:auto;width:100%;padding:18px 22px;flex-direction:row;align-items:center;justify-content:space-between}.workspace,.aside-bottom,.nav{display:none}main{margin:0;padding:0 18px}header{height:70px}.breadcrumb{display:none}.header-right{width:100%;justify-content:space-between}.heading{margin-top:25px;gap:12px}.heading p{font-size:14px}.heading .subtle{white-space:nowrap;padding:10px}.metrics{grid-template-columns:1fr 1fr}.temperature{grid-column:1/-1}.reading strong{font-size:72px}.future{padding:18px}.future-reading{font-size:38px;margin:10px 0}.future h3{font-size:14px}.future p{font-size:13px}.card-label{font-size:10px}.card-label span{font-size:9px}.lower{grid-template-columns:1fr}.plot{height:220px}.device-art{height:90px}.device dl{display:grid;grid-template-columns:1fr;gap:0}.scale-label{font-size:11px}footer{flex-direction:column;gap:9px}footer>span:last-child{text-align:left}.event{font-size:12px}.event time{white-space:nowrap}.chart-card{scroll-margin-top:15px}}@media(prefers-reduced-motion:no-preference){.card{animation:appear .4s ease both}@keyframes appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}}

/* Electricity-inspired orange branding; the status scale keeps its semantic colors. */
.temperature{background:linear-gradient(125deg,#7c2d12 0%,#9a3412 70%,#b9430b 100%)}

.voltage-card{background:#fffaf5}.voltage-reading{display:flex;align-items:baseline;gap:10px;margin:22px 0 16px}.voltage-reading strong{font:600 48px/1.2 Manrope,sans-serif;letter-spacing:-2px;color:#b9430b}.voltage-reading>span{font-size:24px;color:#9a674b}.voltage-card p{font-size:14px}.history-controls{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.scale-label{font-size:11px}@media(max-width:1100px){.history-controls{max-width:210px}}@media(max-width:600px){.chart-card .section-head{flex-direction:column}.history-controls{max-width:none;justify-content:flex-start}.voltage-reading strong{font-size:38px}}

.notification-card{margin-top:22px}.push-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.push-help,.notification-card details{font-size:13px;color:#687080;line-height:1.6}.notification-card summary{cursor:pointer;color:#9a3b0d;font-weight:600}button:disabled{opacity:.5;cursor:not-allowed}.notification-card #pushStatus{overflow-wrap:anywhere}@media(max-width:600px){.notification-card .section-head{align-items:flex-start;gap:14px}.push-actions{align-items:stretch}.push-actions button{flex:1 1 180px}}
