a.md-logo {
  display: none !important;
}
[dir="ltr"] .md-header__title {
  margin-left: .6rem;
}

/* Keep top navbar visible on smaller screens */
@media screen and (min-width: 360px) {
  .md-tabs {
    display: block !important;
  }
  /* Correct scroll margin position to account for sticky nav */
  .md-header--lifted~.md-container .md-typeset :target {
    --md-scroll-margin: 6rem;
  }
}

/* Use the same doc head styling for H3-H5 as for H2 */
h3.doc-heading, h4.doc-heading, h5.doc-heading {
  font-size: 1.5625em;
  line-height: 1.4;
  margin: 1.6em 0 .64em;
  font-weight: 300;
  letter-spacing: -.01em;
}
/* Use the same styling as for H3 */
/*h4.doc-heading, h5.doc-heading {
  font-size: 1.25em;
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.5;
  margin: 1.6em 0 .8em;
}*/

/* Larger admonitions/details (overrides material's default) */
.md-typeset .admonition, .md-typeset details {
  font-size: 0.75rem; /*inherit;*/
}

/* Style title-only admonitions */
.md-typeset .admonition .admonition-title:last-child {
  font-weight: normal;
}

/* Don't expand code blocks to full page width on mobile (overrides material's default) */
@media screen and (max-width:44.984375em) {
   .md-content__inner > .highlight {
    margin-left: 0;
    margin-right: 0;
  }
  /*.md-content__inner > .tabbed-set .tabbed-labels {
    margin-left: 0;
    margin-right: 0;
  }*/
}

/* Syntax highlight customizations */
.highlight {
  /* Color Literal.Number */
  .m { color: var(--md-code-hl-special-color) }
  .m { color: var(--doc-symbol-var-fg-color); filter: brightness(75%) }
  .m { color: var(--md-code-hl-special-color); filter: brightness(80%) }
  /* Color function calls (uses the unusual Name.Label) */
  .nl { color: var(--md-code-hl-name-color) }
  /* XXX  .nl { color: #b96824 } */
  /* Color Name.Attribute to stand out more */
  .na { color: var(--md-code-hl-special-color) }

  /* Make Name.Variable stand out more in code example (but not in function signatures) */
  &.language-minsc, &.language-minsc-noref, &.language-m {
    .nv { color: var(--md-code-hl-name-color) }
  }
  &.language-minsc-sig {
    /* Make Name.Function definitions stand out less in function signatures (but not in code examples) */
    .nf { color: var(--md-code-hl-name-color) }
    /* Make operators and punctuation stand out more in function signatures (but not in code examples) */
    --md-code-hl-operator-color: var(--md-code-hl-name-color);
    --md-code-hl-punctuation-color: var(--md-code-hl-name-color);
  }
  /* Make Keyword.Type stand out less in inline code blocks */
  &:is(code).language-minsc, &:is(code).language-minsc-noref, &:is(code).language-m {
    .kt { color: var(--md-code-hl-name-color) }
  }
  /* Make Operator and Punctuation stand out less in inline signature blocks (used for field types) */
  &:is(code).language-minsc-sig {
    --md-code-hl-operator-color: var(--md-default-fg-color--light);
    --md-code-hl-punctuation-color: var(--md-default-fg-color--light);
  }
}

/* Code blocks/inlines with word wrapping */
.break-words.highlight pre {
  white-space: pre-wrap;
}
.break-words.highlight pre code, code.break-words.highlight {
  word-break: break-all
}

/* markdown-exec execution result below code container */
.mresult {
  border: .05rem solid var(--md-code-bg-color);
  border-bottom-left-radius: .1rem;
  border-bottom-right-radius: .1rem;
  border-top-width: .1rem;
  margin-top: -1em; /* -1.125em;*/
  margin-bottom: 1.5em;
  overflow: visible;
  padding: 0 /*1em*/;
  pre { margin: 0 /*-1em*/ }
  code { background: none }
  span.filename {
    margin-top: 0;
    border-top: .05rem solid var(--md-default-fg-color--lightest);
  }
  p { margin-bottom: 0 }
  .admonition {
    margin: 0;
    border-radius: 0 0 .2rem .2rem;
  }
}

.tabbed-labels.tabs-below {
  /* Make border appear above */
  box-shadow: 0 .05rem var(--md-default-fg-color--lightest) inset;
}

.play-link {
  color: var(--md-accent-fg-color) !important;
}

.tabbed-labels .play-link {
  opacity: 0.75;
  &:hover, &:active { opacity: 1 }
}

/* Playground link floated in code block (next to copy button) */
.highlight pre .play-link {
  position: absolute;
  top: 0.61em;
  right: 2em;
  opacity: 0.4/*0.25*/;
  transition: opacity .25s;
  .twemoji { --md-icon-size: 1.31em }
}
.highlight pre:hover .play-link { opacity: /*0.5*/0.75 }
.highlight pre .play-link:hover { opacity: 1 }


/* Style the same as .doc-signature .autorefs */
.md-typeset .highlight .autorefs {
  color: inherit;
  border-bottom: 1px dotted currentcolor;
}

/* Hide the active anchor target indicator on empty <a>s
  (used as anchor aliases with the autorefs plugin's [](){ #ALIASNAME } syntax) */
a[id]:target:empty { outline: none }

/* Source code link */
.md-typeset .source-link {
  color: var(--md-default-fg-color--light);
  /*margin-left: 5px;*/
  /*?opacity: 0.6; */
}

.md-tooltip2 {
  .doc-label code { font-size: 1em; }
  small { font-size: 1em; }
}

/* Doc indentation */
.doc-contents:not(.first) {
  padding-left: 25px;
  border-left: .05rem solid var(--md-typeset-table-color);
}

/* Avoid breaking parameters name, etc. in table cells. */
td code {
  word-break: normal !important;
}

/* Custom status icons */
:root {
  /* :material-flask-outline: */
  --md-status--exp: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 19a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1c0-.21-.07-.41-.18-.57L13 8.35V4h-2v4.35L5.18 18.43c-.11.16-.18.36-.18.57m1 3a3 3 0 0 1-3-3c0-.6.18-1.16.5-1.63L9 7.81V6a1 1 0 0 1-1-1V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1v1.81l5.5 9.56c.32.47.5 1.03.5 1.63a3 3 0 0 1-3 3zm7-6 1.34-1.34L16.27 18H7.73l2.66-4.61zm-.5-4a.5.5 0 0 1 .5.5.5.5 0 0 1-.5.5.5.5 0 0 1-.5-.5.5.5 0 0 1 .5-.5"></path></svg>');

}
.md-status--exp::after {
  mask-image: var(--md-status--exp);
  -webkit-mask-image: var(--md-status--exp);
}