/* Original blue-and-white learning components; independent of exam layout. */
.learn-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0 32px;align-items:start}
.lesson-card{min-width:0;border:1px solid #dce5f2;border-radius:17px;background:#fff;padding:24px;box-shadow:0 4px 18px #23477005;color:#18304f;overflow-wrap:break-word}
.lesson-card h2,.lesson-card h3{line-height:1.35;letter-spacing:-.025em;margin-bottom:12px}
.lesson-card h2{font-size:1.35rem}.lesson-card h3{font-size:1.1rem}
.lesson-card p{font-size:.92rem;line-height:1.8;color:#536984;margin-bottom:16px}
.lesson-card .badge{margin-bottom:14px;background:#edf3ff;color:#42669e}
.lesson-card>summary{cursor:pointer;list-style-position:outside;margin-left:17px;padding:2px 0;font-size:1.04rem;font-weight:650;line-height:1.6}
.lesson-card>summary::marker{color:#245cdd}
.lesson-card>summary h2,.lesson-card>summary h3{display:inline;font-size:1.1rem}
.lesson-card[open]>summary{padding-bottom:17px;border-bottom:1px solid #e0e7f2;margin-bottom:20px}
.lesson-card details{border-top:1px solid #e0e7f2;margin-top:18px;padding-top:15px}
.lesson-card details>summary{cursor:pointer;color:#2456b3;font-size:.88rem;font-weight:650;line-height:1.6;padding:5px 0}
.lesson-card details[open]>summary{margin-bottom:14px}
.lesson-steps{padding:19px 21px;background:#f3f7ff;border:1px solid #dce7f8;border-radius:11px;margin:17px 0;color:#294768;font-size:.9rem;line-height:1.85;overflow-wrap:anywhere}
.lesson-steps>p:last-child,.lesson-steps>li:last-child{margin-bottom:0}
.lesson-steps p{color:inherit;font-size:inherit}
.lesson-steps ol,.lesson-steps ul{padding-left:23px;margin:12px 0}
ol.lesson-steps,ul.lesson-steps{padding-left:43px}
.lesson-steps li{padding-left:4px;margin:9px 0}
.lesson-steps li::marker{color:#245cdd;font-weight:700}
.lesson-steps strong{color:#1b477b}
.lesson-card code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;background:#eaf0fb;padding:2px 5px;border-radius:4px;font-size:.85em;white-space:normal;overflow-wrap:anywhere}
.lesson-card .btn{margin-top:9px;max-width:100%;white-space:normal}
.vocab-card{position:relative;width:100%;max-width:760px;margin:24px auto;background:linear-gradient(130deg,#fff 45%,#f2f6ff);border:1px solid #d8e4f5;border-radius:20px;box-shadow:0 8px 28px #23477008;padding:36px;text-align:center;color:#18304f;overflow-wrap:break-word}
.vocab-card>.badge,.vocab-card>.eyebrow{margin-bottom:19px}
.vocab-word{display:block;font-size:clamp(1.9rem,6vw,3rem);font-weight:750;letter-spacing:-.04em;line-height:1.25;color:#234e92;margin:15px 0 22px;overflow-wrap:anywhere}
.vocab-card p{font-size:1rem;line-height:1.8;max-width:570px;margin:15px auto;color:#526984}
.vocab-card strong{color:#234e92}
.vocab-card .muted{font-size:.84rem}
.vocab-card blockquote{font-size:.94rem;line-height:1.85;text-align:left;background:#fff;border-left:3px solid #7d9ed7;border-radius:0 9px 9px 0;padding:16px 19px;margin:23px 0;color:#536984}
.vocab-card details{margin:23px 0;text-align:left;border-top:1px solid #dce5f2;padding-top:17px}
.vocab-card summary{cursor:pointer;color:#2456b3;font-size:.9rem;font-weight:650;line-height:1.6}
.vocab-actions{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:11px;margin-top:25px;min-width:0}
.vocab-actions>*{min-width:0;max-width:100%}
.vocab-actions .btn{min-height:44px;white-space:normal;line-height:1.45;flex:0 1 auto}
.vocab-card .vocab-actions+p{font-size:.75rem;margin-bottom:0}
.lesson-card summary:focus-visible,.vocab-card summary:focus-visible{outline:3px solid #4478f1;outline-offset:5px;border-radius:3px}
@media(max-width:800px){.learn-grid{grid-template-columns:minmax(0,1fr);gap:16px}.lesson-card{padding:23px}.vocab-card{padding:30px}}
@media(max-width:480px){.learn-grid{margin-top:20px}.lesson-card{padding:20px;border-radius:14px}.lesson-card>summary{font-size:.98rem}.lesson-steps{padding:16px;font-size:.87rem}ol.lesson-steps,ul.lesson-steps{padding-left:35px}.vocab-card{padding:27px 20px;border-radius:16px}.vocab-word{font-size:2.15rem}.vocab-card p{font-size:.94rem}.vocab-actions{gap:9px}.vocab-actions .btn{flex:1 1 120px;padding:11px 13px}.vocab-card blockquote{margin:20px 0;padding:14px 16px}}
@media(prefers-reduced-motion:reduce){.lesson-card,.vocab-card{scroll-behavior:auto}}
.word-library{margin-top:1.25rem}
.word-library .learn-grid{margin-top:0}
.word-library .learn-grid .card{box-shadow:none}
.word-library form{align-items:end;justify-content:flex-start;flex-wrap:wrap}
.word-library input{min-height:42px;padding:.55rem .7rem;border:1px solid #bbcce5;border-radius:8px;font:inherit}
.mastery-section{margin:1.25rem 0}
.skill-map summary{cursor:pointer;font-weight:650}
.skill-map[open] summary{margin-bottom:1rem}
.skill-map .row{justify-content:space-between;border-top:1px solid var(--line);padding-top:.65rem}
.skill-map .muted{margin:.15rem 0}
.today-card{margin:1.25rem 0}
