

#teams-v2-screen.teams-v2-screen,
#panel-teams.teams-v2-page,
#panel-teams #panel-teams-content,
#panel-teams .vtp-layout,
#panel-teams .vtp-sidebar,
#panel-teams .vtp-main,
#panel-teams .vtp-right {
  min-width: 0 !important;
}

@media (min-width: 821px) and (max-width: 1280px) {
  #panel-teams .vtp-layout {
    grid-template-rows: minmax(0, 1fr) 154px !important;
  }

  #panel-teams .vtp-right {
    max-height: none !important;
    overflow-y: auto !important;
  }
}

@media (max-width: 820px) {
  html.rw-mobile-viewport body #teams-v2-screen.teams-v2-screen {
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
  }

  html.rw-mobile-viewport body #panel-teams.teams-v2-page {
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
  }

  html.rw-mobile-viewport body #panel-teams #panel-teams-content {
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
  }

  html.rw-mobile-viewport body #panel-teams .vtp-layout {
    height: auto !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    padding: 12px 8px 16px !important;
    overflow: visible !important;
  }

  html.rw-mobile-viewport body #panel-teams .vtp-sidebar {
    box-sizing: border-box !important;
    width: 100% !important;
  }

  html.rw-mobile-viewport body #panel-teams .vtp-team-list {
    width: 100% !important;
  }
}
