 .teaching-module{max-width:950px;margin:28px auto;padding:clamp(18px,4vw,34px);border:1px solid #dae6df;border-radius:14px;background:#fff;scroll-margin-top:18px}.teaching-module h3{font-size:clamp(22px,3vw,29px);margin:0 0 18px}.teaching-module .eyebrow{margin-top:0}.module-points{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:10px;padding-left:0;list-style:none}.module-points li{background:#eaf3ef;padding:11px 14px;border-radius:8px;overflow-wrap:anywhere}.module-points:is(ol){counter-reset:step}.module-points:is(ol) li::before{counter-increment:step;content:counter(step) " · ";font-weight:700;color:#256b59}.module-explanation{margin-top:18px}.source-links{display:flex;flex-wrap:wrap;gap:10px;font-size:14px}.source-links a{padding:3px 9px;background:#edf4f2;border-radius:6px}.table-wrap{overflow:auto;max-width:100%}.table-wrap table{border-collapse:collapse;width:100%;font-size:15px}.table-wrap th,.table-wrap td{padding:8px 12px;text-align:left;border-bottom:1px solid #dce6e2}.table-wrap thead{background:#eaf3ef}.table-wrap td{font-variant-numeric:tabular-nums}
/* Course entry: clear learning outcomes and in-page practice routes. */
.course-intro{padding:0 0 32px;border-bottom:1px solid var(--tm-line,#dce2d9)}
.course-intro h1{font-size:clamp(32px,4.4vw,52px);line-height:1.3;margin:16px 0 22px;text-wrap:balance}
.course-intro .eyebrow{margin:0;font-size:14px;letter-spacing:.06em}
.course-intro .intro-lead{max-width:38em;font-size:clamp(18px,2vw,21px);line-height:1.85;margin:0 0 24px;color:var(--tm-white,#24312e)}
.intro-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin:0 0 12px}
.intro-actions a{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;min-height:48px;padding:12px 20px;border:1px solid var(--tm-line,#bdcec3);border-radius:8px;text-decoration:none;font-weight:700;line-height:1.5}
body .intro-actions a.intro-start{background:var(--tm-orange,#285e4b);color:var(--tm-bg,#fff)}
.intro-actions .intro-secondary{background:transparent;color:var(--tm-light,#285e4b)}
.intro-actions a:hover{filter:brightness(1.12)}
.intro-hint,.intro-credit{color:var(--tm-muted,#55665a);font-size:14px;line-height:1.8}
.intro-hint{margin:0 0 26px}.intro-credit{margin:24px 0 0;max-width:62em}
.intro-outcomes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;border-top:1px solid var(--tm-line,#dce2d9);padding-top:24px}
.intro-outcomes>div{display:flex;gap:12px;min-width:0}.outcome-number{color:var(--tm-light,#256b59);font-size:14px;line-height:1.9;font-variant-numeric:tabular-nums}
.intro-outcomes strong{font-size:17px}.intro-outcomes p{color:var(--tm-muted,#55665a);font-size:15px;line-height:1.8;margin:6px 0 0}
.learning-route{padding:28px 0 36px}.learning-route h2{font-size:27px;margin:0 0 12px}.learning-route>p{font-size:16px;max-width:48em;margin:0 0 22px;color:var(--tm-muted,#55665a)}
.route-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0;margin:0;list-style:none}.route-list li{min-width:0}
.route-list a{display:flex;align-items:flex-start;gap:14px;height:100%;min-height:104px;padding:20px;border:1px solid var(--tm-line,#dce2d9);border-radius:10px;background:var(--tm-panel,#fff);text-decoration:none;line-height:1.6}
.route-list a:hover{border-color:var(--tm-light,#256b59)}.route-number{color:var(--tm-light,#256b59);font-size:14px;line-height:1.9;font-variant-numeric:tabular-nums}.route-list strong{display:block;font-size:18px;color:var(--tm-white,#24312e)}.route-list small{display:block;font-size:15px;color:var(--tm-muted,#55665a);line-height:1.8;margin-top:6px}.route-arrow{margin-left:auto;color:var(--tm-light,#256b59)}
.course-intro a:focus-visible,.learning-route a:focus-visible,.module-entry a:focus-visible{outline:3px solid var(--tm-light,#256b59);outline-offset:4px}
@media(max-width:650px){.intro-outcomes{grid-template-columns:1fr;gap:18px}.route-list{grid-template-columns:1fr}.intro-actions{gap:12px}.intro-actions a{padding:12px 16px;font-size:16px}.route-list a{min-height:0;padding:18px}.course-intro h1{font-size:32px}.learning-route h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Keep concepts connected to their practice, without duplicating the library. */
.lesson-related{margin:28px 0;padding:24px;border:1px solid var(--tm-line,#dae6df);border-radius:12px;background:var(--tm-panel,#fff)}
.lesson-related h3{margin:0 0 16px;font-size:21px}.diagram-links{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.diagram-links a{display:block;padding:14px 16px;border:1px solid var(--tm-line,#dae6df);border-radius:8px;text-decoration:none;min-height:44px}
.diagram-links a:hover{border-color:var(--tm-light,#256b59)}.diagram-links strong{display:block;font-size:17px;line-height:1.65}.diagram-links span{display:block;color:var(--tm-muted,#55665a);font-size:15px;line-height:1.8;margin-top:6px}
.diagram-more-label{font-size:14px;color:var(--tm-muted,#55665a);margin:22px 0 6px}.diagram-more{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:4px 18px}.diagram-more a{display:inline-block;padding:9px 0;font-size:14px;line-height:1.8}
.module-study-links{display:flex;flex-wrap:wrap;gap:8px 20px;padding-top:14px;margin-top:18px;border-top:1px solid var(--tm-line,#dae6df)}.module-study-links a{display:inline-flex;align-items:center;min-height:44px;font-size:15px;line-height:1.6}
.lesson-related:target,.exercise:target{outline:2px solid var(--tm-light,#256b59);outline-offset:4px}.lesson-related a:focus-visible,.module-study-links a:focus-visible{outline:3px solid var(--tm-light,#256b59);outline-offset:4px}
@media(max-width:650px){.lesson-related{padding:18px}.diagram-links a{padding:12px}.diagram-links strong{font-size:16px}.diagram-more{display:block}.module-study-links{gap:4px 16px}}

/* A consistent reading order: diagram, teaching explanation, lecture source. */
.teaching-module .eyebrow{margin-bottom:8px;letter-spacing:.08em}
.teaching-module h3{margin-bottom:22px;max-width:30em;line-height:1.4}
.teaching-module .module-figure{margin:0}
.module-reading-label{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 12px;font-size:14px;color:var(--tm-white,#24312e)}
.module-reading-label span{font-size:12px;color:var(--tm-muted,#55665a);border:1px solid var(--tm-line,#dae6df);border-radius:4px;padding:1px 7px}
.teaching-module .module-points{margin:0 0 20px;gap:12px;align-items:stretch}
.teaching-module .module-points li{border:1px solid var(--tm-line,#dae6df);border-radius:8px;line-height:1.75;padding:14px 16px}
.teaching-module .module-caption{padding:18px 0 0;margin-top:24px;border-top:1px solid var(--tm-line,#dae6df)}
.module-caption-label{display:block;font-size:14px;font-weight:700;letter-spacing:.03em;color:var(--tm-light,#256b59)}
.teaching-module .module-explanation{font-size:17px;line-height:1.85;max-width:55ch;margin:8px 0 0;color:var(--tm-white,#24312e)}
.teaching-module .sources{font-size:14px;line-height:1.8;margin:12px 0;color:var(--tm-muted,#55665a)}
.teaching-module .source-links{margin:24px 0 0;gap:8px;align-items:center}
.teaching-module .source-label{font-size:14px;color:var(--tm-muted,#55665a);margin-right:4px}
.teaching-module .source-links a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:56px;padding:8px 12px;border:1px solid var(--tm-line,#dae6df);border-radius:8px;line-height:1.5;font-variant-numeric:tabular-nums;text-decoration:underline;text-underline-offset:3px}
.teaching-module .source-links a:hover{border-color:var(--tm-light,#256b59)}
.teaching-module .source-links a:focus-visible,.teaching-module .table-wrap:focus-visible{outline:3px solid var(--tm-light,#256b59);outline-offset:4px}
body.tmars-lesson .teaching-module .table-wrap{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain;border:1px solid var(--tm-line,#dae6df);border-radius:8px}
body.tmars-lesson .teaching-module .table-wrap table{display:table;overflow:visible;max-width:none;width:100%;margin:0}
.teaching-module .table-wrap th,.teaching-module .table-wrap td{line-height:1.65;vertical-align:top;padding:12px}
@media(max-width:650px){.teaching-module h3{font-size:23px}.teaching-module .module-explanation{font-size:16px}.teaching-module .module-points li{padding:12px 14px}.teaching-module .source-label{flex-basis:100%;margin:0 0 2px}}

/* Unit 01: follow one concrete job from input to a checked handoff. */
#lesson1 .unit-outcome{max-width:44em;padding:16px 20px;border-left:3px solid var(--tm-orange,#a4502d);background:var(--tm-panel,#fff);font-size:17px;line-height:1.85}
#lesson1 .unit-route{display:flex;flex-wrap:wrap;gap:8px 22px;margin:18px 0 30px;padding:0}
#lesson1 .unit-route a{display:inline-flex;align-items:center;min-height:44px;font-size:15px;line-height:1.6;text-underline-offset:4px}
#lesson1 .task-example{padding:24px;border:1px solid var(--tm-line,#dae6df);border-radius:12px}
#lesson1 .example-label{margin:0 0 8px;font-size:14px;color:var(--tm-light,#256b59);font-weight:700}
#lesson1 .task-example h3{margin:0 0 16px;max-width:28em;line-height:1.5}
#lesson1 .task-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;list-style:none;padding:0;margin:24px 0}
#lesson1 .task-breakdown li{padding:20px;border:1px solid var(--tm-line,#dae6df);border-radius:8px;background:var(--tm-bg,#fff);min-width:0}
#lesson1 .task-breakdown strong{display:block;font-size:18px;line-height:1.65}
#lesson1 .task-breakdown strong span{display:block;margin-bottom:8px;font-size:14px;color:var(--tm-light,#256b59);font-variant-numeric:tabular-nums}
#lesson1 .task-breakdown p{font-size:17px;line-height:1.85;margin:12px 0 0}
#lesson1 .example-takeaway{border-top:1px solid var(--tm-line,#dae6df);padding-top:20px;margin-bottom:0}
#lesson1 .benchmark-lesson{margin:36px 0}
#lesson1 .benchmark-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}
#lesson1 .benchmark-comparison>div{border-top:3px solid var(--tm-line,#dae6df);padding-top:16px;min-width:0}
#lesson1 .benchmark-comparison h4{font-size:18px;line-height:1.6;margin:0 0 12px}
#lesson1 .benchmark-comparison ul{padding-left:1.25em;margin:0;font-size:17px;line-height:1.85}
#lesson1 .benchmark-comparison li+li{margin-top:8px}
#lesson1 .work-prompts{display:grid;gap:0;margin:24px 0;border-top:1px solid var(--tm-line,#dae6df);font-size:16px;line-height:1.8}
#lesson1 .work-prompts>div{display:grid;grid-template-columns:5em minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid var(--tm-line,#dae6df)}
#lesson1 .work-prompts dt{font-weight:700}#lesson1 .work-prompts dd{margin:0}
#lesson1 #note1{min-height:280px;line-height:1.8}
#lesson1 .work-check{margin:28px 0;padding:24px;border:1px solid var(--tm-line,#dae6df);border-radius:12px}
#lesson1 .work-check h3{margin-top:0}#lesson1 .work-check h4{font-size:18px;margin:24px 0 8px}
#lesson1 .work-check ul{padding-left:1.25em;line-height:1.85}#lesson1 .work-check li+li{margin-top:10px}
#lesson1 .check-next{margin-bottom:0;font-size:15px;color:var(--tm-muted,#55665a)}
#lesson1 :is(.task-example,.benchmark-lesson,.work-check):target{outline:2px solid var(--tm-light,#256b59);outline-offset:4px}
#lesson1 a:focus-visible,.lesson-one-application a:focus-visible{outline:3px solid var(--tm-light,#256b59);outline-offset:4px}
.teaching-module .lesson-one-application{margin:24px 0 0;padding:18px 20px;border-left:3px solid var(--tm-orange,#a4502d);background:var(--tm-bg,#fff)}
.teaching-module .lesson-one-application>strong{font-size:14px;color:var(--tm-light,#256b59)}
.teaching-module .lesson-one-application p{font-size:16px;line-height:1.85;margin:10px 0 6px;max-width:55ch}
.teaching-module .lesson-one-application a{display:inline-flex;align-items:center;min-height:44px;font-size:15px;line-height:1.6;text-underline-offset:4px}
@media(max-width:650px){#lesson1 .task-example,#lesson1 .work-check{padding:18px}#lesson1 .task-breakdown,#lesson1 .benchmark-comparison{grid-template-columns:1fr;gap:14px}#lesson1 .task-breakdown li{padding:16px}#lesson1 .task-breakdown p{font-size:16px}#lesson1 .unit-outcome{padding:14px 16px}#lesson1 .unit-route{gap:4px 16px}.teaching-module .lesson-one-application{padding:16px}}

/* Unit 02: explicit handoffs, checks, and resumable steps. */
#lesson2 .unit-outcome{max-width:44em;padding:16px 20px;border-left:3px solid var(--tm-orange,#a4502d);background:var(--tm-panel,#fff);font-size:17px;line-height:1.85}
#lesson2 .unit-route{display:flex;flex-wrap:wrap;gap:8px 22px;margin:18px 0 30px;padding:0}
#lesson2 .unit-route a{display:inline-flex;align-items:center;min-height:44px;font-size:15px;line-height:1.6;text-underline-offset:4px}
#lesson2 .workflow-example{padding:24px;border:1px solid var(--tm-line,#dae6df);border-radius:12px}
#lesson2 .example-label{margin:0 0 8px;font-size:14px;color:var(--tm-light,#256b59);font-weight:700}
#lesson2 .workflow-example>h3{margin:0 0 16px;line-height:1.5}
#lesson2 .handoff-flow{list-style:none;display:grid;gap:24px;padding:0;margin:28px 0}
#lesson2 .handoff-flow>li{border:1px solid var(--tm-line,#dae6df);border-radius:10px;padding:22px;background:var(--tm-bg,#fff);min-width:0}
#lesson2 .flow-step-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 16px;border-bottom:1px solid var(--tm-line,#dae6df);padding-bottom:16px}
#lesson2 .flow-step-heading>span{font-size:14px;font-weight:700;color:var(--tm-light,#256b59);white-space:nowrap}
#lesson2 .flow-step-heading h4{margin:0;font-size:21px;line-height:1.5}
#lesson2 .handoff-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 28px;margin:22px 0 0}
#lesson2 .handoff-fields dt{font-size:14px;font-weight:700;color:var(--tm-light,#256b59);margin-bottom:6px}
#lesson2 .handoff-fields dd{margin:0;font-size:17px;line-height:1.85}
#lesson2 .flow-pause{margin-top:22px;padding:16px 18px;border-left:3px solid var(--tm-orange,#a4502d);background:var(--tm-panel,#fff)}
#lesson2 .flow-pause strong{font-size:16px;line-height:1.7}#lesson2 .flow-pause p{margin:8px 0 0;font-size:16px;line-height:1.85}
#lesson2 .flow-takeaway{margin:0;padding-top:20px;border-top:1px solid var(--tm-line,#dae6df)}
#lesson2 .collaboration-modes{margin:36px 0}#lesson2 .mode-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}
#lesson2 .mode-cards>div{min-width:0;border-top:3px solid var(--tm-line,#dae6df);padding-top:16px}
#lesson2 .mode-cards dt{font-size:17px;line-height:1.7;font-weight:700}#lesson2 .mode-cards dd{font-size:16px;line-height:1.85;margin:12px 0 0}
#lesson2 .flow-writing-guide{margin:24px 0;font-size:16px;line-height:1.8;border-top:1px solid var(--tm-line,#dae6df)}
#lesson2 .flow-writing-guide>div{display:grid;grid-template-columns:5em minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid var(--tm-line,#dae6df)}
#lesson2 .flow-writing-guide dt{font-weight:700}#lesson2 .flow-writing-guide dd{margin:0}
#lesson2 #note2{min-height:320px;line-height:1.8}
#lesson2 .flow-self-check{margin:28px 0;padding:24px;border:1px solid var(--tm-line,#dae6df);border-radius:12px}
#lesson2 .flow-self-check h3{margin-top:0}#lesson2 .flow-self-check h4{font-size:18px;margin:24px 0 8px}
#lesson2 .flow-self-check ul{padding-left:1.25em;line-height:1.85}#lesson2 .flow-self-check li+li{margin-top:10px}
#lesson2 .check-next{margin-bottom:0;font-size:15px;color:var(--tm-muted,#55665a)}
#lesson2 :is(.workflow-example,.collaboration-modes,.flow-self-check):target{outline:2px solid var(--tm-light,#256b59);outline-offset:4px}
#lesson2 a:focus-visible,.lesson-two-application a:focus-visible{outline:3px solid var(--tm-light,#256b59);outline-offset:4px}
.teaching-module .lesson-two-application{margin:24px 0 0;padding:18px 20px;border-left:3px solid var(--tm-orange,#a4502d);background:var(--tm-bg,#fff)}
.teaching-module .lesson-two-application>strong{font-size:14px;color:var(--tm-light,#256b59)}
.teaching-module .lesson-two-application p{font-size:16px;line-height:1.85;margin:10px 0 6px;max-width:55ch}
.teaching-module .lesson-two-application a{display:inline-flex;align-items:center;min-height:44px;font-size:15px;line-height:1.6;text-underline-offset:4px}
@media(max-width:760px){#lesson2 .mode-cards{grid-template-columns:1fr;gap:20px}}
@media(max-width:650px){#lesson2 .workflow-example,#lesson2 .flow-self-check{padding:18px}#lesson2 .handoff-flow>li{padding:16px}#lesson2 .handoff-fields{grid-template-columns:1fr;gap:18px}#lesson2 .handoff-fields dd{font-size:16px}#lesson2 .flow-step-heading h4{font-size:19px}#lesson2 .flow-pause{padding:14px}#lesson2 .unit-outcome{padding:14px 16px}#lesson2 .unit-route{gap:4px 16px}.teaching-module .lesson-two-application{padding:16px}}

/* Unit 03: compare the same task, then keep evidence of the revision. */
#lesson3 .unit-outcome{max-width:44em;padding:16px 20px;border-left:3px solid var(--tm-orange,#a4502d);background:var(--tm-panel,#fff);font-size:17px;line-height:1.85}
#lesson3 .unit-route{display:flex;flex-wrap:wrap;gap:8px 22px;margin:18px 0 30px;padding:0}
#lesson3 .unit-route a{display:inline-flex;align-items:center;min-height:44px;font-size:15px;line-height:1.6;text-underline-offset:4px}
#lesson3 .task-change-example{padding:24px;border:1px solid var(--tm-line,#dae6df);border-radius:12px}
#lesson3 .example-label{margin:0 0 8px;font-size:14px;color:var(--tm-light,#256b59);font-weight:700}
#lesson3 .task-change-example>h3{margin:0 0 16px;line-height:1.5}
#lesson3 :is(.activity-brief,.task-inventory-guide,.inventory-example dl,.revision-proof){margin:24px 0;border-top:1px solid var(--tm-line,#dae6df);font-size:16px;line-height:1.85}
#lesson3 :is(.activity-brief,.task-inventory-guide,.inventory-example dl,.revision-proof)>div{display:grid;grid-template-columns:6em minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid var(--tm-line,#dae6df)}
#lesson3 dt{font-weight:700}#lesson3 dd{margin:0}
#lesson3 .task-change-list{list-style:none;display:grid;gap:22px;padding:0;margin:28px 0}
#lesson3 .task-change-list>li{min-width:0;border:1px solid var(--tm-line,#dae6df);border-radius:10px;padding:22px;background:var(--tm-bg,#fff)}
#lesson3 .task-change-list h4{font-size:21px;line-height:1.5;margin:0 0 22px}#lesson3 .task-change-list h4 span{font-size:14px;color:var(--tm-light,#256b59);margin-right:10px;white-space:nowrap}
#lesson3 .before-after{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:0}
#lesson3 .before-after dt{font-size:14px;color:var(--tm-light,#256b59);margin-bottom:8px}#lesson3 .before-after dd{font-size:17px;line-height:1.85}
#lesson3 .ability-link{margin:20px 0 0;padding-top:16px;border-top:1px solid var(--tm-line,#dae6df);font-size:16px;line-height:1.85}
#lesson3 .draft-workshop{margin-top:32px}#lesson3 .draft-workshop h4,#lesson3 .inventory-example h4,#lesson3 .tryout-guide h4{font-size:19px;line-height:1.6;margin:0 0 16px}
#lesson3 .draft-examples{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0;padding:0}
#lesson3 .draft-examples li{min-width:0;border:1px solid var(--tm-line,#dae6df);border-radius:8px;padding:16px;background:var(--tm-bg,#fff)}
#lesson3 .draft-examples strong{font-size:14px;color:var(--tm-light,#256b59)}#lesson3 .draft-examples p{font-size:16px;line-height:1.85;margin:10px 0 0}
#lesson3 .change-takeaway{margin:0;padding-top:20px;border-top:1px solid var(--tm-line,#dae6df)}
#lesson3 .evidence-reading{margin:36px 0}#lesson3 .evidence-types{display:grid;gap:20px;margin:24px 0}#lesson3 .evidence-types>div{border-left:3px solid var(--tm-orange,#a4502d);padding:4px 0 4px 20px}
#lesson3 .evidence-types dt{font-size:18px;line-height:1.7;margin-bottom:8px}#lesson3 .evidence-types dd{font-size:17px;line-height:1.85;max-width:44em}
#lesson3 .inventory-example{padding:20px;margin:24px 0;border:1px solid var(--tm-line,#dae6df);border-radius:8px}
#lesson3 .inventory-example dl{margin-bottom:0}#lesson3 .tryout-guide{padding:24px 0;border-top:1px solid var(--tm-line,#dae6df);margin-top:24px}
#lesson3 .tryout-guide ol{padding-left:1.3em;line-height:1.85}#lesson3 .tryout-guide li+li{margin-top:12px}#lesson3 #note3{min-height:360px;line-height:1.8}
#lesson3 .task-self-check{margin:28px 0;padding:24px;border:1px solid var(--tm-line,#dae6df);border-radius:12px}
#lesson3 .task-self-check h3{margin-top:0}#lesson3 .task-self-check h4{font-size:18px;margin:24px 0 8px}#lesson3 .task-self-check ul{padding-left:1.25em;line-height:1.85}#lesson3 .task-self-check li+li{margin-top:10px}
#lesson3 .check-next{margin-bottom:0;font-size:15px;color:var(--tm-muted,#55665a)}
#lesson3 :is(.task-change-example,.task-change-list>li,.draft-workshop,.evidence-reading):target{outline:2px solid var(--tm-light,#256b59);outline-offset:4px}
#lesson3 a:focus-visible,.lesson-three-application a:focus-visible{outline:3px solid var(--tm-light,#256b59);outline-offset:4px}
.teaching-module .lesson-three-application{margin:24px 0 0;padding:18px 20px;border-left:3px solid var(--tm-orange,#a4502d);background:var(--tm-bg,#fff)}
.teaching-module .lesson-three-application>strong{font-size:14px;color:var(--tm-light,#256b59)}.teaching-module .lesson-three-application p{font-size:16px;line-height:1.85;margin:10px 0 6px;max-width:55ch}
.teaching-module .lesson-three-application a{display:inline-flex;align-items:center;min-height:44px;font-size:15px;line-height:1.6;text-underline-offset:4px}
@media(max-width:760px){#lesson3 .draft-examples{grid-template-columns:1fr}}
@media(max-width:650px){#lesson3 .task-change-example,#lesson3 .task-self-check{padding:18px}#lesson3 .task-change-list>li,#lesson3 .inventory-example{padding:16px}#lesson3 .before-after{grid-template-columns:1fr;gap:18px}#lesson3 .before-after dd,#lesson3 .evidence-types dd{font-size:16px}#lesson3 :is(.activity-brief,.task-inventory-guide,.inventory-example dl,.revision-proof)>div{grid-template-columns:1fr;gap:5px}#lesson3 .task-change-list h4{font-size:19px}#lesson3 .unit-outcome{padding:14px 16px}#lesson3 .unit-route{gap:4px 16px}.teaching-module .lesson-three-application{padding:16px}}

/* Unit 04: show a complete prompt, then ask, inspect, and revise. */
#lesson4 .unit-outcome{max-width:44em;padding:16px 20px;border-left:3px solid var(--tm-orange,#a4502d);background:var(--tm-panel,#fff);font-size:17px;line-height:1.85}
#lesson4 .unit-route{display:flex;flex-wrap:wrap;gap:8px 22px;margin:18px 0 30px;padding:0}
#lesson4 .unit-route a{display:inline-flex;align-items:center;min-height:44px;font-size:15px;line-height:1.6;text-underline-offset:4px}
#lesson4 :is(.prompt-example,.prompt-self-check){padding:24px;border:1px solid var(--tm-line,#dae6df);border-radius:12px}
#lesson4 .example-label{margin:0 0 8px;font-size:14px;color:var(--tm-light,#256b59);font-weight:700;line-height:1.7}
#lesson4 :is(.prompt-example,.dialogue-example,.prompt-self-check)>h3{margin-top:0;line-height:1.5}
#lesson4 .prompt-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:28px 0}
#lesson4 .prompt-fields>div{min-width:0;border:1px solid var(--tm-line,#dae6df);border-radius:8px;padding:18px;background:var(--tm-bg,#fff)}
#lesson4 .prompt-fields dt{font-size:17px;font-weight:700;line-height:1.7}
#lesson4 .prompt-fields dt span{display:block;font-size:14px;color:var(--tm-light,#256b59);margin-bottom:8px}
#lesson4 .prompt-fields dd{margin:12px 0 0;font-size:16px;line-height:1.85}
#lesson4 .field-distinction{border-left:3px solid var(--tm-orange,#a4502d);padding-left:18px;font-size:16px;line-height:1.85}
#lesson4 .prompt-copy{margin-top:32px}#lesson4 .prompt-copy h4,#lesson4 .prompt-record h4{font-size:19px;line-height:1.6;margin:0 0 14px}
#lesson4 .prompt-copy>p{font-size:15px;line-height:1.8}
#lesson4 .prompt-copy blockquote{margin:18px 0 0;border-left:3px solid var(--tm-orange,#a4502d);padding:18px 22px;background:var(--tm-bg,#fff)}
#lesson4 .prompt-copy blockquote p{font-size:17px;line-height:1.85;margin:0;max-width:44em}#lesson4 .prompt-copy blockquote p+p{margin-top:16px}
#lesson4 .dialogue-example{margin:40px 0}
#lesson4 .dialogue-rounds{list-style:none;display:grid;gap:24px;margin:28px 0;padding:0}
#lesson4 .dialogue-rounds>li{min-width:0;padding:22px;border:1px solid var(--tm-line,#dae6df);border-radius:10px;background:var(--tm-panel,#fff)}
#lesson4 .dialogue-rounds h4{margin:0 0 20px;font-size:21px;line-height:1.5}
#lesson4 .dialogue-rounds h4>span{display:block;font-size:14px;color:var(--tm-light,#256b59);margin-bottom:8px}
#lesson4 .dialogue-rounds dl{display:grid;gap:18px;margin:0}
#lesson4 .dialogue-rounds dl>div{display:grid;grid-template-columns:8em minmax(0,1fr);gap:20px;padding-top:16px;border-top:1px solid var(--tm-line,#dae6df)}
#lesson4 .dialogue-rounds dt{font-size:15px;line-height:1.8;font-weight:700;color:var(--tm-light,#256b59)}
#lesson4 .dialogue-rounds dd{margin:0;font-size:17px;line-height:1.85}
#lesson4 .timed-plan{margin:0;padding-left:1.3em}#lesson4 .timed-plan li+li{margin-top:10px}
#lesson4 .dialogue-takeaway{padding:18px 0;border-top:1px solid var(--tm-line,#dae6df)}
#lesson4 .prompt-practice{padding-left:1.3em;line-height:1.85}#lesson4 .prompt-practice li+li{margin-top:16px}
#lesson4 .prompt-record{margin:24px 0;padding:20px;border:1px solid var(--tm-line,#dae6df);border-radius:8px}
#lesson4 .prompt-record p{font-size:16px;line-height:1.85}#lesson4 .prompt-record p:last-child{margin-bottom:0}
#lesson4 #note4{min-height:360px;line-height:1.8}
#lesson4 .prompt-self-check{margin:28px 0}#lesson4 .prompt-self-check ul{padding-left:1.25em;line-height:1.85}#lesson4 .prompt-self-check li+li{margin-top:10px}
#lesson4 .prompt-self-check h4{font-size:18px;margin:24px 0 8px}
#lesson4 .check-next{margin-bottom:0;font-size:15px;color:var(--tm-muted,#55665a)}
#lesson4 :is(.prompt-example,.prompt-fields,.prompt-copy,.dialogue-example):target{outline:2px solid var(--tm-light,#256b59);outline-offset:4px}
#lesson4 a:focus-visible,.lesson-four-application a:focus-visible{outline:3px solid var(--tm-light,#256b59);outline-offset:4px}
.teaching-module .lesson-four-application{margin:24px 0 0;padding:18px 20px;border-left:3px solid var(--tm-orange,#a4502d);background:var(--tm-bg,#fff)}
.teaching-module .lesson-four-application>strong{font-size:14px;color:var(--tm-light,#256b59)}
.teaching-module .lesson-four-application p{font-size:16px;line-height:1.85;margin:10px 0 6px;max-width:55ch}
.teaching-module .lesson-four-application a{display:inline-flex;align-items:center;min-height:44px;font-size:15px;line-height:1.6;text-underline-offset:4px}
@media(max-width:760px){#lesson4 .prompt-fields{grid-template-columns:1fr}}
@media(max-width:650px){#lesson4 .prompt-example,#lesson4 .prompt-self-check{padding:18px}#lesson4 .prompt-fields>div,#lesson4 .dialogue-rounds>li,#lesson4 .prompt-record{padding:16px}#lesson4 .dialogue-rounds dl>div{grid-template-columns:1fr;gap:8px}#lesson4 .dialogue-rounds h4{font-size:19px}#lesson4 .dialogue-rounds dd,#lesson4 .prompt-copy blockquote p{font-size:16px}#lesson4 .prompt-copy blockquote{padding:16px}#lesson4 .unit-outcome{padding:14px 16px}#lesson4 .unit-route{gap:4px 16px}.teaching-module .lesson-four-application{padding:16px}}
/* Unit 05: source, first answer, feedback, and independent recall. */
#lesson5 .unit-outcome{max-width:44em;padding:16px 20px;border-left:3px solid var(--tm-orange,#a4502d);background:var(--tm-panel,#fff);font-size:17px;line-height:1.85}
#lesson5 .unit-route{display:flex;flex-wrap:wrap;gap:8px 22px;margin:18px 0 30px;padding:0}
#lesson5 .unit-route a{display:inline-flex;align-items:center;min-height:44px;font-size:15px;line-height:1.6;text-underline-offset:4px}
#lesson5 :is(.learning-source,.learning-check){padding:24px;border:1px solid var(--tm-line,#dae6df);border-radius:12px}
#lesson5 .example-label{margin:0 0 8px;font-size:14px;color:var(--tm-light,#256b59);font-weight:700;line-height:1.7}
#lesson5 :is(.learning-source,.learning-example,.learning-check)>h3{margin-top:0;line-height:1.5}
#lesson5 .source-sentences{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0;padding:0}
#lesson5 .source-sentences>li{min-width:0;padding:18px;border-top:3px solid var(--tm-orange,#a4502d);background:var(--tm-panel,#fff)}
#lesson5 .source-sentences strong{font-size:16px;line-height:1.6}
#lesson5 .source-sentences p{margin:10px 0 0;font-size:16px;line-height:1.85}
#lesson5 .source-context{font-size:15px;line-height:1.85}
#lesson5 :is(.starter-questions,.learning-practice){padding-left:1.3em;line-height:1.85}#lesson5 :is(.starter-questions,.learning-practice)>li+li{margin-top:14px}
#lesson5 :is(.learning-source,.learning-record) h4{font-size:19px;line-height:1.6;margin:24px 0 14px}
#lesson5 .source-setup,#lesson5 .learning-example,#lesson5 .language-transfer{margin:36px 0}
#lesson5 .source-setup blockquote{margin:20px 0;border-left:3px solid var(--tm-orange,#a4502d);padding:18px 22px;background:var(--tm-panel,#fff)}
#lesson5 .source-setup blockquote p{margin:0;font-size:17px;line-height:1.85;max-width:44em}
#lesson5 .answer-cases{list-style:none;display:grid;gap:24px;margin:28px 0;padding:0}
#lesson5 .answer-cases>li{min-width:0;padding:22px;border:1px solid var(--tm-line,#dae6df);border-radius:10px;background:var(--tm-panel,#fff)}
#lesson5 .answer-cases h4{margin:0 0 20px;font-size:21px;line-height:1.5}
#lesson5 .answer-cases h4 span{display:block;font-size:14px;color:var(--tm-light,#256b59);margin-bottom:8px}
#lesson5 .answer-cases dl{display:grid;gap:16px;margin:0}
#lesson5 .answer-cases dl>div{display:grid;grid-template-columns:6em minmax(0,1fr);gap:20px;padding-top:14px;border-top:1px solid var(--tm-line,#dae6df)}
#lesson5 .answer-cases dt{font-size:15px;line-height:1.8;font-weight:700;color:var(--tm-light,#256b59)}
#lesson5 .answer-cases dd{margin:0;font-size:17px;line-height:1.85}
#lesson5 .answer-cases a{display:inline-flex;align-items:center;min-height:44px}
#lesson5 .learning-takeaway{padding-top:20px;border-top:1px solid var(--tm-line,#dae6df)}
#lesson5 .translation-pair{margin:24px 0;border-top:1px solid var(--tm-line,#dae6df)}
#lesson5 .translation-pair>div{display:grid;grid-template-columns:9em minmax(0,1fr);gap:18px;padding:16px 0;border-bottom:1px solid var(--tm-line,#dae6df)}
#lesson5 .translation-pair dt{font-weight:700;font-size:16px;line-height:1.8}#lesson5 .translation-pair dd{margin:0;font-size:17px;line-height:1.85}
#lesson5 .learning-record{margin:24px 0;padding:20px;border:1px solid var(--tm-line,#dae6df);border-radius:8px}
#lesson5 .learning-record h4{margin-top:0}#lesson5 .learning-record p{font-size:16px;line-height:1.85}#lesson5 .learning-record p:last-child{margin-bottom:0}
#lesson5 #note5{min-height:360px;line-height:1.8}
#lesson5 .learning-check{margin:28px 0}#lesson5 .learning-check ul{padding-left:1.25em;line-height:1.85}#lesson5 .learning-check li+li{margin-top:10px}
#lesson5 .learning-check h4{font-size:18px;margin:24px 0 8px}#lesson5 .check-next{margin-bottom:0;font-size:15px;color:var(--tm-muted,#55665a)}
#lesson5 :is(.learning-source,.source-sentences>li,.learning-example,.language-transfer):target{outline:2px solid var(--tm-light,#256b59);outline-offset:4px}
#lesson5 a:focus-visible,.lesson-five-application a:focus-visible{outline:3px solid var(--tm-light,#256b59);outline-offset:4px}
.teaching-module .lesson-five-application{margin:24px 0 0;padding:18px 20px;border-left:3px solid var(--tm-orange,#a4502d);background:var(--tm-bg,#fff)}
.teaching-module .lesson-five-application>strong{font-size:14px;color:var(--tm-light,#256b59)}
.teaching-module .lesson-five-application p{font-size:16px;line-height:1.85;margin:10px 0 6px;max-width:55ch}
.teaching-module .lesson-five-application a{display:inline-flex;align-items:center;min-height:44px;font-size:15px;line-height:1.6;text-underline-offset:4px}
@media(max-width:760px){#lesson5 .source-sentences{grid-template-columns:1fr}}
@media(max-width:650px){#lesson5 .learning-source,#lesson5 .learning-check{padding:18px}#lesson5 .answer-cases>li,#lesson5 .learning-record{padding:16px}#lesson5 .answer-cases dl>div,#lesson5 .translation-pair>div{grid-template-columns:1fr;gap:6px}#lesson5 .answer-cases h4{font-size:19px}#lesson5 .answer-cases dd,#lesson5 .source-setup blockquote p,#lesson5 .translation-pair dd{font-size:16px}#lesson5 .unit-outcome{padding:14px 16px}#lesson5 .unit-route{gap:4px 16px}.teaching-module .lesson-five-application{padding:16px}}

/* Unit 06: plan, trial, evidence, next decision. */
#lesson6 .unit-outcome{max-width:44em;padding:16px 20px;border-left:3px solid var(--tm-orange);background:var(--tm-panel);font-size:17px;line-height:1.85}
#lesson6 .unit-route{display:flex;flex-wrap:wrap;gap:8px 22px;margin:18px 0 30px}
#lesson6 .unit-route a,#lesson6 .revision-cases a,.lesson-six-application a{display:inline-flex;align-items:center;min-height:44px;text-underline-offset:4px}
#lesson6 :is(.collab-card,.collab-trial,.collab-check){margin:32px 0;padding:24px;border:1px solid var(--tm-line);border-radius:12px}
#lesson6 .example-label{margin:0 0 8px;color:var(--tm-light);font-size:14px;line-height:1.7;font-weight:700}
#lesson6 :is(.collab-card,.collab-trial,.collab-check)>h3{margin-top:0}
#lesson6 .card-group,#lesson6 .trial-step{margin:28px 0 0;padding-top:22px;border-top:1px solid var(--tm-line)}
#lesson6 h4{font-size:21px;line-height:1.55;margin:0 0 18px}#lesson6 h5{font-size:18px;line-height:1.6;margin:0 0 16px}
#lesson6 dl{margin:0}#lesson6 dl>div{display:grid;grid-template-columns:8em minmax(0,1fr);gap:20px;padding:16px 0;border-top:1px solid var(--tm-line)}
#lesson6 dt{font-weight:700;color:var(--tm-light);font-size:16px;line-height:1.85}#lesson6 dd{margin:0;font-size:17px;line-height:1.85;overflow-wrap:anywhere}
#lesson6 .collab-flow{margin:36px 0}#lesson6 .collab-flow ol{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0}
#lesson6 .collab-flow li{padding:20px;background:var(--tm-panel);border-left:3px solid var(--tm-orange)}#lesson6 .collab-flow span{display:block;margin-top:10px;font-size:16px;line-height:1.85}
#lesson6 blockquote{margin:20px 0;padding:18px 22px;border-left:3px solid var(--tm-orange);background:var(--tm-panel)}#lesson6 blockquote p{margin:0;font-size:17px;line-height:1.85}
#lesson6 .revision-cases{list-style:none;padding:0;display:grid;gap:22px}#lesson6 .revision-cases>li{padding:20px;background:var(--tm-panel);border:1px solid var(--tm-line);border-radius:8px}
#lesson6 .collab-practice,#lesson6 .collab-check ul{padding-left:1.25em;line-height:1.85}#lesson6 .collab-practice li+li,#lesson6 .collab-check li+li{margin-top:14px}
#lesson6 .collab-record{margin:24px 0;padding:20px;border:1px solid var(--tm-line);border-radius:8px}#lesson6 .copy-template{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.9}
#lesson6 #note6{min-height:380px;font-size:16px;line-height:1.85}#lesson6 .check-next{font-size:15px;color:var(--tm-muted)}#lesson6 .collab-check h4{margin-top:24px}
#lesson6 :is(.card-group,.collab-card,.collab-flow,.collab-trial,.trial-step):target{outline:2px solid var(--tm-light);outline-offset:4px}
#lesson6 a:focus-visible,.lesson-six-application a:focus-visible{outline:3px solid var(--tm-light);outline-offset:4px}
.teaching-module .lesson-six-application{margin:24px 0 0;padding:18px 20px;border-left:3px solid var(--tm-orange);background:var(--tm-bg)}.lesson-six-application>strong{font-size:14px;color:var(--tm-light)}.teaching-module .lesson-six-application p{font-size:16px;line-height:1.85;margin:10px 0 6px;max-width:55ch}.lesson-six-application a{font-size:15px;line-height:1.6}
@media(max-width:650px){#lesson6 :is(.collab-card,.collab-trial,.collab-check){padding:18px}#lesson6 dl>div{grid-template-columns:1fr;gap:6px}#lesson6 dd,#lesson6 blockquote p{font-size:16px}#lesson6 .collab-flow ol{grid-template-columns:1fr}#lesson6 .revision-cases>li,#lesson6 .collab-record{padding:16px}#lesson6 h4{font-size:19px}#lesson6 .unit-outcome{padding:14px 16px}}

/* Table reading: context before figures and stable row labels while scrolling. */
.teaching-module .table-reading{margin:24px 0 18px;padding:16px 18px;border-left:3px solid var(--tm-orange,#a4502d);background:var(--tm-bg,#fff)}
.teaching-module .table-reading>strong{color:var(--tm-light,#256b59);font-size:15px;line-height:1.7}
.teaching-module .table-reading p{margin:8px 0 0;font-size:16px;line-height:1.85;max-width:48em}
.teaching-module .table-scroll-help,.teaching-module .table-condition-note{font-size:15px;line-height:1.8;margin:14px 0;color:var(--tm-muted,#55665a)}
body.tmars-lesson .teaching-module .table-wrap caption{caption-side:top;text-align:left;padding:14px 12px;font-size:16px;font-weight:700;line-height:1.7;color:var(--tm-white,#172019);background:var(--tm-panel,#fff)}
body.tmars-lesson .teaching-module .benchmark-table table{table-layout:fixed;border-collapse:separate;border-spacing:0;min-width:850px}
body.tmars-lesson #module-7 .benchmark-table table{min-width:980px}
body.tmars-lesson .teaching-module .benchmark-table :is(th,td){width:130px;white-space:normal;overflow-wrap:anywhere;font-size:15px;padding:12px 10px}
body.tmars-lesson .teaching-module .benchmark-table tr>:first-child{position:sticky;left:0;z-index:1;width:132px;background:var(--tm-panel,#fff)!important;border-right:2px solid var(--tm-line,#dae6df)}
body.tmars-lesson .teaching-module .benchmark-table .row-condition{display:block;margin-top:8px;font-size:14px;line-height:1.6;font-weight:400;color:var(--tm-light,#256b59)}
body.tmars-lesson .teaching-module .table-wrap:not(.benchmark-table) th:first-child{width:48%}
body.tmars-lesson .teaching-module .table-wrap:not(.benchmark-table) :is(th,td){font-size:16px;overflow-wrap:anywhere}
@media(max-width:650px){.teaching-module .table-reading{padding:14px}.teaching-module .table-scroll-help{font-size:14px}body.tmars-lesson .teaching-module .benchmark-table tr>:first-child{width:112px}body.tmars-lesson .teaching-module .benchmark-table :is(th,td){padding:12px 8px}.teaching-module .table-wrap caption{font-size:15px}}

/* Keep the table title readable within narrow scrolling regions. */
.benchmark-table caption span{display:block;position:sticky;left:0;max-width:min(70ch,calc(100vw - 108px));white-space:normal}

/* Distinguish sequential practice from parallel comparisons. */
.teaching-module .diagram-reading{max-width:48em;font-size:16px;line-height:1.85;margin:0 0 22px;color:var(--tm-white)}
.teaching-module .diagram-flow{list-style:none;display:grid;gap:30px;padding:0;margin:0 0 28px;max-width:48em}
.teaching-module .diagram-flow>li{position:relative;padding:18px 20px;border:1px solid var(--tm-line);border-left:3px solid var(--tm-orange);border-radius:8px;background:var(--tm-bg);scroll-margin-top:calc(var(--tm-header-height,126px) + 86px)}
.teaching-module .diagram-flow>li:not(:last-child)::after{content:'↓';position:absolute;left:25px;bottom:-29px;line-height:28px;font-size:22px;color:var(--tm-light)}
.diagram-step-title{display:flex;align-items:baseline;gap:14px}.diagram-step-title>span{font-size:14px;font-variant-numeric:tabular-nums;color:var(--tm-light)}.diagram-step-title>strong{font-size:18px;line-height:1.6}
.teaching-module .diagram-flow p{margin:8px 0 0 34px;font-size:16px;line-height:1.85;color:var(--tm-white)}
.diagram-note-label{display:block;font-size:14px;font-weight:700;color:var(--tm-light);margin-bottom:4px}.diagram-branch{display:block;margin-top:8px}.diagram-flow a{display:inline-block;min-height:44px;line-height:44px;text-underline-offset:4px}.diagram-flow a:focus-visible{outline:3px solid var(--tm-light);outline-offset:4px}
.teaching-module .diagram-comparison{list-style:none;display:grid;gap:16px;padding:0;margin:0 0 28px}
.diagram-comparison>li{min-width:0;padding:18px 20px;border:1px solid var(--tm-line);border-radius:8px;background:var(--tm-bg)}
.teaching-module .diagram-comparison h4{font-size:18px;line-height:1.6;margin:0 0 12px;color:var(--tm-white)}
.diagram-comparison dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0}.diagram-comparison dl>div{min-width:0}.diagram-comparison dl>div+div{border-left:2px solid var(--tm-orange);padding-left:20px}
.diagram-comparison dt{font-size:14px;color:var(--tm-light);margin:0 0 5px}.diagram-comparison dd{font-size:18px;line-height:1.7;margin:0;color:var(--tm-white);overflow-wrap:anywhere}
@media(max-width:650px){.diagram-comparison dl{grid-template-columns:1fr;gap:14px}.diagram-comparison dl>div+div{border-left:0;border-top:1px solid var(--tm-line);padding:12px 0 0}.diagram-comparison>li{padding:16px}.teaching-module .diagram-flow>li{padding:16px}.teaching-module .diagram-flow p{margin-left:0}.diagram-step-title{gap:10px}.teaching-module .diagram-flow>li:not(:last-child)::after{left:20px}}
.diagram-step-title>span{flex:0 0 2ch;white-space:nowrap}

/* Practice feedback stays adjacent to the work and never implies a failed save succeeded. */
body.tmars-lesson .lesson .note-controls{margin-top:16px;border-top:1px solid var(--tm-line);padding-top:16px}
body.tmars-lesson .lesson :is(.note-status,.note-action-status,.completion-status){font-size:16px;line-height:1.8;max-width:48em;overflow-wrap:anywhere;margin:0 0 12px;color:var(--tm-white)}
body.tmars-lesson .lesson .note-action-status:empty{display:none}
body.tmars-lesson .lesson .note-actions{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}
body.tmars-lesson .lesson :is(.note-actions,.completion-controls) button{min-height:44px;max-width:100%;white-space:normal;text-align:left;font-size:16px;line-height:1.6;padding:10px 16px;border:1px solid var(--tm-orange);border-radius:8px}
body.tmars-lesson .lesson .note-actions button[hidden]{display:none}
body.tmars-lesson .lesson :is(.note-actions,.completion-controls) button:focus-visible,body.tmars-lesson .lesson textarea:focus-visible{outline:3px solid var(--tm-light);outline-offset:4px}
body.tmars-lesson .lesson [data-state="error"]{border-left:3px solid var(--tm-orange);padding:10px 14px;background:var(--tm-bg);font-weight:600}
body.tmars-lesson .lesson .completion-controls{margin-top:22px;max-width:48em}
body.tmars-lesson .lesson .completion-status{margin-top:12px}
body.tmars-lesson .lesson [aria-pressed="true"]{border-color:var(--tm-light)}
@media(max-width:650px){body.tmars-lesson .lesson .note-actions{flex-direction:column;align-items:stretch}body.tmars-lesson .lesson .completion-controls>button{width:100%}}

/* Self-review: evidence, revision paths, and answers after recall. */
body.tmars-lesson .lesson .assessment-check .review-instruction{font-size:16px;line-height:1.85;padding-bottom:18px;margin:0 0 20px;border-bottom:1px solid var(--tm-line);color:var(--tm-muted)}
body.tmars-lesson .lesson .assessment-check .answer-instruction{font-size:15px;line-height:1.8;color:var(--tm-muted);margin:12px 0}
body.tmars-lesson .lesson .answer-review{margin:16px 0 22px;border:1px solid var(--tm-line);border-radius:8px;background:var(--tm-panel)}
body.tmars-lesson .lesson .answer-review>summary{display:list-item;list-style:disclosure-closed inside;cursor:pointer;min-height:48px;padding:14px 18px;font-size:16px;line-height:1.8;font-weight:700;color:var(--tm-white)}
body.tmars-lesson .lesson .answer-review[open]>summary{list-style-type:disclosure-open;border-bottom:1px solid var(--tm-line)}
body.tmars-lesson .lesson .answer-content{padding:18px;max-width:48em}
body.tmars-lesson .lesson .answer-content p{font-size:16px;line-height:1.85;margin:0 0 14px}
body.tmars-lesson .lesson .answer-content p:last-child{margin-bottom:0}
body.tmars-lesson .lesson .review-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin:24px 0 16px}
body.tmars-lesson .lesson .review-actions a{display:inline-flex;align-items:center;min-height:44px;padding:10px 0;font-size:16px;line-height:1.65;text-underline-offset:4px}
body.tmars-lesson .lesson .review-actions .review-edit{padding:10px 16px;border:1px solid var(--tm-orange);border-radius:8px;font-weight:700;text-decoration:none}
body.tmars-lesson .lesson .answer-review>summary:focus-visible,body.tmars-lesson .lesson .review-actions a:focus-visible{outline:3px solid var(--tm-light);outline-offset:4px}
body.tmars-lesson .lesson .review-records{margin:24px 0}
body.tmars-lesson .lesson .review-records article,body.tmars-lesson .lesson .review-example{padding:20px;margin:16px 0;border-left:3px solid var(--tm-orange);background:var(--tm-panel)}
body.tmars-lesson .lesson :is(.review-records,.review-example) h4{font-size:18px;line-height:1.6;margin:0 0 12px}
body.tmars-lesson .lesson :is(.review-records,.review-example) p{font-size:16px;line-height:1.85}
body.tmars-lesson .lesson .review-records ol{padding-left:1.3em;font-size:16px;line-height:1.85}
body.tmars-lesson .lesson .review-example-label{font-size:14px;color:var(--tm-light)}
@media(max-width:650px){body.tmars-lesson .lesson .review-actions{align-items:stretch;flex-direction:column;gap:4px}body.tmars-lesson .lesson .review-actions a{justify-content:flex-start}body.tmars-lesson .lesson .answer-review>summary{padding:12px 14px}body.tmars-lesson .lesson .answer-content{padding:16px}body.tmars-lesson .lesson .review-records article,body.tmars-lesson .lesson .review-example{padding:16px}}

/* Course-only mobile navigation and reading-to-writing routes. */
body.tmars-lesson .ai-course-chapters .ai-chapter-panel{max-height:calc(100dvh - var(--lx-header-height,126px) - 88px);overflow:auto;overscroll-behavior:contain;padding:4px 4px 16px;margin:0 -4px}
body.tmars-lesson .ai-chapter-panel .lx-chapter-links{max-height:none;overflow:visible}
.course-practice-shortcuts{margin:20px 0;padding:20px 0;border-block:1px solid var(--tm-line);font-size:16px}
.course-practice-shortcuts>p{font-size:14px;line-height:1.7;color:var(--tm-muted);margin:6px 0 12px}
.course-practice-shortcuts>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.course-practice-shortcuts a{display:flex;align-items:center;min-height:48px;padding:10px 12px;border:1px solid var(--tm-line);border-radius:6px;line-height:1.6;font-size:16px;text-decoration:none;color:var(--tm-light);background:var(--tm-bg);overflow-wrap:anywhere}
.ai-course-chapters .course-practice-shortcuts{margin:0;border-bottom:0;padding:16px 0 0}
body.tmars-lesson .diagram-index{margin:24px 0 32px;border:1px solid var(--tm-line);border-radius:10px;background:var(--tm-panel)}
body.tmars-lesson .diagram-index>summary{padding:16px;min-height:52px;font-size:18px;line-height:1.7;font-weight:700;cursor:pointer;color:var(--tm-light)}
.diagram-index nav{max-height:min(60dvh,36rem);overflow:auto;overscroll-behavior:contain;padding:4px 16px 16px}
.diagram-index ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;list-style:none;margin:0;padding:0}
.diagram-index li{min-width:0;margin:0;padding:0}
.diagram-index a{display:flex;gap:12px;align-items:baseline;min-height:48px;padding:12px;border:1px solid var(--tm-line);border-radius:6px;color:var(--tm-white);font-size:16px;line-height:1.7;text-decoration:none;overflow-wrap:anywhere}
.diagram-index a span{flex-shrink:0;color:var(--tm-light);font-variant-numeric:tabular-nums}
.tmars-lesson .lesson .material-note-link a,.tmars-lesson .lesson .material-links a,.tmars-lesson .lesson a.material-jump{display:inline-flex;align-items:center;min-height:44px;font-size:16px;line-height:1.7;padding:8px 0;text-underline-offset:4px}
.tmars-lesson .lesson .material-note-link a{padding:12px 16px;border:1px solid var(--tm-orange);border-radius:6px;font-weight:700;text-decoration:none}
.material-links{display:flex;flex-wrap:wrap;gap:8px 24px;margin:20px 0}
.course-practice-shortcuts a:focus-visible,.diagram-index :is(a,summary):focus-visible,.diagram-index-return:focus-visible,.material-note-link a:focus-visible,.material-jump:focus-visible,.course-focus-target:focus{outline:3px solid var(--tm-orange);outline-offset:4px}
@media(max-width:650px){.course-practice-shortcuts>div{grid-template-columns:repeat(2,minmax(0,1fr))}.diagram-index ol{grid-template-columns:1fr}.diagram-index nav{padding:4px 12px 12px}.diagram-index a{padding:12px 10px}.material-links{display:grid;gap:4px}#lesson1 .work-prompts>div,#lesson2 .flow-writing-guide>div{grid-template-columns:1fr;gap:4px;padding-block:12px}}

/* Keep the chapter overlay out of the reading flow. */
body.tmars-lesson .ai-course-chapters .ai-chapter-panel{position:absolute;top:100%;left:0;right:0;margin:0;padding:12px max(22px,4vw) 20px;background:var(--tm-panel,#111419);border-bottom:1px solid var(--tm-line);box-shadow:0 14px 28px #0006;max-height:calc(100dvh - var(--lx-anchor-offset,196px) - 12px)}
body.tmars-lesson .diagram-index nav{display:block;margin:0}
body.tmars-lesson .diagram-index ol{width:100%;max-width:none}
body.tmars-lesson .diagram-index .diagram-index-hint{margin:0;padding:0 16px 14px;font-size:15px;line-height:1.7;color:var(--tm-muted)}

/* Native navigation to the current fragment does not emit hashchange. */
body.tmars-lesson .exercise[id]{scroll-margin-top:var(--lx-anchor-offset,196px)}

/* Source readings stay adjacent to each diagram and selectable as text. */
.teaching-module .source-reading{display:grid;gap:0;margin:0 0 24px;padding:0;border:1px solid var(--tm-line,#dae6df);border-radius:8px;overflow:hidden}
.source-reading>div{padding:18px 20px;background:var(--tm-bg,#fff)}
.source-reading>div+div{border-top:1px solid var(--tm-line,#dae6df)}
.source-reading dt{font-size:17px;font-weight:700;line-height:1.65;color:var(--tm-light,#256b59);margin-bottom:8px}
.source-reading dd{margin:0;max-width:48em;font-size:17px;line-height:1.85;color:var(--tm-white,#24312e);overflow-wrap:anywhere}
@media(max-width:650px){.source-reading>div{padding:16px}.source-reading :is(dt,dd){font-size:16px}}

/* Reconstructed slide 31 keeps its two reading columns on wide screens. */
.teaching-module .slide-illustration-note{margin:0 0 18px;font-size:14px;line-height:1.6;color:var(--tm-muted,#5c6b67);overflow-wrap:anywhere}
@media(min-width:760px){.teaching-module .source-reading-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.teaching-module .source-reading-columns>div+div{border-top:0;border-left:1px solid var(--tm-line,#dae6df)}}
@media(min-width:1000px){#module-41 .module-points{grid-template-columns:repeat(3,minmax(0,1fr))}}
:is(#module-29,#module-31,#module-41) .module-reading-label span{font-size:14px}

/* Figure 07: keep both comparison keys opaque and readable while scores scroll. */
body.tmars-lesson #module-7 .benchmark-table table{width:878px;min-width:878px;table-layout:fixed}
#module-7 .benchmark-table col.benchmark-name{width:136px}
#module-7 .benchmark-table col.benchmark-condition{width:142px}
#module-7 .benchmark-table col.benchmark-score{width:120px}
#module-7 .benchmark-table :is(th,td){box-sizing:border-box}
body.tmars-lesson #module-7 .benchmark-table tr>:first-child{width:136px;min-width:136px;max-width:136px;z-index:3;background:var(--tm-panel,#111419)!important;background-clip:padding-box;box-shadow:2px 0 0 var(--tm-line)}
body.tmars-lesson #module-7 .benchmark-table tr>:nth-child(2){position:sticky;left:136px;width:142px;min-width:142px;max-width:142px;z-index:2;background:var(--tm-panel,#111419)!important;background-clip:padding-box;box-shadow:2px 0 0 var(--tm-line)}
body.tmars-lesson #module-7 .benchmark-table tr>:nth-child(n+3){width:120px}
body.tmars-lesson #module-7 .benchmark-table thead tr>:first-child{z-index:5}
body.tmars-lesson #module-7 .benchmark-table thead tr>:nth-child(2){z-index:4}
@media(max-width:650px){
  body.tmars-lesson #module-7 .benchmark-table table{width:744px;min-width:744px}
  #module-7 .benchmark-table col.benchmark-name{width:96px}
  #module-7 .benchmark-table col.benchmark-condition{width:98px}
  #module-7 .benchmark-table col.benchmark-score{width:110px}
  body.tmars-lesson #module-7 .benchmark-table tr>:first-child{width:96px;min-width:96px;max-width:96px}
  body.tmars-lesson #module-7 .benchmark-table tr>:nth-child(2){left:96px;width:98px;min-width:98px;max-width:98px}
  body.tmars-lesson #module-7 .benchmark-table tr>:nth-child(n+3){width:110px}
}

/* Figure 10: five labeled layers in DOM reading order, without a new capability claim. */
#module-10 .module-ten-layers{display:grid;grid-template-columns:minmax(0,1fr);gap:0;max-width:46rem;margin:0 0 20px;border:1px solid var(--tm-line);border-radius:10px;overflow:hidden;counter-reset:step}
#module-10 .module-ten-layers li{display:flex;align-items:center;gap:16px;min-height:70px;padding:12px 20px;border:0;border-radius:0;background:var(--tm-bg);font-size:18px;font-weight:700}
#module-10 .module-ten-layers li+li{border-top:1px solid var(--tm-line)}
#module-10 .module-ten-layers li::before{counter-increment:step;content:counter(step,decimal-leading-zero);display:inline-flex;align-items:center;justify-content:center;flex:0 0 2.5rem;height:2.5rem;border:1px solid var(--tm-orange);border-radius:50%;font-size:15px;font-variant-numeric:tabular-nums;color:var(--tm-light)}
@media(max-width:650px){#module-10 .module-ten-layers li{min-height:62px;padding:10px 14px;font-size:17px}}

/* Figure 16: follow the shopping sequence; the final decision remains with the reader. */
#module-16 .module-sixteen-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;list-style:none;max-width:50rem;margin:4px 0 24px;padding:0}
#module-16 .module-sixteen-flow li{position:relative;display:flex;flex-direction:column;min-width:0;min-height:180px;padding:18px 16px;border:1px solid var(--tm-line,#dce2d9);border-top:4px solid var(--tm-orange,#a4502d);border-radius:10px;background:var(--tm-bg,#f8f7f2);overflow-wrap:anywhere}
#module-16 .module-sixteen-flow li:not(:last-child)::after{content:'→';position:absolute;z-index:1;top:50%;right:-18px;transform:translateY(-50%);width:18px;text-align:center;font-size:20px;font-weight:700;line-height:1;color:var(--tm-light,#256b59)}
#module-16 .module-sixteen-flow li:last-child{border:2px solid var(--tm-orange,#a4502d);border-top-width:4px;background:var(--tm-panel,#fff)}
#module-16 .module-sixteen-actor{display:block;margin-bottom:12px;color:var(--tm-light,#256b59);font-size:14px;font-weight:700;line-height:1.5}
#module-16 .module-sixteen-flow strong{display:block;color:var(--tm-white,#24312e);font-size:19px;line-height:1.45}
#module-16 .module-sixteen-detail{display:block;margin-top:12px;color:var(--tm-muted,#55665a);font-size:15px;line-height:1.65}
@media(max-width:650px){
  #module-16 .module-sixteen-flow{grid-template-columns:minmax(0,1fr);gap:24px}
  #module-16 .module-sixteen-flow li{min-height:0;padding:16px 18px}
  #module-16 .module-sixteen-flow li:not(:last-child)::after{content:'↓';top:auto;right:auto;left:50%;bottom:-24px;transform:translateX(-50%);width:28px;line-height:24px}
}

/* Figure 16 role cues: AI assistance is teal; human checks and decisions stay explicit in text. */
#module-16 .module-sixteen-flow li.is-ai{border-top-color:#6fb7a8}
#module-16 .module-sixteen-flow li.is-ai .module-sixteen-actor{color:#8fd0c2}
#module-16 .module-sixteen-check{display:block;margin-top:12px;padding-top:10px;border-top:1px solid var(--tm-line,#dae6df);color:var(--tm-white,#24312e);font-size:14px;line-height:1.55}

/* Figure 17: parallel work examples feed a shared human handoff. */
#module-17 .module17-reading{max-width:48em;margin:0 0 18px;color:var(--tm-white,#24312e);font-size:16px;line-height:1.8}
#module-17 .module17-examples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;list-style:none;margin:0;padding:0}
#module-17 .module17-examples li{min-width:0;padding:16px 18px;border-left:3px solid var(--tm-orange,#a4502d);background:var(--tm-bg,#f8f7f2);color:var(--tm-white,#24312e);font-size:17px;font-weight:700;line-height:1.65;overflow-wrap:anywhere;border-radius:10px}
#module-17 .module17-join{margin:14px 0 12px;padding-top:10px;border-top:2px solid var(--tm-orange,#a4502d);text-align:center;font-size:15px;font-weight:700;line-height:1.6;color:var(--tm-orange,#a4502d)}
#module-17 .module17-join::after{content:' ↓'}
#module-17 .module17-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;list-style:none;margin:0 0 24px;padding:0}
#module-17 .module17-flow li{position:relative;min-width:0;min-height:112px;padding:17px 18px;border:1px solid var(--tm-line,#dae6df);border-radius:10px;background:var(--tm-panel,#fff)}
#module-17 .module17-flow li:not(:last-child)::after{content:'→';position:absolute;right:-20px;top:50%;transform:translateY(-50%);width:20px;text-align:center;color:var(--tm-orange,#a4502d);font-size:20px;font-weight:700;line-height:1}
#module-17 .module17-flow li:last-child{border-left:4px solid var(--tm-orange,#a4502d)}
#module-17 .module17-flow li:first-child{border-top:4px solid #6fb7a8}
#module-17 .module17-flow li:first-child span{color:#8fd0c2}
#module-17 .module17-flow li span{display:block;margin-bottom:8px;color:var(--tm-light,#256b59);font-size:14px;font-weight:700;line-height:1.5}
#module-17 .module17-flow li strong{display:block;color:var(--tm-white,#24312e);font-size:18px;line-height:1.55;overflow-wrap:anywhere}
@media(max-width:650px){
  #module-17 .module17-examples,#module-17 .module17-flow{grid-template-columns:minmax(0,1fr)}
  #module-17 .module17-examples{gap:9px}
  #module-17 .module17-examples li{padding:13px 16px;font-size:16px}
  #module-17 .module17-flow{gap:26px}
  #module-17 .module17-flow li{min-height:0;padding:15px 17px}
  #module-17 .module17-flow li:not(:last-child)::after{content:'↓';top:auto;right:auto;left:50%;bottom:-26px;transform:translateX(-50%);width:28px;line-height:26px}
}

/* Figure 18: translation is a draft; the reader returns to the original and context. */
#module-18 .module18-reading{max-width:48em;margin:0 0 20px;color:var(--tm-white,#24312e);font-size:16px;line-height:1.8}
#module-18 .module18-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;list-style:none;margin:0 0 16px;padding:0}
#module-18 .module18-flow li{position:relative;min-width:0;min-height:188px;padding:18px 18px 20px;border:1px solid var(--tm-line,#dae6df);border-top:4px solid var(--tm-orange,#a4502d);border-radius:10px;background:var(--tm-bg,#f8f7f2);overflow-wrap:anywhere}
#module-18 .module18-flow li.is-ai{border-top-color:#6fb7a8}
#module-18 .module18-flow li:not(:last-child)::after{content:'→';position:absolute;z-index:1;top:50%;right:-22px;transform:translateY(-50%);width:22px;text-align:center;color:var(--tm-orange,#a4502d);font-size:22px;font-weight:700;line-height:1}
#module-18 .module18-role{display:block;margin-bottom:10px;color:var(--tm-light,#256b59);font-size:14px;font-weight:700;line-height:1.5}
#module-18 .module18-flow li.is-ai .module18-role{color:#8fd0c2}
#module-18 .module18-flow strong{display:block;color:var(--tm-white,#24312e);font-size:19px;line-height:1.5}
#module-18 .module18-flow p{margin:10px 0 0;color:var(--tm-muted,#55665a);font-size:15px;line-height:1.7}
#module-18 .module18-return{max-width:48em;margin:0 0 24px;padding:10px 16px;border-left:3px solid var(--tm-orange,#a4502d);background:var(--tm-panel,#fff);color:var(--tm-white,#24312e);font-size:15px;line-height:1.75}
#module-18 .module18-return span{color:var(--tm-orange,#a4502d);font-size:19px;font-weight:700}
#module-18 .module-caption a{text-underline-offset:3px}
#module-18 .module-caption a:focus-visible{outline:3px solid var(--tm-light,#256b59);outline-offset:3px}
@media(max-width:650px){
  #module-18 .module18-flow{grid-template-columns:minmax(0,1fr);gap:25px}
  #module-18 .module18-flow li{min-height:0;padding:16px 18px}
  #module-18 .module18-flow li:not(:last-child)::after{content:'↓';top:auto;right:auto;left:50%;bottom:-25px;transform:translateX(-50%);width:28px;line-height:25px}
}

/* Figure 41: the three slide statements form the beam; oral supplement forms two legs. */
#module-41 .pi-structure{max-width:46rem;margin:0 0 24px}
#module-41 .pi-structure .module-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0;border-bottom:7px solid var(--tm-orange)}
#module-41 .pi-structure .module-points li{display:flex;align-items:center;min-height:104px;padding:16px;border:0;border-radius:0;background:var(--tm-bg);font-weight:700}
#module-41 .pi-structure .module-points li+li{border-left:1px solid var(--tm-line)}
#module-41 .pi-legs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18%;padding:0 12%}
#module-41 .pi-legs>div{display:flex;align-items:flex-end;min-height:112px;padding:12px 0 12px 16px;border-left:7px solid var(--tm-orange);font-size:18px;font-weight:700;line-height:1.5}
#module-41 .pi-structure-source{margin:8px 0 0;font-size:14px;line-height:1.6;color:var(--tm-light)}
@media(max-width:650px){
  #module-41 .pi-structure .module-points{grid-template-columns:1fr}
  #module-41 .pi-structure .module-points li{min-height:0;padding:14px 16px}
  #module-41 .pi-structure .module-points li+li{border-left:0;border-top:1px solid var(--tm-line)}
  #module-41 .pi-legs{gap:10%;padding:0 6%}
  #module-41 .pi-legs>div{min-height:94px;padding:8px 0 10px 10px;border-left-width:6px;font-size:16px}
}

/* FIX02: balance the pi legs and let mobile readers compare two score columns. */
#module-41 .pi-legs{grid-template-columns:1fr 1fr;gap:0;padding:0 18%}
#module-41 .pi-legs>div+div{justify-content:flex-end;border-left:0;border-right:7px solid var(--tm-orange);padding:12px 16px 12px 0;text-align:right}
@media(max-width:650px){
  #module-41 .pi-legs{padding:0 14%}
  #module-41 .pi-legs>div+div{border-right-width:6px;padding:8px 10px 10px 0}
  body.tmars-lesson #module-7 .benchmark-table table{width:719px;min-width:719px}
  #module-7 .benchmark-table col.benchmark-score{width:105px}
  body.tmars-lesson #module-7 .benchmark-table tr>:nth-child(2){position:static;left:auto;z-index:auto;box-shadow:none}
  body.tmars-lesson #module-7 .benchmark-table tr>:nth-child(n+3){width:105px}
}

/* FIX03: keep the benchmark name intact and make keyboard focus unmistakable. */
#module-7 .benchmark-name-nowrap{display:inline-block;white-space:nowrap;overflow-wrap:normal}
body.tmars-lesson #module-7 .benchmark-table:focus-visible{outline:3px solid var(--tm-white,#f4f1e9);outline-offset:4px;box-shadow:0 0 0 3px var(--tm-orange)}
@media(max-width:650px){
  body.tmars-lesson #module-7 .benchmark-table table{width:710px;min-width:710px}
  #module-7 .benchmark-table col.benchmark-name{width:102px}
  #module-7 .benchmark-table col.benchmark-score{width:102px}
  body.tmars-lesson #module-7 .benchmark-table tr>:first-child{width:102px;min-width:102px;max-width:102px}
  body.tmars-lesson #module-7 .benchmark-table tr>:nth-child(n+3){width:102px}
  #module-7 .benchmark-table tbody tr:nth-child(-n+2)>th:first-child{padding-inline:6px}
  body.tmars-lesson #module-7 .benchmark-table{scroll-snap-type:x mandatory;scroll-padding-left:102px}
  body.tmars-lesson #module-7 .benchmark-table tr>:nth-child(n+2){scroll-snap-align:start}
}

/* Module 32 candidate: source-bounded question contrast and four-step teaching flow. */
#module-32 .module32-intro{max-width:64ch;margin:0 0 18px;line-height:1.8}
#module-32 .module32-contrast{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 10px}
#module-32 .module32-question{min-width:0;padding:20px;border:1px solid var(--tm-line,#dae6df);border-radius:10px;background:var(--tm-bg,#11171d)}
#module-32 .module32-question-more{border-color:var(--tm-orange,#e89468);box-shadow:inset 0 4px 0 var(--tm-orange,#e89468)}
#module-32 .module32-tag{display:inline-block;margin-bottom:12px;color:var(--tm-orange,#e89468);font-weight:700;font-size:14px}
#module-32 .module32-question p{margin:0 0 16px;font-size:clamp(19px,2.2vw,25px);font-weight:700;line-height:1.55;overflow-wrap:anywhere}
#module-32 .module32-question small{display:block;color:var(--tm-light,#c8d1cf);font-size:15px;line-height:1.7}
#module-32 .module32-source-note{margin:0 0 26px;color:var(--tm-light,#c8d1cf);font-size:14px;line-height:1.7}
#module-32 .module32-flow{counter-reset:none;list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 24px;padding:0}
#module-32 .module32-flow li{display:flex;gap:11px;min-width:0;padding:16px 12px;border:1px solid var(--tm-line,#dae6df);border-radius:10px;position:relative}
#module-32 .module32-flow li:not(:last-child)::after{content:'→';position:absolute;right:-11px;top:20px;z-index:1;color:var(--tm-orange,#e89468);font-weight:800;background:var(--tm-bg,#11171d);line-height:1;padding:2px}
#module-32 .module32-step{flex:none;color:var(--tm-orange,#e89468);font-size:14px;font-weight:800;font-variant-numeric:tabular-nums}
#module-32 .module32-flow strong{display:block;margin:0 0 8px;font-size:16px;line-height:1.45}
#module-32 .module32-flow p{margin:0;font-size:14px;line-height:1.65}
@media(max-width:820px){#module-32 .module32-flow{grid-template-columns:repeat(2,minmax(0,1fr))}#module-32 .module32-flow li:nth-child(2)::after{content:none}}
@media(max-width:650px){#module-32 .module32-contrast,#module-32 .module32-flow{grid-template-columns:1fr}#module-32 .module32-question{padding:16px}#module-32 .module32-flow li{padding:14px 16px}#module-32 .module32-flow li:not(:last-child)::after{content:'↓';right:auto;left:50%;top:auto;bottom:-13px;transform:translateX(-50%)}#module-32 .module32-flow li:nth-child(2)::after{content:'↓'}}

/* Module 33 candidate: source-bounded lecture contrast and link to the existing lesson 04 exercise. */
#module-33 .module33-intro{max-width:64ch;margin:0 0 18px;line-height:1.8}
#module-33 .module33-contrast{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 22px}
#module-33 .module33-question{min-width:0;padding:20px;border:1px solid var(--tm-line,#dae6df);border-radius:10px;background:var(--tm-bg,#11171d)}
#module-33 .module33-question-more{border-color:var(--tm-orange,#e89468);box-shadow:inset 0 4px 0 var(--tm-orange,#e89468)}
#module-33 .module33-tag{display:inline-block;margin-bottom:12px;color:var(--tm-orange,#e89468);font-weight:700;font-size:14px;line-height:1.5}
#module-33 .module33-question p{margin:0 0 16px;font-size:clamp(19px,2.2vw,24px);font-weight:700;line-height:1.55;overflow-wrap:anywhere}
#module-33 .module33-question small{display:block;color:var(--tm-light,#c8d1cf);font-size:15px;line-height:1.7}
#module-33 .module33-keys{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 24px;padding:0}
#module-33 .module33-keys li{min-width:0;padding:15px;border:1px solid var(--tm-line,#dae6df);border-radius:10px}
#module-33 .module33-keys strong{display:block;margin:0 0 8px;color:var(--tm-orange,#e89468);font-size:16px;line-height:1.5}
#module-33 .module33-keys span{display:block;font-size:14px;line-height:1.65}
#module-33 .module33-actions{display:flex;flex-wrap:wrap;gap:4px 18px}
#module-33 .module33-actions a{min-height:44px}
@media(max-width:820px){#module-33 .module33-keys{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){#module-33 .module33-contrast,#module-33 .module33-keys{grid-template-columns:1fr}#module-33 .module33-question{padding:16px}#module-33 .module33-keys li{padding:14px 16px}}

/* Module 32 FIX02: keep the answer blank attached to the word and show the existing lesson 04 case. */
#module-32 .module32-nowrap{white-space:nowrap}
#module-32 .module32-worked{list-style:none;counter-reset:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:720px;margin:16px 0 14px;padding:0}
#module-32 .module32-worked li{min-width:0;padding:14px 16px;border:1px solid var(--tm-line,#dae6df);border-radius:8px;background:var(--tm-bg,#11171d)}
#module-32 .module32-worked strong{display:block;margin-bottom:7px;color:var(--tm-orange,#e89468);font-size:15px;line-height:1.5}
#module-32 .module32-worked p{margin:0;font-size:15px;line-height:1.7;max-width:none}
#module-32 .module32-worked-note{margin:0 0 8px;font-size:14px;line-height:1.6;color:var(--tm-light,#c8d1cf)}
@media(max-width:650px){#module-32 .module32-worked{grid-template-columns:1fr}#module-32 .module32-worked li{padding:13px 15px}}
