/* Shared value treatment for native forms and every WPForms instance. */
form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], input[type="search"], input[type="password"], input[type="date"], input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"], textarea, select):not(.atm-value-filled):not(:disabled) {
	color: var(--token-color-neutral-400) !important;
}

form :is(input, textarea, select).atm-value-filled {
	color: var(--token-color-orange-bc-400) !important;
	font-weight: 500;
}

/* WPForms resets text colors; untouched controls must remain placeholder gray. */
body div.wpforms-container-full .wpforms-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], input[type="search"], input[type="password"], input[type="date"], input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"], textarea, select):not(.atm-value-filled) {
	color: var(--token-color-neutral-400) !important;
}

body div.wpforms-container-full .wpforms-form :is(input, textarea, select).atm-value-filled {
	color: var(--token-color-orange-bc-400) !important;
	font-weight: 500;
}

body div.wpforms-container-full .wpforms-form select option {
	color: var(--token-color-neutral-800);
}

body div.wpforms-container-full .wpforms-form select option:disabled[value=""] {
	color: var(--token-color-neutral-400);
}
