.real-exam-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:14px;padding:18px 22px 22px;min-height:65vh}.real-paper,.answer-panel{min-width:0;background:#fff;border:1px solid #e4eae3;border-radius:8px;overflow:hidden}.paper-heading{height:38px;display:flex;align-items:center;justify-content:space-between;padding:0 13px;border-bottom:1px solid #edf0ec;font-size:10px}.paper-heading span{font-size:8px;color:#8b978e}.paper-frame{width:100%;height:calc(65vh - 39px);min-height:470px;border:0;background:white}.paper-pages{height:calc(65vh - 39px);min-height:470px;overflow:auto;padding:12px;background:#f3f5f2}.paper-pages figure{max-width:650px;margin:0 auto 14px;background:#fff;box-shadow:0 2px 8px #263f3217}.paper-pages img{display:block;width:100%;height:auto}.paper-pages figcaption{text-align:center;padding:5px;color:#87938a;font-size:9px}.answer-area{display:flex;flex-direction:column;gap:12px;min-width:0}.answer-panel{padding:18px;min-height:190px}.response-title{display:flex;align-items:center;justify-content:space-between}.response-title small,.writing-intro small{color:#8a988e;font-size:8px;letter-spacing:.13em}.response-title h3,.writing-intro h3{margin:6px 0 0;font-size:16px}.response-title>span{color:#829087;font-size:9px}.answer-hint{font-size:10px;line-height:1.7;color:#7c8980;margin:12px 0 19px}.answer-input-label{display:block;font-size:10px;font-weight:600;margin-bottom:7px}.answer-input{width:100%;height:42px;border:1px solid #dfe6de;border-radius:5px;padding:0 11px;font:inherit;font-size:12px;color:#24352a;outline:none}.answer-input:focus{border-color:#7d9a83;box-shadow:0 0 0 3px #eaf0e9}.answer-navigation{display:flex;justify-content:flex-end;gap:8px;margin-top:15px}.answer-navigation .next-btn{margin:0;height:34px}.audio-card{margin:0;padding:12px;flex-wrap:wrap}.audio-copy{flex:1}.audio-copy small{display:block}.audio-progress{height:3px;background:#edf1ec;margin-top:7px;border-radius:5px;overflow:hidden}.audio-progress span{display:block;height:100%;background:#65866b;transition:width .3s}.actual-audio{display:none}.writing-intro p{font-size:10px;line-height:1.7;color:#849087}.writing-list{max-height:58vh;overflow:auto}.writing-task textarea{min-height:170px}.real-exam-layout .writing-task{padding:12px}.result-screen{min-height:320px}.result-card strong{font-size:19px}@media(max-width:760px){.real-exam-layout{grid-template-columns:1fr;padding:12px;min-height:0}.paper-frame{height:48vh;min-height:380px}.paper-pages{height:48vh;min-height:380px}.answer-panel{padding:15px}.answer-area{gap:9px}.writing-list{max-height:none}.writing-task textarea{min-height:150px}}

/* All answers stay visible together in a section; scrolling replaces one-question paging. */
.exam-dialog{width:min(1240px,calc(100vw - 24px))}
.real-exam-layout{grid-template-columns:minmax(0,1.05fr) minmax(390px,.95fr);gap:16px}
.paper-heading{height:42px}
.paper-heading>span{font-size:9px}
.paper-tools{display:flex;align-items:center;gap:7px;padding:8px 10px;background:#fbfcfa;border-bottom:1px solid #edf0ec}
.paper-tools>span{margin-left:auto;color:#89958c;font-size:9px}
.paper-tool{border:1px solid #dfe6de;border-radius:5px;background:#fff;padding:6px 9px;color:#56685c;font:inherit;font-size:9px;cursor:pointer}
.paper-tool.active{border-color:#c6a94c;background:#fff8dc;color:#745d16}
.paper-pages{height:calc(65vh - 88px);min-height:420px;padding:12px}
.highlight-stage{position:relative;line-height:0}
.highlight-stage img{width:100%;height:auto}
.highlight-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.paper-pages.highlight-mode .highlight-layer{pointer-events:auto;cursor:crosshair;touch-action:none}
.highlight-mark{position:absolute;display:block;background:rgba(255,224,64,.42);border-bottom:2px solid rgba(221,177,23,.78);mix-blend-mode:multiply;pointer-events:none}
.preview-mark{background:rgba(255,224,64,.5)}
.answer-panel{max-height:65vh;min-height:0;overflow:auto;padding:17px}
.response-title{position:sticky;z-index:2;top:-17px;padding:2px 0 10px;background:#fff;border-bottom:1px solid #eef1ed}
.answer-hint{margin:9px 0 13px}
.answer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 9px}
.answer-row{min-width:0;min-height:40px;display:flex;align-items:center;gap:8px;padding:5px 7px;border:1px solid #e8ece7;border-radius:6px;background:#fff}
.answer-number{width:24px;height:24px;flex:none;display:grid;place-items:center;border-radius:5px;background:#f1f4f0;color:#5f7164;font-size:10px;font-weight:600}
.text-row .answer-input{height:31px;padding:0 8px;font-size:11px}
.grammar-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.choice-row{justify-content:space-between;padding:4px 6px}
.answer-options{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:6px}
.answer-option{display:inline-flex;align-items:center;gap:3px;cursor:pointer;color:#617067;font-size:9px}
.answer-option input{position:absolute;opacity:0;width:1px;height:1px}
.answer-option span{min-width:25px;height:25px;display:grid;place-items:center;border:1px solid #dfe6de;border-radius:5px;background:#fff;font-size:8px;line-height:1;padding:0 5px}
.answer-option input:checked+span{background:#eaf1e9;border-color:#688774;color:#375b43;font-weight:700;box-shadow:inset 0 0 0 1px #688774}
.answer-option input:focus-visible+span{outline:2px solid #91aa97;outline-offset:2px}
.answer-group{margin:13px 0 17px}
.answer-group h4{display:flex;align-items:center;justify-content:space-between;margin:0 0 8px;font-size:12px;font-weight:600}
.answer-group h4 span{color:#87948a;font-size:9px;font-weight:400}
.vocabulary-answer-groups .answer-grid{grid-template-columns:1fr}
.writing-list{max-height:none}
@media(max-width:850px){.real-exam-layout{grid-template-columns:1fr}.paper-pages{height:44vh;min-height:360px}.answer-panel{max-height:none}.real-paper{min-height:0}}
@media(max-width:540px){.answer-grid,.grammar-grid{grid-template-columns:1fr}.paper-tools{flex-wrap:wrap}.paper-tools>span{width:100%;margin-left:0}.exam-dialog{width:calc(100vw - 12px)}}
