@charset "UTF-8";
:root {
  --mma-default-color: #607d8b;
  --mma-default-title-background: rgba(96, 125, 139, 0.16);
}

/*
 * Theme-aware presentation
 *
 * The runtime writes resolved Light/Dark values to variables such as:
 *
 *   --mma-color-light
 *   --mma-color-dark
 *
 * This stylesheet maps them to the backwards-compatible active variables:
 *
 *   --mma-color
 *   --mma-border-color
 *   --mma-title-background
 *   --mma-icon
 *   --mma-icon-color
 *   --mma-font-size
 *
 * Custom and special styles may therefore continue to consume the active
 * variables without knowing which theme is currently selected.
 */
/* ==========================================================
 * LIGHT MODE / DEFAULT MODE
 *
 * This is also the fallback when no Material color-scheme attribute exists.
 * ========================================================== */
.md-typeset .admonition.mkdocs-maths-admonition[data-mkdocs-maths-admonitions-key],
.md-typeset details.mkdocs-maths-admonition[data-mkdocs-maths-admonitions-key] {
  --mma-color:
    var(
      --mma-color-light,
      var(--mma-default-color)
    );
  --mma-border-color:
    var(
      --mma-border-color-light,
      var(--mma-color)
    );
  --mma-title-background:
    var(
      --mma-title-background-light,
      color-mix(
        in srgb,
        var(--mma-color) 18%,
        transparent
      )
    );
  --mma-icon:
    var(
      --mma-icon-light,
      var(--mma-icon-dark)
    );
  --mma-icon-color:
    var(
      --mma-icon-color-light,
      var(--mma-color)
    );
  --mma-font-size:
    var(
      --mma-font-size-light,
      inherit
    );
  border-color: var(--mma-border-color);
  font-size: var(--mma-font-size);
}

/* ==========================================================
 * DARK MODE
 * Material for MkDocs uses data-md-color-scheme="slate".
 * ========================================================== */
[data-md-color-scheme=slate] .md-typeset .admonition.mkdocs-maths-admonition[data-mkdocs-maths-admonitions-key],
[data-md-color-scheme=slate] .md-typeset details.mkdocs-maths-admonition[data-mkdocs-maths-admonitions-key] {
  --mma-color:
    var(
      --mma-color-dark,
      var(
        --mma-color-light,
        var(--mma-default-color)
      )
    );
  --mma-border-color:
    var(
      --mma-border-color-dark,
      var(--mma-color)
    );
  --mma-title-background:
    var(
      --mma-title-background-dark,
      color-mix(
        in srgb,
        var(--mma-color) 18%,
        transparent
      )
    );
  --mma-icon:
    var(
      --mma-icon-dark,
      var(--mma-icon-light)
    );
  --mma-icon-color:
    var(
      --mma-icon-color-dark,
      var(--mma-color)
    );
  --mma-font-size:
    var(
      --mma-font-size-dark,
      inherit
    );
}

/* ==========================================================
 * TITLE
 * ========================================================== */
.md-typeset .mkdocs-maths-admonition[data-mkdocs-maths-admonitions-key] > .admonition-title,
.md-typeset .mkdocs-maths-admonition[data-mkdocs-maths-admonitions-key] > summary {
  /* Fallback for browsers without color-mix(). */
  background-color: var(--mma-default-title-background);
  background-color: var(--mma-title-background);
  border-color: var(--mma-color);
}

/* ==========================================================
 * TITLE ICON — MASK MODE
 *
 * This is the default mode. The SVG supplies only the shape and MMA applies
 * the active icon color.
 * ========================================================== */
.md-typeset .mkdocs-maths-admonition[data-mkdocs-maths-admonitions-key] > .admonition-title::before,
.md-typeset .mkdocs-maths-admonition[data-mkdocs-maths-admonitions-key] > summary::before {
  background-color: var(--mma-icon-color);
  background-image: none;
  -webkit-mask-image: var(--mma-icon);
  mask-image: var(--mma-icon);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* ==========================================================
 * TITLE ICON — IMAGE MODE
 *
 * The SVG is rendered as a normal background image, so its embedded colors
 * and transparency are preserved. iconColor is intentionally ignored.
 * ========================================================== */
.md-typeset .mkdocs-maths-admonition-icon-mode--image[data-mkdocs-maths-admonitions-key] > .admonition-title::before,
.md-typeset .mkdocs-maths-admonition-icon-mode--image[data-mkdocs-maths-admonitions-key] > summary::before {
  background-color: transparent;
  background-image: var(--mma-icon);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-mask-image: none;
  mask-image: none;
}

/*
 * Special presentation for the canonical "proof" admonition.
 *
 * Translated aliases are normalized by the runtime to:
 *
 * data-mkdocs-maths-admonitions-key="proof"
 *
 * Main colors, border colors, backgrounds, title icons and font sizes are
 * already theme-aware through the active variables defined in _base.scss.
 */
/* ==========================================================
 * SHARED STYLES
 * Applied in both Light and Dark modes
 * ========================================================== */
.md-typeset :is(.admonition, details).mkdocs-maths-admonition-style--proof[data-mkdocs-maths-admonitions-key=proof] {
  position: relative;
  border-color: var(--mma-border-color);
  border-style: dashed;
  /*
   * Light mode is the default.
   *
   * The localized QED/CQFD SVG is used as a mask. Its original color is
   * therefore ignored: only its opaque and transparent areas matter.
   */
  --mma-qed-icon-active:
    var(
      --mma-qed-icon-light,
      none
    );
  --mma-qed-icon-color-active:
    #000000;
}

/* ==========================================================
 * DARK MODE
 * Select the localized QED/CQFD image intended for a dark background.
 * ========================================================== */
[data-md-color-scheme=slate] .md-typeset :is(.admonition, details).mkdocs-maths-admonition-style--proof[data-mkdocs-maths-admonitions-key=proof] {
  --mma-qed-icon-active:
    var(
      --mma-qed-icon-dark,
      var(
        --mma-qed-icon-light,
        none
      )
    );
  --mma-qed-icon-color-active:
    #ffffff;
}

/* ==========================================================
 * OPEN COLLAPSIBLE PROOF
 * Reinforced dashed left border
 * ========================================================== */
.md-typeset details.mkdocs-maths-admonition-style--proof[data-mkdocs-maths-admonitions-key=proof][open] {
  border-left: 4px dashed var(--mma-border-color);
}

/* ==========================================================
 * OPEN COLLAPSIBLE PROOF
 * Short dashed horizontal line at bottom-left
 * ========================================================== */
.md-typeset details.mkdocs-maths-admonition-style--proof[data-mkdocs-maths-admonitions-key=proof][open]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  width: min(80px, 10%);
  border-bottom: 4px dashed var(--mma-border-color);
  pointer-events: none;
}

/* ==========================================================
 * LOCALIZED QED / CQFD / CQD / CVD / WZBW IMAGE
 * Displayed at the bottom-right of the proof
 *
 * The SVG is rendered as a mask:
 *
 * - black in Light mode;
 * - white in Dark mode;
 * - transparent everywhere the SVG is transparent.
 * ========================================================== */
.md-typeset :is(.admonition, details).mkdocs-maths-admonition-style--proof[data-mkdocs-maths-admonitions-key=proof] > p:last-of-type::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 2px;
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: var(--mma-qed-icon-color-active, #000000);
  -webkit-mask-image: var(--mma-qed-icon-active, none);
  mask-image: var(--mma-qed-icon-active, none);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  pointer-events: none;
}

.md-typeset .mkdocs-maths-admonition[data-mkdocs-maths-admonitions-key=example] > .admonition-title::after,
.md-typeset .mkdocs-maths-admonition[data-mkdocs-maths-admonitions-key=example] > summary::after {
  color: var(--md-default-fg-color);
}/*$vite$:1*/