:root {
  color-scheme: light;
  font-family: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #18243a;
  background: #f6f8fc;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
.bar {
  padding: 12px max(20px, calc((100% - 1032px)/2));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-bottom: 1px solid #e5eaf2; background: #fff;
}
.brand { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 720; }
.logo { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; background: #315be7; color: #fff; font-weight: 750; }
.mode { color: #4b5b78; font-size: 12px; background: #f1f4fa; border-radius: 99px; padding: 5px 11px; }
.paper {
  width: min(calc(100% - 36px), 860px); min-height: 64vh; margin: clamp(18px, 4vw, 54px) auto 48px;
  padding: clamp(24px, 7vw, 72px); border: 1px solid #e5eaf2; border-radius: 12px; background: #fff;
}
h1 { font-size: clamp(30px, 5.5vw, 44px); line-height: 1.22; margin: 0 0 28px; letter-spacing: -.035em; overflow-wrap: anywhere; }
article { font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
article h2, article h3, article h4, article h5, article h6 { line-height: 1.4; margin: 1.4em 0 .5em; }
article p { margin: 0 0 .8em; }
article a { color: #2453c7; }
article ul, article ol { padding-inline-start: 1.55em; }
article li p { margin-bottom: .25em; }
article blockquote, .callout { margin: 1em 0; padding: .65em .95em; border-inline-start: 3px solid #b2c2e8; }
.callout { border-radius: 7px; background: #f0f4ff; border-color: #5479f0; }
article blockquote > :last-child, .callout > :last-child { margin-bottom: 0; }
article pre { overflow: auto; padding: 1em; border-radius: 7px; background: #f1f4f8; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; }
:not(pre) > code { border-radius: 4px; background: #edf1f7; padding: .12em .33em; }
hr { border: 0; border-top: 1px solid #e5eaf2; margin: 1.6em 0; }
.table-wrap { overflow: auto; margin: .8em 0; }
table { border-collapse: collapse; min-width: 100%; }
td, th { border: 1px solid #e0e6f1; padding: .4em .65em; min-width: 70px; text-align: start; vertical-align: top; }
th { background: #f2f5fb; }
td > :last-child, th > :last-child { margin-bottom: 0; }
article .tasks { list-style: none; padding-inline-start: .25em; }
.task { display: flex; align-items: baseline; gap: .55em; }
.check { display: inline-grid; place-items: center; width: 15px; height: 15px; border: 1px solid #a1aec5; border-radius: 4px; font-size: 11px; line-height: 1; flex: none; }
.done > .check { background: #315be7; border-color: #315be7; color: #fff; }
@media (max-width: 560px) {
  :root { background: #fff; }
  .paper { width: 100%; border: 0; margin: 0; }
}
