Show/hide main panel with a hotkey

There were several options available on plasma 5. But since you’re on 6, you might have a look at https://planet.kde.org/nathan-upchurch-2024-03-18-setting-up-a-toggleable-side-panel-in-kde-plasma-6/
Just an idea.