/* Service reports extend the EMI Cotiza layout with the Morning Haze palette. */
.fields label { font-size: .875rem; line-height: 1.4; }
.field-help,.save-state,.heading-lead { font-size: .8125rem; }
.heading-lead { line-height: 1.4; }
.photo-help,.share-help { color: var(--muted); font-size: .875rem; margin: 10px auto; max-width: 48ch; }
.photo-actions,.secondary-actions { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
.photo-actions .button { padding-inline: 8px; }
.photo-list { display: grid; gap: 14px; margin-block: 12px; }
.photo-card { border: 1px solid var(--line); background: var(--surface-alt); padding: 12px; border-radius: 2px; }
.photo-card img { display: block; width: 100%; max-height: 280px; object-fit: contain; background: var(--field); border-radius: 2px; }
.photo-card .photo-top { display:flex; justify-content:space-between; align-items:center; gap:10px; padding-bottom:8px; }
.photo-card .photo-top strong { flex:1; padding-left:44px; font-weight:500; }
.photo-card label { margin-top:10px; }
.photo-card textarea { height:64px; }
.photo-card select { text-align-last:center; }
.preview-photos { display:grid; gap:14px; }
.preview-photos figure { margin:0; border:1px solid var(--preview-line); padding:10px; border-radius:2px; background:var(--preview-panel); }
.preview-photos img { display:block; width:100%; max-height:320px; object-fit:contain; }
.preview-photos figcaption { margin-top:8px; white-space:pre-wrap; overflow-wrap:anywhere; font-size:.9375rem; }
.preview-photos figcaption strong { display:block; color:var(--preview-accent); }
.report-section { padding:18px 0; border-bottom:1px solid var(--preview-line); }
.report-section h3 { margin:0 0 8px; font-size:.9375rem; color:var(--preview-accent); }
.report-section p { white-space:pre-wrap; overflow-wrap:anywhere; }
.report-meta { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px; margin:18px 0; }
.report-meta div { background:var(--preview-panel); padding:10px; min-width:0; border:1px solid var(--preview-line); }
.report-meta span { display:block; font-size:.8125rem; color:var(--preview-muted); margin-bottom:4px; }
.report-meta strong { font-size:.9375rem; font-weight:500; overflow-wrap:anywhere; }
.report-client { font-size:1.375rem; font-weight:600; margin:16px 0 6px; overflow-wrap:anywhere; }
.report-location { color:var(--preview-muted); white-space:pre-wrap; overflow-wrap:anywhere; }
.report-number { font-size:.8125rem; overflow-wrap:anywhere; color:var(--preview-muted); margin-top:10px; }
.report-empty { color:var(--preview-muted); }
.report-id { color:var(--muted); font-size:.875rem; }
.report-id summary { cursor:pointer; min-height:44px; display:flex; align-items:center; justify-content:center; text-decoration:underline; text-underline-offset:4px; }
#id { height:70px; resize:none; font-size:14px; overflow-wrap:anywhere; }
#work { min-height:105px; }
.storage-error { position:relative; padding:12px; margin:12px 0; border:1px solid var(--accent); background:var(--surface); color:var(--accent-ink); font-size:.9375rem; }
.share-panel .whatsapp { width:100%; margin-top:10px; }
.share-panel .secondary-actions .button { min-width:0; }
[data-loading=true] .workspace { opacity:.45; pointer-events:none; }
.quote-paper { min-width:0; }
.quote-paper a { overflow-wrap:anywhere; }
.mobile-views { z-index:20; }
.mobile-views button { font-size:1rem; }
.paper-contact-links { margin-top:20px; }
.paper-contact-links a { display:flex; justify-content:center; min-height:44px; align-items:center; padding:10px; font-size:.9375rem; }
.report-review { display:grid; grid-template-columns:96px minmax(0,1fr); align-items:center; gap:18px; padding:18px; margin:4px 0 22px; border:1px solid #315b80; border-radius:2px; background:#315b80; color:#fff; text-decoration:none; }
.report-review:hover { background:#244763; border-color:#244763; }
.report-review img { display:block; width:96px; height:96px; border-radius:2px; }
.report-review strong { display:block; font-size:1.75rem; font-weight:650; line-height:1.15; }
.report-review small { display:block; margin-top:10px; font-size:.875rem; line-height:1.4; overflow-wrap:anywhere; text-decoration:underline; text-underline-offset:3px; }
@media(max-width:400px) { .report-review { grid-template-columns:76px minmax(0,1fr); gap:12px; padding:12px; } .report-review img { width:76px; height:76px; } .report-review strong { font-size:1.375rem; } }
.report-section.status-section { border:1px solid var(--preview-line-strong); background:var(--preview-panel); margin-top:16px; padding:16px; }
.report-section.status-section p { font-size:1.125rem; font-weight:600; color:var(--preview-accent); }
#report-preview { padding:20px; line-height:1.4; }
#report-preview .paper-header { padding-bottom:10px; }
#report-preview .report-meta { gap:8px; margin:12px 0; }
#report-preview .report-meta div { padding:8px; }
#report-preview .report-meta>div:last-child:nth-child(odd) { grid-column:1/-1; }
#report-preview .report-section { padding:12px 0; }
#report-preview .report-section h3 { margin-bottom:4px; }
#report-preview .report-section.status-section { padding:10px; margin-top:10px; }
#report-preview .report-client { margin:10px 0 4px; font-size:1.25rem; }
#report-preview .report-review { grid-template-columns:80px minmax(0,1fr); gap:12px; padding:12px; margin-bottom:14px; }
#report-preview .report-review img { width:80px; height:80px; }
#report-preview .report-review strong { font-size:1.5rem; }
#report-preview .report-review small { margin-top:6px; }
#report-preview .preview-photos { grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr)); gap:10px; }
#report-preview .preview-photos figure { padding:8px; }
#report-preview .preview-photos img { max-height:240px; }
#report-preview .paper-contact-links { margin-top:12px; }
@media(max-width:700px) { #report-preview { padding:14px; } }
@media(max-width:400px) { #report-preview .report-review { grid-template-columns:68px minmax(0,1fr); padding:10px; gap:10px; } #report-preview .report-review img { width:68px; height:68px; } #report-preview .report-review strong { font-size:1.25rem; } }
@media(min-width:1051px) { #review-report { display:none; } }
@media(max-width:700px) { .photo-actions .button { font-size:.875rem; gap:6px; } .app-name { display:none; } .report-meta { gap:8px; } }
@media(max-width:350px) { .fields label:has(#date),.fields label:has(#technician) { grid-column:1/-1; } .photo-actions { grid-template-columns:1fr; } }
