:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#192640;background:#f3f5fa;font-size:16px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,textarea{font:inherit}button,.file-button{cursor:pointer;min-height:44px;border:1px solid transparent;border-radius:8px;padding:11px 16px;font-weight:600;font-size:.9rem}button:hover,.file-button:hover{filter:brightness(.96)}button:focus-visible,a:focus-visible,.file-button:focus-visible{outline:3px solid #7b96ff;outline-offset:3px}button:disabled{opacity:.5;cursor:default}header{height:92px;max-width:1280px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 44px;border-bottom:1px solid #dfe4ed}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:#192640;font-size:1.4rem;font-weight:750;letter-spacing:-.6px}.mark{display:grid;place-items:center;width:37px;height:37px;background:#2848d8;color:white;border-radius:10px;font-family:Georgia,serif;font-size:1.7rem}.brand-note{font-size:.85rem;font-weight:400;letter-spacing:0;color:#69738a;margin-left:10px}.quiet{background:white;border-color:#dbe1eb;color:#35425c}.primary{background:#2848d8;color:white}.primary span{margin-left:18px}main{max-width:1192px;margin:0 auto;padding:49px 24px 24px}.intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:32px;gap:20px}.eyebrow{font-size:.75rem;font-weight:750;letter-spacing:1.8px;color:#5b6c8a;margin:0 0 12px}h1{font-size:2rem;letter-spacing:-1.1px;margin:0 0 10px;font-weight:650}.muted{color:#69748a;line-height:1.6;margin:0}.badge{font-size:.85rem;background:#e5eafa;padding:8px 13px;border-radius:30px;white-space:nowrap;color:#36509b}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start}.card{background:#fff;border:1px solid #dfe4ed;border-radius:16px;box-shadow:0 8px 30px #26345605;overflow:hidden}.card-top{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #ebedf2;padding:22px 32px;font-size:.75rem;letter-spacing:1.25px;font-weight:650;color:#64718b}.card-top span:last-child{color:#788298;font-size:.7rem}#practice,#complete{padding:32px}h2{font-family:Georgia,serif;font-weight:400;font-size:3.6rem;letter-spacing:-1.6px;margin:0 0 12px;overflow-wrap:anywhere}.prompt{color:#6b7589;margin:0 0 32px}label{display:block;font-size:.9rem;font-weight:650;margin-bottom:10px}textarea{resize:vertical;display:block;width:100%;min-height:120px;border:1px solid #d7deeb;border-radius:9px;background:#fafbfe;padding:17px;color:#192640;line-height:1.6;outline:none}textarea:focus{border-color:#2848d8;box-shadow:0 0 0 3px #2848d811}textarea::placeholder{color:#8a94a7}.action-row{display:flex;align-items:center;justify-content:space-between;margin-top:24px;gap:12px}.hint{font-size:.8rem;color:#788298}.progress-card{background:#fff;border:1px solid #dfe4ed;border-radius:14px;padding:26px}.progress-heading{display:flex;justify-content:space-between;align-items:center;margin-top:18px}h3{font-size:1.05rem;margin:0}.progress-heading span{font-size:.85rem;color:#667590}progress{width:100%;height:7px;appearance:none;display:block;margin:20px 0 24px;border:none;border-radius:8px;overflow:hidden;background:#edf0f6}progress::-webkit-progress-bar{background:#edf0f6}progress::-webkit-progress-value{background:#2848d8}progress::-moz-progress-bar{background:#2848d8}.stat{display:flex;justify-content:space-between;margin:20px 0;font-size:.9rem}.stat span{display:flex;align-items:center;gap:10px;color:#5b6980}.stat i{width:7px;height:7px;background:#8592aa;border-radius:50%}.stat i.green{background:#16805e}.stat i.red{background:#cb655d}.stat strong{font-weight:600}.session-actions{border-top:1px solid #e7ebf1;margin-top:25px;padding-top:20px;display:grid;gap:9px}.session-actions button{background:#f8f9fc}.side-note{font-size:.8rem;color:#748198;line-height:1.8;padding:0 10px;margin-top:19px}footer{display:flex;justify-content:space-between;color:#7a8599;font-size:.75rem;margin-top:32px;gap:20px}#reveal-area{background:#f0f4ff;border-left:3px solid #3659dd;padding:20px;margin-top:22px;border-radius:0 8px 8px 0}#definition{font-size:1.1rem;line-height:1.65;margin:0 0 12px;white-space:pre-wrap;overflow-wrap:anywhere}#reveal-area .muted{font-size:.85rem}.grade-buttons{display:flex;gap:12px}.grade-buttons button{flex:1}.correct{background:#e4f3ec;border-color:#afd6c6;color:#176447}.incorrect{background:#fbefee;border-color:#e8c9c6;color:#96463e}#grade>p{font-size:.9rem;font-weight:600;margin:23px 0 12px}#complete{padding:50px 32px}#complete h2{font-size:2.8rem}#summary{line-height:1.7;color:#63718a;margin:20px 0 30px}dialog{border:1px solid #dde3ee;border-radius:16px;width:min(640px,calc(100% - 24px));padding:28px;color:#192640;max-height:90vh}dialog::backdrop{background:#15223c80;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center}.dialog-heading h2{font-family:inherit;font-size:1.6rem;letter-spacing:-.6px;font-weight:650}.dialog-heading button{border:0}dialog p{font-size:.9rem;line-height:1.7}#list-text{font-family:ui-monospace,monospace;font-size:.9rem;min-height:220px}.import-row,.dialog-actions{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-top:15px}.file-button{border-color:#dbe1eb;margin:0}#file{position:absolute;width:1px;height:1px;opacity:0}#file:focus-visible+.quiet{outline:3px solid #7b96ff}.small{font-size:.8rem!important;margin-top:18px}.dialog-actions{justify-content:flex-end;margin-top:22px}#list-error{color:#a33730;margin:10px 0;min-height:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}@media(max-width:800px){header{padding:0 22px;height:80px}.brand-note{display:none}main{padding-top:30px}.workspace{grid-template-columns:1fr}.progress-card{padding:23px}.stat{display:inline-flex;width:32%;gap:15px}.session-actions{grid-template-columns:1fr 1fr}.side-note{display:none}.intro{margin-bottom:25px}h1{font-size:1.7rem}.badge{display:none}.card-top{padding:20px 24px}#practice{padding:25px}.action-row{flex-wrap:wrap}.hint{flex:1;min-width:120px}h2{font-size:3rem}footer{flex-wrap:wrap}.grade-buttons{flex-wrap:wrap}.grade-buttons button{min-width:180px}}@media(max-width:420px){.card-top span:last-child{display:none}.action-row .primary{width:100%}.hint{margin-bottom:6px}.stat{width:100%;margin:10px 0}.import-row{flex-wrap:wrap}}
/* Amstud Prep */
:root{background:#f2f4f8;color:#1b2c46}.mark,.primary{background:#1b365d}.mark{font-size:1.6rem}.brand-note{letter-spacing:1.4px;font-size:.75rem;border-left:1px solid #cdd5e2;padding-left:20px;margin-left:8px}.period-nav{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:6px;margin-bottom:38px;padding-bottom:22px;border-bottom:1px solid #dbe1eb}.period-button{background:transparent;border-color:transparent;color:#69748a;padding:12px 5px;text-align:center;font-size:.85rem}.period-button small{display:block;font-size:.75rem;font-weight:400;margin-top:7px;white-space:nowrap}.period-button[aria-pressed=true]{background:#1b365d;color:#fff;box-shadow:0 4px 12px #1b365d20}.period-button:hover{background:#e3e9f2}.period-button[aria-pressed=true]:hover{background:#1b365d}h1{font-family:Georgia,serif;font-size:2.3rem;font-weight:400;letter-spacing:-.7px}h2{font-size:clamp(2rem,3.5vw,3rem);line-height:1.18;letter-spacing:-1px}.badge{background:#e2e9f2;color:#365070}.intro{margin-bottom:30px}.card-top{background:#f9fafc}#practice{padding:34px}.prompt{margin-bottom:26px;margin-top:16px;font-size:1rem;color:#54647c}textarea{background:#fcfdff;min-height:165px}textarea:focus{border-color:#1b365d}.progress-heading{margin-top:17px}progress::-webkit-progress-value{background:#1b365d}progress::-moz-progress-bar{background:#1b365d}#reveal-area{background:#f1f5fa;border-color:#b38b3d}#definition,#importance{font-size:1rem;line-height:1.7;margin:0 0 16px;white-space:pre-wrap;overflow-wrap:anywhere}.importance-label{margin-top:25px}.study-tip{padding:24px 12px 0}.study-tip p:not(.eyebrow){font-size:.85rem;line-height:1.7;color:#63718a;margin:8px 0}.study-tip strong{color:#344965}.side-note{font-size:.8rem;line-height:1.6}.end-actions{display:flex;flex-wrap:wrap;gap:12px}footer a{color:#62728b;text-decoration:none}footer a:hover{text-decoration:underline}#file{position:static;width:100%;height:auto;opacity:1;font-size:.8rem;max-width:230px}.file-button{display:none}.brand{letter-spacing:-.5px}main{padding-top:25px}.card{border-top:3px solid #1b365d}.hint{font-size:.8rem}.quiet:disabled{opacity:.4}@media(max-width:800px){.period-nav{display:flex;overflow-x:auto;gap:8px;margin-bottom:28px;padding-bottom:15px}.period-button{min-width:94px}.brand-note{display:none}h1{font-size:1.9rem}#practice{padding:24px}.study-tip{padding:24px 5px 0}.side-note{display:block}.card-top span:last-child{font-size:.65rem}.intro{gap:12px}header{padding:0 20px}.brand{font-size:1.2rem}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s ease,box-shadow .15s ease}}
.header-actions{display:flex;gap:8px;align-items:center}.header-actions form{margin:0}.study-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:-7px 0 24px}.study-toolbar>div{display:flex;gap:5px;padding:4px;background:#e5eaf2;border-radius:10px}.study-toolbar button{background:transparent;color:#5d6d85;min-height:40px}.study-toolbar button[aria-pressed=true]{background:#fff;color:#1b365d;box-shadow:0 2px 6px #1b365d12}.study-toolbar>span{font-size:.85rem;color:#64748b}.rating-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.rating-buttons button{padding:12px 6px}.rating-buttons small{display:block;margin-top:7px;font-size:.75rem;font-weight:400}.hard{background:#fff4de;color:#855a0b;border-color:#ead6a9}.easy{background:#e7eefb;color:#2d4e8a;border-color:#c5d3ec}.rating-hint{font-size:.8rem!important;font-weight:400!important;line-height:1.6;color:#6d7d91}.scheduler-info{font-size:.8rem;color:#5e6e84;line-height:1.7;padding:12px}.scheduler-info summary{cursor:pointer;font-weight:600}.scheduler-info a{color:#36558b}#sync-error{background:#fff0ee;color:#97362e;padding:14px;border-radius:8px;line-height:1.6}#retry{margin-bottom:20px}@media(max-width:600px){.study-toolbar{align-items:flex-start;flex-direction:column;gap:12px}.header-actions .quiet{padding:9px;font-size:.75rem}.brand{font-size:1.05rem}.mark{width:30px;height:30px}.rating-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}}
.progress-transfer{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.progress-transfer button,.progress-transfer label{font-size:.75rem;font-weight:600;min-height:42px;text-align:center;display:flex;align-items:center;justify-content:center;margin:0;cursor:pointer}.progress-transfer label{border:1px solid #dbe1eb;border-radius:8px;background:white;padding:8px}.progress-transfer input{display:none}
.voice-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px;padding:16px 18px;background:#f1f5fa;border:1px solid #dce5f0;border-radius:10px}.voice-row strong,.voice-row span{display:block}.voice-row strong{font-size:.92rem;color:#213a60}.voice-row div>span{font-size:.79rem;color:#687a92;margin-top:5px}.mic-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;background:#1b365d;color:white}.mic-button[aria-pressed=true]{background:#a43731;box-shadow:0 0 0 4px #a4373120}.mic-status{font-size:.79rem;color:#65758c;margin:8px 0 0;min-height:1.2em}.voice-row+.mic-status+.action-row{margin-top:14px}@media(max-width:600px){.voice-row{align-items:stretch;flex-direction:column}.mic-button{width:100%}}
