export function resolveServiceImageUrl(value: string | null | undefined): string | null {
  if (!value) return null;
  const trimmed = value.trim();
  if (!trimmed) return null;
  if (trimmed.startsWith("/objects/")) return `/api/storage${trimmed}`;
  return trimmed;
}
