/* The whitepaper dialog shares the contact dialog's glass surfaces and layout. */
.whitepaper-dialog { width: min(900px, calc(100% - 32px)); }
.whitepaper-dialog .contact-dialog__shell { grid-template-columns: 264px minmax(0, 1fr); }
.whitepaper-dialog .contact-dialog__statement { font-size: 29px; }
.whitepaper-dialog .contact-dialog__logo { margin-block: 34px; }
.whitepaper-dialog__guide-note { margin-top: auto; color: #d3e2ee; font-size: 13px; line-height: 1.7; }
.whitepaper-dialog__guide-note > span { display: block; width: 26px; height: 2px; margin-bottom: 12px; background: #ff8a3d; }
.whitepaper-form .contact-form__actions { align-items: flex-start; flex-direction: column; gap: 12px; }
.whitepaper-form .contact-form__privacy { flex: none; max-width: 100%; }
.whitepaper-form .whitepaper-form__consent { display: grid; grid-template-columns: 19px minmax(0, 1fr); align-items: start; gap: 12px; margin: 0; padding: 15px; border: 1px solid #d2dde6; border-radius: 8px; background: #edf3f899; color: #41576a; font-size: 13px; font-weight: 400; line-height: 1.55; cursor: pointer; }
.whitepaper-form .whitepaper-form__consent input[type='checkbox'] { appearance: auto; display: block; width: 19px; height: 19px; min-width: 19px; min-height: 19px; margin: 2px 0 0; padding: 0; border-radius: 3px; accent-color: #254e76; cursor: pointer; }
.whitepaper-form__consent-heading { display: block; margin-bottom: 5px; color: #142a40; font-size: 14px; font-weight: 500; }
.whitepaper-form[aria-busy='true'] [data-whitepaper-submit] { cursor: wait; }
.whitepaper-form[aria-busy='true'] [data-whitepaper-submit]::before { content: ''; flex: 0 0 15px; width: 15px; height: 15px; border: 2px solid #41576a55; border-top-color: currentColor; border-radius: 50%; animation: contact-pending 700ms linear infinite; }
.whitepaper-success__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.whitepaper-success__actions > a { text-decoration: none; }
.whitepaper-dialog .contact-success p a { color: #254e76; text-underline-offset: 3px; }

@media (max-width: 820px) {
  .whitepaper-dialog .contact-dialog__shell { grid-template-columns: 224px minmax(0, 1fr); }
  .whitepaper-dialog .contact-dialog__statement { font-size: 27px; }
}

@media (max-width: 640px) {
  .whitepaper-dialog { width: calc(100% - 24px); }
  .whitepaper-dialog .contact-dialog__shell { grid-template-columns: minmax(0, 1fr); }
  .whitepaper-dialog .contact-dialog__statement { max-width: 350px; font-size: 25px; }
  .whitepaper-dialog__guide-note { display: none; }
  .whitepaper-dialog .contact-dialog__main { padding-top: 23px; }
  .whitepaper-dialog .contact-dialog__header { margin-bottom: 21px; }
  .whitepaper-form .whitepaper-form__consent { padding: 13px; gap: 10px; font-size: 12px; }
  .whitepaper-form .contact-form__submit { flex: none; width: 100%; }
  .whitepaper-success__actions { align-items: stretch; flex-direction: column; }
  .whitepaper-success__actions > .contact-form__submit { justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  .whitepaper-dialog *, .whitepaper-dialog::backdrop { animation: none !important; transition: none !important; }
}
