In Sketchup I use shift A (on a Mac) to toggle all panels on and off (visibility). In Layout you can do the same, but with a different more difficult shortcut that I always forget. Can we please have it be the same, and preferably choose the easy one :-), shift A
You should be able to set it to whatever you can remember in Preferences>Shortcuts.
I did search through all available shortcuts but did not find a suiting one.
In LayOut on Windows it’s Window/Hide Tray. I disremember what it is on Mac but I expect it’s similar.