/* Header and tabs on the brand's dark ground. Material colours links from the primary
   colour, so links keep the values the deep purple palette gave them. */
:root > * {
  --md-primary-fg-color: #0d1117;
  --md-primary-fg-color--light: #161b22;
  --md-primary-fg-color--dark: #010409;
}

[data-md-color-scheme="default"] {
  --md-typeset-a-color: #7e56c2;
}

[data-md-color-scheme="slate"] {
  --md-typeset-a-color: #a47bea;
}

/* Code in a table cell wraps only at its spaces: a setting's name stays whole, and a long
   default or signature breaks between words. In a table of up to four columns the last column
   keeps room for its sentence; a cell holding only links, such as a See column, takes no more
   room than they need, and a wider table has none to give. */
.md-typeset table:not([class]) td code {
  word-break: normal;
  overflow-wrap: normal;
}

.md-typeset table:not([class]) td:last-child:nth-child(-n + 4):not(:has(> a):not(:has(> :not(a)))) {
  min-width: 16em;
}
