
/* README rendering - Theme-aware */
.readme-container {
  /* Layout preserved */
  padding: 1rem;
  max-width: 100%;
  /* Styling moved to central CSS - see static/css/components/cards.css */
  border: 1px solid var(--color-border-default);
  border-radius: 6px;
  background: var(--color-canvas-default);
  color: var(--color-fg-default);
}

.readme-header {
  /* Layout preserved */
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  /* Styling moved to central CSS - see static/css/common/typography-vars.css */
  border-bottom: 1px solid var(--color-border-default);
  font-weight: 600;
  color: var(--color-fg-default);
}

.readme-content {
  /* Layout preserved */
  line-height: 1.6;
}

.readme-content h1,
.readme-content h2,
.readme-content h3 {
  /* Layout preserved */
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.25;
  /* Styling moved to central CSS - see static/css/common/typography-vars.css */
  font-weight: 600;
  color: var(--color-fg-default);
}

.readme-content h1 {
  /* Layout preserved */
  padding-bottom: 0.3em;
  /* Styling moved to central CSS - see static/css/common/typography-vars.css */
  font-size: 2em;
}

.readme-content h2 {
  /* Layout preserved */
  padding-bottom: 0.3em;
  margin-top: 2rem;
  /* Styling moved to central CSS - see static/css/common/typography-vars.css */
  font-size: 1.5em;
}

.readme-content code {
  /* Layout preserved */
  padding: 0.2em 0.4em;
  /* Styling moved to central CSS - see static/css/common/code-blocks.css */
  background: var(--color-neutral-muted);
  color: var(--color-fg-default);
  border-radius: 6px;
  font-family: ui-monospace, monospace;
  font-size: 85%;
}

.readme-content pre {
  /* Layout preserved */
  padding: 1rem;
  overflow-x: auto;
  /* Styling moved to central CSS - see static/css/common/code-blocks.css */
  background: var(--color-neutral-muted);
  border-radius: 6px;
}

.readme-content pre code {
  /* Layout preserved */
  padding: 0;
  /* Styling moved to central CSS - see static/css/common/code-blocks.css */
  background: none;
}

/* Lists and directory structures - no borders */
.readme-content ul,
.readme-content ol {
  /* Layout preserved */
  padding-left: 2em;
  margin: 0.5em 0;
}

.readme-content li {
  /* Layout preserved */
  margin: 0.25em 0;
  border: none !important; /* Remove any borders from list items */
}

.readme-content p {
  /* Layout preserved */
  margin: 1em 0;
  /* Styling moved to central CSS - see static/css/common/typography-vars.css */
  color: var(--color-fg-default);
}

.readme-content a {
  /* Styling moved to central CSS - see static/css/components/buttons.css */
  color: var(--color-accent-fg);
}

.readme-content a:hover {
  text-decoration: underline;
}

/* Remove borders from h3, h4, h5, h6 */
.readme-content h3,
.readme-content h4,
.readme-content h5,
.readme-content h6 {
  /* Layout preserved */
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  border: none !important; /* No borders for smaller headings */
  /* Styling moved to central CSS - see static/css/common/typography-vars.css */
  font-weight: 600;
  color: var(--color-fg-default);
}
