@font-face{font-family:SignSans;src:local('Inter'),local('Segoe UI')}*{box-sizing:border-box}body{margin:0;color:#25273d;background:#f8f8fb;font:15px SignSans,'Segoe UI',Arial,sans-serif;line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button,a{transition:background .15s,box-shadow .15s}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}a{color:#5355bf;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b7b4ff;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:-1.1px;line-height:1.2;font-weight:650}h2{font-size:22px;letter-spacing:-.5px;font-weight:650}h3{font-size:16px;font-weight:650}small,.muted{color:#787a8e}small{font-size:12px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;color:#8b8ca0}.brand{display:flex;align-items:center;gap:9px;font-size:23px;letter-spacing:-.7px;font-weight:650;color:#292b43}.brand img{width:37px;height:37px;object-fit:contain}.brand em{font-style:normal;color:#6768cf;font-weight:500}.sidebar{position:fixed;inset:0 auto 0 0;width:230px;padding:30px 22px;background:#fff;border-right:1px solid #e9e9f0;display:flex;flex-direction:column;z-index:3}.sidebar .brand{margin:0 9px 48px}.nav-item{display:flex;gap:13px;align-items:center;padding:12px 15px;margin:5px 0;border:0;background:none;width:100%;text-align:left;color:#7b7d90;border-radius:8px}.nav-item.active{background:#efeffb;color:#5455b8;font-weight:600}.sidebar-bottom{margin-top:auto;border-top:1px solid #ededf2;padding-top:23px}.avatar{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#edecfb;color:#6866ba;font-size:12px;font-weight:650}.side-note{font-size:12px;color:#999bad;line-height:1.7;margin:26px 8px}.workspace{margin-left:230px}.topbar{height:78px;padding:0 44px;border-bottom:1px solid #e9e9f1;display:flex;align-items:center;justify-content:space-between;background:#ffffffc9;font-size:13px;color:#7c7e93}.workspace main{padding:43px 44px 70px;max-width:1550px;margin:auto}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.page-head p{margin:9px 0 0;color:#8a8c9e;font-size:14px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:9px;border:1px solid #dfdfe9;border-radius:8px;padding:11px 17px;min-height:43px;background:#fff;color:#42445e;font-weight:550;font-size:13px;white-space:nowrap}.btn:hover{background:#f5f5fb}.btn.primary{background:#5556c9;color:white;border-color:#5556c9;box-shadow:0 3px 8px #5254bf19}.btn.primary:hover{background:#4546b8}.btn.danger{color:#a74758}.btn.ghost{background:transparent;border-color:transparent;color:#84869a}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:35px}.stat{background:#fff;padding:23px;border:1px solid #e8e8f0;border-radius:11px}.stat-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#8e90a4}.stat strong{display:block;font-size:32px;letter-spacing:-1px;font-weight:550;margin:12px 0 3px}.stat small{font-size:11px}.stat-icon{display:inline-flex;border-radius:8px;background:#f0effb;color:#7773c4;width:31px;height:31px;align-items:center;justify-content:center;font-size:17px}.card{background:#fff;border:1px solid #e6e6ef;border-radius:11px;overflow:hidden}.card-pad{padding:25px}.toolbar{padding:18px 22px;display:flex;justify-content:space-between;align-items:center;gap:14px;border-bottom:1px solid #eeeeF4}.tabs{display:flex;gap:6px}.tab{border:0;background:transparent;padding:8px 13px;border-radius:6px;font-size:12px;color:#8c8da0}.tab.on{background:#eeedf9;color:#5e5cbb;font-weight:650}.search{position:relative}.search input{width:210px;font-size:12px;margin:0;min-height:36px;background:#fafafd;border-color:#ebebf1}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:#9b9caf;background:#fcfcfe;padding:14px 23px;font-weight:550}td{padding:22px 23px;border-bottom:1px solid #f0f0f5;font-size:12px}tr:last-child td{border-bottom:0}.doc-cell{display:flex;align-items:center;gap:14px}.doc-icon{background:#f3f2fc;border:1px solid #e8e6f7;width:39px;height:47px;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#8d87c9;font-size:20px}.doc-cell strong{display:block;font-size:13px;font-weight:600;margin-bottom:4px}.doc-cell small{font-size:11px;color:#9a9caf}.badge{display:inline-flex;padding:5px 9px;border-radius:5px;font-size:10px;font-weight:600;white-space:nowrap;background:#f0f0f5;color:#85869a}.badge.sent,.badge.ready{background:#fff4da;color:#b18d33}.badge.completed,.badge.signed{background:#e9f6ef;color:#4f9972}.badge.revoked,.badge.declined,.badge.expired,.badge.failed,.badge.bounced{background:#fff0f0;color:#b26568}.badge.local_test{background:#f0edff;color:#7a69ba}.badge.draft{background:#eeedf9;color:#8076b3}.progress-line{display:flex;align-items:center;gap:4px;margin-top:5px}.progress-line span{width:22px;height:3px;background:#e7e7f1;border-radius:3px}.progress-line span.done{background:#8bb5a0}.empty{text-align:center;padding:64px 24px;color:#8f90a3}.empty .empty-icon{font-size:35px;color:#aca8db;margin-bottom:15px}.empty h3{color:#4e506a;margin-bottom:8px}.footer-note{display:flex;justify-content:space-between;color:#a1a3b4;font-size:11px;margin-top:23px}.login{min-height:100dvh;display:grid;grid-template-columns:1.05fr 1fr;background:#fff}.login-aside{background:linear-gradient(160deg,#eeeafb,#e8f2f2);padding:55px 65px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.login-aside h1{font-size:52px;max-width:450px;line-height:1.17;color:#3c3d64}.login-aside p{color:#828298;max-width:330px}.login-orb{width:210px;height:210px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fff,#cdc5f2 50%,#9bbec5);box-shadow:25px 20px 70px #c9c7e2;margin:40px auto}.login-panel{display:flex;align-items:center;justify-content:center;padding:35px}.login-form{width:355px;max-width:100%}label{display:block;font-size:12px;color:#7c7d91;margin:17px 0 7px;font-weight:550}input,select,textarea{width:100%;padding:11px 12px;border:1px solid #dedee9;border-radius:7px;background:#fff;color:#373953;min-height:43px}input[type=checkbox]{width:17px;height:17px;min-height:0;flex-shrink:0;accent-color:#6061c9}input[type=file]{padding:20px;border-style:dashed;background:#fafafd;font-size:13px}textarea{resize:vertical}.error{color:#ac4059;background:#fff1f3;border-radius:7px;padding:12px 15px;font-size:13px;margin:12px 0}.hint{font-size:12px;color:#8b8da1;line-height:1.65}.notice{padding:13px 17px;border:1px solid #e4e1f2;background:#f5f3ff;border-radius:8px;color:#8177a9;font-size:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.steps{display:flex;gap:25px;font-size:12px;color:#aaaabd;margin-bottom:28px}.steps .current{color:#5a57bd;font-weight:650}.step-num{display:inline-flex;width:22px;height:22px;border-radius:50%;align-items:center;justify-content:center;border:1px solid #e1dfef;margin-right:8px}.steps .current .step-num{background:#6260c9;color:#fff;border-color:#6260c9}.composer{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px}.recip{border:1px solid #e6e3f1;border-radius:9px;padding:19px;margin-bottom:16px;background:#fff}.recip label{margin-top:10px}.recip.active{border-color:#bcb6e8;box-shadow:0 0 0 2px #eae7fc}.recip input{font-size:12px}.field-tools{display:flex;gap:6px;flex-wrap:wrap;margin-top:15px}.field-tools button{padding:6px 8px;border:1px solid #d8d2eb;background:#f8f5ff;color:#8072b2;font-size:11px;border-radius:5px}.field-tools button.selected{background:#6c62b9;color:#fff}.pdf-stage{padding:24px;background:#eeeeF5;overflow:auto;min-width:0;border:1px solid #e0dfeb;border-radius:10px}.pdf-page{position:relative;width:100%;margin:0 auto 22px;background:white;box-shadow:0 2px 7px #3331}.pdf-page img{display:block;width:100%;height:auto;pointer-events:none}.pdf-page .page-num{position:absolute;bottom:6px;right:10px;font-size:9px;color:#aaa}.field-box{position:absolute;border:1px dashed #9d91d0;background:#e9e3ffad;border-radius:3px;color:#7962b5;font-size:clamp(6px,1vw,12px);display:flex;align-items:center;justify-content:center;line-height:1;overflow:hidden;padding:0;min-height:0}.field-box.person-1{border-color:#65aa9d;background:#dcf3e8bf;color:#4b8b7e}.field-box img{max-width:100%;max-height:100%;width:auto;height:auto}.field-box.filled{border-style:solid;background:#f0ecff}.field-editor .pdf-page{cursor:crosshair}.field-remove{position:absolute;right:2px;top:1px;color:inherit;font-size:9px}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.person-line{padding:18px 0;border-bottom:1px solid #ededf3}.person-line:last-child{border:0}.audit-line{position:relative;padding:0 0 18px 21px;border-left:1px solid #e7e5f2;font-size:12px}.audit-line:before{content:'';position:absolute;width:7px;height:7px;background:#c3bcdf;border:2px solid white;left:-6px;top:4px;border-radius:50%}.audit-line small{display:block;font-size:10px;margin-top:4px}.sign-shell{min-height:100dvh;padding-bottom:100px;background:#f1f1f6}.sign-head{padding:18px 28px;background:white;display:flex;gap:20px;align-items:center;justify-content:space-between;border-bottom:1px solid #e2e1eb}.sign-head .brand{font-size:21px}.sign-head .brand img{width:29px;height:29px}.sign-context{padding:25px 24px 17px;max-width:900px;margin:auto}.sign-context h1{font-size:25px;margin:8px 0}.sign-context p{font-size:13px;color:#8c8da1;margin:0}.sign-docs{padding:10px 22px 25px;max-width:900px;margin:auto;overflow:auto}.zoom{display:flex;align-items:center;gap:10px;margin-bottom:14px;font-size:12px;color:#8c8ca1}.zoom .btn{min-height:31px;padding:3px 10px}.sign-bottom{position:fixed;bottom:0;left:0;right:0;z-index:5;background:#ffffffed;border-top:1px solid #e3e2ec;padding:17px 24px calc(17px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;gap:16px;backdrop-filter:blur(10px)}.sign-bottom .btn.primary{min-width:190px}.sign-bottom small{font-size:11px;max-width:400px}.complete-card{margin:70px auto;max-width:560px;text-align:center;padding:38px 25px}.complete-card h1{font-size:30px;margin:24px 0 15px}.complete-card p{color:#8b8b9f;font-size:14px}.check-circle{margin:auto;width:83px;height:83px;border-radius:50%;color:#75a995;background:#e9f5ef;font-size:40px;display:flex;align-items:center;justify-content:center}.complete-card .btn{margin-top:18px;min-width:245px}.status-panel{max-width:520px;margin:55px auto;padding:32px;background:#fff;border:1px solid #e4e2ed;border-radius:12px}.status-panel h1{font-size:26px}.status-panel p{color:#89899e;font-size:14px}.otp-row{display:flex;gap:10px}.otp-row input{letter-spacing:4px;max-width:180px}dialog{border:1px solid #dfdce9;border-radius:14px;padding:30px;width:min(650px,calc(100% - 32px));color:#34344d;background:#fff;max-height:calc(100dvh - 32px);overflow:auto}dialog::backdrop{background:#27253c6b;backdrop-filter:blur(3px)}dialog h2{font-size:24px}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-head h2{margin:0}.signature-canvas{width:100%;height:230px;background:#faf9fd;border:1px solid #e6e2f1;border-radius:8px;touch-action:none;display:block;cursor:crosshair}.signature-caption{font-size:11px;color:#b1adbe;text-align:center;margin:8px}.modal-actions{display:flex;justify-content:space-between;gap:10px;margin-top:24px}.consent{display:flex;gap:11px;align-items:flex-start;font-size:12px;line-height:1.6;color:#858099;margin-top:23px;font-weight:400}.consent input{margin-top:3px}.loading{text-align:center;padding:100px 20px;color:#9290ab}.spinner{display:inline-block;width:14px;height:14px;border:2px solid #ccc;border-top-color:#6661c2;border-radius:50%;animation:spin .6s linear infinite}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:12px 22px;background:#33334e;color:#fff;border-radius:8px;z-index:30;font-size:13px;box-shadow:0 4px 20px #2222;display:none;max-width:calc(100% - 30px)}.mail-preview{width:100%;height:620px;border:1px solid #e0dceb;border-radius:8px}.file-actions{display:flex;gap:10px;flex-wrap:wrap}.shell-error{max-width:550px;margin:90px auto;padding:25px}.mobile-only{display:none}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1500px){.pdf-stage{max-height:850px}}@media(max-width:1000px){.sidebar{width:190px;padding:28px 14px}.workspace{margin-left:190px}.workspace main{padding:30px 24px}.topbar{padding:0 24px}.stats{gap:10px}.stat{padding:17px}.composer,.detail-grid{grid-template-columns:1fr}.recipients-edit{display:grid;grid-template-columns:1fr 1fr;gap:15px}}@media(max-width:650px){h1{font-size:27px}.sidebar{display:none}.workspace{margin-left:0}.topbar{height:61px;padding:0 20px}.mobile-only{display:flex}.workspace main{padding:28px 18px 50px}.topbar .crumb{display:none}.page-head{align-items:flex-start;gap:10px}.page-head .btn{padding:9px 12px;font-size:11px}.page-head p{font-size:12px;max-width:200px}.stats{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:24px}.stat{padding:15px}.stat strong{font-size:27px;margin-top:8px}.stat-top{font-size:11px}.stat small{font-size:10px}.toolbar{padding:12px;flex-wrap:wrap}.search,.search input{width:100%}.tabs{gap:1px}.tab{font-size:11px;padding:7px 10px}td,th{padding:16px 15px}.footer-note{display:block;line-height:2}.login{grid-template-columns:1fr}.login-aside{padding:26px;min-height:270px}.login-aside h1{font-size:35px;margin:30px 0 10px}.login-aside p{font-size:12px;margin:0}.login-orb,.login-aside .eyebrow{display:none}.login-panel{padding:35px 25px}.form-grid,.recipients-edit{grid-template-columns:1fr;gap:0}.card-pad{padding:20px}.steps{gap:8px;font-size:10px}.step-num{width:18px;height:18px;margin-right:3px}.composer{gap:16px}.pdf-stage{padding:12px}.field-box{font-size:8px}.sign-head{padding:15px 18px}.sign-head small{font-size:9px;max-width:155px;text-align:right}.sign-context{padding:21px 18px 14px}.sign-context h1{font-size:21px}.sign-context p{font-size:12px}.sign-docs{padding:4px 12px 20px}.sign-bottom{padding:14px 17px calc(14px + env(safe-area-inset-bottom));gap:10px}.sign-bottom .btn.primary{min-width:155px;flex-shrink:0}.sign-bottom small{font-size:10px;line-height:1.5}.complete-card{margin:45px auto}.complete-card h1{font-size:27px}.complete-card p{font-size:13px}.status-panel{margin:30px 16px;padding:25px}.sign-shell{padding-bottom:105px}dialog.signature-dialog{margin:0;width:100%;height:100dvh;max-height:100dvh;border-radius:0;padding:24px 20px;display:none}dialog.signature-dialog[open]{display:flex;flex-direction:column}.signature-canvas{height:260px;flex-shrink:0}.signature-dialog .modal-actions{margin-top:auto;padding-top:24px;padding-bottom:env(safe-area-inset-bottom)}.signature-dialog .consent{font-size:12px}.mail-preview{height:640px}.sign-head .brand img{width:28px;height:28px}}
