body:has(#mapa-form[open]) {
  overflow: hidden;
}

#mapa-form {
  width: min(550px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #2f2e1d;
}

#mapa-form::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

.mapa-form-shell {
  position: relative;
  padding-top: 36px;
}

.mapa-form-close {
  position: absolute;
  top: 0;
  right: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: inherit;
  font: 28px/1 system-ui, sans-serif;
  cursor: pointer;
}

.mapa-form-close:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -4px;
}

