From Resistance to Transformation: A Generic Metric of Resilience Through Viability uri icon