/* Mejoras de lectura para matrices y documentación operativa extensa. */
.md-typeset h1 {
  font-weight: 750;
  letter-spacing: -0.025em;
}

.md-typeset h2 {
  margin-top: 2.2em;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--md-default-fg-color--lightest);
}

.md-typeset h3 {
  margin-top: 1.8em;
}

.md-typeset .coverage-summary table:not([class]) {
  display: table;
  width: 100%;
  font-size: 0.78rem;
}

.md-typeset .coverage-summary table:not([class]) th:first-child,
.md-typeset .coverage-summary table:not([class]) td:first-child {
  width: 12rem;
  white-space: nowrap;
}

.md-typeset__table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-radius: 0.45rem;
  box-shadow: 0 0 0 1px var(--md-default-fg-color--lightest);
}

.md-typeset table:not([class]) {
  width: 100%;
  font-size: 0.69rem;
  border: 0;
}

.md-typeset table:not([class]) th {
  background: var(--md-primary-fg-color);
  color: var(--md-primary-bg-color);
  font-weight: 700;
  white-space: nowrap;
}

.md-typeset table:not([class]) tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--md-primary-fg-color) 4%, transparent);
}

.md-typeset table:not([class]) tbody tr:hover {
  background: color-mix(in srgb, var(--md-accent-fg-color) 8%, transparent);
}

.md-typeset table:not([class]) td,
.md-typeset table:not([class]) th {
  padding: 0.65em 0.8em;
  vertical-align: top;
}

.md-typeset table:not([class]) td:first-child code,
.md-typeset table:not([class]) td:nth-child(2) code {
  white-space: nowrap;
}

.md-typeset .admonition,
.md-typeset details {
  border-radius: 0.45rem;
}

@media screen and (max-width: 44.984375em) {
  .md-typeset table:not([class]) {
    font-size: 0.64rem;
  }

  .md-typeset .coverage-summary table:not([class]) th:first-child,
  .md-typeset .coverage-summary table:not([class]) td:first-child {
    width: auto;
    white-space: normal;
  }
}
