:root { --bg:#0f1623; --panel:#161f30; --line:#26344b; --text:#e6edf6; --muted:#8aa0bd; --accent:#3b82f6; --ok:#22c55e; --blocked:#f59e0b; --err:#ef4444; }
* { box-sizing:border-box; }
body { margin:0; font:15px/1.5 system-ui,-apple-system,Segoe UI,Roboto,sans-serif; background:var(--bg); color:var(--text); }
.muted { color:var(--muted); }
.error { color:var(--err); }
.brand-mark { display:inline-grid; place-items:center; width:34px; height:34px; border-radius:8px; background:var(--accent); color:#fff; font-weight:700; }
.brand-mark.big { width:56px; height:56px; font-size:20px; margin-bottom:8px; }
.brand { display:flex; gap:12px; align-items:center; }
.brand h1 { margin:0; font-size:17px; }
.brand p { margin:0; font-size:12px; }

.topbar { display:flex; justify-content:space-between; align-items:center; padding:14px 22px; border-bottom:1px solid var(--line); background:var(--panel); }
.tabs { display:flex; gap:4px; flex-wrap:wrap; padding:10px 18px; border-bottom:1px solid var(--line); }
.tab { background:transparent; border:1px solid transparent; color:var(--muted); padding:6px 12px; border-radius:7px; cursor:pointer; font-size:14px; }
.tab:hover { color:var(--text); }
.tab.active { background:var(--accent); color:#fff; }
.content { padding:22px; }

table.grid { width:100%; border-collapse:collapse; font-size:14px; }
.grid th, .grid td { text-align:left; padding:8px 10px; border-bottom:1px solid var(--line); }
.grid th { color:var(--muted); font-weight:600; }

.score { display:flex; align-items:baseline; gap:14px; margin-bottom:18px; }
.score-num { font-size:42px; font-weight:800; }
.score-status { padding:3px 10px; border-radius:999px; font-size:13px; }
.status-ok { background:rgba(34,197,94,.15); color:var(--ok); }
.status-blocked { background:rgba(245,158,11,.15); color:var(--blocked); }

.login { max-width:420px; margin:14vh auto; text-align:center; padding:32px; }
.login h1 { margin:6px 0; }
button.primary { background:var(--accent); color:#fff; border:0; padding:11px 22px; border-radius:8px; font-size:15px; cursor:pointer; margin-top:14px; }
button.ghost { background:transparent; color:var(--muted); border:1px solid var(--line); padding:7px 14px; border-radius:8px; cursor:pointer; }
