/* Filter chips -URL-driven list filters (recipes, inventory, notifications, COGS).
   Distinct from status .chip (11-chip) and period .period-toggle (41). */

.filter-chips,
.recipe-list-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}

.fchip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px var(--space-2);
  border: 1px solid var(--divider);
  background: var(--surface);
  border-radius: 999px;
  font-size: var(--font-size-small);
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}

.fchip:hover {
  background: var(--surface-soft);
  color: var(--text);
}

.fchip.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--surface);
}

.fchip .n {
  font-size: var(--font-size-nano);
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
}

.fchip.is-active .n {
  background: var(--surface);
  color: var(--primary);
}
