/* Dark theme for the CKEditor 4 (floating toolbar, dialogs, dropdown panels), which ships a light-only skin.
   The skin is inverted as a whole; hue-rotate keeps the colors of the icons recognisable. */
:root {
  --app-ckeditor-dark-filter: invert(0.9) hue-rotate(180deg);
}

:root[data-bs-theme="dark"] :is(.cke_chrome, .cke_dialog, .cke_panel, .cke_notification) {
  filter: var(--app-ckeditor-dark-filter);
}
