.service-photo-upload { margin:16px 0; border:1px solid var(--line); border-radius:9px; padding:0 12px; }
.service-photo-upload summary { display:flex; align-items:center; gap:8px; cursor:pointer; padding:12px 0; font-size:13px; font-weight:500; }
.service-photo-upload summary>.icon { width:19px; height:19px; color:var(--muted); }
.service-photo-upload summary small { color:var(--muted); font-size:12px; font-weight:400; }
.service-photo-upload [data-service-photo-count]:not(:empty) { margin-left:auto; color:var(--accent-ink); background:var(--accent-soft); padding:2px 8px; border-radius:5px; }
.service-photo-buttons { display:flex; gap:8px; flex-wrap:wrap; margin:0 0 12px; }
.service-photo-buttons .btn { min-height:42px; }
.service-photo-previews,.service-photo-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(80px,1fr)); gap:9px; }
.service-photo-previews:empty { display:none; }
.service-photo-draft { position:relative; }
.service-photo-draft>img,.service-photo-thumb>img { display:block; width:100%; height:105px; object-fit:cover; border:1px solid var(--line); border-radius:8px; background:var(--surface-alt); }
.service-photo-draft .icon-btn { position:absolute; right:3px; top:3px; width:30px; height:30px; border-radius:6px; background:var(--surface); }
.service-photo-draft .icon-btn .icon { width:16px; height:16px; }
.service-photo-limit { display:block; font-size:11px; color:var(--muted); margin:10px 0 12px; }
.service-photo-upload .section-note { margin:8px 0; font-size:12px; }
.service-photo-upload [data-service-photo-reset] { margin-bottom:10px; }
.service-photo-thumb { padding:0; border:0; background:transparent; cursor:pointer; min-width:0; border-radius:8px; }
.service-photo-full { display:block; max-width:100%; max-height:65dvh; object-fit:contain; margin:0 auto; border-radius:8px; }
.service-photo-download { display:flex; justify-content:flex-end; margin-top:12px; }
@media (max-width:760px) {
  .service-photo-buttons .btn { flex:1; font-size:12px; padding:9px 8px; white-space:nowrap; }
  .service-photo-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
