I worked around it by moving the code segments around in Chrome’s dev tools. Then I copied and pasted the style and form code into the “text” tab.
Maybe this will help someone else.
The issue appears to be with the “Submit” button. I “Cleared All Forms” then started over and saved my list without the button. Everything held its place, but when I added the button and saved again, it went all wonky as before.