/* Shared article typography: public reader and private writing/preview surfaces. */
#editor-dialog [hidden] { display: none !important; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) li > p { margin-block: 0 .65em; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) li > :last-child { margin-bottom: 0; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) li > :is(ul,ol) { margin-block: .4em .7em; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) ul ul { list-style-type: circle; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) .article-table-wrap:focus-visible { outline: 2px solid #075b92; outline-offset: 3px; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) sup { font-size: .75em; vertical-align: super; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) sub { font-size: .75em; vertical-align: sub; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) hr { margin: 1.75em 0; border: 0; border-top: 1px solid #cad3df; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) .article-table-wrap { max-width: 100%; overflow-x: auto; margin: 1.5em 0; border: 1px solid #cad3df; border-radius: 4px; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) .article-data-table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 16px; line-height: 1.55; color: #263244; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) .article-data-table :is(th,td) { padding: 12px 14px; border: 1px solid #d6dfe8; text-align: left; vertical-align: top; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) .article-data-table th { background: #edf2f7; color: #0e1f53; font-weight: 700; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) .article-data-table caption { padding: 12px 14px; text-align: left; font-weight: 700; color: #0e1f53; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) {
  box-sizing: border-box;
  color: #263244;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.75;
  overflow-wrap: break-word;
  text-align: left;
}
body .reader-body, body .rich-editor-preview { width: 100%; max-width: 760px; margin-inline: auto; }
body #editor-dialog .professional-editor .rich-editor {
  width: 100%; max-width: 840px; margin-inline: auto; padding: 32px 40px; font-size: 18px; line-height: 1.75;
}
body :is(.reader-body, .rich-editor, .rich-editor-preview) p { margin: 0 0 1.1em; color: inherit; font-size: inherit; line-height: inherit; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) :is(h2,h3) {
  display: block; border: 0; padding: 0; margin: 1.6em 0 .65em;
  color: #0e1f53; font-family: Arial, Helvetica, sans-serif; font-size: 25px;
  font-weight: 700; line-height: 1.3; letter-spacing: normal; text-transform: none;
}
body :is(.reader-body, .rich-editor, .rich-editor-preview) h3 { font-size: 21px; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) :is(ul,ol) {
  display: block; background: transparent; border: 0; border-radius: 0;
  margin: 1em 0 1.3em; padding: 0 0 0 1.5em; color: inherit;
}
body :is(.reader-body, .rich-editor, .rich-editor-preview) ul { list-style: disc; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) ol { list-style: decimal; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) :is(ol,ul) { padding-left: 1.5em !important; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) :is(ul,ol) > li {
  display: list-item; min-height: 0; background: transparent; border: 0; border-radius: 0;
  margin: .35em 0 !important; padding: 0 0 0 .25em !important; color: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; letter-spacing: normal;
}
body :is(.reader-body, .rich-editor, .rich-editor-preview) .article-step-list li::before { content: none; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) ol > li::before { content: none !important; display: none !important; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) ol > li::marker { content: normal; color: #263244; font-weight: 400; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) ol > li { display: list-item !important; list-style: decimal; padding-left: .25em !important; }
/* Previously saved decorative blocks keep every word, with the same restrained presentation. */
body :is(.reader-body, .rich-editor, .rich-editor-preview) :is(.article-content-block,.article-card-section,.article-numbered-section,.article-closing-block) {
  display: block; background: transparent; color: inherit; border: 0; border-radius: 0; box-shadow: none; padding: 0; margin: 1.6em 0;
}
body :is(.reader-body, .rich-editor, .rich-editor-preview) .article-number-badge { display: none; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) :is(.article-numbered-section,.article-card-section) > :is(p,ul,ol) { margin-left: 0; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) :is(.article-numbered-heading,.article-closing-title) { display: block; color: #0e1f53; font-size: 25px; }
/* Match the specificity of the old dark closing-card titles on all reading surfaces. */
body :is(.reader-body, .rich-editor, .rich-editor-preview) .article-closing-block :is(.article-closing-title,.article-numbered-heading) { color: #0e1f53; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) .article-closing-summary { border: 0; padding: 0; margin: 1em 0; color: inherit; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) .article-closing-summary p { font-weight: 400; color: inherit; }
/* Institutional closing note: quiet emphasis, readable on every surface. */
body :is(.reader-body, .rich-editor, .rich-editor-preview) .article-closing-block {
  background: #edf2f7;
  border: 1px solid #d6dfe9;
  border-left: 3px solid #0aafe6;
  border-radius: 6px;
  box-shadow: none;
  padding: 24px 26px;
  margin-block: 1.75em;
  color: #263244;
}
body :is(.reader-body, .rich-editor, .rich-editor-preview) .article-closing-block :is(.article-closing-title,.article-numbered-heading) {
  font-size: 21px;
  line-height: 1.35;
  margin: 0 0 .7em;
}
body :is(.reader-body, .rich-editor, .rich-editor-preview) .article-closing-block > :last-child,
body :is(.reader-body, .rich-editor, .rich-editor-preview) .article-closing-block .article-closing-summary > :last-child { margin-bottom: 0; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) a { color: #075b92; text-decoration: underline; text-underline-offset: 3px; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) blockquote {
  background: transparent; border: 0; border-left: 3px solid #0aafe6; border-radius: 0;
  box-shadow: none; margin: 1.5em 0; padding: .2em 0 .2em 1em;
  font-size: 20px; line-height: 1.65; font-weight: 400; color: #263244;
}
body :is(.reader-body, .rich-editor, .rich-editor-preview) .article-quote-credit { font-size: 15px; color: #506078; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) figcaption { font-size: 14px; line-height: 1.5; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) .article-warning-block { border-left: 3px solid #0aafe6; padding-left: 18px; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) ul > li::marker { color: #0aafe6; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) .article-warning-block h3::before { content: none; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) :is(.article-content-block,.article-closing-block) h3 {
  color: #0e1f53; font-size: 23px; letter-spacing: normal; text-transform: none; line-height: 1.3; margin: 0 0 .7em;
}
body :is(.reader-body, .rich-editor, .rich-editor-preview) .article-closing-block p { color: #263244; font-size: inherit; font-weight: 400; }
body :is(.reader-body, .rich-editor, .rich-editor-preview) .article-content-block :is(ul,ol) { margin: 1em 0 1.3em; padding-left: 1.5em; }
@media (max-width: 640px) {
  body :is(.reader-body, .rich-editor, .rich-editor-preview) .article-closing-block { padding: 18px 16px; }
  body :is(.reader-body, .rich-editor, .rich-editor-preview) { font-size: 17px; line-height: 1.7; }
  body #editor-dialog .professional-editor .rich-editor { padding: 22px 16px; font-size: 17px; line-height: 1.7; }
  body :is(.reader-body, .rich-editor, .rich-editor-preview) :is(h2,.article-numbered-heading,.article-closing-title) { font-size: 23px; }
  body :is(.reader-body, .rich-editor, .rich-editor-preview) h3 { font-size: 20px; }
}
