.mcq-student{--mcq-accent:var(--action,var(--student-primary,#0062cc));--mcq-line:var(--line,#d7e5f6);--mcq-muted:var(--muted,#4c6280);--mcq-correct:#24664f;--mcq-correct-bg:#e7f5ef;--mcq-wrong:#873d18;--mcq-wrong-bg:#fff3e9}
html body.mcq-student main{max-width:1440px;padding-top:24px}
.mcq-student .mcq-heading{gap:16px;margin-bottom:20px;align-items:center}.mcq-student .in-session>.mcq-heading{display:none}
html body.mcq-student .mcq-heading h1{font-size:1.75rem;line-height:1.4;margin:0 0 4px}.mcq-student .mcq-heading p{margin:0;font-size:1rem}.mcq-student .mcq-heading>a{font-size:1rem;min-height:44px;display:inline-flex;align-items:center}
html body.mcq-student main .primary{border-radius:8px;box-shadow:none}.mcq-student button{overflow-wrap:anywhere}
.mcq-student #mcqResume{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;background:#fff;padding:20px 24px;border-radius:14px;margin-bottom:20px}.mcq-student #mcqResume h2{font-size:1.25rem;margin:0 0 4px}.mcq-student #mcqResume p{color:var(--mcq-muted);margin:0;font-size:.875rem}
.mcq-student #mcqSetup{padding:20px 24px;border-radius:14px}.mcq-student .mcq-setup-bar{display:flex;flex-wrap:wrap;align-items:end;gap:16px 24px}.mcq-student .mcq-topic-control{flex:1 1 240px;min-width:0;display:grid;gap:8px}
.mcq-student #chapterToggle{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;width:100%;min-height:48px}.mcq-student #chapterToggle span{overflow-wrap:anywhere}.mcq-student #chapterToggle svg{width:20px;height:20px;flex-shrink:0}
.mcq-student .mcq-segmented{flex:0 1 auto}.mcq-student .mcq-segmented legend{font-size:.875rem;font-weight:600;margin-bottom:8px}.mcq-student .mcq-segmented>div{display:flex;flex-wrap:wrap;gap:4px}.mcq-student .mcq-segmented label{position:relative;cursor:pointer;display:flex;min-height:48px}.mcq-student .mcq-segmented input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer}.mcq-student .mcq-segmented span{display:flex;align-items:center;justify-content:center;padding:10px 14px;min-width:44px;border:1px solid var(--mcq-line);border-radius:8px;background:#fff;color:var(--ink)}
.mcq-student .mcq-segmented input:checked+span{background:var(--mcq-accent);border-color:var(--mcq-accent);color:#fff}.mcq-student .mcq-segmented input:focus-visible+span{outline:3px solid var(--mcq-accent);outline-offset:3px}.mcq-student .mcq-segmented input:disabled+span{opacity:.6;cursor:default}
.mcq-student .mcq-count-label{display:grid;gap:8px;font-size:.875rem;font-weight:600}.mcq-student #count{font-size:1rem;min-height:48px}.mcq-student #startButton{min-height:48px;flex:0 0 auto}
.mcq-student .mcq-selection-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:16px;font-size:.875rem;color:var(--mcq-muted)}.mcq-student #selectedChapters{display:flex;flex-wrap:wrap;gap:8px;min-width:0}.mcq-student #selectedChapters button{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:.875rem;padding:6px 12px;background:var(--soft,#e4f0ff);border-color:transparent;text-align:left;white-space:normal}.mcq-student #selectedChapters svg{width:16px;height:16px;flex-shrink:0}
.mcq-student .mcq-setup-help{display:flex;flex-wrap:wrap;gap:4px 24px;align-items:center;margin-top:8px;font-size:.875rem;color:var(--mcq-muted)}.mcq-student .mcq-setup-help p{margin:0}.mcq-student #availableCount{font-weight:600}
.mcq-student #chapterPanel{margin-top:20px;border-top:1px solid var(--mcq-line);padding-top:20px}.mcq-student .mcq-panel-heading,.mcq-student .mcq-history-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.mcq-student .mcq-panel-heading h3,.mcq-student .mcq-history-heading h2{margin:0}.mcq-student .mcq-search{margin:16px 0}.mcq-student #chapterSearch::placeholder{color:var(--mcq-muted);opacity:1}
.mcq-student #mcqChapters{border:0;max-height:400px;padding:0}.mcq-student .mcq-chapter-group h4{margin:20px 0 8px;font-size:.875rem;color:var(--mcq-muted)}.mcq-student .mcq-chapter-group:first-child h4{margin-top:0}.mcq-student #mcqChapters label{padding:8px 12px;border-radius:8px}.mcq-student #mcqChapters label:has(input:checked){background:var(--soft,#e4f0ff)}
.mcq-student #unavailableChapters{border-top:1px solid var(--mcq-line);margin-top:16px;padding-top:12px}.mcq-student #unavailableChapters summary{cursor:pointer;min-height:44px;display:list-item;align-content:center}.mcq-student #mcqUnavailable{max-height:240px;overflow:auto}.mcq-student #mcqUnavailable p{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:8px 12px;margin:0;color:var(--mcq-muted)}
.mcq-student .mcq-session-summary{display:block;background:#fff;border-radius:10px;margin:0 auto 12px;max-width:880px;padding:0;font-size:.875rem}.mcq-student .mcq-session-summary>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;min-height:48px;padding:10px 16px;line-height:1.6}.mcq-student .mcq-session-summary>summary svg{width:20px;height:20px}.mcq-student .mcq-session-summary>div{padding:0 16px 16px}.mcq-student .mcq-session-summary p{margin:0 0 8px;color:var(--mcq-muted)}
.mcq-student .mcq-question-toolbar{max-width:880px;margin:0 auto 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.mcq-student #saveStatus{font-size:.875rem;color:var(--mcq-muted)}
.mcq-student .mcq-number-menu{position:relative}.mcq-student .mcq-number-menu>summary{display:flex;align-items:center;gap:8px;cursor:pointer;min-height:44px;font-weight:700;list-style:none;font-variant-numeric:tabular-nums}.mcq-student .mcq-number-menu>summary svg{width:20px;height:20px}
.mcq-student .mcq-question-nav{position:absolute;z-index:25;top:100%;left:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;padding:12px;width:min(340px,calc(100vw - 32px));max-height:50dvh;overflow:auto;background:#fff;border:1px solid var(--mcq-line);border-radius:12px}.mcq-student .mcq-question-nav button{width:auto;min-width:44px;min-height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-variant-numeric:tabular-nums;padding:4px 6px!important;line-height:1.2}.mcq-student .mcq-question-nav small{font-size:.75rem;margin-top:5px;white-space:nowrap}.mcq-student .mcq-question-nav [data-state=已保存]{background:var(--soft,#e4f0ff)}.mcq-student .mcq-question-nav [data-state=已提交]{border-color:var(--mcq-accent)}.mcq-student .mcq-question-nav [aria-current=step]{background:var(--mcq-accent)!important;color:#fff!important;border-color:var(--mcq-accent)}
.mcq-student .mcq-question{max-width:880px;margin:0 auto;padding:0;background:transparent;border-radius:0}.mcq-student .mcq-question.is-review{display:block;padding:24px;background:#fff;border-radius:14px}
html body.mcq-student .mcq-stem{font-size:1.5rem;line-height:1.7;font-weight:700;margin:0 0 20px;white-space:pre-line;overflow-wrap:anywhere}.mcq-student .mcq-material{margin:0 0 20px;padding:20px;background:#fff;font-size:1rem;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.mcq-student .mcq-options{gap:10px}.mcq-student .mcq-options label{background:#fff;align-items:start;gap:12px;padding:14px;line-height:1.7;min-height:60px;display:grid;grid-template-columns:20px minmax(0,1fr)}.mcq-student .mcq-options input{margin-top:4px}.mcq-student .mcq-option-copy{min-width:0}.mcq-student .mcq-option-letter{font-weight:700;margin-right:10px}.mcq-student .mcq-option-text{white-space:pre-wrap;overflow-wrap:anywhere}.mcq-student .mcq-inline-result{display:inline-flex;font-size:.75rem;font-weight:600;padding:2px 6px;margin-right:8px;border-radius:4px;vertical-align:baseline;color:var(--mcq-correct);background:#d3ecdf}.mcq-student .is-wrong .mcq-inline-result{color:var(--mcq-wrong);background:#ffe4cf}
.mcq-student .mcq-options label:has(input:checked){border-color:var(--mcq-accent);background:#eaf3ff}.mcq-student .mcq-options label:has(input:focus-visible){outline:3px solid var(--mcq-accent);outline-offset:3px}.mcq-student .mcq-options label:hover:not(:has(input:disabled)){border-color:var(--mcq-accent)}.mcq-student .mcq-options input:disabled{opacity:1}.mcq-student .mcq-options label:has(input:disabled){cursor:default}
.mcq-student .mcq-options label.is-expected,.mcq-student .mcq-options label.is-expected:has(input:checked){background:var(--mcq-correct-bg);border-color:#84b69f}.mcq-student .mcq-options label.is-wrong,.mcq-student .mcq-options label.is-wrong:has(input:checked){background:var(--mcq-wrong-bg);border-color:#dca985}
.mcq-student .mcq-answer-summary{margin:0 0 16px;padding:0;border:0}.mcq-student .mcq-answer-summary h2{font-size:1.125rem;margin:0;line-height:1.7}.mcq-student .mcq-answer-summary p{font-size:.875rem;color:var(--mcq-muted);margin:4px 0 0}.mcq-student .mcq-unique-reason{margin:16px 0 20px;font-size:1rem;line-height:1.8}
.mcq-student .mcq-view-tabs{display:flex;border-bottom:1px solid var(--mcq-line);gap:8px;margin-bottom:20px}.mcq-student .mcq-view-tabs button{min-width:88px;padding:10px 20px;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;background:transparent!important}.mcq-student .mcq-view-tabs [aria-selected=true]{color:var(--mcq-accent)!important;border-bottom-color:var(--mcq-accent)!important;font-weight:700}
.mcq-student .mcq-feedback{padding:0;margin:0;border:0}.mcq-student .mcq-option-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.mcq-student .mcq-option-tabs button{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 8px;padding:10px 4px;min-height:56px}.mcq-student .mcq-option-tabs strong{font-size:1.125rem}.mcq-student .mcq-option-tabs small{font-size:.75rem}.mcq-student .mcq-option-tabs [aria-selected=true]{border-color:var(--mcq-accent);background:#eaf3ff;color:var(--mcq-accent)}
.mcq-student .mcq-diagnostic{padding:20px 0;margin:0;border:0}.mcq-student .mcq-diagnostic h3{font-size:1.125rem;line-height:1.8;margin:0 0 12px;white-space:pre-wrap}.mcq-student .mcq-diagnostic p{margin:8px 0;line-height:1.8}.mcq-student .mcq-truth{font-size:.875rem;font-weight:600;color:var(--mcq-muted)}.mcq-student #openEvidence{min-height:44px;color:var(--mcq-accent);font-weight:600}
.mcq-student .mcq-actions{max-width:880px;margin:24px auto 0;display:flex;align-items:stretch;gap:16px;justify-content:space-between}.mcq-student .mcq-actions .primary{flex:1;max-width:560px;min-height:48px}.mcq-student .mcq-actions>button{padding:12px 24px}.mcq-student .mcq-toolbar-more,.mcq-student .mcq-short-label{display:none}
.mcq-student .mcq-action-help{max-width:880px;margin:12px auto 0;display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--mcq-muted);font-size:.875rem}.mcq-student .mcq-action-help p{margin:0}.mcq-student .mcq-action-help button{flex-shrink:0;font-size:.875rem;min-height:44px}
.mcq-student .mcq-confirm{max-width:880px;margin:20px auto;padding:20px;background:#fff3e9;color:var(--mcq-wrong);border-radius:12px}.mcq-student .mcq-confirm>button{margin:8px 8px 0 0}.mcq-student .mcq-withdrawn{max-width:880px;margin:20px auto;padding:20px;background:#fff3e9}.mcq-student .mcq-withdrawn h2{font-size:1.25rem}
.mcq-student .mcq-completed-summary{max-width:880px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin:0 auto 16px;padding-bottom:16px;border-bottom:1px solid var(--mcq-line)}.mcq-student .mcq-completed-summary h2{margin:0;font-size:1.375rem}.mcq-student .mcq-completed-summary p{margin:4px 0 0;color:var(--mcq-muted);font-size:.875rem}
.mcq-student .mcq-history{margin-top:32px}.mcq-student .mcq-history-heading{margin-bottom:12px}.mcq-student .mcq-history-heading p{margin:4px 0;color:var(--mcq-muted)}
.mcq-student #mcqEvidenceDialog{width:min(760px,calc(100% - 24px));max-height:calc(100dvh - 32px);padding:24px;overflow:auto;color:var(--ink);background:#fff}.mcq-student .mcq-reader-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:-24px;margin:-24px -24px 0;padding:16px 24px;background:#fff;border-bottom:1px solid var(--mcq-line);z-index:1}.mcq-student .mcq-reader-heading h2{margin:0;font-size:1.25rem}.mcq-student .mcq-reader-heading button{min-height:44px}
.mcq-student .mcq-shared-source{padding:24px 0;border-bottom:1px solid var(--mcq-line)}.mcq-student .mcq-shared-source h3{font-size:1rem;margin:0}.mcq-student .mcq-evidence-for{color:var(--mcq-muted);font-size:.875rem;margin:4px 0 12px}.mcq-student .mcq-shared-source blockquote{margin:12px 0;white-space:pre-wrap;line-height:1.8;overflow-wrap:anywhere}.mcq-student .mcq-source-location{font-size:.875rem;color:var(--mcq-muted);margin:8px 0}.mcq-student .mcq-source-location a{display:inline-flex;align-items:center;min-height:44px;margin-left:12px;text-underline-offset:4px}
.mcq-student .mcq-step-icon,.mcq-student .mcq-reader-close-icon{display:none;width:24px;height:24px;flex-shrink:0}
@media(max-width:1099px){.mcq-student .mcq-topic-control{flex-basis:100%}}
@media(max-width:767px){
 html:has(body.mcq-student){scroll-padding-block-end:calc(var(--mcq-bottom-space,110px) + env(safe-area-inset-bottom))}
 html body.mcq-student main{padding:16px 16px calc(var(--mcq-bottom-space,110px) + env(safe-area-inset-bottom))}.mcq-student main :is(button,summary),.mcq-student .mcq-options label{scroll-margin-block:var(--mcq-bottom-space,110px)}
 .mcq-student .mcq-heading{display:flex;flex-wrap:wrap;gap:8px}.mcq-student .mcq-heading>a{margin:0}.mcq-student #mcqSetup,.mcq-student #mcqResume{padding:16px}.mcq-student .mcq-setup-bar{gap:16px 12px}.mcq-student .mcq-segmented span{padding:10px 12px}.mcq-student #startButton{flex:1 1 100%}
 .mcq-student .mcq-session-summary{margin-bottom:4px}.mcq-student .mcq-session-summary>summary{padding:8px 12px;min-height:44px}.mcq-student .mcq-question-toolbar{margin-bottom:12px}.mcq-student .mcq-question.is-review{padding:16px}.mcq-student .mcq-answer-summary{margin-bottom:12px}
 html body.mcq-student .mcq-stem{font-size:1.25rem;line-height:1.75;margin-bottom:16px}.mcq-student .mcq-options label{padding:12px;gap:10px}.mcq-student .mcq-unique-reason{margin:12px 0 16px}.mcq-student .mcq-diagnostic{padding:16px 0}
 html.student-glass-root body.mcq-student.mcq-in-session #navigation{display:none!important}
 .mcq-student .mcq-actions{position:fixed;z-index:40;left:12px;right:12px;bottom:max(10px,env(safe-area-inset-bottom));margin:0;padding:8px;display:grid;grid-template-columns:56px minmax(0,1fr) 56px;gap:8px;background:#f8fbff;border:1px solid var(--mcq-line);border-radius:12px}
 .mcq-student .mcq-actions.has-skip{grid-template-columns:56px minmax(0,1fr) 56px 52px}.mcq-student .mcq-actions>button{padding:8px 4px;min-width:0;line-height:1.35;white-space:normal}.mcq-student .mcq-actions .primary{max-width:none;min-height:44px}.mcq-student .mcq-toolbar-more{display:block}.mcq-student .mcq-short-label{display:inline}.mcq-student .mcq-wide-label{display:none}
 .mcq-student #mcqWorkspace:has(.mcq-confirm:not([hidden])) .mcq-actions{display:none}.mcq-student .mcq-action-help{align-items:start;flex-wrap:wrap;gap:8px}.mcq-student .mcq-history-heading{align-items:start;flex-wrap:wrap}.mcq-student #mcqEvidenceDialog{padding:16px}.mcq-student .mcq-reader-heading{top:-16px;margin:-16px -16px 0;padding:12px 16px}
}
@media(max-width:767px){.mcq-student .mcq-step-icon,.mcq-student .mcq-reader-close-icon{display:inline-block;vertical-align:middle}.mcq-student #closeEvidence{min-width:44px;padding:8px;flex:0 0 44px}.mcq-student .mcq-reader-heading h2{min-width:0}}
@media(prefers-reduced-motion:reduce){.mcq-student *{scroll-behavior:auto;transition:none}}
.mcq-pet-progress{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:.5rem 1.25rem;margin:1.5rem 0;padding:.875rem 0;border-top:1px solid var(--line,#d9e6f2);color:var(--muted,#54647a);font-size:.875rem;line-height:1.75}
.mcq-pet-progress p{margin:0;flex:1 1 30ch;max-width:68ch}.mcq-pet-progress a{display:inline-flex;align-items:center;min-height:44px;color:var(--accent,var(--student-primary,#006dcc));text-underline-offset:3px}
@media(max-width:767px){body.mcq-in-session .pet-layer .pet-notice{bottom:calc(var(--mcq-bottom-space,110px) + 68px)}}
