/* Lucide stroke icons follow text color (light + dark). */
img.chip-icon,
img.chat-icon,
img.chat-icon--spark {
  /* hidden until replaced; avoids a black PNG flash in dark mode */
  opacity: 0;
}

svg.chip-icon,
svg.chat-icon,
svg.lucide-icon {
  display: block;
  flex: none;
  color: currentColor;
  opacity: 1 !important;
  filter: none !important;
}

svg.chip-icon {
  inline-size: 18px;
  block-size: 18px;
}

svg.chat-icon--spark {
  inline-size: 20px;
  block-size: 20px;
}

.chip svg.chip-icon {
  color: var(--platform-ink, #191919);
}

html.theme-dark .chip svg.chip-icon,
html.theme-dark svg.chat-icon,
html.theme-dark svg.lucide-icon {
  color: var(--platform-ink, #ededed);
}
