.cover-top-tools{display:flex;align-items:center;gap:22px}.cover-help{display:inline-grid;place-items:center;flex:none;width:42px;height:42px;border:1px solid #ccb5dc;border-radius:50%;background:#ffffffa8;color:#826098;font:500 21px Georgia,serif}.cover-help:hover{background:#e9ddf2}.cover-student{display:block;min-height:44px;background:none;color:#866498;font:12px/1.8 inherit;letter-spacing:.03em;text-align:left;padding:12px 0 3px}.practice-profile-strip{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 20px;border:1px solid #e3d5ed;background:#f7f1fb;border-radius:12px;margin:20px 0 15px}.practice-profile-strip>div:first-child{display:flex;align-items:center;gap:9px;flex-wrap:wrap;min-width:0}.practice-profile-strip b{font-size:14px;color:#765185}.practice-profile-strip small{font-size:11px;color:#947ca2}.practice-profile-strip>div:last-child{display:flex;gap:8px;flex:none}.practice-profile-strip .button{font-size:11px;min-height:42px;padding:9px 12px}.paper-profile-dot{width:7px;height:7px;border-radius:50%;background:#a58abb;flex:none}.practice-modebar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.practice-modebar>div{display:flex;gap:4px;padding:5px;background:#f1e9f7;border:1px solid #e3d5ed;border-radius:10px}.practice-modebar [data-practice-mode]{font-size:12px;color:#9a80aa;padding:10px 16px;border-radius:6px;min-height:42px;background:transparent}.practice-modebar [data-practice-mode].active{background:#fff;color:#755086;box-shadow:0 2px 8px #77568c0e}.practice-help{background:none;color:#9a80aa;font-size:11px;min-height:44px}.paper-setup-heading{padding:18px 0 24px}.paper-setup-heading h2{font-size:30px;color:#674777;line-height:1.6;margin:8px 0}.paper-setup-heading p{font-size:13px;line-height:1.9;color:#9c84aa;margin:0}.paper-setup-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:start;gap:24px}.paper-scope-card,.paper-options-card{padding:25px;border:1px solid #e2d5ea;background:#fff;border-radius:14px;min-width:0}.paper-options-card{position:sticky;top:100px;background:#fbf8fd}.paper-scope-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px}.paper-scope-head h3,.paper-options-card h3{font-size:16px;color:#775386;line-height:1.8;margin:0 0 18px}.paper-scope-head>span{font-size:11px;color:#a389b2}.paper-scope-tools{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:16px}.paper-scope-tools .text-button{font-size:11px;min-height:40px;color:#a183b1}.paper-scope-list{max-height:620px;overflow-y:auto;padding-right:6px;scrollbar-width:thin;scrollbar-color:#d5c1e2 #f7f2fa}.paper-semester{border-top:1px solid #eadff1;padding:9px 0}.paper-semester>summary{font-size:13px;color:#816093;cursor:pointer;line-height:1.9;min-height:44px;padding:10px 0}.paper-semester summary span{font-size:10px;font-weight:400;margin-left:7px;color:#b097bd}.paper-semester>.text-button,.paper-unit>.text-button{font-size:10px;min-height:38px;color:#af93be;padding:5px 0}.paper-unit{padding:3px 0 3px 15px}.paper-unit>summary{font-size:12px;line-height:1.9;color:#9271a3;cursor:pointer;padding:9px 0;min-height:42px}.paper-unit>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px}.paper-unit label{display:flex;gap:7px;align-items:baseline;font-size:11px;line-height:1.9;color:#9b80ab;min-height:40px;padding:7px 0}.paper-unit input,.paper-options-card input{accent-color:#9c7bb0;flex:none}.paper-level-label,.paper-options-card legend{font-size:12px;color:#9470a6}.paper-options-card select,.student-account-dialog input,.roster-grid input,.roster-grid select{display:block;width:100%;min-height:46px;margin:7px 0 18px;padding:10px 12px;border:1px solid #decde9;border-radius:8px;background:#fff;color:#79548b;font-family:inherit;font-size:14px;min-width:0}.paper-options-card fieldset{border:0;padding:10px 0 0;margin:15px 0}.paper-options-card fieldset>label{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:10px 0;min-height:42px;font-size:12px;color:#9471a4}.paper-options-card fieldset small{display:block;width:100%;margin-left:24px;font-size:10px;color:#b39bc1}.paper-count-box{padding:20px;border:1px solid #e5d6ef;background:linear-gradient(125deg,#f1e7f9,#fcf9fe);border-radius:12px;margin:20px 0;color:#9b78af;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.paper-count-box>span{font-size:11px}.paper-count-box strong{font:48px/1.3 Georgia,serif;color:#805993}.paper-count-box small{display:block;flex-basis:100%;font-size:10px;line-height:1.9;color:#aa8cbb;margin-top:5px}.paper-chosen-scope{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0}.paper-chosen-scope span{font-size:10px;color:#aa8cba;background:#f3ecf8;border-radius:5px;padding:6px 8px;line-height:1.6}.paper-small{font-size:11px;color:#ab93ba;line-height:1.95}.paper-options-card #paper-start{width:100%;margin-top:14px;font-size:13px;min-height:49px}.paper-options-card #paper-guest-start{display:block;width:100%;font-size:11px;min-height:44px;margin-top:9px;color:#a98db8}.paper-message{font-size:12px;line-height:1.9;color:#9670ab;background:#f6effb;border:1px solid #e9dbf1;border-radius:8px;padding:12px 15px;margin:10px 0 20px}.paper-message:empty{display:none}.paper-message.error,.paper-bottom .error{color:#ad7e66;background:#fcf2e9}.paper-top{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 25px;background:#fbf7fd;border:1px solid #e0cfe9;border-radius:13px}.paper-top h2{font-size:23px;color:#765187;line-height:1.6;margin:7px 0}.paper-top #paper-progress{font-size:11px;color:#ac91bb}.paper-top .eyebrow{font-size:9px;color:#ac8dbf}.paper-time{flex:none;text-align:right}.paper-time>span,.paper-time small{display:block;font-size:10px;color:#aa91b7}.paper-time strong{display:block;font:20px/1.7 ui-monospace,Consolas,monospace;color:#896299;white-space:nowrap}.paper-question-nav{display:flex;gap:7px;overflow-x:auto;padding:16px 0 9px;scrollbar-width:thin}.paper-question-nav button{flex:none;display:grid;place-items:center;width:39px;height:39px;border:1px solid #e4d6ee;background:white;border-radius:8px;color:#ad8dbf;font:13px ui-monospace,Consolas,monospace}.paper-question-nav button.done{background:#eee2f7;color:#7d548f;border-color:#cbb0df}.paper-scope-caption{font-size:11px;line-height:1.9;color:#a78bb7;padding:12px 0 0}.paper-questions{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;margin:20px 0}.paper-question{border:1px solid #e3d6ec;background:white;border-radius:13px;padding:24px;scroll-margin-top:155px;min-width:0}.paper-question-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px}.paper-question-head>div{display:flex;align-items:center;gap:12px;min-width:0}.paper-question-head b{font:22px Georgia,serif;color:#a183b4}.paper-question-head span{font-size:11px;color:#a486b6;line-height:1.9}.paper-question-head>small{flex:none;font:11px ui-monospace,Consolas,monospace;color:#ac91bc;background:#f5eef9;border-radius:5px;padding:6px 9px}.paper-question-prompt{font-size:clamp(17px,1.6vw,21px);line-height:2;color:#79558c;overflow-wrap:anywhere;margin:12px 0 18px}.paper-question .question-instruction{font-size:11px;color:#b49dc1}.paper-choice-list{border:0;margin:15px 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.paper-choice-list legend{font-size:10px;color:#b9a1c6;margin-bottom:12px}.paper-choice-list label{display:flex;align-items:baseline;gap:9px;min-width:0;min-height:50px;padding:14px;border:1px solid #e8dcf0;background:#fdfbff;border-radius:9px;color:#a184b2;font-size:13px;line-height:1.9;cursor:pointer}.paper-choice-list label:has(input:checked){background:#eee2f7;border-color:#c9acdc;color:#78508e}.paper-choice-list input{accent-color:#9568ac;flex:none}.paper-choice-list b{font:11px ui-monospace,Consolas,monospace;color:#b194c2}.paper-choice-list span{min-width:0;overflow-wrap:anywhere}.paper-answer-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:17px}.paper-answer-fields>label{font-size:11px;color:#ab8dbd;min-width:0}.paper-answer-fields input,.paper-question textarea{width:100%;display:block;min-height:47px;border:1px solid #dbc5e8;background:#fdfbff;border-radius:7px;padding:11px 13px;font:15px/1.8 ui-monospace,Consolas,monospace;color:#7c588e;min-width:0;margin-top:7px}.paper-question textarea{font-family:inherit;font-size:13px;line-height:2;resize:vertical}.paper-keypad{display:flex;gap:5px;flex-wrap:wrap;margin:12px 0 18px}.paper-keypad button{min-width:36px;min-height:38px;border:1px solid #e6d8f0;border-radius:5px;background:#f7f1fb;color:#ac8abc;padding:7px 9px;font-size:11px}.paper-work-label{display:block;font-size:11px;color:#ac8ebd;margin:18px 0 12px}.paper-question .ink-open{font-size:11px;min-height:43px;padding:10px 13px}.paper-question .ink-open span{margin-left:8px;color:#a68ab7;font-size:10px}.paper-hint{font-size:11px;line-height:1.9;color:#b29bc0;border-top:1px solid #eee5f4;margin-top:20px;padding-top:12px}.paper-hint summary{cursor:pointer;min-height:35px;padding:7px 0}.paper-hint p{padding:11px 14px;background:#f7f2fa;border-radius:7px}.paper-table-scroll{overflow-x:auto;max-width:100%;margin:15px 0}.paper-question svg.diagram{max-width:100%;height:auto}.paper-bottom{border:1px solid #dfcee9;border-radius:12px;padding:20px 23px;background:#f9f4fc}.paper-bottom>p{font-size:11px;line-height:1.9;color:#ad91bd;margin:0 0 15px}.paper-bottom>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.paper-bottom .button{font-size:12px;min-height:46px}.paper-bottom .text-button{font-size:11px;color:#ad8fbc;min-height:44px}.paper-result{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(180px,.7fr);align-items:center;gap:22px;padding:38px 32px;border:1px solid #d9c4e8;border-radius:18px;background:radial-gradient(circle at 100% 0,#e9d9f5,transparent 55%),#fbf8fe;margin:15px 0 23px;overflow:hidden}.paper-result-story .eyebrow{font-size:9px;letter-spacing:.15em;color:#b095c0}.result-mark{display:block;font:31px Georgia,serif;color:#ad8cbe;margin-top:13px}.paper-result-story h2{font-size:28px;line-height:1.7;color:#79518f;margin:10px 0 12px;letter-spacing:.03em}.paper-result-story p{font-size:13px;line-height:2;color:#a080b2;margin:0 0 15px}.paper-result-story>b{font-size:11px;color:#9773ab;letter-spacing:.05em}.paper-result-score{text-align:center;padding:28px 10px}.paper-result-score>span{font-size:10px;color:#b092c3}.paper-result-score>strong{display:block;font:78px/1.5 Georgia,serif;color:#805793;letter-spacing:-.05em}.paper-result-score small{font-size:18px;font-weight:400;letter-spacing:0;margin-left:7px;color:#b496c4}.paper-result-score p{font-size:12px;color:#a686b8;margin:4px 0}.paper-result-facts{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border-top:1px solid #e0cfea;padding-top:20px}.paper-result-facts span{display:block;font-size:10px;color:#b299c0;margin-bottom:8px}.paper-result-facts b{display:block;font:12px/1.8 ui-monospace,Consolas,monospace;color:#a080b2}.result-variant-1{grid-template-columns:minmax(180px,.65fr) minmax(0,1.35fr);background:linear-gradient(135deg,#f4edf9,#faf7fd)}.result-variant-1 .paper-result-score{grid-column:1;grid-row:1;border:1px solid #e0cdea;border-radius:50% 50% 13px 13px;background:#ffffff6b}.result-variant-1 .paper-result-story{grid-column:2;grid-row:1}.result-variant-2{grid-template-columns:minmax(0,1fr);text-align:center;background:radial-gradient(ellipse at 50% 0,#e8daf2,transparent 65%),#faf8fc}.result-variant-2 .paper-result-story{max-width:650px;margin:auto}.result-variant-2 .result-mark{margin-top:0}.result-variant-2 .paper-result-score{padding:0}.result-variant-2 .paper-result-score>strong{font-size:88px}.result-band-growing{border-color:#e5d8c6;background-color:#fcfaf5}.result-band-growing .paper-result-story h2,.result-band-growing .paper-result-score>strong{color:#a08a68}.result-band-restart{border-color:#e0cfd9;background-color:#fcf8fa}.result-band-restart .paper-result-story h2,.result-band-restart .paper-result-score>strong{color:#a17e91}.paper-result-next{padding:17px 22px;border-left:3px solid #cdb5dd;background:#f6f0fa;border-radius:0 9px 9px 0;margin:20px 0}.paper-result-next h3{font-size:15px;color:#916da3;line-height:1.9;margin:0 0 8px}.paper-result-next p{font-size:12px;color:#a084af;line-height:1.95;margin:0 0 9px}.paper-result-next small{font-size:10px;line-height:1.9;color:#b49bc1}.paper-result-actions{display:flex;gap:10px;flex-wrap:wrap;margin:23px 0}.paper-result-actions .button{font-size:12px;min-height:44px}.paper-result-actions .text-button{min-height:44px;font-size:11px;color:#ac8dbb}.paper-guest-note{font-size:12px;line-height:1.95;padding:16px;background:#faf2e8;border:1px solid #edddc7;border-radius:9px;color:#b19470}.paper-review-summary{border:1px solid #e2d4ed;border-radius:12px;padding:18px 22px;margin:20px 0;color:#a082b1}.paper-review-summary>summary{font-size:14px;min-height:40px;padding:9px 0;cursor:pointer}.paper-review-item{border-top:1px solid #eadff2;margin-top:16px;padding-top:14px;scroll-margin-top:140px}.paper-review-item>summary{display:flex;align-items:baseline;justify-content:space-between;gap:12px;cursor:pointer;line-height:1.9;font-size:12px;padding:9px 0;min-height:44px}.paper-review-item>summary b{font-weight:500;color:#9d79b0}.paper-review-item>summary>span{font:11px ui-monospace,Consolas,monospace;color:#b99ec8;white-space:nowrap}.paper-review-question{font-size:16px;line-height:2;color:#9773ac;padding:15px 0}.paper-review-item>p{font-size:12px;line-height:2;color:#ac90bd;overflow-wrap:anywhere}.paper-review-item .paper-correct-answer{color:#8f6ba2}.paper-review-item ol{font-size:12px;line-height:1.95;color:#a58bb5;padding-left:22px}.paper-review-item li{padding:8px 0 12px}.paper-review-item li b{font-weight:500;color:#9a79ad}.paper-review-item li>div{font-size:15px;line-height:2;color:#a083b1;margin-top:7px}.paper-review-item li p{font-size:11px;color:#b49bc2;margin:5px 0}.paper-review-item details{font-size:11px;color:#ac8fbf;line-height:1.9;margin:14px 0}.paper-review-item details summary{cursor:pointer;padding:9px 0;min-height:40px}.paper-saved-work{white-space:pre-wrap;overflow-wrap:anywhere;padding:15px;background:#f6f0fa;border-radius:8px;font-size:12px;line-height:2}.paper-ink-preview{width:100%;height:auto;display:block;border:1px solid #e7dbef;border-radius:8px}.welcome-dialog{max-width:580px}.welcome-dialog h2{font-size:27px;color:#7c568e;line-height:1.8}.welcome-dialog>p{font-size:13px;line-height:2;color:#a486b5}.welcome-remember{display:flex;align-items:center;gap:9px;font-size:12px;color:#ac8fbe;min-height:44px;margin:20px 0}.welcome-remember input{accent-color:#a080b2}.welcome-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.welcome-actions .button{font-size:12px;min-height:46px}.welcome-dialog>small{font-size:10px;line-height:1.9;display:block;color:#b99fc9}.help-dialog{width:min(1050px,calc(100vw - 28px));max-width:1050px}.help-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin:20px 0}.help-steps>section{min-width:0;border:1px solid #e5d7ee;background:white;border-radius:11px;padding:23px}.help-steps>section>b{font:24px Georgia,serif;color:#ccb4db}.help-steps h3{font-size:15px;color:#9c79b0;line-height:1.9;margin:12px 0}.help-steps p{font-size:12px;line-height:2;color:#ae93be;margin:0}.help-tip{font-size:12px;line-height:2;color:#a283b2;padding:17px 21px;background:#f1e8f8;border-radius:10px}.student-account-dialog{max-width:620px}.student-account-dialog p{font-size:13px;line-height:2;color:#a78ab8}.student-account-dialog label{font-size:12px;color:#a080b2}.student-account-dialog form .button{width:100%;min-height:46px;font-size:12px}.student-account-dialog .paper-small{font-size:11px}.student-signin-button{display:inline-block;text-align:center;font-size:13px;padding:13px 22px;margin:13px 0}.student-profile-card{padding:22px;background:#f5edf9;border:1px solid #e2cfea;border-radius:12px;margin:20px 0}.student-profile-card>b{font-size:24px;display:block;color:#916ba3}.student-profile-card>span{font-size:11px;color:#b294c2;display:block;margin:8px 0}.student-profile-card .button{font-size:12px;min-height:44px;margin:7px 7px 0 0}.student-account-switch{font-size:11px;color:#b093c0;line-height:1.9;display:inline-block;min-height:44px;padding:12px 0}.student-account-dialog [role=status],.practice-history-dialog [role=status],.roster-grid [role=status]{font-size:12px;color:#a384b5;line-height:1.95}.practice-history-dialog{width:min(1120px,calc(100vw - 28px));max-width:1120px}.paper-history-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:21px;border:1px solid #e8dcf0;border-radius:11px;background:#fff;margin:12px 0}.paper-history-row>div:first-child{min-width:0}.paper-history-row>div>span{font:10px/1.9 ui-monospace,Consolas,monospace;color:#baa0ca}.paper-history-row h3{font-size:13px;font-weight:500;line-height:1.9;color:#a283b5;margin:7px 0}.paper-history-row p{font-size:11px;color:#b59bc4;line-height:1.9;margin:4px 0}.paper-history-row>div:last-child{display:flex;gap:9px;align-items:center;flex:none}.paper-history-row strong{font:27px ui-monospace,Consolas,monospace;color:#a080b4;white-space:nowrap}.paper-history-row strong small{font-size:11px;color:#c0a7ce}.paper-history-row .button{font-size:11px;min-height:42px;padding:9px 12px}.paper-history-row .text-button{font-size:10px;color:#b49bc3;min-height:40px}.practice-history-dialog #practice-history-more{font-size:12px;min-height:44px;margin-top:15px}.paper-confirm-dialog{max-width:550px}.paper-confirm-dialog p{font-size:13px;line-height:2;color:#a78bb7}.paper-ink-dialog{width:min(1150px,calc(100vw - 24px));max-width:1150px}.paper-ink-dialog>p{font-size:12px;line-height:1.9;color:#a789b8}.paper-ink-tools{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0}.paper-ink-tools .button{font-size:11px;min-height:44px;padding:10px 12px}.paper-ink-tools [aria-pressed=true]{background:#e9dcf4;border-color:#c6a9db}.paper-ink-dialog canvas{display:block;width:100%;height:auto;aspect-ratio:5/3;background:linear-gradient(#eee6f340 1px,transparent 1px),linear-gradient(90deg,#eee6f340 1px,transparent 1px),#fff;background-size:24px 24px;border:1px solid #d8c2e7;border-radius:10px;touch-action:none}.student-registry-dialog{width:min(1170px,calc(100vw - 28px));max-width:1170px}.roster-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:22px;margin:20px 0}.roster-grid>form,.roster-grid>section{padding:23px;border:1px solid #e6d9ef;border-radius:12px;background:white;min-width:0}.roster-grid h3{font-size:16px;color:#a383b6;line-height:1.9;margin:0 0 17px}.roster-grid label{font-size:12px;color:#ad8ebf;display:block}.roster-grid form>.button{font-size:12px;width:100%;margin:10px 0 16px;min-height:46px}.roster-grid form>small{font-size:10px;line-height:2;display:block;color:#bea4cd}.roster-list-head{display:flex;justify-content:space-between;gap:12px}.roster-list-head .text-button{font-size:10px;min-height:38px;color:#b29bc1}.roster-student{border-top:1px solid #ede2f3;padding:17px 0}.roster-student h4{font-size:15px;color:#a283b6;line-height:1.9;margin:0 0 6px}.roster-student h4 small{font:10px ui-monospace,Consolas,monospace;margin-left:7px;color:#c2a9cf}.roster-student p{font-size:10px;line-height:2;color:#b69dc4;margin:0 0 11px}.roster-actions{display:flex;gap:13px;flex-wrap:wrap;align-items:center}.roster-actions .button{font-size:10px;min-height:40px;padding:8px 11px}.roster-actions .text-button{font-size:10px;min-height:40px;color:#b49bc2}.roster-issued{padding:19px;border:1px solid #d7c2e5;background:#f5edf9;border-radius:10px;margin-top:20px}.roster-issued h4{font-size:13px;color:#aa86bc;line-height:1.9;margin:8px 0 13px}.roster-issued code{font:14px/1.9 ui-monospace,Consolas,monospace;color:#9167a5;display:block;overflow-wrap:anywhere;user-select:all}.roster-issued p,.roster-issued small{font-size:10px;line-height:2;color:#b196c1;display:block}.roster-issued .button{font-size:10px;min-height:43px;line-height:1.8;white-space:normal;margin:11px 0}.roster-confirm{padding:19px;border:1px solid #e7cfc5;background:#fcf4ee;border-radius:10px;margin-top:20px;color:#b29280;font-size:12px;line-height:2}.roster-confirm>div{display:flex;gap:10px}.roster-confirm .button{font-size:12px;min-height:44px}.journal-title-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.journal-title-actions .text-button{font-size:11px;min-height:42px;color:#a586b7}[hidden]{display:none!important}.batch-practice-mode .chapter-header{margin-bottom:15px}
@media(max-width:1100px){.paper-setup-grid{grid-template-columns:minmax(0,1fr)}.paper-options-card{position:static}.paper-scope-list{max-height:510px}.roster-grid{grid-template-columns:minmax(0,1fr)}.paper-result-story h2{font-size:25px}.paper-history-row>div:last-child{flex-wrap:wrap;justify-content:flex-end;max-width:200px}}
@media(max-width:760px){.cover-top-tools{gap:10px}.cover-help{width:40px;height:40px}.practice-profile-strip{padding:15px;flex-wrap:wrap;gap:13px}.practice-profile-strip>div:last-child{width:100%}.practice-profile-strip .button{flex:1;min-height:44px;font-size:11px}.practice-profile-strip small{flex-basis:100%;margin-left:17px}.practice-modebar{gap:8px}.practice-modebar [data-practice-mode]{font-size:11px;padding:9px 12px}.practice-help{font-size:10px}.paper-setup-heading h2{font-size:25px}.paper-setup-heading p{font-size:12px}.paper-scope-card,.paper-options-card{padding:20px 17px}.paper-scope-head h3,.paper-options-card h3{font-size:14px}.paper-unit>div{grid-template-columns:minmax(0,1fr)}.paper-unit label{font-size:12px;min-height:43px}.paper-semester>summary{font-size:13px}.paper-options-card select,.paper-answer-fields input,.paper-question textarea,.student-account-dialog input,.roster-grid input,.roster-grid select{font-size:16px}.paper-top{padding:18px 16px;gap:12px}.paper-top h2{font-size:19px}.paper-top .eyebrow{font-size:8px;letter-spacing:.04em}.paper-time strong{font-size:16px}.paper-time>span,.paper-time small{font-size:9px}.paper-question{padding:21px 16px;scroll-margin-top:165px}.paper-question-head span{font-size:10px}.paper-question-prompt{font-size:17px;line-height:2}.paper-choice-list{grid-template-columns:minmax(0,1fr)}.paper-choice-list label{font-size:14px;min-height:50px}.paper-answer-fields{grid-template-columns:minmax(0,1fr)}.paper-keypad button{min-height:42px;min-width:39px;font-size:12px}.paper-bottom{padding:17px}.paper-bottom .button{flex:1 1 135px}.paper-bottom .text-button{flex-basis:100%}.paper-result{padding:25px 20px;gap:15px;grid-template-columns:minmax(0,1fr)}.paper-result-story h2{font-size:25px}.paper-result-story p{font-size:12px}.paper-result-score{padding:5px 0}.paper-result-score>strong{font-size:74px}.paper-result-facts{grid-template-columns:minmax(0,1fr);gap:13px;text-align:left;padding-top:17px}.paper-result-facts>div{display:flex;align-items:center;justify-content:space-between;gap:14px}.paper-result-facts span{margin:0}.paper-result-facts b{font-size:11px}.result-variant-1 .paper-result-score{grid-column:1;grid-row:1;border-radius:13px;padding:13px}.result-variant-1 .paper-result-story{grid-column:1;grid-row:2}.result-variant-2 .paper-result-score>strong{font-size:80px}.paper-result-actions .button{flex:1 1 140px;font-size:11px}.paper-review-summary{padding:15px}.paper-review-item>summary{font-size:11px;flex-wrap:wrap}.paper-review-item ol{padding-left:19px}.help-steps{grid-template-columns:minmax(0,1fr);gap:13px}.help-steps>section{padding:20px}.help-steps p{font-size:13px}.welcome-dialog h2{font-size:23px}.welcome-actions .button{flex:1 1 160px}.paper-history-row{padding:17px;flex-wrap:wrap;gap:12px}.paper-history-row>div:last-child{max-width:none;width:100%;justify-content:space-between}.paper-history-row h3{font-size:13px}.paper-history-row .button{font-size:12px;min-height:44px}.paper-ink-tools .button{flex:1 1 120px;font-size:11px}.roster-grid>form,.roster-grid>section{padding:19px}.roster-student p{font-size:11px}.roster-issued code{font-size:15px}.journal-title-actions{gap:10px}}
@media(orientation:landscape) and (max-height:600px){.help-dialog,.paper-ink-dialog,.practice-history-dialog,.student-registry-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 12px)}.paper-ink-dialog canvas{max-height:55dvh;object-fit:contain}.paper-ink-tools{margin:10px 0}.paper-time strong{font-size:17px}}
@media(prefers-reduced-motion:no-preference){.paper-result{animation:result-arrive .55s ease-out both}@keyframes result-arrive{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}}
@media print{.practice-modebar,.practice-profile-strip,.paper-keypad,.paper-bottom,.paper-question-nav,.paper-hint{display:none!important}.paper-question{break-inside:avoid}.paper-options-card{position:static}}
/* Keep the lavender chrome light while the content stays readable. */
.paper-unit label,.paper-choice-list label{color:#7d628d}.paper-options-card fieldset>label,.paper-level-label,.paper-options-card legend{color:#80618f}.help-steps p,.student-account-dialog p,.paper-result-story p{color:#876d96}.paper-history-row h3,.roster-student h4{color:#886a9c}.paper-question-head span,.paper-work-label,.paper-answer-fields>label{color:#9878aa}
@media(orientation:landscape) and (max-height:600px){.paper-ink-dialog canvas{width:100%;max-width:min(100%,92dvh);max-height:none;object-fit:fill;margin-inline:auto}}

.portal-practices{margin:28px 0;padding-top:24px;border-top:1px solid #e5d8ec}.portal-practice-heading,.portal-practice-card header,.portal-practice-card footer{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.portal-practice-heading h3{margin:6px 0;font-size:20px;color:#67447c}.portal-practice-heading p,#student-practice-message{font-size:12px;line-height:1.8;color:#826492}.portal-practice-card{padding:20px;margin:14px 0;border:1px solid #e3d4ec;border-radius:12px;background:#fdfbfe;min-width:0;overflow-wrap:anywhere}.portal-practice-card header>div{display:grid;gap:6px;color:#76558b;font-size:13px}.portal-practice-card header span{font-size:11px;color:#80608f}.portal-practice-score{font-size:32px;font-variant-numeric:tabular-nums;color:#70428a;white-space:nowrap}.portal-practice-score small{font-size:12px;font-weight:500}.portal-practice-card h4{margin:15px 0 8px;color:#6e4b82;font-size:14px;line-height:1.8}.portal-practice-meta,.portal-practice-card footer small{font-size:12px;color:#8c6d9e}.portal-practice-concepts{padding:13px 16px;border-radius:8px;background:#f3edf8;font-size:13px;line-height:1.8;color:#755489;margin:15px 0}.portal-practice-concepts b{font-size:12px}.portal-practice-concepts p{margin:0}.portal-practice-concepts ul{padding-left:20px;margin:6px 0}.portal-practice-concepts small{white-space:nowrap}.portal-practice-blank{color:#856449}.portal-practice-card .button,.portal-practice-heading .button,#student-practice-more{min-height:44px;font-size:12px}
@media(max-width:600px){.portal-practice-card{padding:16px}.portal-practice-score{font-size:28px}.portal-practice-card footer .button{width:100%}.portal-practice-concepts{padding:12px}.portal-practice-card header>div{font-size:12px}}
.roster-grade-heading{margin:24px 0 4px;padding:10px 12px;border-radius:7px;background:#f1e7f8;color:#7d5793;font-size:13px}.roster-actions [data-roster-delete]{color:#9e675d}.roster-issued code{font-variant-numeric:tabular-nums;font-family:ui-monospace,Consolas,monospace}.roster-grid label[for="roster-grade-filter"]{display:block;max-width:240px;color:#8b6a9e;font-size:12px}

.roster-grade-edit{display:flex;align-items:center;gap:8px;font-size:11px;color:#9978ad}.roster-grade-edit select{display:inline-block;width:auto;min-height:38px;margin:0;padding:6px 10px;font-size:12px}
.account-exit-links{display:flex;gap:22px;margin-top:14px}.account-exit-links a,.top-account-tools a{font-size:12px;color:#8e6ba1;text-decoration:underline;text-underline-offset:5px;padding:9px 0;min-height:40px}.top-account-tools{display:flex;align-items:center;gap:12px}.top-account-tools .text-button{font-size:12px;color:#7e5a91;min-height:40px}.portal-student-name{display:block;font-size:18px;padding:12px 0;color:#755189}.teacher-practice-toolbar{display:flex;align-items:end;gap:20px;margin:20px 0;flex-wrap:wrap}.teacher-practice-toolbar label{font-size:12px;color:#9c7caf;min-width:200px}.teacher-practice-toolbar select{display:block;min-width:200px;max-width:100%;margin-top:8px;padding:12px;border:1px solid #ddc9e9;border-radius:8px;background:white;color:#7a558e}.teacher-practice-toolbar p{font-size:11px;color:#a68bb5}#journal-practice .paper-history-row{background:white;border:1px solid #e4d7ec;border-radius:10px;padding:20px;margin-bottom:14px}#student-progress-content details{margin:18px 0;padding:15px;background:#f8f2fb;border-radius:8px}#student-progress-content .readonly-record p{white-space:pre-wrap}#student-progress-content dl{font-size:13px;line-height:1.9}#student-progress-content dt{color:#9a78ae}#student-progress-content dd{margin:0 0 12px;color:#76558c;white-space:pre-wrap}
@media(max-width:760px){.top-account-tools{gap:9px;flex-wrap:wrap;justify-content:flex-end}.top-account-tools a,.top-account-tools .text-button{font-size:10px}.top-right{min-width:0}#student-progress-content .record-selectors{grid-template-columns:minmax(0,1fr)}.teacher-practice-toolbar select{font-size:16px}#journal-practice .paper-history-row{padding:15px}}
.top-right{flex-wrap:wrap;justify-content:flex-end;gap:7px 14px}.top-account-tools{flex-shrink:0}.topbar{min-height:84px;height:auto;padding-top:12px;padding-bottom:12px;gap:16px}
@media(max-width:1000px){.topbar .private-pill{display:none}.topbar .top-right{gap:4px 8px}.top-account-tools{width:100%;justify-content:flex-end}.topbar .view-switch{margin-top:0}}
@media(max-width:760px){.topbar{min-height:114px;padding-top:9px;padding-bottom:9px;gap:8px}.topbar .top-right{max-width:70%}.top-account-tools{gap:10px}.topbar .top-view-switch{flex-wrap:wrap;justify-content:flex-end}.topbar .top-view-switch button{flex:0 1 auto}.brand-watermark{flex-shrink:0}}
@media(max-width:420px){.topbar .brand-caption{display:none}.topbar .brand-watermark{width:32px;height:29px}.topbar .brand-wordmark{font-size:23px}.topbar .top-right{max-width:68%}.topbar .top-view-switch button{font-size:10px;padding:7px 6px}}

.cover-top{gap:14px;flex-wrap:wrap}.cover-top-tools{gap:12px;flex-wrap:wrap;justify-content:flex-end}.cover-login-link{font-size:12px;color:#79518e;background:#f3e9f9;border:1px solid #dbc4e9;padding:11px 15px;border-radius:8px;min-height:44px}.cover-session-actions{display:flex;align-items:center;gap:15px}.cover-session-actions a,.cover-session-actions button{font-size:12px;color:#89609d;min-height:44px;padding:11px 0}.cover-session-actions a{text-decoration:underline;text-underline-offset:5px}@media(max-width:760px){.cover-top-tools{gap:10px;max-width:100%}.cover-session-actions{gap:12px}.cover-session-actions a,.cover-session-actions button,.cover-login-link{font-size:11px}.topbar{display:grid;grid-template-columns:auto minmax(0,1fr)}.topbar .top-right{max-width:none}}

.student-login-form,.student-password-panel form{display:grid;gap:14px;margin:20px 0}.student-login-form label,.student-password-panel label{display:grid;gap:7px;color:#42365d;font-weight:600}.student-login-form input,.student-password-panel input{width:100%;min-width:0;padding:12px 14px;border:1px solid #d9cfe8;border-radius:12px;background:#fff;color:#302740;font:inherit}.student-login-form small,.student-password-panel small{font-size:13px;line-height:1.7;color:#756b84}.student-login-alternative{display:grid;gap:12px;border-top:1px solid #e9e2f0;padding-top:20px;margin-top:20px}.student-login-alternative>span{font-size:13px;color:#756b84}.student-number-card{display:grid;gap:8px;padding:18px;border:1px solid #d9cce8;background:#f5f0fb;border-radius:14px;margin:15px 0}.student-number-card strong{font:700 32px/1.2 ui-monospace,monospace;letter-spacing:.14em;color:#604a7d}.student-number-card small{line-height:1.6;color:#746286}.student-password-panel{margin:20px 0;padding:16px;border:1px solid #e1d6ed;border-radius:14px;background:#fbf8ff}.student-password-panel summary{cursor:pointer;font-weight:650;color:#604a7d}.cover-login-link{font:inherit;cursor:pointer}.student-account-dialog input:focus{outline:2px solid #a58ac6;outline-offset:2px}@media(max-width:540px){.student-login-form .button,.student-password-panel .button{width:100%}.student-number-card strong{font-size:28px}.roster-actions{flex-wrap:wrap}}

.student-login-tabs{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;padding:5px;margin:20px 0;background:#f0eaf7;border:1px solid #e2d7ed;border-radius:14px}.student-login-tabs button{min-width:0;min-height:46px;border:0;border-radius:10px;background:transparent;color:#796689;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;cursor:pointer;padding:11px 8px}.student-login-tabs button[aria-selected="true"]{background:#fff;color:#5c417a;box-shadow:0 2px 8px #69508015}.student-login-tabs button:focus-visible{outline:2px solid #a58ac6;outline-offset:2px}.student-email-login{display:grid;gap:16px;padding:8px 0 16px}.student-email-login h3{margin:0;color:#493858}.student-email-login p{margin:0;line-height:1.8;color:#6b6076}.student-email-login small{font-size:13px;line-height:1.7;color:#756b84}.student-email-login .button{width:100%;text-align:center;justify-content:center}

.roster-credentials{margin:16px 0;display:grid;gap:12px}.roster-credentials>div{display:grid;gap:5px}.roster-credentials dt{font-size:12px;color:#887096}.roster-credentials dd{margin:0;min-width:0}.roster-credentials code{display:inline-block;font-size:22px;letter-spacing:.09em;overflow-wrap:anywhere}.roster-optional-binding{border-top:1px solid #ddcdeb;padding-top:14px;margin-top:18px}.roster-optional-binding summary{cursor:pointer;color:#78618b;font-size:13px}.roster-optional-binding .button{margin-top:12px}@media(max-width:540px){.roster-credentials code{font-size:19px}.roster-issued>.button{width:100%}}

.cover-progress-link{display:inline-flex;align-items:center;margin-top:18px;padding:12px 18px;min-height:46px;max-width:100%;border:1px solid #dcc8e7;border-radius:10px;background:#f4ecf8;color:#725182;font-family:inherit;font-size:13px;font-weight:600;letter-spacing:.03em;cursor:pointer}.cover-progress-link:hover{background:#eae0f2;border-color:#bea4cf}.cover-progress-link:focus-visible{outline:2px solid #a58ac6;outline-offset:4px}

.account-dropdown{position:relative;flex:none;justify-self:end;z-index:5}.account-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 12px;border:1px solid #dac9e7;border-radius:10px;background:#f4ecf8;color:#765388;font-family:inherit;font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer}.account-toggle[aria-expanded="true"]{background:#e9def2;border-color:#baa2cd}.account-chevron{font-size:16px;line-height:1;transition:transform .15s}.account-toggle[aria-expanded="true"] .account-chevron{transform:rotate(180deg)}.account-panel{position:absolute;right:0;top:calc(100% + 8px);width:190px;max-width:calc(100vw - 24px);padding:7px;background:#fff;border:1px solid #e1d5eb;border-radius:12px;box-shadow:0 14px 36px #4d315c24;z-index:100}.account-panel>button,.account-panel>a{display:flex;align-items:center;width:100%;min-height:44px;padding:11px 14px;border:0;border-radius:7px;background:transparent;color:#6e4f82;font-family:inherit;font-size:13px;line-height:1.5;text-align:left;text-decoration:none;cursor:pointer}.account-panel>button:hover,.account-panel>a:hover{background:#f4edf9}.account-toggle:focus-visible,.account-panel>button:focus-visible,.account-panel>a:focus-visible{outline:2px solid #a58ac6;outline-offset:2px}.cover-top-tools{margin-left:auto}.topbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;overflow:visible}.topbar .top-right{max-width:none;min-width:0;justify-content:flex-end}.topbar>.account-dropdown{margin-left:8px}@media(max-width:760px){.topbar{grid-template-columns:auto minmax(0,1fr) auto;gap:8px}.topbar .top-right{max-width:none}.account-toggle{gap:5px;padding:9px;font-size:11px}.account-toggle svg{width:16px;height:16px}.topbar>.account-dropdown{margin-left:0}.cover-top-tools{margin-left:auto}.cover-edition{display:none}}

.student-login-form .student-login-remember{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:500;color:#746082;cursor:pointer;min-height:36px}.student-login-form .student-login-remember input{width:17px;height:17px;min-width:17px;padding:0;accent-color:#8c6ca8}

.account-toggle [data-account-menu-label]{display:block;max-width:9em;overflow:hidden;text-overflow:ellipsis}.account-toggle svg,.account-toggle .account-chevron{flex-shrink:0}

.pdf-output-note{font-size:13px;line-height:1.8;color:#8b739b;margin:12px 0 16px;overflow-wrap:anywhere}

/* One chapter at a time; the sidebar owns curriculum navigation. */
.paper-scope-card .paper-scope-list{max-height:none;overflow:visible;padding:0}
.paper-section-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 24px}
.paper-section-options label{display:flex;align-items:flex-start;gap:10px;min-height:54px;padding:14px;border:1px solid #e5d9ee;border-radius:10px;color:#705383;font-size:16px;line-height:1.7;cursor:pointer;background:#fcfaff;min-width:0}
.paper-section-options label:has(input:checked){background:#efe5f7;border-color:#bda1d2;color:#65417d}
.paper-section-options input{width:20px;height:20px;flex:none;margin:3px 0 0;accent-color:#926dab}
.paper-section-options span{overflow-wrap:anywhere}
.paper-scope-tools{align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.paper-scope-nav-note{font-size:12px;color:#a08aaf}
.paper-selected-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #ece2f2;padding-top:15px}
.paper-selected-heading h4{font-size:14px;color:#8e739e;margin:0}
.paper-scope-card .paper-chosen-scope{display:flex;flex-wrap:wrap;gap:9px;margin:8px 0 0}
.paper-selected-unit{display:flex;align-items:stretch;border:1px solid #dfcfe9;border-radius:9px;background:#f7f1fb;max-width:100%;overflow:hidden}
.paper-selected-unit button{display:flex;align-items:center;gap:9px;background:transparent;color:#7b588f;padding:10px 12px;min-height:44px;text-align:left;min-width:0;font-size:13px;line-height:1.6}
.paper-selected-unit button:first-child{flex:1;flex-wrap:wrap;gap:3px 9px}
.paper-selected-unit button:first-child span{background:transparent;padding:0;font:inherit;overflow-wrap:anywhere}
.paper-selected-unit button:last-child{border-left:1px solid #e5d8ee;justify-content:center;font-size:19px;flex:none;width:44px;padding:8px}
.paper-selected-unit button:hover{background:#eaddf3}
.paper-selected-unit small{font-size:11px;color:#a28aaf;white-space:nowrap}
.paper-selected-empty{font-size:13px;color:#a18bac;background:transparent!important;padding:0!important}
@media(max-width:760px){.paper-section-options{grid-template-columns:minmax(0,1fr)}.paper-section-options label{font-size:16px;padding:13px}.paper-scope-nav-note{font-size:11px}.paper-selected-unit{width:100%}}
