.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-height: 32px;
  padding: var(--space-1) var(--space-2) var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-muted);
  color: var(--color-foreground);
  font-size: var(--text-sm);
  white-space: nowrap;
}

.chip__remove {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  color: var(--color-muted-foreground);
  cursor: pointer;
  background: transparent;
  border: none;
}

.chip__remove::before {
  content: "";
  position: absolute;
  inset: -10px;
}

.chip__remove:hover {
  background: var(--color-border);
  color: var(--color-foreground);
}

.chip-list__clear {
  display: inline-flex;
  align-items: center;
  min-height: 44px;

  color: var(--color-accent-text, #4A7000);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--space-1) var(--space-2);
}
