/* Keep the editor's header, photo and workflow bar in one viewport layout.
   The workflow bar's real height replaces the old fixed 190px reservation. */
@media (pointer: coarse) {
  html { overflow: hidden; }
  body:not(.viewer-mobile-active) {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }
}
@media (max-width: 768px), (max-width: 1024px) and (orientation: portrait) {
  body:not(.viewer-mobile-active) {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }
  body:not(.viewer-mobile-active) > header {
    flex: 0 0 auto;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  body:not(.viewer-mobile-active) > #appLayout {
    order: 1;
    flex: 1 1 0;
    min-height: 0;
    padding-bottom: 0;
  }
  body:not(.viewer-mobile-active) > #workflowSidebar {
    order: 2;
    position: relative;
    inset: auto;
    flex: 0 0 auto;
  }
  body:not(.viewer-mobile-active) #mainContentWrap,
  body:not(.viewer-mobile-active) #rightPane {
    min-height: 0;
  }
  body:not(.viewer-mobile-active) #viewerPane {
    height: auto !important;
    flex: 1 1 0;
    min-height: 0;
  }
  body:not(.viewer-mobile-active) #canvasContainer {
    flex: 1 1 0;
  }
}
