:root{--bg:#f5f4ef;--paper:#fff;--ink:#253d34;--muted:#778078;--line:#e1e5dd;--sage:#eaf0e5;--green:#365a43;--accent:#c4d77f;--red:#a74a3c;--red-bg:#fcf0eb;--radius:18px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:15px;line-height:1.55}button,input,select{font:inherit}button,a,input,select,summary{outline-offset:4px}button{cursor:pointer;border:0}button:disabled{cursor:default;opacity:.4}a{color:inherit}button{transition:background .18s,transform .18s,border-color .18s}button:hover:not(:disabled){filter:brightness(.97)}button:active:not(:disabled){transform:translateY(1px)}.app{display:grid;grid-template-columns:258px minmax(0,1fr);min-height:100vh}.sidebar{padding:38px 25px 24px;background:#edeFE7;border-right:1px solid var(--line);position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-family:Manrope,sans-serif;font-size:22px;font-weight:800;letter-spacing:-1px}.brandmark{display:grid;place-items:center;background:var(--ink);color:#e6eccc;width:39px;height:43px;border-radius:13px;font-family:Georgia,serif;font-size:31px;font-weight:normal;line-height:1}.brand-sub{display:block;font-family:'DM Sans',sans-serif;font-size:8px;letter-spacing:1.2px;font-weight:500;margin-top:3px}.side-label,.eyebrow,.section-kicker{font-size:10px;font-weight:700;letter-spacing:1.9px;color:var(--muted)}.side-label{margin:59px 10px 20px}.section-button{width:100%;text-align:left;display:flex;gap:13px;align-items:center;background:transparent;padding:16px 13px;border-radius:12px;margin:5px 0;color:#6c786f;font-size:13px}.section-button.active{background:var(--ink);color:white;box-shadow:0 6px 16px #263e3412}.section-button .num{font:600 21px Manrope,sans-serif;color:#a0ab9b}.section-button.active .num{color:var(--accent)}.section-button small{display:block;font-size:10px;opacity:.65;margin-top:3px}.section-button strong{font-weight:600}.side-note{border-top:1px solid #d7ddce;margin:42px 10px 22px;padding-top:26px}.spark{font-size:32px;color:#788a62}.side-note h3{font-family:Manrope,sans-serif;font-size:15px;line-height:1.6;margin:7px 0}.side-note p{color:var(--muted);font-size:12px;line-height:1.8}.side-link{margin-top:auto;padding:12px 8px;background:transparent;color:#667362;font-size:11px;text-align:left}.local-note{font-size:9px;color:#879080;padding:0 8px}main{max-width:1260px;width:100%;padding:0 58px 28px;margin:0 auto}.topbar{height:97px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.top-actions{display:flex;align-items:center;gap:18px}.text-button{background:transparent;color:#667263;font-size:12px;padding:9px 3px}.icon-button{width:34px;height:34px;border:1px solid #dbe1d3;border-radius:50%;color:var(--ink);background:transparent;font-size:20px;line-height:1}.heading{padding:36px 0 25px}.section-kicker{color:#8b986e;letter-spacing:2.2px}.heading h1{font:600 clamp(26px,2.75vw,39px)/1.25 Manrope,sans-serif;letter-spacing:-1.5px;margin:9px 0 10px}.heading p{font-size:13px;color:var(--muted);margin:0}.stats{display:grid;grid-template-columns:1.18fr 1fr 1fr;margin:4px 0 28px;padding:22px 25px;background:#eeeee5;border:1px solid #e7e9de;border-radius:14px}.stats>div+div{border-left:1px solid #dadfd0;padding-left:27px}.stats>div:first-child{padding-right:30px}.stat-label{font-size:10px;color:#818977}.stat-number{font:600 29px/1.4 Manrope,sans-serif;letter-spacing:-1px;margin:2px 0 0}.stat-denominator{font-size:15px;font-weight:400;color:#96a08c;letter-spacing:0;margin-left:6px}.stat-foot{font-size:9px;color:#899180}.progress-track{height:4px;background:#d9dfcb;max-width:190px;margin-top:11px;overflow:hidden;border-radius:3px}.progress-track span{height:100%;display:block;background:#819b4f;border-radius:3px;transition:width .3s}.source-row{display:flex;align-items:center;gap:12px;margin:0 0 24px;font-size:11px;flex-wrap:wrap}.source-row label{color:#778273}.source-row select{padding:8px 30px 8px 11px;border:1px solid #dbe1d3;border-radius:8px;background:#fafbf7;color:#42523f;font-size:11px}.source-row>span{margin-left:auto;color:#929b8e;font-size:10px}.type-tabs{display:flex;border-bottom:1px solid var(--line);gap:29px;overflow:auto}.type-tab{padding:0 0 13px;background:transparent;color:#7b8577;white-space:nowrap;font-size:12px;border-bottom:2px solid transparent}.type-tab.active{border-color:var(--green);color:var(--ink);font-weight:700}.type-tab span{display:inline-block;margin-left:6px;padding:1px 6px;background:#e9ece2;border-radius:4px;font-size:10px;color:#8a967c}.type-tab.active span{color:#47613d;background:#e0e8ce}.quiz-toolbar{display:flex;justify-content:space-between;align-items:center;margin:16px 0 13px}.check-label{font-size:11px;color:#778171;display:flex;gap:7px;align-items:center;cursor:pointer}input[type=checkbox]{accent-color:var(--green);width:14px;height:14px}.question-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:29px 33px 27px;min-height:300px;box-shadow:0 8px 25px #233d3303}.card-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:10px;color:#85907e;margin-bottom:21px}.tag{display:inline-flex;align-items:center;gap:6px;font-size:9px;font-weight:600;background:#eff3e9;color:#728958;padding:4px 8px;border-radius:5px}.tag.warn{background:#fff3dd;color:#9a7532}.question-card h2{font:600 clamp(18px,1.65vw,23px)/1.6 Manrope,sans-serif;letter-spacing:-.5px;margin:0 0 23px;max-width:850px}.fill-form{display:flex;gap:10px;margin-top:16px}.answer-input{min-width:0;flex:1;border:1px solid #d9e1d3;border-radius:9px;padding:13px 16px;color:var(--ink);background:#fdfefa;font-size:14px}.answer-input:focus{border-color:#7d9860;outline:2px solid #dce8c9}.primary{color:white;background:var(--green);padding:12px 23px;border-radius:9px;font-size:12px;font-weight:600}.secondary{background:#edf2e5;color:#4a633b;padding:11px 18px;border-radius:9px;font-size:12px;font-weight:500;border:1px solid #dee7d4}.hint-actions{display:flex;flex-wrap:wrap;gap:20px;margin-top:13px}.hint-actions button{font-size:10px;color:#91a078}.hint-text{color:#83955f;font-size:13px;letter-spacing:2px;padding:10px 0}.options{display:grid;gap:9px}.option{display:flex;align-items:flex-start;text-align:left;padding:12px 15px;border-radius:9px;border:1px solid #e0e6d9;background:#fcfdf9;color:#465441;font-size:13px;gap:13px;min-height:48px}.option .letter{border:1px solid #dce3d4;border-radius:6px;min-width:25px;height:25px;display:grid;place-items:center;font-size:10px;color:#8d9a7e;font-weight:600}.option.selected{border-color:#879f66;background:#f2f6e9}.option.selected .letter{background:#536c42;color:white;border-color:#536c42}.option.right{background:#ecf4e5;border-color:#91b771}.option.wrong{background:var(--red-bg);border-color:#d59786}.option:disabled{opacity:1}.multi-help{font-size:11px;color:#8b967f;margin:-11px 0 15px}.submit-row{margin-top:17px;display:flex;gap:10px;align-items:center}.feedback{border-radius:11px;padding:17px 19px;margin-top:20px;background:#edf4e7;border:1px solid #d6e4ca;font-size:12px}.feedback.bad{background:#fff3ed;border-color:#efd4c6}.feedback.neutral{background:#f5f4ec;border-color:#e7e4d5}.feedback-title{font-weight:700;font-size:13px}.feedback .solution{font-size:14px;color:#345331;margin:7px 0;line-height:1.6}.feedback p{color:#74806c;font-size:11px;margin:9px 0 0}.feedback .original-answer{font-size:10px;color:#8a7969}.self-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.navigation{display:flex;justify-content:space-between;align-items:center;margin:20px 0 22px;gap:12px}.nav-button{color:#617159;background:transparent;font-size:12px;padding:8px 0}.navigation>span{font-size:10px;color:#9aa28f}.question-map{border-top:1px solid var(--line);padding:17px 0}.question-map summary{list-style:none;cursor:pointer;font-size:11px;color:#7b8771;display:flex;justify-content:space-between}.question-map summary:before{content:'＋';margin-right:9px}.question-map[open] summary:before{content:'−'}.map-legend{margin-left:auto;display:flex;align-items:center;gap:7px;font-size:9px;color:#929b87}.map-legend i{display:inline-block;width:6px;height:6px;background:#98af72;border-radius:50%}.map-legend i:nth-of-type(2){background:#d7967b;margin-left:9px}#question-map{display:flex;gap:6px;flex-wrap:wrap;padding-top:15px}.map-button{min-width:31px;height:31px;border:1px solid #e0e5d8;border-radius:6px;background:#f8f9f3;color:#8b977d;font-size:10px}.map-button.current{outline:2px solid #4f6f40;outline-offset:1px}.map-button.correct{background:#e0eccd;color:#536b3d;border-color:#c9dcb2}.map-button.wrong{background:#f6e5dc;border-color:#e4c2b1;color:#ae6f4d}footer{border-top:1px solid var(--line);margin-top:15px;padding-top:18px;color:#9aa18f;font-size:9px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}footer button{font-size:9px;color:#758967;background:transparent;text-decoration:underline}footer>span{margin-left:auto}dialog{border:1px solid var(--line);border-radius:20px;background:var(--bg);color:var(--ink);max-width:800px;width:calc(100% - 32px);padding:28px;max-height:88vh;box-shadow:0 24px 100px #17281c30}dialog::backdrop{background:#253d3470;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.dialog-head h2{font:600 23px Manrope,sans-serif;margin:4px 0}.dialog-head+p{font-size:12px;color:var(--muted)}.search{width:100%;border:1px solid #dce3d2;background:white;border-radius:10px;padding:13px 16px;margin:8px 0 20px;font-size:13px}.overview-item{padding:14px 3px;border-top:1px solid var(--line)}.overview-item>button{display:block;text-align:left;background:transparent;color:var(--ink);font-size:12px;width:100%;padding:0}.overview-meta{font-size:9px;color:var(--muted);margin:5px 0}.overview-item details{font-size:11px;color:#7b8c6c}.overview-item details p{margin:7px 0}.overview-item .open-question{font-size:10px;color:#5f7c46;margin-top:8px;text-decoration:underline}.info-content h3{font:700 14px Manrope,sans-serif;margin:22px 0 8px}.info-content p{font-size:12px;color:#6b7766}.source-links{display:flex;gap:20px;font-size:12px}.reset-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px}.danger{background:#a25342;color:white;padding:11px 18px;border-radius:9px;font-size:12px}.empty-state{text-align:center;padding:33px 16px}.empty-state h2{margin:5px auto 12px}.empty-state p{font-size:13px;color:var(--muted);max-width:480px;margin:0 auto 20px}.empty-icon{font:40px Georgia,serif;color:#9caf79}.warning{color:var(--red)}#toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,10px);padding:10px 20px;background:var(--ink);color:white;border-radius:9px;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:5;max-width:90vw}#toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1550px){main{padding-left:75px;padding-right:75px}}@media(max-width:1100px){.app{grid-template-columns:215px minmax(0,1fr)}.sidebar{padding:30px 16px}main{padding:0 30px 25px}.type-tabs{gap:20px}.stats{padding:19px}.stats>div+div{padding-left:18px}.source-row>span{width:100%;margin:0}.brand{font-size:20px}.brand-sub{font-size:7px}.stats .stat-label{font-size:9px}.top-actions{gap:10px}}@media(max-width:760px){.app{display:block}.sidebar{height:auto;position:static;padding:20px;background:#edf0e6;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:20px}.brand-sub{font-size:7px}.brandmark{width:33px;height:36px;font-size:26px}.side-label,.side-note,.side-link,.local-note{display:none}#section-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:17px}.section-button{padding:11px 8px;gap:7px;margin:0;justify-content:center}.section-button .num{font-size:18px}.section-button strong{font-size:10px}.section-button small{display:none}main{padding:0 18px 24px}.topbar{height:62px}.eyebrow{font-size:8px;letter-spacing:1px}.topbar .text-button{font-size:10px}.top-actions{gap:8px}.icon-button{height:29px;width:29px}.heading{padding:27px 0 22px}.heading h1{letter-spacing:-1px;font-size:28px}.heading p{font-size:12px}.stats{padding:17px 12px;margin-bottom:22px;grid-template-columns:1fr 1fr 1fr}.stats>div:first-child{padding-right:10px}.stats>div+div{padding-left:11px}.stat-label{font-size:9px;display:block;line-height:1.4;min-height:26px}.stat-number{font-size:24px;margin-top:4px}.stat-denominator{font-size:11px;margin-left:3px}.stat-foot{display:none}.progress-track{margin-top:8px}.source-row{gap:8px;margin-bottom:18px}.source-row>span{font-size:9px}.type-tabs{gap:21px}.type-tab{font-size:11px}.question-card{padding:22px 20px;min-height:310px}.question-card h2{font-size:19px;line-height:1.6}.fill-form{flex-direction:column}.primary{padding:13px 16px;min-height:44px}.hint-actions{gap:14px}.card-meta{margin-bottom:17px;font-size:9px}.tag{font-size:8px}.option{padding:12px;font-size:12px}.navigation .nav-button{font-size:11px}.navigation{margin-bottom:15px}.map-legend{font-size:8px;gap:4px}.question-map summary{font-size:10px}.map-button{min-width:33px;height:33px}footer{font-size:8px;gap:6px}footer>span{display:none}.self-buttons>button{flex:1}dialog{padding:22px}.dialog-head h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Persistent question navigation, reachable on long explanations and mobile. */
.question-card{scroll-margin-top:20px}.question-card h2:focus{outline:none}.side-link{margin-top:auto}.navigation{position:sticky;bottom:12px;z-index:4;background:rgba(250,251,247,.97);border:1px solid var(--line);border-radius:13px;padding:10px 12px;box-shadow:0 6px 24px #253d3418;backdrop-filter:blur(8px)}.navigation .nav-button{padding:12px 16px;min-height:48px;font-size:13px;border-radius:9px}.navigation #next{background:var(--green);color:white;min-width:190px;font-weight:700}.navigation #previous{min-width:120px}.solution-label{display:block;font-size:10px;color:var(--muted);margin-bottom:3px}.feedback .solution{font-size:17px;font-weight:600}.explanation{margin-top:15px}.explanation>strong,.contrast>strong{font-size:12px}.feedback p{font-size:13px;line-height:1.7;color:#52634f}.contrast{border-top:1px solid #d9dfd1;padding-top:13px;margin-top:15px}.feedback-title{font-size:15px}.feedback{scroll-margin-bottom:100px}.self-buttons .text-button{font-size:12px}.source-row>span:empty{display:none}footer>span{margin-left:auto}.brand-sub{letter-spacing:1px}.navigation #next:disabled{opacity:.4}
@media(max-width:760px){.navigation{bottom:max(8px,env(safe-area-inset-bottom));padding:8px;gap:6px}.navigation .nav-button{padding:11px 9px;min-height:48px;font-size:12px}.navigation #next{min-width:0;flex:1}.navigation #previous{min-width:0}.navigation>span{font-size:11px;white-space:nowrap}.feedback p{font-size:13px}.feedback{padding:17px 15px}.self-buttons{flex-direction:column}.self-buttons>button{min-height:44px}.question-card{scroll-margin-top:12px}.card-meta{margin-bottom:12px}}
[hidden]{display:none!important}.exam-launch{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 22px;border:1px solid #d7e2c9;background:#edf2e6;border-radius:14px;margin:0 0 24px}.exam-launch strong{font:700 17px Manrope,sans-serif}.exam-launch p{font-size:12px;color:var(--muted);margin:4px 0 0}.exam-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--line);padding:18px 22px;border-radius:14px;background:#eeeee5}.exam-toolbar p{font-size:11px;color:var(--muted);margin:5px 0 0}.exam-timer-label{font-size:10px;display:block;color:var(--muted)}.exam-timer{font:700 30px/1.2 Manrope,sans-serif;font-variant-numeric:tabular-nums}.exam-timer.urgent{color:var(--red)}.exam-progress{display:flex;justify-content:space-between;gap:12px;margin:20px 0 12px;font-size:12px;color:var(--muted)}#exam-question{scroll-margin-top:16px}#exam-title:focus{outline:none}.exam-input-label{display:block;font-size:12px;margin-bottom:8px}#exam-answer{width:100%;display:block}.exam-help{margin:12px 0 18px}.exam-navigation .exam-next{background:var(--green);color:white;min-width:180px;font-weight:700}.exam-map{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.exam-map .filled{background:#e0e8ce;color:var(--green);border-color:#b5c59a}.exam-map .map-button{width:36px;height:36px}.exam-bottom{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:20px 0}.exam-facts{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.exam-facts strong{background:#e7eddc;border-radius:9px;padding:12px 18px;font-size:14px}.exam-result{background:white;border:1px solid var(--line);border-radius:18px;padding:28px}.exam-result h2{font:700 48px Manrope,sans-serif;margin:10px 0}.exam-result h2 span{font-size:20px;color:var(--muted);font-weight:400}.exam-result>p{font-size:13px;color:var(--muted)}.exam-subtotals{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;border-top:1px solid var(--line);margin-top:24px;padding-top:20px;font-size:11px;color:var(--muted)}.exam-subtotals strong{display:block;font:600 22px Manrope,sans-serif;color:var(--ink);margin-top:4px}.exam-adjusted{padding:12px;border-radius:9px;background:#fff3dd;color:#87662d!important}.exam-review-heading{font:700 20px Manrope,sans-serif;margin:30px 0 10px}.exam-review-note{font-size:12px;color:var(--muted)}.exam-review{background:white;border:1px solid var(--line);border-radius:12px;padding:16px 20px;margin:10px 0;font-size:13px}.exam-review summary{cursor:pointer;display:flex;justify-content:space-between;gap:16px}.exam-review strong{font-variant-numeric:tabular-nums}.exam-review h3{font-size:15px;margin:18px 0 14px}.points-full{color:#527b37}.points-zero{color:var(--red)}.exam-review-list{list-style:none;margin:0;padding:0}.exam-review-list li{border:1px solid var(--line);padding:11px 13px;border-radius:9px;margin:7px 0}.exam-review-list small{display:block;font-size:10px;margin-top:3px;color:var(--muted)}.exam-review-list .review-correct{background:#edf4e7;border-color:#b7cda2}.exam-review-list .review-wrong{background:var(--red-bg);border-color:#dfb5a4}
@media(max-width:760px){.exam-launch{align-items:stretch;flex-direction:column;gap:12px;padding:17px}.exam-launch .primary{width:100%}.exam-toolbar{padding:15px;align-items:flex-start}.exam-toolbar p{max-width:200px;font-size:10px}.exam-timer{font-size:27px}.exam-progress{font-size:11px}.exam-navigation .exam-next{min-width:0;flex:1}.exam-map{gap:7px}.exam-result{padding:21px 17px}.exam-result h2{font-size:40px}.exam-result h2 span{font-size:16px}.exam-subtotals{gap:10px}.exam-subtotals strong{font-size:20px}.exam-review{padding:15px}.exam-bottom>.primary,.exam-bottom>.secondary{min-height:44px}.exam-result .exam-bottom{flex-direction:column;align-items:stretch}}
.exam-toolbar{position:sticky;top:8px;z-index:5;box-shadow:0 5px 20px #253d3410}.exam-toolbar>div:last-child{min-width:86px;flex-shrink:0}#exam-question{scroll-margin-top:112px}@media(max-width:760px){.exam-toolbar{top:6px}#exam-question{scroll-margin-top:120px}}

/* Short, non-blocking celebration for checked practice answers. */
.answer-reward{position:relative;display:flex;align-items:center;gap:15px;padding:16px 18px;margin:12px 0 18px;background:#dcebc8;border:1px solid #bfd49e;border-radius:14px;overflow:hidden;isolation:isolate;animation:reward-arrive .4s ease-out both}
.reward-check{flex:0 0 48px;width:48px;height:48px;animation:reward-pop .55s cubic-bezier(.2,.8,.3,1.3) both}.reward-check svg{width:100%;height:100%;overflow:visible}.reward-check circle{fill:#436c38;stroke:#fff;stroke-width:2}.reward-check path{fill:none;stroke:#fff;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:42;stroke-dashoffset:42;animation:reward-draw .35s .15s ease-out forwards}
.reward-copy{display:grid;gap:2px;position:relative;z-index:1}.reward-copy strong{font:800 18px/1.3 Manrope,sans-serif;color:#2e5128}.reward-copy>span{font-size:12px;color:#60734f}.answer-reward.milestone{background:#f7ebbb;border-color:#d5bd71}.milestone .reward-check circle{fill:#7c6629}.milestone .reward-copy strong{color:#6c541c}
.reward-particles{position:absolute;left:42px;top:50%;pointer-events:none}.reward-particles i{position:absolute;width:6px;height:9px;border-radius:2px;background:#88a956;opacity:0;--angle:calc(var(--i)*360deg/var(--n));animation:reward-burst .85s .08s ease-out both}.reward-particles i:nth-child(3n){background:#d2ad4c}.reward-particles i:nth-child(2n){background:#4b785b;width:5px;height:5px;border-radius:50%}
@keyframes reward-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes reward-pop{0%{transform:scale(.65)}65%{transform:scale(1.12)}100%{transform:scale(1)}}
@keyframes reward-draw{to{stroke-dashoffset:0}}
@keyframes reward-burst{0%{opacity:0;transform:rotate(var(--angle)) translateX(12px) scale(.5)}20%{opacity:1}100%{opacity:0;transform:rotate(var(--angle)) translateX(100px) rotate(110deg) scale(.6)}}
@media(prefers-reduced-motion:reduce){.answer-reward,.reward-check,.reward-check path,.reward-particles i{animation:none!important}.reward-check path{stroke-dashoffset:0}.reward-particles{display:none}}
@media(max-width:600px){.answer-reward{padding:13px;gap:11px}.reward-copy strong{font-size:16px}}
