$("#wNext").onclick = next; renderStep(); } function closeModal() { const x = $(".modal-back.open .x-btn"); if (x) x.click(); } function stopWizardWatch() {} function renderStepsBar() { $("#wSteps").innerHTML = STEPS.map((s, i) => { const n = i + 1; const cls = n === step ? "active" : (n < step ? "done" : ""); return `