/* =========================================================
   Syncfusion Rich Text Editor (RTE) – DataFlex Integration
   Scoped internals ONLY
   ========================================================= */

/* Base editor sizing */
.sfWebRichTextEditor .e-richtexteditor,
.sfWebRichTextEditor .e-rte-content,
.sfWebRichTextEditor .e-rte-content .e-content {
  width: 100%;
  box-sizing: border-box;
}

/* Choose one height model: */
.sfWebRichTextEditor .e-rte-content .e-content { height: 100%; }   /* fill container */
/* .sfWebRichTextEditor .e-rte-content .e-content { height: auto; }  /* grow/shrink */

/* Selection highlight */
.sfWebRichTextEditor .e-richtexteditor ::selection {
  color: #fff;
  background: #0072C6;
}

/* List defaults */
.sfWebRichTextEditor .e-rte-content ul { list-style: disc; }
.sfWebRichTextEditor .e-rte-content ol { list-style: decimal; }

/* Nicer list layout inside editor content */
.sfWebRichTextEditor .e-rte-content ul,
.sfWebRichTextEditor .e-rte-content ol {
  list-style-position: inside;
  padding-left: 20px;
  margin-left: 0;
}
.sfWebRichTextEditor .e-rte-content table td ul,
.sfWebRichTextEditor .e-rte-content table th ul,
.sfWebRichTextEditor .e-rte-content table td ol,
.sfWebRichTextEditor .e-rte-content table th ol {
  list-style-position: inside;
  padding-left: 20px;
  margin-left: 0;
}

/* Table borders & selected cells */
.sfWebRichTextEditor .e-rte-content .e-content table,
.sfWebRichTextEditor .e-rte-content .e-content td,
.sfWebRichTextEditor .e-source-content .e-content table {
  border: 1px solid #445566;
}
.sfWebRichTextEditor .e-rte-content .e-content td.e-cell-select,
.sfWebRichTextEditor .e-rte-content .e-content th.e-cell-select {
  border: 1px double #3C78EF;
}

/* Superscript / subscript */
.sfWebRichTextEditor .e-rte-content sup { vertical-align: super; font-size: smaller; }
.sfWebRichTextEditor .e-rte-content sub { vertical-align: sub;   font-size: smaller; }
