:root {
  --ink: #17212b;
  --muted: #5c6875;
  --paper: #ffffff;
  --navy: #243b53;
  --navy-deep: #102a43;
  --blue: #486581;
  --teal: #0d9488;
  --teal-deep: #0f766e;
  --teal-soft: #e9f8f6;
  --yellow: #efb701;
  --yellow-dark: #d39f00;
  --yellow-soft: #fff7d6;
  --gray-soft: #f4f6f8;
  --line: #d7dee5;
  --line-dark: #b7c1cb;
  --danger: #b42318;
  --danger-soft: #fff0ed;
  --success: #137333;
  --success-soft: #ecf8ef;
  --shadow: 0 14px 36px rgba(30, 52, 73, .09);
  --shell: min(1200px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
:where(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.shell { width: var(--shell); margin: 0 auto; }
.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; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; transform: translateY(-150%); padding: 10px 14px; background: var(--navy-deep); color: #fff; font-weight: 800; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.header-shell { width: var(--shell); min-height: 76px; margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { position: relative; display: grid; grid-template-columns: repeat(3, 8px); align-items: end; gap: 3px; width: 30px; height: 31px; padding: 4px; background: var(--navy-deep); }
.brand-mark i { display: block; background: var(--yellow); }
.brand-mark i:nth-child(1) { height: 9px; }
.brand-mark i:nth-child(2) { height: 16px; background: #fff; }
.brand-mark i:nth-child(3) { height: 23px; background: var(--teal); }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { color: var(--navy-deep); font-size: 18px; letter-spacing: -.04em; }
.brand-copy small { margin-top: 4px; color: #708090; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: stretch; align-self: stretch; margin-left: auto; }
.primary-nav a { position: relative; display: flex; align-items: center; padding: 0 12px; color: #45576a; font-size: 14px; font-weight: 750; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--navy-deep); }
.primary-nav a[aria-current="page"]::after { position: absolute; right: 12px; bottom: -1px; left: 12px; height: 3px; background: var(--yellow); content: ""; }
.official-link { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 800; }
.official-link:hover { background: var(--navy-deep); }
.nav-toggle { display: none; width: 44px; height: 44px; margin-left: auto; padding: 10px; border: 1px solid var(--line); background: #fff; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--navy-deep); }

.eyebrow { display: inline-flex; align-items: center; min-height: 28px; margin: 0 0 18px; padding: 4px 10px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 850; letter-spacing: .06em; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-head h2 { margin: 8px 0 0; color: var(--navy-deep); font-size: clamp(28px, 3vw, 40px); line-height: 1.2; letter-spacing: -.045em; }
.section-head > p { max-width: 580px; margin: 0; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-dark); background: #fff; color: var(--navy); font-size: 14px; font-weight: 800; }
.text-link:hover { border-color: var(--navy); background: var(--navy); color: #fff; }

.home-hero { padding: 44px 0 54px; }
.hero-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); align-items: center; padding: clamp(28px, 3.4vw, 40px); border: 1px solid #cbd5df; border-top: 4px solid var(--yellow); background: #fff; box-shadow: var(--shadow); }
.hero-card h1 { max-width: 720px; margin: 0; color: var(--navy-deep); font-size: clamp(40px, 5.2vw, 68px); line-height: 1.08; letter-spacing: -.06em; }
.hero-card h1 span { display: block; color: var(--teal-deep); }
.hero-message { position: relative; z-index: 1; min-width: 0; }
.hero-copy { margin-top: 24px; }
.hero-copy > p { margin: 0 0 22px; color: #46596a; font-size: 18px; line-height: 1.75; }
.hero-visual { position: relative; width: 100%; min-width: 0; aspect-ratio: 1 / 1; margin: 0; overflow: hidden; border: 1px solid #d7e2e8; background: #f6fafb; box-shadow: 0 18px 40px rgba(16,42,67,.11); }
.hero-visual::after { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.6); pointer-events: none; content: ""; }
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #cdd7e0; background: #f7f9fb; }
.trust-strip span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px; color: var(--navy); font-size: 13px; font-weight: 800; text-align: center; }
.trust-strip span + span { border-left: 1px solid var(--line); }
.hero-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.hero-actions a { display: flex; align-items: center; justify-content: center; min-height: 58px; padding: 8px 14px; color: #fff; font-size: 15px; font-weight: 850; text-align: center; transition: transform .18s ease, background .18s ease; }
.hero-actions a:nth-child(1) { background: var(--yellow); }
.hero-actions a:nth-child(2) { background: var(--navy); }
.hero-actions a:nth-child(3) { background: var(--teal-deep); }
.hero-actions a:nth-child(4) { background: var(--blue); }
.hero-actions a:hover { transform: translateY(-2px); filter: brightness(.93); }

.notice-band { border-block: 1px solid #b9e0dc; background: var(--teal-soft); }
.notice-band .shell { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; min-height: 76px; padding-block: 12px; }
.notice-band strong { color: var(--teal-deep); }
.notice-band p { margin: 0; color: #3c5e5b; font-size: 14px; }
.notice-band a { color: var(--navy-deep); font-size: 14px; font-weight: 850; }

.home-section { padding: 76px 0; }
.home-section.alt { background: var(--gray-soft); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(30, 52, 73, .06); }
.metric { min-height: 170px; padding: 26px; background: #fff; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric small { color: var(--teal-deep); font-size: 13px; font-weight: 850; }
.metric strong { display: block; margin: 11px 0 8px; color: var(--navy-deep); font-size: clamp(28px, 3vw, 42px); line-height: 1; letter-spacing: -.05em; }
.metric p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.grade-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grade-card { position: relative; min-height: 255px; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-top: 4px solid var(--card-accent, var(--teal)); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.grade-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.grade-card::after { position: absolute; right: -24px; bottom: -36px; width: 130px; height: 130px; border: 20px solid color-mix(in srgb, var(--card-accent, var(--teal)) 13%, white); border-radius: 50%; content: ""; }
.grade-card[data-accent="mint"] { --card-accent: #14b8a6; }
.grade-card[data-accent="blue"] { --card-accent: #3b82f6; }
.grade-card[data-accent="yellow"] { --card-accent: var(--yellow); }
.grade-card[data-accent="violet"] { --card-accent: #7c3aed; }
.grade-card[data-accent="navy"] { --card-accent: var(--navy-deep); }
.grade-card[data-accent="coral"] { --card-accent: #ea580c; }
.grade-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.grade-top strong { color: var(--navy-deep); font-size: 23px; letter-spacing: -.03em; }
.grade-top span { padding: 4px 8px; background: var(--gray-soft); color: #566677; font-size: 12px; font-weight: 800; }
.grade-card p { margin: 18px 0 24px; color: var(--muted); }
.grade-meta { display: grid; gap: 5px; color: var(--navy); font-size: 13px; font-weight: 800; }

.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: path; }
.path-card { position: relative; min-height: 245px; padding: 31px; border: 1px solid var(--line); background: #fff; counter-increment: path; }
.path-card::before { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 22px; background: var(--navy-deep); color: #fff; font-size: 14px; font-weight: 900; content: "0" counter(path); }
.path-card h3 { margin: 0 0 12px; color: var(--navy-deep); font-size: 22px; }
.path-card p { margin: 0; color: var(--muted); }
.path-card a { display: inline-flex; margin-top: 18px; color: var(--teal-deep); font-size: 14px; font-weight: 850; }

.topics-grid { display: grid; grid-template-columns: 1.05fr .95fr; border: 1px solid var(--line); background: #fff; }
.topic-main { padding: clamp(28px, 4vw, 46px); }
.topic-main h3 { margin: 0 0 18px; color: var(--navy-deep); font-size: 28px; }
.topic-flow { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 28px; }
.topic-flow span { position: relative; padding: 16px 12px; border-block: 1px solid var(--line); background: #f8fafb; color: var(--navy); font-size: 14px; font-weight: 850; text-align: center; }
.topic-flow span + span { border-left: 1px solid var(--line); }
.topic-list { display: grid; align-content: center; gap: 0; border-left: 1px solid var(--line); }
.topic-list div { padding: 20px 26px; }
.topic-list div + div { border-top: 1px solid var(--line); }
.topic-list strong { display: block; color: var(--navy-deep); }
.topic-list span { color: var(--muted); font-size: 14px; }

.faq-list { border-top: 1px solid var(--line-dark); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button { position: relative; width: 100%; padding: 22px 56px 22px 0; border: 0; background: transparent; color: var(--navy-deep); font-size: 18px; font-weight: 850; text-align: left; }
.faq-item button::after { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); color: var(--teal-deep); font-size: 24px; content: "+"; }
.faq-item button[aria-expanded="true"]::after { content: "−"; }
.faq-answer { display: none; max-width: 900px; padding: 0 0 24px; color: var(--muted); }
.faq-answer.open { display: block; }
.faq-answer p { margin: 0; }

.sub-hero { padding: 54px 0; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #f5f8fa 0%, #fff 60%, var(--teal-soft) 100%); }
.sub-hero-inner h1 { margin: 0; color: var(--navy-deep); font-size: clamp(36px, 5vw, 58px); line-height: 1.15; letter-spacing: -.055em; }
.sub-hero-inner > p:last-child { max-width: 740px; margin: 18px 0 0; color: #4b5f70; font-size: 18px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; padding-block: 48px 80px; }
.page-grid.single-column { grid-template-columns: minmax(0, 900px); justify-content: center; }
.content-panel, .side-panel, .source-notice { border: 1px solid var(--line); background: #fff; box-shadow: 0 10px 28px rgba(30, 52, 73, .055); }
.content-panel { padding: clamp(26px, 4vw, 48px); }
.side-panel { align-self: start; padding: 24px; position: sticky; top: 102px; }
.side-panel strong { display: block; margin-bottom: 12px; color: var(--navy-deep); font-size: 18px; }
.side-panel a { display: block; padding: 11px 0; border-top: 1px solid var(--line); color: #4e6072; font-size: 14px; font-weight: 750; }
.side-panel a:hover { color: var(--teal-deep); }
.prose section + section { margin-top: 48px; }
.prose h2 { margin: 0 0 20px; padding: 13px 17px; border-left: 5px solid var(--yellow); background: var(--navy-deep); color: #fff; font-size: clamp(23px, 3vw, 29px); line-height: 1.3; }
.prose h3 { margin: 32px 0 12px; color: var(--navy-deep); font-size: 21px; }
.prose p { margin: 0 0 16px; color: #3f4f5e; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.callout { margin: 26px 0; padding: 22px 24px; border-left: 5px solid var(--teal); background: var(--teal-soft); }
.callout strong { display: block; margin-bottom: 6px; color: var(--teal-deep); }
.callout p { margin: 0; }
.warning { border-left-color: var(--yellow); background: var(--yellow-soft); }
.warning strong { color: #795b00; }
.data-table-wrap { margin: 18px 0 28px; overflow: visible; border: 1px solid var(--line); }
.data-table { width: 100%; border-collapse: collapse; table-layout: fixed; background: #fff; font-size: 14px; }
.data-table th { padding: 13px 10px; background: var(--navy-deep); color: #fff; text-align: left; white-space: normal; word-break: keep-all; overflow-wrap: anywhere; }
.data-table td { padding: 13px 10px; border-top: 1px solid var(--line); vertical-align: top; word-break: keep-all; overflow-wrap: anywhere; }
.data-table tbody tr:nth-child(even) { background: #f8fafb; }
.data-table--exam col:nth-child(1) { width: 19%; }
.data-table--exam col:nth-child(2), .data-table--exam col:nth-child(3), .data-table--exam col:nth-child(4) { width: 12%; }
.data-table--exam col:nth-child(5) { width: 45%; }
.data-table--qualification col:nth-child(1) { width: 24%; }
.data-table--qualification col:nth-child(2) { width: 18%; }
.data-table--qualification col:nth-child(3) { width: 24%; }
.data-table--qualification col:nth-child(4) { width: 34%; }
.data-table--statistics col:first-child { width: 25%; }
.data-table--statistics col:not(:first-child) { width: 15%; }
.badge { display: inline-flex; align-items: center; min-height: 27px; padding: 3px 9px; border-radius: 999px; background: var(--gray-soft); color: var(--navy); font-size: 12px; font-weight: 850; }
.badge.accredited { background: var(--yellow-soft); color: #6a4f00; }
.source-notice { margin-top: 30px; padding: 24px; border-top: 4px solid var(--teal); }
.source-notice strong { color: var(--navy-deep); font-size: 18px; }
.source-notice p { margin: 8px 0 14px; color: var(--muted); font-size: 14px; }
.source-notice a { color: var(--teal-deep); font-size: 14px; font-weight: 850; }
.page-visual { margin: 0 0 38px; overflow: hidden; border: 1px solid var(--line); background: var(--gray-soft); }
.page-visual img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.page-visual figcaption { padding: 14px 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.official-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 20px; background: #111; color: #fff; font-weight: 850; box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.official-button:hover { background: var(--navy); }

.aice-ad-section { background: #fff; }
.aice-ad-section--horizontal { padding: 24px 0 0; }
.aice-ad-section--vertical { padding: 0 0 56px; }
.aice-ad-unit { width: 100%; min-width: 0; overflow: hidden; background: #fff; }
.aice-ad-unit .adsbygoogle, .aice-ad-unit iframe { display: block !important; box-sizing: border-box !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin: 0 !important; border: 0 !important; }
.aice-ad-unit--horizontal { min-height: 96px; }
.side-panel .aice-ad-unit--vertical { min-height: 360px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.aice-ad-unit--standalone-vertical { width: min(100%, 320px); min-height: 320px; margin: 0 auto; }

.scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0; }
.scope-card { padding: 22px; border: 1px solid var(--line); background: #fff; }
.scope-card strong { display: block; color: var(--navy-deep); font-size: 18px; }
.scope-card span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.checklist { display: grid; gap: 12px; padding: 0; list-style: none; }
.checklist li { position: relative; margin: 0 !important; padding: 15px 16px 15px 48px; border: 1px solid var(--line); background: #fff; }
.checklist li::before { position: absolute; top: 15px; left: 16px; display: flex; align-items: center; justify-content: center; width: 23px; height: 23px; background: var(--teal); color: #fff; font-size: 13px; font-weight: 900; content: "✓"; }

.practice-switcher { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.practice-switcher a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 13px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 13px; font-weight: 850; }
.practice-switcher a:hover, .practice-switcher a[aria-current="page"] { border-color: var(--teal-deep); background: var(--teal-deep); color: #fff; }

.search-panel { margin-bottom: 18px; padding: 18px; border: 1px solid var(--line); background: var(--gray-soft); }
.search-panel > label { display: block; margin-bottom: 8px; color: var(--navy-deep); font-size: 14px; font-weight: 850; }
.search-panel > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.search-panel input { width: 100%; min-height: 48px; padding: 0 15px; border: 1px solid var(--line-dark); background: #fff; color: var(--ink); }
.search-panel button { min-height: 48px; padding: 0 22px; border: 0; background: var(--navy-deep); color: #fff; font-weight: 850; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-chips a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font-size: 13px; font-weight: 800; }
.filter-chips a:hover, .filter-chips a[aria-current="page"], .filter-chips a.active { border-color: var(--navy); background: var(--navy); color: #fff; }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.article-card { display: flex; min-height: 220px; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-top: 4px solid var(--teal); background: #fff; transition: transform .18s ease, box-shadow .18s ease; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.article-card > span { align-self: flex-start; padding: 4px 9px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-deep); font-size: 12px; font-weight: 850; }
.article-card h2 { margin: 18px 0 10px; color: var(--navy-deep); font-size: 22px; line-height: 1.35; }
.article-card p { margin: 0; color: var(--muted); }
.article-card > strong { margin-top: auto; padding-top: 18px; color: var(--teal-deep); font-size: 14px; }

.auth-shell { width: min(100% - 28px, 560px); margin: 0 auto; padding: 48px 0 80px; }
.auth-shell.wide { width: min(100% - 28px, 820px); }
.auth-card { padding: clamp(24px, 5vw, 42px); border: 1px solid var(--line); border-top: 5px solid var(--yellow); background: #fff; box-shadow: var(--shadow); }
.auth-card > h2 { margin: 0 0 8px; color: var(--navy-deep); font-size: 27px; }
.auth-card > p { margin: 0 0 25px; color: var(--muted); }
.auth-card label:not(.check-row) { display: grid; gap: 7px; margin-top: 16px; color: var(--navy-deep); font-size: 14px; font-weight: 850; }
.auth-card input, .auth-card select, .auth-card textarea { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid var(--line-dark); background: #fff; color: var(--ink); }
.auth-card textarea { min-height: 150px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit { width: 100%; min-height: 52px; margin-top: 22px; border: 0; background: var(--navy-deep); color: #fff; font-weight: 900; }
.form-submit:hover { background: var(--teal-deep); }
.form-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 17px; border: 1px solid var(--line-dark); background: #fff; color: var(--navy); font-weight: 850; }
.form-foot { margin: 20px 0 0; text-align: center; }
.form-foot a { color: var(--teal-deep); font-weight: 850; }
.form-message { margin: 0 0 18px; padding: 14px 16px; border-left: 4px solid var(--teal); background: var(--success-soft); color: var(--success); }
.form-message.error { border-left-color: var(--danger); background: var(--danger-soft); color: var(--danger); }
.check-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin-top: 18px; color: #45576a; font-size: 14px; }
.check-row input { width: 18px; min-height: 18px; margin-top: 3px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.member-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.member-head h2 { margin: 0; color: var(--navy-deep); }
.member-head p { margin: 6px 0 0; color: var(--muted); }
.member-metrics { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.member-metrics article { min-height: 130px; padding: 22px; background: #fff; }
.member-metrics article + article { border-left: 1px solid var(--line); }
.member-metrics small { display: block; color: var(--muted); }
.member-metrics strong { display: block; margin-top: 9px; color: var(--navy-deep); font-size: 28px; }
.member-section { margin-top: 28px; }
.member-section h2 { color: var(--navy-deep); }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.quick-grid a { min-height: 110px; padding: 20px; border: 1px solid var(--line); background: var(--gray-soft); color: var(--navy-deep); font-weight: 850; }
.quick-grid a:hover { border-color: var(--teal); background: var(--teal-soft); }
.quick-grid strong, .quick-grid span { display: block; }
.quick-grid span { margin-top: 8px; color: var(--muted); font-size: 13px; }

.review-guideline { margin-bottom: 22px; padding: 18px 20px; border-left: 5px solid var(--yellow); background: var(--yellow-soft); color: #5d4b12; }
.review-list { display: grid; gap: 14px; }
.review-card { padding: 24px; border: 1px solid var(--line); background: #fff; }
.review-card > div, .review-card footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-card > div span { color: var(--teal-deep); font-size: 13px; font-weight: 850; }
.review-card > div b { color: var(--yellow-dark); letter-spacing: .08em; }
.review-card h3 { margin: 13px 0 10px; color: var(--navy-deep); font-size: 20px; }
.review-card time { color: #71808e; font-size: 13px; }
.review-card p { margin: 0; color: #46596a; white-space: pre-line; }
.review-card footer { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.check-app { display: grid; gap: 14px; margin-top: 28px; }
.check-app fieldset { display: grid; gap: 10px; margin: 0; padding: 22px; border: 1px solid var(--line); background: var(--gray-soft); }
.check-app legend { padding: 0 6px; color: var(--navy-deep); font-weight: 900; }
.check-app label { display: flex; gap: 9px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); background: #fff; color: #415466; }
.check-app input { margin-top: 5px; }
.check-result { margin-top: 28px; padding: 28px; border: 1px solid #a9d8d3; border-top: 5px solid var(--teal); background: var(--teal-soft); }
.check-result h2 { margin: 0 0 10px; padding: 0; border: 0; background: transparent; color: var(--navy-deep); font-size: 34px; }
.check-result .hero-actions { max-width: 460px; }

.practice-shell { padding-block: 44px 80px; }
.practice-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; padding: 16px 18px; border: 1px solid var(--line); background: #f8fafb; }
.practice-toolbar label { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 14px; font-weight: 850; }
.practice-toolbar select { min-height: 42px; padding: 0 38px 0 12px; border: 1px solid var(--line-dark); background: #fff; color: var(--ink); }
.practice-progress { color: var(--muted); font-size: 14px; font-weight: 750; }
.progress-track { height: 8px; margin-bottom: 22px; overflow: hidden; background: #e6ebef; }
.progress-track span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--teal), var(--yellow)); transition: width .25s ease; }
.quiz-card { max-width: 820px; min-height: 450px; margin: 0 auto; padding: clamp(26px, 5vw, 48px); border: 1px solid var(--line); border-top: 5px solid var(--yellow); background: #fff; box-shadow: var(--shadow); }
.quiz-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.quiz-meta span { color: var(--teal-deep); font-size: 13px; font-weight: 850; }
.quiz-meta small { color: #758391; }
.quiz-question { margin: 0 0 26px; color: var(--navy-deep); font-size: clamp(22px, 3vw, 29px); line-height: 1.45; letter-spacing: -.03em; }
.quiz-options { display: grid; gap: 11px; }
.quiz-option { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 10px 14px; border: 1px solid var(--line); background: #fff; color: #314355; text-align: left; transition: border .15s ease, background .15s ease; }
.quiz-option b { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gray-soft); color: var(--navy); font-size: 13px; }
.quiz-option:hover:not(:disabled) { border-color: var(--teal); background: var(--teal-soft); }
.quiz-option.correct { border-color: #66b77b; background: var(--success-soft); color: var(--success); }
.quiz-option.wrong { border-color: #e99d94; background: var(--danger-soft); color: var(--danger); }
.quiz-option:disabled { cursor: default; }
.quiz-explanation { display: none; margin-top: 20px; padding: 18px 20px; border-left: 5px solid var(--teal); background: var(--teal-soft); color: #31514e; }
.quiz-explanation.show { display: block; }
.quiz-explanation strong { display: block; margin-bottom: 5px; color: var(--teal-deep); }
.quiz-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.quiz-actions button, .action-button { min-height: 48px; padding: 0 20px; border: 0; background: var(--navy-deep); color: #fff; font-weight: 850; }
.quiz-actions button:hover, .action-button:hover { background: var(--teal-deep); }
.quiz-actions .secondary { border: 1px solid var(--line-dark); background: #fff; color: var(--navy); }
.result-card { display: none; max-width: 820px; margin: 0 auto; padding: 44px; border: 1px solid var(--line); border-top: 5px solid var(--teal); background: #fff; text-align: center; box-shadow: var(--shadow); }
.result-card.show { display: block; }
.result-card strong { display: block; color: var(--navy-deep); font-size: 46px; line-height: 1; }
.result-card p { color: var(--muted); }
.empty-state { padding: 46px 24px; border: 1px dashed var(--line-dark); background: #f8fafb; text-align: center; }
.empty-state strong { display: block; color: var(--navy-deep); font-size: 22px; }
.empty-state p { margin: 8px 0 18px; color: var(--muted); }
.practice-disclaimer { max-width: 820px; margin: 20px auto 0; color: var(--muted); font-size: 13px; text-align: center; }

.site-footer { border-top: 1px solid var(--line); background: var(--navy-deep); color: #dce6ef; }
.footer-shell { width: var(--shell); display: grid; grid-template-columns: 1.35fr .65fr .65fr; gap: 50px; margin: 0 auto; padding: 52px 0; }
.footer-brand strong, .footer-links strong { display: block; margin-bottom: 12px; color: #fff; font-size: 18px; }
.footer-brand p { max-width: 560px; margin: 0 0 12px; }
.footer-brand .footer-notice { color: #aebdcc; font-size: 13px; }
.footer-links { display: grid; align-content: start; gap: 7px; }
.footer-links a { color: #c9d6e2; font-size: 14px; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom { width: var(--shell); display: flex; justify-content: space-between; gap: 20px; margin: 0 auto; padding: 18px 0 24px; border-top: 1px solid #29445d; color: #9fb0c0; font-size: 12px; }
.share-tools { position: fixed; z-index: 80; right: 22px; bottom: 22px; display: grid; gap: 7px; width: 190px; }
.share-tools button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid #c9d3dc; background: #fff; color: var(--navy-deep); font-size: 13px; font-weight: 850; box-shadow: 0 8px 22px rgba(16,42,67,.15); transition: transform .18s ease, background .18s ease; }
.share-tools button:hover { transform: translateY(-2px); }
.share-tools button svg { width: 19px; height: 19px; flex: 0 0 auto; fill: currentColor; }
.share-tools .share-kakao { border-color: #d9c800; background: #fee500; color: #191919; }
.share-tools .share-kakao:hover { background: #f4dd00; }
.share-tools .share-copy.is-copied { border-color: #68b97d; background: var(--success-soft); color: var(--success); }
.share-tools .share-copy.is-failed { border-color: #e99d94; background: var(--danger-soft); color: var(--danger); }

@media (max-width: 1060px) {
  .official-link { display: none; }
  .primary-nav a { padding-inline: 9px; }
  .hero-card { gap: 28px; padding: 28px; }
  .grade-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 28px, 720px); }
  .header-shell { min-height: 66px; }
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; top: 66px; right: 0; left: 0; display: none; align-self: auto; margin: 0; padding: 10px 14px 16px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 14px 24px rgba(24,43,61,.1); }
  .primary-nav.open { display: grid; }
  .primary-nav a { min-height: 46px; padding: 0 12px; border-bottom: 1px solid #edf0f3; }
  .primary-nav a[aria-current="page"]::after { top: 11px; right: auto; bottom: 11px; left: 0; width: 3px; height: auto; }
  .home-hero { padding: 26px 0 40px; }
  .hero-card { grid-template-columns: 1fr; gap: 32px; padding: 30px 24px; }
  .hero-visual { width: min(100%, 560px); order: -1; justify-self: center; }
  .hero-actions { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3) { border-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--line); }
  .path-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 0; }
  .topics-grid { grid-template-columns: 1fr; }
  .topic-list { border-top: 1px solid var(--line); border-left: 0; }
  .page-grid { grid-template-columns: 1fr; }
  .side-panel { position: static; }
  .scope-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .member-metrics { grid-template-columns: 1fr 1fr; }
  .member-metrics article + article { border-top: 1px solid var(--line); border-left: 0; }
  .member-metrics article:nth-child(2n) { border-left: 1px solid var(--line); }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .footer-shell { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
  .side-panel .aice-ad-unit--vertical { min-height: 280px; }
}

@media (max-width: 680px) {
  .data-table-wrap { border: 0; }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table colgroup { display: none; }
  .data-table thead { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; white-space: nowrap; }
  .data-table tbody { display: grid; gap: 14px; }
  .data-table tbody tr { padding: 5px 14px; border: 1px solid var(--line); border-top: 4px solid var(--teal); background: #fff; box-shadow: 0 8px 20px rgba(30, 52, 73, .06); }
  .data-table tbody tr:nth-child(even) { background: #fff; }
  .data-table td { display: grid; grid-template-columns: minmax(108px, .8fr) minmax(0, 1.2fr); gap: 12px; align-items: start; padding: 11px 0; }
  .data-table td:first-child { border-top: 0; }
  .data-table td::before { color: var(--muted); font-size: 13px; font-weight: 850; content: attr(data-label); }
  .data-table td strong { color: var(--navy-deep); }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 22px); }
  body { font-size: 16px; line-height: 1.65; }
  .brand-copy strong { font-size: 16px; }
  .hero-card h1 { font-size: 38px; }
  .hero-card { padding: 28px 20px; }
  .hero-visual { width: min(100%, 440px); }
  .hero-copy > p { font-size: 16px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip span + span { border-top: 1px solid var(--line); border-left: 0; }
  .hero-actions { grid-template-columns: 1fr 1fr; }
  .hero-actions a { min-height: 52px; font-size: 14px; }
  .notice-band .shell { grid-template-columns: 1fr; gap: 3px; padding-block: 16px; }
  .home-section { padding: 54px 0; }
  .section-head { display: grid; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric + .metric { border-top: 1px solid var(--line); border-left: 0; }
  .grade-grid { grid-template-columns: 1fr; }
  .grade-card { min-height: 0; }
  .topic-flow { grid-template-columns: 1fr 1fr; }
  .topic-flow span:nth-child(3) { border-left: 0; }
  .topic-flow span:nth-child(n+3) { border-top: 0; }
  .sub-hero { padding: 38px 0; }
  .sub-hero-inner > p:last-child { font-size: 16px; }
  .page-grid, .practice-shell { padding-block: 30px 56px; }
  .content-panel { padding: 22px 18px; }
  .page-visual { margin: -4px -2px 30px; }
  .page-visual img { aspect-ratio: 4 / 3; }
  .prose h2 { font-size: 22px; }
  .practice-toolbar { display: grid; }
  .practice-toolbar label { display: grid; }
  .practice-toolbar select { width: 100%; }
  .practice-switcher { display: grid; grid-template-columns: 1fr 1fr; }
  .practice-switcher a { justify-content: center; text-align: center; }
  .search-panel > div { grid-template-columns: 1fr; }
  .form-row, .quick-grid { grid-template-columns: 1fr; }
  .member-head, .review-card footer { align-items: flex-start; flex-direction: column; }
  .member-metrics { grid-template-columns: 1fr; }
  .member-metrics article:nth-child(2n) { border-left: 0; }
  .quiz-card { padding: 25px 18px; }
  .quiz-question { font-size: 21px; }
  .quiz-option { grid-template-columns: 30px 1fr; padding: 9px 10px; }
  .result-card { padding: 34px 18px; }
  .footer-shell { grid-template-columns: 1fr; padding: 40px 0; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { display: grid; }
  .share-tools { position: static; width: var(--shell); grid-template-columns: 1fr 1fr; margin: 16px auto; }
  .check-app fieldset { padding: 17px 13px; }
  .data-table td { grid-template-columns: minmax(94px, .72fr) minmax(0, 1.28fr); gap: 10px; }
  .aice-ad-section--horizontal { padding-top: 16px; }
  .aice-ad-section--vertical { padding-bottom: 40px; }
  .aice-ad-unit--horizontal { min-height: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
