dot the i's and cross the t's

Obere Mittelstufe (B2) neutral

To be very careful and thorough about all the details.

"Before submitting the contract, the lawyer spent hours dotting the i's and crossing the t's."