/* 全局段落行距（教材风） */
.md-typeset p {
  margin: 0.4em 0;
  line-height: 1.5;
}

/* 列表行距压缩 */
.md-typeset ul li,
.md-typeset ol li {
  margin-bottom: 0.15em;
}

/* 标题与正文间距 */
.md-typeset h2 {
  margin-top: 1.2em;
  margin-bottom: 0.6em;
}

.md-typeset h3 {
  margin-top: 1em;
  margin-bottom: 0.4em;
}

/* 表格整体样式 */
.md-typeset table {
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 0.95em;
}

/* 表头样式 */
.md-typeset thead th {
  background-color: #e8eaf6;   /* 浅灰蓝，教材感 */
  font-weight: 600;
  border: 1px solid #bbb;
  padding: 0.4em 0.6em;
}

/* 单元格 */
.md-typeset td {
  border: 1px solid #ccc;
  padding: 0.35em 0.6em;
}

/* ✅ 隔行变色（重点） */
.md-typeset tbody tr:nth-child(even) {
  background-color: #f5f5f5;
}

/* 鼠标悬停（可选） */
.md-typeset tbody tr:hover {
  background-color: #e0e0e0;
}



.btn-mini {
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  text-decoration: none;
}


.btn-mini:hover {
  opacity: 0.85;
}
