/*
	Inputs/textareas are always --color-default-bg (white) regardless of the
	section's own background (assets/css/gravity-forms.css) — on a light
	section (Default/Muted/Tint) that leaves fields with no visible edge
	against the surrounding page. Dark/Accent already contrast against white
	fields on their own, so the border is scoped to just the three light
	backgrounds via :is(), not added unconditionally.

	--color-border is the same muted-line token used for every other
	hairline border in this theme (Features' divider, FAQ accordion rows,
	Vertical Space's own divider) — not a new hardcoded colour.

	Higher specificity than the shared rule's `border: none !important`
	(two classes here vs. one there) still needs its own !important to win,
	since !important vs. non-!important is resolved before specificity.
*/
.flex-section--forms:is(.bg-default, .bg-muted, .bg-tint) .gform-theme--framework input,
.flex-section--forms:is(.bg-default, .bg-muted, .bg-tint) .gform-theme--framework textarea {
	border: 1px solid var(--color-border) !important;
}
