The fact that you leave unsaved work overnight is the actual crazy part.
Personally it's rare that I leave something unsaved. That said it has never been an issue on macOS in 20 years.
There's plenty of tasks that can take hours that don't save their progress. E.g. running a simulation, training an AI model, rendering video. Or, these days, leaving agentic AI models running in a loop implementing tasks.
Even if the state is recoverable, it doesn't mean that it's simple to recover.
I would be infuriated if my OS decided to shut itself down without permission.
Huh?
I use a mac and a linux box. I'd never cross my mind that I cant leave some unsaved changes overnight. I leave unsaved changes for weeks across the many things I am working on.
Why though? On Mac, I have tons of unsaved work: many TextEdit windows which keep their state for many months, even through reboots. And it has been working like for at least 10 years. It's such a simple, little quality-of-life thing. And Microsoft just doesn't care.
This is what a computer should be doing: helping the user to get their work done, without the user having to worry about insignificant details about saving files. E.g. does Google Docs ever ask where to save a file before closing the browser or shutting down the computer? No you just get an untitled document that is automatically saved. If I want to rename it or save it in a different location, I am free to do so. But as long as I don't, it doesn't get in the way and just persists stuff automatically.