:root {
  --bg: #0b0e14;
  --card: #121722;
  --card-2: #192130;
  --border: #273248;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --green: #10b981;
  --red: #ef4444;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; line-height: 1.5; }
code, pre { font-family: var(--mono); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 18px; }
.topbar { border-bottom: 1px solid var(--border); background: rgba(11, 14, 20, 0.92); position: sticky; top: 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; gap: 10px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; }
.pill { font-size: 0.78rem; padding: 2px 9px; border-radius: 999px; background: rgba(56, 189, 248, 0.14); color: #7dd3fc; border: 1px solid rgba(56, 189, 248, 0.35); }
.actions { display: flex; gap: 8px; }
.btn { border: 1px solid var(--border); background: var(--card-2); color: var(--text); padding: 6px 12px; border-radius: 8px; cursor: pointer; text-decoration: none; font-size: 0.84rem; font-weight: 500; }
.btn.star { background: #eab308; border-color: #eab308; color: #111; font-weight: 700; }
.hero { padding: 26px 0 14px; }
.hero h1 { margin: 0 0 8px; font-size: clamp(1.4rem, 3vw, 2.1rem); }
.hero p { color: var(--muted); max-width: 780px; margin: 0; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 18px; margin-bottom: 18px; }
.head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.head h2 { margin: 0; font-size: 1.05rem; }
.muted { color: var(--muted); font-size: 0.82rem; font-family: var(--mono); }
.code-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #070a0f; border: 1px solid var(--border); border-radius: 8px; padding: 9px 12px; font-size: 0.84rem; color: #bae6fd; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } }
.span-list { display: flex; flex-direction: column; gap: 8px; }
.span-row { border: 1px solid var(--border); background: #070a0f; border-radius: 8px; padding: 10px; cursor: pointer; text-align: left; color: var(--text); width: 100%; }
.span-row.active { border-color: var(--accent); background: rgba(56, 189, 248, 0.12); }
.span-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.84rem; margin-bottom: 5px; }
.bar-bg { height: 6px; background: #1e293b; border-radius: 4px; position: relative; }
.bar-fill { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: var(--accent); }
.bar-fill.err { background: var(--red); }
.bar-fill.ok { background: var(--green); }
.detail-box pre { background: #070a0f; border: 1px solid var(--border); border-radius: 8px; padding: 10px; font-size: 0.79rem; white-space: pre-wrap; margin: 8px 0 0; }
.autopsy { border: 1px solid rgba(239, 68, 68, 0.45); background: rgba(239, 68, 68, 0.12); border-radius: 8px; padding: 10px; font-size: 0.83rem; color: #fca5a5; margin-top: 10px; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 0.84rem; padding: 12px 0 28px; }
.footer a { color: var(--accent); text-decoration: none; }
