/* UI 0.6.678 — production rendering panel overflow / gray-edge correction.
   The legacy 880px Production page capped the backdrop while a 10-scene
   timeline established a >900px min-content width. Its glass render card
   then spilled over that boundary into the gray outer canvas. */
#page-content.production-page {
  width: 100%;
  max-width: 1280px;
  min-width: 0;
}
#page-content #productionRequestWorkspace,
#page-content .production-studio-form,
#page-content .production-render-settings,
#page-content .production-timed-script,
#page-content #prTimedScriptSummary,
#page-content #prTimedScriptReview {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
/* Each grid track is allowed to shrink instead of adopting the width
   of all ten image thumbnails as the minimum width of the editor. */
#page-content .production-studio-form,
#page-content .production-render-settings {
  grid-template-columns: minmax(0, 1fr);
}
#page-content .production-render-settings {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
#page-content .timed-script-summary,
#page-content .timed-script-bar,
#page-content .timed-script-pool,
#page-content .timed-script-scene,
#page-content .production-render-grid,
#page-content .production-render-frame-section {
  max-width: 100%;
  min-width: 0;
}
#page-content .timed-script-pool {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
#page-content .timed-script-still {
  flex: 0 0 84px;
}
#page-content .timed-script-bar {
  overflow-x: auto;
}
#page-content .production-render-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
#page-content .production-render-grid > * {
  min-width: 0;
}
@media (max-width: 1100px) {
  #page-content .production-render-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  #page-content .production-render-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
