/* Match the citation workspace's "我的文献" label within Cover Letter. */
#cover-letter-panel {
  --cl-heading-color: #31527f;
  --cl-heading-font: Inter, "Segoe UI", "Microsoft YaHei", sans-serif;
  --cl-heading-weight: 750;
  --cl-heading-line-height: normal;
  --cl-section-heading-size: 12px;
}

#cover-letter-panel :is(h2, h3, h4, h5, h6),
#cover-letter-panel :is(
  .cl-field-caption,
  .cl-details > summary,
  .cl-style > strong,
  .cl-empty > strong
) {
  color: var(--cl-heading-color) !important;
  font-family: var(--cl-heading-font) !important;
  font-weight: var(--cl-heading-weight) !important;
  line-height: var(--cl-heading-line-height) !important;
  letter-spacing: normal !important;
  text-shadow: none !important;
}

#cover-letter-panel :is(h2, h3, h4, h5, h6),
#cover-letter-panel :is(
  .cl-field-caption,
  .cl-details > summary,
  .cl-style > strong,
  .cl-empty > strong
) {
  font-size: var(--cl-section-heading-size) !important;
}

#cover-letter-panel .cl-name-caption-row { flex-wrap: wrap; }
#cover-letter-panel .cl-style > strong { white-space: normal; }
#cover-letter-panel .cl-field-caption .cl-required { color: inherit; }
