.mobile-config-list {
  display: none;
}

@media (max-width: 767px) {
  .dashboard-session {
    display: none;
  }

  .dashboard-page-title {
    display: none;
  }

  .mobile-config-list {
    display: block;
    padding-bottom: 5.5rem;
  }

  .mobile-config-list__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1.25rem 0 0.75rem;
  }

  .mobile-config-list__heading h2,
  .mobile-config-card h3 {
    margin: 0;
    color: #1f2937;
  }

  .mobile-config-list__heading h2 {
    font-size: 1.125rem;
  }

  .mobile-config-list__heading p,
  .mobile-config-card__header p,
  .mobile-config-card small {
    margin: 0.15rem 0 0;
    color: #6b7280;
    font-size: 0.75rem;
  }

  .mobile-config-list__filters {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
  }

  .mobile-config-list__search input {
    box-sizing: border-box;
    width: 100%;
    min-height: 2.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    background: #fff;
  }

  .mobile-config-list__filter-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
  }

  .mobile-config-list__filter-tabs button {
    width: auto;
    min-height: 2.35rem;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #fff;
    color: #374151;
    font-size: 0.8125rem;
  }

  .mobile-config-list__filter-tabs button.is-selected {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
  }

  .mobile-config-list__cards {
    display: grid;
    gap: 0.9rem;
  }

  .mobile-config-card {
    border: 1px solid #94a3b8;
    border-left-width: 4px;
    border-radius: 6px;
    background: #fff;
    padding: 0.9rem;
  }

  .mobile-config-card--active {
    border-left-color: #15803d;
  }

  .mobile-config-card--inactive {
    border-left-color: #64748b;
  }

  .mobile-config-card__header,
  .mobile-config-card__switch-row,
  .mobile-config-card__check-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .mobile-config-card__header {
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #dbe4ee;
  }

  .mobile-config-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.25;
  }

  .mobile-config-card__id,
  .mobile-config-card__slots,
  .mobile-config-card__last-pickup {
    font-size: 0.75rem;
    font-weight: 400;
  }

  .mobile-config-card__slots {
    margin-top: 0.45rem !important;
  }

  .mobile-config-card__last-pickup {
    margin-top: 0.35rem !important;
    color: #475569 !important;
  }

  .mobile-config-card__last-pickup strong {
    color: inherit;
    font-weight: 600;
  }

  .mobile-config-card__last-pickup--stale {
    color: #b91c1c !important;
  }

  .mobile-config-card__last-pickup--never {
    color: #1d4ed8 !important;
  }

  .mobile-config-card__store-link {
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    color: #475569;
  }

  .mobile-config-card__store-link svg {
    width: 1.15rem;
    height: 1.15rem;
  }

  .mobile-config-card__switch-row {
    margin-top: 0;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .mobile-config-card__booking-label,
  .mobile-config-card__notify-label {
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
  }

  .mobile-config-card__booking-status {
    font-size: 0.75rem;
    font-weight: 600;
  }

  .mobile-config-card--active .mobile-config-card__booking-status {
    color: #15803d;
  }

  .mobile-config-card--inactive .mobile-config-card__booking-status {
    color: #64748b;
  }

  .mobile-config-card input[type='checkbox'] {
    width: 1.2rem;
    height: 1.2rem;
    flex: 0 0 auto;
  }

  .mobile-config-card__core-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 0.6rem;
    margin: 0.85rem 0;
  }

  .mobile-config-card__core-fields label,
  .mobile-config-card__range {
    width: 100%;
    min-width: 0;
    display: grid;
    gap: 0.25rem;
    color: #4b5563;
    font-size: 0.75rem;
    text-align: left;
  }

  .mobile-config-card__field > span,
  .mobile-config-card__range > span {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 500;
  }

  .mobile-config-card__core-fields select,
  .mobile-config-card__range {
    box-sizing: border-box;
    width: 100%;
    min-height: 2.6rem;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #fff;
  }

  .mobile-config-card__field-value {
    color: #1f2937;
    font-size: 0.875rem;
    font-weight: 600;
  }

  .mobile-config-card__range {
    align-content: center;
    padding: 0.4rem 0.55rem;
  }

  .mobile-config-card__range strong {
    overflow: hidden;
    color: #1f2937;
    font-size: 0.875rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-config-card__check-row {
    justify-content: flex-start;
    padding: 0.25rem 0;
    color: #374151;
    font-size: 0.875rem;
  }

  .mobile-config-card__check-row span {
    display: grid;
    gap: 0.1rem;
  }

  .mobile-config-card__check-row small {
    font-size: 0.75rem;
    font-weight: 400;
  }

  .mobile-config-card__details {
    margin-top: 0.8rem;
    border-top: 1px solid #e5e7eb;
  }

  .mobile-config-card__details summary {
    padding: 0.75rem 0;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
  }

  .mobile-config-card__details[open] summary {
    margin-bottom: 0.2rem;
  }

  .mobile-config-card__actions {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.65rem;
  }

  .mobile-config-card__actions button,
  .mobile-config-list__reset,
  .mobile-config-list__save {
    min-height: 2.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    padding: 0.5rem 0.75rem;
    background: #fff;
    color: #374151;
    font-size: 0.875rem;
  }

  .mobile-config-card__actions button {
    width: auto;
    flex: 1;
  }

  .mobile-config-card__actions button.is-danger {
    border-color: #fecaca;
    color: #b91c1c;
  }

  .mobile-config-list__empty {
    margin: 1.5rem 0;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
  }

  .mobile-config-list__save-bar {
    position: fixed;
    z-index: 30;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 0.6rem;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    border-top: 1px solid #cbd5e1;
    background: #fff;
    box-shadow: 0 -4px 12px rgba(15, 23, 42, 0.12);
  }

  .mobile-config-list__save {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
  }

  @media (max-width: 420px) {
    .mobile-config-card__core-fields {
      grid-template-columns: 1fr;
    }
  }

  .desktop-config-table,
  .desktop-config-actions {
    display: none;
  }

  .App {
    padding: 0;
  }
}
