:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0b0e14;--card:#151a24;--text:#e6e9ef;--muted:#8a93a6}*{box-sizing:border-box}html,body,#app{height:100%;margin:0}body{background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.sign-in{flex-direction:column;justify-content:center;align-items:center;gap:1.5rem;height:100%;display:flex}.home{flex-direction:column;height:100%;display:flex}.card-slot{flex:1;padding:1.5rem;overflow:auto}.device-card h1{margin:0 0 1rem;font-size:1.75rem}.sensor-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:1rem;display:grid}.sensor-tile{background:var(--card);border-top:4px solid #0000;border-radius:12px;padding:.9rem}.sensor-tile.band-red{border-top-color:#e5484d}.sensor-tile.band-yellow{border-top-color:#f5d90a}.sensor-tile.band-green{border-top-color:#30a46c}.sensor-tile.band-blue{border-top-color:#0091ff}.sensor-name{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:.85rem;overflow:hidden}.sensor-value{margin:.15rem 0;font-size:1.8rem;font-weight:600}.sensor-range,.sensor-age{color:var(--muted);font-size:.75rem}.sensor-sparkline{margin:.4rem 0}.dots{justify-content:center;gap:.5rem;padding:1rem;display:flex}.dot{background:var(--muted);opacity:.4;cursor:pointer;border:none;border-radius:50%;width:10px;height:10px;padding:0}.dot.active{opacity:1;background:var(--text)}.screen{flex-direction:column;height:100%;display:flex}.screen-body{flex:1;min-height:0;overflow:auto}.top-nav{border-bottom:1px solid var(--card);flex-shrink:0;gap:1rem;padding:.75rem 1.5rem;display:flex}.top-nav a{color:var(--muted);font-size:.9rem;text-decoration:none}.top-nav a.active{color:var(--text);font-weight:600}.history{flex-direction:column;gap:1rem;padding:1.5rem;display:flex}.history-controls{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.history-controls select,.history-controls button{background:var(--card);color:var(--text);border:1px solid var(--muted);border-radius:6px;padding:.4rem .7rem;font-size:.9rem}.range-buttons{gap:.4rem;display:flex}.range-buttons button.active{border-color:var(--text);font-weight:600}.history-status{color:var(--muted);font-size:.85rem}.history-chart{background:var(--card);border-radius:12px;padding:1rem}.history-chart-title{color:var(--muted);margin:0 0 .5rem;font-size:.95rem}.history-empty{color:var(--muted);font-size:.85rem}.uplot,.uplot *,.uplot :before,.uplot :after{box-sizing:border-box}.uplot{width:min-content;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}.u-title{text-align:center;font-size:18px;font-weight:700}.u-wrap{-webkit-user-select:none;user-select:none;position:relative}.u-over,.u-under{position:absolute}.u-under{overflow:hidden}.uplot canvas{width:100%;height:100%;display:block;position:relative}.u-axis{position:absolute}.u-legend{text-align:center;margin:auto;font-size:14px}.u-inline{display:block}.u-inline *{display:inline-block}.u-inline tr{margin-right:16px}.u-legend th{font-weight:600}.u-legend th>*{vertical-align:middle;display:inline-block}.u-legend .u-marker{width:1em;height:1em;margin-right:4px;background-clip:padding-box!important}.u-inline.u-live th:after{content:":";vertical-align:middle}.u-inline:not(.u-live) .u-value{display:none}.u-series>*{padding:4px}.u-series th{cursor:pointer}.u-legend .u-off>*{opacity:.3}.u-select{pointer-events:none;background:#00000012;position:absolute}.u-cursor-x,.u-cursor-y{pointer-events:none;will-change:transform;position:absolute;top:0;left:0}.u-hz .u-cursor-x,.u-vt .u-cursor-y{border-right:1px dashed #607d8b;height:100%}.u-hz .u-cursor-y,.u-vt .u-cursor-x{border-bottom:1px dashed #607d8b;width:100%}.u-cursor-pt{pointer-events:none;will-change:transform;border:0 solid;border-radius:50%;position:absolute;top:0;left:0;background-clip:padding-box!important}.u-axis.u-off,.u-select.u-off,.u-cursor-x.u-off,.u-cursor-y.u-off,.u-cursor-pt.u-off{display:none}
