/* Study pages: an open brief, a chapter bookmark, attached source pages and an
   answer slip. Existing lesson text and anatomical materials are unchanged. */
.study-kicker { color:var(--ua-green);font-size:.75rem;font-weight:700;letter-spacing:.055em;line-height:1.4;text-transform:uppercase; }
.brief-heading { display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-bottom:.9rem;border-bottom:1px solid var(--ua-line); }
.brief-sections { font-size:.8125rem;white-space:nowrap;color:var(--ua-muted);font-variant-numeric:tabular-nums; }
#lesson-reading.lab-brief { position:relative;background:var(--ua-paper);padding-top:1.6rem; }
.lab-brief #lesson-title { margin-top:1.35rem; }
.lab-brief .lab-purpose { font-size:1.2rem;line-height:1.55;margin-bottom:1.8rem;color:var(--ua-ink); }
.brief-objectives { padding-top:1.2rem;border-top:2px solid var(--ua-green); }
.lab-brief .intro-label { margin-bottom:.7rem;font-size:.875rem;line-height:1.4;color:var(--ua-green);font-weight:700; }
.lab-brief .intro-goals { list-style:none;counter-reset:brief-goal;margin:0;padding:0;display:grid;gap:0; }
.lab-brief .intro-goals li { counter-increment:brief-goal;display:grid;grid-template-columns:1.7rem minmax(0,1fr);gap:.75rem;padding:.75rem 0;border-bottom:1px solid var(--ua-line);font-size:1.0625rem;line-height:1.55; }
.lab-brief .intro-goals li::before { content:counter(brief-goal,decimal-leading-zero);font-size:.75rem;font-weight:700;line-height:1.7;color:var(--ua-green);padding-top:.15rem;font-variant-numeric:tabular-nums; }
.brief-route { margin:1.7rem 0 1.2rem;padding-left:1rem;border-left:3px solid var(--ua-gold); }
.lab-brief .intro-route { margin:0;padding:0;list-style:none;counter-reset:brief-route; }
.lab-brief .intro-route li { counter-increment:brief-route;position:relative;padding:.4rem 0 .4rem 1.7rem;font-size:.9375rem;line-height:1.5;color:var(--ua-muted); }
.lab-brief .intro-route li::before { content:counter(brief-route);position:absolute;top:.4rem;left:0;width:1rem;height:auto;border-radius:0;background:none;color:var(--ua-green);font-size:.75rem;font-weight:700; }

/* Keep the progress line independent of the moving lesson content. It means
   position in this walkthrough, never completion or verified knowledge. */
.chapter-position { margin:0 0 1rem;padding-top:.1rem; }
.chapter-position .lesson-progress { display:flex;justify-content:space-between;align-items:baseline;gap:.75rem;margin:0 0 .85rem; }
.chapter-position .lesson-progress strong { color:var(--ua-green);font-size:.875rem; }
.chapter-position .lesson-progress > span { font-size:.8125rem;color:var(--ua-muted); }
.chapter-native-progress.walk-meter { position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important; }
.chapter-rail { height:6px;position:relative;background:#dce3d7;border-radius:3px; }
.chapter-rail-fill { position:absolute;inset:0;background:var(--ua-green);transform-origin:left center;border-radius:3px; }
.chapter-rail-marker { position:absolute;inset:0;pointer-events:none; }
.chapter-rail-marker::after { content:'';position:absolute;right:-3px;top:-3px;height:12px;width:6px;background:var(--ua-gold);border:1px solid #998711;border-radius:2px;box-shadow:0 1px 0 #ffffff88; }
.chapter-rail-tick { position:absolute;top:0;height:6px;width:2px;background:var(--ua-paper);pointer-events:none; }
.chapter-rail-marker { z-index:1; }
.lesson-content { min-width:0; }
#lesson-reading { overflow-x:clip; }
.lesson-content #lesson-title { margin-top:0; }
.guided-learning .lesson-cue { position:relative;background:#edf1e8;border:0;border-left:3px solid var(--ua-green);padding:.9rem 1rem;box-shadow:inset 0 1px #ffffff99;margin:1rem 0 1.05rem; }
.guided-learning .lesson-cue::before { content:'';position:absolute;left:-3px;top:0;width:3px;height:25px;background:var(--ua-gold); }
.guided-learning .lesson-cue .eyebrow { margin-bottom:.45rem;font-size:.8125rem; }
.guided-learning .lesson-cue p { margin-bottom:0; }
.guided-learning .lesson-cue .restore-lesson-view { margin-top:.8rem; }
.guided-learning .lesson-section-label { font-size:.875rem;border-bottom:1px solid var(--ua-line);padding-bottom:.6rem;margin-bottom:.8rem; }
.guided-learning #lesson-essentials { gap:.9rem; }
.guided-learning .lesson-source-link { display:flex;align-items:center;min-height:48px;padding:.6rem .75rem .6rem 1rem;border:1px solid var(--ua-line);border-left:3px solid var(--ua-green);background:var(--ua-paper);margin:1.4rem 0 1.1rem;border-radius:0 4px 4px 0; }
.guided-learning .chapter-advance { display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.25rem .7rem;padding:.55rem 1.2rem .45rem;align-items:center; }
.chapter-advance .next-destination { grid-column:1/-1;grid-row:1;min-width:0;display:flex;align-items:baseline;gap:.6rem; }
.next-destination > span { flex:0 0 auto;color:var(--ua-muted);font-size:.6875rem;text-transform:uppercase;letter-spacing:.04em;line-height:1.4; }
.next-destination > strong { min-width:0;color:var(--ua-ink);font-size:.8125rem;font-weight:500;line-height:1.4;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.guided-learning .chapter-advance > #walk-next { grid-column:3;grid-row:2;width:auto;min-width:0;min-height:44px;padding:.6rem .8rem;font-size:.875rem;white-space:nowrap; }
.guided-learning .chapter-advance .walk-navigation { display:contents; }
.guided-learning .chapter-advance #walk-previous,.guided-learning .chapter-advance #walk-check { min-height:44px;padding:.35rem 0;font-size:.8125rem; }
.guided-learning .chapter-advance #walk-previous { grid-column:1;grid-row:2; }
.guided-learning .chapter-advance #walk-check { grid-column:2;grid-row:2;justify-self:start; }

/* The source pages remain exact pages; paper edges and the page tab explain
   the physical document without importing or fabricating its content. */
.guided-learning .dissector-heading,.dissector-heading { background:var(--ua-paper);padding-bottom:.8rem; }
.dissector-heading h2 { font-family:var(--ua-display);font-weight:400;font-size:1.3rem; }
.dissector-position { display:inline-flex;align-items:center;gap:.4rem; }
.dissector-position::before { content:'';display:inline-block;width:4px;height:12px;border-radius:1px;background:var(--ua-green); }
.dissector-toolbar { border-top:1px solid var(--ua-line);border-bottom:1px solid var(--ua-line);background:#edf0e8; }
.guided-learning .dissector-toolbar { padding-top:.55rem;padding-bottom:.55rem; }
.dissector-text-scroll { padding:14px 10px 22px;background:#e7ecdf; }
.guided-learning .dissector-text-page,.dissector-text-page { position:relative;min-height:100%;background:#fffefa;border:1px solid #d6ddcf;box-shadow:3px 3px 0 #f4f4ec,4px 4px 0 #cdd6c4;padding:1.35rem 1.2rem 2.5rem; }
.source-page-heading { display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--ua-line);padding-bottom:.8rem;margin-bottom:1.2rem; }
.source-page-heading .source-page-label { margin:0;color:var(--ua-muted);font-size:.6875rem;letter-spacing:.055em;text-transform:uppercase; }
.source-page-tab { position:relative;align-self:start;background:var(--ua-green);color:#fffefa;font-size:.6875rem;font-weight:600;padding:.4rem .6rem;border-bottom:3px solid var(--ua-gold);white-space:nowrap; }
.dissector-block { padding-left:.65rem;padding-right:.35rem; }
.dissector-block.active { position:relative;background:#eff3e9;border-left:3px solid var(--ua-green);padding-left:.55rem; }
.dissector-block.active::before { content:'';position:absolute;top:0;left:-3px;width:3px;height:24px;background:var(--ua-gold); }
.dissector-block.clinical { border-color:#c6b665;border-left-width:3px;background:#fcf6d9; }
.dissector-foot { border-top:1px solid var(--ua-line); }

/* A station is one paper surface. The question may arrive, but the response
   field and its controls are separate, stationary interaction targets. */
.station-sheet { position:relative;min-width:0;background:#fffefa;border:1px solid var(--ua-line);border-top:3px solid var(--ua-green);padding:1.2rem 1.2rem .5rem;box-shadow:3px 4px 0 #e9ecdf; }
.station-position { padding-bottom:.85rem;margin-bottom:1.15rem;border-bottom:1px solid var(--ua-line);font-size:.8125rem; }
.station-position strong { font-weight:600; }
.station-position #station-time { font-variant-numeric:tabular-nums; }
.station-heading { display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .85rem;margin-bottom:1rem; }
.station-heading .study-kicker { font-size:.6875rem; }
.station-heading .question-kind { margin:0;font-size:.75rem;color:var(--ua-green);padding-left:.7rem;border-left:2px solid var(--ua-gold); }
.station-paper .question-prompt { font-size:clamp(1.55rem,2vw,1.9rem);line-height:1.28;color:var(--ua-green);margin-bottom:1rem; }
.station-paper { min-width:0; }
.station-response { position:relative;margin:1.1rem 0 0; }
.station-response .answer-label { margin-bottom:.65rem;color:var(--ua-ink);font-size:.875rem;font-weight:600; }
.station-response .answer-label .meta { font-weight:400; }
.station-response #station-answer { display:block;background:#f5f5ef;color:var(--ua-ink);border:1px solid #7f9275;border-radius:4px;min-height:106px;padding:.85rem 1rem;font:inherit;font-size:1.0625rem;line-height:1.55;box-shadow:inset 0 2px 4px #1e2c2305; }
.station-response #station-answer:read-only { background:#f5f5ef;color:var(--ua-ink); }
.station-response #station-answer::placeholder { color:#697360; }
.station-comparison { padding-top:1.25rem;margin-top:1.2rem;border-top:1px dashed #a4b096;perspective:800px; }
.station-comparison .expected-answer-sheet { position:relative;border:1px solid #d5deca;border-top:0;border-left:3px solid var(--ua-green);background:#edf2e6;padding:1.25rem 1rem 1.1rem;box-shadow:2px 3px 0 #e0e7d7;transform-origin:top center;margin:0 0 1.25rem; }
.expected-answer-sheet > strong { color:var(--ua-green);font-size:.875rem;line-height:1.4; }
.expected-answer-sheet > p { font-size:1.125rem;line-height:1.6;color:var(--ua-ink);margin:.75rem 0 0; }
.answer-sheet-tab { display:block;position:absolute;top:-12px;right:12px;font-size:.625rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;line-height:1;padding:.35rem .5rem;background:var(--ua-gold);color:var(--ua-ink);border-radius:2px; }
.station-sheet .answer-explanation > summary,.station-sheet .answer-sources > summary { min-height:44px;padding-block:.6rem;cursor:pointer;color:var(--ua-green);font-size:.875rem; }
.station-sheet .answer-explanation p { font-size:1.0625rem;line-height:1.6; }
.station-sheet .station-decision { display:flex;align-items:stretch;flex-wrap:wrap;gap:.6rem;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--ua-line); }
.station-decision .self-mark { flex:1 1 100%;gap:.6rem;margin-top:0; }
.station-decision button { min-height:44px; }
.station-decision #reveal-answer { flex:1 1 auto; }
.station-decision #next-question { flex:1 1 auto; }
.station-sheet .recall-back { margin-top:1.3rem;padding-top:.65rem;border-top:1px solid var(--ua-line); }
.station-sheet .recall-back button { padding-left:0;min-height:44px; }
.station-sheet .station-utilities { margin-top:1.5rem; }
.station-sheet .station-utilities button { min-height:44px;background:transparent; }
.station-sheet .station-utilities p { margin-top:.65rem; }
#practice-options { margin-bottom:1.2rem; }
@media(min-width:741px) and (max-width:1100px) {
  .guided-learning .chapter-advance { padding-inline:.9rem;gap:.25rem .65rem; }
  .guided-learning .chapter-advance > #walk-next { padding-inline:.65rem;font-size:.8125rem; }
  .station-sheet { padding:1rem .9rem .5rem; }
  .station-heading { display:grid;gap:.6rem; }
  .station-heading .question-kind { justify-self:start; }
}
@media(max-width:740px) {
  #lesson-reading.lab-brief { padding-top:1.3rem; }
  .lab-brief .lab-purpose { font-size:1.125rem; }
  .lab-brief .intro-goals li { font-size:1rem; }
  .guided-learning .chapter-advance { padding:.55rem 1.1rem max(.45rem,env(safe-area-inset-bottom));gap:.25rem .7rem; }
  .guided-learning .chapter-advance > #walk-next { min-height:46px;font-size:.875rem; }
  .chapter-position { margin-bottom:1rem; }
  .station-sheet { padding:1.05rem 1rem .4rem; }
  .station-paper .question-prompt { font-size:1.7rem; }
  .dissector-text-scroll { padding:10px 8px 18px; }
  .guided-learning .dissector-text-page,.dissector-text-page { padding:1.1rem .85rem 2rem; }
  .station-response #station-answer { font-size:1rem; }
}
@media(max-width:400px) {
  .guided-learning .chapter-advance { padding-inline:.85rem;gap:.25rem .5rem; }
  .guided-learning .chapter-advance > #walk-next { font-size:.8125rem;padding-inline:.65rem; }
  .next-destination > strong { font-size:.8125rem; }
  .station-heading { gap:.5rem; }
  .station-heading .question-kind { font-size:.6875rem; }
  .station-sheet .station-decision { gap:.5rem; }
  .station-decision .self-mark { gap:.5rem; }
  .station-decision .self-mark button { font-size:.8125rem;padding-inline:.6rem; }
}
