@font-face {
  font-family: "Pretendard Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/PretendardVariable.woff2") format("woff2-variations");
}
:root {
  --black: #1d1d1f;
  --gray: #626267;
  --line: #d2d2d7;
  --section-divider: #e8e8ed;
  --section-gap: 56px;
  --surface: #f5f5f7;
  --white: #fff;
  --blue: #0071e3;
  --content: 1120px;
  --reading: 720px;
  font-family: "Pretendard Variable", Pretendard, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body, button, input, select, textarea, code, pre { font-family: "Pretendard Variable", Pretendard, sans-serif; }
body:not(.timeline-page) {
  margin: 0; background: var(--white); color: var(--black);
  font-size: 16px; font-weight: 400; line-height: 1.7; letter-spacing: 0;
  overflow-wrap: anywhere; word-break: keep-all;
}
a { text-underline-offset: 4px; }
body:not(.timeline-page) a { color: var(--blue); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 12px; padding: 8px 14px; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); }
.site-header__inner { width: min(100% - 48px, var(--content)); min-height: 64px; margin: auto; display: flex; align-items: center; gap: 28px; }
body:not(.timeline-page) .brand { color: var(--black); font-size: 17px; font-weight: 750; letter-spacing: -.035em; text-decoration: none; flex: 0 0 auto; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
body:not(.timeline-page) .site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gray); font-size: 14px; font-weight: 550; text-decoration: none; white-space: nowrap; }
body:not(.timeline-page) .site-nav a[aria-current] { color: var(--black); box-shadow: inset 0 -2px var(--black); font-weight: 750; }
.print-button { min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--black); font-size: 12px; cursor: pointer; }
.breadcrumb { width: min(100% - 48px, var(--content)); margin: 26px auto 0; display: flex; flex-wrap: wrap; gap: 10px; color: var(--gray); font-size: 12px; }
.breadcrumb a { text-decoration: none; }
.document-shell { width: min(100% - 48px, var(--content)); margin: auto; padding: 64px 0 100px; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 56px; }
.desktop-toc { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 116px); overflow-y: auto; scrollbar-width: none; padding-right: 10px; }
.desktop-toc::-webkit-scrollbar { display: none; }
.desktop-toc > p { margin: 0 0 12px; font-size: 11px; font-weight: 500; }
.desktop-toc ul { margin: 0; padding: 0; list-style: none; }
.desktop-toc > ul > li > a { display: none; }
.desktop-toc ul ul ul { display: none; }
.desktop-toc li { margin: 0 0 8px; font-size: 11.5px; line-height: 1.55; }
body:not(.timeline-page) .desktop-toc a { color: var(--gray); font-size: 11.5px; line-height: 1.55; text-decoration: none; }
.toc-actions { display: grid; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.toc-actions a, .toc-actions button { min-height: 40px; padding: 8px 10px; border: 0; border-radius: 8px; background: var(--surface); color: var(--gray); font-size: 11.5px; text-align: center; cursor: pointer; }
.mobile-toc { display: none; }
.document { min-width: 0; font-size: 18px; font-weight: 300; line-height: 2; letter-spacing: .01em; }
.document > :first-child { margin-top: 0; }
.document h1, .document h2, .document h3, .document h4 { color: var(--black); text-wrap: balance; }
.document h1 { margin: 0 0 36px; font-size: clamp(34px, 4.4vw, 48px); font-weight: 650; line-height: 1.35; letter-spacing: -.025em; }
.document h2 { margin: var(--section-gap) 0 28px; padding-top: var(--section-gap); border-top: 1px solid var(--section-divider); font-size: 28px; font-weight: 600; line-height: 1.5; letter-spacing: -.02em; }
.document h3 { margin: 48px 0 22px; font-size: 23px; font-weight: 550; line-height: 1.55; letter-spacing: -.01em; }
.document h4 { margin: 36px 0 18px; font-size: 19px; font-weight: 550; line-height: 1.6; }
.document p { margin: 0 0 1.5em; }
.document strong, .document b { color: var(--black); font-weight: 550; }
.document h1 .document-subtitle { display: block; margin-top: 16px; font-size: 22px; font-weight: 350; line-height: 1.6; letter-spacing: 0; text-wrap: pretty; }
.document :is(h2, h3, h4) .document-subtitle { display: block; margin-top: 8px; color: var(--gray); font-size: 16px; font-weight: 400; line-height: 1.7; letter-spacing: 0; text-wrap: pretty; }
.document h2 .document-subtitle { font-size: 18px; }
.desktop-toc .document-subtitle, .mobile-toc .document-subtitle { display: block; margin-top: 2px; }
.document-deck { margin: -12px 0 36px; color: var(--gray); font-size: 16px; font-weight: 400; line-height: 1.8; letter-spacing: 0; }
.document-meta { margin: -16px 0 36px; color: var(--gray); font-size: 12px; font-weight: 400; line-height: 1.7; letter-spacing: 0; }
.document :is(.document-deck, .document-meta) > p { margin: 0; }
.document blockquote { margin: 32px 0 40px; padding: 24px 28px; border-radius: 12px; background: var(--surface); color: var(--black); }
.document blockquote p:last-child { margin-bottom: 0; }
.document ul, .document ol { margin: 0 0 1.75em; padding-left: 1.5em; }
.document li { margin: .75em 0; padding-left: .2em; }
.document li::marker { color: var(--gray); font-weight: 400; }
.document li > :last-child { margin-bottom: 0; }
.document li > ul, .document li > ol { margin-top: .65em; }
.document details:not(.lecture):not(.week-fold) { margin: 32px 0; padding: 0 24px; border: 1px solid var(--line); border-radius: 12px; }
.document details:not(.lecture):not(.week-fold) > summary { padding: 18px 0; color: var(--black); font-size: 17px; font-weight: 500; line-height: 1.8; cursor: pointer; }
.document details:not(.lecture):not(.week-fold)[open] { padding-bottom: 8px; }
.document details:not(.lecture):not(.week-fold)[open] > summary { margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.document details:not(.lecture):not(.week-fold) > summary + :is(h2, h3, h4) { margin-top: 0; }
.document code { padding: 2px 6px; border-radius: 5px; background: var(--surface); font-size: .9em; }
.document pre { overflow: auto; padding: 24px; border-radius: 12px; background: var(--black); color: white; font-weight: 400; line-height: 1.7; letter-spacing: 0; }
.document pre code { padding: 0; background: transparent; color: inherit; }
.document table { width: 100%; margin: 32px 0 40px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-weight: 400; line-height: 1.85; letter-spacing: 0; overflow: hidden; }
.document th, .document td { padding: 16px; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.document th { background: var(--surface); color: var(--black); font-size: 14px; font-weight: 550; }
.document :is(th, td) > :last-child { margin-bottom: 0; }
.document tr:last-child td { border-bottom: 0; }
/* Section dividers keep the same space on both sides across every document. */
.document > :not(hr):has(+ :is(h2, hr)) { margin-bottom: 0; }
.document hr { margin: var(--section-gap) 0; border: 0; border-top: 1px solid var(--section-divider); }
.document hr + * { margin-top: 0; }
.document hr + h2 { padding-top: 0; border-top: 0; }
/* The page introduction leads into its first section without a divider. */
.document > hr:not(h2 ~ hr) { display: none; }
.document > h2:first-of-type { margin-top: var(--section-gap); padding-top: 0; border-top: 0; }
.section-anchor { display: block; scroll-margin-top: 100px; }
.home .document-shell { display: block; padding-top: 88px; }
.home .document h1 { max-width: 680px; font-size: clamp(40px, 6vw, 64px); }
.home .document > h1 + p { max-width: 650px; font-size: 20px; color: var(--gray); }
.directory { border-bottom: 1px solid var(--line); }
body:not(.timeline-page) .directory > a { display: grid; grid-template-columns: 36px 1fr 24px; align-items: center; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--black); }
.directory > a:hover { background: var(--surface); }
.directory__number { align-self: start; color: var(--gray); font-size: 13px; padding-top: 5px; }
.directory strong { display: block; font-size: 24px; }
.directory small { display: block; margin-top: 8px; font-size: 16px; font-weight: 400; line-height: 1.8; color: var(--gray); }
.site-footer { width: min(100% - 48px, var(--content)); margin: 0 auto 30px; padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--gray); font-size: 12px; }
body.timeline-page .plan-site-nav { position: sticky; z-index: 50; top: 0; min-height: 56px; padding: 8px 24px; display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); background: white; font-size: 13px; }
body.timeline-page .plan-site-nav strong { margin-right: auto; color: var(--black); }
body.timeline-page .plan-site-nav a { color: var(--gray); text-decoration: none; white-space: nowrap; }
body.timeline-page .plan-site-nav a[aria-current] { color: var(--black); font-weight: 750; }
.timeline-breadcrumb { margin: 20px 24px; font-size: 13px; color: var(--gray); }
.timeline-breadcrumb a { color: var(--blue); }
/* FDE 아카데미: 과정 페이지와 시간표 */
.wide .document-shell { grid-template-columns: 180px minmax(0, 1fr); }
.trk-o { --tint: #f2f2f5; --accent: #4f4f55; }
.trk-b { --tint: #e9f2fd; --accent: #00539f; }
.trk-a { --tint: #e7f4eb; --accent: #19643a; }
.trk-h { --tint: #f0ebfa; --accent: #533795; }
.trk-f { --tint: #fcf0dc; --accent: #7f4b00; }
.trk-1 { --tint: #fcebea; --accent: #a1241a; }
.trk-x { --tint: #ececef; --accent: #626267; }
.trk-field { --tint: #f7f7f9; --accent: #626267; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--tint); color: var(--accent); font-size: 12px; font-weight: 700; line-height: 1.6; white-space: nowrap; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; }
.course-hero { margin: 0 0 48px; padding: 32px 34px; border-radius: 26px; background: var(--tint, var(--surface)); }
.course-hero__eyebrow { margin: 0 0 10px !important; color: var(--accent); font-size: 13px; font-weight: 700; }
.course-hero__lead { margin: 0 0 28px !important; color: var(--black); font-size: 19px; font-weight: 300; line-height: 1.9; }
.course-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px 28px; margin: 0; padding-top: 22px; border-top: 1px solid rgba(0,0,0,.08); }
.course-meta dt { color: var(--gray); font-size: 12px; font-weight: 650; }
.course-meta dd { margin: 3px 0 0; color: var(--black); font-size: 16px; font-weight: 700; line-height: 1.45; }
.course-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0 28px; }
body:not(.timeline-page) .course-card { display: block; padding: 24px 26px; border: 1px solid transparent; border-radius: 22px; background: var(--tint); color: var(--black); text-decoration: none; transition: border-color .18s ease; }
.course-card:hover, .course-card:focus-visible { border-color: var(--accent); }
.course-card__label { display: block; color: var(--accent); font-size: 12px; font-weight: 700; }
.course-card strong { display: block; margin-top: 8px; font-size: 24px; letter-spacing: -.02em; }
.course-card__desc { display: block; margin-top: 10px; color: var(--gray); font-size: 16px; font-weight: 400; line-height: 1.8; }
.course-card__meta { display: block; margin-top: 16px; font-size: 13px; font-weight: 650; }
.lecture-list { margin: 22px 0 40px; border-top: 1px solid var(--line); }
.lecture { border-bottom: 1px solid var(--line); }
.lecture > summary { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 16px; align-items: center; min-height: 64px; padding: 14px 6px; cursor: pointer; list-style: none; }
.lecture > summary::-webkit-details-marker { display: none; }
.lecture > summary:hover { background: var(--surface); }
.lecture__no { align-self: start; padding: 2px 0; border-radius: 8px; background: var(--tint); color: var(--accent); font-size: 13px; font-weight: 750; text-align: center; }
.lecture__title { color: var(--black); font-size: 17px; font-weight: 650; line-height: 1.45; }
.lecture__title small { display: block; margin-top: 3px; color: var(--gray); font-size: 13px; font-weight: 500; }
.lecture__when { color: var(--gray); font-size: 12.5px; font-weight: 400; text-align: right; white-space: nowrap; }
.lecture > summary::after { content: "+"; grid-column: 3; grid-row: 1; justify-self: end; align-self: start; display: none; }
.lecture__body { padding: 12px 6px 32px 82px; font-size: 17px; }
.lecture__body h4 { margin: 28px 0 14px; color: var(--black); font-size: 16px; font-weight: 550; }
.lecture__body > :last-child { margin-bottom: 0; }
.table-scroll { margin: 22px 0 34px; overflow-x: auto; }
.table-scroll > table { margin: 0 !important; }
.document table caption { padding: 0 2px 10px; caption-side: top; color: var(--black); font-size: 15px; font-weight: 700; text-align: left; }
.document table.timetable { min-width: 780px; table-layout: fixed; border-radius: 12px; font-size: 12.5px; line-height: 1.5; overflow: visible; }
.timetable th[scope="row"] { width: 92px; background: var(--surface); color: var(--black); font-size: 12px; }
.timetable th small, .timetable thead small { display: block; color: var(--gray); font-size: 11px; font-weight: 500; }
.timetable td { padding: 8px 9px; border-left: 1px solid var(--line) !important; }
.timetable td.cell { background: var(--tint); color: var(--black); }
.timetable td.cell b { display: block; margin-bottom: 2px; color: var(--accent); font-size: 11.5px; font-weight: 750; }
.timetable td.cell small.who { display: block; margin-top: 3px; color: var(--gray); font-size: 11px; }
body:not(.timeline-page) .timetable td.cell a { color: var(--black); text-decoration: none; font-weight: 600; }
.timetable td.cell a:hover { text-decoration: underline; }
.timetable tr.row-routine td, .timetable tr.row-break td { padding-top: 5px; padding-bottom: 5px; color: var(--gray); font-size: 11.5px; }
.timetable tr.row-break td, .timetable tr.row-break th { background: #fafafb; }
.timetable td.cell-empty { background: #fafafb; }
.week-fold { margin: 0 0 12px; border: 1px solid var(--line); border-radius: 12px; }
.week-fold > summary { min-height: 48px; padding: 12px 16px; font-size: 15px; font-weight: 650; cursor: pointer; }
.week-fold > .table-scroll { margin: 0 12px 14px; }
.document table.month-cal { min-width: 780px; table-layout: fixed; font-size: 11.5px; line-height: 1.4; }
.month-cal td { height: 96px; padding: 6px 7px; border-left: 1px solid var(--line) !important; }
.month-cal td.weekend { background: #fafafb; color: #8e8e93; }
.month-cal td.out { background: #fcfcfd; }
.month-cal .date { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; }
.month-cal .ev { display: block; margin-top: 3px; padding: 2px 6px; border-radius: 6px; background: var(--tint); color: var(--accent); font-weight: 650; }
.month-cal .ev-mile { background: transparent; padding-left: 0; color: var(--black); font-weight: 600; }
.month-cal .ev-mile::before { content: "● "; color: var(--blue); }
.gantt { margin: 22px 0 30px; overflow-x: auto; }
.gantt__inner { min-width: 860px; }
.gantt__row { display: grid; grid-template-columns: 52px repeat(var(--days), minmax(0, 1fr)); row-gap: 4px; align-items: center; margin-bottom: 8px; }
.gantt__label { grid-column: 1; color: var(--black); font-size: 13px; font-weight: 700; }
.gantt__seg { grid-row: 1; min-width: 6px; min-height: 30px; padding: 6px 7px; overflow: hidden; border-radius: 6px; background: var(--tint); color: var(--accent); font-size: 11.5px; font-weight: 700; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.gantt__seg.trk-1 { padding: 0; font-size: 0; }
.nowrap { white-space: nowrap; }
.gantt__axis span { grid-row: 1; color: var(--gray); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
@media (max-width: 620px) {
  .course-hero { padding: 24px 22px; border-radius: 20px; }
  .course-cards { grid-template-columns: 1fr; }
  .course-hero__lead { font-size: 17px; }
  .lecture > summary { grid-template-columns: 48px minmax(0, 1fr); }
  .lecture__when { grid-column: 2; text-align: left; white-space: normal; }
  .lecture__body { padding-left: 6px; }
  .document table.timetable th, .document table.timetable td, .document table.month-cal td, .document table.month-cal th { min-width: 0; }
}
@media print {
  .course-hero, .course-card, .timetable td.cell, .month-cal .ev, .gantt__seg, .badge { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .table-scroll, .gantt { overflow: visible; }
  .lecture, .timetable tr { break-inside: avoid; }
}
@media (max-width: 900px) {
  .print-button { display: none; }
  .site-nav { gap: 20px; }
  .document-shell, .wide .document-shell { grid-template-columns: 1fr; padding-top: 40px; }
  .desktop-toc { display: none; }
  .mobile-toc { display: block; width: min(100% - 48px, var(--content)); margin: 24px auto 0; border-radius: 10px; background: var(--surface); }
  .mobile-toc summary { min-height: 44px; padding: 10px 16px; font-size: 12px; font-weight: 500; cursor: pointer; }
  .mobile-toc nav { padding: 0 18px 16px; }
  .mobile-toc ul { margin: 0; padding: 0; list-style: none; }
  .mobile-toc > nav > ul > li > a, .mobile-toc ul ul ul { display: none; }
  .mobile-toc li { margin: 8px 0; font-size: 12px; line-height: 1.55; }
  .mobile-toc a { font-size: 12px; line-height: 1.55; text-decoration: none; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 130px; }
  :root { --section-gap: 40px; }
  body:not(.timeline-page) { font-size: 15px; }
  .document { font-size: 17px; line-height: 1.95; }
  .document h1 { margin-bottom: 28px; }
  .document h1 .document-subtitle { margin-top: 12px; font-size: 19px; }
  .document h2 .document-subtitle { font-size: 17px; }
  .document-deck { font-size: 15px; }
  .document blockquote { padding: 20px; }
  .document details:not(.lecture):not(.week-fold) { padding-right: 18px; padding-left: 18px; }
  .document details:not(.lecture):not(.week-fold) > summary { font-size: 16px; }
  .site-header__inner { width: 100%; padding: 12px 20px 0; flex-wrap: wrap; gap: 4px; }
  .site-nav { width: 100%; margin: 0; justify-content: space-between; gap: 8px; }
  body:not(.timeline-page) .site-nav a { font-size: 13px; }
  .breadcrumb { width: calc(100% - 40px); margin-top: 20px; }
  .document-shell, .mobile-toc { width: calc(100% - 40px); }
  .home .document-shell { padding-top: 48px; }
  .home .document > h1 + p { font-size: 17px; }
  .document h2 { font-size: 25px; }
  .document h3 { font-size: 21px; }
  .document table { display: block; overflow-x: auto; }
  .document th, .document td { min-width: 124px; }
  .directory > a { gap: 12px; }
  .directory strong { font-size: 22px; }
  .directory small { font-size: 15px; }
  .site-footer { width: calc(100% - 40px); display: block; }
  .site-footer span { display: block; margin-top: 4px; }
  body.timeline-page .plan-site-nav { flex-wrap: wrap; gap: 12px 22px; padding: 12px 20px; }
  body.timeline-page .plan-site-nav strong { width: 100%; }
}
/* 모든 페이지의 맨 위 헤더: 아래로 스크롤하면 위로 숨고, 위로 스크롤하면 내려온다.
   site-header.js 가 body.site-header-ready(첫 화면을 그린 뒤)와 body.site-header-hidden 을 준다.
   움직임은 transform 만 쓰고, 보일 때 250ms·숨을 때 그 3/4인 190ms 동안 움직인다. */
.site-header-follower-sentinel { height: 0; }
body.site-header-ready .site-header { transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1); }
body.site-header-hidden .site-header { transform: translateY(-100%); transition-duration: 190ms; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* 동작 줄이기 설정이면 헤더는 미끄러지지 않고 바로 숨거나 나타난다. */
  body.site-header-ready .site-header { transition: none; }
}
@media print {
  @page { size: A4; margin: 15mm; }
  :root { --section-gap: 10mm; }
  body:not(.timeline-page) { background: white; color: black; font-size: 10pt; }
  .document { font-size: inherit; font-weight: 400; line-height: 1.7; letter-spacing: 0; }
  .site-header, .desktop-toc, .mobile-toc, .site-footer, .breadcrumb, .plan-site-nav, .timeline-breadcrumb { display: none !important; }
  .document-shell, .home .document-shell { display: block; width: auto; max-width: none; padding: 0; }
  .document h1, .home .document h1 { font-size: 25pt; }
  .document h1 .document-subtitle { font-size: 14pt; }
  .document :is(h2, h3, h4) .document-subtitle { font-size: 10pt; }
  .document-deck { font-size: 10pt; }
  .document-meta { font-size: 8pt; }
  .document h2 { break-after: avoid; }
  .document h3, .document h4 { break-after: avoid; }
  .document table { display: table; overflow: visible; }
  .document tr, .document blockquote, .document pre { break-inside: avoid; }
  .document a { color: black !important; text-decoration: none; }
}
