Layout is meant to be place where we gathered ever sorting, organising, spacing and visibility.

Idea is from logic that you can group elements ( buttons, inputs, etc … ) with grid or flex, space them with gap and on the end set padding or margins. Since you can set margin on padding to the button, decision is that we should put layout be before elements.