/* Final mobile overrides, loaded after the main theme. */
@media (max-width: 760px) {
  .login-card h1 { font-size: 29px; }
  .login-card .brand p { font-size: 15px; }

  html.is-parent .sidebar {
    height: calc(82px + env(safe-area-inset-bottom));
    min-height: 82px;
    padding: 7px 8px max(7px, env(safe-area-inset-bottom));
    overflow: hidden;
  }

  html.is-parent .nav-list {
    display: flex;
    justify-content: flex-start;
    gap: 6px;
    width: 100%;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
  }

  html.is-parent .nav-list::-webkit-scrollbar { display: none; }

  html.is-parent .nav-item {
    flex: 0 0 76px;
    width: 76px;
    min-width: 76px;
    min-height: 64px;
    scroll-snap-align: center;
  }

  html.is-parent .content { padding-bottom: 104px; }
}
