/* Keep deterministic proposal previews readable without altering their structure or math rendering. */
.mentor-application-page .vri-proposal-editor-preview {
  font-weight: 400;
}

/*
 * Authors may use semantic emphasis (bold, italics, lists, headings, math), but
 * VRI controls the published typography scale. Heading syntax therefore remains
 * useful for structure without introducing arbitrary font-size variation.
 */
.mentor-application-page .vri-proposal-editor-preview h1,
.mentor-application-page .vri-proposal-editor-preview h2,
.mentor-application-page .vri-proposal-editor-preview h3,
.mentor-application-page .vri-proposal-editor-preview h4,
.mentor-application-page .vri-proposal-editor-preview h5,
.mentor-application-page .vri-proposal-editor-preview h6 {
  color: inherit;
  font-family: inherit;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

/* Match canonical card bullet baselines rather than relying on browser marker metrics. */
.mentor-application-page .vri-proposal-editor-preview ul {
  list-style: none;
}

.mentor-application-page .vri-proposal-editor-preview ul > li {
  position: relative;
}

.mentor-application-page .vri-proposal-editor-preview ul > li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: -1rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
}

.mentor-application-page .vri-proposal-editor-preview li + li {
  margin-top: 0.2rem;
}

/* References keep ordinary compact reading rhythm even when rendered from rich text. */
.mentor-application-page [data-vri-proposal-editor-field$="_references"] .vri-proposal-editor-preview ol,
.mentor-application-page [data-vri-proposal-editor-field$="_references"] .vri-proposal-editor-preview ul {
  margin-top: 0.35rem;
  margin-bottom: 0;
}

.mentor-application-page [data-vri-proposal-editor-field$="_references"] .vri-proposal-editor-preview li {
  margin-top: 0;
  margin-bottom: 0;
}

.mentor-application-page [data-vri-proposal-editor-field$="_references"] .vri-proposal-editor-preview li + li {
  margin-top: 0.2rem;
}

.mentor-application-page [data-vri-proposal-editor-field$="_references"] .vri-proposal-editor-preview li > p {
  margin: 0;
}
