/* Shared by the protocol editor and public/preview protocol bodies only. */
:is(.protocol-body, .protocol-editor .ql-editor) {
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

:is(.protocol-body, .protocol-editor .ql-editor) p {
  margin: 0 0 12px;
  text-indent: 2em;
}

:is(.protocol-body, .protocol-editor .ql-editor) :is(h2, h3) {
  margin: 24px 0 12px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  text-indent: 0;
}

/* The protocol's opening paragraph contains its update/effective dates. */
:is(.protocol-body, .protocol-editor .ql-editor) > p:first-child {
  font-size: 14px;
  line-height: 1.6;
  text-indent: 0;
}

:is(.protocol-body, .protocol-editor .ql-editor) :is(ol, ul) {
  margin: 0 0 12px;
  padding-inline-start: 1.5em;
  text-indent: 0;
}

:is(.protocol-body, .protocol-editor .ql-editor) :is(ol, ul) > li {
  margin: 0 0 8px;
  padding-inline-start: 0;
  font-size: 16px;
  line-height: 1.8;
  text-indent: 0;
}

:is(.protocol-body, .protocol-editor .ql-editor) li p {
  margin: 0;
  text-indent: 0;
}
