.markdown-body { line-height: 1.7; font-size: 1.02rem; }
.markdown-body h1 { font-size: 2rem; margin: 0 0 1rem; }
.markdown-body h2 { font-size: 1.5rem; margin-top: 2.2rem; padding-top: .5rem; border-top: 1px solid var(--bs-border-color); }
.markdown-body img { max-width: 100%; border-radius: 10px; border: 1px solid var(--bs-border-color); }
.markdown-body table { width: 100%; margin: 1rem 0; }
.markdown-body table th, .markdown-body table td { border: 1px solid var(--bs-border-color); padding: .4rem .6rem; }
.markdown-body pre { background: #0f172a; color: #e2e8f0; border-radius: 10px; padding: 1rem; overflow: auto; }
.markdown-body code { background: var(--bs-secondary-bg); border-radius: 6px; padding: .1rem .35rem; }
.markdown-body pre code { background: transparent; padding: 0; }
.markdown-body ol { counter-reset: step; list-style: none; padding-left: 0; margin: 1rem 0; }
.markdown-body ol > li { counter-increment: step; position: relative; padding-left: 3rem; padding-bottom: 1.4rem; }
.markdown-body ol > li:last-child { padding-bottom: 0.25rem; }
.markdown-body ol > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 9999px;
  background: var(--usro-sidebar-bg);
  color: var(--usro-accent);
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid var(--usro-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.markdown-body ol > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 2.1rem;
  bottom: -0.15rem;
  width: 2px;
  background: var(--bs-border-color);
}
.markdown-body ol ol { margin-top: 0.75rem; }
.markdown-body ol ol > li::before { width: 1.4rem; height: 1.4rem; font-size: 0.75rem; background: var(--bs-secondary-bg); color: var(--bs-body-color); }
