Wow! Question. How does: "en qué momento se me habrá ocurrido" come to mean: "I'm wondering why I thought this was a good idea"?
Is it a standard phrase for "Me pregunto por qué pensé que era una buena idea?"
Would "en qué momento pensé que era una buena idea?"work?