/* AI_ORDER_REPORT_SCROLL_20261022_BEGIN */
.ai-order-mask { box-sizing: border-box; }
.ai-order-mask .ai-order-dialog {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  box-sizing: border-box;
}
.ai-order-mask .ai-order-dialog .ai-order-header,
.ai-order-mask .ai-order-dialog .ai-order-footer { flex: 0 0 auto; box-sizing: border-box; }
.ai-order-mask .ai-order-dialog .ai-order-body {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow: hidden;
}
.ai-order-mask .ai-order-dialog .ai-order-upload-column,
.ai-order-mask .ai-order-dialog .ai-order-result-column {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 760px) {
  .ai-order-mask { padding: 10px; }
  .ai-order-mask .ai-order-dialog {
    width: 100%;
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
  }
  .ai-order-mask .ai-order-dialog .ai-order-body {
    display: block;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }
  .ai-order-mask .ai-order-dialog .ai-order-upload-column,
  .ai-order-mask .ai-order-dialog .ai-order-result-column { overflow: visible; padding: 12px; }
  .ai-order-mask .ai-order-dialog .ai-order-upload-column { border-right: 0; border-bottom: 1px solid #e8eaf0; }
  .ai-order-mask .ai-order-dialog .ai-order-header,
  .ai-order-mask .ai-order-dialog .ai-order-footer { padding: 10px 12px; gap: 8px; }
  .ai-order-mask .ai-order-dialog .ai-order-footer { flex-wrap: wrap; }
  .ai-order-mask .ai-order-dialog .ai-order-footer > div { flex-wrap: wrap; }
}
/* AI_ORDER_REPORT_SCROLL_20261022_END */
