:root {
  --primary: #0f7c86;
  --primary-hover: #0c6972;
  --fresh-teal: #27a0a6;
  --soft-teal: #dff3f2;
  --very-light-teal: #f2faf9;
  --dark-teal: #173f45;
  --terracotta: #c96843;
  --ink: #102f35;
  --muted: #5d7377;
  --canvas: #faf8f4;
  --surface: #ffffff;
  --surface-warm: #fffdf9;
  --line: #d9ddda;
  --line-strong: #b8c1bd;
  --success: #167a50;
  --success-soft: #e6f4ed;
  --danger: #a5352a;
  --danger-soft: #fce9e6;
  --focus: #1261a0;
  --shadow: 0 2px 4px rgba(23, 63, 69, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--focus) 72%, white); outline-offset: 3px; }

.skip-link { position: fixed; z-index: 100; left: 1rem; top: 1rem; padding: .7rem 1rem; background: var(--dark-teal); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

 .site-header { min-height: 72px; padding: 0 clamp(1rem, 5vw, 4.5rem); display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2rem; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.brand { display: inline-flex; gap: .7rem; align-items: center; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; color: white; background: var(--primary); font-weight: 800; letter-spacing: -.03em; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: .96rem; }
.brand small { color: var(--muted); font-size: .72rem; }
.site-header > nav { height: 72px; display: flex; justify-content: center; gap: 1.7rem; }
.site-header > nav a { display: flex; align-items: center; text-decoration: none; border-bottom: 3px solid transparent; color: var(--muted); font-size: .85rem; font-weight: 700; }
.site-header > nav a:hover { color: var(--primary-hover); }
.site-header > nav a[aria-current="page"] { border-bottom-color: var(--primary); color: var(--dark-teal); }
.mobile-bottom-nav { display: none; }
.learner-chip { display: flex; align-items: center; gap: .65rem; color: var(--ink); white-space: nowrap; }
.learner-chip > span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--soft-teal); color: var(--primary-hover); border: 1px solid #cbe7e5; font-weight: 800; font-size: .76rem; }

main { min-height: calc(100vh - 72px); }
.view { padding: clamp(2rem, 5vw, 3.2rem) clamp(1rem, 7vw, 6rem) 6rem; }
.page-shell { max-width: 1180px; margin: 0 auto; min-width: 0; }
.eyebrow { margin: 0 0 .8rem; color: var(--terracotta); font-size: .77rem; line-height: 1.2; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: .7rem; font-size: clamp(2rem, 4.2vw, 3.15rem); line-height: 1.04; letter-spacing: -.04em; }
h2 { font-size: clamp(1.35rem, 2.3vw, 1.75rem); line-height: 1.22; letter-spacing: -.025em; }
h3 { font-size: 1rem; }
.lede { max-width: 700px; color: #38575d; font-size: clamp(1rem, 1.6vw, 1.1rem); }
.subtle { color: var(--muted); }
.small { font-size: .79rem; }

.course-trail { display: flex; align-items: center; gap: .8rem; margin-bottom: 3rem; color: var(--muted); font-size: .78rem; font-weight: 700; }
.course-trail span:nth-child(2) { color: var(--line-strong); }
.hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(310px, .75fr); gap: clamp(3rem, 9vw, 8rem); align-items: start; }
.hero-copy { padding-top: 1.1rem; }
.hero-copy h1 { max-width: 720px; }
 .hero-side { display: grid; gap: 1rem; }
 .course-hero-visual { margin: .3rem 0 0; padding: .6rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
 .course-hero-visual img { display: block; width: 100%; height: auto; border-radius: 7px; }
.course-outline { margin: 2.1rem 0 1.8rem; border-top: 1px solid var(--line); }
.course-outline > div { min-height: 58px; display: grid; grid-template-columns: 48px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.course-outline span { color: var(--terracotta); font-size: .73rem; font-weight: 800; }
.course-outline strong { font-size: .95rem; }
.course-status { margin-top: .3rem; padding: 1.7rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--fresh-teal); border-radius: 10px; box-shadow: var(--shadow); }
.status-heading { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; font-size: .83rem; }
.status-heading strong { color: var(--dark-teal); font-size: 1rem; }
.course-status > p { margin: .75rem 0 1.25rem; }
.status-list { margin: 0 0 1.15rem; border-top: 1px solid var(--line); }
.status-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: .75rem; min-height: 68px; padding: .72rem 0; border-bottom: 1px solid var(--line); font-size: .82rem; }
.status-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--primary); background: var(--soft-teal); }
.status-icon svg { width: 22px; height: 22px; }
.status-copy { display: grid; gap: .12rem; min-width: 0; }
.status-copy strong { color: var(--ink); font-size: .9rem; }
.status-copy > span { color: var(--muted); font-size: .74rem; line-height: 1.25; }
.status-row b { padding: .35rem .55rem; border-radius: 999px; background: #edf2f1; color: var(--muted); font-size: .72rem; line-height: 1.1; text-align: right; white-space: nowrap; }
.status-row b.is-done { color: var(--success); background: var(--success-soft); }

.button-row, .quiz-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
.button { min-height: 46px; border: 1px solid transparent; border-radius: 8px; padding: .72rem 1.1rem; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; text-decoration: none; font-weight: 750; cursor: pointer; }
.button-primary { color: white; background: var(--primary); }
.button-primary:hover { background: var(--primary-hover); }
.button-secondary { color: var(--ink); background: var(--surface); border-color: var(--line-strong); }
.button-secondary:hover { color: var(--primary-hover); border-color: var(--primary); background: var(--very-light-teal); }
.button[disabled] { opacity: .45; cursor: not-allowed; }
.text-action { min-height: 44px; margin-top: .6rem; padding: .45rem 0; border: 0; background: transparent; color: var(--primary-hover); text-align: left; font-weight: 750; cursor: pointer; }
.text-action:hover { text-decoration: underline; }

.progress-track { width: 100%; height: 7px; overflow: hidden; border: 0; border-radius: 0; background: #e9efed; accent-color: var(--primary); }
.progress-track::-webkit-progress-bar { background: #e9efed; }
.progress-track::-webkit-progress-value { background: var(--primary); }
.progress-track::-moz-progress-bar { background: var(--primary); }

.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.page-heading .lede { margin-bottom: 0; }
.heading-progress { min-width: 150px; padding-left: 1.3rem; border-left: 3px solid var(--primary); display: grid; gap: .3rem; }
.heading-progress strong { font-size: 1.15rem; }
.prep-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; align-items: start; margin-top: 2.2rem; }
.prep-list { border-top: 1px solid var(--line-strong); }
.prep-card { min-height: 104px; display: grid; grid-template-columns: 28px 1fr auto; align-items: start; gap: 1rem; padding: 1.25rem .4rem; border-bottom: 1px solid var(--line); cursor: pointer; }
.prep-card:hover { background: var(--very-light-teal); }
.prep-card input { width: 24px; height: 24px; margin: .05rem 0 0; accent-color: var(--primary); }
.prep-card > span { display: grid; gap: .45rem; }
.prep-card > span strong { font-size: .96rem; }
.prep-state { color: var(--muted); font-size: .77rem; }
.prep-card:has(input:checked) .prep-state { color: var(--success); }
.prep-aside { padding: 1.55rem 1.7rem; background: var(--surface-warm); border: 1px solid var(--line); border-left: 4px solid var(--terracotta); border-radius: 10px; box-shadow: var(--shadow); }
.prep-aside h2 { margin-bottom: .8rem; }
.prep-count { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; margin-top: 1.4rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .8rem; }
.prep-aside .button { width: 100%; margin-top: 1rem; }
.prep-aside > .small { margin: .65rem 0 0; }

.sim-header { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; padding-bottom: 1.2rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.sim-header h1 { margin-bottom: 0; font-size: clamp(1.8rem, 3.2vw, 2.2rem); }
.journey-stepper { display: flex; align-items: center; list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); }
.journey-stepper li { padding: .55rem .8rem; border-right: 1px solid var(--line); color: var(--muted); background: var(--surface-warm); font-size: .7rem; font-weight: 700; white-space: nowrap; }
.journey-stepper li:last-child { border-right: 0; }
.journey-stepper li.is-done { color: var(--success); background: #f4faf6; }
.journey-stepper li.is-current { color: var(--dark-teal); background: var(--soft-teal); }
.simulation-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 640px; background: var(--surface); border: 1px solid var(--line-strong); overflow: hidden; }
.scenario-panel { align-self: stretch; background: var(--surface-warm); border-right: 1px solid var(--line); }
.scenario-panel summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .7rem; padding: 1rem 1.15rem; }
.scenario-panel summary::-webkit-details-marker { display: none; }
.scenario-panel summary::marker { content: ""; }
.scenario-summary-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chevron { color: var(--primary); transition: transform .15s ease; }
.scenario-panel[open] .chevron { transform: rotate(180deg); }
.scenario-body { padding: 0 1.5rem 1.4rem; }
.scenario-body > p { color: #38575d; }
.scenario-block { padding-top: 1rem; margin-top: 1rem; border-top: 1px solid var(--line); }
.tag { display: inline-flex; width: fit-content; padding: .25rem .45rem; border: 1px solid #c6e2df; background: var(--very-light-teal); color: var(--primary-hover); font-size: .68rem; font-weight: 750; }

.msg-avatar { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--soft-teal); color: var(--primary-hover); border: 1px solid #c6e2df; font-size: .7rem; font-weight: 800; }
.msg-avatar-user { background: var(--very-light-teal); }
.conversation { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; }
.conversation-header { min-height: 48px; padding: .75rem 1.25rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: .65rem; }
.conversation-header strong { font-size: .79rem; }
.messages { padding: 1.7rem 1.75rem; overflow: auto; max-height: 430px; display: flex; flex-direction: column; gap: .7rem; }
.msg-row { display: flex; gap: .65rem; align-items: flex-end; }
.msg-customer { justify-content: flex-start; }
.msg-user { justify-content: flex-end; }
.message { max-width: 76%; padding: .85rem 1rem; border-radius: 12px 12px 12px 3px; background: #edf2f2; }
.message.user { color: white; background: var(--primary); border-radius: 12px 12px 3px 12px; }
.message small { display: block; opacity: .74; margin-bottom: .25rem; }
.turn-feedback { display: flex; justify-content: flex-end; }
.turn-feedback-inner { max-width: 76%; padding: .7rem .9rem; border-left: 4px solid var(--success); background: var(--success-soft); color: #15593c; font-size: .82rem; }
.turn-feedback-inner p { margin: .2rem 0 0; }
.turn-feedback.is-incorrect .turn-feedback-inner { border-left-color: var(--danger); background: var(--danger-soft); color: #7d281f; }
.turn-feedback.is-pending .turn-feedback-inner { width: 76%; }
.choice-panel { padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--line); background: var(--surface-warm); }
.choice-panel .button-row { margin-top: 0; }
.sim-prompt { margin: 0 0 .6rem; }
.choice-list { display: grid; gap: .55rem; }
.choice { min-height: 52px; display: flex; align-items: center; gap: .8rem; width: 100%; text-align: left; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); padding: .65rem .85rem; cursor: pointer; color: var(--ink); font-weight: 650; transition: border-color .12s ease, background .12s ease; }
.choice:hover { border-color: var(--primary); background: var(--very-light-teal); }
.choice-letter { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--soft-teal); color: var(--primary-hover); font-weight: 800; font-size: .75rem; }
.choice-text { flex: 1; min-width: 0; }

.completion-layout { display: grid; grid-template-columns: 394px minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.completion-summary { padding: 2rem 1.9rem; background: var(--very-light-teal); border: 1px solid var(--soft-teal); border-top: 4px solid var(--fresh-teal); border-radius: 10px; box-shadow: var(--shadow); }
.completion-summary p:not(.eyebrow) { color: #38575d; }
.completion-recap { background: var(--surface); border-top: 4px solid var(--primary); }
.completion-recap h2 { padding: 1.5rem 1.4rem; margin: 0; border-bottom: 1px solid var(--line); }
.sim-recap { list-style: none; padding: 0; margin: 0; }
.sim-recap li { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; padding: 1rem 1.4rem; border-bottom: 1px solid var(--line); }
.sim-recap li > span { display: grid; gap: .25rem; }
.sim-recap small { color: var(--muted); }
.sim-recap b { color: var(--success); font-size: .75rem; text-align: right; }
.sim-recap li.is-incorrect b { color: #a15f00; }
.completion-recap > p { padding: .9rem 1.4rem; margin: 0; }

.quiz-heading { margin-bottom: 1.25rem; }
.quiz-overview { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 1rem; padding: .8rem 1rem; margin-bottom: 1.3rem; background: var(--very-light-teal); border-left: 4px solid var(--fresh-teal); font-size: .82rem; }
.quiz-overview .small { justify-self: end; }
.quiz-grid { display: grid; gap: 1rem; }
.quiz-card { padding: 1.4rem 1.5rem; background: var(--surface); border: 1px solid var(--line); }
.quiz-card.is-answered { border-color: #bcd9d5; }
.quiz-card-header { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.quiz-card-header h2 { margin-bottom: .65rem; font-size: 1.35rem; }
.quiz-card-header .eyebrow { margin-bottom: .6rem; }
.quiz-number { flex: 0 0 auto; padding-left: 1rem; border-left: 3px solid var(--primary); color: var(--muted); font-size: .8rem; font-weight: 750; }
.quiz { padding-top: .35rem; }
.answer-list { display: grid; gap: 0; margin: .75rem 0; border-top: 1px solid var(--line); }
.answer { min-height: 58px; display: flex; align-items: center; gap: .9rem; text-align: left; padding: .7rem .6rem; border: 0; border-bottom: 1px solid var(--line); background: white; color: var(--ink); cursor: pointer; }
.answer:hover:not(:disabled) { background: var(--very-light-teal); }
.answer.correct { background: var(--success-soft); color: #15593c; }
.answer.wrong { background: var(--danger-soft); color: #7d281f; }
.answer:disabled { cursor: default; opacity: 1; }
.answer-feedback { padding: .65rem .8rem; border-left: 4px solid var(--success); background: var(--success-soft); color: #15593c; font-size: .82rem; }
.answer-feedback.is-incorrect { border-left-color: var(--danger); background: var(--danger-soft); color: #7d281f; }
.quiz-actions { justify-content: flex-end; }

.plan-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 2rem; margin-top: 2rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 1.5rem; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 34px 1fr; gap: .9rem; position: relative; padding-bottom: 1.4rem; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 32px; bottom: 0; width: 1px; background: var(--line); }
.timeline-marker { width: 33px; height: 33px; z-index: 1; border-radius: 50%; display: grid; place-items: center; background: var(--soft-teal); color: var(--primary); font-weight: 800; }
.progress-card { border-top: 4px solid var(--fresh-teal); }

.final-result > .lede { margin-bottom: 2rem; }
.final-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 3rem; align-items: start; }
.result-overview { padding: 1.8rem 1.5rem; background: var(--very-light-teal); border: 1px solid var(--soft-teal); border-top: 4px solid var(--fresh-teal); border-radius: 10px; box-shadow: var(--shadow); }
 .result-illustration { height: 108px; margin: -.2rem 0 1.25rem; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--soft-teal); border-radius: 8px; overflow: hidden; }
 .result-illustration img { display: block; width: min(100%, 300px); height: 100%; object-fit: contain; }
.result-overview > strong { display: block; margin: .65rem 0 .25rem; color: var(--primary); font-size: 3.8rem; line-height: 1; letter-spacing: -.06em; }
.result-overview > div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-top: 1px solid #cae5e2; font-size: .83rem; }
.result-overview > p:last-child { padding-top: 1rem; margin: 0; border-top: 1px solid #cae5e2; }
.result-details { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--primary); box-shadow: var(--shadow); }
.result-details h2 { padding: 1.3rem 1.4rem; margin: 0; border-bottom: 1px solid var(--line); }
.result-details ul { list-style: none; padding: 0; margin: 0; }
.result-details li { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; padding: .9rem 1.4rem; border-bottom: 1px solid var(--line); }
.result-details li span { display: grid; gap: .2rem; }
.result-details li small { color: var(--muted); }
.result-details li b { color: var(--primary-hover); font-size: .78rem; text-align: right; }
.result-details .button-row { padding: 0 1.4rem 1.4rem; }

.toast { position: fixed; right: 1rem; bottom: 1rem; z-index: 50; max-width: 360px; padding: .85rem 1rem; background: var(--dark-teal); color: white; border-radius: 8px; box-shadow: 0 8px 24px rgba(23,63,69,.16); }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; gap: .8rem; padding: .65rem 1rem 0; }
  .site-header > nav { grid-column: 1 / -1; order: 3; height: 44px; justify-content: start; gap: 1.25rem; overflow-x: auto; }
  .hero, .prep-layout, .simulation-shell, .completion-layout, .plan-grid, .final-layout { grid-template-columns: 1fr; }
  .course-trail { margin-bottom: 1.5rem; }
  .course-status { max-width: none; }
  .prep-aside { order: -1; }
  .scenario-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .sim-header { align-items: flex-start; flex-direction: column; }
  .journey-stepper { width: 100%; overflow-x: auto; }
  .completion-layout { gap: 1.4rem; }
  .quiz-overview { grid-template-columns: auto 1fr; }
  .quiz-overview .small { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 520px) {
  .site-header { position: static; }
  .brand small, .learner-chip strong { display: none; }
  .learner-chip > span { width: 38px; height: 38px; }
  .site-header > nav { display: none; }
  .site-header { padding-bottom: .65rem; }
  .mobile-bottom-nav {
    position: fixed;
    z-index: 30;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: auto;
    padding: .35rem .45rem calc(.35rem + env(safe-area-inset-bottom));
    gap: .15rem;
    background: rgba(255, 255, 255, .98);
    border-top: 1px solid var(--line);
    box-shadow: 0 -2px 8px rgba(23, 63, 69, .08);
  }
  .mobile-bottom-nav a {
    min-width: 0;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    border-top: 3px solid transparent;
    color: var(--muted);
    font-size: .68rem;
    font-weight: 750;
    line-height: 1.1;
    text-decoration: none;
  }
  .mobile-bottom-nav a:hover { color: var(--primary-hover); }
  .mobile-bottom-nav a[aria-current="page"] { border-top-color: var(--primary); color: var(--primary); }
  .mobile-bottom-nav svg { width: 21px; height: 21px; flex: 0 0 auto; }
  .view { padding: 1.35rem .75rem calc(3rem + 4.25rem + env(safe-area-inset-bottom)); }
  .course-trail { display: none; }
  .hero { gap: 1.25rem; }
  .hero-copy { padding-top: 0; }
  h1 { font-size: 2rem; }
  .course-outline > div { grid-template-columns: 40px 1fr; }
  .button-row, .quiz-actions { align-items: stretch; }
  .button-row .button, .quiz-actions .button { flex: 1 1 100%; }
  .page-heading { align-items: start; flex-direction: column; gap: 1rem; }
  .heading-progress { min-width: 0; }
  .prep-layout { margin-top: 1.2rem; gap: 1rem; }
  .prep-aside { padding: 1.2rem; }
  .prep-card { grid-template-columns: 28px minmax(0, 1fr); gap: .8rem; }
  .prep-state { grid-column: 2; }
  .sim-header { margin-bottom: 0; }
  .sim-header h1 { font-size: 1.55rem; }
  .journey-stepper li { padding: .48rem .65rem; }
  .simulation-shell { min-height: calc(100vh - 250px); border-left: 0; border-right: 0; }
  .scenario-panel summary { min-height: 60px; }
  .scenario-body { padding: 0 1rem 1rem; }
  .conversation-header { padding: .65rem .9rem; }
  .messages { min-height: 330px; max-height: none; padding: 1.3rem .9rem; }
  .message, .turn-feedback-inner, .turn-feedback.is-pending .turn-feedback-inner { max-width: 86%; width: auto; }
  .msg-avatar { flex-basis: 32px; width: 32px; height: 32px; }
  .choice-panel { padding: .9rem; }
  .choice { min-height: 54px; padding: .65rem .7rem; }
  .completion-summary { padding: 1.4rem 1.2rem; }
  .sim-recap li, .result-details li { align-items: flex-start; flex-direction: column; gap: .55rem; }
  .sim-recap b, .result-details li b { text-align: left; }
  .quiz-card { padding: 1.15rem .9rem; }
  .quiz-card-header h2 { font-size: 1.18rem; }
  .quiz-number { display: none; }
  .answer { min-height: 58px; }
  .final-layout { gap: 1.2rem; }
  .result-overview > strong { font-size: 3.2rem; }
  .result-details .button-row { padding: 0 1rem 1rem; }
  .hero-side { gap: .85rem; }
  .course-hero-visual { margin: 0; padding: .45rem; border-radius: 12px; box-shadow: none; }
  .course-hero-visual img { border-radius: 9px; }
  .course-status { margin-top: 0; padding: 1.1rem 1rem 1rem; border-top-width: 3px; border-radius: 12px; box-shadow: 0 1px 4px rgba(23, 63, 69, .06); }
  .status-heading { align-items: baseline; margin-bottom: .7rem; font-size: .92rem; }
  .status-heading strong { font-size: 1.1rem; }
  .course-status > p { margin: .65rem 0 1rem; font-size: .77rem; line-height: 1.45; }
  .progress-track { height: 9px; border-radius: 999px; }
  .status-list { margin-bottom: .85rem; }
  .status-row { min-height: 64px; grid-template-columns: 38px minmax(0, 1fr) auto; gap: .65rem; padding: .65rem 0; }
  .status-icon { width: 38px; height: 38px; }
  .status-icon svg { width: 21px; height: 21px; }
  .status-copy strong { font-size: .86rem; }
  .status-copy > span { font-size: .7rem; }
  .status-row b { font-size: .69rem; padding: .34rem .48rem; }
}

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

@media print {
  .site-header, .mobile-bottom-nav, .button-row, .quiz-actions, .choice-panel, .toast { display: none !important; }
  body { background: white; }
  .view { display: block !important; padding: 1cm 0; break-after: page; }
  .view[hidden] { display: block !important; }
  .page-shell { max-width: none; }
  .course-status, .prep-aside, .completion-summary, .quiz-card, .result-overview, .result-details { box-shadow: none; break-inside: avoid; }
}
