/* Approved Estimates & quotes design with workspace navigation above the content. */
body.workspace-page.workspace-estimates{display:block;min-height:100vh}
.workspace-page.workspace-estimates>main.saved-estimates-page{max-width:1400px;width:100%;padding:0 36px;margin:30px auto 44px}
.workspace-estimates .workspace-page-heading{margin-bottom:20px;align-items:center;flex-wrap:nowrap;gap:12px}
.workspace-estimates .workspace-primary-link{background:#076bff;color:#fff;border-radius:6px;padding:12px 18px;white-space:nowrap;font-size:15px}
.workspace-estimates .saved-estimates-page>.panel{padding:0;border:0;box-shadow:none;background:#fff;margin:0}
.workspace-estimates .estimate-search-label{margin:0 0 16px;display:block}
.workspace-estimates .estimate-search-caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.workspace-estimates .saved-estimates-page .estimate-search-label>input{min-height:44px;border-radius:6px;border:1px solid #cde0f3;padding:10px 14px 10px 44px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234d6b92' stroke-width='1.8'%3E%3Ccircle cx='10.5' cy='10.5' r='7'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E") no-repeat 14px center;background-size:21px;font-size:16px}
.workspace-estimates .estimate-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;background:#eef8ff;border:0;border-radius:8px;padding:18px 16px;margin:0}
.workspace-estimates .estimate-filters label{font-size:13px;font-weight:600;display:flex;flex-direction:column;gap:7px;margin:0}
.workspace-estimates .estimate-filters select{width:100%;height:40px;min-height:40px;border:1px solid #c8ddf4;border-radius:5px;background:#fff;padding:8px 12px;font-size:14px}
.workspace-estimates #list-status{font-size:12px;margin:8px 0;color:#59708c;min-height:16px}
.workspace-estimates .saved-estimates-page .table-wrap{border:1px solid #cee2f5;border-radius:8px;overflow:hidden}
.workspace-estimates .saved-estimates-page table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse}
.workspace-estimates .saved-estimates-page th{padding:12px 14px;background:#eef8ff;border-bottom:1px solid #deebf6;font-size:13px;text-align:left;white-space:nowrap}
.workspace-estimates .saved-estimates-page th:first-child{width:34%}
.workspace-estimates .saved-estimates-page th:nth-child(3){width:17%}
.workspace-estimates .saved-estimates-page th:nth-child(4){width:13%}
.workspace-estimates .saved-estimates-page th:nth-child(5){width:11%}
.workspace-estimates .saved-estimates-page th:nth-child(6){width:15%}
.workspace-estimates .saved-estimates-page th:nth-child(7){width:10%}
.workspace-estimates .saved-estimates-page td{padding:14px;border-bottom:1px solid #deebf6;font-size:13px;line-height:1.45;vertical-align:middle}
.workspace-estimates .saved-estimates-page tr:last-child td{border-bottom:0}
.workspace-estimates .saved-estimates-page th:nth-child(2),.workspace-estimates .saved-estimates-page td:nth-child(2){display:none}
.workspace-estimates .estimate-customer-identity{display:flex;gap:14px;align-items:center;min-width:0}
.workspace-estimates .estimate-customer-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.workspace-estimates .estimate-customer-name{font-size:14px;font-weight:600;text-decoration:none;color:#082b50;overflow-wrap:anywhere}
.workspace-estimates .estimate-property-address{font-size:13px;color:#506986;line-height:1.4;overflow-wrap:anywhere}
.workspace-estimates .estimate-property-thumbnail{width:52px;height:56px;object-fit:cover;border-radius:5px;flex-shrink:0}
.workspace-estimates .estimate-status-pill{display:inline-block;padding:5px 16px;border-radius:20px;background:#e4edf5;color:#17385a;font-size:12px;white-space:normal;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
.workspace-estimates tr[data-status=quoted] .estimate-status-pill{background:#d9edff;color:#0069ff;font-weight:600}
.workspace-estimates .saved-estimates-page .estimate-row-actions{min-width:0;white-space:nowrap;padding-left:4px;padding-right:4px}
.workspace-estimates .saved-estimates-page .estimate-row-actions .estimate-action{width:34px;height:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:7px;background:none;border:0;box-shadow:none;border-radius:0;color:#076bff}
.workspace-estimates .saved-estimates-page .estimate-row-actions .estimate-action-view{color:#00a7aa}
.workspace-estimates .saved-estimates-page .estimate-row-actions .estimate-action-delete{color:#ef3232}
.workspace-page.workspace-estimates>.site-footer{width:calc(100% - 72px);max-width:1328px;margin:auto}
@media(max-width:1100px) and (min-width:751px){
 .workspace-estimates .saved-estimates-page .table-wrap{overflow:auto}
 .workspace-estimates .saved-estimates-page table{min-width:950px}
}
@media(max-width:750px){
 .workspace-page.workspace-estimates>main.saved-estimates-page{padding:0 14px;margin:18px auto 32px}
 .workspace-estimates .workspace-page-heading{margin-bottom:14px;gap:8px}
 .workspace-estimates .workspace-page-heading h1{font-size:21px;letter-spacing:-.4px;line-height:1.25}
 .workspace-estimates .workspace-primary-link{font-size:12px;padding:9px 10px;min-height:36px}
 .workspace-estimates .estimate-search-label{margin-bottom:12px}
 .workspace-estimates .saved-estimates-page .estimate-search-label>input{font-size:16px;min-height:42px}
 .workspace-estimates .estimate-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 10px;gap:10px 16px}
 .workspace-estimates .estimate-filters label{font-size:11px;gap:5px;min-width:0}
 .workspace-estimates .estimate-filters label:nth-child(2){grid-column:2;grid-row:1}
 .workspace-estimates .estimate-filters label:nth-child(3){grid-column:1/-1;grid-row:2}
 .workspace-estimates .estimate-filters select{font-size:16px;min-height:38px;height:38px;padding:6px 9px}
 .workspace-estimates .saved-estimates-page .table-wrap{border:0;border-radius:0;overflow:visible}
 .workspace-estimates .saved-estimates-page table,.workspace-estimates .saved-estimates-page tbody{display:block;width:100%;min-width:0}
 .workspace-estimates .saved-estimates-page thead{display:none}
 .workspace-estimates .saved-estimates-page .saved-estimate-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:5px 8px;border:1px solid #d0e3f5;border-radius:6px;padding:10px 12px;margin:0 0 8px;background:#fff}
 .workspace-estimates .saved-estimates-page .saved-estimate-row td{padding:0;border:0;min-width:0;font-size:11px;display:block;line-height:1.3}
 .workspace-estimates .saved-estimates-page .saved-estimate-row td::before{display:none}
 .workspace-estimates .saved-estimates-page .saved-estimate-row td:first-child{grid-column:1/-1;grid-row:1;padding-right:96px}
 .workspace-estimates .saved-estimates-page .saved-estimate-row td:first-child a{font-size:13px;font-weight:600}
 .workspace-estimates .estimate-customer-copy{gap:3px}
 .workspace-estimates .estimate-property-address{font-size:11px;line-height:1.3}
 .workspace-estimates .estimate-property-thumbnail{display:none}
 .workspace-estimates .saved-estimates-page .saved-estimate-row td:nth-child(2){display:none}
 .workspace-estimates .saved-estimates-page .saved-estimate-row td:nth-child(3){grid-column:1;grid-row:2}
 .workspace-estimates .saved-estimates-page .saved-estimate-row td:nth-child(4){grid-column:2/-1;grid-row:2;text-align:left}
 .workspace-estimates .estimate-meta-pill{display:inline-block;border-radius:16px;background:#e8eff6;padding:3px 8px;white-space:normal}
 .workspace-estimates .saved-estimates-page .saved-estimate-row td:nth-child(5){grid-column:1;grid-row:3;text-align:left}
 .workspace-estimates .estimate-status-pill{font-size:10px;padding:3px 12px}
 .workspace-estimates .saved-estimates-page .saved-estimate-row td:nth-child(6){grid-column:2/-1;grid-row:3;align-self:center;font-size:10px;color:#59708c}
 .workspace-estimates .saved-estimates-page .saved-estimate-row td.estimate-row-actions{grid-column:2/-1;grid-row:1;display:flex;flex-direction:row;justify-self:end;align-self:start;gap:0;padding:0;margin-top:-6px;margin-right:-7px}
 .workspace-estimates .saved-estimates-page .estimate-row-actions .estimate-action{width:32px;height:44px;min-height:44px;padding:7px}
 .workspace-estimates .saved-estimates-page .estimate-row-actions .estimate-action svg{width:18px;height:18px}
 .workspace-page.workspace-estimates>.site-footer{width:calc(100% - 28px)}
}

/* Quote workflow statuses. */
.saved-estimate-row[data-status=sent] .estimate-status-pill{background:#e8f2ff;color:#075da1}
.saved-estimate-row[data-status=accepted] .estimate-status-pill{background:#e3f5eb;color:#176440}
.saved-estimate-row[data-status=declined] .estimate-status-pill{background:#fdebea;color:#9e2424}
.saved-estimate-row[data-status=cancelled] .estimate-status-pill{background:#eef0f3;color:#495360}
