/* Shared Tailwind-ish refinements for topic pages (no <style> tags in pages). */

/* Make details/summary look consistent across browsers */
summary::-webkit-details-marker {
  display: none;
}

details > summary {
  list-style: none;
}

/* Prevent long code/tables from breaking layout */
pre,
code,
table,
svg {
  max-width: 100%;
}

/* Smooth scrolling for overflow wrappers */
.tw-scroll-x {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

/* Keep list markers visible and readable across reset-heavy pages */
.content ul {
  list-style: disc outside;
}

.content ul ul {
  list-style: circle outside;
}

.content ol {
  list-style: decimal outside;
}

.content li::marker {
  color: rgba(148, 163, 184, 0.95);
}

/* Table lines fallback */
.content table,
.content th,
.content td {
  border-color: rgba(148, 163, 184, 0.22);
}

