.lead-captcha {
  width: min(420px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  overflow: auto;
  padding: 24px;
  border: 0;
  border-radius: 12px;
  color: #293337;
  background: #fff;
  font: 16px/1.5 Arial, sans-serif;
  box-sizing: border-box;
}
.lead-captcha::backdrop { background: rgba(0, 0, 0, .6); }
.lead-captcha h2 { margin: 0 0 12px; font-size: 22px; line-height: 1.3; }
.lead-captcha p { margin: 0 0 12px; }
.lead-captcha img { display: block; max-width: 100%; object-fit: contain; margin: 0 auto 12px; }
.lead-captcha img[hidden] { display: none; }
.lead-captcha label { display: block; margin: 16px 0 6px; }
.lead-captcha input {
  display: block;
  width: 100%;
  height: 48px;
  padding: 8px 12px;
  border: 1px solid #677482;
  border-radius: 4px;
  box-sizing: border-box;
  font: 24px/1.2 monospace;
  text-transform: uppercase;
  letter-spacing: 6px;
}
.lead-captcha button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #1658bb;
  border-radius: 4px;
  background: #fff;
  color: #1658bb;
  cursor: pointer;
  font: inherit;
}
.lead-captcha button:disabled { opacity: .5; cursor: wait; }
.lead-captcha .lead-captcha-error { margin-top: 12px; color: #a12620; }
.lead-captcha-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.lead-captcha .lead-captcha-submit { color: #fff; background: #1658bb; }
.lead-captcha :focus-visible { outline: 3px solid #1658bb; outline-offset: 3px; }
