Regarding treated vs untreated....very long story short, contemporary treated lumber uses a copper compound that's entirely safe unless you're eating it by the spoonful.
Regarding the beds, it's common mantra to separate differing varieties by at least 6, or better, 10 feet. You might not have...