.tabs {
  display: flex;
  gap: 6px;
  background: var(--light-gray);
  border-bottom: 1px solid var(--border-color);
  padding: 5px;
  overflow-x: auto;
  position: sticky;
  top: 0;
  z-index: 5;
}
.tabs button {
  flex: 1;
  min-width: 40px;
  padding: 6px 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  color: var(--muted);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 14px;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.tabs button::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: 0 0 12px;
}
.tabs button:hover {
  background: #eef2ff;
  box-shadow: inset 0 0 0 1px #e5e7eb;
}
.tabs button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.tabs button.active {
  background: #fff;
  box-shadow: inset 0 -2px 0 var(--primary);
  color: #111827;
}

/* Status palette */
.status-1::before { background: var(--status-1); }
.status-2::before { background: var(--status-2); }
.status-3::before { background: var(--status-3); }
.status-4::before { background: var(--status-4); }
.status-5::before { background: var(--status-5); }
.status-6::before { background: var(--status-6); }
.status-7::before { background: var(--status-7); }
