/*
 * The expanded inventory must escape the default height limits on the
 * Playground controls panel. These rules load after the legacy responsive
 * caps so opening Build makes the complete inventory reachable.
 */
#studio-playground .gw-editor-control-dock.gw-inventory-open .gw-editor-control-panels,
body.gw-primary-playground #studio-playground .gw-editor-control-dock.gw-inventory-open .gw-editor-control-panels {
  max-height: none !important;
  overflow: visible !important;
  overscroll-behavior: auto !important;
}

#studio-playground .gw-editor-control-dock.gw-inventory-open #pgBlockPaletteDropdown {
  position: relative !important;
  inset: auto !important;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  max-height: min(55vh, 560px);
  overflow: auto;
}
