1. Disconnect the negative battery cable.
2. Remove the headliner.
3. Remove the glass panel.
4. Disconnect the front and rear drain hose from the sunroof frame.
5. Remove the bolt A, and then remove the rear set bracket.
6. Remove the bolt B and nuts, and then remove the sunroof unit.

7. Install in the reverse order of removal.
8. Adjust the glass panel. (See GLASS PANEL ADJUSTMENT.)
Rear drain hose installation
Sunroof unit disassembly/assemblyMazda 6 Service Manual: Cooling (With air conditioner)
1. Set the mode selector dial to the
position.
2. Set the temperature control dial to the cold position.
3. Set the fan control dial to the desired speed.
4. Turn on the air conditioner by pressing the A/C switch.
5. After cooling begins, adjust the fan control dial and temperature control
d ...
Mazda 6 Service Manual: Clutch master cylinder disassembly/assembly
1. Disassemble in the order indicated in the table.
2. Assemble in the reverse order of disassembly.
Snap Ring Disassembly/Assembly Note
Hold the piston down using a cloth-wrapped pin punch.
If disassembling, remove the snap ring; if assembling, install it.
...