/* Restore native top-layer centering after the shared stylesheet's margin reset.
   Inset + auto margins keep the viewport center stable as content changes size,
   without replacing each dialog's entrance animation or internal layout. */
dialog:modal {
  position: fixed !important;
  inset: 0 !important;
  margin: auto !important;
}
