.home-editor .detail-grid, .summary-specs { align-items: start; }
.home-editor .detail-grid > *, .home-editor label, .estimate-summary { min-width: 0; }
.home-editor { max-width: none; }
.editor-photo { width: 100%; max-height: 280px; object-fit: cover; border-radius: 16px; margin-bottom: 20px; }
.home-editor input[type="file"] { max-width: 100%; padding: 12px; }
.home-editor button[type="submit"], .home-editor > button { margin-top: 24px; }
.estimate-page .detail-actions { margin-bottom: 24px; flex-wrap: wrap; }
.estimate-summary { max-width: 900px; margin-inline: auto; overflow-wrap: anywhere; }
.summary-total { font-size: clamp(1.5rem, 5vw, 2.4rem); font-weight: 700; }
.summary-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-block: 24px; }
.summary-specs dt { opacity: .75; }
.summary-specs dd { margin: 4px 0 0; font-weight: 600; }
.estimate-summary h2 { margin-top: 28px; }
@media print {
    body:has(.estimate-page) { background: white !important; color: #111 !important; }
    body:has(.estimate-page) .site-header, body:has(.estimate-page) .site-footer,
    body:has(.estimate-page) .no-print, body:has(.estimate-page) .skip-link,
    body:has(.estimate-page) .ambient-motion-toggle, body:has(.estimate-page) .flash { display: none !important; }
    body:has(.estimate-page) main::before, body:has(.estimate-page) main::after { display: none !important; }
    body:has(.estimate-page) main { background: white !important; }
    .estimate-page, .estimate-summary { width: 100%; max-width: none; padding: 0; margin: 0; background: white !important; color: #111 !important; box-shadow: none; border: 0; }
    .estimate-summary * { color: #111 !important; background: transparent !important; animation: none !important; }
    .estimate-summary tr, .summary-specs > div { break-inside: avoid; }
    .estimate-summary h2 { break-after: avoid; }
}
