.exam-study {
  --ink: #17263b;
  --muted: #4f6076;
  --accent: #164987;
  --accent-dark: #0b315a;
  --accent-light: #eaf2fc;
  --surface: #fff;
  --background: #f5f7fb;
  --subtle: #eef2f8;
  --line: #d6e0ed;
  --strong-line: #8298b1;
  --green: #225b40;
  --red: #933542;
  --radius: 8px;
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--background);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
}
.exam-study *, .exam-study *::before, .exam-study *::after { box-sizing: border-box; }
.exam-study button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.exam-study button:disabled { cursor: not-allowed; }
.exam-study a { color: inherit; text-underline-offset: .22em; }
.exam-study :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.exam-study [hidden] { display: none !important; }
.exam-study .study-skip-link { position: absolute; top: -100px; left: 16px; z-index: 3; background: white; padding: 12px 20px; }
.exam-study .study-skip-link:focus { top: 12px; }
.exam-study .study-header, .exam-study .study-footer { padding-inline: max(24px, calc((100% - 1040px) / 2)); }
.exam-study .study-header {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 62px; padding-block: 10px; background: var(--surface); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 2;
}
.exam-study .study-header .careerpath-brand { width: clamp(150px, 28vw, 215px); flex: 0 0 auto; }
.exam-study .study-header-nav { display: flex; flex-wrap: wrap; gap: 16px; margin-left: auto; }
.exam-study .study-nav-button {
  min-height: 40px; padding: 6px 0; border: 0; border-bottom: 2px solid transparent;
  background: transparent; color: var(--muted); font-size: 14px; font-weight: 650;
}
.exam-study .study-nav-button[aria-current="page"] { color: var(--accent-dark); border-bottom-color: var(--accent); }
.exam-study .study-course-scope { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; font-size: 14px; }
.exam-study .study-course-scope select { min-height: 44px; padding: 6px 8px; border: 1px solid var(--strong-line); border-radius: 6px; color: var(--ink); background: var(--surface); font: inherit; }
.exam-study .study-course-count { margin: 3px 0 0; font-size: 13px; font-weight: 650; color: var(--muted); }
.exam-study .study-course-workspace > .is-quiet { padding-inline: 0 10px; }
.exam-study .study-shell { width: min(1040px, calc(100% - 48px)); margin: 0 auto; }
.exam-study .study-shell :is([data-focus], .study-flip-button, .study-review-heading) { scroll-margin-block-start: 100px; }
.exam-study .study-preview-banner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; align-items: baseline;
  background: var(--subtle); color: var(--ink); padding: 6px max(24px, calc((100% - 1040px) / 2)); font-size: 13px;
}
.exam-study .study-preview-banner p { margin: 0; }
.exam-study .study-preview-links { display: flex; flex-wrap: wrap; gap: 4px 16px; min-height: 32px; align-items: center; }
.exam-study .study-hero { margin: clamp(22px, 4.5vw, 48px) 0 22px; }
.exam-study .study-title {
  margin: 0; color: var(--ink);
  font-size: clamp(31px, 4.4vw, 49px); line-height: 1.08; font-weight: 750; letter-spacing: -.04em;
}
.careerpath-home { --background: #fff; --careerpath-teal: #007e82; }
.exam-study .careerpath-shell { width: min(1136px, calc(100% - clamp(32px, 8vw, 96px))); margin-inline: auto; }
.exam-study .careerpath-header { border-bottom: 1px solid var(--line); }
.exam-study .careerpath-header .careerpath-shell {
  min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
/* Frame the visible marks within the supplied logo's transparent canvas. */
.exam-study .careerpath-brand {
  position: relative; overflow: hidden; width: clamp(190px, 30vw, 265px); max-width: 75%; aspect-ratio: 1482 / 295;
}
.exam-study .careerpath-brand img {
  position: absolute; width: 119.7%; max-width: none; height: auto; left: -10.12%; top: -89.15%;
}
.exam-study .careerpath-header nav a {
  display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; color: var(--accent-dark); font-weight: 680;
  text-decoration: none;
}
.exam-study .careerpath-header nav a:hover { text-decoration: underline; }
.exam-study .careerpath-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center; gap: clamp(28px, 5.6vw, 84px); padding-block: clamp(42px, 7vw, 91px) clamp(36px, 6vw, 75px);
}
.exam-study .careerpath-intro h1 {
  max-width: 15ch; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.05; letter-spacing: -.043em;
}
.exam-study .careerpath-intro p {
  max-width: 37ch; margin: 20px 0 24px; color: var(--muted); font-size: clamp(16px, 2vw, 19px);
}
.exam-study .careerpath-cta { min-height: 48px; padding: 10px 16px; color: white; gap: 12px; }
.exam-study .careerpath-hero-image {
  display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 12px;
  background: var(--subtle); filter: grayscale(1);
}
.exam-study .careerpath-courses { scroll-margin-top: 22px; }
.exam-study .careerpath-courses > h2 { margin: 0 0 12px; font-size: 20px; line-height: 1.2; letter-spacing: -.02em; }
.exam-study .careerpath-course {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 22px;
  padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-left: 4px solid var(--careerpath-teal);
  border-radius: var(--radius); background: var(--surface); text-decoration: none;
}
.exam-study .careerpath-course:hover { border-color: var(--strong-line); background: var(--accent-light); }
.exam-study .careerpath-course-link { text-decoration: none; }
.exam-study .careerpath-course-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.exam-study .careerpath-course-link:focus-visible::after { outline: 3px solid var(--accent); outline-offset: 3px; }
.exam-study .careerpath-course h3 { margin: 0 0 5px; font-size: clamp(21px, 4vw, 28px); line-height: 1.25; letter-spacing: -.026em; }
.exam-study .careerpath-course p { margin: 0; color: var(--muted); font-size: 15px; }
.exam-study .careerpath-course-action { display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; gap: 10px; color: var(--accent); }
.exam-study .careerpath-course-action span { font-size: 21px; line-height: 1; }
.exam-study .careerpath-study-options {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px clamp(18px, 4vw, 52px);
  margin: clamp(28px, 5vw, 54px) 0 clamp(36px, 6vw, 76px);
}
.exam-study .careerpath-study-options > div { border-top: 1px solid var(--line); padding-top: 13px; }
.exam-study .careerpath-study-options h2 { margin: 0 0 5px; font-size: 16px; font-weight: 720; }
.exam-study .careerpath-study-options p { max-width: 36ch; margin: 0; font-size: 14px; color: var(--muted); }
.exam-study .careerpath-footer { border-top: 1px solid var(--line); padding: 23px 0; }
.exam-study .careerpath-footer .careerpath-shell { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; }
.exam-study .careerpath-footer-name { margin: 0; color: var(--accent); font-size: 16px; font-weight: 750; }
.exam-study .careerpath-footer p + p { margin: 0; font-size: 13px; color: var(--muted); }
@media (max-width: 700px) {
  .exam-study .careerpath-hero, .exam-study .careerpath-study-options { grid-template-columns: 1fr; }
  .exam-study .careerpath-intro h1 { max-width: 13ch; }
  .exam-study .careerpath-hero-image { aspect-ratio: 3 / 2; }
}
.exam-study .study-tabs { display: flex; gap: 20px; border-bottom: 1px solid var(--line); }
.exam-study .study-tab {
  min-height: 44px; padding: 9px 0; border: 0; border-bottom: 2px solid transparent;
  background: transparent; color: var(--muted); font-size: 15px; font-weight: 620;
}
.exam-study .study-tab[aria-selected="true"] { border-bottom-color: var(--accent); color: var(--accent-dark); font-weight: 730; }
.exam-study .study-tab:hover { color: var(--accent-dark); }
.exam-study .study-catalog-heading { margin: 18px 0 15px; }
.exam-study .study-section-heading { font-size: clamp(21px, 3.4vw, 29px); font-weight: 710; letter-spacing: -.032em; line-height: 1.2; margin: 0; }
.exam-study .study-exam-meta, .exam-study .study-device-note { color: var(--muted); font-size: 13px; }
.exam-study .study-exam-meta { margin: 3px 0 0; }
.exam-study .study-device-note { margin: 20px 0; }
.exam-study .study-library-heading { margin: 24px 0 8px; font-size: 15px; font-weight: 720; }
.exam-study .study-exam-grid { overflow: clip; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.exam-study .study-exam-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  column-gap: 16px; row-gap: 6px; min-width: 0; min-height: 70px; padding: 12px 18px;
}
.exam-study .study-exam-card + .study-exam-card { border-top: 1px solid var(--line); }
.exam-study .study-exam-card.is-randomized { background: var(--accent-light); border: 1px solid #c7cfe2; border-radius: var(--radius); }
.exam-study .study-exam-card.is-unavailable { background: var(--subtle); }
.exam-study .study-card-details { min-width: 0; }
.exam-study .study-card-heading { display: flex; align-items: baseline; gap: 7px 12px; flex-wrap: wrap; }
.exam-study .study-exam-name { margin: 0; font-size: 17px; letter-spacing: -.022em; line-height: 1.2; font-weight: 720; }
.exam-study .study-exam-best { margin: 4px 0 0; font-size: 13px; color: var(--green); font-weight: 650; }
.exam-study .study-status { font-size: 12px; font-weight: 650; color: var(--muted); white-space: nowrap; }
.exam-study .study-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.exam-study .study-card-actions { justify-content: flex-end; margin: 0; }
.exam-study .study-exam-card > :is(.study-loading, .study-error) { grid-column: 1 / -1; margin: 0; }
.exam-study .study-button {
  display: inline-flex; justify-content: center; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px;
  border: 1px solid var(--accent); border-radius: 6px; color: white; background: var(--accent);
  font-size: 14px; font-weight: 680; line-height: 1.25; text-align: center; text-decoration: none;
}
.exam-study .study-button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.exam-study .study-button.is-secondary { color: var(--accent-dark); background: white; border-color: var(--strong-line); }
.exam-study .study-button.is-secondary:hover, .exam-study .study-button.is-quiet:hover { background: var(--accent-light); }
.exam-study .study-button.is-quiet { color: var(--accent-dark); background: transparent; border-color: transparent; }
.exam-study .study-button:disabled { opacity: .52; }
.exam-study .study-footer { margin-top: 42px; padding-block: 20px 27px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); }
.exam-study .study-footer p { margin: 5px 0; }
.exam-study .study-notice, .exam-study .study-error { padding: 13px 17px; border-radius: 10px; font-size: 14px; margin: 16px 0; }
.exam-study .study-notice { background: var(--accent-light); color: var(--accent-dark); }
.exam-study .study-error { background: #fbedef; color: var(--red); border: 1px solid #e3bcc0; }
.exam-study .study-error p { margin: 0 0 8px; }
.exam-study .study-loading, .exam-study .study-empty { font-size: 14px; color: var(--muted); }
.exam-study .study-workspace { max-width: 848px; margin: clamp(14px, 3vw, 30px) auto 0; }
.exam-study .study-workspace-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.exam-study .study-workspace-header .is-quiet { padding-inline: 0 10px; }
.exam-study .study-mode-label, .exam-study .study-question-meta, .exam-study .study-flip-label { margin: 0 0 5px; font-size: 13px; font-weight: 680; color: var(--accent-dark); }
.exam-study .study-timer { padding: 8px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; font-size: clamp(18px, 3vw, 23px); font-weight: 720; font-variant-numeric: tabular-nums; }
.exam-study .study-timer.is-urgent { color: var(--red); background: #fbedef; border-color: #deb3b9; }
.exam-study .study-progress { margin: 14px 0; color: var(--muted); font-size: 13px; font-weight: 620; }
.exam-study .study-progress p { margin: 0 0 6px; }
.exam-study .study-progress-track { height: 6px; border-radius: 100px; overflow: hidden; background: var(--subtle); }
.exam-study .study-progress-fill { height: 100%; background: var(--accent); border-radius: inherit; transition: width .2s; }
.exam-study .study-question-map {
  padding: 3px 14px 8px; background: white; border: 1px solid var(--line); border-radius: 12px;
}
.exam-study .study-question-map > summary, .exam-study .study-review-item > summary { cursor: pointer; padding-block: 9px; font-size: 14px; font-weight: 680; min-height: 40px; }
.exam-study .study-map-grid { position: relative; display: flex; gap: 8px; overflow-x: auto; padding: 4px 3px 6px; scrollbar-color: var(--strong-line) var(--subtle); }
.exam-study .study-map-button {
  flex: 0 0 44px; min-height: 44px; padding: 0; border-radius: 8px; border: 1px solid var(--line);
  color: var(--ink); background: white; font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums;
}
.exam-study .study-map-button:hover, .exam-study .study-map-button.is-answered { background: var(--accent-light); border-color: var(--strong-line); }
.exam-study .study-map-button.is-current { color: white; border-color: var(--accent); background: var(--accent); }
.exam-study .study-question-card, .exam-study .study-score, .exam-study .study-review-item { background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.exam-study .study-question-card { padding: clamp(16px, 4vw, 36px); }
.exam-study .study-question { margin: 6px 0 18px; font-size: clamp(19px, 3vw, 26px); line-height: 1.32; font-weight: 680; letter-spacing: -.024em; overflow-wrap: anywhere; }
.exam-study .study-options { display: grid; gap: 8px; }
.exam-study .study-option { display: flex; align-items: flex-start; gap: 11px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; min-height: 52px; color: var(--ink); background: white; text-align: left; font-size: 15px; }
.exam-study .study-option:hover:not(:disabled) { border-color: var(--strong-line); background: var(--accent-light); }
.exam-study .study-option.is-selected { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-light); }
.exam-study .study-option.is-correct, .exam-study .study-feedback.is-correct { border-color: #86b09a; color: var(--green); background: #e8f5ed; }
.exam-study .study-option.is-incorrect, .exam-study .study-feedback.is-incorrect { border-color: #c88790; color: var(--red); background: #faedf0; }
.exam-study .study-option-letter { display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 27px; border-radius: 7px; background: var(--subtle); color: var(--ink); font-size: 12px; font-weight: 720; }
.exam-study .study-option.is-selected .study-option-letter { color: white; background: var(--accent); }
.exam-study .study-option-text { flex: 1; overflow-wrap: anywhere; padding-top: 2px; }
.exam-study .study-option-result { align-self: center; font-size: 11px; font-weight: 700; max-width: 64px; }
.exam-study .study-feedback { margin-top: 16px; padding: 15px; border-radius: 10px; }
.exam-study .study-feedback p { margin: 5px 0 0; }
.exam-study .study-source { display: inline-block; color: var(--muted); font-size: 12px; margin-top: 10px; overflow-wrap: anywhere; }
.exam-study .study-controls, .exam-study .study-submit-bar { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0; }
.exam-study .study-submit-bar { border-top: 1px solid var(--line); padding-top: 14px; }
.exam-study .study-submit-bar p { margin: 0; max-width: 410px; }
.exam-study .study-flash-counts, .exam-study .study-rating-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.exam-study .study-flash-counts p { margin: 0 auto 0 0; font-size: 13px; color: var(--muted); }
.exam-study .study-flash-stage { position: relative; isolation: isolate; perspective: 1350px; }
.exam-study .study-flip-card { display: grid; min-height: clamp(294px, 48vw, 420px); transform-style: preserve-3d; transition: transform .48s cubic-bezier(.2,.7,.25,1); }
.exam-study .study-flip-card.is-flipped { transform: rotateY(180deg); }
.exam-study .study-flip-face {
  grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; min-width: 0;
  padding: clamp(22px, 6vw, 63px); padding-bottom: max(60px, 6vw); border: 1px solid var(--line); border-radius: 20px;
  text-align: center; background: white; backface-visibility: hidden; overflow-wrap: anywhere;
}
.exam-study .study-flip-back { transform: rotateY(180deg); background: var(--accent-light); }
.exam-study .study-flip-face > p { margin: 0; }
.exam-study .study-flip-question, .exam-study .study-flip-answer { font-size: clamp(21px, 4vw, 32px); font-weight: 700; line-height: 1.2; letter-spacing: -.035em; }
.exam-study .study-flip-explanation { color: var(--ink); font-size: clamp(14px, 2vw, 17px); }
.exam-study .study-flip-button { position: absolute; inset: 0; border: 0; padding: 0; border-radius: 20px; background: transparent; }
.exam-study .study-flip-hint { position: absolute; bottom: 15px; left: 0; width: 100%; text-align: center; pointer-events: none; color: var(--accent-dark); font-size: 13px; font-weight: 680; }
.exam-study .study-rating-actions { justify-content: center; padding-top: 11px; }
.exam-study .study-rating-actions .study-button { min-width: 110px; }
.exam-study .study-score { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 24px; margin: 16px 0; }
.exam-study .study-score-number { font-size: clamp(42px, 9vw, 70px); line-height: 1; font-weight: 720; letter-spacing: -.055em; color: var(--accent-dark); }
.exam-study .study-score p { margin: 0; font-size: 14px; }
.exam-study .study-print-trigger { margin-inline-start: auto; }
.exam-study .study-breakdown { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; background: white; }
.exam-study .study-breakdown caption { text-align: left; padding-bottom: 8px; font-size: 17px; font-weight: 650; }
.exam-study .study-breakdown :is(th, td) { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); }
.exam-study .study-breakdown thead { background: var(--subtle); }
.exam-study .study-breakdown :is(th, td):not(:first-child) { text-align: right; }
.exam-study .study-review-list { display: grid; gap: 10px; margin: 12px 0; }
.exam-study .study-review-item { padding: 10px 15px; }
.exam-study .study-review-item .study-question-card { box-shadow: none; margin: 8px 0; }
.exam-study .study-review-heading { font-size: 24px; margin: 27px 0 10px; }
.exam-study .study-filter, .exam-study .study-dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.exam-study .study-filter [aria-pressed="true"] { background: var(--accent); color: white; border-color: var(--accent); }
.exam-study .study-dialog { width: min(460px, calc(100% - 28px)); padding: 24px; border: 0; border-radius: var(--radius); color: var(--ink); }
.exam-study .study-dialog h2 { line-height: 1.2; margin: 0; }
.exam-study .study-dialog::backdrop { background: #162633a0; }
.exam-study .study-dialog-actions { justify-content: flex-end; margin-top: 16px; }
.exam-study .study-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.exam-study .study-print-report { display: none; }
@page study-results { margin: 15mm; }
@media print {
  .exam-study.study-printing-results { min-height: 0; color: #171717; background: white; }
  .exam-study.study-printing-results > :not(.study-print-report) { display: none !important; }
  .exam-study.study-printing-results > .study-print-report {
    display: block; page: study-results; font-size: 10.5pt; line-height: 1.4; overflow-wrap: anywhere;
  }
  .exam-study .study-print-heading { padding-bottom: 8pt; break-inside: avoid; }
  .exam-study .study-print-heading h1 { margin: 3pt 0; font-size: 19pt; line-height: 1.2; }
  .exam-study .study-print-heading p { margin: 2pt 0; }
  .exam-study .study-print-question { border-top: 1px solid #bbb; padding: 8pt 0; break-inside: avoid; }
  .exam-study .study-print-question h2 { margin: 0 0 3pt; font-size: 11pt; line-height: 1.3; }
  .exam-study .study-print-question p { margin: 0 0 4pt; }
  .exam-study .study-print-answers { display: grid; grid-template-columns: 82pt minmax(0, 1fr); gap: 2pt 6pt; margin: 0; }
  .exam-study .study-print-answers dt { font-weight: 650; }
  .exam-study .study-print-answers dd { margin: 0; }
}
@media (max-width: 560px) {
  .exam-study .study-shell { width: calc(100% - 28px); }
  .exam-study .study-header-nav { gap: 10px; }
  .exam-study .study-nav-button { font-size: 13px; }
  .exam-study .study-header, .exam-study .study-footer, .exam-study .study-preview-banner { padding-inline: 14px; }
  .exam-study .study-exam-card { grid-template-columns: minmax(0, 1fr); padding: 13px 12px; }
  .exam-study .study-card-actions { justify-content: flex-start; }
  .exam-study .study-card-actions .study-button { font-size: 13px; padding-inline: 9px; }
  .exam-study .study-controls .study-button { font-size: 13px; padding-inline: 9px; }
  .exam-study .study-breakdown { table-layout: fixed; font-size: 12px; }
  .exam-study .study-breakdown :is(th, td) { padding-inline: 6px; overflow-wrap: anywhere; }
  .exam-study .study-breakdown th:first-child { width: 50%; }
}
@media (max-width: 390px) {
  .exam-study .study-header { align-items: flex-start; flex-direction: column; gap: 4px; padding-bottom: 0; }
  .exam-study .study-header-nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .exam-study *, .exam-study *::before, .exam-study *::after { transition: none !important; scroll-behavior: auto !important; }
}
