String formatDuration(Duration duration) { final seconds = duration.inMilliseconds / 1000; return "${seconds.toStringAsFixed(2)} s"; }