Thank you so much for the thorough and reassuring response! That really helps ease my anxiety regarding the entry/exit electronic records and the residency calculation.
If I may ask one follow-up question regarding the US side: Since I plan to fly into a US airport (with a valid ESTA) and then...