/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.link-button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--accent);
  cursor: pointer;
}
.link-button:hover { text-decoration: underline; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

h1, h2, h3 { margin: 0 0 0.75rem; font-weight: 600; }
h1 { font-size: 1.4rem; letter-spacing: -0.01em; }
h2 { font-size: 1.1rem; color: var(--base01); }
h3 { font-size: 0.95rem; color: var(--base01); }
code, pre {
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
pre {
  background: var(--pre-bg);
  border: 1px solid var(--pre-border);
  border-radius: var(--radius);
  padding: 1rem;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

/* A value the backend has nothing for — present, but never as loud as data. */
.is-empty { color: var(--text-faint); }
