* { box-sizing: border-box; }
body { background: var(--bg); color: var(--fg); font-family: var(--font-body); line-height: 1.7; margin: 0; word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
h1,h2,h3 { font-family: var(--font-display); line-height: 1.3; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
/* 하위 페이지 공통 스타일 (메인과 같은 색상 토큰) */
:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --fg: #0d1a36;
  --muted: #55627d;
  --line: #d9e1ee;
  --navy: #0c1a4a;
  --navy-2: #14286b;
  --blue: #1b86cf;
  --blue-soft: #e4f1fb;
  --gold: #b8892b;
  --gold-soft: #f6ecd6;
  --on-navy: #f2f6ff;
  --on-navy-muted: #b7c4e6;
  --font-display: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Malgun Gothic", system-ui, sans-serif;
  --font-body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Malgun Gothic", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #080f24; --surface: #101a38; --fg: #e8eefc; --muted: #9db0d6; --line: #243256;
    --navy: #0a1538; --navy-2: #142a6e; --blue: #4aa8e8; --blue-soft: #13294d;
    --gold: #e0b45a; --gold-soft: #2d2511; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #080f24; --surface: #101a38; --fg: #e8eefc; --muted: #9db0d6; --line: #243256;
  --navy: #0a1538; --navy-2: #142a6e; --blue: #4aa8e8; --blue-soft: #13294d;
  --gold: #e0b45a; --gold-soft: #2d2511; color-scheme: dark;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 16px; line-height: 1.65; margin: 0; word-break: keep-all; overflow-wrap: break-word; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; line-height: 1.3; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }


.top { background: var(--navy); color: var(--on-navy); }
.top .wrap { display: flex; align-items: center; gap: 12px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 38px; height: 38px; display: block; }
.brand b { font-family: var(--font-display); font-size: 20px; letter-spacing: .04em; }
.back { margin-left: auto; font-size: 14px; color: var(--on-navy-muted); }
main .wrap { max-width: 820px; padding-block: 40px 64px; }
main h1 { font-size: 28px; margin-bottom: 8px; }
.draft { background: var(--gold-soft); border-radius: 10px; padding: 12px 16px; font-size: 14px; margin: 16px 0 28px; }
main h2 { font-size: 19px; margin: 32px 0 10px; }
main p, main li { color: var(--fg); font-size: 15.5px; }
main ul, main ol { padding-left: 22px; }
.muted { color: var(--muted); font-size: 14px; }
.vids { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.vids a { display: block; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; font-size: 14.5px; }
.vids a:hover { border-color: var(--blue); color: var(--blue); }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; background: var(--surface); }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--bg); }
footer { background: var(--navy); color: var(--on-navy-muted); font-size: 13px; padding-block: 28px; }
footer p { margin: 4px 0; }
footer .links { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; color: var(--on-navy); }
footer .wrap { max-width: 1120px; padding-block: 0; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* 회원 화면 */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; max-width: 460px; margin: 0 auto; }
.tabs { display: flex; gap: 4px; margin-bottom: 20px; background: var(--bg); padding: 4px; border-radius: 10px; }
.tabs button { flex: 1; padding: 10px; border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 500; border-radius: 8px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--fg); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
form[hidden], [hidden] { display: none !important; }
label { display: block; font-size: 14px; font-weight: 500; margin: 14px 0 6px; }
input[type=text], input[type=email], input[type=password] { width: 100%; padding: 11px 12px; font: inherit; font-size: 16px; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
input:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 10px 0; }
.check input { margin-top: 5px; flex: none; }
.check a { color: var(--blue); text-decoration: underline; }
.primary { width: 100%; margin-top: 18px; padding: 12px; border: 0; border-radius: 8px; background: var(--navy); color: #fff; font: inherit; font-weight: 500; cursor: pointer; }
.primary:hover { background: var(--navy-2); }
.primary:disabled { opacity: .6; cursor: wait; }
.linkbtn { background: none; border: 0; color: var(--blue); font: inherit; font-size: 14px; cursor: pointer; padding: 0; margin-top: 12px; text-decoration: underline; }
.msg { margin-top: 14px; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.msg.err { background: #fdecea; color: #8a1c14; }
.msg.ok { background: #e7f5ea; color: #1d5c2b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .msg.err { background: #3a1714; color: #ffb4ab; } :root:not([data-theme="light"]) .msg.ok { background: #14301b; color: #a6e3b4; } }
.hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
.logout { margin-top: 24px; padding: 10px 16px; border: 1px solid var(--line); background: transparent; color: var(--fg); font: inherit; border-radius: 8px; cursor: pointer; }
.acct-email { font-weight: 500; word-break: break-all; }

.filebtn { width: 100%; text-align: left; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; font: inherit; color: var(--fg); cursor: pointer; }
.filebtn:hover { border-color: var(--blue); color: var(--blue); }
#file-list, #purchase-list { list-style: none; padding: 0; display: grid; gap: 8px; }
#purchase-list li { padding: 10px 14px; background: var(--bg); border-radius: 8px; font-size: 15px; }

.order { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; background: var(--bg); }
.order-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.badge { margin-left: auto; font-size: 13px; font-weight: 500; padding: 2px 10px; border-radius: 99px; background: var(--blue-soft); color: var(--blue); }
.badge.off { background: var(--gold-soft); color: var(--gold); }
.steps2 { list-style: none; display: flex; gap: 4px; padding: 0; margin: 12px 0; }
.steps2 li { flex: 1; text-align: center; font-size: 12.5px; padding: 6px 2px; border-radius: 6px; background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
.steps2 li.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.items { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.items li { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; font-size: 15px; }
.items .amt { margin-left: auto; font-variant-numeric: tabular-nums; }
.items .period { flex-basis: 100%; font-size: 13.5px; color: var(--muted); padding-left: 2px; }
.tagk { font-size: 12px; padding: 1px 8px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.order .total { font-weight: 500; text-align: right; }
/* 강의 수강 상태 칩 · 수강 가능 안내 */
.lp-chip { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 9px; border-radius: 99px; background: var(--blue-soft); color: var(--blue); }
.lp-chip.ok { background: #e3f4ea; color: #1d7a45; }
.lp-chip.soon { background: #fdf0d8; color: #9a6200; }
.lp-chip.off { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
.lp-go { margin: 0 0 10px; padding: 9px 12px; border-radius: 8px; background: #e3f4ea; color: #1d7a45; font-size: 14px; font-weight: 500; }
.lp-go a { color: inherit; text-decoration: underline; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lp-chip.ok, :root:not([data-theme="light"]) .lp-go { background: #14301b; color: #a6e3b4; } :root:not([data-theme="light"]) .lp-chip.soon { background: #3a2a0c; color: #f3c977; } }
:root[data-theme="dark"] .lp-chip.ok, :root[data-theme="dark"] .lp-go { background: #14301b; color: #a6e3b4; }
:root[data-theme="dark"] .lp-chip.soon { background: #3a2a0c; color: #f3c977; }

/* 기간 카드(강의 수강 기간·웹 해설집 이용 기간 공통) */
.cv { margin: 4px 0 12px; padding: 14px 16px 14px 18px; border-radius: 10px; color: var(--on-navy); background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); border-left: 4px solid var(--gold); }
.cv-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cv-label { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--on-navy-muted); }
.cv-chip { margin-left: auto; font-size: 12.5px; font-weight: 600; padding: 2px 10px; border-radius: 99px; background: var(--gold); color: #1b1405; }
.cv-chip.soon { background: #f0b34a; }
.cv-chip.off { background: rgba(255,255,255,.16); color: var(--on-navy-muted); }
.cv-range { margin-top: 6px; font-size: 21px; font-weight: 700; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.cv-range.note { font-size: 15px; font-weight: 600; }
.items .cv { flex-basis: 100%; margin: 2px 0 4px; }
@media (max-width: 380px) { .cv-range { font-size: 18px; } }

/* 주문서 */
.sec { font-size: 17px; margin: 28px 0 10px; }
textarea { width: 100%; padding: 11px 12px; font: inherit; font-size: 16px; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; resize: vertical; }
textarea:focus-visible, input[type=email]:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
input[readonly] { color: var(--muted); }
.prod-card { max-width: 720px; margin: 0; padding: 8px 20px 12px; }
.grp { padding: 14px 0; border-bottom: 1px solid var(--line); }
.grp:last-child { border-bottom: 0; }
.grp h3 { font-size: 15.5px; margin: 0 0 6px; }
.prow { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin: 0 -10px; border-radius: 8px; flex-wrap: wrap; }
.prow.on { background: var(--blue-soft); }
.prow .pname { margin: 0; font-size: 15px; font-weight: 500; flex: 1 1 140px; }
.prow .pprice { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14.5px; }
.stepper { display: flex; align-items: center; }
.stepper button { width: 36px; height: 36px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font: inherit; font-size: 18px; line-height: 1; cursor: pointer; }
.stepper button:first-child { border-radius: 8px 0 0 8px; }
.stepper button:last-child { border-radius: 0 8px 8px 0; }
.stepper input { width: 46px; height: 36px; padding: 0; text-align: center; border: 1px solid var(--line); border-left: 0; border-right: 0; border-radius: 0; background: var(--surface); font-variant-numeric: tabular-nums; }
.sum { max-width: 720px; margin: 12px 0 0; padding: 16px 20px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.sum-row { display: flex; justify-content: space-between; padding: 3px 0; font-variant-numeric: tabular-nums; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-size: 18px; }
.sum-row.total b { color: var(--navy); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sum-row.total b { color: var(--blue); } }
.sum-row.disc b { color: #b3261e; }
/* 책 구매자 할인쿠폰 (주문서 강의 칸) */
.cp-box { margin: 10px 0 0; padding: 12px 14px; border: 1px dashed var(--gold); border-radius: 10px; background: var(--bg); }
.cp-guide { margin: 0 0 6px; font-size: 13.5px; color: var(--muted); }
.cp-row { padding: 8px 0; border-top: 1px solid var(--line); }
.cp-row:first-of-type { border-top: 0; }
.cp-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cp-head b { flex: 1 1 140px; font-size: 14.5px; font-weight: 600; }
.cp-btn { padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font: inherit; font-size: 14px; cursor: pointer; }
.cp-btn:disabled { opacity: .6; cursor: default; }
.cp-btn.cp-apply { background: var(--gold); border-color: var(--gold); color: #1b1405; font-weight: 600; }
.cp-btn.cp-apply.on { background: transparent; color: var(--fg); border-color: var(--line); font-weight: 400; }
.cp-text { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.cp-text.ok { color: var(--fg); font-weight: 500; }
.cp-text.warn { color: #b3261e; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cp-text.warn, :root:not([data-theme="light"]) .sum-row.disc b { color: #ffb4ab; } }
:root[data-theme="dark"] .cp-text.warn, :root[data-theme="dark"] .sum-row.disc b { color: #ffb4ab; }
.radios { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.radio { display: flex; align-items: center; gap: 8px; margin: 4px 0; font-weight: 400; font-size: 15px; }
.terms-box { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; font-size: 13.5px; color: var(--muted); }
.terms-box p { margin: 4px 0; font-size: 13.5px; color: var(--muted); }
.btnlink { display: inline-block; padding: 11px 20px; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 500; font-size: 15px; }
.btnlink.alt { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.bank { background: var(--gold-soft); border-radius: 10px; padding: 12px 16px; }
.bank-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; flex-wrap: wrap; }
.bank-row b { font-variant-numeric: tabular-nums; }

/* 소개 페이지 */
.abt-lead { font-size: 17px; line-height: 1.8; margin: 12px 0 0; }
.abt-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 14px 0; }
.abt-box { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.abt-box h3 { font-size: 18px; margin: 2px 0 8px; }
.abt-box ul { margin: 0; padding-left: 20px; }
.abt-box li { margin: 3px 0; }
.abt-tag { display: inline-block; margin: 0 0 6px; font-size: 12.5px; font-weight: 600; color: var(--blue); background: var(--blue-soft); padding: 2px 10px; border-radius: 99px; }
.abt-callout { background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: 8px; padding: 12px 16px; font-size: 15px; margin: 14px 0; }
.abt-list { margin: 8px 0; }
.abt-list li { margin: 6px 0; }
.abt-sub { font-size: 16px; margin: 22px 0 8px; }
.abt-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 8px; }
.abt-chips li { padding: 6px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; }
.abt-steps { list-style: none; padding: 0; margin: 8px 0 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; counter-reset: s; }
.abt-steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.abt-steps li::before { content: counter(s); display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-bottom: 6px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; }
.abt-steps b { display: block; font-size: 15.5px; }
.abt-steps span { display: block; font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.abt-steps a { color: var(--blue); text-decoration: underline; }
.abt-hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0 8px; }
.abt-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 8px 0 24px; }
.abt-gallery figure { margin: 0; }
.abt-gallery img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; border: 1px solid var(--line); border-radius: 10px; transition: box-shadow .15s; }
.abt-gallery a:hover img { box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.abt-gallery figcaption { margin-top: 6px; font-size: 14px; font-weight: 600; text-align: center; }
@media (max-width: 640px) { .abt-gallery { grid-template-columns: 1fr; } }
.abt-img { display: block; width: 100%; height: auto; margin: 20px 0 12px; border-radius: 12px; border: 1px solid var(--line); }
.abt-modes { display: grid; gap: 12px; margin: 14px 0 10px; }
.abt-mode { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.abt-mode dl { margin: 0; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px 14px; }
.abt-mode dt { font-weight: 600; font-size: 15px; }
.abt-mode dd { margin: 0; font-size: 15px; color: var(--fg); }
@media (max-width: 560px) { .abt-mode dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .abt-mode dd { margin-bottom: 8px; } }
.abt-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 0; }

/* 수험정보 페이지 */
main .ex-wrap { max-width: 960px; }
.ex-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 20px; }
.ex-tabs a { padding: 7px 16px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; }
.ex-tabs a:hover { border-color: var(--blue); color: var(--blue); }
.ex-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.ex-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s; }
.ex-card:hover { border-color: var(--blue); }
.ex-card h3 { font-size: 17px; }
.ex-tag { align-self: flex-start; font-size: 12px; font-weight: 500; color: var(--blue); background: var(--blue-soft); padding: 2px 10px; border-radius: 99px; }
.ex-tag.gold { color: var(--gold); background: var(--gold-soft); }
.ex-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
main .ex-mini li { display: flex; gap: 10px; padding: 6px 10px; background: var(--bg); border-radius: 6px; font-size: 13.5px; }
.ex-mini li span:first-child { flex: none; color: var(--muted); }
.ex-more { margin-top: auto; text-align: center; padding: 9px 12px; border-radius: 8px; border: 1px solid var(--blue); color: var(--blue); font-size: 14px; font-weight: 500; }
.ex-sec { margin-top: 48px; padding-top: 8px; scroll-margin-top: 16px; }
.ex-sec h2 { font-size: 23px; margin: 0 0 10px; padding-bottom: 10px; border-bottom: 2px solid var(--navy); }
.ex-h3 { font-size: 16.5px; margin: 24px 0 8px; }
.ex-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.ex-table table { min-width: 560px; border: 0; }
.ex-table th, .ex-table td { border: 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.ex-table thead th { border-top: 0; font-size: 14px; }
.ex-table tbody th { white-space: nowrap; color: var(--muted); font-weight: 500; background: var(--surface); }
.ex-table small { color: var(--muted); font-size: 13px; }
.ex-table tr.ex-new th, .ex-table tr.ex-new td { background: var(--blue-soft); }
.ex-callout { background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: 8px; padding: 12px 16px; margin: 14px 0; }
.ex-callout > b:first-child { display: block; margin-bottom: 2px; }
.ex-books { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; padding: 14px 16px; border-radius: 10px; background: var(--navy); }
.ex-books-label { color: var(--on-navy-muted); font-size: 13.5px; margin-right: 4px; }
.ex-books a { padding: 6px 14px; border-radius: 99px; background: #f0c565; color: #231800; font-size: 14px; font-weight: 500; }
.ex-books a:hover { background: #f7d58a; }

/* 수험정보 하위 메뉴 (홈 · 시험일정 · 경쟁률·합격선 · 시험공고) */
.ex-subnav { display: flex; gap: 4px; margin: 14px 0 16px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow-x: auto; scrollbar-width: none; }
.ex-subnav::-webkit-scrollbar { display: none; }
.ex-subnav a { flex: 1 0 auto; text-align: center; padding: 9px 14px; border-radius: 7px; font-size: 15px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.ex-subnav a:hover { color: var(--fg); background: var(--bg); }
.ex-subnav a[aria-current="page"] { background: var(--navy); color: #fff; }
.ex-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; }
.ex-links a { color: var(--blue); font-weight: 500; font-size: 15px; }
.ex-links a:hover { text-decoration: underline; }
.ex-callout a { color: var(--blue); text-decoration: underline; }
.ex-timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.ex-timeline li { background: var(--navy); color: var(--on-navy); border-radius: 10px; padding: 12px 14px; border-left: 4px solid var(--gold); }
.ex-timeline b { display: block; font-size: 19px; font-variant-numeric: tabular-nums; }
main .ex-timeline li { color: var(--on-navy); }
.ex-timeline span { font-size: 13.5px; color: var(--on-navy-muted); }
.ex-details { margin-top: 12px; }
.ex-details summary { cursor: pointer; color: var(--blue); font-weight: 500; font-size: 15px; padding: 6px 0; }
.ex-details .ex-table { margin-top: 8px; }
.ex-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 4px 0 16px; }
.ex-stats > div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.ex-stats span { font-size: 13px; color: var(--muted); }
.ex-stats b { font-size: 26px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1.25; }
.ex-stats small { font-size: 12.5px; color: var(--muted); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ex-stats b { color: var(--blue); } }
.ex-num td { font-variant-numeric: tabular-nums; text-align: right; }
.ex-num thead th { text-align: right; }
.ex-num thead th:first-child { text-align: left; }
.ex-table tr.ex-grp th, .ex-table tr.ex-grp td { border-top: 2px solid var(--line); }
.ex-table th[scope="rowgroup"] { white-space: nowrap; color: var(--fg); font-weight: 600; background: var(--surface); vertical-align: middle; }
.ex-cut { font-weight: 700; }
.ex-dim { color: var(--muted); text-align: left !important; }
.ex-select { font: inherit; font-size: 16px; padding: 9px 12px; margin: 0 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--fg); min-width: 160px; }
.ex-notice { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ex-notice li { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.ex-notice li.soon { border-style: dashed; }
.ex-notice li > div { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; }
main .ex-notice li { font-size: 15.5px; }
.ex-notice small { color: var(--muted); font-size: 13.5px; }
.ex-notice a { flex: none; color: var(--blue); font-weight: 500; font-size: 14.5px; }
.ex-badge { flex: none; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--blue-soft); color: var(--blue); }
.ex-badge.gold { background: var(--gold-soft); color: var(--gold); }
.ex-notice li.soon .ex-badge { background: var(--bg); color: var(--muted); }
.ex-card p.muted { margin: 0; }
@media (max-width: 560px) {
  .ex-subnav { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; }
  .ex-subnav a { padding: 9px 6px; font-size: 14.5px; }
}

/* 자료실 */
.dl-free { display: inline-block; vertical-align: 3px; margin-left: 6px; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 99px; background: var(--blue-soft); color: var(--blue); }
.dl-group { margin-top: 18px; }
.dl-group .ex-h3 { margin-top: 18px; }
.dl-group > .muted { margin: 0 0 10px; }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.dl-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.dl-card h4 { margin: 0; font-size: 16.5px; }
main .dl-card p { margin: 0; font-size: 13.5px; color: var(--muted); }
.dl-btn { margin-top: 6px; display: flex; justify-content: center; align-items: baseline; gap: 6px; padding: 9px 12px; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 500; font-size: 14.5px; }
.dl-btn:hover { background: var(--navy-2); }
.dl-btn.dl-need { background: var(--surface); color: var(--navy); border: 1.5px solid var(--navy); }
.dl-btn.dl-need small { color: var(--muted); }
.dl-login { margin: 4px 0 12px; padding: 10px 14px; border-radius: 10px; background: #eef3ff; font-size: 14.5px; }
.dl-login a { color: var(--blue); text-decoration: underline; }
.dl-btn small { font-size: 12px; color: var(--on-navy-muted); font-weight: 400; }
.dl-locked { background: var(--navy); color: var(--on-navy); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.dl-locked .tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 99px; background: #f0c565; color: #231800; }
.dl-locked h3 { margin: 0; font-size: 18px; }
main .dl-locked p { margin: 0; color: var(--on-navy-muted); }
.dl-locked .more { color: #f0c565; font-weight: 500; }
.mats-lite { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }

/* 강의 소개 */
.co-hero { margin: 18px 0 0; padding: 24px; border-radius: 14px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--on-navy); border-left: 5px solid var(--gold); }
.co-hero h2 { font-size: 26px; margin: 10px 0 8px; }
main .co-hero p { color: var(--on-navy-muted); margin: 0; max-width: 40em; }
main .co-hero p b { color: var(--on-navy); }
.co-facts { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-wrap: wrap; gap: 10px; }
main .co-facts li { background: rgba(255,255,255,.08); border-radius: 10px; padding: 10px 16px; display: flex; flex-direction: column; color: var(--on-navy); min-width: 110px; }
.co-facts b { font-size: 20px; font-variant-numeric: tabular-nums; }
.co-facts span { font-size: 12.5px; color: var(--on-navy-muted); }
.co-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.co-hero .btnlink { background: #f0c565; color: #231800; }
.co-hero .btnlink.alt { background: transparent; color: var(--on-navy); border: 1px solid var(--on-navy-muted); }
/* 강의 소개: 과목 탭 */
.co-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.co-tabs button { font: inherit; font-size: 15px; font-weight: 500; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; }
.co-tabs button:hover { border-color: var(--blue); }
.co-tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
.co-tabs button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.co-panel { margin-top: 28px; }
.co-js .co-panel { display: none; margin-top: 0; }
.co-js .co-panel.on { display: block; }
.co-panel-name { font-size: 22px; font-weight: 700; margin: 0; }
.co-js .co-panel-name { display: none; }
.co-kind { margin-top: 24px; }
.co-kind-h { font-size: 17px; margin: 0 0 10px; padding-left: 10px; border-left: 4px solid var(--gold); }
.co-kind .co-hero { margin-top: 0; }
.co-hero h3 { font-size: 26px; margin: 10px 0 8px; }
.co-soon { padding: 18px 20px; border-radius: 14px; border: 1px dashed var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 6px; }
.co-soon h3 { font-size: 18px; margin: 4px 0 0; }
main .co-soon p { margin: 0; color: var(--muted); font-size: 15px; }
main .co-soon .ex-links { margin-top: 6px; }
@media (max-width: 560px) { .co-tabs button { padding: 8px 13px; font-size: 14.5px; } }
.co-faq dt { font-weight: 600; margin-top: 14px; }
.co-faq dd { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 내 강의실 */
.cr-state { max-width: 640px; margin: 18px 0 0; }
.cr-period { margin: 16px 0 12px; padding: 12px 16px; border-radius: 10px; background: var(--gold-soft); font-size: 15px; }
.cr-player { margin: 0 0 16px; scroll-margin-top: 12px; }
.cr-frame { position: relative; padding-top: 56.25%; background: #000; border-radius: 10px; overflow: hidden; }
.cr-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cr-bar { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.cr-bar b { flex: 1; text-align: center; font-size: 15px; }
.cr-nav { padding: 8px 12px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); border-radius: 8px; font: inherit; font-size: 14px; cursor: pointer; }
.cr-nav:disabled { opacity: .4; cursor: default; }
.cr-tools { display: flex; align-items: center; gap: 12px; margin: 4px 0 8px; }
.cr-tools input { flex: 1; max-width: 360px; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.cr-group { font-size: 15.5px; margin: 18px 0 8px; color: var(--muted); }
.cr-items { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.cr-items button { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; font: inherit; color: var(--fg); cursor: pointer; }
.cr-items button:hover { border-color: var(--blue); }
.cr-items button.on { border-color: var(--navy); box-shadow: inset 4px 0 0 var(--gold); }
.cr-items button.seen .cr-t { color: var(--muted); }
.cr-items button:disabled { opacity: .5; cursor: default; }
.cr-t { font-size: 14.5px; font-weight: 500; }
.cr-d { font-size: 12.5px; color: var(--muted); }

/* 내 전자책 */
.eb-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.eb-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.eb-list li > div:first-child { flex: 1; min-width: 180px; display: flex; flex-direction: column; }
.eb-list li .muted { font-size: 13px; }
.eb-btn { padding: 9px 16px; border: 0; border-radius: 8px; background: var(--navy); color: #fff; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.eb-btn:disabled { opacity: .5; cursor: default; }
.eb-prog { flex-basis: 100%; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.eb-prog i { display: block; height: 6px; width: 0; max-width: 60%; flex: none; background: var(--gold); border-radius: 99px; transition: width .2s; }
.eb-prog { position: relative; }
.prow.hl { box-shadow: inset 0 0 0 2px var(--gold); }
/* 내 강의실 필터 (2026-10-27) */
.cr-group small { font-weight: 500; font-size: 13px; color: var(--muted); margin-left: 4px; }
.cr-views { display: flex; gap: 4px; margin: 6px 0 10px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow-x: auto; scrollbar-width: none; }
.cr-views::-webkit-scrollbar { display: none; }
.cr-views button { flex: 1 0 auto; padding: 8px 12px; border: 0; border-radius: 7px; background: none; font: inherit; font-size: 14.5px; font-weight: 500; color: var(--muted); cursor: pointer; white-space: nowrap; }
.cr-views button:hover { color: var(--fg); background: var(--bg); }
.cr-views button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.cr-presets { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; }
.cr-plabel { flex: none; font-size: 13px; font-weight: 600; color: var(--gold); padding-top: 6px; }
.cr-pbtns { display: flex; flex-wrap: wrap; gap: 6px; }
.cr-preset { padding: 5px 12px; border: 1px solid var(--gold); border-radius: 99px; background: var(--gold-soft); color: var(--fg); font: inherit; font-size: 13.5px; cursor: pointer; }
.cr-preset:hover { border-color: var(--navy); }
.cr-preset[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #1b1405; font-weight: 600; }
.cr-filter { margin: 0 0 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; }
.cr-filter summary { cursor: pointer; padding: 10px 0; font-size: 14.5px; font-weight: 500; color: var(--blue); }
.cr-filter summary b { font-size: 12.5px; color: var(--gold); margin-left: 4px; }
.cr-frow { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.cr-flabel { flex: none; width: 64px; font-size: 13px; font-weight: 600; color: var(--muted); padding-top: 5px; }
.cr-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cr-chip { padding: 4px 11px; border: 1px solid var(--line); border-radius: 99px; background: var(--bg); color: var(--fg); font: inherit; font-size: 13.5px; cursor: pointer; }
.cr-chip:hover { border-color: var(--blue); }
.cr-chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.cr-factions { padding: 8px 0 12px; border-top: 1px solid var(--line); }
.cr-desc { margin: 0 0 8px; padding: 10px 14px; border-radius: 8px; background: var(--gold-soft); border-left: 4px solid var(--gold); font-size: 14px; }
.cr-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 3px 0 1px; }
.cr-tags i { font-style: normal; font-size: 11.5px; font-weight: 500; padding: 1px 7px; border-radius: 99px; background: var(--blue-soft); color: var(--blue); }
.cr-tags i.d-hi { background: var(--navy); color: #fff; }
.cr-tags i.d-mid { background: var(--blue-soft); color: var(--blue); }
.cr-tags i.d-lo { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.cr-tags i.imp { background: var(--gold-soft); color: var(--gold); }
.cr-k { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
@media (max-width: 640px) {
  .cr-presets { flex-direction: column; gap: 4px; }
  .cr-frow { flex-direction: column; gap: 6px; }
  .cr-flabel { width: auto; padding-top: 0; }
  .cr-views button { padding: 8px 4px; font-size: 13.5px; flex: 1 1 0; }
}
/* 내 강의실 문제풀이 (2026-10-27) */
.cr-sol { margin-top: 14px; background: var(--surface); border: 2px solid var(--navy); border-radius: 12px; }
.cr-soltabs { display: flex; gap: 6px; padding: 6px; background: var(--navy); border-radius: 9px 9px 0 0; overflow-x: auto; scrollbar-width: none; position: sticky; top: var(--cr-left-h, 0px); z-index: 4; }
.cr-soltabs::-webkit-scrollbar { display: none; }
.cr-soltabs button { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 14px; border: 0; border-radius: 8px; background: rgba(255,255,255,.08); font: inherit; font-size: 15.5px; font-weight: 700; color: var(--on-navy); cursor: pointer; white-space: nowrap; transition: background .15s; }
.cr-soltabs button:hover { background: rgba(255,255,255,.18); }
.cr-soltabs button[aria-selected="true"] { background: var(--gold); color: #1b1405; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.cr-soltabs button span { font-size: 15px; }
/* 영상이 계속 보이게: 휴대폰·좁은 화면은 영상을 위에 고정, 넓은 화면은 영상(왼쪽)·풀이(오른쪽) 나란히 */
.cr-player.has-sol .cr-left { position: sticky; top: 0; z-index: 5; background: var(--bg); padding-bottom: 6px; }
main .ex-wrap.cr-wide { max-width: 1280px; }
@media (min-width: 1100px) {
  .cr-player.has-sol { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
  .cr-player.has-sol .cr-left { top: 12px; padding-bottom: 0; }
  .cr-player.has-sol .cr-sol { margin-top: 0; position: sticky; top: 12px; display: flex; flex-direction: column; max-height: calc(100vh - 24px); }
  .cr-player.has-sol .cr-soltabs { position: static; flex: none; }
  .cr-player.has-sol .cr-solbody { overflow-y: auto; overscroll-behavior: contain; flex: 1 1 auto; min-height: 0; }
}
.cr-solbody { padding: 16px 18px 20px; font-size: 15.5px; line-height: 1.75; overflow-wrap: anywhere; }
.cr-solbody > :first-child { margin-top: 0; }
.cr-solbody p { margin: 6px 0; }
.cr-solbody ol, .cr-solbody ul { padding-left: 1.4em; margin: 6px 0; }
.cr-solbody li { margin: 4px 0; }
.cr-solbody h3, .cr-solbody h4, .cr-solbody h5 { margin: 18px 0 6px; font-size: 16px; }
.cr-solbody hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
.cr-solbody .eq { margin: 8px 0; overflow-x: auto; overflow-y: hidden; padding: 2px 0; }
.cr-solbody figure { margin: 0 0 8px; }
.cr-solbody figure img { display: block; max-width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
/* 2026-11-27 휴대폰: 문제·해설 사진은 화면 폭에 맞춘다 (반응공학 문제 사진에 붙은 max-width:640px보다 우선) */
.cr-solbody img { max-width: 100% !important; height: auto !important; }
.cr-solbody figure { max-width: 100%; }
.cr-solbody figcaption { font-size: 13px; color: var(--muted); margin-top: 4px; }
.cr-solbody .tbl { overflow-x: auto; margin: 10px 0; }
.cr-solbody table { border-collapse: collapse; font-size: 14px; min-width: 100%; }
.cr-solbody th, .cr-solbody td { border: 1px solid var(--line); padding: 6px 10px; vertical-align: top; text-align: left; }
.cr-solbody th { background: var(--bg); }
.cr-solbody blockquote, .cr-solbody .callout { margin: 8px 0; padding: 10px 14px; border-left: 4px solid var(--gold); background: var(--gold-soft); border-radius: 6px; }
.cr-solbody code { font-size: 13.5px; background: var(--bg); padding: 1px 5px; border-radius: 4px; }
.cr-solbody .katex { font-size: 1.05em; }
.nc-red { color: #d4351c; } .nc-blue { color: var(--blue); } .nc-green { color: #2e8540; } .nc-orange { color: #c46a00; } .nc-purple { color: #7a4ec8; } .nc-gray { color: var(--muted); } .nc-brown { color: #8a5a2b; } .nc-pink { color: #c2407e; } .nc-yellow { color: #a07800; }
.nc-bg-red { background: #fde3df; } .nc-bg-yellow { background: #fbf1c7; } .nc-bg-blue { background: var(--blue-soft); } .nc-bg-green { background: #dff3e4; } .nc-bg-gray { background: var(--bg); } .nc-bg-orange { background: #fde9d4; } .nc-bg-purple { background: #ece4fa; } .nc-bg-pink { background: #fbe0ec; } .nc-bg-brown { background: #f1e6da; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nc-red { color: #ff8a7a; } :root:not([data-theme="light"]) [class^="nc-bg-"] { color: #111; } }
@media (max-width: 640px) { .cr-solbody { padding: 14px 14px 18px; font-size: 15px; } }
/* 옵시디언 해설(반응공학 등): 책 하이어라키 목록·표 제목·정답·OX (2026-11-26) */
.cr-solbody .li { display: flex; gap: .45em; margin: 3px 0; }
.cr-solbody .li > .mk { flex: none; min-width: 1.2em; font-weight: 600; color: var(--blue); }
.cr-solbody .li-b > .mk { color: var(--muted); font-weight: 400; min-width: .9em; }
.cr-solbody .li > .lt { flex: 1; min-width: 0; }
.cr-solbody .li > .lt > p { margin: 0; }
.cr-solbody .li-n1 { margin-top: 12px; }
.cr-solbody .li-n1.hd > .lt > p:first-child { font-weight: 700; }
.cr-solbody .li-n2.hd > .lt > p:first-child { font-weight: 600; }
.cr-solbody .cap { text-align: center; font-weight: 600; font-size: 14px; margin: 12px 0 4px; color: var(--fg); }
.cr-solbody .ans { display: inline-block; margin: 0 0 8px; padding: 4px 12px; border-radius: 6px; background: var(--blue-soft, #e8f0fb); }
.cr-solbody .ans b { margin-right: 6px; color: var(--muted); font-weight: 600; }
.cr-solbody b.wl { font-weight: 600; color: var(--blue); }
.cr-solbody .callout > p:first-child { margin-top: 0; }
.cr-solbody details.ptext { margin: 8px 0 0; font-size: 14.5px; }
.cr-solbody details.ptext summary { cursor: pointer; color: var(--muted); font-size: 13.5px; }
.cr-solbody details.ox { border: 1px solid var(--line); border-radius: 8px; margin: 8px 0; padding: 8px 12px; }
.cr-solbody details.ox summary { cursor: pointer; list-style: none; }
.cr-solbody details.ox summary::-webkit-details-marker { display: none; }
.cr-solbody details.ox summary .mk { font-weight: 700; margin-right: 4px; }
.cr-solbody details.ox summary::after { content: " 정답 보기 ▾"; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.cr-solbody details.ox[open] summary::after { content: " ▴"; }
.cr-solbody .ox-a { display: flex; gap: 10px; align-items: baseline; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 14.5px; }
.cr-solbody .ox-a b { flex: none; width: 26px; height: 26px; line-height: 26px; text-align: center; border-radius: 50%; color: #fff; font-weight: 800; }
.cr-solbody .ox-O { background: #1a6fc4; } .cr-solbody .ox-X { background: #d4351c; }
@media (max-width: 640px) {
  .cr-soltabs { gap: 4px; padding: 5px; }
  .cr-soltabs button { flex: 1 1 0; padding: 9px 4px; font-size: 13.5px; gap: 3px; }
  .cr-soltabs button span { font-size: 13px; }
}
/* 내 강의실 학습 현황 대시보드 (2026-10-27) */
.cr-dash { margin: 0 0 18px; padding: 16px 18px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.cr-dhead { display: flex; align-items: center; gap: 10px; }
.cr-dhead h2 { margin: 0; font-size: 18px; flex: 1; }
.cr-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 14px 0 12px; }
.cr-kpi { padding: 12px 14px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cr-kpi span { font-size: 13px; color: var(--muted); font-weight: 600; }
.cr-kpi b { font-size: 24px; line-height: 1.2; color: var(--fg); font-variant-numeric: tabular-nums; }
.cr-kpi b small { font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 2px; }
.cr-kpi em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.cr-kpi.main { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); border-color: transparent; border-left: 4px solid var(--gold); }
.cr-kpi.main span, .cr-kpi.main em, .cr-kpi.main b small { color: var(--on-navy-muted); }
.cr-kpi.main b { color: #fff; }
.cr-kpi.main .cr-sbar { background: rgba(255,255,255,.18); }
.cr-kpi.main .cr-sbar .d { background: var(--gold); }
.cr-kpi.main .cr-sbar .s { background: rgba(255,255,255,.45); }
.cr-sbar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: var(--line); flex: 1; min-width: 60px; }
.cr-sbar i { display: block; height: 100%; }
.cr-sbar .d { background: var(--navy); }
.cr-sbar .s { background: #8ec5ea; }
.cr-dgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 10px; }
.cr-dcard { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); min-width: 0; }
.cr-dcard h3 { margin: 0 0 8px; font-size: 14.5px; }
.cr-dcard hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.cr-rows { display: flex; flex-direction: column; gap: 2px; }
.cr-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 5px 6px; border: 0; border-radius: 6px; background: none; font: inherit; color: var(--fg); cursor: pointer; text-align: left; }
.cr-row:hover { background: var(--bg); }
.cr-rl { flex: none; width: 118px; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-rn { flex: none; width: 82px; text-align: right; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cr-rn b { color: var(--fg); }
.cr-rn small { font-size: 12px; }
.cr-week { display: flex; align-items: flex-end; gap: 6px; height: 132px; padding-top: 4px; }
.cr-wcol { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; }
.cr-wv { font-size: 11.5px; color: var(--muted); min-height: 16px; }
.cr-wbar { flex: 1; width: 100%; max-width: 34px; display: flex; align-items: flex-end; background: var(--bg); border-radius: 6px 6px 2px 2px; overflow: hidden; }
.cr-wbar i { display: block; width: 100%; background: var(--blue); border-radius: 6px 6px 0 0; min-height: 0; }
.cr-wcol.today .cr-wbar i { background: var(--gold); }
.cr-wd { font-size: 12.5px; color: var(--muted); }
.cr-wcol.today .cr-wd { color: var(--fg); font-weight: 700; }
.cr-dnote { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.cr-dsub { margin: 10px 0 4px; font-size: 13px; color: var(--muted); }
.cr-cont { display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 10px 12px; border: 1px solid var(--gold); border-radius: 8px; background: var(--gold-soft); font: inherit; color: var(--fg); text-align: left; cursor: pointer; }
.cr-cont span { font-size: 12.5px; font-weight: 700; color: var(--gold); }
.cr-cont b { font-size: 14.5px; }
.cr-cont em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.cr-recs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.cr-recs button { display: flex; flex-direction: column; width: 100%; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); font: inherit; font-size: 14px; color: var(--fg); text-align: left; cursor: pointer; }
.cr-recs button:hover, .cr-cont:hover { border-color: var(--blue); }
.cr-recs small { font-size: 12px; color: var(--muted); }
.cr-dlegend { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cr-dlegend i { display: inline-block; width: 12px; height: 8px; border-radius: 99px; }
.cr-dlegend i.d { background: var(--navy); } .cr-dlegend i.s { background: #8ec5ea; margin-left: 8px; }
.cr-pbar { display: block; height: 4px; margin-top: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.cr-pbar i { display: block; height: 100%; background: #8ec5ea; }
.cr-pbar.full i { background: var(--navy); }
.cr-done { color: var(--navy); font-weight: 700; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cr-sbar .d, :root:not([data-theme="light"]) .cr-pbar.full i, :root:not([data-theme="light"]) .cr-dlegend i.d { background: var(--blue); } :root:not([data-theme="light"]) .cr-done { color: var(--blue); } }
@media (max-width: 900px) { .cr-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cr-kpi.main { grid-column: 1 / -1; } }
@media (max-width: 640px) { .cr-dash { padding: 14px 12px 12px; } .cr-kpi b { font-size: 21px; } .cr-rl { width: 96px; } .cr-dgrid { grid-template-columns: 1fr; } }
.cr-kpi .cr-sbar { flex: none; height: 8px; margin: 4px 0 2px; }
.cr-admin { display: inline-flex; gap: 12px; font-size: 13.5px; }
.cr-admin a { color: var(--blue); font-weight: 600; }
@media (max-width: 640px) { .cr-dhead { flex-wrap: wrap; } .cr-admin { order: 3; width: 100%; } }
/* 계정 공유 방지: 워터마크 · 동시 재생 안내 · 경고 (2026-10-27) */
.cr-wm { position: absolute; z-index: 3; pointer-events: none; user-select: none; color: rgba(255,255,255,.42); text-shadow: 0 0 3px rgba(0,0,0,.55); font-size: clamp(11px, 1.6vw, 15px); font-weight: 600; letter-spacing: .02em; white-space: nowrap; transition: top 1.2s ease, left 1.2s ease; }
.cr-block { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(8, 16, 42, .9); color: #fff; text-align: center; }
.cr-block p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.6; }
.cr-block .btnlink { background: var(--gold); color: #1b1405; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.cr-warn { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 12px 16px; border-radius: 10px; background: #fde3df; border-left: 4px solid #d4351c; color: #5c1a12; }
.cr-warn p { margin: 0; flex: 1; font-size: 14.5px; }
.cr-frame:fullscreen { padding-top: 0; width: 100%; height: 100%; border-radius: 0; }
.cr-frame:fullscreen .cr-wm { font-size: 20px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cr-warn { background: #3a1714; color: #ffd8d2; } }
.cr-block p, .cr-block b { color: #fff; }
main .co-hero p.co-coupon { margin-top: 14px; font-size: 13.5px; }
/* 마이페이지 강의 할인쿠폰 */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mcp-form { display: flex; gap: 8px; max-width: 360px; }
.mcp-form input { flex: 1; min-width: 0; }
.mcp-list { list-style: none; padding: 0; margin: 12px 0 0; }
.mcp-list li { padding: 8px 12px; border-radius: 8px; margin-bottom: 6px; font-size: 14.5px; background: var(--bg); border: 1px solid var(--line); }
.mcp-list li.ok { border-color: var(--gold); }
.mcp-list li.ok a { color: var(--blue); text-decoration: underline; }
.mcp-list li.warn { color: #b3261e; }
.mcp-list li.muted { color: var(--muted); }

/* 회원가입·회원정보 (2026-11-14) */
.req { color: #b3261e; font-weight: 600; }
.sg-gender { border: 0; padding: 0; margin: 14px 0 0; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.sg-gender legend { font-weight: 500; font-size: 14px; margin-bottom: 6px; padding: 0; width: 100%; }
.sg-gender .radio { display: inline-flex; gap: 6px; align-items: center; font-weight: 400; margin: 0; }
.sg-post { display: flex; gap: 8px; }
.sg-post input { flex: 1; min-width: 0; }
.sg-btn { flex: none; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font: inherit; font-size: 15px; cursor: pointer; }
#signup-addr1, #signup-addr2 { margin-top: 8px; }
.sg-agree { margin: 18px 0 6px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 10px; }
.sg-all { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
input[type=tel] { width: 100%; padding: 11px 12px; font: inherit; font-size: 16px; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
/* 화공열역학 이론+문풀 강의 소개 (2026-11-15) */
main .co-hero p.co-lead { font-size: 19px; line-height: 1.5; font-weight: 600; color: var(--on-navy); margin: 2px 0 10px; letter-spacing: -0.01em; }
main .co-hero p.co-lead b { color: var(--gold); }
.co-steps { list-style: none; counter-reset: st; padding: 0; margin: 16px 0 4px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.co-steps li { counter-increment: st; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.co-steps li b { display: block; font-size: 15.5px; color: var(--gold); margin-bottom: 4px; }
.co-steps li b::before { content: counter(st) ". "; }
.co-steps li span { display: block; font-size: 13.5px; line-height: 1.55; color: var(--on-navy-muted); }
.co-steps em { font-style: normal; color: var(--on-navy); font-weight: 600; }
@media (max-width: 640px) { .co-steps { grid-template-columns: 1fr; } }
.book .card-note { margin: 2px 0 6px; font-size: 13px; color: var(--muted); }
/* 홍보 영상 (2026-11-15) */
.promo-vids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.promo-vids video, .co-promo { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: #080F24; border: 1px solid var(--line); }
.co-promo { margin: 12px 0 14px; max-width: 760px; border-color: rgba(255,255,255,.14); }
.co-promo-top { margin: 0 0 18px; }
@media (max-width: 860px) { .promo-vids { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .promo-vids video, .co-promo { animation: none; } }
/* 군무원 기출 복원 강조 (2026-11-15) */
.co-highlight { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 14px; padding: 14px 16px; border-radius: 12px; background: rgba(240,197,101,.12); border: 1px solid rgba(240,197,101,.55); max-width: 760px; }
.co-hl-tag { flex: none; margin-top: 2px; padding: 3px 8px; border-radius: 6px; background: var(--gold); color: #1b1405; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
main .co-hero .co-highlight p { margin: 0; color: var(--on-navy-muted); font-size: 14.5px; line-height: 1.6; }
main .co-hero .co-highlight p b { color: var(--gold); font-size: 17px; }
