/* Bottom app nav stays mobile-only; header Search stays visible on all widths. */
.app-nav {
  display: none;
}

@media (max-width: 1279px) {
  .has-app-nav .nav {
    padding: 8px 16px 0;
  }

  .has-app-nav .nav__inner {
    width: 100%;
    height: 56px;
    padding: 0 4px 0 12px;
    background: transparent;
    box-shadow: none;
  }

  .has-app-nav .nav.is-scrolled .nav__inner {
    background: var(--surface-background);
    box-shadow: none;
  }

  .has-app-nav .nav__logo img {
    height: 28px;
  }

  .has-app-nav .nav__actions {
    gap: var(--space-8);
  }

  .has-app-nav .nav__actions .btn__label {
    display: none;
  }

  .has-app-nav .nav__actions .btn {
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-full);
  }

  .has-app-nav .nav__search {
    display: inline-flex;
  }

  .has-app-nav .footer {
    padding-bottom: 108px;
  }

  .app-nav {
    display: flex;
    position: fixed;
    z-index: 40;
    right: 0;
    bottom: 0;
    left: 0;
    justify-content: center;
    padding: 0 var(--space-16) var(--space-24);
    pointer-events: none;
  }

  .app-nav__pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 390px;
    height: 64px;
    padding: var(--space-4);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    background: var(--surface-background);
    pointer-events: auto;
  }

  .app-nav__item {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    height: 56px;
    border: 0;
    border-radius: 28px;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
  }

  .app-nav__item.is-active {
    background: var(--accent-default);
  }

  .app-nav__item svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.6;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .app-nav__item.is-active svg {
    width: 18px;
    height: 18px;
  }

  .app-nav__label {
    font: var(--text-xs);
    font-size: 10px;
    line-height: 14px;
    color: var(--text-primary);
  }
}
