/* Chatfoto-Einwilligung (Option B). Dialoge und die ungeprüfte, verschwommene Ansicht. */
.ld-cpd { position: fixed; inset: 0; z-index: 3200; display: flex; align-items: flex-end; justify-content: center; background: var(--ld-scrim, rgba(35, 38, 58, .6)); padding: 16px; }
.ld-cpd[hidden] { display: none; }
.ld-cpd-card { width: min(420px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: var(--ld-white, #fff); color: var(--ld-text, #23263A); border: 2.5px solid var(--ld-ink, #23263A); border-radius: 16px; padding: 18px 16px 16px; box-shadow: 3px 5px 0 var(--ld-ink, #23263A); }
.ld-cpd-card h2 { font-family: var(--ld-font-display, 'Baloo 2', Nunito, system-ui, sans-serif); font-size: 1.35rem; margin: 0 0 8px; }
.ld-cpd-card p { margin: 0 0 12px; line-height: 1.4; }
.ld-cpd-card .ld-btn { width: 100%; margin: 0 0 8px; }
.ld-cpd-photo { position: relative; width: 240px; max-width: 100%; border-radius: 14px; overflow: hidden; border: 2.5px solid var(--ld-ink, #23263A); }
.ld-cpd-photo img { display: block; width: 100%; height: 180px; object-fit: cover; filter: blur(16px); transform: scale(1.12); }
.ld-cpd-photo.is-clear img { filter: none; transform: none; }
.ld-cpd-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 6px; align-items: center; padding: 8px; background: color-mix(in srgb, var(--ld-ink, #23263A) 82%, transparent); color: var(--ld-bg, var(--ld-cream, #FFF8EC)); }
.ld-cpd-reveal { appearance: none; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 800; text-align: left; min-height: 44px; flex: 1 1 auto; }
.ld-cpd-sep { flex: 0 0 auto; font-weight: 800; }
.ld-cpd-bar .ld-ch-report { position: static; width: auto; min-width: 44px; min-height: 44px; height: auto; flex: 0 0 auto; margin-left: auto; gap: 4px; padding: 0 8px; color: inherit; font-weight: 800; text-decoration: none; }
.ld-cpd-bar .ld-ch-report .ld-icon { width: 28px !important; height: 28px !important; padding: 4px !important; flex: 0 0 28px; }
.ld-cph-open { display: block; padding: 0; border: 0; background: transparent; border-radius: 14px; overflow: hidden; }
.ld-cph-open img, .ld-cph-zoom img { display: block; width: 220px; max-width: 100%; height: auto; border-radius: 14px; border: 2.5px solid var(--ld-ink, #23263A); }
.ld-cph-zoom { align-items: center; flex-direction: column; gap: 12px; }
.ld-cph-zoom img { width: min(92vw, 420px); background: var(--ld-white, #fff); }
.ld-ch-photo { margin: 4px 0; }
.ld-ch-photo-gone { margin: 0; max-width: 220px; padding: 12px 14px; border-radius: 14px; border: 2.5px dashed var(--ld-ink, #23263A); background: var(--ld-surface-2, var(--ld-cream, #FFF8EC)); color: var(--ld-text, #23263A); font-size: 0.9rem; line-height: 1.35; }
.ld-ch-preview { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.ld-ch-preview img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; border: 2px solid var(--ld-ink, #23263A); }
.ld-ch-pending-photo { width: 160px; max-width: 100%; height: 120px; object-fit: cover; border-radius: 12px; opacity: .45; }
.ld-ch-msg[aria-busy="true"] { position: relative; }
.ld-ch-spin { display: inline-block; width: 18px; height: 18px; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ld-ch-spin .8s linear infinite; }
@keyframes ld-ch-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ld-ch-spin { animation: none; } }
