:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#18243e;background:#f6f8fc;font-size:16px;--blue:#1e4fd9;--ink:#18243e;--muted:#53627b;--line:#e1e7f0;--violet:#6448bc}*{box-sizing:border-box}body{margin:0}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{opacity:.45;cursor:default}button,a,summary{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #8cacff;outline-offset:4px}button{transition:background .15s,border-color .15s,box-shadow .15s}a{color:var(--blue)}[hidden]{display:none!important}.skip{position:fixed;top:-5rem;left:1rem;z-index:9;background:#fff;padding:1rem}.skip:focus{top:1rem}.topbar{height:100px;display:flex;align-items:center;gap:40px;padding:0 38px;border-bottom:1px solid var(--line);background:#fff}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:var(--ink);font-size:1.45rem;font-weight:450;line-height:1.1}.brand strong{font-weight:750}.brand small{display:block;font-size:.66rem;letter-spacing:.16em;font-weight:650;margin-top:8px;color:var(--muted)}.brand-mark{display:grid;place-items:center;width:48px;height:48px;background:var(--blue);border-radius:12px;color:#fff;font-size:1.4rem;font-weight:750;letter-spacing:-.05em}.header-context{border-left:1px solid var(--line);padding-left:32px;font-size:.9rem;font-weight:600}.header-context span{display:block;color:var(--muted);font-size:.85rem;font-weight:400;margin-top:5px}.workspace{display:grid;grid-template-columns:276px minmax(0,1fr);max-width:1510px;margin:auto}.sidebar{padding:34px 24px;border-right:1px solid var(--line);background:#fff;min-height:calc(100vh - 100px)}.eyebrow{font-size:.73rem;letter-spacing:.13em;font-weight:700;color:#5a6983}.progress-block{padding:0 10px 28px}.progress-heading{display:flex;align-items:baseline;gap:7px;margin-top:14px}.progress-heading strong{font-size:2rem;letter-spacing:-.05em}.progress-heading>span{font-size:.83rem;color:var(--muted)}.progress-heading .percentage{margin-left:auto;color:var(--blue);font-weight:650}progress{appearance:none;width:100%;height:6px;border:0;border-radius:4px;overflow:hidden;display:block;margin-top:12px;background:#e8eef8}progress::-webkit-progress-bar{background:#e8eef8}progress::-webkit-progress-value{background:var(--blue);border-radius:4px}progress::-moz-progress-bar{background:var(--blue)}.progress-block p{font-size:.75rem;color:#66738a;line-height:1.55;margin:12px 0 0}.topic-picker>summary{display:flex;justify-content:space-between;padding:0 10px 14px;font-size:.86rem;font-weight:700;cursor:pointer}.topic-picker summary>span{display:none}summary{list-style:none}summary::-webkit-details-marker{display:none}#topics{display:grid;gap:5px}.topic-button{display:flex;gap:12px;align-items:flex-start;text-align:left;width:100%;background:transparent;border:1px solid transparent;border-radius:10px;padding:12px 11px;color:var(--muted);font-size:.875rem;line-height:1.5}.topic-button:hover{background:#f5f7fc}.topic-button.active{background:#eef3ff;border-color:#dce6ff;color:#1743b9}.topic-index{font-size:.72rem;min-width:20px;padding-top:3px;color:#7c8aa3;font-weight:600}.topic-button.active .topic-index{color:var(--blue)}.topic-name{font-weight:600}.topic-count{display:block;font-size:.73rem;font-weight:400;margin-top:3px;color:#67768f}.sidebar-note{margin:30px 10px 0;padding-top:24px;border-top:1px solid var(--line);font-size:.84rem;line-height:1.7;color:var(--muted)}.sidebar-note strong{color:var(--ink);font-weight:600}.sidebar-note p{margin:6px 0}main{min-width:0;padding:40px 48px 24px;max-width:1110px;margin:0 auto;width:100%}h1{font-size:1.9rem;font-weight:700;letter-spacing:-.045em;margin:8px 0 0;line-height:1.3}.mode-switch{padding:4px;border:1px solid var(--line);border-radius:10px;display:flex;background:#fff}.mode-switch button{border:0;background:transparent;padding:10px 16px;border-radius:7px;font-size:.87rem;font-weight:600;color:var(--muted);white-space:nowrap}.mode-switch button.selected{background:var(--blue);color:#fff;box-shadow:0 2px 5px #164bc226}.source-note{display:flex;align-items:flex-start;gap:9px;margin:20px 0 8px;font-size:.81rem;color:var(--muted);line-height:1.6}.source-note p{margin:0}.info-symbol{flex:0 0 16px;text-align:center;height:16px;line-height:14px;font-size:.7rem;border:1px solid #8593ab;border-radius:50%;margin-top:3px}.source-note button{font-size:inherit;border:0;border-bottom:1px solid #a6b4cd;color:var(--blue);background:none;padding:0;margin-left:4px}.about-note{font-size:.85rem;line-height:1.7;color:#71591c;background:#fff8e7;border:1px solid #ead99c;border-radius:8px;padding:14px 18px;margin-top:12px}.study-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid var(--line);padding-top:22px;margin-bottom:26px}.filter-switch{display:flex;gap:25px}.filter-switch button{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;padding:0 0 15px;font-size:.87rem;font-weight:600;color:#6d7990}.filter-switch button.selected{color:var(--blue);border-color:var(--blue)}.filter-switch span{display:inline-block;font-size:.72rem;border-radius:5px;background:#e9eef7;padding:2px 6px;margin-left:5px;color:#53627b}.filter-switch .selected span{background:#e1eaff;color:#1743b9}.text-button{border:0;background:transparent;color:var(--muted);padding:5px 0;font-size:.85rem}.study-toolbar>.text-button{align-self:flex-start}.text-button:hover{color:var(--blue)}.current-path{display:flex;justify-content:space-between;gap:12px;font-size:.81rem;color:var(--muted);margin-bottom:13px}#topic-label{font-weight:600}#position-label{white-space:nowrap}.study-card{border:1px solid #dce3ee;border-radius:16px;background:#fff;padding:32px 36px 0;box-shadow:0 5px 18px #1b335a04;overflow:hidden}.card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.question-kicker{font-size:.74rem;letter-spacing:.12em;color:var(--blue);font-weight:700}.status-label{font-size:.73rem;color:#66738a;padding:5px 9px;border-radius:5px;background:#f2f5f9}.status-label.known{color:#196547;background:#eaf6ee}.status-label.repeat{color:#8a6118;background:#fff5df}h2{font-size:1.6rem;line-height:1.4;letter-spacing:-.025em;font-weight:650;margin:21px 0 27px;overflow-wrap:anywhere}h3{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:#63728a;font-weight:700;margin:0 0 13px}p{overflow-wrap:anywhere}.answer-block{font-size:1.02rem;line-height:1.75;padding:22px 24px;background:#f7f9fc;border:1px solid #e7ecf4;border-radius:10px;margin-bottom:25px}.answer-block p{margin:0 0 8px}.answer-block p:last-child{margin-bottom:0}.explanation-block{display:flex;align-items:flex-start;gap:16px;line-height:1.8;font-size:1rem;margin:25px 0}.explanation-icon{flex:0 0 29px;height:29px;display:grid;place-items:center;font-size:1rem;color:var(--blue);background:#edf2ff;border:1px solid #dce6fc;border-radius:9px;font-weight:650}.explanation-block h3{color:var(--blue);margin-top:5px;margin-bottom:9px}.explanation-block p{margin:0 0 10px;color:#394862}.explanation-block p:last-child{margin:0}.memory-block{display:flex;gap:15px;align-items:flex-start;padding:16px 20px;border-left:3px solid var(--violet);background:#f6f3fd;border-radius:0 8px 8px 0;margin:24px 0}.memory-block>span{font-size:.68rem;letter-spacing:.08em;color:#6846ac;font-weight:750;padding-top:3px;flex-shrink:0}.memory-block p{margin:0;font-size:.92rem;line-height:1.6;color:#4c377a}.caution-block{border:1px solid #ead39a;border-left:3px solid #ba8528;background:#fffaf0;border-radius:8px;padding:17px 20px;margin-bottom:22px;line-height:1.7}.caution-block h3{color:#795418;margin-bottom:8px}.caution-block p{font-size:.94rem;margin:0;color:#695224}.correction-teaser{font-size:.84rem;line-height:1.5;color:#8a5f18;background:#fff7e6;padding:10px 15px;border-radius:7px;margin-bottom:18px}.sources{font-size:.81rem;color:var(--muted);margin:18px 0 28px}.sources summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px}.sources ul{padding-left:20px;line-height:1.8}.sources a{overflow-wrap:anywhere}.recall-panel{border:1px dashed #cedbf3;background:#f7f9ff;text-align:center;padding:36px 24px;margin:0 0 32px;border-radius:12px}.recall-panel p{font-size:1rem;color:#536584;margin:0 0 20px}.recall-panel small{display:block;margin-top:14px;color:#71819e;font-size:.75rem}.primary-button,.secondary-button,.known-button{border-radius:8px;border:1px solid transparent;padding:12px 17px;font-size:.875rem;font-weight:600;line-height:1.35;min-height:44px}.primary-button{background:var(--blue);color:#fff;border-color:var(--blue)}.primary-button:hover:not(:disabled){background:#1742bd}.primary-button>span{margin-left:12px}.secondary-button{border-color:#d6dfed;background:#fff;color:#435571}.secondary-button:hover:not(:disabled){background:#f4f7fc;border-color:#bbcce5}.secondary-button>span,.known-button>span{margin-right:5px}.known-button{background:#eaf5ed;color:#216344;border-color:#c6dfcd}.known-button:hover:not(:disabled),.known-button[aria-pressed=true]{background:#d9efdf;border-color:#9bc8a7}.secondary-button[aria-pressed=true]{border-color:#c89949;background:#fff7e8;color:#865b11}.assessment{border-top:1px solid var(--line);padding:22px 0;display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:28px}.assessment>span{font-size:.81rem;color:var(--muted)}.assessment>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.clear-mark{font-size:.74rem}.navigation{display:flex;justify-content:space-between;align-items:center;margin:20px 0 32px;gap:12px}.nav-hint{font-size:.78rem;color:#758299;text-align:center}.question-map{border:1px solid var(--line);border-radius:11px;background:#fff}.question-map>summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;padding:19px 23px;font-size:.87rem;font-weight:600;color:#41526e}.question-map small{font-size:.74rem;font-weight:400;color:var(--muted);margin-left:10px}.question-map[open]>summary{border-bottom:1px solid var(--line)}.map-legend{display:flex;gap:18px;padding:20px 24px 0;font-size:.75rem;color:var(--muted)}.map-legend span{display:flex;align-items:center;gap:6px}.map-legend i{width:9px;height:9px;display:inline-block;border-radius:3px}.legend-known{background:#a5d6b4}.legend-repeat{background:#e6c17c}.map-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(42px,1fr));gap:7px;padding:20px 24px 24px}.map-grid :is(button,a){border:1px solid #e1e7f1;min-height:40px;border-radius:6px;color:#56657d;background:#f9fbfd;font-size:.8rem}.map-grid :is(button,a).known{background:#eaf6ee;color:#216344;border-color:#c5e1ce}.map-grid :is(button,a).repeat{background:#fff5df;color:#815819;border-color:#ecd7a8}.map-grid :is(button,a).active{background:var(--blue);border-color:var(--blue);color:#fff;font-weight:650}footer{display:flex;justify-content:space-between;gap:14px;margin-top:27px;color:#7c879a;font-size:.73rem;line-height:1.6}.empty-state{text-align:center;background:#fff;border:1px solid var(--line);border-radius:15px;padding:60px 30px;color:var(--muted)}.empty-state h2{color:var(--ink);font-size:1.35rem;margin:15px 0}.empty-state p{font-size:.95rem;line-height:1.6;margin:0 0 24px}.empty-icon{font-size:1.7rem;color:var(--blue);background:#eef3ff;display:inline-grid;place-items:center;width:60px;height:60px;border-radius:50%}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);max-width:calc(100vw - 30px);width:max-content;color:#fff;background:#203454;box-shadow:0 6px 25px #15284725;font-size:.87rem;line-height:1.6;border-radius:10px;padding:11px 20px;opacity:0;pointer-events:none;transition:all .2s;z-index:5}.toast.visible{opacity:1;transform:translate(-50%,0)}.noscript{position:fixed;inset:100px 0 auto;padding:30px;background:#fff5df;color:#71521b;text-align:center}
@media(min-width:1450px){main{padding-top:48px}.study-card{padding:36px 42px 0}.sidebar{padding-top:42px}}
@media(max-width:1150px){.workspace{grid-template-columns:240px minmax(0,1fr)}.sidebar{padding:30px 16px}main{padding:32px 28px}.topbar{padding:0 28px}.study-card{padding:28px 27px 0}h1{font-size:1.7rem}.assessment{align-items:flex-start;flex-direction:column}.nav-hint{display:none}.header-context{padding-left:25px}.topbar{gap:30px}}
@media(max-width:760px){.topbar{height:82px;padding:0 20px;gap:18px}.brand{font-size:1.25rem}.brand-mark{height:41px;width:41px;font-size:1.2rem}.brand small{font-size:.61rem}.header-context{margin-left:auto;font-size:.73rem;text-align:right;padding-left:0;border:0;max-width:180px}.header-context span{font-size:.7rem}.workspace{display:block}.sidebar{min-height:0;border:0;border-bottom:1px solid var(--line);padding:18px 20px}.progress-block{padding:0;display:grid;grid-template-columns:1fr auto;gap:7px 20px}.progress-block>.eyebrow{display:none}.progress-heading{margin:0}.progress-heading strong{font-size:1.35rem}.progress-heading .percentage{margin-left:12px}.progress-block p{margin:0;text-align:right;align-self:center;font-size:.7rem;max-width:155px}.progress-block progress{grid-column:1/-1;grid-row:2;margin:0;height:4px}.topic-picker{margin-top:18px}.topic-picker>summary{padding:0;font-size:.86rem}.topic-picker summary>span{display:inline}.topic-picker[open]>summary{margin-bottom:13px}#topics{grid-template-columns:1fr 1fr;gap:5px}.topic-button{font-size:.81rem;padding:9px}.topic-index{display:none}.topic-count{font-size:.7rem}.sidebar-note{display:none}main{padding:26px 20px}h1{font-size:1.6rem}.eyebrow{font-size:.65rem}.mode-switch{width:100%}.mode-switch button{flex:1}.source-note{margin-top:17px;font-size:.78rem}.study-toolbar{padding-top:19px;margin-bottom:20px;gap:10px}.filter-switch{gap:17px}.filter-switch button{font-size:.8rem}.filter-switch span{margin-left:3px;font-size:.67rem}.study-toolbar .text-button{font-size:.76rem}.current-path{font-size:.75rem}.study-card{padding:24px 20px 0;border-radius:13px}h2{font-size:1.3rem;margin:20px 0 24px}.question-kicker{font-size:.67rem}.status-label{font-size:.67rem}.answer-block{padding:18px;font-size:1rem;line-height:1.7}.explanation-block{gap:10px}.explanation-icon{flex-basis:24px;height:24px;border-radius:7px;font-size:.85rem;margin-top:3px}.explanation-block{font-size:1rem;line-height:1.75}.memory-block{display:block;padding:14px 17px}.memory-block>span{display:block;margin-bottom:6px}.memory-block p{font-size:.92rem}.caution-block{padding:15px}.caution-block p{font-size:.9rem}.assessment{margin-top:24px;padding:20px 0}.assessment>div{width:100%}.assessment .secondary-button,.assessment .known-button{flex:1}.clear-mark{flex-basis:100%;text-align:left;margin-top:5px}.primary-button,.secondary-button,.known-button{font-size:.82rem;padding:12px 13px}.recall-panel{padding:27px 15px}.recall-panel .primary-button{width:100%}.recall-panel p{font-size:.94rem}.recall-panel small{display:none}.navigation{margin-bottom:25px}.question-map>summary{padding:17px}.question-map small{display:block;margin:5px 0 0}.map-grid{padding:17px;grid-template-columns:repeat(auto-fill,minmax(39px,1fr))}.map-legend{padding:17px 17px 0}footer{font-size:.7rem}footer span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Keep regular reading labels legible on compact screens. */
h3{font-size:.875rem;letter-spacing:.04em}.source-note{font-size:.875rem}.sources{font-size:.875rem}
@media(max-width:760px){.study-toolbar{flex-wrap:wrap}.topic-button{font-size:.875rem}.study-toolbar>.text-button{margin-bottom:12px}.filter-switch button{font-size:.875rem}.question-map>summary{font-size:.875rem}}

/* Study tools stay compact on phones and keep native keyboard focus. */
input{font:inherit}input:focus-visible{outline:3px solid #8cacff;outline-offset:3px}
.search-area{margin-top:24px}.search-area>label{font-size:.85rem;font-weight:650;display:block;margin-bottom:8px}.search-control{display:flex;gap:12px;align-items:center}.search-control input{width:100%;min-width:0;padding:12px 14px;font-size:1rem;color:var(--ink);border:1px solid #cbd6e7;border-radius:9px;background:#fff}.search-control .text-button{min-height:44px;flex-shrink:0}.search-area>p{font-size:.76rem;color:var(--muted);line-height:1.5;margin:7px 0 0}.study-toolbar{flex-wrap:wrap;padding-top:18px}.filter-switch{flex-wrap:wrap;gap:8px 20px}.filter-switch button{min-height:44px;padding:8px 0 12px}.study-toolbar>.text-button{min-height:44px;margin:0;align-self:center}.auto-next-option{display:flex;align-items:center;gap:9px;font-size:.82rem;color:var(--muted);margin-top:18px;min-height:44px;cursor:pointer}.auto-next-option input{width:18px;height:18px;accent-color:var(--blue);flex-shrink:0}.progress-tools{margin:0 10px 24px;font-size:.79rem;line-height:1.6;color:var(--muted)}.progress-tools summary{cursor:pointer;font-weight:600;display:flex;justify-content:space-between;min-height:35px;align-items:center}.progress-tools p{margin:8px 0 12px}.progress-tools>div{display:flex;flex-wrap:wrap;gap:7px}.progress-tools button{font-size:.75rem;padding:10px}.progress-tools #backup-status:empty{display:none}#question-title:focus,#answer-content:focus,#empty-state:focus{outline:none}#answer-content:focus-visible{outline:2px solid #8cacff;outline-offset:7px;border-radius:4px}
@media(max-width:760px){.progress-tools{margin:12px 0 0}.progress-tools summary{justify-content:flex-start;gap:10px;min-height:32px}.progress-tools button{font-size:.82rem}.search-area{margin-top:20px}.filter-switch{gap:4px 15px}.filter-switch button{font-size:.81rem}.filter-switch span{margin-left:2px}.study-toolbar{gap:3px 12px}.search-area>p{font-size:.75rem}.auto-next-option{font-size:.8rem}.progress-block{grid-template-columns:minmax(0,1fr) auto;gap:7px 10px}.progress-block p{max-width:130px}.progress-heading{flex-wrap:wrap;gap:4px}.progress-heading .percentage{margin-left:5px}.header-context{max-width:145px}.card-top{flex-wrap:wrap}}

/* Reviewed learning answer and content revision context. */
.learning-answer-block{padding:21px 24px;border:1px solid #d8e4fc;border-left:3px solid var(--blue);border-radius:9px;background:#f4f7ff;line-height:1.75;font-size:1.04rem;margin:20px 0 25px}.learning-answer-block h3{color:#234cad}.learning-answer-block p{margin:0 0 10px}.learning-answer-block p:last-child{margin-bottom:0}.review-meta{display:flex;gap:8px 16px;flex-wrap:wrap;color:var(--muted);font-size:.875rem;margin:0 0 18px}.review-meta>span{padding:5px 9px;border-radius:6px;background:#f1f4f9}.review-meta .needs-clarification{color:#795418;background:#fff5dc}.review-details{margin-top:16px;line-height:1.7}.review-details p{margin:8px 0}.revision-note{padding:13px 16px;background:#edf3ff;color:#294976;border-radius:8px;font-size:.875rem;line-height:1.65}.review-updates{margin:0 10px 14px;border:1px solid #d9e4fa;border-radius:8px;background:#f2f6ff;color:#254bae;padding:10px 12px;text-align:left;font-size:.8rem;line-height:1.5;min-height:44px}
@media(max-width:760px){.learning-answer-block{padding:17px 18px;font-size:1rem}.review-meta{font-size:.875rem;gap:7px}.review-updates{margin:12px 0 0;width:100%}.review-details{font-size:.875rem}}

.map-legend{flex-wrap:wrap}.legend-updated{background:#ad9cdb}.map-grid :is(button,a).updated:not(.active){background:#f0eafa;border-color:#beace0;color:#5d3b91}

#answer p{white-space:pre-line}

/* Programme guidance is separate from self-assessment of the 300 core cards. */
.course-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:30px 0 12px}.course-heading h2{margin:6px 0 0;font-size:1.55rem}.course-count{font-size:.875rem;color:var(--blue);white-space:nowrap}.course-intro{font-size:1rem;line-height:1.75;color:var(--muted);max-width:65ch;margin:0 0 24px}.lessons-list{display:grid;gap:12px}.lesson-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.lesson-card>summary{padding:19px 48px 19px 22px;position:relative;cursor:pointer;line-height:1.5}.lesson-card>summary::after{content:'+';position:absolute;right:22px;top:21px;color:var(--blue);font-size:1.2rem}.lesson-card[open]>summary::after{content:'−'}.lesson-card[open]{border-color:#b7c9f0}.lesson-card[open]>summary{background:#f3f6ff;border-bottom:1px solid #e0e8f7}.lesson-title{display:block;font-size:1.06rem;font-weight:700;color:var(--ink)}.lesson-summary{display:block;font-size:.9rem;color:var(--muted);margin-top:5px}.lesson-content{padding:4px 24px 10px;font-size:1rem;line-height:1.8;color:#34435e}.lesson-content h3,.objective-content h3{font-size:1rem;line-height:1.5;letter-spacing:0;text-transform:none;color:var(--ink);margin:24px 0 9px}.lesson-content p{margin:12px 0}.lesson-content ul,.objective-content ul{padding-left:23px;margin:12px 0}.lesson-content li,.objective-content li{margin:7px 0;overflow-wrap:anywhere}.lesson-takeaway{border-left:3px solid var(--violet);background:#f5f2fc;color:#50377e;border-radius:0 8px 8px 0;padding:14px 18px}.lesson-content .lesson-limits{color:#5d6980;font-size:.9rem;line-height:1.7}.lesson-content .sources{font-size:.875rem;line-height:1.7}.programme-map{margin:30px 0 20px;border-top:1px solid var(--line);padding-top:22px}.programme-map>summary{cursor:pointer;display:flex;justify-content:space-between;gap:16px;font-size:1.06rem;font-weight:700;line-height:1.5;min-height:44px;align-items:center}.programme-map>summary>span:last-child{font-size:.875rem;font-weight:500;color:var(--muted);white-space:nowrap}.programme-intro,.course-source{color:var(--muted);font-size:.9rem;line-height:1.7}.course-source a{overflow-wrap:anywhere}.objectives-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start;margin:20px 0}.objective-card{background:#fff;border:1px solid var(--line);border-radius:10px}.objective-card>summary{padding:15px 18px;font-size:.95rem;font-weight:650;line-height:1.5;cursor:pointer}.objective-card[open]>summary{color:var(--blue)}.objective-content{padding:0 18px 18px;font-size:.9rem;line-height:1.7}.objective-content h3{font-size:.9rem;margin-top:18px}.question-links{display:flex;gap:7px;flex-wrap:wrap}.question-link{border:1px solid #d4dfef;border-radius:7px;background:#fff;color:#2752b9;font-size:.875rem;min-width:44px;min-height:44px;padding:8px}.question-link:hover{background:#edf3ff;border-color:#94b0ed}.lesson-link{border:1px solid #dbd1ef;border-radius:7px;padding:10px 13px;min-height:44px;color:#5f4192;background:#f8f5ff;font-size:.9rem;line-height:1.5;text-align:left;overflow-wrap:anywhere}.lesson-link:hover{background:#eee6fb}.related-lessons{margin:22px 0;display:flex;gap:9px;flex-wrap:wrap}.related-heading{width:100%;font-size:.875rem;font-weight:600;color:var(--muted);margin:0}.objective-lessons{display:flex;flex-wrap:wrap;gap:8px}#course-title:focus{outline:none}#course-title:focus-visible{outline:2px solid #8cacff;outline-offset:5px}
@media(max-width:760px){.course-heading{align-items:flex-start;margin-top:24px}.course-heading h2{font-size:1.35rem}.lesson-card>summary{padding:16px 40px 16px 17px}.lesson-card>summary::after{right:17px;top:17px}.lesson-content{padding:3px 17px 10px}.objectives-list{grid-template-columns:1fr}.programme-map>summary{font-size:1rem}.lesson-link{font-size:.875rem}.course-count{padding-top:5px}}

/* The diagrams share written alternatives and labelled native controls. */
.visual-model-note{padding:14px 17px;border-left:3px solid #a07830;background:#fff8e9;border-radius:0 8px 8px 0;color:#594927;font-size:.9rem;line-height:1.7}
.visual-instruction{font-size:1rem}.visual-content{padding-bottom:16px}.visual-points{padding-left:24px}.visual-points li{padding-left:5px;margin:12px 0}
.model-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}.model-controls:has(> :only-child){grid-template-columns:1fr;max-width:540px}.model-control{display:grid;grid-template-columns:1fr auto;align-items:start;gap:10px;background:#f6f8fd;border:1px solid var(--line);border-radius:9px;padding:15px}.model-control label{font-size:.9rem;line-height:1.5;font-weight:600}.model-control-value{font-size:.9rem;color:var(--blue);white-space:nowrap}.model-control input{grid-column:1/-1;width:100%;min-width:0;min-height:38px;accent-color:var(--blue);margin:0;cursor:pointer}
.diagram-frame{overflow-x:auto;border:1px solid var(--line);border-radius:10px;background:#fff;margin:20px 0;padding:12px;overscroll-behavior-inline:contain}.diagram-frame:focus-visible{outline:3px solid #8cacff;outline-offset:3px}.model-diagram{display:block;width:100%;min-width:540px;height:auto;max-height:300px}.static-diagram{margin:20px 0}.static-diagram .diagram-frame{margin-bottom:12px}.static-diagram img{display:block;width:100%;min-width:600px;max-width:800px;height:auto;margin:0 auto}.static-diagram figcaption{font-size:.9rem;line-height:1.7;color:var(--muted)}
.model-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}.model-results:has(> :nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}.model-results>div{border:1px solid var(--line);border-radius:9px;padding:14px;background:#f8faff}.model-results span{display:block;font-size:.875rem;color:var(--muted);line-height:1.5}.model-results strong{display:block;font-size:1.4rem;color:#254dad;margin-top:5px}.model-calculation{font-size:.9rem;line-height:1.75;color:var(--muted);overflow-wrap:anywhere}.lesson-visual-links{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 10px}.visual-link{background:#eef4ff;color:#244b9e;border-color:#cbdaf3}#visuals-title:focus{outline:none}#visuals-title:focus-visible{outline:2px solid #8cacff;outline-offset:5px}
@media(max-width:980px){.model-controls{grid-template-columns:1fr}.model-controls:has(> :only-child){max-width:none}}
@media(max-width:760px){.model-results{grid-template-columns:1fr}.model-results:has(> :nth-child(2):last-child){grid-template-columns:1fr 1fr}.model-results strong{font-size:1.2rem}.diagram-frame{padding:6px}.visual-model-note{padding:13px}.visual-points{padding-left:19px}}

/* Short case studies keep the decision visible before their worked solution. */

.scenario-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}.scenario-filters button{border:1px solid #d5dfee;background:#fff;color:#53627b;border-radius:20px;min-height:44px;padding:9px 15px;font-size:.875rem}.scenario-filters button[aria-pressed="true"]{color:#1b459f;background:#eef3ff;border-color:#9ab4f1}.scenario-category{display:block;color:#5e4892;font-size:.8rem;font-weight:600;margin-bottom:6px}.scenario-content>p:first-child{margin-top:20px}.scenario-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:21px 0}.scenario-facts>div{border:1px solid var(--line);background:#f8faff;border-radius:8px;padding:13px 15px}.scenario-facts dt{font-size:.875rem;color:var(--muted);line-height:1.6}.scenario-facts dd{margin:4px 0 0;color:var(--ink);font-weight:650;font-size:1rem;line-height:1.65;overflow-wrap:anywhere}.scenario-assumptions{font-size:.9rem;line-height:1.7;color:var(--muted);padding:12px 0;border-bottom:1px solid var(--line)}.scenario-assumptions>summary{cursor:pointer;min-height:36px;list-style:disclosure-closed;font-weight:600}.scenario-assumptions[open]>summary{list-style:disclosure-open}.scenario-assumptions ul{margin-top:6px}.scenario-task{font-size:1.05rem;color:var(--ink);font-weight:600}.scenario-instruction{font-size:.9rem;color:var(--muted)}.scenario-content>.primary-button{margin-bottom:14px}.scenario-solution{border-top:1px solid #cbdaf3;padding:0 0 8px;margin-top:24px}.scenario-answer{padding:15px 18px;background:#edf3ff;border-left:3px solid var(--blue);border-radius:0 8px 8px 0;color:#224578;font-weight:550}.scenario-steps{padding-left:25px}.scenario-steps>li{padding-left:5px;margin:20px 0}.scenario-steps strong{font-size:1rem;color:var(--ink)}.scenario-steps p{margin:6px 0}.scenario-pitfall{padding:13px 16px;border-radius:8px;background:#fff8e9;color:#66512d;font-size:.9rem}.scenario-link{background:#f4effc}.scenario-solution>.secondary-button{margin:8px 0 8px}.scenario-task:focus,.scenario-solution:focus,#scenarios-title:focus{outline:none}.scenario-task:focus-visible,.scenario-solution:focus-visible,#scenarios-title:focus-visible{outline:2px solid #8cacff;outline-offset:5px}
/* A drawn chevron avoids announcing decorative plus signs in hidden panels. */
.regional-intro{font-size:.95rem;line-height:1.75;color:var(--ink);margin:19px 0 10px}.regional-source-note{font-size:.875rem;color:var(--muted);line-height:1.7;margin:0 0 22px}.regional-content .lessons-list{margin-bottom:0}.regional-content .lesson-card:last-child{margin-bottom:0}.region-label{display:block;color:#69528d;font-size:.8rem;font-weight:600;line-height:1.6;margin-bottom:5px}.region-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.region-comparison>section{padding:16px;background:#f5f8ff;border:1px solid #d8e2f3;border-radius:8px}.region-comparison>section+section{background:#faf7ff;border-color:#e3dbf0}.region-comparison h3{margin:0 0 10px;font-size:.9rem}.region-comparison p{margin:0;line-height:1.8;font-size:.925rem}.region-link{background:#f8f3fc;color:#654287;border-color:#e0d3ec}
@media(max-width:760px){.regional-intro,.regional-source-note{padding:0 3px}.region-comparison{grid-template-columns:1fr;gap:10px}.region-comparison>section{padding:14px}}
.lesson-card>summary::after{content:'';width:8px;height:8px;border-right:2px solid var(--blue);border-bottom:2px solid var(--blue);transform:rotate(45deg);top:26px}.lesson-card[open]>summary::after{content:'';transform:rotate(225deg);top:30px}
@media(max-width:760px){.lesson-card>summary::after{top:22px}.lesson-card[open]>summary::after{top:26px}}


/* Objective practice keeps a decision, feedback and the next action together. */
.quiz-setup h3,.quiz-results h3{font-size:1.25rem;margin:0 0 24px}.quiz-controls{display:grid;grid-template-columns:1.5fr 1fr;gap:20px;margin:20px 0}.quiz-controls>div{display:grid;gap:9px}.quiz-controls label{font-size:.9rem;font-weight:650}.quiz-controls select{width:100%;min-width:0;min-height:48px;padding:11px 36px 11px 13px;font:inherit;font-size:1rem;color:var(--ink);border:1px solid #bac9e3;border-radius:8px;background:#fff}.quiz-controls select:focus-visible{outline:3px solid #8cacff;outline-offset:3px}.quiz-help,.quiz-session-note,.quiz-scope{font-size:.9rem;line-height:1.75;color:var(--muted)}.quiz-session-note{border-top:1px solid var(--line);padding-top:18px;margin:24px 0 0}.quiz-setup>.primary-button{margin-top:6px}.quiz-position{font-size:.95rem;white-space:nowrap;color:var(--muted)}.quiz-card>progress{height:5px;margin:20px 0 26px}.quiz-card>h3{font-size:1.5rem;line-height:1.55;margin:0 0 14px;letter-spacing:-.02em}.quiz-scope{margin:0 0 24px}.quiz-options{padding:0;border:0;margin:0;min-width:0}.quiz-options legend{font-size:.9rem;color:var(--muted);padding:0;margin:0 0 12px}.quiz-option{display:flex;gap:12px;align-items:flex-start;line-height:1.7;font-size:1rem;padding:15px 17px;border:1px solid #d5dfef;border-radius:10px;background:#fff;margin:10px 0;cursor:pointer}.quiz-option:hover{background:#f7f9ff}.quiz-option:has(input:checked){background:#eef4ff;border-color:#7396e6;box-shadow:inset 3px 0 0 var(--blue)}.quiz-option:has(input:focus-visible){outline:3px solid #8cacff;outline-offset:3px}.quiz-option:has(input:disabled){cursor:default}.quiz-option input{margin:6px 0 0;width:18px;height:18px;flex:0 0 18px;accent-color:var(--blue)}.quiz-letter{font-size:.875rem;font-weight:700;color:#5272af;min-width:15px;margin-top:2px}.quiz-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:24px 0 14px}.quiz-actions button{max-width:100%;line-height:1.6}.quiz-finish{font-size:.875rem;margin-top:12px;min-height:44px}.quiz-feedback{margin-top:25px;border-top:1px solid var(--line);padding-top:24px}.quiz-verdict{font-size:1.15rem;margin:0 0 16px;color:#754b23}.quiz-verdict.correct{color:#226848}.quiz-explanation>p{line-height:1.8;font-size:1rem}.quiz-explanation h4{font-size:1rem;margin:24px 0 12px}.quiz-reasons{list-style:none;margin:20px 0;padding:0}.quiz-reasons>li{border:1px solid var(--line);border-radius:8px;padding:15px 17px;margin:12px 0;background:#fafbfe}.quiz-reasons>li.quiz-reason-correct{background:#f0f8f3;border-color:#c7dfcf}.quiz-reasons strong{font-size:.95rem;line-height:1.7;display:block}.quiz-reasons p{font-size:.95rem;line-height:1.75;margin:7px 0 0;color:#42536d}.quiz-score{display:flex;align-items:baseline;flex-wrap:wrap;gap:18px;margin:10px 0 15px}.quiz-score strong{font-size:3.1rem;line-height:1.2;letter-spacing:-.05em;color:var(--blue)}.quiz-score span{font-size:1.1rem;font-weight:600;color:#536789}.quiz-result-counts{font-size:1rem;line-height:1.75}.quiz-topic-results{border-collapse:collapse;width:100%;margin:28px 0;text-align:left;font-size:.95rem}.quiz-topic-results caption{text-align:left;font-size:1.05rem;font-weight:650;padding-bottom:13px}.quiz-topic-results th,.quiz-topic-results td{border-bottom:1px solid var(--line);padding:12px 10px;line-height:1.65}.quiz-topic-results thead th{font-weight:600;color:var(--muted);background:#f6f8fc;font-size:.875rem}.quiz-topic-results tbody th{font-weight:500}.quiz-topic-results td{text-align:right;white-space:nowrap;color:#244da8;font-weight:650}.quiz-topic-results thead th:last-child{text-align:right}.quiz-review{margin:32px 0}.quiz-review>h3{font-size:1.2rem;margin:0 0 20px}#quiz-title:focus,#quiz-question:focus,#quiz-feedback:focus,#quiz-result-title:focus,#quiz-setup-title:focus{outline:none}#quiz-title:focus-visible,#quiz-question:focus-visible,#quiz-feedback:focus-visible,#quiz-result-title:focus-visible,#quiz-setup-title:focus-visible{outline:2px solid #8cacff;outline-offset:5px}

/* Daily review shares the existing learning surface and calm progress cues. */

/* Larger controls and visible focus for mobile and keyboard study. */
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #1e4fd9!important;outline-offset:3px!important}.study-card{overflow:visible}.study-sidebar>summary{display:none}.study-sidebar>summary::after{content:'+';font-size:1.25rem;color:var(--blue)}.study-sidebar[open]>summary::after{content:'−'}.sources>summary,.objective-card>summary{display:list-item;list-style:disclosure-closed inside;min-height:44px;padding:10px 0}.sources[open]>summary,.objective-card[open]>summary{list-style-type:disclosure-open}.sources>summary::-webkit-details-marker::-webkit-details-marker,.objective-card>summary::-webkit-details-marker{display:inline}.programme-map>summary::after{content:'+';margin-left:12px;font-size:1.2rem;color:var(--blue)}.programme-map[open]>summary::after{content:'−'}.clear-mark,.progress-tools>summary,.topic-picker>summary{min-height:44px}.map-grid{grid-template-columns:repeat(auto-fill,minmax(44px,1fr))}.map-grid :is(button,a){min-height:44px}.nav-hint,footer{color:#53627b}.auto-next-option{min-height:44px}.view-switch button,.filter-switch button,.question-link,.lesson-link{overflow-wrap:anywhere;min-height:44px}.card-top>*{min-width:0}.quiz-card>h3{color:var(--ink);text-transform:none;letter-spacing:normal}.sources{font-size:.9rem}.source-note,.about-note,.progress-block p,.search-area>p{font-size:.875rem}#question-title,#quiz-question{scroll-margin-top:18px}
@media(max-width:760px){.sidebar{padding:0 20px}.study-sidebar>summary{display:flex;align-items:center;gap:12px;min-height:52px;font-size:.95rem;font-weight:600;cursor:pointer}.study-sidebar>summary>span{margin-left:auto;font-size:.9rem;font-weight:500;color:var(--muted)}.study-sidebar>div{padding:8px 0 20px}.topic-picker>summary{display:flex;align-items:center}.progress-block{grid-template-columns:1fr}.progress-block p{max-width:none;text-align:left;font-size:.875rem}.progress-block progress{grid-row:auto}.topbar{height:auto;min-height:82px;flex-wrap:wrap;padding:16px 20px;gap:12px}.header-context{font-size:.875rem;max-width:none}.header-context span{font-size:.8rem}.brand small{font-size:.7rem;letter-spacing:.1em}main{padding:22px 16px}.study-card{padding-left:18px;padding-right:18px}.primary-button,.secondary-button,.known-button{font-size:.95rem}.source-note,.search-area>p,.auto-next-option,.current-path,.progress-tools p{font-size:.875rem}.filter-switch{gap:8px;flex-wrap:wrap;width:100%}.filter-switch button{font-size:.9rem;flex:1}.map-grid{grid-template-columns:repeat(auto-fill,minmax(44px,1fr))}.header-context{text-align:left;margin-left:0}.progress-tools button{font-size:.95rem}.study-toolbar{padding-top:12px}.clear-mark{font-size:.875rem}}
@media(max-width:380px){.header-context{flex-basis:100%}.study-card{padding-left:15px;padding-right:15px}.navigation{flex-wrap:wrap}.navigation>:is(button,a){flex:1}.quiz-score strong{font-size:2.2rem}}

.migration-note{border:1px solid var(--line);background:#f3f6ff;border-radius:10px;padding:18px;margin-bottom:20px;font-size:1rem;line-height:1.75}.migration-note h2{font-size:1.2rem;margin:0 0 8px}.migration-note p{margin:8px 0}.migration-note a{color:#345db2}

.study-collaboration{margin-top:22px;padding-top:16px;border-top:1px solid var(--line);font-size:.95rem}.collaboration-actions{display:flex;flex-wrap:wrap;gap:10px}.study-collaboration>details>summary,.pilot-guide>summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:.95rem;font-weight:600;line-height:1.6;list-style:disclosure-closed inside}.study-collaboration>details[open]>summary,.pilot-guide[open]>summary{list-style-type:disclosure-open}.correction-form{display:grid;gap:10px;margin:8px 0 16px}.correction-form label{font-weight:600}.study-collaboration textarea,.correction-form input,.correction-form select{font:inherit;font-size:1rem;line-height:1.6;width:100%;min-height:46px;border:1px solid #aebed8;border-radius:7px;background:#fff;color:var(--ink);padding:10px;box-sizing:border-box}.study-collaboration textarea{resize:vertical}.correction-form p,.correction-help,.collaboration-status{font-size:.875rem!important;line-height:1.7!important;white-space:pre-line;color:var(--muted)}.collaboration-status:empty{display:none}.pilot-guide{border-top:1px solid var(--line);margin-top:28px;padding-top:8px}.pilot-content{font-size:1rem;line-height:1.8;padding:0 4px 14px;max-width:78ch}.pilot-content h2{font-size:1.25rem}.pilot-content h3{font-size:1.05rem}.pilot-content li{margin:12px 0}.collaboration-actions button{min-height:44px}.study-collaboration a{overflow-wrap:anywhere}@media(max-width:760px){.collaboration-actions{flex-direction:column}.collaboration-actions button{width:100%;white-space:normal}.pilot-content ol{padding-left:22px}}

/* Six equal learning choices, with the question surface taking priority. */
.topbar{min-height:88px;height:auto;padding-top:16px;padding-bottom:16px}
.brand small{font-size:.75rem;letter-spacing:.1em}
main{padding-top:30px}
.sidebar{padding-top:30px}
.progress-block{padding-bottom:20px}
.progress-heading{margin-top:10px}
.topic-button{padding:11px 10px;gap:10px}
.topic-count{font-size:.8rem;line-height:1.5}
.source-note{margin-top:16px;max-width:80ch}
.view-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:22px 0 20px;padding:8px;background:#edf1f8;border:1px solid #e0e6f0;border-radius:14px}
.view-switch button{min-width:0;min-height:48px;padding:10px 14px;border:1px solid transparent;border-radius:8px;background:transparent;color:#47566f;font-size:.9rem;font-weight:650;line-height:1.45;overflow-wrap:break-word}
.view-switch button:hover{background:#fff;border-color:#ccd8ec;color:#2048a7}
.view-switch button[aria-pressed="true"]{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 2px 5px #1e4fd91a}
.search-area{margin-top:0}
.search-area>label{font-size:.875rem}
.study-toolbar{padding-top:12px;margin-bottom:20px}
.course-heading{margin-top:24px}
.course-panel{scroll-margin-top:20px}
.region-countries{color:var(--violet);font-size:.9rem;line-height:1.7;margin:4px 0 20px}
.regional-content{padding:0;border:0}
.regional-intro{font-size:1rem;margin:0 0 14px;max-width:75ch}
.regional-source-note{margin-bottom:24px;max-width:85ch}
#regions-title:focus{outline:none}




@media(min-width:1600px){.view-switch{grid-template-columns:repeat(6,minmax(0,1fr))}.view-switch button{padding:10px 8px}}
@media(max-width:760px){
 .topbar{padding:14px 18px;min-height:76px}
 .header-context{font-size:.8rem}
 .header-context span{font-size:.8rem}
 .sidebar{padding:0 18px}
 main{padding:22px 16px}


 .source-note{margin-top:14px}
 .view-switch{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:6px;margin:18px 0}
 .view-switch button{font-size:.875rem;min-height:54px;padding:9px 10px;grid-column:auto}
 .topic-count{font-size:.8rem}

 .course-heading h2{font-size:1.4rem}
 .regional-intro,.regional-source-note{padding:0}
}

/* The study surface stays wide; the learning menu stays on the left. */
.workspace{grid-template-columns:280px minmax(0,1fr);align-items:start}
.workspace>main{grid-column:2;grid-row:1;padding:28px 40px 24px;max-width:1160px}
.workspace>.sidebar{grid-column:1;grid-row:1;border-left:0;border-right:1px solid var(--line);min-height:0;padding:26px 20px;position:sticky;top:0;max-height:100dvh;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.menu-heading{font-size:.75rem;letter-spacing:.1em;font-weight:700;color:var(--muted);margin:0 8px 12px}
.sidebar .view-switch{grid-template-columns:1fr;gap:5px;margin:0 0 26px;padding:5px;border-radius:11px}
.sidebar .view-switch button{min-height:44px;padding:10px 12px;text-align:left;font-size:.9rem}
.sidebar .progress-block{padding:0 8px 20px}
.sidebar .sidebar-note{margin-top:20px;padding-top:18px}

.navigation{position:static;display:flex;align-items:center;gap:12px;margin:18px 0 0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
.navigation .nav-hint{font-size:.8rem;line-height:1.5;padding:0 8px}
.navigation>:is(button,a){flex-shrink:0}
#study-card,#empty-state,#question-title,#answer-content,[id^="correction-q-"]{scroll-margin-top:18px}
.current-path{margin-top:2px}
.question-tools{margin-top:6px;padding:18px 0 0;border-top:1px solid var(--line)}
.question-tools-label{font-size:.875rem;font-weight:600;line-height:1.6;color:var(--muted);margin:0 0 12px}
.question-tools>.study-collaboration{margin:0;padding:0;border:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 20px;align-items:start}
.question-tools>.study-collaboration:has(>details[open]){grid-template-columns:1fr}
.question-tools>.study-collaboration>.collaboration-status,.question-tools>.study-collaboration>textarea{grid-column:1/-1}
.question-tools>.study-collaboration>details>summary{padding:10px 0}
.learning-about{margin-top:26px;padding-top:18px;border-top:1px solid var(--line)}
.learning-about .source-note{margin:0;font-size:.875rem;line-height:1.75}
.learning-about .about-note{background:#fff;border-color:var(--line);color:var(--muted)}
@media(max-width:1150px){.workspace{grid-template-columns:250px minmax(0,1fr)}.workspace>main{padding:26px 26px 24px}.workspace>.sidebar{padding:24px 14px}.navigation .nav-hint{display:none}}
@media(max-width:760px){
 .workspace{display:flex;flex-direction:column}
 .workspace>.sidebar{position:static;max-height:none;overflow:visible;width:100%;padding:0 18px;border-left:0;border-right:0;border-bottom:1px solid var(--line)}
 .workspace>main{padding:22px 16px;width:100%}
 .menu-heading{display:none}
 .sidebar .view-switch{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:4px 0 20px;padding:6px}
 .sidebar .view-switch button{text-align:center;font-size:.875rem;min-height:52px;padding:9px}

 .sidebar .progress-block{padding:0 0 18px}
 .navigation{gap:8px;margin:16px 0 0;flex-wrap:nowrap}
 .navigation>:is(button,a){flex:1;min-width:0;font-size:.875rem;padding:11px 8px;line-height:1.4}
 .navigation .primary-button>span{margin-left:6px}
 .question-tools>.study-collaboration{grid-template-columns:1fr;gap:4px}
 .learning-about{margin-top:20px}
}

.sidebar .mode-switch{width:100%;margin:0 0 22px;gap:2px}
.sidebar .mode-switch button{flex:1;min-width:0;padding:10px 8px;font-size:.875rem}
.question-finder{margin:24px 0 20px;padding:20px 0 0;border-top:1px solid var(--line)}
.question-finder .study-toolbar{margin-bottom:0}
.question-finder .search-area{margin-top:0}
@media(max-width:760px){.sidebar .mode-switch{margin:4px 0 18px}.question-finder{margin-top:20px;padding-top:18px}}

/* The page title belongs to the compact masthead, leaving the question first. */
.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:24px;min-height:88px;padding:14px 38px}
.topbar .brand{justify-self:start;min-width:0}
.header-title{grid-column:2;min-width:0;text-align:center}
.header-title .eyebrow{font-size:.75rem;line-height:1.4;letter-spacing:.12em}
.header-title .learning-heading{font-size:1.5rem;line-height:1.25;letter-spacing:-.035em;margin:4px 0 0}
.topbar .header-context{grid-column:3;justify-self:end;text-align:right;border:0;padding:0;margin:0;max-width:none;font-size:.875rem;line-height:1.45}
.topbar .header-context span{font-size:.8125rem;margin-top:3px}
@media(max-width:1000px){
 .topbar{gap:18px;padding-right:28px;padding-left:28px}
 .topbar .header-context{display:none}
 .topbar .brand{font-size:1.15rem;gap:10px}
 .topbar .brand small{font-size:.65rem}
}
@media(max-width:760px){
 .topbar{grid-template-columns:42px minmax(0,1fr) 42px;gap:8px;min-height:76px;padding:12px 16px}
 .topbar .brand>span:last-child{display:none}
 .topbar .brand-mark{width:42px;height:42px}
 .header-title .eyebrow{font-size:.75rem;letter-spacing:.08em}
 .header-title .learning-heading{font-size:clamp(1.125rem,4.6vw,1.375rem);margin-top:3px}
}

/* Progress and topics on the left, learning choices on the right. */
.workspace{grid-template-columns:220px minmax(0,1fr) 230px}
.workspace>.sidebar{grid-column:1;padding:26px 14px}
.workspace>main{grid-column:2;padding:28px 28px 24px}
.workspace>.learning-menu{grid-column:3;grid-row:1;background:#fff;border-left:1px solid var(--line);padding:26px 16px;min-width:0;position:sticky;top:0;max-height:100dvh;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.learning-menu-details>summary{display:none}
.learning-menu .mode-switch{width:100%;margin:0 0 22px;gap:2px}
.learning-menu .mode-switch button{flex:1;min-width:0;padding:10px 8px;font-size:.875rem}
.learning-menu .view-switch{grid-template-columns:1fr;gap:5px;margin:0 0 24px;padding:5px;border-radius:11px}
.learning-menu .view-switch button{min-height:44px;padding:10px 10px;text-align:left;font-size:.875rem}
.app-install{border-top:1px solid var(--line);padding-top:20px}
.app-install>button{width:100%;font-size:.875rem;color:var(--blue);border-color:#cbd8f3;background:#f7f9ff}
.app-install p{font-size:.8125rem;line-height:1.6;margin:10px 2px 0;color:var(--muted)}
.install-help{border:1px solid var(--line);border-radius:16px;padding:28px;max-width:560px;width:calc(100% - 32px);max-height:calc(100dvh - 40px);overflow:auto;color:var(--ink);background:#fff;box-shadow:0 20px 80px #152a4b33}
.install-help::backdrop{background:#17243f70}
.install-help-close{display:block;margin-left:auto;min-height:44px}
.install-help h2{font-size:1.45rem;margin:8px 0 16px}
.install-help p,.install-help li{font-size:1rem;line-height:1.7}
.install-help ol{padding-left:23px}
.install-help li{padding-left:4px;margin:12px 0}
.install-help-note{padding:14px 16px;background:#f5f7fc;border-radius:9px;color:var(--muted)}
@media(min-width:1500px){.workspace{grid-template-columns:250px minmax(0,1fr) 250px}.workspace>.sidebar,.workspace>.learning-menu{padding-left:20px;padding-right:20px}.workspace>main{padding-left:36px;padding-right:36px}}
@media(max-width:1100px){
 .workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}
 .workspace>.sidebar,.workspace>.learning-menu{position:static;max-height:none;overflow:visible;min-height:0;width:auto;padding:0 18px;border:0;border-bottom:1px solid var(--line);grid-row:auto}
 .workspace>.sidebar{grid-column:1}
 .workspace>.learning-menu{grid-column:2;border-left:1px solid var(--line)}
 .workspace>.sidebar:has(>details[open]),.workspace>.learning-menu:has(>details[open]){grid-column:1/-1}
 .workspace>main{grid-column:1/-1;grid-row:auto;padding:24px;width:100%}
 .study-sidebar>summary,.learning-menu-details>summary{display:flex;align-items:center;gap:10px;min-height:52px;font-size:.875rem;font-weight:600;cursor:pointer;list-style:none}
 .study-sidebar>summary>span{margin-left:auto;font-size:.8rem;font-weight:400}
 .study-sidebar>summary::after,.learning-menu-details>summary::after{content:'+';font-size:1.2rem;color:var(--blue);margin-left:auto}
 .study-sidebar[open]>summary::after,.learning-menu-details[open]>summary::after{content:'−'}
 .study-sidebar>div,.learning-menu-details>div{padding:8px 0 20px}
 .learning-menu .mode-switch{max-width:420px;margin:0 0 18px}
 .learning-menu .menu-heading{display:none}
 .learning-menu .view-switch{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 0 20px;padding:6px}
 .learning-menu .view-switch button{text-align:center;min-height:48px}
 .app-install{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-top:16px}
 .app-install>button{width:auto}
 .app-install p{margin:0}
}
@media(max-width:600px){
 .workspace>.sidebar,.workspace>.learning-menu{padding:0 14px}
 .workspace>main{padding:20px 16px}
 .study-sidebar>summary>span{display:none}
 .learning-menu .view-switch{grid-template-columns:repeat(2,minmax(0,1fr))}
 .install-help{padding:18px}
}

/* The same learning card is readable before enhancement and without JavaScript. */
.learning-heading{font-size:1.55rem;line-height:1.25;font-weight:650;margin:0}
.study-card h1{font-size:1.68rem;line-height:1.45;font-weight:650;margin:22px 0 26px;letter-spacing:-.02em}
.navigation a,.question-links a,.map-grid a{text-decoration:none}
.map-grid a{display:grid;place-items:center}
a[aria-disabled="true"]{opacity:.45;cursor:default;pointer-events:none}
.study-loading #answer-content,.study-loading #assessment{visibility:hidden}
html:not(.study-enhanced) .sidebar,html:not(.study-enhanced) .learning-menu,html:not(.study-enhanced) #assessment,html:not(.study-enhanced) .question-finder,html:not(.study-enhanced) .auto-next-option,html:not(.study-enhanced) #question-tools,html:not(.study-enhanced) #question-status,html:not(.study-enhanced) #pilot-guide,html:not(.study-enhanced) .learning-about{display:none}
html:not(.study-enhanced) .workspace{grid-template-columns:minmax(0,1fr);max-width:1000px}
html:not(.study-enhanced) .workspace>main{grid-column:auto;grid-row:auto}
.noscript{position:static;margin:20px auto;padding:16px;max-width:960px;font-size:1rem;line-height:1.6}
@media(max-width:760px){.study-card h1{font-size:1.3rem;margin:20px 0 24px}.learning-heading{font-size:1.1rem}}

.language-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:16px 0 10px}
.language-switch a{min-width:0;text-align:center;text-decoration:none;border:1px solid var(--line);border-radius:7px;padding:8px 2px;font-size:.875rem;line-height:1.4;background:#fff}
.language-switch a[aria-current="true"]{color:#fff;background:var(--blue);border-color:var(--blue);font-weight:500}
html:not(.study-enhanced) .learning-menu{display:block;position:static;max-height:none;min-height:0;grid-column:1;grid-row:2}
html:not(.study-enhanced) .learning-menu .mode-switch,html:not(.study-enhanced) .learning-menu .menu-heading,html:not(.study-enhanced) .learning-menu .view-switch,html:not(.study-enhanced) .learning-menu .app-install{display:none}

.translation-note{font-size:.875rem;line-height:1.6;color:var(--muted);margin:16px 0}

.progress-heading .percentage{white-space:nowrap;flex-shrink:0}

html:lang(zh){font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei","PingFang SC","Noto Sans CJK SC",sans-serif;line-break:strict}
html:lang(zh) .eyebrow,html:lang(zh) .brand small{letter-spacing:.04em}
html:lang(zh) h1,html:lang(zh) h2{letter-spacing:normal}
