/* VK CRM / New Leads / right manager queue height only.
   Keep native distribution actions, all lead API calls, and sidebar untouched. */
@media (min-width:1121px) {
  #leadsSection.vk-leads-ux-v4 .leads-main-grid {
    align-items: stretch !important;
  }
  #leadsSection.vk-leads-ux-v4 .leads-main-grid > .leads-side {
    position: static !important;
    top: auto !important;
    align-self: stretch !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
  }
  #leadsSection.vk-leads-ux-v4 .leads-side > .leads-managers-card {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  #leadsSection.vk-leads-ux-v4 .leads-side #leadManagers {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none !important;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
  }
  #leadsSection.vk-leads-ux-v4 .leads-side > .leads-integration-card {
    flex: 0 0 auto;
  }
}
/* Below the desktop breakpoint, preserve the existing stacked layout. */
