/* NovaSign surfaces share the recipient palette. Applied below the legacy
   platform theme; PDF content, tenant branding and signing data are untouched. */
.ns-toolbar,.ns-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ns-toolbar{margin-bottom:16px}.ns-toolbar h3{margin-right:auto}.ns-editor{display:grid;grid-template-columns:minmax(300px,1fr) 360px;gap:18px;align-items:start}.ns-paper{position:relative;line-height:0;background:white;max-width:100%;margin:auto;touch-action:none}.ns-paper>img{width:100%;display:block;pointer-events:none}.ns-field{position:absolute;box-sizing:border-box;line-height:1.15;font:12px/1.15 sans-serif;overflow:hidden;border:2px solid var(--ns-color);background:color-mix(in srgb,var(--ns-color) 35%,white);color:#111;cursor:move;white-space:pre-wrap;touch-action:none}.ns-field.selected{outline:3px solid #111}.ns-field svg{width:100%;height:100%;display:block}.ns-palette{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ns-palette button{padding:10px!important;min-width:0!important;border-radius:10px!important}.ns-palette .active{outline:3px solid #136ccd}.ns-coords{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ns-coords label{margin:0}.ns-sidebar{max-height:78vh;overflow:auto;position:sticky;top:10px}.ns-nav button{padding:10px!important}.ns-preview-title{line-height:1.4;color:#111;margin:8px 0}.ns-package-docs a{display:block;margin:6px 0}.ns-file-drop{border:2px dashed #7891ac;padding:16px;margin:16px 0;border-radius:12px}.ns-file-drop.drag{background:#e8f2ff}.ns-help{font-size:14px;line-height:1.6}.ns-field[data-type="note"]{background:#ffffffd9;border:1px dashed #777}.ns-field[data-type="highlight"]{background:#ffde0060;border:0}.ns-field[data-type="line"],.ns-field[data-type="strike"],.ns-field[data-type="freehand"],.ns-field[data-type="ellipse"]{background:transparent;border:0}.ns-doc-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid #ccd}.ns-doc-row label{margin:0;flex:1}.ns-muted{color:#526075}.ns-progress{display:inline-block;padding:6px 10px;background:#edf2f7;border-radius:10px}.ns-person{padding:12px;border-left:6px solid var(--ns-color);margin:10px 0;background:#f4f7fa}.ns-person input{margin:3px 0}.ns-print-page{break-after:page}.ns-color-key{display:inline-block;width:12px;height:12px;background:var(--ns-color);margin-right:6px;border-radius:3px}@media(max-width:1000px){.ns-editor{grid-template-columns:1fr}.ns-sidebar{max-height:none;position:static}}@media print{body.ns-printing #app,body.ns-printing #dialog,body.ns-printing #toast{display:none!important}#ns-print-output{display:block!important}.ns-print-page img{width:100%}.ns-print-page .ns-paper{width:100%}.ns-field{print-color-adjust:exact;-webkit-print-color-adjust:exact} .ns-print-page .ns-field{outline:none}.ns-print-banner{color:#a00;font-weight:bold;line-height:1.6}}#ns-print-output{display:none}
.ns-sidebar button{max-width:100%;white-space:normal}#ns-package-list table{width:100%!important;table-layout:fixed!important}#ns-package-list th,#ns-package-list td{white-space:normal!important;min-width:0!important;max-width:none!important;overflow-wrap:anywhere}#ns-package-list br{display:block!important}#ns-package-list .row-number{width:4%}#ns-package-list th:nth-child(2){width:27%}#ns-package-list th:nth-child(3){width:22%}#ns-package-list th:nth-child(4){width:20%}#ns-package-list th:nth-child(5){width:13%}#ns-package-list th:nth-child(6){width:14%}#ns-package-list button{min-width:0!important;padding:7px!important;margin:4px;white-space:normal!important}
#ns-package-list :is(td,th),#ns-package-list td :is(strong,small,span,a){white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}#ns-package-list :is(td,th):nth-child(1){width:4%!important}#ns-package-list :is(td,th):nth-child(2){width:27%!important}#ns-package-list :is(td,th):nth-child(3){width:22%!important}#ns-package-list :is(td,th):nth-child(4){width:20%!important}#ns-package-list :is(td,th):nth-child(5){width:13%!important}#ns-package-list :is(td,th):nth-child(6){width:14%!important}
.ns-agency-brand{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.ns-agency-brand img{display:block;width:auto;max-width:min(280px,100%);height:auto;max-height:110px;object-fit:contain}.ns-brand-panel{background:white;color:#111}.ns-agency-brand strong{font-size:18px}
.ns-agency-brand img{background:#10171c;padding:12px;border-radius:8px;box-sizing:content-box}
.ns-start-upload{display:block;margin:20px 0 12px;font-weight:650}.ns-start-upload input{display:block;width:100%;margin-top:10px;box-sizing:border-box}
.ns-start-error{color:#8d1612;background:#fff0f0;border-left:4px solid #b32222;padding:12px;margin:12px 0}.ns-start-error[hidden]{display:none}[name=ns_new_file][aria-invalid=true]{border:2px solid #b32222}
.ns-step-count { font-weight:700; color:#183d62; }
.ns-wizard-actions { position:static; }
#nova-sender [data-ns-new]{background:linear-gradient(120deg,#275fe0,#188ba7)!important;color:#fff!important;border:1px solid #286ee0!important;border-radius:11px!important;padding:13px 20px!important;font-weight:700!important;box-shadow:0 4px 12px #2269bc26!important;transition:filter .15s,transform .15s}
#nova-sender [data-ns-new]:hover:not(:disabled){filter:brightness(1.08);transform:translateY(-1px)}
#nova-sender [data-ns-new]:focus-visible{outline:3px solid #2683e94d;outline-offset:3px}
#nova-sender.ns-studio-active .ns-save-text{width:100%;background:linear-gradient(120deg,#275fe0,#188ba7)!important;color:white!important;border-color:#286ee0!important;margin:12px 0 4px!important}
#nova-sender .ns-text-save-hint{font-size:12px!important;line-height:1.4!important;margin:4px 0 16px!important}
.ns-resize-handle{position:absolute;z-index:2;width:10px;height:10px;box-sizing:border-box;border:1.5px solid #2864d7;border-radius:3px;background:white;opacity:0;touch-action:none}
.ns-field:hover .ns-resize-handle,.ns-field.selected .ns-resize-handle{opacity:1}
.ns-resize-n{left:calc(50% - 5px);top:-5px;cursor:ns-resize}.ns-resize-s{left:calc(50% - 5px);bottom:-5px;cursor:ns-resize}
.ns-resize-e{right:-5px;top:calc(50% - 5px);cursor:ew-resize}.ns-resize-w{left:-5px;top:calc(50% - 5px);cursor:ew-resize}
.ns-resize-ne{right:-5px;top:-5px;cursor:nesw-resize}.ns-resize-sw{left:-5px;bottom:-5px;cursor:nesw-resize}
.ns-resize-nw{left:-5px;top:-5px;cursor:nwse-resize}.ns-resize-se{right:-5px;bottom:-5px;cursor:nwse-resize}
#nova-sender.ns-studio-active .ns-field-trash{top:-32px!important;right:-8px!important}
@media print{.ns-resize-handle{display:none!important}}
#nova-sender .ns-field:has(.ns-field-trash){overflow:visible}
#nova-sender.ns-studio-active .ns-field-trash{position:absolute;top:-12px;right:-12px;z-index:3;display:flex;align-items:center;justify-content:center;width:28px;height:28px;min-width:28px!important;min-height:28px!important;padding:5px!important;margin:0!important;border:1px solid #efb7bd!important;border-radius:8px!important;background:#fff1f2!important;color:#b8233d!important;box-shadow:0 2px 5px #19365520!important;cursor:pointer;line-height:1}
#nova-sender .ns-field-trash svg{width:17px!important;height:17px!important;pointer-events:none}
#nova-sender .ns-field-trash:hover{background:#ffe0e5!important;border-color:#d14b60!important}
#nova-sender .ns-field-trash:focus-visible{outline:3px solid #275fe0!important;outline-offset:2px}
@media print{.ns-field-trash{display:none!important}}

/* Calm, compact field chrome: signing content remains separate from editor controls. */
#nova-sender.ns-studio-active .ns-paper .ns-field[data-type=signature]{
 border:1px solid color-mix(in srgb,var(--ns-color) 26%,#dbe9f3);border-left-width:1px;
 border-radius:12px;background:linear-gradient(120deg,#ffffffed,#edf6ffed 65%,#e7f8fae8);
 box-shadow:0 4px 12px #15365010,inset 0 1px 0 #ffffff;color:#18334d;
 padding:6px 12px;isolation:isolate;cursor:grab;
}
#nova-sender.ns-studio-active .ns-paper .ns-field[data-type=signature]::before{
 content:"";position:absolute;left:0;top:22%;bottom:22%;width:3px;border-radius:3px;
 background:linear-gradient(180deg,var(--ns-color),#21aabb);pointer-events:none;
}
#nova-sender.ns-studio-active .ns-paper .ns-field[data-type=signature]>.ns-field-label{
 font-weight:600!important;color:#183e60!important;letter-spacing:.1px;
}
#nova-sender.ns-studio-active .ns-paper .ns-field[data-type=signed_at]{
 border:1px solid #c6dfe7;border-radius:999px;background:linear-gradient(110deg,#f3fafded,#eaf7faed);
 box-shadow:0 2px 7px #15365009;padding:2px 8px;cursor:grab;
}
#nova-sender.ns-studio-active .ns-paper .ns-time-label{
 display:flex;align-items:center;gap:5px;color:#3c697d!important;font-weight:500!important;
 font-size:clamp(9px,1.15cqw,12px)!important;
}
#nova-sender.ns-studio-active .ns-time-label svg{width:13px;height:13px;flex:0 0 13px}
#nova-sender.ns-studio-active .ns-time-label>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:inherit!important;color:inherit!important}
#nova-sender.ns-studio-active .ns-paper .ns-field:is([data-type=signature],[data-type=signed_at]).selected{
 outline:1px solid #4384ed;outline-offset:2px;
 box-shadow:0 0 0 4px #4b98ee12,0 5px 16px #163a6015;
}
#nova-sender.ns-studio-active .ns-paper .ns-field:active{cursor:grabbing}
#nova-sender.ns-studio-active .ns-field-trash{
 top:-28px!important;right:0!important;width:24px!important;height:24px!important;
 min-width:24px!important;min-height:24px!important;padding:5px!important;border-radius:8px!important;
 border-color:#d6e3ed!important;background:#fffffffa!important;color:#627c94!important;
 box-shadow:0 3px 10px #163a6012!important;opacity:0;pointer-events:none;
 transition:opacity .15s,color .15s,background .15s;
}
#nova-sender.ns-studio-active .ns-field:is(:hover,:focus-within,.selected) .ns-field-trash{opacity:1;pointer-events:auto}
#nova-sender.ns-studio-active .ns-field-trash:hover{color:#bd2945!important;background:#fff1f3!important;border-color:#f0c5ce!important}
#nova-sender.ns-studio-active .ns-field-trash svg{width:14px!important;height:14px!important}
#nova-sender.ns-studio-active .ns-resize-handle{
 width:8px;height:8px;border:1px solid #77a4df;border-radius:50%;background:#fff;
 box-shadow:0 1px 3px #22416415;
}
#nova-sender.ns-studio-active .ns-resize-n{left:calc(50% - 4px);top:-4px}
#nova-sender.ns-studio-active .ns-resize-s{left:calc(50% - 4px);bottom:-4px}
#nova-sender.ns-studio-active .ns-resize-e{right:-4px;top:calc(50% - 4px)}
#nova-sender.ns-studio-active .ns-resize-w{left:-4px;top:calc(50% - 4px)}
#nova-sender.ns-studio-active .ns-resize-ne{right:-4px;top:-4px}
#nova-sender.ns-studio-active .ns-resize-nw{left:-4px;top:-4px}
#nova-sender.ns-studio-active .ns-resize-se{right:-4px;bottom:-4px}
#nova-sender.ns-studio-active .ns-resize-sw{left:-4px;bottom:-4px}
@media(prefers-reduced-motion:reduce){#nova-sender.ns-studio-active .ns-field-trash{transition:none}}
.ns-contact-launch{display:block;margin:18px 0!important}
#nova-sender [data-ns-open-contacts]{display:block;width:100%;text-align:left;margin-top:8px;padding:14px 18px!important;background:#f2f8ff!important;border-color:#bed4ef!important;color:#234361!important}
.ns-contact-picker label{display:block}.ns-contact-picker input{width:100%;box-sizing:border-box;margin:8px 0 18px}
.ns-contact-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:50vh;overflow:auto}
#dialog [data-ns-contact-pick]{display:flex;flex-direction:column;align-items:flex-start;gap:5px;text-align:left;min-width:0;border-radius:12px;padding:14px!important;background:#f4f9ff;color:#234361;border:1px solid #c5d9ef}
#dialog [data-ns-contact-pick] span{font-size:13px;overflow-wrap:anywhere}#dialog [data-ns-contact-pick] small{font-size:11px;color:#54718f}#dialog [data-ns-contact-pick][hidden]{display:none!important}
@media(max-width:650px){.ns-contact-results{grid-template-columns:1fr}}
.ns-wizard-footer{display:flex;justify-content:flex-end;padding:14px 20px;margin-top:16px;border:1px solid #d3e1ef;border-radius:14px;background:#f7fbff}
#nova-sender.ns-studio-active .ns-wizard-footer button,#dialog .ns-wizard-footer button{font-size:13px!important;padding:9px 16px!important;min-height:38px!important;min-width:0!important;margin:0!important}
#nova-sender .ns-wizard-footer [data-ns-wizard-back],#nova-sender .ns-wizard-footer [data-ns-back]{background:white!important;color:#234361!important;border:1px solid #b9cee0!important}
#ns-wizard-error:not([hidden]) { padding:14px; border-left:4px solid #b42318; background:#fff0f0; color:#8f1c13; }
.ns-placement-choice { padding:12px 0; border-bottom:1px solid #d4deea; }
.ns-wizard-screen .ns-person { max-width:850px; }
.ns-upload-error { padding:14px; border-left:4px solid #b42318; background:#fff0f0; color:#8f1c13; }
.ns-document-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}
.ns-document-grid .ns-doc-row{min-width:0;align-content:start;align-items:center;padding:14px;border:1px solid #cbd6e3;border-radius:10px;background:#fff}
.ns-document-grid .ns-doc-row label{display:flex;align-items:flex-start;gap:10px;min-width:0;flex:1 1 100%;margin:0}
.ns-document-grid .ns-doc-row input[type=checkbox]{display:inline-block;flex:0 0 20px;width:20px;height:20px;margin:3px 0 0;padding:0}
.ns-document-grid .ns-doc-row label span{min-width:0;overflow-wrap:anywhere}
@media(max-width:760px){.ns-document-grid{grid-template-columns:minmax(0,1fr)}}
.workspace-report#nova-templates table{width:100%!important;min-width:0!important;table-layout:fixed!important}
#nova-templates :is(th,td){min-width:0!important;max-width:none!important;white-space:normal!important;overflow-wrap:anywhere;padding:12px!important;vertical-align:top}
#nova-templates th:nth-child(1){width:4%}#nova-templates th:nth-child(2){width:38%}#nova-templates th:nth-child(3){width:10%}#nova-templates th:nth-child(4){width:22%}#nova-templates th:nth-child(5){width:6%}#nova-templates th:nth-child(6){width:20%}
#nova-templates button{min-width:0!important;max-width:100%;white-space:normal!important;padding:8px!important;margin:5px 0!important}
[data-ns-overlay]{position:absolute;inset:0;pointer-events:none}
[data-ns-overlay] .ns-field{pointer-events:auto}
.ns-paper{container-type:inline-size}
.ns-paper .ns-field{display:flex;flex-direction:column;justify-content:center;gap:2px;padding:4px 8px;border:1.5px solid var(--ns-color);border-left:4px solid var(--ns-color);border-radius:7px;background:color-mix(in srgb,var(--ns-color) 10%,white);color:#19334c;font:500 clamp(9px,1.4cqw,13px)/1.2 system-ui,sans-serif;box-shadow:0 2px 5px #16345b12;white-space:normal}
@font-face{font-family:nsSampleSignature;src:url('/assets/NovaSign-allura.ttf')}
@font-face{font-family:nsSampleBody;src:url('/assets/Oxygen-Regular.ttf')}
#dialog .ns-sample-paper{position:relative;container-type:inline-size;width:100%;max-width:900px;margin:auto;background:white}
#dialog .ns-sample-paper>img{display:block;width:100%}
#dialog .ns-sample-mark{position:absolute;display:flex;align-items:center;color:black!important;line-height:1!important;padding-left:.33%;box-sizing:border-box;white-space:nowrap;overflow:hidden}
#dialog .ns-sample-watermark{position:absolute;top:45%;left:5%;width:90%;text-align:center;transform:rotate(-25deg);font-size:5cqw!important;color:#b4234260!important;pointer-events:none}
#dialog .ns-sample-warning{background:#fff2dc;border:1px solid #e6c790;padding:14px;border-radius:10px;color:#714714!important}
.ns-paper .ns-field.selected{outline:2px solid var(--ns-color);outline-offset:2px;box-shadow:0 0 0 5px color-mix(in srgb,var(--ns-color) 12%,transparent)}
.ns-paper .ns-field{font-size:var(--ns-font,clamp(9px,1.4cqw,13px))!important;line-height:1.2!important}
.ns-paper .ns-field-label,.ns-paper .ns-field-person{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:inherit!important;line-height:1.2!important}
.ns-paper .ns-field-label{font-weight:650!important;color:var(--ns-color)}
.ns-paper .ns-field-person{font-size:clamp(8px,1.2cqw,11px)!important;color:#42607a}
.ns-paper .ns-field[data-type="signed_at"]{border-style:dashed;border-left-width:1.5px;background:color-mix(in srgb,var(--ns-color) 5%,white);box-shadow:none;padding:2px 6px}
.ns-paper .ns-field:is([data-type="line"],[data-type="strike"],[data-type="freehand"],[data-type="ellipse"]){padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.ns-paper .ns-field[data-type="highlight"]{padding:0;border:0;border-radius:0;background:#ffde0060;box-shadow:none}
.ns-sidebar .ns-palette button{border:1px solid #d0ddee!important;background:#f6f9fd!important;color:#26425f!important;box-shadow:none!important;transition:background .15s,border-color .15s}
.ns-sidebar .ns-palette button.active{outline:0;box-shadow:0 0 0 3px #2563eb18!important;border-color:#2563eb!important;background:#eaf2ff!important;color:#174eae!important}
.ns-paper [hidden]{display:none!important}
[data-ns-preview-status]{font:16px/1.5 sans-serif;padding:24px;background:#f1f5fa;color:#183550;border:1px solid #cbd6e3;border-radius:10px}
[data-ns-preview-status][role=alert]{background:#fff1f1;color:#8d2222}
#novasign-sent-packages table{width:100%!important;min-width:0!important;table-layout:fixed!important}
#novasign-sent-packages :is(th,td){min-width:0!important;max-width:none!important;white-space:normal!important;overflow-wrap:anywhere;vertical-align:top}
#novasign-sent-packages br{display:block!important}
#novasign-sent-packages th:nth-child(1){width:4%}#novasign-sent-packages th:nth-child(2){width:22%}#novasign-sent-packages th:nth-child(3){width:17%}#novasign-sent-packages th:nth-child(4){width:19%}#novasign-sent-packages th:nth-child(5){width:16%}#novasign-sent-packages th:nth-child(6){width:12%}#novasign-sent-packages th:nth-child(7){width:10%}
#novasign-sent-packages button{min-width:0!important;max-width:100%;white-space:normal!important;padding:8px!important;margin:4px 0}

/* Signing Studio: one visual system for every stage, with no change to records or permissions. */
#nova-sender.ns-studio-active{--studio-ink:#18334d;--studio-muted:#58728b;--studio-blue:#2667e8;--studio-line:#dce6f1}
#nova-sender.ns-studio-active>.panel,#nova-sender.ns-studio-active .ns-editor>.panel{border:1px solid var(--studio-line);border-radius:20px;box-shadow:0 8px 30px #071c3512}
#nova-sender .ns-studio-header{position:relative;overflow:hidden;background:radial-gradient(ellipse at 90% 0%,#146d9655,transparent 55%),linear-gradient(115deg,#102b49,#152c48 60%,#133650)!important;border-color:#2a4a68!important;padding:26px!important;color:#eef7ff!important}
#nova-sender .ns-studio-header :is(h3,p,.ns-step-count){color:#eef7ff!important}
#nova-sender .ns-studio-header .ns-toolbar{margin:0 0 18px}
#nova-sender .ns-studio-header h3{font-size:24px!important;letter-spacing:-.5px;margin:0}
.ns-studio-kicker{font:700 11px/1.4 system-ui,sans-serif!important;letter-spacing:2px;color:#31b9d4!important;margin:12px 0 8px}
#nova-sender .ns-studio-header .ns-step-count{font-size:17px!important;margin:0 0 20px;font-weight:500}
#nova-sender .ns-studio-header>p:last-child{font-size:13px!important;color:#b2c9dd!important;margin:16px 0 0}
#nova-sender .ns-studio-header [data-ns-back]{background:#ffffff0d!important;border:1px solid #5a7791!important;color:white!important;font-size:12px!important;padding:9px 14px!important;min-width:0}
.ns-step-rail{display:grid;grid-template-columns:repeat(var(--ns-step-count,7),minmax(0,1fr));gap:8px;list-style:none;padding:0;margin:16px 0 0}
.ns-step-rail li{display:flex;align-items:center;gap:7px;min-width:0;padding:10px 7px;border:1px solid #587b9633;border-radius:10px;color:#809bb2;font:600 11px/1.3 system-ui,sans-serif!important}
.ns-step-rail li>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ns-step-number{display:grid;place-items:center;flex:0 0 23px;width:23px;height:23px;border-radius:50%;background:#ffffff0b;color:inherit;font:700 11px/1 system-ui,sans-serif!important}
.ns-step-rail li.done{color:#cbd1d7;background:#59616c0b;border-color:#59616c66}
.ns-step-rail li.done .ns-step-number{background:#3b424a;color:#e2e5e9}
.ns-step-rail li.current{color:#fff;background:linear-gradient(120deg,#2461d8,#2387a8);border-color:#59b9e4;box-shadow:0 3px 14px #0b90d533}
.ns-step-rail li.current .ns-step-number{background:white;color:#2355a1}
#nova-sender.ns-studio-active :is(label,input,select,textarea,button){font-size:14px!important;line-height:1.45!important}
#nova-sender.ns-studio-active :is(input:not([type=checkbox]):not([type=radio]),select,textarea),.ns-start-studio :is(input,select){border:1px solid #cddcea!important;border-radius:11px!important;background:#f8fbff!important;color:#193652!important;min-width:0;max-width:100%;padding:12px 14px!important;box-shadow:inset 0 1px 2px #183b5a03}
#nova-sender.ns-studio-active :is(input,select,textarea):focus-visible,.ns-start-studio :is(input,select):focus-visible{outline:3px solid #2667e825!important;border-color:#2667e8!important}
#nova-sender.ns-studio-active label{color:var(--studio-ink);font-weight:600;gap:8px}
#nova-sender.ns-studio-active :is(h3,h4){color:#18334d!important;letter-spacing:-.3px}
#nova-sender.ns-studio-active .ns-wizard-screen>h3,#nova-sender.ns-studio-active .ns-sidebar>h3{font-size:21px!important;margin:0 0 14px}
#nova-sender.ns-studio-active :is(.ns-wizard-screen,.ns-sidebar)>p{font-size:14px!important;line-height:1.65!important;color:#58728b!important;max-width:800px}
#nova-sender.ns-studio-active button{border-radius:10px!important;padding:10px 16px!important;min-width:0!important;border:1px solid #cbd9e8!important;background:#f8fbff!important;color:#234261!important;box-shadow:none!important;transition:border-color .15s,background .15s,transform .15s}
#nova-sender.ns-studio-active button:hover:not(:disabled){background:#edf4ff!important;border-color:#80a9e8!important;transform:translateY(-1px)}
#nova-sender.ns-studio-active button:focus-visible{outline:3px solid #2683e94d;outline-offset:2px}
#nova-sender.ns-studio-active :is([data-ns-wizard-next],[data-ns-ready],[data-nd-launch=live]),.ns-start-studio [data-ns-create]{background:linear-gradient(120deg,#275fe0,#188ba7)!important;border:1px solid #286ee0!important;color:white!important;font-weight:700!important;box-shadow:0 4px 12px #2269bc26!important}
#nova-sender.ns-studio-active button:disabled{opacity:.45;transform:none!important;cursor:not-allowed}
#nova-sender.ns-studio-active .ns-wizard-actions{padding:0!important;justify-content:flex-end;gap:10px;background:transparent!important;box-shadow:none;flex-shrink:0}
#nova-sender .ns-step-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}
#nova-sender .ns-step-heading .ns-step-count{margin:0!important}
#nova-sender .ns-studio-header .ns-wizard-actions [data-ns-wizard-back]{background:#ffffff0d!important;border-color:#5a7791!important;color:white!important}
#dialog:has(.ns-start-studio) .dialog-head{align-items:center;gap:16px;flex-wrap:wrap}
#dialog:has(.ns-start-studio) .dialog-head h2{flex:1;margin:0;min-width:220px}
#dialog .ns-start-actions{justify-content:flex-end;margin-left:auto;gap:10px}
#dialog .ns-start-actions [data-ns-create]{font-size:14px!important;padding:13px 20px!important;border-radius:11px!important;background:linear-gradient(120deg,#275fe0,#188ba7)!important;color:white!important;border:1px solid #286ee0!important;margin:0}
#nova-sender .ns-file-drop{display:flex;flex-direction:column;align-items:center;gap:10px;background:linear-gradient(145deg,#f3f8ff,#eefafa);border:1.5px dashed #79a9d9;border-radius:16px;padding:28px;line-height:1.6}
.ns-upload-symbol{display:grid;place-items:center;width:52px;height:52px;background:white;border:1px solid #d1e2f1;border-radius:15px;color:#296fd6;box-shadow:0 4px 15px #2667e815}
.ns-upload-symbol svg{width:27px;height:27px}
#nova-sender button.ns-upload-symbol{display:grid;place-items:center;width:52px;height:52px;min-width:52px;padding:0;background:white;border:1px solid #d1e2f1;border-radius:15px;color:#296fd6;box-shadow:0 4px 15px #2667e815;cursor:pointer}
#nova-sender button.ns-upload-symbol:hover:not(:disabled){background:#eaf3ff;border-color:#77a7e9}
#nova-sender button.ns-upload-symbol:focus-visible{outline:3px solid #296fd6;outline-offset:3px}
#nova-sender button.ns-upload-symbol:disabled{cursor:not-allowed;opacity:.5}
#nova-sender .ns-file-drop strong{font-size:19px!important;color:#234a6c!important}
.ns-upload-caption{font-size:12px!important;color:#55718a}
#nova-sender .ns-file-drop input{width:100%;margin:10px 0 0;font-size:12px!important;background:#fff!important}
#nova-sender .ns-file-drop input::file-selector-button{border:0;border-radius:8px;background:#e8f0ff;color:#255db1;padding:9px 14px;margin-right:12px;font-weight:600;cursor:pointer}
#nova-sender .ns-document-grid .ns-doc-row{border:1px solid #dce6f1;border-radius:14px;box-shadow:0 2px 9px #1a416004;padding:18px;transition:border-color .15s,background .15s}
#nova-sender .ns-document-grid .ns-doc-row:has(input:checked){border-color:#4e85e0;background:#f0f6ff;box-shadow:inset 3px 0 #3271df}
#nova-sender .ns-document-grid label{align-items:center;font-size:14px!important}
#nova-sender input[type=checkbox]{accent-color:#2667e8}
#nova-sender .ns-placement-choice{padding:20px;margin:14px 0;border:1px solid #dce6f1;border-radius:14px;background:#f7faff}
#nova-sender .ns-placement-choice h4{margin:0 0 12px;font-size:16px!important;overflow-wrap:anywhere}
#nova-sender .ns-placement-choice p{font-size:13px!important;color:#58728b!important}
#nova-sender .ns-person{border:1px solid #dce6f1;border-left:4px solid var(--ns-color,#347ad8);border-radius:14px;background:linear-gradient(110deg,#f4f8ff,#fff);padding:20px;margin:16px 0;max-width:none}
#nova-sender .ns-person h4{font-size:15px!important;margin:0 0 12px;overflow-wrap:anywhere}
#nova-sender [data-ns-add-signer]{padding:20px;border:1px solid #dce6f1;border-radius:14px;background:#f7faff;margin:20px 0;display:grid;grid-template-columns:1fr 1fr;gap:14px}
#nova-sender [data-ns-add-signer] button{grid-column:1/-1;justify-self:start}
#nova-sender .ns-editor{gap:18px;grid-template-columns:minmax(0,1fr) 320px}
#nova-sender .ns-editor>section{padding:20px!important;background:#eaf0f7!important}
#nova-sender .ns-editor .ns-toolbar{gap:12px;background:#ffffffb8;border:1px solid #d9e3ef;padding:12px;border-radius:12px;align-items:end}
#nova-sender .ns-editor .ns-toolbar label{min-width:0;flex:1}
#nova-sender .ns-editor .ns-toolbar a{font-size:12px!important;color:#2867b9!important;text-decoration:none;padding-bottom:12px}
#nova-sender .ns-preview-title{font-size:12px!important;color:#5b7187!important;margin:14px 0}
#nova-sender .ns-paper{box-shadow:0 5px 20px #12325020}
#nova-sender .ns-sidebar{padding:20px!important;max-height:82vh;border-top:3px solid #3a81de;scrollbar-width:thin;scrollbar-color:#b8cbdf transparent}
#nova-sender .ns-sidebar>label{margin-bottom:18px}
#nova-sender .ns-sidebar details{margin:20px 0;border-top:1px solid #e0e9f2;padding-top:16px}
#nova-sender .ns-sidebar summary{font-size:12px!important;color:#57718b!important;margin-bottom:12px;cursor:pointer;letter-spacing:.2px}
#nova-sender .ns-palette{gap:9px}
#nova-sender .ns-sidebar .ns-tool-card{display:flex;align-items:center;gap:9px;text-align:left;padding:12px 10px!important;border-radius:12px!important;min-height:58px;background:#f8fbff!important}
#nova-sender .ns-tool-card>span:last-child{font-size:12px!important;line-height:1.3!important;font-weight:600;white-space:normal}
.ns-tool-icon{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border-radius:8px;background:#e7effa;color:#366cab}
.ns-tool-icon svg{width:19px;height:19px;display:block}
#nova-sender .ns-sidebar .ns-tool-card.active{background:#eaf3ff!important;color:#1953ab!important;border-color:#548ae0!important;box-shadow:0 0 0 2px #347bdd12!important}
#nova-sender .ns-tool-card.active .ns-tool-icon{background:#2868d8;color:white}
#nova-sender .ns-sidebar>section{margin-top:20px;padding-top:16px;border-top:1px solid #dce6f1}
#nova-sender .ns-sidebar>section h4{font-size:14px!important;margin:0 0 14px}
#nova-sender .ns-sidebar>section>label:has(input[type=number]){display:inline-grid;width:calc(50% - 7px);margin:0 3px 12px 0;font-size:11px!important}
#nova-sender .ns-sidebar [data-ns-field-remove]{border-color:#efced4!important;color:#a64459!important;background:#fff5f6!important;font-size:12px!important}
#nova-sender .ns-sidebar [data-ns-initial-pages]{width:100%;font-size:12px!important}
#nova-sender .ns-wizard-screen:has([name=ns_title])>label:not(.check){display:inline-grid;width:calc(50% - 14px);margin:10px 10px 10px 0;vertical-align:top}
#nova-sender .ns-wizard-screen:has([name=ns_title])>label:has(textarea){width:100%}
#nova-sender .ns-wizard-screen .check{padding:16px;background:#eef0f2;border:1px solid #d3d7dc;border-radius:12px;margin:20px 0}
#nova-sender #nova-deliveries{margin-top:18px;background:#f7faff;border:1px solid #dce6f1;border-radius:20px;padding:24px}
#nova-sender #nova-deliveries :is(p,small){font-size:13px!important;line-height:1.6!important}
.ns-start-studio{padding:8px 0;font-family:system-ui,sans-serif}
.ns-start-studio .ns-step-rail{padding:18px;border-radius:14px;background:linear-gradient(110deg,#102b49,#163e58);margin-bottom:26px}
.ns-start-feature{display:flex;align-items:center;gap:18px;background:linear-gradient(120deg,#eff5ff,#f0f2f4);border:1px solid #d7e8f1;border-radius:16px;padding:20px;margin:0 0 24px}
.ns-start-feature>svg{width:45px;height:45px;flex:0 0 45px;color:#3377c9}
.ns-start-feature h3{font-size:22px!important;color:#20405c!important;margin:0 0 6px}
.ns-start-feature p{font-size:14px!important;line-height:1.6!important;color:#58728b!important;margin:0}
.ns-start-studio>label,.ns-start-studio #ns-new-file-details label{font-size:14px!important;margin:20px 0}
.ns-start-studio [data-ns-create]{font-size:14px!important;padding:13px 20px!important;border-radius:11px!important;margin-top:18px}
#dialog .ns-start-studio .ns-step-rail li{flex-direction:column;color:#94b1c9!important}
#dialog .ns-start-studio .ns-step-rail li.current{color:#fff!important}
#dialog .ns-start-studio .ns-step-rail li>span:last-child{color:inherit!important;font-size:12px!important;white-space:normal}
.ns-step-rail li.current .ns-step-number,#nova-sender .ns-step-rail li.current .ns-step-number,#dialog .ns-step-rail li.current .ns-step-number{color:#2355a1!important}
#dialog .ns-start-studio .ns-step-number{font-size:11px!important;color:inherit}
#dialog .ns-start-studio [data-ns-create]{background:linear-gradient(120deg,#275fe0,#188ba7)!important;color:white!important;border:1px solid #286ee0!important}
#dialog .ns-start-feature svg,#nova-sender .ns-upload-symbol svg{color:#3377c9!important}
#dialog .ns-start-feature svg path,#nova-sender .ns-upload-symbol svg path,#nova-sender .ns-tool-icon svg path{color:inherit!important;stroke:currentColor!important}
#nova-sender .ns-wizard-screen:has([name=ns_title])>label:not(.check):has(textarea){width:100%}
#nova-sender:has([data-ns-ready]) .ns-wizard-actions{position:static}
@media(max-width:1000px){#nova-sender .ns-editor{grid-template-columns:minmax(0,1fr)}#nova-sender .ns-sidebar{max-height:none;position:static}.ns-step-rail{grid-template-columns:repeat(7,minmax(65px,1fr));overflow-x:auto;padding-bottom:6px}.ns-step-rail li{flex-direction:column;text-align:center}.ns-start-studio .ns-step-rail{overflow-x:auto}}
@media(max-width:650px){#nova-sender .ns-studio-header{padding:18px!important}#nova-sender .ns-studio-header h3{font-size:19px!important}.ns-step-rail{gap:4px}#nova-sender [data-ns-add-signer]{grid-template-columns:1fr}#nova-sender .ns-wizard-screen:has([name=ns_title])>label:not(.check){width:100%;margin:10px 0}#nova-sender .ns-wizard-actions{bottom:0;padding:12px!important}.ns-start-feature{padding:16px}.ns-start-feature>svg{width:32px;height:32px;flex-basis:32px}}
@media(prefers-reduced-motion:reduce){#nova-sender.ns-studio-active button{transition:none;transform:none!important}}
#app button[data-nova-template-create],#dialog [data-nova-template-create-form] button[type=submit],#dialog [data-nt-save] button[type=submit]{background:linear-gradient(120deg,#275fe0,#188ba7)!important;color:#fff!important;background-image:linear-gradient(120deg,#275fe0,#188ba7)!important;border-color:#286ee0!important}
#dialog [data-nt-field]{background:#e8efffe6!important;color:#174b9b!important;box-shadow:0 2px 7px #245fe01a}
#dialog [data-nt-field]>span{display:block!important;font:600 11px/1.2 Arial,sans-serif!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;padding:3px 24px 2px 4px;box-sizing:border-box;max-height:100%}
#dialog [data-nt-field]>button{font:12px/1 Arial,sans-serif!important;width:20px!important;height:20px!important;padding:2px!important;min-height:0!important;min-width:0!important;border-radius:4px!important;background:white!important;color:#b42342!important}

/* Carry the signing studio palette through the editor, never into the PDF. */
#nova-sender.ns-studio-active .ns-editor>section{background:linear-gradient(145deg,#102b49,#153b52)!important;border-color:#2a4a68!important}
#nova-sender.ns-studio-active .ns-editor .ns-toolbar{background:linear-gradient(120deg,#183a59,#164659)!important;border-color:#345771!important;box-shadow:inset 0 1px 0 #ffffff0a}
#nova-sender.ns-studio-active .ns-editor .ns-toolbar label{color:#dcebf8!important}
#nova-sender.ns-studio-active .ns-editor .ns-toolbar a{color:#79d9ee!important}
#nova-sender.ns-studio-active .ns-preview-title{color:#b5cce0!important}
#nova-sender.ns-studio-active .ns-sidebar{background:radial-gradient(ellipse at 100% 0%,#14739140,transparent 55%),linear-gradient(155deg,#102b49,#142f49 65%,#143c50)!important;border-color:#2d506d!important;border-top-color:#36b6cf!important;box-shadow:0 12px 30px #07182a26;scrollbar-color:#47718d transparent}
#nova-sender.ns-studio-active .ns-sidebar :is(h3,h4,label){color:#e6f2ff!important}
#nova-sender.ns-studio-active .ns-sidebar :is(p,small,summary){color:#b5cde1!important}
#nova-sender.ns-studio-active .ns-sidebar :is(details,section){border-color:#34536c!important}
#nova-sender.ns-studio-active .ns-editor :is(.ns-sidebar,.ns-toolbar) :is(input:not([type=checkbox]),select,textarea){background:#0c2239!important;color:#e9f5ff!important;border-color:#41617d!important;box-shadow:inset 0 1px 3px #00000015}
#nova-sender.ns-studio-active .ns-editor :is(.ns-sidebar,.ns-toolbar) :is(input,select,textarea):focus{border-color:#53c5e2!important;outline:2px solid #53c5e233!important;outline-offset:2px}
#nova-sender.ns-studio-active .ns-editor :is(.ns-sidebar,.ns-toolbar) option{background:#102b49!important;color:#e9f5ff!important}
#nova-sender.ns-studio-active .ns-sidebar .ns-tool-card{background:linear-gradient(135deg,#203f5d,#19364f)!important;border-color:#3b5b77!important;color:#dfedfa!important;box-shadow:inset 0 1px 0 #ffffff08!important;transition:background .15s,border-color .15s}
#nova-sender.ns-studio-active .ns-sidebar .ns-tool-card>span:last-child{color:inherit!important}
#nova-sender.ns-studio-active .ns-sidebar .ns-tool-card:hover{background:#244d69!important;border-color:#65bdd2!important}
#nova-sender.ns-studio-active .ns-sidebar .ns-tool-icon{background:#2c526f!important;color:#8eddec!important}
#nova-sender.ns-studio-active .ns-sidebar .ns-tool-card.active{background:linear-gradient(115deg,#245ddd,#168da5)!important;color:#fff!important;border-color:#63baf0!important;box-shadow:0 4px 14px #061a3530!important}
#nova-sender.ns-studio-active .ns-sidebar .ns-tool-card.active .ns-tool-icon{background:#ffffff1c!important;color:#fff!important}
#nova-sender.ns-studio-active .ns-sidebar [data-ns-initial-pages]{background:#24435f!important;border-color:#4b708d!important;color:#e5f3ff!important}
#nova-sender.ns-studio-active .ns-sidebar [data-ns-field-remove]{background:#472b40!important;border-color:#8b5064!important;color:#ffc8d2!important}
@media(prefers-reduced-motion:reduce){#nova-sender.ns-studio-active .ns-sidebar .ns-tool-card{transition:none}}
@media(max-width:1000px){.ns-step-rail{grid-template-columns:repeat(var(--ns-step-count,7),minmax(65px,1fr))}}
#nova-sender .ns-person.ns-signer-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) auto;gap:14px;align-items:end;padding:14px 18px;margin:12px 0}
#nova-sender .ns-signer-row>label{margin:0!important;min-width:0;font-size:12px!important}
#nova-sender .ns-signer-row input{width:100%;min-width:0;box-sizing:border-box;margin:6px 0 0!important}
#nova-sender .ns-signer-actions{display:flex;gap:6px;align-items:center;padding-bottom:0}
#nova-sender .ns-signer-actions button{margin:0!important;padding:11px 14px!important;min-height:44px;white-space:nowrap}
#nova-sender .ns-signer-actions [data-ns-person-remove]{background:#fff5f7!important;border-color:#efced6!important;color:#a43d56!important}
@media(max-width:850px){#nova-sender .ns-person.ns-signer-row{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)}#nova-sender .ns-signer-actions{grid-column:1/-1;justify-content:flex-end}}
@media(max-width:550px){#nova-sender .ns-person.ns-signer-row{grid-template-columns:minmax(0,1fr);padding:12px}#nova-sender .ns-signer-actions{grid-column:1}}
#nova-sender .ns-add-person-actions{grid-column:1/-1;display:flex;align-items:center;gap:20px;flex-wrap:wrap}
#nova-sender .ns-add-person-actions button{margin:0!important}
#nova-sender [data-ns-add-signer] .ns-add-contact-check{display:flex!important;align-items:center;gap:8px;margin:0!important;width:auto!important;font-size:13px!important}
#nova-sender .ns-add-contact-check input{width:18px!important;height:18px!important;min-height:0!important;margin:0!important;accent-color:#2563eb}
#nova-sender .ns-cabinet-toolbar{gap:12px}
#nova-sender .ns-cabinet-toolbar h3{margin:0!important;flex:0 0 auto}
#nova-sender .ns-cabinet-toolbar [data-ns-new]{margin-right:auto!important}
/* A spacious start window with a compact, viewport-aware form. */
#dialog:has(.ns-start-studio){width:calc(100vw - 40px)!important;max-width:1500px!important;max-height:calc(100dvh - 24px)!important;padding:20px 24px!important;box-sizing:border-box;overflow:auto}
#dialog:has(.ns-start-studio) .dialog-head{padding:0 0 14px!important;margin:0 0 18px!important}
#dialog:has(.ns-start-studio) .dialog-head h2{font-size:20px!important;line-height:1.3!important}
#dialog .ns-start-studio{display:grid;grid-template-columns:1fr 1fr;grid-template-areas:"kicker kicker" "rail rail" "hero hero" "mode file" "details details" "error error" "footer footer";gap:14px 20px}
#dialog .ns-start-studio>.ns-studio-kicker{grid-area:kicker;margin:0!important;padding:0!important;font-size:11px!important}
#dialog .ns-start-studio>.ns-step-rail{grid-area:rail;padding:12px;margin:0}
#dialog .ns-start-studio .ns-step-rail li{flex-direction:row;padding:8px!important;gap:8px}
#dialog .ns-start-studio>.ns-start-feature{grid-area:hero;padding:14px 18px;margin:0;gap:14px}
#dialog .ns-start-feature h3{font-size:21px!important;line-height:1.3!important}
#dialog .ns-start-feature p{font-size:14px!important;line-height:1.5!important}
#dialog .ns-start-feature>svg{width:36px;height:36px;flex-basis:36px}
#dialog .ns-start-studio>label:has([name=ns_new_mode]){grid-area:mode}
#dialog .ns-start-studio>label:has([name=ns_new_file]){grid-area:file}
#dialog .ns-start-studio>label,#dialog .ns-start-studio #ns-new-file-details label{margin:0!important;font-size:14px!important}
#dialog .ns-start-studio :is(input,select){font-size:14px!important;padding:11px 14px!important;min-height:44px!important}
#dialog .ns-start-studio>#ns-new-file-details{grid-area:details}
#dialog .ns-start-studio>#ns-start-error{grid-area:error;margin:0!important}
#dialog .ns-start-studio>.ns-wizard-footer{grid-area:footer;margin:0!important;padding:12px 16px!important}
/* Unified NovaSign theme: shared platform UI, not document contents. */
/* The shared metallic workspace/topbar remain unchanged; only interior surfaces are themed. */
#novasign-navigation#novasign-navigation button[data-signing-tab]{background:#ffffff!important;background-image:none!important;box-shadow:none!important;color:#4a6778!important;border:0!important;border-radius:10px!important;font:700 14px/1.4 Oxygen,system-ui,sans-serif!important;flex:1!important;max-width:none!important;white-space:normal!important}
#novasign-navigation#novasign-navigation button[data-signing-tab].active{background:linear-gradient(115deg,#2565dc,#138b9e)!important;color:white!important}
#novasign-navigation#novasign-navigation button[data-signing-tab]{text-shadow:none!important;filter:none!important}
#signing-workspace-panel#signing-workspace-panel button[data-nova-template-create]{background:linear-gradient(115deg,#2565dc,#138b9e)!important;color:white!important;border-color:transparent!important}
#signing-workspace-panel .ns-step-rail li{color:#b5cde1!important}#signing-workspace-panel .ns-step-rail li.done{color:#d0d5da!important}#signing-workspace-panel .ns-step-rail li.current{color:#fff!important}
#signing-workspace-panel #nova-sender .ns-editor .ns-toolbar{background:#fff!important;border-color:#cbd0d5!important}
#signing-workspace-panel #nova-sender .ns-editor .ns-toolbar label{color:#234361!important}
#signing-workspace-panel #nova-sender .ns-editor .ns-toolbar :is(input,select){background:#f5f6f7!important;color:#234361!important;border-color:#cbd0d5!important}
#signing-workspace-panel #nova-sender .ns-editor .ns-toolbar a{color:#14788d!important}
#signing-workspace-panel #nova-sender .ns-preview-title{color:#617a8d!important}
#dialog:has(.ns-start-studio,[data-nt-canvas],[data-nova-template-preview],[data-nova-template-create-form],.ns-contact-picker,[data-nd-resend],[data-nd-cancel]) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font:14px/1.5 Oxygen,system-ui,sans-serif!important;background:#f5f6f7!important;color:#1e3b52!important;border:1px solid #cbd0d5!important;border-radius:10px!important;padding:12px 14px!important;max-width:100%;min-width:0}
#dialog:has([data-nt-canvas],[data-nova-template-preview],[data-nova-template-create-form],.ns-contact-picker,[data-nd-resend],[data-nd-cancel]) button:not([data-nt-remove]){font:700 14px/1.4 Oxygen,system-ui,sans-serif!important;background:#fff!important;background-image:none!important;color:#234361!important;border:1px solid #cbd0d5!important;border-radius:11px!important;min-height:42px;padding:10px 16px!important;box-shadow:none!important;text-shadow:none!important}
#dialog [data-nova-template-create-form] button[type=submit],#dialog [data-nt-save] button[type=submit]{background:linear-gradient(115deg,#2565dc,#138b9e)!important;color:white!important}
@media(max-width:700px){#signing-workspace-panel .workspace-grid{overflow-x:auto!important}#signing-workspace-panel .workspace-grid table{min-width:650px!important}#signing-workspace-panel .workspace-grid th{white-space:normal!important}}
@media(max-width:700px){#novasign-navigation#novasign-navigation{flex-wrap:wrap!important}#novasign-navigation#novasign-navigation button[data-signing-tab]{flex:1 1 40%!important;font-size:12px!important}}
body:has(#signing-workspace-panel) .workspace-headings:has([data-signing-tab]){background:#ffffffb8!important;border:1px solid #d2d6da!important;border-radius:14px!important;padding:6px!important;gap:6px!important;box-shadow:none!important;margin-bottom:20px;display:flex!important}
body:has(#signing-workspace-panel) .workspace-headings button[data-signing-tab]{background:transparent!important;background-image:none!important;box-shadow:none!important;color:#4a6778!important;border:0!important;border-radius:10px!important;font:700 14px/1.4 Oxygen,system-ui,sans-serif!important;padding:12px 18px!important;min-height:48px!important;min-width:0!important;max-width:none!important;flex:1!important;white-space:normal!important}
body:has(#signing-workspace-panel) .workspace-headings button[data-signing-tab].active{background:linear-gradient(115deg,#2565dc,#138b9e)!important;color:white!important}
#signing-workspace-panel{--ns-ink:#102c46;--ns-line:#d2d6da;color:#1e3b52;font-family:Oxygen,system-ui,sans-serif;min-width:0}
.ns-workspace-brand{display:flex;align-items:center;gap:16px;background:linear-gradient(115deg,#10243c,#123c53);border:1px solid #21465b;border-bottom:3px solid #189eb4;border-radius:20px;padding:24px 28px;margin:0 0 18px;color:white}
#signing-workspace-panel .ns-workspace-brand h2{color:white!important;font-size:30px!important;line-height:1.15;margin:0 0 6px!important;letter-spacing:-1px}
.ns-workspace-brand p{color:#a7c9dc!important;letter-spacing:1.8px;text-transform:uppercase;font-size:10px!important;font-weight:700;margin:0!important}
.ns-workspace-monogram{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:15px;background:linear-gradient(135deg,#317bf2,#169cae);color:white;font-size:27px;font-weight:700}
#signing-workspace-panel .ns-brand-panel{display:none}
#signing-workspace-panel .workspace-headings{background:#ffffffb8!important;border:1px solid var(--ns-line)!important;border-radius:14px!important;padding:6px!important;gap:6px;box-shadow:none!important;margin-bottom:20px}
#signing-workspace-panel .workspace-headings button{background:transparent!important;background-image:none!important;box-shadow:none!important;color:#4a6778!important;border:0!important;border-radius:10px!important;font:700 14px/1.4 Oxygen,system-ui,sans-serif!important;padding:12px 18px!important;min-height:48px!important;min-width:0!important;flex:1}
#signing-workspace-panel .workspace-headings button.active{background:linear-gradient(115deg,#2565dc,#138b9e)!important;color:white!important}
#signing-workspace-panel :is(.panel,.table-workspace){background:#fff!important;color:#1e3b52!important;border:1px solid var(--ns-line)!important;border-radius:20px!important;box-shadow:0 12px 35px #153e630b!important;margin-bottom:20px}
#signing-workspace-panel .panel{padding:24px!important}
#signing-workspace-panel :is(h3,h4){color:var(--ns-ink)!important;letter-spacing:-.3px}
#signing-workspace-panel h3{font-size:22px!important}#signing-workspace-panel p{font-size:14px;line-height:1.75}
#signing-workspace-panel button:not(.ns-field-trash):not(.ns-upload-icon):not(.ns-tool-card){font:700 14px/1.4 Oxygen,system-ui,sans-serif!important;min-width:0!important;min-height:42px;padding:10px 16px!important;border:1px solid #cbd0d5!important;border-radius:11px!important;background:#fff!important;background-image:none!important;color:#234361!important;box-shadow:none!important}
#signing-workspace-panel button:not(.ns-field-trash):not(.ns-upload-icon):hover{background:#e8ebee!important;border-color:#8a929b!important}
#signing-workspace-panel #nova-sender button:is([data-ns-new],[data-ns-wizard-next],[data-ns-ready],[data-nd-launch=live],.ns-save-text),#signing-workspace-panel button[data-nova-template-create]{background:linear-gradient(115deg,#2565dc,#138b9e)!important;color:#fff!important;border-color:transparent!important;background-image:linear-gradient(115deg,#2565dc,#138b9e)!important}
#signing-workspace-panel :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#f5f6f7!important;color:#1e3b52!important;border:1px solid #cbd0d5!important;border-radius:10px!important;font:14px/1.5 Oxygen,system-ui,sans-serif!important;padding:12px 14px!important;min-width:0;max-width:100%}
#signing-workspace-panel :is(button,input,select,textarea):focus-visible{outline:3px solid #258ba955!important;outline-offset:2px}
#signing-workspace-panel .workspace-toolbar{background:#fff!important;border-color:var(--ns-line)!important;border-radius:20px 20px 0 0}
#signing-workspace-panel .workspace-grid th{background:#30363d!important;color:#f4f5f6!important;font-size:12px!important}
#signing-workspace-panel .workspace-grid td{color:#1e3b52!important;font-size:14px!important;border-color:#dfe2e5!important}
#signing-workspace-panel .workspace-grid tr:hover td{background:#eef0f2!important}
#signing-workspace-panel .workspace-note{color:#617a8d!important;border-color:var(--ns-line)!important;background:#f5f6f7!important;border-radius:0 0 20px 20px}
#signing-workspace-panel a{color:#14788d!important}
#signing-workspace-panel .ns-studio-header{background:linear-gradient(115deg,#10243c,#123c53)!important;border-radius:20px!important}
#signing-workspace-panel .ns-studio-header :is(h3,h4,p,.ns-step-count){color:#eaf5fa!important}
#signing-workspace-panel .ns-editor>section.panel{background:#e7e9ec!important}
#signing-workspace-panel .ns-editor .ns-toolbar{background:#fff!important;border-color:#cbd0d5!important}
#signing-workspace-panel .ns-editor .ns-toolbar label{color:#234361!important}
#signing-workspace-panel .ns-editor .ns-toolbar :is(input,select){background:#f5f6f7!important;color:#234361!important;border-color:#cbd0d5!important}
#signing-workspace-panel .ns-preview-title{color:#617a8d!important}
#signing-workspace-panel .ns-sidebar{background:linear-gradient(155deg,#102b49,#143c50)!important;border-color:#2d506d!important;border-top:3px solid #36b6cf!important}
#signing-workspace-panel .ns-sidebar :is(h3,h4,label){color:#e6f2ff!important}
#signing-workspace-panel .ns-sidebar :is(input:not([type=checkbox]),select,textarea){background:#0c2239!important;color:#e9f5ff!important;border-color:#41617d!important}
#signing-workspace-panel .ns-sidebar button:not(.ns-tool-card){background:#24435f!important;color:#e5f3ff!important;border-color:#4b708d!important}
#signing-workspace-panel .ns-sidebar :is(.ns-save-text,[data-ns-initial-pages]){background:linear-gradient(115deg,#2565dc,#138b9e)!important;color:white!important}
#signing-workspace-panel .ns-sidebar [data-ns-field-remove]{background:#472b40!important;color:#ffc8d2!important;border-color:#8b5064!important}
#signing-workspace-panel .ns-file-drop{background:#f0f1f3!important;border-color:#8a929b!important}
#signing-workspace-panel .ns-person{background:#f5f6f7!important;border-radius:14px!important;border-color:#d2d6da!important}
#signing-workspace-panel .nd-package{background:#f5f6f7;border:1px solid #d2d6da;border-radius:16px;padding:20px;margin-top:16px}
#dialog:has(.ns-start-studio,[data-nt-canvas],[data-nova-template-preview],[data-nova-template-create-form],.ns-contact-picker,[data-nd-resend],[data-nd-cancel]){background:#eef0f2!important;border:1px solid #d2d6da!important;border-radius:22px!important;color:#1e3b52!important;box-shadow:0 24px 80px #102b4650!important}
#dialog:has(.ns-start-studio,[data-nt-canvas],[data-nova-template-preview],[data-nova-template-create-form],.ns-contact-picker,[data-nd-resend],[data-nd-cancel]) .dialog-head{background:linear-gradient(115deg,#10243c,#123c53)!important;color:white!important;border-radius:14px;padding:16px!important}
#dialog:has(.ns-start-studio,[data-nt-canvas],[data-nova-template-preview],[data-nova-template-create-form],.ns-contact-picker,[data-nd-resend],[data-nd-cancel]) .dialog-head h2{color:white!important}
@media(max-width:700px){.ns-workspace-brand{padding:20px}.ns-workspace-brand h2{font-size:24px!important}#signing-workspace-panel .panel{padding:18px!important}#signing-workspace-panel .workspace-headings{flex-wrap:wrap}#signing-workspace-panel .workspace-headings button{flex:1 1 40%;font-size:12px!important;padding:10px!important}#signing-workspace-panel .ns-toolbar{align-items:flex-start}#signing-workspace-panel .ns-toolbar h3{flex-basis:100%;margin:0!important}}
@media(max-width:650px){#dialog:has(.ns-start-studio){width:calc(100vw - 16px)!important;padding:16px!important}#dialog .ns-start-studio{grid-template-columns:1fr;grid-template-areas:"kicker" "rail" "hero" "mode" "file" "details" "error" "footer"}#dialog .ns-start-studio .ns-step-rail li{flex-direction:column}#dialog:has(.ns-start-studio) .dialog-head h2{font-size:17px!important;min-width:0}}
/* Final sender review: a clear confirmation card, not a mint notification bar. */
@media screen{
 #app #nova-sender .ns-invitation-editor{background:#f5f9fd;border:1px solid #d2e0eb;border-radius:14px;padding:16px 18px;margin:16px 0}
 #app #nova-sender .ns-invitation-editor summary{cursor:pointer;font-weight:700;color:#234361!important}
 #app #nova-sender .ns-invitation-editor textarea{width:100%;min-height:160px;resize:vertical}
 #app #nova-sender [data-ns-invitation-copy]{background:#f8fbfd;border-left:3px solid #258ba9;border-radius:0 10px 10px 0;padding:18px 20px;margin-top:16px}
}
@media screen{
 #app #signing-workspace-panel #nova-sender label.check:has([name=ns_confirmed]){display:flex!important;align-items:center!important;gap:16px!important;width:100%!important;box-sizing:border-box;margin:24px 0!important;padding:22px 24px!important;border:1px solid #b9cde2!important;border-left:4px solid #2565dc!important;border-radius:16px!important;background:linear-gradient(115deg,#f4f8ff,#f9fbfd)!important;color:#102c46!important;font:700 16px/1.6 Oxygen,system-ui,sans-serif!important;box-shadow:0 6px 20px #102c4608!important;cursor:pointer;transition:background .15s,border-color .15s}
 #app #signing-workspace-panel #nova-sender label.check:has([name=ns_confirmed]:checked){background:linear-gradient(115deg,#10243c,#123c53)!important;color:#f0f7fc!important;border-color:#295a73!important;border-left-color:#26a7c1!important;box-shadow:0 8px 24px #102c4615!important}
 #app #signing-workspace-panel #nova-sender [name=ns_confirmed]{width:22px!important;height:22px!important;min-height:22px!important;flex:0 0 22px;margin:0!important;accent-color:#2565dc;cursor:pointer}
 #app #signing-workspace-panel #nova-sender label.check:has([name=ns_confirmed]:focus-visible){outline:3px solid #258ba980;outline-offset:3px}
 @media(max-width:700px){#app #signing-workspace-panel #nova-sender label.check:has([name=ns_confirmed]){padding:18px!important;gap:12px!important;align-items:flex-start!important}#app #signing-workspace-panel #nova-sender [name=ns_confirmed]{margin-top:2px!important}}
}
