[data-md-color-scheme='superhuman'] {
  /* Theme overrides. */
  --md-primary-fg-color: var(--origin-color-text-brand-default);
  --md-primary-bg-color: var(--origin-color-background-base-default);
  --md-accent-fg-color: var(--origin-color-border-base-active);
  --md-typeset-a-color: var(--origin-color-link-text-primary);
  --md-code-hl-color: var(--origin-color-highlight-noncritical-default);
  --md-typeset-color: var(--origin-color-text-base-default);

  /* Custom variables. */
  --external-link-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2022 Fonticons, Inc.--><path d="M256 64c0-17.67 14.3-32 32-32h127.1c5.2 0 9.4.86 13.1 2.43 2.9 1.55 7.3 3.84 10.4 6.87 0 .05 0 .1.1.14 6.2 6.22 8.4 14.34 9.3 22.46V192c0 17.7-14.3 32-32 32s-32-14.3-32-32v-50.7L214.6 310.6c-12.5 12.5-32.7 12.5-45.2 0s-12.5-32.7 0-45.2L338.7 96H288c-17.7 0-32-14.33-32-32zM0 128c0-35.35 28.65-64 64-64h96c17.7 0 32 14.33 32 32 0 17.7-14.3 32-32 32H64v288h288v-96c0-17.7 14.3-32 32-32s32 14.3 32 32v96c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128z"/></svg>');

  /* Don't use link colors in the announcement banner, for readability. */
  .md-banner a {
    color: inherit;
    text-decoration: underline;
  }

  /* Ensure <button> and <a> buttons have the same height */
  .md-typeset .md-button {
    line-height: 1.6em;
  }

  /* Add an icon next to external links in the nav. */
  .md-sidebar a[href]:where(
    [href^="https://"],
  ):after {
    background-color: currentColor;
    mask-image: var(--external-link-image);
    -webkit-mask-image: var(--external-link-image);
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    display: inline-block;
    width: 0.6rem;
    height: 0.6rem;
    content: '';
  }

  /*
  * Work around search suggest results being too large.
  * See: https://github.com/squidfunk/mkdocs-material/issues/4278#issuecomment-1562597537
  */
  .md-search-result .md-typeset {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    max-height: 140px;
  }

  /* Apply the theme font everywhere. */
  aside,
  body,
  input {
    font-family: var(--origin-font-family-sans-default);
  }
}
