// Small id helper for transcripts/jobs. Sortable-ish (time prefix) + random tail.
export function newId(prefix = ''): string {
  const time = Date.now().toString(36);
  const rand = Math.random().toString(36).slice(2, 10);
  return `${prefix}${time}${rand}`;
}
