/* Full-screen scrims use a solid tint to avoid sampling other composited layers. */
@layer orange-admin-modal-backdrops {
  :is(
    .password-stepup-overlay,
    .orange-ui-layer,
    .orange-web-update__backdrop,
    .el-overlay,
    .sp-mask,
    .ma-mask,
    .coach-schedule-mask,
    .cap-mask,
    .cap-attendance-adjust-mask,
    .cap-review-mask,
    .cap-config-mask,
    .marketing-drawer-mask,
    .mlp-mask,
    .pap-backdrop,
    .sc-dialog-overlay,
    .tap-backdrop
  ),
  .svc-dialog::backdrop {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  /* Keep the scrim static while the confirmation dialog enters. */
  .password-stepup-overlay {
    animation: none !important;
  }

  /* The top confirmation provides the tint while the underlying dialog stays open. */
  html.password-stepup-open :is(.sp-mask, .orange-ui-layer) {
    background-color: transparent !important;
  }
}
