/* Studio: sidebar com rolagem propria. Evita menus transbordarem para o fundo branco.
   CSS aditivo. Nao altera botoes, rotas, Reels, nem o restante do layout. */
.sidebar {
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  justify-content: flex-start;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: #4c596a transparent;
}
.sidebar-top,
.sidebar-bottom {
  flex-shrink: 0;
  min-width: 0;
}
.sidebar-bottom { margin-top: auto; }
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: #4c596a; border-radius: 8px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
@media (max-width: 980px) {
  .sidebar { height: 100dvh; max-height: 100dvh; }
}
