.workspace-heading{display:flex;justify-content:space-between;align-items:flex-end;padding:42px 0 32px}.workspace-heading h1{font-size:50px}.workspace-heading>p{font-size:12px;color:var(--muted)}.workspace-tabs{display:flex;gap:32px;border-bottom:1px solid var(--line);overflow-x:auto}.workspace-tabs button{font-size:13px;padding:16px 3px;min-height:48px;white-space:nowrap;border-bottom:3px solid transparent}.workspace-tabs button[aria-selected=true]{border-color:var(--ink);font-weight:600}#workspace-alert{min-height:34px;padding-top:10px;color:#735624;font-size:13px}.ws-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:14px 0 24px}.ws-heading h2{font-size:24px}.ws-heading p,.hint{font-size:12px;color:var(--muted)}.ws-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.ws-actions .primary{width:auto}.ws-actions button{min-height:44px}.estimate-pickers{display:grid;grid-template-columns:1fr 1fr;gap:18px}.estimate-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px;align-items:start}.ws-card{background:#fffefa;border:1px solid var(--line);padding:25px;margin-bottom:22px}.ws-card h3{font-size:15px;font-weight:500;margin:0 0 20px}.ws-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 18px}.ws-grid label{min-width:0;font-size:11px}.ws-grid input,.ws-grid select{font-size:13px;padding:10px;min-height:42px}.ws-grid .wide{grid-column:1/-1}.ws-grid textarea{font-size:13px}.estimate-summary{background:var(--ink);color:var(--paper);padding:28px;position:sticky;top:18px}.estimate-summary .eyebrow{color:var(--sand)}.estimate-summary .grand-total{font-size:34px;letter-spacing:-1px;margin:10px 0}.estimate-summary dl{font-size:12px}.estimate-summary dl>div{display:flex;justify-content:space-between;gap:15px;margin:15px 0}.estimate-summary dd{margin:0}.estimate-summary .summary-divider{border-top:1px solid #ffffff30;padding-top:17px}.estimate-summary .pending{font-size:12px;background:#d2b993;color:var(--ink);padding:12px;margin:20px 0}.estimate-summary .small-print{font-size:11px;color:#d1dacf;margin-top:22px}.estimate-summary .primary{background:var(--sand);color:var(--ink);margin-top:16px}.estimate-summary .secondary{color:var(--paper);margin-top:12px;width:100%}.line-group{border:1px solid var(--line);background:#fffefa;margin-bottom:18px}.line-group>summary{padding:16px 20px;font-weight:500;cursor:pointer;display:flex;justify-content:space-between;border-bottom:1px solid var(--line)}.line-table{width:100%;border-collapse:collapse;font-size:12px}.line-table th{text-align:left;font-size:9px;letter-spacing:.6px;font-weight:500;color:var(--muted);padding:12px;border-bottom:1px solid var(--line)}.line-table td{padding:12px;border-bottom:1px solid #e9ece3;vertical-align:top}.line-table tr:last-child td{border-bottom:0}.line-table td:first-child{width:36%}.line-table label{font-size:11px;margin:0}.line-table select{font-size:11px;min-height:36px;margin-top:7px;padding:7px;max-width:240px}.line-table input[type=number]{font-size:12px;width:88px;min-height:36px;margin:0;padding:7px}.line-table .checkbox{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--muted);margin-top:7px}.checkbox input{display:inline-block;width:auto;min-height:0;margin:0}.line-total{white-space:nowrap}.catalog-rate{color:var(--muted);white-space:nowrap}.pending-rate{color:#9a5c16}.ws-split{display:grid;grid-template-columns:.75fr 1.25fr;gap:24px}.customer-list{max-height:650px;overflow:auto}.customer-row{width:100%;text-align:left;padding:18px 0;border-bottom:1px solid var(--line)}.customer-row strong{display:block;font-weight:500;font-size:16px}.customer-row span{display:block;font-size:11px;color:var(--muted)}.catalog-table td:first-child{width:auto}.table-scroll{overflow-x:auto}.catalog-table input{min-width:100px;font-size:12px;margin:0}.catalog-table .option-label{min-width:180px}.catalog-table button{min-height:42px}.price-history{font-size:11px;color:var(--muted);max-height:200px;overflow:auto}.voice-box{border-top:1px solid var(--line);padding-top:18px;margin-top:20px}.voice-box .checkbox{font-size:12px;margin:16px 0}.voice-status{font-size:12px;color:var(--muted);margin-top:10px}.voice-status.recording{color:#b02d25;font-weight:600}.voice-box audio{width:100%;max-width:400px;margin:14px 0;display:block}.clip-row{border-top:1px solid var(--line);padding:12px 0}.clip-row p{font-size:11px;color:var(--muted)}.version-list{font-size:12px;max-height:220px;overflow:auto}.version-list>div{border-bottom:1px solid var(--line);padding:12px 0}.version-list button{border-bottom:1px solid #bdc7be;font-size:11px}.estimate-meta{font-size:11px;color:var(--muted);margin:8px 0 20px}.workspace-empty{padding:30px 0;color:var(--muted);font-size:13px}#pane-inquiries .page-heading{padding-top:10px}.print-only{display:none}@media(max-width:1100px){.estimate-layout{grid-template-columns:minmax(0,1fr) 240px}.estimate-summary{padding:22px}.line-table input[type=number]{width:72px}.ws-grid{grid-template-columns:1fr 1fr}}@media(max-width:800px){.workspace-heading{display:block;padding:30px 0 22px}.workspace-heading h1{font-size:38px}.workspace-heading>p{margin-top:15px}.workspace-tabs{gap:23px}.ws-heading{align-items:flex-start;flex-direction:column}.estimate-pickers,.estimate-layout,.ws-split{grid-template-columns:1fr}.estimate-summary{position:static;grid-row:1}.ws-card{padding:19px}.line-table{min-width:610px}.line-group>summary{font-size:12px}.estimate-summary .grand-total{font-size:36px}.customer-list{max-height:300px}}@media print{.topbar,.workspace-heading,.workspace-tabs,.ws-actions,.estimate-pickers,.voice-box,.version-list,#workspace-alert,footer,#owner-nav{display:none!important}.estimate-layout{display:block}.estimate-summary{background:white;color:black;position:static;border:1px solid #bbb;margin-bottom:20px}.estimate-summary .primary,.estimate-summary .secondary{display:none}.estimate-summary .small-print{color:black}.line-table{min-width:0}.line-table input,.line-table select{border:0;padding:0}.print-only{display:block}.ws-card,.line-group{break-inside:avoid}body{background:white}main{padding:0}}

/* Projects: compact working pages, with the pricing sheet as the main surface. */
body:has(#workspace:not([hidden])) main{max-width:1580px;padding:0 3vw}
body:has(#workspace:not([hidden])) .topbar{min-height:72px;padding:15px 3vw}
.workspace-heading{padding:22px 0 16px;align-items:center}
.workspace-heading .eyebrow{display:none}.workspace-heading h1{font-size:24px;letter-spacing:-.6px}.workspace-heading>p{font-size:11px;margin:0}
.workspace-tabs{margin-bottom:0;padding-bottom:0;gap:30px}.workspace-tabs button{min-height:42px;padding:9px 0;font-size:13px}
#workspace-alert{min-height:20px;margin:8px 0;font-size:12px;color:#735624}
.ws-heading{margin:20px 0}.ws-heading h2{font-size:32px;letter-spacing:-1px}.ws-heading p{font-size:13px;margin-top:5px;color:var(--muted)}
.ws-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px}.ws-actions .primary{width:auto;min-height:40px;padding:9px 18px;font-size:12px}.ws-actions .secondary{font-size:12px}
.project-list-toolbar{display:flex;align-items:center;gap:15px;margin:22px 0 16px}.project-list-toolbar input{max-width:450px;margin:0;min-height:38px;padding:9px 12px;font-size:13px}.project-list-toolbar select{width:180px;margin:0;min-height:38px;padding:9px 12px;font-size:12px}.project-list-toolbar>p{margin-left:auto}
.project-list-table{border:1px solid var(--line);background:#fffefa;margin-bottom:35px}.project-list-head,.project-row{display:grid;grid-template-columns:minmax(200px,1fr) 105px 160px 110px 24px;align-items:center;gap:24px;padding:14px 22px}
.project-list-head{color:var(--muted);font-size:10px;background:#e9ece4;border-bottom:1px solid var(--line)}.project-row{width:100%;text-align:left;border-bottom:1px solid var(--line);transition:background .15s}.project-row:last-child{border-bottom:0}.project-row:hover{background:#eef1e9}.project-row strong{font-size:14px;font-weight:500;display:block}.project-row>div>span{display:block;font-size:12px;color:var(--muted);margin-top:2px}.project-row .status-tag{justify-self:start}.project-date{font-size:11px;color:var(--muted)}.row-arrow{font-size:20px}.project-price{text-align:right}.project-price .pending-rate{color:#925c19}.project-empty{padding:55px 25px;text-align:center}.project-empty h3{font-size:25px;font-weight:400;margin:0 0 8px;letter-spacing:-.5px}.project-empty .primary{width:auto;margin:22px auto 0;min-height:40px;font-size:12px}
.project-toolbar{display:flex;align-items:center;gap:22px;position:sticky;top:0;background:var(--paper);z-index:3;padding:12px 0;border-bottom:1px solid var(--line)}.back-projects{font-size:12px;white-space:nowrap;padding:10px 0}.project-title{min-width:0;flex:1}.project-title h2{font-size:24px;overflow-wrap:anywhere}.project-title p{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.project-title h2:focus{outline:none}.project-switch{margin:0;width:185px;flex-shrink:0;font-size:0}.project-switch select{min-height:36px;padding:7px 9px;font-size:12px;margin:0}.project-toolbar>.primary{width:auto;min-width:113px;min-height:38px;padding:9px 16px;font-size:12px;justify-content:center;white-space:nowrap}
.estimate-meta{margin:8px 0 12px;font-size:10px}.project-quick{display:grid;grid-template-columns:180px 140px 140px minmax(0,1fr);align-items:center;gap:20px;margin-bottom:16px}.project-quick label{font-size:11px;margin:0}.project-quick input,.project-quick select{margin-top:4px;min-height:34px;padding:5px 9px;font-size:13px}.project-quick .hint{max-width:380px;margin-left:auto;font-size:11px;line-height:1.5}
.project-totals{display:flex;align-items:center;background:#e5eadd;border:1px solid #cbd4c4;padding:13px 22px;gap:32px}.project-totals>div{min-width:190px}.project-totals p,.project-totals dt{font-size:10px;color:var(--muted)}.project-totals .grand-total{font-size:27px;letter-spacing:-.8px;font-weight:500}.project-totals dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));flex:1;gap:22px;margin:0}.project-totals dl>div{border-left:1px solid #cad3c4;padding-left:24px}.project-totals dd{margin:2px 0 0;font-size:18px;font-weight:500;font-variant-numeric:tabular-nums}.project-warnings{font-size:11px;color:#85591d}.project-warnings .pending{padding:6px 0 0;margin:0}.pricing-table-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:18px 0 9px}.pricing-table-heading h3{font-size:13px;font-weight:500;margin:0}.pricing-table-heading .hint{font-size:10px;margin:0}
.pricing-sheet{border:1px solid #c7cec1;background:#fffefa;margin-bottom:15px}.compact-pricing-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}.compact-pricing-table th,.compact-pricing-table td{border-bottom:1px solid #e0e4db;padding:3px 8px;vertical-align:middle;line-height:1.3}.compact-pricing-table thead th{text-align:left;font-size:10px;font-weight:500;color:var(--muted);padding:9px 8px;background:#f1f3ec}.compact-pricing-table thead th:first-child{width:36px}.compact-pricing-table thead th:nth-child(2){width:24%}.compact-pricing-table thead th:nth-child(3){width:33%}.compact-pricing-table thead th:nth-child(4){width:100px}.compact-pricing-table thead th:nth-child(5){width:100px}.compact-pricing-table thead th:last-child{width:130px;text-align:right}.compact-pricing-table .category-name{text-align:left;font-size:11px;font-weight:400}.compact-pricing-table input[type=number],.compact-pricing-table select{margin:0;min-height:26px;height:26px;width:100%;border:1px solid transparent;background:transparent;font-size:12px;padding:2px 6px;border-radius:2px}.compact-pricing-table select{border-color:#dbe1d4}.compact-pricing-table input[type=number]{text-align:right;border-color:#e3e7dd}.compact-pricing-table input::placeholder{color:#49574f;opacity:1}.compact-pricing-table input[type=checkbox]{width:13px;height:13px;min-height:0;margin:0 auto;accent-color:var(--ink)}.compact-pricing-table .line-total{text-align:right;font-variant-numeric:tabular-nums;font-size:12px}.compact-pricing-table .sheet-group th,.compact-pricing-table .sheet-group td{background:#e8ede2;font-size:10px;font-weight:600;padding:6px 8px}.compact-pricing-table .sheet-group th{text-align:left;letter-spacing:.25px}.compact-pricing-table .sheet-group td{text-align:right;font-variant-numeric:tabular-nums}.pricing-row:hover{background:#f3f5ed}.pricing-row.row-excluded{color:#879086;background:#f1f2ee}.pricing-row.row-pending .line-total{color:#925c19}.compact-pricing-table input.is-override{background:#f7eddb;border-color:#c5ae87;color:#785321}.compact-pricing-table tr:last-child td,.compact-pricing-table tr:last-child th{border-bottom:0}
.project-disclosure{border:1px solid var(--line);background:#fffefa;margin:12px 0}.project-disclosure>summary{padding:11px 15px;font-size:12px;font-weight:500;cursor:pointer}.project-disclosure[open]>summary{border-bottom:1px solid var(--line);margin-bottom:15px}.project-disclosure>.ws-grid,.project-disclosure>.ws-actions,.project-disclosure>label,.project-disclosure>.voice-box,.project-disclosure>.version-list{margin:15px}.project-disclosure>pre{margin:15px;white-space:pre-wrap;overflow-wrap:anywhere}.project-disclosure .voice-box{padding-top:14px}.small-print{font-size:10px;color:var(--muted);margin:16px 0 25px}.workspace-dialog{max-width:600px;padding:32px}.workspace-dialog h2{font-size:26px}.workspace-dialog .ws-grid{grid-template-columns:1fr 1fr}.workspace-dialog .ws-grid label,.workspace-dialog label{font-size:12px}.workspace-dialog input,.workspace-dialog select{font-size:14px;min-height:38px;padding:9px 10px}.workspace-dialog .primary{min-height:40px;font-size:13px;justify-content:center}.workspace-dialog .checkbox{display:flex;align-items:center;gap:8px;margin:15px 0}.workspace-dialog .checkbox input{min-height:0;width:14px;margin:0}.workspace-dialog .error:empty{display:none}.workspace-dialog .error{margin:12px 0}.workspace-dialog .secondary{font-size:12px;display:block;margin-top:12px}
.contact-directory{background:#fffefa;border:1px solid var(--line);margin:16px 0 35px}.contact-row{display:flex;align-items:center;gap:20px;padding:15px 20px;border-bottom:1px solid var(--line)}.contact-row:last-child{border:0}.contact-row>div{flex:1;min-width:0}.contact-row strong{font-size:14px;font-weight:500}.contact-row .hint{margin:2px 0 0;font-size:11px;overflow-wrap:anywhere}.contact-row button{font-size:12px;white-space:nowrap}.contact-directory .workspace-empty{padding:25px}.version-list pre{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:900px){.project-totals{gap:20px;padding:13px 16px}.project-totals>div{min-width:160px}.project-totals dd{font-size:15px}.project-totals dl{gap:10px}.project-totals dl>div{padding-left:14px}.project-quick{grid-template-columns:1fr 1fr 1fr}.project-quick .hint{grid-column:1/-1;margin:0;max-width:none}.project-switch{width:145px}.compact-pricing-table{min-width:740px}.project-list-head,.project-row{grid-template-columns:minmax(160px,1fr) 80px 130px 90px 18px;gap:14px}}
@media(max-width:600px){body:has(#workspace:not([hidden])) main{padding:0 4vw}.workspace-heading{padding:15px 0 9px}.workspace-heading h1{font-size:21px}.workspace-heading>p{font-size:10px;margin:7px 0 0}.workspace-tabs{gap:26px}.workspace-tabs button{font-size:12px}.ws-heading{margin:15px 0;gap:14px}.ws-heading h2{font-size:29px}.project-list-toolbar{flex-wrap:wrap;gap:9px;margin:18px 0 12px}.project-list-toolbar input{max-width:none;flex-basis:100%}.project-list-toolbar select{width:170px}.project-list-toolbar>p{font-size:11px}.project-list-head{display:none}.project-row{grid-template-columns:1fr auto;gap:6px 14px;padding:15px}.project-row>div:first-child{grid-column:1}.project-row .status-tag{grid-column:2;grid-row:1;justify-self:end}.project-price{text-align:left;grid-column:1;display:flex;gap:8px;align-items:baseline}.project-price strong{font-size:13px}.project-row .project-price span{font-size:10px}.project-date{grid-column:2;grid-row:2;text-align:right;font-size:10px}.project-row .row-arrow{display:none}.project-toolbar{flex-wrap:wrap;gap:8px 14px;padding:10px 0;position:static}.back-projects{order:0}.project-title{order:2;flex-basis:100%}.project-title h2{font-size:23px}.project-toolbar>.primary{margin-left:auto;order:1}.project-switch{order:3;width:100%;font-size:0}.project-switch select{min-height:32px}.estimate-meta{font-size:9px}.project-quick{gap:10px}.project-quick label{font-size:10px}.project-quick input,.project-quick select{font-size:12px;padding:5px}.project-quick .hint{font-size:10px}.project-totals{display:block;padding:12px 15px}.project-totals>div{margin-bottom:12px}.project-totals .grand-total{font-size:25px}.project-totals dl{display:grid;gap:10px}.project-totals dl>div{border:0;padding:0}.project-totals dt{font-size:9px}.project-totals dd{font-size:13px}.pricing-table-heading{display:block}.pricing-table-heading .hint{margin-top:5px}.project-warnings{font-size:10px}.contact-row{gap:12px;flex-wrap:wrap}.contact-row>div{flex-basis:100%}.workspace-dialog{padding:30px 20px}.workspace-dialog .ws-grid{grid-template-columns:1fr}.workspace-dialog{max-height:92svh}.compact-pricing-table th:nth-child(2),.compact-pricing-table td:nth-child(2){position:sticky;left:0;background:#fffefa;z-index:1}.compact-pricing-table thead th:nth-child(2){background:#f1f3ec}.compact-pricing-table .sheet-group th{position:static}}
@media print{#pane-customers,#pane-pricing,#pane-users,.project-list-page,.project-toolbar button,.project-switch,.project-warnings:empty{display:none!important}.project-toolbar{position:static}.project-totals{break-inside:avoid;background:white}.compact-pricing-table{min-width:0;font-size:10px}.compact-pricing-table input,.compact-pricing-table select{font-size:10px;border:0}.compact-pricing-table thead th:nth-child(4),.compact-pricing-table thead th:nth-child(5){width:70px}.compact-pricing-table thead th:last-child{width:90px}.compact-pricing-table thead th:nth-child(2){width:24%}.project-disclosure:not([open]){display:none}.pricing-sheet{border:1px solid #aaa}.project-quick{grid-template-columns:repeat(3,1fr)}.project-quick .hint{display:none}.small-print{color:black}.project-page{margin-top:0}}

/* Inline products: single category rows, matching controls in projects and library. */
body:has(#workspace:not([hidden])) .topbar{min-height:54px;padding:9px 3vw}
.workspace-heading{padding:10px 0 8px}.workspace-heading h1{font-size:21px}.workspace-tabs button{min-height:34px;padding:6px 0}
#workspace-alert{min-height:0;margin:4px 0;font-size:11px;padding:0}#workspace-alert:empty{display:none}
.project-toolbar{padding:8px 0;gap:18px}.project-title h2{font-size:21px}.estimate-meta{margin:4px 0 8px}
.project-quick{margin-bottom:8px;gap:16px}.project-quick input,.project-quick select{height:29px;min-height:29px;padding:3px 7px}
.project-totals{padding:8px 16px;gap:24px}.project-totals .grand-total{font-size:24px}.project-totals dd{font-size:16px}.pricing-table-heading{margin:9px 0 5px}
.compact-pricing-table th,.compact-pricing-table td{padding:1px 7px;height:27px}.compact-pricing-table thead th{padding:6px 7px;height:28px}
.compact-pricing-table input[type=number],.compact-pricing-table .product-name{height:24px;min-height:24px;padding:1px 5px;font-size:11px;margin:0;border:1px solid #e3e7dd;box-sizing:border-box}
.compact-pricing-table .sheet-group th,.compact-pricing-table .sheet-group td{height:23px;padding:3px 7px}.compact-pricing-table .category-name,.compact-pricing-table .line-total{font-size:11px}
.product-field{display:flex;align-items:center;width:100%;gap:0;min-width:0}.product-field .product-name{flex:1;min-width:0;width:0;background:transparent;border-right:0;border-radius:2px 0 0 2px}
.product-field button{height:24px;min-height:24px;width:24px;padding:0;flex-shrink:0;font-size:13px;border:1px solid #d5ddce;background:#f0f3e9;color:var(--ink)}.product-field .product-plus{margin-left:4px;border-radius:2px;font-size:16px}.product-field button:hover{background:#dce5d2}
.product-menu{position:fixed;z-index:30;overflow-y:auto;padding:8px;background:#fffefa;border:1px solid #bccab2;box-shadow:0 8px 25px #192c2225;border-radius:4px;color:var(--ink);font-family:inherit}.product-menu-title{font-size:11px;padding:2px 5px 7px;margin:0;font-weight:600}.product-choice{display:flex;align-items:stretch;border-bottom:1px solid #e6eadd;min-height:34px}.choose-product{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:1;text-align:left;font-size:12px;padding:6px;min-width:0}.choose-product span{overflow-wrap:anywhere}.choose-product small{white-space:nowrap;font-size:10px;color:var(--muted)}.choose-product[aria-selected=true]{background:#e7eedf;font-weight:600}.choose-product:hover,.restore-product:hover{background:#eef2e8}.remove-product{width:30px;min-height:30px;font-size:18px;color:#875b40}.remove-product:disabled{opacity:.25;cursor:default}.menu-add{width:100%;padding:9px 6px;text-align:left;font-size:12px;color:#315c3b}.product-menu>.hint{font-size:10px;margin:5px;line-height:1.5}.removed-products{font-size:10px;border-top:1px solid #e6eadd;padding:5px}.removed-products summary{cursor:pointer}.restore-product{display:block;width:100%;text-align:left;padding:6px;font-size:11px}
#pane-pricing .ws-heading{margin:12px 0 10px}#pane-pricing .ws-heading h2{font-size:24px}#pane-pricing .ws-heading p{font-size:11px}.library-toolbar{display:flex;gap:22px;align-items:center;margin-bottom:10px}.library-toolbar label{width:170px;font-size:11px;margin:0;flex-shrink:0}.library-toolbar input{margin:3px 0 0;height:29px;min-height:29px;font-size:12px;padding:4px 8px}.library-toolbar .hint{font-size:11px;margin:0;max-width:700px}
.library-pricing-table thead th:first-child{width:26%}.library-pricing-table thead th:nth-child(2){width:38%}.library-pricing-table thead th:nth-child(3){width:120px}.library-pricing-table thead th:nth-child(4){width:100px}.library-pricing-table thead th:last-child{width:130px}.library-pricing-table .sheet-group th{text-align:left}
@media(max-width:600px){.library-toolbar{align-items:flex-start;gap:12px}.library-toolbar label{width:115px}.library-toolbar .hint{font-size:10px}.library-pricing-table th:nth-child(2),.library-pricing-table td:nth-child(2){position:static}.library-pricing-table th:first-child{position:sticky;left:0;z-index:1;background:#fffefa}.library-pricing-table .sheet-group th{position:static;background:#e8ede2}.project-totals>div{margin-bottom:8px}}
@media print{.product-menu,.product-drop,.product-plus{display:none!important}.product-field .product-name{border:0;width:100%}}

/* Team: editable rows with one Save action and reversible account removal. */
.team-form .ws-heading{margin:12px 0 14px}.team-form .ws-heading h2{font-size:25px}.team-form .ws-heading p{font-size:11px}.team-sheet{border:1px solid #c7cec1;background:#fffefa}.team-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}.team-table th{padding:9px 7px;background:#f1f3ec;font-size:10px;font-weight:500;color:var(--muted);text-align:left;border-bottom:1px solid var(--line)}.team-table td{padding:3px 7px;border-bottom:1px solid #e0e4db;height:32px}.team-table tr:last-child td{border-bottom:0}.team-table th:nth-child(1){width:25%}.team-table th:nth-child(2){width:23%}.team-table th:nth-child(3),.team-table th:nth-child(4){width:16%}.team-table th:nth-child(5){width:140px}.team-table th:last-child{width:67px}.team-table input,.team-table select{width:100%;min-height:28px;height:28px;margin:0;padding:3px 6px;font-size:12px;background:transparent;border:1px solid #dbe1d4;box-sizing:border-box}.team-table input:disabled,.team-table select:disabled{color:var(--muted);background:#f1f2ed}.team-table input::placeholder{font-size:10px;color:#849080}.team-add{width:36px;height:34px;min-height:34px;font-size:22px;border:1px solid #bfc9b8;background:#e7eddf;border-radius:2px}.team-save:disabled{background:#d9ddd4;color:#859080;cursor:default;opacity:1}.team-save:not(:disabled){background:#315e3d;color:#fff}.team-row-action{text-align:center}.team-remove{font-size:20px;height:28px;min-height:28px;width:28px;border:1px solid #d8c9bd;border-radius:2px;color:#8b5233}.team-remove:disabled{opacity:.25;cursor:default}.team-restore{font-size:10px;color:#315e3d}.team-inactive{background:#f1f2ed;color:#8a9386}.team-hint{margin:10px 0;font-size:11px}.team-table tr:hover{background:#f4f6ef}
@media(max-width:900px){.team-table{min-width:900px}.team-table th:nth-child(1){width:220px}.team-table th:nth-child(2){width:210px}.team-table th:nth-child(3),.team-table th:nth-child(4){width:135px}}

/* Dark estimating workspace and thin expandable construction rows. */
:root{--ink:#e3edf1;--paper:#0c141a;--muted:#a1b1bc;--line:#2f414d;--sand:#91cfa8;color-scheme:dark}
body{background:var(--paper);color:var(--ink)}.topbar{background:#0c141a}.login-card,.ws-card,.project-list-table,.project-disclosure,.contact-directory,.desk-layout,.team-sheet{background:#17232c;border-color:var(--line)}
input,select,textarea{background:#111c24;color:var(--ink);border-color:#3d515f}input::placeholder,textarea::placeholder{color:#95a6b1}.secondary{border-color:#446052;color:#c1dfcc}.primary{background:#87d7ac;color:#102019;font-weight:600}.primary:disabled{background:#25343f;color:#99a9b2;opacity:.7}.error{color:#ffab9c}#workspace-alert,#dashboard-alert{color:#bbdabf}button:focus-visible,a:focus-visible{outline-color:#87d7ac}input:focus,textarea:focus,select:focus{outline-color:#87d7ac}
.workspace-tabs button[aria-selected=true]{color:#9ee5bf;border-color:#82ceaa}.project-toolbar{background:var(--paper)}.project-list-head{background:#15212a}.project-row:hover,.inquiry-row:hover,.inquiry-row.selected,.stats button:hover{background:#22333d}.project-totals{background:#152b27;border-color:#315749}.project-totals p,.project-totals dt{color:#afc8be}.project-totals dl>div{border-color:#315749}.project-warnings,.pending-rate{color:#e6bd81}.status-tag{background:#284139;color:#b8dec8}.status-tag.new{background:#473722;color:#e8c28b}.status-tag.archived,.status-tag.closed{background:#293540;color:#b7c3cb}.team-table th{background:#14212a}.team-table input:disabled,.team-table select:disabled,.team-inactive{background:#132029;color:#a1b1bc}.team-table tr:hover{background:#20303b}.team-add{background:#1f4031;border-color:#487159;color:#bcf2d0}.team-save:not(:disabled){background:#87d7ac;color:#102019}.team-save:disabled{background:#25343f;color:#99a9b2}.team-remove,.variation-remove{color:#e4b5a3;border-color:#5b473f}.team-restore,.restore-product{color:#9fe4bc}.restore-product:hover{background:#234437}.filters button[aria-pressed=true]{background:#87d7ac;color:#102019}.project-empty .primary{color:#102019}.project-price .pending-rate{color:#e6bd81}
.pricing-sheet{background:#17232c;border-color:#344751}.expandable-pricing-table{min-width:830px;font-size:11px}.expandable-pricing-table thead th{width:auto!important;background:#122029;color:#a9bcc7;padding:5px 6px;height:28px;text-align:left}.expandable-pricing-table thead th:nth-child(n+4){text-align:right}.expandable-pricing-table th,.expandable-pricing-table td{padding:1px 6px;height:27px;border-color:#2a3b46;line-height:1.3}.expandable-pricing-table .category-name{font-size:11px;font-weight:500}.category-label{display:flex;align-items:center;gap:12px;min-width:0;line-height:24px}.construction-label{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.selected-variation{max-width:42%;font-size:10px;font-weight:400;color:#acd3bc;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.expandable-pricing-table .line-total{font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}.expandable-pricing-table .fee-total{color:#c2e7d0}.expandable-pricing-table .sheet-group th,.expandable-pricing-table .sheet-group td{height:23px;padding:3px 6px;background:#16312a;color:#a8d9bd;font-size:10px}.expandable-pricing-table .sheet-group th{text-align:left}.expandable-pricing-table .sheet-group td{text-align:right}
.expandable-pricing-table input[type=number],.expandable-pricing-table input[type=text]{height:24px;min-height:24px;width:100%;padding:1px 5px;border:1px solid #344956;color:#e3edf1;background:#14222d;font-size:11px;border-radius:2px;box-sizing:border-box;margin:0}.expandable-pricing-table input[type=number]{text-align:right}.expandable-pricing-table input::placeholder{color:#95a6b1}.expandable-pricing-table input[type=checkbox],.expandable-pricing-table input[type=radio]{height:13px;width:13px;min-height:0;margin:0 auto;accent-color:#87d7ac}.expandable-pricing-table input.is-override{background:#253827;border-color:#537654;color:#cfefba}.expandable-pricing-table .category-row:hover{background:#22353e}.expandable-pricing-table .category-expanded{background:#20353b}.expandable-pricing-table .row-excluded{background:#172029;color:#8398a7}.expandable-pricing-table .row-excluded .fee-total{color:#8398a7}.expandable-pricing-table .row-pending .line-total{color:#e6bd81}
.variation-arrow{display:grid;place-items:center;width:20px;height:24px;min-height:24px;padding:0;font-size:15px;color:#a8d9bd}.variation-arrow[aria-expanded=true]{color:#a5f2c6}.variation-detail>td{padding:0;height:auto;border:0}.variation-region{background:#111c24;border-bottom:1px solid #426153}.variation-table{border-left:3px solid #426c57;min-width:0;width:100%}.variation-table .variation-row{height:27px;background:#15212a}.variation-table .variation-row:hover{background:#20343b}.variation-table .variation-selected{background:#1c392f}.variation-table .variation-name-cell{padding-left:18px}.variation-table .variation-name-cell input{border-color:#344956;background:#13232b}.variation-table .variation-selected .variation-name-cell input{border-color:#456b54;color:#c5ebd1}.variation-remove{height:23px;min-height:23px;width:20px;padding:0;font-size:17px}.variation-remove:disabled{opacity:.25;cursor:default}.variation-actions{display:flex;align-items:center;gap:16px;padding:4px 12px 4px 62px;min-height:28px;border-top:1px solid #293e48}.add-variation{color:#ace9c7;font-size:11px;padding:3px 7px;min-height:23px;border:1px solid #3e7154;border-radius:2px;background:#193a29;white-space:nowrap}.add-variation:hover{background:#25523c}.variation-actions .hint{font-size:10px;color:#a1b8c4}.removed-variations{font-size:10px;padding:5px 10px 5px 62px;color:#a1b8c4;border-top:1px solid #293e48}.removed-variations summary{cursor:pointer}.removed-variations .restore-product{font-size:11px;padding:5px 8px;margin-right:10px;display:inline-block}.library-pricing-table .category-name{font-weight:500}
@media(max-width:900px){.expandable-pricing-table th:nth-child(2),.expandable-pricing-table td:nth-child(2),.library-pricing-table th:first-child{position:static!important}.expandable-pricing-table .category-name{position:sticky;left:0;background:#17232c;z-index:1}.expandable-pricing-table .category-expanded .category-name{background:#20353b}.expandable-pricing-table .row-excluded .category-name{background:#172029}.selected-variation{max-width:35%}.variation-table .variation-name-cell{position:sticky;left:0;background:#15212a;z-index:1}.variation-table .variation-selected .variation-name-cell{background:#1c392f}.variation-actions{flex-wrap:wrap;gap:5px 12px}}
@media print{:root{--ink:#000;--paper:#fff;--muted:#333;--line:#bbb;color-scheme:light}body,main,.project-toolbar,.project-totals{background:#fff!important;color:#000!important}.expandable-pricing-table{min-width:0}.expandable-pricing-table th,.expandable-pricing-table td,.expandable-pricing-table input,.expandable-pricing-table .selected-variation{color:#000!important;background:#fff!important}.expandable-pricing-table col:nth-child(4),.expandable-pricing-table col:nth-child(5){width:65px!important}.expandable-pricing-table col:nth-child(6),.expandable-pricing-table col:nth-child(7){width:90px!important}.variation-detail,.variation-arrow{display:none!important}.project-totals *{color:#000!important}.expandable-pricing-table input{border:0!important}}

.row-date{color:var(--muted)}

/* Keep the quick product dropdown beside the construction item. */
.project-page,#pane-pricing{max-width:1080px}.pricing-sheet,.pricing-table-heading{max-width:1080px}
.expandable-pricing-table{min-width:976px}.expandable-pricing-table thead th:nth-child(4){text-align:left}.expandable-pricing-table thead th:nth-child(n+5){text-align:right}
.expandable-pricing-table .variation-select{width:100%;max-width:none;height:24px;min-height:24px;margin:0;padding:1px 20px 1px 5px;background:#14222d;color:#c5ebd1;border:1px solid #3e5b4b;border-radius:2px;font-size:11px;line-height:20px}.expandable-pricing-table .variation-select:focus{outline-color:#87d7ac}.expandable-pricing-table .row-excluded .variation-select{color:#a1b1bc;border-color:#344956}
@media print{.project-page,#pane-pricing,.pricing-sheet{max-width:none}.expandable-pricing-table{min-width:0}.expandable-pricing-table col:nth-child(3){width:190px!important}.expandable-pricing-table col:nth-child(4){width:140px!important}.expandable-pricing-table col:nth-child(5),.expandable-pricing-table col:nth-child(6){width:65px!important}.expandable-pricing-table col:nth-child(7),.expandable-pricing-table col:nth-child(8){width:90px!important}.expandable-pricing-table select{color:#000;background:#fff;border:0;appearance:none}}

/* Category -> construction item -> product variations, with compact inline controls. */
.category-controls{display:flex;align-items:center;gap:4px;height:26px;overflow:hidden}.expandable-pricing-table .category-group-name{width:220px;min-width:120px;max-width:280px;height:23px;min-height:23px;margin:0;padding:1px 4px;border:1px solid transparent;background:transparent;color:#cee8d5;font-size:11px;font-weight:650}.expandable-pricing-table .category-group-name:hover,.expandable-pricing-table .category-group-name:focus{border-color:#54745f;background:#152e25}.expandable-pricing-table .structure-sort{display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:21px;min-height:21px;margin:0;padding:0;border:0;border-radius:2px;background:transparent;color:#a5c8b5;font-size:12px;line-height:1}.expandable-pricing-table .structure-sort:hover:not(:disabled){background:#304e41;color:#fff}.expandable-pricing-table .structure-sort:disabled{opacity:.25;cursor:default}.expandable-pricing-table .add-construction-item{height:23px;min-height:23px;margin:0 0 0 8px;padding:1px 7px;border:1px solid #41614d;border-radius:2px;background:#1d382a;color:#c6e3d0;font-size:10px;font-weight:500}.expandable-pricing-table .category-label{display:flex;gap:1px;align-items:center}.expandable-pricing-table .construction-item-name{flex:1;min-width:0;width:100%;height:24px;min-height:24px;margin:0;padding:1px 2px;border:1px solid transparent;border-radius:2px;background:transparent;color:inherit;font-size:11px;font-weight:550;text-overflow:ellipsis}.expandable-pricing-table .construction-item-name:hover,.expandable-pricing-table .construction-item-name:focus{border-color:#465d6b;background:#14222d}.add-category{margin:8px 0;padding:4px 10px;min-height:28px;background:#1d382a;color:#c6e3d0;border:1px solid #41614d;font-size:11px}.category-controls input:invalid,.construction-item-name:invalid{border-color:#cd8c7d!important}
@media print{.structure-sort,.add-category,.add-construction-item{display:none!important}.expandable-pricing-table .construction-item-name,.expandable-pricing-table .category-group-name{color:#000!important;background:#fff!important;border:0!important}}

/* Project summary shares the pricing table's columns, including horizontal scrolling. */
.expandable-pricing-table .project-summary-row td{height:43px;padding:4px 6px;background:#18372a;border-bottom:1px solid #406550;position:static!important}.project-summary-left{display:flex;align-items:center;gap:12px;white-space:nowrap}.summary-caption{font-size:11px;color:#b6d6c1;font-weight:550;margin-right:6px}.project-summary-left label{display:flex;align-items:center;gap:8px;font-size:11px;margin:0;color:#c5e2cf}.expandable-pricing-table .project-summary-left input[type=number]{width:94px;min-width:0;height:28px;min-height:28px;padding:2px 6px;font-size:13px;background:#14271f;color:#e4f2e8;border-color:#496a55}.expandable-pricing-table .summary-update{padding:3px 9px;height:28px;min-height:28px;line-height:1;font-size:11px;border:1px solid #638a6d;border-radius:2px;background:#8bcda1;color:#10231a}.expandable-pricing-table .summary-metric{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.summary-value{font-size:14px;font-weight:600;color:#dcebe2}.summary-total .summary-value{color:#c6f5d6;font-size:15px}.expandable-pricing-table .project-summary-settings-row td{padding:7px 12px 8px 40px;background:#13291f;position:static!important}.project-summary-settings{display:flex;align-items:center;gap:24px;font-size:11px;color:#b9d1c3}.project-summary-settings label{display:flex;align-items:center;gap:8px;margin:0;font-size:11px}.expandable-pricing-table .project-summary-settings input[type=number],.expandable-pricing-table .project-summary-settings select{width:92px;height:28px;min-height:28px;padding:2px 5px;background:#14271f;color:#e4f2e8;border-color:#496a55;font-size:12px}.project-summary-settings output{font-size:11px;font-variant-numeric:tabular-nums}.project-summary-settings-row[hidden]{display:none!important}

/* Slightly larger text and name columns, retaining compact construction rows. */
.project-page,#pane-pricing,.pricing-sheet,.pricing-table-heading{max-width:1136px}.expandable-pricing-table{min-width:1026px;font-size:12px}.expandable-pricing-table th,.expandable-pricing-table td{height:29px}.expandable-pricing-table .category-name,.expandable-pricing-table .line-total{font-size:12px}.expandable-pricing-table .construction-item-name,.expandable-pricing-table .variation-select,.expandable-pricing-table .variation-name-cell input,.expandable-pricing-table input[type=number]{font-size:12px;height:26px;min-height:26px}.expandable-pricing-table thead th{font-size:11px}.expandable-pricing-table .sheet-group th,.expandable-pricing-table .sheet-group td,.expandable-pricing-table .category-group-name{font-size:11px}.expandable-pricing-table .category-label{line-height:26px}.expandable-pricing-table .category-controls{height:27px}.expandable-pricing-table .category-group-name{height:25px;min-height:25px}.expandable-pricing-table .variation-select{line-height:22px}.expandable-pricing-table .variation-arrow,.expandable-pricing-table .structure-sort{font-size:13px}
@media print{.project-page,#pane-pricing,.pricing-sheet{max-width:none}.expandable-pricing-table{min-width:0}.summary-update,.project-summary-settings-row{display:none!important}.expandable-pricing-table .project-summary-row td{background:#fff!important;color:#000!important;height:32px}.summary-value,.summary-caption,.project-summary-left label{color:#000!important}.expandable-pricing-table .project-summary-left input[type=number]{background:#fff!important;color:#000!important}.project-summary-left{gap:8px}}
.expandable-pricing-table input.construction-item-name[type=text]{font-size:12px;height:26px;min-height:26px}
