/* === 奕境 DMS · 助手端直接预览画布 ===
   不再使用运行时样机包装，避免首帧按桌面宽度闪烁。
*/

@media (min-width: 768px) {
  html {
    width: 100% !important;
    min-height: 100% !important;
    height: auto !important;
    overflow: auto !important;
    background: #E8EEF6 !important;
  }

  body.h5-ui-output {
    width: 100% !important;
    min-height: 844px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    overflow: auto !important;
    background: #E8EEF6 !important;
  }

  body.h5-ui-output > .app-page {
    width: 390px !important;
    min-width: 390px !important;
    max-width: 390px !important;
    height: 844px !important;
    min-height: 844px !important;
    max-height: 844px !important;
    flex: 0 0 390px !important;
    margin: 0 auto !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 18px 48px rgba(30, 44, 68, .16), 0 0 0 1px rgba(30, 44, 68, .06) !important;
  }

  body.h5-ui-output > .app-page .bottom-bar,
  body.h5-ui-output > .app-page .home-indicator,
  body.h5-ui-output > .app-page .sheet-mask,
  body.h5-ui-output > .app-page .filter-sheet,
  body.h5-ui-output > .app-page .h5-abnormal-overlay {
    position: absolute !important;
  }
}
