1. Remove the headliner.
2. Disconnect the front drain hose from the sunroof frame.
3. Remove the front drain hose from the clips.
4. Pull the front drain hose into the room side.
5. Remove the front drain hose.

Glass panel adjustment
Front drain hose installationMazda 6 Service Manual: Intake-air system removal/installation
Warning
When the engine and intake-air system are hot, they can badly
burn. Turn off the engine and wait until they are cool before removing the
intake-air system.
Fuel vapor is hazardous. It can easily ignite, causing serious
injury and damage. Always keep sparks and flames away from ...
Mazda 6 Service Manual: Moonroof (Some models)
The moonroof can be opened or closed electrically only when the ignition is switched
ON.
WARNING
Do not let passengers stand up or extend part of the body through the open
moonroof while the vehicle is moving: Extending the head, arms, or other parts
of the body through the moonroof is dan ...