I had a small leak in my sunroof and it ended up being the black plastic surround/gasket had cracked right in the front above the controls.
I "temporarily" foil taped it and flex sealed over that because of days of rain still to come and it hasn't leaked since so it's now a permanent fix
Making sure the drains are clear is a thing with EVERY sunroof vehicle. ALL sunroofs leak, at least a bit - the drains are required to be clear or you will have problems.I didn't know checking these drains was even a thing. I've owned it since 2015 and never done that. i'll check when i get a chance. No floor mat water, only roof liner.
and i don't have factory roof racks, i riveted my own rails for rhino rack