.lead-captcha-layer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}
.lead-captcha-layer[hidden] { display: none !important; }
.lead-captcha-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 24, 46, .58);
  backdrop-filter: blur(5px);
}
.lead-captcha-panel {
  position: relative;
  width: min(420px, 100%);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 20px;
  color: var(--ink, #102f54);
  background: #fff;
  box-shadow: 0 28px 80px rgba(5, 31, 61, .28);
}
.lead-captcha-panel h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.35; }
.lead-captcha-panel > p { margin: 0 0 20px; color: var(--muted, #647790); font-size: 13px; line-height: 1.7; }
.lead-captcha-entry { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 10px; }
.lead-captcha-entry input {
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid var(--line, #d8e1eb);
  border-radius: 10px;
  color: var(--ink, #102f54);
  background: #f8fbfe;
  font: inherit;
}
.lead-captcha-entry img {
  width: 132px;
  height: 46px;
  border: 1px solid var(--line, #d8e1eb);
  border-radius: 10px;
  object-fit: contain;
  cursor: pointer;
}
.lead-captcha-error { min-height: 20px; margin: 8px 0 0; color: #b42318; font-size: 12px; }
.lead-captcha-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.lead-captcha-actions button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line, #d8e1eb);
  border-radius: 10px;
  color: var(--ink, #102f54);
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.lead-captcha-actions [data-lead-captcha-confirm] { border-color: var(--brand-700, #155895); color: #fff; background: var(--brand-700, #155895); }
.lead-form-feedback { margin: 10px 0 0; font-size: 13px; line-height: 1.6; }
.lead-form-feedback.is-error { color: #b42318; }
.lead-form-feedback.is-success { color: #087443; }
body.lead-captcha-open { overflow: hidden; }
@media (max-width: 520px) {
  .lead-captcha-panel { padding: 22px; }
  .lead-captcha-entry { grid-template-columns: 1fr; }
  .lead-captcha-entry img { width: 100%; }
}
