/* Only explicit appearance flags remove decoration. Unset flags keep the original CSS. */
[data-appearance-border].appearance-border-off:not(.stage-title-text),
[data-appearance-border].appearance-border-off:not(.stage-title-text) > img,
[data-appearance-border].appearance-border-off:not(.stage-title-text) > iframe {
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

/* The purple editor selection is an editing aid, not part of the quiz decoration. */
.resizable-frame:focus [data-appearance-border].appearance-border-off:not(.stage-title-text) {
  box-shadow: 0 0 0 2px #7c3aed !important;
}
