[hidden]{display:none!important}
.toolbar{height:auto;min-height:56px;flex-wrap:wrap;padding:8px 14px}
.toolbar #status{flex:1;min-width:120px}.toolbar #status.is-approved{color:#178a45;font-weight:700}
.left{padding:18px 14px}.left-note{margin:12px 0}
.properties{display:grid;gap:16px;font-size:13px}.properties h3{margin:0;font-size:16px}.properties label{display:grid;gap:7px}.properties input,.properties select{max-width:100%;padding:7px;border:1px solid #d5dce5;border-radius:7px;background:white}.properties input[type=color]{appearance:none;-webkit-appearance:none;width:44px;height:44px;padding:0;border:7px solid transparent;border-radius:50%;background:linear-gradient(#fff,#fff) padding-box,conic-gradient(#ff2d2d,#ff9a00,#ffe600,#3ad100,#00c2ff,#4b4bff,#d100d1,#ff2d2d) border-box;cursor:pointer}.properties input[type=color]::-webkit-color-swatch-wrapper{padding:0}.properties input[type=color]::-webkit-color-swatch{border:0;border-radius:50%}.properties input[type=color]::-moz-color-swatch{border:0;border-radius:50%}
.properties .danger{color:#b42318}.properties .btn{font-size:12px}
.placed-signature{overflow:visible;resize:none;min-width:0;min-height:0;border-radius:0}
.placed-signature-image{position:absolute;inset:0;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.placed-signature.selected{border:1px solid #3188eb;outline:none}.placed-signature.selected .signature-resize-handle,.placed-signature.selected .signature-delete{opacity:1}
.placed-field.own-field{padding:0;background:transparent;border:1px solid transparent;box-shadow:none;min-width:0;min-height:0;touch-action:none}
.placed-field.own-field:hover,.placed-field.own-field.selected{border:2px solid #3188eb;outline:none}
.placed-field.own-field.selected{background:rgba(49,136,235,.12);box-shadow:0 0 0 2px rgba(49,136,235,.12)}
.field-content{display:block;width:100%;height:100%;margin:0;padding:3px;border:0;outline:none;background:transparent;color:inherit;font:inherit;line-height:1.2;resize:none;overflow:hidden;white-space:pre-wrap;cursor:text}
.field-content::placeholder{color:#7b8794}.field-checkbox .field-content{display:grid;place-items:center;cursor:pointer;font-size:24px;padding:0}
.field-move-handle{left:-10px;top:-10px}.field-resize-handle{right:-8px;bottom:-8px;width:17px;height:17px;border:2px solid #fff;border-radius:50%;background:#3188eb;box-shadow:0 0 0 1px #3188eb;font-size:0;cursor:nwse-resize;box-sizing:border-box}.field-move-handle,.field-resize-handle{opacity:0}.placed-field:hover .field-move-handle,.placed-field.selected .field-move-handle,.placed-field:hover .field-resize-handle,.placed-field.selected .field-resize-handle{opacity:1}
.palette-edit{margin-left:auto;border:0;background:transparent;color:#526475;font-size:18px;cursor:pointer;padding:4px}.palette-signature-preview{margin-left:0;flex:1;border:0;background:transparent}.signer-signature{display:none}
.field-palette-list,.field-palette-list .field-palette{min-width:0;max-width:100%}.field-palette-list .field-palette{overflow:hidden}.palette-signature-preview{min-width:0;width:60px;max-width:85px}.palette-icon,.palette-grip,.palette-edit{flex-shrink:0}.field-palette:has(.palette-signature-preview){font-size:0}.field-palette:has(.palette-signature-preview) .field-plus,.field-palette:has(.palette-signature-preview) .palette-icon{display:none}.palette-grip{font-size:19px}.palette-edit{font-size:18px}
/* Restore the original sender card and labeled signature palette. */
.signer-signature{display:flex;min-height:76px;margin-top:14px;border-radius:999px}
.field-palette-list .field-palette{min-height:64px;overflow:visible;gap:8px}
.field-palette:has(.palette-signature-preview){font-size:13px}
.field-palette:has(.palette-signature-preview) .palette-icon{display:inline-grid}
.palette-signature-preview{flex:0 1 82px;width:82px;height:48px;max-width:82px;min-width:36px;object-fit:contain;padding:3px;border:1px solid #cbd8e6;border-radius:5px;background:#fff;margin-left:auto}
.field-palette:has(.palette-signature-preview) .palette-edit{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:30px;margin-left:4px;border-radius:6px;color:#526475;font-size:19px;opacity:1;visibility:visible;flex:0 0 26px}
.field-palette-list .palette-icon{width:20px}.palette-grip{margin-right:0}
.center{min-height:0;overflow:hidden}.stage{min-height:0}.pdf-document{min-height:0}
.signature-drag-ghost.field-drag-preview{display:flex;align-items:center;justify-content:center;box-sizing:border-box;overflow:hidden;width:160px;height:52px;border:2px solid #3188eb;border-radius:4px;background:rgba(49,136,235,.12);box-shadow:0 8px 18px #17202c33;color:#171b21;font:16px "Segoe UI",Arial,sans-serif;pointer-events:none}
.signature-drag-ghost.field-drag-preview.ink-frame{background:transparent;color:#3188eb}
.signature-drag-ghost.field-drag-preview .drag-mark{box-sizing:border-box;width:26px;height:26px;border:2px solid #20252c;border-radius:3px;background:#fff;color:#20252c;font:bold 18px Arial,sans-serif;display:grid;place-items:center}
.palette-drag-float{position:fixed!important;z-index:10000!important;pointer-events:none!important;margin:0!important;opacity:.94;box-shadow:0 16px 32px #17202c55;cursor:grabbing}
.placed-drag-float{position:fixed!important;z-index:10000!important;margin:0!important;pointer-events:none!important;box-shadow:0 12px 24px #17202c33}
.field-palette.palette-drag-source{opacity:.35}
.signature-drag-ghost.field-drag-preview img{position:absolute;inset:3px;width:calc(100% - 6px);height:calc(100% - 6px);max-width:none;max-height:none;object-fit:contain;pointer-events:none}
.field-palette-list .field-palette{min-height:45px}.field-palette-list [data-tool=signature],.field-palette-list [data-tool=initials]{min-height:64px}
.zoom-controls{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);z-index:25;display:flex;align-items:center;gap:10px;background:#20252c;color:white;padding:7px 9px;border-radius:8px;font-size:12px}.zoom-controls button{background:transparent;color:white;border:1px solid #68727d;border-radius:4px;cursor:pointer;width:25px;height:25px}.zoom-controls button:disabled{opacity:.4}.center{position:relative}.pdf-document{width:max-content;min-width:100%}.pdf-page{overflow:visible}.stage{padding-bottom:75px}
@media(max-width:1000px){.layout{grid-template-columns:165px minmax(280px,1fr) 245px}.top{gap:10px;padding:0 12px}.brand{min-width:120px}.brand small{display:none}.right{padding:12px 10px}.top-actions{gap:4px}.top-actions .btn{padding:8px}.docname{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:760px){.layout{grid-template-columns:minmax(260px,1fr) 205px}.left{display:none}.top .brand{display:none}.top-actions #walletTop{display:none}.right-head h2{font-size:17px}.field-palette-list .field-palette{font-size:12px;padding:6px;gap:3px}.sender-card .field-palette-list{padding-top:8px}.signer.sender-card{padding:8px}}

/* Header actions moved into the PDF toolbar. */
.toolbar #status{flex:1;min-width:48px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toolbar .top-actions{gap:6px;flex-shrink:0}.toolbar .top-actions .btn{padding:8px 10px;white-space:nowrap}

.btn.yellow{background:#ffe34a;color:#20252c;border:0}.btn.yellow:hover{background:#f5d92e}

.field-palette-list [data-tool=initials] .palette-icon{width:auto;min-width:28px;white-space:nowrap;flex:0 0 auto}

.stage{padding:20px}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-width:none;min-height:100%;margin:0;padding:32px;background:#f8fafc;border:2px dashed #b9c7d6;border-radius:16px;box-shadow:none;transition:background .15s,border-color .15s}.empty[hidden]{display:none}.stage.file-dragover .empty{background:#fff8c9;border-color:#e3c52f;border-style:solid}.stage.file-dragover{background:#fffbea}.drop-instructions{font-size:16px}

/* Compact, wide PDF drop target inspired by the supplied reference. */
.empty{height:300px;min-height:300px;padding:26px 32px;background:#d456d6;border:2px solid #df69e1;border-radius:8px;color:#fff;outline:1px dashed #fff9;outline-offset:-11px}.empty h1{color:#fff;font-size:26px;margin:10px 0}.empty p{color:#fff;margin:8px 0 14px;max-width:520px}.stage.file-dragover .empty{background:#c844cf;border-color:#bc34c4;outline-color:#fff}.stage{padding:20px}

.placed-field.own-field{cursor:move}.placed-field.own-field .field-content{cursor:move}.field-move-handle{display:none}.field-delete{position:absolute;z-index:5;right:-12px;top:-26px;width:24px;height:24px;border:1px solid #d4dce5;border-radius:50%;background:#fff;color:#b42318;font-size:17px;line-height:20px;cursor:pointer;opacity:0;box-shadow:0 1px 4px #0002}.placed-field:hover .field-delete,.placed-field.selected .field-delete{opacity:1}.field-checkbox .field-content{width:100%;height:100%;padding:0;border:1px solid #20252c;border-radius:2px;background:#fff;color:#20252c;font:bold 18px Arial,sans-serif}

.field-checkbox .field-content{box-sizing:border-box;border:2px solid currentColor!important;border-radius:3px;background:transparent!important;box-shadow:none!important;cursor:pointer!important;color:inherit;font-size:21px;line-height:1!important;appearance:none}

.field-checkbox.own-field{display:grid;place-items:center}.field-checkbox .field-content{width:26px;height:26px;min-width:12px;min-height:12px}

#signerList{display:grid;gap:6px;min-width:0}.signer{min-width:0;overflow:hidden}.signer-field-row{display:flex;align-items:center;gap:6px;margin-top:8px;min-width:0}.signer-signature-placeholder{flex:1;min-width:0;cursor:grab}.signer-field-edit{flex:0 0 30px;height:32px;border:1px solid #d5dce5;border-radius:7px;background:#fff;color:#526475;font-size:19px;cursor:pointer}.signer-field-edit:hover{background:#fff1f0;color:#b42318}.signer-placeholder-add{width:100%;padding:8px;border:1px dashed #b8c7d8;border-radius:8px;background:#f8fafc;color:#526475;cursor:pointer}.signer-list-compact .signer,#signerList.compact .signer{padding:8px;font-size:12px}.signer-list-compact .signer-field-row .field-palette,#signerList.compact .signer-field-row .field-palette{min-height:38px;padding:5px 9px}
.signer{position:relative;padding:8px 10px;margin:0;border-color:#e1e6ed;border-radius:10px}.signer.selected{border-color:#e1e6ed;box-shadow:none}.signer-details-edit{float:right;width:26px;height:26px;padding:0;border:1px solid #d5dce5;border-radius:6px;background:#fff;color:#526475;font-size:16px;cursor:pointer}.signer-field-row{margin-top:5px}.signer-signature-placeholder{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;min-height:42px;padding:5px 9px;border-left-color:var(--signer-hue,#39a96b);background:color-mix(in srgb,var(--signer-hue,#39a96b) 9%,transparent)}.signer-signature-placeholder strong{font-size:12px;color:#27313b}.signer-signature-placeholder small{font-size:11px;color:#697786}.sender-card .palette-signature-preview,.palette-signature-preview{background:transparent;border-color:transparent}.signer-drag-ghost{position:fixed;z-index:1000;min-width:190px;padding:9px 12px;border:1px solid var(--signer-hue,#39a96b);border-left:5px solid var(--signer-hue,#39a96b);border-radius:8px;background:#ffffffd9;color:#27313b;box-shadow:0 4px 15px #0002;pointer-events:none;font:600 13px "Segoe UI",Arial,sans-serif}
.compact-signer{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;gap:1px 6px;padding:6px 8px;border:1px solid color-mix(in srgb,var(--signer-hue,#d9e1ea) 45%,#d9e1ea);border-left:4px solid var(--signer-hue,#d9e1ea);border-radius:8px;background:color-mix(in srgb,var(--signer-hue,#fff) 10%,#fff)}.compact-signer strong,.compact-signer small{grid-column:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compact-signer small{font-size:11px;color:#718092}.compact-signer .signer-actions{grid-column:2;grid-row:1/3;display:flex;gap:3px}.compact-signer .signer-actions button{width:24px;height:24px;padding:0;border:0;border-radius:5px;background:transparent;color:#526475;font-size:16px;cursor:pointer}.compact-signer .signer-actions button:hover{background:#e8eef5}.sender-card .palette-signature-preview{background:transparent!important;border-color:transparent!important}
.sender-card.compact-signer{display:flex;flex-direction:column;align-items:stretch;gap:5px}.sender-card .signer-details-edit{float:none;display:block;align-self:center;width:80%;height:40px;margin:6px auto;padding:6px;border:1px solid #d5dce5;border-radius:22px;background:#fff;color:#20252c;font-size:14px;white-space:nowrap}.sender-card .field-palette-list{width:100%;min-width:0}.field-palette-list [data-tool="initials"],.field-palette-list [data-tool="date"],.field-palette-list [data-tool="text"],.field-palette-list [data-tool="checkbox"]{background:transparent}.signature-drag-ghost:not(.field-drag-preview){background:transparent!important;box-shadow:none!important}
.sender-card .field-palette-list{width:calc(100% + 16px);margin-left:-8px;margin-right:-8px}.sender-card .field-palette-list [data-tool="signature"],.sender-card .field-palette-list [data-tool="initials"]{width:100%;min-width:0;padding-right:8px;gap:7px}.sender-card .palette-signature-preview{flex:0 1 60px;width:60px;height:40px;max-width:60px;min-width:28px;margin-left:auto}.sender-card .field-palette-list .palette-edit{display:inline-flex;flex:0 0 26px;width:26px;height:30px;align-items:center;justify-content:center;margin:0;padding:0}
.add-signee-icon{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;margin-right:8px}.bottom #addSignerBottom{position:static;order:0;margin:0 0 10px;height:46px;display:flex;align-items:center;justify-content:center;width:100%;font-size:16px}.bottom #downloadPdf{display:block;margin:0 0 8px}.bottom{display:flex;flex-direction:column}.bottom #continue{order:3}.bottom #sendNote{order:4}
.compact-signer .signer-actions .signer-color{flex:0 0 20px;width:20px;height:20px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer;overflow:hidden}.compact-signer .signer-actions .signer-color::-webkit-color-swatch-wrapper{padding:0}.compact-signer .signer-actions .signer-color::-webkit-color-swatch{border:1px solid #778494;border-radius:50%}
.sender-card.compact-signer{background:#fff!important;border-color:transparent!important;box-shadow:none!important;padding:0}.sender-card .field-palette-list{background:#fff!important;border-color:#e5e9ee;box-shadow:none}
.placed-field.requested-field{position:absolute;overflow:visible;background:transparent!important;border:1px solid var(--signer-hue,#48bdb5)!important;border-left:4px solid var(--signer-hue,#48bdb5)!important;border-radius:4px;box-shadow:none;color:#209eaa;padding:4px 7px}.placed-field.requested-field::before{content:attr(data-requirement);position:absolute;top:-13px;left:4px;padding:1px 5px;border-radius:2px;background:var(--signer-hue,#48bdb5);color:#fff;font-size:8px;font-weight:700;line-height:11px;letter-spacing:.2px}.placed-field.requested-field.selected{background:transparent!important;outline:2px solid var(--signer-hue,#48bdb5);outline-offset:1px;box-shadow:none}.placed-field.requested-field.selected .field-resize-handle{background:var(--signer-hue,#48bdb5);box-shadow:0 0 0 1px var(--signer-hue,#48bdb5)}.placed-field.requested-field.field-date{white-space:nowrap;overflow:hidden;padding:4px 6px}.placed-field.requested-field.field-date:not(.editing)::after{content:"";position:absolute;left:8px;top:50%;width:14px;height:14px;transform:translateY(-50%);pointer-events:none;background-color:var(--signer-hue,#39a96b);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27%3E%3Crect x=%273%27 y=%275%27 width=%2718%27 height=%2716%27 rx=%272%27/%3E%3Cpath d=%27M16 3v4M8 3v4M3 10h18%27/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27%3E%3Crect x=%273%27 y=%275%27 width=%2718%27 height=%2716%27 rx=%272%27/%3E%3Cpath d=%27M16 3v4M8 3v4M3 10h18%27/%3E%3C/svg%3E") center/contain no-repeat}.placed-field.requested-field .field-content{color:#209eaa;background:transparent!important}
.multi-signer-form{width:min(1040px,94vw);max-width:none;padding:0}.multi-signer-head{display:flex;justify-content:flex-end;padding:16px 22px;border-bottom:1px solid #e3e8ee}.multi-signer-head h2{display:none}.multi-signer-head .close{margin-left:auto}.multi-signer-body{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:460px}.signer-options{padding:24px;background:#f5f8fb;display:flex;flex-direction:column;gap:14px}.signer-options h3{font-size:18px;margin:0 0 8px}.signer-options div{padding:20px 16px;border:1px solid #dce4ee;border-radius:10px;background:#fff;color:#384452}.signer-entry{padding:24px;min-width:0}.signer-entry>h2{margin:0 0 24px;font-size:20px}.signer-entry>h3{font-size:14px;margin:18px 0 10px}.signing-order-toggle{display:flex;align-items:center;gap:8px;font-size:13px;color:#46515d}.signing-order-toggle input{width:18px;height:18px}.signer-entry-row{display:grid;grid-template-columns:minmax(150px,2fr) repeat(2,minmax(90px,1fr)) minmax(100px,1fr);gap:8px;align-items:end}.signer-entry-row label{display:grid;gap:5px;min-width:0;font-size:12px;color:#505c68}.signer-entry-row input,.signer-entry-row select{width:100%;height:40px;min-width:0;padding:8px 10px;border:1px solid #d4dce5;border-radius:7px;background:#fff;font:14px inherit}.other-signee-row{margin:10px 0}.add-signee-row{margin-top:8px}.multi-signer-form .modalfoot{justify-content:flex-end;margin-top:24px}.remove-signee-row{width:30px;height:30px;border:0;background:transparent;color:#a43b3b;font-size:20px;cursor:pointer}@media(max-width:760px){.multi-signer-body{grid-template-columns:1fr}.signer-options{display:none}.signer-entry{padding:16px}.signer-entry-row{grid-template-columns:1fr 1fr}.signer-entry-row label:first-child{grid-column:1/-1}.multi-signer-form{width:96vw}}
.right .field-palette-list{border:1px solid #e2eaf2!important;border-radius:13px;padding:12px 16px 16px!important;margin:0 0 14px!important;box-shadow:0 2px 5px #17202c0a!important;background:#fff!important}.right .field-palette-list:before{content:"Your fields";display:block;font-weight:700;font-size:17px;margin:4px 0 10px}.right .field-palette-list .field-palette{min-height:64px;width:100%;padding:8px 12px;border:1px solid #e2eaf2!important;border-left:6px solid #49a1dc!important;border-radius:9px;background:#f6f9fc!important;color:#20252c;gap:10px}.right .field-palette-list .palette-icon{width:20px}.right .field-palette-list .palette-grip{margin-right:0}.right .field-palette-list .palette-edit{display:inline-flex;align-items:center;justify-content:center;flex:0 0 26px;width:26px;height:30px;margin-left:4px;border-radius:6px;color:#526475;font-size:19px}
.right .field-palette-list{border:0!important;border-radius:12px;padding:8px!important;box-shadow:none!important;background:#f2f7fd!important}.right .field-palette-list .field-palette{box-sizing:border-box;overflow:hidden;padding-right:10px}.right .field-palette-list .field-palette:has(.palette-edit){display:flex;min-width:0}.right .field-palette-list .field-palette .palette-signature-preview{flex:0 1 48px;width:48px;max-width:48px;min-width:28px;height:34px;margin-left:auto}.right .field-palette-list .field-palette .palette-edit{position:static;display:inline-flex;flex:0 0 24px;width:24px;height:28px;margin:0 0 0 3px;padding:0;align-items:center;justify-content:center;z-index:2;line-height:1}
.signer-tool-palette{grid-column:1/-1;width:100%;min-width:0;box-sizing:border-box;padding:8px!important;border:1px solid color-mix(in srgb,var(--signer-hue) 35%,#fff)!important;border-radius:10px;background:color-mix(in srgb,var(--signer-hue) 16%,#fff)!important;box-shadow:none!important;gap:6px}.signer-tool-palette:before{content:none!important;display:none!important}.signer-tool-palette .field-palette{display:flex;grid-column:1/-1;width:100%;min-width:0;box-sizing:border-box;min-height:48px!important;padding:6px 12px!important;border:1px solid color-mix(in srgb,var(--signer-hue) 26%,#fff)!important;border-left:5px solid var(--signer-hue)!important;border-radius:8px;background:color-mix(in srgb,var(--signer-hue) 16%,#fff)!important;font-size:13px;cursor:grab}.signer-tool-palette .field-palette:hover{background:color-mix(in srgb,var(--signer-hue) 12%,#fff)!important}
.right .signer-tool-palette .field-palette{border-color:color-mix(in srgb,var(--signer-hue) 26%,#fff)!important;border-left-color:var(--signer-hue)!important;background:color-mix(in srgb,var(--signer-hue) 16%,#fff)!important}.right .signer-tool-palette .field-palette:hover{background:color-mix(in srgb,var(--signer-hue) 12%,#fff)!important}

.right .field-palette-list [data-tool=initials] .palette-icon,.signer-tool-palette [data-tool='initials'] .palette-icon,.signer-tool-palette .field-palette[data-tool='initials'] .palette-icon{flex:0 0 auto;width:auto;min-width:max-content;white-space:nowrap;letter-spacing:0}.signer-tool-palette .field-palette[data-tool='initials']{white-space:nowrap}

.placed-field.requested-signature-card{display:flex;align-items:center;gap:7px;padding:4px 7px;color:var(--signer-hue,#39a96b)!important;background:color-mix(in srgb,var(--signer-hue,#39a96b) 16%,transparent)!important;font-size:12px!important;line-height:1.15;white-space:nowrap;overflow:visible}.requested-signature-card .requested-signature-icon{flex:0 0 auto;width:19px;height:19px}.requested-signature-card .requested-signature-icon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.requested-signature-card .requested-signature-label{display:flex;flex-direction:column;min-width:0;overflow:hidden}.requested-signature-card .requested-signature-label strong{font-weight:600;overflow:hidden;text-overflow:ellipsis}.requested-signature-card .requested-signature-label small{font-size:10px;overflow:hidden;text-overflow:ellipsis}.signer-drag-ghost{display:flex;flex-direction:column;gap:3px;min-width:150px;max-width:210px;background:color-mix(in srgb,var(--signer-hue,#39a96b) 16%,white)!important;color:var(--signer-hue,#39a96b)}.signer-drag-ghost strong{font-size:13px}.signer-drag-ghost small{font-size:11px;opacity:.85}

.placed-field.requested-field.field-initials{background:color-mix(in srgb,var(--signer-hue,#39a96b) 16%,transparent)!important;color:var(--signer-hue,#39a96b)!important;border-color:var(--signer-hue,#39a96b)!important}.placed-field.requested-field.field-initials.selected{background:color-mix(in srgb,var(--signer-hue,#39a96b) 16%,transparent)!important;outline-color:var(--signer-hue,#39a96b)!important}

.placed-field.requested-field.field-text,.placed-field.requested-field.field-checkbox{background:color-mix(in srgb,var(--signer-hue,#39a96b) 16%,white)!important;color:var(--signer-hue,#39a96b)!important;border-color:var(--signer-hue,#39a96b)!important}.placed-field.requested-field.field-text.selected,.placed-field.requested-field.field-checkbox.selected{background:color-mix(in srgb,var(--signer-hue,#39a96b) 16%,white)!important;outline-color:var(--signer-hue,#39a96b)!important}.placed-field.requested-field.field-checkbox .field-content{position:relative;z-index:6;color:var(--signer-hue,#39a96b)!important;background:transparent!important;border-color:var(--signer-hue,#39a96b)!important}

.placed-field.requested-field.field-date{background:transparent!important;color:var(--signer-hue,#39a96b)!important;border-color:var(--signer-hue,#39a96b)!important}.placed-field.requested-field.field-date.selected{background:transparent!important;outline-color:var(--signer-hue,#39a96b)!important}.placed-field.requested-field.field-date:not(.editing)::after{background-color:var(--signer-hue,#39a96b)}.placed-field.requested-field.field-date .field-content{position:relative;z-index:2;width:100%;height:100%;margin:0;padding:4px 7px 4px 24px;border:0;resize:none;background:transparent!important;color:inherit;font:inherit;line-height:1.2}

.compact-signer .signer-actions .signer-color{position:relative;appearance:none;-webkit-appearance:none;width:22px;height:22px;flex-basis:22px;border:0;border-radius:50%;padding:0;background:var(--signer-hue,#39a96b);color:#fff;font:700 11px/22px 'Segoe UI',Arial,sans-serif;text-align:center;text-shadow:0 1px 2px #0008;cursor:pointer}.compact-signer .signer-actions .signer-color::before{content:attr(data-initial);position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}.compact-signer .signer-actions .signer-color::-webkit-color-swatch-wrapper{padding:0;opacity:0}.compact-signer .signer-actions .signer-color::-webkit-color-swatch{border:0;border-radius:50%;opacity:0}.compact-signer .signer-actions .signer-color::-moz-color-swatch{border:0;border-radius:50%;opacity:0}

.compact-signer .signer-actions .signer-color-swatch{position:relative;display:inline-grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:var(--signer-hue,#39a96b);overflow:hidden}.compact-signer .signer-actions .signer-color-swatch .signer-color{position:absolute;inset:0;z-index:1;width:100%;height:100%;padding:0;border:0;border-radius:50%;opacity:.02;cursor:pointer}.compact-signer .signer-actions .signer-color-swatch .signer-color-initial{position:relative;z-index:0;color:#fff;font:700 11px/22px 'Segoe UI',Arial,sans-serif;text-align:center;text-shadow:0 1px 2px #0008;pointer-events:none}

.signer-email-stack{display:grid;gap:8px;min-width:0}

/* Signing-order dialog modeled after the reference flow */
.signer-options .signer-mode-option{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-height:84px;padding:14px 16px;border:1px solid #dce4ee;border-radius:10px;background:#fff;color:#384452;text-align:left;font:inherit;cursor:pointer}.signer-options .signer-mode-option.selected{border-color:#6d7884;background:#f5f8fb;box-shadow:0 2px 6px #15202b12}.signer-mode-icon{font-size:21px;line-height:1;color:#303842}.signer-entry>[hidden],#yourDetailsBlock[hidden],#otherSigneesHeading[hidden],#otherSigneeSection[hidden],#signingOrderToggleWrap[hidden]{display:none!important}.existing-signees{display:grid;gap:8px;margin:6px 0 12px}.existing-signee-card,.signer-order-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:64px;padding:9px 12px;border-left:5px solid var(--signer-hue,#58bdb5);border-radius:5px;background:#e9edf1}.existing-signee-main,.signer-order-person{display:flex;align-items:center;gap:10px;min-width:0}.existing-signee-avatar,.signer-order-avatar{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:var(--signer-hue,#58bdb5);color:white;font-size:16px}.existing-signee-text,.signer-order-text{display:grid;gap:3px;min-width:0}.existing-signee-text strong,.signer-order-text strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:500}.existing-signee-text small,.signer-order-text small{color:#68727d;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.existing-signee-role{white-space:nowrap;color:#333b44}.existing-signee-actions{display:flex;align-items:center;gap:12px}.existing-signee-actions button,.signer-order-actions button{border:0;background:transparent;color:#353c44;font-size:21px;cursor:pointer}.signer-order-list{display:grid;gap:8px;margin:6px 0 14px}.signer-order-row{grid-template-columns:18px 24px 44px minmax(0,1fr) auto auto;cursor:default;box-shadow:0 3px 8px #14212e20}.signer-order-row[draggable="true"]{cursor:grab}.signer-order-row.dragging{opacity:.45}.signer-order-grip{color:#75818f;font-size:20px;letter-spacing:-5px;cursor:grab;user-select:none}.signer-order-number{font-weight:600;color:#303943}.signer-order-you{color:#323a43;font-weight:600;white-space:nowrap}.signer-order-actions{display:flex;align-items:center;gap:11px}.signer-order-actions button{padding:2px}.signer-order-row.drop-before{box-shadow:inset 0 3px #69a9df,0 3px 8px #14212e20}.signer-order-info{color:#67717b;font-size:14px}.signer-entry-row[hidden]{display:none!important}
/* Match Link Sign's light slate and blue interface, with signer-specific accents */
.signer-options .signer-mode-option{min-height:88px;border-color:#dce3eb;background:#fff;color:#20252c}.signer-options .signer-mode-option:hover{border-color:#9bbde1;background:#f7fbff}.signer-options .signer-mode-option.selected{border-color:#3188eb;background:#edf5ff;box-shadow:0 2px 7px #1d47741a}.signer-mode-icon{display:flex;align-items:center;min-height:26px;color:#34404d}.signer-mode-icon svg{width:30px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.signer-order-row{border:1px solid #dfe5ec;border-left:5px solid var(--signer-hue,#3188eb);border-radius:8px;background:#f5f8fb;box-shadow:0 2px 5px #17202c0c}.signer-order-row:hover{background:#eef4fa}.signer-order-number{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e4f0ff;color:#2677cc}.signer-order-grip{width:14px;height:25px;letter-spacing:0;background-image:radial-gradient(circle,#7c8794 1.6px,transparent 1.9px);background-size:6px 6px;background-position:0 1px}.signer-order-grip:hover{background-image:radial-gradient(circle,#3188eb 1.7px,transparent 2px)}.existing-signee-card{border:1px solid #e0e6ed;border-left:5px solid var(--signer-hue,#39a96b);border-radius:8px;background:#f5f8fb}.existing-signee-card:hover{background:#eef4fa}.existing-signee-actions button,.signer-order-actions button{display:grid;place-items:center;width:30px;height:30px;border-radius:6px;color:#4a5663;font-size:18px}.existing-signee-actions button:hover,.signer-order-actions button:hover{background:#e4f0ff;color:#2677cc}.existing-signee-actions button svg,.signer-order-actions button svg{display:block;width:18px;height:18px}.signer-order-avatar svg{display:block;width:24px;height:24px;stroke:#fff;stroke-linecap:round;stroke-linejoin:round}
.other-signee-row .signee-name-input{text-align:center}.other-signee-row .signee-name-input::placeholder{text-align:center;color:#778391}.your-details #yourFirst,.your-details #yourLast{text-align:left}/* Keep signer actions visible while the sidebar list scrolls. */
.right .bottom{position:sticky;bottom:-20px;z-index:8;flex:0 0 auto;width:100%;margin-top:auto;padding:12px 0 8px;background:#fff;box-shadow:0 -8px 12px #fff}.right .bottom #addSignerBottom{position:static;order:1;flex:0 0 auto;width:100%;height:44px;margin:0 0 9px}.right .bottom #continue{order:2;flex:0 0 auto}.right .bottom #sendNote{order:3}
.sender-details-row{display:grid;grid-template-columns:minmax(0,1fr) 26px;grid-template-rows:auto auto;align-items:center;gap:1px 6px;padding:8px 6px;border:1px solid #e1e6ed;border-radius:8px;background:#fff}.sender-details-row strong{grid-column:1;grid-row:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sender-details-row small{grid-column:1;grid-row:2;font-size:11px;color:#718092;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sender-color-initial{grid-column:2;grid-row:1 / 3;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#67add1;color:#fff;font:700 11px/1 'Segoe UI',Arial,sans-serif}.other-signee-row .signee-name-input{text-align:left}.other-signee-row .signee-name-input::placeholder{text-align:left}
/* Show the signer name first, then email and paymail on separate lines. */
.compact-signer{grid-template-rows:auto auto auto}.compact-signer .signer-actions{grid-row:1 / 4}.compact-signer .signer-email,.compact-signer .signer-paymail{grid-column:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sender-details-row{grid-template-rows:auto auto auto}.sender-details-row .signer-email{grid-row:2}.sender-details-row .signer-paymail{grid-column:1;grid-row:3;font-size:11px;color:#718092;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sender-color-initial{grid-row:1 / 4}
.field-palette-list.has-sender-header:before{display:none}.sender-field-header{display:grid;grid-template-columns:minmax(0,1fr) 28px;grid-template-rows:auto auto auto;align-items:center;gap:2px 8px;padding:3px 2px 10px;margin:0 0 4px;border-bottom:1px solid #dbe7f3}.sender-field-header strong{grid-column:1;grid-row:1;font-size:16px;font-weight:700;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sender-field-header small{grid-column:1;font-size:12px;line-height:1.3;color:#718092;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sender-field-header .sender-field-email{grid-row:2}.sender-field-header .sender-field-paymail{grid-row:3}.sender-field-header .sender-color-initial{grid-column:2;grid-row:1 / 4;justify-self:center;width:24px;height:24px}.signer-order-connect{min-height:38px;padding:0 16px;border-radius:999px;background:#f0cc35;color:#111;border:1px solid #e0bd20;font-weight:700;white-space:nowrap}.signer-order-connect:hover{background:#f6d84e}/* Sender panel: same full card width as signer cards, with sender blue only. */
#signerList .sender-card .field-palette-list.has-sender-header{box-sizing:border-box;display:grid;align-self:stretch;width:calc(100% + 16px);min-width:0;margin:0 -8px 6px!important;padding:8px!important;border:1px solid color-mix(in srgb,#67add1 45%,#d9e1ea)!important;border-left:4px solid #67add1!important;border-radius:8px!important;background:color-mix(in srgb,#67add1 10%,#fff)!important;box-shadow:none!important}
#signerList .sender-card .field-palette-list.has-sender-header:before{display:none}
#signerList .sender-card .sender-field-header{width:100%;box-sizing:border-box}/* Extend the sender field panel to the signer card edges; keep invitee tint tied to their own color. */
#signerList .sender-card.compact-signer{width:calc(100% + 12px);margin-right:-12px;overflow:visible}
#signerList .sender-card .field-palette-list.has-sender-header{width:calc(100% + 16px);margin-left:-8px!important;margin-right:-8px!important}
#signerList .compact-signer:not(.sender-card){background:color-mix(in srgb,var(--signer-hue,#39a96b) 16%,#fff)}

/* Requested fields are empty assignment placeholders in the signee's color. */
.placed-field.requested-field.simple-requested-field,.requested-drag-preview{box-sizing:border-box;min-width:0;min-height:0;padding:0!important;border:1px solid var(--signer-hue,#39a96b)!important;border-left:4px solid var(--signer-hue,#39a96b)!important;border-radius:4px;background:color-mix(in srgb,var(--signer-hue,#39a96b) 16%,transparent)!important;color:var(--signer-hue,#39a96b)!important;overflow:visible!important;box-shadow:none}
.placed-field.requested-field.simple-requested-field.field-date,.placed-field.requested-field.field-date.selected,.requested-drag-preview.requested-date{background:transparent!important}
.placed-field.requested-field.simple-requested-field.content-edited.field-text,.placed-field.requested-field.simple-requested-field.content-edited.field-date,.placed-field.requested-field.simple-requested-field.content-edited.field-checkbox{background:transparent!important}
.placed-field.requested-field.signee-own-field.field-text:not(.placed-drag-float),.placed-field.requested-field.signee-own-field.field-date:not(.placed-drag-float),.placed-field.requested-field.signee-own-field.field-checkbox:not(.placed-drag-float){background:transparent!important}
.placed-field.requested-field.simple-requested-field::before,.placed-field.requested-signature-card::before,.requested-drag-preview::before{content:attr(data-requirement);position:absolute;top:-17px;right:-1px;left:auto;padding:1px 6px;border-radius:3px 3px 0 0;font:600 10px/14px 'Segoe UI',Arial,sans-serif;text-transform:uppercase;background:var(--signer-hue,#39a96b);color:white;white-space:nowrap;z-index:2}
.placed-field.signee-own-field::before,.placed-drag-float::before{content:none!important}
.placed-field.signee-own-field .field-content{cursor:grab;user-select:none}
.placed-field.signee-own-field.editing .field-content,.placed-field.signee-own-field .field-content:focus{cursor:text;user-select:text}
.placed-field.field-checkbox.signee-own-field .field-content,.placed-field.signee-own-field.is-dragging{cursor:grabbing}
.placed-field.requested-field.simple-requested-field.requested-checkbox::after,.requested-drag-preview.requested-checkbox::after{content:none!important}
.placed-field.requested-field.field-text .field-content{color:inherit!important;background:transparent!important;cursor:text;padding:4px 7px}.placed-field.requested-field.field-date .field-content{color:inherit!important;background:transparent!important;cursor:text;padding:4px 7px 4px 24px}.placed-field.requested-field.simple-requested-field .field-content::placeholder{color:color-mix(in srgb,var(--signer-hue,#39a96b) 72%,white)}
.placed-field.signee-own-field.field-text .field-content,.placed-field.signee-own-field.field-date .field-content{cursor:grab!important}
.placed-field.signee-own-field.editing .field-content,.placed-field.signee-own-field .field-content:focus{cursor:text!important;user-select:text}
.requested-drag-preview{position:fixed;top:-1000px;left:-1000px;pointer-events:none;z-index:99999}
.simple-requested-field.selected .field-resize-handle{background:var(--signer-hue,#39a96b)!important;border-color:var(--signer-hue,#39a96b)!important}
.field-palette[data-tool=signature] .palette-icon{width:28px;height:28px;display:inline-grid;place-items:center}.field-palette[data-tool=signature] .palette-icon img{display:block;width:28px;height:28px;object-fit:contain}
.right .field-palette-list .field-palette .palette-edit,.sender-card .field-palette-list .palette-edit{margin-left:auto}
.right .field-palette-list .field-palette:has(.palette-signature-preview) .palette-edit,.sender-card .field-palette-list .field-palette:has(.palette-signature-preview) .palette-edit{margin-left:4px}
.right .field-palette-list .field-palette .palette-signature-preview,.sender-card .field-palette-list .palette-signature-preview{margin-left:auto}
