In a perfect manner (7)
I believe the answer is:
ideally
(Other definitions for ideally that I've seen before include "Lay idle (anag)" , "In the perfect case" , "In the best possible scenario" , "In the best of all possible worlds" , "In the best possible way or circumstances" .)