/* Misma lectura que el ranking de servicios: el dato se ve completo. */

.portal-shell .grid-4,
.portal-shell .grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}
.portal-shell .stat {
  min-width: 0;
  overflow: visible;
}
.portal-shell .stat .value {
  font-size: clamp(1.05rem, 1.7vw, 1.7rem);
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  font-variant-numeric: tabular-nums;
}

table.data-table:not(.fin-facturas-table, .casos-sin-mesa-table, .mesa-casos-table, .mesa-comercial-table, .admin-table, .inv-lines) {
  table-layout: auto;
  width: max-content;
  min-width: 100%;
  max-width: none;
}
table.data-table:not(.fin-facturas-table, .casos-sin-mesa-table, .mesa-casos-table, .mesa-comercial-table, .admin-table, .inv-lines) > :is(thead, tbody, tfoot) > tr > :is(th, td) {
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.35;
  vertical-align: middle;
}
table.data-table:not(.fin-facturas-table, .casos-sin-mesa-table, .mesa-casos-table, .mesa-comercial-table, .admin-table, .inv-lines) :is(.num, .col-num, .col-date) {
  white-space: nowrap;
  overflow-wrap: normal;
  font-variant-numeric: tabular-nums;
}
table.data-table:not(.fin-facturas-table, .casos-sin-mesa-table, .mesa-casos-table, .mesa-comercial-table, .admin-table, .inv-lines) :is(.col-actions, td.actions, .btn, .badge) {
  white-space: nowrap;
  overflow-wrap: normal;
}
table.data-table:not(.fin-facturas-table, .casos-sin-mesa-table, .mesa-casos-table, .mesa-comercial-table, .admin-table, .inv-lines) :is(td .muted, .cell-stack) {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}
table.data-table:not(.fin-facturas-table, .casos-sin-mesa-table, .mesa-casos-table, .mesa-comercial-table, .admin-table, .inv-lines) > :is(thead, tbody, tfoot) > tr > :is(th, td):not(.num, .col-num, .col-date, .col-actions) {
  max-width: 18rem;
}
table.data-table .col-name {
  min-width: 11rem;
  max-width: 18rem;
}
.sold-table .sold-name {
  max-width: 32rem;
  white-space: normal;
}

.tramite-page table.tramite-table {
  table-layout: auto !important;
  width: max-content !important;
  min-width: 100% !important;
  max-width: none !important;
}
.tramite-page table.tramite-table .tramite-col-price,
.tramite-page table.tramite-table .num {
  width: auto !important;
  min-width: 6.5rem !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.fin-facturas-table .col-f-abogado {
  width: 12%;
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.25;
}
.casos-sin-mesa-table :is(.col-name, .col-mesa, .col-person),
.mesa-clientes-table :is(.col-client-phone, .col-client-lawyer) {
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.3;
}
