
/* /node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/styles/kimbie-light.css */
pre code.hljs {
  display: block;
  overflow-x: auto;
  padding: 1em
}
code.hljs {
  padding: 3px 5px
}
/*
    Name:     Kimbie (light)
    Author:   Jan T. Sott
    License:  Creative Commons Attribution-ShareAlike 4.0 Unported License
    URL:      https://github.com/idleberg/Kimbie-highlight.js
*/
.hljs {
  background: #fbebd4;
  color: #84613d
}
/* Kimbie Comment */
.hljs-comment,
.hljs-quote {
  color: #a57a4c
}
/* Kimbie Red */
.hljs-variable,
.hljs-template-variable,
.hljs-tag,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class,
.hljs-regexp,
.hljs-meta {
  color: #dc3958
}
/* Kimbie Orange */
.hljs-number,
.hljs-built_in,
.hljs-literal,
.hljs-type,
.hljs-params,
.hljs-deletion,
.hljs-link {
  color: #f79a32
}
/* Kimbie Green */
.hljs-string,
.hljs-symbol,
.hljs-bullet,
.hljs-addition {
  color: #889b4a
}
/* Kimbie Purple */
.hljs-keyword,
.hljs-selector-tag,
.hljs-function {
  color: #98676a
}
/* Kimbie Yellow */
.hljs-title,
.hljs-section,
.hljs-attribute {
  color: #f06431
}
.hljs-emphasis {
  font-style: italic
}
.hljs-strong {
  font-weight: bold
}

/* /src/themes/markdown-style/reset.css */
/*
  Josh's Custom CSS Reset (Scoped for #bm-md)
  https://www.joshwcomeau.com/css/custom-css-reset/
*/

#bm-md *,
#bm-md *::before,
#bm-md *::after {
  box-sizing: border-box;
}

#bm-md * {
  margin: 0;
}

#bm-md {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-autospace: normal;
  font-family: sans-serif;
  text-align: left;
}

#bm-md img,
#bm-md picture,
#bm-md video,
#bm-md canvas,
#bm-md svg {
  display: block;
  max-width: 100%;
}

#bm-md input,
#bm-md button,
#bm-md textarea,
#bm-md select {
  font: inherit;
}

#bm-md p,
#bm-md h1,
#bm-md h2,
#bm-md h3,
#bm-md h4,
#bm-md h5,
#bm-md h6 {
  overflow-wrap: break-word;
}

#bm-md figure.figure-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#bm-md figure.figure-table table {
  margin: 0;
}

/* ========================================
   Print Styles - 打印/导出 PDF 分页优化
   ======================================== */
@media print {
  #bm-md {
    padding: 4em;
  }

  /* 防止块级元素被分页切割 */
  #bm-md p,
  #bm-md li,
  #bm-md blockquote,
  #bm-md pre,
  #bm-md img,
  #bm-md figure,
  #bm-md table,
  #bm-md tr,
  #bm-md dl,
  #bm-md details,
  #bm-md .markdown-alert,
  #bm-md .math-display {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  /* 标题后不分页，保持与内容连贯 */
  #bm-md h1,
  #bm-md h2,
  #bm-md h3,
  #bm-md h4,
  #bm-md h5,
  #bm-md h6 {
    break-after: avoid;
    page-break-after: avoid;
  }
}


/* /src/themes/markdown-style/green-simple.css */
/**
 * GreenSimple Theme - Clean and simple green accent style
 */

#bm-md {
  padding: 1em;
  font-family:
    PingFang SC,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Helvetica Neue',
    'Hiragino Sans GB',
    'Microsoft YaHei UI',
    'Microsoft YaHei',
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.75;
  word-wrap: break-word;
  color: #2c2c2c;
}

#bm-md h1,
#bm-md h2,
#bm-md h3,
#bm-md h4,
#bm-md h5,
#bm-md h6 {
  color: #2bae85;
  font-weight: 700;
  line-height: 1.4em;
  word-break: break-all;
  font-family:
    PingFang SC,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Helvetica Neue',
    'Hiragino Sans GB',
    'Microsoft YaHei UI',
    'Microsoft YaHei',
    Arial,
    sans-serif;
}

#bm-md h1 {
  font-size: 32px;
  margin-top: 0;
  margin-bottom: 24px;
}

#bm-md h2 {
  font-size: 24px;
  margin-top: 36px;
  margin-bottom: 24px;
}

/* 首个标题无上边距 */
#bm-md > h1:first-child,
#bm-md > h2:first-child,
#bm-md > h3:first-child,
#bm-md > h4:first-child,
#bm-md > h5:first-child,
#bm-md > h6:first-child {
  margin-top: 0;
}

#bm-md h3 {
  font-size: 20px;
  margin-top: 28px;
  margin-bottom: 20px;
}

#bm-md h4,
#bm-md h5,
#bm-md h6 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 16px;
  color: #25936c;
}

#bm-md p {
  margin: 5px 0 20px;
  line-height: 1.75em;
  text-align: start;
  font-size: 16px;
  font-weight: 400;
  color: #2c2c2c;
  word-break: break-all;
}

#bm-md p:last-child {
  margin-bottom: 0;
}

#bm-md strong,
#bm-md b {
  font-weight: 700;
  color: #2bae85;
}

#bm-md em,
#bm-md i {
  font-style: italic;
}

#bm-md del,
#bm-md s,
#bm-md strike {
  text-decoration: line-through;
  color: #999;
}

#bm-md mark {
  background: #fff3cd;
  padding: 2px 4px;
  border-radius: 2px;
}

#bm-md small {
  font-size: 0.875em;
  color: #666;
}

#bm-md sup {
  vertical-align: super;
  font-size: 0.75em;
  line-height: 0;
}

#bm-md sub {
  vertical-align: sub;
  font-size: 0.75em;
  line-height: 0;
}

#bm-md ins {
  text-decoration: underline;
  background: #d4edda;
  padding: 2px 4px;
}

#bm-md q {
  quotes: '「' '」' '『' '』';
  font-style: italic;
  color: #666;
}

#bm-md q::before {
  content: open-quote;
}

#bm-md q::after {
  content: close-quote;
}

#bm-md var {
  font-family: 'SF Mono', Consolas, Monaco, 'Courier New', monospace;
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 4px;
  border-radius: 2px;
  font-size: 0.9em;
}

#bm-md samp,
#bm-md tt {
  font-family: 'SF Mono', Consolas, Monaco, 'Courier New', monospace;
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 4px;
  border-radius: 2px;
  font-size: 0.9em;
}

#bm-md abbr[title] {
  text-decoration: underline dotted;
  cursor: help;
}

#bm-md a {
  color: #2bae85;
  text-decoration: none;
  border-bottom: 1px solid #2bae85;
}

#bm-md a:hover {
  border-bottom-color: #23956b;
}

#bm-md ruby,
#bm-md rt,
#bm-md rp {
  line-height: 1.4;
}

#bm-md ul,
#bm-md ol {
  margin: 8px 0;
  padding-left: 20px;
  list-style-type: disc;
  color: #2bae85;
}

#bm-md ol {
  list-style-type: decimal;
}

#bm-md li {
  margin: 0;
  line-height: 1.6;
  padding-left: 0;
  font-family:
    PingFang SC,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Helvetica Neue',
    'Hiragino Sans GB',
    'Microsoft YaHei UI',
    'Microsoft YaHei',
    Arial,
    sans-serif;
}

#bm-md li > p {
  margin: 6px 0;
}

#bm-md li > ul,
#bm-md li > ol {
  margin: 4px 0;
}

#bm-md ul ul,
#bm-md ul ul ul {
  color: #25936c;
}

#bm-md ul.contains-task-list {
  list-style-type: none;
  padding-left: 0;
}

#bm-md li.task-list-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 6px 0;
}

#bm-md input[type='checkbox'] {
  margin-top: 4px;
  cursor: pointer;
}

#bm-md blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  border-left: 4px solid #2bae85;
  background: rgba(43, 174, 133, 0.05);
  border-radius: 0 4px 4px 0;
}

#bm-md blockquote p {
  margin: 8px 0;
  color: #666;
}

#bm-md blockquote p:last-child {
  margin-bottom: 0;
}

#bm-md blockquote blockquote {
  margin-top: 12px;
  border-left-color: #25936c;
  background: rgba(37, 147, 108, 0.05);
}

#bm-md code {
  font-family: 'SF Mono', Consolas, Monaco, 'Courier New', monospace;
  font-size: 14px;
  padding: 2px 4px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 2px;
  color: #2c2c2c;
}

#bm-md pre {
  margin: 20px 0;
  padding: 0;
  background: #f6faf8;
  border: 1px solid #d4e5de;
  border-left: 3px solid #2bae85;
  border-radius: 4px;
  overflow: hidden;
}

#bm-md pre code {
  display: block;
  padding: 16px 20px;
  background: transparent;
  color: #2c2c2c;
  font-family: 'SF Mono', Consolas, Monaco, 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.6;
  border: none;
  border-radius: 0;
  overflow-x: auto;
}

#bm-md table {
  width: 100%;
  margin: 16px 0;
  border-collapse: collapse;
  font-size: 15px;
}

/* 表头首行样式（替代 thead） */
#bm-md tr:first-child th {
  background: #f8f9fa;
  border-bottom: 2px solid #2bae85;
}

#bm-md th {
  padding: 12px;
  text-align: left;
  font-weight: 700;
  color: #2c2c2c;
  border-bottom: 1px solid #e0e0e0;
}

#bm-md td {
  padding: 12px;
  border-bottom: 1px solid #e0e0e0;
  color: #2c2c2c;
}

#bm-md tbody tr:nth-child(even) {
  background: #f8f9fa;
}

#bm-md tbody tr:hover {
  background: rgba(43, 174, 133, 0.05);
}

#bm-md .frontmatter-table {
  margin: 16px 0;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

#bm-md .frontmatter-table td {
  padding: 10px 16px;
  border: none;
  border-bottom: 1px solid #e0e0e0;
}

#bm-md .frontmatter-table tr:last-child td {
  border-bottom: none;
}

#bm-md .frontmatter-key {
  font-weight: 700;
  color: #2bae85;
  background: rgba(43, 174, 133, 0.05);
  width: 140px;
}

#bm-md .frontmatter-value {
  color: #2c2c2c;
}

#bm-md hr {
  border: none;
  height: 2px;
  background-color: #2bae85;
  background: linear-gradient(to right, transparent, #2bae85, transparent);
  margin: 32px 0;
}

#bm-md img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  margin: 20px 0;
}

#bm-md picture {
  display: block;
  max-width: 100%;
}

#bm-md picture img {
  display: block;
  width: 100%;
  height: auto;
}

#bm-md figure {
  margin: 20px 0;
}

#bm-md figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

#bm-md figcaption {
  text-align: center;
  margin-top: 8px;
  font-size: 14px;
  color: #666;
  font-style: italic;
}

#bm-md .footnotes {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #e0e0e0;
}

#bm-md .footnotes ol {
  list-style: decimal;
  padding-left: 24px;
  color: #2c2c2c;
}

#bm-md .footnote-ref {
  color: #2bae85;
  text-decoration: none;
  border-bottom: 1px dotted #2bae85;
  cursor: pointer;
}

#bm-md .footnote-backref,
#bm-md .data-footnote-backref {
  color: #2bae85;
  text-decoration: none;
  font-size: 0.875em;
}

#bm-md dl {
  margin: 16px 0;
}

#bm-md dt {
  font-weight: 700;
  color: #2bae85;
  margin: 8px 0 4px;
}

#bm-md dd {
  margin: 4px 0 16px 20px;
  color: #2c2c2c;
  line-height: 1.6;
}

#bm-md kbd {
  display: inline-block;
  padding: 2px 6px;
  font-family: 'SF Mono', Consolas, Monaco, 'Courier New', monospace;
  font-size: 12px;
  line-height: 1.4;
  color: #2c2c2c;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

#bm-md .markdown-alert {
  margin: 16px 0;
  padding: 16px;
  border-left: 4px solid;
  border-radius: 4px;
  background: #f8f9fa;
}

#bm-md .markdown-alert-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 16px;
}

#bm-md .markdown-alert p {
  margin: 8px 0;
  font-size: 14px;
}

#bm-md .markdown-alert-note {
  border-left-color: #2bae85;
  background: rgba(43, 174, 133, 0.05);
}

#bm-md .markdown-alert-note .markdown-alert-title {
  color: #2bae85;
}

#bm-md .markdown-alert-tip {
  border-left-color: #35cd4b;
  background: rgba(53, 205, 75, 0.05);
}

#bm-md .markdown-alert-tip .markdown-alert-title {
  color: #35cd4b;
}

#bm-md .markdown-alert-important {
  border-left-color: #fdbc40;
  background: rgba(253, 188, 64, 0.05);
}

#bm-md .markdown-alert-important .markdown-alert-title {
  color: #fdbc40;
}

#bm-md .markdown-alert-warning {
  border-left-color: #fc625d;
  background: rgba(252, 98, 93, 0.05);
}

#bm-md .markdown-alert-warning .markdown-alert-title {
  color: #fc625d;
}

#bm-md .markdown-alert-caution {
  border-left-color: #e57373;
  background: rgba(229, 115, 115, 0.05);
}

#bm-md .markdown-alert-caution .markdown-alert-title {
  color: #e57373;
}

#bm-md .math-inline {
  font-family: 'SF Mono', Consolas, Monaco, 'Courier New', monospace;
  background: rgba(0, 0, 0, 0.03);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
}

#bm-md .math-display {
  display: block;
  margin: 16px 0;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 4px;
  overflow-x: auto;
  font-size: 1em;
}

#bm-md details {
  margin: 16px 0;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #f8f9fa;
}

#bm-md summary {
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 700;
  color: #2bae85;
  user-select: none;
}

#bm-md summary:hover {
  background: rgba(43, 174, 133, 0.05);
}

#bm-md details[open] summary {
  border-bottom: 1px solid #e0e0e0;
}

#bm-md details > div {
  padding: 16px;
}

#bm-md iframe,
#bm-md video {
  display: block;
  max-width: 100%;
  border-radius: 4px;
  margin: 16px 0;
}

#bm-md .meta {
  font-size: 12px;
  color: #999;
  margin: 8px 0;
  text-align: center;
}

#bm-md time {
  color: #999;
  font-size: 12px;
}

#bm-md.indent-first-line p {
  text-indent: 2em;
}

#bm-md.indent-first-line p:first-of-type {
  text-indent: 0;
}
