.ex-text-paper{max-width:1120px;margin:0 auto;color:#20384b}
.ex-text-instruction{font-size:15px;line-height:1.8;color:#617184}
.ex-text-passage,.ex-text-context{padding:18px 20px;background:#fff8ee;border:1px solid #ecd5bd;border-radius:12px;margin:18px 0}
.ex-text-passage summary{font-weight:700;cursor:pointer;line-height:1.7}
.ex-text-body{white-space:pre-line;line-height:1.9;font-size:16px;margin-top:14px;overflow-wrap:anywhere}
.ex-text-context{white-space:pre-line;line-height:1.85;font-size:16px}
.ex-text-bank{padding:15px 20px;border:1px solid #edd9c5;border-radius:12px;margin:18px 0}
.ex-text-bank h3{margin:0 0 15px}.ex-text-bank-item{display:flex;gap:12px;padding:12px 0;border-top:1px dashed #e5d2bd;line-height:1.85}.ex-text-bank-item p{margin:0;white-space:pre-line}
.ex-text-question{padding:18px 0;border-bottom:1px dashed #edd9c5;overflow-wrap:anywhere}
.ex-text-question-heading{font-size:17px;line-height:1.8;margin:0 0 12px;white-space:pre-line}
.ex-text-choices{display:flex;flex-wrap:wrap;gap:10px 22px;align-items:flex-start}
.ex-text-choice{display:flex;align-items:flex-start;gap:8px;max-width:100%;line-height:1.75;cursor:pointer}
.ex-text-choice input{margin:7px 0 0;flex:0 0 auto}.ex-text-choice strong{color:#d46108;flex:0 0 auto}.ex-text-choice span{white-space:pre-line}
.ex-text-image-choice{width:30%;min-width:180px;flex-wrap:wrap}.ex-text-option-image{display:block;position:relative;overflow:hidden;width:100%;flex:0 0 100%;background:#fff;border:1px solid #ecd5bd;border-radius:8px}.ex-text-option-image img{position:absolute;height:auto;margin:0!important;border:0!important}
.ex-text-audio-pending{padding:18px;background:#fff2df;border:1px solid #e8cba7;border-radius:12px;line-height:1.8;margin-bottom:20px}
.ex-text-word-guide{color:#627084;font-size:14px}.ex-text-original{margin:24px 0}.ex-text-original summary{cursor:pointer;color:#a95711;font-size:14px;line-height:1.8}.ex-text-original img{display:block;width:100%;height:auto;border:1px solid #ecd5bd;margin-top:12px}
.ex-layout.ex-text-layout{display:block}.ex-text-layout .ex-paper{padding:22px;background:#fff;border:1px solid #ecd5bd;border-radius:16px}.ex-text-layout .ex-answer-panel{position:static;margin-top:24px;max-height:none}.ex-text-layout #exAnswers{display:none}.ex-text-layout #exPartCopy{font-size:14px}
@media(max-width:600px){.ex-text-passage,.ex-text-context,.ex-text-bank{padding:14px}.ex-text-choices{display:block}.ex-text-choice{margin:10px 0}.ex-text-layout .ex-paper{padding:16px}.ex-text-body,.ex-text-context{font-size:15px}}
@media(max-width:600px){.ex-text-image-choice{width:100%;max-width:300px}}

/* Transcribed exam workspace: source 2/3, answers 1/3. */
.ex-text-paper{width:100%;max-width:none;min-width:0;box-sizing:border-box}
#exPreviewImages>.ex-text-paper{width:100%;min-width:0;max-width:none}
.ex-layout.ex-text-layout{display:block}
.ex-text-layout .ex-paper{overflow:visible}
.ex-text-paper .ex-text-instruction{margin:0 0 18px;color:#617184}
.ex-text-workspace{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:20px;align-items:start;min-width:0;margin:18px 0}
.ex-text-source-pane,.ex-text-answer-pane{box-sizing:border-box;min-width:0;position:sticky;top:92px;max-height:calc(100vh - 115px);max-height:calc(100dvh - 115px);overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;overscroll-behavior:contain;scroll-padding-block:20px;padding:22px;border:1px solid #e7d4b0;border-radius:14px;background:#fff;overflow-wrap:anywhere}
.ex-text-source-pane{background:#fffdf7}
.ex-text-answer-pane{border-color:#d7e0e7}
.ex-text-pane-title{padding:0 0 16px;margin:0 0 18px;border-bottom:2px solid #ebd28f}
.ex-text-pane-title h3{font-size:18px;line-height:1.5;color:#17334a;margin:0}
.ex-text-pane-title .ex-text-pane-copy{font-size:13px;line-height:1.7;color:#647789;margin:6px 0 0}
.ex-text-source-pane .ex-text-passage,.ex-text-source-pane .ex-text-bank{margin:0 0 18px;min-width:0}
.ex-text-source-pane .ex-text-passage{background:#fff9eb;border-color:#ead7ae}
.ex-text-source-pane .ex-text-passage summary{color:#17334a}
.ex-text-source-pane .ex-text-body{color:#263c4d}
.ex-text-source-pane .ex-text-bank{background:#fff;border-color:#ead7ae}
.ex-text-source-pane .ex-text-bank h3{font-size:16px;line-height:1.6;margin:0 0 10px;color:#17334a}
.ex-text-bank-item{min-width:0}
.ex-text-bank-item strong{flex:0 0 auto;color:#9a6414}
.ex-text-bank-item p{min-width:0;color:inherit;overflow-wrap:anywhere}
.ex-text-source-card{padding:18px 20px;margin:0 0 16px;min-width:0;border:1px solid #ead7ae;border-radius:12px;background:#fff9eb;scroll-margin-block:20px}
.ex-text-source-card h4{margin:0 0 10px;font-size:15px;line-height:1.6;color:#17334a}
.ex-text-source-card .ex-text-context{padding:0;margin:0;border:0;border-radius:0;background:transparent;color:#263c4d}
.ex-text-source-number,.ex-text-jump{appearance:none;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;max-width:100%;min-height:36px;padding:6px 10px;border:1px solid #dfc788;border-radius:7px;background:#fff2c9;color:#795316;font:inherit;font-size:13px;line-height:1.5;font-weight:700;white-space:normal;text-align:left;cursor:pointer}
.ex-text-source-number:hover,.ex-text-jump:hover{background:#fbe7aa;border-color:#cba653}
.ex-text-jump{margin:0 0 12px;background:#fffaf0;font-size:12px}
.ex-text-answer-pane .ex-text-question{padding:16px;margin:0 0 14px;border:1px solid #dce4eb;border-radius:11px;background:#fff;min-width:0;scroll-margin-block:20px}
.ex-text-answer-pane .ex-text-question-heading{margin:0 0 10px;color:#17334a;font-size:15px;line-height:1.8}
.ex-text-answer-pane .ex-text-choices{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:7px;min-width:0}
.ex-text-answer-pane .ex-text-choice{box-sizing:border-box;min-width:0;width:100%;max-width:100%;margin:0;padding:8px 9px;border:1px solid transparent;border-radius:8px;font-size:14px;line-height:1.75}
.ex-text-answer-pane .ex-text-choice span{min-width:0;overflow-wrap:anywhere}
.ex-text-answer-pane .ex-text-choice strong{color:#946514}
.ex-text-answer-pane .ex-text-choice input{accent-color:#a87618}
.ex-text-answer-pane .ex-text-choice:has(input:not(:disabled)):hover{background:#f5f8fa}
.ex-text-answer-pane .ex-text-choice:has(input:checked){border-color:#d5af58;background:#fff5da}
.ex-text-answer-pane .ex-text-choice:has(input:disabled){cursor:default}
.ex-text-answer-pane .ex-text-image-choice{width:100%;min-width:0;max-width:100%;flex-wrap:wrap}
.ex-text-answer-pane .ex-text-option-image{box-sizing:border-box;min-width:0;width:100%;max-width:100%;border-color:#e5d5b7}
.ex-text-answer-pane .ex-word{box-sizing:border-box;width:100%;max-width:100%;min-width:0;font:inherit;font-size:15px;color:#17334a;padding:11px 12px;border:1px solid #bdcdda;border-radius:8px;background:#fff}
.ex-text-answer-pane .ex-text-word-guide{font-size:13px;line-height:1.75;margin:0 0 10px;color:#647789}
.ex-text-question .ex-result-line{font-size:13px;line-height:1.7;margin:12px 0 0;color:#397373}
.ex-text-question .ex-result-line.wrong{color:#a04f15}
.ex-text-source-card.ex-text-source-active,.ex-text-question.ex-text-question-active{border-color:#c39a3f;background:#fff5d8;box-shadow:inset 3px 0 0 #d4a23c}
.ex-text-source-pane>:last-child,.ex-text-answer-pane>:last-child{margin-bottom:0}
.ex-text-source-pane:focus-visible,.ex-text-answer-pane:focus-visible,.ex-text-paper button:focus-visible,.ex-text-paper summary:focus-visible,.ex-text-paper input:focus-visible{outline:3px solid #256fa1;outline-offset:3px}
.ex-text-paper .ex-note{margin-top:18px!important}
@media(max-width:900px){
 .ex-text-workspace{grid-template-columns:minmax(0,1fr);gap:18px}
 .ex-text-source-pane,.ex-text-answer-pane{position:static;max-height:none;overflow:visible;scrollbar-gutter:auto;overscroll-behavior:auto}
}
@media(max-width:600px){
 .ex-text-workspace{gap:14px;margin:14px 0}
 .ex-text-source-pane,.ex-text-answer-pane{padding:15px;border-radius:11px}
 .ex-text-pane-title{padding-bottom:12px;margin-bottom:14px}
 .ex-text-pane-title h3{font-size:17px}
 .ex-text-source-card{padding:14px}
 .ex-text-answer-pane .ex-text-question{padding:13px}
 .ex-text-answer-pane .ex-text-choice{padding:8px 6px}
}
