/* Site-wide tweaks to the Material theme. */

/* Table text at body size (the theme shrinks it to 0.64rem). */
.md-typeset table:not([class]) {
  font-size: inherit;
}

/* Long commands wrap on screen instead of scrolling sideways. The wrap is
   visual only: the copy button and text selection still give the original
   line, because no line breaks are added to the text. */
.md-typeset pre > code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* Coefficient patterns table in reference/units.md: column widths follow the
   content. Column 2 is narrowest, column 3 next; columns 1 and 4 share
   the rest equally. */
.md-typeset .coeff-patterns .md-typeset__scrollwrap,
.md-typeset .coeff-patterns .md-typeset__table {
  display: block;
  width: 100%;
}
.md-typeset .coeff-patterns table:not([class]) {
  display: table;
  table-layout: fixed;
  width: 100%;
}
.md-typeset .coeff-patterns th:nth-child(1),
.md-typeset .coeff-patterns th:nth-child(4) {
  width: 32%;
}
.md-typeset .coeff-patterns th:nth-child(2) {
  width: 15%;
}
.md-typeset .coeff-patterns th:nth-child(3) {
  width: 21%;
}
.md-typeset .coeff-patterns td,
.md-typeset .coeff-patterns th {
  overflow-wrap: anywhere;
}
