/* Local landing experiment only; no source-table rewrites or price-card styles. */
.renew-main.renew-landing .renew-prose table {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--renew-table-border);
  border-radius: 12px;
  background: var(--renew-table-body-surface, #fff);
  box-shadow: none;
}
/* Keep scrolling and unwrapped tables flat, without an exterior shadow. */
.renew-landing .renew-prose :is(.table-wrapper, .renew-table-scroll):has(> table) {
  border-radius: 12px;
  background: var(--renew-table-body-surface, #fff);
  box-shadow: none;
}
.renew-landing .renew-prose :is(.table-wrapper, .renew-table-scroll) > table {
  box-shadow: none;
  margin-block: 0;
}
.renew-landing .renew-prose table > :is(thead, tbody, tfoot) > tr > :is(td, th) {
  border: 0;
  border-bottom: 1px solid #e7ecf0;
}
/* Tint the body, not every cell: transparent ordinary cells show it, while
   intentional row/cell fills (totals, warnings, source colours) stay visible. */
.renew-landing .renew-prose table > tbody { background: var(--renew-table-body-surface, #fff); }
.renew-landing .renew-prose table > :is(thead, tbody, tfoot) > tr > :is(th, td):not(:last-child) {
  border-right: 1px solid var(--renew-table-border);
}
.renew-landing .renew-prose table > tr:first-child > th,
.renew-landing .renew-prose table > tbody > tr:first-child > th {
  background: var(--renew-table-head); color: var(--renew-table-ink); border-color: var(--renew-table-border);
  text-align: center;
  vertical-align: middle;
}
/* Preserve the source footnote spacing below the table. */
.renew-landing .renew-prose :is(.table-wrapper, .renew-table-scroll):has(> table) + p:has(> small),
.renew-landing .renew-prose table + p:has(> small),
.renew-landing .renew-prose :is(table, .table-wrapper, .renew-table-scroll) + .legenda_tabla_landing { margin-top: 28px; }
.renew-landing .renew-prose table > thead > tr:first-child > :first-child { border-top-left-radius: 11px; }
.renew-landing .renew-prose table > thead > tr:first-child > :last-child { border-top-right-radius: 11px; }
.renew-landing .renew-prose table > tbody:first-child > tr:first-child > :first-child { border-top-left-radius: 11px; }
.renew-landing .renew-prose table > tbody:first-child > tr:first-child > :last-child { border-top-right-radius: 11px; }
.renew-landing .renew-prose table > :is(tbody, tfoot):last-child > tr:last-child > :is(td, th) { border-bottom: 0; }
.renew-landing .renew-prose table > :is(tbody, tfoot):last-child > tr:last-child > :first-child { border-bottom-left-radius: 11px; }
.renew-landing .renew-prose table > :is(tbody, tfoot):last-child > tr:last-child > :last-child { border-bottom-right-radius: 11px; }
/* Preserve the existing semantic total row, not alternating row decoration. */
.renew-landing .renew-prose table > tbody > tr.text_tabla_total > :is(td, th) { border-top: 2px solid #333; }
