/* VOLTERRA admin panel styles (moved out of the page so CSP style-src 'self' works). */
:root { --bg:#0b0f12; --panel:#121a20; --line:#1f2c35; --text:#e6eef2; --mute:#8aa0ad; --acc:#2ee6d6; --warn:#ffb347; }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--text); font:15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
header { padding:16px; border-bottom:1px solid var(--line); display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
header h1 { margin:0; font-size:18px; letter-spacing:.08em; }
header h1 span { color:var(--acc); }
#upd { color:var(--mute); font-size:13px; margin-left:auto; }
button { background:transparent; color:var(--acc); border:1px solid var(--acc); border-radius:6px; padding:6px 12px; font:inherit; cursor:pointer; }
main { padding:16px; max-width:1100px; margin:0 auto; display:grid; gap:16px; }
.tiles { display:grid; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); gap:12px; }
.tile { background:var(--panel); border:1px solid var(--line); border-radius:10px; padding:12px 14px; }
.tile .k { color:var(--mute); font-size:12px; text-transform:uppercase; letter-spacing:.06em; }
.tile .v { font-size:28px; font-weight:700; margin-top:2px; font-variant-numeric:tabular-nums; }
.tile .s { color:var(--mute); font-size:12px; }
section { background:var(--panel); border:1px solid var(--line); border-radius:10px; padding:14px; overflow:hidden; }
section h2 { margin:0 0 10px; font-size:14px; letter-spacing:.06em; text-transform:uppercase; color:var(--mute); }
.bars { display:flex; align-items:flex-end; gap:3px; height:120px; }
.bar { flex:1; background:var(--acc); opacity:.85; min-height:2px; border-radius:2px 2px 0 0; position:relative; }
.bar:hover::after { content:attr(data-t); position:absolute; bottom:100%; left:50%; transform:translateX(-50%); background:#000; color:#fff; font-size:11px; padding:2px 5px; border-radius:4px; white-space:nowrap; }
.axis { display:flex; justify-content:space-between; color:var(--mute); font-size:11px; margin-top:4px; }
table { width:100%; border-collapse:collapse; font-size:14px; }
th, td { text-align:left; padding:6px 8px; border-bottom:1px solid var(--line); }
th { color:var(--mute); font-weight:600; font-size:12px; text-transform:uppercase; }
td.n { text-align:right; font-variant-numeric:tabular-nums; }
.wrap { overflow-x:auto; }
.meter { height:8px; background:var(--line); border-radius:4px; overflow:hidden; min-width:60px; }
.meter i { display:block; height:100%; background:var(--acc); }
#err { background:#3a1212; border:1px solid #7a2a2a; color:#ffd2d2; padding:10px 12px; border-radius:8px; }
.muted { color:var(--mute); }
@media (max-width:420px) { .tile .v { font-size:22px; } th, td { padding:5px 4px; } }
[hidden] { display:none !important; }
.login-wrap { padding:8px 0; }
.login-wrap .acct-card { margin:0 auto; }
.btn-out { color:var(--mute); border-color:var(--line); }
.meter-cell { width:30%; }
#dash { display:grid; gap:16px; }
