dialog.contact-confirmation {
  width: min(32rem, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100svh - 2rem);
  overflow-y: auto;
  margin: auto;
  padding: 32px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: #0a1128;
  box-shadow: 0 20px 60px #0023332b;
}

.contact-confirmation::backdrop { background: #0a112899; backdrop-filter: blur(5px); }
.contact-confirmation-icon { display: grid; width: 48px; height: 48px; margin-bottom: 20px; place-items: center; border-radius: 50%; background: #d8f8ec; color: #087a55; font-size: 26px; font-weight: 700; }
.contact-confirmation h2 { margin: 0 0 10px; font-size: 28px; line-height: 1.15; letter-spacing: -.03em; }
.contact-confirmation > p { margin: 0 0 28px; color: #496772; font-size: 16px; line-height: 1.5; }
.contact-confirmation h3 { margin: 0 0 12px; font-size: 16px; font-weight: 700; }
.contact-confirmation-details { margin: 0; padding: 0 16px; border: 1px solid #d9e4e8; border-radius: 12px; }
.contact-confirmation-details > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 12px 0; font-size: 14px; line-height: 1.45; }
.contact-confirmation-details > div + div { border-top: 1px solid #e8eef0; }
.contact-confirmation-details dt { color: #496772; }
.contact-confirmation-details dd { min-width: 0; margin: 0; font-weight: 600; overflow-wrap: anywhere; white-space: pre-wrap; }
.contact-confirmation-details .contact-confirmation-message { display: block; }
.contact-confirmation-message dd { margin-top: 6px; font-weight: 500; }
.contact-confirmation-done { width: 100%; margin-top: 24px; }

@media (max-width: 480px) {
  dialog.contact-confirmation { padding: 24px 20px; }
  .contact-confirmation-details > div { grid-template-columns: 95px minmax(0, 1fr); }
}
