> It seems this should just be a single input field styled appropriately
Anecdotally, this seems to be the case on the majority of websites where I have to use such 2FA codes.