/* Shared list geometry. Scope excludes document/email presentation tables. */
table.ems-data-table { display: block !important; width: 100% !important; min-width: var(--ems-table-min) !important; table-layout: fixed; }
.ems-data-table > thead, .ems-data-table > tbody, .ems-data-table > tfoot { display: block; width: 100%; }
.ems-data-table > :is(thead,tbody,tfoot) > tr { display: grid; grid-template-columns: var(--ems-columns); width: 100%; align-items: stretch; }
.ems-data-table > :is(thead,tbody,tfoot) > tr[hidden] { display: none !important; }
.ems-data-table > :is(thead,tbody,tfoot) > tr > :is(th,td) { box-sizing: border-box; min-width: 0 !important; width: auto !important; max-width: none !important; white-space: normal !important; overflow-wrap: anywhere; word-break: normal; padding: 12px 10px; }
.ems-data-table > :is(thead,tbody,tfoot) > tr > td :is(p,span,strong,small,a,div) { max-width: 100%; white-space: normal; overflow-wrap: anywhere; min-width: 0; }
.ems-data-table .ems-table-action { text-align: left !important; }
.ems-data-table .ems-table-action :is(button,a) { white-space: normal; }
.ems-data-table .ems-table-serial { text-align: center; white-space: nowrap !important; }
@media print {
    table.ems-data-table { min-width: 0 !important; }
    .ems-data-table > :is(thead,tbody,tfoot) > tr > :is(th,td) { padding: 6px; }
}
