.panel-body:has(>.op-root){padding:0;background:#eef5fc}.op-root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#333}.op-root button{font:inherit;cursor:pointer}.op-content{min-height:calc(100dvh - 235px);background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000a;display:flex;flex-direction:column;position:relative;padding:28px 40px}.op-question-indicator{position:absolute;top:26px;right:40px;font-size:14px;color:#888}.op-question-indicator b{color:#1a6fc4;font-size:18px;margin:0 2px}.op-q-type{font-size:14px;font-weight:700;color:#1a1a1a;margin-bottom:18px}.op-number-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px;padding-bottom:18px;border-bottom:1px solid #edf2f7}.op-question-numbers{display:flex;gap:10px;flex-wrap:wrap}.op-question-number{height:44px;width:44px;border-radius:50%;border:1px solid #dbe7f1;background:#f8fafc;color:#6d8195;font-size:15px!important;font-weight:700!important;display:grid;place-items:center;position:relative}.op-question-number.is-answered{background:#e8f4ff;border-color:#8bb9e3;color:#1a6fc4}.op-question-number.is-correct{background:#e9f8f0;border-color:#8dceb0;color:#21845c}.op-question-number.is-wrong{background:#fff0ed;border-color:#ecb1a7;color:#c65e4b}.op-question-number.is-current{outline:2px solid #1a6fc4;outline-offset:3px}.op-number-caption{font-size:12px;color:#6e8498;text-align:right;white-space:nowrap}.op-number-caption small{display:block;font-size:11px;color:#9aabb9;margin-top:5px}.op-question-area{flex:1;overflow:auto;padding-right:60px}.op-q-stem{font-size:18px!important;line-height:1.8;color:#1a1a1a;margin:0 0 28px;font-weight:500}.op-option{width:100%;text-align:left;padding:16px 20px;border:1px solid #e8ecf2;border-radius:10px;margin-bottom:14px;font-size:16px!important;color:#555;background:#fafbfc;display:flex;align-items:center;gap:12px;transition:background .2s,border-color .2s;line-height:1.6;min-height:62px}.op-option:hover:not(:disabled){background:#f0f7ff;border-color:#b8d8f5}.op-option.is-selected{background:#e8f4ff;border-color:#1a6fc4;color:#1a6fc4;font-weight:600!important}.op-option-key{width:28px;height:28px;border-radius:50%;background:#e8ecf2;display:grid;place-items:center;font-size:13px;font-weight:700;color:#666;flex-shrink:0}.op-option.is-selected .op-option-key{background:#1a6fc4;color:#fff}.op-option.is-correct{background:#edf9f2;border-color:#8acdaf;color:#248353}.op-option.is-correct .op-option-key{background:#2a9967;color:white}.op-option.is-wrong{background:#fff2ef;border-color:#e3a99d;color:#b75a48}.op-option.is-wrong .op-option-key{background:#cf725d;color:#fff}.op-option:disabled{cursor:default;opacity:1}.op-option-mark{margin-left:auto;font-size:20px;font-weight:700}.op-answer-explanation{margin-top:20px;border:1px solid #dfebf6;background:#f2f8fe;border-radius:10px;padding:16px 20px;color:#315d86;font-size:13px;line-height:1.8}.op-answer-explanation p{font-size:13px!important;line-height:1.8;margin:7px 0 0}.op-bottom-action-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px;padding-top:20px;border-top:1px solid #f0f0f0}.op-left-actions,.op-right-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.op-action-btn{padding:10px 22px;border-radius:20px;font-size:14px!important;font-weight:600!important;border:0;display:flex;align-items:center;gap:6px;min-height:42px;white-space:nowrap}.op-action-btn.op-error{background:#fff;color:#1a6fc4;border:1px solid #1a6fc4}.op-action-btn.op-prev,.op-action-btn.op-next{background:#e8f4ff;color:#1a6fc4}.op-action-btn.op-submit{background:linear-gradient(90deg,#2b8de6,#1a6fc4);color:#fff;padding:12px 30px;font-size:15px!important;box-shadow:0 4px 12px #1a6fc440}.op-action-btn:disabled{opacity:.4;cursor:not-allowed}.op-group-feedback{padding-top:16px}.op-view-result{padding:8px 14px;border:1px solid #b9d4ec;background:#e8f4ff;color:#1a6fc4;border-radius:16px;font-size:12px!important;margin-top:12px}.op-modal-overlay{position:fixed;inset:0;background:#0007;display:flex;align-items:center;justify-content:center;padding:20px;z-index:125}.op-result-modal{background:#fff;border-radius:20px;width:580px;max-width:100%;max-height:90dvh;overflow:auto;padding:32px 36px;text-align:center;box-shadow:0 20px 60px #0003;position:relative}.op-result-close{position:absolute;right:14px;top:12px;display:grid;place-items:center;width:30px;height:30px;font-size:22px!important;color:#8d9eac;background:#f2f6fa;border:0;border-radius:50%}.op-result-icon{height:72px;width:72px;border-radius:50%;background:linear-gradient(135deg,#2b8de6,#1a6fc4);display:grid;place-items:center;margin:0 auto 17px;font-size:36px;color:#fff}.op-result-title{font-size:22px;color:#1a1a1a;font-weight:700;margin:0 0 8px}.op-result-subtitle{font-size:14px!important;color:#666;margin:0 0 24px}.op-result-stats{display:flex;justify-content:center;gap:50px;margin-bottom:24px}.op-stat-value{font-size:32px;font-weight:800;color:#1a6fc4;line-height:1.2}.op-stat-value.op-stat-accuracy{color:#27ae60}.op-stat-label{font-size:12px;color:#888;margin-top:5px}.op-result-feedback{text-align:left;margin-bottom:22px}.op-result-actions{display:flex;justify-content:center;gap:12px}.op-result-btn{padding:11px 28px;border-radius:22px;font-size:14px!important;font-weight:600!important;border:0;min-height:44px}.op-result-btn.op-primary{background:linear-gradient(90deg,#2b8de6,#1a6fc4);color:white}.op-result-btn.op-secondary{background:#e8f4ff;color:#1a6fc4}.op-question-area>section,.op-question-area>[class*="national"]{margin-top:22px}.op-root button:focus-visible{outline:3px solid #6ba9e4;outline-offset:3px}
@media(max-width:1100px){.op-content{padding:26px 30px}.op-question-indicator{right:30px}.op-question-area{padding-right:0}.op-bottom-action-bar{gap:10px}.op-left-actions,.op-right-actions{gap:8px}.op-action-btn{padding:10px 16px;font-size:13px!important}.op-action-btn.op-submit{padding:12px 23px;font-size:14px!important}}@media(max-width:600px){.op-content{padding:24px 18px;min-height:580px}.op-question-indicator{right:18px;top:24px;font-size:12px}.op-question-indicator b{font-size:16px}.op-q-type{font-size:13px;margin-bottom:20px}.op-number-row{gap:12px;margin-bottom:22px;padding-bottom:16px;align-items:flex-start;flex-direction:column}.op-question-numbers{gap:12px}.op-question-number{width:44px;height:44px}.op-number-caption{text-align:left;display:flex;gap:12px;align-items:center;font-size:11px}.op-number-caption small{margin:0;font-size:10px}.op-q-stem{font-size:16px!important;margin-bottom:22px}.op-option{padding:14px 15px;font-size:14px!important;min-height:56px;gap:10px;margin-bottom:12px}.op-option-key{width:26px;height:26px;font-size:12px}.op-bottom-action-bar{flex-wrap:wrap;gap:12px;padding-top:16px;margin-top:18px}.op-left-actions,.op-right-actions{width:100%;justify-content:space-between;gap:9px}.op-action-btn{padding:9px 15px;font-size:12px!important;min-height:40px;justify-content:center}.op-right-actions>.op-action-btn{flex:1}.op-action-btn.op-submit{font-size:13px!important;padding:11px 18px}.op-answer-explanation{padding:14px;font-size:12px}.op-answer-explanation p{font-size:12px!important}.op-modal-overlay{padding:12px}.op-result-modal{padding:26px 18px;max-height:90dvh}.op-result-icon{height:64px;width:64px;font-size:31px;margin-bottom:15px}.op-result-stats{gap:32px;margin-bottom:20px}.op-result-subtitle{margin-bottom:20px}.op-result-title{font-size:21px}.op-result-btn{font-size:13px!important;padding:11px 24px}.op-stat-value{font-size:30px}.op-stat-label{font-size:11px}.op-result-feedback{margin-bottom:20px}}
.op-submission-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;font-size:13px;color:#56718e;flex-wrap:wrap}.op-submission-summary p{margin:0}.op-submission-summary b{color:#1a6fc4}.op-submission-summary .op-view-result{margin:0;min-height:40px}.op-result-next{font-size:13px!important;line-height:1.8;color:#637b94;margin:0 0 22px}.op-result-actions{flex-wrap:wrap}

/* Landscape tablet: the question occupies the left sheet; answers stay on the right. */
.workspace[data-view-role="student"] .op-root{display:flex;flex-direction:column;height:100%;min-height:0;color:#30334f;overflow:hidden}
.workspace[data-view-role="student"] .op-root .op-content{flex:1;min-height:0;width:100%;max-width:none;margin:0;display:flex;flex-direction:column;padding:24px 28px;background:#f7f6fc;border-radius:16px;box-shadow:none;overflow:hidden;box-sizing:border-box}
.workspace[data-view-role="student"] .op-root .op-question-indicator{top:36px;right:30px;font-size:16px;line-height:1.5;color:#68627c}
.workspace[data-view-role="student"] .op-root .op-question-indicator b{font-size:20px;font-weight:650;color:#5956e8}
.workspace[data-view-role="student"] .op-root .op-number-row{flex:none;min-height:54px;margin:0 0 22px;padding:0 184px 0 0;gap:22px;border:0}
.workspace[data-view-role="student"] .op-root .op-question-numbers{gap:12px;flex-wrap:nowrap}
.workspace[data-view-role="student"] .op-root .op-question-number{width:48px;height:48px;border-radius:12px;border:1px solid #e2ddef;background:#fff;color:#6d657e;font-size:17px!important;box-shadow:none}
.workspace[data-view-role="student"] .op-root .op-question-number.is-answered{background:#f0ebff;border-color:#cfc4f6;color:#6551ca}
.workspace[data-view-role="student"] .op-root .op-question-number.is-current{outline:2px solid #7660ed;outline-offset:2px;background:#5956e8;color:#fff;border-color:#5956e8}
.workspace[data-view-role="student"] .op-root .op-question-number.is-correct{background:#e9f8f1;border-color:#afdcca;color:#207c61}
.workspace[data-view-role="student"] .op-root .op-question-number.is-wrong{background:#fff1e8;border-color:#eac4ad;color:#b76b40}
.workspace[data-view-role="student"] .op-root .op-number-caption{font-size:15px;line-height:1.5;color:#655c79}
.workspace[data-view-role="student"] .op-root .op-number-caption small{margin-top:3px;font-size:13px;color:#81758f}
.workspace[data-view-role="student"] .op-root .op-split-question{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:26px;align-items:stretch;flex:1;min-height:0;margin:0;padding:0;overflow:hidden}
.workspace[data-view-role="student"] .op-root .op-question-copy{min-width:0;min-height:0;margin:0;overflow:auto;padding:28px 28px 34px;background:#fff;border:1px solid #e8e3f1;border-radius:16px;box-sizing:border-box}
.workspace[data-view-role="student"] .op-root .op-question-copy .op-q-type{width:max-content;margin:0 0 20px;padding:0;border-radius:0;background:transparent;color:#656078;font-size:16px;line-height:1.5;font-weight:650}
.workspace[data-view-role="student"] .op-root .op-question-copy .op-q-stem{margin:0;color:#25283f;font-size:22px!important;line-height:1.85;font-weight:550;overflow-wrap:anywhere}
.workspace[data-view-role="student"] .op-root .op-options{display:flex;flex-direction:column;gap:16px;min-width:0;min-height:0;padding:0 1px 1px;overflow:auto}
.workspace[data-view-role="student"] .op-root .op-option{flex:none;min-height:86px;margin:0;padding:20px 22px;border:1px solid #e4dfed;border-radius:14px;background:#fff;color:#3f3a53;font-size:19px!important;line-height:1.65;gap:14px;box-shadow:none}
.workspace[data-view-role="student"] .op-root .op-option>span:nth-child(2){min-width:0;overflow-wrap:anywhere}
.workspace[data-view-role="student"] .op-root .op-option-key{width:32px;height:32px;background:#f3f0f9;color:#81748e;font-size:16px;font-weight:600;border:0;flex-shrink:0}
.workspace[data-view-role="student"] .op-root .op-option:hover:not(:disabled){border-color:#bdb0ef;background:#fcfaff;transform:none}
.workspace[data-view-role="student"] .op-root .op-option.is-selected{background:#f1ecff;border-color:#8b76e8;color:#49348c;font-weight:600!important;box-shadow:0 0 0 1px #8b76e8}
.workspace[data-view-role="student"] .op-root .op-option.is-selected .op-option-key{color:#fff;background:#6e57d9}
.workspace[data-view-role="student"] .op-root .op-option.is-correct{background:#edf9f2;border-color:#91cdb4;color:#277b5c;box-shadow:none}
.workspace[data-view-role="student"] .op-root .op-option.is-correct .op-option-key{color:#fff;background:#309575}
.workspace[data-view-role="student"] .op-root .op-option.is-wrong{background:#fff2e9;border-color:#e5b698;color:#a7633c;box-shadow:none}
.workspace[data-view-role="student"] .op-root .op-option.is-wrong .op-option-key{color:#fff;background:#ca855a}
.workspace[data-view-role="student"] .op-root .op-bottom-action-bar{flex:none;gap:16px;min-height:50px;margin-top:20px;padding:0;border:0;background:transparent}
.workspace[data-view-role="student"] .op-root .op-left-actions,.workspace[data-view-role="student"] .op-root .op-right-actions{gap:12px;flex-wrap:nowrap}
.workspace[data-view-role="student"] .op-root .op-action-btn{min-height:48px;border-radius:12px;padding:12px 22px;font-size:16px!important;line-height:1.5;justify-content:center}
.workspace[data-view-role="student"] .op-root .op-action-btn.op-error{color:#756582;background:#fff;border:1px solid #dcd5e8}
.workspace[data-view-role="student"] .op-root .op-error svg{width:18px;height:18px}
.workspace[data-view-role="student"] .op-root .op-action-btn:is(.op-prev,.op-next){background:#fff;border:1px solid #d9d0ef;color:#6a55be}
.workspace[data-view-role="student"] .op-root .op-action-btn.op-submit{padding:12px 28px;background:#5956e8;color:#fff;box-shadow:none;font-size:17px!important}
.workspace[data-view-role="student"] .op-root .op-submission-summary{flex:none;padding:10px 22px;background:#edf8f2;border-radius:0 0 14px 14px;color:#36745e}
.workspace[data-view-role="student"] .op-root .op-submission-summary p{font-size:16px}
.workspace[data-view-role="student"] .op-root .op-view-result{min-height:48px;padding:10px 16px;border-radius:10px;font-size:15px!important}
.workspace[data-view-role="student"] .op-root button:focus-visible{outline:3px solid #bcabf2;outline-offset:3px}
.workspace[data-view-role="student"] .op-root .op-result-icon,.workspace[data-view-role="student"] .op-root .op-result-btn.op-primary{background:#5956e8}
.workspace[data-view-role="student"] .op-root .op-result-btn.op-secondary{background:#f0ebff;color:#6551bd}
.workspace[data-view-role="student"] .op-root .op-stat-value{color:#5956e8}
.workspace[data-view-role="student"] .op-root .op-stat-value.op-stat-accuracy{color:#279575}
@media(max-width:1100px){
 .workspace[data-view-role="student"] .op-root .op-content{padding:22px}
 .workspace[data-view-role="student"] .op-root .op-question-indicator{right:24px;top:34px}
 .workspace[data-view-role="student"] .op-root .op-number-row{padding-right:170px;gap:18px;margin-bottom:20px}
 .workspace[data-view-role="student"] .op-root .op-split-question{gap:22px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .workspace[data-view-role="student"] .op-root .op-question-copy{padding:24px}
 .workspace[data-view-role="student"] .op-root .op-question-copy .op-q-stem{font-size:21px!important}
 .workspace[data-view-role="student"] .op-root .op-option{min-height:82px;padding:18px;font-size:18px!important}
 .workspace[data-view-role="student"] .op-root .op-action-btn{padding:11px 18px}
}
@media(max-width:760px){
 .workspace[data-view-role="student"] .op-root .op-content{padding:18px;overflow:auto}
 .workspace[data-view-role="student"] .op-root .op-question-indicator{position:static;order:0;align-self:flex-end;font-size:15px;margin-bottom:10px}
 .workspace[data-view-role="student"] .op-root .op-number-row{order:1;padding:0;flex-direction:column;align-items:flex-start;gap:14px;margin-bottom:18px}
 .workspace[data-view-role="student"] .op-root .op-question-numbers{gap:10px}
 .workspace[data-view-role="student"] .op-root .op-number-caption{text-align:left}
 .workspace[data-view-role="student"] .op-root .op-split-question{order:2;display:flex;flex-direction:column;flex:none;overflow:visible;gap:18px}
 .workspace[data-view-role="student"] .op-root .op-question-copy{min-height:190px;padding:22px;overflow:visible}
 .workspace[data-view-role="student"] .op-root .op-question-copy .op-q-stem{font-size:20px!important}
 .workspace[data-view-role="student"] .op-root .op-options{overflow:visible;gap:12px}
 .workspace[data-view-role="student"] .op-root .op-option{min-height:72px;font-size:18px!important}
 .workspace[data-view-role="student"] .op-root .op-bottom-action-bar{order:3;flex-wrap:wrap;margin-top:18px}
 .workspace[data-view-role="student"] .op-root .op-left-actions,.workspace[data-view-role="student"] .op-root .op-right-actions{width:100%;justify-content:space-between;gap:10px}
 .workspace[data-view-role="student"] .op-root .op-action-btn{padding:10px 14px;font-size:16px!important}
}

/* Tap-to-save practice: no action strip and no completion modal. */
html:has(.workspace[data-view-role="student"] .op-root),body:has(.workspace[data-view-role="student"] .op-root){overscroll-behavior-x:none}
.workspace[data-view-role="student"] .op-root :is(.op-split-question,.op-question-copy,.op-options,.op-option){touch-action:pan-y}
.workspace[data-view-role="student"] .op-root .op-inline-result{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;padding:10px 28px 28px;overflow:auto}
.workspace[data-view-role="student"] .op-root .op-inline-summary{width:min(560px,100%);margin:0 auto;text-align:center}
.workspace[data-view-role="student"] .op-root .op-complete-label{display:inline-block;color:#188b70;background:#e9f7f1;border-radius:8px;padding:7px 13px;font-size:16px;line-height:1.4}
.workspace[data-view-role="student"] .op-root .op-inline-summary h2{margin:18px 0 16px;font-size:28px;line-height:1.4;color:#25283f;font-weight:700}
.workspace[data-view-role="student"] .op-root .op-inline-score{display:flex;align-items:baseline;justify-content:center;gap:7px;color:#5956e8;margin:8px 0 20px;font-variant-numeric:tabular-nums}
.workspace[data-view-role="student"] .op-root .op-inline-score strong{font-size:76px;line-height:1.1;font-weight:750;letter-spacing:-2px}
.workspace[data-view-role="student"] .op-root .op-inline-score>span{font-size:18px;color:#82768f}
.workspace[data-view-role="student"] .op-root .op-inline-metrics{display:flex;align-items:center;justify-content:center;gap:34px;color:#706580;font-size:16px;line-height:1.7}
.workspace[data-view-role="student"] .op-root .op-inline-metrics>span{display:flex;align-items:center;gap:8px}
.workspace[data-view-role="student"] .op-root .op-inline-metrics b{font-size:22px;font-weight:650;color:#30334f}
.workspace[data-view-role="student"] .op-root .op-inline-summary>p{margin:24px 0;font-size:16px!important;line-height:1.7;color:#716680}
.workspace[data-view-role="student"] .op-root .op-inline-summary>.op-result-btn{min-height:54px;min-width:202px;padding:13px 30px;border-radius:12px;font-size:18px!important;background:#5956e8;color:#fff}
.workspace[data-view-role="student"] .op-root .op-retry-options{margin:24px auto 0;font-size:16px;color:#887a96;max-width:430px}
.workspace[data-view-role="student"] .op-root .op-retry-options>summary{display:flex;align-items:center;justify-content:center;min-height:48px;font-size:16px;list-style:none;cursor:pointer;color:#887a96}
.workspace[data-view-role="student"] .op-root .op-retry-options>summary::-webkit-details-marker{display:none}
.workspace[data-view-role="student"] .op-root .op-retry-options p{font-size:16px!important;line-height:1.7;color:#73667f;margin:8px 0 14px}
.workspace[data-view-role="student"] .op-root .op-retry-button{min-height:48px;border:1px solid #d9cfee;border-radius:10px;padding:10px 18px;background:#fff;color:#6e58b5;font-size:16px}
.workspace[data-view-role="student"] .op-root .op-review-continue{display:flex;align-items:center;justify-content:flex-end;flex:none;padding-top:20px}
.workspace[data-view-role="student"] .op-root .op-review-continue .op-result-btn{min-height:50px;min-width:182px;padding:12px 24px;border-radius:12px;font-size:18px!important;background:#5956e8;color:#fff}
.workspace[data-view-role="student"] .op-root .op-question-indicator .op-view-result{margin:0;min-height:48px;background:#fff;color:#6b57b5;border:1px solid #dfd5ef;font-size:15px!important}
@media(max-width:760px){.workspace[data-view-role="student"] .op-root .op-inline-result{order:2;overflow:visible;min-height:510px;padding:22px 4px}.workspace[data-view-role="student"] .op-root .op-inline-summary h2{font-size:25px}.workspace[data-view-role="student"] .op-root .op-inline-score strong{font-size:66px}.workspace[data-view-role="student"] .op-root .op-inline-metrics{gap:20px}.workspace[data-view-role="student"] .op-root .op-inline-metrics>span{flex-direction:column;gap:0}.workspace[data-view-role="student"] .op-root .op-review-continue{order:3}.workspace[data-view-role="student"] .op-root .op-review-continue .op-result-btn{width:100%}}
@media(min-width:1800px){.workspace[data-view-role="student"] .op-root .op-number-row{padding-right:330px}}
