/* Shared form styles stay inside .esf; the caller owns the surrounding page. */
.esf{--esf-ink:#17223b;--esf-muted:#4c5970;--esf-accent:#4930a8;--esf-border:#c8cede;color:var(--esf-ink);background:#fff;border:1px solid #e0e3ec;border-radius:24px;padding:clamp(22px,4vw,36px);width:100%;max-width:560px;box-sizing:border-box;font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.esf *,.esf *::before,.esf *::after{box-sizing:border-box}
.esf [hidden]{display:none!important}
.esf .esf__title{font-size:clamp(25px,4vw,34px);font-weight:700;letter-spacing:-.03em;line-height:1.15;margin:0 0 16px;color:var(--esf-ink)}
.esf .esf__intro{margin:0 0 22px;color:var(--esf-muted);font-size:15px}
.esf .esf__progress{font-size:13px;font-weight:650;color:var(--esf-accent);margin:0 0 18px}
.esf .esf__step{min-width:0;border:0;margin:0;padding:0}
.esf .esf__step+.esf__step{margin-top:22px}
.esf .esf__legend{font-size:17px;font-weight:650;padding:0;margin-bottom:14px}
.esf .esf__field{margin:0 0 16px}
.esf .esf__field>label{display:block;margin-bottom:6px;font-weight:600;font-size:14px;color:var(--esf-ink)}
.esf .esf__optional{font-weight:400;color:var(--esf-muted)}
.esf .esf__field>input{appearance:none;display:block;width:100%;height:auto;min-height:48px;border:1px solid var(--esf-border);border-radius:10px;background:#fff;color:var(--esf-ink);font:inherit;font-size:16px;line-height:1.4;padding:12px 14px;margin:0;box-shadow:none}
.esf .esf__field>input::placeholder{color:#68738a;opacity:1}
.esf .esf__hint{font-size:12px;line-height:1.5;color:var(--esf-muted);margin:6px 0 0}
.esf .esf__check{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.5;font-weight:400;margin:0;color:var(--esf-muted)}
.esf .esf__check>input{appearance:auto;flex:0 0 18px;width:18px;height:18px;min-height:0;padding:0;margin:2px 0 0;accent-color:var(--esf-accent)}
.esf .esf__consent{margin:20px 0}
.esf a{color:var(--esf-accent);text-decoration:underline;text-underline-offset:3px}
.esf .esf__button{appearance:none;display:block;width:100%;min-height:48px;padding:12px 18px;border:1px solid var(--esf-accent);border-radius:11px;background:var(--esf-accent);color:#fff;font:inherit;font-size:15px;font-weight:650;line-height:1.4;text-align:center;cursor:pointer;white-space:normal}
.esf .esf__button:hover{background:#392486;border-color:#392486}
.esf .esf__button--secondary{color:var(--esf-accent);background:#fff}
.esf .esf__button--secondary:hover{background:#f1eefb;color:#392486}
.esf .esf__button:disabled{opacity:.7;cursor:wait}
.esf input:focus,.esf button:focus-visible,.esf a:focus-visible{outline:3px solid #8a76d6;outline-offset:3px}
.esf .esf__actions{display:flex;gap:10px}
.esf .esf__actions>[data-esf-back]{flex:0 0 100px}
.esf .esf__signin{font-size:14px;margin:20px 0 0;color:var(--esf-muted)}
.esf .esf__email-ack{background:#f4f1fd;border:1px solid #d4caef;border-radius:12px;padding:14px;margin:0 0 18px;font-size:13px}
.esf .esf__email-ack>p{margin:0 0 10px}
.esf .esf__dialog:not([open]){display:none}
.esf .esf__dialog{position:fixed;inset:0;margin:auto;width:calc(100% - 32px);max-width:480px;max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #d4caef;border-radius:20px;padding:28px;background:#fff;color:var(--esf-ink);font:inherit;box-shadow:0 24px 80px #17223b33}
.esf .esf__dialog::backdrop{background:#17223b99}
.esf .esf__dialog h3{font-size:23px;line-height:1.25;margin:0 0 14px}
.esf .esf__dialog p{font-size:15px;margin:0 0 22px}
.esf .esf__dialog-actions{display:flex;gap:10px}
.esf--compact .esf__title{font-size:clamp(25px,3.2vw,32px)}
@media(max-width:380px){.esf{padding:20px 16px;border-radius:18px}.esf .esf__actions,.esf .esf__dialog-actions{flex-direction:column}.esf .esf__actions>[data-esf-back]{flex:auto}.esf .esf__dialog{padding:22px 18px}}
@media(prefers-reduced-motion:reduce){.esf *{scroll-behavior:auto!important}}
