:root {
    /* initially use section background to avoid flickering on load when a non default variant is active;
    this is only possible because every color variant defines this variable, otherwise we would have been lost */
    --INTERNAL-PRIMARY-color: var(--PRIMARY-color, var(--MENU-HEADER-BG-color, rgba(125, 201, 3, 1))); /* not --INTERNAL-MENU-HEADER-BG-color */
    --INTERNAL-PRIMARY-HOVER-color: var(--PRIMARY-HOVER-color, var(--MENU-HEADER-BORDER-color, var(--INTERNAL-PRIMARY-color)));
    --INTERNAL-SECONDARY-color: var(--SECONDARY-color, var(--MAIN-LINK-color, rgba(72, 106, 201, 1))); /* not --INTERNAL-MAIN-LINK-color */
    --INTERNAL-SECONDARY-HOVER-color: var(--SECONDARY-HOVER-color, var(--MAIN-LINK-HOVER-color, var(--INTERNAL-SECONDARY-color)));
    --INTERNAL-ACCENT-color: var(--ACCENT-color, rgba(255, 215, 0, 1));
    --INTERNAL-ACCENT-HOVER-color: var(--ACCENT-HOVER-color, rgba(255, 235, 120, 1));

    --INTERNAL-TOPBAR-BG-color: var(--TOPBAR-BG-color, color-mix(in srgb, var(--INTERNAL-MAIN-BG-color), rgba(134, 134, 134, 0.133)));
    --INTERNAL-TOPBAR-TEXT-color: var(--TOPBAR-TEXT-color, var(--INTERNAL-MAIN-TEXT-color));
    --INTERNAL-TOPBAR-SEPARATOR-color: var(--TOPBAR-SEPARATOR-color, color-mix(in srgb, var(--INTERNAL-TOPBAR-BG-color), rgba(134, 134, 134, 0.666)));
    --INTERNAL-TOPBAR-OVERLAY-BG-color: var(--TOPBAR-OVERLAY-BG-color, color-mix(in srgb, var(--INTERNAL-BOX-NEUTRAL-color) 16%, var(--INTERNAL-MAIN-BG-color)));
    --INTERNAL-TOPBAR-LINK-color: var(--TOPBAR-LINK-color, var(--INTERNAL-MAIN-LINK-color));
    --INTERNAL-TOPBAR-LINK-HOVER-color: var(--TOPBAR-LINK-HOVER-color, var(--INTERNAL-MAIN-LINK-HOVER-color));
    --INTERNAL-TOPBAR-BUTTON-color: var(--TOPBAR-BUTTON-color, var(--INTERNAL-TOPBAR-LINK-color));
    --INTERNAL-TOPBAR-BUTTON-HOVER-color: var(--TOPBAR-BUTTON-HOVER-color, var(--INTERNAL-TOPBAR-LINK-HOVER-color));
    /* mixed from the text color like the one of the content, so the scrollbar reads
       on light and dark variants alike and gains contrast on hover on either of them */
    --INTERNAL-TOPBAR-SCROLLBAR-THUMB-color: var(--TOPBAR-SCROLLBAR-THUMB-color, color-mix(in srgb, var(--INTERNAL-TOPBAR-TEXT-color) 45%, transparent));
    --INTERNAL-TOPBAR-SCROLLBAR-THUMB-HOVER-color: var(--TOPBAR-SCROLLBAR-THUMB-HOVER-color, color-mix(in srgb, var(--INTERNAL-TOPBAR-TEXT-color) 66%, transparent));
    --INTERNAL-TOPBAR-SCROLLBAR-TRACK-color: var(--TOPBAR-SCROLLBAR-TRACK-color, color-mix(in srgb, var(--INTERNAL-TOPBAR-TEXT-color) 10%, transparent));
    --INTERNAL-TOPBAR-SCROLLBAR-TRACK-HOVER-color: var(--TOPBAR-SCROLLBAR-TRACK-HOVER-color, color-mix(in srgb, var(--INTERNAL-TOPBAR-TEXT-color) 15%, transparent));
    --INTERNAL-MAIN-TOPBAR-BORDER-color: var(--MAIN-TOPBAR-BORDER-color, transparent);

    --INTERNAL-MAIN-LINK-color: var(--MAIN-LINK-color, var(--INTERNAL-SECONDARY-color));
    --INTERNAL-MAIN-LINK-HOVER-color: var(--MAIN-LINK-HOVER-color, var(--INTERNAL-SECONDARY-HOVER-color));
    --INTERNAL-MAIN-BUTTON-color: var(--MAIN-BUTTON-color, var(--INTERNAL-MAIN-LINK-color));
    --INTERNAL-MAIN-BUTTON-HOVER-color: var(--MAIN-BUTTON-HOVER-color, var(--INTERNAL-MAIN-LINK-HOVER-color));
    --INTERNAL-MAIN-BG-color: var(--MAIN-BG-color, rgba(255, 255, 255, 1));
    /* mixed from the text color, so the scrollbar reads on light and dark variants
       alike and gains contrast on hover on either of them */
    --INTERNAL-MAIN-SCROLLBAR-THUMB-color: var(--MAIN-SCROLLBAR-THUMB-color, color-mix(in srgb, var(--INTERNAL-MAIN-TEXT-color) 45%, transparent));
    --INTERNAL-MAIN-SCROLLBAR-THUMB-HOVER-color: var(--MAIN-SCROLLBAR-THUMB-HOVER-color, color-mix(in srgb, var(--INTERNAL-MAIN-TEXT-color) 66%, transparent));
    --INTERNAL-MAIN-SCROLLBAR-TRACK-color: var(--MAIN-SCROLLBAR-TRACK-color, color-mix(in srgb, var(--INTERNAL-MAIN-TEXT-color) 10%, transparent));
    --INTERNAL-MAIN-SCROLLBAR-TRACK-HOVER-color: var(--MAIN-SCROLLBAR-TRACK-HOVER-color, color-mix(in srgb, var(--INTERNAL-MAIN-TEXT-color) 15%, transparent));

    --INTERNAL-MAIN-TEXT-color: var(--MAIN-TEXT-color, rgba(16, 16, 16, 1));
    --INTERNAL-MAIN-font: var(--MAIN-font, "Roboto Flex", "Roboto Flex Fallback", "Roboto Flex Fallback Roboto", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif);
    --INTERNAL-MAIN-font-variation-settings: var(--MAIN-font-variation-settings, "wdth" 118, "GRAD" 0, "YTFI" 710);
    --INTERNAL-MAIN-font-weight: var(--MAIN-font-weight, 400);
    --INTERNAL-MAIN-letter-spacing: var(--MAIN-letter-spacing, .014em);

    --INTERNAL-MAIN-MEDIUM-font-variation-settings: var(--MAIN-MEDIUM-font-variation-settings, "wdth" 125, "GRAD" 50, "YTFI" 710);
    --INTERNAL-MAIN-MEDIUM-font-weight: var(--MAIN-MEDIUM-font-weight, 500);
    --INTERNAL-MAIN-MEDIUM-letter-spacing: var(--MAIN-MEDIUM-letter-spacing, var(--INTERNAL-MAIN-letter-spacing));

    --INTERNAL-MAIN-BOLD-font-variation-settings: var(--MAIN-BOLD-font-variation-settings, "wdth" 127, "GRAD" 100, "YTFI" 710);
    --INTERNAL-MAIN-BOLD-font-weight: var(--MAIN-BOLD-font-weight, 700);
    --INTERNAL-MAIN-BOLD-letter-spacing: var(--MAIN-BOLD-letter-spacing, var(--INTERNAL-MAIN-letter-spacing));

    --INTERNAL-MAIN-TITLES-TEXT-color: var(--MAIN-TITLES-TEXT-color, var(--INTERNAL-MAIN-TEXT-color));
    --INTERNAL-MAIN-TITLES-font: var(--MAIN-TITLES-font, var(--MAIN-TITLES-TEXT-font, var(--INTERNAL-MAIN-font))); /* fallback for renaming */
    --INTERNAL-MAIN-TITLES-font-variation-settings: var(--MAIN-TITLES-font-variation-settings, "wdth" 126, "GRAD" 100, "YTFI" 710);
    --INTERNAL-MAIN-TITLES-font-weight: var(--MAIN-TITLES-font-weight, 500);
    --INTERNAL-MAIN-TITLES-letter-spacing: var(--MAIN-TITLES-letter-spacing, var(--INTERNAL-MAIN-letter-spacing));

    --INTERNAL-MAIN-TITLES-H1-TEXT-color: var(--MAIN-TITLES-H1-TEXT-color, var(--MAIN-TITLES-H1-color, var(--INTERNAL-MAIN-TITLES-TEXT-color))); /* fallback for renaming */
    --INTERNAL-MAIN-TITLES-H1-font: var(--MAIN-TITLES-H1-font, var(--INTERNAL-MAIN-TITLES-font));
    --INTERNAL-MAIN-TITLES-H1-font-variation-settings: var(--MAIN-TITLES-H1-font-variation-settings, "wdth" 118, "GRAD" -100, "YTFI" 710);
    --INTERNAL-MAIN-TITLES-H1-font-weight: var(--MAIN-TITLES-H1-font-weight, 300);
    --INTERNAL-MAIN-TITLES-H1-letter-spacing: var(--MAIN-TITLES-H1-letter-spacing, var(--INTERNAL-MAIN-TITLES-letter-spacing));

    --INTERNAL-MAIN-TITLES-H2-TEXT-color: var(--MAIN-TITLES-H2-TEXT-color, var(--MAIN-TITLES-H2-color, var(--INTERNAL-MAIN-TITLES-TEXT-color)));
    --INTERNAL-MAIN-TITLES-H2-font: var(--MAIN-TITLES-H2-font, var(--INTERNAL-MAIN-TITLES-font));
    --INTERNAL-MAIN-TITLES-H2-font-variation-settings: var(--MAIN-TITLES-H2-font-variation-settings, var(--INTERNAL-MAIN-TITLES-font-variation-settings));
    --INTERNAL-MAIN-TITLES-H2-font-weight: var(--MAIN-TITLES-H2-font-weight, var(--INTERNAL-MAIN-TITLES-font-weight));
    --INTERNAL-MAIN-TITLES-H2-letter-spacing: var(--MAIN-TITLES-H2-letter-spacing, var(--INTERNAL-MAIN-TITLES-letter-spacing));

    --INTERNAL-MAIN-TITLES-H3-TEXT-color: var(--MAIN-TITLES-H3-TEXT-color, var(--MAIN-TITLES-H3-color, var(--INTERNAL-MAIN-TITLES-H2-TEXT-color))); /* fallback for renaming */
    --INTERNAL-MAIN-TITLES-H3-font: var(--MAIN-TITLES-H3-font, var(--INTERNAL-MAIN-TITLES-H2-font));
    --INTERNAL-MAIN-TITLES-H3-font-variation-settings: var(--MAIN-TITLES-H3-font-variation-settings, var(--INTERNAL-MAIN-TITLES-H2-font-variation-settings));
    --INTERNAL-MAIN-TITLES-H3-font-weight: var(--MAIN-TITLES-H3-font-weight, var(--INTERNAL-MAIN-TITLES-H2-font-weight));
    --INTERNAL-MAIN-TITLES-H3-letter-spacing: var(--MAIN-TITLES-H3-letter-spacing, var(--INTERNAL-MAIN-TITLES-H2-letter-spacing));

    --INTERNAL-MAIN-TITLES-H4-TEXT-color: var(--MAIN-TITLES-H4-TEXT-color, var(--MAIN-TITLES-H4-color, var(--INTERNAL-MAIN-TITLES-H3-TEXT-color))); /* fallback for renaming */
    --INTERNAL-MAIN-TITLES-H4-font: var(--MAIN-TITLES-H4-font, var(--INTERNAL-MAIN-TITLES-H3-font));
    --INTERNAL-MAIN-TITLES-H4-font-variation-settings: var(--MAIN-TITLES-H4-font-variation-settings, var(--INTERNAL-MAIN-TITLES-H3-font-variation-settings));
    --INTERNAL-MAIN-TITLES-H4-font-weight: var(--MAIN-TITLES-H4-font-weight, var(--INTERNAL-MAIN-TITLES-H3-font-weight));
    --INTERNAL-MAIN-TITLES-H4-letter-spacing: var(--MAIN-TITLES-H4-letter-spacing, var(--INTERNAL-MAIN-TITLES-H3-letter-spacing));

    --INTERNAL-MAIN-TITLES-H5-TEXT-color: var(--MAIN-TITLES-H5-TEXT-color, var(--MAIN-TITLES-H5-color, var(--INTERNAL-MAIN-TITLES-H4-TEXT-color))); /* fallback for renaming */
    --INTERNAL-MAIN-TITLES-H5-font: var(--MAIN-TITLES-H5-font, var(--INTERNAL-MAIN-TITLES-H4-font));
    --INTERNAL-MAIN-TITLES-H5-font-variation-settings: var(--MAIN-TITLES-H5-font-variation-settings, var(--INTERNAL-MAIN-TITLES-H4-font-variation-settings));
    --INTERNAL-MAIN-TITLES-H5-font-weight: var(--MAIN-TITLES-H5-font-weight, var(--INTERNAL-MAIN-TITLES-H4-font-weight));
    --INTERNAL-MAIN-TITLES-H5-letter-spacing: var(--MAIN-TITLES-H5-letter-spacing, var(--INTERNAL-MAIN-TITLES-H4-letter-spacing));

    --INTERNAL-MAIN-TITLES-H6-TEXT-color: var(--MAIN-TITLES-H6-TEXT-color, var(--MAIN-TITLES-H6-color, var(--INTERNAL-MAIN-TITLES-H5-TEXT-color))); /* fallback for renaming */
    --INTERNAL-MAIN-TITLES-H6-font: var(--MAIN-TITLES-H6-font, var(--INTERNAL-MAIN-TITLES-H5-font));
    --INTERNAL-MAIN-TITLES-H6-font-variation-settings: var(--MAIN-TITLES-H6-font-variation-settings, var(--INTERNAL-MAIN-TITLES-H5-font-variation-settings));
    --INTERNAL-MAIN-TITLES-H6-font-weight: var(--MAIN-TITLES-H6-font-weight, var(--INTERNAL-MAIN-TITLES-H5-font-weight));
    --INTERNAL-MAIN-TITLES-H6-letter-spacing: var(--MAIN-TITLES-H6-letter-spacing, var(--INTERNAL-MAIN-TITLES-H5-letter-spacing));

    --INTERNAL-CODE-font: var(--CODE-font, "Consolas", menlo, monospace);
    --INTERNAL-CODE-font-variation-settings: var(--CODE-font-variation-settings, normal);
    --INTERNAL-CODE-font-weight: var(--CODE-font-weight, 400);
    --INTERNAL-CODE-letter-spacing: var(--CODE-letter-spacing, normal);

    --INTERNAL-CODE-theme: var(--CODE-theme, relearn-light);
    --INTERNAL-CODE-BLOCK-color: var(--CODE-BLOCK-color, var(--MAIN-CODE-color, rgba(39, 40, 34, 1))); /* fallback for renaming */
    --INTERNAL-CODE-BLOCK-BG-color: var(--CODE-BLOCK-BG-color, var(--MAIN-CODE-BG-color, rgba(248, 248, 248, 1))); /* fallback for renaming */
    --INTERNAL-CODE-BLOCK-BORDER-color: var(--CODE-BLOCK-BORDER-color, var(--MAIN-CODE-BG-color, var(--INTERNAL-BOX-NEUTRAL-color))); /* fallback for renaming */
    /* mixed from the text color of the code like the ones of the content, as code
       has colors of its own, which may be dark on a light page */
    --INTERNAL-CODE-BLOCK-SCROLLBAR-THUMB-color: var(--CODE-BLOCK-SCROLLBAR-THUMB-color, color-mix(in srgb, var(--INTERNAL-CODE-BLOCK-color) 45%, transparent));
    --INTERNAL-CODE-BLOCK-SCROLLBAR-THUMB-HOVER-color: var(--CODE-BLOCK-SCROLLBAR-THUMB-HOVER-color, color-mix(in srgb, var(--INTERNAL-CODE-BLOCK-color) 66%, transparent));
    --INTERNAL-CODE-BLOCK-SCROLLBAR-TRACK-color: var(--CODE-BLOCK-SCROLLBAR-TRACK-color, color-mix(in srgb, var(--INTERNAL-CODE-BLOCK-color) 10%, transparent));
    --INTERNAL-CODE-BLOCK-SCROLLBAR-TRACK-HOVER-color: var(--CODE-BLOCK-SCROLLBAR-TRACK-HOVER-color, color-mix(in srgb, var(--INTERNAL-CODE-BLOCK-color) 15%, transparent));
    --INTERNAL-CODE-INLINE-color: var(--CODE-INLINE-color, rgba(94, 94, 94, 1));
    --INTERNAL-CODE-INLINE-BG-color: var(--CODE-INLINE-BG-color, rgba(255, 250, 233, 1));
    --INTERNAL-CODE-INLINE-BORDER-color: var(--CODE-INLINE-BORDER-color, rgba(251, 240, 203, 1));

    --INTERNAL-BROWSER-theme: var(--BROWSER-theme, light);
    --INTERNAL-MERMAID-theme: var(--CONFIG-MERMAID-theme, var(--MERMAID-theme, redux-color));
    --INTERNAL-OPENAPI-theme: var(--CONFIG-OPENAPI-theme, var(--OPENAPI-theme, var(--SWAGGER-theme, light))); /* fallback for renaming */
    --INTERNAL-OPENAPI-CODE-theme: var(--CONFIG-OPENAPI-CODE-theme, var(--OPENAPI-CODE-theme, idea));
    --INTERNAL-PRINT-MERMAID-theme: var(--CONFIG-MERMAID-theme, var(--INTERNAL-PRINT-VARIANT-MERMAID-theme, redux-color));
    --INTERNAL-PRINT-OPENAPI-theme: var(--CONFIG-OPENAPI-theme, var(--INTERNAL-PRINT-VARIANT-OPENAPI-theme, light));
    --INTERNAL-PRINT-OPENAPI-CODE-theme: var(--CONFIG-OPENAPI-CODE-theme, var(--INTERNAL-PRINT-VARIANT-OPENAPI-CODE-theme, idea));

    --INTERNAL-TAG-BG-color: var(--TAG-BG-color, var(--INTERNAL-PRIMARY-color));

    --INTERNAL-MENU-BORDER-color: var(--MENU-BORDER-color, transparent);
    --INTERNAL-MENU-TOPBAR-BORDER-color: var(--MENU-TOPBAR-BORDER-color, var(--INTERNAL-MENU-HEADER-BG-color));
    --INTERNAL-MENU-TOPBAR-SEPARATOR-color: var(--MENU-TOPBAR-SEPARATOR-color, transparent);

    --INTERNAL-MENU-HEADER-color: var(--MENU-HEADER-color, var(--INTERNAL-MENU-SECTIONS-LINK-color));
    --INTERNAL-MENU-HEADER-BG-color: var(--MENU-HEADER-BG-color, var(--PRIMARY-color, rgba(0, 0, 0, 0))); /* not --INTERNAL-PRIMARY-color */
    --INTERNAL-MENU-HEADER-BORDER-color: var(--MENU-HEADER-BORDER-color, var(--INTERNAL-MENU-HEADER-BG-color)); /* no further fallback to --PRIMARY-HOVER-color, as this would be rude for existing users */

    --INTERNAL-MENU-SEARCH-color: var(--MENU-SEARCH-color, var(--MENU-SEARCH-BOX-ICONS-color, rgba(224, 224, 224, 1))); /* fallback for renaming */
    --INTERNAL-MENU-SEARCH-HOVER-color: var(--MENU-SEARCH-HOVER-color, var(--INTERNAL-MENU-SEARCH-color));
    --INTERNAL-MENU-SEARCH-BG-color: var(--MENU-SEARCH-BG-color, rgba(50, 50, 50, 1));
    --INTERNAL-MENU-SEARCH-BORDER-color: var(--MENU-SEARCH-BORDER-color, var(--MENU-SEARCH-BOX-color, var(--INTERNAL-MENU-SEARCH-BG-color))); /* fallback for renaming */

    --INTERNAL-MENU-HOME-LINK-color: var(--MENU-HOME-LINK-color, rgba(50, 50, 50, 1));
    --INTERNAL-MENU-HOME-LINK-HOVER-color: var(--MENU-HOME-LINK-HOVER-color, var(--MENU-HOME-LINK-HOVERED-color, rgba(128, 128, 128, 1))); /* fallback for renaming */
    --INTERNAL-MENU-HOME-TOP-SEPARATOR-color: var(--MENU-HOME-TOP-SEPARATOR-color, var(--INTERNAL-MENU-HOME-LINK-color));
    --INTERNAL-MENU-HOME-SEPARATOR-color: var(--MENU-HOME-SEPARATOR-color, var(--INTERNAL-MENU-HOME-LINK-color));
    --INTERNAL-MENU-HOME-BOTTOM-SEPARATOR-color: var(--MENU-HOME-BOTTOM-SEPARATOR-color, var(--MENU-HEADER-SEPARATOR-color, var(--INTERNAL-MENU-HEADER-BORDER-color))); /* fallback for renaming */

    --INTERNAL-MENU-SECTIONS-ACTIVE-BG-color: var(--MENU-SECTIONS-ACTIVE-BG-color, rgba(0, 0, 0, .166));
    --INTERNAL-MENU-SECTIONS-BG-color: var(--MENU-SECTIONS-BG-color, rgba(40, 40, 40, 1));
    --INTERNAL-MENU-SECTIONS-LINK-color: var(--MENU-SECTIONS-LINK-color, rgba(186, 186, 186, 1));
    --INTERNAL-MENU-SECTIONS-LINK-HOVER-color: var(--MENU-SECTIONS-LINK-HOVER-color, var(--INTERNAL-MENU-SECTIONS-LINK-color));
    --INTERNAL-MENU-SECTION-ACTIVE-CATEGORY-color: var(--MENU-SECTION-ACTIVE-CATEGORY-color, rgba(68, 68, 68, 1));
    --INTERNAL-MENU-SECTION-ACTIVE-CATEGORY-BG-color: var(--MENU-SECTION-ACTIVE-CATEGORY-BG-color, var(--INTERNAL-MAIN-BG-color));
    --INTERNAL-MENU-SECTION-ACTIVE-CATEGORY-BORDER-color: var(--MENU-SECTION-ACTIVE-CATEGORY-BORDER-color, transparent);

    --INTERNAL-MENU-VISITED-color: var(--MENU-VISITED-color, var(--INTERNAL-SECONDARY-color));
    --INTERNAL-MENU-SECTION-SEPARATOR-color: var(--MENU-SECTION-SEPARATOR-color, var(--MENU-SECTION-HR-color, var(--INTERNAL-MENU-SECTIONS-LINK-color))); /* fallback for renaming */
    /* mixed from the link color of the menu - its text - like the ones of the
       content and the topbar, so the scrollbar reads on light and dark menus
       alike and gains contrast on hover on either of them */
    --INTERNAL-MENU-SCROLLBAR-THUMB-color: var(--MENU-SCROLLBAR-THUMB-color, color-mix(in srgb, var(--INTERNAL-MENU-SECTIONS-LINK-color) 45%, transparent));
    --INTERNAL-MENU-SCROLLBAR-THUMB-HOVER-color: var(--MENU-SCROLLBAR-THUMB-HOVER-color, color-mix(in srgb, var(--INTERNAL-MENU-SECTIONS-LINK-color) 66%, transparent));
    --INTERNAL-MENU-SCROLLBAR-TRACK-color: var(--MENU-SCROLLBAR-TRACK-color, color-mix(in srgb, var(--INTERNAL-MENU-SECTIONS-LINK-color) 10%, transparent));
    --INTERNAL-MENU-SCROLLBAR-TRACK-HOVER-color: var(--MENU-SCROLLBAR-TRACK-HOVER-color, color-mix(in srgb, var(--INTERNAL-MENU-SECTIONS-LINK-color) 15%, transparent));

    --INTERNAL-BOX-CAPTION-color: var(--BOX-CAPTION-color, rgba(255, 255, 255, 1));
    --INTERNAL-BOX-BG-color: var(--BOX-BG-color, rgba(255, 255, 255, .833));
    --INTERNAL-BOX-TEXT-color: var(--BOX-TEXT-color, var(--INTERNAL-MAIN-TEXT-color));

    --INTERNAL-MENU-S-width: var(--MENU-S-width, var(--MENU-WIDTH-S, 14.375rem));
    --INTERNAL-MENU-M-width: var(--MENU-M-width, var(--MENU-WIDTH-M, 14.375rem));
    --INTERNAL-MENU-L-width: var(--MENU-L-width, var(--MENU-WIDTH-L, 18.75rem));
    --INTERNAL-MAIN-MAX-width: var(--MAIN-MAX-width, var(--MAIN-WIDTH-MAX, 81.25rem));

    --INTERNAL-LOGO-font: var(--LOGO-font, var(--INTERNAL-MAIN-font));
    --INTERNAL-LOGO-font-size: var(--LOGO-font-size, 1em);
    --INTERNAL-LOGO-font-variation-settings: var(--LOGO-font-variation-settings, var(--INTERNAL-MAIN-font-variation-settings));
    --INTERNAL-LOGO-font-weight: var(--LOGO-font-weight, var(--INTERNAL-MAIN-font-weight));
    --INTERNAL-LOGO-letter-spacing: var(--LOGO-letter-spacing, var(--INTERNAL-MAIN-letter-spacing));
    --INTERNAL-LOGO-LINK-color: var(--LOGO-LINK-color, var(--INTERNAL-MENU-HEADER-color));
    --INTERNAL-LOGO-LINK-HOVER-color: var(--LOGO-LINK-HOVER-color, var(--INTERNAL-LOGO-LINK-color));
    --INTERNAL-LOGO-IMAGE-width: var(--LOGO-IMAGE-width, 3.875em);
    --INTERNAL-LOGO-IMAGE-color: var(--LOGO-IMAGE-color, var(--INTERNAL-LOGO-LINK-color));
    --INTERNAL-LOGO-IMAGE-HOVER-color: var(--LOGO-IMAGE-HOVER-color, var(--INTERNAL-LOGO-LINK-HOVER-color));

  --INTERNAL-BOX-ACCENT-color: var(--BOX-ACCENT-color, var(--INTERNAL-ACCENT-color));
  --INTERNAL-BOX-ACCENT-TEXT-color: var(--BOX-ACCENT-TEXT-color, var(--INTERNAL-MAIN-TEXT-color));
  --INTERNAL-BOX-ACCENT-CAPTION-color: var(--BOX-ACCENT-CAPTION-color, var(--INTERNAL-BOX-CAPTION-color));
  --INTERNAL-BOX-ACCENT-BG-color: var(--BOX-ACCENT-BG-color, var(--INTERNAL-BOX-BG-color));
  --INTERNAL-BOX-BLUE-color: var(--BOX-BLUE-color, rgba(48, 117, 229, 1));
  --INTERNAL-BOX-BLUE-TEXT-color: var(--BOX-BLUE-TEXT-color, var(--INTERNAL-BOX-TEXT-color));
  --INTERNAL-BOX-BLUE-CAPTION-color: var(--BOX-BLUE-CAPTION-color, var(--INTERNAL-BOX-CAPTION-color));
  --INTERNAL-BOX-BLUE-BG-color: var(--BOX-BLUE-BG-color, var(--INTERNAL-BOX-BG-color));
  --INTERNAL-BOX-BREAKING-color: var(--BOX-BREAKING-color, var(--INTERNAL-BOX-WARNING-color));
  --INTERNAL-BOX-BREAKING-TEXT-color: var(--BOX-BREAKING-TEXT-color, var(--INTERNAL-BOX-WARNING-TEXT-color));
  --INTERNAL-BOX-BREAKING-CAPTION-color: var(--BOX-BREAKING-CAPTION-color, var(--INTERNAL-BOX-WARNING-CAPTION-color));
  --INTERNAL-BOX-BREAKING-BG-color: var(--BOX-BREAKING-BG-color, var(--INTERNAL-BOX-WARNING-BG-color));
  --INTERNAL-BOX-CAUTION-color: var(--BOX-CAUTION-color, var(--INTERNAL-BOX-MAGENTA-color));
  --INTERNAL-BOX-CAUTION-TEXT-color: var(--BOX-CAUTION-TEXT-color, var(--INTERNAL-BOX-MAGENTA-TEXT-color));
  --INTERNAL-BOX-CAUTION-CAPTION-color: var(--BOX-CAUTION-CAPTION-color, var(--INTERNAL-BOX-MAGENTA-CAPTION-color));
  --INTERNAL-BOX-CAUTION-BG-color: var(--BOX-CAUTION-BG-color, var(--INTERNAL-BOX-MAGENTA-BG-color));
  --INTERNAL-BOX-CHANGE-color: var(--BOX-CHANGE-color, var(--INTERNAL-BOX-NOTE-color));
  --INTERNAL-BOX-CHANGE-TEXT-color: var(--BOX-CHANGE-TEXT-color, var(--INTERNAL-BOX-NOTE-TEXT-color));
  --INTERNAL-BOX-CHANGE-CAPTION-color: var(--BOX-CHANGE-CAPTION-color, var(--INTERNAL-BOX-NOTE-CAPTION-color));
  --INTERNAL-BOX-CHANGE-BG-color: var(--BOX-CHANGE-BG-color, var(--INTERNAL-BOX-NOTE-BG-color));
  --INTERNAL-BOX-CODE-color: var(--BOX-CODE-color, var(--INTERNAL-CODE-BLOCK-BORDER-color));
  --INTERNAL-BOX-CODE-TEXT-color: var(--BOX-CODE-TEXT-color, var(--INTERNAL-CODE-BLOCK-color));
  --INTERNAL-BOX-CODE-CAPTION-color: var(--BOX-CODE-CAPTION-color, var(--INTERNAL-CODE-BLOCK-color));
  --INTERNAL-BOX-CODE-BG-color: var(--BOX-CODE-BG-color, var(--INTERNAL-CODE-BLOCK-BG-color));
  --INTERNAL-BOX-CYAN-color: var(--BOX-CYAN-color, rgba(45, 190, 200, 1));
  --INTERNAL-BOX-CYAN-TEXT-color: var(--BOX-CYAN-TEXT-color, var(--INTERNAL-BOX-TEXT-color));
  --INTERNAL-BOX-CYAN-CAPTION-color: var(--BOX-CYAN-CAPTION-color, var(--INTERNAL-BOX-CAPTION-color));
  --INTERNAL-BOX-CYAN-BG-color: var(--BOX-CYAN-BG-color, var(--INTERNAL-BOX-BG-color));
  --INTERNAL-BOX-EXAMPLE-color: var(--BOX-EXAMPLE-color, var(--INTERNAL-BOX-CODE-color));
  --INTERNAL-BOX-EXAMPLE-TEXT-color: var(--BOX-EXAMPLE-TEXT-color, var(--INTERNAL-BOX-CODE-TEXT-color));
  --INTERNAL-BOX-EXAMPLE-CAPTION-color: var(--BOX-EXAMPLE-CAPTION-color, var(--INTERNAL-BOX-CODE-CAPTION-color));
  --INTERNAL-BOX-EXAMPLE-BG-color: var(--BOX-EXAMPLE-BG-color, var(--INTERNAL-BOX-CODE-BG-color));
  --INTERNAL-BOX-FRONTMATTER-color: var(--BOX-FRONTMATTER-color, var(--INTERNAL-BOX-YELLOW-color));
  --INTERNAL-BOX-FRONTMATTER-TEXT-color: var(--BOX-FRONTMATTER-TEXT-color, var(--INTERNAL-BOX-YELLOW-TEXT-color));
  --INTERNAL-BOX-FRONTMATTER-CAPTION-color: var(--BOX-FRONTMATTER-CAPTION-color, var(--INTERNAL-BOX-YELLOW-CAPTION-color));
  --INTERNAL-BOX-FRONTMATTER-BG-color: var(--BOX-FRONTMATTER-BG-color, var(--INTERNAL-BOX-YELLOW-BG-color));
  --INTERNAL-BOX-GFM-color: var(--BOX-GFM-color, darkgray);
  --INTERNAL-BOX-GFM-TEXT-color: var(--BOX-GFM-TEXT-color, var(--INTERNAL-BOX-TEXT-color));
  --INTERNAL-BOX-GFM-CAPTION-color: var(--BOX-GFM-CAPTION-color, var(--INTERNAL-BOX-CAPTION-color));
  --INTERNAL-BOX-GFM-BG-color: var(--BOX-GFM-BG-color, var(--INTERNAL-BOX-BG-color));
  --INTERNAL-BOX-GREEN-color: var(--BOX-GREEN-color, rgba(42, 178, 24, 1));
  --INTERNAL-BOX-GREEN-TEXT-color: var(--BOX-GREEN-TEXT-color, var(--INTERNAL-BOX-TEXT-color));
  --INTERNAL-BOX-GREEN-CAPTION-color: var(--BOX-GREEN-CAPTION-color, var(--INTERNAL-BOX-CAPTION-color));
  --INTERNAL-BOX-GREEN-BG-color: var(--BOX-GREEN-BG-color, var(--INTERNAL-BOX-BG-color));
  --INTERNAL-BOX-GREY-color: var(--BOX-GREY-color, rgba(160, 160, 160, 1));
  --INTERNAL-BOX-GREY-TEXT-color: var(--BOX-GREY-TEXT-color, var(--INTERNAL-BOX-TEXT-color));
  --INTERNAL-BOX-GREY-CAPTION-color: var(--BOX-GREY-CAPTION-color, var(--INTERNAL-BOX-CAPTION-color));
  --INTERNAL-BOX-GREY-BG-color: var(--BOX-GREY-BG-color, var(--INTERNAL-BOX-BG-color));
  --INTERNAL-BOX-HTML-color: var(--BOX-HTML-color, orangered);
  --INTERNAL-BOX-HTML-TEXT-color: var(--BOX-HTML-TEXT-color, var(--INTERNAL-BOX-TEXT-color));
  --INTERNAL-BOX-HTML-CAPTION-color: var(--BOX-HTML-CAPTION-color, var(--INTERNAL-BOX-CAPTION-color));
  --INTERNAL-BOX-HTML-BG-color: var(--BOX-HTML-BG-color, var(--INTERNAL-BOX-BG-color));
  --INTERNAL-BOX-HUGO-color: var(--BOX-HUGO-color, var(--INTERNAL-BOX-MAGENTA-color));
  --INTERNAL-BOX-HUGO-TEXT-color: var(--BOX-HUGO-TEXT-color, var(--INTERNAL-BOX-MAGENTA-TEXT-color));
  --INTERNAL-BOX-HUGO-CAPTION-color: var(--BOX-HUGO-CAPTION-color, var(--INTERNAL-BOX-MAGENTA-CAPTION-color));
  --INTERNAL-BOX-HUGO-BG-color: var(--BOX-HUGO-BG-color, var(--INTERNAL-BOX-MAGENTA-BG-color));
  --INTERNAL-BOX-HUGOMENU-color: var(--BOX-HUGOMENU-color, var(--INTERNAL-BOX-MAGENTA-color));
  --INTERNAL-BOX-HUGOMENU-TEXT-color: var(--BOX-HUGOMENU-TEXT-color, var(--INTERNAL-BOX-MAGENTA-TEXT-color));
  --INTERNAL-BOX-HUGOMENU-CAPTION-color: var(--BOX-HUGOMENU-CAPTION-color, var(--INTERNAL-BOX-MAGENTA-CAPTION-color));
  --INTERNAL-BOX-HUGOMENU-BG-color: var(--BOX-HUGOMENU-BG-color, var(--INTERNAL-BOX-MAGENTA-BG-color));
  --INTERNAL-BOX-IMPORTANT-color: var(--BOX-IMPORTANT-color, var(--INTERNAL-BOX-CYAN-color));
  --INTERNAL-BOX-IMPORTANT-TEXT-color: var(--BOX-IMPORTANT-TEXT-color, var(--INTERNAL-BOX-CYAN-TEXT-color));
  --INTERNAL-BOX-IMPORTANT-CAPTION-color: var(--BOX-IMPORTANT-CAPTION-color, var(--INTERNAL-BOX-CYAN-CAPTION-color));
  --INTERNAL-BOX-IMPORTANT-BG-color: var(--BOX-IMPORTANT-BG-color, var(--INTERNAL-BOX-CYAN-BG-color));
  --INTERNAL-BOX-INFO-color: var(--BOX-INFO-color, var(--INTERNAL-BOX-BLUE-color));
  --INTERNAL-BOX-INFO-TEXT-color: var(--BOX-INFO-TEXT-color, var(--INTERNAL-BOX-BLUE-TEXT-color));
  --INTERNAL-BOX-INFO-CAPTION-color: var(--BOX-INFO-CAPTION-color, var(--INTERNAL-BOX-BLUE-CAPTION-color));
  --INTERNAL-BOX-INFO-BG-color: var(--BOX-INFO-BG-color, var(--INTERNAL-BOX-BLUE-BG-color));
  --INTERNAL-BOX-INLINE-color: var(--BOX-INLINE-color, var(--INTERNAL-CODE-INLINE-BG-color));
  --INTERNAL-BOX-INLINE-TEXT-color: var(--BOX-INLINE-TEXT-color, var(--INTERNAL-CODE-INLINE-BG-color));
  --INTERNAL-BOX-INLINE-CAPTION-color: var(--BOX-INLINE-CAPTION-color, var(--INTERNAL-CODE-INLINE-color));
  --INTERNAL-BOX-INLINE-BG-color: var(--BOX-INLINE-BG-color, var(--INTERNAL-CODE-INLINE-color));
  --INTERNAL-BOX-MAGENTA-color: var(--BOX-MAGENTA-color, rgba(229, 50, 210, 1));
  --INTERNAL-BOX-MAGENTA-TEXT-color: var(--BOX-MAGENTA-TEXT-color, var(--INTERNAL-BOX-TEXT-color));
  --INTERNAL-BOX-MAGENTA-CAPTION-color: var(--BOX-MAGENTA-CAPTION-color, var(--INTERNAL-BOX-CAPTION-color));
  --INTERNAL-BOX-MAGENTA-BG-color: var(--BOX-MAGENTA-BG-color, var(--INTERNAL-BOX-BG-color));
  --INTERNAL-BOX-MAGIC-color: var(--BOX-MAGIC-color, violet);
  --INTERNAL-BOX-MAGIC-TEXT-color: var(--BOX-MAGIC-TEXT-color, var(--INTERNAL-BOX-TEXT-color));
  --INTERNAL-BOX-MAGIC-CAPTION-color: var(--BOX-MAGIC-CAPTION-color, var(--INTERNAL-BOX-CAPTION-color));
  --INTERNAL-BOX-MAGIC-BG-color: var(--BOX-MAGIC-BG-color, var(--INTERNAL-BOX-BG-color));
  --INTERNAL-BOX-MPE-color: var(--BOX-MPE-color, rgb(66, 185, 131));
  --INTERNAL-BOX-MPE-TEXT-color: var(--BOX-MPE-TEXT-color, var(--INTERNAL-BOX-TEXT-color));
  --INTERNAL-BOX-MPE-CAPTION-color: var(--BOX-MPE-CAPTION-color, var(--INTERNAL-BOX-CAPTION-color));
  --INTERNAL-BOX-MPE-BG-color: var(--BOX-MPE-BG-color, var(--INTERNAL-BOX-BG-color));
  --INTERNAL-BOX-NEUTRAL-color: var(--BOX-NEUTRAL-color, var(--INTERNAL-BOX-GREY-color));
  --INTERNAL-BOX-NEUTRAL-TEXT-color: var(--BOX-NEUTRAL-TEXT-color, var(--INTERNAL-BOX-GREY-TEXT-color));
  --INTERNAL-BOX-NEUTRAL-CAPTION-color: var(--BOX-NEUTRAL-CAPTION-color, var(--INTERNAL-BOX-GREY-CAPTION-color));
  --INTERNAL-BOX-NEUTRAL-BG-color: var(--BOX-NEUTRAL-BG-color, var(--INTERNAL-BOX-GREY-BG-color));
  --INTERNAL-BOX-NEW-color: var(--BOX-NEW-color, var(--INTERNAL-BOX-INFO-color));
  --INTERNAL-BOX-NEW-TEXT-color: var(--BOX-NEW-TEXT-color, var(--INTERNAL-BOX-INFO-TEXT-color));
  --INTERNAL-BOX-NEW-CAPTION-color: var(--BOX-NEW-CAPTION-color, var(--INTERNAL-BOX-INFO-CAPTION-color));
  --INTERNAL-BOX-NEW-BG-color: var(--BOX-NEW-BG-color, var(--INTERNAL-BOX-INFO-BG-color));
  --INTERNAL-BOX-NOTE-color: var(--BOX-NOTE-color, var(--INTERNAL-BOX-YELLOW-color));
  --INTERNAL-BOX-NOTE-TEXT-color: var(--BOX-NOTE-TEXT-color, var(--INTERNAL-BOX-YELLOW-TEXT-color));
  --INTERNAL-BOX-NOTE-CAPTION-color: var(--BOX-NOTE-CAPTION-color, var(--INTERNAL-BOX-YELLOW-CAPTION-color));
  --INTERNAL-BOX-NOTE-BG-color: var(--BOX-NOTE-BG-color, var(--INTERNAL-BOX-YELLOW-BG-color));
  --INTERNAL-BOX-OBSIDIAN-color: var(--BOX-OBSIDIAN-color, rgb(124, 58, 237));
  --INTERNAL-BOX-OBSIDIAN-TEXT-color: var(--BOX-OBSIDIAN-TEXT-color, var(--INTERNAL-BOX-TEXT-color));
  --INTERNAL-BOX-OBSIDIAN-CAPTION-color: var(--BOX-OBSIDIAN-CAPTION-color, var(--INTERNAL-BOX-CAPTION-color));
  --INTERNAL-BOX-OBSIDIAN-BG-color: var(--BOX-OBSIDIAN-BG-color, var(--INTERNAL-BOX-BG-color));
  --INTERNAL-BOX-OPTION-color: var(--BOX-OPTION-color, var(--INTERNAL-BOX-GREEN-color));
  --INTERNAL-BOX-OPTION-TEXT-color: var(--BOX-OPTION-TEXT-color, var(--INTERNAL-BOX-GREEN-TEXT-color));
  --INTERNAL-BOX-OPTION-CAPTION-color: var(--BOX-OPTION-CAPTION-color, var(--INTERNAL-BOX-GREEN-CAPTION-color));
  --INTERNAL-BOX-OPTION-BG-color: var(--BOX-OPTION-BG-color, var(--INTERNAL-BOX-GREEN-BG-color));
  --INTERNAL-BOX-ORANGE-color: var(--BOX-ORANGE-color, rgba(207, 110, 0, 1));
  --INTERNAL-BOX-ORANGE-TEXT-color: var(--BOX-ORANGE-TEXT-color, var(--INTERNAL-BOX-TEXT-color));
  --INTERNAL-BOX-ORANGE-CAPTION-color: var(--BOX-ORANGE-CAPTION-color, var(--INTERNAL-BOX-CAPTION-color));
  --INTERNAL-BOX-ORANGE-BG-color: var(--BOX-ORANGE-BG-color, var(--INTERNAL-BOX-BG-color));
  --INTERNAL-BOX-PANTS-color: var(--BOX-PANTS-color, darkorange);
  --INTERNAL-BOX-PANTS-TEXT-color: var(--BOX-PANTS-TEXT-color, var(--INTERNAL-BOX-TEXT-color));
  --INTERNAL-BOX-PANTS-CAPTION-color: var(--BOX-PANTS-CAPTION-color, var(--INTERNAL-BOX-CAPTION-color));
  --INTERNAL-BOX-PANTS-BG-color: var(--BOX-PANTS-BG-color, var(--INTERNAL-BOX-BG-color));
  --INTERNAL-BOX-PHP-color: var(--BOX-PHP-color, rgb(136, 140, 196));
  --INTERNAL-BOX-PHP-TEXT-color: var(--BOX-PHP-TEXT-color, var(--INTERNAL-BOX-TEXT-color));
  --INTERNAL-BOX-PHP-CAPTION-color: var(--BOX-PHP-CAPTION-color, var(--INTERNAL-BOX-CAPTION-color));
  --INTERNAL-BOX-PHP-BG-color: var(--BOX-PHP-BG-color, var(--INTERNAL-BOX-BG-color));
  --INTERNAL-BOX-PRIMARY-color: var(--BOX-PRIMARY-color, var(--INTERNAL-PRIMARY-color));
  --INTERNAL-BOX-PRIMARY-TEXT-color: var(--BOX-PRIMARY-TEXT-color, var(--INTERNAL-MAIN-TEXT-color));
  --INTERNAL-BOX-PRIMARY-CAPTION-color: var(--BOX-PRIMARY-CAPTION-color, var(--INTERNAL-BOX-CAPTION-color));
  --INTERNAL-BOX-PRIMARY-BG-color: var(--BOX-PRIMARY-BG-color, var(--INTERNAL-BOX-BG-color));
  --INTERNAL-BOX-PURPLE-color: var(--BOX-PURPLE-color, rgba(150, 91, 248, 1));
  --INTERNAL-BOX-PURPLE-TEXT-color: var(--BOX-PURPLE-TEXT-color, var(--INTERNAL-BOX-TEXT-color));
  --INTERNAL-BOX-PURPLE-CAPTION-color: var(--BOX-PURPLE-CAPTION-color, var(--INTERNAL-BOX-CAPTION-color));
  --INTERNAL-BOX-PURPLE-BG-color: var(--BOX-PURPLE-BG-color, var(--INTERNAL-BOX-BG-color));
  --INTERNAL-BOX-RED-color: var(--BOX-RED-color, rgba(224, 62, 62, 1));
  --INTERNAL-BOX-RED-TEXT-color: var(--BOX-RED-TEXT-color, var(--INTERNAL-BOX-TEXT-color));
  --INTERNAL-BOX-RED-CAPTION-color: var(--BOX-RED-CAPTION-color, var(--INTERNAL-BOX-CAPTION-color));
  --INTERNAL-BOX-RED-BG-color: var(--BOX-RED-BG-color, var(--INTERNAL-BOX-BG-color));
  --INTERNAL-BOX-RELEARN-color: var(--BOX-RELEARN-color, rgb(125, 201, 3));
  --INTERNAL-BOX-RELEARN-TEXT-color: var(--BOX-RELEARN-TEXT-color, var(--INTERNAL-BOX-TEXT-color));
  --INTERNAL-BOX-RELEARN-CAPTION-color: var(--BOX-RELEARN-CAPTION-color, var(--INTERNAL-BOX-CAPTION-color));
  --INTERNAL-BOX-RELEARN-BG-color: var(--BOX-RELEARN-BG-color, var(--INTERNAL-BOX-BG-color));
  --INTERNAL-BOX-SECONDARY-color: var(--BOX-SECONDARY-color, var(--INTERNAL-SECONDARY-color));
  --INTERNAL-BOX-SECONDARY-TEXT-color: var(--BOX-SECONDARY-TEXT-color, var(--INTERNAL-MAIN-TEXT-color));
  --INTERNAL-BOX-SECONDARY-CAPTION-color: var(--BOX-SECONDARY-CAPTION-color, var(--INTERNAL-BOX-CAPTION-color));
  --INTERNAL-BOX-SECONDARY-BG-color: var(--BOX-SECONDARY-BG-color, var(--INTERNAL-BOX-BG-color));
  --INTERNAL-BOX-TIP-color: var(--BOX-TIP-color, var(--INTERNAL-BOX-GREEN-color));
  --INTERNAL-BOX-TIP-TEXT-color: var(--BOX-TIP-TEXT-color, var(--INTERNAL-BOX-GREEN-TEXT-color));
  --INTERNAL-BOX-TIP-CAPTION-color: var(--BOX-TIP-CAPTION-color, var(--INTERNAL-BOX-GREEN-CAPTION-color));
  --INTERNAL-BOX-TIP-BG-color: var(--BOX-TIP-BG-color, var(--INTERNAL-BOX-GREEN-BG-color));
  --INTERNAL-BOX-TRANSPARENT-color: var(--BOX-TRANSPARENT-color, transparent);
  --INTERNAL-BOX-TRANSPARENT-TEXT-color: var(--BOX-TRANSPARENT-TEXT-color, var(--INTERNAL-MAIN-TEXT-color));
  --INTERNAL-BOX-TRANSPARENT-CAPTION-color: var(--BOX-TRANSPARENT-CAPTION-color, var(--INTERNAL-MAIN-TITLES-TEXT-color));
  --INTERNAL-BOX-TRANSPARENT-BG-color: var(--BOX-TRANSPARENT-BG-color, transparent);
  --INTERNAL-BOX-WARNING-color: var(--BOX-WARNING-color, var(--INTERNAL-BOX-RED-color));
  --INTERNAL-BOX-WARNING-TEXT-color: var(--BOX-WARNING-TEXT-color, var(--INTERNAL-BOX-RED-TEXT-color));
  --INTERNAL-BOX-WARNING-CAPTION-color: var(--BOX-WARNING-CAPTION-color, var(--INTERNAL-BOX-RED-CAPTION-color));
  --INTERNAL-BOX-WARNING-BG-color: var(--BOX-WARNING-BG-color, var(--INTERNAL-BOX-RED-BG-color));
  --INTERNAL-BOX-YELLOW-color: var(--BOX-YELLOW-color, rgba(185, 143, 0, 1));
  --INTERNAL-BOX-YELLOW-TEXT-color: var(--BOX-YELLOW-TEXT-color, var(--INTERNAL-BOX-TEXT-color));
  --INTERNAL-BOX-YELLOW-CAPTION-color: var(--BOX-YELLOW-CAPTION-color, var(--INTERNAL-BOX-CAPTION-color));
  --INTERNAL-BOX-YELLOW-BG-color: var(--BOX-YELLOW-BG-color, var(--INTERNAL-BOX-BG-color));
}

/* until browsers don't let us set length values based on dppx, we
need a way to calculate them ourself */
:root {
  --dpr: 1;
  --bpx: 1;
  --bpx1: 1;
}
/* the corners of the blocks standing out of the text, like tables, boxes,
code and images */
:root {
  --block-radius: 6px;
}
/* the frame of what pops up over the page, like the overlays of the topbar */
:root {
  --overlay-border-color: color-mix(in srgb, var(--INTERNAL-BOX-NEUTRAL-color) 40%, transparent);
  --overlay-box-shadow: 1px 2px 5px 1px oklch(from var(--INTERNAL-BOX-GREY-color) calc(l * 0.94) c h / 0.2);
}
/* the shape of a tick, like the one of a checked task */
:root {
  --tick-clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
/* the scrollbars we draw ourselves: their thickness and the inset of their thumb,
   which is smaller once the thumb is hovered, so it grows */
:root {
  --scrollbar-size: 15px;
  --scrollbar-thumb-inset: 4px;
  --scrollbar-thumb-hover-inset: 2px;
  --scrollbar-thumb-radius: 8px;
}
@media (min-resolution: 105dpi) {
  :root {
    --dpr: 1.1;
    --bpx: 1.1;
    --bpx1: calc(1 / 1.1);
  }
}
@media (min-resolution: 115dpi) {
  :root {
    --dpr: 1.2;
    --bpx: 1.2;
    --bpx1: calc(1 / 1.2);
  }
}
@media (min-resolution: 120dpi) {
  :root {
    --dpr: 1.25;
    --bpx: 1.25;
    --bpx1: calc(1 / 1.25);
  }
}
@media (min-resolution: 128dpi) {
  :root {
    --dpr: 1.333;
    --bpx: 1.333;
    --bpx1: calc(1 / 1.333);
  }
}
@media (min-resolution: 144dpi) {
  :root {
    --dpr: 1.5;
    --bpx: 1.5;
    --bpx1: calc(1 / 1.5);
  }
}
@media (min-resolution: 160dpi) {
  :root {
    --dpr: 1.666;
    --bpx: 1.666;
    --bpx1: calc(1 / 1.666);
  }
}
@media (min-resolution: 168dpi) {
  :root {
    --dpr: 1.75;
    --bpx: 1.75;
    --bpx1: calc(1 / 1.75);
  }
}
@media (min-resolution: 192dpi) {
  :root {
    --dpr: 2;
    --bpx: 1;
    --bpx1: 1;
  }
}
@media (min-resolution: 240dpi) {
  :root {
    --dpr: 2.5;
    --bpx: 1.25;
    --bpx1: calc(1 / 1.25);
  }
}
@media (min-resolution: 288dpi) {
  :root {
    --dpr: 3;
    --bpx: 1;
    --bpx1: 1;
  }
}
@media (min-resolution: 384dpi) {
  :root {
    --dpr: 4;
    --bpx: 1;
    --bpx1: 1;
  }
}
@media (min-resolution: 480dpi) {
  :root {
    --dpr: 5;
    --bpx: 1.25;
    --bpx1: calc(1 / 1.25);
  }
}
@media (min-resolution: 576dpi) {
  :root {
    --dpr: 6;
    --bpx: 1.5;
    --bpx1: calc(1 / 1.5);
  }
}
@media (min-resolution: 768dpi) {
  :root {
    --dpr: 8;
    --bpx: 1;
    --bpx1: 1;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: only var(--INTERNAL-BROWSER-theme);
  height: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  --VARIABLE-LINK-color: var(--INTERNAL-MAIN-LINK-color);
  --VARIABLE-LINK-HOVER-color: var(--INTERNAL-MAIN-LINK-HOVER-color);
  --VARIABLE-SCROLLBAR-THUMB-color: var(--INTERNAL-MAIN-SCROLLBAR-THUMB-color);
  --VARIABLE-SCROLLBAR-THUMB-HOVER-color: var(--INTERNAL-MAIN-SCROLLBAR-THUMB-HOVER-color);
  --VARIABLE-SCROLLBAR-TRACK-color: var(--INTERNAL-MAIN-SCROLLBAR-TRACK-color);
  --VARIABLE-SCROLLBAR-TRACK-HOVER-color: var(--INTERNAL-MAIN-SCROLLBAR-TRACK-HOVER-color);
}

body {
  background-color: var(--INTERNAL-MAIN-BG-color);
  color: var(--INTERNAL-MAIN-TEXT-color);
  display: flex;
  font-size: 1.015625rem;
  font-variation-settings: var(--INTERNAL-MAIN-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-font-weight);
  font-family: var(--INTERNAL-MAIN-font);
  height: 100%;
  letter-spacing: var(--INTERNAL-MAIN-letter-spacing);
  line-height: 1.574;
  margin: 0;
}

b,
strong,
label,
th,
blockquote cite {
  font-variation-settings: var(--INTERNAL-MAIN-BOLD-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-BOLD-font-weight);
  letter-spacing: var(--INTERNAL-MAIN-BOLD-letter-spacing);
}

p {
  margin: 1rem 0;
}

ul,
ol {
  margin-bottom: 1rem;
  margin-top: 1rem;
  padding-inline-start: 1.5rem;
}
:is(ul, ol) :is(ul, ol) {
  margin-bottom: 0;
  margin-top: 0;
}

ul {
  list-style: disc;
}

dt {
  font-style: italic;
}

dd {
  display: list-item;
  list-style: disc;
  margin-inline-start: 1.5rem;
}

a {
  color: var(--VARIABLE-LINK-color);
  text-decoration: none;
}

a:is(:hover, :active, :focus) {
  color: var(--VARIABLE-LINK-HOVER-color);
}

figure {
  margin: 1rem 2.5rem;
}

iframe {
  border: 0;
}

img {
  max-width: 100%;
}

small {
  font-size: 0.925em;
}

/* sub- and superscripts must not stretch the line they sit in */
sub,
sup {
  font-size: 0.8em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}

/* form controls take the text of the page instead of the one of the browser */
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  /* the font shorthand leaves the letter spacing to the browser */
  letter-spacing: inherit;
  margin: 0;
}

input {
  line-height: normal;
}

input:is([type='checkbox'], [type='radio']) {
  margin-inline-end: 0.425rem;
}

/* the font taken from the page is never bold, but a group title should be */
optgroup {
  font-variation-settings: var(--INTERNAL-MAIN-BOLD-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-BOLD-font-weight);
  letter-spacing: var(--INTERNAL-MAIN-BOLD-letter-spacing);
}

button {
  cursor: pointer;
  padding: 0;
}
button:disabled {
  cursor: default;
}
button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.default-animation {
  transition: all 0.35s ease;
}

/* while their font is on its way after the first paint, the icons wait out of
   sight, so they can fade in once it is there */
:root[data-r-icons='loading'] [class*='fa-'] {
  opacity: 0;
}
:root[data-r-icons='fading'] [class*='fa-'] {
  animation: R-icons-fade-in 0.3s ease-out;
}
@keyframes R-icons-fade-in {
  from {
    opacity: 0;
  }
}

/* readers asking for less motion get none: what changes, changes at once */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  /* the fade between two states of the page is none of the above; it stands for itself
     as a browser not knowing it drops the whole rule */
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}

/* the first stop for keyboard users, out of sight until it has the focus */
#R-skiplink {
  background-color: var(--INTERNAL-MAIN-BG-color);
  border: 0.15rem solid var(--INTERNAL-MAIN-LINK-color);
  border-radius: var(--block-radius);
  color: var(--INTERNAL-MAIN-LINK-color);
  inset-inline-start: 0.5rem;
  padding: 0.5rem 1rem;
  position: fixed;
  top: 0.5rem;
  transform: translateY(calc(-100% - 1rem));
  z-index: 5000;
}
#R-skiplink:focus {
  transform: none;
}

#R-sidebar {
  background: var(--INTERNAL-MENU-SECTIONS-BG-color);
  display: flex;
  flex-basis: auto;
  flex-direction: column;
  flex-grow: 0;
  flex-shrink: 0;
  font-size: 0.953125rem;
  height: 100%;
  inset-inline-start: 0;
  min-height: 100%;
  /* clip instead of hidden: this must not become a scroll container itself, as
     a focused menu entry would scroll us instead of the menu */
  overflow: clip;
  position: fixed;
  min-width: var(--INTERNAL-MENU-L-width);
  max-width: var(--INTERNAL-MENU-L-width);
  width: var(--INTERNAL-MENU-L-width);
}

#R-header-wrapper > * {
  padding-inline: 1rem;
}
#R-header-wrapper > search {
  color: var(--INTERNAL-MENU-SEARCH-color);
  display: block;
  margin-block: 0.5rem;
}

#R-logo.R-default:has(> .logo-title) + search,
#R-header-wrapper > search:not(:only-child) {
  margin-bottom: 1rem;
}

#R-header-wrapper > search > form {
  /* room for the focus outline of the box, which is cut off otherwise */
  margin: -0.3rem;
  overflow: hidden;
  padding: 0.3rem;
}

.searchbox {
  background-color: var(--INTERNAL-MENU-SEARCH-BG-color);
  border-color: var(--INTERNAL-MENU-SEARCH-BORDER-color);
  border-radius: 4px;
  border-style: solid;
  border-width: 1px;
  position: relative;
}

/* the box is what looks like the input, so it shows the focus for it */
.searchbox:has(input:focus-visible) {
  outline: auto;
}

.searchbox > :first-child {
  inset-inline-start: 0.333rem;
  position: absolute;
}

.searchbox > button {
  appearance: none;
  align-items: center;
  background-color: transparent;
  border: 0;
  /* a square in the vertical center of the box, with the icon in its center */
  bottom: 0;
  display: flex;
  height: 1.5rem;
  justify-content: center;
  margin: auto 0;
  top: 0;
  width: 1.5rem;
}
/* the square is wider than its icon, which is to stay where it is */
.searchbox > button:first-child {
  inset-inline-start: calc(0.333rem - (1.5rem - 1.25em) / 2);
}
.searchbox > button:last-child {
  inset-inline-end: calc(0.333rem - (1.5rem - 1.25em) / 2);
}

.searchbox > i {
  top: 0.45rem;
}

.searchbox > :last-child {
  inset-inline-end: 0.333rem;
  position: absolute;
}

#R-sidebar .searchbox > button {
  opacity: 0.75;
}

#R-sidebar .searchbox button:hover {
  color: var(--INTERNAL-MENU-SEARCH-HOVER-color);
  opacity: 1;
}

.searchbox input {
  width: 100%;
  height: 1.875rem;
  background: transparent;
  border: 0;
  padding-bottom: 0;
  padding-inline-end: 1.6rem;
  padding-inline-start: 1.8rem;
  padding-top: 0;
  /* the box shows the focus instead */
  outline: none;
}

.searchbox input::placeholder {
  color: var(--INTERNAL-MENU-SEARCH-color);
  opacity: 0.45;
}

#R-content-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1; /* fill rest of vertical space */
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  /* the menu can hold custom content; without us as their containing block,
     absolutely positioned elements would resolve against the fixed sidebar and
     stay put while the menu scrolls */
  position: relative;
  /* our colors for the scrollbar the browser draws on top of us; on a device with
     a mouse the rules below hide it again until the menu is hovered */
  scrollbar-color: var(--VARIABLE-SCROLLBAR-THUMB-color) var(--VARIABLE-SCROLLBAR-TRACK-color);
  transition: scrollbar-color 0.2s linear;
  z-index: 100;
  --VARIABLE-SCROLLBAR-THUMB-color: var(--INTERNAL-MENU-SCROLLBAR-THUMB-color);
  --VARIABLE-SCROLLBAR-THUMB-HOVER-color: var(--INTERNAL-MENU-SCROLLBAR-THUMB-HOVER-color);
  --VARIABLE-SCROLLBAR-TRACK-color: var(--INTERNAL-MENU-SCROLLBAR-TRACK-color);
  --VARIABLE-SCROLLBAR-TRACK-HOVER-color: var(--INTERNAL-MENU-SCROLLBAR-TRACK-HOVER-color);
}

@media (hover: hover) {
  #R-content-wrapper {
    /* the browsers overlay scrollbar shows up on every scroll, even when the
       active entry is scrolled into view on load; we only want it on hover */
    scrollbar-color: transparent transparent;
  }

  #R-sidebar:hover #R-content-wrapper,
  #R-content-wrapper:focus-within {
    /* the rail we draw ourselves knows three states, a scrollbar of the browser
       only ever gets two: there is no selector for it being hovered - the mouse
       over it is inside of the menu like the mouse over an entry is - so we take
       the hovered colors here, as they are the ones that make us stand out.
       the focus makes us show up for the keyboard, which never hovers us but
       scrolls us with the cursor keys once it is inside of the menu */
    scrollbar-color: var(--VARIABLE-SCROLLBAR-THUMB-HOVER-color) var(--VARIABLE-SCROLLBAR-TRACK-HOVER-color);
  }
}

/* === classic scrollbar quirks ============================================ */
/* everything down to the end marker only exists for browsers without overlay
   scrollbars: a classic scrollbar takes away space and would clip the menu
   border at the sidebars edge and the active entry bleeding into the content
   area, so we hide the browsers scrollbar and draw our own rail instead.

   one thing has to be true before we take over: our header script must have
   measured a scrollbar that takes space - it sets `classic-scrollbars` for that.
   whether the browser can hide its own we do not ask; every engine that gets
   this far understands one of the two ways below, as the `:has()` and
   `color-mix()` we use elsewhere ask for far newer versions than those do.

   this block, the `#R-scrollbar` markup in menu.html and `initMenuThumb()` in
   theme.js are the whole of it and can be dropped together once no supported
   browser reports a space taking scrollbar anymore; as overlay scrollbars are a
   user setting on every platform, that needs more than Chromium defaulting to
   them - https://issues.chromium.org/issues/40280779 */

.scrollbar-measure {
  /* the probe our header script measures to decide `classic-scrollbars`, so it
     can not be scoped to that class itself */
  /* https://davidwalsh.name/detect-scrollbar-width */
  height: 100px;
  overflow: scroll;
  position: absolute;
  width: 100px;
  top: -9999px;
}

#R-scrollbar {
  /* unscoped as well: without the class we must never be seen */
  display: none;
}

/* taking over means making the browsers own scrollbar go away, or we end up with
   two of them; it understands either the standard property or the pseudo element,
   and declaring both is harmless as each is ignored where it is not */
.classic-scrollbars #R-content-wrapper {
  scrollbar-width: none;
}

.classic-scrollbars #R-content-wrapper::-webkit-scrollbar {
  display: none;
}

.classic-scrollbars #R-scrollbar.scrollable {
  display: block;
}

.classic-scrollbars #R-scrollbar {
  /* we live inside of the menu, so the browser still scrolls it if the mouse is
     over us, but stay in place and take no space of our own */
  align-self: flex-end;
  /* we are the track of the menu, the thumb below has colors of its own */
  background-color: var(--VARIABLE-SCROLLBAR-TRACK-color);
  flex-shrink: 0;
  margin-bottom: calc(-1 * var(--INTERNAL-SCROLLBAR-height, 0px));
  position: sticky;
  top: 0;
  height: var(--INTERNAL-SCROLLBAR-height, 0);
  opacity: 0;
  transition:
    background-color 0.2s linear,
    opacity 0.2s linear,
    width 0.2s ease-in-out;
  /* narrow until the mouse reaches us; we are no flex item of any row, so growing
     us moves none of the menu entries; whatever our width is, we take the mouse
     over all of it, so a click next to the thumb scrolls by a page instead of
     hitting the menu entry below us */
  width: 8px;
  z-index: 100;
}

@media (hover: none) {
  .classic-scrollbars #R-scrollbar {
    /* we can not be seen until a scroll happens, so a tap has to reach the menu
       entry underneath us instead of us; scrolling is done by swiping the menu */
    pointer-events: none;
  }

  .classic-scrollbars #R-scrollbar.scrolling {
    /* show up while scrolling, as we can not be hovered here */
    opacity: 1;
  }
}

@media (hover: hover) {
  .classic-scrollbars #R-sidebar:hover #R-scrollbar,
  .classic-scrollbars #R-content-wrapper:focus-within > #R-scrollbar {
    /* hovering the menu only lets us show up; our own colors and width wait for
       the mouse to reach us. the focus does the same for the keyboard, which
       scrolls us with the cursor keys once it is inside of the menu */
    opacity: 1;
  }
}

.classic-scrollbars #R-scrollbar:hover {
  /* we tint and widen once the mouse reaches us, the thumb inside grows with us */
  background-color: var(--VARIABLE-SCROLLBAR-TRACK-HOVER-color);
  width: 15px;
}

.classic-scrollbars #R-scrollbar-thumb {
  background-color: var(--VARIABLE-SCROLLBAR-THUMB-color);
  border-radius: 6px;
  height: calc(var(--INTERNAL-SCROLLBAR-THUMB-size, 0) * 100%);
  inset-inline-end: 2px;
  position: absolute;
  top: calc(var(--INTERNAL-SCROLLBAR-THUMB-position, 0) * 100%);
  transition:
    background-color 0.2s linear,
    width 0.2s ease-in-out;
  width: 6px;
}

.classic-scrollbars #R-scrollbar:hover > #R-scrollbar-thumb,
.classic-scrollbars #R-scrollbar-thumb.dragging {
  /* gain contrast once the mouse is over us */
  background-color: var(--VARIABLE-SCROLLBAR-THUMB-HOVER-color);
  width: 11px;
}

@media (forced-colors: active) {
  /* our translucent grays are overridden in forced colors, so we have to name
     system colors to stay visible; a browsers scrollbar does this for us */
  .classic-scrollbars #R-scrollbar,
  .classic-scrollbars #R-scrollbar:hover {
    background-color: Canvas;
  }

  .classic-scrollbars #R-scrollbar-thumb,
  .classic-scrollbars #R-scrollbar:hover > #R-scrollbar-thumb,
  .classic-scrollbars #R-scrollbar-thumb.dragging {
    background-color: CanvasText;
  }
}
/* === end of classic scrollbar quirks ===================================== */

#R-sidebar .padding {
  padding: 0 1rem;
}

#R-sidebar .R-sidebarmenu > ul {
  margin-top: 1rem;
}

#R-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#R-sidebar ul li .read-icon {
  display: none;
  font-size: 0.8125rem;
  inset-inline-end: 1rem;
  margin: 0.25rem 0 0 0;
  min-width: 1rem;
  position: absolute;
}

#R-sidebar ul li > a .read-icon {
  color: var(--INTERNAL-MENU-VISITED-color);
}
#R-sidebar ul li.visited > a .read-icon {
  display: inline;
}

#R-sidebar .nav-title {
  color: var(--INTERNAL-MENU-SECTIONS-LINK-color);
  font-size: 2rem;
  font-variation-settings: var(--INTERNAL-MAIN-TITLES-H1-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-TITLES-H1-font-weight);
  font-family: var(--INTERNAL-MAIN-TITLES-H1-font);
  letter-spacing: var(--INTERNAL-MAIN-TITLES-H1-letter-spacing);
  line-height: 110%;
  margin: 1.25rem 0 -0.25rem 0;
  padding-inline-start: 1rem;
  text-rendering: optimizeLegibility;
}

#R-sidebar hr {
  border-bottom-style: solid;
  border-bottom-width: 1px;
  margin: 1rem 1rem 0 1rem;
}

#R-homelinks hr {
  border-color: var(--INTERNAL-MENU-HOME-SEPARATOR-color);
}
#R-homelinks .R-menu-divider:first-child hr {
  border-color: var(--INTERNAL-MENU-HOME-TOP-SEPARATOR-color);
  margin-top: 0;
}
#R-homelinks .R-menu-divider:last-child hr {
  border-color: var(--INTERNAL-MENU-HOME-BOTTOM-SEPARATOR-color);
  margin-bottom: 3px;
  margin-top: 0;
}

/* visibility for sidebarheader is tricky; first and last divider may have different colors
than the ones in between, so they need to have privileged visibility; order is:
- last
- first
- in between
*/
#R-sidebar .R-sidebarmenu:not(:has(> ul > *)) {
  /* hide all empty menus */
  display: none;
}
#R-sidebar .R-menu-divider:not(:has(+ .R-sidebarmenu > ul > *)) hr {
  /* hide all upper hrs if the following menu has no entries,
  this is common for all menu regardless of header, body or footer */
  display: none;
}
#R-homelinks .R-menu-divider:first-child:not(:has(+ .R-sidebarmenu > ul > *)):has(~ .R-sidebarmenu > ul > *) hr {
  /* in case if the first menu is empty and we have some other menus to follow, we have
  to show the first divider because of different coloring */
  display: revert;
}
#R-homelinks .R-menu-divider:first-child + .R-sidebarmenu:not(:has(> ul > *)) ~ .R-menu-divider:has(+ .R-sidebarmenu > ul > *) hr {
  /* in case if the first menu is empty and we have some other menus to follow, we have
  to hide the first following menus divider because of different coloring;
  this selector selects all following menus, so we have to write a follow up
  rule to remove that effect on all but the first */
  display: none;
}
#R-sidebar #R-homelinks .R-menu-divider:has(+ .R-sidebarmenu > ul > *) ~ .R-menu-divider:has(+ .R-sidebarmenu > ul > *) hr {
  /* the mentioned follow up rule from above */
  display: revert;
}
#R-sidebar #R-homelinks .R-menu-divider:last-child hr {
  display: revert;
}

#R-content-wrapper hr {
  border-color: var(--INTERNAL-MENU-SECTION-SEPARATOR-color);
}

#R-footer-margin {
  flex-grow: 1;
}

#R-footer-margin + .R-menu-divider hr {
  margin-top: 1.25rem;
}

#R-footer {
  color: var(--INTERNAL-MENU-SECTIONS-LINK-color);
  font-size: 0.8125rem;
  padding-bottom: 1.25rem;
  padding-top: 2rem;
  text-align: center;
}
#R-footer:empty {
  padding-bottom: 0.625rem;
  padding-top: 0.625rem;
}

#R-footer > * {
  margin: 0 auto;
}

#R-footer > hr:first-child {
  margin-bottom: 1.25rem;
  margin-top: -0.5rem;
}

#R-footer > hr {
  margin-left: 0;
  margin-right: 0;
}

article .R-taxonomy.tags {
  --VARIABLE-TAGS-color: var(--INTERNAL-MAIN-BG-color);
  --VARIABLE-TAGS-BG-color: var(--INTERNAL-TAG-BG-color);
  margin-left: 1rem;
}

/* only a list given a style is a cstyle */
article .R-taxonomy.tags.cstyle {
  --VARIABLE-TAGS-BG-color: var(--VARIABLE-BOX-color);
}

article .R-taxonomy.tags i {
  display: none;
}

article .R-taxonomy.tags ul > li ~ li:before {
  content: ' ';
}

article .R-taxonomy.tags a.term-link {
  background-color: var(--VARIABLE-TAGS-BG-color);
  border-bottom-right-radius: 3px;
  border-top-right-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  color: var(--VARIABLE-TAGS-color);
  display: inline-block;
  font-size: 0.8em;
  font-variation-settings: var(--INTERNAL-MAIN-MEDIUM-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-MEDIUM-font-weight);
  letter-spacing: var(--INTERNAL-MAIN-MEDIUM-letter-spacing);
  line-height: 2em;
  margin: 0 0 8px 0;
  margin-inline-end: 16px;
  padding: 0 10px 0 12px;
  position: relative;
}

/* the tip reaches 1px below the label, so subpixel rounding can not open a gap between the two */
article .R-taxonomy.tags a.term-link:before {
  background-color: var(--VARIABLE-TAGS-BG-color);
  clip-path: polygon(0 50%, calc(100% - 1px) 0, 100% 0, 100% 100%, calc(100% - 1px) 100%);
  content: '';
  left: -1em;
  height: 100%;
  position: absolute;
  top: 0;
  width: calc(1em + 1px);
}

article .R-taxonomy.tags a.term-link:after {
  background-color: var(--VARIABLE-TAGS-color);
  border-radius: 100%;
  content: '';
  left: 1px;
  height: 5px;
  position: absolute;
  top: 10px;
  width: 5px;
}

#R-body {
  display: flex;
  flex-basis: 100%;
  flex-direction: column;
  flex-grow: 1;
  flex-shrink: 0;
  height: 100%;
  margin-inline-start: var(--INTERNAL-MENU-L-width);
  min-height: 100%;
  overflow-wrap: break-word; /* avoid x-scrolling of body if it is to large to fit */
  position: relative;
  min-width: calc(100% - var(--INTERNAL-MENU-L-width));
  max-width: calc(100% - var(--INTERNAL-MENU-L-width));
  width: calc(100% - var(--INTERNAL-MENU-L-width));
  z-index: 70;
}

#R-body :is(svg, img),
#R-body figure > figcaption > :is(.figure-title, p) {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  text-align: center;
}

/* an image follows its width; its `height` attribute only tells the browser the
   space to reserve before it has loaded, and a height asked for in the image's
   link comes as a style attribute, which wins over this */
.figure-image {
  height: auto;
}

#R-body :is(svg, img):not(.lightbox-image).left {
  margin-left: 0;
}

#R-body :is(svg, img):not(.lightbox-image).right {
  margin-right: 0;
}

#R-body :is(svg, img):not(.lightbox-image).border {
  background-clip: padding-box;
  border: 1px solid color-mix(in srgb, var(--INTERNAL-MAIN-TEXT-color) 10%, transparent);
  /* an image carries its own dimensions so a browser can reserve its space, and
     those size the border box; the border would otherwise eat into the picture
     and resample it, so here it goes outside instead */
  box-sizing: content-box;
}

#R-body :is(svg, img):not(.lightbox-image).rounded {
  border-radius: var(--block-radius);
}

#R-body :is(svg, img):not(.lightbox-image).shadow {
  /* the shadow is tinted by the background and inverts its lightness, so it is dark on a light
     background and light on a dark one; a light one has to stand up to a bright image, so the
     darker the background the denser it is; its chroma is strengthened, as a tinted dark
     background holds too little of it to show in a light shadow, while a grey one has none to
     strengthen; on a light background it takes the color of the neutral boxes instead, which
     carries the tint of the variant, but never darker than a light grey, as some variants
     darken their neutral boxes for contrast */
  box-shadow: 0 3px 12px light-dark(oklch(from var(--INTERNAL-BOX-NEUTRAL-color) max(l, 0.85) c h / 0.9), oklch(from var(--INTERNAL-MAIN-BG-color) calc((1 - l) * 1.2) calc(c * 6) h / calc(0.2 + 0.6 * (1 - l))));
}

#R-body :is(svg, img):not(.lightbox-image).inline {
  display: inline;
  margin: 0;
  vertical-align: bottom;
}

#R-body figure > figcaption > .figure-title {
  color: var(--INTERNAL-MAIN-TITLES-H4-TEXT-color);
  font-family: var(--INTERNAL-MAIN-TITLES-H4-font);
  font-variation-settings: var(--INTERNAL-MAIN-TITLES-H4-font-variation-settings);
  letter-spacing: var(--INTERNAL-MAIN-TITLES-H4-letter-spacing);
  font-size: 1rem;
  font-weight: var(--INTERNAL-MAIN-TITLES-H4-font-weight);
  margin: 0;
}

#R-body figure > figcaption > p {
  font-size: 0.85rem;
  font-variation-settings: var(--INTERNAL-MAIN-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-font-weight);
  letter-spacing: var(--INTERNAL-MAIN-letter-spacing);
  margin-top: 0.15rem;
}
#R-body figure > figcaption > .figure-title + p {
  margin-top: 0;
}

#R-main {
  display: flex;
  flex: auto;
  flex-direction: column;
  overflow-y: auto;
  padding: 0 3.25rem 4rem 3.25rem;
  position: relative;
  /* reserve the space of a classic scrollbar on both sides, so the content
     stays horizontally centered regardless of whether it is scrollable;
     overlay scrollbars don't create gutters, so this is a no-op for them */
  scrollbar-gutter: stable both-edges;
}

/* the browser draws the scrollbars of the content, of topbar popover areas, of
   the search suggestions, of the opened list of a select in the menu and of code
   boxes, and we take whichever styling it offers us: the standard property knows
   two colors but no state of its own, the webkit pseudo elements give us a hover
   of the scrollbar itself; they are mutually exclusive, as naming a scrollbar-color
   makes the pseudo elements be ignored. the colors are the ones of the area we
   are in, see the `--VARIABLE-SCROLLBAR-*` properties; the search suggestions sit
   on the background of the content, so they keep its colors */
@supports not selector(::-webkit-scrollbar) {
  :is(#R-main, .topbar-content-wrapper, #R-sidebar .autocomplete-suggestions, .menu-control select, pre:not(.mermaid), div.highlight > div:not(.actionbar) table) {
    scrollbar-color: var(--VARIABLE-SCROLLBAR-THUMB-color) var(--VARIABLE-SCROLLBAR-TRACK-color);
    transition: scrollbar-color 0.2s linear;

    @media (hover: hover) {
      &:hover {
        /* the best we get here: the thumb reacts to us being hovered, not to itself */
        scrollbar-color: var(--VARIABLE-SCROLLBAR-THUMB-HOVER-color) var(--VARIABLE-SCROLLBAR-TRACK-HOVER-color);
      }
    }
  }
}

/* the list of a select we style ourselves is a part of the select, not an
   element; a browser that draws the list on its own does not know how to name
   it and drops every rule that does, so each rule naming it comes on its own,
   right after the one it follows */
@supports selector(::-webkit-scrollbar) {
  :is(#R-main, .topbar-content-wrapper, #R-sidebar .autocomplete-suggestions, .menu-control select, pre:not(.mermaid), div.highlight > div:not(.actionbar) table) {
    .classic-scrollbars &::-webkit-scrollbar {
      /* the rules below stay dead until this one is here: only styling the scrollbar
         itself makes Chrome draw its own instead of the platforms, and it then takes
         its thickness from us; where the browser has an overlay scrollbar it keeps
         drawing it and we let it, so this is the same width the classic one has */
      height: var(--scrollbar-size);
      width: var(--scrollbar-size);
    }
    .classic-scrollbars &::picker(select)::-webkit-scrollbar {
      height: var(--scrollbar-size);
      width: var(--scrollbar-size);
    }

    &::-webkit-scrollbar-button,
    &::-webkit-scrollbar-corner {
      /* drawing our own scrollbar also gets us the steppers of the platform, which
         none of the browsers overlay scrollbars has */
      display: none;
    }
    &::picker(select)::-webkit-scrollbar-button,
    &::picker(select)::-webkit-scrollbar-corner {
      display: none;
    }

    &::-webkit-scrollbar-track {
      background-color: var(--VARIABLE-SCROLLBAR-TRACK-color);
    }
    &::picker(select)::-webkit-scrollbar-track {
      background-color: var(--VARIABLE-SCROLLBAR-TRACK-color);
    }

    &::-webkit-scrollbar-thumb {
      /* the thumb of a drawn scrollbar fills its full width with square corners, so
         we have to give it a slim, rounded and inset shape ourselves, like the one
         our menu rail gives its thumb; the transparent border does the insetting,
         the background must not reach into it */
      background-clip: padding-box;
      background-color: var(--VARIABLE-SCROLLBAR-THUMB-color);
      border: var(--scrollbar-thumb-inset) solid transparent;
      border-radius: var(--scrollbar-thumb-radius);
    }
    &::picker(select)::-webkit-scrollbar-thumb {
      background-clip: padding-box;
      background-color: var(--VARIABLE-SCROLLBAR-THUMB-color);
      border: var(--scrollbar-thumb-inset) solid transparent;
      border-radius: var(--scrollbar-thumb-radius);
    }

    @media (hover: hover) {
      &::-webkit-scrollbar-track:hover {
        /* tints once the mouse reaches us, like the menu rail does */
        background-color: var(--VARIABLE-SCROLLBAR-TRACK-HOVER-color);
      }
      &::picker(select)::-webkit-scrollbar-track:hover {
        background-color: var(--VARIABLE-SCROLLBAR-TRACK-HOVER-color);
      }

      &::-webkit-scrollbar-thumb:hover {
        /* grows like the menu thumb does */
        background-color: var(--VARIABLE-SCROLLBAR-THUMB-HOVER-color);
        border-width: var(--scrollbar-thumb-hover-inset);
      }
      &::picker(select)::-webkit-scrollbar-thumb:hover {
        background-color: var(--VARIABLE-SCROLLBAR-THUMB-HOVER-color);
        border-width: var(--scrollbar-thumb-hover-inset);
      }

      &:hover {
        /* Safari does not recompute the rules above once we are hovered unless a
           custom property makes it; its value is never read */
        --fix: ;
      }
    }

    @media (forced-colors: active) {
      /* our translucent grays are overridden in forced colors and would leave the
         thumb in the color of its track, so we name system colors like the menu
         rail does; the transparent border insetting the thumb is given a color of
         its own here, so it has to become the one of the track */
      &::-webkit-scrollbar-track,
      &::-webkit-scrollbar-track:hover {
        background-color: Canvas;
      }
      &::picker(select)::-webkit-scrollbar-track,
      &::picker(select)::-webkit-scrollbar-track:hover {
        background-color: Canvas;
      }

      &::-webkit-scrollbar-thumb,
      &::-webkit-scrollbar-thumb:hover {
        background-color: CanvasText;
        border-color: Canvas;
      }
      &::picker(select)::-webkit-scrollbar-thumb,
      &::picker(select)::-webkit-scrollbar-thumb:hover {
        background-color: CanvasText;
        border-color: Canvas;
      }
    }
  }
}
@media screen {
  :where(.menu-m-width) #R-main {
    padding: 0 2rem 1rem 2rem;
  }
  :where(.menu-s-width) #R-main {
    padding: 0 1.25rem 0.375rem 1.25rem;
  }
}

/* option link.underline: links in the content are told apart from the text
   around them by more than their color; what looks like a control of its own
   stays as it is */
.link-underline article a,
.link-underline article a .copy-to-clipboard {
  text-decoration: underline;
}
.link-underline article :is(.btn, .card-title) > a,
.link-underline article .R-taxonomy.tags a.term-link,
.link-underline article a:is(.autocomplete-suggestion, .lightbox-link, .lightbox-close) {
  text-decoration: none;
}

#R-topbar a:is(:hover, :active, :focus):empty,
#R-topbar :is(a, button):is(:hover, :active, :focus) :not(i),
#R-topbar .title:is(:hover, :active, :focus),
.topbar-content a:is(:hover, :active, :focus),
article a:is(:hover, :active, :focus),
article a:is(:hover, :active, :focus) .copy-to-clipboard {
  text-decoration: underline;
}
/* no outline for the pointer; who uses the keyboard keeps the one of the
   browser to see where the focus is */
.topbar-content a:focus:not(:focus-visible),
article a:focus:not(:focus-visible),
article a:focus:not(:focus-visible) .copy-to-clipboard,
article a.lightbox-close:is(:hover, :active, :focus) > :is(svg, img):only-child:empty,
article .btn > button:focus:not(:focus-visible),
/* these show the focus on what they hold or on what holds them */
article a:focus:has(> :is(img, svg):only-child:empty),
.card-container .card-title > :is(a, button):focus {
  outline: none;
}
article a:is(:hover, :active, :focus) > :is(svg, img):only-child:empty {
  outline: 0.15rem solid var(--VARIABLE-LINK-HOVER-color);
}

#R-main:focus-visible {
  /* being a scroll container, the browser focuses us when the skip link is
     followed; the tab key goes on from the start of the content, which needs
     no ring around all of it */
  outline: none;
}

#R-body h1 + hr {
  margin-bottom: 2rem;
  margin-top: -1rem;
}

#R-body .flex-block-wrapper {
  margin-left: auto;
  margin-right: auto;
  /* the width grows us to whatever room we are given, the max-width caps us at the
     configured one; that cap can not overflow us the way naming the width itself
     would once the scrollbar gutter has taken its share of the room */
  max-width: calc(var(--INTERNAL-MAIN-MAX-width) - var(--INTERNAL-MENU-L-width) - 2 * 3.25rem);
  width: 100%;
}
#R-body .flex-block-wrapper:has(article.narrow) {
  max-width: calc(var(--INTERNAL-MAIN-MAX-width) - var(--INTERNAL-MENU-L-width) - 2 * 9.75rem);
}

#R-main:has(> .flex-block-wrapper article.narrow) {
  padding: 0 9.75rem 2rem 9.75rem;
}
@media screen {
  :where(.menu-m-width) #R-main:has(> .flex-block-wrapper article.narrow) {
    padding: 0 6.5rem 1rem 6.5rem;
  }
  :where(.menu-s-width) #R-main:has(> .flex-block-wrapper article.narrow) {
    padding: 0 3.25rem 0.375rem 3.25rem;
  }
}

#R-main > .flex-block-wrapper article.narrow > p {
  font-size: 1.2rem;
  text-align: justify;
}

/* a single underline is how a link is told apart from the text around it, so
   inserted text is underlined twice */
ins {
  text-decoration: underline double;
}

/* a screen reader doesn't tell where inserted or deleted text starts and
   ends, so this is written around the text for it alone; the texts depend on
   the language and are set by the script */
:is(ins, del)::before,
:is(ins, del)::after {
  clip-path: polygon(0 0, 1px 0, 1px 1px, 0 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
  width: 1px;
}
ins::before {
  content: var(--ins-start-text);
}
ins::after {
  content: var(--ins-end-text);
}
del::before {
  content: var(--del-start-text);
}
del::after {
  content: var(--del-end-text);
}

mark {
  background: transparent;
  background-image: linear-gradient(to right, color-mix(in srgb, var(--INTERNAL-ACCENT-color) 5%, transparent), color-mix(in srgb, var(--INTERNAL-ACCENT-color) 95%, transparent) 4%, color-mix(in srgb, var(--INTERNAL-ACCENT-color) 40%, transparent));
  border-radius: 0.8em 0.3rem;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: rgba(0, 0, 0, 1);
  margin: 0 -0.25rem 0 -0.1rem;
  padding: 0.1rem 0.25rem 0.05rem 0.1rem;
  print-color-adjust: exact;
}

kbd {
  background-color: color-mix(in srgb, var(--INTERNAL-BOX-NEUTRAL-color) 40%, transparent);
  border-color: oklch(from var(--INTERNAL-BOX-GREY-color) calc(l * 0.94) c h / 0.5);
  border-radius: 0.25rem;
  border-style: solid;
  border-width: 1px;
  box-shadow: 0 0.0625rem 0 0.0625rem oklch(from var(--INTERNAL-BOX-GREY-color) calc(l * 0.94) c h / 0.5);
  color: var(--INTERNAL-TEXT-color);
  line-height: 1;
  min-width: 0.75rem;
  padding: 0.125rem 0.3125rem 0.125rem 0.3125rem;
  position: relative;
  print-color-adjust: exact;
  text-align: center;
  top: -0.125rem;
}

h1 {
  color: var(--INTERNAL-MAIN-TITLES-H1-TEXT-color);
  font-size: 3.25rem;
  font-variation-settings: var(--INTERNAL-MAIN-TITLES-H1-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-TITLES-H1-font-weight);
  font-family: var(--INTERNAL-MAIN-TITLES-H1-font);
  hyphens: auto;
  letter-spacing: var(--INTERNAL-MAIN-TITLES-H1-letter-spacing);
  margin: 0.85rem 0 1rem 0;
  overflow: clip;
  /* what a font draws beyond its box, like a swash, a slanted letter or a
     glow, would be cut off; it may paint into the room around it, which leaves
     the box as it is for what a site draws on it */
  overflow-clip-margin: 0.5em;
  /* big titles cause a horizontal scrollbar - fixing this by wrapping text */
  overflow-wrap: break-word;
  text-align: center;
  text-rendering: optimizeLegibility;
}

#R-main > .flex-block-wrapper article.narrow h1 {
  border-bottom: 4px solid color-mix(in srgb, var(--INTERNAL-BOX-NEUTRAL-color) 30%, transparent);
}
@media screen {
  :where(.menu-m-width) #R-main > .flex-block-wrapper article h1 {
    font-size: 2.8rem;
  }
  :where(.menu-s-width) #R-main > .flex-block-wrapper article h1 {
    font-size: 2.5rem;
  }
}

.article-subheading {
  color: var(--INTERNAL-MAIN-TITLES-H1-TEXT-color);
  font-size: 1.8rem;
  font-variation-settings: var(--INTERNAL-MAIN-TITLES-H1-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-TITLES-H1-font-weight);
  font-family: var(--INTERNAL-MAIN-TITLES-H1-font);
  letter-spacing: var(--INTERNAL-MAIN-TITLES-H1-letter-spacing);
  text-align: center;
}
#R-main > .flex-block-wrapper article > .article-subheading {
  margin-top: 0;
}
#R-main > .flex-block-wrapper article.narrow > .article-subheading {
  margin-top: 2rem;
}
@media screen {
  :where(.menu-m-width) #R-main > .flex-block-wrapper article.narrow > .article-subheading {
    margin-top: 1rem;
  }
  :where(.menu-s-width) #R-main > .flex-block-wrapper article.narrow > .article-subheading {
    margin-top: 0.375rem;
  }
}

h2,
.card-title {
  color: var(--INTERNAL-MAIN-TITLES-H2-TEXT-color);
  font-size: 2.2rem;
  font-variation-settings: var(--INTERNAL-MAIN-TITLES-H2-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-TITLES-H2-font-weight);
  font-family: var(--INTERNAL-MAIN-TITLES-H2-font);
  letter-spacing: var(--INTERNAL-MAIN-TITLES-H2-letter-spacing);
}

h3 {
  color: var(--INTERNAL-MAIN-TITLES-H3-TEXT-color);
  font-size: 1.8rem;
  font-variation-settings: var(--INTERNAL-MAIN-TITLES-H3-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-TITLES-H3-font-weight);
  font-family: var(--INTERNAL-MAIN-TITLES-H3-font);
  letter-spacing: var(--INTERNAL-MAIN-TITLES-H3-letter-spacing);
}

h4 {
  color: var(--INTERNAL-MAIN-TITLES-H4-TEXT-color);
  font-size: 1.5rem;
  font-variation-settings: var(--INTERNAL-MAIN-TITLES-H4-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-TITLES-H4-font-weight);
  font-family: var(--INTERNAL-MAIN-TITLES-H4-font);
  letter-spacing: var(--INTERNAL-MAIN-TITLES-H4-letter-spacing);
}

h5 {
  color: var(--INTERNAL-MAIN-TITLES-H5-TEXT-color);
  font-size: 1.25rem;
  font-variation-settings: var(--INTERNAL-MAIN-TITLES-H5-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-TITLES-H5-font-weight);
  font-family: var(--INTERNAL-MAIN-TITLES-H5-font);
  letter-spacing: var(--INTERNAL-MAIN-TITLES-H5-letter-spacing);
}

h6 {
  color: var(--INTERNAL-MAIN-TITLES-H6-TEXT-color);
  font-size: 1.1rem;
  font-variation-settings: var(--INTERNAL-MAIN-TITLES-H6-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-TITLES-H6-font-weight);
  font-family: var(--INTERNAL-MAIN-TITLES-H6-font);
  letter-spacing: var(--INTERNAL-MAIN-TITLES-H6-letter-spacing);
}

h2,
.card-title,
h3,
.article-subheading,
h4,
h5,
h6 {
  hyphens: auto;
  margin: 1.5rem 0 1rem 0;
  overflow: clip;
  /* what a font draws beyond its box, like a swash, a slanted letter or a
     glow, would be cut off; it may paint into the room around it, which leaves
     the box as it is for what a site draws on it */
  overflow-clip-margin: 0.5em;
  /* big titles cause a horizontal scrollbar - fixing this by wrapping text */
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
}

h2,
h3,
h4,
h5,
h6 {
  /* leave space for anchor to avoid overflow */
  padding-inline-end: 2rem;
}

/* the bar of a quote is drawn instead of being a border, as a border can not
   round the corners on its inner side */
blockquote,
figure.quote {
  margin: 1.5rem 0;
  padding-inline-start: 1.45rem;
  position: relative;
}
blockquote::before,
figure.quote::before {
  background-color: oklch(from var(--INTERNAL-BOX-GREY-color) calc(l * 0.94) c h / 0.4);
  border-radius: 3px;
  bottom: 0;
  content: '';
  inset-inline-start: 0;
  position: absolute;
  print-color-adjust: exact;
  top: 0;
  width: 0.6rem;
}

blockquote p {
  font-size: 1.06640625rem;
  font-style: italic;
  opacity: 0.75;
}

blockquote cite {
  display: block;
  font-size: 0.925rem;
  opacity: 0.5;
  padding-top: 0.5rem;
  text-align: end;
}

/* a quote with its attribution; the bar moves to the figure to span both */
figure.quote > blockquote {
  margin: 0;
  padding-inline-start: 0;
}
figure.quote > blockquote::before {
  content: none;
}

#R-body figure.quote > figcaption {
  font-size: 0.925rem;
  margin-top: 0.5rem;
  opacity: 0.75;
  text-align: end;
}

figure.quote > figcaption::before {
  content: '\2014\00a0';
}

/* colored boxes */

.box {
  background-color: var(--VARIABLE-BOX-color);
  border-color: var(--VARIABLE-BOX-color);
  border-radius: var(--block-radius);
  border-style: solid;
  border-width: 1px;
  margin: 1.5rem 0;
  outline: none;
}

.box > .box-label {
  color: var(--VARIABLE-BOX-CAPTION-color);
  /* the label fills the box up to its border, so its focus outline follows the inner edge of the box's corners */
  border-radius: calc(var(--block-radius) - 1px) calc(var(--block-radius) - 1px) 0 0;
  font-variation-settings: var(--INTERNAL-MAIN-MEDIUM-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-MEDIUM-font-weight);
  letter-spacing: var(--INTERNAL-MAIN-MEDIUM-letter-spacing);
  padding: 0.2rem 0.6rem;
}
/* Safari draws its marker even for a summary that is no list item */
.box > .box-label::-webkit-details-marker {
  display: none;
}

.box > .box-content {
  background-color: var(--VARIABLE-BOX-BG-color);
  /* the content fills the box up to its border, so it follows the inner edge of the box's corners */
  border-radius: 0 0 calc(var(--block-radius) - 1px) calc(var(--block-radius) - 1px);
  color: var(--VARIABLE-BOX-TEXT-color);
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
/* without a visible label, the content reaches the top of the box as well */
.box > .box-label.a11y-only + .box-content {
  border-radius: calc(var(--block-radius) - 1px);
}
/* remove margin if only a single code block is contained in the tab */
#R-body .box-content:not(:has(> p)):has(> div[class*='highlight']:only-of-type),
#R-body .box-content:has(> p:empty):has(> div[class*='highlight']:only-of-type) {
  padding: 0;
}
/* remove border from a code block if single  */
#R-body .box-content:not(:has(> p)) > div[class*='highlight']:only-of-type > pre,
#R-body .box-content:has(> p:empty) > div[class*='highlight']:only-of-type > pre {
  border: 0;
}
/* such a code block fills the content, so it takes over its corners */
#R-body .box-content:not(:has(> p)) > div[class*='highlight']:only-of-type,
#R-body .box-content:has(> p:empty) > div[class*='highlight']:only-of-type,
#R-body .box-content:not(:has(> p)) > div[class*='highlight']:only-of-type > pre,
#R-body .box-content:has(> p:empty) > div[class*='highlight']:only-of-type > pre {
  border-radius: inherit;
}

p:empty {
  /* in case of image render hook, Hugo may generate empty <p>s that we want to ignore */
  display: none;
}

/* a position counted among the siblings that pass a test, like :nth-child(1 of :not(:empty)), is checked on every element of the page
   and has the browser restyle all siblings of each element added later - a drawn Mermaid graph adds thousands */
#R-body table :is(th, td) > :first-child,
#R-body table :is(th, td) > :first-child :first-child,
#R-body :is(.box > .box-content, .card-content > .card-content-text, .tab-content > .tab-content-text) > :first-child,
#R-body :is(.box > .box-content, .card-content > .card-content-text, .tab-content > .tab-content-text) > :first-child :first-child {
  margin-top: 0;
}

#R-body table :is(th, td) > :last-child,
#R-body table :is(th, td) > :last-child :last-child,
#R-body table :is(th, td) > div:last-child pre:not(.mermaid),
#R-body :is(.box > .box-content, .card-content > .card-content-text, .tab-content > .tab-content-text) > :last-child,
#R-body :is(.box > .box-content, .card-content > .card-content-text, .tab-content > .tab-content-text) > :last-child :last-child,
#R-body :is(.box > .box-content, .card-content > .card-content-text, .tab-content > .tab-content-text) > div:last-child pre:not(.mermaid) {
  margin-bottom: 0;
}

/* Pages and children shortcode */
.columnize li > p + p {
  /* a narrow column has no room for more than a line of description */
  overflow: hidden;
  text-overflow: ellipsis;
  text-wrap-mode: nowrap;
}
:is(.pages-tree, .pages-sections, .children-type-group, .children-type-tree) li > p + p,
:is(.pages-list, .children-type-flat) li > p {
  font-size: 0.859625rem;
  font-style: italic;
}

:is(.pages-tree, .pages-sections, .pages-list, .pages-headings, .children-type-group, .children-type-tree, .children-type-flat, .children-type-list) p {
  margin-bottom: 0;
  margin-top: 0;
}

:is(.pages-tree, .pages-sections, .pages-list, .pages-headings, .children-type-group, .children-type-tree, .children-type-flat, .children-type-list) p + p {
  margin-top: 0.125em;
}

.pages-list,
.pages-headings,
.children-type-flat,
.children-type-list {
  list-style: none;
  padding-inline-start: 0;
}

.pages-headings :is(h1, h2, h3, h4, h5, h6),
.children-type-list :is(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 0;
  margin-top: 1rem;
}

code,
kbd,
pre:not(.mermaid),
samp {
  font-size: 0.934375em;
  font-variation-settings: var(--INTERNAL-CODE-font-variation-settings);
  font-weight: var(--INTERNAL-CODE-font-weight);
  font-family: var(--INTERNAL-CODE-font);
  letter-spacing: var(--INTERNAL-CODE-letter-spacing);
}

code {
  background-color: var(--INTERNAL-CODE-INLINE-BG-color);
  border-color: var(--INTERNAL-CODE-INLINE-BORDER-color);
  border-radius: 3px;
  border-style: solid;
  border-width: 1px;
  color: var(--INTERNAL-CODE-INLINE-color);
  padding-left: 0.125em;
  padding-right: 0.125em;
  print-color-adjust: economy;
}

/* inline code in a link is a link first, so it is told apart from other
   inline code the same way a link is told apart from the text around it; what
   looks like a control of its own stays as it is */
article :not(.btn, .card-title) > a:not(.term-link, .autocomplete-suggestion, .lightbox-link, .lightbox-close) code {
  color: inherit;
}

pre:not(.mermaid) {
  background-color: var(--INTERNAL-CODE-BLOCK-BG-color);
  border-color: var(--INTERNAL-CODE-BLOCK-BORDER-color);
  border-radius: var(--block-radius);
  border-style: solid;
  border-width: 1px;
  color: var(--INTERNAL-CODE-BLOCK-color);
  line-height: 1.15;
  margin: 1.5rem 0;
  overflow: auto;
  padding: 1rem;
  position: relative;
  print-color-adjust: economy;
}

pre:not(.mermaid) code {
  background-color: inherit;
  border: 0;
  color: inherit;
  font-size: 0.9375rem;
  padding: 0;
}

div.highlight {
  position: relative;
}
/* we may have special treatment if highlight shortcode was used in table lineno mode */
div.highlight > div:not(.actionbar) {
  background-color: var(--INTERNAL-CODE-BLOCK-BG-color);
  border-color: var(--INTERNAL-CODE-BLOCK-BORDER-color);
  border-radius: var(--block-radius);
  border-style: solid;
  border-width: 1px;
  /* the cells bring their own background, which must not cover our corners */
  overflow: clip;
}
/* remove default style for usual markdown tables */
div.highlight > div:not(.actionbar) table {
  background-color: transparent;
  border-radius: 0;
  border-width: 0;
  margin: 0;
}
div.highlight > div:not(.actionbar) table::after {
  content: none;
}
table {
  color: var(--INTERNAL-MAIN-TEXT-color);
  position: relative;
}
tr:has(th) {
  background-color: var(--INTERNAL-MAIN-BG-color);
  position: sticky;
  top: -1px;
  z-index: 110;
}
div.highlight > div:not(.actionbar) td {
  border-width: 0;
}
#R-body div.highlight > div:not(.actionbar) a {
  line-height: inherit;
}
#R-body div.highlight > div:not(.actionbar) a:after {
  display: none;
}
/* disable selection for lineno cells */
div.highlight > div:not(.actionbar) td:first-child:not(:last-child),
div.highlight > span[id] {
  -webkit-user-select: none;
  user-select: none;
}
/* increase code column to full width if highlight shortcode was used in table lineno mode  */
div.highlight > div:not(.actionbar) td:not(:first-child):last-child {
  width: 100%;
}
/* add scrollbars if highlight shortcode was used in table lineno mode */
div.highlight > div:not(.actionbar) table {
  display: block;
  overflow: auto;
}
pre:not(.mermaid),
div.highlight > div:not(.actionbar) table {
  --VARIABLE-SCROLLBAR-THUMB-color: var(--INTERNAL-CODE-BLOCK-SCROLLBAR-THUMB-color);
  --VARIABLE-SCROLLBAR-THUMB-HOVER-color: var(--INTERNAL-CODE-BLOCK-SCROLLBAR-THUMB-HOVER-color);
  --VARIABLE-SCROLLBAR-TRACK-color: var(--INTERNAL-CODE-BLOCK-SCROLLBAR-TRACK-color);
  --VARIABLE-SCROLLBAR-TRACK-HOVER-color: var(--INTERNAL-CODE-BLOCK-SCROLLBAR-TRACK-HOVER-color);
}
div.highlight:not(.wrap-code) pre:not(.mermaid) code {
  white-space: pre;
}
div.highlight.wrap-code pre:not(.mermaid) code {
  white-space: pre-wrap;
}
/* remove border from row cells if highlight shortcode was used in table lineno mode */
div.highlight > div:not(.actionbar) td > pre:not(.mermaid) {
  border-radius: 0;
  border-width: 0;
}
/* in case of table lineno mode we want to move each row closer together - besides the edges
this usually applies only to wrapfix tables but it doesn't hurt for non-wrapfix tables too */
div.highlight > div:not(.actionbar) tr:not(:first-child) pre:not(.mermaid) {
  padding-top: 0;
}
div.highlight > div:not(.actionbar) tr:not(:last-child) pre:not(.mermaid) {
  padding-bottom: 0;
}
/* in case of table lineno mode we want to move each columns closer together on the inside */
div.highlight > div:not(.actionbar) td:first-child:not(:last-child) pre:not(.mermaid) {
  padding-right: 0;
}
div.highlight > div:not(.actionbar) td:not(:first-child):last-child pre:not(.mermaid) {
  padding-left: 0;
}

hr {
  border-bottom: 4px solid color-mix(in srgb, var(--INTERNAL-BOX-NEUTRAL-color) 30%, transparent);
  border-left: none;
  border-right: none;
  border-top: none;
  margin: 1.5rem 0;
}
#R-body hr {
  /* a radius too large is cut down to half the height, whatever that is, so the ends are round
     https://www.w3.org/TR/css-backgrounds-3/#corner-overlap */
  border-radius: 9999px;
}

#R-main pre:not(.mermaid) {
  white-space: pre-wrap;
}

table {
  background-color: var(--INTERNAL-MAIN-BG-color);
  /* Firefox paints the sticky header row over collapsed borders; so each cell
     draws the borders at its end and bottom, the corners are cut off and the
     frame is drawn on top, covering those along the edges of the table; the
     corners are cut by overflow, as a clip path cuts off the frame at an edge
     between two device pixels */
  border-collapse: separate;
  border-radius: var(--block-radius);
  border-spacing: 0;
  margin-bottom: 1rem;
  margin-top: 1rem;
  overflow: clip;
  width: 100%;
}
table::after {
  border: 1px solid var(--INTERNAL-BOX-NEUTRAL-color);
  border-radius: var(--block-radius);
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
  /* above the sticky header row */
  z-index: 111;
}

th {
  text-align: start;
}

th,
thead td {
  background-color: color-mix(in srgb, var(--INTERNAL-BOX-NEUTRAL-color) 30%, transparent);
  border-bottom: 1px solid var(--INTERNAL-BOX-NEUTRAL-color);
  border-inline-end: 1px solid var(--INTERNAL-BOX-NEUTRAL-color);
  padding: 0.5rem;
  print-color-adjust: exact;
}

td {
  border-bottom: 1px solid var(--INTERNAL-BOX-NEUTRAL-color);
  border-inline-end: 1px solid var(--INTERNAL-BOX-NEUTRAL-color);
  padding: 0.5rem;
}

/* the alignment of a Markdown table column, which render-table.html gives as a class */
:is(th, td).align-left {
  text-align: left;
}
:is(th, td).align-center {
  text-align: center;
}
:is(th, td).align-right {
  text-align: right;
}

tbody > tr:nth-child(even) > td {
  background-color: color-mix(in srgb, var(--INTERNAL-BOX-NEUTRAL-color) 15%, transparent);
}

/* the actionbar sticks together with the header row, so the wrapper takes the
   margins of the table to let both start at the same height; the wrapper must
   never scroll on its own, or the header row sticks to it instead of the page */
.sortable-table {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  margin-top: 1rem;
  /* as wide as a table too wide for the page, so the actionbar stays at its end */
  min-width: 100%;
  width: fit-content;
}
.sortable-table > table {
  margin-bottom: 0;
  margin-top: 0;
}
.sortable-table > .actionbar {
  /* it takes no space, its buttons hang down over the end of the header row */
  align-items: flex-start;
  height: 0;
  inset-inline-end: auto;
  justify-content: flex-end;
  /* it follows the table for the keyboard, but a sticky element only moves down from where it is */
  order: -1;
  padding-inline-end: 4px;
  position: sticky;
  /* stuck at the same height as the header row; the distance to the top is the
     one of any other actionbar, moved by transform as a sticky offset only
     applies once stuck */
  top: -1px;
  transform: translateY(4px);
  /* above the frame of the table */
  z-index: 112;
}
/* rows joined by merged cells are sorted as one, so they are striped as one */
.sortable-table > table > tbody > tr > td {
  background-color: transparent;
}
.sortable-table > table > tbody:nth-of-type(even) > tr > td {
  background-color: color-mix(in srgb, var(--INTERNAL-BOX-NEUTRAL-color) 15%, transparent);
}
/* the whole header cell is the button */
.sortable-table th:has(> button) {
  padding: 0;
  /* the sort icons stay at the height of the reset button, also if another
     header of the row spans more lines */
  vertical-align: top;
}
/* a header that is no button looks like one that is, its first line at the
   height of the caption beside a sort icon; the size of that icon is the one of
   an action button, its font of 0.9em times its padding and icon of 1.95em plus
   its border */
.sortable-table th:not(:has(> button)) {
  padding: calc(4px + (0.9em * 1.95 + 2px - 1lh) / 2) 0.5rem 4px;
  vertical-align: top;
}
.sortable-table th > button {
  /* the sort icon follows the caption, but stays in its first line once the
     caption breaks into more, which is centered on it */
  align-items: flex-start;
  background-color: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: flex;
  font: inherit;
  /* the square of the sort icon keeps the distance of a button in an actionbar
     to the edges, the same as the reset button */
  padding: 4px 0.5rem;
  text-align: inherit;
  width: 100%;
}
/* room for the reset button at the end of the header row, so it never covers a
   sort icon: its distance to the edge, its width as an action button like above
   and the gap of the actionbar */
.sortable-table thead > tr:first-child > :last-child:not(:has(> button)),
.sortable-table thead > tr:first-child > :last-child > button {
  padding-inline-end: calc(4px + 0.9em * 1.95 + 2px + 4px);
}
.sortable-table .sort-indicator > .btn {
  vertical-align: middle;
}
/* the alignment of the column moves caption and icon together; it is physical
   like the class, the lines of the caption follow it by inheritance */
.sortable-table th.align-left > button {
  justify-content: left;
}
.sortable-table th.align-center > button {
  justify-content: center;
}
.sortable-table th.align-right > button {
  justify-content: right;
}
.sortable-table th > button:focus:not(:focus-visible) {
  outline: none;
}
.sortable-table th > button:focus-visible {
  /* inside of the cell, or the clipped corners of the table cut it off */
  outline-offset: -2px;
}
.sortable-table .sort-caption {
  padding-top: calc((0.9em * 1.95 + 2px - 1lh) / 2);
}
.sortable-table .sort-indicator {
  flex: none;
  margin-inline-start: 0.25rem;
}
/* the icon looks like an action button and is highlighted like one, but for
   the whole cell, which is the button */
.sortable-table th > button:is(:hover, :active, :focus) .sort-indicator > .btn > * {
  background-color: var(--VARIABLE-BOX-BG-color);
  color: var(--VARIABLE-BOX-TEXT-color);
}
/* the number of a sort key is shown in the half of the square its arrow leaves free */
.sortable-table .sort-indicator > .btn > * {
  position: relative;
}
.sortable-table .sort-rank {
  font-size: 0.7em;
  font-variation-settings: var(--INTERNAL-MAIN-BOLD-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-BOLD-font-weight);
  letter-spacing: var(--INTERNAL-MAIN-BOLD-letter-spacing);
  inset-inline: 0;
  line-height: 1;
  position: absolute;
  text-align: center;
}
/* the arrow is centered in the square, so the number is placed from its middle,
   not from the edges, which move with the padding of the button; above the
   arrow, the box of the number may reach into its half, as the part of the box
   below the baseline stays empty */
.sortable-table .fa-sort-up + .sort-rank {
  top: 50%;
}
.sortable-table .fa-sort-down + .sort-rank {
  bottom: calc(50% - 0.1em);
}
.sort-reset-button.btn {
  display: none;
}
.sort-reset-button.btn.sorted {
  display: inline-block;
}
/* a sorted table shows that it can be reset, also when not hovered */
.sortable-table > .actionbar:has(.sort-reset-button.sorted) {
  opacity: 1;
}

/* Toast Notification System */
#toast-container {
  align-items: center;
  background: none;
  border: 0;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  left: 50%;
  margin: 0;
  overflow: visible;
  padding: 0;
  pointer-events: none;
  position: fixed;
  right: auto;
  top: auto;
  transform: translateX(-50%);
}

.toast {
  animation: toast-slide-in 0.3s ease-out;
  background-color: var(--INTERNAL-PRIMARY-color);
  border-radius: var(--block-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: var(--MAIN-BG-color);
  font-size: 0.875rem;
  font-variation-settings: var(--INTERNAL-MAIN-MEDIUM-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-MEDIUM-font-weight);
  letter-spacing: var(--INTERNAL-MAIN-MEDIUM-letter-spacing);
  max-width: 90vw;
  padding: 0.75rem 1.25rem;
  pointer-events: auto;
  text-align: center;
  width: max-content;
}

.toast.toast-hiding {
  animation: toast-fade-out 0.3s ease-in forwards;
}

@keyframes toast-slide-in {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

#R-topbar {
  min-height: 3rem;
  position: relative;
  z-index: 170;
}

#R-topbar > .topbar-wrapper {
  align-items: center;
  background: var(--INTERNAL-TOPBAR-BG-color);
  color: var(--INTERNAL-TOPBAR-TEXT-color);
  display: flex;
  flex-basis: 100%;
  flex-direction: row;
  height: 100%;
  --VARIABLE-LINK-color: var(--INTERNAL-TOPBAR-LINK-color);
  --VARIABLE-LINK-HOVER-color: var(--INTERNAL-TOPBAR-LINK-HOVER-color);
}

.topbar-button {
  display: inline-block;
  /* a title may shrink to nothing for its animation, so the button must not
     give in to its neighbours instead */
  flex-shrink: 0;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  position: relative;
}
/* until theme.js has set up the topbar, a button waits out of sight only if the
   script has something to decide about it: whether it moves at the current
   width, or whether its area, holding no button that stays at this width, is
   left empty */
:where(.menu-s-width) .topbar-button:not([data-origin], [data-width-s='show']),
:where(.menu-m-width) .topbar-button:not([data-origin], [data-width-m='show']),
:where(.menu-l-width) .topbar-button:not([data-origin], [data-width-l='show']),
:where(.menu-s-width) .topbar-button:not([data-origin])[data-content-empty='hide']:has(> .topbar-content > .topbar-content-wrapper > .topbar-area):not(:has(> .topbar-content > .topbar-content-wrapper > .topbar-area > .topbar-button[data-width-s='show'])),
:where(.menu-m-width) .topbar-button:not([data-origin])[data-content-empty='hide']:has(> .topbar-content > .topbar-content-wrapper > .topbar-area):not(:has(> .topbar-content > .topbar-content-wrapper > .topbar-area > .topbar-button[data-width-m='show'])),
:where(.menu-l-width) .topbar-button:not([data-origin])[data-content-empty='hide']:has(> .topbar-content > .topbar-content-wrapper > .topbar-area):not(:has(> .topbar-content > .topbar-content-wrapper > .topbar-area > .topbar-button[data-width-l='show'])) {
  display: none;
}

.topbar-wrapper > .topbar-area-start > .topbar-button {
  border-inline-end: 1px solid var(--INTERNAL-TOPBAR-SEPARATOR-color);
}
.topbar-wrapper > .topbar-area-end > .topbar-button {
  border-inline-start: 1px solid var(--INTERNAL-TOPBAR-SEPARATOR-color);
}

/* in an overlay, all buttons are as wide as the widest of them; the area
   takes the width the buttons need with their titles as shown at the current
   width, as a title's column could otherwise shrink to nothing */
.topbar-content-wrapper > .topbar-area {
  display: flex;
  flex-direction: column;
  width: max-content;
}
.topbar-content-wrapper > .topbar-area > .topbar-button {
  padding: 0.5rem 0;
  margin: -0.25rem;
}
.topbar-content-wrapper > .topbar-area > .topbar-button > .btn {
  display: flex;
}
.topbar-content-wrapper > .topbar-area > .topbar-button > .btn > * {
  flex-grow: 1;
  text-align: start;
}

.topbar-button > .btn {
  font-size: 1rem;
}
.topbar-button > .btn.cstyle {
  --VARIABLE-LINK-color: var(--INTERNAL-TOPBAR-BUTTON-color);
  --VARIABLE-LINK-HOVER-color: var(--INTERNAL-TOPBAR-BUTTON-HOVER-color);
}

.topbar-button > .btn > button:disabled :is(i, .title),
.topbar-button > .btn > span :is(i, .title) {
  color: oklch(from var(--INTERNAL-BOX-GREY-color) calc(l * 0.94) c h / 0.333);
}

/* the title sits in a column of its own, so hiding it can shrink that column
   to nothing over time; the columns are packed at the start, so the title
   stays next to the icon and the shrinking column only covers its text; the
   grid drops the space in front of the title, so the title brings its own */
.topbar-button > .btn > * {
  align-items: baseline;
  display: grid;
  grid-template-columns: auto 1fr;
  justify-content: start;
  transition:
    grid-template-columns 0.35s ease,
    padding 0.35s ease;
}
.topbar-button > .btn > * > .title {
  /* even without an icon, the title keeps to its own column */
  grid-column: 2;
  min-width: 0;
  overflow-x: clip;
  transition: padding 0.35s ease;
}
.topbar-button > .btn > * > i + .title::before {
  content: ' ';
  /* an underline of the title does not reach into an inline-block */
  display: inline-block;
  white-space: pre;
}

/* a hidden title still names the button for assistive technology, while the
   button is spaced like one without title; the width classes are the ones
   theme.js moves the buttons by, so both change together */
:where(.menu-s-width) .topbar-button[data-title-width-s='hide'] > .btn > *,
:where(.menu-m-width) .topbar-button[data-title-width-m='hide'] > .btn > *,
:where(.menu-l-width) .topbar-button[data-title-width-l='hide'] > .btn > * {
  grid-template-columns: auto 0fr;
  padding: 0.4em;
}
:where(.menu-s-width) .topbar-button[data-title-width-s='hide'] > .btn > * > .title,
:where(.menu-m-width) .topbar-button[data-title-width-m='hide'] > .btn > * > .title,
:where(.menu-l-width) .topbar-button[data-title-width-l='hide'] > .btn > * > .title {
  padding-inline-start: 0;
}

.topbar-sidebar-divider {
  border-inline-start-color: var(--INTERNAL-MENU-TOPBAR-SEPARATOR-color);
  border-inline-start-style: solid;
  border-inline-start-width: 1px;
  height: 2rem;
  margin-inline-end: calc(var(--bpx1) * -1px);
  inset-inline-start: calc(var(--bpx1) * -1px);
  position: relative;
  width: 1px;
}
@media screen {
  :where(.menu-s-width) .topbar-sidebar-divider {
    border-inline-start-color: transparent;
  }
}
.topbar-sidebar-divider::after {
  content: '\00a0';
}

.topbar-wrapper > .topbar-area {
  display: flex;
  flex-direction: row;
  flex-shrink: 0;
}
.topbar-wrapper > .topbar-area-end {
  /* at the end, even if nothing in the middle area takes the remaining space */
  margin-inline-start: auto;
}
/* the elements of the middle area are laid out as if they were written
   directly into the topbar, so the breadcrumbs take the remaining space */
.topbar-wrapper > .topbar-area-middle {
  display: contents;
}
.topbar-wrapper > .topbar-hidden {
  display: none;
}

html[dir='rtl'] .topbar-button-prev i,
html[dir='rtl'] .topbar-button-next i {
  transform: scaleX(-1);
}

.topbar-content {
  top: 1rem;
}
.topbar-wrapper > .topbar-area:not(.topbar-area-end) .topbar-content {
  inset-inline-start: 1.5rem;
}
.topbar-wrapper > .topbar-area-end .topbar-content {
  inset-inline-end: 1.5rem;
}
.topbar-content .topbar-content {
  /* we don't allow flyouts in flyouts; come on, don't get funny... */
  display: none;
}
.topbar-content .default-animation {
  /* visibility is inherited; animating it here as well would leave the
     contents out of reach at the moment the flyout opens */
  transition:
    all 0.35s ease,
    visibility 0s;
}

.topbar-breadcrumbs {
  padding: 0 calc(0.9em - 2px);
}
@media screen {
  :where(.menu-s-width) .topbar-breadcrumbs {
    text-align: center;
  }
  :where(.menu-s-width) .topbar-breadcrumbs li:has(> a) {
    /* same as .a11y-only */
    /* idea taken from https://www.filamentgroup.com/lab/a11y-form-labels.html */
    clip-path: polygon(0 0, 1px 0, 1px 1px, 0 1px);
    overflow: hidden;
    position: absolute;
    height: 1px;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    -webkit-user-select: none;
    user-select: none;
    white-space: nowrap;
    width: 1px;
  }
}
.breadcrumbs {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  white-space: nowrap;
}

.breadcrumbs > ol {
  display: inline;
  margin: 0;
  padding: 0;
}

.breadcrumbs li {
  display: inline-block;
}

#R-body a[aria-disabled='true'] {
  color: var(--INTERNAL-MAIN-TEXT-color);
  pointer-events: none;
  text-decoration: none;
}

@media screen {
  :where(.menu-s-width, .menu-m-width) #R-sidebar {
    min-width: var(--INTERNAL-MENU-M-width);
    max-width: var(--INTERNAL-MENU-M-width);
    width: var(--INTERNAL-MENU-M-width);
  }
  :where(.menu-s-width, .menu-m-width) #R-body {
    margin-inline-start: var(--INTERNAL-MENU-M-width);
    min-width: calc(100% - var(--INTERNAL-MENU-M-width));
    max-width: calc(100% - var(--INTERNAL-MENU-M-width));
    width: calc(100% - var(--INTERNAL-MENU-M-width));
  }
  /* we don't support sidebar flyout in mobile */
  :where(.menu-s-width) .mobile-support #R-sidebar {
    inset-inline-start: calc(-1 * var(--INTERNAL-MENU-S-width));
    min-width: var(--INTERNAL-MENU-S-width);
    max-width: var(--INTERNAL-MENU-S-width);
    /* out of reach for the keyboard and screen readers as long as it is out of
       sight; so only once it has left and as soon as it enters */
    transition:
      all 0.35s ease,
      visibility 0s 0.35s;
    visibility: hidden;
    width: var(--INTERNAL-MENU-S-width);
  }
  :where(.menu-s-width) .mobile-support #R-sidebar .default-animation {
    /* visibility is inherited; animating it here as well would leave the
       contents out of reach at the moment the sidebar enters */
    transition:
      all 0.35s ease,
      visibility 0s;
  }
  :where(.menu-s-width) .mobile-support #R-body {
    margin-inline-start: 0;
    min-width: 100%;
    max-width: 100%;
    width: 100%;
  }
  :where(.menu-s-width) .mobile-support.sidebar-flyout {
    overflow: hidden;
  }
  :where(.menu-s-width) .mobile-support.sidebar-flyout #R-sidebar {
    inset-inline-start: 0;
    transition:
      all 0.35s ease,
      visibility 0s;
    visibility: visible;
    z-index: 90;
  }
  :where(.menu-s-width) .mobile-support.sidebar-flyout #R-body {
    margin-inline-start: var(--INTERNAL-MENU-S-width);
    overflow: hidden;
  }
  :where(.menu-s-width) .mobile-support.sidebar-flyout #R-body-overlay {
    background-color: oklch(from var(--INTERNAL-BOX-GREY-color) calc(l * 0.94) c h / 0.5);
    bottom: 0;
    cursor: pointer;
    height: 100vh;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 190;
  }
}

span.copy-to-clipboard {
  position: relative;
}

code.copy-to-clipboard-code:has(+ .inline-copy-to-clipboard-button):after {
  display: inline-block;
  width: calc(1.375em - var(--bpx1) * 0.125em);
  content: '';
}

.inline-copy-to-clipboard-button.btn.cstyle {
  /* the font of the code gives the button the very line of the code, so both boxes share their top and bottom edges */
  font: initial;
  font-family: var(--INTERNAL-CODE-font);
  font-size: 0.934375em;
  font-variation-settings: var(--INTERNAL-CODE-font-variation-settings);
  font-weight: var(--INTERNAL-CODE-font-weight);
  letter-spacing: var(--INTERNAL-CODE-letter-spacing);
  margin-inline-start: calc(-1 * (1.375em - var(--bpx1) * 0.125em));
  position: relative;
  z-index: 10;
}

.inline-copy-to-clipboard-button.btn.cstyle > * {
  border-start-start-radius: 0;
  border-start-end-radius: 3px;
  border-end-start-radius: 0;
  border-end-end-radius: 3px;
  border-color: var(--INTERNAL-CODE-INLINE-BORDER-color);
  padding: 0;
}

.inline-copy-to-clipboard-button.btn.cstyle > * > i {
  font-size: 0.859625em;
  /* the icon is smaller than the code, so it sits on the baseline of the code instead of filling the line of the button */
  height: auto;
  /* the icon must not stretch the line of the button */
  line-height: 1;
  vertical-align: baseline;
  width: 1.375em;
}

.actionbar {
  display: flex;
  gap: 4px;
  inset-inline-end: 4px;
  /* out of sight but not hidden, to keep it a stop for the tab key */
  opacity: 0;
  position: absolute;
  top: 4px;
}

.disableHoverBlockCopyToClipBoard .actionbar {
  opacity: 1;
}

.actionbar-wrapper:is(:hover, :focus-within) .actionbar,
.actionbar:has(:hover, :active, :focus) {
  opacity: 1;
}

@media (any-hover: none) {
  /* if at least one input device does not support hover, force actionbar to be visible */
  .actionbar {
    opacity: 1;
  }
}

option {
  color: initial;
}

.expand {
  position: relative;
}

/* a summary is a list item, whose marker would stand next to our own icon */
.expand > .box-label {
  cursor: pointer;
  display: block;
}
/* without its content, the label reaches the bottom of the box as well */
.expand:not([open]) > .box-label {
  border-radius: calc(var(--block-radius) - 1px);
}
.expand > .box-label:is(:hover, :active, :focus) {
  text-decoration: underline;
}

.expand > .box-label > .expander-icon {
  font-size: 0.8rem;
  /* as wide as it is high, so the chevron has the room to turn in it */
  /* the icon itself stays in place and holds what turns in it, so the focus
     outline of the label has nothing to follow */
  overflow: clip;
  width: 0.8rem;
}
.expand > .box-label > i.expander-icon::before {
  display: inline-block;
  transition: transform 0.175s ease;
}
.expand[open] > .box-label > i.expander-icon::before {
  transform: rotate(90deg);
}
/* the mirroring stays in the open state as well, so the chevron turns instead
   of flipping over; pointing down, it looks the same mirrored or not */
html[dir='rtl'] .expand > .box-label > i.expander-icon::before {
  transform: scaleX(-1) rotate(0deg);
}
html[dir='rtl'] .expand[open] > .box-label > i.expander-icon::before {
  transform: scaleX(-1) rotate(90deg);
}

/* the content is the only row of what the box discloses and rolls out from
   below the label as that row grows; it hangs on the lower edge of the row, so
   it moves along with what it pushes down */
@supports selector(::details-content) {
  .expand::details-content {
    /* while it grows, the row is shorter than the room there is for it; what
       is left must not end up below the content */
    align-content: end;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 0fr;
    /* cut off at the height of the row but not to the sides */
    overflow-y: clip;
    /* the content stays to be seen until it is rolled in */
    transition:
      content-visibility 0.175s allow-discrete,
      grid-template-rows 0.175s ease;
  }
  .expand[open]::details-content {
    grid-template-rows: 1fr;
  }
  .expand > .box-content {
    align-self: end;
    min-height: 0;
    transition: padding 0.175s ease;
  }
  /* the row can only collapse completely if nothing of the content is left */
  #R-body .expand:not([open]) > .box-content {
    padding-bottom: 0;
    padding-top: 0;
  }
}

/* the header may be left without content, so it only takes room if it has
   some; the partial's surrounding whitespace keeps :empty from matching */
#R-body header.headline:has(*) {
  margin-top: 1rem;
}

#R-body footer.footline {
  margin-top: 2rem;
}

.headline i,
.footline i {
  margin-inline-start: 0.5rem;
}
.headline i:first-child,
.footline i:first-child {
  margin-inline-start: 0;
}

.mermaid-container {
  margin-bottom: 1.7rem;
  margin-top: 1.7rem;
}

.mermaid {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: var(--block-radius);
  padding: 0.25rem 0.25rem 0 0.25rem;
  position: relative;
  /* don't use display: none, as this will cause no renderinge by Mermaid */
  visibility: hidden;
  width: 100%;
}
/* a graph not drawn yet still holds its source, whose long lines must not widen the page */
.mermaid:not([data-processed]) {
  overflow: hidden;
}
.mermaid-container.zoomable > .mermaid:hover {
  border-color: var(--INTERNAL-BOX-NEUTRAL-color);
}
.mermaid.mermaid-render {
  visibility: visible;
}

.mermaid > svg {
  /* remove inline height from generated diagram */
  height: initial !important;
}
.mermaid-container.zoomable > .mermaid > svg {
  cursor: grab;
}
/* the graph shows its focus on the box that holds it */
.mermaid-container.zoomable > .mermaid > svg:focus {
  outline: none;
}
.mermaid-container.zoomable > .mermaid:has(> svg:focus-visible) {
  outline: auto;
}

.svg-reset-button.btn {
  display: none;
}

.svg-reset-button.btn.zoomed {
  display: inline-block;
}

/* the graph itself is enlarged instead of a copy of it, so it keeps its pan and zoom */
.mermaid.lightbox {
  border-width: 0;
  inset: 2.5%;
  padding: 0;
  position: fixed;
  width: auto;
  z-index: 1999;
}
.mermaid.lightbox::before {
  background: rgba(0, 0, 0, 0.8);
  content: '';
  inset: 0;
  position: fixed;
  z-index: -1;
}
.mermaid.lightbox > svg {
  background-color: var(--INTERNAL-MAIN-BG-color);
  box-sizing: border-box;
  height: 100% !important;
  /* the graph limits itself to its natural size */
  max-height: none !important;
  max-width: none !important;
  padding: min(2vh, 2vw);
  width: 100%;
}
.mermaid.lightbox > .actionbar {
  opacity: 1;
}

.mermaid-code {
  display: none;
}

/* Table of contents */

.topbar-flyout #R-main-overlay {
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 3rem;
  z-index: 160;
}

.topbar-content {
  background: var(--INTERNAL-TOPBAR-OVERLAY-BG-color);
  border: 0 solid var(--overlay-border-color);
  border-radius: var(--block-radius);
  box-shadow: var(--overlay-box-shadow);
  height: 0;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  visibility: hidden;
  width: 0;
  z-index: 180;
}

.topbar-button.topbar-flyout .topbar-content {
  border-width: 1px;
  height: auto;
  opacity: 1;
  visibility: visible;
  width: auto;
}

.topbar-content-wrapper {
  max-height: 90vh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.5rem 1rem;
  --VARIABLE-SCROLLBAR-THUMB-color: var(--INTERNAL-TOPBAR-SCROLLBAR-THUMB-color);
  --VARIABLE-SCROLLBAR-THUMB-HOVER-color: var(--INTERNAL-TOPBAR-SCROLLBAR-THUMB-HOVER-color);
  --VARIABLE-SCROLLBAR-TRACK-color: var(--INTERNAL-TOPBAR-SCROLLBAR-TRACK-color);
  --VARIABLE-SCROLLBAR-TRACK-HOVER-color: var(--INTERNAL-TOPBAR-SCROLLBAR-TRACK-HOVER-color);
}

#TableOfContents,
.TableOfContents {
  font-size: 0.8125rem;
}
#TableOfContents ul,
.TableOfContents ul {
  list-style: none;
  margin: 0;
  padding: 0 1rem;
}

#TableOfContents > ul,
.TableOfContents > ul {
  padding: 0;
}

#TableOfContents li,
.TableOfContents li {
  white-space: nowrap;
}

#TableOfContents > ul > li > a,
.TableOfContents > ul > li > a {
  font-variation-settings: var(--INTERNAL-MAIN-MEDIUM-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-MEDIUM-font-weight);
  letter-spacing: var(--INTERNAL-MAIN-MEDIUM-letter-spacing);
}

/* tree shortcode */

.list-tree ul {
  list-style-type: none;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.list-tree > ul {
  padding-inline-start: 1rem;
}

.list-tree li {
  color: var(--INTERNAL-MAIN-TEXT-color);
  margin-inline-start: 0.5rem;
  padding-inline-end: 0.75rem;
  padding-inline-start: 1rem;
  position: relative;
}
.list-tree > ul > li {
  margin-inline-start: calc(-0.5rem);
}

.list-tree li::before,
.list-tree li::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
}

/* horizontal line on inner list items */

.list-tree li::before {
  border-top: 2px solid var(--INTERNAL-MAIN-TEXT-color);
  top: 0.75rem;
  width: 0.75rem;
}

/* vertical line on list items */

.list-tree li:after {
  border-left: 2px solid var(--INTERNAL-MAIN-TEXT-color);
  height: 100%;
  top: -0.5rem;
}

.list-tree ul:last-child li:last-child:after {
  height: 1.25rem;
}

.list-tree i {
  color: var(--INTERNAL-PRIMARY-color);
  margin-inline-end: 0.25rem;
}

/* the stylesheet of Font Awesome arrives after the first paint, so until then
   an icon is an empty inline without any size; we reserve its box up front
   with the very values of that stylesheet, so nothing moves once it is there;
   `:where()` keeps this without specificity, so every other rule wins over it */

:where(.fa, .fa-brands, .fa-classic, .fa-regular, .fa-solid, .fab, .far, .fas) {
  display: var(--fa-display, inline-block);
  line-height: 1;
  width: var(--fa-width, 1.25em);
}
/* the box only gains its height from a line, which needs content to exist */
:where(.fa, .fa-brands, .fa-classic, .fa-regular, .fa-solid, .fab, .far, .fas)::before {
  content: '\200b';
}
:where(.fa-1x) {
  font-size: 1em;
}
:where(.fa-2x) {
  font-size: 2em;
}
:where(.fa-3x) {
  font-size: 3em;
}
:where(.fa-4x) {
  font-size: 4em;
}
:where(.fa-5x) {
  font-size: 5em;
}
:where(.fa-6x) {
  font-size: 6em;
}
:where(.fa-7x) {
  font-size: 7em;
}
:where(.fa-8x) {
  font-size: 8em;
}
:where(.fa-9x) {
  font-size: 9em;
}
:where(.fa-10x) {
  font-size: 10em;
}
:where(.fa-2xs) {
  font-size: 0.625em;
  line-height: 0.1em;
  vertical-align: 0.225em;
}
:where(.fa-xs) {
  font-size: 0.75em;
  line-height: 0.08333em;
  vertical-align: 0.125em;
}
:where(.fa-sm) {
  font-size: 0.875em;
  line-height: 0.07143em;
  vertical-align: 0.05357em;
}
:where(.fa-lg) {
  font-size: 1.25em;
  line-height: 0.05em;
  vertical-align: -0.075em;
}
:where(.fa-xl) {
  font-size: 1.5em;
  line-height: 0.04167em;
  vertical-align: -0.125em;
}
:where(.fa-2xl) {
  font-size: 2em;
  line-height: 0.03125em;
  vertical-align: -0.1875em;
}
:where(.fa-width-auto) {
  --fa-width: auto;
}

/* icons with style attribute */

i.cstyle {
  color: var(--VARIABLE-BOX-color);
}

.btn {
  background-color: var(--VARIABLE-BOX-color);
  border-radius: 4px;
  display: inline-block;
  font-size: 0.9em;
  font-variation-settings: var(--INTERNAL-MAIN-MEDIUM-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-MEDIUM-font-weight);
  letter-spacing: var(--INTERNAL-MAIN-MEDIUM-letter-spacing);
  line-height: 1.1;
  margin-bottom: 0;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

.btn.cstyle {
  --VARIABLE-LINK-color: var(--INTERNAL-MAIN-BUTTON-color);
  --VARIABLE-LINK-HOVER-color: var(--INTERNAL-MAIN-BUTTON-HOVER-color);
}

.btn.interactive {
  cursor: pointer;
}

.btn > span,
.btn > a {
  display: block;
}

.btn > :where(button) {
  appearance: none;
}

.btn > * {
  background-color: transparent;
  border-color: var(--VARIABLE-BOX-color);
  border-radius: 4px;
  border-style: solid;
  border-width: 1px;
  color: var(--VARIABLE-BOX-CAPTION-color);
  padding: 0.4em 0.5em;
  text-align: center;
  touch-action: manipulation;
  white-space: nowrap;
}

.btn > *:has(> i.fa-fw.fa-lg) {
  padding: 0.2em;
}

.btn > * > i.fa-fw {
  /* fa-fw makes rectangles instead of squares, so we adjust back to the height of the button's line, hopefully no icon exceeds that area; the icon fills that line instead of sitting on the text's baseline, and centers its glyph as a box without leading, as browsers round leading to the pixel, always off to the top */
  align-items: center;
  align-self: center;
  display: inline-flex;
  height: 1.1em;
  justify-content: center;
  line-height: normal;
  vertical-align: top;
  width: 1.1em;
}

.btn > * > i.fa-fw.fa-lg {
  /* fa-lg makes rectangles instead of squares, so we adjust back, hopefully no icon exceeds that area */
  height: 1.375em;
  width: 1.375em;
}

.btn > * > i + .title {
  padding-inline-start: 0.2em;
}
.btn > * > .title:has(+ i) {
  padding-inline-end: 0.2em;
}

.btn.noborder > * {
  border-color: transparent !important;
}
.btn.notitle > * {
  padding: 0.4em;
}

.btn.notitle.noicon > *:after {
  /* avoid breakage if no content is given */
  content: '\200b';
  display: block;
  min-height: 1.1em;
  min-width: 1.1em;
}

#R-body #R-main .btn > *.highlight:after {
  background-color: transparent;
}

.btn.interactive > :is(:hover, :active, :focus) {
  background-color: var(--VARIABLE-BOX-BG-color);
  color: var(--VARIABLE-BOX-TEXT-color);
  text-decoration: none;
}

.btn.cstyle.transparent {
  --VARIABLE-BOX-BG-color: color-mix(in srgb, var(--INTERNAL-BOX-NEUTRAL-color) 50%, transparent);
}

.btn.cstyle.transparent > * {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-NEUTRAL-color);
  --VARIABLE-BOX-TEXT-color: var(--VARIABLE-BOX-CAPTION-color);
}

.btn.cstyle.link > button[disabled],
.btn.cstyle.link:not(.interactive) > * {
  --VARIABLE-BOX-color: transparent;
  --VARIABLE-BOX-BG-color: transparent;
}

/* anchors */
.anchor {
  font-size: 0.5em;
  margin-inline-start: 0.3em;
  margin-top: 0.55em;
  /* out of sight but not hidden, to keep it a stop for the tab key */
  opacity: 0;
  position: absolute;
}
@media (any-hover: none) {
  /* if there is at least one input device that does not support hover, we want to force the copy button */
  .anchor {
    opacity: 1;
  }
}
.anchor:focus-within,
:is(h2, h3, h4, h5, h6):hover .anchor {
  opacity: 1;
}

/* Redfines headers style */

/* a heading right below a heading of a higher level */
#R-body h1 + :is(h2, h3, h4, h5, h6),
#R-body h2 + :is(h3, h4, h5, h6),
#R-body h3 + :is(h4, h5, h6),
#R-body h4 + :is(h5, h6),
#R-body h5 + h6 {
  margin-top: 1rem;
}

.menu-control .control-style {
  cursor: pointer;
  display: flow-root;
  height: 1.574em;
  overflow-x: visible;
  overflow-y: clip;
}

.menu-control i {
  padding-top: 0.25em;
}

/* the control reaches below the icon, so a click on the icon has to fall
   through to it */
.menu-control i,
.menu-control span {
  float: left;
  pointer-events: none;
}
html[dir='rtl'] .menu-control i,
html[dir='rtl'] .menu-control span {
  float: right;
}

.menu-control select,
.menu-control button {
  appearance: none;
  cursor: pointer;
  display: block;
  height: 1.33rem;
  /* shifting the box by what it is padded with keeps the text in place; the
     list of a select opens as wide as that box, so it reaches out to both
     sides to be as far from one edge of the menu as from the other */
  margin-inline: -2em -0.5em;
  outline: none;
  padding-inline: 2em 0.5em;
  width: calc(100% + 2.5em);
}
/* the control is cut off by its wrapper and so would be its focus outline;
   the row shows it instead, same as the entries of the menu do */
.menu-control:has(:is(button, select):focus-visible) {
  outline: auto;
}

.menu-control select {
  /* the background of the select is only painted underneath its text, where
     the text covers it; see below for why it has one at all */
  background-clip: text;
  background-color: transparent;
  background-image: none;
  border: none;
  /* a select whose list we style ourselves lays out its content in a way of
     its own; these are the values of the one the browser draws, so both look
     the same */
  min-block-size: 0;
  overflow: clip;
  padding-block: 0;
  white-space: pre;
  /* the opened list pops up over the page like the search suggestions do, so
     it takes their colors, which are the ones of the content */
  --VARIABLE-SCROLLBAR-THUMB-color: var(--INTERNAL-MAIN-SCROLLBAR-THUMB-color);
  --VARIABLE-SCROLLBAR-THUMB-HOVER-color: var(--INTERNAL-MAIN-SCROLLBAR-THUMB-HOVER-color);
  --VARIABLE-SCROLLBAR-TRACK-color: var(--INTERNAL-MAIN-SCROLLBAR-TRACK-color);
  --VARIABLE-SCROLLBAR-TRACK-HOVER-color: var(--INTERNAL-MAIN-SCROLLBAR-TRACK-HOVER-color);
}

/* a browser that draws the list on its own frames the entries in the
   background of the select, and falls back to its own one if that is
   transparent; it reads it once the select is open, so that is when we hand it
   the one of the list. while closed, the background underneath the text would
   lighten the edges of the letters and make them look bolder than the ones of
   the menu next to it */
.menu-control select:open {
  background-color: var(--INTERNAL-MAIN-BG-color);
}

/* where the browser lets us, we style the opened list ourselves; it is then
   part of the page and takes all of our scrollbar styling. a browser that
   draws the list on its own does not know how to name it and drops every rule
   naming it, so it keeps showing its own list */
.menu-control select,
.menu-control select::picker(select) {
  appearance: base-select;
}

.menu-control select::picker-icon {
  /* the select the browser draws has no arrow either */
  display: none;
}

.menu-control select::picker(select) {
  background-color: var(--INTERNAL-MAIN-BG-color);
  border: 1px solid var(--overlay-border-color);
  border-radius: var(--block-radius);
  box-shadow: var(--overlay-box-shadow);
  color: var(--INTERNAL-MAIN-TEXT-color);
  padding: 0.25rem 0.5rem;
  /* the menu names colors for its own scrollbar, which we inherit and which
     would make the pseudo elements of ours be ignored */
  scrollbar-color: auto;
}

/* the browsers disagree on the background of the opened list, so each entry
   brings its own */
.menu-control optgroup,
.menu-control option {
  background-color: var(--INTERNAL-MAIN-BG-color);
  padding: 0;
}

.menu-control optgroup {
  color: var(--INTERNAL-MAIN-TEXT-color);
}

/* the entries are the links of the list, like the search suggestions; the
   chosen one is where we already are, so it is no link */
.menu-control option {
  /* the highlighted entry is a small element inside the list, like inline code
     or a badge is inside the text, so it takes their corners */
  border-radius: 3px;
  color: var(--INTERNAL-MAIN-LINK-color);
  /* the entries of a group would inherit the font settings of its bold title */
  font-variation-settings: var(--INTERNAL-MAIN-MEDIUM-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-MEDIUM-font-weight);
  letter-spacing: var(--INTERNAL-MAIN-MEDIUM-letter-spacing);
}

/* opening the list focuses the chosen entry, so it is marked from the start */
.menu-control option:focus {
  color: var(--INTERNAL-MAIN-LINK-HOVER-color);
  background-color: color-mix(in srgb, var(--INTERNAL-BOX-NEUTRAL-color) 32%, transparent);
}

.menu-control option:hover {
  color: var(--INTERNAL-MAIN-LINK-HOVER-color);
  background-color: color-mix(in srgb, var(--INTERNAL-BOX-NEUTRAL-color) 48%, transparent);
  text-decoration: underline;
}

.menu-control option:checked {
  color: var(--INTERNAL-MAIN-TEXT-color);
  font-variation-settings: var(--INTERNAL-MAIN-BOLD-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-BOLD-font-weight);
  letter-spacing: var(--INTERNAL-MAIN-BOLD-letter-spacing);
  text-decoration: none;
}

.menu-control option::checkmark {
  /* the tick of a task list, without its box */
  box-shadow: inset 1em 1em var(--INTERNAL-MAIN-TEXT-color);
  clip-path: var(--tick-clip-path);
  content: '';
  height: 0.65em;
  /* the browser keeps a gap of 0.5em between the tick and the text; the tick
     moves into the middle of its slot while the text stays in place */
  margin-inline: 0.25em -0.25em;
  width: 0.65em;
  /* Windows High Contrast Mode fallback must be last */
  background-color: CanvasText;
}

.menu-control button {
  background-color: transparent;
  border: none;
  overflow: hidden;
  text-align: start;
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
}

.clear {
  clear: both;
}

/* Chrome and Safari give a search input a look of their own unless it is a plain text field */
input[type='search'] {
  appearance: textfield;
}

/* clears the 'X' from Chrome's search input */
input[type='search']::-webkit-search-decoration,
input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-results-button,
input[type='search']::-webkit-search-results-decoration {
  display: none;
}

span.math:has(math[display='block'], .katex-display) {
  display: block;
}

/* a formula without an alignment of its own inherits the one of an enclosing formula */
.math.align-left {
  --VARIABLE-MATH-align: left;
  --VARIABLE-MATH-MARGIN-left: 0;
  --VARIABLE-MATH-MARGIN-right: auto;
}

.math.align-center {
  --VARIABLE-MATH-align: center;
  --VARIABLE-MATH-MARGIN-left: auto;
  --VARIABLE-MATH-MARGIN-right: auto;
}

.math.align-right {
  --VARIABLE-MATH-align: right;
  --VARIABLE-MATH-MARGIN-left: auto;
  --VARIABLE-MATH-MARGIN-right: 0;
}

/* MathML output */
.math > .katex > math[display='block'] {
  margin-left: var(--VARIABLE-MATH-MARGIN-left, auto);
  margin-right: var(--VARIABLE-MATH-MARGIN-right, auto);
  width: fit-content;
}

/* HTML output */
.math > .katex-display > .katex {
  text-align: var(--VARIABLE-MATH-align, center);
}

.copy-to-clipboard-fake {
  /* the element needs to be selectable and focusable to copy from it, so it
  can only be moved out of the viewport horizontally; its vertical position
  is set to the current scroll offset by JS to not scroll on focus */
  border: 0;
  /* prevent zooming on iOS */
  font-size: 12pt;
  inset-inline-start: -9999px;
  padding: 0;
  position: absolute;
}

/* the hidden heading can not show a focus, so its anchor button must not take one */
.include.hide-first-heading > :is(h1, h2, h3, h4, h5, h6):not(:is(h1, h2, h3, h4, h5, h6) ~ *) .anchor {
  display: none;
}

.include.hide-first-heading > :is(h1, h2, h3, h4, h5, h6):not(:is(h1, h2, h3, h4, h5, h6) ~ *),
.a11y-only {
  /* idea taken from https://www.filamentgroup.com/lab/a11y-form-labels.html */
  clip-path: polygon(0 0, 1px 0, 1px 1px, 0 1px);
  overflow: hidden;
  position: absolute;
  height: 1px;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
  width: 1px;
}

/* filament style for making action visible on focus - not adapted yet
.a11y-only:focus {
    position: fixed;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
    margin: 0 0 0 -100px;
    top: -.3em;
    left: 50%;
    text-align: center;
    width: 200px;
    background: rgba(255, 255, 255, 1);
    color: rgba(54, 133, 18, 1);
    padding: .8em 0 .7em;
    font-size: 16px;
    z-index: 5000;
    text-decoration: none;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    outline: 0;
    transform: translateY(0%);
}
*/

.mermaid-container.align-right {
  text-align: right;
}

.mermaid-container.align-center {
  text-align: center;
}

.mermaid-container.align-left {
  text-align: left;
}

.searchform {
  display: flex;
}

.searchform input {
  flex: 1 0 60%;
  border-radius: 4px;
  border: 2px solid color-mix(in srgb, var(--INTERNAL-BOX-NEUTRAL-color) 30%, transparent);
  background: color-mix(in srgb, var(--INTERNAL-BOX-NEUTRAL-color) 30%, transparent);
  margin-inline-end: 0.5rem;
  /* an input does not shrink below its natural width otherwise, so it would
     reach out of a narrow form */
  min-width: 0;
  padding: 0.425rem;
}

.searchform input:focus-visible {
  outline: auto;
}

.searchform input::placeholder {
  color: oklch(from var(--INTERNAL-BOX-GREY-color) calc(l * 0.94) c h);
  opacity: 0.666;
}

.searchform .btn {
  display: inline-flex;
}

.searchhint {
  margin-top: 1rem;
  height: 1.5rem;
}

#R-sidebar .autocomplete-suggestions {
  background-color: var(--INTERNAL-MAIN-BG-color);
  border: 0 solid color-mix(in srgb, var(--INTERNAL-BOX-NEUTRAL-color) 40%, transparent);
  /* it hangs from the search box, so only its lower corners are free */
  border-radius: 0 0 var(--block-radius) var(--block-radius);
  box-shadow: 1px 2px 5px 1px oklch(from var(--INTERNAL-BOX-GREY-color) calc(l * 0.94) c h / 0.333);
}

#R-sidebar .autocomplete-suggestion {
  /* restore autocomplete default value for sidebar, because it is affected
  by coarse element styling */
  display: block;
}

#R-sidebar .autocomplete-suggestions > .autocomplete-suggestion > .breadcrumbs {
  /* don't show breadcrumbs in sidebar search */
  display: none;
}

#R-searchresults .autocomplete-suggestion {
  /* a result stands in the content like a box, so its highlight takes the
     corners of one; the suggestions of the search box fill their overlay
     edge to edge and stay square */
  border-radius: var(--block-radius);
  display: block;
  font-size: 1.3rem;
  font-variation-settings: var(--INTERNAL-MAIN-MEDIUM-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-MEDIUM-font-weight);
  letter-spacing: var(--INTERNAL-MAIN-MEDIUM-letter-spacing);
  line-height: 1.5rem;
  padding: 1rem;
  text-decoration: none;
}
#R-searchresults .autocomplete-suggestion:after {
  height: 0;
}

#R-searchresults .autocomplete-suggestion > .breadcrumbs {
  font-size: 0.9rem;
  font-variation-settings: var(--INTERNAL-MAIN-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-font-weight);
  letter-spacing: var(--INTERNAL-MAIN-letter-spacing);
  margin-top: 0.167em;
  padding-left: 0.2em;
  padding-right: 0.2em;
}

#R-searchresults .autocomplete-suggestion > .context {
  font-size: 1rem;
  font-variation-settings: var(--INTERNAL-MAIN-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-font-weight);
  letter-spacing: var(--INTERNAL-MAIN-letter-spacing);
  margin-top: 0.66em;
  padding-left: 0.1em;
  padding-right: 0.1em;
}

#R-html .autocomplete-suggestion {
  color: var(--VARIABLE-LINK-color);
}
#R-html .autocomplete-suggestion.selected,
#R-html .autocomplete-suggestion:focus {
  color: var(--VARIABLE-LINK-HOVER-color);
  background-color: color-mix(in srgb, var(--INTERNAL-BOX-NEUTRAL-color) 32%, transparent);
}
#R-html .autocomplete-suggestion:hover {
  color: var(--VARIABLE-LINK-HOVER-color);
  background-color: color-mix(in srgb, var(--INTERNAL-BOX-NEUTRAL-color) 48%, transparent);
}
#R-html .autocomplete-suggestion .link,
#R-html .autocomplete-suggestion .title > span {
  color: inherit;
}
#R-html .autocomplete-suggestion:is(.selected, :focus, :hover) .link {
  color: inherit;
  text-decoration: underline;
}
#R-html .autocomplete-suggestion > .breadcrumbs {
  background-color: transparent;
  color: var(--INTERNAL-PRIMARY-color);
}
#R-html .autocomplete-suggestion > .context {
  background-color: transparent;
  color: var(--INTERNAL-MAIN-TEXT-color);
}

.badge {
  border-radius: 3px;
  display: inline-block;
  font-size: 0.8rem;
  font-variation-settings: var(--INTERNAL-MAIN-MEDIUM-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-MEDIUM-font-weight);
  letter-spacing: var(--INTERNAL-MAIN-MEDIUM-letter-spacing);
  vertical-align: middle;
}

.badge > * {
  border-color: var(--VARIABLE-BOX-TEXT-color);
  border-radius: 3px;
  border-style: solid;
  border-width: 1px;
  display: inline-block;
  padding: 0 0.25rem;
}

.badge > .badge-title {
  /* a dark grey on either background, darker than the page on a dark one; like
     every fill taken from the color of the neutral boxes and its text from the one
     of the grey boxes, so both carry the tint of the variant; on a light page the
     text takes the color of the page, as no grey is white */
  background-color: light-dark(oklch(from var(--INTERNAL-BOX-NEUTRAL-color) 0.37 c h), oklch(from var(--INTERNAL-BOX-NEUTRAL-color) 0.14 c h));
  border-inline-end: 0;
  border-start-end-radius: 0;
  border-end-end-radius: 0;
  color: light-dark(var(--INTERNAL-MAIN-BG-color), oklch(from var(--INTERNAL-BOX-GREY-color) 0.84 c h));
}

.badge i {
  /* an icon sits on the baseline, which leaves it above the middle of the badge; an offset moves it without changing the height of the line */
  position: relative;
  top: 0.056em;
}

.badge.badge-with-title > .badge-content {
  border-start-start-radius: 0;
  border-end-start-radius: 0;
}

.badge > .badge-content {
  background-color: var(--VARIABLE-BOX-color);
  color: var(--VARIABLE-BOX-CAPTION-color);
}
.badge-content:after {
  /* avoid breakage if no content is given */
  content: '\200b';
}

/* task list and its checkboxes */
/*  move start of list to left to adjust for missing list-style */
article :not(li) > ul > li:has(> input[type='checkbox']),
article :not(li) > ul > li:has(> :is(label, span) > input[type='checkbox']) {
  margin-inline-start: -1.5rem;
}

article ul > li:has(> input[type='checkbox']),
article ul > li:has(> :is(label, span) > input[type='checkbox']) {
  list-style: none;
}

article ul > li:has(> input[type='checkbox'])::before,
article ul > li:has(> :is(label, span) > input[type='checkbox'])::before {
  content: '\200B'; /* accessibilty for Safari https://developer.mozilla.org/en-US/docs/Web/CSS/list-style */
}

/* https://moderncss.dev/pure-css-custom-checkbox-style/ */
article ul > li > input[type='checkbox'],
article ul > li > :is(label, span) > input[type='checkbox'] {
  appearance: none;
  background-color: var(--INTERNAL-MAIN-BG-color); /* box background */
  /* For iOS < 15 */
  border: 0.15em solid currentColor;
  border-radius: 0.15em;
  color: var(--INTERNAL-MAIN-TEXT-color);
  display: inline-grid;
  font: inherit;
  height: 1.15em;
  place-content: center;
  transform: translateY(-0.075em);
  width: 1.15em;
}

article ul > li > input[type='checkbox']::before,
article ul > li > :is(label, span) > input[type='checkbox']::before {
  box-shadow: inset 1em 1em var(--INTERNAL-PRIMARY-color);
  clip-path: var(--tick-clip-path);
  content: '';
  height: 0.65em;
  transform: scale(0);
  transform-origin: bottom left;
  transition: 120ms transform ease-in-out;
  width: 0.65em;
  /* Windows High Contrast Mode fallback must be last */
  background-color: CanvasText;
}

article ul > li > input[type='checkbox']:checked::before,
article ul > li > :is(label, span) > input[type='checkbox']:checked::before {
  transform: scale(1);
}

/* CSS Lightbox https://codepen.io/gschier/pen/kyRXVx */
.lightbox-back {
  background: rgba(0, 0, 0, 0.8);
  bottom: 0;
  display: none;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1999;
}

.lightbox-back:target {
  display: block;
}

.lightbox-back:focus {
  /* it covers the whole viewport, where an outline tells nothing */
  outline: none;
}

.lightbox-close {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  width: 100%;
}

.lightbox-back svg,
.lightbox-back img {
  background-color: var(--INTERNAL-MAIN-BG-color);
  max-height: 95%;
  max-width: 95%;
  overflow: auto;
  padding: min(2vh, 2vw);
}

/* basic menu list styles (non-collapsible) */

#R-sidebar .collapsible-menu label,
#R-sidebar .menu-control,
#R-sidebar :is(a, span) {
  color: var(--INTERNAL-MENU-SECTIONS-LINK-color);
}

#R-sidebar .collapsible-menu li:not(.active) > label:hover,
#R-sidebar .menu-control:hover,
#R-sidebar a:hover {
  color: var(--INTERNAL-MENU-SECTIONS-LINK-HOVER-color);
}

#R-sidebar li.active > label,
#R-sidebar li.active > a {
  color: var(--INTERNAL-MENU-SECTION-ACTIVE-CATEGORY-color);
}

#R-sidebar li.active > a {
  background-color: var(--INTERNAL-MENU-SECTION-ACTIVE-CATEGORY-BG-color);
  /* only on the side of the menu; the other one merges into the content */
  border-end-start-radius: 4px;
  border-start-start-radius: 4px;
}

#R-sidebar ul > li > :is(a, span) {
  display: block;
  position: relative;
}

#R-sidebar ul.space li > * {
  padding-bottom: 0.125rem;
  padding-top: 0.125rem;
}
#R-sidebar ul.space > li > ul {
  padding-bottom: 0;
  padding-top: 0;
}

#R-sidebar ul.morespace li > * {
  padding-bottom: 0.25rem;
  padding-top: 0.25rem;
}
#R-sidebar ul.morespace li > ul {
  padding-bottom: 0;
  padding-top: 0;
}

#R-sidebar ul.enlarge > li.parent,
#R-sidebar ul.enlarge > li.active {
  background-color: var(--INTERNAL-MENU-SECTIONS-ACTIVE-BG-color);
}

#R-sidebar ul.enlarge > li > :is(a, span) {
  font-size: 1.1rem;
  line-height: 2rem;
}
#R-sidebar ul.enlarge > li > a > .read-icon {
  margin-top: 0.5rem;
}
#R-sidebar ul.enlarge > li > ul > li:last-child {
  padding-bottom: 1rem;
}

#R-sidebar ul ul {
  padding-inline-start: 1rem;
}

/* collapsible menu style overrides */

#R-sidebar ul.collapsible-menu > li {
  position: relative;
}

#R-sidebar ul.collapsible-menu > li > label > input {
  appearance: none;
  cursor: pointer;
  /* nothing to see but the focus outline: a square around the chevron, in the
     middle of the height of the entry */
  height: 1rem;
  inset-inline-start: 0;
  margin-inline-start: 0.25rem;
  margin-top: 0.25rem;
  position: absolute;
  top: 0;
  width: 1rem;
  z-index: 1;
}
#R-sidebar .R-sidebarmenu > ul.collapsible-menu > li > label > input {
  margin-inline-start: -0.075rem;
}
#R-sidebar ul.space.collapsible-menu li > label > input {
  margin-top: 0.375rem;
}
#R-sidebar ul.morespace.collapsible-menu li > label > input {
  margin-top: 0.5rem;
}
#R-sidebar ul.collapsible-menu.enlarge > li > label > input {
  margin-top: 0.75rem;
}

/* the label is the area to click, wide enough to be a target of its own and
   as high as the entry; it reaches into the indentation, which the outermost
   level has none of, and its padding keeps the chevron and the underline of
   the hover where they are */
#R-sidebar ul.collapsible-menu > li > label {
  cursor: pointer;
  inset-inline-start: 0;
  margin-inline-start: -0.325rem;
  padding-inline-end: 0.175rem;
  padding-inline-start: 0.45rem;
  position: absolute;
  width: 1.5rem;
  z-index: 2;
}
#R-sidebar .R-sidebarmenu > ul.collapsible-menu > li > label {
  margin-inline-start: 0;
  padding-inline-end: 0.5rem;
  padding-inline-start: 0.125rem;
}
#R-sidebar ul.collapsible-menu.enlarge > li > label {
  line-height: 2rem;
}

#R-sidebar ul.collapsible-menu > li > label:after {
  content: '';
  display: block;
  height: 1px;
  transition: width 0.5s ease;
  width: 0%;
}

#R-sidebar ul.collapsible-menu > li > label:hover:after {
  width: 100%;
}

#R-sidebar ul.collapsible-menu > li > label > .fas {
  font-size: 0.8rem;
  width: 0.6rem;
}

#R-sidebar ul.collapsible-menu > li > :is(a, span) {
  display: inline-block;
  width: 100%;
}

/* menu states for not(.collapsible-menu) */

#R-sidebar ul ul {
  display: none;
}

#R-sidebar ul > li:is(.parent, .active, .alwaysopen) > ul {
  display: block;
}

/* the submenu is the second row of its entry and rolls out from below the
   entry as that row grows; it hangs on the lower edge of the row, so it moves
   along with the entries it pushes down */

#R-sidebar ul.collapsible-menu > li:has(> label > input) {
  /* while it grows, the row of the submenu is shorter than the room the entry
     has for it; what is left must neither stretch the row of the entry itself
     nor end up below the submenu */
  align-content: space-between;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 0fr;
  transition: grid-template-rows 0.175s ease;
}

#R-sidebar ul.collapsible-menu > li > label:has(> input) ~ ul {
  align-self: end;
  display: block;
  min-height: 0;
}

#R-sidebar ul.collapsible-menu .default-animation {
  /* visibility is inherited; animating it here as well would leave the
     contents in reach after the submenu has closed */
  transition:
    all 0.35s ease,
    visibility 0s;
}

/* closed menu */

#R-sidebar ul.collapsible-menu > li > label:has(> input:not(:checked)) ~ ul {
  /* the submenu reaches out of the row at the top, so it is cut off from there
     by as much as the row is short of it; never to the sides, where the active
     entry leaves the submenu */
  clip-path: inset(100% -100vw -1rem);
  /* the row can only collapse completely if nothing of the submenu is left */
  margin-bottom: 0;
  margin-top: 0;
  padding-bottom: 0;
  padding-top: 0;
  /* out of reach for the keyboard and screen readers as long as it is out of
     sight; so only once it is rolled in and as soon as it rolls out */
  transition:
    clip-path 0.175s ease,
    margin 0.175s ease,
    padding 0.175s ease,
    visibility 0s 0.175s;
  visibility: hidden;
}
#R-sidebar #R-homelinks ul.collapsible-menu > li > label:has(> input:not(:checked)) ~ ul {
  margin-bottom: 0;
  margin-top: 0;
}

/* the closed chevron keeps a bit of distance to the border of the browser; in
   RTL it is the mirroring that takes it to the other side of its box */
#R-sidebar ul.collapsible-menu > li > label:has(> input) > .fa-chevron-right {
  display: inline-block;
  text-align: right;
  transition: transform 0.175s ease;
}

/* open menu  */

#R-sidebar ul.collapsible-menu > li:has(> label > input:checked) {
  grid-template-rows: auto 1fr;
}

#R-sidebar ul.collapsible-menu > li > label:has(> input:checked) ~ ul {
  /* there is room for the focus outline of the entries at its edges, just a
     bit at the top, as that much shows above the row while rolling out; its
     visibility stays inherited, as it may sit in a closed menu */
  clip-path: inset(-0.25rem -100vw -1rem);
  transition:
    clip-path 0.175s ease,
    margin 0.175s ease,
    padding 0.175s ease,
    visibility 0s;
}

/* the chevron is not in the middle of the box we rotate, so it is taken down
   by the rotation and we bring it back up */
#R-sidebar ul.collapsible-menu > li > label:has(> input:checked) > .fa-chevron-right {
  transform: translateY(-0.125em) rotate(90deg);
}

/* adjust menu for RTL reading direction; the mirroring stays in the open state
   as well, so the chevron turns instead of flipping over; pointing down, it
   looks the same mirrored or not */

html[dir='rtl'] #R-sidebar ul.collapsible-menu > li > label:has(> input) > i.fa-chevron-right {
  transform: scaleX(-1) translateY(0) rotate(0deg);
}
html[dir='rtl'] #R-sidebar ul.collapsible-menu > li > label:has(> input:checked) > i.fa-chevron-right {
  transform: scaleX(-1) translateY(-0.125em) rotate(90deg);
}

/* common logo */

/* only recolor parts of an inlined SVG that are black or don't define a color
   of their own; a part that inherits its color from an ancestor - like a
   `fill="none"` on the root element - has to keep it, otherwise the theme
   would paint areas the logo wants to leave blank */

body #R-logo svg,
body #R-logo svg :is([color='black'], [color='#000'], [color='#000000']) {
  color: var(--INTERNAL-LOGO-IMAGE-color);
}

body #R-logo:hover svg,
body #R-logo:hover svg :is([color='black'], [color='#000'], [color='#000000']) {
  color: var(--INTERNAL-LOGO-IMAGE-HOVER-color);
}

body #R-logo svg :not([fill]):not([fill] *),
body #R-logo svg:is([fill='black'], [fill='#000'], [fill='#000000']),
body #R-logo svg :is([fill='black'], [fill='#000'], [fill='#000000']) {
  fill: var(--INTERNAL-LOGO-IMAGE-color);
}

body #R-logo:hover svg :not([fill]):not([fill] *),
body #R-logo:hover svg:is([fill='black'], [fill='#000'], [fill='#000000']),
body #R-logo:hover svg :is([fill='black'], [fill='#000'], [fill='#000000']) {
  fill: var(--INTERNAL-LOGO-IMAGE-HOVER-color);
}

/* the initial value of `stroke` is `none` and not black, so unlike for `fill`
   there must be no blanket rule for parts without a `stroke` - that would draw
   an outline around every filled logo */

body #R-logo svg:is([stroke='black'], [stroke='#000'], [stroke='#000000']),
body #R-logo svg :is([stroke='black'], [stroke='#000'], [stroke='#000000']) {
  stroke: var(--INTERNAL-LOGO-IMAGE-color);
}

body #R-logo:hover svg:is([stroke='black'], [stroke='#000'], [stroke='#000000']),
body #R-logo:hover svg :is([stroke='black'], [stroke='#000'], [stroke='#000000']) {
  stroke: var(--INTERNAL-LOGO-IMAGE-HOVER-color);
}

/* the link color must not reach into an inlined SVG, otherwise it would win
   over the rules above and `--LOGO-IMAGE-color` could not color the parts
   drawn with `currentColor` */

body a#R-logo,
body a#R-logo *:not(svg, svg *) {
  color: var(--INTERNAL-LOGO-LINK-color);
}

body a#R-logo:hover,
body a#R-logo:hover *:not(svg, svg *) {
  color: var(--INTERNAL-LOGO-LINK-HOVER-color);
}

/* default logo */

#R-logo.R-default {
  align-items: center;
  column-gap: 0.4em;
  display: flex;
  flex-direction: row;
  font-family: var(--INTERNAL-LOGO-font);
  font-size: var(--INTERNAL-LOGO-font-size);
  font-variation-settings: var(--INTERNAL-LOGO-font-variation-settings);
  font-weight: var(--INTERNAL-LOGO-font-weight);
  justify-content: center;
  letter-spacing: var(--INTERNAL-LOGO-letter-spacing);
  /* must not be smaller than the glyph box of the used font, otherwise
  ascenders and descenders reach out of the line box and the title looks
  cramped for scripts with stacked diacritics (eg. Turkish İ, Ğ) */
  line-height: 1.25;
  /* clip an overlong title horizontally but never vertically, as glyphs may
  still exceed the line box for scripts we don't know about */
  overflow-x: clip;
  overflow-y: visible;
  margin-block: 0.5rem 0.625rem;
  row-gap: 0.1em;
  width: 100%;
}
#R-logo.R-default.layout-sidebar-column {
  flex-direction: column;
}
:where(.menu-s-width, .menu-m-width) #R-logo.R-default {
  font-size: calc(var(--INTERNAL-LOGO-font-size) * 0.8);
  margin-block: 0.9rem;
}

#R-logo.R-default .logo-image {
  display: none;
  flex-shrink: 0;
  height: auto;
  width: var(--INTERNAL-LOGO-IMAGE-width);
}

#R-logo.R-default .logo-image > * {
  /* don't let the image sit on the text baseline, as it would add the
  descender of the line box below the image */
  display: block;
  max-width: var(--INTERNAL-LOGO-IMAGE-width);
}

#R-logo.R-default .logo-title {
  font-size: 2em;
  flex-shrink: 1;
  min-width: 0;
  /* centered next to the image by its capitals, not by the room its font
     keeps above and below them, which a script font with its swashes makes
     lopsided; what is trimmed of that room is given back evenly, so the title
     keeps the full height of its lines, whatever their number */
  padding-block: calc((1lh - 1cap) / 2);
  text-box: trim-both cap alphabetic;
  text-align: start;
  text-wrap: auto;
  word-break: break-word;
}
#R-logo.R-default.layout-sidebar-column .logo-title {
  text-align: center;
}
#R-logo.R-default.manual-wrap .logo-title {
  white-space: pre;
}

/* a variant may come with a logo and a title font of its own, so switching it
   may move the logo and what follows it. the page fades from one variant to
   the other; what is named here is led from its old place and size to its new
   one instead of fading out there and in here */
#R-logo.R-default > .logo-image {
  view-transition-name: R-logo-image;
}
#R-logo.R-default > .logo-title {
  view-transition-name: R-logo-title;
}
/* a named element is a stacking context; the suggestions are a child of the
   search and would end up below the menu, so it is the box that is named */
#R-header-wrapper > search > :is(form, .searchbox) {
  view-transition-name: R-search;
}

@media screen {
  /* the copy of the logo the topbar of a page gets for the time it is printed
     is meant for paper only */
  :root:not([data-r-output-format='print']) #R-topbar > #R-logo {
    display: none;
  }
  /* the breadcrumbs of a page that doesn't show them are meant for paper only */
  .topbar-breadcrumbs-paper {
    display: none;
  }
}

/* columnize content */

.columnize {
  /* the requested count is the most we show, as a column is never narrower */
  column-width: 12rem;
}

.columnize > * {
  break-inside: avoid-column;
}

.columnize-1 {
  column-count: 1;
}

.columnize-2 {
  column-count: 2;
}

.columnize-3 {
  column-count: 3;
}

.columnize-4 {
  column-count: 4;
}

.columnize-5 {
  column-count: 5;
}

#R-body .tab-panel {
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}

#R-body .tab-nav {
  display: flex;
  flex-wrap: wrap;
}

/* the tabs are laid out as if they were written directly into the nav */
#R-body .tab-nav-list {
  display: contents;
}

#R-body .tab-nav-title {
  font-size: 0.9rem;
  font-variation-settings: var(--INTERNAL-MAIN-MEDIUM-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-MEDIUM-font-weight);
  letter-spacing: var(--INTERNAL-MAIN-MEDIUM-letter-spacing);
  line-height: 1.42857143;
  padding: 0.2rem 0;
  margin-inline-start: 0.6rem;
}

#R-body .tab-nav-button {
  appearance: none;
  background-color: transparent;
  border: 1px solid transparent;
  color: var(--VARIABLE-LINK-color);
  font-size: 0.9rem;
  font-variation-settings: var(--INTERNAL-MAIN-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-font-weight);
  letter-spacing: var(--INTERNAL-MAIN-letter-spacing);
  line-height: 1.42857143;
  margin-inline-start: 0.6rem;
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
}

#R-body .tab-nav-button.active {
  background-color: var(--VARIABLE-BOX-color);
  border-bottom-color: var(--VARIABLE-BOX-BG-color);
  border-radius: 4px 4px 0 0;
  color: var(--VARIABLE-BOX-TEXT-color);
  cursor: default;
}
#R-body .tab-nav-button:not(.active):is(:hover, :active, :focus) {
  color: var(--VARIABLE-LINK-HOVER-color);
}

#R-body .tab-nav-button > .tab-nav-text {
  border-bottom-color: var(--VARIABLE-BOX-color);
  border-bottom-style: solid;
  border-bottom-width: 0.15rem;
  display: block;
  padding: 0.2rem 0.6rem 0 0.6rem;
}
/* https://stackoverflow.com/a/46452396 */
#R-body .tab-nav-button.active > .tab-nav-text {
  background-color: var(--VARIABLE-BOX-BG-color);
  border-bottom-color: transparent;
  border-radius: 3px 3px 0 0;
  text-shadow:
    -0.06ex 0 0 currentColor,
    0.06ex 0 0 currentColor;
  -webkit-text-stroke-width: 0.07ex;
}
#R-body .tab-nav-button:not(.active):is(:hover, :active, :focus) > .tab-nav-text {
  border-bottom-color: var(--VARIABLE-LINK-HOVER-color);
}

/* a hidden content is only emptied, so its frame is drawn by its text, which
  goes along with it */
#R-body .tab-content {
  z-index: 10;
}

/* the shift sits on the container, as a tab panel nested first into a box would
  reset the margin of its first tab content */
#R-body .tab-content-container {
  /* if setting a border to 1px, a browser instead sets it to 1dppx which is not
    usable as a unit yet, so we have to calculate it ourself */
  margin-top: calc(var(--bpx1) * -1px);
}

/* the background is translucent and tints the color of the frame, which lies
  beneath it on the same element */
#R-body .tab-content-text {
  background-color: var(--VARIABLE-BOX-color);
  background-image: linear-gradient(var(--VARIABLE-BOX-BG-color), var(--VARIABLE-BOX-BG-color));
  border-color: var(--VARIABLE-BOX-color);
  border-radius: var(--block-radius);
  border-style: solid;
  border-width: 1px;
  color: var(--VARIABLE-BOX-TEXT-color);
  padding: 1rem;
}

/* remove margin if only a single code block is contained in the tab (FF without :has using .codify style) */
#R-body .tab-content.codify > .tab-content-text {
  padding: 0;
}
#R-body .tab-content-text:has(> div.highlight:only-child) {
  padding: 0;
}

/* remove border from code block if single in tab */
#R-body .tab-content-text > div.highlight:only-child > div,
#R-body .tab-content-text > div.highlight:only-child pre:not(.mermaid),
#R-body .tab-content-text > pre:not(.mermaid).pre-code:only-child {
  border-width: 0;
}
/* such a code block fills the tab, so it takes over the inner corners of its frame */
#R-body .tab-content-text > div.highlight:only-child,
#R-body .tab-content-text > div.highlight:only-child > div:not(.actionbar),
#R-body .tab-content-text > div.highlight:only-child > pre:not(.mermaid),
#R-body .tab-content-text > pre:not(.mermaid).pre-code:only-child {
  border-radius: calc(var(--block-radius) - 1px);
}

.tab-panel-style.cstyle.initial,
.tab-panel-style.cstyle.default {
  --VARIABLE-BOX-BG-color: var(--INTERNAL-MAIN-BG-color);
}

.tab-panel-style.cstyle.transparent {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-NEUTRAL-color);
  --VARIABLE-BOX-BG-color: transparent;
}

#R-body .tab-panel-style.cstyle:is(.initial, .default, .transparent).tab-nav-button.active {
  background-color: var(--VARIABLE-BOX-BG-color);
  border-left-color: var(--VARIABLE-BOX-color);
  border-right-color: var(--VARIABLE-BOX-color);
  border-top-color: var(--VARIABLE-BOX-color);
}

#R-body .tab-panel-style.cstyle:is(.initial, .default, .transparent).tab-content > .tab-content-text {
  background-color: var(--VARIABLE-BOX-BG-color);
}

#R-body .tab-panel-style.cstyle.code.tab-nav-button:not(.active) {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-NEUTRAL-color);
}

/* bordering the menu and topbar */

#R-topbar {
  border-bottom-color: var(--INTERNAL-MAIN-TOPBAR-BORDER-color);
  border-bottom-style: solid;
  border-bottom-width: 1px;
}

#R-header-wrapper {
  background-color: var(--INTERNAL-MENU-HEADER-BG-color);
  color: var(--INTERNAL-MENU-HEADER-color);
  text-align: center;
}

#R-header-wrapper :is(a, span) {
  color: var(--INTERNAL-MENU-HEADER-color);
}

:has(~ #R-content-wrapper),
#R-content-wrapper > *:not(#R-scrollbar) {
  border-inline-end-color: var(--INTERNAL-MENU-BORDER-color);
  border-inline-end-style: solid;
  border-inline-end-width: 1px;
}

#R-header-topbar {
  border-bottom-color: transparent;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-inline-end-color: var(--INTERNAL-MENU-TOPBAR-BORDER-color);
  border-inline-end-style: solid;
  border-inline-end-width: 1px;
  height: 3rem;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}
@media screen {
  :where(.menu-s-width) .mobile-support #R-header-topbar {
    border-inline-end-color: var(--INTERNAL-MENU-BORDER-color);
  }
}

#topics > ul {
  margin-top: 1rem;
}

#R-sidebar ul.collapsible-menu li.active > a {
  border-bottom-color: var(--INTERNAL-MENU-BORDER-color);
  border-top-color: var(--INTERNAL-MENU-BORDER-color);
  border-inline-start-color: var(--INTERNAL-MENU-BORDER-color);
  border-inline-end-color: var(--INTERNAL-MENU-SECTION-ACTIVE-CATEGORY-BORDER-color);
  border-style: solid;
  border-width: 1px;
  padding-left: calc(1rem - var(--bpx1) * 1px);
  padding-right: calc(1rem - var(--bpx1) * 1px);
  width: calc(100% + var(--bpx1) * 1px);
}
/* more room between the edge of the box and the expander; the box grows into
   the indentation, which the outermost level has none of */
#R-sidebar ul.collapsible-menu ul li.active > a {
  margin-inline-start: -0.3rem;
  padding-inline-start: calc(1.3rem - var(--bpx1) * 1px);
  width: calc(100% + 0.3rem + var(--bpx1) * 1px);
}
#R-sidebar ul.morespace.collapsible-menu li.active > a {
  padding-bottom: calc(0.25rem - var(--bpx1) * 1px);
  padding-top: calc(0.25rem - var(--bpx1) * 1px);
}
#R-sidebar ul.space.collapsible-menu li.active > a {
  padding-bottom: calc(0.125rem - var(--bpx1) * 1px);
  padding-top: calc(0.125rem - var(--bpx1) * 1px);
}

/* basic menu header styles */

#R-homelinks {
  background-color: var(--INTERNAL-MENU-HEADER-BORDER-color);
  color: var(--INTERNAL-MENU-HOME-LINK-color);
  overflow: hidden;
}

#R-sidebar #R-homelinks ul {
  margin: 0.75rem 0;
}
#R-sidebar #R-homelinks ul.space {
  margin: 0.625rem 0;
}
#R-sidebar #R-homelinks ul.morespace {
  margin: 0.5rem 0;
}

#R-homelinks .nav-title {
  color: var(--INTERNAL-MENU-HOME-LINK-color);
}

/* override for the menu header */

#R-homelinks .collapsible-menu label,
#R-homelinks .menu-control,
#R-homelinks :is(a, span) {
  color: var(--INTERNAL-MENU-HOME-LINK-color);
}

#R-homelinks ul.collapsible-menu li.active > a {
  border-bottom-color: transparent;
  border-top-color: transparent;
  border-inline-start-color: transparent;
  border-inline-end-color: transparent;
}

#R-homelinks :is(.collapsible-menu, :not(.collapsible-menu)) li:not(.active) > label:hover,
#R-homelinks .menu-control:hover,
#R-homelinks :is(.collapsible-menu, :not(.collapsible-menu)) a:hover {
  color: var(--INTERNAL-MENU-HOME-LINK-HOVER-color);
}

#R-homelinks li.active > label,
#R-homelinks li.active > a {
  color: var(--INTERNAL-MENU-HOME-LINK-color);
}

#R-homelinks li.active > a {
  background-color: transparent;
}

article .R-taxonomy ul,
article .R-taxonomy li {
  list-style: none;
  display: inline;
  padding: 0;
}
article .R-taxonomy i ~ ul > li:before {
  content: ' ';
}
article .R-taxonomy ul > li ~ li:before {
  content: ' | ';
}

#R-body:has(article:first-of-type.notfound) {
  margin-inline-start: 0;
  max-width: 100%;
  min-width: 100%;
  width: 100%;
}
article.notfound p {
  text-align: center;
}
article.notfound h1 {
  color: var(--MAIN-TEXT-color);
  line-height: 1;
  font-size: 5rem;
  overflow: hidden;
}
article.notfound h1 span {
  font-size: 6.5rem;
  font-variation-settings: var(--INTERNAL-MAIN-BOLD-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-BOLD-font-weight);
  letter-spacing: var(--INTERNAL-MAIN-BOLD-letter-spacing);
}
article.notfound h1 i {
  font-size: 5rem;
  vertical-align: text-top;
}
article.notfound h2 {
  color: var(--MAIN-TEXT-color);
  font-size: 2.5rem;
  font-variation-settings: var(--INTERNAL-MAIN-BOLD-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-BOLD-font-weight);
  letter-spacing: var(--INTERNAL-MAIN-BOLD-letter-spacing);
  padding: 0;
  text-align: center;
}
article.notfound #shrug svg,
article.notfound #shrug svg * {
  color: var(--MAIN-TEXT-color);
  fill: var(--MAIN-TEXT-color) !important;
}
article.notfound #shrug svg {
  transform: scaleX(-1);
  width: 15rem;
}

/* transparent boxes have different margins and - apperantly - different coloring */

.box.cstyle.transparent > .box-label {
  padding: 0;
}
.box.expand.cstyle.transparent > .box-label {
  color: var(--VARIABLE-LINK-color);
}
.box.expand.cstyle.transparent > .box-label:is(:hover, :active, :focus) {
  color: var(--VARIABLE-LINK-HOVER-color);
}

.box.cstyle.transparent > .box-content {
  margin-top: 0;
  padding-bottom: 0;
}

/* #1021 avoid mermaid tooltip layout shift */
.mermaidTooltip {
  position: absolute;
}

/* cards */

.card-container {
  --card-gap: 1.5rem;
  align-items: start;
  display: grid;
  gap: var(--card-gap);
  grid-template-columns: repeat(1, 1fr);
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

/* Prevent nested containers from breaking grid */
.card-container .card-container {
  display: block;
  grid-template-columns: none;
}

.card-container .card {
  background: var(--INTERNAL-BOX-BG-color);
  border: 1px solid var(--INTERNAL-BOX-NEUTRAL-color);
  border-radius: 12px;
  color: var(--INTERNAL-MAIN-TEXT-color);
  display: flex;
  flex-direction: column;
  height: fit-content;
  max-height: 600px;
  min-height: 300px;
  overflow: hidden;
  overflow-wrap: break-word;
  position: relative;
  /* the card is lifted by its position, as a transform would confine a
     lightbox opened from it to the card */
  top: 0;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    top 0.3s ease;
  word-break: break-word;
}

.card-container .card:focus-within:has(.card-title > a:focus, .card-title > button:focus) {
  outline: auto;
}

.card-container .card.card-popout:hover {
  background-color: color-mix(in srgb, var(--VARIABLE-LINK-color) 10%, var(--INTERNAL-BOX-BG-color));
  border-color: var(--VARIABLE-LINK-color);
  /* a grey shadow does not show on a dark background, one in the color of the
     text shows on any */
  box-shadow: 0 2px 8px color-mix(in srgb, var(--INTERNAL-MAIN-TEXT-color) 33%, transparent);
  top: -2px;
}

.card-container .card.card-popout:hover .card-title {
  color: var(--VARIABLE-LINK-HOVER-color);
}

.card-container .card-image {
  height: 300px;
  order: -1;
  overflow: hidden;
}

.card-container .card-content + .card-image {
  min-height: 160px;
  height: 160px;
}

.card-container .card-image button {
  display: block;
  height: 100%;
  width: 100%;
}

.card-container .card-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.card-container .card-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  margin: 1.25rem 1rem;
  min-height: 0;
  overflow: hidden;
}

.card-container .card-title {
  color: var(--INTERNAL-MAIN-TITLES-TEXT-color);
  flex: 0 0 auto;
  font-size: 1.2rem;
  font-variation-settings: var(--INTERNAL-MAIN-BOLD-font-variation-settings);
  font-weight: var(--INTERNAL-MAIN-BOLD-font-weight);
  letter-spacing: var(--INTERNAL-MAIN-BOLD-letter-spacing);
  line-height: 1.3;
  margin-top: 0;
}

.card-container .card-title a,
.card-container .card-title button {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* a card running code is a button, which is dressed like the link of any other card */
.card-container .card-title button,
.card-container .card-image button {
  appearance: none;
  background: none;
  border: 0;
  text-align: inherit;
}

.card-container .card-title a:before,
.card-container .card-title button:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* the link or button of a card covers all of it, so what can be used on its
   own is lifted above, where the mouse reaches it; only what is used is lifted
   and never what holds other content, as a lightbox opened from inside would
   be confined to it; whatever positions itself, like a graph enlarged into a
   lightbox, keeps its own position */
:where(.card-container .card-popout :is(.actionbar-wrapper, .card-content-text :is(a, audio, button, embed, iframe, input, label, select, summary, textarea, video))) {
  position: relative;
  z-index: 2;
}

.card-container .card-content-text {
  flex: 1 1 auto;
  font-size: 0.9rem;
  line-height: 1.5;
  overflow: hidden;
}

/* card-columnize column count */

@media screen {
  :where(.menu-s-width) .card-container.card-columnize {
    --card-gap: 1.25rem;
  }

  :where(.menu-s-width) .card-container .card-content {
    padding: 1rem;
  }

  :where(.menu-s-width) .card-container .card-content + .card-image {
    height: 140px;
  }
}

.card-columnize {
  /* the requested count is the most we show, as a column is never narrower
     than 12rem - unless we are narrower ourselves */
  grid-template-columns: repeat(auto-fill, minmax(min(100%, max(12rem, (100% - (var(--card-columns) - 1) * var(--card-gap)) / var(--card-columns))), 1fr));
}

.card-columnize-1 {
  --card-columns: 1;
}

.card-columnize-2 {
  --card-columns: 2;
}

.card-columnize-3 {
  --card-columns: 3;
}

.card-columnize-4 {
  --card-columns: 4;
}

.card-columnize-5 {
  --card-columns: 5;
}

/* color style definitions */

.cstyle {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-NEUTRAL-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-NEUTRAL-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-BG-color);
  print-color-adjust: exact;
}

.cstyle.link {
  --VARIABLE-BOX-color: transparent;
  --VARIABLE-BOX-TEXT-color: var(--VARIABLE-LINK-HOVER-color);
  --VARIABLE-BOX-CAPTION-color: var(--VARIABLE-LINK-color);
  --VARIABLE-BOX-BG-color: color-mix(in srgb, var(--INTERNAL-BOX-NEUTRAL-color) 50%, transparent);
}

.cstyle.action {
  --VARIABLE-BOX-color: color-mix(in srgb, var(--INTERNAL-BOX-NEUTRAL-color) 50%, transparent);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-MAIN-BG-color);
  --VARIABLE-BOX-CAPTION-color: var(--VARIABLE-LINK-color);
  --VARIABLE-BOX-BG-color: var(--VARIABLE-LINK-color);
}

.btn.cstyle.action {
  /* the resting square takes the color of the neutral boxes, but never lighter
     than a dark grey on a dark page nor darker than a light grey on a light one,
     as some variants accent their neutral boxes for contrast, which would leave
     the icon too little of it */
  --VARIABLE-BOX-color: light-dark(oklch(from var(--INTERNAL-BOX-NEUTRAL-color) max(l, 0.75) c h / 0.5), oklch(from var(--INTERNAL-BOX-NEUTRAL-color) min(l, 0.4) c h / 0.5));
}

div.highlight .btn.cstyle.action {
  /* a code block may be dark on a light page or the other way round, so its
     buttons take the lightness of their square from its own text color laid
     faintly over it, like its scrollbar; hue and chroma come from the neutral
     boxes laid over it as a hovered topbar button does, so the square carries
     the same tint */
  --VARIABLE-BOX-color: color-mix(in oklch, oklch(from color-mix(in srgb, var(--INTERNAL-CODE-BLOCK-color) 9%, var(--INTERNAL-CODE-BLOCK-BG-color)) l none none), oklch(from color-mix(in srgb, var(--INTERNAL-BOX-NEUTRAL-color) 50%, var(--INTERNAL-CODE-BLOCK-BG-color)) none c h));
}

.cstyle.accent {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-ACCENT-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-ACCENT-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-ACCENT-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-ACCENT-BG-color);
}

.cstyle.blue {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-BLUE-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-BLUE-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-BLUE-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-BLUE-BG-color);
}

.cstyle.breaking {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-BREAKING-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-BREAKING-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-BREAKING-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-BREAKING-BG-color);
}

.cstyle.caution {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-CAUTION-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-CAUTION-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-CAUTION-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-CAUTION-BG-color);
}

.cstyle.change {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-CHANGE-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-CHANGE-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-CHANGE-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-CHANGE-BG-color);
}

.cstyle.code {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-CODE-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-CODE-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-CODE-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-CODE-BG-color);
}

.cstyle.cyan {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-CYAN-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-CYAN-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-CYAN-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-CYAN-BG-color);
}

.cstyle.example {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-EXAMPLE-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-EXAMPLE-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-EXAMPLE-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-EXAMPLE-BG-color);
}

.cstyle.frontmatter {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-FRONTMATTER-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-FRONTMATTER-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-FRONTMATTER-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-FRONTMATTER-BG-color);
}

.cstyle.gfm {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-GFM-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-GFM-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-GFM-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-GFM-BG-color);
}

.cstyle.green {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-GREEN-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-GREEN-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-GREEN-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-GREEN-BG-color);
}

.cstyle.grey {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-GREY-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-GREY-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-GREY-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-GREY-BG-color);
}

.cstyle.html {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-HTML-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-HTML-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-HTML-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-HTML-BG-color);
}

.cstyle.hugo {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-HUGO-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-HUGO-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-HUGO-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-HUGO-BG-color);
}

.cstyle.hugomenu {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-HUGOMENU-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-HUGOMENU-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-HUGOMENU-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-HUGOMENU-BG-color);
}

.cstyle.important {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-IMPORTANT-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-IMPORTANT-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-IMPORTANT-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-IMPORTANT-BG-color);
}

.cstyle.info {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-INFO-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-INFO-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-INFO-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-INFO-BG-color);
}

.cstyle.inline {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-INLINE-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-INLINE-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-INLINE-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-INLINE-BG-color);
}

.cstyle.magenta {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-MAGENTA-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-MAGENTA-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-MAGENTA-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-MAGENTA-BG-color);
}

.cstyle.magic {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-MAGIC-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-MAGIC-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-MAGIC-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-MAGIC-BG-color);
}

.cstyle.mpe {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-MPE-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-MPE-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-MPE-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-MPE-BG-color);
}

.cstyle.neutral {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-NEUTRAL-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-NEUTRAL-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-NEUTRAL-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-NEUTRAL-BG-color);
}

.cstyle.new {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-NEW-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-NEW-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-NEW-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-NEW-BG-color);
}

.cstyle.note {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-NOTE-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-NOTE-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-NOTE-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-NOTE-BG-color);
}

.cstyle.obsidian {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-OBSIDIAN-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-OBSIDIAN-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-OBSIDIAN-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-OBSIDIAN-BG-color);
}

.cstyle.option {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-OPTION-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-OPTION-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-OPTION-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-OPTION-BG-color);
}

.cstyle.orange {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-ORANGE-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-ORANGE-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-ORANGE-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-ORANGE-BG-color);
}

.cstyle.pants {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-PANTS-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-PANTS-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-PANTS-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-PANTS-BG-color);
}

.cstyle.php {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-PHP-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-PHP-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-PHP-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-PHP-BG-color);
}

.cstyle.primary {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-PRIMARY-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-PRIMARY-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-PRIMARY-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-PRIMARY-BG-color);
}

.cstyle.purple {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-PURPLE-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-PURPLE-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-PURPLE-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-PURPLE-BG-color);
}

.cstyle.red {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-RED-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-RED-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-RED-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-RED-BG-color);
}

.cstyle.relearn {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-RELEARN-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-RELEARN-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-RELEARN-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-RELEARN-BG-color);
}

.cstyle.secondary {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-SECONDARY-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-SECONDARY-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-SECONDARY-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-SECONDARY-BG-color);
}

.cstyle.tip {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-TIP-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-TIP-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-TIP-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-TIP-BG-color);
}

.cstyle.transparent {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-TRANSPARENT-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-TRANSPARENT-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-TRANSPARENT-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-TRANSPARENT-BG-color);
}

.cstyle.warning {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-WARNING-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-WARNING-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-WARNING-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-WARNING-BG-color);
}

.cstyle.yellow {
  --VARIABLE-BOX-color: var(--INTERNAL-BOX-YELLOW-color);
  --VARIABLE-BOX-TEXT-color: var(--INTERNAL-BOX-YELLOW-TEXT-color);
  --VARIABLE-BOX-CAPTION-color: var(--INTERNAL-BOX-YELLOW-CAPTION-color);
  --VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-YELLOW-BG-color);
}

@font-face {
  font-family: 'Roboto Flex';
  font-style: normal;
  font-weight: 100 1000;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/robotoflex/RobotoFlex.cyrillic-ext.woff2') format('woff2-variations');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Roboto Flex';
  font-style: normal;
  font-weight: 100 1000;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/robotoflex/RobotoFlex.cyrillic.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Roboto Flex';
  font-style: normal;
  font-weight: 100 1000;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/robotoflex/RobotoFlex.greek.woff2') format('woff2-variations');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Roboto Flex';
  font-style: normal;
  font-weight: 100 1000;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/robotoflex/RobotoFlex.vietnamese.woff2') format('woff2-variations');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Roboto Flex';
  font-style: normal;
  font-weight: 100 1000;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/robotoflex/RobotoFlex.latin-ext.woff2') format('woff2-variations');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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 Flex';
  font-style: normal;
  font-weight: 100 1000;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/robotoflex/RobotoFlex.latin.woff2') format('woff2-variations');
  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 Flex Fallback';
  font-weight: 400;
  src: local('Helvetica'), local('Arial'), local('Nimbus Sans'), local('Liberation Sans'), local('Tahoma'), local('Geneva');
  size-adjust: 102.9%;
}
@font-face {
  font-family: 'Roboto Flex Fallback';
  font-weight: 700;
  src: local('Helvetica Bold'), local('Arial Bold'), local('Nimbus Sans Bold'), local('Liberation Sans Bold'), local('Tahoma Bold');
  size-adjust: 104.8%;
}
@font-face {
  font-family: 'Roboto Flex Fallback Roboto';
  font-weight: 400;
  src: local('Roboto');
  size-adjust: 103%;
}
@font-face {
  font-family: 'Roboto Flex Fallback Roboto';
  font-weight: 700;
  src: local('Roboto Bold');
  size-adjust: 110.8%;
}
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/greatvibes/GreatVibes.cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/greatvibes/GreatVibes.cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/greatvibes/GreatVibes.greek-ext.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/greatvibes/GreatVibes.vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/greatvibes/GreatVibes.latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/greatvibes/GreatVibes.latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
