.property-modal-overlay {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
}

.property-modal-panel {
  min-height: 0;
  height: 100%;
  max-height: 100%;
}

.property-modal-header {
  flex-shrink: 0;
  gap: 16px;
  padding-top: max(16px, env(safe-area-inset-top));
}

.property-modal-header > div { min-width: 0; }

#close-property-modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  color: #fff;
}

.property-modal-content {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: env(safe-area-inset-bottom);
}
