/* Final frame rule owns the clipping boundary; internal resize controls stay usable. */
html body.study-mode #app #view .uq-exam-frame {
  border:1px solid #6796ba55!important;border-radius:12px!important;
  overflow:clip!important;isolation:isolate;box-sizing:border-box!important;
}
html body.study-mode #app #view .uq-exam-frame>.srex-header {
  border-radius:11px 11px 0 0!important;
}
html body.study-mode #app #view .uq-exam-frame>.srex-footer {
  border-radius:0 0 11px 11px!important;
}
html body.study-mode #app #view .question-card.uq-review-grid .uq-review-left,
html body.study-mode #app #view .question-card.uq-question-left {
  display:flex!important;flex-direction:column!important;min-width:0!important;
}
html body.study-mode #app #view .uq-report-dock {
  position:sticky!important;bottom:10px!important;inset-inline-start:auto!important;
  flex:0 0 auto!important;align-self:flex-start!important;margin:20px 12px 10px!important;
  margin-top:auto!important;max-width:calc(100% - 24px)!important;z-index:4!important;
}
html body.study-mode #app #view .uq-report-dock button {
  min-height:26px!important;font-size:11px!important;padding:4px 8px!important;
}
@media(max-width:850px){
 html body.study-mode #app #view .uq-report-dock{position:relative!important;bottom:auto!important;margin-top:20px!important}
}
