/* Import Inter and JetBrains Mono */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* Equation numbering styling */
.MathJax .mjx-mtd {
  color: #999;
}

/* Listing page title */
.quarto-listing h2 {
  border-bottom: none;
}

/*
 * FORCE TOC ALWAYS VISIBLE
 *
 * Quarto's quarto.js has a manageSidebarVisiblity() function that
 * sets inline styles (opacity:0, overflow:hidden, pointer-events:none)
 * on children of #quarto-margin-sidebar when it decides the sidebar
 * should collapse into a floating toggle.
 *
 * CSS !important beats non-!important inline styles per the cascade,
 * so these rules are bulletproof against the JS.
 */

#quarto-margin-sidebar,
#quarto-margin-sidebar > * {
  opacity: 1 !important;
  overflow: visible !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

/* The toggle overlay Quarto creates as a replacement — kill it */
.quarto-sidebar-toggle,
#quarto-toc-toggle {
  display: none !important;
}

/* Sub-lists in TOC have class="collapse" — force them open */
#TOC ul.collapse {
  display: block !important;
  height: auto !important;
}
