There's a bug with the builds that consume resources.
I went idle after switching to a balanced build but the game didn't register it and went 4 hours with a build that consumed wood to produce metal (in haunted woods)
I now sit at -333,80 wood and can't even set a wood build to get back up because it still shows +0/sec