/*!
 * Clarity Console: keep Froala popups above other editors on the same page.
 *
 * Link/image popups are attached to the toolbar inside .fr-box, so raising only
 * the popup z-index cannot beat a later sibling editor. Raise the whole .fr-box
 * while that editor has an open popup or toolbar dropdown.
 */

.fr-box:has(.fr-popup.fr-active:not(.fr-hidden)),
.fr-box:has(.fr-command.fr-btn.fr-active.fr-dropdown),
.fr-box.clarity-froala-raised {
	z-index: 2147483647 !important;
}

.fr-popup.fr-active,
.fr-popup.fr-above.fr-active {
	z-index: 2147483647 !important;
}

.fr-modal {
	z-index: 2147483647 !important;
}

.fr-overlay {
	z-index: 2147483646 !important;
}

.fr-toolbar.fr-inline.fr-active {
	z-index: 2147483647 !important;
}
