Value wise it's on Detroit's side but the Habs filled their biggest need to make them a Tier 1 cup contender and their window is wide open now.
Not every trade needs a winner or loser and I think very often in the NHL it's actually even trades that fans are just grasping at straws to declare a loser for. I don't think there's a "loser" often.
Detroit "wins" the value but Habs aren't losers here, imo.