/** Kubernetes-style Gi (1024³ bytes), aligned with wizard “GB” fields */ export const ONE_GIB = 1024 ** 3; export function minGiToFitFileBytes(bytes: number): number { return Math.max(1, Math.ceil(bytes / ONE_GIB)); }