.estimate-photos{margin:22px 0;padding-top:19px;border-top:1px solid var(--line);min-width:0}
.estimate-photos-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.estimate-photos-heading h3{margin:0;font:650 16px 'Instrument Sans',sans-serif;color:var(--text)}
.estimate-photos-count{font-size:12px;color:var(--muted);white-space:nowrap}
.estimate-photos-note,.estimate-photos-storage{font-size:12px;line-height:1.6;color:var(--muted);margin:8px 0 14px}
.estimate-photos-storage{margin:11px 0 0;font-size:11px}
.estimate-photos-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-width:0}
.estimate-photos-empty{grid-column:1/-1;padding:21px 14px;margin:0;border:1px dashed var(--line);border-radius:11px;color:var(--muted);font-size:13px;text-align:center}
.estimate-photo-card{min-width:0;border:1px solid var(--line);background:var(--ink);border-radius:11px;overflow:hidden}
.estimate-photo-thumb{display:block;width:100%;padding:0;background:#22242a;aspect-ratio:4/3;overflow:hidden;color:var(--muted)}
.estimate-photo-thumb:disabled{opacity:1}
.estimate-photo-thumb img{display:block;object-fit:cover;width:100%;height:100%}
.estimate-photo-thumb img[hidden]{display:none}
.estimate-photo-placeholder{display:flex;align-items:center;justify-content:center;height:100%;font-size:11px;line-height:1.5;padding:12px}
.estimate-photo-name{font-size:11px;line-height:1.5;margin:8px 9px;color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.estimate-photo-remove{font-size:12px;background:transparent;color:#ffb09d;min-height:44px;padding:8px 10px;text-align:left;width:100%;border-top:1px solid var(--line)}
.estimate-photos-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}
.estimate-photos-actions .button.secondary{color:var(--text);min-height:44px;background:var(--panel)}
.estimate-photos-status,.estimate-photos-error{font-size:12px;line-height:1.6;margin:10px 0 0;overflow-wrap:anywhere}
.estimate-photos-status{color:var(--muted)}
.estimate-photos-error{color:#ffb09d}
.estimate-photos-status:empty,.estimate-photos-error:empty{display:none}
.estimate-photo-preview{padding:0;border:1px solid var(--line);background:var(--ink);color:var(--text);border-radius:15px;width:min(1000px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 16px 80px #000b}
.estimate-photo-preview::backdrop{background:#000d}
.estimate-photo-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;position:sticky;top:0;background:var(--panel)}
.estimate-photo-preview-heading p{margin:0;font-size:13px;overflow-wrap:anywhere;min-width:0}
.estimate-photo-preview-heading .button.secondary{color:var(--text);min-height:44px;flex-shrink:0}
.estimate-photo-preview>img{display:block;width:100%;height:auto;max-height:calc(100dvh - 115px);object-fit:contain}
@media(max-width:480px){.estimate-photos-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.estimate-photos-actions{display:grid;grid-template-columns:1fr 1fr}.estimate-photos-actions .button{font-size:13px;padding:10px 9px}.estimate-photo-preview-heading{padding:10px;gap:8px}.estimate-photo-preview-heading .button{font-size:12px;padding:9px 10px}}

.completion-comparison{display:grid;grid-template-columns:1fr 1fr;gap:10px}.completion-comparison figure{margin:0}.completion-comparison img{width:100%;height:170px;object-fit:contain}.completion-comparison figcaption{font-weight:600}
