/* Reset only UA popover defaults; component styles keep their normal precedence. */
:where([data-mcom-layer][popover]) {
  position: fixed;
  inset: auto;
  margin: 0;
  padding: 0;
  border: 0;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  overflow: visible;
  color: inherit;
  background: transparent;
  box-sizing: border-box;
}
[data-mcom-layer] { z-index: 2147483647 !important; }
[data-mcom-layer][popover]:not(:popover-open) { display: none !important; }
[data-mcom-layer][popover]::backdrop { background: transparent; pointer-events: none; }
html body dialog.mcom-layer-fallback {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit;
  font: inherit;
  overflow: visible;
}
html body dialog.mcom-layer-fallback::backdrop { background: transparent; }
