/* Exam typography is shared by Math, Reading, Science and the author preview. */
.exam-room{--exam-copy-size:15px;--exam-copy-leading:1.75}
.exam-room .question-prompt,.exam-room .work-area.grouped .question-prompt,
.exam-room .choice,.exam-room .work-area.grouped .choice,
.exam-room .fill-answers,.exam-room .work-area.grouped .fill-answers,
.exam-room .boolean-table,.exam-room .work-area.grouped .boolean-table,
.exam-room .match-row,.exam-room .work-area.grouped .match-row,
.exam-room .drag-token,.exam-room .work-area.grouped .drag-token,
.exam-room .drop-display,.exam-room .passage-text,.exam-room .review-answer,
.exam-room .explanation,.st-exam-preview{
 font-family:'Be Vietnam Pro',Arial,sans-serif;font-size:var(--exam-copy-size,15px);
 line-height:var(--exam-copy-leading,1.75);font-weight:400;letter-spacing:normal;color:#202e42;
}
.exam-room .question-prompt .katex,.exam-room .choice .katex,.exam-room .passage-text .katex,.exam-room .explanation .katex,.st-exam-preview .katex{font-size:1.08em}
.exam-room .question-prompt{margin-bottom:16px}
.exam-room .choice{padding-top:3px;padding-bottom:3px;gap:13px;align-items:flex-start}
.exam-room .choice-circle{width:24px;height:24px;flex-shrink:0;margin-top:1px}
.exam-room .inline-answer,.exam-room .inline-answer[inputmode=text],.exam-room .drop-target select{font-family:'Be Vietnam Pro',Arial,sans-serif;font-size:15px}
.exam-room .passage-text p{text-align:left;margin-bottom:20px}
.exam-room .passage-heading h2{font-family:'Be Vietnam Pro',Arial,sans-serif;font-size:16px;font-weight:600;line-height:1.6;color:#202e42}
.exam-room .data-table{font-family:'Be Vietnam Pro',Arial,sans-serif;font-size:14px;line-height:1.6}
.exam-room .question-card .bookmark{min-width:0;width:32px;height:32px;padding:0;border-radius:7px}
.exam-room .question-card .bookmark>span{display:none}
.exam-room .question-prompt{margin-right:42px}
.exam-room .work-area.grouped .question-prompt{margin-right:0}
.exam-room .question-time-label{font-size:12px;color:#737e8d}
.exam-room .question-time{font-size:20px;color:#253b58}
/* Reading / Science: no reserved column when the menu is closed. */
.exam-room.tx-menu-room{grid-template-columns:minmax(0,1fr);position:relative}
.tx-menu-room .exam-left{width:100%;min-height:0}
.tx-menu-room .exam-header{height:60px;min-height:60px;padding:0 26px;border-bottom:1px solid #edf0f3}
.tx-menu-room .exam-title{font-size:13px}
.tx-menu-room .work-area{padding:12px 22px;gap:14px;background:#f9fafb}
.tx-menu-room .question-navigation{padding:12px 24px;min-height:78px;gap:12px;border-top:1px solid #e9edf1}
.tx-menu-room .keyboard-hint{display:none}
.tx-menu-room .next-question,.tx-menu-room .previous-question{height:44px;min-width:42px;font-family:'Be Vietnam Pro',Arial,sans-serif;font-size:13px;border-radius:9px}
.tx-menu-room .next-question{padding:0 20px}
.exam-dock-status{margin-left:auto;display:flex;align-items:center;gap:24px;flex-shrink:0}
.exam-dock-clock{display:flex;align-items:center;gap:13px;min-width:0;border:0;background:transparent;padding:0}
.exam-dock-clock>span{font-family:'Be Vietnam Pro',Arial,sans-serif;font-size:12px;color:#778294}
.exam-dock-clock>time{font-family:'Be Vietnam Pro',Arial,sans-serif;font-size:23px;font-weight:600;line-height:1.3;font-variant-numeric:tabular-nums;color:#253b58}
.exam-menu-trigger{display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:12px 23px;border-radius:10px;background:#b50f2d;color:#fff;font-family:'Be Vietnam Pro',Arial,sans-serif;font-size:13px;font-weight:600;white-space:nowrap}
.exam-menu-trigger:hover{background:#970b25}
.tx-menu-room>.candidate-panel{position:fixed;inset:0 0 0 auto;width:min(440px,calc(100% - 18px));height:100dvh;min-height:0;z-index:90;display:flex;flex-direction:column;padding:28px 26px 0;background:#fff;box-shadow:-16px 0 50px #1b28351a;visibility:hidden;transform:translateX(100%);pointer-events:none;overflow-y:auto}
.tx-menu-room.exam-menu-open>.candidate-panel{visibility:visible;transform:translateX(0);pointer-events:auto}
.exam-menu-close{position:absolute;right:20px;top:20px;width:36px;height:36px;display:grid;place-items:center;background:#f5f6f8;border-radius:50%;color:#6b7584}
.tx-menu-room .candidate-title{font-family:'Be Vietnam Pro',Arial,sans-serif;font-size:17px;font-weight:650;padding:0 42px 25px 0;margin-bottom:22px;border-bottom:1px solid #eef0f3;color:#192536}
.tx-menu-room .candidate-name{font-family:'Be Vietnam Pro',Arial,sans-serif;font-size:13px;margin-bottom:24px;gap:20px}
.tx-menu-room .candidate-name strong{font-weight:500}
.tx-menu-room .exam-clock-row{margin-bottom:27px;gap:14px}
.tx-menu-room .exam-clock-row .exam-clock{flex:1;font-size:12px;min-width:0}
.tx-menu-room .exam-clock time{font-size:24px;font-variant-numeric:tabular-nums}
.tx-menu-room .submit-button{padding:13px 20px;border-radius:8px;font-family:'Be Vietnam Pro',Arial,sans-serif;font-size:13px}
.tx-menu-room .color-indicators{font-size:12px;gap:12px;margin:20px 0}
.tx-menu-room .indicator{width:34px;height:34px;font-size:13px}
.tx-menu-room .question-palette{grid-template-columns:repeat(8,minmax(0,1fr));gap:11px 7px;margin:0;padding:0}
.tx-menu-room .question-palette .palette-item,.tx-menu-room .question-palette .palette-question{width:36px;height:36px;font-size:13px;margin:auto}
.tx-menu-room .candidate-main{flex:1;min-height:0;overflow:visible}
.tx-menu-room .candidate-bottom{margin-top:28px;padding:18px 0 0;border-top:1px solid #edf0f3;position:relative}
.tx-menu-room .completion-line{font-family:'Be Vietnam Pro',Arial,sans-serif;font-size:12px}
.tx-menu-room .save-status{font-size:11px;padding:14px 6px}
.exam-menu-backdrop{position:fixed;inset:0;z-index:85;border:0;border-radius:0;background:#17243766;cursor:default;padding:0}
.exam-menu-backdrop[hidden]{display:none}
@media(min-width:761px){
 .tx-menu-room .work-area.with-passage,.tx-menu-room .work-area.grouped{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);overflow:hidden}
 .tx-menu-room .work-area .passage-panel{height:100%;max-height:none;min-height:0;padding:20px 22px}
 .tx-menu-room .work-area .question-container{height:100%;min-height:0}
 .tx-menu-room .work-area.grouped .question-stack{flex:1;overflow-y:auto}
 .tx-menu-room .group-question-heading{min-height:25px;margin-bottom:9px}
 .tx-menu-room .group-question-heading>span:last-child{display:none}
}
@media(max-width:1050px){.tx-menu-room .question-navigation{gap:9px;padding:12px 18px}.exam-dock-status{gap:15px}.exam-dock-clock>span{display:none}.tx-menu-room .question-time-label{max-width:96px;line-height:1.4}.exam-menu-trigger{padding-inline:16px}}
@media(max-width:760px){
 .exam-room{--exam-copy-size:14px}
 .exam-room.tx-menu-room{min-height:360px}
 .tx-menu-room .exam-header{padding:0 14px;height:54px;min-height:54px;gap:12px}
 .tx-menu-room .exam-title{display:block;font-size:11px;overflow:hidden}.tx-menu-room .exam-title strong{display:block;overflow:hidden;text-overflow:ellipsis}.tx-menu-room .exam-title>span{display:block;font-size:9px;margin-top:3px}
 .tx-menu-room .exam-logo img{width:83px}
 .tx-menu-room .work-area{padding:10px;gap:10px}
 .tx-menu-room .work-area.with-passage,.tx-menu-room .work-area.grouped{display:flex;flex-direction:column;overflow-y:auto}
 .tx-menu-room .work-area .passage-panel{height:auto;max-height:34dvh;min-height:150px;flex-shrink:0;padding:16px}
 .tx-menu-room .work-area .question-container{height:auto;min-height:240px;flex-shrink:0}
 .tx-menu-room .question-stack{overflow:visible;flex:none}
 .tx-menu-room .question-navigation{flex-wrap:wrap;min-height:100px;gap:8px;padding:10px 12px;padding-bottom:max(10px,env(safe-area-inset-bottom))}
 .tx-menu-room .question-time-label{font-size:10px;max-width:78px}.tx-menu-room .question-time{font-size:16px}
 .tx-menu-room .next-question{padding-inline:12px;font-size:11px}
 .exam-dock-status{gap:12px;margin-left:auto}.exam-dock-clock>time{font-size:20px}.exam-menu-trigger{font-size:11px;padding:10px 13px;min-height:41px}
 .tx-menu-room>.candidate-panel{padding:24px 20px 0}.tx-menu-room .question-palette{gap:9px 4px}.tx-menu-room .question-palette .palette-item{width:32px;height:32px}
}
/* Media blocks share the same sizing and alignment in Studio, exam and review. */
.tx-content-image{width:70%;max-width:100%;margin:18px auto;break-inside:avoid}
.tx-content-image[data-align=left]{margin-left:0;margin-right:auto}
.tx-content-image[data-align=right]{margin-left:auto;margin-right:0}
.tx-content-image img{display:block;width:100%;max-width:100%;height:auto;border-radius:3px;object-fit:contain}
.tx-content-image figcaption{font-family:'Be Vietnam Pro',Arial,sans-serif;font-size:12px;line-height:1.6;text-align:center;color:#7c8592;margin-top:9px}
.st-image-layout{padding:14px 16px;border:1px solid #e6e8ed;border-radius:8px;background:#fafbfc;margin:14px 0}
.st-image-layout-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.st-image-layout-head>b{font-size:12px}.st-image-layout-head button{padding:5px 9px;font-size:11px}
.st-image-layout-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end}
.st-image-layout label{font-size:11px;display:flex;flex-direction:column;gap:7px;color:#697487}
.st-image-layout input[type=range]{width:100%;accent-color:#b50f2d;padding:0}
.st-image-layout select,.st-image-layout input[type=text]{font:inherit;padding:8px 9px;background:#fff;border:1px solid #e0e4ea;border-radius:6px;width:100%}
.st-image-layout .st-image-caption{margin-top:12px}
.st-image-drop{font-size:12px;padding:16px 18px;border:1px dashed #d4d9e2;border-radius:8px;color:#778396;background:#fdfdfe;margin:12px 0;line-height:1.7}
.st-image-drop.dragging{border-color:#b50f2d;background:#fff4f6;color:#b50f2d}
.st-exam-preview{--exam-copy-size:15px;--exam-copy-leading:1.75;padding:22px;background:#fff;border:1px solid #edf0f3;border-radius:8px;overflow-wrap:anywhere}
.st-exam-preview .options{margin:16px 0}.st-exam-preview .choice{font:inherit;line-height:inherit;color:inherit;gap:12px}.st-exam-preview .choice-circle{width:24px;height:24px;flex-shrink:0}
.st-preview-column .st-panel{position:sticky;top:88px}.st-preview-options{margin:16px 0}.st-preview-options>div{display:flex;gap:12px;margin:10px 0}.st-preview-options b{flex-shrink:0;color:#8190a5;font-size:12px;width:23px}
