/* Curavo 0.6.2: Let the entire desktop sidebar scroll when its contents exceed the viewport.
   Avoid nested scroll regions, which hid collections and bottom actions on some devices. */
@media (min-width: 761px) {
  .sidebar {
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
  }
  .sidebar::-webkit-scrollbar { width: 6px; }
  .sidebar::-webkit-scrollbar-thumb {
    background: var(--line);
    border-radius: 999px;
  }
  .sidebar .brand,
  .sidebar .sidebar-create,
  .sidebar .app-nav,
  .sidebar .sidebar-label,
  .sidebar .side-collections,
  .sidebar .sidebar-bottom { flex-shrink: 0; }
  .sidebar .side-collections {
    overflow: visible;
    min-height: auto;
  }
  .sidebar .sidebar-bottom { margin-top: auto; }
}
