:root {
    --md-admonition-icon--specifier: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M278.5 215.6L23 471c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l74.8-74.8c7.4 4.6 15.3 8.2 23.8 10.5C200.3 452.8 270 454.5 338 409.4c12.2-8.1 5.8-25.4-8.8-25.4l-16.1 0c-5.1 0-9.2-4.1-9.2-9.2c0-4.1 2.7-7.6 6.5-8.8l97.7-29.3c3.4-1 6.4-3.1 8.4-6.1c4.4-6.4 8.6-12.9 12.6-19.6c6.2-10.3-1.5-23-13.5-23l-38.6 0c-5.1 0-9.2-4.1-9.2-9.2c0-4.1 2.7-7.6 6.5-8.8l80.9-24.3c4.6-1.4 8.4-4.8 10.2-9.3C494.5 163 507.8 86.1 511.9 36.8c.8-9.9-3-19.6-10-26.6s-16.7-10.8-26.6-10C391.5 7 228.5 40.5 137.4 131.6C57.3 211.7 56.7 302.3 71.3 356.4c2.1 7.9 12 9.6 17.8 3.8L253.6 195.8c6.2-6.2 16.4-6.2 22.6 0c5.4 5.4 6.1 13.6 2.2 19.8z"/></svg>');
    --md-admonition-icon--setting: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 0a12 12 0 1012 12A12 12 0 0012 0zm0 23.52A11.52 11.52 0 1123.52 12 11.52 11.52 0 0112 23.52zm7.13-9.791c-.206.997-1.126 3.557-4.06 4.942l-1.179-1.325-1.988 2a7.338 7.338 0 01-5.804-2.978 2.859 2.859 0 00.65.123c.326.006.678-.114.678-.66v-5.394a.89.89 0 00-1.116-.89c-.92.212-1.656 2.509-1.656 2.509a7.304 7.304 0 012.528-5.597 7.408 7.408 0 013.73-1.721c-1.006.573-1.57 1.507-1.57 2.29 0 1.262.76 1.109.984.923v7.28a1.157 1.157 0 00.148.256 1.075 1.075 0 00.88.445c.76 0 1.747-.868 1.747-.868V9.172c0-.6-.452-1.324-.905-1.572 0 0 .838-.149 1.484.346a5.537 5.537 0 01.387-.425c1.508-1.48 2.929-1.902 4.112-2.112 0 0-2.151 1.69-2.151 3.96 0 1.687.043 5.801.043 5.801.799.771 1.986-.342 3.059-1.441Z"/></svg>');
    --md-admonition-icon--func-node: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.6 5.29c-1.1-.1-2.07.71-2.17 1.82L13.18 10H16v2h-3l-.44 5.07a3.986 3.986 0 0 1-4.33 3.63 4 4 0 0 1-3.06-1.87l1.5-1.5c.24.74.9 1.31 1.73 1.38 1.1.1 2.07-.71 2.17-1.82L11 12H8v-2h3.17l.27-3.07c.19-2.2 2.13-3.83 4.33-3.63 1.31.11 2.41.84 3.06 1.87l-1.5 1.5c-.24-.74-.9-1.31-1.73-1.38"/></svg>');
    --md-admonition-icon--alt-node: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M320 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160zm156.8-48C462 361 397.4 416 320 416s-142-55-156.8-128L32 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l131.2 0C178 151 242.6 96 320 96s142 55 156.8 128L608 224c17.7 0 32 14.3 32 32s-14.3 32-32 32l-131.2 0z"/></svg>');
    --md-admonition-icon--latent-node: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="currentColor" d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0M1.5 8a6.5 6.5 0 1 0 13 0a6.5 6.5 0 0 0-13 0m7-3.25v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.75.75 0 0 1 7 8.25v-3.5a.75.75 0 0 1 1.5 0"/></svg>');
    --md-status--cpp: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M23.922 10.66a11.883 11.883 0 0 0-.46-2.21 11.925 11.925 0 0 0-1.47-3.09A12.002 12.002 0 0 0 20.63 3.67a11.993 11.993 0 0 0-3.016-2.273 11.849 11.849 0 0 0-2.343-.94 11.916 11.916 0 0 0-1.487-.32A11.028 11.028 0 0 0 12.39.01c-.236-.005-.473-.015-.709-.004-.345.016-.69.036-1.033.077-.385.046-.77.108-1.15.182a11.947 11.947 0 0 0-4.906 2.297 12.011 12.011 0 0 0-3.186 3.8A11.91 11.91 0 0 0 .395 8.94a11.889 11.889 0 0 0-.393 2.882 11.916 11.916 0 0 0 .073 1.527 11.957 11.957 0 0 0 3.103 6.79 11.982 11.982 0 0 0 2.913 2.311 11.92 11.92 0 0 0 5.529 1.547c.013 0 .818-.002.868-.004a12.099 12.099 0 0 0 1.543-.162 11.945 11.945 0 0 0 6.173-3.072 11.98 11.98 0 0 0 3.303-5.353c.162-.55.29-1.107.364-1.675.053-.406.087-.815.113-1.224a10.71 10.71 0 0 0-.062-1.848zm-5.83 7.555c-.043.276-.164.479-.324.706-.174.245-.418.418-.657.594-1.03.758-2.41 1.342-3.668 1.562-.47.082-2.956.504-5.4-.692a9.64 9.64 0 0 1-2.986-2.276c-1.76-2.017-2.56-4.628-2.217-7.253.334-2.555 1.763-4.9 3.859-6.387a8.738 8.738 0 0 1 3.425-1.472 8.989 8.989 0 0 1 3.94.112c.625.153 1.23.394 1.806.68.565.281 1.169.634 1.642 1.056.45.4.665.972.592 1.572-.087.715-.447 1.12-.967 1.36a1.682 1.682 0 0 1-1.597-.116c-.259-.17-.485-.385-.747-.551a5.485 5.485 0 0 0-.834-.412c-.607-.254-1.213-.36-1.865-.399-.625-.038-1.36.071-1.959.258-1.207.376-2.259 1.1-2.973 2.154-.72 1.064-1.107 2.322-1.03 3.609a6.043 6.043 0 0 0 1.34 3.444c.79.954 1.922 1.592 3.109 1.853 1.27.279 2.613.141 3.775-.458.283-.146.553-.298.807-.492.238-.182.458-.363.75-.45a1.771 1.771 0 0 1 1.67.368c.427.384.597 1.07.51 1.63zm-7.321-5.023H8.974c-.26 0-.416-.155-.416-.415a457.157 457.157 0 0 1 0-1.05c0-.255.156-.41.414-.411H10.84v-1.87c0-.257.155-.414.412-.414a331.056 331.056 0 0 1 1.053 0c.252 0 .408.156.409.41v1.873h1.86c.267 0 .422.154.422.422v1.049c0 .248-.158.405-.407.405h-1.875v1.865c0 .264-.154.42-.418.42h-1.048c-.251 0-.408-.158-.408-.412v-1.872h-.07zm12.107-.406c0 .248-.158.405-.408.406H20.596v1.865c0 .263-.154.418-.419.419H19.13c-.252 0-.408-.158-.408-.411v-1.873h-1.867c-.26 0-.415-.155-.415-.415a456.645 456.645 0 0 1 0-1.05c0-.255.155-.41.413-.411h1.869v-1.87c0-.257.155-.414.411-.414h1.054c.251 0 .408.156.408.41v1.873h1.86c.268 0 .422.154.423.422v1.049z"></path></svg>');
}

/* Headings */

h6 {
    display: flex;
    flex-direction: row;
}

h6:before, h6:after {
    flex: 1 1;
    content: "";
    margin: auto;
    border-bottom: 1px solid var(--md-default-fg-color--lightest);
}

h6:before {
    margin-right: 0.5em;
}

h6:after {
    margin-left: 0.25em;
}

h6 a.headerlink {
    margin-left: 0.25em !important;
}

/* Images */

.md-typeset img {
    border-radius: 5px;
}

.md-typeset img.no-border-radius {
    border-radius: 0;
}

.md-typeset p:has(> img:only-child:not(.inlined)) {
    text-align: center;
}

.md-typeset img.inlined {
    vertical-align: middle;
}

/* Videos */

.md-typeset video {
    border-radius: 5px;
}

.md-typeset video.no-border-radius {
    border-radius: 0;
}

.md-typeset p:has(> video:only-child) {
    text-align: center;
}

/* Tables */

.md-typeset table {
    border-bottom-width: 0.1rem !important;
}

.md-typeset table th:empty {
    display: none;
}

/* Statuses */

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

/* Custom Admonition Blocks */

.md-typeset .admonition.specifier {
    border: none;
}

.md-typeset .specifier > .admonition-title,
.md-typeset .specifier > summary {
    background-color: var(--md-primary-fg-color);;
}

.md-typeset .specifier > .admonition-title::before,
.md-typeset .specifier > summary::before {
    background-color: white;
    -webkit-mask-image: var(--md-admonition-icon--specifier);
    mask-image: var(--md-admonition-icon--specifier);
}

.md-typeset .specifier > .admonition-title code {
    color: white;
    background: none;
    box-shadow: none;
}



.md-typeset .admonition.setting {
    border: none;
}

.md-typeset .setting > .admonition-title,
.md-typeset .setting > summary {
    background-color: rgb(51, 51, 51);
    color: rgb(255, 255, 255);
    font-size: 0.9em;
}

.md-typeset .setting > .admonition-title::before,
.md-typeset .setting > summary::before {
    background-color: rgb(255, 255, 255);
    -webkit-mask-image: var(--md-admonition-icon--setting);
    mask-image: var(--md-admonition-icon--setting);
}



.md-typeset .admonition.node {
    border: none;
}

.md-typeset .node > .admonition-title,
.md-typeset .node > summary {
    background-color: rgb(78 121 149);
    color: rgb(255, 255, 255);
    font-size: 0.9em;
}

.md-typeset .node > .admonition-title::before,
.md-typeset .node > summary::before {
    background-color: rgb(255, 255, 255);
    -webkit-mask-image: var(--md-admonition-icon--func-node);
    mask-image: var(--md-admonition-icon--func-node);
}



.md-typeset .admonition.altnode {
    border: none;
}

.md-typeset .altnode > .admonition-title,
.md-typeset .altnode > summary {
    background-color: rgb(105, 105, 105);
    color: rgb(255, 255, 255);
    font-size: 0.9em;
}

.md-typeset .altnode > .admonition-title::before,
.md-typeset .altnode > summary::before {
    background-color: rgb(255, 255, 255);
    -webkit-mask-image: var(--md-admonition-icon--alt-node);
    mask-image: var(--md-admonition-icon--alt-node);
}



.md-typeset .admonition.latnode {
    border: none;
}

.md-typeset .latnode > .admonition-title,
.md-typeset .latnode > summary {
    background-color: rgb(78 121 149);
    color: rgb(255, 255, 255);
    font-size: 0.9em;
}

.md-typeset .latnode > .admonition-title::before,
.md-typeset .latnode > summary::before {
    background-color: rgb(255, 255, 255);
    -webkit-mask-image: var(--md-admonition-icon--latent-node);
    mask-image: var(--md-admonition-icon--latent-node);
}
