.photo-upload-modal { max-width: 480px; padding-bottom: 16px; }
.photo-upload-summary { min-height: 36px; margin-bottom: 18px; }
.photo-upload-list { display: grid; gap: 14px; }
.photo-upload-item { position: relative; display: flex; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.photo-upload-preview { width: 76px; height: 88px; flex-shrink: 0; border-radius: 15px; overflow: hidden; background: #e7e6e0; display: grid; place-items: center; }
.photo-upload-preview img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.photo-preview-fallback { padding: 8px; text-align: center; font-size: 10px; color: #777; }
.photo-upload-details { flex: 1; min-width: 0; padding-right: 23px; }
.photo-upload-name { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0 0 5px; color: #767670; }
.photo-upload-category { display: block; }
.photo-upload-category > span { display: block; font-size: 10px; color: #767670; margin-bottom: 3px; }
.photo-upload-category select { font-size: 12px; min-height: 34px; padding: 5px 8px; border-radius: 9px; }
.photo-upload-remove { position: absolute; top: 0; right: -4px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; }
.photo-upload-remove svg { width: 15px; height: 15px; }
.photo-upload-status { font-size: 10px; margin-top: 6px; color: #787870; overflow-wrap: anywhere; }
.photo-upload-status.is-error { color: #aa493c; }
.photo-upload-item progress { display: block; width: 100%; height: 4px; border: 0; border-radius: 99px; overflow: hidden; background: #e0dfd8; margin-top: 6px; accent-color: var(--accent-outline); }
.photo-upload-item progress::-webkit-progress-bar { background: #e0dfd8; border-radius: 99px; }
.photo-upload-item progress::-webkit-progress-value { background: var(--accent-outline); border-radius: 99px; }
.photo-upload-item progress::-moz-progress-bar { background: var(--accent-outline); border-radius: 99px; }
.photo-upload [hidden] { display: none; }
.photo-upload-add { margin-top: 16px; width: 100%; font-size: 12px; }
.photo-upload-add svg { width: 16px; height: 16px; }
.photo-upload-hint { font-size: 10px; margin: 10px 0 16px; }
.photo-upload-actions { position: sticky; bottom: -16px; display: flex; align-items: stretch; gap: 10px; background: var(--bg); padding: 12px 0 8px; box-shadow: 0 -8px 12px var(--bg); }
.photo-upload-actions .pill { flex: 1; }
.photo-upload-actions .primary { flex: 2; min-height: 44px; font-size: 12px; padding: 10px 14px; }
.photo-upload-actions .pill.primary { flex: 1; }
@media (max-width: 380px) {
  .photo-upload-modal { padding: 20px 16px 16px; }
  .photo-upload-preview { width: 62px; height: 80px; }
  .photo-upload-item { gap: 10px; }
}
