:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#193e34;background:#f3f4ee;font-synthesis:none;--muted:#627168;--line:#dce2d8}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #839e40;outline-offset:3px}[hidden]{display:none!important}.shell{max-width:1000px;margin:auto;padding:36px 28px}header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:27px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:13px}.mark{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:#193e34;color:#d8eead;font-size:34px;line-height:1}.brand h1{font-size:22px;letter-spacing:-.6px;font-weight:600;margin:0 0 2px}.brand .muted{font-size:12px}.muted{color:var(--muted);font-size:12px}.header-actions{display:flex;align-items:center;gap:14px}.demo{font-size:10px;font-weight:700;letter-spacing:.12em;border:1px solid #9daf7d;background:#e5edce;color:#4a6030;border-radius:6px;padding:5px 8px}button{padding:8px 12px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#193e34;min-height:40px}.summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:21px 0;font-size:13px}#status:before{content:"";display:inline-block;width:7px;height:7px;background:#658643;border-radius:50%;margin-right:8px}body[data-alert="true"] #status:before{background:#b24d29}#warning{padding:14px 18px;margin-bottom:18px;border-radius:12px;background:#fff1d9;border:1px solid #dfb16c;color:#7a451b;font-size:14px;line-height:1.5}.metrics{display:grid;grid-template-columns:1.35fr 1fr;gap:18px}.metric{padding:27px 30px 23px;border-radius:22px;min-width:0}.temperature{background:#193e34;color:#fff}.humidity{background:#e7ecd9;color:#294935}.metric-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.metric-top h2{font-size:15px;font-weight:500;margin:0}.metric-top>span{font-size:18px;opacity:.72}.number{font-size:clamp(68px,9vw,104px);font-weight:450;line-height:1.14;letter-spacing:-5px;font-variant-numeric:tabular-nums;margin:27px 0 13px}.metric-caption{font-size:13px;min-height:20px;margin:0 0 20px}.timestamp{font-size:12px;border-top:1px solid #ffffff35;padding-top:14px;margin:0;color:#d2dfd5;line-height:1.6}.humidity .timestamp{border-color:#29493525;color:#53634e}.metric[data-state="stale"],.metric[data-state="offline"]{background:#f1e7d7;color:#634721}.metric[data-state="stale"] .timestamp,.metric[data-state="offline"] .timestamp{color:#755b3c;border-color:#63472125}.metric[data-state="cold"]{background:#713d2c}.chart-card{background:white;border:1px solid var(--line);border-radius:20px;margin-top:18px;padding:22px 26px 12px}.chart-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.chart-heading h2{font-size:14px;font-weight:550;margin:0}.chart-wrap{position:relative;margin-top:18px}#chart{width:100%;height:160px;display:block;overflow:visible}#chart text{fill:#68756c;font-size:12px}#chart-empty{position:absolute;inset:0;display:grid;place-items:center;background:#ffffffa0;color:var(--muted);font-size:13px}footer{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted);margin-top:17px;line-height:1.5}.no-script{color:#853d27}.login{max-width:420px;padding-top:12vh}.login form{display:grid;gap:16px;background:white;padding:28px;border-radius:20px;margin-top:24px;border:1px solid var(--line)}.login label{display:grid;gap:7px;font-size:13px}.login input{font-size:16px;min-width:0;width:100%;padding:11px;border:1px solid #b8c4b8;border-radius:8px}.login button{background:#193e34;color:white;padding:12px}.login h1{font-size:27px}.login #error{color:#913d24;font-size:13px}.login .muted{line-height:1.6}
@media(max-width:600px){.shell{padding:22px 18px}.brand h1{font-size:20px}header{padding-bottom:20px}.metrics{grid-template-columns:1fr 1fr;gap:12px}.metric{padding:21px 18px 17px;border-radius:18px}.metric-top h2{font-size:13px}.metric-top>span{font-size:15px}.number{font-size:clamp(44px,11.7vw,70px);letter-spacing:-2.5px;margin:24px 0 12px}.metric-caption{font-size:12px;line-height:1.45;min-height:35px;margin-bottom:12px}.timestamp{font-size:11px;min-height:47px}.summary{padding:18px 0;font-size:12px}#clock{font-size:11px}.chart-card{padding:20px 16px 10px}.chart-heading h2{font-size:13px}.chart-heading .muted{font-size:10px}#chart{height:145px}.chart-heading{align-items:baseline}footer{font-size:10px}.header-actions{gap:7px}#logout{font-size:11px;padding:6px 8px}}
@media(max-width:359px){.shell{padding:18px 12px}.metrics{gap:9px}.metric{padding:18px 13px}.metric-top h2{font-size:12px}.number{font-size:43px}.brand{gap:9px}.mark{width:38px;height:38px}.brand h1{font-size:18px}.chart-heading{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
