/* ── Core Tabs — ARKAN UI core (design_handoff_arkan_ui/COMPONENTS.md #3) ──
   Scoped under .core-tabs*. Genuinely new — no prior shared tabs system
   existed (9 independent hand-rolled implementations across the portal). */

.core-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.core-tabs::-webkit-scrollbar { display: none; }

.core-tabs__chip {
  flex-shrink: 0;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 13px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}
.core-tabs__chip:hover:not(.core-tabs__chip--active) {
  background: var(--surface-raised, var(--bg-secondary));
  color: var(--text-primary);
}

.core-tabs__chip--active {
  background: var(--accent-surface);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  font-weight: 600;
}

.core-tabs__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  background: var(--surface-raised, var(--bg-secondary));
  color: var(--text-secondary);
}
.core-tabs__chip--active .core-tabs__badge {
  background: var(--accent-primary);
  color: var(--text-inverse);
}
