Apologies for the delay in responding, thank you for your response. I made two drawings again, one for each case, I hope this time it can be understood a little better, I will try to be as concise and direct as possible this time ... in each case, some stepdown is powered in its OUTPUT according to whether I use the current from the 12v source or the battery, my first query would be that: Is it somehow risky or not recommended that this happens or there is no problem that enters voltage x the output?
because my idea is to leave the two modes of power functional, either by battery or by switching source (But NEVER both at the same time) thank you very much

