:root {
  color-scheme: light;
  --bg: #f4f5f0;
  --surface: #ffffff;
  --surface-alt: #eef1ec;
  --line: #cfd7d0;
  --line-strong: #8f9c94;
  --text: #18211c;
  --muted: #5d6c62;
  --faint: #7b877f;
  --focus: #005f73;
  --canonical: #2e7d5b;
  --stale: #b13f3a;
  --near: #b7771f;
  --zombie: #8a6a3f;
  --unknown: #5d5aa8;
  --context: #68737b;
  --orphan-strict: #6d3fb5;
  --orphan-weak: #00788a;
  --orphan-excluded: #8a929a;
  --orphan-pending: #b0b6bc;
  --live: #087e8b;
  --proof: #1f6feb;
  --source-error: #8f1d63;
  --source-catching-up: #6f6a00;
  --shadow: 0 1px 2px rgba(24, 33, 28, 0.08);
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #171a18;
  --surface: #202520;
  --surface-alt: #2a302b;
  --line: #404941;
  --line-strong: #66746b;
  --text: #edf2ed;
  --muted: #b8c3bb;
  --faint: #99a69e;
  --focus: #7dd3fc;
  --canonical: #65b88c;
  --stale: #f06f67;
  --near: #e4a84f;
  --zombie: #c2a06a;
  --unknown: #aaa7ff;
  --context: #a7b0b6;
  --orphan-strict: #b18cff;
  --orphan-weak: #38c7d4;
  --orphan-excluded: #9aa3aa;
  --orphan-pending: #6b747b;
  --live: #4bc0c8;
  --proof: #84a9ff;
  --source-error: #ff7ac8;
  --source-catching-up: #d3c742;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

button,
select,
input {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
}

button:focus-visible,
select:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  font-weight: 700;
}

h1 {
  font-size: 20px;
}

h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
}

h3 {
  font-size: 13px;
}

p {
  margin: 0;
}

code,
.mono {
  font-family: var(--mono);
}
