Just re-read through all the posts.
One note - our 2007 M has a (original) negative bus bar in behind the cabin switch panel - not just a bolt. I know it's original as it's a custom made job

It's quite serviceable though and I've retained it for the moment.
I feel your pain with tracing the wiring, been there - done that.
Our main wiring paths were/are:
- Cabin switch panel to cockpit pedestal - via port side down between the cabin liner and the deck then across under the cockpit to the pedestal access hole (joining a bunch of other wiring including the motor electrical control connections).
- Cabin switch panel to battery isolation switches - across between the cabin liner and the deck and then down inside the ladder tubes (probably not the original route).
- Cabin switch panel to mast area and forward - across between the cabin liner and the deck past the cabin access ladder to the starboard side then forward to the "compartment" under the starboard side of the mast (where our stereo is mounted and the connections for the mast wiring are located) between the cabin liner and the hull (you can feel the wires if you push your hand up under the cabin liner above the dinette table)
- Starter battery to motor - in the "bilge" down the port side under the rear berth
It seems likely, given what others have said, that your wiring for the main feed to the cabin switch panel is routed from the motor or the ignition switch - so connected at the motor itself, or in the pedestal. The wiring would not be obvious if it was fed from the stern up between the cabin liner and the deck. If it's connected at the motor, then it could have become disconnected when work was done on the motor - or an inline fuse could have blown. If the connection is inside the pedestal then similarly there could be an inline fuse which has blown.
Hope this helps.
Richard