/* ── Manual page styles ─────────────────────────────────────────────────── */

.manual-content {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--default-text-color, #333);
}

/* Headings */
.manual-content h1 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--primary, #6366f1);
  padding-bottom: 0.5rem;
}
.manual-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--primary, #6366f1);
}
.manual-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.manual-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--default-text-color, #555);
}

/* Horizontal rules */
.manual-content hr {
  border: none;
  border-top: 1px solid rgba(128, 128, 128, 0.25);
  margin: 2rem 0;
}

/* Paragraphs */
.manual-content p {
  margin-top: 0;
  margin-bottom: 0.85rem;
}

/* Ordered & unordered lists */
.manual-content ol,
.manual-content ul {
  padding-left: 1.75rem;
  margin-bottom: 0.85rem;
}
.manual-content ol {
  list-style: decimal;
}
.manual-content ul {
  list-style: disc;
}
.manual-content ol ol,
.manual-content ul ul,
.manual-content ol ul,
.manual-content ul ol {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}
.manual-content li {
  margin-bottom: 0.3rem;
}

/* Table of contents list (first ol/ul in the doc) */
.manual-content > ol:first-of-type,
.manual-content > ul:first-of-type {
  list-style: decimal;
  padding-left: 1.5rem;
}
.manual-content > ol:first-of-type > li > ul,
.manual-content > ul:first-of-type > li > ul {
  list-style: disc;
}

/* Tables */
.manual-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}
.manual-content thead th {
  background-color: var(--primary, #6366f1);
  color: #fff;
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  text-align: left;
  white-space: nowrap;
}
.manual-content tbody td {
  padding: 0.5rem 0.85rem;
  border-bottom: 1px solid rgba(128, 128, 128, 0.15);
  vertical-align: top;
}
.manual-content tbody tr:hover {
  background-color: rgba(128, 128, 128, 0.04);
}

/* Blockquotes */
.manual-content blockquote {
  border-left: 4px solid var(--primary, #6366f1);
  margin: 1rem 0;
  padding: 0.6rem 1rem;
  background: rgba(99, 102, 241, 0.06);
  border-radius: 0 0.375rem 0.375rem 0;
  color: var(--default-text-color, #444);
  font-style: normal;
}
.manual-content blockquote p {
  margin-bottom: 0;
}

/* Inline code */
.manual-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85em;
  padding: 0.15em 0.4em;
  background: rgba(128, 128, 128, 0.1);
  border-radius: 0.25rem;
}

/* Code blocks */
.manual-content pre {
  background: rgba(128, 128, 128, 0.08);
  border: 1px solid rgba(128, 128, 128, 0.15);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
}
.manual-content pre code {
  background: none;
  padding: 0;
  font-size: inherit;
}

/* Anchor links */
.manual-content a {
  color: var(--primary, #6366f1);
  text-decoration: none;
}
.manual-content a:hover {
  text-decoration: underline;
}

/* Strong */
.manual-content strong {
  font-weight: 600;
}
