.practice-dashboard{background:#fff;border:1px solid var(--line);border-top:4px solid #d7af6d;border-radius:20px;padding:28px 30px;margin:0 0 25px}
.practice-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.practice-heading .eyebrow{color:#8a6a38}.practice-heading h2{font-size:23px;font-weight:650;margin:7px 0 6px}.practice-heading p{font-size:13px;color:#738078;line-height:1.8;margin:0}
.practice-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap}.practice-toolbar .secondary{font-size:12px;padding:8px 11px}.practice-set-label{font-size:12px;color:#61736a;display:flex;align-items:center;gap:8px}.practice-set-label select{padding:8px;border:1px solid var(--line);border-radius:9px;background:#f6f8f3;color:var(--green);max-width:160px}
.practice-overview{display:flex;align-items:center;gap:27px;padding:27px 0}.practice-score-ring{width:165px;height:165px;flex-shrink:0;border-radius:50%;background:conic-gradient(#397352 var(--score),#eef2e9 0);position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px}
.practice-score-ring:before{content:"";position:absolute;inset:10px;border-radius:50%;background:#fff}.practice-score-ring strong{position:relative;font:650 38px system-ui,sans-serif;letter-spacing:-1.5px;color:var(--green)}.practice-score-ring span{position:relative;font-size:11px;color:#738078}
.practice-overview-text h3{font-size:21px;font-weight:600;margin:0 0 12px;color:var(--green)}.practice-overview-text p{font-size:14px;color:#54715a;margin:0 0 10px}.practice-overview-text small{display:block;font-size:11px;color:#829083;line-height:1.9}
.practice-subjects{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.practice-subject{border:1px solid #e1e8dc;border-radius:12px;text-align:left;padding:16px 14px;background:#f8faf6;min-width:0;color:#4b6653}.practice-subject:hover{border-color:#95b39a;background:#f0f5eb}.practice-subject-name{display:block;font-size:12px;color:#506a58}.practice-subject strong{display:block;font:600 26px system-ui,sans-serif;margin:11px 0;color:var(--green)}.practice-subject span:last-of-type{font-size:10px;display:block;line-height:1.7}.practice-subject.is-graded{background:#eff6eb;border-color:#ccdcbc}
progress{accent-color:#4a7d58}.practice-subject progress{display:block;width:100%;height:5px;margin-top:12px;border:0;border-radius:3px}.practice-subject progress::-webkit-progress-bar{background:#e5eadd;border-radius:3px}.practice-subject progress::-webkit-progress-value{background:#5e885c;border-radius:3px}
.practice-topic-results{margin-top:23px;border-top:1px solid var(--line);padding-top:15px}.practice-topic-results>summary{font-size:13px;cursor:pointer;color:#536c59;padding:5px 0}.practice-result-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:15px 0}.practice-result-tabs .tab{padding:7px 12px;font-size:11px}.practice-result-list{max-height:390px;overflow:auto;overscroll-behavior:contain}.practice-result-row{display:grid;grid-template-columns:minmax(0,1fr) 60px 95px 70px;gap:9px;align-items:center;border-bottom:1px solid #edf1e7;padding:11px 0;font-size:12px}.practice-result-row>span{line-height:1.6}.practice-result-row>span small{font:10px system-ui,sans-serif;color:#80917f;display:block}.practice-result-row>b{text-align:right;font:600 15px system-ui,sans-serif}.practice-result-row>small{font-size:10px;color:#80917f;text-align:right}.practice-result-row button{border:0;background:transparent;color:#537663;font-size:11px;text-align:right;padding:5px 0;text-decoration:underline;text-underline-offset:3px}.correct-text{color:#48764b}.review-text{color:#a35f31}
.practice-set-history{border-top:1px solid var(--line);padding-top:15px;margin-top:20px}.practice-set-history h3{font-size:13px}.practice-set-history span{display:inline-block;margin:4px 16px 4px 0;font-size:12px}.practice-set-history b{margin-left:6px;color:var(--green)}.practice-set-history small{color:var(--muted);margin-left:6px}
.practice-topic-pending{font-size:10px;color:#829083;display:block;margin-top:8px}.practice-topic-action{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px}.topic .practice-topic-button{background:#eff4e9;border:1px solid #d9e3cf;border-radius:7px;text-decoration:none;font-size:11px;padding:6px 10px;margin:0;color:#395e42}.topic .practice-topic-button:hover{background:#e4edda}.practice-badge{font-size:10px;padding:4px 8px;border-radius:30px;white-space:nowrap}.practice-badge.answered,.practice-badge.correct{color:#3c6f3e;background:#eaf4e1}.practice-badge.incorrect{color:#965927;background:#fff0dd}
#practice-dialog{width:min(880px,calc(100vw - 28px));max-height:90vh}#practice-body{padding:18px 26px 26px}.practice-dialog-progress{display:flex;align-items:center;gap:20px;font-size:12px;color:#6d826e;margin-bottom:23px}.practice-dialog-progress progress{flex:1;max-width:210px;height:6px}.practice-question-heading{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.practice-question-heading>span:first-child{font:11px system-ui,sans-serif;color:#84927e}.practice-question-heading h3{width:100%;font-size:17px;font-weight:600;line-height:1.6;margin:3px 0 11px;color:var(--green)}.practice-prompt{white-space:pre-line;font-size:15px;line-height:1.95;margin:0 0 22px;overflow-wrap:anywhere}
.practice-choices{padding:0;border:0;margin:0;display:grid;gap:9px;min-width:0}.practice-choice{display:grid;grid-template-columns:17px 27px minmax(0,1fr) auto;align-items:start;gap:10px;border:1px solid #dee6d8;border-radius:11px;padding:13px 15px;font-size:14px;line-height:1.8;cursor:pointer;background:#fff;overflow-wrap:anywhere}.practice-choice input{accent-color:#476e4b;margin:5px 0 0;width:16px;height:16px}.practice-choice-number{font:600 12px system-ui,sans-serif;display:grid;place-items:center;border:1px solid #e0e7d9;border-radius:50%;height:26px;width:26px;color:#6b806b}.practice-choice.selected{border-color:#98b38b;background:#f3f8ee}.practice-choice:has(input:focus-visible){outline:3px solid #ceaa66;outline-offset:3px}.practice-choice.answer-key{border-color:#88ae75;background:#edf6e7}.practice-choice-key{font-size:10px;color:#467143;padding:3px 6px;background:#dcebd3;border-radius:5px}.practice-save-status{font-size:11px;color:#819077;line-height:1.8;margin:13px 0 18px}
.practice-navigation{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:16px 0 22px}.practice-navigation .practice-primary{margin-left:auto}.practice-primary{border:1px solid var(--green);background:var(--green);color:#fff;border-radius:10px;font-size:13px;padding:11px 16px;line-height:1.5}.practice-primary:hover{background:#285442}.practice-primary:disabled:hover{background:var(--green)}.practice-primary:disabled,.practice-navigation button:disabled{cursor:default}.practice-inline-error{font-size:12px;color:#9a4b27;background:#fff5e8;border-radius:9px;padding:12px 14px;line-height:1.8;margin:12px 0}
.practice-grid-wrap{border-top:1px solid var(--line);margin-top:21px;padding-top:15px}.practice-grid-wrap summary{font-size:11px;line-height:1.8;color:#718269;cursor:pointer}.practice-question-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(46px,1fr));gap:7px;margin-top:14px}.practice-question-grid button{border:1px solid #e0e6d9;min-height:37px;border-radius:7px;background:#fafbf7;color:#748669;font:12px system-ui,sans-serif}.practice-question-grid .answered{background:#e6f1dc;color:#4a7240;border-color:#c5dcb4}.practice-question-grid .incorrect{background:#fff0dd;color:#9d6132;border-color:#ead5b1}.practice-question-grid .current{outline:2px solid #355b3b;outline-offset:1px;font-weight:700}.practice-question-grid button span{font-size:9px;margin-left:3px}
.practice-explanation{background:#f1f7e9;border:1px solid #d9e7cc;border-radius:13px;padding:20px 22px;margin:20px 0}.practice-explanation .eyebrow{color:#6c844d}.practice-explanation h4{font-size:13px;color:#456939;margin:15px 0 7px}.practice-explanation p{white-space:pre-line;font-size:13px;line-height:1.95;margin:0;overflow-wrap:anywhere}.practice-explanation small{font-size:10px;color:#7c8d6d;display:block;margin-top:15px}.practice-explanation .practice-correct-answer{font-size:14px;font-weight:600;color:#395d2f}
.practice-complete{text-align:center;padding:20px 12px 25px}.practice-complete .eyebrow{color:#9c7c48}.practice-complete h3{font-size:23px;color:var(--green);margin:12px 0}.practice-complete p{font-size:13px;line-height:1.9;max-width:580px;margin:0 auto 23px;color:#718269}.practice-complete button{margin:5px}.practice-muted{font-size:13px;line-height:1.9;color:#7a8c76}.practice-review-row{display:flex;justify-content:space-between;align-items:center;padding:20px 0;border-bottom:1px solid var(--line);gap:14px}.practice-review-row strong{display:block;font-size:15px;margin-bottom:6px}.practice-review-row span{display:block;font-size:12px;color:#627d61}.practice-review-row small{display:block;font-size:10px;color:#89967f;margin-top:5px}.practice-review-row>div:last-child{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.practice-grade-action{background:#f7f2e5;border-radius:12px;padding:15px;margin-top:23px;text-align:center}.practice-grade-action p{font-size:12px;color:#827450;line-height:1.8}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:850px){.practice-heading{flex-direction:column}.practice-toolbar{justify-content:flex-start}.practice-subjects{grid-template-columns:repeat(3,minmax(0,1fr))}.practice-dashboard{padding:23px}.practice-review-row{align-items:flex-start}}
@media(max-width:640px){.practice-dashboard{padding:20px 17px;border-radius:16px}.practice-heading h2{font-size:21px}.practice-heading p{font-size:11px}.practice-toolbar{gap:7px}.practice-toolbar .secondary{font-size:11px;padding:8px 9px}.practice-set-label{font-size:11px}.practice-overview{gap:16px;padding:23px 0}.practice-score-ring{width:118px;height:118px}.practice-score-ring:before{inset:8px}.practice-score-ring strong{font-size:28px;letter-spacing:-1px}.practice-score-ring span{font-size:9px}.practice-overview-text h3{font-size:15px;line-height:1.7;margin-bottom:7px}.practice-overview-text p{font-size:11px;margin-bottom:6px}.practice-overview-text small{font-size:9px;line-height:1.9}.practice-subjects{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.practice-subject{padding:14px 12px}.practice-subject:last-child{grid-column:1/-1}.practice-subject strong{font-size:25px;margin:9px 0}.practice-subject:last-child strong{display:inline-block;margin-right:12px}.practice-subject:last-child span:last-of-type{display:inline-block}.practice-subject-name{font-size:12px}.practice-result-row{grid-template-columns:minmax(0,1fr) 48px 60px;gap:7px}.practice-result-row>small{display:none}.practice-result-row>b{font-size:13px}.practice-result-row button{font-size:10px}.practice-result-row>span{font-size:11px}.practice-result-tabs .tab{padding:6px 10px;font-size:10px}#practice-body{padding:16px 17px 22px}#practice-title{font-size:13px;line-height:1.6}.practice-dialog-progress{gap:13px;font-size:11px;margin-bottom:18px}.practice-question-heading h3{font-size:15px}.practice-prompt{font-size:14px;line-height:1.95}.practice-choice{padding:11px;gap:8px;font-size:12px;grid-template-columns:16px 23px minmax(0,1fr) auto}.practice-choice-number{width:23px;height:23px;font-size:11px}.practice-choice-key{font-size:9px;padding:2px 4px}.practice-navigation{gap:7px}.practice-navigation .secondary{font-size:11px;padding:8px 10px}.practice-navigation .practice-primary{font-size:11px;padding:10px 12px;flex-basis:100%;margin:5px 0 0}.practice-explanation{padding:16px}.practice-explanation p{font-size:12px}.practice-review-row{flex-direction:column}.practice-review-row>div:last-child{justify-content:flex-start}.practice-review-row .practice-primary,.practice-review-row .secondary{font-size:11px}.practice-complete h3{font-size:20px}}
.practice-report-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:16px 0}.practice-report-toolbar .secondary{font-size:12px}
.practice-report-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.practice-report-stats span{padding:14px;background:#f3f7ed;border:1px solid var(--line);border-radius:11px;font-size:12px;color:#6b7f65}.practice-report-stats b{display:block;font:600 25px system-ui,sans-serif;color:var(--green);margin-bottom:5px}
.practice-report-filters{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:10px}.practice-report-filters input,.practice-report-filters select{min-width:0;width:100%;border:1px solid var(--line);border-radius:10px;padding:11px 12px;background:#fff;color:#526954;font-size:12px}
.practice-student-row{display:grid;grid-template-columns:minmax(0,1fr) 115px auto;gap:18px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line)}.practice-student-name{min-width:0}.practice-student-name strong{display:block;font-size:15px;line-height:1.8;overflow-wrap:anywhere}.practice-student-name>small{display:block;color:#83927c;font-size:10px;line-height:1.8;overflow-wrap:anywhere}.practice-student-name>span:last-child{display:block;font-size:11px;color:#6e8366;line-height:1.8;margin-top:7px}.practice-student-score{text-align:right}.practice-student-score strong{display:block;font:650 29px system-ui,sans-serif;color:var(--green);margin-bottom:5px}.practice-student-score small{display:block;font-size:10px;color:#7a8d71;line-height:1.8}.practice-student-row>.secondary{font-size:11px;padding:9px 12px;white-space:nowrap}
.practice-student-overview{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;background:#f2f7ec;border:1px solid #dbe6d1;border-radius:14px;padding:22px;margin:20px 0 14px}.practice-student-overview .eyebrow{color:#8a6a38}.practice-student-overview h3{font-size:19px;line-height:1.8;margin:7px 0 3px;overflow-wrap:anywhere}.practice-student-overview>div>small{font-size:10px;color:#7a8d71;overflow-wrap:anywhere}.practice-student-overview p{font-size:11px;line-height:1.9;color:#6e8366;margin:12px 0 0}.practice-student-overview .practice-student-score strong{font-size:36px}
.practice-student-subject{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid var(--line);border-radius:12px;padding:18px;margin:12px 0}.practice-student-subject h4{font-size:15px;margin:0 0 10px}.practice-student-subject p{font-size:12px;line-height:1.9;margin:12px 0 8px;color:#617958}.practice-student-subject p b{font:650 22px system-ui,sans-serif;color:var(--green)}.practice-student-subject small{display:block;font-size:10px;line-height:1.9;color:#7a8d71}.practice-report-actions{display:flex;flex-direction:column;gap:8px;flex-shrink:0}.practice-report-actions button{font-size:11px;text-align:center}.practice-student-context{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:20px}.practice-student-context strong{font-size:14px;overflow-wrap:anywhere}.practice-student-context small{font-size:10px;color:#7a8d71;line-height:1.8}.practice-student-context .secondary{font-size:11px}
@media(max-width:640px){.practice-report-filters{grid-template-columns:1fr}.practice-report-stats{gap:7px}.practice-report-stats span{padding:11px 9px;font-size:10px}.practice-report-stats b{font-size:23px}.practice-report-toolbar .secondary{font-size:11px}.practice-student-row{grid-template-columns:minmax(0,1fr) 90px;gap:10px}.practice-student-row>.secondary{grid-column:1/-1;justify-self:start}.practice-student-name strong{font-size:13px}.practice-student-score strong{font-size:26px}.practice-student-overview{padding:16px;gap:12px;grid-template-columns:minmax(0,1fr)}.practice-student-overview h3{font-size:17px}.practice-student-overview .practice-student-score{text-align:left}.practice-student-overview .practice-student-score strong{font-size:32px}.practice-student-subject{align-items:flex-start;flex-direction:column;padding:16px;gap:12px}.practice-report-actions{width:100%;flex-direction:row;flex-wrap:wrap}.practice-student-context{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}


/* Original-source figures for imported practice sets. */
.practice-source-figure{margin:1rem 0;padding:.75rem;border:1px solid var(--line,#d8ddd9);border-radius:14px;background:#fff;text-align:center}
.practice-source-figure img{display:block;max-width:100%;height:auto;margin:0 auto;border-radius:8px}
.practice-source-figure figcaption{margin-top:.55rem;font-size:.78rem;color:#66736d}

/* A-Level Set 2: original-exam response controls */
.practice-numeric-wrap{border:1px solid #dfe7d9;border-radius:12px;padding:16px 18px;background:#fbfcf9;margin:0 0 8px}
.practice-numeric-wrap label{display:block;font-size:13px;font-weight:600;color:var(--green);margin-bottom:9px}
.practice-numeric-input{width:min(320px,100%);box-sizing:border-box;border:1px solid #cfdac8;border-radius:10px;padding:13px 14px;background:#fff;color:var(--green);font:600 18px system-ui,sans-serif;outline:none}
.practice-numeric-input:focus{border-color:#789a72;box-shadow:0 0 0 3px rgba(89,127,83,.12)}
.practice-numeric-wrap small{display:block;margin-top:9px;font-size:10px;line-height:1.8;color:#7c8c78}
.practice-complex{border:0;padding:0;margin:0;display:grid;gap:11px}
.practice-complex>legend{font-size:12px;color:#687d67;margin-bottom:4px}
.practice-complex-item{border:1px solid #dfe7d9;border-radius:12px;padding:14px 15px;background:#fff}
.practice-complex-item>p{font-size:13px;line-height:1.85;margin:0 0 10px;color:#445e49}
.practice-complex-item>p b{color:#355e3d;margin-right:5px}
.practice-binary{display:flex;gap:8px;flex-wrap:wrap}
.practice-binary label{display:flex;align-items:center;gap:7px;border:1px solid #dce5d7;border-radius:9px;padding:8px 13px;font-size:12px;color:#60735f;background:#f9fbf7;cursor:pointer}
.practice-binary label.selected{border-color:#98b38b;background:#f0f6e9;color:#31583a}
.practice-binary label.answer-key{box-shadow:inset 0 0 0 1px #6e9c63;background:#edf6e7}
.practice-binary input{accent-color:#476e4b}
.practice-complex-key{display:grid;gap:8px}
.practice-complex-key p{margin:0;border:1px solid #dbe8d2;border-radius:9px;padding:10px 12px;background:#f6faF2;font-size:12px;line-height:1.8}
.practice-complex-key p span{display:block;margin-top:4px;font-weight:700;color:#416d3e}
@media(max-width:640px){.practice-numeric-wrap{padding:14px}.practice-numeric-input{font-size:17px}.practice-complex-item{padding:12px}.practice-binary label{flex:1;justify-content:center}}


/* Real exam session manager */
.exam-manager-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:4px 0 20px}
.exam-manager-head h3{font-size:22px;margin:5px 0 5px;color:var(--green)}
.exam-manager-head p{font-size:12px;color:#748078;line-height:1.8}
.exam-session-list{display:grid;gap:12px}
.exam-session-card{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border:1px solid var(--line);border-radius:13px;padding:18px;background:#fff}
.exam-session-main{min-width:0;flex:1}.exam-session-title{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.exam-session-title h4{margin:0;font-size:16px;color:var(--green)}
.exam-session-main>p{font-size:12px;color:#58705d;margin:8px 0 5px}.exam-session-main>small{display:block;font-size:10px;line-height:1.9;color:#829083}
.exam-session-stats{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.exam-session-stats span{border:1px solid #e2e8dd;border-radius:9px;padding:7px 10px;background:#f8faf6;font-size:10px;color:#71816d}.exam-session-stats b{font:650 14px system-ui,sans-serif;color:var(--green);margin-right:4px}
.exam-session-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.exam-session-actions button{font-size:11px;padding:8px 10px}.exam-session-actions .danger{color:#9a4b27;border-color:#e5c9bb}
.exam-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.exam-wide{grid-column:1/-1}
.exam-field{display:flex;flex-direction:column;gap:7px}.exam-field>span{font-size:11px;color:#65776a}.exam-field input,.exam-field select,.exam-field textarea{width:100%;min-width:0;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--green);padding:11px 12px;font:12px/1.5 system-ui,sans-serif}.exam-field textarea{resize:vertical;min-height:86px}.exam-field input:focus,.exam-field select:focus,.exam-field textarea:focus{outline:3px solid rgba(206,170,102,.22);border-color:#ceaa66}
.exam-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;border:1px solid #e2e8dd;border-radius:11px;padding:14px;background:#f8faf6}.exam-options label{font-size:11px;color:#5f7464;display:flex;align-items:flex-start;gap:8px;line-height:1.7}.exam-options input{margin-top:3px;accent-color:#476e4b}
.exam-form-note{font-size:10px;line-height:1.9;color:#7d8a7c;background:#f5f7f2;border-radius:9px;padding:11px 13px}.exam-form-actions{display:flex;justify-content:flex-end;margin-top:3px}
.exam-member-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin:18px 0 12px}.exam-member-head h3{font-size:17px;color:var(--green);margin:0 0 4px}.exam-member-head p{font-size:11px;color:#7a8c76;margin:0}.exam-member-head .secondary{font-size:11px}
.exam-member-search{width:100%;border:1px solid var(--line);border-radius:10px;padding:11px 12px;background:#fff;color:var(--green);font-size:12px;margin-bottom:10px}
.exam-member-list{max-height:430px;overflow:auto;border:1px solid var(--line);border-radius:11px;background:#fff}.exam-member-row{display:flex;align-items:center;gap:11px;padding:11px 13px;border-bottom:1px solid #edf1e8;cursor:pointer}.exam-member-row:last-child{border-bottom:0}.exam-member-row:hover{background:#f8faf6}.exam-member-row input{accent-color:#476e4b}.exam-member-row span{min-width:0}.exam-member-row b{display:block;font-size:12px;color:#455f4b}.exam-member-row small{display:block;font-size:9px;color:#879488;margin-top:2px}
@media(max-width:640px){
  .exam-manager-head{flex-direction:column}.exam-session-card{flex-direction:column}.exam-session-actions{justify-content:flex-start}
  .exam-form{grid-template-columns:1fr}.exam-wide{grid-column:auto}.exam-options{grid-template-columns:1fr}.exam-form-actions{justify-content:stretch}.exam-form-actions .practice-primary{width:100%}
  .exam-member-head{flex-direction:column}
}


/* Student real exam */
.real-exam-section{margin:18px 0 22px;padding:16px;border:1px solid #dfe7da;border-radius:14px;background:linear-gradient(180deg,#fff,#fbfcf9)}
.real-exam-section-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:12px}
.real-exam-section-head h3{margin:3px 0 3px;color:var(--green);font-size:18px}.real-exam-section-head p{margin:0;color:#788579;font-size:11px}
.real-exam-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px}
.real-exam-card{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e0e7dc;border-radius:12px;background:#fff;padding:14px}
.real-exam-card.active{border-color:#c8a65f;background:#fffdf6}.real-exam-card.submitted{background:#f7faf6}
.real-exam-card-main{min-width:0}.real-exam-card h4{font-size:14px;color:var(--green);margin:7px 0 4px}.real-exam-card p{font-size:11px;color:#607365;margin:0 0 4px}.real-exam-card small{display:block;font-size:9px;color:#889387;line-height:1.65}
.real-exam-card>.practice-primary{flex:0 0 auto;padding:9px 12px;font-size:10px}
.real-exam-intro{max-width:760px;margin:0 auto;padding:8px 4px}.real-exam-intro h3{font-size:25px;color:var(--green);margin:7px 0 18px}
.real-exam-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:15px}.real-exam-facts span{border:1px solid #dfe7da;border-radius:11px;padding:12px;background:#fafbf8}.real-exam-facts b{display:block;font-size:13px;color:var(--green)}.real-exam-facts small{font-size:9px;color:#849087}
.real-exam-rules{border:1px solid #e1e7de;border-radius:11px;padding:13px 15px;background:#fff}.real-exam-rules p{margin:4px 0;font-size:11px;line-height:1.75;color:#617366}.real-exam-rules b{color:#405945}
.real-exam-instructions{margin-top:12px;padding:13px 15px;border-radius:11px;background:#f4f6f0}.real-exam-instructions b{font-size:11px;color:var(--green)}.real-exam-instructions p{white-space:pre-wrap;font-size:11px;line-height:1.8;color:#677768}
.real-exam-warning{margin:12px 0 16px;border-left:4px solid #c89d43;background:#fff8e8;padding:11px 13px;border-radius:8px;color:#725a26;font-size:10px;line-height:1.7}
.real-exam-start{width:100%;padding:12px 16px;font-size:13px}
.real-exam-statusbar{position:sticky;top:0;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:-2px -2px 15px;padding:11px 13px;border:1px solid #dce5d8;border-radius:11px;background:rgba(255,255,255,.96);backdrop-filter:blur(7px);box-shadow:0 5px 16px rgba(37,65,44,.06);font-size:10px;color:#607064}
.real-exam-statusbar>div:last-child{text-align:right}.real-exam-statusbar>div:last-child b{display:block;color:var(--green);font-size:11px}.real-exam-statusbar>div:last-child small{display:block;margin-top:2px;color:#879188}
.real-exam-clock{display:flex;align-items:baseline;gap:8px}.real-exam-clock small{font-size:9px;color:#788678}.real-exam-clock strong{font:700 25px/1 system-ui,sans-serif;color:#28583c;letter-spacing:.03em;font-variant-numeric:tabular-nums}
.real-exam-clock.urgent strong{color:#b47716}.real-exam-clock.critical strong{color:#b33b2c}
.real-exam-complete{text-align:center;max-width:620px;margin:20px auto}.real-exam-complete h3{font-size:22px;color:var(--green);margin:7px 0}.real-exam-complete>p{font-size:11px;color:#758174;line-height:1.8}.real-exam-complete>button{margin:5px}
.real-exam-score{display:flex;flex-direction:column;align-items:center;justify-content:center;margin:18px auto;padding:18px;width:min(260px,100%);border:1px solid #dce6d8;border-radius:14px;background:#f8faf6}.real-exam-score strong{font:700 36px/1 system-ui,sans-serif;color:#356743}.real-exam-score span{margin-top:7px;font-size:11px;color:#738076}.real-exam-score.pending strong{font-size:22px;color:#6e7b70}
.real-exam-grid{margin-top:15px}
@media(max-width:640px){
  .real-exam-list{grid-template-columns:1fr}.real-exam-card{align-items:flex-start;flex-direction:column}.real-exam-card>.practice-primary{width:100%}
  .real-exam-facts{grid-template-columns:1fr}.real-exam-statusbar{align-items:center}.real-exam-clock{flex-direction:column;gap:2px}.real-exam-clock strong{font-size:22px}
}


/* Real exam live-state emphasis */
.real-exam-card{
  display:block;
  padding:0;
  overflow:hidden;
}
.real-exam-stripe{
  padding:8px 14px;
  background:#F4C542;
  color:#5B4300;
  font-size:10px;
  font-weight:750;
  letter-spacing:.02em;
  border-bottom:1px solid rgba(91,67,0,.12);
}
.real-exam-card-body{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px;
}
.real-exam-action{
  flex:0 0 auto;
  min-width:112px;
  border:1px solid #d9e1d6;
  border-radius:10px;
  background:#6f867b;
  color:#fff;
  padding:10px 14px;
  font:650 10px/1.2 system-ui,sans-serif;
  cursor:pointer;
}
.real-exam-action:hover:not(:disabled){
  filter:brightness(.96);
}
.real-exam-action.is-danger{
  background:#C0392B;
  border-color:#C0392B;
  box-shadow:0 5px 14px rgba(192,57,43,.16);
}
.real-exam-action.is-danger:hover:not(:disabled){
  background:#A93226;
  border-color:#A93226;
}
.real-exam-action:disabled{
  opacity:.62;
  cursor:not-allowed;
}
.real-exam-card.is-open{
  border-color:#E7C85C;
  background:#FFFDF6;
  box-shadow:0 4px 14px rgba(114,87,12,.07);
}
@media(max-width:640px){
  .real-exam-card-body{
    align-items:flex-start;
    flex-direction:column;
  }
  .real-exam-action{
    width:100%;
  }
}


.exam-subject-scores{text-align:left;margin:22px 0}.exam-subject-scores h4{font-size:15px;color:var(--green);margin:0 0 12px}.exam-score-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px}.exam-subject-scores table{width:100%;border-collapse:collapse;font-size:12px;min-width:360px}.exam-subject-scores th,.exam-subject-scores td{padding:12px 10px;text-align:left;border-bottom:1px solid var(--line)}.exam-subject-scores thead{background:#f3f7ed}.exam-subject-scores tbody tr:last-child>*{border-bottom:0}.exam-subject-scores td{font-variant-numeric:tabular-nums;white-space:nowrap}.practice-report-toolbar .practice-set-label{min-width:0}.practice-report-toolbar select{max-width:320px;width:100%}
@media(max-width:640px){.practice-report-toolbar .practice-set-label{max-width:100%}.practice-report-toolbar select{max-width:100%}.exam-subject-scores th,.exam-subject-scores td{padding:10px 8px;font-size:11px}}
.understanding-card{padding:20px;margin:18px 0;border:1px solid #d9e3d3;border-radius:14px;background:#f8faf5}.understanding-card h4{font-size:15px;margin:0 0 9px;color:var(--green)}.understanding-card p{font-size:12px;line-height:1.9;color:#61735d;margin:0 0 12px}.understanding-card>small{display:block;font-size:11px;line-height:1.8;color:#6c7d66;margin-top:12px}.understanding-actions{display:flex;gap:10px;flex-wrap:wrap}.understanding-choice{min-height:46px;flex:1;border:1px solid #cad7c2;border-radius:10px;padding:12px 16px;background:#fff;color:#436b3e;font:inherit;font-size:13px;cursor:pointer}.understanding-choice.needs_help{color:#9d4028;border-color:#e6c8bd}.understanding-choice.understood.selected{background:#e5f4dc;border-color:#638c51;box-shadow:inset 0 0 0 1px #638c51;font-weight:700}.understanding-choice.needs_help.selected{background:#fff0e8;border-color:#ba664d;box-shadow:inset 0 0 0 1px #ba664d;font-weight:700}.understanding-choice:focus-visible{outline:3px solid #709acb;outline-offset:3px}.understanding-choice:disabled{opacity:.6;cursor:default}.understanding-card.needs_help{border-color:#e2b7a4;background:#fffaf6}.understanding-card.understood{border-color:#b4cfa4}.understanding-badge{display:inline-block;border-radius:8px;padding:5px 9px;font-size:12px;font-weight:600;line-height:1.8}.understanding-badge.needs_help{background:#fff0e8;color:#9d4028}.understanding-badge.understood{background:#e5f4dc;color:#436b3e}.understanding-row{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:20px 0;border-bottom:1px solid var(--line)}.understanding-row>div{min-width:0}.understanding-row strong,.understanding-row small{display:block;overflow-wrap:anywhere}.understanding-row strong{font-size:14px;margin-bottom:4px}.understanding-row small{font-size:10px;color:#73836d;line-height:1.9}.understanding-row .understanding-badge{margin:8px 0}.understanding-row p{font-size:12px;line-height:1.9;margin:6px 0;overflow-wrap:anywhere}.understanding-row>.secondary{flex-shrink:0;font-size:11px}.understanding-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.understanding-back{margin-top:18px}.understanding-card>.secondary{margin-top:10px}
@media(max-width:640px){.understanding-card{padding:16px}.understanding-card h4{font-size:14px}.understanding-actions{flex-direction:column}.understanding-row{align-items:flex-start;flex-direction:column;gap:12px}}
.learning-badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;line-height:1.5;white-space:nowrap;padding:4px 8px;border-radius:20px;background:#f0f2ef;color:#6c7970;vertical-align:middle}
.learning-circle{display:grid;place-items:center;width:18px;height:18px;flex:0 0 18px;border-radius:50%;font:700 11px system-ui,sans-serif;background:#e0e5de;color:#8b978c}
.learning-badge.in_progress{background:#eaf2fa;color:#35628b}.learning-badge.in_progress .learning-circle{background:#d2e5f6;color:#4a80ad}
.learning-badge.review{background:#fff1dc;color:#946326}.learning-badge.review .learning-circle{background:#f9dfb2;color:#ae7938}
.learning-badge.completed{background:#e8f5e9;color:#286844}.learning-badge.completed .learning-circle{background:#32915c;color:#fff}
.learning-badge.unavailable{font-weight:400}.learning-member-picker:empty{display:none}.learning-member-picker{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0 18px;padding:13px 15px;border:1px solid #dce6d9;border-radius:12px;background:#edf4e8;font-size:12px}
.learning-member-label{display:flex;align-items:center;flex-wrap:wrap;gap:10px;flex:1}.learning-member-picker select,.learning-control select{min-width:140px;max-width:100%;padding:8px 10px;background:#fff;border:1px solid #d6e1d1;border-radius:8px;color:#395342;font-size:12px}
.learning-member-picker>span{color:#9a542e;font-size:11px}.learning-member-picker .secondary{padding:8px 11px;font-size:11px}
#practice-dialog .dialog-head{z-index:6}#practice-title{min-width:0;flex:1}#practice-title .learning-paper-title{display:block;font-size:12px;line-height:1.6}#practice-title .learning-sticky-topic{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:5px;font-size:12px;line-height:1.6;font-weight:500}#practice-title .learning-sticky-topic>span:first-child{overflow-wrap:anywhere}#practice-close{flex:0 0 33px}
.learning-card{padding:16px 18px;margin:18px 0;background:#f8faf5;border:1px solid #dce6d6;border-radius:12px}.learning-card-heading{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:12px;font-weight:600}.learning-card small,.learning-topic-row>small{display:block;font-size:10px;line-height:1.8;color:#7d8b7b;margin-top:7px}.learning-card p{font-size:12px;color:#a15831}.learning-control{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:12px;margin-top:12px}
.learning-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;list-style:none;padding:0;margin:16px 0 9px}.learning-steps li{display:flex;align-items:center;gap:6px;position:relative;font-size:11px;color:#8b968a;line-height:1.5}.learning-step-circle{display:grid;place-items:center;width:23px;height:23px;flex:0 0 23px;background:#e9eee5;border:1px solid #dce4d5;border-radius:50%;font:600 11px system-ui,sans-serif}.learning-steps li.done{color:#32734a}.learning-steps li.done .learning-step-circle{background:#32915c;border-color:#32915c;color:#fff}.learning-steps li.current{font-weight:700;color:#365d47}.learning-steps li.current:not(.done) .learning-step-circle{border:2px solid #6f9479;background:#fff;color:#365d47}
.learning-report-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}.learning-report-head h3{margin:0 0 7px;font-size:17px}.learning-report-head small{font-size:11px;color:#7b887c}.learning-summary{display:flex;gap:9px 15px;flex-wrap:wrap;padding:13px 0 18px;font-size:11px;color:#70816e}.learning-summary>span{display:flex;gap:5px;align-items:center}.learning-summary b{color:#395f40}.learning-filters{display:grid;grid-template-columns:minmax(0,1fr) 135px 135px;gap:9px;margin:0 0 15px}.learning-search,.learning-filters input,.learning-filters select{width:100%;min-width:0;padding:10px 12px;border:1px solid #dbe4d6;border-radius:9px;background:#fff;font-size:12px;color:#476047}.learning-search{margin:8px 0 16px}.learning-topic-row{border:1px solid #e0e8da;background:#fff;border-radius:12px;padding:16px 18px;margin-bottom:11px}.learning-topic-row .topic-head{align-items:center}.learning-topic-row .learning-badge{margin-left:auto}.learning-student-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid #e4eade;font-size:13px}.learning-student-row small{display:block;margin-top:6px;font-size:11px;color:#7a8978}.learning-student-row button{white-space:nowrap;font-size:11px}.practice-result-row .learning-badge{margin:5px 0 0}
@media(max-width:640px){.learning-filters{grid-template-columns:1fr 1fr}.learning-filters input{grid-column:1/-1}.learning-member-label{display:block}.learning-member-label select{display:block;margin-top:7px;width:100%}.learning-member-picker .secondary{align-self:flex-end}.learning-steps{gap:4px}.learning-steps li{flex-direction:column;text-align:center;gap:5px;font-size:10px}.learning-card,.learning-topic-row{padding:14px}.learning-topic-row .learning-badge{margin-left:0}.learning-student-row{align-items:flex-start;flex-wrap:wrap}#practice-title .learning-sticky-topic{font-size:11px;gap:5px}#practice-title .learning-badge{font-size:10px}.topic-head .learning-badge{font-size:10px}.learning-summary{gap:8px}.learning-report-head{align-items:flex-start}.learning-report-head .secondary{white-space:nowrap;padding:8px 10px;font-size:11px}}
.learning-road{position:relative;gap:0;overflow:visible}.learning-road>.learning-step{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;text-align:center;position:relative;min-width:0;color:#899489;font-size:11px;line-height:1.5;font-weight:400}.learning-road>.learning-step:not(:last-child)::after{content:"";position:absolute;height:2px;left:50%;top:11px;width:100%;background:#dce4d7}.learning-road>.learning-step.done:not(:last-child)::after{background:#32915c}.learning-road .learning-step-circle{position:relative;z-index:1;flex:0 0 23px}.learning-road .learning-step-label{position:relative;z-index:1;white-space:nowrap}.learning-road>.learning-step.done{color:#32734a}.learning-road>.learning-step.done .learning-step-circle{background:#32915c;border-color:#32915c;color:#fff}.learning-road>.learning-step.current{font-weight:700;color:#365d47}.learning-road>.learning-step.current:not(.done) .learning-step-circle{border:2px solid #6f9479;background:#fff;color:#365d47}.learning-road[data-learning-current="in_progress"]>.current:not(.done) .learning-step-circle{border-color:#4a80ad;color:#35628b}.learning-road[data-learning-current="review"]>.current:not(.done) .learning-step-circle{border-color:#b4843f;color:#946326}.learning-road.compact{display:inline-grid;grid-template-columns:repeat(4,minmax(0,1fr));width:360px;max-width:100%;margin:5px 0;vertical-align:middle}.topic-head .learning-road{flex:0 1 360px;margin:7px 0}.learning-road-note{font-size:10px;color:#85938a}.learning-sticky-topic .learning-road{flex-basis:100%;width:330px;margin:4px 0 0}.learning-sticky-topic .learning-step{font-size:10px}.learning-source-title{display:block}.learning-source-title+.learning-road{display:grid;max-width:360px;margin:10px 0 2px}.learning-road:not(.compact){width:100%}@media(max-width:640px){.topic-head .learning-road{flex-basis:100%;max-width:360px;margin:10px 0 3px}.learning-road>.learning-step{font-size:10px;gap:5px}.learning-sticky-topic .learning-road{width:290px}.learning-sticky-topic .learning-step{font-size:9px}.learning-road.compact{width:100%;max-width:360px}}

/* Persistent, high-visibility countdown: lives in the dialog's sticky header,
   not inside the scrolling exam body. Visible only for an active draft attempt. */
#practice-dialog .real-exam-header-clock{
  display:none;flex:0 0 auto;flex-direction:column;align-items:center;justify-content:center;
  min-width:165px;margin-left:auto;padding:8px 13px;
  border:1px solid #a9cab3;border-radius:12px;background:#e9f4eb;color:#205438;
  line-height:1.15;font-variant-numeric:tabular-nums
}
#practice-dialog:has(#practice-body .real-exam-statusbar.is-live) .real-exam-header-clock{display:flex}
#practice-dialog .real-exam-header-clock span{font-size:11px;font-weight:700}
#practice-dialog .real-exam-header-clock strong{
  font:800 40px/1.1 system-ui,sans-serif;letter-spacing:.025em;
  font-variant-numeric:tabular-nums;white-space:nowrap
}
#practice-dialog .real-exam-header-clock.urgent{background:#fff3d4;border-color:#dfbb68;color:#955500}
#practice-dialog .real-exam-header-clock.critical{background:#ffe6df;border-color:#d98b7d;color:#a52a20}
#practice-dialog .real-exam-statusbar.is-live{position:relative;top:auto}
@media(max-width:640px){
  #practice-dialog .dialog-head{padding:11px 12px;gap:8px}
  #practice-dialog #practice-title{font-size:11px;overflow-wrap:anywhere}
  #practice-dialog .real-exam-header-clock{min-width:115px;padding:7px 8px}
  #practice-dialog .real-exam-header-clock span{font-size:10px}
  #practice-dialog .real-exam-header-clock strong{font-size:29px}
}

/* Self-service military test selectors and prominent question overview */
.selftest-box{background:#fff;border:1px solid #d5e5dc;border-radius:19px;padding:25px;margin:4px 0 30px}
.selftest-heading>span{display:block;font-size:12px;font-weight:700;color:#3f8664;margin-bottom:5px}
.selftest-heading h2{font-size:22px;color:#163c30;margin:0 0 6px}
.selftest-heading p{font-size:13px;line-height:1.7;color:#61786d;margin:0 0 19px}
.selftest-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:13px;align-items:start}
.selftest-series{min-width:0}
.selftest-group{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#176747;color:#fff;border:0;border-radius:13px;width:100%;min-height:87px;text-align:left;padding:17px 19px}
.selftest-group strong{display:block;font-size:19px}
.selftest-group small{display:block;font-size:11px;line-height:1.6;margin-top:5px;opacity:.88}
.selftest-group>b{font-size:27px;color:#e4f8ed}
.selftest-group:hover,.selftest-group.is-active{background:#104e39}
.selftest-choices{display:grid;gap:8px;margin-top:10px;padding:11px;background:#f0f7f0;border:1px solid #d5e7da;border-radius:13px}
.selftest-choice{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #d3e1d6;border-radius:10px;background:white;text-align:left;padding:12px;color:#164a36}
.selftest-choice:hover{border-color:#288359;background:#f8fcf7}
.selftest-choice b{font-size:15px}
.selftest-choice small{display:block;margin-top:4px;font-size:11px;color:#638071}
.selftest-choice>span:last-child{font-size:19px}
#practice-dialog .selftest-overview{margin:0 0 17px;padding:13px 15px;border:2px solid #70b898;background:#f2faf5;border-radius:12px}
#practice-dialog .selftest-overview>summary{font-size:15px;font-weight:750;color:#145a3f}
#practice-dialog .selftest-overview[open]{max-height:49vh;overflow:auto}
#practice-dialog .selftest-overview .practice-question-grid{grid-template-columns:repeat(auto-fill,minmax(44px,1fr))}
#practice-dialog .selftest-overview .practice-question-grid button{min-height:40px}
@media(max-width:640px){
 .selftest-box{padding:18px 15px}
 .selftest-heading h2{font-size:20px}
 .selftest-groups{grid-template-columns:1fr}
 .selftest-group{min-height:83px}
}

/* Untimed military per-question study (separate from proctored examinations). */
.selfstudy-status{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;padding:13px 16px;margin-bottom:12px;border:1px solid #d9e7d9;border-radius:12px;background:#f3f9f3;color:#315d48;font-size:12px;font-weight:650}
.selfstudy-clock{text-align:right;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.selfstudy-clock strong{font:750 25px/1.2 system-ui,sans-serif;font-variant-numeric:tabular-nums;color:#126849}
.selfstudy-clock small{font-size:10px;color:#708c7a;font-weight:400}
.selfstudy-overview{margin:0 0 20px;padding:13px;border:1px solid #a6d0af;border-radius:11px;background:#f7fcf8}
.selfstudy-overview summary{color:#215b44;font-size:14px;font-weight:750;cursor:pointer}
.selfstudy-overview[open]{max-height:45vh;overflow:auto}
.selfstudy-overview .practice-question-grid{grid-template-columns:repeat(auto-fill,minmax(43px,1fr))}
.selfstudy-overview .practice-question-grid button{min-height:40px}
.selfstudy-hint{font-size:13px;line-height:1.85;color:#647d6a;background:#f5f7f2;padding:12px;border-radius:9px;margin-top:14px}
.selfstudy-feedback{margin-top:22px;padding:18px;border:1px solid #d6e5d7;background:#f5faf2;border-radius:13px}
.selfstudy-feedback.is-incorrect{border-color:#efdab3;background:#fff9f0}
.selfstudy-feedback h3{margin:0 0 9px;font-size:20px;color:#236645}
.selfstudy-feedback.is-incorrect h3{color:#925d21}
.selfstudy-feedback>p{margin:0 0 13px;color:#52705a;font-size:14px}
.selfstudy-feedback>h4{font-size:15px;margin:12px 0;color:#2a5b41}
.selfstudy-feedback .practice-explanation{margin:10px 0 0;background:#fff}
.selfstudy-submit{font-size:17px;font-weight:750;padding:12px 20px}
.selftest-preview-note{color:#a07127!important;font-weight:600}
.selftest-group:disabled,.selftest-choice:disabled{cursor:not-allowed;opacity:.55}
@media(max-width:640px){.selfstudy-status{align-items:flex-start;flex-direction:column}.selfstudy-clock{text-align:left}.selfstudy-clock strong{font-size:25px}.selfstudy-feedback{padding:13px}.selfstudy-feedback h3{font-size:18px}}
