@font-face {
  font-family: "Maru Buri";
  src: url("../fonts/maru-buri/MaruBuri-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Maru Buri";
  src: url("../fonts/maru-buri/MaruBuri-SemiBold.otf") format("opentype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Maru Buri";
  src: url("../fonts/maru-buri/MaruBuri-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --font-primary: "Maru Buri", "MaruBuri", "Noto Serif KR", "AppleMyungjo", serif;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f2f3ee;
  --text: #18312b;
  --muted: #5f6b62;
  --line: #d4cec2;
  --line-strong: #a9a194;
  --accent: #244e42;
  --accent-strong: #183d33;
  --success: #16794b;
  --warning: #b45f06;
  --danger: #b42318;
  --radius: 2px;
  --shadow: 0 12px 28px rgb(24 49 43 / 7%);
  color-scheme: light;
  font-family: var(--font-primary);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { display: flex; min-height: 100vh; min-height: 100dvh; margin: 0; flex-direction: column; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.65; word-break: keep-all; overflow-wrap: break-word; overflow-x: hidden; }
main { flex: 1 0 auto; }
h1, h2, h3 { word-break: keep-all; overflow-wrap: normal; text-wrap: balance; }
a { color: var(--accent-strong); text-underline-offset: 3px; }
button, input { font: inherit; }
button, a { touch-action: manipulation; min-width: 44px; min-height: 44px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
img, svg { max-width: 100%; }

.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; padding: 12px 16px; transform: translateY(-150%); background: var(--text); color: #fff; border-radius: 6px; }
.skip-link:focus { transform: none; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.article-shell { max-width: 800px; }

.site-header { position: sticky; z-index: 20; top: 0; min-height: 64px; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 96%); backdrop-filter: blur(10px); }
.header-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; min-height: 44px; }
.brand-logo { display: block; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; }
.brand strong { font-size: 21px; letter-spacing: -.03em; }
.brand span { color: var(--muted); font-size: 13px; }
.site-header nav, .site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-header nav a, .site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 650; }
.site-header nav a.service-direct-link { display: grid; min-height: 46px; padding: 5px 11px; border: 1px solid #a8c8d1; border-radius: 7px; background: #eef7f8; color: var(--accent-strong); }
.site-header nav a.service-direct-link:hover { border-color: #6ca5b5; background: #e3f2f4; }
.service-direct-link > span, .service-direct-link strong, .service-direct-link small { display: block; min-width: 0; }
.service-direct-link strong { font-size: 14px; line-height: 1.25; }
.service-direct-link small { color: #58707c; font-size: 10px; font-weight: 700; line-height: 1.25; }
.mobile-service-label { display: none; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { display: flex; min-width: 64px; min-height: 44px; padding: 10px 12px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 7px; cursor: pointer; font-size: 24px; font-weight: 750; line-height: 1; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; min-width: 220px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }

.hero { padding-block: 88px 52px; max-width: 900px; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-weight: 800; }
.hero h1 { margin: 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.2; letter-spacing: -.04em; }
.hero-copy { max-width: 768px; margin: 22px 0; font-size: 19px; color: #344250; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 18px; }
.helper { max-width: 768px; color: var(--muted); font-size: 14px; }
.home-hero { max-width: 1180px; padding-block: 64px 48px; }
.home-hero.has-evidence { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(28px, 4vw, 52px); align-items: center; }
.home-hero-copy { min-width: 0; }
.home-storage-note { display: grid; gap: 2px; margin: 0; padding: 11px 13px; border-left: 4px solid var(--accent); background: #eef6f8; color: #425462; }
.home-storage-note strong { color: var(--accent-strong); font-size: 14px; }
.home-storage-note span { line-height: 1.5; }
.home-scope-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.home-scope-facts li { display: grid; gap: 2px; min-width: 0; padding: 10px 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.home-scope-facts strong { color: #203242; font-size: 14px; line-height: 1.35; }
.home-scope-facts span { color: var(--muted); font-size: 12px; line-height: 1.35; }
.home-evidence-card { min-width: 0; padding: 24px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); }
.home-evidence-header { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.home-evidence-header > div { display: flex; min-width: 0; align-items: center; gap: 8px; flex-wrap: wrap; }
.home-evidence-header > small { max-width: 180px; color: var(--muted); font-size: 12px; line-height: 1.4; text-align: right; }
.home-evidence-subject { color: var(--accent-strong); font-size: 13px; font-weight: 800; }
.home-evidence-card h2 { margin: 18px 0; font-size: 19px; line-height: 1.55; letter-spacing: -.015em; }
.home-evidence-choices { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.home-evidence-choices li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 9px; min-width: 0; padding: 10px 12px; align-items: start; border: 1px solid var(--line); border-radius: 7px; background: #fbfcfd; color: #2b3a48; font-size: 14px; line-height: 1.5; }
.home-evidence-choices b { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 999px; background: var(--surface-soft); color: var(--accent-strong); font-size: 12px; }
.home-evidence-answer { display: grid; gap: 7px; margin-top: 16px; padding: 14px 16px; border-left: 4px solid var(--accent); background: var(--surface-soft); }
.home-evidence-answer > strong { color: var(--accent-strong); font-size: 14px; }
.home-evidence-answer p { margin: 0; color: #344657; font-size: 14px; line-height: 1.55; }
.home-evidence-answer a { display: inline-flex; width: fit-content; min-height: 44px; align-items: center; font-size: 13px; font-weight: 800; }
.home-evidence-answer small { color: var(--muted); font-size: 12px; }
.preview-notice { margin: 0 0 20px; padding: 12px 14px; border: 1px solid #d59a45; border-left-width: 5px; border-radius: 6px; background: #fff8e8; color: #6a3d05; font-weight: 700; }

.button { display: inline-flex; min-height: 48px; padding: 11px 18px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 7px; font-weight: 750; text-decoration: none; cursor: pointer; }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-strong); }
.button-primary:disabled { background: #9aabb5; cursor: not-allowed; }
.button-secondary { border-color: var(--accent); background: var(--surface); color: var(--accent-strong); }
.button-secondary:disabled { border-color: var(--line-strong); background: #f1f2ef; color: #7b827d; cursor: not-allowed; }
.button-official { border-color: var(--accent); background: var(--surface); color: var(--accent-strong); }
.button-danger { background: var(--danger); color: #fff; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 750; }

.trust-strip { display: flex; flex-wrap: wrap; gap: 12px; padding-block: 18px; border-block: 1px solid var(--line); }
.trust-strip span { padding: 7px 12px; border-radius: 999px; background: var(--surface-soft); font-weight: 700; color: #324656; }
.section { padding-block: 56px; }
.section h1 { margin: 0 0 16px; font-size: clamp(30px, 4vw, 42px); line-height: 1.25; letter-spacing: -.03em; }
.section h2 { margin: 36px 0 12px; font-size: 24px; line-height: 1.4; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.section-heading h2 { margin: 0; font-size: 28px; }
.section-heading p, .lead { color: #40505f; }
.lead { max-width: 768px; font-size: 18px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 24px; }
.exam-card, .material-card, .law-list article { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.exam-card h2, .exam-card h3, .material-card h2, .law-list h2 { margin: 12px 0 8px; font-size: 21px; }
.status-badge, .license-badge, .privacy-badge { display: inline-flex; min-height: 30px; padding: 4px 10px; align-items: center; border-radius: 999px; background: var(--surface-soft); color: #344a5b; font-size: 13px; font-weight: 750; }
.license-badge { margin-left: 6px; background: #f4eee5; color: #74420a; }

.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 32px 0; }
.fact-grid article { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--line); background: var(--surface); }
.fact-grid span { color: var(--muted); }
.exam-overview { padding-bottom: 32px; }
.link-list, .quick-links { display: flex; gap: 12px 24px; flex-wrap: wrap; }
.section.link-list { padding-block: 32px; border-top: 1px solid var(--line); }
.quick-links { padding-top: 24px; }
.quick-links h2 { width: 100%; margin: 0; }
.quick-links a, .link-list a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; }

.ad-separation { margin-top: 96px; }
.ad-slot {
  position: relative;
  display: grid;
  min-height: 180px;
  padding: 46px 18px 18px;
  place-items: center;
  border: 1px solid #aeb9c4;
  background: #f0f2f4;
  color: #5d6872;
  text-align: center;
}
.ad-label {
  position: absolute;
  top: 14px;
  left: 16px;
  color: #52606c;
  font-size: 12px;
  font-weight: 800;
}
.ad-placeholder {
  display: grid;
  width: min(100%, 560px);
  min-height: 104px;
  gap: 7px;
  padding: 22px;
  place-items: center;
  border: 1px dashed #97a5b1;
  background: rgb(255 255 255 / 64%);
}
.ad-placeholder strong { color: #354553; font-size: 16px; }
.ad-placeholder small { color: #667480; font-size: 13px; line-height: 1.55; }

.syllabus-subject { padding-block: 12px; }
.syllabus-subject details { margin: 10px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.syllabus-subject summary { min-height: 52px; padding: 13px 16px; cursor: pointer; font-weight: 750; }
.syllabus-subject ul { padding: 0 24px 18px 38px; }
.syllabus-subject li { margin: 8px 0; }
.material-list, .law-list, .set-list { display: grid; gap: 20px; margin-top: 28px; }
.material-card + .material-card { margin-top: 0; }
.material-usage { margin-top: 48px; padding-top: 8px; border-top: 1px solid var(--line); }

.mode-fieldset { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0; padding: 0; border: 0; }
.mode-fieldset legend { margin-bottom: 10px; font-size: 20px; font-weight: 800; }
.mode-card { display: flex; min-height: 88px; gap: 12px; padding: 16px; align-items: center; border: 2px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; }
.mode-card:has(input:checked) { border-color: var(--accent); background: #eef8fa; }
.mode-card input { width: 22px; height: 22px; accent-color: var(--accent); }
.mode-card span { display: grid; gap: 3px; }
.mode-card small { color: var(--muted); font-size: 14px; }
.set-fieldset { margin: 28px 0 0; padding: 0; border: 0; }
.set-fieldset legend { margin-bottom: 10px; font-size: 20px; font-weight: 800; }
.order-fieldset { margin: 28px 0; padding: 0; border: 0; }
.order-fieldset legend { margin-bottom: 4px; font-size: 20px; font-weight: 800; }
.fieldset-help { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.order-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.order-list .mode-card { min-height: 112px; }
.set-card { display: grid; grid-template-columns: 28px 1fr; min-height: 88px; gap: 12px; padding: 18px; align-items: center; border: 2px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; }
.set-card:has(input:checked) { border-color: var(--accent); background: #eef8fa; }
.set-card input { width: 22px; height: 22px; accent-color: var(--accent); }
.set-card span { display: grid; min-width: 0; gap: 5px; }
.set-card strong { font-size: 18px; }
.set-card small { color: var(--muted); font-size: 14px; line-height: 1.55; }
.set-start-action { margin-top: 24px; }
.set-start-action .button { width: 100%; }

.learning-body { background: #f7f8fa; }
.learning-header { position: sticky; z-index: 20; top: 0; display: grid; grid-template-columns: 1fr auto 1fr; min-height: 56px; padding: 6px 16px; align-items: center; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 98%); }
.brand-compact { display: grid; min-width: 0; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 8px; justify-self: start; align-content: center; line-height: 1.2; }
.brand-compact .brand-logo { grid-column: 1; grid-row: 1 / 3; align-self: center; }
.brand-compact strong, .brand-compact span { grid-column: 2; }
.brand-compact strong { font-size: 18px; }
.brand-compact span { font-size: 13px; white-space: nowrap; }
.exit-link { justify-self: end; display: inline-flex; min-width: 44px; min-height: 44px; padding-inline: 4px; align-items: center; justify-content: center; }
.exit-label-short { display: none; }
.quiz-shell { width: min(840px, calc(100% - 32px)); margin: 0 auto; padding: 22px 0 calc(104px + env(safe-area-inset-bottom)); }
.quiz-progress { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; min-height: 42px; font-weight: 750; }
.progress-track { height: 8px; overflow: hidden; border-radius: 99px; background: #dce4ea; }
.progress-track span { display: block; width: 10%; height: 100%; background: var(--accent); transition: width .2s ease; }
.subject-path { margin: 4px 0 18px; color: var(--muted); font-size: 14px; }
.quiz-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.question-number { margin: 0 0 8px; color: var(--accent); font-size: 14px; font-weight: 800; }
.question-stem { margin: 0 0 24px; font-size: 20px; line-height: 1.65; letter-spacing: -.01em; overflow-wrap: anywhere; }
.question-stem mark { padding: 0 .12em; color: #7f1d1d; background: #fef2f2; font-weight: 800; }
.options { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.option-row { position: relative; display: grid; grid-template-columns: 28px 1fr; min-height: 56px; gap: 10px; padding: 14px 16px; align-items: start; border: 2px solid var(--line); border-radius: 7px; background: var(--surface); cursor: pointer; }
.option-row:hover { border-color: #95a7b4; }
.option-row:has(input:checked) { border-color: var(--accent); background: #eef8fa; }
.option-row:has(input:disabled) { cursor: default; }
.option-row input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.option-row.correct { border-color: #15803d; background: #dcfce7; color: #14532d; box-shadow: inset 6px 0 0 #15803d, 0 0 0 1px rgb(21 128 61 / 18%); }
.option-row.incorrect { border-color: var(--danger); background: #fff1f0; }
.option-text { min-width: 0; overflow-wrap: anywhere; }
.option-result-label { display: inline-flex; width: fit-content; min-height: 26px; grid-column: 2; padding: 3px 9px; align-items: center; border-radius: 999px; font-size: 13px; font-weight: 850; line-height: 1.35; }
.option-row.correct .option-result-label { background: #15803d; color: #fff; }
.option-row.incorrect .option-result-label { background: var(--danger); color: #fff; }
.question-tools { display: flex; min-width: 0; gap: 12px; margin-top: 16px; align-items: center; justify-content: space-between; }
.bookmark-button, .report-button { min-height: 44px; padding: 8px 12px; cursor: pointer; font: inherit; font-weight: 750; }
.bookmark-button { border: 0; background: transparent; color: var(--accent-strong); }
.report-button { display: inline-flex; min-width: 0; padding-inline: 14px; flex: 0 1 auto; gap: 7px; align-items: center; justify-content: center; border: 1px solid #b6d9e2; border-radius: 999px; background: #ebf7fa; color: var(--accent-strong); box-shadow: 0 4px 14px rgb(21 94 117 / 10%); font-size: 14px; line-height: 1.35; white-space: nowrap; transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease; }
.report-button-icon { width: 19px; height: 19px; flex: 0 0 19px; fill: none; stroke: currentcolor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.report-button:hover { border-color: #79b4c2; background: #e1f2f6; box-shadow: 0 6px 18px rgb(21 94 117 / 14%); color: var(--accent-strong); }
.report-button:active { background: #d7edf2; box-shadow: 0 2px 8px rgb(21 94 117 / 12%); }
.report-button:disabled { cursor: not-allowed; opacity: .55; }
.report-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow: auto; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--surface); box-shadow: 0 24px 72px rgb(15 23 42 / 24%); }
.report-dialog::backdrop { background: rgb(15 23 42 / 58%); }
.report-form { display: grid; gap: 12px; padding: 24px; }
.report-dialog-header { display: flex; gap: 16px; align-items: center; justify-content: space-between; }
.report-dialog-header h2 { margin: 0; font-size: 24px; }
.dialog-close { display: inline-flex; width: 44px; height: 44px; padding: 0; flex: 0 0 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--text); cursor: pointer; font: inherit; font-size: 24px; }
.report-question { margin: 0; padding: 12px 14px; white-space: pre-line; border-left: 4px solid var(--accent); background: var(--surface-soft); color: var(--muted); overflow-wrap: anywhere; }
.report-form label { margin-top: 4px; font-weight: 800; }
.report-form select, .report-form textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--surface); color: var(--text); font: inherit; }
.report-form select { min-height: 46px; padding: 8px 12px; }
.report-form textarea { min-height: 150px; padding: 12px; resize: vertical; line-height: 1.6; }
.report-form select:focus, .report-form textarea:focus { outline: 3px solid rgb(19 113 138 / 24%); border-color: var(--accent); }
.report-count { justify-self: end; color: var(--muted); font-size: 13px; }
.report-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.report-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.report-actions .button { width: 100%; }
.report-status { min-height: 24px; margin: 0; color: var(--danger); font-weight: 700; }
.report-status[data-state="pending"] { color: var(--muted); }
.report-status[data-state="success"] { color: var(--success); }
.report-status[data-state="warning"] { color: #8a4b08; }
.feedback { margin-top: 24px; padding: 20px; border-left: 4px solid var(--accent); background: var(--surface-soft); }
.feedback h2 { margin: 0 0 8px; font-size: 21px; }
.feedback details { margin-top: 14px; }
.feedback summary { min-height: 44px; padding-block: 8px; cursor: pointer; font-weight: 750; }
.question-disclaimer { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.wrong-review-list { display: grid; gap: 10px; }
.wrong-review-item { padding: 12px 14px; border: 1px solid var(--line); border-radius: 7px; }
.wrong-review-item summary { min-height: 44px; cursor: pointer; font-weight: 700; overflow-wrap: anywhere; }
.wrong-review-basis { margin-top: 12px; }
.legal-basis { padding: 14px; border: 1px solid var(--line); background: var(--surface); }
.legal-basis dl { display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; margin: 0; }
.legal-basis dt { color: var(--muted); }
.legal-basis dd { margin: 0; overflow-wrap: anywhere; }
.quiz-alert { min-height: 36px; padding: 8px 0; color: var(--muted); }
.sticky-action { position: fixed; z-index: 15; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); min-height: calc(72px + env(safe-area-inset-bottom)); gap: 12px; padding: 12px max(16px, calc((100% - 808px) / 2)) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgb(255 255 255 / 98%); }
.sticky-action[data-navigation-layout="single"] { grid-template-columns: 1fr; }
.sticky-action [data-previous][hidden] { display: none; }
.sticky-action .button { width: 100%; }

.tabs { display: flex; gap: 8px; overflow-x: auto; margin: 24px 0; }
.tabs button { display: inline-flex; min-height: 44px; padding: 8px 14px; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); cursor: pointer; white-space: nowrap; }
.tabs button[aria-pressed="true"] { border-color: var(--accent); background: #eef8fa; color: var(--accent-strong); font-weight: 800; }
.tab-count { display: inline-grid; min-width: 24px; height: 24px; padding-inline: 6px; place-items: center; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 1; }
.learning-content { min-height: 180px; }
.learning-content-status { min-height: 180px; margin: 0; padding: 32px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.learning-content-status.is-loading { background: linear-gradient(100deg, var(--surface) 30%, var(--surface-soft) 50%, var(--surface) 70%); background-size: 220% 100%; animation: learning-loading 1.4s ease-in-out infinite; }
.learning-content-status.is-error { border-left: 4px solid var(--danger); color: var(--danger); }
.learning-content-heading { display: flex; margin-bottom: 16px; align-items: end; justify-content: space-between; gap: 24px; }
.learning-content-heading h2 { margin: 0; font-size: 22px; }
.learning-content-heading p { max-width: 680px; margin: 0; color: var(--muted); font-size: 14px; text-align: right; }
.learning-record-controls { display: grid; gap: 14px; margin-bottom: 18px; padding: 18px 20px; border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--surface-soft); }
.learning-search-field, .learning-filter-field { display: grid; min-width: 0; gap: 6px; color: var(--text); font-size: 13px; font-weight: 800; }
.learning-search-field input, .learning-filter-field select, .learning-page-select select { min-height: 48px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--surface); color: var(--text); font: inherit; }
.learning-search-field input { width: 100%; padding: 10px 14px; font-size: 16px; }
.learning-filter-field select { width: 100%; padding: 9px 36px 9px 12px; }
.learning-search-field input:focus, .learning-filter-field select:focus, .learning-page-select select:focus { outline: 3px solid rgb(19 113 138 / 24%); border-color: var(--accent); }
.learning-filter-row { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; }
.learning-filter-field { flex: 1 1 190px; }
.learning-filter-reset { min-height: 48px; padding: 10px 14px; border: 1px solid var(--accent); border-radius: 7px; background: var(--surface); color: var(--accent-strong); cursor: pointer; font: inherit; font-weight: 800; white-space: nowrap; }
.learning-filter-reset:disabled { border-color: var(--line); color: var(--muted); cursor: default; opacity: .65; }
.learning-record-results { display: grid; gap: 14px; }
.learning-result-summary { display: flex; min-height: 44px; padding: 8px 2px; align-items: center; justify-content: space-between; gap: 16px; scroll-margin-top: 84px; color: var(--muted); font-size: 13px; }
.learning-result-summary strong { color: var(--text); font-size: 15px; }
.learning-record-list, .learning-stat-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.learning-record-item { min-width: 0; }
.learning-record-card { display: grid; gap: 14px; padding: 22px 24px; border: 1px solid var(--line); border-top: 3px solid var(--accent); background: var(--surface); box-shadow: 0 8px 22px rgb(24 49 43 / 5%); }
.learning-record-path { display: flex; margin: 0; align-items: center; gap: 7px; flex-wrap: wrap; color: var(--muted); font-size: 13px; font-weight: 700; line-height: 1.45; }
.learning-record-position { padding: 3px 7px; border: 1px solid var(--line); background: var(--surface-soft); color: var(--muted); font-size: 11px; }
.learning-record-subject { color: var(--accent-strong); }
.learning-path-separator { color: var(--line-strong); font-size: 18px; line-height: 1; }
.learning-record-title { max-width: 960px; margin: 0; color: var(--text); font-size: 20px; line-height: 1.58; letter-spacing: -.012em; text-wrap: pretty; }
.learning-record-meta { display: flex; align-items: center; gap: 7px 12px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.learning-record-meta > span:not(.learning-status-badge) { position: relative; padding-left: 12px; }
.learning-record-meta > span:not(.learning-status-badge)::before { position: absolute; top: 50%; left: 0; width: 3px; height: 3px; transform: translateY(-50%); border-radius: 999px; background: var(--line-strong); content: ""; }
.learning-status-badge { display: inline-flex; min-height: 28px; padding: 4px 9px; align-items: center; border: 1px solid currentColor; font-weight: 800; }
.learning-status-badge.is-review { color: #9b4f05; background: #fff8e8; }
.learning-status-badge.is-resolved { color: var(--success); background: #eef8f1; }
.learning-status-badge.is-bookmarked { color: var(--accent-strong); background: #eef4f1; }
.learning-answer-clue { border-left: 3px solid var(--line-strong); background: var(--surface-soft); }
.learning-answer-clue summary, .learning-record-details summary { display: inline-flex; min-height: 44px; padding: 8px 12px; align-items: center; color: var(--accent-strong); cursor: pointer; font-size: 14px; font-weight: 800; }
.learning-answer-clue p { margin: 0; padding: 0 14px 14px; color: #3d4d45; line-height: 1.65; }
.learning-record-footer { display: flex; padding-top: 2px; align-items: center; justify-content: space-between; gap: 16px; }
.learning-record-action { min-width: 132px; }
.learning-record-details { margin-left: auto; }
.learning-record-technical { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 5px 12px; margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--line); background: var(--surface-soft); font-size: 12px; }
.learning-record-technical dt { color: var(--muted); font-weight: 700; }
.learning-record-technical dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.learning-stat-item { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto; gap: 16px; padding: 18px 20px; align-items: center; border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--surface); }
.learning-stat-item span { color: var(--muted); }
.learning-stat-item b { color: var(--accent-strong); }
.learning-empty-state { min-height: 180px; padding: 32px; border: 1px dashed var(--line-strong); background: var(--surface); }
.learning-empty-state strong { font-size: 18px; }
.learning-empty-state p { margin-bottom: 0; color: var(--muted); }
.learning-filter-empty { display: grid; gap: 10px; justify-items: start; }
.learning-filter-empty .button { margin-top: 4px; }
.learning-pagination { display: grid; grid-template-columns: minmax(88px, 1fr) auto minmax(88px, 1fr); gap: 12px; margin-top: 6px; padding: 16px; align-items: center; border: 1px solid var(--line); background: var(--surface); }
.learning-page-button { min-height: 48px; padding: 10px 16px; border: 1px solid var(--accent); border-radius: 7px; background: var(--surface); color: var(--accent-strong); cursor: pointer; font: inherit; font-weight: 800; }
.learning-page-button:disabled { border-color: var(--line); color: var(--muted); cursor: default; opacity: .55; }
.learning-page-select { display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
.learning-page-select select { min-width: 112px; padding: 8px 32px 8px 10px; }
.privacy-badge.large { margin-bottom: 8px; font-size: 14px; }

@keyframes learning-loading {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}
.storage-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.storage-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
.storage-summary div { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.storage-summary dt { color: var(--muted); font-size: .875rem; }
.storage-summary dd { margin: 8px 0 0; font-weight: 800; }
.result-subjects { display: grid; gap: 8px; padding-left: 20px; margin: 12px 0 28px; }
.danger-zone { margin-top: 52px; padding: 24px; border: 1px solid #efb8b3; background: #fff5f4; }
.delete-confirmation { margin-top: 20px; padding-top: 20px; border-top: 1px solid #efb8b3; }

.empty-state { padding: 28px; border: 1px dashed var(--line); background: var(--surface); color: var(--muted); }
.error-page { display: flex; flex: 1; flex-direction: column; justify-content: center; }
body[data-page-id="S02"] main { display: flex; flex-direction: column; }
.site-footer { margin-top: 64px; padding-block: 36px; border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(500px, 1.3fr); justify-content: space-between; gap: 36px; }
.footer-grid p { margin: 6px 0; }
.font-attribution {
  display: grid;
  gap: 4px;
  margin-top: 16px !important;
  padding-top: 14px;
  border-top: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  font-size: 12px;
  line-height: 1.6;
}
.font-attribution a { width: fit-content; }
.learning-footer {
  width: min(780px, calc(100% - 32px));
  margin: 20px auto 0;
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
  color: var(--muted);
  text-align: center;
}
.learning-footer .font-attribution { justify-items: center; }
.footer-navigation { display: grid; gap: 20px; }
.site-footer .footer-info-links { gap: 18px; justify-content: flex-end; }
.footer-services { display: grid; gap: 9px; }
.footer-services > strong { color: #40505f; font-size: 13px; }
.site-footer .footer-services nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.site-footer .footer-services a { display: grid; min-height: 56px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: #344250; }
.site-footer .footer-services a:hover { border-color: #9aaeba; background: var(--surface-soft); }
.site-footer .footer-services a.is-current { border-color: #8db8c2; background: #eef8fa; color: var(--accent-strong); }
.footer-services a span { font-weight: 800; }
.footer-services a small { color: var(--muted); font-size: 11px; font-weight: 650; }

@media (max-width: 1050px) and (min-width: 769px) {
  .header-inner { gap: 14px; }
  .brand > span, .service-direct-link small { display: none; }
  .site-header nav { gap: 10px; }
  .home-hero.has-evidence { grid-template-columns: minmax(0, .82fr) minmax(380px, 1.18fr); gap: 28px; }
  .home-scope-facts { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* Table Card View */
  .responsive-table, .responsive-table tbody, .responsive-table tr, .responsive-table td { display: block; width: 100%; }
  .responsive-table tr { margin-bottom: 1rem; border: 1px solid var(--line); border-radius: 8px; padding: 1rem; display: grid; grid-template-columns: 1fr; gap: 0.5rem; }
  .responsive-table thead { display: none; }
  .responsive-table td::before { content: attr(data-label); font-weight: bold; display: block; margin-bottom: 0.25rem; }

  .shell { width: min(100% - 32px, 680px); }
  .site-header { position: static; }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding-block: 8px; gap: 12px; }
  .brand { width: auto; min-width: 0; flex-wrap: wrap; }
  .brand span { width: 100%; }
  .site-header .desktop-nav { display: none; }
  /* Keep the closed <details> panel from contributing its 220px menu width to
     the header grid's intrinsic sizing and collapsing the brand column. */
  .mobile-nav { display: block; width: 64px; min-width: 64px; justify-self: end; }
  .mobile-nav:not([open]) > nav { display: none; }
  .mobile-nav[open] > nav { display: grid; grid-template-columns: 1fr; gap: 4px; }
  .mobile-nav nav a { min-height: 44px; font-size: 15px; }
  .mobile-service-label { display: block; margin-top: 6px; padding: 12px 10px 3px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 800; }
  .site-header .mobile-nav nav a.service-direct-link { min-height: 58px; padding: 8px 11px; }
  .mobile-nav .service-direct-link strong { font-size: 15px; }
  .mobile-nav .service-direct-link small { display: block; font-size: 11px; }
  .hero { padding-block: 48px 36px; }
  .hero h1 { font-size: 36px; }
  .hero-copy, .lead { font-size: 17px; }
  .hero-actions { display: grid; }
  .home-hero.has-evidence { grid-template-columns: 1fr; gap: 28px; }
  .home-scope-facts { grid-template-columns: 1fr; }
  .home-evidence-card { padding: 18px; }
  .home-evidence-header { display: grid; gap: 8px; }
  .home-evidence-header > small { max-width: none; text-align: left; }
  .home-evidence-card h2 { font-size: 18px; }
  .button { width: 100%; }
  .section { padding-block: 40px; }
  .exam-overview { padding-bottom: 24px; }
  .section.link-list { padding-block: 24px 32px; }
  .section-heading, .footer-grid { display: block; }
  .card-grid, .fact-grid, .mode-fieldset, .order-list { grid-template-columns: 1fr; }
  .ad-slot { min-height: 130px; margin-inline: 0; }
  .learning-header { grid-template-columns: 1fr auto; }
  .learning-header .privacy-badge { display: none; }
  .exit-label-full { display: none; }
  .exit-label-short { display: inline; }
  .quiz-shell { width: calc(100% - 32px); padding-top: 12px; }
  .quiz-card { padding: 0; border: 0; box-shadow: none; background: transparent; }
  .question-stem { font-size: 19px; line-height: 1.65; }
  .option-row { min-height: 52px; padding: 14px; }
  .feedback { margin-inline: 0; padding: 16px; }
  .report-form { padding: 20px; }
  .legal-basis dl { grid-template-columns: 1fr; }
  .legal-basis dt { margin-top: 6px; font-weight: 700; }
  .sticky-action { padding-inline: 16px; }
  .site-footer nav { display: grid; }
  .footer-brand { margin-bottom: 28px; }
  .footer-navigation { gap: 22px; }
  .site-footer .footer-info-links { justify-content: start; }
  .site-footer .footer-services nav { grid-template-columns: 1fr; }
  .set-start-action { padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .storage-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabs { margin-block: 20px; }
  .tabs button { flex: 1 0 auto; justify-content: center; }
  .learning-content-heading { display: block; }
  .learning-content-heading p { margin-top: 6px; text-align: left; }
  .learning-record-controls { padding: 16px; }
  .learning-filter-row { display: grid; grid-template-columns: 1fr; }
  .learning-filter-field { width: 100%; }
  .learning-filter-reset { width: 100%; }
  .learning-result-summary { display: grid; gap: 2px; }
  .learning-record-card { gap: 12px; padding: 18px 16px; }
  .learning-record-title { font-size: 18px; line-height: 1.62; }
  .learning-record-meta { display: grid; grid-template-columns: max-content minmax(0, 1fr); }
  .learning-record-meta > span:not(.learning-status-badge) { padding-left: 0; }
  .learning-record-meta > span:not(.learning-status-badge)::before { display: none; }
  .learning-record-footer { display: grid; grid-template-columns: 1fr; }
  .learning-record-details { width: 100%; margin-left: 0; }
  .learning-record-technical { grid-template-columns: 1fr; }
  .learning-pagination { grid-template-columns: 1fr 1fr; padding: 12px; }
  .learning-page-select { grid-column: 1 / -1; grid-row: 1; }
  .learning-page-button { width: 100%; }
  .learning-stat-item { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 360px) {
  .shell, .quiz-shell { width: calc(100% - 32px); }
  .hero h1 { font-size: 31px; }
  .question-stem { font-size: 18px; }
  .option-row { grid-template-columns: 26px 1fr; padding-inline: 12px; }
  .question-tools { gap: 6px; }
  .bookmark-button { padding-inline: 4px; }
  .report-button { padding-inline: 10px; gap: 5px; font-size: 13px; }
  .report-button-icon { width: 17px; height: 17px; flex-basis: 17px; }
  .report-form { padding: 16px; }
  .sticky-action { gap: 8px; }
}

/* Public home: a clean study desk where each answer is visibly tied to evidence. */
.pass-home-page {
  --home-paper: #ffffff;
  --home-sheet: #fffdf8;
  --home-ink: #18312b;
  --home-muted: #5f6b62;
  --home-forest: #244e42;
  --home-coral: #d9563f;
  --home-coral-dark: #a93b2c;
  --home-marker: #efc65f;
  --home-rule: #c9c1b3;
  background: var(--home-paper);
  color: var(--home-ink);
}
.pass-home-page .site-header {
  border-color: rgb(36 78 66 / 24%);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(12px);
}
.pass-home-page .brand,
.pass-home-page .site-header nav a {
  color: var(--home-ink);
}
.pass-home-page .site-header nav a:not(.service-direct-link):hover {
  text-decoration-color: var(--home-coral);
  text-decoration-thickness: 3px;
}
.pass-home-page .site-header nav a.service-direct-link {
  border-color: rgb(36 78 66 / 38%);
  background: transparent;
  color: var(--home-forest);
}
.pass-home-page .site-header nav a.service-direct-link:hover {
  border-color: var(--home-forest);
  background: #e7ede6;
}
.pass-home-page .home-page {
  overflow: hidden;
  background: var(--home-paper);
}
.pass-home-page .home-hero {
  display: grid;
  max-width: 1180px;
  grid-template-columns: minmax(320px, .82fr) minmax(520px, 1.18fr);
  gap: 38px 64px;
  padding-block: clamp(54px, 6.5vw, 82px) 36px;
  align-items: center;
}
.pass-home-page .home-hero-copy {
  position: relative;
  z-index: 2;
}
.pass-home-page .eyebrow {
  margin-bottom: 16px;
  color: var(--home-forest);
  font-size: 13px;
  letter-spacing: .02em;
}
.pass-home-page .home-hero h1 {
  max-width: 560px;
  color: var(--home-ink);
  font-family: var(--font-primary);
  font-size: clamp(42px, 4.4vw, 62px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.04em;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.pass-home-page .home-hero h1 em {
  position: relative;
  z-index: 0;
  display: inline-block;
  color: var(--home-coral-dark);
  font-style: normal;
}
.pass-home-page .home-hero h1 em::after {
  position: absolute;
  z-index: -1;
  right: -4px;
  bottom: .08em;
  left: -5px;
  height: .24em;
  transform: rotate(-1.2deg);
  background: rgb(239 198 95 / 58%);
  content: "";
}
.pass-home-page .hero-copy {
  max-width: 520px;
  margin: 25px 0 0;
  color: #425149;
  font-size: 18px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.pass-home-page .hero-actions {
  align-items: center;
  margin: 30px 0 18px;
}
.pass-home-page .button {
  min-height: 52px;
  padding-inline: 20px;
  border-radius: 2px;
}
.pass-home-page .button-primary {
  border-color: var(--home-forest);
  background: var(--home-forest);
  box-shadow: 0 12px 28px rgb(24 49 43 / 18%);
  color: #fffdf8;
}
.pass-home-page .button-primary:hover {
  background: #173d33;
  box-shadow: 0 8px 20px rgb(24 49 43 / 16%);
}
.pass-home-page .button-secondary {
  border-color: var(--home-forest);
  background: transparent;
  color: var(--home-forest);
}
.pass-home-page .button-secondary:hover {
  background: rgb(36 78 66 / 8%);
}
.pass-home-page .home-tertiary-link {
  display: inline-flex;
  min-height: 48px;
  padding: 8px 2px;
  align-items: center;
  gap: 8px;
  color: var(--home-forest);
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.pass-home-page .home-tertiary-link:hover {
  color: var(--home-coral-dark);
}
.pass-home-page .home-storage-note {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 12px;
  max-width: 520px;
  padding: 12px 0 0;
  border: 0;
  border-top: 1px solid var(--home-rule);
  background: transparent;
  color: var(--home-muted);
}
.pass-home-page .home-storage-note strong {
  color: var(--home-coral-dark);
}
.pass-home-page .home-desk-stage {
  position: relative;
  min-width: 0;
  min-height: 590px;
  padding: 26px 78px 30px 12px;
  isolation: isolate;
}
.pass-home-page .home-basis-flow {
  min-width: 0;
  padding: 34px 0 26px 36px;
  border: 0;
  border-left: 1px solid var(--home-ink);
}
.pass-home-page .home-basis-kicker {
  margin: 0 0 12px;
  color: var(--home-coral-dark);
  font-size: 12px;
  font-weight: 800;
}
.pass-home-page .home-basis-flow h2 {
  margin: 0 0 28px;
  color: var(--home-ink);
  font-family: var(--font-primary);
  font-size: clamp(25px, 3vw, 37px);
  line-height: 1.35;
  letter-spacing: -.035em;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.pass-home-page .home-basis-flow ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pass-home-page .home-basis-flow li {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  padding: 17px 0;
  border-top: 1px solid var(--home-rule);
}
.pass-home-page .home-basis-flow li:last-child {
  border-bottom: 1px solid var(--home-rule);
}
.pass-home-page .home-basis-flow li strong {
  color: var(--home-forest);
  font-size: 14px;
}
.pass-home-page .home-basis-flow li span,
.pass-home-page .home-basis-note {
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.6;
}
.pass-home-page .home-basis-note {
  margin: 18px 0 0;
}
.pass-home-page .home-desk-stage::before {
  position: absolute;
  z-index: -3;
  top: 7px;
  right: 54px;
  bottom: 22px;
  left: 0;
  transform: rotate(1.5deg);
  border: 1px solid rgb(36 78 66 / 24%);
  background: #dce4d8;
  box-shadow: 14px 18px 0 rgb(24 49 43 / 8%);
  content: "";
}
.pass-home-page .home-evidence-card {
  position: relative;
  z-index: 2;
  min-height: 532px;
  padding: 31px 34px 30px;
  transform: rotate(-1.15deg);
  border: 1px solid #b7ada0;
  border-radius: 1px;
  background:
    linear-gradient(90deg, transparent 55px, rgb(217 86 63 / 16%) 56px, transparent 57px),
    repeating-linear-gradient(0deg, transparent 0 31px, rgb(36 78 66 / 7%) 31px 32px),
    var(--home-sheet);
  box-shadow: 0 24px 48px rgb(24 49 43 / 18%);
}
.pass-home-page .home-evidence-card::before {
  position: absolute;
  top: -14px;
  left: 48%;
  width: 92px;
  height: 30px;
  transform: translateX(-50%) rotate(2deg);
  background: rgb(239 198 95 / 66%);
  box-shadow: 0 1px 0 rgb(110 91 43 / 20%);
  content: "";
}
.pass-home-page .home-evidence-header {
  padding-bottom: 15px;
  border-color: #b7ada0;
}
.pass-home-page .home-evidence-header .status-badge {
  min-height: 27px;
  padding: 3px 8px;
  border: 1px solid var(--home-forest);
  border-radius: 2px;
  background: transparent;
  color: var(--home-forest);
  font-size: 11px;
  letter-spacing: .03em;
}
.pass-home-page .home-evidence-subject {
  color: var(--home-coral-dark);
}
.pass-home-page .home-evidence-header > small {
  color: var(--home-muted);
}
.pass-home-page .home-evidence-card h2 {
  margin: 18px 0 16px;
  color: var(--home-ink);
  font-size: 19px;
  line-height: 1.64;
}
.pass-home-page .home-evidence-choices {
  gap: 5px;
}
.pass-home-page .home-evidence-choices li {
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 10px;
  border: 0;
  border-bottom: 1px solid rgb(95 107 98 / 26%);
  border-radius: 0;
  background: transparent;
  color: #35453e;
  font-size: 13px;
}
.pass-home-page .home-evidence-choices b {
  width: 22px;
  height: 22px;
  border: 1px solid rgb(36 78 66 / 44%);
  background: transparent;
  color: var(--home-forest);
}
.pass-home-page .home-evidence-answer {
  position: relative;
  margin: 20px 0 0 20px;
  padding: 14px 16px 13px 20px;
  border: 0;
  border-left: 3px solid var(--home-coral);
  background: #eef0e4;
}
.pass-home-page .home-evidence-answer::before {
  position: absolute;
  top: 18px;
  left: -29px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--home-coral);
  border-radius: 50%;
  content: "";
}
.pass-home-page .home-evidence-answer > strong,
.pass-home-page .home-evidence-answer a {
  color: var(--home-coral-dark);
}
.pass-home-page .home-evidence-answer p {
  color: #425149;
  font-size: 13px;
}
.pass-home-page .home-law-book {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 5px;
  display: grid;
  width: 154px;
  height: 220px;
  padding: 27px 18px 18px 31px;
  align-content: start;
  transform: rotate(4deg);
  border: 1px solid #132c25;
  border-left: 18px solid #183b31;
  background: var(--home-forest);
  box-shadow: 11px 14px 0 rgb(24 49 43 / 14%);
  color: #f8f1df;
}
.pass-home-page .home-law-book::before,
.pass-home-page .home-law-book::after {
  position: absolute;
  right: -10px;
  width: 34px;
  height: 24px;
  border: 1px solid rgb(24 49 43 / 32%);
  background: var(--home-marker);
  content: "";
}
.pass-home-page .home-law-book::before { top: 40px; }
.pass-home-page .home-law-book::after { top: 79px; background: #dc755f; }
.pass-home-page .home-law-book span {
  font-size: 11px;
  letter-spacing: .14em;
}
.pass-home-page .home-law-book strong {
  margin-top: 24px;
  font-family: var(--font-primary);
  font-size: 23px;
  line-height: 1.3;
}
.pass-home-page .home-law-book small {
  margin-top: 12px;
  color: #d9e0d8;
  font-size: 10px;
}
.pass-home-page .home-pencil-note {
  position: absolute;
  z-index: 5;
  top: 11px;
  right: 18px;
  padding-bottom: 5px;
  transform: rotate(4deg);
  border-bottom: 2px solid var(--home-coral);
  color: var(--home-coral-dark);
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 800;
}
.pass-home-page .home-scope-facts {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-block: 1px solid var(--home-ink);
}
.pass-home-page .home-scope-facts li {
  grid-template-columns: auto 1fr;
  gap: 0 12px;
  padding: 18px 22px;
  border: 0;
  border-right: 1px solid var(--home-rule);
  border-radius: 0;
  background: transparent;
}
.pass-home-page .home-scope-facts li:last-child {
  border-right: 0;
}
.pass-home-page .home-scope-facts li > span {
  grid-row: 1 / 3;
  color: var(--home-coral-dark);
  font-size: 12px;
  font-weight: 800;
}
.pass-home-page .home-scope-facts strong {
  color: var(--home-ink);
  font-size: 16px;
}
.pass-home-page .home-scope-facts small {
  color: var(--home-muted);
  font-size: 12px;
}
.pass-home-page .trust-strip {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(1180px, calc(100% - 40px));
  margin-top: 34px;
  padding: 0;
  border: 1px solid var(--home-forest);
  background: var(--home-forest);
  color: #fffdf8;
}
.pass-home-page .trust-strip strong,
.pass-home-page .trust-strip span {
  display: flex;
  min-height: 64px;
  padding: 14px 18px;
  align-items: center;
}
.pass-home-page .trust-strip strong {
  color: var(--home-marker);
  font-family: var(--font-primary);
  font-size: 17px;
}
.pass-home-page .trust-strip span {
  position: relative;
  border-left: 1px solid rgb(255 253 248 / 24%);
  border-radius: 0;
  background: transparent;
  color: #fffdf8;
  font-size: 13px;
  font-weight: 650;
}
.pass-home-page .trust-strip span::before {
  margin-right: 9px;
  color: var(--home-marker);
  content: "✓";
  font-weight: 900;
}
.pass-home-page .home-exam-section {
  padding-block: 106px 90px;
}
.pass-home-page .section-heading {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: start;
}
.pass-home-page .home-section-index {
  margin: 7px 0 0;
  color: var(--home-coral-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}
.pass-home-page .section-heading h2,
.pass-home-page .quick-links h2 {
  margin: 0;
  color: var(--home-ink);
  font-family: var(--font-primary);
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: -.045em;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.pass-home-page .section-heading p:not(.home-section-index),
.pass-home-page .quick-links > div > p:last-child {
  margin: 14px 0 0;
  color: var(--home-muted);
}
.pass-home-page .home-exam-section .card-grid {
  margin-top: 42px;
}
.pass-home-page .exam-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, auto);
  gap: 26px;
  padding: 30px 0;
  align-items: center;
  border: 0;
  border-block: 1px solid var(--home-ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.pass-home-page .exam-card .status-badge {
  min-height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--home-coral-dark);
  font-size: 12px;
}
.pass-home-page .exam-card h3 {
  margin: 6px 0;
  color: var(--home-ink);
  font-family: var(--font-primary);
  font-size: 28px;
}
.pass-home-page .exam-card p {
  margin: 0;
  color: var(--home-muted);
}
.pass-home-page .exam-card .text-link {
  display: flex;
  min-height: 56px;
  padding: 10px 0 10px 18px;
  justify-content: space-between;
  border-left: 1px solid var(--home-rule);
  color: var(--home-forest);
  text-decoration: none;
}
.pass-home-page .exam-card .text-link b {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--home-forest);
  border-radius: 50%;
}
.pass-home-page .ad-slot {
  min-height: 220px;
  border-color: var(--home-rule);
  background: #f6f7f5;
  color: var(--home-muted);
}
.pass-home-page .ad-placeholder {
  border-color: var(--home-rule);
  background: #ffffff;
}
.pass-home-page .ad-placeholder strong { color: var(--home-ink); }
.pass-home-page .ad-placeholder small { color: var(--home-muted); }
.pass-home-page .quick-links {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 70px;
  padding-block: 92px 112px;
  border-top: 1px solid var(--home-rule);
}
.pass-home-page .quick-links > div > p:last-child {
  max-width: 390px;
}
.pass-home-page .quick-links nav {
  display: grid;
  border-top: 1px solid var(--home-ink);
}
.pass-home-page .quick-links nav a {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  gap: 20px;
  min-height: 78px;
  padding: 14px 6px;
  align-items: center;
  border-bottom: 1px solid var(--home-rule);
  color: var(--home-ink);
  text-decoration: none;
}
.pass-home-page .quick-links nav a:hover strong {
  color: var(--home-coral-dark);
}
.pass-home-page .quick-links nav span {
  color: var(--home-coral-dark);
  font-size: 12px;
  font-weight: 800;
}
.pass-home-page .quick-links nav strong {
  font-size: 16px;
}
.pass-home-page .quick-links nav b {
  color: var(--home-muted);
  font-family: var(--font-primary);
  font-size: 12px;
}
.pass-home-page .site-footer {
  margin-top: 0;
  border-color: rgb(255 253 248 / 18%);
  background: var(--home-ink);
  color: #cfd7d2;
}
.pass-home-page .site-footer a {
  color: #f7f2e8;
}
.pass-home-page .site-footer .footer-services > strong {
  color: #cfd7d2;
}
.pass-home-page .site-footer .footer-services a {
  border-color: rgb(255 253 248 / 24%);
  background: transparent;
  color: #f7f2e8;
}
.pass-home-page .site-footer .footer-services a.is-current {
  border-color: var(--home-marker);
  background: rgb(239 198 95 / 10%);
  color: #fff;
}
.pass-home-page .site-footer .footer-services a small {
  color: #b8c4bd;
}

@media (max-width: 1050px) {
  .pass-home-page .home-hero {
    grid-template-columns: minmax(280px, .75fr) minmax(450px, 1.25fr);
    gap: 30px;
  }
  .pass-home-page .home-desk-stage {
    min-height: 560px;
    padding-right: 48px;
  }
  .pass-home-page .home-evidence-card {
    padding-inline: 27px;
  }
  .pass-home-page .home-law-book {
    right: -17px;
    width: 138px;
  }
}

@media (max-width: 768px) {
  .pass-home-page .site-header {
    position: static;
  }
  .pass-home-page .mobile-nav summary {
    border-color: rgb(36 78 66 / 38%);
  }
  .pass-home-page .mobile-nav nav {
    background: var(--home-sheet);
  }
  .pass-home-page .home-hero {
    grid-template-columns: 1fr;
    gap: 42px;
    width: min(100% - 28px, 680px);
    padding-block: 48px 30px;
  }
  .pass-home-page .home-hero h1 {
    font-size: clamp(39px, 12vw, 56px);
  }
  .pass-home-page .hero-copy {
    font-size: 17px;
  }
  .pass-home-page .home-storage-note {
    grid-template-columns: 1fr;
  }
  .pass-home-page .hero-actions {
    display: grid;
    justify-items: stretch;
  }
  .pass-home-page .home-tertiary-link {
    justify-content: center;
  }
  .pass-home-page .home-desk-stage {
    min-height: 0;
    padding: 21px 12px 82px;
  }
  .pass-home-page .home-basis-flow {
    padding: 28px 0 0;
    border-top: 1px solid var(--home-ink);
    border-left: 0;
  }
  .pass-home-page .home-basis-flow li {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
  }
  .pass-home-page .home-desk-stage::before {
    right: 2px;
    bottom: 70px;
  }
  .pass-home-page .home-evidence-card {
    min-height: 0;
    padding: 26px 18px 22px;
    transform: none;
  }
  .pass-home-page .home-evidence-card::before {
    width: 74px;
  }
  .pass-home-page .home-pencil-note {
    top: -9px;
    right: 12px;
  }
  .pass-home-page .home-law-book {
    right: 17px;
    bottom: 3px;
    width: 130px;
    height: 102px;
    padding: 15px 14px 12px 24px;
    transform: rotate(2deg);
  }
  .pass-home-page .home-law-book strong {
    margin-top: 7px;
    font-size: 18px;
  }
  .pass-home-page .home-law-book small,
  .pass-home-page .home-law-book::before,
  .pass-home-page .home-law-book::after {
    display: none;
  }
  .pass-home-page .home-scope-facts {
    grid-template-columns: 1fr;
  }
  .pass-home-page .home-scope-facts li {
    border-right: 0;
    border-bottom: 1px solid var(--home-rule);
  }
  .pass-home-page .home-scope-facts li:last-child {
    border-bottom: 0;
  }
  .pass-home-page .trust-strip {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 680px);
  }
  .pass-home-page .trust-strip strong,
  .pass-home-page .trust-strip span {
    min-height: 52px;
    padding: 12px 16px;
  }
  .pass-home-page .trust-strip span {
    border-top: 1px solid rgb(255 253 248 / 24%);
    border-left: 0;
  }
  .pass-home-page .home-exam-section {
    padding-block: 76px 64px;
  }
  .pass-home-page .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .pass-home-page .exam-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 0;
  }
  .pass-home-page .exam-card .text-link {
    padding: 12px 0 0;
    border-top: 1px solid var(--home-rule);
    border-left: 0;
  }
  .pass-home-page .quick-links {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 68px 80px;
  }
  .pass-home-page .quick-links nav a {
    grid-template-columns: 84px minmax(0, 1fr) auto;
    gap: 12px;
  }
  .pass-home-page .ad-slot {
    min-height: 180px;
  }
}

@media (max-width: 390px) {
  .pass-home-page .home-evidence-answer {
    margin-left: 0;
  }
  .pass-home-page .home-evidence-answer::before {
    display: none;
  }
  .pass-home-page .quick-links nav a {
    grid-template-columns: 1fr auto;
  }
  .pass-home-page .quick-links nav span {
    grid-column: 1 / -1;
  }
}

/* Shared editorial system: extend the home study-desk language to every route. */
body:not(.pass-home-page) {
  --internal-paper: #ffffff;
  --internal-sheet: #fffdf8;
  --internal-ink: #18312b;
  --internal-forest: #244e42;
  --internal-coral: #a93b2c;
  --internal-marker: #efc65f;
  --internal-rule: #c9c1b3;
  background: var(--internal-paper);
  color: var(--internal-ink);
}
body:not(.pass-home-page) .site-header {
  border-color: rgb(36 78 66 / 24%);
  background: rgb(255 255 255 / 96%);
}
body:not(.pass-home-page) .brand,
body:not(.pass-home-page) .site-header nav a {
  color: var(--internal-ink);
}
body:not(.pass-home-page) .site-header nav a:not(.service-direct-link):hover {
  color: var(--internal-coral);
  text-decoration-color: var(--internal-coral);
  text-decoration-thickness: 3px;
}
body:not(.pass-home-page) .site-header nav a.service-direct-link {
  border-color: rgb(36 78 66 / 38%);
  border-radius: 1px;
  background: transparent;
  color: var(--internal-forest);
}
body:not(.pass-home-page) .site-header nav a.service-direct-link:hover {
  border-color: var(--internal-forest);
  background: #e7ede6;
}
body:not(.pass-home-page) .mobile-nav summary,
body:not(.pass-home-page) .mobile-nav nav {
  border-radius: 1px;
}
body:not(.pass-home-page) .hero {
  position: relative;
  max-width: none;
  margin-top: 30px;
  padding-block: clamp(48px, 7vw, 84px) 44px;
  border-top: 4px solid var(--internal-ink);
  border-bottom: 1px solid var(--internal-rule);
}
body:not(.pass-home-page) .hero::before {
  position: absolute;
  top: 13px;
  right: 0;
  color: var(--internal-coral);
  content: "INJEONG PASS · STUDY DESK";
  font-family: var(--font-primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}
body:not(.pass-home-page) .hero h1,
body:not(.pass-home-page) .section h1 {
  max-width: 900px;
  color: var(--internal-ink);
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.045em;
}
body:not(.pass-home-page) .hero h1 {
  font-size: clamp(40px, 5vw, 62px);
}
body:not(.pass-home-page) .section h1 {
  font-size: clamp(34px, 4vw, 48px);
}
body:not(.pass-home-page) .section h2,
body:not(.pass-home-page) .section-heading h2,
body:not(.pass-home-page) .quick-links h2,
body:not(.pass-home-page) .mode-fieldset legend,
body:not(.pass-home-page) .set-fieldset legend,
body:not(.pass-home-page) .order-fieldset legend,
body:not(.pass-home-page) .feedback h2,
body:not(.pass-home-page) .report-dialog-header h2 {
  color: var(--internal-ink);
  font-family: var(--font-primary);
  letter-spacing: -.025em;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}
body:not(.pass-home-page) .eyebrow,
body:not(.pass-home-page) .question-number {
  color: var(--internal-coral);
  font-size: 12px;
  letter-spacing: .08em;
}
body:not(.pass-home-page) .hero-copy,
body:not(.pass-home-page) .section-heading p,
body:not(.pass-home-page) .lead {
  color: #4c5a52;
}
body:not(.pass-home-page) .button {
  min-height: 48px;
  border-radius: 1px;
}
body:not(.pass-home-page) .button-primary {
  border-color: var(--internal-forest);
  background: var(--internal-forest);
  box-shadow: 4px 4px 0 var(--internal-marker);
  color: #fffdf8;
}
body:not(.pass-home-page) .button-primary:hover {
  background: #173d33;
  box-shadow: 2px 2px 0 var(--internal-marker);
}
body:not(.pass-home-page) main > .section:first-child:not(.hero) {
  position: relative;
  margin-top: 30px;
  border-top: 4px solid var(--internal-ink);
}
body:not(.pass-home-page) main > .section:first-child:not(.hero)::before {
  position: absolute;
  top: 13px;
  right: 0;
  color: var(--internal-coral);
  content: "INJEONG PASS · STUDY DESK";
  font-family: var(--font-primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}
body:not(.pass-home-page) .button-secondary,
body:not(.pass-home-page) .button-official {
  border-color: var(--internal-forest);
  background: transparent;
  color: var(--internal-forest);
}
body:not(.pass-home-page) .button-secondary:hover,
body:not(.pass-home-page) .button-official:hover {
  background: rgb(36 78 66 / 8%);
}
body:not(.pass-home-page) .text-link,
body:not(.pass-home-page) .quick-links a,
body:not(.pass-home-page) .link-list a {
  color: var(--internal-coral);
  text-decoration-color: rgb(169 59 44 / 45%);
  text-decoration-thickness: 1px;
}
body:not(.pass-home-page) .trust-strip {
  border-color: var(--internal-forest);
}
body:not(.pass-home-page) .trust-strip span {
  border-radius: 1px;
  background: #eef0e7;
  color: var(--internal-ink);
}
body:not(.pass-home-page) .exam-card,
body:not(.pass-home-page) .material-card,
body:not(.pass-home-page) .law-list article,
body:not(.pass-home-page) .quiz-card,
body:not(.pass-home-page) .storage-summary div {
  border-color: var(--internal-rule);
  border-radius: 1px;
  background: var(--internal-sheet);
  box-shadow: none;
}
body:not(.pass-home-page) .exam-card,
body:not(.pass-home-page) .material-card,
body:not(.pass-home-page) .law-list article {
  border-top: 3px solid var(--internal-forest);
}
body:not(.pass-home-page) .status-badge,
body:not(.pass-home-page) .license-badge,
body:not(.pass-home-page) .privacy-badge {
  border: 1px solid var(--internal-rule);
  border-radius: 1px;
  background: transparent;
  color: var(--internal-coral);
}
body:not(.pass-home-page) .fact-grid {
  gap: 0;
  border-block: 1px solid var(--internal-ink);
}
body:not(.pass-home-page) .fact-grid article {
  border: 0;
  border-right: 1px solid var(--internal-rule);
  background: transparent;
}
body:not(.pass-home-page) .fact-grid article:last-child {
  border-right: 0;
}
body:not(.pass-home-page) .syllabus-subject details,
body:not(.pass-home-page) .mode-card,
body:not(.pass-home-page) .set-card,
body:not(.pass-home-page) .option-row,
body:not(.pass-home-page) .tabs button,
body:not(.pass-home-page) .learning-content,
body:not(.pass-home-page) .wrong-review-item,
body:not(.pass-home-page) .legal-basis,
body:not(.pass-home-page) .report-dialog,
body:not(.pass-home-page) .report-form select,
body:not(.pass-home-page) .report-form textarea {
  border-radius: 1px;
}
body:not(.pass-home-page) .syllabus-subject details,
body:not(.pass-home-page) .learning-content,
body:not(.pass-home-page) .legal-basis,
body:not(.pass-home-page) .wrong-review-item {
  border-color: var(--internal-rule);
  background: var(--internal-sheet);
}
body:not(.pass-home-page) .mode-card,
body:not(.pass-home-page) .set-card {
  border-width: 1px;
  border-color: var(--internal-rule);
  background: var(--internal-sheet);
}
body:not(.pass-home-page) .mode-card:has(input:checked),
body:not(.pass-home-page) .set-card:has(input:checked),
body:not(.pass-home-page) .option-row:has(input:checked),
body:not(.pass-home-page) .tabs button[aria-pressed="true"] {
  border-color: var(--internal-forest);
  background: #e9eee8;
  color: var(--internal-forest);
  box-shadow: inset 4px 0 0 var(--internal-marker);
}
body:not(.pass-home-page) .mode-card strong,
body:not(.pass-home-page) .set-card strong {
  color: var(--internal-ink);
  text-wrap: balance;
}
body:not(.pass-home-page).learning-body {
  background: var(--internal-paper);
}
body:not(.pass-home-page) .learning-header {
  border-color: var(--internal-rule);
  background: rgb(255 255 255 / 98%);
}
body:not(.pass-home-page) .quiz-card {
  border-top: 3px solid var(--internal-forest);
}
body:not(.pass-home-page) .progress-track {
  border-radius: 0;
  background: #e4e2da;
}
body:not(.pass-home-page) .progress-track span {
  background: var(--internal-coral);
}
body:not(.pass-home-page) .question-stem {
  color: var(--internal-ink);
  word-break: keep-all;
  overflow-wrap: break-word;
}
body:not(.pass-home-page) .option-row {
  border-width: 1px;
  border-color: var(--internal-rule);
  background: var(--internal-paper);
}
body:not(.pass-home-page) .option-result-label,
body:not(.pass-home-page) .report-button,
body:not(.pass-home-page) .dialog-close {
  border-radius: 1px;
}
body:not(.pass-home-page) .report-button {
  border-color: var(--internal-forest);
  background: transparent;
  color: var(--internal-forest);
  box-shadow: none;
}
body:not(.pass-home-page) .report-button:hover {
  border-color: var(--internal-coral);
  background: rgb(169 59 44 / 7%);
  color: var(--internal-coral);
  box-shadow: none;
}
body:not(.pass-home-page) .feedback,
body:not(.pass-home-page) .home-storage-note {
  border-left-color: var(--internal-coral);
  background: #f2f3ed;
}
body:not(.pass-home-page) .empty-state,
body:not(.pass-home-page) .ad-slot {
  border-color: var(--internal-rule);
  background: #faf9f5;
}
body:not(.pass-home-page) .site-footer {
  border-color: rgb(255 253 248 / 18%);
  background: var(--internal-ink);
  color: #cfd7d2;
}
body:not(.pass-home-page) .site-footer a {
  color: #f7f2e8;
}
body:not(.pass-home-page) .site-footer .footer-services > strong {
  color: #cfd7d2;
}
body:not(.pass-home-page) .site-footer .footer-services a {
  border-color: rgb(255 253 248 / 24%);
  border-radius: 1px;
  background: transparent;
  color: #f7f2e8;
}
body:not(.pass-home-page) .site-footer .footer-services a.is-current {
  border-color: var(--internal-marker);
  background: rgb(239 198 95 / 10%);
  color: #fff;
}
body:not(.pass-home-page) .site-footer .footer-services a small {
  color: #b8c4bd;
}

/* Keep the Korean promise as exactly two intentional lines on desktop. */
.pass-home-page .home-hero h1 .home-headline-line {
  display: block;
}
.pass-home-page .home-hero h1 em.home-headline-evidence {
  display: block;
  width: max-content;
  max-width: none;
  white-space: nowrap;
}

@media (max-width: 768px) {
  body:not(.pass-home-page) .hero {
    margin-top: 18px;
    padding-block: 48px 34px;
  }
  body:not(.pass-home-page) .hero::before {
    top: 10px;
    left: 0;
    right: auto;
  }
  body:not(.pass-home-page) main > .section:first-child:not(.hero) {
    margin-top: 18px;
    padding-top: 48px;
  }
  body:not(.pass-home-page) main > .section:first-child:not(.hero)::before {
    top: 10px;
    left: 0;
    right: auto;
  }
  body:not(.pass-home-page) .hero h1 {
    font-size: clamp(36px, 10.8vw, 48px);
  }
  body:not(.pass-home-page) .fact-grid {
    border-bottom: 0;
  }
  body:not(.pass-home-page) .fact-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--internal-rule);
  }
  .pass-home-page .home-hero h1 em.home-headline-evidence {
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }
  .pass-home-page .home-hero h1 .home-headline-evidence > span {
    display: inline-block;
    white-space: nowrap;
  }
}

@media (orientation: landscape) and (max-height: 430px) {
  .learning-header { position: static; }
  .sticky-action { position: static; padding: 12px 0; border-top: 0; background: transparent; }
  .quiz-shell { padding-bottom: 20px; }
  .learning-footer { padding-bottom: 20px; }
}

/* AdSense Container Skeleton (CLS 방지) */
.adsense-container {
  min-height: 250px;
  background-color: var(--surface-soft, #f8f9fa);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
  overflow: hidden;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (forced-colors: active) {
  .button, .option-row, .mode-card, .report-button, .report-dialog { border: 2px solid ButtonText; }
  .option-row.correct, .option-row.incorrect { box-shadow: none; }
  .option-result-label { border: 1px solid ButtonText; }
}
