.tuya-preview html,
.tuya-preview body,
.tuya-preview div,
.tuya-preview span,
.tuya-preview applet,
.tuya-preview object,
.tuya-preview iframe,
.tuya-preview h1,
.tuya-preview h2,
.tuya-preview h3,
.tuya-preview h4,
.tuya-preview h5,
.tuya-preview h6,
.tuya-preview p,
.tuya-preview blockquote,
.tuya-preview pre,
.tuya-preview a,
.tuya-preview abbr,
.tuya-preview acronym,
.tuya-preview address,
.tuya-preview big,
.tuya-preview cite,
.tuya-preview code,
.tuya-preview del,
.tuya-preview dfn,
.tuya-preview em,
.tuya-preview img,
.tuya-preview ins,
.tuya-preview kbd,
.tuya-preview q,
.tuya-preview s,
.tuya-preview samp,
.tuya-preview small,
.tuya-preview strike,
.tuya-preview strong,
.tuya-preview sub,
.tuya-preview sup,
.tuya-preview tt,
.tuya-preview var,
.tuya-preview b,
.tuya-preview u,
.tuya-preview i,
.tuya-preview center,
.tuya-preview dl,
.tuya-preview dt,
.tuya-preview dd,
.tuya-preview ol,
.tuya-preview ul,
.tuya-preview li,
.tuya-preview fieldset,
.tuya-preview form,
.tuya-preview label,
.tuya-preview legend,
.tuya-preview table,
.tuya-preview caption,
.tuya-preview tbody,
.tuya-preview tfoot,
.tuya-preview thead,
.tuya-preview tr,
.tuya-preview th,
.tuya-preview td,
.tuya-preview article,
.tuya-preview aside,
.tuya-preview canvas,
.tuya-preview details,
.tuya-preview embed,
.tuya-preview figure,
.tuya-preview figcaption,
.tuya-preview footer,
.tuya-preview header,
.tuya-preview hgroup,
.tuya-preview menu,
.tuya-preview nav,
.tuya-preview output,
.tuya-preview ruby,
.tuya-preview section,
.tuya-preview summary,
.tuya-preview time,
.tuya-preview mark,
.tuya-preview audio,
.tuya-preview video {
  margin: 0;
  padding: 0;
  border: 0;
}

.tuya-preview div {
  font-family: Chinese Quote, -apple-system, BlinkMacSystemFont, Segoe UI,
    Roboto, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue,
    Helvetica, Arial, sans-serif;
}

.tuya-preview p,
.tuya-preview blockquote,
.tuya-preview ul,
.tuya-preview ol,
.tuya-preview dl,
.tuya-preview table,
.tuya-preview pre {
  margin: 0.66em 0;
  line-height: 1.66em;
  min-height: 1em;
  color: #495054;
}

.tuya-preview h1,
.tuya-preview h4,
.tuya-preview h5,
.tuya-preview h6 {
  margin: 1em 0 0.8em;
  padding: 0;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
}

.tuya-preview h1 tt,
.tuya-preview h1 code,
.tuya-preview h2 tt,
.tuya-preview h2 code,
.tuya-preview h3 tt,
.tuya-preview h3 code,
.tuya-preview h4 tt,
.tuya-preview h4 code,
.tuya-preview h5 tt,
.tuya-preview h5 code,
.tuya-preview h6 tt,
.tuya-preview h6 code {
  font-size: inherit;
}

.tuya-preview body > h2:first-child,
.tuya-preview body > h1:first-child,
.tuya-preview body > h1:first-child + h2,
.tuya-preview body > h3:first-child,
.tuya-preview body > h4:first-child,
.tuya-preview body > h5:first-child,
.tuya-preview body > h6:first-child {
  margin-top: 0;
  padding-top: 0;
}

.tuya-preview a:first-child h1,
.tuya-preview a:first-child h2,
.tuya-preview a:first-child h3,
.tuya-preview a:first-child h4,
.tuya-preview a:first-child h5,
.tuya-preview a:first-child h6 {
  margin-top: 0;
  padding-top: 0;
}

.tuya-preview h1 + p,
.tuya-preview h2 + p,
.tuya-preview h3 + p,
.tuya-preview h4 + p,
.tuya-preview h5 + p,
.tuya-preview h6 + p {
  margin-top: 10px;
}

.tuya-preview a {
  color: #4183c4;
  text-decoration: none;
}

.tuya-preview ul,
.tuya-preview ol {
  padding-left: 1.5em;
}

.tuya-preview ul li > :first-child,
.tuya-preview ol li > :first-child,
.tuya-preview ul li ul:first-of-type,
.tuya-preview ol li ol:first-of-type,
.tuya-preview ul li ol:first-of-type,
.tuya-preview ol li ul:first-of-type {
  margin-top: 0px;
}

.tuya-preview ul ul,
.tuya-preview ul ol,
.tuya-preview ol ol,
.tuya-preview ol ul {
  margin-bottom: 0;
}

.tuya-preview dl {
  padding: 0;
}

.tuya-preview dl dt {
  font-size: 14px;
  font-weight: bold;
  font-style: italic;
  padding: 0;
  margin: 15px 0 5px;
}

.tuya-preview dl dt:first-child {
  padding: 0;
}

.tuya-preview dl dt > :first-child {
  margin-top: 0px;
}

.tuya-preview dl dt > :last-child {
  margin-bottom: 0px;
}

.tuya-preview dl dd {
  margin: 0 0 15px;
  padding: 0 15px;
}

.tuya-preview dl dd > :first-child {
  margin-top: 0px;
}

.tuya-preview dl dd > :last-child {
  margin-bottom: 0px;
}

.tuya-preview pre,
.tuya-preview code,
.tuya-preview tt {
  font-size: 12px;
  font-family: Consolas, 'Liberation Mono', Courier, monospace;
}

.tuya-preview code,
.tuya-preview tt {
  margin: 0 0px;
  padding: 0px 0px;
  white-space: nowrap;
  border: 1px solid #eaeaea;
  background-color: #f8f8f8;
  border-radius: 3px;
}

.tuya-preview pre > code {
  margin: 0;
  padding: 0;
  white-space: pre;
  border: none;
  background: transparent;
}

.tuya-preview pre {
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  font-size: 13px;
  line-height: 19px;
  overflow: auto;
  padding: 6px 10px;
  border-radius: 3px;
}

.tuya-preview pre code,
.tuya-preview pre tt {
  background-color: transparent;
  border: none;
}

.tuya-preview kbd {
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  background-color: #dddddd;
  background-image: linear-gradient(#f1f1f1, #dddddd);
  background-repeat: repeat-x;
  border-color: #dddddd #cccccc #cccccc #dddddd;
  border-image: none;
  border-radius: 2px 2px 2px 2px;
  border-style: solid;
  border-width: 1px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 10px;
  padding: 1px 4px;
}

.tuya-preview blockquote {
  border-left: 4px solid #ddd;
  padding: 0 15px;
  color: #777;
}

.tuya-preview blockquote > :first-child {
  margin-top: 0px;
}

.tuya-preview blockquote > :last-child {
  margin-bottom: 0px;
}

.tuya-preview hr {
  clear: both;
  margin: 15px 0;
  height: 0px;
  overflow: hidden;
  border: none;
  background: transparent;
  border-bottom: 4px solid #ddd;
  padding: 0;
}

.tuya-preview table th {
  font-weight: bold;
}

.tuya-preview table th,
.tuya-preview table td {
  border: 1px solid #ccc;
  padding: 6px 13px;
}

.tuya-preview table tr {
  border-top: 1px solid #ccc;
  background-color: #fff;
}

.tuya-preview table tr:nth-child(2n) {
  background-color: #f8f8f8;
}

.tuya-preview img {
  max-width: 100%;
}

.tuya-preview .image-align,
.tuya-preview [className='image-align'] {
  text-align: center;
}

.tuya-preview * {
  letter-spacing: 0.05em;
}

.tuya-preview ul,
.tuya-preview ol {
  margin: 10px 0 20px;
}

.tuya-preview ul li {
  list-style-type: disc;
  margin: 10px 0;
  padding: 0;
  font-size: 14px;
  color: #81828b;
  line-height: 20px;
}

.tuya-preview ol li {
  list-style-type: decimal;
  margin: 10px 0;
  padding: 0;
  font-size: 14px;
  color: #81828b;
  line-height: 20px;
}

.tuya-preview blockquote {
  border-left: 2px solid #ddd;
  margin: 20px 0;
  padding-left: 8px;
  color: #bebebe;
  font-size: 14px;
  line-height: 25px;
}

.tuya-preview .text-left {
  text-align: left;
}

.tuya-preview .text-center {
  text-align: center;
}

.tuya-preview .text-right {
  text-align: right;
}

.tuya-preview .colors-black-1 {
  color: #22242d;
}

.tuya-preview .colors-black-1 {
  color: #475054;
}

.tuya-preview .colors-black-1 {
  color: #81828c;
}

.tuya-preview .colors-white {
  color: #fff;
}

.tuya-preview .colors-red {
  color: #ff272b;
}

.tuya-preview .colors-green {
  color: #00bf00;
}

.tuya-preview .colors-orange {
  color: #ff6300;
}

.tuya-preview .colors-blue {
  color: #0079ff;
}

.tuya-preview [data-slate-editor] .video-input-group {
  width: 100%;
  margin-bottom: 4px;
}
.tuya-preview [data-slate-editor] .video-input-group input {
  height: 36px;
  margin: 5px 8px 0 auto;
  box-sizing: border-box;
  outline: none;
  font-size: 14px;
  padding-left: 4px;
  border: none;
  border-bottom: 1px solid #cacaca;
}
.tuya-preview [data-slate-editor] .video-input-group input::placeholder {
  font-style: italic;
  color: #cacaca;
}
.tuya-preview [data-slate-editor] .video-input-group .urlInput {
  width: 50%;
}
.tuya-preview [data-slate-editor] .video-input-group .widthInput {
  width: 10%;
}
.tuya-preview [data-slate-editor] .video-input-group .heightInput {
  width: 10%;
}
.tuya-preview [data-slate-editor] .video-input-group .video-upload-btn {
  height: 36px;
  padding: 0 12px;
  background: #fff;
  border: 1px dashed #cacaca;
  border-radius: 4px;
  outline: none;
}

.tuya-preview .image-align,
.tuya-preview .video-align {
  text-align: center;
  max-width: 100%;
  overflow: hidden;
}

.tuya-preview img,
.tuya-preview iframe {
  max-width: 100%;
}

.tuya-preview .ty-editor-image {
  margin: 10px 0 20px;
}

.tuya-preview .doc-title {
  font-size: 24px;
  color: #22242c;
  line-height: 33px;
  font-weight: bold;
  padding: 20px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #dedede;
  display: none;
}

.tuya-preview .tag-text {
  margin: 10px 0;
  font-size: 14px;
  color: #81828b;
  line-height: 25px;
}

.tuya-preview h2 {
  font-size: 18px;
  line-height: 28px;
  color: #22242c;
  font-weight: bold;
  margin: 10px 0;
}

.tuya-preview h3 {
  font-size: 16px;
  line-height: 27px;
  color: #22242c;
  font-weight: bold;
  margin: 10px 0;
}

.tuya-preview .tag-paragraph {
  margin: 10px 0;
  padding: 0;
  font-size: 14px;
  color: #495054;
  line-height: 25px;
}
