G7 finance ministers tried on Thursday to strike a new deal to keep Ukraine's budget afloat without losing sight of the global economic impact of Moscow's war.