/* The registration popup: the theme's .popup look inside a <dialog> that t.js opens and closes. */
.lead-dialog{border:0;padding:0;margin:auto;background:transparent;width:min(560px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);overflow:visible}
.lead-dialog::backdrop{background:rgba(0,0,0,.72)}
.lead-dialog .popup{position:relative;display:block;max-height:calc(100dvh - 32px);overflow:auto;border-radius:24px}
.lead-dialog__close{position:absolute;top:10px;right:12px;z-index:2;width:36px;height:36px;border:0;background:transparent;font-size:30px;line-height:1;color:#555;cursor:pointer}
.lead-dialog .input input{width:100%;box-sizing:border-box}
.lead-form__error{margin:8px 0 0;color:#c0392b;font-size:14px;text-align:center}
.lead-form[aria-busy="true"] .btn{opacity:.7;pointer-events:none}
.lead-dialog .popup__title{padding-right:28px}
