formatting fixes (header rows, input fields, buttons scaling, footer size, element spacing)