.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.signing-dialog{border:1px solid var(--border);width:min(700px,100% - 40px);max-height:calc(100dvh - 48px);color:var(--ink);background:#fff;border-radius:24px;padding:0;box-shadow:0 28px 90px #17171c30}.signing-dialog.wide{width:min(1140px,100% - 40px)}.signing-dialog::backdrop{backdrop-filter:blur(5px);background:#17153599}.dialog-topbar{border-bottom:1px solid var(--border);z-index:3;background:#fff;align-items:center;gap:16px;padding:18px 24px;display:flex;position:sticky;top:0}.dialog-brand{letter-spacing:-.03em;white-space:nowrap;font-size:16px;font-weight:700}.document-name{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-left:auto;font-size:12px;overflow:hidden}.close-dialog{background:var(--surface);color:var(--muted);border:0;border-radius:50%;flex-shrink:0;place-items:center;width:36px;height:36px;margin-left:auto;display:grid}.dialog-content{padding:28px}.editor-section-heading{flex-direction:column;gap:10px;margin-bottom:24px;display:flex}.editor-section-heading h2,.flow-empty h2{letter-spacing:-.035em;font-size:30px;line-height:38px}.editor-section-heading>p:last-child{color:var(--muted);font-size:15px;line-height:23px}.editor-section-heading .eyebrow{letter-spacing:.08em;font-size:11px;line-height:16px}.method-tabs{background:var(--lavender);border-radius:12px;gap:4px;margin-bottom:24px;padding:5px;display:flex}.method-tabs button{color:var(--muted);background:0 0;border:0;border-radius:9px;flex:1;padding:10px;font-size:15px;line-height:22px}.method-tabs button.active{color:var(--primary);background:#fff;font-weight:700;box-shadow:0 1px 5px #17171c0a}.method-content{flex-direction:column;gap:10px;display:flex}.field-label{margin-top:4px;font-size:14px;font-weight:600;line-height:20px}.method-content input:not([type=checkbox]),.method-content select,.editor-toolbar select{color:var(--ink);background:#fff;border:1px solid #d5d4e9;border-radius:10px;width:100%;padding:12px;font-size:16px;line-height:22px}.method-content select{margin-bottom:6px}.typed-preview,.imported-preview{text-align:center;background:var(--surface);border:1px solid var(--border);overflow-wrap:anywhere;border-radius:16px;justify-content:center;align-items:center;min-height:155px;padding:24px;display:flex}.signature-placeholder{color:#838397}.drawing-surface{background:linear-gradient(#fff 73%,#e4e6ef 73% calc(73% + 1px),#fff calc(73% + 1px));border:1px solid #d5d4e9;border-radius:16px;position:relative;overflow:hidden}.drawing-surface canvas{touch-action:none;cursor:crosshair;width:100%;height:180px;display:block}.draw-hint{pointer-events:none;text-align:center;width:100%;color:var(--muted);font-size:13px;position:absolute;bottom:16px}.draw-actions{justify-content:space-between;display:flex}.text-button{color:var(--primary);cursor:pointer;background:0 0;border:0;padding:6px 0;font-size:14px;font-weight:600;line-height:22px}.text-button:hover{text-decoration:underline}.text-button:disabled{opacity:.4;cursor:default}.ink-picker{border:0;align-items:center;gap:12px;margin:20px 0 0;padding:0;display:flex}.ink-picker legend{color:var(--muted);margin-bottom:10px;font-size:13px;line-height:18px}.ink-picker button{outline:1px solid var(--border);outline-offset:0;border:3px solid #fff;border-radius:50%;width:28px;height:28px}.ink-picker button.selected{outline:2px solid var(--primary);outline-offset:2px}.ink-picker button:focus-visible{outline-offset:3px;outline:3px solid #00a8bc}.flow-actions{justify-content:space-between;align-items:center;gap:12px;margin-top:28px;display:flex}.flow-error{color:#a62920;background:#fff0ee;border-radius:10px;margin-top:16px;padding:12px 16px;font-size:14px;line-height:21px}.checkbox-label{align-items:center;gap:10px;margin-block:8px;font-size:14px;line-height:22px;display:flex}.checkbox-label input{width:18px;height:18px;accent-color:var(--primary)}.imported-preview img{object-fit:contain;max-width:100%;max-height:160px}.imported-preview{background-color:#fff;background-image:conic-gradient(#e9e9f0 25%, transparent 0 50%, #e9e9f0 0 75%, transparent 0);background-size:20px 20px}.imported-preview p{color:var(--muted);font-size:14px}.editor-toolbar{align-items:center;gap:12px;margin-bottom:20px;display:flex}.editor-toolbar label{align-items:center;gap:10px;margin-right:auto;font-size:14px;display:flex}.editor-toolbar select{width:auto;padding:10px;font-size:14px}.editor-toolbar .button{padding:11px 16px;font-size:14px}.editor-workspace{grid-template-columns:minmax(0,1fr) 210px;align-items:start;gap:24px;display:grid}.document-stage{background:#eaeaf2;border-radius:16px;max-height:52dvh;padding:24px;overflow:auto}.pdf-surface{background:#fff;width:100%;margin-inline:auto;position:relative;box-shadow:0 3px 16px #17171c14}.pdf-surface>canvas{cursor:crosshair;width:100%;height:100%;display:block}.page-loading{color:var(--muted);text-align:center;background:#fff;place-items:center;padding:24px;font-size:14px;display:grid;position:absolute;inset:0}.signature-overlay{cursor:grab;touch-action:none;background:0 0;border:1px dashed #0000;min-width:0;min-height:0;padding:0;position:absolute}.signature-overlay:hover{border-color:#9b98da}.signature-overlay.selected{border:1px solid var(--primary);box-shadow:0 0 0 3px #302bb415}.signature-overlay:active{cursor:grabbing}.signature-overlay img{pointer-events:none;object-fit:fill;width:100%;height:100%;display:block}.placement-controls{flex-direction:column;gap:14px;display:flex}.placement-controls h3{font-size:16px;line-height:22px}.signature-thumb{background:var(--lavender);border-radius:12px;place-items:center;min-height:80px;padding:16px;display:grid}.signature-thumb img{object-fit:contain;max-width:100%;max-height:90px}.placement-controls input[type=range]{width:100%;accent-color:var(--primary)}.control-help{color:var(--muted);font-size:13px;line-height:20px}.danger{color:#b42318}.placement-count{color:var(--muted);border-top:1px solid var(--border);padding-top:16px;font-size:12px}.flow-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:18px;min-height:320px;padding:32px 0;display:flex}.flow-empty>p{color:var(--muted);overflow-wrap:anywhere;max-width:420px;font-size:15px;line-height:23px}.flow-empty>.flow-error{color:#a62920}.flow-empty .flow-actions{margin-top:10px}.success-mark{background:var(--lavender);width:64px;height:64px;color:var(--primary);border-radius:50%;place-items:center;display:grid}.spinner{border:3px solid var(--lavender);border-top-color:var(--primary);border-radius:50%;width:32px;height:32px;animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=700px){.signing-dialog,.signing-dialog.wide{border-radius:20px;width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.dialog-topbar{flex-wrap:wrap;gap:8px;padding:14px 16px}.dialog-brand{font-size:14px}.document-name{order:3;width:100%;font-size:12px}.dialog-content{padding:20px 16px}.editor-section-heading h2,.flow-empty h2{font-size:26px;line-height:32px}.editor-section-heading{margin-bottom:20px}.flow-actions{flex-wrap:wrap}.flow-actions .button{flex:1;padding:13px 14px;font-size:14px}.editor-toolbar{flex-wrap:wrap;gap:8px}.editor-toolbar label{width:100%}.editor-toolbar .button{flex:1}.editor-workspace{flex-direction:column;gap:20px;display:flex}.document-stage{width:100%;max-height:52dvh;padding:12px}.placement-controls{grid-template-columns:1fr 1fr;align-items:center;gap:12px;width:100%;display:grid}.placement-controls .signature-thumb{grid-area:2/1/5}.placement-controls>h3{grid-column:1/-1}.placement-controls .control-help{grid-column:2;font-size:12px;line-height:18px}.placement-controls .field-label{margin-top:0}.placement-controls .placement-count{grid-column:1/-1}.flow-empty{min-height:280px;padding:16px 0}.method-content input[type=file]{font-size:13px}.typed-preview{min-height:140px;padding:16px}.flow-empty .flow-actions{width:100%}.flow-empty .flow-actions .button{flex-basis:100%}}.ink-preservation{flex-direction:column;gap:10px;margin-top:16px;display:flex}.ink-preservation small{color:var(--muted);font-size:12px;font-weight:400;line-height:1.5}.ink-preservation input[type=range]{width:100%;accent-color:var(--primary)}.original-preview{background:var(--surface);border-radius:12px;margin:18px 0;padding:16px}.original-preview p{color:var(--muted);margin-bottom:10px;font-size:12px}.original-preview img{object-fit:contain;width:100%;max-height:180px;display:block}
/*$vite$:1*/