idiom

Down to the wire.

Theme: time Keyword: time

means

continuing until the very last moment before an outcome is decided.

Example

The race went down to the wire.