/*
 * kanban-board-switcher.css
 * --------------------------------------------------------------
 * Styling for the P2.T5 board-type sub-tab bar that sits above
 * the kanban grid. Brand tokens only — no raw hex.
 *
 * Token inheritance (see css/outreach.css):
 *   --amber, --green, --green-soft, --surface-deep,
 *   --glass-fill, --glass-border, --text-primary, --text-tertiary,
 *   --r-pill, --r-lg, --f-sans
 *
 * Label: PILOT-READY.
 * --------------------------------------------------------------
 */

.kbs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  margin: 0 0 10px;
  background: var(--surface-deep, var(--bg-base));
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill, 999px);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}

.kbs-tab {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-tertiary);
  font: 600 12px/1 var(--f-sans, "General Sans", system-ui, sans-serif);
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: var(--r-pill, 999px);
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
  min-height: 44px;
}

.kbs-tab:hover {
  color: var(--text-primary);
  background: var(--glass-fill);
}

.kbs-tab:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.kbs-tab.is-active {
  color: var(--surface-deep, var(--bg-base));
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 1px 0 var(--green-soft) inset;
}

.kbs-tab.is-active:hover {
  background: var(--amber-light, var(--amber));
}

/* Compact stack on small screens — matches kanban breakpoint. */
@media (max-width: 700px) {
  .kbs-bar { border-radius: var(--r-lg, 12px); }
  .kbs-tab { flex: 1 1 calc(50% - 6px); text-align: center; }
}
