/* ib-rehearse-compact-v2 */
/* Compact rehearsal owns the controls while its overlay is active. Match the
   workspace's compact viewport class so an iPad cannot reveal its displaced
   Selection sheet or normal editing dock during the More tray close animation. */
body.ib-tablet-portrait-mobile:is(.path-rehearsing, .path-rehearse-overlay-open) :is(
  #mobileBottomBar, #mobileBottomNav, #mobileToolsSheet, #mobileMoreSheet, #mobileUiBackdrop,
  #leftPanel, #rightPanel, #focusCompactPanelsBar
) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
@media (max-width: 820px) {
  body:is(.path-rehearsing, .path-rehearse-overlay-open) :is(
    #mobileBottomBar, #mobileBottomNav, #mobileToolsSheet, #mobileMoreSheet, #mobileUiBackdrop,
    #leftPanel, #rightPanel, #focusCompactPanelsBar
  ) {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
