/* MK Accounting v1.12.1: independently scrolling fixed sidebar navigation */
.sidebar {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.side-head,
.side-user {
  flex: 0 0 auto;
}

.nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(244, 180, 26, .75) rgba(255, 255, 255, .08);
}

.nav::-webkit-scrollbar { width: 7px; }
.nav::-webkit-scrollbar-track { background: rgba(255, 255, 255, .08); }
.nav::-webkit-scrollbar-thumb {
  background: rgba(244, 180, 26, .75);
  border-radius: 10px;
}

.side-user { margin-top: 0; }

@media (max-width: 980px) {
  .sidebar { max-height: 100dvh; }
  .nav { -webkit-overflow-scrolling: touch; }
}

