.chapter-number::before {
  content: "第";
}

.chapter-number::after {
  content: "章";
}

em {
  font-style: normal;
  color: #4a5568;
}

#quarto-content img {
  max-width: 100%;
  height: auto;
}

/* 表头单元格顶对齐：带 <br> 的多行表头旁，短表头（如"年"）与长表头顶部齐平；
   浏览器默认 th 垂直居中 */
th {
  vertical-align: top;
}

/* 表尾注释（display_df 的"截至"行、章节内表格注，独立于表格之外的段落）：
   小字弱化于题注；灰色由行内 em 提供；
   负上边距抵消 float/表格的下边距，使注释贴近表格而非下文 */
.tbl-note {
  font-size: 0.8rem;
  margin-top: -0.8em;
  margin-bottom: 1em;
}

/* 引言/题词的署名行右对齐（PDF 端另用 =latex 的 flushright，见章节内用法） */
.epigraph-author {
  text-align: right;
}

.csl-bib-body {
  font-size: 0.9em;
  line-height: 1.6;
  color: #4a5568;
}

.csl-entry {
  margin-bottom: 0.8em;
  padding-left: 2em;
  text-indent: -2em;
}

.csl-entry a {
  color: #2b6cb0;
  text-decoration: none;
}

.csl-entry a:hover {
  text-decoration: underline;
}
