/* Article delivery styles are scoped so theme CSS cannot break stored HTML fragments. */

/* ── Global SR-Only & Scholarly Fragment Helpers ── */
/* These are NOT scoped to .wasabi-article-markdown-wrapper because title/abstract
   fragments render outside that wrapper. The .sr-only class comes from Google Scholar
   HTML exports and must be hidden visually while remaining accessible. */
.sr-only,
.wma-title-fragment .math-semantic,
.wma-abstract-fragment .math-semantic {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Hide any residual text from stripped <style> tags with this class */
.scholarly-sr-only-def {
  display: none !important;
}

/* SVG math-defs sprites must stay invisible */
.wma-title-fragment .math-defs-sprite,
.wma-abstract-fragment .math-defs-sprite {
  display: none !important;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Math rendering inside title/abstract fragments */
.wma-title-fragment .math-visual,
.wma-abstract-fragment .math-visual {
  max-width: 100%;
}

.wma-title-fragment .math-inline,
.wma-abstract-fragment .math-inline,
.wma-title-fragment .math-inline .math-visual,
.wma-abstract-fragment .math-inline .math-visual,
.wma-title-fragment .math-inline mjx-container,
.wma-abstract-fragment .math-inline mjx-container {
  white-space: nowrap !important;
  display: inline-block !important;
}

.wma-title-fragment .math-semantic,
.wma-abstract-fragment .math-semantic,
.wma-title-fragment .math-semantic *,
.wma-abstract-fragment .math-semantic * {
  color: transparent !important;
}

.wma-title-fragment mjx-container,
.wma-abstract-fragment mjx-container {
  display: inline-block;
  max-width: 100%;
  line-height: 0;
  text-indent: 0;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  word-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  float: none;
  direction: ltr;
}

.wma-title-fragment mjx-container[jax="SVG"] > svg,
.wma-abstract-fragment mjx-container[jax="SVG"] > svg {
  overflow: visible;
  min-height: 1px;
  min-width: 1px;
  max-width: none;
  height: auto;
}

.wma-title-fragment mjx-container[jax="SVG"] path[data-c],
.wma-abstract-fragment mjx-container[jax="SVG"] path[data-c],
.wma-title-fragment mjx-container[jax="SVG"] use[data-c],
.wma-abstract-fragment mjx-container[jax="SVG"] use[data-c] {
  fill: currentColor !important;
  stroke: none !important;
  stroke-width: 0 !important;
}

/* Title fragment: always white text, Prata font (loaded by theme) */
.wma-title-fragment,
.wma-title-fragment .scholarly-title-fragment,
.wma-title-fragment .scholarly-title-fragment p,
.wma-title-fragment mjx-container[jax="SVG"] > svg {
  color: #FFFFFF !important;
  fill: #FFFFFF !important;
}

.wma-title-fragment,
.wma-title-fragment .scholarly-title-fragment,
.wma-title-fragment .scholarly-title-fragment p {
  font-family: 'Prata', serif !important;
}
/* ── End Global SR-Only & Scholarly Fragment Helpers ── */
.wasabi-article-markdown-wrapper {
  --wma-font-size: 16px;
  --wma-line-height: 1.75;
  --wma-heading-line-height: 1.22;
  --wma-space-xs: .45em;
  --wma-space-sm: .75em;
  --wma-space-md: 1.15em;
  --wma-space-lg: 1.65em;
  --wma-space-xl: 2.05em;
  --wma-heading-gap-h1: 2.25em;
  --wma-heading-gap-h2: 2em;
  --wma-heading-gap-h3: 1.65em;
  --wma-heading-gap-h4: 1.35em;

  max-width: 100%;
  margin: 0 auto;
  color: inherit;
  font-family: inherit;
  font-size: var(--wma-font-size);
  line-height: var(--wma-line-height);
}

.wasabi-article-markdown-wrapper .wma-article-body {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.wasabi-article-markdown-wrapper .wma-article-body > :first-child {
  margin-top: 0;
}

.wasabi-article-markdown-wrapper .wma-article-body > :last-child {
  margin-bottom: 0;
}

.wasabi-article-markdown-wrapper p {
  margin: 0 0 var(--wma-space-md);
}

.wasabi-article-markdown-wrapper h1,
.wasabi-article-markdown-wrapper h2,
.wasabi-article-markdown-wrapper h3,
.wasabi-article-markdown-wrapper h4,
.wasabi-article-markdown-wrapper h5,
.wasabi-article-markdown-wrapper h6 {
  max-width: 100%;
  margin: var(--wma-space-xl) 0 var(--wma-space-sm) !important;
  color: inherit;
  font-family: inherit;
  font-weight: 650;
  line-height: var(--wma-heading-line-height) !important;
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
  scroll-margin-top: 90px;
}

.wasabi-article-markdown-wrapper h1 {
  margin-top: var(--wma-heading-gap-h1) !important;
  font-size: 2.25rem;
}

.wasabi-article-markdown-wrapper h2 {
  margin-top: var(--wma-heading-gap-h2) !important;
  font-size: 1.9rem;
}

.wasabi-article-markdown-wrapper h3 {
  margin-top: var(--wma-heading-gap-h3) !important;
  font-size: 1.55rem;
}

.wasabi-article-markdown-wrapper h4 {
  margin-top: var(--wma-heading-gap-h4) !important;
  font-size: 1.3rem;
}

.wasabi-article-markdown-wrapper h5 {
  margin-top: 1.15em !important;
  font-size: 1.12rem;
}

.wasabi-article-markdown-wrapper h6 {
  margin-top: 1em !important;
  font-size: 1rem;
  letter-spacing: 0;
}

.wasabi-article-markdown-wrapper .wma-article-body > h1:first-child,
.wasabi-article-markdown-wrapper .wma-article-body > h2:first-child,
.wasabi-article-markdown-wrapper .wma-article-body > h3:first-child,
.wasabi-article-markdown-wrapper .wma-article-body > h4:first-child,
.wasabi-article-markdown-wrapper .wma-article-body > h5:first-child,
.wasabi-article-markdown-wrapper .wma-article-body > h6:first-child {
  margin-top: 0 !important;
}

.wasabi-article-markdown-wrapper .wma-article-body h1 { margin-top: var(--wma-heading-gap-h1) !important; }
.wasabi-article-markdown-wrapper .wma-article-body h2 { margin-top: var(--wma-heading-gap-h2) !important; }
.wasabi-article-markdown-wrapper .wma-article-body h3 { margin-top: var(--wma-heading-gap-h3) !important; }
.wasabi-article-markdown-wrapper .wma-article-body h4 { margin-top: var(--wma-heading-gap-h4) !important; }
.wasabi-article-markdown-wrapper .wma-article-body h5 { margin-top: 1.15em !important; }
.wasabi-article-markdown-wrapper .wma-article-body h6 { margin-top: 1em !important; }
.wasabi-article-markdown-wrapper .wma-article-body > h1:first-child,
.wasabi-article-markdown-wrapper .wma-article-body > h2:first-child,
.wasabi-article-markdown-wrapper .wma-article-body > h3:first-child,
.wasabi-article-markdown-wrapper .wma-article-body > h4:first-child,
.wasabi-article-markdown-wrapper .wma-article-body > h5:first-child,
.wasabi-article-markdown-wrapper .wma-article-body > h6:first-child { margin-top: 0 !important; }

.wasabi-article-markdown-wrapper h1 + p,
.wasabi-article-markdown-wrapper h2 + p,
.wasabi-article-markdown-wrapper h3 + p,
.wasabi-article-markdown-wrapper h4 + p,
.wasabi-article-markdown-wrapper h5 + p,
.wasabi-article-markdown-wrapper h6 + p {
  margin-top: 0;
}

.wasabi-article-markdown-wrapper a {
  overflow-wrap: anywhere;
  text-decoration-thickness: .08em;
  text-underline-offset: .16em;
}

.wasabi-article-markdown-wrapper img {
  max-width: 100%;
  height: auto;
  margin-top: 20px !important;
  margin-bottom: 20px !important;
}

.wasabi-article-markdown-wrapper figure {
  max-width: 100%;
  margin-top: 20px !important;
  margin-bottom: 20px !important;
}

.wasabi-article-markdown-wrapper figcaption {
  max-width: 100%;
  margin-top: var(--wma-space-xs);
  font-size: .92em;
  line-height: 1.55;
  opacity: .78;
  text-align: center;
}

.wasabi-article-markdown-wrapper ul,
.wasabi-article-markdown-wrapper ol {
  max-width: 100%;
  margin: 0 0 var(--wma-space-md);
  padding-left: 1.65em;
}

.wasabi-article-markdown-wrapper li {
  display: list-item !important;
  max-width: 100%;
  margin: .34em 0;
  padding-left: .05em;
}

.wasabi-article-markdown-wrapper li::marker {
  font-size: .92em;
}

.wasabi-article-markdown-wrapper li > p {
  display: inline !important;
  margin: 0 !important;
}

.wasabi-article-markdown-wrapper li > p + p {
  display: block !important;
  margin-top: .35em !important;
}

.wasabi-article-markdown-wrapper li > p:last-child {
  margin-bottom: 0 !important;
}

.wasabi-article-markdown-wrapper li > :first-child {
  margin-top: 0 !important;
}

.wasabi-article-markdown-wrapper li > ul,
.wasabi-article-markdown-wrapper li > ol {
  margin: .45em 0 .65em;
  padding-left: 1.35em;
}

.wasabi-article-markdown-wrapper blockquote {
  max-width: 100%;
  margin: var(--wma-space-lg) 0;
  padding: .15em 0 .15em 1em;
  border-left: 3px solid currentColor;
  opacity: .9;
}

.wasabi-article-markdown-wrapper blockquote > :last-child {
  margin-bottom: 0;
}

.wasabi-article-markdown-wrapper table {
  width: 100%;
  max-width: 100%;
  display: block;
  margin: var(--wma-space-lg) 0;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: .95em;
  line-height: 1.55;
}

.wasabi-article-markdown-wrapper th,
.wasabi-article-markdown-wrapper td {
  padding: .55em .7em;
  vertical-align: top;
}

.wasabi-article-markdown-wrapper pre {
  max-width: 100%;
  margin: var(--wma-space-lg) 0;
  padding: .95em 1em;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border-radius: 4px;
  background: rgba(0, 0, 0, .04);
  line-height: 1.55;
}

.wasabi-article-markdown-wrapper code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: .92em;
}

.wasabi-article-markdown-wrapper .math-visual {
  max-width: 100%;
}

.wasabi-article-markdown-wrapper .math-inline,
.wasabi-article-markdown-wrapper .math-inline .math-visual,
.wasabi-article-markdown-wrapper .math-inline mjx-container,
.wasabi-article-markdown-wrapper .math-inline .math-semantic,
.wasabi-article-markdown-wrapper .wma-math-fallback,
.wasabi-article-markdown-wrapper .wma-math-fallback .math-semantic,
.wasabi-article-markdown-wrapper .wma-math-fallback mjx-container {
  white-space: nowrap !important;
  display: inline-block !important;
}

.wasabi-article-markdown-wrapper .math-semantic {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.wasabi-article-markdown-wrapper .math-semantic,
.wasabi-article-markdown-wrapper .math-semantic * {
  color: transparent !important;
}

.wasabi-article-markdown-wrapper .wma-math-fallback > .math-visual {
  display: none !important;
}

.wasabi-article-markdown-wrapper .wma-math-fallback > .math-semantic {
  position: static !important;
  width: auto !important;
  height: auto !important;
  display: inline-block !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: nowrap !important;
}

.wasabi-article-markdown-wrapper .wma-math-fallback > .math-semantic,
.wasabi-article-markdown-wrapper .wma-math-fallback > .math-semantic * {
  color: #111427 !important;
}

.wasabi-article-markdown-wrapper .equation-display.wma-math-fallback > .math-semantic mjx-container {
  display: block !important;
  text-align: center;
  margin: .85em 0 1em;
  color: #111427 !important;
}

.wasabi-article-markdown-wrapper .equation-display.wma-math-fallback > .math-semantic math {
  display: block;
  text-align: center;
  margin: .85em 0 1em;
  color: #111427 !important;
}

.wasabi-article-markdown-wrapper .math-inline.wma-math-fallback > .math-semantic,
.wasabi-article-markdown-wrapper .math.wma-math-fallback > .math-semantic {
  display: inline !important;
}

.wasabi-article-markdown-wrapper .math-inline.wma-math-fallback > .math-semantic mjx-container,
.wasabi-article-markdown-wrapper .math.wma-math-fallback > .math-semantic mjx-container,
.wasabi-article-markdown-wrapper .math-inline.wma-math-fallback > .math-semantic math,
.wasabi-article-markdown-wrapper .math.wma-math-fallback > .math-semantic math {
  display: inline-block !important;
  margin: 0 !important;
  white-space: nowrap !important;
  color: #111427 !important;
}

.wasabi-article-markdown-wrapper .equation-display {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 1.2em 0 1.45em !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  text-align: center !important;
  width: 100% !important;
  max-width: 100% !important;
}

.wasabi-article-markdown-wrapper .equation-display .math-visual,
.wasabi-article-markdown-wrapper .equation-display .math-ssr,
.wasabi-article-markdown-wrapper .equation-display .math-ssr-desktop {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100% !important;
}

.wasabi-article-markdown-wrapper .math-ssr {
  max-width: 100%;
}

.wasabi-article-markdown-wrapper .math-ssr-mobile {
  display: none;
}

.wasabi-article-markdown-wrapper mjx-container {
  display: inline-block;
  max-width: 100%;
  line-height: 0;
  text-indent: 0;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  word-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  float: none;
  direction: ltr;
}

.wasabi-article-markdown-wrapper mjx-container[display="true"],
.wasabi-article-markdown-wrapper mjx-container[display] {
  display: block !important;
  text-align: center !important;
  margin: .85em auto !important;
  padding: .25em 2px;
  overflow-x: auto;
  overflow-y: hidden;
}

.wasabi-article-markdown-wrapper mjx-container[jax="SVG"] > svg {
  overflow: visible;
  min-height: 1px;
  min-width: 1px;
  max-width: none;
  height: auto;
  color: #111427 !important;
  fill: #111427 !important;
}

.wasabi-article-markdown-wrapper mjx-container[jax="SVG"] path[data-c],
.wasabi-article-markdown-wrapper mjx-container[jax="SVG"] use[data-c] {
  fill: currentColor !important;
  stroke: none !important;
  stroke-width: 0 !important;
}

.wasabi-article-markdown-wrapper .math-visual,
.wasabi-article-markdown-wrapper .equation-display,
.wasabi-article-markdown-wrapper .math-inline,
.wasabi-article-markdown-wrapper mjx-container,
.wasabi-article-markdown-wrapper mjx-container[jax="SVG"],
.wasabi-article-markdown-wrapper mjx-container[jax="SVG"] * {
  color: #111427 !important;
}

.wasabi-article-markdown-wrapper mjx-container[jax="SVG"] g,
.wasabi-article-markdown-wrapper mjx-container[jax="SVG"] line,
.wasabi-article-markdown-wrapper mjx-container[jax="SVG"] text {
  fill: currentColor !important;
}

.wasabi-article-markdown-wrapper mjx-container[jax="SVG"] [fill]:not([fill="none"]) {
  fill: currentColor !important;
}

.wasabi-article-markdown-wrapper mjx-container[jax="SVG"] [fill="none"],
.wasabi-article-markdown-wrapper mjx-container[jax="SVG"] rect[fill="none"] {
  fill: none !important;
}

.wasabi-article-markdown-wrapper mjx-container[jax="SVG"] [stroke]:not([stroke="none"]) {
  stroke: currentColor !important;
  stroke-width: inherit !important;
}

@media (max-width: 640px) {
  .wasabi-article-markdown-wrapper {
    --wma-font-size: 15.5px;
    --wma-line-height: 1.7;
    --wma-space-md: 1.05em;
    --wma-space-lg: 1.35em;
    --wma-space-xl: 1.65em;
    --wma-heading-gap-h1: 1.85em;
    --wma-heading-gap-h2: 1.7em;
    --wma-heading-gap-h3: 1.45em;
    --wma-heading-gap-h4: 1.25em;
  }

  .wasabi-article-markdown-wrapper h1 { font-size: 1.75rem; }
  .wasabi-article-markdown-wrapper h2 { font-size: 1.52rem; }
  .wasabi-article-markdown-wrapper h3 { font-size: 1.3rem; }
  .wasabi-article-markdown-wrapper h4 { font-size: 1.15rem; }
  .wasabi-article-markdown-wrapper h5 { font-size: 1.03rem; }
  .wasabi-article-markdown-wrapper h6 { font-size: .98rem; }

  .wasabi-article-markdown-wrapper ul,
  .wasabi-article-markdown-wrapper ol {
    padding-left: 1.35em;
  }

  .wasabi-article-markdown-wrapper li > ul,
  .wasabi-article-markdown-wrapper li > ol {
    padding-left: 1.2em;
  }

  .wasabi-article-markdown-wrapper table {
    font-size: .9em;
  }

  .wasabi-article-markdown-wrapper .math-ssr-desktop {
    display: none;
  }

  .wasabi-article-markdown-wrapper .math-ssr-mobile {
    display: inline;
  }

  .wasabi-article-markdown-wrapper .equation-display .math-ssr-mobile {
    display: block;
  }
}

/* ── Table of Contents (TOC) Math Visual & SVG Styles ── */
.wma-toc-wrapper .math-visual,
.wma-toc-list .math-visual,
.gj-tab-submenu .math-visual {
  display: inline-block !important;
  vertical-align: middle !important;
}

.wma-toc-wrapper mjx-container,
.wma-toc-list mjx-container,
.gj-tab-submenu mjx-container {
  display: inline-block !important;
  line-height: 0 !important;
  text-indent: 0 !important;
  text-align: left !important;
  vertical-align: middle !important;
}

.wma-toc-wrapper mjx-container > svg,
.wma-toc-list mjx-container > svg,
.gj-tab-submenu mjx-container > svg {
  display: inline-block !important;
  overflow: visible !important;
  vertical-align: middle !important;
  color: inherit !important;
  fill: currentColor !important;
  height: auto !important;
  max-height: 2.2ex !important;
}

.wma-toc-wrapper .math-semantic,
.wma-toc-list .math-semantic,
.gj-tab-submenu .math-semantic,
.wma-toc-wrapper .sr-only,
.wma-toc-list .sr-only,
.gj-tab-submenu .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ── Nested <ol> Table of Contents (TOC) Tree Styles ── */
.wma-toc-wrapper ol,
.wma-toc-wrapper ul,
.gj-tab-submenu ol,
.gj-tab-submenu ul,
.wma-toc-list,
ol.wma-toc-list,
ul.wma-toc-list,
#gj-article-tabs-wrapper .gj-tab-submenu ol,
#gj-article-tabs-wrapper .gj-tab-submenu ul,
#gj-article-tabs-wrapper .qodef-tabs-navigation ol,
#gj-article-tabs-wrapper .qodef-tabs-navigation ul {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wma-toc-wrapper ol ol,
.wma-toc-wrapper ul ul,
.gj-tab-submenu ol ol,
.gj-tab-submenu ul ul,
.wma-toc-wrapper ol.wma-toc-list ol.wma-toc-list,
.gj-tab-submenu ol.wma-toc-list ol.wma-toc-list {
  padding-left: 1.25em !important;
  margin-top: 0.2em !important;
  margin-bottom: 0.25em !important;
}

.wma-toc-wrapper li,
.gj-tab-submenu li,
.wma-toc-item,
li.wma-toc-item,
#gj-article-tabs-wrapper .gj-tab-submenu li,
#gj-article-tabs-wrapper .qodef-tabs-navigation li {
  list-style: none !important;
  list-style-type: none !important;
  display: block !important;
  margin: 0.35em 0 !important;
}

.wma-toc-wrapper li::before,
.wma-toc-wrapper li::after,
.wma-toc-list li::before,
.wma-toc-list li::after,
.gj-tab-submenu li::before,
.gj-tab-submenu li::after,
.wma-toc-item::before,
.wma-toc-item::after,
#gj-article-tabs-wrapper .gj-tab-submenu li::before,
#gj-article-tabs-wrapper .gj-tab-submenu li::after,
#gj-article-tabs-wrapper .qodef-tabs-navigation li::before,
#gj-article-tabs-wrapper .qodef-tabs-navigation li::after {
  content: none !important;
  display: none !important;
}

.wma-toc-wrapper a,
.wma-toc-list a,
.gj-tab-submenu a {
  text-transform: none !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
  overflow: visible !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
}

.wma-toc-wrapper mjx-container,
.wma-toc-list mjx-container,
.gj-tab-submenu mjx-container {
  display: inline-block !important;
  vertical-align: middle !important;
  max-width: 100% !important;
  overflow: visible !important;
}

.wma-toc-wrapper svg,
.wma-toc-list svg,
.gj-tab-submenu svg {
  overflow: visible !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.wma-toc-wrapper a *,
.wma-toc-list a *,
.gj-tab-submenu a * {
  text-transform: none !important;
  letter-spacing: normal !important;
}

.wma-toc-wrapper .math-fallback,
.wma-toc-list .math-fallback,
.gj-tab-submenu .math-fallback,
.wma-toc-wrapper .math-inline--native,
.wma-toc-list .math-inline--native,
.gj-tab-submenu .math-inline--native {
  text-transform: none !important;
  font-family: inherit !important;
  white-space: nowrap !important;
}

.wma-toc-wrapper .math-inline-text-fallback,
.wma-toc-list .math-inline-text-fallback,
.gj-tab-submenu .math-inline-text-fallback {
  display: none;
}

.wma-toc-wrapper .math-inline--native math,
.wma-toc-list .math-inline--native math,
.gj-tab-submenu .math-inline--native math {
  display: inline math !important;
  font-size: 1em;
  color: inherit !important;
}

@supports not (display: inline math) {
  .wma-toc-wrapper .math-inline--native math,
  .wma-toc-list .math-inline--native math,
  .gj-tab-submenu .math-inline--native math {
    display: none !important;
  }

  .wma-toc-wrapper .math-inline-text-fallback,
  .wma-toc-list .math-inline-text-fallback,
  .gj-tab-submenu .math-inline-text-fallback {
    display: inline !important;
  }
}

.wma-toc-debug {
  margin: 0 0 12px !important;
  padding: 12px 14px !important;
  border: 1px solid #f59e0b !important;
  border-radius: 10px !important;
  background: #fff8e1 !important;
  color: #111827 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  text-transform: none !important;
}

.wma-toc-debug strong,
.wma-toc-debug summary,
.wma-toc-debug code,
.wma-toc-debug pre,
.wma-toc-debug li,
.wma-toc-debug span {
  text-transform: none !important;
  letter-spacing: normal !important;
}

.wma-toc-debug-list {
  list-style: none !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
}

.wma-toc-debug-list li {
  display: flex !important;
  gap: 8px !important;
  align-items: flex-start !important;
  margin: 4px 0 !important;
}

.wma-toc-debug-key {
  min-width: 140px;
  font-weight: 700;
}

.wma-toc-debug code {
  white-space: normal !important;
  word-break: break-word !important;
}

.wma-toc-debug-details {
  margin-top: 10px !important;
}

.wma-toc-debug pre {
  max-height: 220px;
  overflow: auto;
  margin: 8px 0 0 !important;
  padding: 10px !important;
  border-radius: 8px !important;
  background: #111827 !important;
  color: #f9fafb !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
}
