/* The global theme must not override the active file editor's scroll container. */
body.is-pro .document-active .tcontent,
body.is-pro .document-active .next-steps { display:none; }

@media (max-width:879px) {
  body.is-pro .document-page.document-active:not(.photo-work-active) {
    bottom:env(safe-area-inset-bottom);
  }
  body.is-pro .document-active:not(.photo-work-active) .tool-workspace-stage {
    display:flex; flex:1; min-height:0; margin-bottom:0;
  }
  body.is-pro .document-active:not(.photo-work-active) .workspace {
    flex:1; min-height:0; max-height:none; overflow:auto;
    padding:12px 14px 180px; scroll-padding-bottom:180px;
  }
  body.is-pro .document-page.document-active:not(.photo-work-active) .workspace .document-action {
    bottom:env(safe-area-inset-bottom) !important;
    padding:8px 0; margin:0;
  }
  body.is-pro .document-active .input,
  body.is-pro .document-active .select { font-size:16px; }
  body.is-pro .document-active[data-tool="image-resize"] .flist {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body.is-pro .document-active[data-tool="image-resize"] .fitem__act {
    flex-wrap:wrap; justify-content:center;
  }
  body.is-pro .document-active[data-tool="image-resize"] .fitem__act > button {
    min-height:44px;
  }
}
