/* How text written in the editor looks when it is read, and inside the editor while it is written (same rules, so what you see is what students get).
   Used on the student site and in the admin, in dark and bright themes, so it borrows the page's own text colour and only uses neutral greys. */
.rt { overflow-wrap: anywhere; }
.rt > :first-child { margin-top: 0; }
.rt > :last-child { margin-bottom: 0; }
.rt p { margin: 0 0 .6em; }
.rt h2 { font-size: 1.3em; line-height: 1.3; margin: .9em 0 .35em; }
.rt h3 { font-size: 1.12em; line-height: 1.3; margin: .8em 0 .3em; }
.rt ul, .rt ol { margin: .3em 0 .6em; padding-left: 1.5em; }
.rt ul { list-style: disc; }
.rt ol { list-style: decimal; }
.rt li { margin: .2em 0; }
.rt a { color: #7c5cf6; text-decoration: underline; }
.rt blockquote { margin: .6em 0; padding: .3em 0 .3em .9em; border-left: 4px solid rgba(139, 92, 246, .7); opacity: .92; }
.rt sup, .rt sub { font-size: .72em; line-height: 0; }
/* A wide table scrolls sideways inside its own box on a phone; the page itself never does. min-width undoes the admin's rule for its big list tables. */
.rt table { display: block; width: 100%; min-width: 0; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: .6em 0; padding-bottom: 1px; }
.rt table tr th, .rt table tr td { min-width: 3em; padding: 6px 10px; border: 1px solid rgba(128, 128, 128, .5); vertical-align: top; text-align: left; font-size: inherit; letter-spacing: 0; text-transform: none; color: inherit; }
.rt th { font-weight: 700; background: rgba(128, 128, 128, .14); }
.rt .ta-c { text-align: center; }
/* An empty cell keeps the height of one line, so an empty row does not collapse. */
.rt td:empty::after, .rt th:empty::after { content: "\00a0"; }
