--staged unstages without touching your working tree. No more accidental --hard disasters.
form:has(input:invalid) lets you style the whole form when any field is bad. No JS, finally.