This is an agonizing question but after a review of all of the options, I agree that the optimum compromise would be a reliable pump 12 gauge and a reliable .22 rifle. You could cover all of the bases with this combination up to 100 yards. This would be for a general survival scenario.
If it hit the fan and it became a defensive situation, then the optimum combo would be a concealable folding stock AK47 and a 12 gauge pump.
If it hit the fan and it became a defensive situation, then the optimum combo would be a concealable folding stock AK47 and a 12 gauge pump.