.event-photo-editor{margin:18px 0;padding:18px;border:1px solid #d5e2e5;border-radius:16px;background:#f6f9fa}
.event-photo-editor label{margin-top:0;font-weight:650}
.event-photo-editor input[type=file]{display:block;max-width:100%;padding:10px;background:#fff;font-size:14px}
.event-photo-editor p{font-size:13px;line-height:1.5;margin:9px 0;color:#627581}
.event-photo-editor .photo-error{color:#aa253b;font-weight:600}
.event-photo-preview{display:block;width:100%;max-height:240px;object-fit:contain;margin:14px auto;background:#eef2f4;border-radius:12px}
.event-photo-editor .hidden{display:none}
.event-card.has-photo{display:grid;grid-template-columns:160px minmax(0,1fr) auto;gap:22px;align-items:start}
.event-card .event-photo{display:block;width:160px;height:160px;object-fit:contain;background:#f3f5f6;border-radius:14px}
.event-card.has-photo .event-main{min-width:0}
#eventDialog{max-height:calc(100dvh - 32px);overflow:auto}
@media(max-width:900px){.event-card.has-photo{grid-template-columns:120px minmax(0,1fr)}.event-card .event-photo{width:120px;height:120px}.event-card.has-photo .event-side{grid-column:2}}
@media(max-width:580px){.event-card.has-photo{grid-template-columns:minmax(0,1fr);gap:16px}.event-card .event-photo{width:100%;height:auto;max-height:300px;object-fit:contain}.event-card.has-photo .event-side{grid-column:1}.event-photo-editor{padding:14px}}

.agenda-event-photo{display:block;width:100%;max-width:280px;max-height:180px;object-fit:contain;object-position:left center;border-radius:10px;margin-bottom:12px;background:#f3f5f6}
