pub fn format_duration(total_secs: u32) -> String
Format seconds as human-readable duration (e.g., “31m 35s”, “2h 15m 3s”).