/**
 * Page-level section tabs — compact pills before KPI/card islands.
 * Reference: Operations → Ledger / Transactions / Reconcile.
 */

.dash-section-tabs {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.dash-section-tabs .dash-section-tab {
  position: static;
  flex-shrink: 0;
  min-height: 32px;
  padding: 0 var(--spacing-lg);
  border: 0;
  border-radius: var(--dash-radius-btn);
  background: transparent;
  color: var(--dash-text-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background var(--dash-transition),
    color var(--dash-transition);
}

.dash-section-tabs .dash-section-tab:not(.is-active) {
  background: transparent;
}

.dash-section-tabs .dash-section-tab::after {
  content: none;
}

.dash-section-tabs .dash-section-tab:hover {
  background: var(--dash-surface-hover);
  color: var(--dash-text);
}

.dash-section-tabs .dash-section-tab.is-active {
  background: var(--dash-accent);
  color: var(--dash-accent-text);
}

.dash-section-tabs .dash-section-tab:focus-visible {
  outline: 2px solid var(--dash-accent-focus);
  outline-offset: 2px;
}
