/* Keep the existing question actions. Wrap within the actual question pane,
   including split ratios, instead of squeezing the question number. */
.exam-shell.review-workspace .qhead{flex-wrap:wrap;gap:8px 12px}
.exam-shell.review-workspace .qhead-left{flex:0 0 auto;min-width:0;max-width:100%;flex-wrap:wrap}
.exam-shell.review-workspace .qnum{flex:none;white-space:nowrap}
.exam-shell.review-workspace .qactions{flex:0 1 auto;min-width:0;max-width:100%;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-left:auto;margin-right:0}
/* Reuse the original answer-card dock and its position. No footer surface. */
.exam-shell.review-floating-actions .reading-answer-dock{display:flex;align-items:center;gap:2cm;width:auto;height:44px;background:transparent;border:0;box-shadow:none}
.exam-shell .reading-answer-dock>.review-upload-button{flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;opacity:1;background:var(--reading-paper);color:var(--reading-muted)}
.exam-shell .reading-answer-dock>.review-upload-button svg{width:22px;height:22px}
.review-upload-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;pointer-events:none}
@media(max-width:540px){.exam-shell.review-workspace .qhead{gap:8px}.exam-shell.review-workspace .qactions{gap:6px}}
