/* ExamStudio Reading original-question exam mode, 2026-11-20.
   Independent from wordbook, reading audio, answers and walkthrough. */
.exam-practice{max-width:100%;--exam-accent:#0d7e75;--exam-border:#dce8eb}
.exam-practice[data-en="0"] [data-lang="en"],
.exam-practice[data-zh="0"] [data-lang="zh"]{display:none!important}
.practice-toolbar{display:flex;justify-content:space-between;align-items:center;
 gap:12px;flex-wrap:wrap;margin:16px 0 12px}
.practice-toggles{display:flex;gap:10px 15px;align-items:center;flex-wrap:wrap;font-size:13px}
.practice-toggles>strong{font-size:13px;color:#2b5860}
.practice-language-toggle{display:inline-flex;align-items:center;gap:6px;
 padding:7px 9px;border-radius:8px;border:1px solid #d9e8e7;background:#f5faf9;cursor:pointer}
.practice-language-toggle input{width:17px;height:17px;accent-color:var(--exam-accent);cursor:pointer}
.practice-toolbar-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.practice-progress{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:10px 0 13px}
.practice-progress-label{font-size:12px;color:#617b83;min-width:170px;font-variant-numeric:tabular-nums}
.practice-progress-track{height:7px;max-width:400px;flex:1 1 130px;border-radius:9px;
 overflow:hidden;background:#ecf2f1}
.practice-progress-fill{height:100%;width:0;background:#0a8179;transition:width .18s}
.practice-source-note,.practice-caution{border-radius:9px;padding:10px 12px;
 line-height:1.75;font-size:12px;margin:10px 0}
.practice-source-note{color:#416a73;background:#f3f8f8;border:1px solid #e1eeee}
.practice-caution{color:#94651c;background:#fff8ea;border:1px solid #f0dfb7}
.practice-passage{border:1px solid #dce7e9;border-radius:11px;margin:14px 0;
 background:#fcfefe}
.practice-passage>summary{padding:13px 15px;cursor:pointer;
 font-weight:700;color:#275e67;line-height:1.6}
.practice-passage-content{border-top:1px solid #e7eeee;padding:13px 16px;
 max-height:420px;overflow:auto;scroll-behavior:smooth}
.practice-passage-content .practice-en{font:16px/1.85 "Times New Roman",Georgia,serif;
 color:#1b3341;margin:2px 0 12px;overflow-wrap:anywhere}
.practice-passage-content .practice-zh{font-size:14px;line-height:1.85;color:#59737c;margin:0}
.practice-passage-content .practice-article-en>.practice-article-paragraph,
.practice-passage-content .practice-article-zh>.practice-article-paragraph{margin:0 0 16px!important;line-height:1.9}
.practice-passage-content .practice-article-en>.practice-article-paragraph:last-child,
.practice-passage-content .practice-article-zh>.practice-article-paragraph:last-child{margin-bottom:0!important}
.practice-passage-content .practice-article-zh{margin-top:16px}
@media print{
 .practice-passage-content{max-height:none!important;overflow:visible!important}
 .practice-passage-content .practice-article-paragraph{break-inside:avoid;page-break-inside:avoid}
}
.practice-question-list{display:grid;gap:17px;margin:20px 0 18px}
.practice-question{padding:17px;border-radius:13px;border:1px solid var(--exam-border);
 background:#fff;scroll-margin-top:35px}
.practice-question-top{display:flex;justify-content:space-between;align-items:center;
 flex-wrap:wrap;gap:7px;margin-bottom:11px}
.practice-question-id{background:#e6f4f1;color:#0a746a;font-size:13px;
 border-radius:6px;padding:6px 8px;font-weight:750}
.practice-source-tag{font-size:11px;color:#617984;line-height:1.6;max-width:75%}
.practice-question-stem{padding:0 0 14px;border-bottom:1px solid #e9f0f1;margin:0 0 14px}
.practice-question-stem .practice-en{font-size:17px;line-height:1.8;color:#1e3644;font-weight:650;
 margin:0 0 5px;overflow-wrap:anywhere}
.practice-question-stem .practice-zh{font-size:14px;line-height:1.8;color:#647d83;
 margin:5px 0 0}
.practice-options{display:grid;gap:10px}
.practice-option{display:grid;grid-template-columns:20px 24px minmax(0,1fr);gap:9px;
 align-items:start;padding:13px 12px;border:1px solid #dee8e9;border-radius:10px;
 background:#f9fbfc;cursor:pointer;transition:background .15s,border-color .15s}
.practice-option:hover:not(.correct-option):not(.wrong-option){background:#f2f9f7;border-color:#a8ccc5}
.practice-option.selected{border-color:#08877c;background:#edf8f5;box-shadow:inset 3px 0 #0d887b}
.practice-option input{margin:3px 0 0;width:17px;height:17px;
 accent-color:var(--exam-accent);cursor:pointer}
.practice-option input:disabled{cursor:default}
.practice-option-letter{font-size:13px;font-weight:750;color:#27636b;padding-top:2px}
.practice-option-content{min-width:0}
.practice-option-content .practice-en{font-size:14px;color:#2b4657;line-height:1.65;
 display:block;overflow-wrap:anywhere}
.practice-option-content .practice-zh{display:block;margin-top:4px;color:#677e83;
 line-height:1.7;font-size:13px;overflow-wrap:anywhere}
.practice-option.correct-option{border-color:#70c4a3;background:#eaf6ef}
.practice-option.wrong-option{border-color:#e2b0ac;background:#fff1f0}
.practice-option .word-token{font-size:inherit!important;padding:1px 2px!important;
 display:inline!important;min-height:0!important;line-height:inherit!important}
.practice-text-input{box-sizing:border-box;width:100%;max-width:590px;background:#fff;
 border:1px solid #c8dfe0;border-radius:9px;font-size:16px;color:#173942;
 padding:12px 13px;outline-offset:2px}
.practice-question-actions{margin:14px 0 0;display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.practice-submitted{border-color:#bcd6d4}
.practice-question-result{margin-top:14px;border-top:1px dashed #d6e6e5;padding:11px 0}
.practice-result-label{display:inline-flex;padding:7px 10px;border-radius:8px;font-size:14px}
.practice-correct{background:#e6f5eb;color:#146949}
.practice-wrong{background:#fff0eb;color:#a9483c}
.practice-empty{background:#f1f4f5;color:#54636e}
.practice-provisional,.practice-manual{background:#fff6e5;color:#986720}
.practice-result-desc,.practice-reference-note{font-size:12px;line-height:1.75;color:#66808a;margin:10px 0 5px}
.practice-reference{font-size:15px;line-height:1.75;color:#255b60;margin:8px 0;font-weight:650;
 overflow-wrap:anywhere;white-space:pre-wrap}
.practice-explanation{font-size:13px;margin:12px 0}
.practice-explanation summary{cursor:pointer;color:#1b7970;font-weight:650}
.practice-explanation p{line-height:1.85;white-space:pre-wrap;color:#445b66}
.practice-review{margin:10px 0 0;display:grid;gap:10px}
.practice-review-select{max-width:330px;background:#fff;border:1px solid #cfdddf;
 border-radius:8px;padding:9px 10px;color:#294d57}
.practice-review-note{width:100%;max-width:670px;box-sizing:border-box;
 background:#fff;border:1px solid #cfdddf;border-radius:8px;padding:10px;
 font-size:13px;line-height:1.6;resize:vertical}
.practice-summary{padding:18px 20px;border-radius:12px;border:1px solid #bfdad3;background:#f4faf8;
 margin:20px 0;scroll-margin-top:35px}
.practice-summary[hidden]{display:none}
.practice-summary h3{margin:0 0 10px;color:#194b54;font-size:18px}
.practice-summary-score{font-size:30px;color:#086c61;font-weight:750;margin:0 0 9px;
 font-variant-numeric:tabular-nums}
.practice-summary-description{color:#4e6972;font-size:13px;line-height:1.8}
.practice-summary-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}
.practice-source-files{border:1px solid #dce7eb;background:#f9fbfb;
 border-radius:12px;margin:14px 0}
.practice-source-files>summary{cursor:pointer;font-size:14px;color:#366772;
 font-weight:750;padding:13px 15px}
.practice-source-files>.card{background:#fff;margin:10px;border:1px solid #edf1f2}
@media(max-width:790px){
 .practice-toolbar{align-items:stretch}
 .practice-toolbar-actions .btn{flex:1 1 140px}
 .practice-question{padding:13px 11px}
 .practice-option{grid-template-columns:18px 20px minmax(0,1fr);padding:11px 9px;gap:7px}
 .practice-question-stem .practice-en{font-size:16px}
 .practice-passage-content{max-height:350px;padding:12px}
 .practice-summary-score{font-size:26px}
 .practice-source-tag{max-width:100%}
}

/* Exam presentation: dictionary-enabled words should read as normal inline
   typography, not a sequence of default bordered browser buttons. */
.exam-practice .practice-question-stem button.word-token,
.exam-practice .practice-option-content button.word-token{
 display:inline!important;
 border:0!important;
 border-radius:2px!important;
 padding:0 1px!important;
 margin:0!important;
 box-shadow:none!important;
 font:inherit!important;
 font-size:inherit!important;
 font-weight:inherit!important;
 letter-spacing:inherit!important;
 line-height:inherit!important;
 vertical-align:baseline!important;
 text-align:inherit;
 color:inherit;
 background:transparent;
 text-decoration:none;
 cursor:pointer;
}
.exam-practice .practice-question-stem button.word-token:not(.wb-saved-word):not(.wb-saved-phrase),
.exam-practice .practice-option-content button.word-token:not(.wb-saved-word):not(.wb-saved-phrase){
 background:transparent!important;
}
.exam-practice .practice-question-stem button.word-token:hover,
.exam-practice .practice-option-content button.word-token:hover{
 color:#067d74!important;
 text-decoration:underline dotted #62aba5;
 text-underline-offset:3px;
}
.exam-practice .practice-question-stem button.word-token:focus-visible,
.exam-practice .practice-option-content button.word-token:focus-visible{
 outline:2px solid #0b8479;outline-offset:3px;
}


/* Single submission control, after all questions. No per-question judgment. */
.practice-submit-bar{
 position:sticky;bottom:10px;z-index:20;
 display:flex;align-items:center;justify-content:space-between;
 flex-wrap:wrap;gap:10px;padding:13px 16px;margin:16px 0 22px;
 border-radius:13px;border:1px solid #b9dad2;
 background:rgba(246,251,249,.98);
 box-shadow:0 6px 24px rgba(20,70,66,.10);
}
.practice-submit-bar[hidden]{display:none!important}
.practice-submit-hint{font-size:13px;color:#3a6863;font-weight:600;
 font-variant-numeric:tabular-nums}
.practice-submit-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.practice-submit-actions .btn{min-height:38px}
@media(max-width:650px){
 .practice-submit-bar{bottom:5px;padding:10px;align-items:stretch}
 .practice-submit-hint{width:100%;font-size:12px}
 .practice-submit-actions{width:100%;gap:8px}
 .practice-submit-actions .btn{flex:1 1 135px}
}


/* 2026-11-21: original-question two-pane CBT layout. */
body:has(.exam-practice) .workspace{max-width:1460px}
.exam-practice .practice-exam-header{
 display:flex;justify-content:space-between;align-items:center;gap:12px;
 flex-wrap:wrap;margin:14px 0 0;padding:11px 14px;background:#08696f;
 border:1px solid #075d64;border-radius:11px 11px 0 0;color:#fff;
 position:sticky;top:64px;z-index:22;
}
.practice-exam-info{display:flex;gap:11px;align-items:center;white-space:nowrap;
 font-size:13px;color:#f1ffff}
.practice-exam-info strong{font-size:15px}
.practice-exam-section{font-weight:800;border-right:1px solid #a6ced0;padding-right:11px}
.practice-exam-controls{display:flex;flex-wrap:wrap;gap:7px}
.exam-practice .practice-exam-button{
 background:#ffffff14;color:#fff;border:1px solid #ffffff8a;
 border-radius:7px;padding:8px 12px;font-weight:700;font-size:13px;
 cursor:pointer;min-height:36px;
}
.exam-practice .practice-exam-button:hover:not(:disabled){background:#ffffff32}
.exam-practice .practice-exam-button:disabled{opacity:.44;cursor:not-allowed}
.exam-practice .practice-next{color:#075e62;background:#fff;border-color:#fff}
.exam-practice .practice-next:hover:not(:disabled){background:#e5f6f3}
.practice-review-nav{display:flex;flex-wrap:wrap;gap:8px;padding:13px;
 background:#f5faf9;border:1px solid #d8e7e5;border-top:0}
.practice-review-nav[hidden]{display:none!important}
.exam-practice .practice-nav-chip{position:relative;min-width:40px;height:39px;
 padding:7px;border:1px solid #cbdad9;background:white;color:#214f54;
 border-radius:6px;font-weight:700;font-size:13px;cursor:pointer}
.exam-practice .practice-nav-chip.answered{background:#e2f4ef}
.exam-practice .practice-nav-chip.current{border:2px solid #06766f;box-shadow:0 0 0 1px #d1ece5}
.exam-practice .practice-nav-chip.marked:after{content:"★";position:absolute;top:-6px;right:-4px;
 font-size:11px;color:#cc8428}
.exam-practice .practice-nav-chip.wrong{border-color:#ca7676}
.practice-exam-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 border:1px solid #d6e4e2;border-top:0;background:#fff;min-height:460px}
.practice-exam-passage-pane,.practice-exam-question-pane{
 min-width:0;max-height:min(75vh,780px);overflow-y:auto;
 scrollbar-gutter:stable;overscroll-behavior:contain;
}
.practice-exam-passage-pane{border-right:1px solid #d6e4e2}
.practice-exam-question-pane{padding:22px 21px 28px}
.exam-practice .practice-passage{border:0;margin:0;border-radius:0;background:#fff}
.exam-practice .practice-passage>summary{padding:13px 17px;border-bottom:1px solid #e7eeee;
 font-size:13px;background:#f5faf9}
.exam-practice .practice-passage-content{max-height:none;overflow:visible;
 padding:20px 22px 28px;border-top:0}
.exam-practice .practice-question-list{display:block;margin:0}
.exam-practice .practice-question{padding:0;border:0;border-radius:0;
 background:#fff;scroll-margin-top:135px}
.exam-practice .practice-question[hidden]{display:none!important}
.exam-practice .practice-question-top{margin-bottom:14px}
.exam-practice .practice-question-id{font-size:14px}
.exam-practice .practice-question-stem .practice-en{font-size:18px;line-height:1.65}
.exam-practice .practice-question-stem{padding-bottom:12px;margin-bottom:13px}
.exam-practice .practice-options{gap:6px}
.exam-practice .practice-option{padding:11px 10px;background:#fff;border-color:transparent;
 border-bottom:1px solid #edf2f2;border-radius:6px}
.exam-practice .practice-option:hover:not(.correct-option):not(.wrong-option){background:#f3f9f8}
.exam-practice .practice-option.selected{border-color:#73bcb1;background:#eaf8f5;box-shadow:none}
.practice-cloze-head{padding:20px 18px 10px;border-bottom:1px solid #e4eded}
.practice-cloze-head strong{font-size:16px;color:#143d45}
.practice-cloze-head p{color:#657b81;font-size:12px;line-height:1.7}
.practice-cloze-context{padding:12px 18px}
.practice-cloze-item{display:grid;grid-template-columns:26px minmax(0,1fr);
 gap:9px;padding:10px;border-bottom:1px solid #eff4f4;color:#294753;line-height:1.75;
 font-family:Georgia,"Times New Roman",serif;font-size:16px}
.practice-cloze-item.current{background:#eaf6f2;border-left:3px solid #0b8076}
.practice-cloze-number{font:700 12px/1.8 Arial,sans-serif;color:#52827e}
.practice-cloze-text{overflow-wrap:anywhere}
@media(max-width:930px){
 .practice-exam-stage{grid-template-columns:1fr}
 .practice-exam-passage-pane{max-height:38vh;min-height:120px;border-right:0;border-bottom:1px solid #d6e4e2}
 .practice-exam-question-pane{max-height:none;padding:19px 16px;overflow:visible}
 .exam-practice .practice-exam-header{top:64px}
 .practice-exam-controls{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
 .exam-practice .practice-exam-button{padding:8px 5px;font-size:12px}
}
@media(max-width:500px){
 .exam-practice .practice-exam-header{padding:9px 9px;gap:9px}
 .practice-exam-info{font-size:12px}
 .practice-exam-info strong{font-size:13px}
 .exam-practice .practice-passage-content{padding:13px}
 .practice-exam-passage-pane{max-height:34vh}
 .exam-practice .practice-question-stem .practice-en{font-size:16px}
 .exam-practice .practice-option{grid-template-columns:18px 21px minmax(0,1fr);gap:7px}
}
@media print{
 .exam-practice .practice-exam-header,.practice-review-nav{display:none!important}
 .practice-exam-stage{display:block;border:0}
 .practice-exam-passage-pane,.practice-exam-question-pane{max-height:none;overflow:visible}
 .exam-practice .practice-question[hidden]{display:block!important}
}
