.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  padding: var(--space-1) var(--space-4);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: var(--leading-sm);
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.chip:hover { background: color-mix(in oklab, var(--surface) 80%, var(--text)); }
.chip:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.chip__icon { width: 1.125rem; height: 1.125rem; flex: 0 0 auto; }

.chip.is-active,
.chip[aria-pressed="true"],
.chip[aria-current="page"] {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-brand);
}
.chip.is-active::before,
.chip[aria-pressed="true"]::before,
.chip[aria-current="page"]::before {
  content: "";
  width: 1em; height: 1em;
  background: currentColor;
  -webkit-mask: var(--icon-check) no-repeat center / contain;
  mask: var(--icon-check) no-repeat center / contain;
}

.chip--small { min-height: 2.25rem; padding-inline: var(--space-3); }

.chip--lead {
  background: color-mix(in oklab, var(--brand) 15%, transparent);
  border-color: color-mix(in oklab, var(--brand) 45%, transparent);
}
.chip--lead .chip__icon { color: var(--brand); }

.chip--soon {
  color: var(--muted);
  border-style: dashed;
  cursor: default;
}
.chip--soon:hover { color: var(--muted); background: var(--surface); }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
