/* Flying Circus manual overrides for the zensical/Material theme.
 *
 * The previous version of this file was a Furo/Sphinx relic: it referenced
 * Furo CSS variables (--color-headings, --color-brand-content,
 * --color-highlight-on-target) and Furo layout classes (.toctree-l1,
 * .sidebar-logo, .sidebar-container) that do not exist in the Material
 * theme, and imported a font stylesheet from flyingcircus.io that returns
 * 404. All of it was dead CSS. What survives:
 *
 *   - the square list markers (Material defaults to disc),
 *   - the Fira Sans / Roboto Mono typefaces, now SELF-HOSTED: zensical.toml
 *     sets font = false, which suppresses the Google Fonts <link> and the
 *     theme's --md-text-font/--md-code-font <style> (base.html); the
 *     @font-face declarations below and the :root variables restore the
 *     same typefaces from the vendored woff2 files in _static/fonts/.
 */

@font-face {
  font-family: "Fira Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fira-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Fira Sans";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fira-sans-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Fira Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fira-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Fira Sans";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fira-sans-latin-ext-wght-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Roboto Mono";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("fonts/roboto-mono-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Roboto Mono";
  font-style: italic;
  font-weight: 100 700;
  font-display: swap;
  src: url("fonts/roboto-mono-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Roboto Mono";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("fonts/roboto-mono-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Roboto Mono";
  font-style: italic;
  font-weight: 100 700;
  font-display: swap;
  src: url("fonts/roboto-mono-latin-ext-wght-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --md-text-font: "Fira Sans";
  --md-code-font: "Roboto Mono";
}

ul,
ul ul {
  list-style-type: square;
}

/* Image zoom previews: zoomable content images render as compact inline
 * previews (24em); clicking opens the full-size image in the lightbox,
 * which stays sharp because it never upscales beyond natural size. The
 * decorative {.logo} thumbnails and off-glb images sit in no glightbox
 * anchor and keep their size. Cursor hints at the zoom affordance.
 */
.md-typeset a.glightbox {
  cursor: zoom-in;
}

.md-typeset a.glightbox > img {
  max-width: 24em;
}

:root {
  --ansi-black: #282a36;
  --ansi-blue: #265285;
  --ansi-cyan: #8be9fd;
  --ansi-green: #50fa7b;
  --ansi-magenta: #bd93f9;
  --ansi-red: #f55;
  --ansi-white: #f8f8f2;
  --ansi-yellow: #ffb86c;
  --color-backdrop: 255 255 255;
  --color-background-subtle: 240 240 240;
  --color-background: 255 255 255;
  --color-foreground: 0 0 0;
  --doc-symbol-attribute-bg-color: #9538001a;
  --doc-symbol-attribute-fg-color: #953800;
  --doc-symbol-class-bg-color: #0550ae1a;
  --doc-symbol-class-fg-color: #0550ae;
  --doc-symbol-function-bg-color: #8250df1a;
  --doc-symbol-function-fg-color: #8250df;
  --doc-symbol-method-bg-color: #8250df1a;
  --doc-symbol-method-fg-color: #8250df;
  --doc-symbol-module-bg-color: #5cad0f1a;
  --doc-symbol-module-fg-color: #5cad0f;
  --doc-symbol-parameter-bg-color: #829bd11a;
  --doc-symbol-parameter-fg-color: #829bd1;
  --doc-symbol-type_alias-bg-color: #0550ae1a;
  --doc-symbol-type_alias-fg-color: #0550ae;
  --doc-symbol-type_parameter-bg-color: #829bd11a;
  --doc-symbol-type_parameter-fg-color: #829bd1;
  --md-accent-bg-color--light: #f2f5f8;
  --md-accent-bg-color: #fff;
  --md-accent-fg-color--transparent: #526cfe1a;
  --md-accent-fg-color: #52a46c;
  --md-admonition-bg-color: #fff;
  --md-admonition-fg-color: #000000de;
  --md-code-bg-color--light: #f5f5f5b3;
  --md-code-bg-color--lighter: #f5f5f54d;
  --md-code-bg-color: #f5f5f5;
  --md-code-fg-color: #36464e;
  --md-code-font: "Roboto Mono";
  --md-code-hl-color--light: #52a46c;
  --md-code-hl-color: #badbc4;
  --md-code-hl-comment-color: #0000008a;
  --md-code-hl-constant-color: #6e59d9;
  --md-code-hl-function-color: #a846b9;
  --md-code-hl-generic-color: #0000008a;
  --md-code-hl-keyword-color: #3f6ec6;
  --md-code-hl-name-color: #36464e;
  --md-code-hl-number-color: #d52a2a;
  --md-code-hl-operator-color: #0000008a;
  --md-code-hl-punctuation-color: #0000008a;
  --md-code-hl-special-color: #db1457;
  --md-code-hl-string-color: #1c7d4d;
  --md-code-hl-variable-color: #0000008a;
  --md-default-bg-color--light: #ffffffb3;
  --md-default-bg-color--lighter: #ffffff4d;
  --md-default-bg-color--lightest: #ffffff1f;
  --md-default-bg-color: #fff;
  --md-default-fg-color--light: #52a46c;
  --md-default-fg-color--lighter: #00000052;
  --md-default-fg-color--lightest: #00000012;
  --md-default-fg-color: #badbc4;
  --md-footer-bg-color--dark: #00000052;
  --md-footer-bg-color: #000000de;
  --md-footer-fg-color--light: #ffffffb3;
  --md-footer-fg-color--lighter: #ffffff73;
  --md-footer-fg-color: #fff;
  --md-hue: 225deg;
  --md-primary-bg-color--light: #ffffffb3;
  --md-primary-bg-color: #fff;
  --md-primary-fg-color--dark: #a9d2b6;
  --md-primary-fg-color--light: #52a46c;
  --md-primary-fg-color: #52a46c;
  --md-progress-delay: 400ms;
  --md-progress-value: 0;
  --md-shadow-z1: 0 0.2rem 0.5rem #0000000d,0 0 0.05rem #0000001a;
  --md-shadow-z2: 0 0.2rem 0.5rem #0000001a,0 0 0.05rem #00000040;
  --md-shadow-z3: 0 0.2rem 0.5rem #0003,0 0 0.05rem #00000059;
  --md-text-font: "Fira Sans";
  --md-tooltip-tail: 0.3rem;
  --md-tooltip-width: 20rem;
  --md-typeset-a-color: #52a46c;
  --md-typeset-color: #000000de;
  --md-typeset-del-color: #f5503d26;
  --md-typeset-ins-color: #0bd57026;
  --md-typeset-kbd-accent-color: #fff;
  --md-typeset-kbd-border-color: #b8b8b8;
  --md-typeset-kbd-color: #fafafa;
  --md-typeset-mark-color: #ffff0080;
  --md-typeset-table-color--light: rgba(0,0,0,.035);
  --md-typeset-table-color: #0000001f;
  --md-warning-bg-color: #ff9;
  --md-warning-fg-color: #000000de;
}
.md-grid {
  width: 95vw;
  max-width:100rem;
}
.md-sidebar {
      width: 16.1rem;
}
@supports selector(::-webkit-scrollbar) {
    [dir=ltr] .md-sidebar__inner {
        padding-right: initial;
    }
}
/* Scroll-Container der Sidebar */
.md-sidebar__scrollwrap {
  scrollbar-gutter: stable;
}
/* Optional: Feste Maximalbreite für das innere Element */
.md-sidebar__inner {
  max-width: 100%;
  box-sizing: border-box;
}
/* Silent "General" section (first nav group): its two title labels are
   hidden on desktop so Changelog/Security/Support float at the top of the
   sidebar like top-level links. Mobile drawer keeps the label -- it is the
   only way to expand the group. Class comes from the nav-item.html hunk. */
@media screen and (min-width: 76.25em) {
  .md-nav__item--silent > label.md-nav__link,
  .md-nav__item--silent > nav[data-md-level="1"] > label.md-nav__title {
    display: none;
  }
}
.md-header__button.md-logo img, .md-header__button.md-logo svg {
  height:2rem;
}
.md-header__title {
  visibility: hidden;
}
.version-switcher{
  margin: 0.5rem 0.5rem 1rem 0.5rem !important;
  border-radius: .2rem !important;
  font-size: .7rem !important;
  background-color: var(--md-default-bg-color--light) !important;
}
.version-switcher summary {
    padding: 0.25rem 0.75rem !important;
}
.version-switcher summary::after {
  content: "\25BE" !important; /* Kleines Dreieck nach unten (▾) */
  font-size: 1rem !important;
}

.version-switcher[open] summary::after {
  content: "\25B4" !important; /* Kleines Dreieck nach oben (▴) */
}
/* Verhindert, dass das leere Element Platz reserviert */
.md-header__source:empty {
  display: none;
}

/* Oder global komplett abschalten */
.md-header__source {
  display: none;
}
/* Light/Dark Styling*/
body[data-md-color-scheme="slate"] {
  h1,h2,h3,h4,h5,h6{
    color:#75b689;
  }
}
body[data-md-color-scheme="default"] {
  h1,h2,h3,h4,h5,h6{
    color:#52a46c;
  }
}
