body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}:root{--purple:#2c1e66;--purpleDark:#1f144b;--text:#101828;--muted:#667085;--border:#eaecf0;--bg:#f7f7fb}#root,body,html{height:100%}body{background:#f7f7fb;background:var(--bg);color:#101828;color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial;margin:0}.topbar{align-items:center;background:#fff;border-bottom:1px solid #f0f2f5;display:flex;height:56px;justify-content:space-between;padding:0 20px;position:-webkit-sticky;position:sticky;top:0;z-index:5}.brand{color:#2c1e66;color:var(--purple);font-size:20px;font-weight:800;letter-spacing:.3px}.help{background:#0f172a;border-radius:999px;color:#fff;display:grid;font-weight:700;height:28px;place-items:center;text-decoration:none;width:28px}.page{align-items:flex-start;display:flex;justify-content:center;min-height:calc(100vh - 56px);padding:48px 16px}.card{background:#fff;border:1px solid #eaecf0;border:1px solid var(--border);border-radius:20px;box-shadow:0 12px 40px #1018280f;max-width:720px;padding:32px;width:100%}.title{font-size:28px;font-weight:800;margin:0 0 8px}.subtitle{color:#667085;color:var(--muted);margin:0 0 18px}.drop{align-items:center;background:#fafafa;border:1.5px dashed #d0d5dd;border-radius:14px;display:flex;flex-direction:column;justify-content:center;padding:36px;position:relative;text-align:center}.drop.dragging{background:#f3f6ff;border-color:#c7d2fe}.drop-icon{font-size:42px;margin-bottom:8px}.drop-text{color:#344054;font-weight:600;margin:0}.hint{color:#98a2b3;font-size:12px;margin:6px 0 0}.file-input{cursor:pointer;inset:0;opacity:0;position:absolute}.filename{color:#475467;font-size:13px;margin-top:10px}.buttons{align-items:center;display:flex;gap:10px;margin-top:16px}.primary{background:#2c1e66;background:var(--purple);border:none;border-radius:999px;color:#fff;cursor:pointer;font-weight:700;padding:12px 18px}.primary.disabled{background:#e4e7ec;cursor:default}.ghost-btn{background:#fff;border:1px solid #e5e7eb;border-radius:10px;color:#344054;cursor:pointer;padding:10px 14px}.ghost-btn.selected{background:#eef2ff;border-color:#4f46e5;color:#4f46e5;font-weight:700}.ghost-btn.disabled{cursor:not-allowed;opacity:.6}.file-btn{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:10px;color:#344054;cursor:pointer;display:inline-flex;font-weight:600;gap:6px;justify-content:center;padding:10px 14px}.file-btn input{display:none}.field-label-strong{color:#101828;display:inline-block;font-weight:700;margin-bottom:6px}.template-picker select{background:#fff;border:1px solid #e5e7eb;border-radius:10px;font-size:14px;padding:10px 12px;width:100%}.template-picker .template-table-head{align-items:center;display:flex;gap:12px;justify-content:space-between;margin-bottom:8px}.template-search{border:1px solid #d0d5dd;border-radius:12px;flex:1 1;font-size:14px;padding:10px 12px}.template-count{color:#6b7280;font-size:12px}.template-table{background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 2px 6px #0000000f;max-height:450px;overflow:auto}.template-row{background:#fff;border-bottom:1px solid #eef2f6;color:#111827;display:grid;font-size:14px;grid-template-columns:1.4fr .8fr 1fr;padding:12px 14px;text-align:left}.template-row.header{background:#f9fafb;color:#4b5563;font-weight:700}.template-row.muted{color:#9ca3af}.template-row:last-child{border-bottom:none}.template-row.clickable{cursor:pointer}.template-row.clickable:hover{background:#f3f6ff}.template-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.progress-wrap{background:#eef2f6;border-radius:999px;height:8px;margin-top:18px;overflow:hidden}.progress-bar{background:linear-gradient(90deg,#7c3aed,#4f46e5);height:100%;transition:width .25s ease;width:0}.status-row{color:#475467;display:flex;font-size:13px;justify-content:space-between;margin-top:10px}.tag{background:#f8fafc;border:1px solid #e5e7eb;border-radius:999px;color:#344054;padding:4px 10px;text-transform:lowercase}.tag.done{background:#ecfdf3;border-color:#10b981;color:#065f46}.tag.error{background:#fef3f2;border-color:#fda29b;color:#7a271a}.login{max-width:560px}.login-title{font-size:28px;font-weight:800;margin:6px 0 8px;text-align:center}.login-sub{color:#667085;margin:0 0 22px;text-align:center}.login-form{display:flex;flex-direction:column;gap:10px}.field-label{color:#475467;font-size:13px}.field-input{border:1px solid #e5e7eb;border-radius:12px;outline:none;padding:12px 14px}.field-input:focus{border-color:#c7d2fe;box-shadow:0 0 0 3px #eef2ff}.muted{background:#f8f9fb;border:1px solid #eef1f4;border-radius:12px;color:#475467;font-size:13px;padding:10px 12px}.linklike{background:none;border:none;color:#4f46e5;cursor:pointer;font-weight:600}.tiny{color:#98a2b3;font-size:12px}.feedback{background:#fef3f2;border:1px solid #fda29b;border-radius:10px;color:#7a271a;padding:8px 10px}.file-row{cursor:pointer}.file-row:hover{border-radius:12px}.file-row td{background:#0000;padding:12px 8px}tbody tr+tr{margin-top:4px}.template-manager{background:#fafafa;border:1px solid #eaecf0;border:1px solid var(--border);border-radius:12px;margin:24px 0;padding:20px}.template-drop{background:#fff;border:1.5px dashed #d0d5dd;border-radius:10px;margin:16px 0;padding:24px;text-align:center}.template-drop.dragging{background:#f3f6ff;border-color:#c7d2fe}.template-list{margin-top:16px}.template-item{background:#fff;border:1px solid #eaecf0;border:1px solid var(--border);border-radius:8px;cursor:pointer;margin-bottom:8px;padding:12px 16px;transition:all .2s ease}.template-item:hover{background:#f8faff}.template-item.selected,.template-item:hover{border-color:#2c1e66;border-color:var(--purple)}.template-item.selected{background:#2c1e66;background:var(--purple);color:#fff}.template-name{font-weight:600;margin-bottom:4px}.template-meta{display:flex;font-size:12px;gap:12px;opacity:.7}.selected-template{background:#ecfdf3;border:1px solid #10b981;border-radius:8px;color:#065f46;font-size:14px;margin:12px 0;padding:8px 12px}.upload-status{align-items:center;color:#667085;color:var(--muted);display:flex;gap:8px;margin:12px 0}.analysis-results{background:#fff;border:1px solid #eaecf0;border:1px solid var(--border);border-radius:12px;margin-top:24px;padding:20px}.results-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.risk-badge{border-radius:999px;font-size:12px;padding:6px 12px}.risk-low{border:1px solid #10b981}.risk-medium{border:1px solid #f59e0b}.risk-high{border:1px solid #ef4444}.summary-section{margin-bottom:20px}.changes-section{margin-top:20px}.change-item{background:#f8f9fa;border-left:4px solid #eaecf0;border-left:4px solid var(--border);border-radius:0 8px 8px 0}.change-addition{background:#ecfdf3;border-left-color:#10b981}.change-deletion{background:#fef3f2;border-left-color:#ef4444}.change-modification{background:#fefbf2;border-left-color:#f59e0b}.change-original{background:#ef44441a;border-radius:4px;margin-bottom:8px;padding:8px}.change-modified{background:#10b9811a;border-radius:4px;padding:8px}.spinner{display:inline-block}.spinner svg{animation:spin 1s linear infinite}.spinner .ring{stroke-width:2}.spinner .seg{stroke:#2c1e66;stroke:var(--purple);stroke-width:2;stroke-dasharray:15 85;transform-origin:center}.auto-detect-note{background:#f0f9ff;border:1px solid #0ea5e9;border-radius:8px;color:#0c4a6e;font-size:14px;margin:12px 0;padding:12px 16px;text-align:center}.auto-badge{background:#0ea5e9;border-radius:4px;color:#fff;display:inline-block;font-size:11px;font-weight:600;margin-right:8px;padding:4px 8px;text-transform:uppercase}.template-note{color:#667085;color:var(--muted);font-size:12px;margin-left:8px}.detection-info{background:#f8f9fa;border:1px solid #eaecf0;border:1px solid var(--border);border-radius:8px;margin:16px 0;padding:16px}.detection-details{margin-top:12px}.detection-item{align-items:center;display:flex;gap:8px;margin:8px 0}.detection-source{color:#667085;color:var(--muted);font-size:12px;font-style:italic}.system-badge{border-radius:4px;display:inline-block;font-size:11px;font-weight:600;margin-left:8px;padding:4px 8px;text-transform:uppercase}.system-nabor{background:#10b981;color:#fff}.system-farbar{background:#f59e0b;color:#fff}.system-generic{background:#6b7280;color:#fff}.system-unknown{background:#ef4444;color:#fff}.form-number{background:#e5e7eb;border-radius:3px;color:#374151;display:inline-block;font-size:10px;font-weight:600;margin-left:8px;padding:2px 6px;text-transform:uppercase}.selected-files{background:#f8f9fa;border-radius:8px;margin:16px 0;padding:12px}.selected-files ul{margin:8px 0 0;padding-left:20px}.selected-files li{color:#475467;font-size:14px;margin:4px 0}.fraud-results{background:#fff;border:1px solid #eaecf0;border:1px solid var(--border);border-radius:12px;margin-top:24px;padding:20px}.results-summary{border-bottom:1px solid #eaecf0;border-bottom:1px solid var(--border);margin-bottom:24px;padding-bottom:16px}.summary-stats{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-top:16px}.stat-item{align-items:center;background:#f8f9fa;border-radius:6px;display:flex;justify-content:space-between;padding:8px 12px}.stat-label{color:#101828;color:var(--text);font-weight:600}.stat-value{font-weight:700}.stat-clean{color:#10b981}.stat-modified{color:#ef4444}.contract-card{border:1px solid #eaecf0;border:1px solid var(--border);border-radius:8px;margin:16px 0;overflow:hidden}.contract-header{align-items:center;background:#f8f9fa;border-bottom:1px solid #eaecf0;border-bottom:1px solid var(--border);cursor:pointer;display:flex;justify-content:space-between;padding:16px;transition:background .2s ease}.contract-header:hover{background:#e5e7eb}.contract-info h4{color:#101828;color:var(--text);font-size:16px;margin:0 0 8px}.contract-title{font-size:13px;margin:2px 0 6px}.contract-meta,.contract-title{color:#667085;color:var(--muted)}.contract-meta{display:flex;font-size:12px;gap:16px}.contract-status{align-items:center;display:flex;gap:8px}.contract-formcode{background:#eef2ff;color:#3730a3;padding:2px 6px}.contract-formcode,.status-badge{border-radius:4px;font-size:11px;font-weight:600}.status-badge{padding:4px 8px;text-transform:uppercase}.status-clean{background:#ecfdf3;border:1px solid #10b981;color:#065f46}.status-modified{background:#fef3f2;border:1px solid #ef4444;color:#7a271a}.status-error{background:#fefbf2;border:1px solid #f59e0b;color:#92400e}.risk-badge{border-radius:4px;font-size:10px;font-weight:600;padding:4px 8px;text-transform:uppercase}.risk-none{background:#f0f9ff;color:#0c4a6e}.risk-low{background:#ecfdf3;color:#065f46}.risk-medium{background:#fefbf2;color:#92400e}.risk-high{background:#fef3f2;color:#7a271a}.expand-icon{color:#667085;color:var(--muted);font-size:12px}.contract-details{padding:20px}.clean-status{align-items:center;background:#ecfdf3;border-left:4px solid #10b981;border-radius:8px;display:flex;gap:16px;padding:16px}.clean-icon{font-size:24px}.clean-message h4{color:#065f46;margin:0 0 8px}.clean-message p{color:#047857;font-size:14px;margin:0}.modifications-detected{background:#fef3f2;border-left:4px solid #ef4444;border-radius:8px;padding:16px}.modifications-summary{margin-bottom:16px}.modifications-summary strong{color:#7a271a}.modifications-summary p{color:#991b1b;font-size:14px;margin:8px 0 0}.changes-list{margin-top:16px}.change-item{background:#fff;border:1px solid #eaecf0;border:1px solid var(--border);border-radius:8px;margin:12px 0;padding:16px}.change-header{align-items:center;display:flex;font-size:12px;font-weight:600;justify-content:space-between;margin-bottom:8px}.change-type{background:#0000001a;border-radius:4px;padding:2px 6px;text-transform:uppercase}.change-line{color:#667085;color:var(--muted)}.change-severity{background:#ef4444;border-radius:4px;color:#fff;padding:2px 6px}.change-description{color:#101828;color:var(--text);margin-bottom:12px}.change-content{font-size:14px}.change-line{background:#f8fafc;border:1px solid #e5e7eb;border-radius:6px;margin-bottom:10px;padding:10px}.change-line:last-child{margin-bottom:0}.change-line.original{border-left:3px solid #ef4444}.change-line.uploaded{border-left:3px solid #10b981}.line-label{font-size:12px;font-weight:700;text-transform:uppercase}.line-meta{color:#6b7280;font-size:11px;margin-left:8px}.line-text{font-family:SFMono-Regular,Menlo,Consolas,monospace;line-height:1.5;margin:6px 0 0;white-space:pre-wrap}.pdf-diff-section{background:#fff;border:1px solid #eaecf0;border:1px solid var(--border);border-radius:8px;margin-top:24px;padding:16px}.pdf-diff-section h4{font-size:16px;margin:0 0 12px}.pdf-embed{background:#f9fafb;border:1px solid #eaecf0;border:1px solid var(--border);border-radius:8px;overflow:hidden}.modal-backdrop{align-items:center;background:#00000059;display:flex;inset:0;justify-content:center;padding:16px;position:fixed;z-index:9999}.modal{background:#fff;border-radius:10px;box-shadow:0 12px 30px #0000002e;max-height:90vh;overflow:auto;padding:16px;width:min(900px,95vw)}.modal-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.context-block,.snippet-wrap{background:#f8fafc;border:1px solid #eaecf0;border:1px solid var(--border);border-radius:8px;padding:8px}.snippet-img{border:1px solid #e5e7eb;border-radius:6px;display:block;height:auto;margin-bottom:8px;width:100%}.snippet-lines{display:flex;flex-direction:column;gap:4px}.snippet-line{border-radius:4px;font-family:SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;padding:4px 6px}.snippet-line.highlight{background:#fef3c7}.doc-block{border:1px solid #eaecf0;border:1px solid var(--border);border-radius:10px;margin-bottom:12px;padding:12px}.doc-header{align-items:center;color:#111827;display:flex;font-weight:700;justify-content:space-between;margin-bottom:8px}.doc-count{color:#6b7280;font-size:12px}.pdf-diff-viewer{display:flex;flex-direction:column;gap:16px}.pdf-page-wrap{display:inline-block;position:relative}.pdf-page-label{color:#374151;font-weight:600;margin-bottom:6px}.pdf-canvas-wrap{position:relative}.pdf-overlay{inset:0;pointer-events:none;position:absolute}.pdf-highlight{background:#ef444459;border:1px solid #ef4444cc;border-radius:2px;position:absolute;transition:box-shadow .2s ease,transform .2s ease}.pdf-highlight[data-focused="1"]{background:#3b82f633;border-color:#3b82f6e6;box-shadow:0 0 0 2px #3b82f6e6;transform:translateY(-1px)}.pdf-collapse{background:#fff;border:1px solid #eaecf0;border:1px solid var(--border);border-radius:8px;margin-top:12px;padding:8px}.pdf-collapse summary{cursor:pointer;font-weight:600;margin-bottom:8px;outline:none}@media (max-width:768px){.page{padding:24px 12px}.card{border-radius:14px;padding:20px}.buttons{align-items:stretch;flex-direction:column}.buttons .ghost-btn,.buttons .primary{text-align:center;width:100%}.pdf-embed object{height:420px}.modal{padding:12px;width:95vw}}.diff-block{background:#f8fafc;border:1px solid #eaecf0;border:1px solid var(--border);border-radius:6px;font-family:SFMono-Regular,Menlo,Consolas,monospace;margin-top:8px;overflow:hidden}.diff-line{align-items:flex-start;border-bottom:1px solid #e5e7eb;display:flex;font-size:12px;gap:10px;line-height:1.5;padding:6px 10px}.diff-line:last-child{border-bottom:none}.diff-gutter{font-feature-settings:"tnum";color:#667085;color:var(--muted);font-variant-numeric:tabular-nums;text-align:right;width:72px}.diff-sigil{font-weight:700;text-align:center;width:12px}.diff-text{flex:1 1;margin:0;white-space:pre-wrap}.diff-add{background:#ecfdf3;color:#065f46}.diff-remove{background:#fef2f2;color:#991b1b}.diff-context{background:#f8fafc;color:#475467}.error-status{align-items:center;background:#fefbf2;border-left:4px solid #f59e0b;border-radius:8px;display:flex;gap:16px;padding:16px}.error-icon{font-size:24px}.error-message strong{color:#92400e}.error-message p{color:#b45309;font-size:14px;margin:8px 0 0}.all-results{margin-top:24px}table{border-collapse:initial;border-spacing:0 4px;width:100%}.rename-input{border:1px solid #d0d5dd;border-radius:8px;outline:none;padding:6px 8px}.rename-input:focus{border-color:#c7d2fe;box-shadow:0 0 0 3px #eef2ff}.spinner{display:inline-flex;height:16px;margin-right:8px;width:16px}.spinner svg{height:100%;width:100%}.spinner .ring{fill:none;stroke:#e5e7eb;stroke-width:3}.spinner .seg{fill:none;stroke:#4f46e5;stroke-width:3;stroke-linecap:round;stroke-dasharray:56;stroke-dashoffset:42;animation:spin 1s linear infinite,dash 1.2s ease-in-out infinite;transform-origin:50% 50%}@keyframes spin{to{transform:rotate(1turn)}}@keyframes dash{0%{stroke-dashoffset:56}50%{stroke-dashoffset:28}to{stroke-dashoffset:56}}.note-text{animation:notePulse 1.2s ease-in-out infinite}@keyframes notePulse{0%,to{opacity:.85}50%{opacity:1}}@media (max-width:640px){.page{padding:24px 12px}.card{border-radius:16px;padding:20px}.title{font-size:22px}.subtitle{font-size:13px}.drop{padding:22px}.drop-icon{font-size:32px}.drop-text{font-size:13px}.hint{font-size:11px}.buttons{align-items:stretch;flex-direction:column;gap:8px}.ghost-btn,.primary{width:100%}.progress-wrap{height:6px}.status-row{align-items:flex-start;flex-direction:column;gap:6px}}.history-head{justify-content:space-between}.history-head,.history-title{align-items:center;display:flex}.history-title{gap:12px}.history-subtitle{animation:notePulse 1.2s ease-in-out infinite;color:#475467;display:flex;font-size:13px;justify-content:space-between;margin:1.25rem 0 1rem}.table-responsive{-webkit-overflow-scrolling:touch;border-radius:12px;margin-top:8px;overflow-x:auto}.files-table{border-collapse:initial;border-spacing:0 4px;min-width:560px;width:100%}.files-table thead th{background:#fff;color:#475467;font-size:13px;padding:6px 8px;position:-webkit-sticky;position:sticky;text-align:left;top:0;z-index:1}.files-table tbody td{padding:12px 8px}.file-row{border-radius:12px;position:relative;transition:background .18s ease,transform .18s ease,box-shadow .18s ease}.file-row:hover{background:#f3f6ff;box-shadow:0 2px 6px #6366f114;transform:translateY(-1px)}.files-table tbody tr+tr{margin-top:4px}.profile-wrap{display:inline-block;position:relative}.avatar-btn{background:#fff;border:1px solid #e5e7eb;border-radius:999px;color:#2c1e66;color:var(--purple);cursor:pointer;display:grid;font-weight:800;height:32px;place-items:center;transition:box-shadow .15s ease,transform .1s ease,background .15s ease;width:32px}.avatar-btn:hover{box-shadow:0 2px 8px #1018280f;transform:translateY(-1px)}.avatar-initials{font-size:12px;letter-spacing:.3px}.profile-pop{background:#fff;border:1px solid #eaecf0;border:1px solid var(--border);border-radius:14px;box-shadow:0 20px 40px #1018281f;padding:12px;position:absolute;right:0;top:calc(100% + 10px);width:260px;z-index:20}.profile-head{align-items:center;border-bottom:1px solid #eef2f6;display:flex;gap:10px;padding:6px 6px 10px}.avatar-mini{background:#f3f4f6;border-radius:999px;color:#2c1e66;color:var(--purple);display:grid;font-size:12px;font-weight:800;height:28px;place-items:center;width:28px}.profile-meta .meta-name{color:#344054;font-size:13px;font-weight:700}.profile-meta .meta-sub{color:#98a2b3;font-size:12px}.profile-actions{display:flex;flex-direction:column;gap:10px;padding:12px 6px 6px}.profile-link{color:#4f46e5;font-size:13px;font-weight:600;text-decoration:none}.profile-link:hover{text-decoration:underline}.profile-logout{background:#ee6464;border:1px solid #e5e7eb;border-radius:10px;color:#fff;cursor:pointer;font-size:13px;font-weight:600;margin-top:2px;padding:10px 12px;text-align:left;transition:background .15s ease,transform .1s ease,box-shadow .15s ease}.profile-logout:hover{background:#af4b4b;box-shadow:0 2px 8px #1018280f;transform:translateY(-1px)}.profile-anim{opacity:0;transform:translateY(-4px);transition:opacity .25s ease,transform .25s ease}.profile-anim.ready{opacity:1;transform:translateY(0)}@media (max-width:640px){.avatar-btn{height:36px;width:36px}.profile-pop{max-width:320px;width:86vw}}@media (max-width:420px){.files-table{min-width:420px}.files-table tbody .col-size,.files-table tbody .col-time,.files-table thead .col-size,.files-table thead .col-time{display:none}.history-title{align-items:flex-start;flex-direction:column;gap:6px}.history-subtitle{display:none}}@media (max-width:360px){.files-table{min-width:360px}.files-table tbody .col-date,.files-table thead .col-date{display:none}}.btn-download{background:#2c1e66;border-radius:999px;color:#fff;font-size:13px;font-weight:600;padding:6px 14px;text-decoration:none;transition:background .2s ease,transform .1s ease;white-space:nowrap}.btn-download:hover{background:#1f144b;transform:translateY(-1px)}@media (max-width:640px){.rename-input{width:100%}.topbar{padding:0 12px}.brand{font-size:18px}}
/*# sourceMappingURL=main.fffb1ac9.css.map*/