:root{color-scheme:light;font-family:Segoe UI,Arial,sans-serif;font-weight:400;color:#14223a;background:#f4f7fc;--ink: #14223a;--muted: #4e607a;--line: #dce5f2;--blue: #2452c7;--blue-dark: #2047ad;--radius: 19px}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-width:280px}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #76a1ff;outline-offset:3px}a{color:var(--blue-dark)}p,h1,h2,h3{margin:0}h1{font-size:clamp(1.8rem,4vw,2.65rem);letter-spacing:-.045em;line-height:1.12;font-weight:750;overflow-wrap:anywhere}h2{font-size:1.18rem;line-height:1.27;letter-spacing:-.017em;font-weight:720}h3{font-size:1.15rem}p{color:var(--muted);line-height:1.55}.topbar{height:69px;background:#fff;border-bottom:1px solid #e4ebf6}.topbar-inner{max-width:1232px;height:100%;padding:0 30px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:12px}.topbar-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.language-switch{display:inline-flex;flex-shrink:0;border:1px solid var(--line);border-radius:9px;padding:3px;gap:1px}.language-switch button,.language-switch a{display:inline-grid;place-items:center;min-height:32px;padding:0 8px;border:0;border-radius:6px;background:transparent;text-decoration:none;font:inherit;font-size:.875rem;font-weight:650;color:var(--muted)}.language-switch button:hover,.language-switch a:hover{background:#f2f6fd;color:var(--blue-dark)}.language-switch [aria-pressed=true],.language-switch [aria-current=true]{background:#eaf1ff;color:var(--blue-dark)}.brand{display:flex;align-items:center;gap:11px;font-weight:700;letter-spacing:-.022em;font-size:1.04rem}.brand-icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:11px;color:#fff;background:var(--blue);box-shadow:inset 0 -4px 8px #163ca440}.signout{display:inline-flex;align-items:center;gap:8px;color:var(--muted);text-decoration:none;font-size:.875rem;padding:9px;border-radius:8px}.signout:hover{background:#eff4fb;color:var(--ink)}.local-signout{border:0;background:transparent}.login-form{width:100%;display:grid;gap:12px;text-align:left}.login-form .button{justify-self:center}.dashboard,.sign-main{max-width:1232px;padding:39px 30px 58px;margin:auto}.page-heading{margin-bottom:27px}.page-heading p{margin-top:9px;font-size:1.02rem}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(285px,1fr);gap:20px;align-items:stretch}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 3px 13px #253f7410;min-width:0}.upload-card,.summary-card,.signature-card{padding:23px}.section-title{display:flex;align-items:center;gap:10px;margin-bottom:17px}.section-icon{display:grid;place-items:center;flex:0 0 31px;height:31px;border-radius:8px;color:var(--blue);background:#eaf1ff}.file-input{display:none}.dropzone{border:1.5px dashed #9cb4e8;background:#f7faff;border-radius:13px;min-height:146px;display:flex;align-items:center;transition:background .14s,border-color .14s}.dropzone.dragging,.dropzone:focus-within,.dropzone:hover{background:#edf4ff;border-color:#4d75d5}.drop-button{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:144px;border:0;border-radius:12px;padding:15px;color:var(--ink);background:transparent;width:100%;text-align:center}.drop-button>span:last-child{color:var(--muted);font-size:.875rem}.upload-icon{display:grid;place-items:center;width:41px;height:41px;border-radius:12px;color:var(--blue);background:#e5eeff}.dropzone.has-file{min-height:146px;gap:12px;padding:15px}.file-mark{display:grid;place-items:center;width:39px;height:42px;flex:0 0 39px;border-radius:9px;background:#eaf1ff;color:var(--blue)}.file-chosen{flex:1;min-width:0;display:grid;gap:3px}.file-chosen strong,.doc-name strong,.doc-name small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-chosen span{color:var(--muted);font-size:.875rem}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}label{display:block;font-size:.9rem;color:var(--ink);font-weight:650}label small{color:var(--muted);font-weight:400;font-size:.79rem;margin-left:3px}input:not([type=checkbox],[type=file]){box-sizing:border-box;min-width:0;width:100%;height:44px;border:1px solid #cdd9eb;border-radius:9px;background:#fff;color:var(--ink);padding:0 12px;font-size:1rem}input::placeholder{color:#657791;opacity:1}label>input:not([type=checkbox],[type=file]),.signature-card label+input:not([type=checkbox]){margin-top:6px}.form-footer{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:18px}.form-footer>span{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:.875rem}.button,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;min-height:43px;text-decoration:none;font-size:.9rem;font-weight:650;border:1px solid transparent;white-space:nowrap}.button{padding:0 14px}.primary{background:var(--blue);color:#fff;border-color:var(--blue);box-shadow:0 2px 4px #113d961a}.primary:hover:not(:disabled){background:#1e46ad}.primary:disabled{background:#dde6f6;color:#425879;border-color:#dde6f6;box-shadow:none}.secondary{background:#fff;color:#233a63;border-color:#d2dfef}.secondary:hover:not(:disabled),.icon-button:hover:not(:disabled){background:#edf3ff;color:var(--blue-dark)}.text-button{display:inline-flex;align-items:center;gap:6px;background:transparent;border:0;color:var(--blue-dark);padding:5px 0;text-decoration:none;font-size:.875rem;font-weight:650}.text-button:hover{text-decoration:underline}.icon-button{width:40px;min-height:39px;padding:0;background:#fff;color:#334c73}.icon-button:disabled{color:#8292ac;opacity:.65}.summary-card{display:flex;flex-direction:column}.summary-total{display:grid;gap:4px;border-radius:13px;padding:14px 16px;position:relative;background:#eaf1ff;color:#1b3e8c}.summary-total>span{font-size:.9rem;font-weight:600}.summary-total strong{font-size:2rem;line-height:1;font-weight:750;font-variant-numeric:tabular-nums}.summary-total>svg{position:absolute;right:13px;top:12px;color:#83a3e7}.summary-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:54px;border-bottom:1px solid #ebf0f8;font-size:.92rem}.summary-row strong{font-size:1rem;font-variant-numeric:tabular-nums}.summary-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:8px}.pending-tone{color:#76521d;background:#fff2d9}.signed-tone{color:#067058;background:#e3f7ee}.summary-note{display:flex;align-items:flex-start;gap:8px;padding-top:14px;color:var(--muted);font-size:.875rem;line-height:1.35}.summary-note svg{flex:0 0 16px;margin-top:1px}.registry{margin-top:20px;padding:20px 0 0}.registry-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 22px}.refresh{min-height:36px}.filters{display:flex;flex-wrap:wrap;gap:5px;margin-top:13px;padding:0 22px;border-bottom:1px solid var(--line)}.filters button{min-height:40px;padding:0 11px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font-size:.875rem}.filters .selected{color:var(--blue-dark);border-bottom-color:var(--blue);font-weight:700}.filters button:hover{color:var(--blue-dark);background:#f6f9ff}.empty{min-height:164px;padding:21px 12px;display:grid;justify-items:center;align-content:center;gap:5px;text-align:center}.empty>span{width:44px;height:44px;display:grid;place-items:center;background:#f0f5ff;color:var(--blue);border-radius:11px;margin-bottom:5px}.empty p{font-size:.9rem}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:.875rem}th{background:#f7f9fe;color:#485e7f;font-weight:650}td,th{padding:12px 10px;border-bottom:1px solid #eaf0fa}td:first-child,th:first-child{padding-left:22px}td:last-child,th:last-child{padding-right:22px}tr:last-child td{border-bottom:0}.doc-name{display:flex;align-items:center;gap:10px}.doc-name>span:last-child{display:grid;gap:3px;min-width:120px;max-width:240px}.doc-name small{color:var(--muted);font-size:.8rem}.record-action{text-align:right}.compact{min-height:34px;padding:0 9px}.status{display:inline-flex;gap:6px;align-items:center;white-space:nowrap;border-radius:7px;padding:5px 7px;font-size:.82rem;font-weight:650}.status-pending{color:#775119;background:#fff3df}.status-opened{color:#224a9b;background:#eaf1ff}.status-signed{color:#07614b;background:#e3f6ed}.status-expired{color:#535d70;background:#eef0f5}.created-panel{display:grid;gap:11px}.created-heading{display:flex;align-items:center;gap:11px;padding:12px;margin-bottom:3px;color:#075b45;background:#eaf8f0;border-radius:12px}.created-heading p{margin-top:2px;font-size:.88rem;color:#3c685b;overflow-wrap:anywhere}.success-icon,.gate-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:11px;color:#07634a;background:#d1f2e2}.success-icon.big,.gate-icon{width:54px;height:54px;border-radius:14px}.gate-icon{color:var(--blue);background:#e7efff}.link-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.next-request{justify-self:start;margin-top:5px}.message{display:flex;align-items:flex-start;gap:8px;padding:10px 11px;border-radius:9px;font-size:.9rem;line-height:1.38;margin-top:11px;overflow-wrap:anywhere}.message svg{flex:0 0 18px}.error{color:#882b27;background:#fff0ef;border:1px solid #f5d5d2}.registry>.message{margin:10px 22px 0}.gate-main{padding:55px 19px}.gate-card{max-width:495px;margin:0 auto;padding:33px 26px;display:grid;justify-items:center;text-align:center;gap:13px}.gate-card h1{font-size:clamp(1.6rem,4vw,2rem)}.gate-card .button{margin-top:5px;white-space:normal}.gate-card p{overflow-wrap:anywhere}.sign-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(340px,1fr);gap:20px;align-items:start}.pdf-card{overflow:hidden}.pdf-header{display:flex;align-items:center;gap:10px;padding:16px 19px}.pdf-header h2{font-size:1rem;overflow-wrap:anywhere}.pdf-header p{font-size:.875rem;margin-top:2px}.pdf-toolbar{display:flex;justify-content:center;align-items:center;gap:12px;min-height:46px;background:#f5f8fe;border-block:1px solid var(--line);font-size:.875rem;color:var(--muted)}.pdf-toolbar .icon-button{background:transparent}.pdf-frame{max-height:min(68vh,740px);min-height:200px;overflow:auto;padding:12px;background:#e8eef7}.pdf-frame p{padding:18px 6px;text-align:center}.pdf-frame canvas{display:block;margin:auto;background:#fff;box-shadow:0 1px 6px #1c344635;max-width:100%}.pdf-frame canvas[hidden]{display:none}.pdf-footer{padding:12px 19px;border-top:1px solid var(--line)}.signature-card .section-title{margin-bottom:12px}.recipient{margin-bottom:15px;overflow-wrap:anywhere}.recipient strong{color:var(--ink)}.signature-label{margin-top:15px;display:flex;justify-content:space-between;gap:5px;align-items:center;font-weight:650;font-size:.9rem}.signature-pad{position:relative;border:1.5px dashed #9cb4e8;border-radius:11px;background:#f8fbff;width:100%;aspect-ratio:3.2;margin-top:6px;overflow:hidden}.signature-pad canvas{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:none;cursor:crosshair}.pad-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center;color:var(--muted);text-align:center;pointer-events:none;font-size:.875rem}.consent{display:flex;align-items:flex-start;gap:8px;margin:16px 0 14px;font-size:.96rem;font-weight:400;cursor:pointer}.consent input{flex:0 0 19px;width:19px;height:19px;accent-color:var(--blue);margin:1px 0 0}.sign-button{width:100%;margin-top:4px;min-height:47px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(max-width:850px){.dashboard-grid{grid-template-columns:minmax(0,1fr) minmax(240px,.63fr)}.fields{grid-template-columns:1fr}.sign-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:630px){.topbar{height:58px}.topbar-inner{padding:0 14px}.dashboard,.sign-main{padding:24px 12px 35px}.dashboard-grid{grid-template-columns:minmax(0,1fr);gap:13px}.upload-card,.summary-card,.signature-card{padding:16px}.page-heading{margin-bottom:17px;padding-inline:2px}.registry{margin-top:13px}.registry-heading,.filters{padding-inline:13px}.registry td:first-child,.registry th:first-child{padding-left:12px}.registry td:last-child,.registry th:last-child{padding-right:12px}.registry td:nth-child(3),.registry th:nth-child(3){display:none}.sign-grid{gap:13px}.pdf-frame{max-height:55vh}.link-field{grid-template-columns:1fr}.link-field .button{justify-self:start}.gate-main{padding:28px 12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}@media(max-width:520px){.topbar{height:auto}.topbar-inner{min-height:58px;padding-block:9px;flex-wrap:wrap}}
