/* The theme sizes every table cell for short dashboard values
   (white-space: nowrap, in base.css). Markdown tables hold prose and
   lists of links; without this the table overflows its column and the
   rightmost cells are only reachable by horizontal scroll. */
.table-wrapper td,
.table-wrapper th {
  white-space: normal;
  overflow-wrap: anywhere;
}

/* A headerless table (the two-column fact tables on the module pages
   and in the modules index) renders its empty header row as a blank
   band above the rows: the theme gives every th a fixed height. Collapse
   the band; the row's bottom border stays as the table's top rule. */
.table-wrapper thead tr:has(th:empty) {
  height: 0;
}
.table-wrapper thead th:empty {
  height: 0;
  padding: 0;
}

/* Web builder remix feature matrix (page.js). */
.ob-features-wrap {
  overflow-x: visible;
  margin: 1rem 0 1.5rem;
  width: 100%;
}
.ob-features {
  border-collapse: collapse;
  font-size: 0.85rem;
  width: 100%;
  table-layout: fixed;
}
.ob-features th,
.ob-features td {
  border: 1px solid var(--border, #ccc);
  padding: 0.35rem 0.55rem;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ob-features th[scope="row"],
.ob-features thead th:first-child {
  text-align: left;
  font-weight: 600;
  width: 7.5rem;
}
.ob-features .ob-row-hover > *,
.ob-features .ob-col-hover {
  background: color-mix(in srgb, var(--primary, #d4d4d4) 12%, transparent);
}
.ob-features .ob-cell-hover {
  background: color-mix(in srgb, var(--primary, #d4d4d4) 28%, transparent);
}
