.pb-gestion-ledger {
  container-type: inline-size;
  font-variant-numeric: tabular-nums;
}

html:root body main .pb-gestion-ledger :is(thead th, tbody td) {
  text-align: center !important;
}

.pb-gestion-ledger .pb-gestion-column {
  display: none;
}

@container (max-width: 34rem) {
  .pb-gestion-ledger table {
    display: block;
    background: transparent;
    min-width: 0;
  }

  .pb-gestion-ledger caption,
  .pb-gestion-ledger tbody {
    display: block;
  }

  .pb-gestion-ledger thead {
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  .pb-gestion-ledger tbody tr {
    background: #fff;
    border-block-start: 1px solid var(--pb-estimador-border);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.2rem;
  }

  .pb-gestion-ledger tbody tr:last-child {
    border-end-start-radius: 8px;
    border-end-end-radius: 8px;
  }

  .pb-gestion-ledger tbody th {
    font-weight: 720;
    grid-column: 1 / -1;
    text-align: start;
  }

  .pb-gestion-ledger tbody tr > :is(th, td) {
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 0.4rem;
    text-align: start;
  }

  .pb-gestion-ledger tbody td:last-child {
    background: #eef4f3;
    border-radius: 6px;
    font-weight: 700;
  }

  .pb-gestion-ledger .pb-gestion-column {
    display: block;
    font-size: 0.82rem;
    font-weight: 620;
  }
}
