.nav-badge.is-success {
  background: var(--color-success);
}

/* Keep desktop navigation anchored to the viewport while page content scrolls. */
@media (min-width: 821px) {
  #app > .app-shell {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  #app > .app-shell > .sidebar {
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  #app > .app-shell > .sidebar > .nav {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  #app > .app-shell > .main {
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  #app > .app-shell > .main > .topbar {
    flex: 0 0 48px;
  }

  #app > .app-shell > .main > .content {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media (min-width: 761px) {
  #app > .storage-page {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  #app > .storage-page > .sidebar {
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  #app > .storage-page > .sidebar > .nav {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  #app > .storage-page > .storage-main {
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  #app > .storage-page > .storage-main > .storage-topbar {
    flex: 0 0 48px;
  }

  #app > .storage-page > .storage-main > .storage-content {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media (min-width: 901px) {
  #app > .mt-page {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  #app > .mt-page > .sidebar {
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  #app > .mt-page > .sidebar > .nav {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  #app > .mt-page > .mt-main {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  #app > .mt-page > .mt-main > .mt-topbar {
    flex: 0 0 48px;
  }

  #app > .mt-page > .mt-main > .mt-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}
