/* Keep actual frames visible when a long analysis is added beneath the table. */
.storyboard-page .storyboard-stage-scroll {
  display: block !important;
  overflow-y: auto !important;
  min-height: 0;
}
.storyboard-page .storyboard-shot-table-section,
.storyboard-page .storyboard-shot-table-section:not(:has(.ant-alert)) {
  display: block !important;
  height: auto !important;
}
.storyboard-page .storyboard-shot-table {
  height: auto !important;
  min-height: 0;
}
.storyboard-page .storyboard-shot-table-section > :not(:first-child) {
  margin-top: 16px;
}
@media (max-width: 760px) {
  body:has(.storyboard-page) #root {
    height: auto !important;
    overflow: visible !important;
  }
  .app-root--creator-workspace .storyboard-page,
  .app-root--creator-workspace .storyboard-page .canvas-grid,
  .app-root--creator-workspace .storyboard-page .storyboard-input-panel,
  .app-root--creator-workspace .storyboard-page .storyboard-stage-panel {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
  .storyboard-page .storyboard-stage-panel { margin-top: 12px; }
  .storyboard-page .storyboard-stage-scroll {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
}
