.cram-lesson{max-width:780px;margin:0 auto;padding:24px 20px 96px;color:#26352e;line-height:1.65}
.cram-lesson-heading{padding:24px 0 30px;border-bottom:1px solid #d7ddd5}
.cram-lesson-heading>p:first-child{font-size:.8rem;font-weight:700;color:#986443;letter-spacing:.06em}
.cram-lesson-heading h1{font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.2;margin:.3em 0}
.cram-lesson-heading>p:last-child{font-size:.95rem;color:#58665d}
.cram-section{padding:40px 0;border-bottom:1px solid #e4e9e2;scroll-margin-top:30px}
.cram-section header{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px}
.cram-section h2{font-size:1.4rem;line-height:1.3;margin:0}
.cram-badges{display:flex;flex-wrap:wrap;gap:5px}
.cram-badge{display:inline-flex;padding:2px 8px;border-radius:14px;font-size:.76rem;font-weight:700;white-space:nowrap}
.cram-badge.direct{background:#f6e8d8;color:#794323}.cram-badge.pattern{background:#e8eff7;color:#315b79}.cram-badge.voice{background:#eee7f4;color:#684e7a}
.cram-source{color:#6d796f;font-size:.8rem;margin:10px 0 20px}
.cram-explanation p{font-size:1rem;line-height:1.78;max-width:70ch;margin:0 0 1.15em}
.cram-explanation strong{color:#214e3d}
.cram-slide{margin:20px 0}.cram-slide-button{border:1px solid #c9d7cd;background:#f4f8f3;border-radius:8px;padding:9px 13px;color:#285542;cursor:pointer;font:inherit;font-size:.86rem}
.cram-slide [data-slide-container]{margin:12px 0 0;padding:12px;border:1px solid #d9e2d8;border-radius:10px;background:#fafbf9}
.cram-slide [data-slide-container][hidden]{display:none}.cram-slide img{display:block;max-width:100%;height:auto;margin:12px auto 0}
.cram-slide-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap;font-size:.85rem}.cram-slide-actions button{border:0;background:transparent;color:#285542;cursor:pointer;font:inherit}
.cram-recall{padding:42px 0}.cram-recall h2{font-size:1.4rem}.cram-recall>p{color:#59685d}
.cram-read-button{margin-top:12px;border:1px solid #c9d7cd;border-radius:7px;background:#fff;padding:8px 12px;color:#285542;cursor:pointer}.cram-read-button:disabled{color:#68786d;background:#f1f5f0;cursor:default}
.cram-recall-global,.cram-recall-actions{display:flex;gap:8px;flex-wrap:wrap}.cram-recall-global button,.cram-recall-actions button{border:1px solid #d4ddd4;border-radius:7px;background:#fff;padding:7px 11px;cursor:pointer}.cram-recall-actions [aria-pressed=true]{background:#dcefe2;border-color:#52946c}
.cram-recall-target{padding:18px 0;border-bottom:1px solid #e2e8e0}.cram-recall-target>p{font-size:1rem;margin:0 0 12px}.cram-recall-target strong{display:block;color:#285542;margin:0 0 12px}.cram-recall>[data-recall-complete]{margin-top:24px}
.cram-practice{padding:44px 0;border-top:1px solid #d7ddd5;scroll-margin-top:25px}.cram-practice h2{font-size:1.5rem}.cram-practice>p{color:#59685d}.cram-practice-question{padding:24px 0;border-bottom:1px solid #e2e8e0}.cram-practice-question h3{font-size:1.06rem;font-weight:600;line-height:1.65;white-space:pre-wrap}.cram-practice-type{font-size:.8rem;color:#986443;font-weight:700}.cram-practice-choices{display:grid;gap:10px;margin:18px 0}.cram-practice-choices label{display:flex;gap:8px;align-items:flex-start}.cram-practice-text{display:grid;gap:6px;margin:16px 0}.cram-practice-text textarea{font:inherit;padding:10px;max-width:100%;border:1px solid #c9d7cd;border-radius:7px}.cram-practice-feedback{margin:18px 0;padding:16px;background:#f5f8f2;border-radius:9px}.cram-practice-feedback[hidden]{display:none}.cram-practice-prerequisites{padding:18px;margin:24px 0;background:#f8f5ed;border-radius:9px}
@media(max-width:600px){.cram-lesson{padding:18px 16px 70px}.cram-section{padding:30px 0}.cram-explanation p{font-size:.97rem}}

/* Shared review icons; headings and nested controls retain breathing room. */
.cram-section{padding:56px 0}.cram-section h2{line-height:1.6}.cram-badges{display:inline-flex;vertical-align:middle;margin-left:.7rem;gap:.7rem}
.cram-explanation{line-height:1.85}.cram-explanation strong{color:#884124}.cram-explanation h3{font-size:1rem;margin:1.7rem 0 .8rem}
.cram-core{margin:0 0 1.7rem}.cram-core>strong{display:block;margin-bottom:.8rem}.cram-explanation table{border-collapse:collapse;width:100%;margin:1rem 0 1.6rem}.cram-explanation th,.cram-explanation td{padding:.5rem .6rem;border-bottom:1px solid #d7ded6;text-align:left;vertical-align:top}.cram-explanation th{background:#eaf0e8}
.cram-explanation{overflow-x:auto}.cram-flow{margin:2rem 0;padding:1rem 1.2rem;border:1px solid #d7ddd5;border-radius:8px}.cram-flow summary{cursor:pointer;font-weight:600}.cram-flow ol{margin:1rem 0 .2rem;padding-left:1.5rem}.cram-flow li{padding:.35rem 0}
.cram-lesson-heading h1{margin:.6em 0}.cram-lesson-heading [data-cram-pdf]{margin-top:1rem;white-space:normal;line-height:1.6;padding:.7rem 1rem}.cram-recall-global{margin:1.3rem 0 1.8rem}.cram-recall-actions{margin-top:1rem}.cram-recall-actions button{padding:.65rem .9rem;line-height:1.5}
@media(max-width:600px){.cram-section{padding:40px 0}.cram-badges{margin-left:.3rem}.cram-flow{padding:1rem}.cram-recall-actions{gap:.65rem}}

.cram-flow ol{list-style:none;padding-left:0}
.cram-lesson-steps{display:flex;flex-wrap:wrap;gap:10px 26px;padding-left:1.3rem;color:#58665d;font-size:.88rem}
.cram-pdf-step{padding:30px 0}.cram-pdf-step h2,.cram-memory-gate h2{font-size:1.3rem;line-height:1.5}
.cram-pdf-step p,.cram-pdf-confirmation p,.cram-original-step p{color:#58665d;font-size:.95rem}
.cram-pdf-step [data-cram-pdf-status]{display:block;margin-top:10px;font-size:.85rem}
.cram-site-copy{border:1px solid #d7ddd5;border-radius:8px;padding:18px 20px;margin:8px 0 24px}.cram-site-copy>summary{cursor:pointer;font-weight:600}
.cram-pdf-confirmation{padding:12px 0 30px;border-bottom:1px solid #d7ddd5}.cram-pdf-confirmation .button{white-space:normal;line-height:1.6}
.cram-memory-gate{padding:24px 0}.cram-original-step{margin-top:34px;padding-top:22px;border-top:1px solid #e4e9e2}

/* Use the same reading measure and section rhythm as the final review. */
.cram-subtopic{margin:24px 0 30px}.cram-slide-description{margin:16px 0 4px;line-height:1.9}.cram-slide-description p:last-child{margin-bottom:0}.cram-site-copy .cram-explanation li{margin:.45rem 0;line-height:1.8}.cram-site-copy .review-legend{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;margin:20px 0 32px;font-size:.85rem;color:var(--muted,#74695b)}
.cram-lesson{box-sizing:border-box;width:100%;max-width:1000px;padding:44px clamp(20px,4vw,64px) 96px;overflow-wrap:anywhere}
.cram-lesson-heading{max-width:850px;margin:0 auto;padding:0 0 30px}.cram-back{display:inline-block;margin-bottom:24px;color:var(--muted,#74695b);font-size:.9rem}.cram-lesson-heading h1{font-size:clamp(1.8rem,3vw,2.3rem);line-height:1.4;margin:.35rem 0 1rem;word-break:keep-all}.cram-lesson-heading .eyebrow{margin:0;color:var(--accent,#7d3038)}
.cram-lesson-heading .settings-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:24px}.cram-lesson [data-cram-pdf-status]{font-size:.82rem;color:var(--muted,#74695b)}
.cram-site-copy{max-width:850px;margin:0 auto;border:0;border-radius:0;padding:0}.cram-site-copy .cram-flow{margin:28px 0 40px;padding:16px 20px;background:transparent}.cram-site-copy .cram-section{margin:0 0 48px;padding:0 0 32px;border-bottom:1px solid var(--line,#e4dac4)}.cram-site-copy .cram-section:last-child{margin-bottom:0}.cram-site-copy .cram-section h2{font-size:1.35rem;line-height:1.55;padding-bottom:12px}.cram-site-copy .cram-explanation p{max-width:none;line-height:1.9;margin:0 0 1.2rem}.cram-site-copy .cram-source{margin:12px 0 24px}.cram-site-copy .cram-badges{gap:.6rem;margin-left:.5rem}.cram-site-copy .cram-badges .review-icon{margin-left:0}.cram-site-copy .cram-explanation h3{margin:1.8rem 0 .8rem}
.cram-memory-gate{max-width:850px;margin:0 auto;padding-top:36px}.cram-pdf-confirmation{padding:0;border:0}.cram-pdf-confirmation[hidden]{display:none}.cram-memory-gate>[data-cram-gate-status]{margin:14px 0 24px;font-size:.9rem;color:var(--muted,#74695b)}.cram-memory-gate .memory-drill{margin-top:0;padding-top:0;border:0}.cram-original-step{margin-top:32px;padding-top:24px}.cram-original-step h2{font-size:1.1rem}
@media(max-width:600px){.cram-lesson{padding:24px 20px 76px}.cram-back{margin-bottom:20px}.cram-site-copy .cram-section{margin-bottom:34px;padding-bottom:24px}.cram-site-copy .cram-section h2{font-size:1.2rem}.cram-site-copy .cram-badges{display:flex;margin:12px 0 0}.cram-site-copy .cram-flow{margin:24px 0 32px}.cram-memory-gate .memory-drill-launch{width:100%}}
.cram-site-copy .cram-subtopic{margin:22px 0 28px;padding:0}.cram-site-copy .cram-subtopic:first-child{margin-top:0}.cram-site-copy .cram-subtopic h3{margin-top:0}.cram-site-copy .cram-subtopic:last-child{margin-bottom:0}
.cram-flow .cram-toc-link{display:block;width:100%;text-align:left;border:0;background:transparent;color:inherit;font:inherit;line-height:1.6;padding:8px 0;cursor:pointer}.cram-flow .cram-toc-link:hover{text-decoration:underline}.cram-flow .cram-toc-link:focus-visible{outline:2px solid var(--accent,#7d3038);outline-offset:4px}.cram-site-copy .cram-flow li{margin:6px 0}
.cram-original-step [data-cram-practice-gate]{font-size:.9rem;line-height:1.7;color:var(--muted,#74695b);margin:12px 0}.cram-original-step [data-cram-gate-refresh][hidden]{display:none}

/* The same option cards and action controls as the shared question screen. */
.cram-practice-question{min-width:0;padding:32px 0;overflow-wrap:anywhere}.cram-practice-type{margin-bottom:14px;color:var(--muted,#626771)}
.cram-practice-stem,.cram-practice-stem .study-rich-text,.cram-practice-stem .study-rich-text :is(p,li,td,th){font-size:17px;line-height:1.85}.cram-practice-stem .study-rich-text>p{margin:0 0 14px}
.cram-practice .cram-practice-choices{min-width:0;border:0;padding:0;gap:10px;margin:22px 0}.cram-practice .cram-practice-choices legend{float:none;width:100%;margin-bottom:4px;font-size:13px;color:var(--muted,#626771)}
.cram-practice .cram-practice-choices .plan-option{display:flex;align-items:flex-start;gap:12px;min-width:0;min-height:52px;padding:14px 16px;margin:0;line-height:1.75}
.cram-practice-choices .plan-option input{flex:0 0 18px;width:18px;height:18px;margin:4px 0 0;accent-color:var(--accent,#79283d)}.cram-practice-choices .option-number{flex:0 0 22px;min-width:22px;font-size:16px;line-height:1.75}.cram-practice .cram-choice-text{min-width:0;flex:1}.cram-practice .cram-choice-text :is(p,li,td,th){margin:0;font-size:16px;line-height:1.75}
.cram-practice-choices .plan-option:has(input:checked){border-color:var(--accent,#79283d);background:var(--tint,#f8edf0)}.cram-practice-choices .plan-option:has(input:disabled){cursor:default}.cram-practice-choices .plan-option:focus-within{outline:2px solid var(--accent,#79283d);outline-offset:3px}
.cram-practice-text{display:grid;gap:10px;margin:22px 0}.cram-practice-text>label,.cram-practice-grades>label{display:block;font-size:14px;font-weight:550;line-height:1.6}
.cram-practice :is([data-cram-response],[data-cram-grade-detail]){display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;margin:0;padding:14px 16px;font:inherit;font-size:16px;line-height:1.75;color:var(--ink,#23252b);background:var(--paper,#fff);border:1px solid var(--line,#e2e4e8);border-radius:7px;resize:vertical}.cram-practice [data-cram-response]{min-height:120px}.cram-practice [data-cram-response][readonly]{background:var(--bg,#f5f6f7)}
.cram-practice .cram-practice-grades{display:grid;gap:12px;min-width:0;margin:20px 0 0;padding:20px;border:1px solid var(--line,#e2e4e8);border-radius:10px;background:var(--paper,#fff)}.cram-practice-grades legend{padding:0 7px;font-size:14px;font-weight:600}.cram-practice-grades .preference-note{font-size:13px;line-height:1.7;color:var(--muted,#626771);margin:0}
.cram-practice .cram-grade-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:2px 0 0}.cram-practice .button{min-height:44px;max-width:100%;white-space:normal;line-height:1.6}.cram-grade-actions .button[aria-pressed=true]{border-color:var(--accent,#79283d);color:var(--accent,#79283d);background:var(--tint,#f8edf0);box-shadow:inset 0 0 0 1px var(--accent,#79283d)}
.cram-practice-feedback{margin:20px 0 0;padding:20px;border:1px solid var(--line,#e2e4e8);border-radius:10px;background:var(--paper,#fff)}.cram-practice-feedback>strong{display:block;font-size:15px;margin-bottom:12px}.cram-practice-feedback .study-rich-text{font-size:15px;line-height:1.8}.cram-practice-feedback p{margin:0 0 10px}.cram-practice [data-cram-question-status]{font-size:13px;color:var(--muted,#626771);line-height:1.7;margin-top:12px}.cram-practice [data-cram-question-status]:empty{display:none}.cram-practice-question[aria-busy=true]{cursor:progress}
@media(max-width:600px){.cram-practice-question{padding:26px 0}.cram-practice .cram-practice-choices .plan-option{padding:12px;gap:9px}.cram-practice .cram-practice-grades,.cram-practice-feedback{padding:16px}.cram-practice .cram-grade-actions{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch}.cram-grade-actions .button{width:100%}}
.cram-practice-window{padding-top:32px}.cram-window-heading h1{font-size:clamp(1.5rem,4vw,2rem);margin:12px 0}.cram-window-heading>p:last-child{color:var(--muted);font-size:14px;line-height:1.8}.cram-window-question .cram-practice{padding:0;border:0}.cram-window-question .cram-practice>h2,.cram-window-question .cram-practice>p{display:none}.cram-window-question .cram-practice-question{border:0;padding-bottom:10px}.cram-window-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-top:20px;border-top:1px solid var(--line)}.cram-window-actions>span{font-size:14px;font-variant-numeric:tabular-nums}.cram-window-status{min-height:1.7em;margin:16px 0;font-size:14px;color:var(--muted)}.cram-practice-window figure img{display:block;max-width:100%;height:auto;margin:16px auto}.cram-practice-window .plan-question-nav .is-answered{background:var(--tint)}.cram-practice-window .plan-question-nav [aria-current=step]{outline:2px solid var(--accent);outline-offset:2px}.cram-practice-window .cram-practice-prerequisites{font-size:13px}.cram-practice-window .mock-navigation{margin:24px 0}
/* Shared by every existing and future cram lesson, including its practice window. */
.cram-lesson{--cram-action-gap:16px;--cram-copy-action-gap:20px}
.cram-lesson .settings-actions{gap:var(--cram-action-gap);align-items:center;flex-wrap:wrap}
.cram-lesson .button{min-height:44px;padding:11px 17px;max-width:100%;white-space:normal;line-height:1.65}
.cram-original-step h2{margin-bottom:12px}.cram-original-step>p{margin-bottom:var(--cram-copy-action-gap)}
.cram-original-step>.button{margin-bottom:16px}.cram-original-step [data-cram-practice-gate]{margin:16px 0}
.cram-practice .cram-grade-actions{gap:var(--cram-action-gap);margin-top:8px}
.cram-practice .cram-practice-grades{gap:16px}
.cram-window-actions{gap:var(--cram-action-gap);padding-top:24px}
@media(max-width:420px){.cram-window-actions{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px}.cram-window-actions .button{min-height:44px;padding:11px 12px;font-size:13px}.cram-window-actions>span{font-size:13px}}

.cram-practice-back{display:inline-flex;margin-bottom:20px;min-height:32px;align-items:center}
