:root {
  --bg: #fbfaf7;
  --text: #1d2330;
  --muted: #5b6475;
  --accent: #2b5fb4;
  --border: #e3e0d8;
  --note-bg: #fff6d8;
  --note-border: #e8c65a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171d;
    --text: #e7e9ee;
    --muted: #a2a9b7;
    --accent: #8fb3ff;
    --border: #2b303a;
    --note-bg: #2e2812;
    --note-border: #8a7424;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

header { border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
header p { color: var(--muted); margin-top: 0; }
h1 { font-size: 1.8rem; line-height: 1.25; margin: 0 0 .5rem; }
h2 { font-size: 1.25rem; margin-top: 2rem; }
a { color: var(--accent); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; display: block; overflow-x: auto; }
th, td { border: 1px solid var(--border); padding: .5rem; text-align: left; vertical-align: top; }
th { background: color-mix(in srgb, var(--border) 40%, transparent); }
.note {
  background: var(--note-bg);
  border: 1px solid var(--note-border);
  border-radius: 8px;
  padding: .75rem 1rem;
}
.placeholder { font-family: ui-monospace, Menlo, monospace; font-size: .9em; }
footer { margin-top: 3rem; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--border); padding-top: 1rem; }
