Even before a short-lived declaration of martial law thrust the country into crisis, the economy faced grim prospects.