Dollar falls to 3-month low as tariffs rattle markets