.dialog-backdrop:not(:where(.invitation-preview-dialog)) {
  z-index: 1400;
  background: #0f1e2594;
  place-items: center;
  padding: 24px;
  display: grid;
  position: fixed;
  inset: 0;
}
.dialog-backdrop:not(:where(.invitation-preview-dialog)) > .dialog {
  box-sizing: border-box;
  border: 1px solid var(--border, #d6dede);
  width: min(960px, 100%);
  max-width: 100%;
  max-height: calc(100dvh - 48px);
  color: var(--ink-800, #17313a);
  background: #fff;
  border-radius: 14px;
  outline: none;
  flex-direction: column;
  display: flex;
  overflow: hidden;
  box-shadow: 0 20px 65px #0000003d;
}
.dialog > header {
  border-bottom: 1px solid var(--border, #d6dede);
  flex: none;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  display: flex;
}
.dialog > header h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
}
.dialog > header > button {
  color: #26444c;
  cursor: pointer;
  background: #eff4f4;
  border: 0;
  border-radius: 8px;
  flex: none;
  width: 44px;
  height: 44px;
  font-size: 24px;
}
.dialog:not(:where(.invitation-preview-dialog > .dialog)) > .dialog-body {
  overscroll-behavior: contain;
  min-height: 0;
  padding: 20px;
  overflow: auto;
}
@media (max-width: 600px) {
  .dialog-backdrop:not(:where(.invitation-preview-dialog)) {
    padding: 12px;
  }
  .dialog-backdrop:not(:where(.invitation-preview-dialog)) > .dialog {
    max-height: calc(100dvh - 24px);
  }
  .dialog > header {
    padding: 10px 14px;
  }
  .dialog > .dialog-body {
    padding: 14px;
  }
}
