: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 .property-address-field{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 .property-address-field{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 .property-address-field{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 .property-address-field{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}

/* Quote workspace: type, address search, property list and selected property. */
.estimate-mode-panel{grid-column:1/-1;display:flex;align-items:center;gap:20px;background:#edf7ff;border:1px solid #bdddf5}
.estimate-mode-panel h2{margin:0;font-size:20px}.estimate-mode-panel label{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #bed7eb;border-radius:8px;padding:18px 24px;min-width:160px;cursor:pointer}
.estimate-mode-panel label:has(input:checked){background:#dff0ff;border-color:#0876df}.estimate-mode-panel input{width:20px;height:20px;margin:0}.estimate-mode-panel p{margin:0;font-size:14px}
#quote-properties[hidden]{display:none!important}.quote-properties{grid-column:1;grid-row:4 / span 3;background:#f0f8ff;align-self:stretch}.quote-properties h2{font-size:20px;margin-top:0}
.quote-property-entry{display:flex;align-items:center;gap:4px;margin:12px 0;padding:8px;border:1px solid #bfd9ed;border-radius:8px;background:#fff}.quote-property-entry:has([aria-pressed="true"]){border:2px solid #0876df;background:#e0f1ff}
.quote-property-select{flex:1;min-width:0;border:0;background:transparent;color:#062b59;text-align:left;padding:8px}.quote-property-select strong,.quote-property-select small{display:block;overflow-wrap:anywhere}.quote-property-select small{margin-top:6px;color:#526982}.quote-property-remove{border:1px solid #ed6659;color:#c43025;background:white;border-radius:50%;width:28px;height:28px;padding:0;flex:none}
.estimator-workspace{grid-template-columns: minmax(0,1fr)}
.estimator-workspace .summary{grid-column:1/-1;position:static}.estimate-mode-panel,.address-search-panel,.add-property-vanity{grid-column:1/-1}
@media(min-width:1000px){.estimator-workspace.multi-quote{grid-template-columns:280px minmax(0,1fr)}.multi-quote .quote-property-card,.multi-quote .cleaning-tasks-panel{grid-column:2}.multi-quote .quote-property-card{grid-row:4}.multi-quote .cleaning-tasks-panel{grid-row:5}.multi-quote .summary{grid-column:2}.multi-quote .quote-property-card .property-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.address-search-panel{grid-template-columns:1fr 235px}.address-search-panel h2{grid-column:1;grid-row:1;margin:0}.address-search-panel>.address-picker{grid-column:1;grid-row:2}.address-search-panel>.grid{grid-column:2;grid-row:1 / span 2}}
@media(max-width:999px){.quote-properties{grid-column:1/-1;grid-row:auto}.estimate-mode-panel{flex-wrap:wrap}.estimate-mode-panel h2,.estimate-mode-panel p{width:100%}.estimate-mode-panel label{flex:1;min-width:0;padding:14px}.quote-properties #quote-property-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}}
@media print{.estimate-mode-panel,.quote-properties{display:none!important}.multi-quote .quote-property-card,.multi-quote .cleaning-tasks-panel,.multi-quote .summary{grid-column:1/-1!important;grid-row:auto!important}}

/* Summary is a full-width quote footer, not the old sidebar. */
main.estimator-workspace:not(.multi-quote){grid-template-columns:minmax(0,1fr)}
.estimator-workspace .summary{min-width:0;padding:24px;grid-column:1/-1}
.estimator-workspace .summary .section-heading{flex-direction:row;flex-wrap:wrap;align-items:center;gap:16px}
.estimator-workspace .summary .summary-title-row{width:auto;flex:1;min-width:0;justify-content:flex-start;flex-wrap:wrap;gap:12px}
.estimator-workspace .summary .section-heading>strong{width:auto;flex:none;font-size:clamp(24px,2.5vw,34px);padding:0;white-space:nowrap}
.estimator-workspace .summary dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 24px;font-size:14px;margin:22px 0}
.estimator-workspace .summary dl>div{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:14px 0;min-width:0}
.estimator-workspace .summary dd{font-size:20px;overflow-wrap:anywhere}
.estimator-workspace .summary .actions{flex-direction:row;gap:10px}.summary .actions button{min-height:44px}
#quote-property-count:empty,#quote-breakdown:empty{display:none}#quote-property-count{font-size:14px;font-weight:600;color:#526982}
.quote-summary-property{display:block;padding:12px 14px;margin:8px 0;border:1px solid #bfd9ed;border-radius:8px;background:#fff;overflow-wrap:anywhere;line-height:1.5}
@media(min-width:1000px){.estimator-workspace.multi-quote .summary{grid-column:2;grid-row:6}}
@media(max-width:750px){.estimator-workspace .summary{padding:18px}.estimator-workspace .summary dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.estimator-workspace .summary .section-heading>strong{width:100%;white-space:normal}.summary-title-row h2{font-size:21px}.estimator-workspace .summary .actions{display:grid;grid-template-columns:1fr}.estimator-workspace .summary .actions button{width:100%}}
@media(max-width:400px){.estimator-workspace .summary dl{grid-template-columns:1fr}}
@media print{.estimator-workspace .summary{grid-row:auto!important}.estimator-workspace .summary .actions{display:none!important}}
/* Draft actions and property composition follow the approved preview. */
#create-quote{background:#0064ce;border-color:#0064ce}#return-to-draft[hidden]{display:none!important}
.estimate-status-badge[data-status="quoted"]{background:#e2f2ff;color:#075b9c;border-color:#a4d4f3}
@media(min-width:1000px){.quote-property-card{grid-template-columns:240px minmax(0,1fr)}.quote-property-card .property-card-heading{grid-column:2;grid-row:1}.quote-property-card .address-card-media{grid-column:1;grid-row:1 / span 2;width:240px;max-height:300px;align-self:start}.quote-property-card .address-card-body{grid-column:2;grid-row:2}.quote-property-card .property-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){.estimator-workspace .summary .actions{grid-template-columns:1fr 1fr}.estimator-workspace .summary .actions #return-to-draft{grid-column:1/-1}}
.saved-estimates-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.saved-estimates-heading h2{margin:0}.saved-estimates-heading label{display:flex;align-items:center;gap:10px;font-weight:700;font-size:14px}.saved-estimates-heading select{width:180px}.saved-estimate-row[hidden]{display:none!important}@media(max-width:560px){.saved-estimates-heading label{width:100%}.saved-estimates-heading select{flex:1;min-height:44px}}

.estimate-mode-panel #new-quote{margin-left:auto;flex:none;white-space:nowrap;min-height:44px}
@media(max-width:999px){.estimate-mode-panel #new-quote{margin-left:auto;order:3}.estimate-mode-panel p{order:4}.estimate-mode-panel label{order:2}.estimate-mode-panel h2{order:1}}
@media(max-width:560px){.estimate-mode-panel #new-quote{width:100%;margin-left:0}}

.property-schedule-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.quote-property-card .property-schedule-heading h2{margin:0;font-size:inherit}.add-to-list{white-space:nowrap;min-height:44px}.add-to-list[hidden]{display:none!important}
@media(max-width:750px){.estimator-workspace .summary .actions #add-to-list-bottom{grid-column:1/-1}.property-schedule-heading{gap:10px}.property-schedule-heading .add-to-list{margin-left:auto}}

.quote-property-card .property-fields .property-address-field{grid-column:1/-1}

.quote-property-card .property-fields .missing-property-field{border:2px solid #ba3d30;background:#fff3ef;box-shadow:0 0 0 2px #ba3d3015}
.quote-property-entry.missing-property-data{border:2px solid #ba3d30;background:#fff3ef}
.missing-details-label{display:block;color:#9b2d22;font-size:12px;margin-top:4px}

.customer-details-card{grid-column:1/-1;background:#edf7ff}.customer-details-card .grid{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-details-card h3{margin:20px 0 12px}@media(max-width:750px){.customer-details-card .grid{grid-template-columns:1fr}}


/* Keep property lookup immediately below customer details in multi-unit quotes. */
@media screen{.multi-quote .estimate-mode-panel{grid-row:1}.multi-quote .customer-details-card{grid-row:2}.multi-quote #property-search-panel{grid-column:1/-1;grid-row:3}}

.quote-customer-extra{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;margin-top:16px;overflow-wrap:anywhere}.quote-customer-extra p{margin:0;white-space:pre-wrap}.quote-customer-logo{width:120px;height:80px;object-fit:contain;background:white;border-radius:8px}

.estimator-workspace .panel,.estimator-workspace .address-card{background:#edf7ff}
.customer-details-logo{margin-bottom:16px}.customer-details-logo[hidden]{display:none!important}


/* Keep the manual fallback compact beside the address search. */
.address-search-panel .address-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;align-items:center}
.address-search-panel .address-picker>label{grid-column:1/-1}
.address-search-panel #address-search{grid-column:1;grid-row:2;min-width:0;width:100%;margin:0}
.address-search-panel #add-address-manually{grid-column:2;grid-row:2;justify-self:end;align-self:center;min-height:34px;width:auto;margin:0;padding:6px 10px;font-size:12px;line-height:1.3;white-space:nowrap}
.address-search-panel #address-status{grid-column:1/-1}
@media(max-width:480px){.address-search-panel #add-address-manually{max-width:110px;white-space:normal;padding:6px 8px}}


.cleaning-type-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.cleaning-type-buttons button[aria-pressed="false"]{background:#eaf5ff;color:#12456d;border:1px solid #9cc4df}.cleaning-type-buttons button[aria-pressed="true"]{background:#075d96;color:white}.turnover-scope .table-wrap,.turnover-scope .hint,.turnover-scope .cleaning-task-totals,.turnover-scope .section-heading p{display:none}

.estimate-mode-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.estimate-mode-buttons button[aria-pressed="false"]{background:#eaf5ff;color:#12456d;border:1px solid #9cc4df}.estimate-mode-buttons button[aria-pressed="true"]{background:#075d96;color:white}.estimate-mode-buttons button:disabled{opacity:.5;cursor:not-allowed}

.property-notes-field{margin-top:20px}.property-notes-field>label{display:block;font-weight:700;font-size:14px;margin-bottom:8px}.property-notes-input{position:relative}.property-notes-input textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:112px;font:inherit;font-size:14px;line-height:1.5;color:#082c61;background:white;border:1px solid #b5c9dd;border-radius:8px;padding:12px 60px 12px 12px}.property-notes-input textarea:focus{outline:3px solid #8cd2f4;outline-offset:2px}.property-notes-input .notes-speech-button{position:absolute;top:6px;right:6px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:6px;background:#edf7ff;color:#075b9c}.notes-speech-button[aria-pressed="true"]{background:#075b9c!important;color:#fff!important}.notes-speech-button:disabled{opacity:.45;cursor:default}#property-notes-speech-status:empty{display:none}@media(max-width:750px){.property-notes-input textarea{font-size:16px}}@media print{.notes-speech-button,#property-notes-speech-status{display:none!important}}

.property-notes-input .notes-speech-button,.property-notes-input .notes-speech-button[aria-pressed="true"]{background:transparent!important;color:#075b9c!important}.property-notes-input .notes-speech-button[aria-pressed="true"]{box-shadow:inset 0 0 0 2px #075b9c}

@media screen and (max-width:750px){.property-notes-field{width:100%;min-width:0}.property-notes-input textarea{min-height:220px;font-size:16px;line-height:1.6;padding:14px 60px 14px 14px}}

@media screen and (max-width:750px){.quote-property-card .property-notes-field{grid-column:1/-1;width:100%;min-width:0}.property-notes-input{width:100%;min-width:0}}

.apartment-unit-picker{grid-column:1/-1;width:100%;margin-top:20px}.apartment-unit-picker[hidden]{display:none!important}.apartment-unit-picker label{display:block;font-size:14px;font-weight:700}.apartment-unit-picker input{margin-top:8px}.apartment-unit-picker h3{margin:0 0 12px}

/* Property photo belongs below the search-radius controls. */
#property-search-panel>.grid{grid-template-columns:minmax(0,1fr);align-content:start}#property-search-panel #property-card-media{width:100%;aspect-ratio:4/3;min-height:0;max-height:none;border-radius:8px;overflow:hidden}#property-search-panel #property-card-media:empty{display:none}#property-search-panel .address-card-actions{margin-top:0}
.estimator-workspace .quote-property-card{display:block;grid-template-columns:none}.estimator-workspace .quote-property-card .property-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.quote-property-card .property-schedule-heading{padding:24px 24px 0}.estimator-workspace .quote-property-card .address-card-body{display:block;width:100%;min-width:0;padding:24px}
@media(max-width:999px){.estimator-workspace .quote-property-card .property-fields{grid-template-columns:repeat(2,minmax(0,1fr))}#property-search-panel #property-card-media{max-width:400px}}
@media(max-width:600px){.estimator-workspace .quote-property-card .property-fields{grid-template-columns:minmax(0,1fr)}.quote-property-card .property-schedule-heading{padding:16px 16px 0}}
@media print{#property-search-panel #property-card-media{display:none}}

.estimator-workspace .summary dl[hidden]{display:none!important}.quote-summary-unit{margin:6px 0 6px 24px;font-size:14px}

.apartment-unit-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr) minmax(0,1fr);gap:12px;align-items:end}.apartment-unit-row label{min-width:0;display:flex;flex-direction:column;gap:8px}.apartment-unit-row input,.apartment-unit-row select{width:100%;min-width:0;box-sizing:border-box}@media(max-width:600px){.apartment-unit-row{gap:8px}.apartment-unit-row label{font-size:12px}.apartment-unit-row input,.apartment-unit-row select{padding:8px 4px;font-size:16px}}

.apartment-unit-line{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr) minmax(0,1fr) auto;padding:12px 0;border-top:1px solid #bdd9ef}.apartment-unit-line button{padding:10px;font-size:13px}@media(max-width:600px){.apartment-unit-line{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr) minmax(0,1fr)}.apartment-unit-line button{grid-column:3;justify-self:end}}

/* Compact, aligned property search and schedule cards. */
@media screen{
#property-search-panel{padding:16px;gap:12px 18px;align-items:start;grid-template-columns:minmax(0,1fr) 260px}
#property-search-panel h2{grid-column:1;grid-row:1;margin:0;white-space:normal;font-size:18px;line-height:1.35}
#property-search-panel>.address-picker{grid-column:1;grid-row:2;align-self:start;align-content:start;margin:0}
#property-search-panel>.grid{grid-column:2;grid-row:1 / span 2;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin:0}
#property-search-panel>.grid>label{font-size:13px;line-height:1.35;margin:0}
#property-search-panel #search-radius{margin:6px 0 0;padding:9px;min-height:38px}
#property-search-panel #save-search-radius{margin:0;min-height:38px;padding:8px 12px}
#property-search-panel #search-radius-status:empty{display:none}
#property-search-panel #property-card-media{grid-column:1/-1;aspect-ratio:16/9;max-width:none;margin:0}
#property-search-panel .address-card-actions{grid-column:1/-1;margin:0}
#property-search-panel .address-card-actions:not(:has(button:not([hidden]))){display:none}
#property-search-panel .address-picker>label{position:static;clip-path:none;overflow:visible;width:auto;height:auto;margin:0;font-size:13px}
#property-search-panel #address-search{min-height:40px;padding:10px}
#property-search-panel #address-status{font-size:12px;line-height:1.4;margin:0}
.estimator-workspace .quote-property-card{padding:0}
.quote-property-card .property-schedule-heading{padding:16px 16px 0;gap:12px;margin:0}
.estimator-workspace .quote-property-card .address-card-body{padding:14px 16px 16px}
.estimator-workspace .quote-property-card .property-fields{margin:0;gap:12px 16px;align-items:start}
.quote-property-card .property-fields label{font-size:13px;line-height:1.4;gap:6px}
.quote-property-card .property-fields input,.quote-property-card .property-fields select{margin:0;min-height:40px;padding:9px 10px;box-sizing:border-box;width:100%}
.quote-property-card .property-fields small{font-size:12px;line-height:1.4;margin:0}
.quote-property-card .property-detail,.quote-property-card .property-source{font-size:12px;line-height:1.4;margin:10px 0 0}
.quote-property-card .address-card-actions{margin-top:10px}
.quote-property-card .address-card-actions:not(:has(button:not([hidden]))){display:none}
.apartment-unit-picker{margin-top:16px;padding-top:14px;border-top:1px solid #bdd9ef}
.apartment-unit-picker h3{font-size:16px;margin:0 0 10px}
.apartment-unit-picker .hint{font-size:12px;line-height:1.4;margin:10px 0}
.apartment-unit-row{gap:10px;align-items:end}
.apartment-unit-row label{font-size:13px;line-height:1.4;gap:6px}
.apartment-unit-row input,.apartment-unit-row select{margin:0;min-height:40px;padding:9px 10px}
.apartment-unit-line{padding:10px 0}
#apartment-units-status:empty{display:none}
.quote-property-card .property-notes-field{margin-top:16px}
}
@media screen and (max-width:750px){
#property-search-panel{grid-template-columns:minmax(0,1fr);gap:12px}
#property-search-panel h2,#property-search-panel>.address-picker,#property-search-panel>.grid{grid-column:1;grid-row:auto}
#property-search-panel>.grid{grid-template-columns:minmax(0,1fr) auto}
#property-search-panel #property-card-media{max-height:220px;aspect-ratio:2/1}
.quote-property-card .property-fields input,.quote-property-card .property-fields select,.apartment-unit-row input,.apartment-unit-row select{font-size:16px;min-height:44px}
}
@media screen and (max-width:600px){.apartment-unit-row{gap:8px}.apartment-unit-row label{font-size:12px}.apartment-unit-row input,.apartment-unit-row select{padding:8px 4px}}

.property-locality-fields{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:10px}.property-locality-fields label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:13px}.property-locality-fields input{width:100%;min-width:0;box-sizing:border-box;padding:9px 10px}.quote-property-card .property-address-line{grid-column:1/-1;display:flex;flex-direction:column;gap:6px}.property-address-line>span{font-size:13px;font-weight:700}.property-address-line output{font-size:16px;line-height:1.4;overflow-wrap:anywhere}.property-address-line input[type=hidden]{display:none!important}@media(max-width:750px){.property-locality-fields input{font-size:16px;min-height:44px}}

/* Keep estimator choices in label-first groups on every screen size. */
.estimate-mode-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 24px;padding:20px}.estimate-mode-panel .estimate-choice-group{min-width:0}.estimate-mode-panel .estimate-choice-group h2{font-size:14px;margin:0 0 8px;width:auto;line-height:1.3}.estimate-mode-panel .cleaning-type-buttons,.estimate-mode-panel .estimate-mode-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}.estimate-mode-panel .cleaning-type-buttons button,.estimate-mode-panel .estimate-mode-buttons button{min-width:0;min-height:44px;padding:10px 12px;font-size:14px;line-height:1.3}.estimate-mode-toolbar{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #c9e2f6;padding-top:12px}.estimate-mode-panel .estimate-mode-toolbar #new-quote{width:auto;order:0;margin:0;padding:10px 16px;font-size:14px}.estimate-mode-panel #estimate-source{font-size:12px}.estimate-mode-panel>p{grid-column:1/-1;order:0;font-size:13px;line-height:1.45;margin:0;color:#587089}@media(max-width:600px){.estimate-mode-panel{grid-template-columns:minmax(0,1fr);padding:14px;gap:14px}.estimate-mode-panel .cleaning-type-buttons{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}.estimate-mode-panel .cleaning-type-buttons button,.estimate-mode-panel .estimate-mode-buttons button{font-size:14px;min-height:48px;padding:9px 10px}.estimate-mode-panel .estimate-mode-toolbar #new-quote{min-height:44px}.estimate-mode-panel>p{font-size:12px}}

.quote-customer-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.quote-customer-heading h2{margin:0}.quote-customer-actions{display:flex;gap:4px}.quote-customer-actions button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;background:transparent;color:#075b9c;border:0}.quote-customer-actions button:hover{background:transparent}.quote-customer-read{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;margin:14px 0 0}.quote-customer-read dt{font-size:12px;font-weight:700;color:#587089}.quote-customer-read dd{margin:4px 0 0;overflow-wrap:anywhere;white-space:pre-wrap}#quote-customer-fields[hidden],#quote-customer-view[hidden],#quote-customer-cancel[hidden]{display:none!important}#quote-customer-status:empty{display:none}#quote-customer-fields{margin-top:14px}#quote-customer-search{margin-top:6px}#quote-customer-fields h3{margin-top:18px}@media(max-width:600px){.quote-customer-read{grid-template-columns:1fr;gap:10px}.quote-customer-heading h2{font-size:20px}}
@media screen and (max-width:750px){
.estimator-workspace{padding:0 10px;margin-top:14px;gap:12px}.estimator-workspace .panel{padding:14px;margin:0 0 12px;border-radius:12px}.estimator-workspace .panel h2{font-size:20px;margin-bottom:12px}.estimator-workspace .quote-customer-heading h2{margin-bottom:0}.estimator-workspace .estimate-choice-group h2{font-size:14px;margin-bottom:8px}.estimator-workspace .grid{gap:10px 12px}.estimator-workspace .grid label{font-size:12px;gap:5px}.estimator-workspace input,.estimator-workspace select{font-size:16px;min-height:44px;padding:9px 10px}.estimator-workspace small,.estimator-workspace .hint{font-size:12px;line-height:1.4}.quote-property-card{border-radius:12px;margin-bottom:12px}.quote-property-card .property-card-heading{padding:12px 14px;gap:10px}.quote-property-card .property-card-heading h2{font-size:20px;line-height:1.25;margin:0}.quote-property-card .address-card-body{padding:12px 14px}.quote-property-card .property-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.quote-property-card .property-fields .customer-field,.quote-property-card .property-address-line,.quote-property-card .property-fields label:has(select[name=hourlyRate]),.quote-property-card .property-fields label:has(select[name=moveInItem]){grid-column:1/-1}.quote-property-card .property-fields label{font-size:12px;line-height:1.3;gap:5px;min-width:0}.quote-property-card .property-fields small{font-size:11px;line-height:1.35}.quote-property-card .property-address-line output{font-size:14px;line-height:1.4}.quote-property-card .address-card-actions{margin:10px 0;gap:8px}.quote-property-card .address-card-actions:has(>button[hidden]):not(:has(>button:not([hidden]))){display:none}.quote-property-card .apartment-unit-picker{margin-top:12px;padding-top:12px}.quote-property-card .apartment-unit-picker h3{font-size:15px;margin-bottom:8px}.quote-property-card .apartment-unit-row{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr) minmax(0,.8fr);gap:6px}.quote-property-card .apartment-unit-row label{font-size:11px;gap:5px}.quote-property-card .apartment-unit-row input,.quote-property-card .apartment-unit-row select{padding:8px 5px;font-size:16px}.quote-property-card .apartment-unit-line{gap:6px;padding:8px 0}.quote-property-card .property-notes-field{margin-top:12px}.quote-property-card .property-notes-field>label{font-size:13px}.quote-property-card .property-notes-field textarea{font-size:16px;min-height:220px}.estimator-workspace .summary dl{gap:6px}.estimator-workspace .summary dl div{padding:8px 0}.estimator-workspace .actions{gap:8px;margin-top:12px}.estimator-workspace .actions button{font-size:14px;min-height:44px}.estimator-workspace #manual-address-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.estimator-workspace #property-search-panel h2{font-size:19px;line-height:1.3}.estimator-workspace #property-search-panel{gap:10px}
}
/* Mobile address selection follows the user's task before auxiliary controls. */
@media screen and (max-width:750px){
.estimator-workspace #property-search-panel{display:grid;grid-template-columns:minmax(0,1fr);padding:14px;gap:12px}.estimator-workspace #property-search-panel[hidden]{display:none!important}.estimator-workspace #property-search-panel>h2{grid-column:1;grid-row:1;margin:0;font-size:18px;line-height:1.3}.estimator-workspace #property-search-panel>.address-picker{grid-column:1;grid-row:2;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:0}.estimator-workspace #property-search-panel .address-picker>label{grid-column:1;grid-row:1;font-size:12px;font-weight:700}.estimator-workspace #property-search-panel #address-search{grid-column:1;grid-row:2;width:100%;height:44px;min-height:44px;font-size:16px;font-weight:400;padding:9px 10px}.estimator-workspace #property-search-panel #add-address-manually{grid-column:1;grid-row:3;justify-self:end;max-width:none;width:auto;min-height:44px;white-space:nowrap;font-size:12px;padding:8px 10px;margin:0}.estimator-workspace #property-search-panel #manual-address-fields{grid-column:1;grid-row:4;gap:8px 10px;margin:0}.estimator-workspace #property-search-panel #manual-address-fields label{font-size:12px;gap:4px}.estimator-workspace #property-search-panel #manual-address-fields input{height:44px;min-height:44px;padding:9px 10px;font-size:16px;font-weight:400}.estimator-workspace #property-search-panel #manual-address-fields>button{grid-column:1/-1;min-height:44px;padding:8px 12px;font-size:13px}.estimator-workspace #property-search-panel #address-status{grid-column:1;grid-row:5;font-size:11px;line-height:1.4}.estimator-workspace #property-search-panel>.grid{grid-column:1;grid-row:3;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding-top:12px;border-top:1px solid #c9e2f6}.estimator-workspace #property-search-panel>.grid>div{padding-top:0}.estimator-workspace #property-search-panel>.grid>label{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:12px;line-height:1.3;min-width:0}.estimator-workspace #property-search-panel #search-radius{width:72px;flex:0 0 72px;height:44px;min-height:44px;margin:0;font-size:16px;font-weight:400;padding:8px}.estimator-workspace #property-search-panel #save-search-radius{height:44px;min-height:44px;padding:8px 10px;font-size:12px;white-space:nowrap}.estimator-workspace #property-search-panel #property-card-media{grid-column:1/-1;aspect-ratio:auto;height:150px;min-height:0;max-height:150px;margin:0;padding:0}.estimator-workspace #property-search-panel #property-card-media img{width:100%;height:100%;object-fit:cover;object-position:50% 35%}.estimator-workspace #property-search-panel .address-card-status{font-size:11px;line-height:1.3;padding:6px 9px;top:8px;left:8px}.estimator-workspace #property-search-panel .address-card-actions{padding:0;margin:0;justify-content:flex-end}.estimator-workspace #property-search-panel #adjust-property-image{min-height:44px;padding:8px 4px;font-size:12px;background:transparent;border:0;width:auto}.estimator-workspace #property-search-panel #search-radius-status{display:block;max-width:120px;font-size:11px}.estimator-workspace #property-search-panel #search-radius-status:empty{display:none}
}

.reusable-tasks-panel .task-name-control{display:flex;align-items:center;gap:10px;min-width:0}
.reusable-tasks-panel .task-name-control input{min-width:0;flex:1;width:0}
.reusable-tasks-panel .task-reorder-handle{flex:0 0 44px;min-width:44px;min-height:44px;padding:8px;touch-action:none;cursor:grab;user-select:none;font-size:22px}
.reusable-tasks-panel .task-reorder-handle[hidden]{display:none!important}
.reusable-tasks-panel .task-area-control{display:flex;align-items:center;gap:8px;min-width:0}
.reusable-tasks-panel .task-area-control input{min-width:0;flex:1;appearance:textfield;-moz-appearance:textfield}
.reusable-tasks-panel .task-area-control input::-webkit-inner-spin-button,.reusable-tasks-panel .task-area-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.reusable-tasks-panel .task-area-buttons{display:flex;align-items:center;gap:4px}
.reusable-tasks-panel .task-area-buttons button{min-width:28px;min-height:28px;width:28px;height:28px;padding:0;border:0;border-radius:0;background:transparent;color:#075b9c;box-shadow:none;font-size:20px;font-weight:500}
.reusable-tasks-panel .task-area-buttons button:hover{color:#082c61;background:transparent}
@media(pointer:coarse){.reusable-tasks-panel .task-area-buttons button{min-width:44px;min-height:44px;width:44px;height:44px}}
.reusable-tasks-panel tr.task-reordering{outline:2px solid #075b9c;outline-offset:-2px;background:#dceefa}
.reusable-tasks-panel tr.task-reordering .task-reorder-handle{cursor:grabbing}


/* Same-address items belong to Property and schedule. */
.workspace-page .property-schedule-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;min-width:0}
.workspace-page #add-quote-items{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;background:#fff;color:#075b9c;border:1px solid #b5c9dd;border-radius:6px;white-space:nowrap;font-size:13px;line-height:1.3}
.workspace-page #same-address-item-picker{margin:0 0 18px;padding:16px;background:#f2f9fe;border:1px solid #c9e2f6;border-radius:8px;color:#153b60}
.workspace-page #same-address-item-picker[hidden]{display:none!important}
.workspace-page #same-address-item-picker h2{margin:0 0 10px;font-size:16px}
.workspace-page #same-address-item-picker>.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.workspace-page #same-address-item-picker label{min-width:0}
.workspace-page #same-address-item-picker select{width:100%;min-width:0;background:#fff;color:#153b60}
.workspace-page #cancel-same-address-item{background:#fff;color:#075b9c;border:1px solid #b5c9dd}
@media(max-width:600px){.workspace-page .property-schedule-actions{width:100%;justify-content:flex-start}.workspace-page #same-address-item-picker>.grid{grid-template-columns:minmax(0,1fr)}}

#property-card-media .google-best-streetview{width:100%;height:100%;min-height:100%}

#property-card-media .google-place-embed{width:100%;height:100%;min-height:100%;border:0;display:block}

#property-card-media{position:relative}#property-card-media .parcel-map-marker{position:absolute;left:50%;top:50%;transform:translate(-50%,-100%);z-index:5;pointer-events:none;display:flex;align-items:center;gap:6px;font-weight:800;color:#a3261a;text-shadow:0 1px 2px #fff}#property-card-media .parcel-map-marker span{width:18px;height:18px;border-radius:50% 50% 50% 0;background:#c84632;transform:rotate(-45deg);box-shadow:0 1px 3px #666}#property-card-media .parcel-map-marker span:after{content:'';display:block;width:6px;height:6px;margin:6px;border-radius:50%;background:#8e2115}
