* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; background: #F2F5FA; color: #011C40; font: 16px/1.75 Pretendard, 'Apple SD Gothic Neo', sans-serif; word-break: keep-all; overflow-wrap: anywhere; }
a { color: #1243A6; text-underline-offset: 3px; }
.sy-toolbar { background: #011C40; color: #fff; padding: 14px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.sy-toolbar nav { display: flex; flex-wrap: wrap; gap: 8px; }
.sy-toolbar a, .sy-toolbar button { color: #fff; border: 1px solid #ffffff65; border-radius: 8px; padding: 7px 13px; min-height: 44px; font: inherit; font-size: 14px; background: transparent; text-decoration: none; cursor: pointer; }
.sy-toolbar .sy-download { background: #fff; color: #011C40; border-color: #fff; font-weight: 700; }
a:focus-visible, button:focus-visible { outline: 3px solid #F24822; outline-offset: 3px; }
.sy-document { max-width: 960px; margin: 32px auto; padding: 52px 56px; background: #fff; }
.sy-brand { color: #1243A6; font-weight: 800; font-size: 15px; margin: 0 0 16px; }
.sy-cover { border-bottom: 2px solid #011C40; padding-bottom: 28px; margin-bottom: 28px; }
h1 { font-size: clamp(26px, 4vw, 36px); line-height: 1.35; letter-spacing: -.035em; margin: 0 0 20px; }
h2 { font-size: 23px; line-height: 1.45; margin: 32px 0 14px; }
h3 { font-size: 18px; line-height: 1.55; margin: 26px 0 10px; color: #1243A6; }
p { margin: 0 0 12px; }
.sy-label { color: #5B6472; font-size: 14px; }
.sy-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 24px; background: #F2F5FA; padding: 16px; border-radius: 8px; }
.sy-facts div { padding: 0 12px; }
.sy-facts dt { font-size: 12px; color: #5B6472; }
.sy-facts dd { margin: 3px 0 0; font-size: 16px; font-weight: 700; }
.sy-topics { padding-left: 22px; }
.sy-topics li { margin: 4px 0; }
.sy-note { padding: 14px 18px; background: #F2F5FA; font-size: 14px; color: #455167; border-radius: 8px; }
table { width: 100%; border-collapse: collapse; margin-bottom: 18px; table-layout: fixed; font-size: 14px; }
th { text-align: left; background: #F2F5FA; color: #1243A6; font-weight: 700; }
th, td { padding: 9px 10px; border-bottom: 1px solid #E2E7EF; vertical-align: top; }
.sy-no { width: 45px; color: #5B6472; }
.sy-kind { width: 66px; font-size: 12px; color: #5B6472; }
.sy-runtime { width: 100px; }
.sy-course { margin-top: 30px; }
.sy-course-head { border-top: 1px solid #CBD3E0; padding-top: 18px; }
.sy-course-head h2 { margin-top: 0; }
.sy-links { font-size: 13px; display: flex; gap: 16px; flex-wrap: wrap; }
.sy-footer { border-top: 2px solid #011C40; margin-top: 40px; padding-top: 20px; font-size: 13px; color: #455167; }
@media screen and (max-width: 600px) {
    .sy-document { margin: 0; padding: 28px 20px; }
    .sy-toolbar { padding: 14px 20px; }
    .sy-facts { grid-template-columns: 1fr; gap: 12px; }
    .sy-facts div { padding: 0; }
    .sy-no { width: 32px; }
    .sy-kind { width: 52px; }
    .sy-runtime { width: 82px; }
    th, td { padding: 8px 6px; }
}
@media print {
    @page { size: A4; margin: 15mm 15mm 18mm; }
    body { background: #fff; font-size: 10pt; line-height: 1.6; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .sy-toolbar { display: none; }
    .sy-document { padding: 0; margin: 0; max-width: none; }
    h1 { font-size: 25pt; }
    h2 { font-size: 15pt; break-after: avoid; }
    h3 { font-size: 12pt; break-after: avoid; }
    .sy-document h2 { margin: 22px 0 10px; }
    .sy-document h3 { margin: 20px 0 8px; }
    .sy-cover { padding-bottom: 18px; margin-bottom: 18px; }
    .sy-facts { margin-top: 16px; padding: 12px; }
    p { orphans: 3; widows: 3; }
    table { font-size: 9pt; }
    th, td { padding: 4px 7px; }
    tr { break-inside: avoid; }
    thead { display: table-header-group; }
    .sy-course-head, .sy-facts, .sy-note { break-inside: avoid; }
    .sy-course-head { break-after: avoid; }
    .sy-label, .sy-note, .sy-footer { font-size: 9pt; }
    .sy-links { font-size: 8pt; }
    .sy-facts dd { font-size: 11pt; }
    .sy-footer { margin-top: 18px; padding-top: 12px; font-size: 8pt; line-height: 1.5; break-inside: avoid; }
    .sy-footer p { margin-bottom: 7px; }
    /* Avoid a contact-only last sheet without making the type smaller. */
    .sy-print-compact .sy-document h2 { margin-top: 16px; }
    .sy-print-compact .sy-document h3 { margin-top: 12px; }
    .sy-print-compact table { margin-bottom: 10px; }
    .sy-print-compact .sy-cover { padding-bottom: 12px; margin-bottom: 12px; }
    .sy-print-compact .sy-facts { margin-top: 12px; padding: 10px; }
    .sy-closing { break-inside: avoid; }
    .sy-program-print .sy-topics li { margin: 1px 0; }
    .sy-program-print .sy-course { margin-top: 16px; }
    .sy-program-print .sy-course-head { padding-top: 10px; }
    .sy-program-print .sy-cover { padding-bottom: 12px; margin-bottom: 12px; }
    .sy-program-print .sy-document h2 { margin-top: 16px; }
}
