:root{--green:#244e3f;--ink:#24362e;--line:#dce2d7;--muted:#738071;--paper:#fffef9}*{box-sizing:border-box}body{margin:0;background:#f4f5ed;color:var(--ink);font:16px/1.6 Arial,sans-serif}button,select,textarea{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:#fffef9;border-radius:7px;padding:10px 15px;color:var(--ink)}button:disabled{opacity:.45;cursor:default}button:hover:not(:disabled){border-color:#8faca0}button:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #bca76a;outline-offset:3px}[hidden]{display:none!important}header{height:96px;background:var(--paper);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1260px)/2))}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink);font:26px Georgia,serif}.brand small{display:block;font:11px Arial,sans-serif;letter-spacing:2px;margin-top:5px}.brand-icon{background:var(--green);color:white;display:grid;place-content:center;width:43px;height:48px;border-radius:10px 10px 16px 10px;position:relative}.brand-icon span{position:absolute;right:4px;top:2px;font-size:16px}.header-actions{display:flex;align-items:center;gap:22px;font-size:13px;color:var(--muted)}main{max-width:1260px;margin:auto;padding:0 24px}.intro{padding:46px 0 30px;display:flex;justify-content:space-between;gap:30px;align-items:center}.eyebrow{font-size:12px;letter-spacing:1.8px;font-weight:bold;color:#68806b}h1{font:44px/1.18 Georgia,serif;margin:16px 0}h1 em{color:#5d775c;font-weight:normal}.intro p{font-size:15px;color:var(--muted)}.intro-stats{display:flex;gap:30px}.intro-stats div{border-left:1px solid var(--line);padding-left:24px}.intro-stats strong{display:block;font:38px Georgia,serif}.intro-stats span{display:block;font-size:12px;color:var(--muted);margin-top:8px}.tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:26px}.tabs button{font-size:14px}.tabs .active,.modes .active{background:var(--green);color:white;border-color:var(--green)}.workspace{display:grid;grid-template-columns:260px minmax(0,1fr);gap:28px;align-items:start}aside{display:grid;gap:16px;min-width:0}.panel{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:24px;min-width:0}.section-label{font-size:11px;letter-spacing:1.5px;font-weight:bold;color:var(--muted);margin-bottom:15px}.modes{display:grid;gap:7px;margin-bottom:20px}.modes button{display:flex;justify-content:space-between;font-size:14px;text-align:left}.modes b{font-weight:normal}label{display:block;font-size:13px;font-weight:bold;margin:15px 0 7px}select,textarea{width:100%;min-width:0;background:#fafbf5;color:var(--ink);border:1px solid var(--line);border-radius:6px;padding:10px 8px;font-size:14px}select{max-width:100%}.muted,.aside-note{font-size:13px;color:var(--muted)}.aside-note{padding:0 7px;line-height:1.8}.progress-number{display:block;font:30px Georgia,serif}.progress-track{margin:15px 0;height:5px;background:#e8ecdf;border-radius:5px;overflow:hidden}.progress-track i{display:block;height:100%;background:#70916d}.text-button{background:none;border:0;padding:5px 0;font-size:13px;color:#5b7665}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 14px;font-size:12px;letter-spacing:.5px}.question-card{padding:30px}.question-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.question-head h2{font:28px Georgia,serif;margin:10px 0}.question-head h2 span{font:12px Arial,sans-serif;color:var(--muted);margin-left:10px}.bookmark{font-size:26px;padding:0;border:0;background:none;min-width:34px}.question-sub,.image-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:var(--muted)}.question-sub{padding-bottom:19px;border-bottom:1px solid var(--line)}.image-controls{margin:16px 0}.question-images img{display:block;width:100%;height:auto;margin:12px 0;cursor:zoom-in}.context-label{font-size:12px;color:var(--muted);padding:8px 0}.options{display:grid;grid-template-columns:1fr 1fr;border:0;padding:0;margin:24px 0 20px;gap:12px}.options button{display:flex;align-items:center;gap:15px;padding:15px;background:#fff;font-size:14px;text-align:left}.options b{display:grid;place-content:center;border:1px solid var(--line);border-radius:50%;width:29px;height:29px;font-size:14px}.options .selected{background:#f0f4e8;border-color:#7f9b74}.options .correct{background:#e7f1e4;border-color:#6e9568;opacity:1}.options .wrong{background:#fbede3;border-color:#bc8b67;opacity:1}.feedback{padding:16px;border-radius:7px;background:#eaf2e6;font-size:14px;margin-bottom:18px}.feedback.incorrect{background:#f8ede3}.feedback strong{display:block;margin-bottom:5px}.actions{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.primary{background:var(--green);color:white;border-color:var(--green)}.keyboard{margin:15px 0 0}.navigation{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 0;font-size:13px}.navigation button{font-size:13px}.question-grid{display:flex;flex-wrap:wrap;gap:7px;max-height:300px;overflow:auto}.question-grid button{width:39px;height:35px;padding:0;font-size:12px}.question-grid .current{outline:2px solid #5d775c}.question-grid .correct{background:#e7f1e4}.question-grid .wrong{background:#fbede3}.question-grid .saved::after{content:'•';color:#b4934d}.library-banner{display:flex;justify-content:space-between;gap:30px;align-items:center;margin:0 0 25px}.library-banner h2{font:30px Georgia,serif;margin:8px 0}.library-banner p{font-size:14px;max-width:730px;color:var(--muted)}.pill{white-space:nowrap;border:1px solid var(--line);padding:8px 12px;border-radius:20px;color:#6c7d62;font-size:12px}.full{width:100%}.notice{font-size:13px;background:#fff1dd;padding:12px;border-radius:6px}.page-jump{display:flex;align-items:center;gap:7px;margin:0;white-space:nowrap}.page-jump select{width:75px;padding:7px}.paper-card{padding:20px}.paper-card>img{width:100%;height:auto;display:block;min-height:200px}.paper-caption{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted);margin-bottom:12px}.notes{border-top:1px solid var(--line);padding-top:8px;margin-top:15px}.notes textarea{resize:vertical;max-width:100%}footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;border-top:1px solid var(--line);padding:25px 0;margin-top:55px;font-size:12px;color:var(--muted)}.brand-text{font:19px Georgia,serif;color:var(--ink)}dialog{width:min(1100px,94vw);max-height:92vh;border:0;border-radius:12px;padding:0;background:#fffef9;color:var(--ink)}dialog::backdrop{background:#1d3029aa}.dialog-bar{display:flex;position:sticky;top:0;z-index:2;justify-content:space-between;align-items:center;padding:15px 22px;border-bottom:1px solid var(--line);background:#fffef9;font-size:14px}#dialog-body{padding:15px 20px;overflow:auto}#dialog-body img{display:block;width:100%;height:auto;margin-bottom:20px}.help-body{padding:28px;max-width:720px}.help-body h2{font:30px Georgia,serif}.help-body p{font-size:15px;line-height:1.8}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.empty{text-align:center;padding:70px 20px}
@media(max-width:850px){.intro-stats{gap:15px}.intro-stats div{padding-left:15px}.intro-stats strong{font-size:30px}.workspace{grid-template-columns:220px minmax(0,1fr);gap:18px}.panel{padding:20px}.library-banner .pill{display:none}.intro h1{font-size:36px}}
@media(max-width:640px){header{height:77px;padding:0 18px}.brand{font-size:23px}.brand small{font-size:9px}.header-actions span{display:none}.header-actions button{font-size:12px;padding:8px}.brand-icon{width:35px;height:40px}main{padding:0 16px}.intro{padding:30px 0 22px;display:block}.intro h1{font-size:33px}.intro-stats{margin-top:24px;justify-content:space-between;gap:8px}.intro-stats div{padding-left:12px}.intro-stats strong{font-size:29px}.intro-stats span{font-size:10px;margin-top:4px}.tabs{gap:7px;margin-bottom:18px}.tabs button{font-size:12px;padding:10px 9px;flex:1}.workspace{display:block}.panel{padding:18px}.workspace aside{margin-bottom:22px;gap:10px}.workspace aside .aside-note{display:none}#practice-view aside>.panel:nth-child(2){display:none}.modes{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-bottom:12px}.modes button{font-size:12px;padding:9px 6px}.modes b{font-size:11px}.section-label{font-size:10px;margin-bottom:9px}aside label{display:inline-block;width:100%;margin-top:10px}#practice-view aside .muted{margin-bottom:0}#practice-view aside .section-label{display:none}.question-head h2{font-size:25px}.question-head h2 span{font-size:11px}.eyebrow{font-size:10px}.question-card{padding:19px 15px}.options{gap:8px}.options button{padding:11px 9px;gap:8px;font-size:12px}.options b{height:26px;width:26px}.actions{gap:13px}.actions button{font-size:13px}.question-sub{font-size:11px}.image-controls{font-size:11px}.toolbar{font-size:11px}.toolbar>span{max-width:70%;overflow-wrap:anywhere}.library-banner{margin-bottom:17px}.library-banner h2{font-size:27px}.library-banner p{font-size:13px}.paper-card{padding:12px}.navigation{font-size:11px}.navigation button{font-size:12px;padding:9px 10px}footer{margin-top:35px;font-size:11px}footer span:last-child{width:100%}.help-body{padding:20px}.help-body h2{font-size:26px}.dialog-bar{padding:12px 15px}#dialog-body{padding:10px}.keyboard{font-size:11px}}

.year-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:5px 0 10px}.year-nav button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:14px 18px;border-radius:10px}.year-nav strong{font:27px Georgia,serif}.year-nav small{font-size:12px;color:#7a8775}.year-nav .active{background:var(--green);color:#fff;border-color:var(--green)}.year-nav .active small{color:#dce8d4}.year-summary{font-size:13px;color:var(--muted);margin:10px 0 21px}.chapter-list{margin:10px 0 17px;max-height:340px;overflow:auto;display:grid;gap:3px}.chapter-list button{display:flex;align-items:center;text-align:left;justify-content:space-between;gap:8px;font-size:12px;border:0;background:none;padding:8px;border-radius:5px}.chapter-list b{font-size:11px;color:var(--muted);font-weight:normal}.chapter-list .active{background:#e8eee0;color:#294c37}.source-note{font-size:12px;line-height:1.7;background:#eff2e7;padding:10px 12px;border-radius:6px;color:#65785e}.source-frame{position:relative;margin:12px 0}.source-frame>img{margin:0}.question-outline{position:absolute;display:block;width:4.6%;height:2.7%;border:2px solid #2f805e;border-radius:6px;pointer-events:none;box-shadow:0 0 0 2px #fff9}.feedback.manual,.question-grid .manual{background:#eef0e6;color:#58694e}.zoom-controls{display:flex;align-items:center;gap:4px}.zoom-controls button{padding:6px 10px;font-size:14px;min-width:30px}.dialog-bar strong{max-width:60%;overflow-wrap:anywhere}#dialog-body{overflow:auto;max-height:calc(92vh - 75px)}#dialog-body img{width:calc(var(--source-zoom,1) * 100%);max-width:none;height:auto}.question-head h2 span{display:inline-block;line-height:1.7;margin-top:3px}
@media(max-width:640px){.year-nav{gap:5px;margin-top:0}.year-nav button{padding:10px 7px;align-items:center;border-radius:7px}.year-nav strong{font-size:21px}.year-nav small{font-size:9px;white-space:nowrap}.year-summary{font-size:11px;line-height:1.8;margin:8px 0 16px}.chapter-list{display:none}.source-note{font-size:11px}.question-head h2 span{display:block;margin-left:0;max-width:250px}.dialog-bar strong{max-width:43%;font-size:12px}.zoom-controls{gap:2px}.zoom-controls button{font-size:12px;padding:5px 6px;min-width:24px}.dialog-bar>button{font-size:12px;padding:7px}.question-outline{border-width:1.5px;box-shadow:0 0 0 1px #fff9}}

.clipped-source{position:relative;overflow:hidden;width:100%;background:white}.clipped-source>img{position:absolute;max-width:none!important;height:auto!important;margin:0!important}.attached-answer{margin-top:24px;padding:20px;background:#eff7f3;border:1px solid #b8d5c7;border-radius:14px}.attached-answer h3{margin:0 0 10px;font-size:19px}.attached-answer p{margin:0;line-height:1.6}.attached-answer .clipped-source{max-width:360px;margin-top:14px}#dialog-body .clipped-source{width:calc(var(--source-zoom,1)*100%);flex:none}#dialog-body .clipped-source img{max-width:none!important}

#attached-answer[hidden],#show-key[hidden]{display:none!important}

#show-key:disabled,#paper-key:disabled{opacity:.65;cursor:not-allowed}

/* One size larger for practice and teacher interfaces. */
main{max-width:1360px}.subject-home{color:#244e3f;text-decoration:none}.account-controls{flex-wrap:wrap}@media(max-width:640px){header{height:auto;min-height:96px;gap:12px;flex-wrap:wrap;padding-top:14px;padding-bottom:14px}.header-actions{width:100%;gap:12px;justify-content:space-between}.header-actions .account-controls{gap:12px}.subject-home{font-size:14px}input{font-size:16px}.options button{min-height:48px}}

.brand-icon{font:700 20px Arial,sans-serif;letter-spacing:-1px}
