/* Gestaltung des Berichts – von der PWA (Vorschau), der Büro-Ansicht und dem PDF-Export gemeinsam genutzt. */
.report {
  background: #fff; color: #111; margin: 16px 0; padding: 22px; border-radius: var(--radius, 0);
  box-shadow: var(--shadow, none); font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Liberation Sans", sans-serif;
}
.report * { color: inherit; box-sizing: border-box; }
.r-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border-bottom: 3px solid #0b6e8f; padding-bottom: 12px; }
.r-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.r-logo { max-height: 64px; max-width: 180px; object-fit: contain; display: block; }
.r-firm { font-size: 20px; font-weight: 800; color: #084e68 !important; }
.r-sub { color: #555 !important; font-size: 12px; white-space: pre-line; }
.r-id { text-align: right; font-size: 13px; line-height: 1.5; flex: none; }
.r-id strong { font-size: 17px; }
.r-sec { margin-top: 16px; }
.r-sec h3 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #084e68 !important; border-bottom: 1px solid #cfd8de; padding-bottom: 3px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.kv-i { min-width: 0; }
.kv-i.w2 { grid-column: 1 / -1; }
.kv-i span { display: block; font-size: 11px; color: #667 !important; }
.kv-i b { font-weight: 600; overflow-wrap: anywhere; }
.r-table { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 13px; }
.r-table th, .r-table td { text-align: left; padding: 4px 6px; border-bottom: 1px solid #e3e9ed; vertical-align: top; }
.r-table th { font-size: 11px; color: #667 !important; text-transform: uppercase; }
.st-ok { color: #1f8a4c !important; font-weight: 700; }
.st-bad { color: #c0392b !important; font-weight: 700; }
.st-na { color: #777 !important; }
.r-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.r-photos figure { margin: 0; break-inside: avoid; }
.r-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid #ccd5db; }
.r-photos figcaption { font-size: 11px; color: #555 !important; }
.r-sigs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 6px; }
.r-sig { border-bottom: 1px solid #333; height: 80px; display: flex; align-items: flex-end; }
.r-sig img { max-height: 76px; max-width: 100%; }
.r-sig-l { font-size: 11px; color: #555 !important; margin-top: 3px; }
.r-foot { margin-top: 18px; font-size: 11px; color: #777 !important; text-align: center; }

@media (max-width: 520px) {
  .report { padding: 14px; }
  .kv, .r-sigs { grid-template-columns: 1fr; }
  .r-head { flex-direction: column; }
  .r-id { text-align: left; }
  .r-photos { grid-template-columns: repeat(2, 1fr); }
}

@media print {
  @page { size: A4; margin: 14mm; }
  html, body { background: #fff !important; }
  .report { margin: 0; padding: 0; box-shadow: none; border-radius: 0; }
  .r-sec { break-inside: avoid; }
  .r-table tr { break-inside: avoid; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
