:root {
  --brand: #686283;
  --brand-strong: #4F4A66;
  --brand-soft: #EAE6F0;
  --bg: #F7F5F0;
  --surface: #FFFFFF;
  --text: #30323B;
  --muted: #5E5B66;
  --line: #E5E0E8;
  --focus: #9A92AE;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #CCC0E3;
    --brand-strong: #EDE4FA;
    --brand-soft: #36303F;
    --bg: #1E1D23;
    --surface: #27252D;
    --text: #F1EDF4;
    --muted: #BDB7C5;
    --line: #46414D;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--surface); color: var(--text); padding: .5rem 1rem;
}
.skip:focus { left: 1rem; top: 1rem; z-index: 10; }
header.site {
  background: var(--brand);
  color: #fff;
}
@media (prefers-color-scheme: dark) { header.site { background: #36303F; } }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-top: 1rem; padding-bottom: 1rem; }
header.site .brand { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.25rem; }
header.site nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
header.site nav a { color: #fff; text-decoration: none; padding: .25rem 0; display: inline-block; }
header.site nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.wrap { max-width: 46rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
main { padding-top: 2rem; padding-bottom: 3rem; }
h1 { font-size: 1.75rem; line-height: 1.35; margin: 0 0 .5rem; color: var(--brand); }
h2 { font-size: 1.3rem; line-height: 1.4; margin: 2.5rem 0 .75rem; padding-top: .5rem; border-top: 1px solid var(--line); }
h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
p, ul, ol { margin: 0 0 1rem; }
ul, ol { padding-left: 1.4rem; }
li { margin-bottom: .35rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.meta { color: var(--muted); font-size: .95rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
}
.notice {
  background: var(--brand-soft);
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}
.table-scroll { overflow-x: auto; margin: 0 0 1rem; }
table { border-collapse: collapse; width: 100%; font-size: .97rem; background: var(--surface); }
th, td { border: 1px solid var(--line); padding: .55rem .7rem; text-align: left; vertical-align: top; }
th { background: var(--brand-soft); }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .75rem 1rem; margin: .6rem 0; }
summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: .5rem; }
.toc ol { columns: 1; }
@media (min-width: 640px) { .toc ol { columns: 2; column-gap: 2rem; } }
footer.site { border-top: 1px solid var(--line); background: var(--surface); padding: 1.5rem 0 2rem; font-size: .93rem; color: var(--muted); }
footer.site p { margin-bottom: .5rem; }
footer.site .disclaimer { color: var(--text); font-weight: 600; }
