#write,
body {
  height: auto
}

#write,
#write h1,
#write h2,
#write h3,
#write h4,
#write h5,
#write h6,
#write p,
#write pre {
  width: inherit
}

#write,
#write h1,
#write h2,
#write h3,
#write h4,
#write h5,
#write h6,
#write ol,
#write p,
#write ul,
h1,
h2,
h3,
h4,
h5,
h6,
li {
  position: relative
}

body.d-export,
ol,
ul {
  padding-left: 30px
}

body,
hr {
  padding: 0
}

html {
  overflow-x: initial !important
}

:root {
  --bg-color: #ffffff;
  --text-color: #333333;
  --select-text-bg-color: #b5d6fc;
  --select-text-font-color: auto;
  --monospace: "Lucida Console", Consolas, "Courier", monospace;
  --title-bar-height: 20px
}

.mac-os-11 {
  --title-bar-height: 28px
}

body {
  margin: 0;
  inset: 0px;
  font-size: 1rem;
  overflow-x: hidden;
  tab-size: 4;
  background: inherit
}

iframe {
  margin: auto
}

a.url {
  word-break: break-all
}

a:active,
a:hover {
  outline: 0
}

.in-text-selection,
::selection {
  text-shadow: none;
  background: var(--select-text-bg-color);
  color: var(--select-text-font-color)
}

body.d-export {
  padding-right: 30px
}

.d-export .footnote-line,
.d-export li,
.d-export p {
  white-space: pre-wrap
}

.d-export .task-list-item input {
  pointer-events: none
}

@media screen and (max-width:500px) {
  body.d-export {
    padding-left: 0;
    padding-right: 0
  }

  #write {
    padding-left: 20px;
    padding-right: 20px
  }
}

#write li>figure:last-child {
  margin-bottom: .5rem
}

.lan_zh p::before {
  content: "\3000\3000"
}

*,
::after,
::before {
  box-sizing: border-box
}

p {
  line-height: inherit;
  orphans: 4
}

h1,
h2,
h3,
h4,
h5,
h6 {
  break-after: avoid-page;
  break-inside: avoid;
  orphans: 4;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.4;
  cursor: text
}

.hidden {
  display: none
}

a {
  cursor: pointer;
  color: #4183c4
}

li div {
  padding-top: 0
}

li .mathjax-block,
li p {
  margin: .5rem 0
}

li,
li>ol,
li>ul {
  margin: 0
}

li blockquote {
  margin: 1rem 0
}

@media print {

  .d-export #write,
  body,
  html {
    break-after: avoid
  }

  body,
  html {
    border: 1px solid transparent;
    height: 99%;
    break-before: avoid;
    font-variant-ligatures: no-common-ligatures
  }

  #write {
    margin-top: 0;
    padding-top: 0;
    border-color: transparent !important;
    padding-bottom: 0 !important
  }

  .d-export * {
    print-color-adjust: exact
  }

  .d-export #write::after {
    height: 0
  }
}

html {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  -webkit-font-smoothing: antialiased
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #333;
  line-height: 1.6
}

#write {
  word-break: normal;
  word-wrap: break-word;
  white-space: normal;
  overflow-x: visible;
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 30px 100px
}

@media only screen and (min-width:1400px) {
  #write {
    max-width: 1024px
  }
}

@media only screen and (min-width:1800px) {
  #write {
    max-width: 1200px
  }
}

#write>ol:first-child,
#write>ul:first-child {
  margin-top: 30px
}

h1 {
  font-size: 1.8em;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 1.6em;
}

h2 {
  font-size: 1.75em;
  line-height: 1.225
}

h3 {
  font-size: 1.5em;
  line-height: 1.43
}

h4 {
  font-size: 1.25em
}

blockquote p,
h5,
h6 {
  font-size: 1em
}

h6 {
  color: #777
}

blockquote,
dl,
ol,
p,
table,
ul {
  margin: .6em 0
}

hr {
  height: 2px;
  margin: 16px 0;
  background-color: #e7e7e7;
  border: 0;
  overflow: hidden;
  box-sizing: content-box
}

li p.first {
  display: inline-block
}

ol:first-child,
ul:first-child {
  margin-top: 0
}

ol:last-child,
ul:last-child {
  margin-bottom: 0
}

@media print {
  html {
    font-size: 13px
  }

  @page {
    margin: 0
  }

  body.d-export {
    padding-left: 0;
    padding-right: 0
  }

  #write {
    padding: 0
  }
}

.highlight {
  text-decoration: underline
}

blockquote {
  margin: 20px 0;
  padding: 10px 20px;
  border-left: 5px solid #ccc;
  color: #555
}

blockquote p {
  margin: 0;
  padding: 0
}

p {
  width: auto !important;
}

* {
  white-space: unset !important;
}

.table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  overflow-x: auto;
}

.table td,
.table th {
  border: 1px solid #000;
  padding: 8px;
  text-align: left;
}

.table th {
  background-color: #f2f2f2;
}