/* D10C3 — Section Media independent scrolling, strictly scoped to media tab.
   No React node movement; media upload/save handlers unchanged. */
@media (min-width: 881px) {
  .rvo221e-media-panel > .rvo221e-grid {
    height: clamp(390px, calc(100dvh - 255px), 900px) !important;
    min-height: 390px !important;
    overflow: hidden !important;
    align-items: stretch !important;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) !important;
  }
  .rvo221e-media-panel .rvo221e-grid > .rvo221e-list {
    position: relative !important;
    top: auto !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    align-self: stretch !important;
  }
  .rvo221e-media-panel .rvo221e-grid > .rvo221e-detail {
    min-height: 0 !important;
    height: 100% !important;
    max-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }
}
@media (max-width: 880px) {
  .rvo221e-media-panel > .rvo221e-grid {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    grid-template-columns: minmax(0,1fr) !important;
  }
  .rvo221e-media-panel .rvo221e-grid > .rvo221e-list,
  .rvo221e-media-panel .rvo221e-grid > .rvo221e-detail {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
}
