/* ── Optional photo upload ── */
.photo-upload{margin-top:4px}
.photo-upload-label{display:block;font-size:.85rem;font-weight:700;margin-bottom:6px;color:var(--ink)}
.photo-upload-help{margin:0 0 10px;font-size:.82rem;line-height:1.45;color:var(--muted)}
.photo-dropzone{position:relative;border:1.5px dashed rgba(10,22,40,.22);border-radius:12px;background:var(--off);padding:18px 14px;text-align:center;cursor:pointer;transition:border-color .2s,background .2s,box-shadow .2s}
.photo-dropzone:hover,.photo-dropzone:focus{outline:none;border-color:var(--orange);background:#fff;box-shadow:0 0 0 3px rgba(255,106,0,.12)}
.photo-dropzone.is-dragover{border-color:var(--orange);background:#fff7f0;box-shadow:0 0 0 3px rgba(255,106,0,.16)}
.photo-dropzone.is-full{opacity:.65;cursor:not-allowed}
.photo-dropzone-inner{display:flex;flex-direction:column;align-items:center;gap:4px;pointer-events:none}
.photo-dropzone-icon{font-size:1.35rem;line-height:1}
.photo-dropzone strong{font-size:.92rem;color:var(--ink)}
.photo-dropzone span{font-size:.78rem;color:var(--muted)}
.photo-file-input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.photo-upload-count{margin:8px 0 0;font-size:.75rem;color:var(--muted)}
.photo-previews{display:grid;gap:10px;margin-top:12px}
.photo-preview{display:grid;grid-template-columns:56px 1fr auto;grid-template-rows:auto auto;gap:4px 12px;align-items:center;background:#fff;border:1px solid var(--border);border-radius:10px;padding:10px;position:relative}
.photo-preview-thumb{width:56px;height:56px;border-radius:8px;overflow:hidden;background:var(--off);display:flex;align-items:center;justify-content:center;grid-row:1 / span 2}
.photo-preview-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.photo-preview-fallback{font-size:.68rem;font-weight:700;color:var(--muted);letter-spacing:.04em}
.photo-preview-meta{min-width:0;grid-column:2}
.photo-preview-meta strong{display:block;font-size:.82rem;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.photo-preview-meta span{display:block;font-size:.72rem;color:var(--muted);margin-top:2px}
.photo-preview-remove{grid-column:3;grid-row:1 / span 2;width:32px;height:32px;border:none;border-radius:8px;background:rgba(10,22,40,.06);color:var(--ink);font-size:1.2rem;line-height:1;cursor:pointer}
.photo-preview-remove:hover{background:rgba(220,38,38,.12);color:#b91c1c}
.photo-progress{grid-column:2 / 4;height:4px;background:rgba(10,22,40,.08);border-radius:99px;overflow:hidden}
.photo-progress-fill{height:100%;width:0;background:linear-gradient(90deg,var(--orange),var(--orange2));transition:width .15s linear}
.photo-preview.is-ready .photo-progress-fill{background:#166534}
.photo-preview.is-error{border-color:rgba(185,28,28,.35)}
.photo-preview.is-error .photo-preview-meta span{color:#b91c1c}
.photo-upload-error{margin:8px 0 0;font-size:.8rem;color:#b91c1c;font-weight:600}
@media(max-width:560px){
  .photo-dropzone{padding:16px 12px}
  .photo-preview{grid-template-columns:48px 1fr auto;gap:4px 10px;padding:8px}
  .photo-preview-thumb{width:48px;height:48px}
}
