:root {
  color-scheme: light;
  --bg: #edf1f6;
  --panel: #fff;
  --soft: #f6f8fb;
  --text: #172033;
  --muted: #667085;
  --line: #d7dee9;
  --accent: #2856b6;
  --document_gutter: clamp(18px, 4vw, 38px);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.document_footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border, #d8dee8);
}

.document_footer a {
  color: inherit;
  font-weight: 650;
}
* { box-sizing: border-box; }
html { overflow-x: hidden; }
body {
  display: grid;
  grid-template-columns: minmax(0, 1100px);
  justify-content: center;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  padding: clamp(16px, 4vw, 48px);
  overflow-wrap: anywhere;
}
body > *, .markdown_content > * { min-width: 0; width: 100%; max-width: 100%; margin-right: 0; margin-left: 0; }
.markdown_content { min-width: 0; width: 100%; max-width: 100%; }
body > h1:first-of-type, .markdown_content > h1:first-of-type { margin-top: 0; border-radius: 14px 14px 0 0; background: #143777; color: #fff; padding: 22px var(--document_gutter); }
body > h1:first-of-type ~ *, .markdown_content > h1:first-of-type ~ * { background: var(--panel); padding-right: var(--document_gutter); padding-left: var(--document_gutter); }
body > h1:first-of-type ~ *:last-child, .markdown_content > h1:first-of-type ~ *:last-child { border-radius: 0 0 14px 14px; padding-bottom: 34px; }
h2 { margin-top: 0; border-top: 1px solid var(--line); color: #143777; padding-top: 28px; }
h3, h4 { color: #29416f; }
p, li { min-width: 0; line-height: 1.68; }
a { color: var(--accent); overflow-wrap: anywhere; }
code { border-radius: 4px; background: #edf1f6; color: #133e89; padding: .08em .3em; overflow-wrap: anywhere; word-break: break-word; }
pre { max-width: 100%; overflow-x: auto; }
pre code { overflow-wrap: normal; word-break: normal; }
blockquote { min-width: 0; max-width: 100%; margin: 12px 0; border-left: 4px solid var(--accent); background: #e8efff; padding: 10px 16px; overflow-wrap: anywhere; }
body > blockquote, .markdown_content > blockquote { padding-right: var(--document_gutter); padding-left: calc(var(--document_gutter) - 4px); }
blockquote > :first-child { margin-top: 0; }
blockquote > :last-child { margin-bottom: 0; }
img, svg, video { max-width: 100%; height: auto; }
table { display: block; width: 100%; max-width: 100%; border-collapse: collapse; overflow-x: auto; font-size: 13px; }
th, td { border: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; line-height: 1.5; }
th { background: var(--soft); }
@media (max-width: 760px) { body { padding: 0; } body > h1:first-of-type, .markdown_content > h1:first-of-type { border-radius: 0; } body > h1:first-of-type ~ *:last-child, .markdown_content > h1:first-of-type ~ *:last-child { border-radius: 0; } }
