/* StepRonda 2026-11-23 · Question screen fit (desktop).
   1) No empty band between the question and the bottom bar.
   2) The question stays in place: the workspace never scrolls as a whole;
      the question and the explanation each scroll inside their own column.
   3) The stem starts at the same height before and after Submit. */
@media (min-width:851px){
 body.study-mode #view .uq-exam-frame .srex-middle:has(> .question-card.uq-question-left){padding-bottom:18px!important}
 body.study-mode #view .uq-exam-frame .srex-middle > .question-card.uq-question-left{flex:1 1 auto!important;min-height:0!important}
 body.study-mode #view .uq-exam-frame .srex-middle > .mr-question-tools:empty{display:none!important}
 body.study-mode #view .uq-exam-frame .srex-workspace:has(.question-card.uq-review-grid){overflow:hidden!important}
 body.study-mode #view .uq-exam-frame .srex-middle:has(> .question-card.uq-review-grid){height:100%!important;min-height:0!important;overflow:hidden!important}
 body.study-mode #view .uq-exam-frame .question-card.uq-review-grid{box-sizing:border-box!important;height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important}
 body.study-mode #view .uq-exam-frame .question-card.uq-review-grid > .uq-review-left,
 body.study-mode #view .uq-exam-frame .question-card.uq-review-grid > .uq-review-right{box-sizing:border-box!important;min-height:0!important;height:100%!important;max-height:100%!important;overflow-y:auto!important;overscroll-behavior:contain;padding-top:18px!important}
 body.study-mode #view .uq-exam-frame .question-card.uq-review-grid > .uq-review-divider{min-height:0!important;height:100%!important}
}
/* Red-flag control: at the top, aligned with the right edge of the question text
   (width follows the stem; set by layout-fit-20261123.js). */
body.study-mode #view .uq-exam-frame .uq-flag-toolbar[data-sr-fit]{box-sizing:border-box!important;max-width:var(--sr-stem-width)!important}
