:root{font-family:Arial,Helvetica,sans-serif;color:#082c61;background:#ffffff}*{box-sizing:border-box}body{margin:0}.site-header{display:flex;align-items:center;gap:22px;background:#082c61;color:white;padding:18px max(24px,calc((100vw - 1180px)/2))}.site-header img{width:82px;height:68px;object-fit:contain;background:white;border-radius:10px}.site-header span{text-transform:uppercase;letter-spacing:.13em;font-size:12px;color:#cce5f7}.site-header h1{margin:5px 0;font-size:clamp(23px,3vw,36px)}main{max-width:1180px;margin:30px auto 70px;padding:0 20px}.intro{max-width:760px;line-height:1.6;color:#46627d}.panel{background:#fff;border:1px solid #c9e2f6;border-radius:16px;padding:26px;margin:22px 0;box-shadow:0 8px 26px #082c610c}.panel h2{margin:0 0 19px;font-size:23px}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.grid label{display:flex;flex-direction:column;gap:8px;font-weight:700;font-size:14px}input,select{width:100%;font:inherit;color:#082c61;background:white;border:1px solid #b5c9dd;border-radius:8px;padding:11px 12px}input:focus,select:focus,button:focus-visible{outline:3px solid #8cd2f4;outline-offset:2px}small,.hint,.fine-print{font-size:13px;line-height:1.5;color:#587089}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:18px}.section-heading p{margin:-8px 0 18px;color:#587089}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:760px}th{text-align:left;font-size:13px;color:#46627d;background:#f1f8fd}td,th{padding:11px 9px;border-bottom:1px solid #dce9f5}td:first-child{min-width:215px}td input{min-width:85px}td:last-child{width:50px}td output{white-space:nowrap;font-weight:700}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}button{border:1px solid #075b9c;background:#075b9c;color:white;border-radius:8px;padding:11px 16px;font:inherit;font-weight:700;cursor:pointer}button:hover{filter:brightness(.92)}button.secondary{background:white;color:#075b9c}.remove-task{padding:7px 11px;background:#fff;color:#a62929;border-color:#e9b9b9}.summary{border-top:5px solid #0870b7}.summary .section-heading strong{font-size:clamp(24px,3vw,36px);color:#075b9c}.summary dl{display:grid;grid-template-columns:repeat(2,1fr);gap:10px 30px}.summary dl div{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #dce9f5;padding:12px 0}.summary dd{margin:0;font-weight:700}.notice{background:#edf7ff;padding:12px;border-radius:8px}.fine-print{margin-bottom:0}@media(max-width:850px){.grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.grid,.summary dl{grid-template-columns:1fr}.section-heading{align-items:flex-start;flex-direction:column}.site-header{padding:16px}.site-header img{width:65px}}@media print{body{background:white}.site-header{background:white;color:#082c61;border-bottom:2px solid #082c61}main{margin:12px auto;padding:0}.panel{box-shadow:none;break-inside:avoid;margin:12px 0;padding:15px}.actions,.remove-task,.intro,.hint,.fine-print{display:none!important}input{border:0;padding:3px;background:transparent}table{min-width:0}td,th{padding:5px}.summary{border-top:2px solid #082c61}}
.address-picker{position:relative;display:flex;flex-direction:column;gap:8px}.address-picker>label{font-weight:700;font-size:14px}.address-results{position:absolute;z-index:5;top:68px;left:0;right:0;list-style:none;margin:0;padding:5px;background:white;border:1px solid #b5c9dd;border-radius:8px;box-shadow:0 12px 26px #082c6122;max-height:260px;overflow-y:auto}.address-results[hidden]{display:none}.address-results button{display:block;width:100%;padding:10px;text-align:left;background:white;color:#082c61;border:0;font-weight:400}.address-results button:hover,.address-results button:focus{background:#f1f8fd}.address-selection{margin-top:22px;border-top:1px solid #dce9f5;padding-top:18px}.address-selection p{font-weight:700}.address-selection ul{margin:0;padding-left:20px}.address-selection li{margin:6px 0}.address-selection li button{font-size:12px;padding:3px 7px;margin-left:8px;background:#fff;color:#a62929;border-color:#e9b9b9}@media print{.address-picker,#add-address,.address-selection li button{display:none!important}}
.actions-inline{display:flex;gap:10px;flex-wrap:wrap}.panel a,.intro a{color:#075b9c;font-weight:700}#save-status{font-weight:700;color:#075b9c}
.site-header p{margin:8px 0 0;font-size:14px;color:#dcefe0}.site-header p a{color:#fff;text-decoration:underline}
.company-address-editor{display:grid;grid-template-columns:minmax(240px,2fr) minmax(125px,1fr) auto;gap:14px;align-items:end}.company-address-editor label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:700}.company-address-editor button{white-space:nowrap}.company-address-editor input[readonly]{background:#ffffff}@media(max-width:560px){.company-address-editor{grid-template-columns:1fr}}


.address-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:20px;margin-top:20px}
.address-card{border:1px solid #c9e2f6;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 5px 18px #082c610c}
.address-card-media{position:relative;aspect-ratio:2/1;background:#e5f1fa;isolation:isolate}
.address-card-media img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;background:#e5f1fa}
.address-card-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;background:linear-gradient(135deg,#edf7ff,#d6eafa);color:#46627d;font-size:13px}
.address-card-placeholder[hidden]{display:none}
.address-card-placeholder svg{width:60px;height:60px;fill:none;stroke:#46627d;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.address-card-status{position:absolute;z-index:2;top:14px;left:14px;display:inline-flex;align-items:center;gap:7px;background:#fff;color:#082c61;border:1px solid #c9e2f6;border-radius:999px;padding:7px 12px;font-weight:700;font-size:12px;box-shadow:0 2px 9px #0002}
.address-card-status::before{content:"";width:7px;height:7px;border-radius:50%;background:#c48a27}
.address-card-body{padding:20px}
.address-card h3{margin:0 0 6px;font-size:19px;line-height:1.35}
.address-card p{margin:8px 0;line-height:1.5}
.address-card-body>p:first-of-type{color:#587089;font-size:14px}
.property-detail{padding:12px 0;border-top:1px solid #dce9f5;border-bottom:1px solid #dce9f5;font-size:14px}
.property-source{font-size:12px;color:#587089}
.address-card-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}
.address-card-actions button{font-size:13px;padding:9px 12px}
@media print{.address-cards{display:none!important}}

.quote-property-card{margin:20px 0}.quote-property-card .address-card-media{aspect-ratio:3/1;max-height:340px}.quote-property-card h2{margin-top:0}.quote-property-card .grid{margin-top:16px}.quote-property-card .property-detail:empty,.quote-property-card .property-source:empty{display:none}@media(max-width:560px){.quote-property-card .address-card-media{aspect-ratio:2/1}}@media print{.quote-property-card .address-card-media,.quote-property-card .address-card-actions{display:none}.quote-property-card{box-shadow:none}}

.quote-property-card select{width:100%;padding:12px;border:1px solid #b5c9dd;border-radius:8px;background:#fff;color:#082c61;font:inherit}

.quote-property-card{display:grid;grid-template-columns:minmax(240px,32%) minmax(0,1fr);gap:0}.quote-property-card .address-card-media{aspect-ratio:auto;max-height:none;min-height:300px;background:#e5f1fa}.quote-property-card .address-card-media img{object-fit:contain}.quote-property-card .address-card-body{padding:24px}.quote-property-card .grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-property-card .property-source{overflow-wrap:anywhere}@media(max-width:800px){.quote-property-card{grid-template-columns:1fr}.quote-property-card .address-card-media{aspect-ratio:2/1;min-height:0;max-height:320px}}@media(max-width:560px){.quote-property-card .grid{grid-template-columns:1fr}}@media print{.quote-property-card{display:block}}

/* Approved estimator template: main-site blue branding. */
main.estimator-workspace{max-width:1220px;display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px;margin:0 auto 50px;padding:0 20px}
.estimator-workspace #estimate-form{display:contents}
.estimator-hero{grid-column:1/-1;margin:0 -20px;padding:34px 20px;background:#f4fbff;display:flex;align-items:center;justify-content:space-between;gap:20px}
.estimator-hero h1{margin:0 0 10px;color:#062b61;font-size:42px;line-height:1.1}
.estimator-hero p{margin:0;color:#082c61;line-height:1.5}
.estimator-tools{display:flex;gap:18px;flex-wrap:wrap;font-size:14px}
.estimator-tools a{color:#075b9c;text-decoration:none}
#company-header{font-size:13px;margin-top:10px}
#company-header a{color:#075b9c}
.estimator-workspace #account-status,.address-search-panel,.quote-property-card{grid-column:1/-1;margin:0}
.estimator-workspace #account-status{padding:0;font-size:12px}
.estimator-workspace .panel{border-radius:12px;box-shadow:none}
.address-search-panel{background:linear-gradient(110deg,#f4fbff,#eaf6ff);padding:20px;display:grid;grid-template-columns:1.8fr 1fr;gap:12px 24px}
.address-search-panel h2{font-size:18px;margin:0;grid-column:1/-1}
.address-search-panel>.hint{grid-column:1/-1;margin:0}
.address-search-panel>.address-picker{grid-column:1;grid-row:3}
.address-search-panel>.grid{grid-column:2;grid-row:3;grid-template-columns:1fr auto;gap:10px;align-items:end}
.address-search-panel>.grid label{font-size:12px}
.address-search-panel>.grid button{font-size:12px;white-space:nowrap}
.quote-property-card{grid-template-columns:minmax(270px,39%) minmax(0,1fr);padding:12px;border-radius:12px}
.quote-property-card .address-card-media{border-radius:9px;overflow:hidden;min-height:350px;background:#e5f1fa}
.quote-property-card .address-card-body{padding:12px 12px 12px 24px}
.quote-property-card .address-card-status{color:#075b9c}
.quote-property-card .address-card-placeholder{background:linear-gradient(135deg,#edf7ff,#d6eafa)}
.quote-property-card .address-card-status::before{background:#0870b7}
.quote-property-card .property-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 14px}
.quote-property-card .customer-field{grid-column:1/-1}
.quote-property-card .property-fields label:nth-child(3){grid-column:span 2}
.quote-property-card .property-fields input,.quote-property-card select{font-size:14px;padding:12px;color:#082c61;border-color:#b5c9dd}
.quote-property-card h2{font-size:24px}
.quote-property-card .property-detail{border:0;background:#edf7ff;border-radius:8px;padding:12px;color:#075b9c}
.cleaning-tasks-panel{grid-column:1;margin:0;padding:20px;min-width:0}
.cleaning-tasks-panel table{min-width:610px}
.estimator-workspace .summary{grid-column:2;margin:0;border-top:1px solid #c9e2f6;padding:20px;align-self:start;background:#f8fcff}
.summary .section-heading{flex-direction:column;align-items:flex-start}
.summary .section-heading strong{font-size:32px;background:#e9f6ff;border-radius:8px;padding:15px;width:100%;color:#082c61}
.summary dl{grid-template-columns:1fr;font-size:12px;gap:0}
.summary .actions{flex-direction:column}
.summary .fine-print{font-size:11px}
@media(max-width:1000px){main.estimator-workspace{grid-template-columns:1fr}.estimator-workspace .summary,.cleaning-tasks-panel{grid-column:1}.quote-property-card{grid-template-columns:35% 1fr}.estimator-hero h1{font-size:32px}.estimator-hero{align-items:flex-start;flex-direction:column}}
@media(max-width:750px){.quote-property-card{grid-template-columns:1fr}.quote-property-card .address-card-media{aspect-ratio:2/1;min-height:0}.quote-property-card .address-card-body{padding:20px 5px 5px}.address-search-panel{grid-template-columns:1fr}.address-search-panel>.address-picker,.address-search-panel>.grid{grid-column:1;grid-row:auto}}
@media(max-width:560px){.quote-property-card .property-fields{grid-template-columns:1fr}.quote-property-card .property-fields label:nth-child(3){grid-column:auto}.estimator-hero h1{font-size:30px}}
@media print{main.estimator-workspace{display:block}.estimator-workspace #estimate-form{display:block}.estimator-hero,.estimator-tools,.address-search-panel,#account-status{display:none}.quote-property-card{display:block}.quote-property-card .address-card-media{display:none}.quote-property-card .address-card-body{padding:0}.summary .section-heading strong{background:transparent}}

/* Compact address bar and card proportions from the approved design. */
@media(min-width:1001px){.address-search-panel{grid-template-columns:auto minmax(260px,1fr) minmax(260px,330px);align-items:center;gap:14px;padding:18px 20px}.address-search-panel h2{grid-column:1;grid-row:1;margin:0;font-size:18px;white-space:nowrap}.address-search-panel>.address-picker{grid-column:2;grid-row:1}.address-search-panel>.grid{grid-column:3;grid-row:1}.address-search-panel>.hint{grid-column:1/-1;grid-row:2;font-size:12px}.address-picker>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.address-picker>small{font-size:11px}.address-results{top:48px}.quote-property-card .address-card-media{min-height:450px}.estimator-hero h1{font-size:46px}.quote-property-card .property-fields{gap:20px 14px}.quote-property-card .property-fields label{font-size:14px}}

/* Property image above the estimate fields, with neutral surroundings. */
.quote-property-card{display:block;padding:0;overflow:hidden;background:#fff}
.quote-property-card .address-card-media{min-height:0;max-height:none;aspect-ratio:2/1;border-radius:0;background:#fff}
.quote-property-card .address-card-media img{object-fit:contain;background:#fff}
.quote-property-card .address-card-placeholder{background:#fff}
.quote-property-card .address-card-body{padding:24px}
@media(min-width:1001px){.quote-property-card .address-card-media{min-height:0}}
@media print{.quote-property-card .address-card-media{display:none}}

/* Reference layout: photo beside property details, neutral image background. */
.quote-property-card{display:grid;grid-template-columns:minmax(250px,41%) minmax(0,1fr);gap:20px;padding:12px;align-items:stretch}
.quote-property-card .address-card-media{aspect-ratio:auto;min-height:360px;border-radius:9px;background:#fff;overflow:hidden}
.quote-property-card .address-card-media img{object-fit:contain;background:#fff}
.quote-property-card .address-card-body{padding:4px 0}
.quote-property-card h2{margin:0 0 16px}
.quote-property-card .property-fields{margin-top:0;gap:16px 12px}
.quote-property-card .property-detail{margin-bottom:0}
.address-search-panel{align-items:start}
.address-search-panel>.address-picker{min-width:0}
.address-search-panel>.grid{align-items:end;margin:0}
.address-search-panel>.grid>div{display:flex;flex-direction:column;align-items:stretch}
.address-search-panel input,.address-search-panel button{min-height:44px}
@media(min-width:1001px){
 .address-search-panel{grid-template-columns:190px minmax(250px,1fr) 300px;align-items:start}
 .address-search-panel h2{align-self:start;padding-top:12px;white-space:normal;line-height:1.3}
 .address-search-panel>.address-picker,.address-search-panel>.grid{grid-row:1}
 .address-search-panel>.grid label{gap:5px}
 .address-search-panel>.grid label{position:relative;padding-top:0}
 .address-search-panel>.address-picker{padding-top:19px}
 .address-search-panel h2{padding-top:29px}
 .address-search-panel>.grid>div{padding-top:19px}
}
@media(max-width:750px){.quote-property-card{grid-template-columns:1fr;gap:16px}.quote-property-card .address-card-media{aspect-ratio:1/1;min-height:0;max-height:420px}.quote-property-card .address-card-body{padding:0 4px 8px}}
@media print{.quote-property-card{display:block}.quote-property-card .address-card-media{display:none}}

@media(min-width:1001px){
 .address-search-panel>.address-picker{padding-top:0}
 .address-search-panel .address-picker>label{position:static;width:auto;height:auto;overflow:visible;clip-path:none;font-size:12px;line-height:16px}
 .address-search-panel>.grid label{font-size:12px;line-height:16px;gap:8px}
 .address-search-panel>.grid>div{padding-top:24px}
 .address-search-panel h2{padding-top:32px}
}

/* Property photo first at every screen width. */
.quote-property-card{display:flex;flex-direction:column;gap:20px;padding:12px;background:#fff}
.quote-property-card .address-card-media{order:0;width:100%;aspect-ratio:2/1;min-height:0;max-height:420px;background:#fff}
.quote-property-card .address-card-media img{object-fit:contain;background:#fff}
.quote-property-card .address-card-body{order:1;width:100%;padding:4px 8px 12px}
@media(max-width:750px){.quote-property-card .address-card-media{aspect-ratio:1/1;max-height:420px}}
@media print{.quote-property-card .address-card-media{display:none}}

/* Compact property image at the upper left, above the fields. */
.quote-property-card .address-card-media{align-self:flex-start;width:min(100%,320px);aspect-ratio:1/1;min-height:0;max-height:320px}
.quote-property-card .address-card-media img{object-position:left top}

/* Compact photo beside property details, aligned at the top. */
.quote-property-card{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);align-items:start;gap:20px}
.quote-property-card .address-card-media{width:100%;align-self:start;aspect-ratio:1/1;max-height:320px}
.quote-property-card .address-card-body{min-width:0;padding:4px 0 12px}
@media(max-width:750px){.quote-property-card{grid-template-columns:minmax(0,30%) minmax(0,1fr);gap:12px}.quote-property-card .property-fields{grid-template-columns:1fr}.quote-property-card .property-fields label:nth-child(3){grid-column:auto}}
@media print{.quote-property-card{display:block}}

.estimator-tools{gap:10px}.estimator-tools .estimator-tool-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 18px;border:1px solid #075b9c;border-radius:8px;background:#075b9c;color:#fff;font-weight:700;text-decoration:none}.estimator-tools .estimator-tool-button:hover{background:#064d84}.estimator-tools .estimator-tool-button:focus-visible{outline:3px solid #8cd2f4;outline-offset:3px}

/* Phone layout: compact photo, full-width fields, and task cards. */
@media screen and (max-width:750px){
 main.estimator-workspace{padding:0 12px;gap:14px}
 .estimator-hero{margin:0 -12px;padding:24px 12px;gap:16px}
 .estimator-hero h1{font-size:30px}
 .estimator-tools{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .estimator-tools .estimator-tool-button{padding:12px 8px;font-size:14px;text-align:center}
 .address-search-panel{padding:16px;gap:14px}
 .address-search-panel>.address-picker{grid-row:2}
 .address-search-panel>.grid{grid-row:3;grid-template-columns:minmax(0,1fr) auto}
 .address-results{top:70px}
 .quote-property-card{grid-template-columns:96px minmax(0,1fr);padding:14px;gap:14px}
 .quote-property-card .address-card-media{width:96px;height:96px;min-height:0;max-height:96px;grid-column:1;grid-row:1}
 .quote-property-card .address-card-status{top:4px;left:4px;padding:4px 6px;font-size:10px;max-width:90px}
 .quote-property-card .address-card-placeholder svg{width:32px;height:32px}
 .quote-property-card .address-card-placeholder span{font-size:10px;text-align:center;padding:0 4px}
 .quote-property-card .address-card-body{display:contents}
 .quote-property-card .address-card-body>h2{grid-column:2;grid-row:1;align-self:start;font-size:21px;line-height:1.3;margin:8px 0}
 .quote-property-card .property-fields,.quote-property-card .property-detail,.quote-property-card .property-source,.quote-property-card .address-card-actions{grid-column:1/-1;min-width:0}
 .quote-property-card .property-fields{grid-template-columns:1fr;gap:16px}
 .quote-property-card .property-fields label:nth-child(3){grid-column:auto}
 .quote-property-card input,.quote-property-card select,.address-search-panel input{font-size:16px;min-height:44px}
 .property-fields label[hidden]{display:none}
 .cleaning-tasks-panel{padding:16px}
 .cleaning-tasks-panel .section-heading{display:flex;flex-direction:column;align-items:stretch;gap:12px}
 .cleaning-tasks-panel .section-heading p{margin:0;line-height:1.5}
 .cleaning-tasks-panel .actions-inline{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}
 .cleaning-tasks-panel .actions-inline label{display:flex;flex-direction:column;gap:6px;margin:0;min-width:0}
 .cleaning-tasks-panel select{font-size:16px;min-height:44px}
 .cleaning-tasks-panel .table-wrap{overflow:visible;margin-top:18px}
 .cleaning-tasks-panel table,.cleaning-tasks-panel tbody{display:block;min-width:0;width:100%}
 .cleaning-tasks-panel thead{display:none}
 .cleaning-tasks-panel tr{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px;border:1px solid #c9e2f6;border-radius:10px;margin-bottom:12px;background:#fff}
 .cleaning-tasks-panel td{display:flex;flex-direction:column;gap:6px;padding:0;border:0;min-width:0;width:auto}
 .cleaning-tasks-panel td::before{content:attr(data-label);font-size:12px;font-weight:700;color:#46627d}
 .cleaning-tasks-panel td:first-child{grid-column:1/-1;min-width:0}
 .cleaning-tasks-panel td:last-child{justify-content:end;align-items:end}
 .cleaning-tasks-panel td:last-child::before{content:none}
 .cleaning-tasks-panel td input{min-width:0;width:100%;min-height:44px;font-size:16px}
 .cleaning-tasks-panel .remove-task{min-width:44px;min-height:44px}
 .cleaning-tasks-panel .task-hours,.cleaning-tasks-panel .task-area{font-size:17px;font-weight:700}
 .estimator-workspace .summary{padding:18px}
 .summary .actions button{min-height:44px}
}

.property-fields label[hidden]{display:none}

.saved-estimate-row{cursor:pointer}.saved-estimate-row:hover,.saved-estimate-row:focus-within{background:#f1f8fd}
.saved-estimate-row td{overflow-wrap:anywhere}.saved-estimate-row td:last-child{width:auto;text-align:right}
.saved-estimate-row .remove-task{min-height:44px;padding:10px 14px}
.saved-estimate-row a:focus-visible{outline:3px solid #8cd2f4;outline-offset:3px}
@media screen and (max-width:750px){
 .saved-estimates-page{margin:20px auto 40px;padding:0 12px}
 .saved-estimates-page .panel{padding:16px;margin:16px 0}
 .saved-estimates-page .intro{display:flex;flex-wrap:wrap;gap:10px;line-height:1.6}
 .saved-estimates-page .table-wrap{overflow:visible}
 .saved-estimates-page table,.saved-estimates-page tbody{display:block;min-width:0;width:100%}
 .saved-estimates-page thead{display:none}
 .saved-estimate-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px;border:1px solid #c9e2f6;border-radius:10px;margin-bottom:12px}
 .saved-estimate-row td{display:flex;flex-direction:column;gap:4px;min-width:0;padding:0;border:0;width:auto}
 .saved-estimate-row td::before{content:attr(data-label);font-size:12px;font-weight:700;color:#587089}
 .saved-estimate-row td:first-child,.saved-estimate-row td:nth-child(2){grid-column:1/-1;min-width:0}
 .saved-estimate-row td:first-child a{font-size:18px;line-height:1.4}
 .saved-estimate-row td:nth-child(4){grid-column:1}
 .saved-estimate-row td:last-child{grid-column:2;grid-row:3/5;align-self:end}
 .saved-estimate-row td:last-child::before{content:none}
}

@media screen and (max-width:750px){
 .reusable-tasks-panel{padding:16px}
 .reusable-tasks-panel .section-heading{flex-direction:column;align-items:stretch;gap:10px}
 .reusable-tasks-panel .section-heading h2{margin:0}
 .reusable-tasks-panel .section-heading button{min-height:44px}
 .reusable-tasks-panel .table-wrap{overflow:visible}
 .reusable-tasks-panel table,.reusable-tasks-panel tbody{display:block;min-width:0;width:100%}
 .reusable-tasks-panel thead{display:none}
 .reusable-tasks-panel tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;padding:16px;border:1px solid #c9e2f6;border-radius:10px;margin-bottom:14px}
 .reusable-tasks-panel td{display:flex;flex-direction:column;gap:6px;min-width:0;width:auto;padding:0;border:0}
 .reusable-tasks-panel td::before{content:attr(data-label);font-size:13px;font-weight:700;color:#46627d}
 .reusable-tasks-panel td:first-child,.reusable-tasks-panel td.task-categories,.reusable-tasks-panel td:last-child{grid-column:1/-1;min-width:0}
 .reusable-tasks-panel td input:not([type=checkbox]){width:100%;min-width:0;min-height:44px;font-size:16px}
 .reusable-tasks-panel .task-categories{gap:8px}
 .reusable-tasks-panel .task-categories label{min-height:44px;padding:10px;border:1px solid #dce9f5;border-radius:8px;font-size:14px;line-height:1.4}
 .reusable-tasks-panel .task-categories input[type=checkbox]{width:22px!important;height:22px;flex:0 0 22px;margin:0}
 .reusable-tasks-panel td:last-child::before{content:none}
 .reusable-tasks-panel .remove-task{min-height:44px;align-self:flex-end;padding:10px 16px}
}

.labor-rates-panel select{appearance:auto;min-height:44px;width:100%;font:inherit;border:1px solid #b5c9dd;border-radius:8px;padding:11px;background:#fff;color:#082c61}
@media screen and (max-width:750px){
 .labor-rates-panel{padding:16px}
 .labor-rates-panel .table-wrap{overflow:visible}
 .labor-rates-panel table,.labor-rates-panel tbody{display:block;min-width:0;width:100%}
 .labor-rates-panel thead{display:none}
 .labor-rates-panel tr{display:flex;flex-direction:column;gap:14px;padding:16px;border:1px solid #c9e2f6;border-radius:10px;margin-bottom:12px}
 .labor-rates-panel td{display:flex;flex-direction:column;gap:6px;width:100%;min-width:0;border:0;padding:0}
 .labor-rates-panel td::before{content:attr(data-label);font-size:13px;font-weight:700;color:#46627d}
 .labor-rates-panel td:last-child::before{content:none}
 .labor-rates-panel input,.labor-rates-panel select{min-width:0;font-size:16px;min-height:44px}
 .labor-rates-panel .remove-task{align-self:end;min-height:44px}
}

@media screen and (max-width:750px){
 body:has(.labor-rates-panel) main{margin:18px auto 40px;padding:0 12px}
 .labor-rates-panel{padding:16px;min-width:0}
 .labor-rates-panel .section-heading{display:flex;flex-direction:column;align-items:stretch;gap:12px}
 .labor-rates-panel .section-heading h2{margin:0;font-size:23px}
 .labor-rates-panel #add-rate{width:100%;min-height:44px}
 .labor-rates-panel .hint{margin:14px 0;line-height:1.5}
 .labor-rates-panel .table-wrap{width:100%;min-width:0;margin-top:16px;overflow:visible}
 .labor-rates-panel table,.labor-rates-panel tbody{display:block;min-width:0;width:100%;max-width:100%;table-layout:fixed}
 .labor-rates-panel #labor-rates tr{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;width:100%;padding:16px;background:#f8fcff;box-sizing:border-box}
 .labor-rates-panel #labor-rates td{display:flex;flex-direction:column;min-width:0;width:100%;max-width:100%;gap:8px}
 .labor-rates-panel #labor-rates td:first-child,.labor-rates-panel #labor-rates td:last-child{min-width:0;width:100%}
 .labor-rates-panel #labor-rates td::before{font-size:14px}
 .labor-rates-panel #labor-rates select,.labor-rates-panel #labor-rates input{display:block;width:100%;max-width:100%;min-width:0;height:48px;padding:12px 10px;font-size:16px;box-sizing:border-box}
 .labor-rates-panel #labor-rates select{padding-right:28px}
 .labor-rates-panel #labor-rates td:last-child{padding-top:4px;border-top:1px solid #dce9f5}
 .labor-rates-panel #labor-rates .remove-task{align-self:stretch;width:100%;min-height:44px;margin-top:8px}
}

.cleaning-tasks-panel .task-name{width:100%;min-width:0;min-height:44px}.cleaning-tasks-panel .custom-task-name[hidden]{display:none}@media screen and (max-width:750px){.cleaning-tasks-panel td select{width:100%;min-width:0;min-height:48px;font-size:16px}}

/* Estimator preview styling and visible estimate status. */
.estimate-title-row{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:10px}
.estimate-title-row h1{margin:0}
.estimate-status-badge{display:inline-flex;align-items:center;justify-content:center;padding:7px 20px;border:1px solid #d88b00;border-radius:999px;background:#fff6df;color:#a66100;font-size:15px;font-weight:700;line-height:1;white-space:nowrap}
.estimate-status-badge[data-status=quoted]{background:#eaf7ee;border-color:#428658;color:#28663d}
.estimate-status-badge[data-status=archived]{background:#f1f3f5;border-color:#87929c;color:#54616b}
.summary-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}
.summary-title-row h2{font-size:22px;margin:0}
.summary-title-row .estimate-status-badge{padding:6px 12px;font-size:12px}
.draft-summary-note{font-size:13px;line-height:1.5;padding:12px;background:#edf7ff;border-radius:8px;color:#46627d}
.estimator-workspace .summary{background:#fff}
.summary .section-heading strong{padding:8px 0;background:transparent;font-size:32px}
.quote-property-card .property-card-heading{grid-column:1/-1;margin:0;font-size:24px}
@media screen and (min-width:751px){
 .quote-property-card{grid-template-columns:220px minmax(0,1fr);gap:20px;padding:22px}
 .quote-property-card .address-card-media{grid-column:1;grid-row:2;width:220px;max-height:220px}
 .quote-property-card .address-card-body{grid-column:2;grid-row:2;padding:0}
 .quote-property-card .property-fields{gap:16px}
 .cleaning-tasks-panel .section-heading{align-items:start}
 .cleaning-tasks-panel .actions-inline{align-items:end;flex-wrap:nowrap}
 .cleaning-tasks-panel .actions-inline label{min-width:150px}
 .cleaning-tasks-panel .actions-inline button{white-space:nowrap}
}
@media screen and (max-width:750px){
 .estimate-title-row{gap:10px}
 .estimate-title-row h1{font-size:28px}
 .quote-property-card .property-card-heading{grid-column:1/-1;grid-row:1}
 .quote-property-card .address-card-media{grid-row:2}
 .quote-property-card .property-fields{grid-row:3}
}
@media print{.draft-summary-note{background:transparent}.estimate-status-badge{border-color:#777;background:transparent;color:#333}}

.task-totals{font-weight:700;background:#edf7ff}.task-price-per-sqft{white-space:nowrap;font-size:13px}
@media screen and (max-width:750px){
 .cleaning-tasks-panel tfoot{display:block;width:100%}
 .cleaning-tasks-panel tfoot tr{background:#edf7ff}
 .cleaning-tasks-panel tfoot th{grid-column:1/-1;border:0;padding:0;background:transparent}
 .cleaning-tasks-panel tfoot td:last-child{display:none}
}

.cleaning-task-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:18px;margin-top:20px;border:1px solid #c9e2f6;border-radius:10px;background:#edf7ff}
.cleaning-task-totals h3{grid-column:1/-1;margin:0;font-size:18px}
.cleaning-task-totals div{display:flex;flex-direction:column;gap:7px;min-width:0}
.cleaning-task-totals span{font-size:12px;color:#46627d}.cleaning-task-totals strong{font-size:18px;overflow-wrap:anywhere}
@media screen and (max-width:750px){.cleaning-task-totals{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px;gap:18px 12px}}

/* Compact property selection and pale blue estimate panels. */
.estimator-workspace .quote-property-card,.estimator-workspace .cleaning-tasks-panel,.estimator-workspace .summary{background:#edf7ff}
#company-header{display:none}
.address-search-panel #search-radius{width:90px;max-width:100%;min-height:42px;padding:9px 10px}
.address-search-panel .address-picker>label{position:static;width:auto;height:auto;overflow:visible;clip-path:none;font-size:13px;line-height:18px}
.address-search-panel>.grid label{font-size:12px;line-height:18px;gap:8px}
.address-search-panel>.grid>div{padding-top:26px}
.address-search-panel h2{padding:0;margin:0;line-height:1.3}
@media screen and (min-width:1001px){
 .address-search-panel{grid-template-columns:190px minmax(0,1fr) 235px;gap:16px;align-items:start;padding:18px 20px}
 .address-search-panel h2{grid-column:1;grid-row:1;align-self:start;margin-top:27px}
 .address-search-panel>.address-picker{grid-column:2;grid-row:1;padding:0}
 .address-search-panel>.grid{grid-column:3;grid-row:1;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start}
 .address-search-panel .address-results{top:70px}
}
@media screen and (max-width:1000px){
 .address-search-panel>.grid{grid-template-columns:minmax(0,1fr) auto}
 .address-search-panel>.grid>div{padding-top:26px}
 .address-search-panel #search-radius{width:90px}
}
@media print{.estimator-workspace .quote-property-card,.estimator-workspace .cleaning-tasks-panel,.estimator-workspace .summary{background:#fff}}

.estimator-workspace [data-estimate-detail][hidden],#property-search-panel[hidden],#add-property-vanity[hidden]{display:none!important}
.add-property-vanity{grid-column:1/-1;text-align:center;padding:64px 24px!important;background:#edf7ff;border:1px dashed #8fbfe0!important;margin:0!important}
.add-property-vanity svg{color:#075b9c;margin-bottom:14px}.add-property-vanity h2{font-size:28px;margin:0 0 12px}
.add-property-vanity p{color:#587089;margin:0 0 24px;line-height:1.5}.add-property-vanity button{min-height:48px;padding:12px 24px}
@media screen and (max-width:750px){.add-property-vanity{padding:44px 18px!important}.add-property-vanity button{width:100%}}

.estimate-status-badge[hidden]{display:none}
