.converter-card{border:1px solid var(--border);background:#fff;border-radius:24px;min-width:0;padding:28px;box-shadow:0 8px 30px #17171c05}.converter-upload{text-align:center;background:#fafaff;border:1px dashed #c9c6e8;border-radius:18px;flex-direction:column;align-items:center;gap:16px;padding:30px 20px;display:flex}.file-symbol{letter-spacing:.07em;color:var(--primary);background:#eeedf9;border-radius:10px;padding:12px 16px;font-size:13px;font-weight:700}.file-symbol span{padding:0 12px;font-size:20px}.converter-upload h2{letter-spacing:-.035em;font-size:25px;line-height:1.2}.converter-upload p,.converter-note,.conversion-result p{color:var(--muted);font-size:14px;line-height:1.6}.converter-upload .converter-limit{max-width:390px;font-size:12px;line-height:1.7}.converter-card button:disabled{opacity:.5;cursor:not-allowed}.converter-card button:focus-visible,.converter-card input:focus-visible,.converter-card select:focus-visible{outline-offset:3px;outline:3px solid #9892e3}.converter-card .button{text-align:center;justify-content:center;min-height:46px}.converter-section-heading{justify-content:space-between;align-items:center;gap:12px;margin:28px 0 16px;display:flex}.converter-section-heading h3{font-size:16px}.converter-section-heading span,.document-summary span{color:var(--muted);font-size:13px}.image-order{flex-direction:column;gap:10px;margin:0 0 24px;padding:0;list-style:none;display:flex}.image-order li{border:1px solid var(--border);border-radius:12px;align-items:center;gap:14px;padding:12px;display:flex}.image-order img{object-fit:contain;background:#f3f2f7;border-radius:4px;flex-shrink:0;width:52px;height:64px}.image-details{flex-direction:column;flex:1;gap:7px;min-width:0;display:flex}.image-details strong{overflow-wrap:anywhere;font-size:13px}.image-details span{color:var(--muted);font-size:12px}.image-actions{gap:4px;display:flex}.image-actions button{border:1px solid var(--border);width:34px;height:38px;color:var(--primary);background:#fff;border-radius:8px;font-size:20px}.conversion-settings{border:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-width:0;margin:28px 0 14px;padding:0;display:grid}.conversion-settings.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.conversion-settings legend{margin-bottom:16px;font-size:16px;font-weight:700}.conversion-settings label{flex-direction:column;gap:10px;font-size:13px;font-weight:600;display:flex}.conversion-settings select,.conversion-settings input{width:100%;min-width:0;color:var(--ink);font:inherit;background:#fff;border:1px solid #d5d4e9;border-radius:10px;padding:12px 9px;font-size:15px}.converter-note{margin:16px 0 24px}.converter-error{color:#8a3025;background:#fff2ef;border:1px solid #eed0c8;border-radius:12px;margin:20px 0;padding:16px;font-size:14px;line-height:1.6}.job-progress{flex-direction:column;gap:16px;margin:24px 0;font-size:14px;display:flex}.job-progress progress{width:100%;accent-color:var(--primary);height:10px}.job-progress .text-button{align-self:start}.conversion-result{border-top:1px solid var(--border);flex-direction:column;align-items:start;gap:16px;margin-top:28px;padding-top:26px;display:flex}.result-label{letter-spacing:.1em;color:var(--primary);font-size:10px;font-weight:700}.conversion-result h2{letter-spacing:-.035em;font-size:28px}.conversion-actions{flex-wrap:wrap;gap:12px;display:flex}.document-summary{justify-content:space-between;align-items:start;gap:12px;padding:20px 0 0;display:flex}.document-summary strong{overflow-wrap:anywhere;min-width:0;font-size:14px}.document-summary span{flex-shrink:0}.png-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;width:100%;display:grid}.png-results article{border:1px solid var(--border);border-radius:14px;flex-direction:column;gap:12px;min-width:0;padding:14px;display:flex}.png-results img{object-fit:contain;background:#f3f3f8;border-radius:8px;width:100%;height:190px}.png-results h3{font-size:16px}.png-results p{font-size:12px}.png-results .button{width:100%;padding:10px;font-size:13px}@media (width<=760px){.converter-card{border-radius:20px;padding:18px}.converter-upload{padding:26px 14px}.converter-upload h2{font-size:22px}.conversion-settings,.conversion-settings.two-columns{grid-template-columns:1fr}.conversion-settings select,.conversion-settings input{font-size:16px}.image-order li{flex-wrap:wrap}.image-actions{margin-left:auto}.conversion-actions,.conversion-actions .button{width:100%}.png-results{grid-template-columns:1fr}}.pdf-file-order{flex-direction:column;gap:12px;margin:0 0 24px;padding:0;list-style:none;display:flex}.pdf-file-order li{border:1px solid var(--border);border-radius:14px;align-items:center;gap:14px;padding:12px;display:flex}.pdf-page-preview{background:#f1f0f7;border-radius:9px;justify-content:center;align-items:center;height:190px;display:flex;position:relative;overflow:hidden}.pdf-page-preview canvas{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:100%;box-shadow:0 2px 8px #17171c15}.pdf-page-preview span{color:var(--muted);background:#f1f0f7;place-items:center;font-size:12px;display:grid;position:absolute;inset:0}.pdf-file-order .pdf-page-preview{flex-shrink:0;width:60px;height:76px;padding:4px}.page-toolbar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.page-toolbar .button{padding:10px 16px;font-size:13px}.pdf-page-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0 26px;padding:0;list-style:none;display:grid}.pdf-page-grid li{border:1px solid var(--border);border-radius:14px;flex-direction:column;gap:12px;min-width:0;padding:12px;display:flex}.pdf-page-grid h4{font-size:15px}.page-origin{color:var(--muted);overflow-wrap:anywhere;font-size:12px;line-height:1.5}.page-position{justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.page-position select{font:inherit;border:1px solid var(--border);min-width:60px;color:var(--ink);background:#fff;border-radius:8px;padding:8px;font-size:15px}.page-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:auto;display:grid}.page-controls button{border:1px solid var(--border);min-height:40px;color:var(--primary);font:inherit;background:#fff;border-radius:8px;font-size:12px}.pdf-pages-tool>.text-button{margin-top:16px}@media (width<=760px){.pdf-file-order li{flex-wrap:wrap}.pdf-page-grid{grid-template-columns:1fr}.pdf-page-preview{height:220px}.page-position select{font-size:16px}}.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*/