/* Scoped to DELEGO: quiz and checklist retain their existing styles. */
#delegoModal{border:0;padding:0;width:min(680px,calc(100% - 32px));max-height:90vh;max-height:90dvh;color:var(--ink);background:var(--paper);border-radius:var(--radius-lg);box-shadow:0 32px 80px #0006}
#delegoModal::backdrop{background:rgba(15,18,25,.65);backdrop-filter:blur(4px)}
#delegoModal .modal-head{gap:16px}
#delegoTitle{font-family:'Fraunces',Georgia,serif;font-size:26px;line-height:1.2;margin:0}
#delegoModal .modal-body{padding:24px 32px 32px}
#delegoIntro{margin:0 0 22px;color:var(--ink-2);font-size:16px;line-height:1.5}
#delegoForm{padding:0;border:0;background:transparent}
#delegoForm textarea{resize:vertical;min-height:110px}
#delegoForm .consent{display:flex;font-weight:400;color:var(--ink-2)}
#delegoForm .consent a{color:var(--accent-dark);text-decoration:underline}
#delegoModal :focus-visible{outline:3px solid var(--accent);outline-offset:3px}
#delegoModal .delego-error{color:#7b2924;background:#fff2ee;border:1px solid #d3aaa2;border-radius:10px;padding:12px 14px;margin:0 0 18px;line-height:1.5}
#delegoModal [hidden]{display:none!important}
#delegoModal .delego-honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
#delegoModal .delego-alternative{font-size:14px;line-height:1.6;margin:20px 0 0;color:var(--ink-2);overflow-wrap:anywhere}
#delegoModal .delego-alternative a{color:var(--accent-dark);text-decoration:underline}
#delegoModal button:disabled{opacity:.65;cursor:wait}
#delegoSuccess h3{font-family:'Fraunces',Georgia,serif;font-size:30px;margin:0 0 14px}
@media(max-width:620px){#delegoModal .modal-head{padding:20px}#delegoModal .modal-body{padding:20px}#delegoTitle{font-size:23px}#delegoForm input,#delegoForm select,#delegoForm textarea{font-size:16px}}
