:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#e9f0f5;background:#0d161f;color-scheme:dark;--muted:#9eb1c0;--line:#2b4052;--accent:#80dce9}*{box-sizing:border-box}body{margin:0}main{max-width:1100px;margin:auto;padding:36px 24px 24px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}h1,h2,p{margin-top:0}h1{font-size:34px;letter-spacing:-1px;margin-bottom:0}h1 span{color:var(--accent)}h2{font-size:23px;letter-spacing:-.4px;margin-bottom:16px}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--muted);margin-bottom:10px}.muted{color:var(--muted)}.panel{background:#182736;border:1px solid var(--line);border-radius:18px}.login{max-width:430px;margin:70px auto;padding:30px}.login .muted{line-height:1.6}form{display:grid;gap:18px;margin-top:26px}label{display:grid;gap:8px;color:#bcd0df;font-size:13px}input,select{font:inherit;font-size:16px;width:100%;background:#101d29;border:1px solid #446074;border-radius:9px;color:#edf3f6;padding:12px;min-height:46px}button,.quiet{font:inherit;border:0;border-radius:9px;padding:12px 18px;background:var(--accent);color:#0a2430;font-weight:650;cursor:pointer;text-decoration:none;display:inline-block;text-align:center}button:disabled{opacity:.55;cursor:wait}.quiet{background:#213648;color:#c8dce8;font-size:14px}button:hover,.quiet:hover{filter:brightness(1.1)}input:focus,select:focus,button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.error{color:#ffb4a8;line-height:1.5;margin:0}.error:empty{display:none}[hidden]{display:none!important}.connection{display:flex;align-items:center;gap:10px;font-size:14px;margin-bottom:18px;flex-wrap:wrap}.connection #device{margin-left:auto;font-size:12px}.dot{width:8px;height:8px;flex-shrink:0;border-radius:50%;background:#93a2ad}.dot.ok{background:#80dca8}.dot.warn{background:#ecc183}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.card{padding:24px}.card p{color:#b6cada;font-size:14px;margin-bottom:14px}.card strong{font-size:42px;line-height:1.1;letter-spacing:-1px}.card span{color:#b6cada;font-size:15px}.card small{display:block;margin-top:12px;color:#728fa5;font-size:11px}.freshness{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px;margin:17px 0 28px}.history{padding:26px}.historyTop{display:flex;align-items:center;justify-content:space-between;gap:16px}.controls{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin:8px 0 22px}.summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:16px 0 18px;border-bottom:1px solid var(--line)}.summary span{display:block;color:var(--muted);font-size:12px;margin-bottom:7px}.summary strong{font-size:20px;font-weight:600}.chartWrap{height:310px;position:relative;margin-top:20px}canvas{width:100%;height:100%;display:block;touch-action:pan-y}.chartMessage{position:absolute;top:40%;left:10%;right:10%;text-align:center;color:var(--muted);pointer-events:none;font-size:14px}.hover{min-height:22px;font-size:13px;color:#c8dce8;margin:8px 0 16px}.chartFooter{border-top:1px solid var(--line);padding-top:16px;font-size:13px}.chartFooter p{margin-bottom:10px}.legend{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#b5c9d8;font-size:12px}.lineKey{width:20px;height:2px;background:var(--accent)}.rangeKey{width:14px;height:10px;background:#345d70;margin-left:10px}.fine{font-size:12px;line-height:1.5}footer{text-align:center;font-size:12px;color:#7390a6;margin-top:26px}@media(max-width:600px){main{padding:24px 16px}header{margin-bottom:24px}h1{font-size:29px}h2{font-size:20px}.eyebrow{letter-spacing:1.5px;font-size:10px}.login{margin:35px auto;padding:24px}.cards{gap:10px}.card{padding:16px 10px}.card p{font-size:11px;min-height:26px;margin-bottom:8px}.card strong{font-size:26px}.card span{font-size:11px}.card small{font-size:10px}.connection #device{width:100%;margin-left:18px}.history{padding:18px 14px}.historyTop{align-items:flex-start;flex-wrap:wrap;gap:0}.historyTop .quiet{margin-bottom:18px;font-size:12px;padding:10px 12px}.controls{grid-template-columns:1fr 1fr;gap:10px}select{font-size:14px;padding:10px}.summary strong{font-size:17px}.chartWrap{height:260px}.freshness{line-height:1.5}.hover{font-size:12px;line-height:1.6}}
.notifications{padding:20px 24px;margin-bottom:24px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}.notifications p{font-size:13px;margin:8px 0 0}.notifications button{margin-left:auto}.notifications #notificationResult{width:100%;color:#bcd0df}@media(max-width:600px){.notifications{padding:18px 14px}.notifications button{margin-left:0}}
