/* Functional (unstyled) CSS for @42/core/form.
   Only behavioural primitives: error visibility follows the [hidden] attribute
   the controller toggles, and invalid fields expose a state hook. No theme. */

[data-c42-field-error][hidden] {
  display: none;
}

[data-c42-field][data-state='invalid'] [data-c42-field-error] {
  display: block;
}
