jmix-value-picker[readonly][invalid] {
    --lumo-required-field-indicator-color: var(--lumo-primary-text-color);
    --vaadin-input-field-invalid-background: transparent;
    --vaadin-input-field-invalid-hover-highlight: transparent;
}

jmix-value-picker[disabled][invalid] {
    --lumo-required-field-indicator-color: var(--lumo-primary-text-color);
    --vaadin-input-field-invalid-background: var(--lumo-contrast-5pct);
}

jmix-value-picker[disabled][has-error-message]::part(error-message),
jmix-value-picker[readonly][has-error-message]::part(error-message) {
    display: none;
}