I'm so glad you have something that works for now! Thank you for sharing!
To your note about compatibility & Safari 17, I haven't found any issues known internally about compatibility It should be working across browsers! If you're referring to this issue, I believe this is specific to the reload() function.
For text input, you could technically use it & have some Javascript that converts the string input to a number, but the user could still enter text & there wouldn't be any stepper buttons You'd have to have some validation telling the user to submit a number