Measurements

Measure from the front of the cistern to the front of the bowl (A size)

Measure inside the bowl, front to back (B size)

Is the water supply on the wall at the back or inside the cistern? Do you have access to the bolts that hold the seat down?