:root{
  --bg0:#050607;
  --bg1:#0a0b0d;
  --card:#0c0e12cc;
  --line:#1a1f2a;
  --text:#e9ecf1;
  --muted:#9aa3b2;
  --ok:#2de38f;
  --bad:#ff4d4d;
  --accent:#8b5cf6;
  --accent2:#22d3ee;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background: radial-gradient(1200px 600px at 20% -10%, rgba(139,92,246,.18), transparent 60%),
              radial-gradient(900px 500px at 85% 10%, rgba(34,211,238,.12), transparent 55%),
              linear-gradient(180deg, var(--bg0), var(--bg1));
}
.bg{
  position:fixed; inset:0;
  background: radial-gradient(900px 500px at 50% 0%, rgba(255,255,255,.05), transparent 60%);
  pointer-events:none;
}
.wrap{max-width:1150px; margin:0 auto; padding:22px}
header{
  display:flex; align-items:center; justify-content:space-between;
  gap:18px;
}
.brand{display:flex; align-items:center; gap:14px}
.logo{
  width:42px; height:42px; border-radius:14px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(139,92,246,.9), rgba(34,211,238,.75));
  box-shadow: 0 20px 60px rgba(139,92,246,.22);
  font-weight:800; letter-spacing:.5px;
}
.title{font-weight:800; font-size:18px}
.subtitle{color:var(--muted); font-size:12px; margin-top:2px}
.meta{color:var(--muted); font-size:12px}

.cards{display:grid; grid-template-columns: 1fr 1fr 1fr 1.4fr; gap:14px; margin-top:8px}
.card{
  background: var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px 16px;
  backdrop-filter: blur(10px);
}
.card.wide{display:flex; flex-direction:column; gap:4px}
.cardLabel{color:var(--muted); font-size:12px}
.cardValue{font-size:26px; font-weight:800; letter-spacing:.2px}
.cardHint{color:var(--muted); font-size:12px}
.ok{color:var(--ok)}
.bad{color:var(--bad)}

.panel{
  margin-top:14px;
  background: rgba(12,14,18,.55);
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
}
.panelHeader{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 16px;
  border-bottom:1px solid var(--line);
}
.panelTitle{font-weight:800}
.panelRight{display:flex; gap:8px}
.chip{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  padding:8px 10px;
  border-radius:999px;
  font-size:12px;
  cursor:pointer;
}
.chip:hover{border-color: rgba(139,92,246,.55)}

.tableWrap{overflow:auto}
.table{width:100%; border-collapse:collapse; min-width:920px}
th,td{padding:12px 14px; border-bottom:1px solid rgba(26,31,42,.7); font-size:12px; vertical-align:top}
th{color:var(--muted); font-weight:700; text-align:left; letter-spacing:.2px}
tr:hover td{background: rgba(255,255,255,.02)}

.dot{width:10px; height:10px; border-radius:99px; display:inline-block; margin-top:2px}
.dot.ok{background:var(--ok)}
.dot.bad{background:var(--bad)}

.metric{display:flex; align-items:center; gap:10px}
.bar{height:7px; width:80px; border-radius:99px; background: rgba(255,255,255,.06); overflow:hidden; border:1px solid rgba(255,255,255,.06)}
.fill{height:100%; background: linear-gradient(90deg, rgba(139,92,246,.9), rgba(34,211,238,.85)); width:0%}
.fill.warn{background: linear-gradient(90deg, #fbbf24, #fb7185)}
.pct{min-width:44px; color:var(--text); font-variant-numeric: tabular-nums}
.small{color:var(--muted)}

.gimps{display:flex; flex-direction:column; gap:2px}
.gimps .a{font-weight:700}
.gimps .b{color:var(--muted)}

.footnote{padding:12px 16px; color:var(--muted); font-size:12px}

@media (max-width: 980px){
  .cards{grid-template-columns:1fr 1fr;}
  .card.wide{grid-column:1 / -1;}
}
