.lesson-bottom-nav,
.account-bottom-nav .nav-label-compact {
  display: none;
}
.account-bottom-nav .nav-label {
  width: auto;
  height: auto;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  text-align: inherit;
}
.account-bottom-nav .nav-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
}
.account-bottom-nav .nav-svg {
  display: block;
  width: 20px;
  height: 20px;
}

@media (max-width: 800px) {
  html {
    scroll-padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }
  body.app-page {
    padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }
  .app-layout .app-sidebar {
    display: contents;
  }
  .app-layout .app-sidebar .sidebar-label,
  .app-layout .app-sidebar .sidebar-footer,
  .account-bottom-nav .nav-label-full {
    display: none;
  }
  .account-bottom-nav,
  .account-bottom-nav.app-nav {
    position: fixed;
    inset: auto 0 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    margin: 0;
    padding: 6px max(8px, env(safe-area-inset-right, 0px))
      calc(6px + env(safe-area-inset-bottom, 0px))
      max(8px, env(safe-area-inset-left, 0px));
    background: var(--paper);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 20px rgb(17 17 17 / 5%);
  }
  .account-bottom-nav > :is(a, button) {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    min-width: 0;
    min-height: 60px;
    padding: 6px 2px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--muted);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
  }
  .account-bottom-nav > :is(a, button)[aria-current="page"] {
    border-color: var(--line);
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 600;
  }
  .account-bottom-nav .nav-icon,
  .account-bottom-nav .nav-svg {
    display: block;
    width: 23px;
    height: 23px;
    color: inherit;
  }
  .account-bottom-nav .nav-label,
  .account-bottom-nav .nav-label-compact {
    display: block;
    white-space: nowrap;
  }
  .account-bottom-nav .nav-label-full {
    display: none;
  }
}
@media (max-width: 359px) {
  .account-bottom-nav > :is(a, button) {
    font-size: 9px;
  }
}
