.hover-tooltip-body {
  overflow: auto;
  padding: 8px 10px;
}

.hover-tooltip-content {
  font-family: var(--app-font-family);
  font-size: var(--hover-tooltip-font-size, 14px);
  line-height: var(--hover-tooltip-line-height, 20px);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.hover-tooltip-content p {
  margin: 0.2em 0;
}

/* Code blocks: subtle background, no border — must override .markdown-preview pre */
.hover-tooltip-content.markdown-preview pre {
  background: color-mix(in srgb, var(--color-hover) 50%, transparent);
  border: none;
  border-radius: 6px;
  margin: 0.25em 0;
  padding: 0.4em 0.5em;
  overflow-x: hidden;
}

.hover-tooltip-content.markdown-preview pre code {
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-size: 0.95em;
  line-height: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hover-tooltip-content.markdown-preview code {
  border-radius: 4px;
}
