.rich-text-content {
  line-height: 1.4;
  color: #1f2329;
}
.rich-text-content li {
  list-style: none;
}
.rich-text-content * {
  font-size: 16px;
  line-height: 26px;
}
.rich-text-content * {
  font-size: inherit;
}
.rich-text-content h1 {
  font-size: 28px;
  line-height: 1.8;
  margin-bottom: 10px;
  margin-top: 0;
}
.rich-text-content h2 {
  font-size: 24px;
  line-height: 1.8;
  margin-bottom: 8px;
  margin-top: 22px;
}
.rich-text-content h3 {
  font-size: 22px;
  line-height: 1.8;
  margin-bottom: 8px;
  margin-top: 20px;
}
.rich-text-content h4 {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 8px;
  margin-top: 18px;
}
.rich-text-content h5 {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 8px;
  margin-top: 16px;
}
.rich-text-content h6 {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 8px;
  margin-top: 16px;
}
.rich-text-content p {
  margin-bottom: 8px;
  margin-top: 8px;
  line-height: 1.8;
}
.rich-text-content ul {
  list-style-type: disc;
}
.rich-text-content ul li::before {
  content: "•";
  margin-right: 8px;
}
.rich-text-content ul li {
  display: list-item;
  text-align: -webkit-match-parent;
  unicode-bidi: isolate;
  line-height: 1.8;
}
.rich-text-content ul li p {
  display: inline;
}
.rich-text-content strong {
  font-weight: bold;
  font-size: inherit;
  color: inherit;
}
.rich-text-content img {
  margin: 16px auto;
}
.rich-text-content video {
  width: 100%;
}
.rich-text-content u,
.rich-text-content i,
.rich-text-content em,
.rich-text-content b,
.rich-text-content s,
.rich-text-content del {
  font-size: inherit;
  color: inherit;
}

:root {
  --w-e-textarea-bg-color: #fff;
  --w-e-textarea-color: #333;
  --w-e-textarea-border-color: #ccc;
  --w-e-textarea-slight-border-color: #e8e8e8;
  --w-e-textarea-slight-color: #d4d4d4;
  --w-e-textarea-slight-bg-color: #f5f2f0;
  --w-e-textarea-selected-border-color: #b4d5ff;
  --w-e-textarea-handler-bg-color: #4290f7;
  --w-e-toolbar-color: #595959;
  --w-e-toolbar-bg-color: #fff;
  --w-e-toolbar-active-color: #333;
  --w-e-toolbar-active-bg-color: #f1f1f1;
  --w-e-toolbar-disabled-color: #999;
  --w-e-toolbar-border-color: #e8e8e8;
  --w-e-modal-button-bg-color: #fafafa;
  --w-e-modal-button-border-color: #d9d9d9;
}
.rich-text-content pre code {
  word-wrap: normal;
  font-family:
    Consolas,
    Monaco,
    Andale Mono,
    Ubuntu Mono,
    monospace;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  line-height: 1.5;
  margin: 0.5em 0;
  overflow: auto;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  text-align: left;
  text-shadow: 0 1px #fff;
  word-break: break-word;
  word-spacing: normal;
  background-color: var(--w-e-textarea-slight-bg-color);
  border: 1px solid var(--w-e-textarea-slight-border-color);
  border-radius: 4px 4px;
  display: block;
  font-size: 14px !important;
  padding: 10px;
  text-indent: 0;
  white-space: pre-wrap;
}
.rich-text-content p code {
  font-size: 14px !important;
  background-color: var(--w-e-textarea-slight-bg-color);
  border-radius: 3px;
  font-family: monospace;
  padding: 3px;
  white-space: pre-wrap;
  word-break: break-word;
}
.rich-text-content .table {
  border-collapse: collapse;
}
.rich-text-content table td,
.rich-text-content table th {
  border: 1px solid var(--w-e-textarea-border-color);
  line-height: 1.5;
  min-width: 30px;
  padding: 3px 5px;
  word-wrap: break-word; /* 允许换行 */
  word-break: break-all; /* 强制换行 */
  white-space: normal; /* 允许内容换行 */
  vertical-align: middle; /* 垂直居中对齐 */
}
.rich-text-content table th {
  background-color: var(--w-e-textarea-slight-bg-color);
  font-weight: 700;
}
.rich-text-content span[style*="nowrap"] {
  text-wrap: unset !important;
}
