:root{color-scheme:light;--ink:#17202a;--muted:#687583;--line:#dfe5ea;--brand:#155eef;--soft:#f5f8fb}*{box-sizing:border-box}body{margin:0;background:var(--soft);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input{font:inherit}button{cursor:pointer;border:0;border-radius:10px;padding:.75rem 1rem;font-weight:700;background:var(--brand);color:#fff}button.secondary{background:#fff;color:var(--ink);border:1px solid var(--line)}button:disabled{opacity:.45;cursor:not-allowed}.shell{max-width:1100px;margin:0 auto;padding:1rem}.card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:1.25rem;box-shadow:0 5px 18px #15243a0b}.hero{margin:1rem auto;max-width:720px}.muted{color:var(--muted)}.row{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap}.between{justify-content:space-between}.stack{display:grid;grid-gap:1rem;gap:1rem}.document{margin:1rem 0;overflow-x:auto}.page{position:relative;max-width:760px;margin:0 auto;background:#fff;box-shadow:0 2px 12px #15243a20;isolation:isolate}.page canvas{display:block;width:100%;height:auto;pointer-events:none}.field{position:absolute;z-index:3;pointer-events:auto;border:2px solid #155eef;background:#155eef18;border-radius:5px;display:flex;align-items:center;padding:2px;overflow:hidden;font-size:clamp(9px,1.4vw,14px);color:#0b3b95}.field.required:after{content:"*";color:#d92d20;margin-left:2px}.field.done{border-color:#12b76a;background:#12b76a18}.field button{padding:0;background:transparent;color:inherit;width:100%;height:100%;font-size:inherit;text-align:left}.field button img{display:block;max-width:100%;max-height:100%;object-fit:contain}.field input[type=checkbox]{flex:0 0 auto;width:22px;height:22px;margin:0;accent-color:#12b76a;cursor:pointer}.field.checkbox-field{overflow:visible;padding:0}.field.checkbox-field .checkbox-control{position:absolute;inset:-11px;box-sizing:border-box;width:auto;height:auto;min-width:44px;min-height:44px;padding:11px;border-radius:10px;cursor:pointer}.field.checkbox-field .checkbox-control:focus-within{outline:3px solid #84adff;outline-offset:2px}.field.checkbox-field .checkbox-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.zoom-button{padding:.35rem .6rem;min-width:44px;min-height:44px}.document-heading{margin-bottom:1rem}.document-heading h2{margin-bottom:.25rem}.document-heading p{margin:0;font-size:.9rem}.page-navigation{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-top:1.25rem}.page-navigation button{min-height:48px}.field-actions{display:grid;grid-gap:.6rem;gap:.6rem;margin-top:1.25rem}.field-actions h3{margin:0;font-size:1rem}.field-action{display:flex;justify-content:space-between;align-items:center;gap:.75rem;width:100%;min-height:52px;text-align:left}.field-action strong{color:#0b3b95;font-size:.85rem;white-space:nowrap}.next-field{min-height:52px}.consent-row{align-items:flex-start;padding:.75rem 0}.consent-row input{width:24px;height:24px;margin:0;flex:0 0 auto}.review-card{display:grid;grid-gap:.5rem;gap:.5rem;border:1px solid var(--line);border-radius:12px;padding:1rem}.review-card h2,.review-card p{margin:0}.review-card button{margin-top:.5rem}.acceptance-sheet{width:min(520px,100%)}.acceptance-sheet h2,.acceptance-sheet p{margin:0}.acceptance-sheet button{min-height:52px}.field label{display:flex;align-items:center;width:100%;height:100%;min-width:0;gap:.25rem}.progress{height:8px;border-radius:4px;background:#e8eef5;overflow:hidden}.progress i{display:block;height:100%;background:var(--brand)}.signature-modal{position:fixed;inset:0;background:#17202a99;display:grid;place-items:center;padding:1rem;z-index:5;overflow-y:auto}.signature-modal .card{width:min(560px,100%);max-height:calc(100dvh - 2rem);overflow-y:auto}.draw{width:100%;height:220px;border:1px dashed #98a2b3;background:#fff;touch-action:none}.draw,.notice{border-radius:8px}.notice{padding:.75rem;background:#fff6ed;color:#9c2c00}.success{padding:1rem;border-radius:10px;background:#ecfdf3;color:#067647}@media (max-width:600px){.shell{padding:.75rem}.card{padding:1rem}.hero{margin:.5rem auto}.actions{position:-webkit-sticky;position:sticky;bottom:0;background:#ffffffeb;margin:0 -1rem -1rem;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:.75rem .75rem max(.75rem,env(safe-area-inset-bottom))}.actions button{width:100%;min-height:52px}.page-navigation{flex-wrap:wrap}.page-navigation button{flex:1 1 120px}.page-navigation span{order:-1;flex-basis:100%;text-align:center}.signature-modal{align-items:end;padding:0}.signature-modal .card{width:100%;max-height:92dvh;border-radius:20px 20px 0 0}.draw{height:240px}}