html[data-theme="dark"] body main.workspace.creatives-active .creative-layout .creative-row-tag-edit {
  color: #b9d6d8;
  background: #132b32;
  border-color: #42646c;
  cursor: pointer;
}
html[data-theme="dark"] body main.workspace.creatives-active .creative-layout .creative-row-tag-edit:hover {
  color: #def6f1;
  background: #1b3c42;
  border-color: #62a99f;
}
html[data-theme="dark"] body main.workspace.creatives-active .creative-layout .creative-row-tag-edit:focus-visible {
  outline: 2px solid #62cabb;
  outline-offset: 2px;
}
/* Preserve stored category hues; soften presentation without fading text. */
html {
  --tag-neutral-surface: #f7f8f9;
  --tag-neutral-ink: #34414b;
  --tag-neutral-border: #dce1e5;
  --tag-ink-share: 24%;
}
html[data-theme="dark"] {
  --tag-neutral-surface: #18272d;
  --tag-neutral-ink: #d5dfe3;
  --tag-neutral-border: #3d4c53;
  --tag-ink-share: 20%;
}
html body :is(.creative-tag-chip, .creative-tag-choice, .creative-tag-filter-name, .creative-tag-cloud span) {
  color: color-mix(in srgb, var(--creative-tag-color) var(--tag-ink-share), var(--tag-neutral-ink)) !important;
  background: color-mix(in srgb, var(--creative-tag-color) 6%, var(--tag-neutral-surface)) !important;
  border-color: color-mix(in srgb, var(--creative-tag-color) 18%, var(--tag-neutral-border)) !important;
}
html body .creative-tag-chip { font-weight: 600; }
html body .creative-tag-choice:is(:hover, .active) {
  background: color-mix(in srgb, var(--creative-tag-color) 11%, var(--tag-neutral-surface)) !important;
  border-color: color-mix(in srgb, var(--creative-tag-color) 35%, var(--tag-neutral-border)) !important;
}
