#photos-dialog{width:min(680px,calc(100% - 24px))}
#photos-dialog #photos-panel{margin-top:18px}
.simple-photo-picker{display:flex;align-items:center;justify-content:space-between;gap:16px}
.simple-photo-picker p{margin:0;font-size:16px;color:#536856}
#choose-photo-button{min-height:48px;font-size:16px;padding:12px 22px}
#photos-dialog #photo-status{font-size:15px;line-height:1.5;min-height:1.5em;margin:14px 0}
#photos-dialog #photo-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#photos-dialog .photo-card{padding:10px;margin:0;background:#fff;border:1px solid #dce4d7;border-radius:12px;overflow:hidden}
#photos-dialog .photo-card img{width:100%;height:176px;object-fit:contain;background:#f3f5f0;margin:0;border-radius:7px;cursor:default}
.photo-card-footer{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:8px 0 0;color:#37513e;font-size:15px}
#photos-dialog .photo-delete{margin:0;min-height:44px;padding:8px 12px;color:#994137;font-size:15px;background:#fff7f4;border:1px solid #ead2cb}
.existing-photo-caption{font-size:15px;line-height:1.5;margin:4px 0 0;overflow-wrap:anywhere}
.photo-dialog-bottom{display:flex;justify-content:flex-end;margin-top:20px;padding-top:16px;border-top:1px solid #e1e7dd}
.photo-dialog-bottom button{min-width:100px;min-height:48px;font-size:16px}
@media(max-width:500px){#photos-dialog #photo-list{grid-template-columns:1fr}#photos-dialog .photo-card img{height:210px}.simple-photo-picker{flex-direction:column;align-items:stretch;gap:10px}.simple-photo-picker p{text-align:center}#photos-dialog .photo-delete{min-height:48px}.photo-dialog-bottom button{width:100%}}

.photo-source-actions{display:flex;gap:10px;flex-wrap:wrap}.photo-source-actions button{min-height:48px;font-size:16px;padding:12px 18px}#photos-dialog .simple-photo-picker{flex-wrap:wrap}#take-photo-button{border:1px solid #55715e;background:#fff;color:#254c3d}
@media(max-width:500px){.photo-source-actions{display:grid;grid-template-columns:1fr 1fr}.photo-source-actions button{width:100%;padding:10px 8px}}@media(max-width:350px){.photo-source-actions{grid-template-columns:1fr}}
