1. If not as specified, loosen the fuel-filler lid installation bolts, and reposition the fuel-filler lid.
2. Measure the gap and height between the fuel-filler lid and the body.
Clearance
a: 1.7-3.7 mm {0.067-0.145 in} b: -0.5-1.5 mm {-0.019-0.059 in}
3. Tighten the bolts.

Fuel-filler lid and opener removal/installation
BumperMazda 6 Service Manual: Master cylinder disassembly/assembly
Caution
If the master cylinder body is damaged, replace the unit as a
component. When securing the master cylinder in a vise, tighten only the
flange of the master cylinder.
1. Disassemble in the order indicated in the table.
2. Assemble in the reverse order of disassembly.
Stop ...
Mazda 6 Service Manual: Center panel module removal/installation
1. Cancel the anti-theft operation. (with anti-theft system) (See ANTI-THEFT
SYSTEM.)
2. Disconnect the negative battery cable.
3. Remove the glove compartment.
4. Remove the rear console.
5. Remove in the order indicated in the table.
6. Install in the reverse order of removal.
Caution
...