/* 10-18 대표: 다크모드에서도 원 시안 색 그대로(강제 다크 끔) */
:root { color-scheme: only light; }
:root {
  color-scheme: only light;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1f1f1c;
  --text-2: #4f4e49;
  --muted: #86857f;
  --line: #e4e2dc;
  --accent: #1c3025;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.75 "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;
  word-break: keep-all; overflow-wrap: anywhere;
}
.wrap { max-width: 820px; margin: 0 auto; padding: 32px 16px 80px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.top a.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; font-weight: 700; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs a { font-size: 13px; text-decoration: none; color: var(--text-2); border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px; background: var(--surface); }
.tabs a[aria-current="page"] { background: var(--accent); color: var(--bg); border-color: var(--accent); font-weight: 700; }
h1 { font-size: 26px; line-height: 1.3; margin: 0 0 6px; }
.meta { color: var(--muted); font-size: 13px; margin: 0 0 24px; }
.intro { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; color: var(--text-2); }
h2 { font-size: 18px; margin: 36px 0 8px; padding-top: 8px; border-top: 1px solid var(--line); }
h3 { font-size: 15px; margin: 18px 0 4px; }
p, li { color: var(--text-2); }
ol, ul { padding-left: 1.3em; }
.table-wrap { overflow-x: auto; margin: 10px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--surface); }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--bg); color: var(--text); font-weight: 700; white-space: nowrap; }
.toc { columns: 2; column-gap: 24px; font-size: 14px; padding-left: 1.2em; }
.toc a { color: var(--text-2); }
.note { font-size: 13px; color: var(--muted); }
a { color: var(--accent); }
footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .toc { columns: 1; } h1 { font-size: 22px; } }
@media print { .tabs, .top a.brand img { display: none; } body { background: #fff; } }
