:root{color:#24211d;--ink:#1a1a1c;--accent:#b43c10;--signal:#ff732e;--line:#d9cfc0;--muted:#756957;background:#f6f3ed;font:15px/1.5 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,.button{color:#4d3d2a;cursor:pointer;background:#fffaf3;border:1px solid #bba88d;border-radius:4px;justify-content:center;align-items:center;gap:7px;min-height:42px;padding:9px 15px;font-size:13px;font-weight:650;text-decoration:none;display:inline-flex}button:disabled{opacity:.48;cursor:default}.primary{background:var(--ink);border-color:var(--ink);color:#fff}.primary:hover:enabled{background:#36312c}.quiet{background:0 0}.danger{color:#a43425;background:0 0;border-color:#d3aaa0}a{color:var(--accent)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline-offset:3px;outline:3px solid #c05b25}.topbar{background:var(--ink);color:#fff;border-bottom:3px solid var(--signal);align-items:center;gap:45px;height:78px;padding:0 28px;display:flex}.brand{color:#fff;letter-spacing:-.6px;white-space:nowrap;align-items:center;gap:12px;font-size:18px;font-weight:900;line-height:1.1;text-decoration:none;display:flex}.brand .light{color:#ff914e;font-weight:400}.brand small{letter-spacing:1.8px;color:#b9ac98;margin-top:6px;font:8px/1.5 ui-monospace,monospace;display:block}.brand svg{fill:none;width:36px;height:36px;stroke:var(--signal);stroke-width:1.7px}.topbar nav{align-items:center;gap:24px;height:100%;display:flex}.topbar nav a{color:#c9bfaf;border-bottom:3px solid #0000;align-items:center;height:100%;padding-top:3px;font-size:12px;text-decoration:none;display:flex}.topbar nav a[aria-current]{color:#fff;border-color:var(--signal)}.account-name{color:#b9ac98;text-overflow:ellipsis;white-space:nowrap;max-width:160px;margin-left:auto;font-size:11px;overflow:hidden}.notice{margin:0}.notice:not(:empty){color:#70451b;background:#f2e3cb;border-bottom:1px solid #dcc7a7;padding:12px 24px;font-size:13px}.notice.error{color:#9c321b;background:#fff0e8}.eyebrow{letter-spacing:1.4px;color:var(--accent);text-transform:uppercase;margin:0 0 8px;font:10px/1.5 ui-monospace,SFMono-Regular,monospace}h1{letter-spacing:-1.3px;margin:0 0 9px;font-size:34px;line-height:1.13}h2{letter-spacing:-.5px;margin:0 0 9px;font-size:21px;line-height:1.2}h3{margin:0 0 7px;font-size:17px}h4{margin:0 0 9px;font-size:14px}p{margin:7px 0 17px}.muted{color:var(--muted)}.small{font-size:12px}.error{color:#a1301e;font-size:13px}.panel{border:1px solid var(--line);background:#fffdf9;border-radius:5px;padding:26px}.auth{max-width:480px;margin:65px auto}.auth h1{font-size:31px}.auth>p:not(.eyebrow){color:var(--muted);font-size:13px}.auth a{font-size:12px}.auth button{width:100%;margin:15px 0}.workspace{grid-template-columns:255px minmax(0,1fr);min-height:calc(100dvh - 78px);display:grid}.project-sidebar{border-right:1px solid var(--line);background:#eee8de;flex-direction:column;gap:16px;padding:28px 20px;display:flex}.sidebar-heading h2{font-size:25px}.sidebar-heading button{width:100%;margin-top:9px}.search-label{margin:0!important;font-size:11px!important}.project-list{flex-direction:column;gap:5px;min-height:120px;display:flex}.project-row{text-align:left;background:0 0;border:1px solid #0000;border-radius:4px;width:100%;padding:12px;display:block}.project-row strong{overflow-wrap:anywhere;font-size:13px;line-height:1.35;display:block}.project-row small{color:var(--muted);margin-top:6px;font-size:10px;font-weight:400;display:block}.project-row.selected{box-shadow:inset 3px 0 var(--accent);background:#fffaf2;border-color:#cab594}.storage{border-top:1px solid #d1c3af;margin-top:auto;padding-top:18px}.storage>div{color:var(--muted);justify-content:space-between;gap:8px;font-size:10px;display:flex}.storage small{color:var(--muted);font-size:10px}progress{width:100%;height:5px;accent-color:var(--accent);margin:9px 0 7px;display:block}main{min-width:0;padding:33px 34px 50px}.empty-project{text-align:left;max-width:560px;margin:8vh auto 0}.empty-project h1{letter-spacing:-2px;font-size:49px}.empty-project>p:not(.eyebrow){max-width:420px;color:var(--muted);font-size:14px}.empty-project button{margin-top:12px}.plan-symbol{width:200px;margin-bottom:30px}.plan-symbol svg{fill:none;stroke:#b4a186;stroke-width:1px;width:100%}.plan-symbol .signal{fill:#ff732e18;stroke:var(--accent);stroke-width:2px}.project-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:24px;padding-bottom:21px;display:flex}.project-heading h1{overflow-wrap:anywhere;font-size:30px}.project-heading p.muted{margin:5px 0 0;font-size:12px}.actions{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.project-tabs{border-bottom:1px solid var(--line);gap:28px;margin-bottom:28px;display:flex}.project-tabs button{color:#8c7e6b;background:0 0;border:0;border-bottom:3px solid #0000;border-radius:0;padding:18px 0 14px}.project-tabs button[aria-selected=true]{color:#302820;border-bottom-color:var(--accent)}.project-tabs span{background:#e5dac9;margin-left:4px;padding:3px 6px;font:10px ui-monospace,monospace}.section-tools{justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px;display:flex}.section-tools h2{font-size:19px}.section-tools p{color:var(--muted);max-width:450px;margin:0;font-size:12px}.filters{align-items:end;gap:10px;display:flex}.filters label{margin:0;font-size:10px}.filters input{max-width:190px}.filters select{min-width:130px}.filters button{min-height:39px}.table-wrap{border:1px solid var(--line);background:#fffdf9;border-radius:4px;width:100%;overflow:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:12px}th{color:#7f6c55;letter-spacing:.8px;text-transform:uppercase;border-bottom:1px solid var(--line);white-space:nowrap;background:#eee6d9;padding:12px 16px;font:9px/1.5 ui-monospace,monospace}td{vertical-align:middle;border-bottom:1px solid #e9e0d4;padding:16px}tr:last-child td{border-bottom:0}td.sheet-number{color:#1a1a1c;white-space:nowrap;font:650 14px ui-monospace,monospace}td .sheet-title{overflow-wrap:anywhere;font-size:13px;font-weight:650;display:block}td small{color:#8f7c63;margin-top:5px;font-size:10px;display:block}.issue-tag{color:#795435;white-space:nowrap;background:#eee3d2;border:1px solid #e1cfb3;padding:4px 7px;font:10px ui-monospace,monospace;display:inline-flex}.issue-tag.revised{color:#a0431b;background:#fae3d5;border-color:#e7b79d}.open-sheet{white-space:nowrap;min-height:38px;font-size:12px}.history-button{color:#8a4c25;border:0;min-height:34px;padding:5px;font:11px ui-monospace,monospace}.empty-state{background:#f1e9dc;border:1px dashed #cbb697;margin:12px 0;padding:35px}.empty-state p{color:var(--muted);max-width:530px;font-size:13px}.batch-history{border-top:1px solid var(--line);margin-top:22px;padding-top:16px}.batch-history summary{cursor:pointer;min-height:40px;font-size:12px;font-weight:650}.batch-row{border-top:1px solid var(--line);justify-content:space-between;gap:15px;padding:12px 0;font-size:12px;display:flex}.batch-row small{color:var(--muted);font-size:11px}label{margin:15px 0;font-size:12px;font-weight:650;display:block}input,select,textarea{color:#29221b;background:#fffdf8;border:1px solid #bdab91;border-radius:3px;width:100%;min-height:40px;margin-top:6px;padding:9px 11px;font-size:13px;font-weight:400;display:block}textarea{resize:vertical}input[type=checkbox]{width:17px;height:17px;min-height:17px;accent-color:var(--accent);margin:0}dialog{color:#27211a;background:#f9f6ef;border:1px solid #b7a184;border-radius:7px;width:min(1200px,100vw - 30px);max-height:calc(100dvh - 30px);padding:26px;overflow:auto}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#17130fac}.small-dialog{width:min(490px,100vw - 28px)}.dialog-heading{justify-content:space-between;align-items:start;gap:18px;margin-bottom:20px;display:flex}.dialog-heading .quiet{font-size:12px}.steps{border-bottom:1px solid var(--line);letter-spacing:.6px;color:#9d8f7b;gap:30px;margin:0 0 22px;padding:0 0 16px;font:10px ui-monospace,monospace;list-style:none;display:flex}.steps .active{color:var(--accent);font-weight:650}.upload-drop{background:#eae1d2;border:1px dashed #bba383;border-radius:4px;justify-content:space-between;align-items:center;gap:24px;padding:27px;display:flex}.upload-drop p{color:var(--muted);max-width:650px;margin:4px 0 0;font-size:12px}.upload-task,.resume-row,.document-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;padding:16px 0;font-size:12px;display:flex}.upload-task>div:first-child{flex:1;min-width:0}.upload-task strong,.resume-row strong,.document-row strong{overflow-wrap:anywhere;display:block}.upload-task small,.resume-row small,.document-row small{color:var(--muted);margin-top:6px;font-size:11px;display:block}.upload-task progress{height:6px}.upload-task button,.resume-row button,.document-row button{min-height:35px;padding:7px 11px;font-size:11px}.review-toolbar{justify-content:space-between;gap:25px;display:flex}.issue-fields{grid-template-columns:1.2fr .8fr 1fr 1fr;align-items:end;gap:12px;display:grid}.issue-fields label{margin:5px 0 12px;font-size:10px}.issue-fields>button{grid-column:1/-1;justify-self:start;margin-bottom:16px}.bulk-tools{border-top:1px solid var(--line);margin-bottom:18px;padding-top:13px}.bulk-tools summary{cursor:pointer;min-height:32px;font-size:12px}.bulk-grid{grid-template-columns:1fr 1fr;gap:30px;margin-top:14px;display:grid}.series-fields{gap:10px;display:flex}.series-fields label{flex:1;min-width:0}.mapping-wrap table{min-width:960px}.mapping-wrap td{min-width:85px;padding:10px 8px}.mapping-wrap td:nth-child(2){min-width:160px;max-width:220px}.mapping-wrap td:nth-child(3){width:120px}.mapping-wrap td:nth-child(4){min-width:190px}.mapping-wrap td:last-child{min-width:185px}.mapping-wrap th{padding:10px 8px}.mapping-wrap input,.mapping-wrap select{min-height:37px;margin:0;padding:7px;font-size:12px}.mapping-wrap .source-name{color:var(--muted);overflow-wrap:anywhere;font-size:10px;display:block}.mapping-wrap .map-state{color:#8c441d;margin-top:6px;font:10px ui-monospace,monospace;display:block}.mapping-wrap tr.invalid{background:#fff0e7}.mapping-wrap tr.excluded{opacity:.5}.apply-bar{justify-content:space-between;align-items:center;gap:20px;margin-top:20px;display:flex}.apply-bar p{color:#765337;max-width:650px;margin:0;font-size:12px}.viewer{width:calc(100vw - 30px);max-width:1700px;padding:20px}.viewer-heading{justify-content:space-between;align-items:start;gap:20px;display:flex}.viewer h2{font-size:23px}.viewer-tools{border-top:1px solid var(--line);align-items:center;gap:10px;padding:12px 0;display:flex}.viewer-tools label{align-items:center;gap:10px;max-width:420px;margin:0;font-size:11px;display:flex}.viewer-tools select{min-width:160px;max-width:260px;margin:0}.viewer-tools button{min-height:35px;padding:7px 12px}.viewer-hint{color:var(--muted);margin-left:auto;font-size:11px}#zoomValue{text-align:center;min-width:42px;font:11px ui-monospace,monospace}.viewer-panes{gap:14px;display:flex}.viewer-panes>section{flex:1;min-width:0}.pane-caption,.compare-select{color:#7e674a;align-items:center;height:40px;margin:0;font:11px/1.4 ui-monospace,monospace;display:flex}.compare-select{gap:10px}.compare-select select{height:31px;min-height:31px;margin:0;padding:4px 8px}.pdf-scroll{cursor:grab;touch-action:pan-x pan-y;background:#d5ccbd;border:1px solid #c4b598;height:57dvh;min-height:280px;overflow:auto}.pdf-scroll.dragging{cursor:grabbing}.pdf-scroll canvas{background:#fff;max-width:none;margin:12px auto;display:block;box-shadow:0 2px 8px #1a100f25}.viewer-footer{justify-content:space-between;align-items:center;gap:20px;padding-top:15px;display:flex}.viewer-footer p{color:var(--muted);max-width:650px;margin:0;font-size:11px}#savedTakeoffs{margin-top:16px;font-size:12px}#savedTakeoffs summary{cursor:pointer;min-height:34px}#savedTakeoffList a{margin:7px 0;display:block}.capture-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:17px;display:grid}.capture-card{border:1px solid var(--line);background:#fffdf8;border-radius:4px;padding:19px}.capture-card img{object-fit:contain;background:#e9e0d3;width:100%;height:120px}.capture-card h3{margin:12px 0;font-size:15px}.capture-card p{color:var(--muted);font-size:11px}.capture-choice{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:14px 0;font-size:12px;display:flex}[hidden]{display:none!important}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width>=1600px){main{padding:38px 50px}.workspace{grid-template-columns:275px minmax(0,1fr)}}@media (width<=1100px){.topbar{gap:28px;padding:0 20px}.workspace{grid-template-columns:220px minmax(0,1fr)}main{padding:26px 22px}.project-heading,.section-tools{flex-direction:column;align-items:start;gap:17px}.project-heading .actions,.filters{width:100%}.filters label{flex:1;min-width:0}.filters input{max-width:none}.issue-fields{grid-template-columns:1fr 1fr}.viewer-heading{flex-direction:column;gap:5px}.viewer-hint{display:none}}@media (width<=650px){.topbar{flex-wrap:wrap;gap:0 16px;height:auto;min-height:100px;padding:17px 16px 0}.brand{font-size:17px}.brand svg{width:30px}.topbar nav{order:2;gap:24px;width:100%;height:40px;margin-top:10px}.account-name{max-width:110px;font-size:9px}.workspace{flex-direction:column;display:flex}.project-sidebar{border-right:0;border-bottom:1px solid var(--line);gap:10px;padding:18px 16px}.sidebar-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.sidebar-heading .eyebrow{display:none}.sidebar-heading h2{margin:0;font-size:21px}.sidebar-heading button{width:auto;margin:0}.project-list{flex-direction:row;min-height:0;max-height:115px;overflow-x:auto}.project-row{min-width:180px;max-width:230px;padding:9px}.project-row strong{font-size:12px}.search-label input{min-height:36px}.storage{margin-top:0;padding-top:11px}.storage>div{font-size:10px}.storage small{display:none}main{padding:25px 16px}.project-heading h1{font-size:28px}.project-heading .actions{flex-wrap:wrap}.project-heading .actions button{flex:1;padding:9px;font-size:11px}.section-tools{gap:15px}.filters{flex-wrap:wrap}.filters label{min-width:115px}.filters button{width:100%}.table-wrap table{min-width:630px}.empty-project{margin:25px 0}.empty-project h1{font-size:40px}.plan-symbol{width:150px;margin-bottom:18px}.auth{margin:25px 15px;padding:23px}.auth h1{font-size:28px}dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:19px 16px}.dialog-heading h2{font-size:23px}.steps{gap:15px;font-size:8px}.upload-drop{padding:20px;display:block}.upload-drop button{width:100%;margin-top:14px}.upload-task,.resume-row,.document-row{flex-wrap:wrap;align-items:start}.issue-fields,.bulk-grid,.review-toolbar{display:block}.review-toolbar button{margin-bottom:14px}.apply-bar{display:block}.apply-bar button{width:100%;margin-top:12px}.viewer .actions{gap:6px}.viewer .actions button,.viewer .actions a{padding:7px 9px;font-size:10px}.viewer-tools{flex-wrap:wrap}.viewer-tools label{width:100%;max-width:none}.viewer-tools label select{flex:1;max-width:none}.viewer-panes{flex-direction:column}.pdf-scroll{height:48dvh;min-height:230px}.viewer-footer{flex-direction:column;align-items:stretch}.capture-grid{display:block}.capture-card{margin-bottom:14px}.batch-row{flex-direction:column;gap:5px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}.archive-toggle{align-items:center;gap:8px;margin:0;font-size:10px;display:flex}.archive-toggle input{margin:0}.mapping-wrap{max-height:48dvh}.mapping-wrap th{z-index:1;position:sticky;top:0}.apply-bar{border-top:1px solid var(--line);background:#f9f6ef;padding:16px 0 8px;position:sticky;bottom:-26px}@media (width>=651px){.project-sidebar{height:calc(100dvh - 78px);position:sticky;top:0}.project-list{flex:1;min-height:0;overflow:auto}.table-wrap:not(.mapping-wrap){min-height:160px;max-height:calc(100dvh - 370px)}.table-wrap th{z-index:1;position:sticky;top:0}}.sr-only{top:0;left:0}.workspace-links{flex-wrap:wrap;gap:8px;margin-top:9px;display:flex}.workspace-links button{min-height:30px;padding:5px 8px;font-size:10px}.company-dialog{max-width:850px}.company-dialog code{overflow-wrap:anywhere;background:#eae1d4;margin:12px 0;padding:14px;font-size:16px;display:block}.company-member{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:13px 0;font-size:12px;display:flex}.company-member span{overflow-wrap:anywhere;flex:1}.company-member select{width:130px;margin:0}.project-tabs a{color:#8c7e6b;border-bottom:3px solid #0000;align-items:center;padding:18px 0 14px;font-size:12px;font-weight:650;text-decoration:none;display:flex}.project-tabs a[aria-current]{color:#302820;border-bottom-color:var(--accent)}.estimate-page{max-width:1500px;margin:auto;padding:32px}.estimate-page .project-heading #workspaceTools{min-width:250px}.estimate-page .project-heading .muted{margin:8px 0 0}.estimate-columns{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:25px;display:grid}.estimate-editor,.estimate-summary{flex-direction:column;gap:22px;min-width:0;display:flex}.estimate-summary{position:sticky;top:20px}.estimate-editor .panel,.estimate-summary .panel{padding:23px}.takeoff-choice{border-top:1px solid var(--line);padding-top:16px;font-size:13px}.takeoff-choice select{max-width:100%;font-size:12px}.price-total{letter-spacing:-1.3px;overflow-wrap:anywhere;font-size:38px;font-weight:800}.price-breakdown{margin:18px 0;font-size:12px}.price-breakdown>div{justify-content:space-between;gap:15px;margin:12px 0;display:flex}.price-breakdown dd{white-space:nowrap;margin:0;font-weight:700}.internal-summary{border-top:1px solid var(--line);margin-top:20px;padding-top:17px}.estimate-summary button{width:100%;margin-top:10px}.field-pair{grid-template-columns:1fr 1fr;gap:20px;display:grid}.allowance-row{border:1px solid var(--line);background:#eee7da;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px;margin:16px 0;padding:17px;display:grid}.allowance-row label{margin:6px 0 11px;font-size:10px}.allowance-row label:first-child{grid-column:1/-1}.allowance-row button{justify-self:start}.check-label{align-items:flex-start;gap:10px;font-size:12px;font-weight:400;display:flex}.check-label input{flex:none;margin-top:3px}.review-warnings{color:#94401e;padding-left:19px;font-size:11px}.review-warnings li{margin:8px 0}.issued-section{margin-top:30px}.issued-row{border-top:1px solid var(--line);align-items:center;gap:12px;padding:20px 0;display:flex}.issued-row>div{flex:1;min-width:0}.issued-row strong{overflow-wrap:anywhere;font-size:13px}.issued-row small{color:var(--muted);margin-top:6px;font-size:11px;display:block}.proposal-dialog{max-width:900px}.proposal-company,.proposal-text{white-space:pre-wrap;overflow-wrap:anywhere}#proposalContent{border:1px solid var(--line);background:#fffdf9;margin-bottom:20px;padding:30px}#proposalContent h1{font-size:28px}#proposalContent h3{margin-top:25px}#proposalContent td:last-child{text-align:right;white-space:nowrap}#budgetRows select{min-width:140px}#budgetRows td{font-size:11px}.estimate-editor details>summary{cursor:pointer;font-weight:650}.company-dialog form{margin-top:20px}@media (width<=1050px){.estimate-columns{grid-template-columns:minmax(0,1fr) 300px}.estimate-page{padding:25px 20px}.estimate-editor .panel,.estimate-summary .panel{padding:18px}.estimate-summary{position:static}.price-total{font-size:32px}.project-tabs{gap:20px}.project-tabs a{font-size:11px}}@media (width<=760px){.estimate-columns{flex-direction:column;display:flex}.estimate-summary,.estimate-editor{width:100%}.estimate-page{padding:23px 16px}.estimate-page .project-heading #workspaceTools{width:100%;min-width:0}.field-pair{display:block}.issued-row{flex-wrap:wrap}.issued-row>div{flex-basis:100%}.company-member{flex-wrap:wrap}.company-member span{flex-basis:100%}.proposal-dialog,#proposalContent{padding:16px}.project-tabs{flex-wrap:wrap;gap:15px}.project-tabs button{font-size:12px}.project-tabs a{padding:12px 0}.allowance-row{padding:12px}}.alignment-tools{border:1px solid var(--line);background:#efe5d6;margin:4px 0 15px;padding:12px 15px}.alignment-tools p{margin:10px 0}.alignment-options{flex-wrap:wrap;align-items:center;gap:25px;display:flex}.alignment-options>label{margin:4px 0;font-size:11px}.alignment-options input[type=range]{width:150px;min-height:20px;margin-top:3px}.pdf-scroll{position:relative}.alignment-marker{color:#fff;pointer-events:none;background:#b63617;border:2px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:23px;height:23px;font:700 11px ui-monospace,monospace;display:flex;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 0 2px #b63617}.alignment-tools .actions button{min-height:36px;font-size:11px}.upload-dialog{width:min(1600px,98vw);max-width:98vw}.review-navigation{flex-wrap:wrap;align-items:center;gap:16px;margin:16px 0;display:flex}.review-navigation label{min-width:240px;max-width:460px}.review-navigation span{color:#635d57;flex:1;font-size:13px}.review-workspace{grid-template-columns:minmax(440px,1.1fr) minmax(360px,1fr);align-items:start;gap:16px;display:grid}.review-workspace .mapping-wrap{max-height:62vh;margin:0;overflow:auto}.review-workspace table{min-width:900px}.review-workspace .import-preview{background:#f4f1ec;border:1px solid #d8d0c7;border-radius:12px;min-width:0;padding:12px;position:sticky;top:0}.preview-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.preview-heading strong{overflow-wrap:anywhere;font-size:13px}.preview-heading>div{flex-shrink:0;align-items:center;gap:8px;display:flex}.preview-actions{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}#reviewScroll{touch-action:pan-x pan-y;height:45vh;min-height:260px}.review-current{background:#fff4e7}.review-current td:first-child{box-shadow:inset 4px 0 #ad431d}.scale-review-note{color:#6d4a19;background:#fff4df;border-radius:8px;padding:10px 14px;font-size:13px}.apply-bar{z-index:3;background:#fff;border-top:1px solid #ddd;padding:16px 0;position:sticky;bottom:0}.apply-bar p{max-width:75%;font-size:13px}@media (width<=900px){.review-workspace{grid-template-columns:1fr}.review-workspace .mapping-wrap{max-height:32vh}.review-workspace .import-preview{position:static}#reviewScroll{height:32vh;min-height:200px}.preview-heading{flex-wrap:wrap}.apply-bar p{max-width:65%}}.spec-documents{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin:20px 0;display:grid}.spec-document,.spec-topic,.spec-conflict{background:#fff;border:1px solid #d8d0c7;border-radius:10px;margin:12px 0;padding:16px}.spec-document strong{overflow-wrap:anywhere}.spec-conflict{background:#fff2db;border-color:#c08025}.spec-reference{border-top:1px solid #e7e1da;padding:12px 0}.spec-reference p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.65}.spec-topic summary{cursor:pointer;font-weight:650}.review-setup{border-bottom:1px solid #ded6cb;padding:10px 0}.review-setup>summary{cursor:pointer;font-size:13px;font-weight:650}.review-setup .issue-fields{margin-top:12px}.review-toolbar{margin:0!important}.review-toolbar h3{margin:8px 0}.review-toolbar p{margin:6px 0 12px}.review-navigation,.scale-review-note{margin:8px 0}.compact-mapping table{table-layout:fixed;width:100%;min-width:0}.compact-mapping th:nth-child(5),.compact-mapping td:nth-child(5),.compact-mapping th:nth-child(6),.compact-mapping td:nth-child(6){display:none}.compact-mapping th:first-child{width:35px}.compact-mapping th:nth-child(2){width:110px}.compact-mapping th:nth-child(3){width:125px}.compact-mapping th:nth-child(7){width:150px}.compact-mapping input{width:100%;min-width:0}.compact-mapping td{padding:10px 8px}.compact-mapping .source-name{overflow-wrap:anywhere}.review-workspace .mapping-wrap{max-height:52vh}#reviewScroll{height:41vh}.upload-dialog .dialog-heading{margin-bottom:8px}.upload-dialog .steps{margin:12px 0;padding-bottom:12px}@media (width<=900px){.review-workspace .mapping-wrap{max-height:28vh}.compact-mapping table{min-width:620px}#reviewScroll{height:28vh}.review-navigation label{width:100%;min-width:0}.review-navigation span{flex-basis:100%}}.upload-dialog[open]{flex-direction:column;height:94dvh;max-height:94dvh;padding:20px 26px;display:flex;overflow:hidden}.upload-dialog>.dialog-heading,.upload-dialog>.steps,.upload-dialog>.apply-bar,.upload-dialog>#uploadError{flex-shrink:0}.upload-dialog>#reviewStage,.upload-dialog>#uploadStage{flex:1;min-height:0;overflow:auto}.upload-dialog>.apply-bar{margin-top:10px;padding:12px 0 0;position:static;bottom:auto}.upload-dialog>#uploadError:empty{display:none}.upload-dialog .review-workspace{margin-bottom:12px}@media (width<=650px){.upload-dialog[open]{height:98dvh;max-height:98dvh;padding:14px}.upload-dialog>.apply-bar{align-items:center;gap:8px}.upload-dialog>.apply-bar p{font-size:11px;line-height:1.3}.upload-dialog>.apply-bar button{white-space:nowrap;padding:8px;font-size:11px}}.review-loupe{grid-template-columns:minmax(90px,145px) minmax(0,1fr);align-items:start;gap:12px;display:grid}.overview-column{min-width:0}.overview-column .eyebrow{font-size:9px}.review-picker{touch-action:none;background:#d8d0c4;width:100%;min-height:75px;margin-top:8px;line-height:0;position:relative}.review-picker canvas{width:100%;height:auto;display:block}.review-selection{cursor:move;touch-action:none;background:#e7782522;border-radius:0;min-width:0;min-height:0;margin:0;padding:0;position:absolute;box-shadow:0 0 0 1px #fff;border:2px solid #bd4b18!important}.review-selection:focus-visible{outline-offset:3px;outline:3px solid #161616}.overview-column small{color:#756957;margin-top:10px;font-size:10px;line-height:1.5;display:block}#reviewScroll.review-detail{cursor:grab;touch-action:none;background:#fff;border:1px solid #cbbfae;height:34vh;min-height:200px;max-height:390px;display:block;overflow:hidden}#reviewScroll.review-detail canvas{width:100%;height:100%;display:block}.preview-actions{gap:5px}.preview-actions button{min-height:34px;padding:7px 9px;font-size:11px}#reviewPreviewStatus{min-height:36px;margin:8px 0}@media (width<=900px){.review-loupe{grid-template-columns:90px minmax(0,1fr);gap:8px}#reviewScroll.review-detail{height:240px;min-height:180px}#reviewPreviewStatus{font-size:11px}.preview-actions button{font-size:10px}}.reference-view .project-sidebar,.reference-view #uploadPlans,.reference-view #projectSettings,.reference-view #emptyUpload,.reference-view #newProject,.reference-view #emptyNew,.reference-view #startTakeoff,.reference-view .reference-edit-control,.reference-view #projectEstimateLink,.reference-view #attachCapture,.reference-view #specUpload{display:none!important}.reference-view .workspace{grid-template-columns:minmax(0,1fr)}.reference-view .project-heading h1{font-size:28px}.reference-view .topbar{height:60px}.viewer .pdf-scroll{position:relative}.viewer .pdf-scroll:has(canvas[aria-busy=true]):before{content:"Loading this sheet…";z-index:2;color:#5c472e;background:#fffaf0;border:1px solid #d8c6ad;border-radius:4px;padding:8px 12px;font-size:12px;position:absolute;top:14px;left:14px}.sheet-table .open-takeoff{white-space:nowrap;padding:10px 12px;font-size:12px}.sheet-table .open-sheet{font-size:12px}.sheet-table td:last-child{min-width:280px}.opening-takeoff-dialog{color:#292522;background:#fffdf9;border:1px solid #d6c9b8;border-top:4px solid #aa481e;border-radius:5px;width:min(600px,94vw);padding:32px}.opening-takeoff-dialog::backdrop{background:#171411aa}.opening-takeoff-dialog h2{font-size:24px}.import-complete{border:1px solid #d3b28b;border-left:4px solid var(--accent);background:#fffaf2;border-radius:5px;grid-template-columns:minmax(220px,1fr) minmax(200px,.8fr) auto;align-items:center;gap:22px;margin:22px 0;padding:22px;display:grid}.import-complete h2{margin:5px 0 8px;font-size:21px}.import-complete p:not(.eyebrow){max-width:650px;margin:0;font-size:12px;line-height:1.6}.import-complete label{margin:0;font-size:11px}.import-complete select{max-width:100%;font-size:12px}.import-complete .actions{flex-direction:column;align-items:stretch}.import-complete button{white-space:nowrap}.viewer-loading{align-items:center;gap:14px;min-height:28px;display:flex}.viewer-loading p{color:var(--muted);margin:10px 0;font-size:12px}.viewer-loading button{min-height:32px;padding:5px 10px;font-size:12px}#sheetTable .open-takeoff{white-space:nowrap;padding:10px 12px;font-size:12px}#sheetTable td:last-child{min-width:280px}@media (width<=1100px){.import-complete{grid-template-columns:1fr 1fr}.import-complete>div:first-child{grid-column:1/-1}.import-complete .actions{flex-direction:row}}@media (width<=650px){.import-complete{flex-direction:column;align-items:stretch;gap:14px;padding:17px;display:flex}.import-complete .actions{flex-direction:column}.import-complete h2{font-size:19px}.viewer-loading{flex-direction:column;align-items:start;gap:3px}}#sheetRows .sheet-filter-empty{text-align:center;background:#fcfaf7;padding:32px 20px}#sheetRows .sheet-filter-empty strong{color:#39332d;font-size:17px;display:block}#sheetRows .sheet-filter-empty p{color:#756b60;margin:9px 0 15px;font-size:13px}#sheetRows .sheet-filter-empty button{margin:0}.project-back{min-height:44px;margin:0 0 20px}.project-index-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px;margin:26px 0;display:grid}.project-index-grid .project-row{background:var(--panel,#fff);border:1px solid var(--line);text-align:left;width:100%;max-width:none;min-height:100px;padding:20px}.project-index-grid .project-row strong{font-size:17px}.project-index-grid .project-row small{margin-top:8px;font-size:12px;display:block}.capture-project-actions{flex-wrap:wrap}#captureList{flex-direction:column;gap:12px;display:flex}.capture-sheet{border-radius:8px;grid-template-columns:60px 96px minmax(160px,1fr) auto;align-items:center;gap:16px;display:grid}.capture-sheet>img{object-fit:contain;width:96px;height:84px;margin:0}.capture-sheet:not(:has(>img)){grid-template-columns:44px minmax(160px,1fr) auto}.capture-sheet-number{border:1px solid var(--line);background:var(--soft,#efe7dd);overflow-wrap:anywhere;justify-content:center;align-items:center;min-height:44px;padding:4px;font-size:16px;font-weight:750;display:flex}.capture-sheet-info{min-width:0}.capture-sheet-info h3{overflow-wrap:anywhere;margin:0 0 7px;font-size:16px}.capture-sheet-info p{overflow-wrap:anywhere;margin:0}.capture-sheet-actions{grid-template-columns:repeat(2,minmax(100px,1fr));gap:7px;display:grid}.capture-sheet-actions button,.capture-sheet-actions a{min-height:40px;padding:8px 10px;font-size:11px}.capture-sheet-actions a{text-align:center}#captureDialog{width:min(940px,100vw - 24px);max-width:940px;max-height:calc(100dvh - 24px);padding:24px}#captureDialog[open]{flex-direction:column;display:flex}#captureDialog .dialog-heading{flex:none}#captureDialog .dialog-heading p{margin:6px 0 0}.capture-picker-body{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:25px;min-height:0;display:grid;overflow:auto}.capture-picker-body>section{min-width:0}.capture-picker-body h3{font-size:14px}.capture-picker-filters{grid-template-columns:1fr 150px;gap:12px;display:grid}.capture-picker-filters label{font-size:11px}.capture-picker-filters input,.capture-picker-filters select{min-height:42px;font-size:12px}.capture-picker-selection{flex-wrap:wrap;gap:10px;display:flex}.capture-picker-selection button{min-height:40px;font-size:11px}#availableCaptures{max-height:45dvh;margin-top:10px;overflow:auto}.capture-choice{cursor:pointer;justify-content:start;gap:10px;min-height:64px;padding:12px 3px}.capture-choice>input{flex:none;width:20px;height:20px;margin:0}.capture-choice>img{object-fit:contain;background:var(--soft,#eee);width:54px;height:46px}.capture-choice-text{overflow-wrap:anywhere;min-width:0}.capture-choice-text strong{font-size:12px}.capture-choice-text small{color:var(--muted);margin-top:5px;font-size:11px;display:block}.capture-item-error{color:#a33d23!important}.capture-order-preview{border-left:1px solid var(--line);padding-left:20px}#selectedCaptures{padding:0;list-style:none}.selected-capture-row{border-bottom:1px solid var(--line);grid-template-columns:1fr auto auto;align-items:center;gap:6px;padding:12px 0;font-size:12px;display:grid}.selected-capture-row>div{overflow-wrap:anywhere;min-width:0}.selected-capture-row small{color:var(--muted);margin-top:5px;font-size:10px;display:block}.selected-capture-row button{min-height:36px;padding:6px;font-size:10px}.capture-picker-footer{border-top:1px solid var(--line);flex:none;margin-top:14px;padding-top:14px}.capture-picker-footer .actions{justify-content:flex-end}.capture-picker-footer .error{min-height:1.4em;font-size:12px}@media (width<=1000px){:is(.capture-sheet,.capture-sheet:not(:has(>img))){grid-template-columns:54px 86px minmax(0,1fr)}.capture-sheet:not(:has(>img)){grid-template-columns:44px minmax(0,1fr)}.capture-sheet-actions{flex-wrap:wrap;grid-column:1/-1;display:flex}.capture-sheet-actions>a{margin-left:auto}.capture-project-actions{width:100%}}@media (width<=650px){#captureDialog{padding:18px 14px}.capture-picker-body{display:block}.capture-picker-filters{grid-template-columns:1fr 130px;gap:8px}#availableCaptures{max-height:30dvh}.capture-order-preview{border-left:0;border-top:1px solid var(--line);margin-top:20px;padding-left:0}.selected-capture-row{grid-template-columns:minmax(0,1fr) auto auto}.capture-picker-footer .actions{flex-wrap:wrap}.capture-picker-footer button{flex:1;min-height:44px}.capture-sheet{gap:11px;padding:15px}.capture-sheet-info h3{font-size:15px}.capture-sheet-actions button,.capture-sheet-actions a{flex:1;min-width:95px;min-height:42px}.capture-sheet-actions>a{margin-left:0}.capture-project-actions button{flex:1;min-width:130px;min-height:44px}.project-back{margin-bottom:14px}.project-index-grid{grid-template-columns:1fr}}.reference-view #headerAddScans{display:none!important}.project-estimates{border:1px solid #d7d1c7;border-radius:10px;margin-bottom:18px;padding:18px}.project-estimates a{margin:6px 10px 6px 0;display:inline-flex}.project-scan-inbox:empty{display:none}.scan-inbox-row{align-items:center;gap:10px;min-height:44px;display:flex}.scan-inbox-row input[type=checkbox]{flex:0 0 22px;width:22px;height:22px;min-height:22px;margin:0}.project-handoff{background:#faf8f4;border:1px solid #d9d2c6;border-radius:16px;width:min(620px,100vw - 32px);max-height:calc(100dvh - 32px);padding:24px;overflow:auto}.project-handoff label{margin:16px 0;display:block}.project-handoff select{width:100%;margin-top:6px;display:block}.project-handoff button,.project-handoff a{margin:8px 8px 8px 0}.projectTradeLabel{gap:4px;max-width:22rem;margin:10px 0;font-size:.9rem;display:grid}.projectTradeLabel select{width:100%;padding:8px}#additionalTradeOptions{max-width:34rem;font-size:.85rem}#additionalTradeOptions summary{cursor:pointer}#reviewTradeChoices{grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:5px;margin:8px 0;display:grid}#reviewTradeChoices label{align-items:center;gap:6px;display:flex}#reviewTradeChoices input{flex:none;width:18px;height:18px}#reviewTradeChoices fieldset{border:0;min-width:0;margin:0;padding:.3rem 0}#reviewTradeChoices legend{font-weight:650}#reviewTradeChoices [hidden]{display:none}.gradingDialog{width:min(62rem,96vw);max-height:92vh;color:inherit;background:#fff;border:1px solid #c9c4bd;border-radius:.6rem;padding:1rem;overflow:auto}.gradingDialog>header{justify-content:space-between;align-items:center;display:flex}.gradingDialog h2{margin:.3rem 0}.gradingDialog fieldset,.gradingDialog details{border:1px solid #c5c5c1;border-radius:.35rem;margin:.55rem 0;padding:.8rem}.gradingDialog label{vertical-align:top;gap:.2rem;margin:.3rem .65rem .3rem 0;font-size:.9rem;display:inline-grid}.gradingDialog [hidden]{display:none}.gradingDialog label:has(input[type=checkbox]){align-items:center;display:flex}.gradingDialog button{margin:.25rem}.gradingDialog strong{display:block}.gradingDialog section{overflow-x:auto}.missing-prices{border-block:1px solid #c8bcae;margin:.8rem 0;padding:.55rem 0}.missing-prices summary{cursor:pointer;font-weight:650}.missing-prices ul{margin:0;padding:0;list-style:none}.missing-prices li{overflow-wrap:anywhere;padding:.55rem 0}.missing-prices li+li{border-top:1px solid #dedbd6}.missing-prices li small{margin:.15rem 0 .3rem;display:block}.gradeMap,.gradingViewport{background:#faf9f6;border:1px solid #aaa;max-height:60vh;overflow:auto}.gradeMap svg{max-width:none;display:block}.gradingViewport svg{touch-action:pan-y;max-width:none;display:block}.gradingDialog td,.gradingDialog th{text-align:left;padding:.35rem}.reviewTradeSearch{gap:.25rem;margin-top:.5rem;display:grid}dialog.bidPackages{width:min(580px,94vw);max-height:90dvh;overflow:auto}.bidPackages section,.bidPackages fieldset{gap:10px;display:grid}.bidPackages fieldset{border:1px solid #d8cfc2;min-width:0;padding:12px}.bidPackages label{gap:3px;display:grid}.bidPackages input[type=checkbox]{justify-self:start}.bid-intake{max-height:90vh;overflow:auto}.bid-intake .upload-drop{flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0;padding:14px;display:flex}.bid-intake .upload-drop span{flex-basis:100%}.bid-intake details{border-bottom:1px solid #d8dfda;padding:8px 0}.bid-intake summary{cursor:pointer;overflow-wrap:anywhere}.bid-intake details>select{max-width:100%;margin-top:8px}.bid-intake details li{overflow-wrap:anywhere}.bid-intake label{overflow-wrap:anywhere;gap:4px;margin:12px 0;display:grid}.bid-intake label select{width:100%;min-width:0}.bid-intake [role=status]:empty,#intakeReceipt:empty{display:none}.bid-intake .actions{margin:12px 0}.bid-intake .bid-intake-files{overscroll-behavior:contain;max-height:clamp(10rem,40dvh,30rem);scroll-padding-block:8px;overflow-y:auto}.bid-intake .actions{flex-wrap:wrap}.bid-intake .bid-intake-filters{flex-wrap:wrap;gap:4px;margin:0 0 8px;display:flex}.bid-intake-filters button{background:0 0;border-color:#0000;min-height:38px;padding:6px 12px}.bid-intake-filters button[aria-pressed=true]{color:#173d34;background:#e6efe9;border-color:#afc4b8}.bid-intake .bid-intake-done{color:#345b4b;margin:8px 0}.bid-file-progress{color:#173d34;font-variant-numeric:tabular-nums;gap:7px;margin:16px 0 8px;display:grid}.bid-file-progress progress{appearance:none;accent-color:#346951;background:#dce6df;border:0;border-radius:5px;width:100%;height:10px;display:block;overflow:hidden}.bid-file-progress progress::-webkit-progress-bar{background:#dce6df}.bid-file-progress progress::-webkit-progress-value{background:#346951}.bid-file-progress progress::-moz-progress-bar{background:#346951}.petroleum-split>summary{cursor:pointer;font-weight:700}.petroleum-split fieldset{border:0;min-width:0;margin:0;padding:0}.petroleum-split label{gap:.25rem;margin:.45rem 0;display:grid}.petroleum-split input,.petroleum-split select{width:100%;min-width:0}.petroleum-scope-row,.petroleum-recipients{align-items:end;gap:.6rem;display:grid}.petroleum-scope-row{border-bottom:1px solid #ddd;grid-template-columns:1.2fr 1fr 1.4fr auto;padding:.35rem 0}.petroleum-recipients{grid-template-columns:repeat(2,minmax(0,1fr))}.petroleum-scope-row button{align-self:center}@media (width<=700px){.petroleum-scope-row,.petroleum-recipients{grid-template-columns:1fr;gap:.2rem}.petroleum-scope-row button{justify-self:start}}.bidPackages .packageComparison{border-collapse:collapse;table-layout:fixed;width:100%;min-width:0}.packageComparison caption{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.packageComparison :is(th,td){text-align:right;overflow-wrap:anywhere;padding:7px 5px;font-size:13px}.packageComparison th:first-child{text-align:left;width:46%}.packageComparison tbody th{text-transform:none;letter-spacing:normal}.packageComparison small{margin-top:3px;font-size:12px;font-weight:400;display:block}.reference-desk-source #sheetViewer[open]{box-sizing:border-box;border:0;border-radius:0;flex-direction:column;width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;padding:8px 14px;display:flex;inset:0;overflow:auto}.reference-desk-source #sheetViewer .viewer-heading h2{margin:2px 0 4px}.reference-desk-source #sheetViewer .viewer-tools{flex-wrap:wrap;padding:5px 0}.reference-desk-source #viewerPanes{flex:1 0 200px;min-height:0}.reference-desk-source #viewerPanes>section:not([hidden]){flex-direction:column;min-height:0;display:flex}.reference-desk-source #viewerPanes .pdf-scroll{flex:1 1 0;height:0;min-height:180px}.reference-desk-source .viewer-footer{padding-top:3px}.viewer .pdf-scroll .reference-markup-layer{box-shadow:none;z-index:4;pointer-events:none;touch-action:none;background:0 0;margin:0;position:absolute}.viewer .reference-notes:has(.workspaceMarkupPanel:not([hidden])){border-bottom:1px solid var(--line);background:#f8f7f3;flex:none;max-height:32vh;padding:8px 12px;overflow:auto}.reference-notes .workspaceMarkupPanel:not([hidden]){flex-wrap:wrap;align-items:center;gap:8px 16px;display:flex}.reference-notes .workspaceMarkupHeading,.reference-notes .workspaceMarkupTools:not([hidden]){flex-wrap:wrap;align-items:center;gap:6px;display:flex}.reference-notes .workspaceMarkupPanel p{margin:0}.reference-notes .workspaceMarkupPanel textarea{height:44px;min-height:44px}.reference-notes .workspaceMarkupPanel input[type=checkbox]{width:auto;min-height:0}.reference-notes button[aria-pressed=true]{color:#fff;background:var(--teal,#19514b)}
