        /* --- XMath Rendering Styles --- */
        .xmath-inline-block { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; text-align: center; }
        .xmath-root { position: relative; }
        .xmath-radical { font-size: 1.2em; margin-right: 0.05em; } /* For the unicode char */
        .xmath-radicand { border-top: 1.5px solid currentColor; padding: 0.1em 0.2em; font-size: 0.9em; }
        /* Redesigned SVG for a better looking square root */
        /* .xmath-radical-svg { width: 1.3em; height: 1.6em; margin-bottom: -0.35em; margin-right: 0.05em; stroke-width: 1.5; } */
        .xmath-fraction { flex-direction: column; margin: 0 0.2em; }
        .xmath-numerator, .xmath-denominator { font-size: 0.85em; padding: 0 0.1em; }
        .xmath-denominator { border-top: 1px solid currentColor; }
        .xmath-exponent { position: relative; margin-left: 0.1em; }
        .xmath-base { padding-right: 0.1em; }
        .xmath-superscript { font-size: 0.6em; position: absolute; top: -0.6em; left: 100%; white-space: nowrap; }
        .xmath-subscript { font-size: 0.6em; position: absolute; bottom: -0.5em; left: 100%; white-space: nowrap; }
        .xmath-integral, .xmath-summation, .xmath-product { margin: 0 0.2em; position: relative; }
        .xmath-large-op-symbol { font-size: 2em; line-height: 1; }
        .xmath-large-op-limits { display: flex; flex-direction: column; font-size: 0.6em; position: absolute; left: 50%; transform: translateX(-50%); width: 100%; align-items: center; }
        .xmath-large-op-limits .upper-limit { margin-bottom: 1.4em; }
        .xmath-large-op-limits .lower-limit { margin-top: 1.4em; }
        .xmath-integral-body, .xmath-summation-body, .xmath-product-body { padding: 0 0.2em; }
        .xmath-log-base { font-size: 0.6em; transform: translateY(0.5em); margin-right: 0.1em; }
        .xmath-limit { flex-direction: column; }
        .xmath-limit-sub { font-size: 0.7em; margin-top: -0.5em; }
        .xmath-matrix { border: 1px solid currentColor; border-radius: 4px; padding: 0.3em; margin: 0 0.2em; }
        .xmath-matrix-row { display: flex; }
        .xmath-matrix-cell { padding: 0.2em 0.4em; }
        .xmath-overline { border-top: 1px solid currentColor; padding-top: 0.1em; }
        .xmath-underline { border-bottom: 1px solid currentColor; padding-bottom: 0.1em; }
        .xmath-vector { flex-direction: column; align-items: center; }
        .xmath-vector-arrow { width: 100%; text-align: center; margin-bottom: -0.3em; }
        .xmath-inline-diagram { max-height: 4em; max-width: 10em; vertical-align: middle; }