/* Shared mobile table behavior. Desktop and card layouts are unchanged. */
@media(max-width:700px) {
  .table-wrap > table.mobile-first-column {border-collapse:separate;border-spacing:0;}
  .table-wrap > table.mobile-first-column > thead > tr > :first-child:not([colspan]),
  .table-wrap > table.mobile-first-column > tbody > tr > :first-child:not([colspan]),
  .table-wrap > table.mobile-first-column > tfoot > tr > :first-child:not([colspan]) {
    position:sticky;left:0;z-index:1;background:#fff;
    min-width:120px;width:145px;max-width:180px;
    white-space:normal;overflow-wrap:anywhere;box-shadow:2px 0 0 var(--line);
  }
  .table-wrap > table.mobile-first-column > thead > tr > :first-child:not([colspan]) {z-index:4;background:#fafafb;}
  .table-wrap > table.mobile-first-column > tfoot > tr > :first-child:not([colspan]) {background:#f3f6fa;}
  .table-wrap > table.finance-ledger.mobile-first-column > thead > tr > th:first-child,
  .table-wrap > table.finance-ledger.mobile-first-column > tbody > tr > td:first-child:not([colspan]) {
    width:112px;min-width:112px;max-width:112px;white-space:nowrap;overflow-wrap:normal;word-break:normal;
  }
  .floating-table-header {z-index:10;}
}
