If it isn't straightforward, I tell people I will email them that night with an estimate. I find I short myself a lot more often when I think about it more on the drive home.
Sometimes on the job, you just look at it from the perspective of the way it SHOULD happen, rather than what COULD...