(1)just before a deadline; at the last minute; "last-minute arrangements"
(2)締切の直前
(3)間際になって
(1)last-minute arrangements
(2)土壇場の準備