/* ==========================================================================
   Case type pills — compact chips listing the checklist types on a case.
   Used in the cases table (capped with a +N overflow chip) and elsewhere a
   case's selected checklist types need a tidy, scannable summary.
   ========================================================================== */
.case-type-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  align-items: center;
}

.case-type-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill, 999px);
  background-color: var(--tint-navy-06);
  color: var(--color-primary-dark);
  font-size: var(--font-size-small);
  font-family: var(--font-family-bold);
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.case-type-pill--more {
  background-color: transparent;
  border: 1px dashed var(--color-border-strong, #cbd5e1);
  color: var(--color-text-muted);
  cursor: default;
}

/* A pill that opens the record it names (see tasks/_tag_list). Underlined only on
   hover, so a cell of them still reads as pills rather than as a row of links. */
.case-type-pill--link {
  text-decoration: none;
  cursor: pointer;
}

.case-type-pill--link:hover {
  text-decoration: underline;
}

/* Products use a distinct tint so the two pill columns read apart at a glance. */
.case-type-pill--product {
  background-color: rgba(99, 102, 241, 0.1);
  color: #4338ca;
}

.case-type-pills__empty {
  color: var(--color-text-muted);
}
