When is “OK” to start discussing trade-in and credit application?

I’ve scheduled a test drive and I’ve almost negotiated an acceptable OTD price for a 2022 Mazda CX5 Premium. By this I mean we’re in the ballpark but I’m pushing hard for it to be lowered even more. All via email and text, for the most part.

I’ve confirmed the dealer lets me do a PPI, which I scheduled for two days after the test drive. They say I can borrow the car for 24h so I feel comfortable and can do the PPI.

I’d like to trade in my Tesla and finance the Mazda, but the (internet) sales manager doesn’t know this yet. We’ve just focused on the OTD, which he still needs to confirm with his GM and send me the breakdown before I go in tomorrow for the test drive. This was my condition.

My question: At what point is OK to mention I want to trade in my car? Surely they’ll want to appraise it and have me fill out a credit application. But when do I show my hand, so to speak?

Bonus question: I requested an inspection to see what the dealer did with the car when they got it. It was a two year lease. Can anyone make heads or tails from this? Do I need to be worried or is the work done standard stuff?