/* Override Trumbowyg icon sprite to use local vendor images (fix missing icons)
   Ensures buttons show icons even when CDN CSS resolves image path differently. */
.trumbowyg-button-pane li button {
  background-image: url('/assets/vendor/trumbowyg/dist/ui/images/icons.png') !important;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.3),
  only screen and (min--moz-device-pixel-ratio: 1.3),
  only screen and (-o-min-device-pixel-ratio: 4/3),
  only screen and (min-device-pixel-ratio: 1.3),
  only screen and (min-resolution: 192dpi),
  only screen and (min-resolution: 2dppx) {
  .trumbowyg-button-pane li button {
    background-image: url('/assets/vendor/trumbowyg/dist/ui/images/icons-2x.png') !important;
    -webkit-background-size: 25px 575px !important;
    background-size: 25px 575px !important;
  }
}

/* Fallback: show text label if sprite fails to load (useful for debugging) */
.trumbowyg-button-pane li button.no-icon {
  text-indent: 0 !important;
  background: none !important;
}
