/* Trägerfotos in der Fallakte (1.0.90): Galerie-Gruppe im Reiter Dokumente (pallbearer-photos-admin.js). Farben über Tokens, Hell/Dunkel. */
.pb-photo-group .pb-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;padding:4px 0 8px}
.pb-photo-tile{margin:0;position:relative;border:1px solid var(--line,#ddd3e6);border-radius:14px;overflow:hidden;background:var(--soft,#f3eef6);display:flex;flex-direction:column}
.pb-photo-tile.memorial{box-shadow:inset 0 0 0 2px var(--accent,#643182)}
.pb-photo-open{border:0;padding:0;background:transparent;display:block;width:100%;aspect-ratio:4/3;cursor:zoom-in}
.pb-photo-open img{width:100%;height:100%;object-fit:cover;display:block}
.pb-photo-tile figcaption{padding:8px 10px 4px;display:flex;flex-direction:column;gap:2px;font-size:12px;color:var(--muted,#6e6376)}
.pb-photo-tile figcaption strong{color:inherit;font-size:13px}
.pb-photo-tile figcaption em{font-style:normal;color:var(--accent,#643182);display:inline-flex;align-items:center;gap:4px;font-weight:600}
.pb-photo-tile figcaption em svg{width:12px;height:12px}
.pb-photo-actions{display:flex;justify-content:flex-end;gap:4px;padding:2px 6px 6px}
.pb-photo-actions .icon-button{width:36px;height:36px}
.pb-photo-actions .icon-button[disabled]{opacity:.4;cursor:default}
.pb-photo-note{display:flex;gap:8px;align-items:flex-start;font-size:12px;color:var(--muted,#6e6376);margin:0}
.pb-photo-note svg{width:16px;height:16px;flex:none;margin-top:1px}
.pb-photo-lightbox{display:flex;flex-direction:column;align-items:center;gap:10px}
.pb-photo-lightbox img{max-width:100%;max-height:70vh;border-radius:12px;background:var(--soft,#f3eef6)}
.pb-photo-lightbox.small img{max-height:220px}
.pb-photo-lightbox p{margin:0;text-align:center}
@media (max-width:640px){.pb-photo-group .pb-photo-grid{grid-template-columns:repeat(2,1fr)}}
