/* Manual popovers participate in the browser's top layer above modal backdrops. */
.toast.modal-notice[popover] {
  inset: auto;
  left: calc(50% + 60px);
  bottom: 24px;
  margin: 0;
  overflow: visible;
}
.toast.modal-notice.is-in-modal[popover] {
  bottom: auto;
  top: 12px;
  left: 50%;
}
.toast.modal-notice::backdrop { background: transparent; pointer-events: none; }
.toast.modal-notice > span { min-width: 0; overflow-wrap: anywhere; }
.toast.modal-notice > button { flex-shrink: 0; }
.toast.modal-notice.is-in-modal.is-inline {
  position: relative;
  inset: auto;
  transform: none;
  margin: 12px auto;
}
