The extent and range of the impact of a no-deal Brexit is revealed in a confidential Cabinet Office document that warns of a “critical three-month phase” after leaving the EU during which the whole planning operation could be overwhelmed.