The sun roof glass specifications are: Even with the roofline at the front end, even to +0.5mm at the rear.
Each glass side rail has 2 Torx screws, no shims - elongated holes. They should be tight at proper adjustment. Accessible from the cabin interior, slide panel open.
The drain tubes run down the A-pillars and sail panels to the lower inner fenderwell liner area. There may be a flapper valve at the bottom of each. Those valves clog with dust and mud. Clip them off.
The weedwhacker line thing was a good idea, but it's like trying to shove a wet noodle up a wildcat's ass. Don't use compressed air - blow off one of those lines and you're in the headliner removal business.
Some have had good luck with a (very thin wire) dryer vent cleaner kit from Lowe's or Home Depot. Clip off the adapter end and go carefully.
HINT: Every couple of months, using a finger and dielectric silicone ignition grease (parts stores) partially open and then vent the sunroof glass and rub a tiny amount of grease all around the rubber seal. Perfect seal and preserved rubber. If you can see the grease/finger pattern on the seal it's too much.