@font-face{font-family:Poppins;src:url(/assets/Poppins-SemiBold-latin-DJVo7c07.woff2) format("woff2");font-style:normal;font-weight:600;font-display:swap}:root{font-family:Helvetica Neue,Helvetica,Arial,sans-serif;color:#0f172a;background:#f8fafc;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-size:15px;line-height:1.5;font-weight:400;--font-heading:Poppins,"Helvetica Neue",Helvetica,Arial,sans-serif;--ink:#0f172a;--muted:#475569;--line:#e2e8f0;--control-border:#8492a6;--accent:#2563eb;--accent-hover:#1d4ed8;--accent-soft:#eff6ff;--accent-line:#bfdbfe;--white:#fff;--surface-soft:#f8fafc;--surface-hover:#f1f5f9;--preview-surface:#e2e8f0;--success:#15803d;--success-soft:#f0fdf4;--success-line:#bbf7d0;--warning:#92400e;--warning-soft:#fffbeb;--warning-line:#fcd34d;--danger:#b91c1c;--danger-soft:#fef2f2;--danger-line:#fca5a5;--shadow:0 2px 8px #0f172a06}*{box-sizing:border-box}body{margin:0;min-width:360px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.46}button,select,input,textarea{outline:none}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}input:focus,textarea:focus,select:focus{border-color:var(--line)!important;box-shadow:0 0 0 3px #0f172a15}input,select,textarea{color:var(--ink)}button{transition:background .15s,border-color .15s,color .15s}button svg{flex-shrink:0}h1,h2,h3,p{margin:0}a{color:inherit}input[type=checkbox]{accent-color:var(--accent);width:16px;height:16px;flex-shrink:0;cursor:pointer}input[type=date]{min-width:0}small{font-size:12px;color:var(--muted)}.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.subtle{color:var(--muted);font-size:15px}.eyebrow{font-size:11px;font-weight:650;letter-spacing:1.7px;color:var(--muted)}.button{border:1px solid transparent;border-radius:7px;height:41px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:0 16px;font-size:13px;font-weight:550;white-space:nowrap}.button.primary{background:var(--ink);color:var(--white);border-color:var(--ink)}.button.primary:hover{background:var(--surface-soft)}.button.secondary{background:var(--white);border-color:var(--line);color:var(--muted);box-shadow:var(--shadow)}.button.secondary:hover{background:var(--surface-soft);border-color:var(--line)}.button.small{height:33px;padding:0 10px;font-size:12px}.button.danger{background:var(--surface-soft);color:var(--white)}.icon-button{border:0;background:transparent;width:33px;height:33px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;color:var(--muted)}.icon-button:hover{color:var(--ink);background:var(--surface-soft)}.icon-button.tiny{width:23px;height:23px}.text-button{background:none;border:0;padding:0;color:var(--accent);font-weight:550;display:inline-flex;align-items:center;gap:6px;font-size:13px}.danger-text{color:var(--muted)!important}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.home{max-width:1228px;margin:auto;padding:48px 42px 26px}.home-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:32px;gap:20px}.home-title h1{font-size:32px;font-weight:600;letter-spacing:-1.1px;margin:0}.home-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.home-title .button{align-self:center}.import-card{border:1px solid var(--line);background:var(--white);display:grid;grid-template-columns:1.16fr 1fr;min-height:310px;border-radius:11px;overflow:hidden;box-shadow:var(--shadow)}.import-card.dragging{border:2px dashed var(--accent);background:var(--surface-soft)}.import-copy{padding:30px 36px;position:relative}.import-icon{display:flex;align-items:center;justify-content:center;width:47px;height:47px;border-radius:10px;color:var(--muted);background:var(--surface-soft);margin-bottom:17px}.import-copy h2{font-size:22px;font-weight:600;letter-spacing:-.5px}.import-copy p{font-size:14px;line-height:1.75;color:var(--muted);margin:8px 0 21px}.import-copy .button{height:42px;gap:12px}.file-types{display:block;font-size:11px;color:var(--muted);margin-top:11px}.import-steps{border-left:1px solid var(--line);margin:34px 0;padding:16px 42px;display:flex;flex-direction:column;justify-content:center;gap:28px}.import-steps>div{display:flex;align-items:center;gap:19px}.step-number{font-size:12px;color:var(--muted);border:1px solid var(--line);background:var(--surface-soft);width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;position:relative}.import-steps>div:not(:last-child) .step-number:after{content:"";position:absolute;top:36px;width:1px;height:28px;background:var(--surface-soft)}.import-steps strong{font-size:13px;font-weight:600;display:block;margin-bottom:3px}.import-steps small{font-size:12px}.library-heading{display:flex;align-items:center;justify-content:space-between;margin:38px 0 15px;gap:20px}.library-heading h2{font-size:17px;font-weight:600;display:flex;gap:10px;align-items:center;letter-spacing:-.3px}.count-badge{border:1px solid var(--line);border-radius:5px;min-width:24px;height:23px;font-size:11px;display:inline-flex;align-items:center;justify-content:center;background:var(--surface-soft);color:var(--muted)}.search-input{height:35px;display:flex;align-items:center;border:1px solid var(--line);border-radius:6px;gap:8px;background:var(--white);padding:0 11px;color:var(--muted)}.search-input input{border:0;background:none;min-width:0;width:100%;font-size:12px;box-shadow:none!important}.library-heading .search-input{width:305px}.empty-library{min-height:197px;border:1px dashed var(--line);border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted);gap:8px;background:var(--surface-soft)}.empty-library h3{font-weight:600;font-size:14px;color:var(--muted);margin-top:4px}.empty-library p{font-size:12px;color:var(--muted)}.home-footer{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;padding:22px 0}.home-footer button{margin-left:auto;display:flex;align-items:center;gap:7px;border:0;background:transparent;color:var(--muted);font-size:11px;white-space:nowrap}.contract-list{border:1px solid var(--line);border-radius:8px;background:var(--white);overflow:visible}.list-head,.contract-row{display:grid;grid-template-columns:minmax(260px,1fr) 140px 145px 90px 35px;gap:18px;align-items:center;padding:15px 22px}.list-head{font-size:10px;font-weight:550;letter-spacing:1px;color:var(--muted);background:var(--surface-soft);border-radius:8px 8px 0 0;border-bottom:1px solid var(--line);padding-top:12px;padding-bottom:12px}.contract-row+.contract-row{border-top:1px solid var(--line)}.contract-row:hover{background:var(--surface-soft)}.contract-open{display:flex;align-items:center;gap:15px;text-align:left;background:none;border:0;min-width:0;padding:0;color:var(--ink)}.contract-open>span:last-child{min-width:0}.contract-open strong{display:block;font-weight:550;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.contract-open small{font-size:12px;display:block;margin-top:2px;max-width:400px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-icon{width:37px;height:43px;border:1px solid var(--line);border-radius:6px;background:var(--surface-soft);color:var(--muted);display:flex;align-items:center;justify-content:center;flex-shrink:0}.contract-number,.edited-date{color:var(--muted);font-size:12px}.pill{display:inline-flex;align-items:center;justify-content:center;gap:4px;border:1px solid var(--line);border-radius:5px;background:var(--surface-soft);color:var(--muted);font-size:10px;font-weight:550;padding:3px 8px;width:fit-content;white-space:nowrap}.pill.ready{background:var(--surface-soft);border-color:var(--line);color:var(--muted)}.row-actions{position:relative}.popover{position:absolute;right:0;top:34px;background:var(--white);border:1px solid var(--line);border-radius:8px;box-shadow:0 7px 28px #0f172a15;min-width:145px;padding:5px;z-index:3}.popover button{border:0;display:flex;gap:9px;align-items:center;width:100%;background:transparent;padding:9px;font-size:12px;text-align:left;border-radius:4px}.popover button:hover{background:var(--surface-soft)}.workspace-top{background:var(--white);height:90px;padding:0 32px;display:flex;gap:22px;align-items:center;border-bottom:1px solid var(--line)}.back-button{padding:0;background:none;border:0;color:var(--muted);display:flex;align-items:center;gap:8px;font-size:12px;white-space:nowrap}.top-divider{height:30px;width:1px;background:var(--line)}.workspace-title{min-width:0}.workspace-title h1{font-size:18px;letter-spacing:-.35px;font-weight:600;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:530px}.workspace-title>span{font-size:11px;color:var(--muted);display:flex;align-items:center;margin-top:3px}.middle-dot{margin:0 9px}.save-indicator{display:inline-flex;align-items:center;gap:5px;color:var(--muted)}.workspace-actions{display:flex;align-items:center;margin-left:auto;gap:9px}.workspace-actions .button{height:44px;font-size:13px;padding:0 15px}.workspace-layout{display:grid;grid-template-columns:215px minmax(400px,1fr) minmax(350px,420px);max-width:1800px;margin:auto;min-height:calc(100vh - 90px)}.section-nav{padding:30px 15px 22px 20px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:4px;position:sticky;top:0;align-self:start;min-height:calc(100vh - 90px)}.section-nav>button{height:37px;text-align:left;display:flex;align-items:center;gap:11px;border:0;border-radius:6px;background:transparent;font-size:12px;color:var(--muted);padding:0 11px}.section-nav>button:hover{background:var(--surface-soft)}.section-nav>button.active{background:var(--surface-soft);color:var(--muted);font-weight:600}.nav-number{font-size:10px;color:var(--muted);font-weight:400}.section-nav>button>svg{margin-left:auto}.nav-warning{width:5px;height:5px;background:var(--surface-soft);border-radius:50%;margin-left:auto}.editor{padding:30px 30px 65px;min-width:0;max-width:920px;width:100%;margin:auto;align-self:start}.editor-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.editor-heading h2{font-size:25px;line-height:1.4;letter-spacing:-.7px;font-weight:600;margin-top:5px}.section-counter{color:var(--muted);font-size:10px;align-self:flex-end;margin-bottom:5px}.form-card{border:1px solid var(--line);background:var(--white);border-radius:9px;padding:24px;margin-bottom:18px;box-shadow:var(--shadow)}.form-card h3{font-size:14px;font-weight:600;margin:0 0 20px;letter-spacing:-.15px}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:21px}.card-heading h3{margin:0}.card-heading>span{color:var(--muted);font-size:10px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px 17px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field-wide{grid-column:1 / -1}.field label,.field>span,.label-row label{font-size:12px;color:var(--muted);line-height:1.4;font-weight:450}.label-row{display:flex;align-items:center;justify-content:space-between;min-height:17px}.required-dot{color:var(--muted);font-size:11px}.field input,.field textarea,.field select{width:100%;background:var(--white);border:1px solid var(--line);border-radius:5px;min-height:38px;font-size:14px;padding:8px 10px;line-height:1.4}.field select{height:38px;padding-right:4px}.field textarea{resize:vertical;min-height:82px}.field input[aria-invalid=true],.field textarea[aria-invalid=true]{border-color:var(--line);background:var(--surface-soft)}.field small{font-size:10px;line-height:1.55}.field-error{color:var(--muted)}.reset-button{display:flex;align-items:center;justify-content:center;width:20px;height:17px;border:0;background:transparent;color:var(--muted);padding:0}.reset-button:hover{color:var(--accent)}.notice{border:1px solid var(--line);background:var(--surface-soft);border-radius:7px;padding:14px 15px;display:flex;gap:11px;margin-bottom:20px;color:var(--muted);font-size:12px;line-height:1.55}.notice>svg{flex-shrink:0;margin-top:2px}.notice strong{font-size:12px;font-weight:550;color:var(--muted);display:block;margin-bottom:3px}.notice small{color:var(--muted);display:block;font-size:10px;margin-top:5px}.import-notice p{color:var(--muted);word-break:break-word;font-size:11px}.notice.warning{background:var(--surface-soft);border-color:var(--line);color:var(--muted)}.notice.warning strong{color:var(--muted)}.notice.error{background:var(--surface-soft);color:var(--muted);border-color:var(--line)}.next-section{width:100%;border:0;background:none;display:flex;justify-content:flex-end;align-items:center;gap:12px;font-size:12px;color:var(--muted);padding:8px 0}.next-section:hover{color:var(--muted)}.section-note{font-size:12px;color:var(--muted);line-height:1.7;margin-bottom:21px}.confirmation{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.6;color:var(--muted);padding:13px 0;margin-top:13px;border-top:1px solid var(--line);cursor:pointer}.confirmation.confirmed{color:var(--muted)}.confirmation>svg{margin-left:auto;flex-shrink:0}.confirmation input{margin:0}.overview-panel{border-left:1px solid var(--line);padding:32px 22px 24px;align-self:start;position:sticky;top:0;min-height:calc(100vh - 90px);min-width:0}.overview-panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:12px}.overview-panel-heading h2{font-size:15px;font-weight:600;letter-spacing:-.2px}.overview-panel-heading .eyebrow{font-size:9px;color:var(--muted);letter-spacing:1.2px}.review-button{background:var(--surface-soft);border:1px solid var(--line);border-radius:6px;width:100%;display:flex;align-items:center;text-align:left;gap:8px;padding:12px 10px;margin-top:16px;color:var(--muted);font-size:10px}.review-button>span{flex:1}.review-button>svg{flex-shrink:0}.review-ready{background:var(--surface-soft);color:var(--muted);border-color:var(--line)}.review-list{background:var(--white);border:1px solid var(--line);border-radius:6px;margin-top:7px;padding:4px}.review-list>button{display:flex;align-items:center;gap:7px;background:none;border:0;border-bottom:1px solid var(--line);text-align:left;width:100%;font-size:10px;color:var(--muted);padding:9px 5px}.review-list>button:last-child{border:0}.review-list>button:hover{background:var(--surface-soft)}.review-list>button>span:nth-child(2){flex:1}.review-list p{font-size:11px;color:var(--muted);padding:10px;display:flex;align-items:center;gap:5px}.issue-dot{width:4px;height:4px;flex-shrink:0;border-radius:50%;background:var(--surface-soft)}.source-review{display:flex;gap:11px;border:1px solid var(--line);background:var(--surface-soft);padding:14px;border-radius:7px;margin-top:15px;font-size:11px;color:var(--muted)}.source-review>svg{flex-shrink:0}.source-review strong{font-size:12px}.source-review p{margin:4px 0 8px;line-height:1.6}.source-review label{display:flex;align-items:center;gap:7px}.source-review input{width:13px;height:13px}.segmented{background:var(--surface-soft);display:flex;border-radius:6px;padding:3px;margin-bottom:21px;gap:3px}.segmented button{flex:1;border:1px solid transparent;background:transparent;border-radius:4px;color:var(--muted);font-size:11px;height:32px}.segmented button.selected{background:var(--white);border-color:var(--line);color:var(--muted);box-shadow:0 1px 3px #0f172a10}.price-totals{margin-top:23px;border-top:1px solid var(--line);padding-top:18px;display:flex;flex-direction:column;gap:10px;color:var(--muted);font-size:12px}.price-totals>div{display:flex;justify-content:space-between;gap:12px}.price-totals .total-line{padding:12px 0;border-top:1px solid var(--line);margin-top:3px;color:var(--muted);font-size:15px}.price-totals strong{font-weight:550}.equipment-card{padding:20px 16px}.equipment-controls{display:flex;gap:10px;margin-bottom:18px}.equipment-controls .search-input{flex:1}.equipment-controls>select{border:1px solid var(--line);border-radius:6px;color:var(--muted);font-size:11px;background:var(--white);padding:0 7px}.equipment-head,.equipment-row{display:grid;grid-template-columns:18px 74px minmax(110px,1fr) 36px 24px;gap:8px;align-items:start}.equipment-head{font-size:8px;letter-spacing:.8px;color:var(--muted);padding:0 0 10px;border-bottom:1px solid var(--line)}.equipment-row{padding:10px 0;border-bottom:1px solid var(--line);align-items:center}.equipment-row>input[type=checkbox]{width:13px;height:13px;margin:0}.equipment-row input:not([type=checkbox]),.equipment-row textarea,.equipment-row select{width:100%;font-size:11px;border:1px solid transparent;padding:3px;background:transparent;border-radius:3px;color:var(--muted);line-height:1.5}.equipment-row input:not([type=checkbox]):hover,.equipment-row textarea:hover{border-color:var(--line)}.equipment-row select{font-size:9px;color:var(--muted);padding:0}.equipment-row textarea{resize:vertical;min-height:43px}.equipment-row.excluded{opacity:.5}.equipment-actions{display:flex;flex-direction:column;color:var(--muted)}.equipment-row .icon-button{color:var(--muted)}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-top:13px}.pagination>span{font-size:10px;color:var(--muted);margin-right:auto}.fine-print{font-size:10px;color:var(--muted);line-height:1.7;margin-top:17px}.term{border-top:1px solid var(--line);margin-top:8px;padding:12px 0}.term summary{list-style:none;cursor:pointer;font-size:12px;color:var(--muted);display:flex;align-items:center;justify-content:space-between}.term summary::-webkit-details-marker{display:none}.term[open] summary{margin-bottom:18px}.term .field{margin-bottom:13px}.term+.button{margin-top:20px}.attachment-intro{text-align:center;display:flex;align-items:center;flex-direction:column;padding:18px 0 28px;color:var(--muted)}.attachment-intro h3{margin:13px 0 8px;color:var(--muted)}.attachment-intro p{font-size:12px;color:var(--muted);line-height:1.7;margin-bottom:20px}.attachment-intro small{font-size:10px;margin-top:9px;color:var(--muted)}.attachment-row{display:flex;align-items:center;gap:11px;border-top:1px solid var(--line);padding:15px 0;color:var(--muted)}.attachment-row>div{flex:1;min-width:0}.attachment-row strong{font-size:12px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.attachment-row small{display:block;font-size:10px;margin-top:4px;color:var(--muted)}.attachment-row+.notice{margin-top:18px}.storage-error{background:var(--surface-soft);color:var(--muted);padding:12px 26px;display:flex;align-items:center;gap:12px;font-size:12px;border-bottom:1px solid var(--line)}.storage-error span{flex:1}.storage-error button{background:none;border:0;font-size:11px;color:var(--muted);text-decoration:underline;white-space:nowrap}.dialog{border:1px solid var(--line);border-radius:12px;background:var(--white);padding:26px;width:560px;max-width:calc(100vw - 30px);max-height:90vh;overflow:auto;box-shadow:0 24px 100px #0f172a30;color:var(--ink)}.dialog::backdrop{background:var(--surface-soft);backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:20px}.dialog-heading h2{font-size:21px;font-weight:600;letter-spacing:-.5px}.dialog-description{font-size:13px;color:var(--muted);line-height:1.75;margin-bottom:24px}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:26px;padding-top:20px;border-top:1px solid var(--line)}.dialog .field-grid{gap:14px}.dialog .field input{font-size:13px}.export-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.export-options>button{position:relative;border:1px solid var(--line);border-radius:7px;background:var(--white);display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;padding:16px;color:var(--muted)}.export-options>button strong{font-size:13px;font-weight:550;color:var(--muted)}.export-options>button small{font-size:11px;color:var(--muted);line-height:1.6;max-width:180px}.export-options>button.selected{background:var(--surface-soft);border-color:var(--line);box-shadow:0 0 0 1px #0f172a18}.option-check{position:absolute;right:13px;top:14px}.draft-toggle{display:flex;align-items:center;gap:11px;padding:20px 0;font-size:13px;color:var(--muted)}.draft-toggle small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.wide-dialog{width:950px;padding:23px 26px;background:var(--surface-soft)}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 0 14px;font-size:11px;color:var(--muted)}.preview-loading{display:flex;align-items:center;justify-content:center;gap:14px;min-height:350px;color:var(--muted);font-size:14px}.pdf-page-count{font-size:11px;color:var(--muted);text-align:center;margin:20px 0}.pdf-pages figure{margin:0 0 23px}.pdf-pages canvas{display:block;width:100%;height:auto;max-width:740px;margin:auto;box-shadow:0 3px 14px #0f172a13;background:var(--white)}.pdf-pages figcaption{text-align:center;font-size:10px;color:var(--muted);margin-top:10px}.import-selection{display:flex;flex-direction:column;gap:10px;max-height:400px;overflow:auto}.import-selection label{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:6px;padding:13px;cursor:pointer}.import-selection strong{font-size:13px;font-weight:500;display:block}.import-selection small{display:block;margin-top:3px;font-size:10px}.toast,.busy-pill{position:fixed;z-index:30;left:50%;transform:translate(-50%);bottom:25px;display:flex;align-items:center;gap:12px;box-shadow:0 8px 30px #0f172a20;border:1px solid var(--line);border-radius:9px;background:var(--white);color:var(--muted);padding:12px 16px;font-size:13px;max-width:min(680px,calc(100vw - 32px))}.toast>svg,.busy-pill>svg{flex-shrink:0}.toast-error{border-color:var(--line);color:var(--muted)}.toast-error .icon-button{color:var(--muted)}.toast>span{overflow-wrap:anywhere}.busy-pill{bottom:85px;z-index:50;border-radius:30px;font-size:12px;white-space:nowrap}.fatal-error{max-width:620px;margin:10vh auto;padding:30px;display:flex;flex-direction:column;gap:20px}.fatal-error h1{font-size:26px}.fatal-error button{align-self:flex-start;padding:10px 20px;background:var(--ink);color:var(--white);border:0;border-radius:6px}@media(min-width:1500px){.workspace-layout{grid-template-columns:230px minmax(500px,1fr) 460px}.editor{padding:38px 45px 70px}.overview-panel{padding:38px 24px}.section-nav{padding-left:30px}}@media(max-width:1160px){.section-nav{padding-left:10px;padding-right:10px}.editor{padding:25px 20px}.overview-panel{padding:29px 16px}.form-card{padding:20px}.section-nav>button{font-size:11px;gap:8px}.workspace-title h1{max-width:370px}.list-head,.contract-row{grid-template-columns:minmax(220px,1fr) 100px 110px 70px 28px;gap:14px}.edited-date{font-size:10px}.equipment-card{padding:16px 11px}}@media(max-width:1100px){.workspace-layout{grid-template-columns:215px minmax(350px,1fr)}.overview-panel{position:static;grid-column:2;min-height:0;border-top:1px solid var(--line);border-left:0;padding:20px;display:grid;grid-template-columns:1fr;max-width:650px;width:100%;margin:auto}.overview-panel-heading{margin-bottom:12px}.review-button{margin-top:0}.section-nav{grid-row:1 / span 2}.workspace-top{padding:0 22px;gap:14px}.back-button span,.top-divider{display:none}.home{padding:35px 30px}.import-steps{padding:16px 28px}.import-copy{padding:28px}.workspace-title h1{max-width:320px}.list-head,.contract-row{grid-template-columns:minmax(240px,1fr) 100px 70px 28px}.edited-date,.list-head>span:nth-child(3){display:none}.editor{padding-bottom:15px}}@media(max-width:730px){.home{padding:28px 20px}.home-title{align-items:flex-start;gap:12px;margin-bottom:24px}.home-title h1{font-size:27px}.home-title .button{font-size:0;padding:0;width:35px;height:35px;align-self:center}.home-title .button svg{width:17px}.import-card{grid-template-columns:1fr}.import-copy{padding:26px}.import-copy h2{font-size:21px}.import-copy p{font-size:12px}.import-steps{margin:0 24px;padding:20px 0;border-left:0;border-top:1px solid var(--line);flex-direction:row;gap:14px}.import-steps>div{flex:1;align-items:flex-start;gap:8px}.step-number{width:21px;height:21px;font-size:9px;flex-shrink:0;margin-top:1px}.import-steps>div:not(:last-child) .step-number:after{display:none}.import-steps strong{font-size:10px;line-height:1.5}.import-steps small{display:none}.file-types{font-size:10px}.library-heading{align-items:flex-start;flex-direction:column;gap:15px;margin-top:30px}.library-heading .search-input{width:100%}.empty-library{min-height:160px;padding:20px;text-align:center}.empty-library p{font-size:11px}.home-footer{font-size:10px;align-items:flex-start;flex-wrap:wrap;gap:8px}.home-footer button{margin-left:auto;font-size:10px}.list-head{display:none}.contract-row{grid-template-columns:minmax(160px,1fr) 52px 25px;padding:17px 13px;gap:8px}.contract-number{display:none}.contract-open{gap:10px}.contract-open strong{font-size:12px}.contract-open small{font-size:10px}.document-icon{width:31px;height:38px}.workspace-top{height:auto;min-height:88px;flex-wrap:wrap;padding:15px 17px;gap:12px}.workspace-title{flex:1}.workspace-title h1{font-size:15px;max-width:calc(100vw - 85px)}.workspace-title>span{font-size:10px}.workspace-actions{margin:0;width:100%;justify-content:flex-end;gap:8px}.workspace-actions .button{height:44px;font-size:13px}.back-button{align-self:flex-start;margin-top:4px}.workspace-layout{display:flex;flex-direction:column}.section-nav{position:sticky;top:0;z-index:2;min-height:0;padding:9px 12px;background:var(--surface-soft);border-right:0;border-bottom:1px solid var(--line);display:flex;flex-direction:row;gap:5px;overflow-x:auto;width:100%;backdrop-filter:blur(6px)}.nav-number{display:none}.section-nav>button{flex-shrink:0;gap:5px;height:32px;font-size:11px;padding:0 10px}.section-nav>button>svg{display:none}.nav-warning{width:4px;height:4px}.editor{padding:23px 17px 13px;max-width:none}.editor-heading{margin-bottom:18px}.editor-heading h2{font-size:23px}.form-card{padding:19px 16px}.field-grid{gap:17px 12px}.field label,.label-row label,.field>span{font-size:11px}.field input,.field select,.field textarea{font-size:16px;min-height:40px;padding:8px}.field small{font-size:10px}.card-heading>span{font-size:9px}.overview-panel{padding:18px;max-width:none;grid-column:auto}.overview-panel .eyebrow{font-size:9px}.review-button{font-size:12px}.review-list>button{font-size:12px;padding:11px 6px}.confirmation{font-size:11px}.notice{font-size:11px;padding:12px;gap:9px}.source-review{font-size:11px}.equipment-card{padding:15px 10px}.equipment-controls{gap:7px}.equipment-controls>select{max-width:95px}.equipment-head,.equipment-row{grid-template-columns:15px 58px minmax(100px,1fr) 30px 21px;gap:5px}.equipment-row input:not([type=checkbox]),.equipment-row textarea{font-size:12px}.equipment-row select{font-size:9px}.equipment-code{font-size:11px!important}.equipment-controls .search-input{padding:0 7px}.equipment-controls .search-input input{font-size:11px}.equipment-head{font-size:7px}.dialog{padding:21px;max-height:92vh;max-width:calc(100vw - 20px)}.dialog-heading h2{font-size:19px}.export-options>button{padding:13px}.dialog-description{font-size:12px}.export-options>button small{font-size:10px}.wide-dialog{padding:16px}.preview-toolbar{gap:12px;font-size:10px}.preview-toolbar .button{font-size:10px}.storage-error{padding:13px 16px;flex-wrap:wrap;font-size:11px}.storage-error>span{flex-basis:calc(100% - 35px)}.storage-error button{font-size:10px;padding:0;margin-left:29px}.price-totals{font-size:11px}.price-totals .total-line{font-size:13px}.toast{font-size:12px;padding:11px 13px;max-width:calc(100vw - 24px);width:max-content}.toast .icon-button{width:25px;flex-shrink:0}.pdf-page-count{margin:13px 0}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.subtle,small,.eyebrow,.file-types,.step-number,.import-copy p,.import-steps small,.count-badge,.search-input,.search-input input::placeholder,.empty-library,.empty-library h3,.empty-library p,.home-footer,.home-footer button,.list-head,.contract-number,.edited-date,.contract-open small,.back-button,.workspace-title>span,.save-indicator,.nav-number,.section-nav>button,.section-counter,.card-heading>span,.field label,.field>span,.label-row label,.required-dot,.field small,.section-note,.overview-panel-heading .eyebrow,.equipment-controls>select,.equipment-head,.equipment-row select,.pagination>span,.fine-print,.attachment-intro p,.attachment-intro small,.attachment-row small,.dialog-description,.export-options>button small,.draft-toggle small,.preview-toolbar,.pdf-page-count,.pdf-pages figcaption{color:var(--muted)}.pill,.pill.ready,.notice,.notice p,.notice small,.notice strong,.notice.warning,.notice.warning p,.notice.warning strong,.source-review,.review-button,.review-ready{color:var(--muted)}.nav-number,.section-counter,.file-types,.card-heading>span,.home-footer,.fine-print{font-size:11px}.field label,.field>span,.label-row label{font-size:13px}.section-nav>button{font-size:13px}.confirmation,.draft-toggle,.export-options>button{color:var(--muted)}.equipment-row input:not([type=checkbox]),.equipment-row textarea,.equipment-row select{color:var(--muted)}.equipment-row.excluded{opacity:1;background:var(--surface-soft)}.equipment-row.excluded textarea{text-decoration:line-through}.icon-button,.equipment-row .icon-button{color:var(--muted)}.section-nav>button.active .nav-number{color:var(--muted)}.next-section{color:var(--muted)}.segmented button,.price-totals,.term summary{color:var(--muted)}@media(max-width:730px){.field label,.field>span,.label-row label{font-size:12px}.section-nav>button{font-size:12px}.card-heading>span{font-size:10px}}.live-preview{position:relative;min-width:0;border:1px solid var(--line);border-radius:9px;background:var(--surface-soft);overflow:hidden}.live-preview-scroll{height:clamp(320px,calc(100dvh - 345px),640px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:12px}.live-preview .pdf-page-count{font-size:11px;margin:0 0 10px;text-align:center}.live-preview .pdf-pages{display:grid;gap:12px}.live-preview .pdf-pages figure{margin:0}.live-preview .pdf-pages figcaption{font-size:10px;margin-top:5px}.live-preview-status{position:absolute;top:8px;left:12px;right:12px;z-index:1;border-radius:5px;display:flex;align-items:center;justify-content:center;gap:7px;min-height:30px;padding:5px 10px;font-size:11px;color:var(--muted);background:var(--surface-soft);border:1px solid var(--line)}.live-preview-status:empty{display:none}.live-preview-error{padding:32px 18px;display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;color:var(--muted);font-size:13px}.document-actions{display:grid;gap:9px;margin-top:14px}.document-actions .button{width:100%;min-height:48px;height:auto;padding:12px 14px;font-size:14px;white-space:normal;line-height:1.5}.overview-panel .review-button{min-height:44px;font-size:12px;margin-top:16px;padding:11px 12px}.overview-panel .review-list>button{min-height:44px;font-size:12px;line-height:1.5}@media(min-width:1101px)and (max-width:1280px){.editor{padding:30px 22px 55px}.overview-panel{padding:32px 16px 24px}.form-card{padding:20px}.workspace-title h1{max-width:350px}}@media(max-width:1100px){.live-preview-scroll{height:440px}.document-actions{grid-template-columns:1fr 1fr}.overview-panel{gap:0;max-width:760px}}@media(max-width:730px){.live-preview-scroll{height:410px}.document-actions{grid-template-columns:1fr}.overview-panel-heading h2{font-size:15px}.section-nav>button{min-height:40px}.overview-panel{padding:22px 18px}}h1,h2,h3{font-family:var(--font-heading);font-weight:600;color:var(--ink)}.button.primary,.fatal-error button{background:var(--accent);border-color:var(--accent);color:var(--white)}.button.primary:hover,.fatal-error button:hover{background:var(--accent-hover);border-color:var(--accent-hover)}.button.secondary{background:var(--white);border-color:var(--line);color:var(--ink)}.button.secondary:hover,.icon-button:hover,.popover button:hover,.contract-row:hover{background:var(--surface-hover)}.button.secondary:hover{border-color:var(--control-border)}.button.danger{background:var(--danger);color:var(--white)}.danger-text{color:var(--danger)!important}input:focus,textarea:focus,select:focus{border-color:var(--accent)!important;box-shadow:0 0 0 3px #2563eb1f}.field input,.field textarea,.field select,.search-input,.equipment-controls>select{border-color:var(--control-border)}.field input[aria-invalid=true],.field textarea[aria-invalid=true]{border-color:var(--danger);background:var(--danger-soft)}.field-error,.live-preview-error{color:var(--danger)}.text-button,.next-section,.home-footer button,.reset-button:hover{color:var(--accent)}.text-button:hover,.next-section:hover,.home-footer button:hover{color:var(--accent-hover)}.import-icon,.document-icon{color:var(--accent);background:var(--accent-soft);border-color:var(--accent-line)}.import-card.dragging{border-color:var(--accent);background:var(--accent-soft)}.section-nav>button:hover{background:var(--surface-hover)}.section-nav>button.active,.section-nav>button.active .nav-number{color:var(--accent)}.section-nav>button.active{background:var(--accent-soft)}.notice,.notice p,.notice small,.notice strong{color:var(--accent-hover)}.notice{background:var(--accent-soft);border-color:var(--accent-line)}.notice.warning,.notice.warning p,.notice.warning strong,.notice.warning small,.source-review{color:var(--warning)}.notice.warning,.source-review,.review-button,.pill{background:var(--warning-soft);border-color:var(--warning-line);color:var(--warning)}.notice.error,.notice.error p,.notice.error strong,.notice.error small,.storage-error,.toast-error{color:var(--danger)}.notice.error,.storage-error,.toast-error{background:var(--danger-soft);border-color:var(--danger-line)}.storage-error button,.toast-error .icon-button{color:var(--danger)}.pill.ready,.review-ready{background:var(--success-soft);border-color:var(--success-line);color:var(--success)}.confirmation,.draft-toggle{color:var(--muted)}.confirmation.confirmed,.save-indicator,.review-list p{color:var(--success)}.save-indicator:has(.spin){color:var(--muted)}.nav-warning,.issue-dot,.issue-dot.warning{background:var(--warning)}.issue-dot.error{background:var(--danger)}.review-list>button{color:var(--muted)}.review-list>button:hover{background:var(--surface-hover)}.segmented{background:var(--surface-hover)}.segmented button.selected{color:var(--accent);background:var(--white);border-color:var(--accent-line)}.price-totals .total-line,.term summary,.attachment-intro h3,.attachment-row,.equipment-row input:not([type=checkbox]),.equipment-row textarea,.equipment-row select{color:var(--ink)}.attachment-intro{color:var(--accent)}.export-options>button{color:var(--accent)}.export-options>button strong{color:var(--ink)}.export-options>button.selected{background:var(--accent-soft);border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.dialog::backdrop{background:#0f172a60}.live-preview{background:var(--preview-surface)}.live-preview-status{background:#f8fafcf5}.toast{color:var(--success);border-color:var(--success-line)}.toast.toast-error{color:var(--danger);border-color:var(--danger-line)}.busy-pill{color:var(--accent);border-color:var(--accent-line)}@media(max-width:730px){.section-nav{background:#f8fafcf8}}.app-surface{position:relative;isolation:isolate;min-height:100vh;min-height:100dvh;--landscape-tint:rgb(15 23 42 / 60%)}.app-backdrop{position:fixed;inset:0;z-index:-1;pointer-events:none;background:var(--ink)}.app-backdrop img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.app-backdrop:after{content:"";position:absolute;inset:0;background:var(--landscape-tint)}.home-surface{background:var(--ink)}.editor-surface{background:var(--surface-soft);--landscape-tint:rgb(248 250 252 / 82%)}.editor-surface .section-nav,.editor-surface .overview-panel{background:var(--surface-soft)}.home-topbar,.workspace-top{background:#0f172acc;border-bottom:1px solid rgb(255 255 255 / 12%);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.workspace-top{background-image:linear-gradient(#0f284b99,#0f284b99)}.workspace-top .workspace-title h1,.workspace-top .back-button{color:var(--white)}.workspace-top .workspace-title>span{color:#ffffffd9}.workspace-top .top-divider{background:#ffffff59}.workspace-top .save-indicator{color:var(--success-line)}.workspace-top .danger-text{color:var(--danger-line)!important}.workspace-top button:focus-visible{outline-color:var(--white)}.home-topbar-inner{max-width:1228px;min-height:64px;margin:auto;padding:8px 42px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand-logo{display:block;width:300px;height:48px;object-fit:cover;object-position:50% 60%;flex-shrink:0}.home-topbar .home-actions{gap:12px}.home-topbar .button{height:44px;color:var(--ink)}.home-topbar .profile-button{width:44px;height:44px;color:var(--white)}.home-topbar .profile-button:hover{background:#ffffff1f}.home-topbar button:focus-visible,.home-footer button:focus-visible{outline-color:var(--white)}.home-surface .home{padding-top:16px}.home-surface .home-title{margin-bottom:16px}.home-surface .home-title h1,.home-surface .library-heading h2,.home-surface .home-footer button{color:var(--white)}.home-surface .empty-library{background:var(--white)}@media(max-width:1100px){.home-topbar-inner{padding-right:30px;padding-left:30px}}@media(max-width:730px){.home-topbar-inner{padding-right:20px;padding-left:20px;gap:16px}.brand-logo{width:260px;height:44px}.home-surface .home{padding-top:24px}.home-surface .home-title{margin-bottom:24px}}@media print{.app-backdrop,.home-topbar{display:none}}.home-surface{height:100vh;height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:visible}.home-surface .home-topbar{flex-shrink:0}.home-surface .home{width:100%;margin:0 auto;flex:1;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;padding-bottom:12px}.home-surface .library-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;border-radius:8px;outline-offset:3px}.home-surface .library-scroll:focus-visible{outline:2px solid var(--white);outline-offset:-2px}.home-surface .empty-library{min-height:0;height:197px;max-height:100%;padding:16px;text-align:center}.home-surface .home-footer{padding:12px 0 0;min-height:32px}.home-surface .list-head{position:sticky;top:0;z-index:1}.home-surface .library-row-menu{position:static;grid-column:1/-1;display:flex;justify-content:flex-end;width:auto;box-shadow:none;border:0;padding:0;gap:8px}.home-surface .library-row-menu button{width:auto;border:1px solid var(--line);border-radius:6px;min-height:36px}.home-surface .home{padding-top:64px}.upload-hero{width:100%;max-width:640px;min-height:344px;margin:0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:32px 24px;border:2px dashed #a6c8ec;border-radius:12px;background:#0f172a5c;color:var(--white);text-align:center}.upload-hero h1{color:var(--white);font-size:28px;line-height:1.35;letter-spacing:-.7px;margin:0}.upload-hero p{font-size:16px;line-height:1.5;margin:0}.upload-hero-icon{flex-shrink:0}.upload-hero .upload-button{width:100%;max-width:312px;height:56px;margin:8px 0 2px;background:var(--white);border:1px solid var(--line);color:var(--ink);font-size:16px;font-weight:600;gap:16px}.upload-hero .upload-button:hover{background:var(--surface-soft)}.upload-hero .upload-button:focus-visible{outline:3px solid var(--white);outline-offset:5px}.upload-drop-hint{font-size:16px;line-height:1.5}.upload-file-types{font-size:13px;line-height:1.5;color:#b9dafb}.upload-hero.dragging{border-style:solid;border-color:var(--white);background:#2563eb47}.home-surface .library-heading{margin-top:32px}@media(max-width:730px){.home-surface .home{padding-top:24px}.upload-hero{min-height:300px;padding:24px 16px;gap:10px}.upload-hero h1{font-size:23px;letter-spacing:-.5px}.upload-hero p,.upload-drop-hint{font-size:14px}.home-surface .library-heading{margin-top:24px;margin-bottom:12px;gap:10px}.home-surface .empty-library{height:160px;gap:5px}}@media(max-height:850px)and (min-width:731px){.home-surface .home{padding-top:32px}.upload-hero{min-height:300px;padding:24px;gap:10px}.home-surface .library-heading{margin-top:24px}}@media(max-height:700px){.home-surface .home{padding-top:12px}.upload-hero{min-height:0;padding:20px 16px;gap:8px}.upload-hero-icon{width:36px;height:36px}.upload-hero h1{font-size:23px}.upload-hero .upload-button{height:48px;margin:4px 0}.home-surface .library-heading{margin-top:16px;margin-bottom:10px}}@media(max-height:550px){.home-topbar-inner{min-height:52px;padding-top:4px;padding-bottom:4px}.home-topbar .brand-logo{width:220px;height:40px}.home-topbar .profile-button{height:36px}.upload-hero{display:grid;grid-template-columns:1fr auto;gap:8px 20px;min-height:0;padding:16px 20px;text-align:left}.upload-hero h1{font-size:20px}.upload-hero-icon,.upload-drop-hint,.upload-file-types{display:none}.upload-hero p{grid-column:1;font-size:12px}.upload-hero .upload-button{grid-column:2;grid-row:1/span 2;width:200px;margin:0;font-size:14px}.home-surface .library-heading{margin-top:12px;gap:8px}.home-surface .home-footer{padding-top:8px;min-height:28px}}@media(max-height:550px)and (max-width:730px){.upload-hero{display:flex;text-align:center;padding:12px;gap:6px}.upload-hero p{display:none}.upload-hero .upload-button{width:100%;max-width:312px;height:44px}}@media(max-height:600px){.home-surface .empty-library{padding:10px}.home-surface .empty-library>svg,.home-surface .empty-library p{display:none}}html:has(.home-surface){overflow-y:scroll;overscroll-behavior-y:auto;scrollbar-width:none}html:has(.home-surface)::-webkit-scrollbar{display:none}body:has(.home-surface){background:var(--ink)}.editor-surface{height:100vh;height:100dvh;min-height:0;display:flex;flex-direction:column}.editor-surface .workspace-top,.editor-surface .storage-error{flex-shrink:0}.editor-surface .workspace-layout{width:100%;margin:0 auto;flex:1;min-height:0;grid-template-columns:215px minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.workspace-content{min-width:0;min-height:0;display:grid;grid-template-columns:minmax(400px,1fr) minmax(350px,420px);grid-template-rows:minmax(0,1fr)}.editor-surface .section-nav{position:static;grid-row:auto;align-self:stretch;min-height:0;overflow-y:auto;overscroll-behavior-y:contain}.editor-surface .section-nav>button{flex-shrink:0}.editor-surface .editor,.editor-surface .overview-panel{min-height:0;height:100%;overflow-y:auto;overscroll-behavior-y:contain;position:static;align-self:stretch;margin:0 auto}.editor-surface .editor:focus-visible,.editor-surface .overview-panel:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}html:has(.editor-surface){overflow-y:scroll;overscroll-behavior-y:auto;scrollbar-width:none}html:has(.editor-surface)::-webkit-scrollbar{display:none}@media(min-width:1500px){.editor-surface .workspace-layout{grid-template-columns:230px minmax(0,1fr)}.workspace-content{grid-template-columns:minmax(500px,1fr) 460px}}@media(max-width:1100px){.workspace-content{display:block;overflow-y:auto;overscroll-behavior-y:contain}.editor-surface .editor,.editor-surface .overview-panel{height:auto;overflow:visible}.editor-surface .overview-panel{grid-column:auto}}@media(max-width:730px){.editor-surface .section-nav{flex-shrink:0;overflow-y:hidden}.workspace-content{flex:1;width:100%;min-height:0}}@media(min-width:1101px){.editor-surface .overview-panel{display:flex;flex-direction:column}.editor-surface .overview-panel-heading,.editor-surface .document-actions,.editor-surface .review-button,.editor-surface .review-list{flex-shrink:0}.editor-surface .overview-panel>.live-preview{flex:1 0 160px;min-height:160px;max-height:640px;display:flex;flex-direction:column}.editor-surface .overview-panel .live-preview-scroll{flex:1;min-height:0;height:auto}}
