/* Match the heading and every data/total cell in the same logical column.
   Repeated table class deliberately outranks legacy nth-child alignment rules. */
table.table-aligned103.table-aligned103.table-aligned103 > :is(thead, tbody, tfoot) > tr > [data-cell-align103="left"] { text-align: left !important; }
table.table-aligned103.table-aligned103.table-aligned103 > :is(thead, tbody, tfoot) > tr > [data-cell-align103="center"] { text-align: center !important; }
table.table-aligned103.table-aligned103.table-aligned103 > :is(thead, tbody, tfoot) > tr > [data-cell-align103="right"] { text-align: right !important; }
table.table-aligned103 > :is(thead, tbody, tfoot) > tr > [data-cell-align103] { vertical-align: middle; }
table.table-aligned103 > :is(thead, tbody, tfoot) > tr > [data-cell-align103="center"] { font-variant-numeric: tabular-nums; }
table.table-aligned103 > :is(thead, tbody, tfoot) > tr > [data-cell-align103] > :is(input:not([type="checkbox"]):not([type="radio"]), textarea) { text-align: inherit; }

/* Labels' old seven-pixel bottom margin made adjacent buttons drop below
   input fields. Restrict the fix to actual horizontal form toolbars. */
:is(.filter-form, .inline-filter-card, .payroll-upload, .payroll-sheet-form, .opening-toolbar102) > label { margin-bottom: 0; }
:is(.filter-form, .inline-filter-card, .payroll-upload, .payroll-sheet-form, .opening-toolbar102) > :is(button, a.btn-primary, a.btn-secondary, a.btn-success) { align-self: flex-end; margin-top: 0; margin-bottom: 0; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }
.filter-form .filter-actions { align-self: flex-end; margin-top: 0; margin-bottom: 0; }
.filter-form .filter-actions > :is(button, a) { margin-top: 0; margin-bottom: 0; }
