table.dataTable th.dt-type-numeric,
table.dataTable td.dt-type-numeric,
table.dataTable th.dt-type-date,
table.dataTable td.dt-type-date {
    text-align: left !important;
}

/* Filter rows (search + date inputs) must be left-aligned, not pushed apart.
   DataTables 2.x base sets dt-layout-cell { justify-content: space-between }
   and bs5 theme sets dt-search { text-align: right }, which together cause
   the search field to drift right and date inputs to look centered when
   multiple features share the dt-layout-start cell. */
div.dt-container div.dt-layout-row > div.dt-layout-cell.dt-layout-start {
    justify-content: flex-start;
    gap: 0.5rem;
}
div.dt-container div.dt-layout-cell.dt-layout-start div.dt-search {
    text-align: left;
    margin-left: 0;
}
