By the time you were ready, the bus was already gone.
The given answer is: Le temps que tu sois prête, le bus était déjà parti.
But both clauses of his sentence seem to be in the past, so is it okay (even better) to write:
Le temps que tu aies été prête, le bus était déjà parti. ?