.independent-payment .payment-category.readonly-tob-payment{background:#fff!important;color:#173747!important;border:1px solid #dce5e8!important}.state-audit{display:block;color:#82949d;font-size:9px!important;line-height:13px;white-space:nowrap;overflow:hidden;text-overflow:clip}.payment-state-cell .independent-payment{min-height:41px}.delivery-technician-table col.delivery-width-1,.delivery-technician-table col.delivery-width-2,.delivery-technician-table col.delivery-width-3,.delivery-technician-table col.delivery-tech-col{width:110px!important}.delivery-technician-table{min-width:1230px!important}.delivery-technician-table .complete-model-text,.delivery-technician-table .complete-sales-text,.delivery-technician-table .delivery-technicians,.service-table .complete-model-text,.service-table .complete-sales-text{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;max-height:none!important}.complete-model-text .job-product-line{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;max-height:none!important;height:auto!important;min-height:17px}.service-table th:nth-child(2),.service-table td:nth-child(2){width:120px!important}.service-technicians{display:block;white-space:normal;overflow-wrap:anywhere;color:#7e929e}.detail-technician{display:block;margin-bottom:4px}.tob-address-fields{border:1px solid #dce5e8;border-radius:8px;padding:12px;display:grid;gap:10px}.customer-next-actions{display:flex;align-items:flex-start;justify-content:flex-end;gap:10px}.customer-next-choice{text-align:center;display:flex;flex-direction:column;gap:5px}.customer-next-choice button{width:100%;white-space:nowrap}.customer-next-choice small{color:#84939b;font-size:11px;font-weight:400}.quotes-and-todos{display:grid;grid-template-rows:minmax(230px,2fr) minmax(150px,1fr);gap:10px;height:calc(100dvh - 260px);min-height:450px}.quotes-and-todos>.panel{display:flex;flex-direction:column;min-height:0;margin-bottom:0}.quotes-and-todos .panelhead{flex-shrink:0}.quotes-and-todos .fixed-list-scroll,.sales-todos-list{flex:1;min-height:0;max-height:none;overflow:auto}.quotes-main-panel .panelhead{display:flex;align-items:center;gap:14px}.quotes-main-panel h3{white-space:nowrap}.quotes-main-panel #quote-search{flex:1}.quotes-page-view .content{padding-bottom:6px}@media(max-width:720px){.customer-next-actions{display:grid;grid-template-columns:1fr;gap:12px}.customer-next-choice button{white-space:normal}.quotes-and-todos{height:calc(100dvh - 10px);min-height:400px}.quotes-main-panel .panelhead{padding:8px 12px;flex-wrap:wrap}.quotes-main-panel h3{display:block;font-size:14px;margin:0}.quotes-main-panel #quote-search{width:100%;min-width:0;flex-basis:100%;height:34px}.quotes-page-view .content{padding-bottom:4px}}

.delivery-technician-table col.delivery-width-4,.delivery-technician-table col.delivery-width-9{width:16px!important}

.complete-sales-text>.record-cell-clip,.complete-model-text>.record-cell-clip,.delivery-technicians>.record-cell-clip,.delivery-technician-table .job-dates>.record-cell-clip{white-space:normal!important;overflow:visible!important;max-height:none!important;height:auto!important;text-overflow:clip!important;overflow-wrap:anywhere!important}

.independent-payment .state-audit{white-space:normal;overflow:visible;overflow-wrap:anywhere}.payment-state-cell>.record-cell-clip{max-height:none!important;overflow:visible!important}

.inventory-table .tankless-heading{float:none;margin:0;gap:5px}
.inventory-table .tankless-heading span{margin:0;font-size:9px}
.delivery-technician-table col.delivery-width-3,.delivery-technician-table col.delivery-tech-col{width:88px!important}
.delivery-technician-table col.delivery-materials-col{width:120px}

.payroll-finance-table th select[data-price-column],
.delivery-technician-table th select[data-price-column]{
 border:0;background:transparent;box-shadow:none;color:inherit;font:inherit;padding:0 14px 0 0;
 cursor:pointer;min-width:0;max-width:100%;
}
.payroll-finance-table input.sales-adjustment::placeholder,
.payroll-finance-table .adjust-editor input::placeholder,
.delivery-technician-table input.sales-adjustment::placeholder{color:#82949d;opacity:.7}
.delivery-technician-table input.sales-adjustment{width:100%;min-width:0}

.thermostat-opt-out{display:inline-flex;align-items:center;gap:5px;margin-inline-start:9px;font-size:12px}
.thermostat-opt-out[hidden]{display:none}
.thermostat-opt-out input{width:auto;margin:0}
.delivery-technician-table input[data-delivery-materials]{font:inherit;height:27px;padding:3px 6px;margin:0}
.materials-audit{display:block;color:#82949d;font-size:9px;line-height:13px;white-space:normal}
@media(max-width:720px){
 #dialog .itemline{grid-template-columns:minmax(0,1fr) 43px 68px 29px;gap:5px}
 #dialog .itemline>[data-name=qty],#dialog .itemline input[data-name=qty]{padding-inline:4px}
}

.completion-fee-lines{display:grid;gap:6px;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))}
.completion-fee-lines section{border:1px solid #ccdce2;border-radius:8px;padding:8px 10px;display:grid;gap:4px}
.completion-fee-lines label{display:flex;align-items:center;justify-content:space-between;gap:6px}
.completion-fee-lines input{max-width:100px;padding:4px 6px}
.fee-zero-confirm{border:2px solid #b53d39;background:#fff4f3;border-radius:8px;padding:10px;animation:fee-confirm-flash .35s ease-in-out 2}
.fee-zero-confirm button{margin:4px 6px 0 0}
@keyframes fee-confirm-flash{50%{border-color:transparent}}
@media(prefers-reduced-motion:reduce){.fee-zero-confirm{animation:none}}

/* Salary columns remain readable at every table zoom level. */
.wage-formula{display:block!important;color:#82949d;font-size:10px!important;font-weight:400;line-height:1.4;white-space:normal!important;overflow-wrap:anywhere}
.wage-products,.wage-product-line,.wage-products>.record-cell-clip{white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important;max-height:none!important;height:auto!important;text-overflow:clip!important}
.wage-product-line{display:block;line-height:1.5}
.expected-wages-table{min-width:1080px;width:100%;table-layout:fixed}
.expected-wages-table th,.expected-wages-table td{padding:6px!important;white-space:normal!important;overflow-wrap:anywhere;vertical-align:top;max-height:none!important}
.expected-wages-table th:first-child{width:165px}.expected-wages-table th:nth-child(2){width:130px}.expected-wages-table th:last-child{width:190px}
.expected-wages-table small{display:block;color:#82949d;font-size:10px}
.expected-wages-table th select[data-product-column],.payroll-finance-table th select[data-product-column]{border:0;background:transparent;box-shadow:none;font:inherit;color:inherit;padding:0 13px 0 0;max-width:100%;cursor:pointer}
.expected-materials{height:28px;padding:3px!important;width:100%;min-width:0;background:#edf1f3!important;color:#718692!important}
.expected-wage-totals{padding:10px 14px;display:grid;gap:6px}.expected-wage-totals>div{display:flex;justify-content:space-between;gap:15px}.expected-wage-totals strong{font-weight:700}

.wage-products .job-product-line{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;max-height:none!important;height:auto!important;overflow-wrap:anywhere!important}

.expected-wages-table th:first-child{width:auto!important}
.expected-wages-table th:nth-child(10){width:68px}
.expected-wages-table th:last-child{width:170px}
.expected-material-value{color:#82949d;font-weight:400;white-space:nowrap!important}
.expected-wages-table th select[data-expected-filter]{border:0;background:transparent;box-shadow:none;font:inherit;color:inherit;padding:0 13px 0 0;max-width:100%;cursor:pointer}
.expected-wages-table .first-column-text{white-space:nowrap!important}

.expected-wages-table th:nth-child(6){width:90px}.expected-wages-table th:nth-child(7){width:105px}

.inventory-types>.inventory-category-overlay{position:fixed!important;margin:0!important;inset:auto;box-sizing:border-box;overflow-y:auto!important;overscroll-behavior:contain;background:white;padding:12px;border:1px solid #cbd9df;border-radius:8px;box-shadow:0 10px 24px #17374733}
.inventory-category-overlay:not(:popover-open){display:none!important}
.inventory-category-overlay:popover-open{display:grid!important}
