The standard #client-error and #server-error toasts don't work with Tailwind 4.
The reason seems to be that they both have a hidden attribute, which is not reset ever. With Tailwind 3, the class takes precedence over the hidden attribute, in Tailwind 4 the hidden attribute takes precedence over the class.