.estimate-editor-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:22px 0 14px}
.estimate-editor-intro h3,.estimate-photo-heading h3{margin:0 0 6px;font-size:17px}
.estimate-editor-intro p,.estimate-photo-heading p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}
.estimate-editor-intro .button{font-size:12px;flex-shrink:0;padding:9px 12px}
.estimate-lines{display:grid;gap:12px}
.estimate-line{min-width:0;margin:0;border:1px solid var(--line);border-radius:12px;padding:14px;background:#181a1e}
.estimate-line legend{font-weight:650;padding:0 5px;color:var(--text);font-size:14px}
.estimate-line-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px;color:var(--muted);font-size:11px}
.estimate-line-head output{color:var(--amber);font-size:13px;font-weight:650}
.estimate-line .fields{gap:12px}
.estimate-line .field{font-size:12px}
.estimate-line.is-adjusted{border-color:#786030}
.estimate-rate-note{color:var(--amber);font-size:11px;min-height:15px;display:block;margin-top:9px}
.estimate-photo-section{margin:22px 0}
.estimate-photo-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.estimate-photo-heading .button{font-size:12px;white-space:nowrap;padding:9px 12px}
.estimate-photo-section .estimate-photo-heading p{font-size:11px}
.estimate-review-table td:first-child{padding-right:14px}
.estimate-review-table td:first-child small{display:block;margin-top:6px;font-size:10px;color:var(--muted);line-height:1.5}
.estimate-review-table td:nth-child(2){white-space:nowrap}
.estimate-review-actions{margin:16px 0 22px}
.estimate-recipient{display:grid;grid-template-columns:24px minmax(0,1fr);gap:6px 10px;align-items:center;padding:12px 0;min-width:0}
.estimate-recipient input[type=checkbox]{width:20px;height:20px;min-height:20px;padding:0;accent-color:var(--amber)}
.estimate-recipient span,.estimate-recipient small{overflow-wrap:anywhere}.estimate-recipient small{grid-column:2;color:var(--muted);line-height:1.5}
.estimate-editor-notes{margin-top:18px}
.estimate-revision-note{border-left:2px solid var(--amber);padding-left:12px;color:var(--muted);font-size:12px;line-height:1.6}
@media(max-width:600px){.estimate-line{padding:12px}.estimate-line .field input{padding:11px 9px}.estimate-editor-intro{gap:10px}.estimate-editor-intro p{font-size:11px}.estimate-photo-heading{align-items:flex-start}.estimate-photo-heading .button{white-space:normal}.estimate-review-table{font-size:12px}}

.estimate-optional{margin-top:18px}.estimate-optional summary{padding:14px 0;color:var(--amber);font-weight:650;cursor:pointer}.estimate-discount{margin:22px 0}.estimate-remove-line{margin-top:14px;background:none;border:0;color:var(--muted);font:inherit;font-size:12px;cursor:pointer}.flat-price-line .field:first-child{flex:2}#add-flat-line{margin-top:16px}.estimate-review-table td:first-child{font-weight:650}.estimate-review-table td:first-child small{font-weight:400}

/* Field worksheet: one service at a time; saved pieces stay visible. */
#measurement-worksheet{margin:22px 0;background:#181a1e;border:1px solid var(--line);border-radius:16px;padding:16px}
.worksheet-heading h3{margin:0 0 6px}.worksheet-heading p{color:var(--muted);font-size:13px;line-height:1.5;margin:0 0 18px}
.worksheet-current{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:18px 0;font-size:16px}.worksheet-current output{color:var(--amber);white-space:nowrap;font-weight:700}
.worksheet-mode{margin-bottom:14px}.worksheet-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.worksheet-inputs .field{min-width:0}.worksheet-inputs input,.worksheet-inputs select{min-width:0;width:100%;font-size:16px;min-height:46px}.worksheet-inputs:has([data-measure-width]) .field:last-child{grid-column:1 / -1}
.worksheet-reuse{margin-top:8px;color:var(--amber);font-size:12px!important;min-height:40px!important;padding:8px!important}
.worksheet-calculation{display:block;text-align:right;font-weight:650;color:var(--amber);min-height:28px;padding-top:10px}.worksheet-entry-actions{display:flex;gap:10px;margin-top:12px}.worksheet-entry-actions .button{flex:1;min-height:46px}
.worksheet-status{font-size:12px;color:var(--muted);line-height:1.5;margin:14px 0}.worksheet-entries{list-style:none;margin:18px 0 0;padding:0}.worksheet-entries li{border-top:1px solid var(--line);padding:14px 0;display:flex;justify-content:space-between;gap:10px;align-items:center}.worksheet-entries li>div:first-child{display:grid;gap:5px;min-width:0;font-size:14px}.worksheet-entries strong{font-size:15px}.worksheet-row-actions{display:flex;align-items:center;gap:2px}.worksheet-row-actions button{font:inherit;background:none;border:0;color:var(--amber);min-height:44px;min-width:44px;padding:6px;font-size:13px}.worksheet-row-actions button[data-measure-remove]{font-size:22px;color:var(--muted)}.worksheet-empty{color:var(--muted);font-size:13px}
.worksheet-totals{display:grid;gap:8px;margin-top:14px}.worksheet-totals button{display:flex;justify-content:space-between;gap:12px;border:1px solid var(--line);background:#202329;border-radius:10px;padding:12px;color:var(--text);font:inherit;font-size:12px;text-align:left;min-height:44px}.worksheet-totals strong{white-space:nowrap;color:var(--amber)}
.worksheet-pricing>summary{color:var(--amber);padding:16px 0;cursor:pointer;font-weight:650}.estimate-line [data-worksheet-quantity]{display:block;font-size:18px;padding:12px 0;color:var(--text)}
@media(max-width:420px){#measurement-worksheet{padding:14px}.worksheet-current{font-size:14px}.worksheet-current strong{max-width:62%}.worksheet-reuse{font-size:11px!important}}
