@charset "UTF-8";
:root {
  --page-bg: #faf7f2;
  --surface: #fffdf9;
  --surface-soft: #f3ece4;
  --ink: #241f1b;
  --muted: #71675f;
  --line: #d8cec4;
  --accent: #8a5b32;
  --accent-strong: #68401e;
  --shell: 1140px;
  --prose: 760px;
  --wide: 960px;
  --heading: 780px;
  --gutter: 18px;
  --radius: 12px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--page-bg);
  color: var(--ink);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  font-size: 16px;
  line-height: 1.78;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a { color: var(--accent-strong); text-underline-offset: .2em; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 45%, white);
  outline-offset: 3px;
}
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
iframe { display: block; width: 100%; max-width: var(--wide); aspect-ratio: 16 / 9; border: 0; }
.skip-link {
  position: fixed;
  z-index: 100;
  left: var(--gutter);
  top: 10px;
  transform: translateY(-180%);
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  border-radius: 6px;
}
.skip-link:focus { transform: translateY(0); }
.source-content { width: 100%; overflow-x: clip; }
.source-content > section,
.source-content > nav,
.source-content > article,
.source-content > div {
  width: 100%;
  margin: 0;
  padding: 48px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.source-content > section:first-of-type {
  padding-top: 56px;
  padding-bottom: 56px;
  background: linear-gradient(155deg, var(--surface) 0%, var(--surface-soft) 100%);
}
.source-content > :last-child { border-bottom: 0; }
.source-content section > *,
.source-content nav > *,
.source-content article > *,
.source-content > div > * {
  width: min(100%, var(--shell));
  margin-left: auto;
  margin-right: auto;
}
.source-content section > p,
.source-content section > ul,
.source-content section > ol,
.source-content section > blockquote,
.source-content section > dl,
.source-content section > details,
.source-content section > h1,
.source-content section > h2,
.source-content section > h3 { max-width: var(--prose); }
h1, h2, h3 {
  color: var(--ink);
  font-family: Georgia, "Noto Serif KR", "Times New Roman", serif;
  font-weight: 650;
  letter-spacing: -.035em;
  text-wrap: balance;
}
h1 { max-width: var(--heading); margin-top: 0; font-size: 31px; line-height: 1.43; }
h2 { margin-top: 0; margin-bottom: 18px; font-size: 25px; line-height: 1.48; }
h3 { margin-top: 28px; margin-bottom: 10px; font-size: 20px; line-height: 1.5; }
p { margin-top: 0; margin-bottom: 1em; }
ul, ol { padding-left: 1.3em; }
hr { width: min(100%, var(--shell)); margin: 0 auto; border: 0; border-top: 1px solid var(--line); }
.source-content section article,
.source-content section > a,
.source-content section [class*="card"],
.source-content section [class*="item"] {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  padding-bottom: 20px;
}
.source-content section > a { display: block; min-height: 48px; text-decoration: none; }
.source-content section > a:hover { background: color-mix(in srgb, var(--surface-soft) 70%, transparent); }
nav ul, .category-rail ul { list-style: none; padding: 0; }
nav a, .category-rail a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.category-rail { background: var(--surface); }
.category-rail ul { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.program-grid { display: grid; gap: 0; }
.program-card { padding: 28px 0; border-top: 1px solid var(--line); }
.program-card h2 { max-width: none; margin-bottom: 10px; }
.program-card p { max-width: var(--prose); }
.program-card a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; }
.empty-state {
  max-width: var(--prose);
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.empty-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.empty-actions a { display: inline-flex; min-height: 44px; align-items: center; padding: 10px 16px; border: 1px solid var(--accent); border-radius: 999px; text-decoration: none; }
table { width: min(100%, var(--wide)); border-collapse: collapse; display: block; overflow-x: auto; }
th, td { min-width: 120px; padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
summary { min-height: 44px; padding: 10px 0; cursor: pointer; font-weight: 700; }
button, [role="button"] { min-height: 44px; font: inherit; }
button[disabled] { cursor: not-allowed; opacity: .55; }
.runtime-notice { padding: 14px 16px; border-left: 3px solid var(--accent); background: var(--surface-soft); color: var(--muted); }
footer, header, .mobile-quickbar { display: none !important; }
@media (min-width: 761px) {
  :root { --gutter: 20px; }
  body { font-size: 17px; }
  .source-content > section,
  .source-content > nav,
  .source-content > article,
  .source-content > div { padding: 64px var(--gutter); }
  .source-content > section:first-of-type { padding-top: 80px; padding-bottom: 80px; }
  h1 { font-size: clamp(38px, 4.2vw, 50px); line-height: 1.28; }
  h2 { font-size: clamp(29px, 3vw, 38px); line-height: 1.34; }
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
}
@media (min-width: 1100px) {
  .source-content > section,
  .source-content > nav,
  .source-content > article,
  .source-content > div { padding-top: 80px; padding-bottom: 80px; }
  .program-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}