/* Même centrage pour toutes les pages ouvertes depuis les cartes. */
dialog[open] {
  position: fixed !important;
  inset: 0 !important;
  margin: auto !important;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  box-sizing: border-box;
}

@media (max-width: 620px) {
  dialog[open] {
    max-width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
  }
}
