/* Expenses Ledger only — simplified controls and ten-column professional register. */
@media screen {
  .exl-workspace .exl-filters {
    grid-template-columns: minmax(230px, 1.5fr) repeat(2, minmax(155px, 0.9fr)) minmax(150px, 0.85fr) auto;
    gap: 12px;
  }

  .exl-workspace .exl-table-wrap {
    max-width: 100%;
    overflow-x: hidden;
  }

  .exl-workspace .exl-table-wrap > table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .exl-workspace .exl-table-wrap :is(th, td) {
    box-sizing: border-box;
    min-width: 0;
  }

  .exl-workspace .exl-table-wrap thead th {
    height: 46px;
    padding: 10px 9px;
    font-size: 10.75px;
    line-height: 1.2;
    letter-spacing: 0.018em;
    white-space: nowrap;
  }

  .exl-workspace .exl-table-wrap tbody td {
    height: 54px;
    padding: 10px 9px;
    font-size: 12.75px;
    line-height: 1.35;
    white-space: nowrap;
  }

  .exl-workspace .exl-table-wrap :is(th, td):nth-child(1) { width: 9%; }
  .exl-workspace .exl-table-wrap :is(th, td):nth-child(2) { width: 13%; }
  .exl-workspace .exl-table-wrap :is(th, td):nth-child(3) { width: 16%; }
  .exl-workspace .exl-table-wrap :is(th, td):nth-child(4) { width: 14%; }
  .exl-workspace .exl-table-wrap :is(th, td):nth-child(5) { width: 11%; }
  .exl-workspace .exl-table-wrap :is(th, td):nth-child(6) { width: 8%; }
  .exl-workspace .exl-table-wrap :is(th, td):nth-child(7) { width: 8%; }
  .exl-workspace .exl-table-wrap :is(th, td):nth-child(8) { width: 9%; }
  .exl-workspace .exl-table-wrap :is(th, td):nth-child(9) { width: 7%; }
  .exl-workspace .exl-table-wrap :is(th, td):nth-child(10) { width: 5%; }

  .exl-workspace .exl-table-wrap td:nth-child(2) {
    overflow: visible;
  }

  .exl-workspace .exl-type-badge {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
  }

  .exl-workspace .exl-table-wrap :is(th, td):nth-child(6),
  .exl-workspace .exl-table-wrap :is(th, td):nth-child(7),
  .exl-workspace .exl-table-wrap :is(th, td):nth-child(8) {
    text-align: right;
    white-space: nowrap;
  }

  .exl-workspace .exl-table-wrap :is(th, td):nth-child(10) {
    text-align: center;
    overflow: visible;
    padding-inline: 6px;
  }

  .exl-workspace .exl-table-wrap th > button {
    max-width: 100%;
    white-space: nowrap;
  }

  .exl-workspace .exl-actions > * {
    margin-inline: auto;
  }

  @media (max-width: 1280px) {
    .exl-workspace .exl-filters {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .exl-workspace .exl-table-wrap {
      overflow-x: auto;
    }

    .exl-workspace .exl-table-wrap > table {
      min-width: 980px;
    }
  }

  @media (max-width: 600px) {
    .exl-workspace .exl-filters {
      grid-template-columns: minmax(0, 1fr);
    }
  }
}
