.lead-step[hidden]{display:none}
.lead-step{position:relative;z-index:3;background:#fff;overflow-y:auto;padding:0}
.lead-step form{width:100%;margin:0}
.lead-step h2{font-size:1.35rem;line-height:1.25;color:#172721;margin:0 0 10px;letter-spacing:-.02em}
.lead-step p{font-size:.9rem;line-height:1.5;margin:0 0 20px;color:#607369}
.lead-step label{display:block;font-weight:600;font-size:.88rem;margin-bottom:7px}
.lead-step input[type=text],.lead-step input[type=tel]{font:inherit;font-size:1rem;min-height:44px;padding:10px 12px;width:100%;border:1px solid #d2ded8;border-radius:6px;margin-bottom:16px;background:#fff;color:#172721}
.lead-phone-field{display:flex;align-items:center;border:1px solid #d2ded8;border-radius:6px;margin-bottom:18px;min-height:44px}
.lead-prefix{flex:none;padding:0 12px;color:#607369;border-right:1px solid #e2e9e5;font-size:.95rem}
.lead-step .lead-phone-field input{border:0;margin:0;min-width:0;background:transparent}
.lead-step .lead-permission{display:flex;gap:9px;align-items:flex-start;font-size:.77rem;font-weight:400;line-height:1.5;color:#607369;margin-bottom:18px}
.lead-permission input{flex:none;width:16px;height:16px;margin:2px 0 0;accent-color:#12764f}
.lead-step a{color:#126544;text-decoration:underline}
.lead-step .cta{width:100%;margin:0;min-height:45px;font-size:.94rem;box-shadow:none;padding:12px 16px}
.lead-step button:disabled{opacity:.6;cursor:wait}
.lead-step .lead-error{margin:14px 0 0;color:#962045;font-size:.85rem}
.lead-step .lead-honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.lead-step .lead-error[hidden],.booking-lock[hidden]{display:none}
.booking-calendar,.booking-calendar-content{display:flex;flex-direction:column;min-width:0;min-height:0;flex:1;position:relative}
.booking-calendar:focus,.lead-step h2:focus{outline:none}
.dialog.lead-locked{display:grid;grid-template-columns:minmax(245px,300px) minmax(0,1fr);gap:24px;width:min(100%,990px);height:min(550px,calc(100dvh - 40px));padding:42px 24px 24px;border-radius:12px}
.lead-locked .lead-step{align-self:center;max-height:100%;padding:3px}
.lead-locked .close{z-index:4;top:8px;right:9px;font-size:1.55rem;background:transparent;color:#566961}
.lead-locked .booking-calendar{border:1px solid #dce7e1;border-radius:10px;background:#f5f9f7;overflow:hidden}
.lead-locked .booking-calendar-content{opacity:.56;pointer-events:none;user-select:none}
.lead-locked .cal-fallback{display:none}
.booking-lock{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;background:#edf5f128;padding:10px;cursor:not-allowed}
.booking-lock span{display:inline-flex;align-items:center;gap:7px;background:#f7fbf9;border:1px solid #cbddd4;box-shadow:0 2px 9px #153f3412;border-radius:20px;color:#315746;padding:8px 12px;font-size:.8rem;font-weight:650}
.lead-step input:focus-visible{outline:2px solid #148156;outline-offset:2px}
@media(max-width:740px){
  .modal:has(.lead-locked){padding:12px;align-items:center;place-items:center}
  .dialog.lead-locked{display:flex;flex-direction:column;gap:16px;width:min(100%,460px);height:auto;max-height:calc(100dvh - 24px);overflow-y:auto;padding:34px 16px 16px;overscroll-behavior:contain}
  .lead-locked .lead-step{flex:none;align-self:stretch;max-height:none;overflow:visible}
  .lead-locked .lead-step h2{font-size:1.22rem;margin-bottom:6px}
  .lead-locked .lead-step p{margin-bottom:12px}
  .lead-locked .lead-step input[type=text]{margin-bottom:11px}
  .lead-locked .lead-phone-field,.lead-locked .lead-permission{margin-bottom:12px}
  .lead-locked .booking-calendar{flex:0 0 290px}
}
