:root{--ink:#24364b;--ink-deep:#1f3b5b;--ink-secondary:#415b75;--muted:#5b6e82;--line:#d6e0eb;--surface:#fff;--surface-soft:#f8fafd;--page:#f3f6fa;--sidebar:#e6f0fb;--accent:#356fa6;--accent-hover:#285986;--accent-pale:#eaf2fb;--blue-border:#c8dbef;--orange:#936020;--orange-pale:#fcf2e5;--red:#a7433d;--shadow:0 3px 12px #24364b06;--radius:13px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-synthesis:none;font-weight:400;line-height:1.5}
*{box-sizing:border-box}body{margin:0;background:var(--page);font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,select{cursor:pointer}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--accent)}a,button,input,textarea,select{outline-offset:4px}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--accent)}button{border:0;background:none}button svg,a svg{pointer-events:none}svg{width:20px;height:20px;flex-shrink:0;display:block;stroke-width:1.65}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:600}button{touch-action:manipulation}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:15px;top:-100px;background:white;padding:12px;z-index:100}.skip-link:focus{top:15px}
.sidebar{width:234px;background:var(--sidebar);position:fixed;inset:0 auto 0 0;color:var(--ink);padding:31px 19px 23px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:9px;color:var(--ink-deep);font-size:24px;font-weight:620;letter-spacing:-1.2px;text-decoration:none;padding:0 7px;white-space:nowrap}.brand-mark{display:grid;place-items:center}.brand-mark svg{height:27px;width:27px;color:var(--accent)}.brand-dot{color:var(--accent);margin-left:-7px}.workspace-label{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:550;border:1px solid var(--blue-border);border-radius:8px;padding:11px;margin-top:35px;background:#ffffff70}.workspace-icon{display:grid;place-items:center;background:var(--blue-border);width:30px;height:32px;border-radius:6px;color:var(--accent-hover)}.workspace-label small{display:block;color:var(--muted);font-size:10px;font-weight:400;margin-top:1px}.nav-caption{font-size:9px;font-weight:600;letter-spacing:1.8px;color:var(--muted);margin:32px 13px 11px}.main-nav{display:grid;gap:7px}.nav-item{position:relative;display:flex;align-items:center;gap:10px;text-align:left;width:100%;padding:12px 13px;border-radius:8px;color:var(--ink-secondary);font-size:12px;font-weight:500;white-space:nowrap}.nav-item svg{width:18px;height:18px}.nav-item:hover{background:#dceaf8}.nav-item.active{background:#d2e4f7;color:var(--accent-hover)}.nav-item.active:before{content:"";position:absolute;left:-19px;top:10px;bottom:10px;background:var(--accent);width:3px;border-radius:0 3px 3px 0}.nav-count{font-size:10px;background:#ffffffa6;padding:1px 6px;border-radius:5px;margin-left:auto}.nav-notification{width:6px;height:6px;border-radius:100%;background:#d9b77f;margin-left:auto}.sidebar-note{margin:52px 7px 0;padding:20px 14px 14px;border:1px solid var(--blue-border);border-radius:11px;background:linear-gradient(120deg,#ffffff80,#ffffff30)}.note-icon{display:block;color:var(--accent);margin-bottom:13px}.note-icon svg{width:24px;height:24px}.sidebar-note h2{font-size:12px;font-weight:550;color:var(--ink-secondary)}.sidebar-note p{font-size:11px;line-height:1.8;color:var(--muted);margin-top:7px}.sidebar-scan{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:500;width:100%;padding:12px 0 0;color:var(--accent-hover);margin-top:12px;border-top:1px solid var(--blue-border)}.sidebar-scan svg{width:14px;height:14px}.sidebar-scan svg:last-child{margin-left:auto}.sidebar-bottom{margin-top:auto;padding:30px 13px 0}.local-indicator{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--ink-secondary)}.local-indicator>span{height:5px;width:5px;background:var(--accent);border-radius:50%}.sidebar-bottom p{font-size:10px;color:var(--muted);margin-top:5px}.version-tag{display:block;font-size:8px;letter-spacing:1.7px;margin-top:23px;color:var(--muted)}
.app-shell{margin-left:234px;min-height:100dvh}.topbar{height:74px;border-bottom:1px solid var(--line);padding:0 39px;display:flex;align-items:center;justify-content:space-between;background:var(--surface-soft)}.breadcrumb{display:flex;align-items:center;gap:11px;color:var(--muted);font-size:11px}.breadcrumb svg{width:15px;height:15px}.breadcrumb-separator{color:var(--muted);margin:0 4px}.breadcrumb strong{font-weight:500;color:var(--ink-secondary)}.topbar-right{display:flex;align-items:center;gap:22px}.local-badge{font-size:10px;display:flex;align-items:center;gap:6px;color:var(--muted)}.status-dot{display:inline-block;width:5px;height:5px;background:var(--accent);border-radius:100%}.workspace-avatar{width:30px;height:30px;display:grid;place-items:center;background:var(--accent-pale);border:3px solid #fff;box-shadow:0 0 0 1px var(--blue-border);border-radius:50%;font-size:9px;font-weight:600;color:var(--accent-hover)}main{max-width:1660px;margin:0 auto;padding:38px 39px 22px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:29px}.eyebrow{font-size:9px;letter-spacing:1.5px;font-weight:600;color:var(--muted);display:flex;align-items:center;gap:8px;margin-bottom:10px}.eyebrow-line{width:17px;height:1px;background:var(--accent)}h1{font-size:31px;line-height:1.25;letter-spacing:-1.05px;font-weight:560;color:var(--ink)}.page-heading p{margin-top:9px;color:var(--muted);font-size:12px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:10px 17px;border:1px solid transparent;border-radius:7px;font-size:12px;font-weight:550;text-decoration:none;transition:background .15s,box-shadow .15s}.button svg{width:17px;height:17px}.button-primary{background:var(--accent);color:#fff;border-color:var(--accent);box-shadow:0 2px 3px #24364b08}.button-primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.button-secondary{border-color:var(--line);background:white;color:var(--ink-secondary)}.button-secondary:hover:not(:disabled){background:var(--page)}.button-danger{color:white;background:#b44a42;border-color:#b44a42}.button-danger:hover:not(:disabled){background:#9d3932}.add-contract{white-space:nowrap;margin-top:8px}.icon-button{display:inline-grid;place-items:center;min-width:34px;height:34px;border-radius:6px;color:var(--muted)}.icon-button:hover:not(:disabled){background:var(--page);color:var(--accent)}.icon-button svg{width:17px;height:17px}.text-button{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:10px;padding:5px 0}.text-button svg{width:13px;height:13px}.text-button:hover{color:var(--accent)}.notice-banner{background:#fff3e6;border:1px solid #efd5b6;color:var(--orange);border-radius:8px;padding:12px 16px;font-size:12px;margin-bottom:20px}.notice-banner button{font-weight:600;text-decoration:underline;margin-left:5px}
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:26px}.stat-card{padding:20px 21px 17px;border:1px solid var(--line);background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow)}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:6px}.stat-title{font-size:11px;color:var(--muted)}.stat-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:7px;background:var(--accent-pale);color:var(--accent)}.stat-icon svg{width:16px;height:16px}.stat-card.amber .stat-icon{background:#fcf4e9;color:var(--orange)}.stat-number{font-size:31px;line-height:1.2;letter-spacing:-.9px;font-weight:530;margin-top:13px;color:var(--ink)}.stat-number.currency{font-size:27px;line-height:1.38}.stat-footnote{font-size:9px;margin-top:8px;color:var(--muted);display:flex;align-items:center;gap:5px;min-height:14px}.stat-footnote strong{font-weight:500;color:var(--muted)}.stat-footnote svg{width:11px;height:11px}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:22px;align-items:start}.panel{border:1px solid var(--line);border-radius:var(--radius);background:white;box-shadow:var(--shadow);overflow:hidden}.panel-heading{min-height:65px;display:flex;align-items:center;justify-content:space-between;padding:17px 20px;border-bottom:1px solid var(--line);gap:12px}.panel-heading h2{font-size:13px;color:var(--ink);font-weight:600;display:flex;align-items:center;gap:8px}.panel-heading h2 svg{width:15px;height:15px;color:var(--accent)}.heading-with-count{display:flex;align-items:center;gap:9px}.count-pill{min-width:20px;padding:2px 6px;border-radius:4px;background:var(--page);color:var(--muted);font-size:9px;text-align:center}.filter-area{padding:17px 19px;border-bottom:1px solid var(--line)}.search-and-sort{display:flex;gap:10px}.search-box{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--surface-soft);padding:0 11px;height:36px;border-radius:6px;flex:1;min-width:0}.search-box svg{width:15px;height:15px;color:var(--muted)}.search-box input{border:0;outline:none;background:none;width:100%;min-width:0;font-size:10px;color:var(--ink-secondary);height:34px}.search-box:focus-within{box-shadow:0 0 0 2px var(--blue-border)}.search-box input::placeholder{color:var(--muted)}.search-box kbd{font:9px inherit;color:var(--muted);white-space:nowrap;background:var(--page);padding:1px 4px;border-radius:3px;border:1px solid var(--line)}.sort-label{display:flex;align-items:center;min-width:0}.sort-label select{width:135px;border:1px solid var(--line);border-radius:6px;background:white;color:var(--muted);height:36px;font-size:9px;padding:0 6px}.filter-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:11px}.select-filter{height:29px;display:flex;align-items:center;gap:3px;border:1px solid var(--line);border-radius:5px;padding-left:7px;background:#fff}.select-filter svg{width:12px;height:12px;color:var(--muted)}.select-filter select{background:none;border:none;color:var(--muted);font-size:9px;height:27px;padding:0 5px;max-width:160px}.filter-button{height:29px;display:flex;align-items:center;gap:5px;font-size:9px;padding:0 8px;color:var(--muted);border:1px solid var(--line);border-radius:5px}.filter-button svg{width:11px;height:11px}.filter-button[aria-expanded=true]{background:var(--page);border-color:var(--line)}.reset-filters{margin-left:auto;font-size:9px}.date-filters{padding-top:12px;display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}.date-filters label{font-size:10px;display:grid;gap:4px;color:var(--muted)}.date-filters input{font-size:11px;border:1px solid var(--line);padding:5px;border-radius:5px;color:var(--ink-secondary);background:white}.date-filters p{font-size:9px;color:var(--muted);flex:1;min-width:140px}.empty-state{min-height:328px;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:39px 28px 31px}.empty-illustration{position:relative;width:146px;height:103px;margin-bottom:20px}.illustration-orbit{position:absolute;width:115px;height:90px;border-radius:50%;background:var(--accent-pale);left:15px;top:7px;transform:rotate(-12deg)}.illustration-doc{position:absolute;top:10px;left:37px;width:64px;height:80px;border:1px solid var(--line);background:#fff;border-radius:5px;transform:rotate(7deg);box-shadow:4px 5px 0 var(--blue-border)}.illustration-doc:before{content:"";position:absolute;left:12px;top:22px;width:31px;height:3px;background:var(--blue-border);box-shadow:0 10px 0 var(--blue-border),0 20px 0 var(--blue-border),0 30px 0 var(--blue-border);border-radius:3px}.illustration-doc.back{transform:rotate(-12deg);left:25px;top:8px;border-color:var(--line);background:var(--surface-soft);box-shadow:none}.illustration-check{position:absolute;bottom:9px;right:27px;width:28px;height:28px;background:var(--accent);border:4px solid var(--line);border-radius:50%;color:white;display:grid;place-items:center}.illustration-check svg{width:13px;height:13px;stroke-width:2}.illustration-sparkle{position:absolute;right:14px;top:16px;color:var(--accent);font-size:19px}.illustration-dot{position:absolute;left:12px;bottom:16px;border:2px solid var(--line);width:7px;height:7px;border-radius:50%}.empty-state h3{font-size:16px;font-weight:550;color:var(--ink-secondary);letter-spacing:-.25px}.empty-state p{font-size:11px;line-height:1.85;color:var(--muted);max-width:290px;margin:8px 0 19px}.empty-state .button{min-height:36px;font-size:10px;padding:8px 13px}.empty-state .button svg{width:14px;height:14px}.empty-support{font-size:9px;color:var(--muted);margin-top:12px}.empty-filter{min-height:285px}.empty-filter>svg{width:30px;height:30px;margin-bottom:16px;color:var(--muted)}.empty-filter h3{font-size:14px}.loading-state{min-height:328px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted);font-size:12px}.spinner{display:inline-block;flex-shrink:0;width:15px;height:15px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.table-scroll{overflow-x:auto}.contracts-table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}.contracts-table th{font-size:8px;font-weight:550;text-transform:uppercase;letter-spacing:.8px;color:var(--muted);background:var(--surface-soft);padding:11px 12px;border-bottom:1px solid var(--line)}.contracts-table th:first-child{padding-left:20px}.contracts-table td{padding:15px 12px;border-bottom:1px solid var(--line);font-size:10px;color:var(--muted);vertical-align:middle}.contracts-table tbody tr:last-child td{border-bottom:0}.contracts-table tr[data-id]{cursor:pointer}.contracts-table tr[data-id]:hover{background:var(--surface-soft)}.contracts-table td:first-child{padding-left:20px}.contract-name-cell{display:flex;align-items:center;gap:10px;max-width:245px}.document-icon{height:33px;min-width:30px;display:grid;place-items:center;border:1px solid var(--line);background:var(--accent-pale);border-radius:6px;color:var(--accent)}.document-icon svg{width:16px;height:16px}.contract-open{display:block;padding:0;text-align:left;font-size:11px;font-weight:550;max-width:205px;overflow:hidden;text-overflow:ellipsis;color:var(--ink)}.contract-open:hover{text-decoration:underline}.contract-partner{font-size:9px;color:var(--muted);margin-top:3px;max-width:200px;overflow:hidden;text-overflow:ellipsis}.contract-meta-tag{font-size:8px;margin-left:4px;padding:1px 4px;background:var(--page);border-radius:3px}.category-tag{font-size:9px;background:var(--page);padding:4px 7px;border-radius:4px;color:var(--muted)}.date-secondary{font-size:8px;color:var(--muted);margin-top:3px}.deadline-text.urgent{color:var(--orange)}.deadline-text.overdue{color:var(--red)}.review-badge{font-size:8px;display:inline-flex;align-items:center;gap:4px;padding:4px 6px;border-radius:4px;white-space:nowrap}.review-badge svg{width:10px;height:10px}.review-badge.pending{background:#fbf3e8;color:var(--orange)}.review-badge.done{background:var(--accent-pale);color:var(--accent-hover)}.review-badge.archived{background:var(--page);color:var(--muted)}.row-chevron{color:var(--muted);width:13px;height:13px}.table-footer{padding:12px 20px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);font-size:9px;color:var(--muted);gap:10px}.table-footer>span:last-child{display:flex;align-items:center;gap:5px}.small-label{font-size:8px;letter-spacing:1px;color:var(--muted)}.insights-column{display:grid;gap:21px}.deadlines-panel .panel-heading{min-height:61px;padding:17px 18px}.upcoming-empty{padding:30px 22px 26px;text-align:center}.calendar-empty{width:44px;height:44px;margin:0 auto 13px;display:grid;place-items:center;background:var(--accent-pale);border-radius:50%;color:var(--accent)}.calendar-empty svg{width:21px;height:21px}.upcoming-empty h3{font-size:11px;color:var(--muted);font-weight:500}.upcoming-empty p{font-size:10px;color:var(--muted);line-height:1.7;margin-top:6px}.panel-link{width:100%;display:flex;align-items:center;justify-content:space-between;padding:13px 18px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.panel-link:hover{background:var(--surface-soft);color:var(--accent)}.panel-link svg{width:13px;height:13px}.upcoming-list{padding:3px 17px}.upcoming-item{display:flex;gap:10px;text-align:left;width:100%;padding:15px 0;border-bottom:1px solid var(--line)}.upcoming-item:last-child{border-bottom:0}.date-tile{flex-shrink:0;width:38px;height:42px;border:1px solid var(--line);border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--surface-soft)}.date-tile strong{font-size:15px;font-weight:550;color:var(--muted);line-height:1.1}.date-tile span{font-size:8px;text-transform:uppercase;margin-top:3px;color:var(--muted)}.upcoming-item.urgent .date-tile{background:#fff9ef;border-color:#f1e4cd}.upcoming-item.urgent .date-tile strong,.upcoming-item.urgent .date-tile span{color:var(--orange)}.upcoming-copy{min-width:0;padding-top:2px}.upcoming-copy strong{font-size:10px;font-weight:500;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}.upcoming-copy span{display:block;font-size:9px;color:var(--muted);margin-top:4px}.how-it-works{border:1px solid var(--blue-border);border-radius:12px;padding:22px 19px 0;background:var(--accent-pale)}.section-overline{font-size:7px;letter-spacing:1.3px;color:var(--muted);font-weight:550}.how-it-works h2{font-size:15px;font-weight:550;letter-spacing:-.3px;color:var(--ink-secondary);margin-top:8px}.how-it-works ol{list-style:none;padding:0;margin:23px 0 20px;display:grid;gap:20px}.how-it-works li{display:flex;gap:12px}.step-number{height:24px;min-width:24px;border:1px solid var(--line);background:var(--surface);border-radius:50%;display:grid;place-items:center;font-size:8px;color:var(--accent-hover);margin-top:1px}.how-it-works strong{font-size:10px;color:var(--muted);font-weight:550}.how-it-works p{font-size:9px;line-height:1.7;color:var(--muted);margin-top:3px}.analysis-status{display:flex;align-items:center;gap:6px;border-top:1px solid var(--line);padding:14px 0;color:var(--muted);font-size:8px}.analysis-status svg{width:12px;height:12px}.page-footer{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:9px;margin-top:26px}.page-footer>span:last-child{font-weight:550;font-size:11px;letter-spacing:-.4px}.page-footer .brand-dot{margin-left:0}.deadline-view .contracts-table td,.deadline-view .contracts-table th{padding-top:18px;padding-bottom:18px}.deadline-view .filter-area{padding-bottom:17px}
.modal{padding:0;border:1px solid var(--line);border-radius:16px;color:var(--ink);width:min(650px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;box-shadow:0 30px 100px #24364b30;background:white}.modal::backdrop{background:#24364b6b;backdrop-filter:blur(4px)}.modal-header{position:relative;display:flex;align-items:flex-start;justify-content:space-between;padding:27px 29px 22px;border-bottom:1px solid var(--line);gap:12px}.modal-eyebrow{display:block;font-size:9px;font-weight:600;letter-spacing:1.6px;color:var(--muted);margin-bottom:9px}.modal h2{font-size:23px;letter-spacing:-.6px;color:var(--ink);font-weight:550;line-height:1.25}.modal-header p{font-size:12px;color:var(--muted);margin-top:8px}.close-dialog{position:relative;top:-8px;right:-9px}.modal-body{padding:24px 29px}.creation-options{display:flex;gap:10px;margin-bottom:22px}.creation-options .button{flex:1}.modal-footer{padding:18px 29px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;background:var(--surface-soft);position:sticky;bottom:0;z-index:2}.modal-footer .button{font-size:12px}.field-label{display:block;color:var(--ink-secondary);font-weight:500;font-size:11px;margin-bottom:6px}.optional{color:var(--muted);font-size:10px;font-weight:400;margin-left:4px}.text-input,.field input,.field select,.field textarea{border:1px solid var(--line);border-radius:6px;background:white;padding:10px 11px;width:100%;min-width:0;min-height:41px;font-size:12px;color:var(--ink-secondary);outline-offset:2px}.text-input::placeholder,.field input::placeholder,.field textarea::placeholder{color:var(--muted)}.field input[type=number]{appearance:textfield}.dropzone{margin-top:20px;padding:29px 17px 23px;text-align:center;border:1.5px dashed var(--blue-border);border-radius:11px;background:var(--surface-soft);transition:background .15s,border-color .15s}.dropzone.dragover{background:var(--accent-pale);border-color:var(--accent)}.dropzone-icon{width:45px;height:45px;background:var(--accent-pale);color:var(--accent);border:1px solid var(--line);border-radius:11px;display:grid;place-items:center;margin:0 auto 15px}.dropzone-icon svg{width:23px;height:23px}.dropzone h3{font-size:15px;color:var(--ink-secondary);font-weight:550}.dropzone p{font-size:11px;color:var(--muted);margin:6px 0 17px}.dropzone-actions{display:flex;justify-content:center;gap:9px}.dropzone-actions .button{font-size:11px;min-height:37px;padding:8px 12px}.dropzone small{display:block;font-size:9px;line-height:1.8;color:var(--muted);margin-top:16px}.upload-files{display:grid;gap:7px;margin-top:15px}.upload-file{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:7px;padding:9px 10px;background:#fff}.file-preview{width:31px;height:38px;flex-shrink:0;display:grid;place-items:center;background:var(--page);border-radius:4px;color:var(--muted);overflow:hidden}.file-preview img{width:100%;height:100%;object-fit:cover}.file-preview svg{width:16px;height:16px}.file-info{min-width:0;flex:1}.file-info strong{display:block;font-size:10px;font-weight:500;color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.file-info small{display:block;color:var(--muted);font-size:9px;margin-top:2px}.file-controls{display:flex;gap:1px}.file-controls .icon-button{min-width:28px;width:28px;height:32px}.file-controls svg{width:13px;height:13px}.files-summary{font-size:10px;color:var(--muted);padding:4px 2px}.info-note{display:flex;gap:8px;border-radius:6px;background:var(--page);padding:11px 12px;color:var(--muted);margin-top:19px}.info-note svg{width:15px;height:15px;margin-top:1px}.info-note p{font-size:10px;line-height:1.7}.form-error{background:#fdf0ec;border:1px solid #f0d5cd;border-radius:6px;padding:11px 13px;font-size:11px;color:var(--red);margin-top:15px}.upload-progress{padding:15px 0 0}.progress-heading{display:flex;align-items:center;gap:8px}.progress-heading strong{font-size:11px;font-weight:500;color:var(--ink-secondary)}.progress-heading>span:last-child{margin-left:auto;font-size:10px;color:var(--muted)}.upload-progress progress{width:100%;height:6px;accent-color:var(--accent);display:block;margin-top:12px;border:0;border-radius:5px;overflow:hidden;background:var(--accent-pale)}.upload-progress progress::-webkit-progress-bar{background:var(--accent-pale)}.upload-progress progress::-webkit-progress-value{background:var(--accent);border-radius:5px;transition:width .1s}.upload-progress p{font-size:10px;color:var(--muted);margin-top:8px}.upload-progress progress:not([value]){background:linear-gradient(90deg,var(--accent-pale),var(--accent),var(--accent-pale));background-size:200% 100%;animation:loading 2s linear infinite}@keyframes loading{from{background-position:200% 0}to{background-position:0 0}}
.detail-modal{width:min(1060px,calc(100vw - 40px))}.detail-modal .modal-header{padding:24px 28px 21px}.detail-title-group{min-width:0}.detail-title-group h2{overflow-wrap:anywhere;font-size:22px}.detail-title-group .detail-subline{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px}.detail-subline .category-tag{font-size:9px}.detail-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.detail-fields{padding:24px 27px 28px}.detail-documents{padding:24px 24px;border-left:1px solid var(--line);background:var(--surface-soft)}.form-section+.form-section{border-top:1px solid var(--line);padding-top:23px;margin-top:23px}.form-section h3,.detail-documents h3{font-size:12px;font-weight:600;color:var(--ink-secondary);margin-bottom:15px;display:flex;align-items:center;gap:7px}.form-section h3 svg,.detail-documents h3 svg{width:15px;height:15px}.fields-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 14px}.field.full{grid-column:1/-1}.field label{font-size:10px;color:var(--muted);display:block;margin-bottom:5px}.field input,.field select,.field textarea{font-size:11px;min-height:38px;padding:8px 9px}.field textarea{resize:vertical;min-height:78px}.field-hint{font-size:9px;color:var(--muted);margin-top:5px}.paired-inputs{display:flex;gap:6px}.paired-inputs input{width:80px;flex-shrink:0}.paired-inputs select{flex:1}.review-check{display:flex;align-items:flex-start;gap:10px;font-size:11px;color:var(--accent-hover);padding:15px;background:var(--accent-pale);border:1px solid var(--blue-border);border-radius:7px;cursor:pointer;margin-top:22px}.review-check input{margin:3px 0 0;accent-color:var(--accent);width:15px;height:15px;flex-shrink:0}.review-check strong{font-weight:550}.review-check small{display:block;font-size:9px;color:var(--muted);margin-top:4px;line-height:1.7}.detail-notice{font-size:10px;line-height:1.75;color:var(--orange);background:#fbf6ed;border:1px solid #eee3ce;border-radius:6px;padding:11px 13px;margin-bottom:21px;display:flex;gap:8px}.detail-notice>svg{flex-shrink:0;width:15px;height:15px;margin-top:1px}.detail-notice ul{margin:6px 0 0;padding-left:15px}.document-card{border:1px solid var(--line);border-radius:8px;background:white;padding:13px;margin-bottom:12px;overflow:hidden}.document-card-header{display:flex;gap:9px;align-items:flex-start}.document-card-header>svg{width:17px;height:17px;color:var(--muted);margin-top:1px}.document-card-title{min-width:0;flex:1}.document-card-title strong{display:block;font-size:10px;font-weight:500;color:var(--muted);overflow-wrap:anywhere}.document-card-title small{font-size:9px;color:var(--muted);display:block;margin-top:3px}.document-link{display:inline-flex;align-items:center;gap:5px;font-size:9px;color:var(--accent);margin-top:12px;text-decoration:none}.document-link:hover{text-decoration:underline}.document-link svg{width:11px;height:11px}.document-text{border-top:1px solid var(--line);margin-top:12px;padding-top:10px}.document-text summary{font-size:9px;cursor:pointer;color:var(--muted)}.document-text pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:9px;line-height:1.8;font-family:inherit;color:var(--muted);max-height:320px;overflow:auto;margin:12px 0 0}.document-warning{font-size:9px;line-height:1.7;color:var(--orange);margin-top:10px}.evidence-section{margin-top:24px}.evidence-intro{font-size:10px;color:var(--muted);margin-top:-7px;margin-bottom:14px;line-height:1.7}.evidence-item{margin-top:13px;border-left:2px solid var(--line);padding-left:11px}.evidence-item strong{font-size:9px;font-weight:500;color:var(--muted)}.evidence-item blockquote{font-size:10px;font-style:normal;color:var(--muted);line-height:1.75;margin:5px 0;overflow-wrap:anywhere}.evidence-item small{font-size:8px;color:var(--muted)}.no-evidence{font-size:10px;color:var(--muted);line-height:1.8;background:var(--page);border:1px solid var(--line);padding:13px;border-radius:6px}.detail-footer{display:flex;align-items:center;gap:10px}.detail-footer .delete-button{margin-right:auto;color:var(--red);font-size:11px;display:flex;align-items:center;gap:6px;padding:6px 0}.delete-button svg{width:15px;height:15px}.detail-save-error{margin:0 27px 20px}.confirm-modal{max-width:420px}.confirm-modal .modal-body{padding:28px}.confirm-icon{display:grid;place-items:center;width:43px;height:43px;background:#faf0eb;color:var(--red);border-radius:11px;margin-bottom:17px}.confirm-modal h2{font-size:22px}.confirm-modal p{font-size:12px;line-height:1.8;color:var(--muted);margin-top:12px}.confirm-modal .modal-footer{padding:17px 24px}.toast-container{position:fixed;right:25px;bottom:25px;z-index:100;display:grid;gap:8px;max-width:min(420px,calc(100vw - 40px))}.toast{display:flex;align-items:center;gap:9px;background:var(--ink-deep);color:#fff;border:1px solid var(--accent);padding:13px 18px;border-radius:8px;box-shadow:0 7px 25px #24364b18;font-size:12px;animation:toast-in .2s ease}.toast.error{background:#9b6050;border-color:#b87966}.toast svg{width:17px;height:17px}.toast button{color:inherit;margin-left:10px;padding:0}@keyframes toast-in{from{transform:translateY(5px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(min-width:1500px){.content-grid{grid-template-columns:minmax(0,1fr) 300px}.stats-grid{gap:20px}.stat-card{padding:23px}.contracts-table th{font-size:9px}.contracts-table td{font-size:11px}.contract-open{font-size:12px}.contract-partner{font-size:10px}.panel-heading h2{font-size:14px}.search-box input{font-size:11px}.select-filter select,.filter-button{font-size:10px}}
@media(max-width:1240px){.sidebar{width:210px;padding-left:15px;padding-right:15px}.brand{font-size:22px}.brand-mark svg{width:24px}.nav-item{font-size:11px;gap:8px;padding:12px 10px}.nav-item.active:before{left:-15px}.sidebar-note{margin:42px 3px 0;padding:18px 11px 12px}.app-shell{margin-left:210px}.topbar{padding:0 27px}main{padding:31px 27px 22px}.content-grid{grid-template-columns:minmax(0,1fr) 234px;gap:18px}.stats-grid{gap:11px}.stat-card{padding:17px 15px}.stat-title{font-size:10px}.stat-number{font-size:28px}.stat-number.currency{font-size:24px}.stat-footnote{font-size:8px}.stat-icon{width:26px;height:26px}.page-heading{gap:15px}h1{font-size:28px}.page-heading p{font-size:11px}.add-contract{font-size:11px;padding:9px 13px}.contracts-table .category-column{display:none}.contract-name-cell{max-width:200px}.contract-open{max-width:155px}.contract-partner{max-width:155px}.contracts-table th,.contracts-table td{padding-left:8px;padding-right:8px}.sort-label select{width:110px;font-size:8px}.search-box kbd{display:none}.how-it-works{padding:20px 16px 0}.how-it-works h2{font-size:14px}.section-overline{font-size:6.5px;letter-spacing:1px}.panel-heading{padding:16px}.panel-heading h2{font-size:12px}.text-button{font-size:9px}.deadlines-panel .panel-heading{padding:16px 14px}.small-label{font-size:7px}}
@media(max-width:1050px){.content-grid{grid-template-columns:minmax(0,1fr)}.insights-column{grid-template-columns:1fr 1fr;gap:18px}.how-it-works{padding:19px 20px 0}.how-it-works ol{margin-top:16px;margin-bottom:15px;gap:12px}.how-it-works p{font-size:10px}.how-it-works strong{font-size:11px}.section-overline{font-size:8px}.how-it-works h2{font-size:15px}.upcoming-empty{padding:43px 22px}.deadlines-panel .panel-heading{padding:18px}.contracts-table .category-column{display:table-cell}.contract-name-cell{max-width:245px}.contract-open{max-width:190px}.contract-partner{max-width:190px}.contracts-table td{font-size:11px}.stats-grid{gap:10px}.stat-card{padding:15px 12px}.stat-footnote{font-size:7.5px}.stat-icon{width:23px;height:23px}.stat-icon svg{width:13px;height:13px}.stat-title{font-size:9px}.stat-number.currency{font-size:23px}.sort-label select{width:145px;font-size:10px}.search-box input{font-size:11px}.select-filter select,.filter-button{font-size:10px}.filter-row{gap:9px}.text-button{font-size:10px}.sidebar-note{margin-top:45px}main{padding:31px 25px 22px}.topbar{padding:0 25px}.page-heading{align-items:flex-start}.add-contract{margin-top:22px}.eyebrow{font-size:8px}.page-heading p{max-width:330px;line-height:1.8;font-size:10px}h1{font-size:27px}.detail-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.detail-fields{padding:23px 22px}.detail-documents{padding:23px 20px}}
@media(max-width:820px){.sidebar{width:74px;padding:28px 11px 20px}.brand{font-size:0;padding:0;justify-content:center;gap:0}.brand .brand-dot{display:none}.brand-mark svg{width:29px;height:29px}.workspace-label,.nav-caption,.sidebar-note,.sidebar-bottom{display:none}.main-nav{margin-top:41px;gap:14px}.nav-item{font-size:0;gap:0;padding:13px;justify-content:center}.nav-item svg{width:22px;height:22px}.nav-count{display:none}.nav-notification{position:absolute;right:7px;top:7px}.nav-item.active:before{left:-11px}.app-shell{margin-left:74px}.stats-grid{gap:11px}.stat-card{padding:16px 14px}.stat-title{font-size:10px}.stat-footnote{font-size:8px}.stat-icon{width:24px;height:24px}.detail-modal{width:calc(100vw - 30px)}.detail-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}.fields-grid{gap:14px 10px}}
@media(max-width:650px){.sidebar{inset:0 0 auto;width:100%;height:62px;padding:0 19px;flex-direction:row;align-items:center;justify-content:space-between;border-bottom:1px solid var(--blue-border)}.brand{font-size:22px;gap:8px}.brand .brand-dot{display:block}.brand-mark svg{width:23px;height:23px}.main-nav{display:flex;margin:0;gap:7px}.nav-item{width:38px;height:38px;padding:9px}.nav-item svg{width:19px;height:19px}.nav-item.active:before{display:none}.nav-item.active{background:#d2e4f7}.nav-item>span:nth-child(2){position:absolute;clip:rect(0,0,0,0);height:1px;width:1px;overflow:hidden}.app-shell{margin-left:0;padding-top:62px}.topbar{height:44px;padding:0 20px;background:var(--surface-soft)}.breadcrumb{font-size:9px;gap:7px}.breadcrumb svg{width:12px;height:12px}.breadcrumb-separator{margin:0 1px}.topbar-right{gap:8px}.workspace-avatar{display:none}.local-badge{font-size:9px}main{padding:25px 17px 20px}.page-heading{display:block;margin-bottom:22px}.eyebrow{font-size:7.5px;letter-spacing:1.2px;margin-bottom:8px}h1{font-size:28px;letter-spacing:-.9px}.page-heading p{font-size:11px;max-width:100%;margin-top:7px;line-height:1.7}.add-contract{width:100%;margin-top:18px;height:44px;font-size:12px}.stats-grid{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.stat-card{padding:14px 15px 13px;min-height:123px}.stat-title{font-size:10px}.stat-number{font-size:29px;margin-top:9px}.stat-number.currency{font-size:25px}.stat-icon{width:25px;height:25px}.stat-footnote{font-size:8px;margin-top:6px}.content-grid{gap:17px}.panel-heading{min-height:58px;padding:15px}.panel-heading h2{font-size:12px}.heading-with-count{gap:7px}.count-pill{font-size:9px}.text-button{font-size:9px}.text-button svg{width:12px;height:12px}.filter-area{padding:14px}.search-and-sort{flex-wrap:wrap;gap:9px}.search-box{height:39px;flex-basis:100%}.search-box input{font-size:11px;height:37px}.search-box svg{width:15px;height:15px}.sort-label{order:1;width:100%}.sort-label select{width:100%;height:33px;padding:0 8px;font-size:10px;background:var(--surface-soft)}.filter-row{gap:7px;margin-top:9px}.select-filter{flex:1;min-width:125px;height:34px;padding-left:6px}.select-filter select{width:100%;max-width:none;height:32px;font-size:10px}.filter-button{height:34px;min-width:125px;justify-content:center;font-size:10px;flex:1}.filter-button svg{width:12px;height:12px}.reset-filters{font-size:10px}.date-filters label{flex:1;min-width:120px}.date-filters p{flex-basis:100%;font-size:9px}.date-filters input{min-height:35px;width:100%;font-size:12px}.empty-state{padding:28px 20px 26px;min-height:305px}.empty-state h3{font-size:15px}.empty-state p{font-size:11px;margin-bottom:17px}.empty-state .button{min-height:40px;font-size:11px}.empty-illustration{margin-bottom:16px}.insights-column{grid-template-columns:1fr;gap:17px}.how-it-works{padding:23px 21px 0}.how-it-works h2{font-size:17px}.how-it-works ol{gap:19px;margin-top:24px;margin-bottom:22px}.how-it-works strong{font-size:12px}.how-it-works p{font-size:11px;line-height:1.7}.step-number{height:29px;min-width:29px;font-size:9px}.section-overline{font-size:8px;letter-spacing:1.4px}.analysis-status{font-size:9px}.upcoming-empty{padding:25px}.deadlines-panel .panel-heading{padding:16px 18px}.small-label{font-size:8px}.upcoming-empty h3{font-size:12px}.upcoming-empty p{font-size:11px;max-width:245px;margin:7px auto 0}.panel-link{font-size:11px;padding:14px 18px}.upcoming-item{padding:15px 0}.upcoming-copy strong{font-size:12px}.upcoming-copy span{font-size:10px}.upcoming-copy{padding-top:1px}.date-tile{width:40px;height:43px}.date-tile strong{font-size:16px}.page-footer{font-size:8px;margin-top:23px}.page-footer>span:last-child{font-size:10px}.table-scroll{overflow:visible}.contracts-table{display:block;white-space:normal}.contracts-table thead{display:none}.contracts-table tbody{display:block}.contracts-table tr[data-id]{display:grid;grid-template-columns:1fr 1fr;padding:17px 16px;gap:13px 11px;border-bottom:1px solid var(--line)}.contracts-table tr:last-child{border-bottom:0}.contracts-table td,.contracts-table td:first-child{display:block;padding:0;border:0;font-size:11px}.contracts-table td.name-column{grid-column:1/-1}.contracts-table .category-column{display:none}.contracts-table td:last-child{display:none}.contracts-table td:before{content:attr(data-label);display:block;font-size:8px;letter-spacing:.6px;text-transform:uppercase;color:var(--muted);margin-bottom:5px}.contracts-table td.name-column:before,.contracts-table td.status-column:before{display:none}.contracts-table td.status-column{grid-column:2;grid-row:3;align-self:end;text-align:right}.contract-name-cell{max-width:none;gap:11px}.contract-open{max-width:none;width:100%;font-size:12px;white-space:normal;line-height:1.5}.contract-partner{font-size:10px;max-width:none}.document-icon{height:38px;min-width:33px}.document-icon svg{width:18px;height:18px}.contract-name-cell>div:last-child{flex:1;min-width:0}.date-secondary{font-size:9px}.review-badge{font-size:9px}.table-footer{font-size:8px;padding:13px 15px}.modal{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:12px}.modal-header{padding:23px 21px 19px}.modal h2{font-size:22px}.modal-header p{font-size:11px;line-height:1.8}.modal-body{padding:20px}.modal-footer{padding:15px 19px;gap:8px}.modal-footer .button{flex:1;font-size:11px;padding:10px 12px;min-height:43px}.dropzone{padding:24px 14px 21px}.dropzone h3{font-size:14px}.dropzone p{font-size:10px}.dropzone-actions{flex-direction:column;gap:8px}.dropzone-actions .button{height:43px;font-size:12px}.text-input,.field input,.field select,.field textarea{font-size:16px;min-height:43px}.field-label,.field label{font-size:11px}.modal-eyebrow{font-size:8px}.info-note p{font-size:10px}.file-info strong{font-size:10px}.file-controls .icon-button{min-width:27px;width:27px}.file-controls svg{width:14px;height:14px}.detail-grid{grid-template-columns:1fr}.detail-modal .modal-header{padding:24px 21px 19px}.detail-title-group h2{font-size:20px}.detail-fields{padding:22px 21px}.detail-documents{border-left:0;border-top:1px solid var(--line);padding:24px 21px}.form-section h3,.detail-documents h3{font-size:13px}.fields-grid{gap:15px 12px}.field input,.field select,.field textarea{padding:9px 8px}.field-hint{font-size:10px;line-height:1.6}.paired-inputs input{width:66px}.review-check{font-size:12px}.review-check small{font-size:10px}.detail-notice{font-size:11px}.document-card-title strong{font-size:12px}.document-card-title small{font-size:10px}.document-link{font-size:11px;min-height:27px}.document-text summary{font-size:10px}.document-text pre{font-size:11px}.evidence-item strong{font-size:11px}.evidence-item blockquote{font-size:11px}.evidence-item small{font-size:10px}.detail-footer{flex-wrap:wrap}.detail-footer .delete-button{font-size:10px;padding-right:7px}.detail-footer .button{flex:1;min-width:0}.detail-footer .button-primary{flex:1.3}.confirm-modal{max-width:calc(100vw - 30px)}.toast-container{right:15px;bottom:15px;max-width:calc(100vw - 30px)}.toast{font-size:11px}.deadline-view .contracts-table td{padding:0}}
@media(min-width:651px) and (max-width:1050px){
  .table-scroll{overflow:visible}
  .contracts-table,.contracts-table tbody{display:block;white-space:normal}
  .contracts-table thead{display:none}
  .contracts-table tr[data-id]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 20px;padding:20px;border-bottom:1px solid var(--line)}
  .contracts-table tr:last-child{border-bottom:0}
  .contracts-table td,.contracts-table td:first-child,.deadline-view .contracts-table td{display:block;min-width:0;padding:0;border:0;font-size:12px}
  .contracts-table .category-column,.contracts-table td:last-child{display:none}
  .contracts-table td.name-column{grid-column:1/3}
  .contracts-table td.status-column{grid-column:3;grid-row:1;align-self:center;text-align:right}
  .contracts-table td:before{content:attr(data-label);display:block;font-size:10px;color:var(--muted);margin-bottom:5px}
  .contracts-table td.name-column:before,.contracts-table td.status-column:before{display:none}
  .contract-name-cell{max-width:none;gap:11px}
  .contract-name-cell>div:last-child{min-width:0}
  .contract-open{max-width:none;font-size:12px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
  .contract-partner{max-width:none;font-size:10px;overflow-wrap:anywhere}
  .date-secondary{font-size:10px;margin-top:4px}
  .review-badge{font-size:10px;padding:5px 7px}
}
@media(max-width:650px){.creation-options{flex-direction:column;gap:9px}.creation-options .button{width:100%;min-height:43px}.file-controls .icon-button{min-width:40px;width:40px;height:40px}.file-controls{gap:0}}
.ai-controls{padding-bottom:21px;margin-bottom:23px;border-bottom:1px solid var(--line)}
.ai-controls h3{margin-bottom:10px}.ai-disclosure,.ai-config-hint{font-size:11px;line-height:1.75;color:var(--muted);overflow-wrap:anywhere}
.ai-controls .button{margin-top:13px;width:100%;min-height:41px;font-size:11px}.ai-config-hint{margin-top:10px;font-size:10px}
.field-source{font-size:10px;line-height:1.7;margin-top:8px;color:var(--muted);border-left:2px solid var(--blue-border);padding-left:9px}
.field-source summary{cursor:pointer;color:var(--accent);padding:3px 0;overflow-wrap:anywhere}
.field-source blockquote{margin:8px 0 5px;color:var(--ink-secondary);font-size:11px;overflow-wrap:anywhere;white-space:pre-wrap}
.field-source small{display:block;font-size:10px;color:var(--muted);overflow-wrap:anywhere}
.source-confidence{display:block;width:fit-content;font-size:9px;padding:2px 6px;margin-top:7px;border-radius:4px;background:var(--accent-pale);color:var(--accent)}
.source-confidence.needs-review{background:var(--orange-pale);color:var(--orange)}
.analysis-modal{width:min(980px,calc(100vw - 32px))}.analysis-modal .modal-body{padding:23px 26px}.analysis-modal .info-note{margin-top:0}
.analysis-modal .detail-notice{margin-top:15px}.analysis-modal .detail-notice ul{margin:0;padding-left:17px}
.analysis-modal .loading-state{min-height:190px;font-size:12px;text-align:center;line-height:1.8}
.proposal-table{margin-top:22px;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.proposal-header,.proposal-row{display:grid;grid-template-columns:minmax(130px,.7fr) minmax(0,1fr) minmax(0,1.2fr);gap:16px;padding:15px 16px}
.proposal-header{background:var(--surface-soft);font-size:11px;color:var(--muted);font-weight:550;border-bottom:1px solid var(--line)}
.proposal-row{border-bottom:1px solid var(--line);align-items:start}.proposal-row:last-child{border-bottom:0}
.proposal-select{display:flex;align-items:flex-start;gap:8px;font-size:11px;font-weight:550;color:var(--ink-secondary);line-height:1.65;cursor:pointer;min-height:35px}
.proposal-select input{width:16px;height:16px;flex-shrink:0;margin:2px 0 0;accent-color:var(--accent)}
.proposal-current,.proposal-suggested{min-width:0;font-size:12px;line-height:1.75;overflow-wrap:anywhere;white-space:pre-wrap}
.proposal-current{color:var(--muted)}.proposal-suggested{color:var(--ink)}.proposal-value+.proposal-value{margin-top:8px}
.proposal-value small{display:block;font-size:10px;color:var(--muted);line-height:1.4;margin-bottom:3px}
.proposal-footnote{font-size:11px;color:var(--muted);margin-top:16px;line-height:1.8}
.expired-analysis-action{font-size:11px;color:var(--muted);line-height:1.8}.expired-analysis-action .button{margin-top:8px}
.analysis-review-queue{display:flex;align-items:center;gap:15px;padding:17px 20px;border:1px solid var(--blue-border);border-radius:10px;background:var(--accent-pale);margin:-5px 0 24px}
.review-queue-icon{width:35px;height:35px;display:grid;place-items:center;flex-shrink:0;background:var(--surface);border-radius:9px;color:var(--accent)}
.analysis-review-queue>div{flex:1;min-width:0}.analysis-review-queue strong{font-size:13px;font-weight:550;color:var(--ink-deep)}.analysis-review-queue p{font-size:11px;line-height:1.7;margin-top:4px;color:var(--muted)}
.analysis-review-queue .button{flex-shrink:0;font-size:11px}
.contract-review-action{display:flex;align-items:center;gap:5px;color:var(--accent);font-size:10px;font-weight:550;padding:5px 0 1px;text-align:left;white-space:normal;line-height:1.5}.contract-review-action svg{width:12px;height:12px}.contract-review-action:hover{text-decoration:underline}
.saved-analysis-review{background:var(--accent-pale);border:1px solid var(--blue-border);border-radius:7px;padding:13px;margin-bottom:16px}.saved-analysis-review strong{display:block;font-size:11px;line-height:1.65;color:var(--ink-deep)}.saved-analysis-review p{font-size:10px;line-height:1.7;color:var(--muted);margin-top:10px}
@media(max-width:650px){.analysis-review-queue{flex-wrap:wrap;padding:16px;gap:12px;margin-bottom:20px}.analysis-review-queue>div{flex-basis:calc(100% - 50px)}.analysis-review-queue .button{width:100%;min-height:43px;font-size:12px}.analysis-review-queue strong{font-size:12px}.analysis-review-queue p{font-size:11px}.contract-review-action{font-size:11px;min-height:36px;padding:6px 0}.saved-analysis-review strong{font-size:12px}.saved-analysis-review p{font-size:11px}}
@media(max-width:650px){.ai-disclosure{font-size:12px}.ai-config-hint{font-size:11px}.ai-controls .button{font-size:12px;min-height:44px}.field-source{font-size:11px}.field-source summary{min-height:30px}.source-confidence{font-size:10px}.analysis-modal{width:calc(100vw - 20px)}.analysis-modal .modal-body{padding:20px 16px}.analysis-modal .modal-footer{flex-wrap:wrap}.analysis-modal .modal-footer .button-primary{flex:2;white-space:normal}.proposal-header{display:none}.proposal-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px 12px}.proposal-select{grid-column:1/-1;font-size:12px;min-height:35px;align-items:center}.proposal-select input{width:18px;height:18px;margin-top:0}.proposal-current:before,.proposal-suggested:before{content:attr(data-label);display:block;font-size:10px;color:var(--muted);font-weight:550;margin-bottom:8px}.proposal-current,.proposal-suggested{font-size:11px}.proposal-footnote{font-size:10px}.proposal-table{margin-top:18px}}
.auth-layout{min-height:100dvh;display:grid;grid-template-columns:minmax(320px,44%) minmax(0,1fr);background:var(--page)}
.auth-intro{display:flex;flex-direction:column;padding:43px 54px;background:var(--sidebar);border-right:1px solid var(--blue-border)}
.auth-intro .brand{justify-content:flex-start;padding:0;font-size:27px;color:var(--ink-deep)}.auth-intro .brand-mark svg{width:30px;height:30px;color:var(--accent)}.auth-intro .brand-dot{color:var(--accent)}
.auth-intro-copy{margin:auto 0;padding:75px 0}.auth-intro .eyebrow{font-size:10px;color:var(--accent);letter-spacing:1.5px}
.auth-intro h1{font-size:43px;letter-spacing:-1.4px;line-height:1.2;color:var(--ink-deep);margin:19px 0 21px}
.auth-intro-copy>p{font-size:14px;line-height:1.9;color:var(--ink-secondary);max-width:365px;margin-bottom:34px}
.auth-feature{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--ink-secondary);margin-top:20px}.auth-feature>span:first-child{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--blue-border);background:#f6faff;border-radius:8px;color:var(--accent)}.auth-feature svg{width:18px;height:18px}
.auth-intro-footer{font-size:11px;color:var(--muted)}
.auth-main{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:45px 35px;min-width:0}
.auth-card{width:100%;max-width:470px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:34px;box-shadow:0 9px 35px #24364b05}
.auth-card h2{font-size:26px;letter-spacing:-.6px;color:var(--ink-deep);font-weight:550;line-height:1.3}
.auth-description{font-size:12px;line-height:1.8;color:var(--muted);margin-top:10px}
.auth-loading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:130px;color:var(--muted);font-size:12px}
.auth-tabs{display:flex;gap:5px;padding:4px;border:1px solid var(--line);border-radius:8px;background:var(--page);margin-top:24px}
.auth-tabs button{flex:1;min-height:39px;border:1px solid transparent;border-radius:5px;font-size:12px;color:var(--muted)}.auth-tabs button.active{background:var(--surface);border-color:var(--line);color:var(--accent);box-shadow:0 1px 3px #24364b08;font-weight:550}
.auth-form{display:grid;gap:17px;margin-top:24px}.auth-form .field label{font-size:12px;color:var(--ink-secondary);margin-bottom:7px}.auth-form .field input{font-size:14px;min-height:44px;padding:10px 12px;color:var(--ink)}.auth-form .field-hint{font-size:11px;line-height:1.75;margin-top:7px;color:var(--muted)}
.auth-fields-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.auth-fields-row .optional{font-size:10px}
.auth-submit{width:100%;min-height:45px;font-size:13px;margin-top:5px}.auth-submit .spinner{border-color:#ffffff60;border-top-color:#fff}
.auth-setup-field{padding:15px;background:var(--accent-pale);border:1px solid var(--blue-border);border-radius:8px}.auth-form .auth-setup-field input{background:var(--surface)}
.auth-card .form-error{font-size:12px;line-height:1.75;margin-top:18px}.auth-message{font-size:12px;line-height:1.75;color:var(--ink-secondary);padding:12px 14px;border:1px solid var(--blue-border);border-radius:7px;background:var(--accent-pale);margin-top:18px}
.auth-retry{font-size:12px;min-height:42px;margin-top:12px}.auth-footer{font-size:11px;color:var(--muted);margin-top:21px}
.auth-link{min-height:42px;font-size:12px;line-height:1.6;justify-content:center;white-space:normal;text-align:center;padding:8px 4px}.auth-forgot{justify-self:end;margin-top:-11px;margin-bottom:-9px}.auth-secondary-actions{display:grid;gap:3px;border-top:1px solid var(--line);padding-top:10px}.auth-action-note{display:flex;align-items:flex-start;gap:12px;padding:15px;border:1px solid var(--blue-border);background:var(--accent-pale);border-radius:8px}.auth-action-note>span{color:var(--accent);flex-shrink:0}.auth-action-note svg{width:20px;height:20px}.auth-action-note p{font-size:12px;line-height:1.8;color:var(--ink-secondary)}.auth-form .auth-submit{white-space:normal;line-height:1.6}.auth-form>.field-hint{font-size:11px;line-height:1.75;color:var(--muted)}
.auth-file-preview{margin-top:24px}.auth-file-preview p{font-size:12px;line-height:1.9;color:var(--muted)}.auth-file-preview .button{margin-top:21px;width:100%}
.account-identity{display:grid;gap:2px;min-width:0;max-width:190px;text-align:right}.account-identity strong{font-size:11px;font-weight:550;color:var(--ink-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-identity small{font-size:10px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.logout-button{display:flex;align-items:center;gap:6px;min-height:36px;padding:6px 9px;border:1px solid var(--line);border-radius:6px;font-size:10px;color:var(--muted);white-space:nowrap}.logout-button:hover{background:var(--accent-pale);color:var(--accent)}.logout-button svg{width:15px;height:15px}
.topbar-right{flex-shrink:0;gap:14px}.breadcrumb{min-width:0}#topbar-company{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#workspace-company{display:block;max-width:133px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1050px){.auth-intro{padding:36px}.auth-intro h1{font-size:36px}.auth-main{padding:35px 27px}.auth-card{padding:28px}.account-identity{max-width:130px}.topbar-right{gap:10px}#topbar-company{max-width:110px}.topbar .workspace-avatar{display:none}}
@media(max-width:700px){.auth-layout{grid-template-columns:1fr}.auth-intro{padding:27px 25px 25px;border-right:0;border-bottom:1px solid var(--blue-border)}.auth-intro .brand{font-size:24px}.auth-intro .brand-mark svg{width:25px;height:25px}.auth-intro-copy{padding:28px 0 0;margin:0}.auth-intro .eyebrow{font-size:8px}.auth-intro h1{font-size:31px;margin:12px 0 12px}.auth-intro-copy>p{font-size:12px;margin:0;max-width:390px;line-height:1.8}.auth-feature,.auth-intro-footer{display:none}.auth-main{padding:24px 17px 28px}.auth-card{padding:26px 23px;max-width:470px}.auth-card h2{font-size:24px}.auth-form .field input{font-size:16px;min-height:46px}.auth-tabs button{min-height:42px;font-size:13px}.auth-fields-row{grid-template-columns:1fr;gap:17px}.auth-submit{min-height:46px}.auth-footer{font-size:10px}.auth-description{font-size:12px}}
@media(max-width:650px){.topbar{height:58px;padding:0 17px}.topbar .breadcrumb>span:first-child,.topbar .breadcrumb-separator,#topbar-company{display:none}.topbar .breadcrumb{font-size:10px}.account-identity{max-width:143px}.account-identity strong{font-size:10px}.account-identity small{font-size:9px}.logout-button{width:37px;min-height:40px;justify-content:center;padding:5px}.logout-button>span:last-child{display:none}.logout-button svg{width:17px;height:17px}.topbar-right{gap:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition:none!important}}
