:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#0f1115;--card-bg:#1a1d24;--border:#2a2e37;--text:#e8e9ec;--muted:#9aa1ac;--accent:#5b9dff;--ok:#3ddc84;--warn:#ffb020;--err:#ff5d5d;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}*{box-sizing:border-box}html,body{background:var(--bg);height:100%;color:var(--text);margin:0}#app{flex-direction:column;height:100vh;display:flex;overflow:hidden}.page-header{flex-wrap:wrap;flex:none;align-items:center;gap:.3rem .75rem;padding:.6rem 1rem;display:flex}.page-header h1{flex:none;margin:0;font-size:1.1rem}.page-header p{color:var(--muted);flex:200px;margin:0;font-size:.75rem}button[data-role=enable-all]{background:var(--ok);color:#05130a;cursor:pointer;border:none;border-radius:6px;flex:none;padding:.4rem .7rem;font-size:.75rem;font-weight:700}button[data-role=enable-all]:disabled{background:var(--border);color:var(--muted);cursor:not-allowed}.grid{flex:auto;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));grid-auto-rows:minmax(150px,1fr);gap:.5rem;padding:0 .5rem .5rem;display:grid;overflow-y:auto}.card{background:var(--card-bg);border:1px solid var(--border);border-radius:10px;flex-direction:column;gap:.3rem;min-height:0;padding:.55rem .65rem;display:flex;overflow-y:auto}.card-header{align-items:center;gap:.4rem;display:flex}.card-header .icon{font-size:1rem}.card-header h2{white-space:nowrap;text-overflow:ellipsis;flex:1;margin:0;font-size:.85rem;overflow:hidden}.status-dot{background:var(--muted);border-radius:50%;flex:none;width:9px;height:9px}.card[data-status=active] .status-dot{background:var(--ok);box-shadow:0 0 6px var(--ok)}.card[data-status=requesting] .status-dot{background:var(--warn)}.card[data-status=error] .status-dot,.card[data-status=unsupported] .status-dot{background:var(--err)}.description{color:var(--muted);margin:0;font-size:.7rem;line-height:1.25}.visual{justify-content:center;align-items:center;display:flex}.camera-preview{object-fit:cover;border-radius:6px;width:100%;max-height:90px}.level-meter{background:#000;border-radius:4px;width:100%;height:8px;overflow:hidden}.level-meter-fill{background:var(--accent);width:0%;height:100%;transition:width 50ms linear}.readings{flex:auto;grid-template-columns:auto 1fr;gap:.1rem .4rem;min-height:0;margin:0;font-size:.7rem;display:grid;overflow:auto}.readings dt{color:var(--muted);white-space:nowrap}.readings dd{font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.message{color:var(--warn);flex:0 auto;min-height:1em;margin:0;font-size:.68rem;overflow-y:auto}.card[data-status=unsupported] .message{color:var(--muted)}button[data-role=action]{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:6px;padding:.35rem .5rem;font-size:.75rem;font-weight:600}button[data-role=action]:disabled{background:var(--border);color:var(--muted);cursor:not-allowed}.card[data-status=active] button[data-role=action]{background:var(--err)}@media (width<=640px){.grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));grid-auto-rows:minmax(130px,1fr)}.description{display:none}}
