:root {
  --bg: #fbf8f1;
  --surface: #ffffff;
  --text: #1c2133;
  --muted: #4e5568;
  --accent: #7a560f;
  --border: #e4dccb;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1424;
    --surface: #161e33;
    --text: #eef0f6;
    --muted: #b4bacb;
    --accent: #e8c26a;
    --border: #28324d;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
header, main, footer { max-width: 720px; margin: 0 auto; padding: 0 16px; }
header { padding-top: 28px; padding-bottom: 8px; }
header a.brand { color: var(--accent); font-weight: 700; letter-spacing: 0.02em; text-decoration: none; font-size: 1.05rem; }
nav { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 0.95rem; }
nav a { color: var(--muted); }
nav a[aria-current="page"] { color: var(--text); font-weight: 600; text-decoration: none; }
h1 { font-size: 2rem; line-height: 1.2; margin: 24px 0 4px; }
h2 { font-size: 1.25rem; margin: 32px 0 8px; }
p, li { color: var(--text); }
.muted, .effective { color: var(--muted); }
.effective { margin-top: 0; font-size: 0.95rem; }
a { color: var(--accent); }
ul { padding-left: 1.2em; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 4px 18px; margin: 16px 0; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; }
footer { padding-top: 32px; padding-bottom: 40px; font-size: 0.9rem; color: var(--muted); }
footer a { color: var(--muted); }
