pub fn parse_duration(duration_str: &str) -> Result<f64>
Parses a duration string (e.g., “01:23:45” or “83:45”).