:root {
  --bg: #ffffff;
  --surface: #f6f8fa;
  --text: #1f2328;
  --muted: #59636e;
  --line: #d1d9e0;
  --accent: #0969da;
  --warn-bg: #fff8c5;
  --warn-line: #d4a72c;
  --warn-text: #4d2d00;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117;
    --surface: #161b22;
    --text: #e6edf3;
    --muted: #9198a1;
    --line: #30363d;
    --accent: #4493f8;
    --warn-bg: #282215;
    --warn-line: #d29922;
    --warn-text: #f2cc60;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 2rem 1.25rem 4rem;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo",
    "Noto Sans KR", Roboto, sans-serif;
}
main { max-width: 44rem; margin: 0 auto; }
h1 { font-size: 1.6rem; line-height: 1.35; margin: 0 0 0.5rem; }
h2 { font-size: 1.2rem; margin: 2.5rem 0 0.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
h3 { font-size: 1rem; margin: 1.5rem 0 0.5rem; }
p, li { color: var(--text); }
a { color: var(--accent); }
code { background: var(--surface); padding: 0.1em 0.4em; border-radius: 4px; font-size: 0.9em; }
.lede { color: var(--muted); margin-top: 0; }
.notice {
  margin: 1.5rem 0;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--warn-line);
  border-radius: 8px;
  background: var(--warn-bg);
  color: var(--warn-text);
  font-weight: 500;
}
.meta { color: var(--muted); font-size: 0.9rem; }
nav { margin-bottom: 2rem; font-size: 0.95rem; }
nav a { margin-right: 1rem; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; }
th, td { border: 1px solid var(--line); padding: 0.5rem 0.7rem; text-align: left; vertical-align: top; }
th { background: var(--surface); font-weight: 600; }
.wrap { overflow-x: auto; }
footer { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.todo { background: #ffdce0; color: #82071e; padding: 0.1em 0.4em; border-radius: 4px; font-weight: 700; }
@media (prefers-color-scheme: dark) { .todo { background: #67060c; color: #ffdcd7; } }
