/* V213 — compact lead modal + restrained success state */
body[data-v213="true"] .modal-dialog{
  width:min(760px,calc(100vw - 32px));
  max-height:calc(100dvh - 28px);
  overflow-y:auto;
  padding:24px 30px 22px!important;
  border-radius:24px!important;
}
body[data-v213="true"] .modal-dialog .modal-close{top:14px!important;right:14px!important}
body[data-v213="true"] .modal-dialog [data-lead-form-view]>.eyebrow{margin:0 52px 7px 0!important}
body[data-v213="true"] .modal-dialog [data-lead-form-view]>h2{margin:0 50px 6px 0!important;font-size:38px!important;line-height:1.02!important}
body[data-v213="true"] .modal-dialog [data-lead-form-view]>p:not(.eyebrow){margin:0 0 8px!important;font-size:13.5px!important;line-height:1.42!important;max-width:620px}
body[data-v213="true"] .modal-dialog .form-trust-v210{margin:6px 0 12px!important;gap:8px 15px!important;font-size:12px!important}
body[data-v213="true"] .modal-dialog form[data-lead-form]{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px 14px!important;align-items:start}
body[data-v213="true"] .modal-dialog form[data-lead-form]>label{margin:0!important;gap:5px!important;font-size:12.5px!important}
body[data-v213="true"] .modal-dialog form[data-lead-form] input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
body[data-v213="true"] .modal-dialog form[data-lead-form] textarea{min-height:48px!important;height:48px!important;padding:10px 13px!important;border-radius:12px!important;font-size:14px!important}
body[data-v213="true"] .modal-dialog .phone-control-v210{min-height:48px!important;height:48px!important}
body[data-v213="true"] .modal-dialog .phone-control-v210 input[data-phone-local]{min-height:46px!important;height:46px!important}
body[data-v213="true"] .modal-dialog .phone-prefix-v210{min-width:54px!important;font-size:16px!important}
body[data-v213="true"] .modal-dialog .contact-preference-v111{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin:0!important;padding:0!important}
body[data-v213="true"] .modal-dialog .contact-preference-v111 legend{grid-column:1/-1!important;margin:0 0 1px!important;font-size:12.5px!important}
body[data-v213="true"] .modal-dialog .contact-preference-v111 span{min-height:42px!important;padding:7px 8px!important;font-size:12px!important;line-height:1.15!important;text-align:center!important;white-space:normal!important}
body[data-v213="true"] .modal-dialog .contact-method-hint-v211{grid-column:1/-1!important;margin:-1px 0 0!important;font-size:11.5px!important;line-height:1.35!important}
body[data-v213="true"] .modal-dialog .lead-extra-v80{margin:0!important;align-self:end}
body[data-v213="true"] .modal-dialog .lead-extra-v80 summary{min-height:48px!important;padding:12px 13px!important;font-size:12px!important;display:flex!important;align-items:center!important}
body[data-v213="true"] .modal-dialog .lead-extra-v80[open]{grid-column:1/-1}
body[data-v213="true"] .modal-dialog .lead-extra-v80[open] textarea{height:72px!important}
body[data-v213="true"] .modal-dialog .consent-check{grid-column:1/-1!important;margin:0!important;font-size:11.5px!important;line-height:1.3!important}
body[data-v213="true"] .modal-dialog [data-lead-submit]{grid-column:1/-1!important;min-height:50px!important;margin-top:0!important}
body[data-v213="true"] .modal-dialog .form-status{grid-column:1/-1!important;min-height:0!important;margin:0!important}
/* Success: small confirmation, one next action only */
body[data-v213="true"] .lead-success-v212{padding:6px 6px 2px!important;text-align:center!important}
body[data-v213="true"] .lead-success-v212 .lead-success-mark-v81{width:52px!important;height:52px!important;margin:0 auto 9px!important;font-size:29px!important}
body[data-v213="true"] .lead-success-v212 .eyebrow{justify-content:center!important;margin:0 0 6px!important;font-size:10px!important}
body[data-v213="true"] .lead-success-v212 h2{margin:0 0 7px!important;font-size:34px!important;line-height:1.04!important}
body[data-v213="true"] .lead-success-intro-v212{max-width:470px!important;margin:0 auto 14px!important;font-size:13.5px!important;line-height:1.42!important;color:#647186!important}
body[data-v213="true"] .lead-success-choice-v212{display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;gap:11px!important;align-items:center!important;max-width:460px!important;margin:0 auto 10px!important;padding:11px 13px!important;border:1px solid rgba(177,125,53,.18)!important;border-radius:15px!important;background:#fbf8f2!important;text-align:left!important}
body[data-v213="true"] .lead-success-choice-v212[hidden]{display:none!important}
body[data-v213="true"] .lead-success-choice-v212 img{display:block!important;width:40px!important;height:40px!important;max-width:40px!important;max-height:40px!important;object-fit:contain!important}
body[data-v213="true"] .lead-success-choice-copy-v212 strong{font-size:14px!important}
body[data-v213="true"] .lead-success-choice-copy-v212 span{font-size:12.5px!important;line-height:1.36!important}
body[data-v213="true"] .lead-success-action-v212{max-width:460px!important;min-height:48px!important;margin:0 auto 9px!important}
body[data-v213="true"] .lead-success-action-v212[hidden]{display:none!important}
body[data-v213="true"] .lead-success-phone-v212{max-width:460px!important;margin:0 auto 10px!important;padding:11px 15px!important;border-radius:15px!important}
body[data-v213="true"] .lead-success-phone-v212[hidden]{display:none!important}
body[data-v213="true"] .lead-success-phone-v212 strong{font-size:19px!important}
body[data-v213="true"] .lead-success-close-v212{min-height:44px!important;margin-top:1px!important}
@media (max-width:768px){
  body[data-v213="true"] .modal-dialog{width:calc(100vw - 18px);max-height:calc(100dvh - 12px);margin:6px auto!important;padding:18px 16px 14px!important;border-radius:20px!important}
  body[data-v213="true"] .modal-dialog [data-lead-form-view]>.eyebrow{margin-bottom:5px!important}
  body[data-v213="true"] .modal-dialog [data-lead-form-view]>h2{font-size:30px!important;margin-bottom:5px!important}
  body[data-v213="true"] .modal-dialog [data-lead-form-view]>p:not(.eyebrow){font-size:12.5px!important;line-height:1.36!important;margin-bottom:6px!important}
  body[data-v213="true"] .modal-dialog .form-trust-v210{margin:5px 0 10px!important;font-size:11px!important;gap:6px 10px!important}
  body[data-v213="true"] .modal-dialog form[data-lead-form]{grid-template-columns:1fr!important;gap:8px!important}
  body[data-v213="true"] .modal-dialog .contact-preference-v111{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  body[data-v213="true"] .modal-dialog .contact-preference-v111 span{min-height:40px!important;font-size:11.5px!important}
  body[data-v213="true"] .modal-dialog .lead-extra-v80[open]{grid-column:auto}
  body[data-v213="true"] .lead-success-v212 h2{font-size:29px!important}
  body[data-v213="true"] .lead-success-v212 .lead-success-mark-v81{width:46px!important;height:46px!important;font-size:25px!important}
  body[data-v213="true"] .lead-success-choice-v212{grid-template-columns:36px minmax(0,1fr)!important;padding:10px 12px!important}
  body[data-v213="true"] .lead-success-choice-v212 img{width:36px!important;height:36px!important;max-width:36px!important;max-height:36px!important}
}
@media (min-width:769px) and (max-height:760px){
  body[data-v213="true"] .modal-dialog{padding-top:18px!important;padding-bottom:16px!important}
  body[data-v213="true"] .modal-dialog [data-lead-form-view]>h2{font-size:32px!important}
  body[data-v213="true"] .modal-dialog [data-lead-form-view]>p:not(.eyebrow){font-size:12px!important}
  body[data-v213="true"] .modal-dialog .form-trust-v210{margin:4px 0 8px!important}
  body[data-v213="true"] .modal-dialog form[data-lead-form]{gap:7px 12px!important}
  body[data-v213="true"] .modal-dialog .contact-preference-v111 span{min-height:38px!important}
  body[data-v213="true"] .modal-dialog .phone-control-v210,
  body[data-v213="true"] .modal-dialog form[data-lead-form] input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]){min-height:44px!important;height:44px!important}
  body[data-v213="true"] .modal-dialog .lead-extra-v80 summary{min-height:44px!important}
}
