You're comparing child seats built for the greatest common denominator to high tech war machines that were built on the principle of "kill or be killed" for the best funded and most advanced armed forces on Earth. Every kilo of paneling is another kilo that slows down the aircraft, reduces its range, and changes its balance/maneuverability.
Aircraft technicians are just expected not to drop pens and other crap in cockpits and engines on a regular basis. It's a completely different operational context.
Do better is not the solution. And we aren’t talking about aircraft technicians, I am talking about making designs robust against small parts. It could be a pen, a shoe, a piece of glass or a body part.
You make it sound like paneling, which I didn’t mention, some how has the capability to unbalance an aircraft.
We are talking about different things.
I always figured that all of those little gaps/etc. were due to a couple factors:
1.) the aircraft are constantly being upgraded/modified, so even if you designed the aircraft to be gap-free initially, there will inevitably be changes that introduce them. The cockpit itself is basically a frame with racks that hold all of the avionics, seat, etc.
2.) in conjunction with the above, ease of maintenance was somewhat important, so they tried to leave at least a little room to maneuver in the cockpit where possible (though there were plenty of places which were a nightmare to work regardless), but that comes at the cost of introducing areas where things can fall.
3.) some components have to be regularly removed and worked on outside the aircraft, or must be free of obstruction during flight, e.g. the ejection seat. So you end up with plenty of gaps where things can fall.