pub fn format_elapsed(seconds: f64) -> String
Format a duration the way the progress lines print it: “45s”, “12 min”.