Cistern first - very easy - then pan. The WC pan supports the cistern and two tiny screws at the back - into the wall - stop it falling forward - it is not hung on the screws - it perches on the back of the WC pan. There are two wing nuts right at the back - pointing downwards - that hold them together.
Peccavi
July 2010