:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f1f5f9;
  --card: #ffffff;
  --brand: #1f2937;
  --brand2: #111827;
  --accent: #059669;
  --accent-soft: #d1fae5;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
header {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.logo {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, #10b981, #059669);
  display: grid; place-items: center;
  font-weight: 800; font-size: 17px; color: #052e1f;
  box-shadow: 0 4px 14px rgba(16,185,129,.4);
}
.brand h1 { font-size: 18px; margin: 0; font-weight: 700; letter-spacing: .2px; }
.brand p { margin: 2px 0 0; font-size: 12.5px; color: #cbd5e1; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16,185,129,.16); color: #6ee7b7;
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
}
.pill.bad { background: rgba(248,113,113,.16); color: #fca5a5; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(110,231,183,.18); }
main { max-width: 1080px; margin: 0 auto; padding: 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px; box-shadow: 0 1px 3px rgba(15,23,42,.06);
}
.stat .label { font-size: 12.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.stat .value { font-size: 34px; font-weight: 800; margin-top: 8px; line-height: 1; }
.stat .sub { font-size: 12.5px; color: var(--accent); margin-top: 8px; font-weight: 600; }
section { margin-top: 28px; }
h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin: 0 0 12px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 3px rgba(15,23,42,.06); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); background: #f8fafc; }
tr:last-child td { border-bottom: none; }
td.num { text-align: right; font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 600; }
.empty { padding: 22px 18px; color: var(--muted); font-size: 14px; }
.endpoints { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; background: #fff; border: 1px solid var(--line); color: #334155; padding: 6px 10px; border-radius: 8px; }
footer { max-width: 1080px; margin: 8px auto 40px; padding: 0 28px; color: var(--muted); font-size: 12.5px; }
