Flex CSS not generated with embed code

Hi people:
I produced a page that has a form to allow users to play around with different pricing options: cost and margin. JavaScript updates values in the form as the user enters the values. All that works fine but…
To generate the form elements and the “onchange” event handler I needed to use an embed that allowed the page to insert the form elements when the page loaded. The HTML elements use the same classes as the Webflow generated classes. (I picked these up inspecting the page in the browser with Chrome tool).
However the Weflow generated form elements in a div styled “formPair” appear side by side in a flex box. But the embed generated form elements in a

also styled “formPair” are NOT flex and are stacked and NOT in a flex box. I’ve attached a screen shot of the differences.

I’d like all the form elements to appear side by side identically

link to project: https://preview.webflow.com/preview/davids-cool-project-9b22c7?utm_medium=preview_link&utm_source=designer&utm_content=davids-cool-project-9b22c7&preview=aae587662d11bdf05b710b1629fa453c&pageId=61f6b8d239dc81d8baaf9ad9&workflow=preview

I was able to get this sorted by inserting CSS style code into the header area of the page.

.formPair { display: flex; flex-direction: row; } .artFormLabel { width: 330px; }

I can’t say why it was necessary to do this and why when the page loaded the native CSS was not implemented. Bug? Feature? Don’t know but hope that helps someone.