/* Responsive application navigation defaults. Core mobile rules load afterwards. */

.mobile-topbar,
.mobile-bottom-nav,
.mobile-journal-list,
.mobile-schedule-list,
.mobile-section-tabs {
  display: none;
}

@media (max-width: 900px) {
  .mobile-section-tabs {
    display: flex;
    gap: 6px;
    margin: 0 16px 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mobile-section-tabs::-webkit-scrollbar {
    display: none;
  }

  .mobile-section-tabs button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 12px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: var(--weight-semibold);
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 999px;
  }

  .mobile-section-tabs button.is-active {
    color: var(--primary);
    background: var(--primary-soft);
    border-color: rgba(20, 184, 166, 0.22);
  }
}

@media (max-width: 760px) {
  .mobile-section-tabs {
    margin-inline: 0;
  }
}
