/* 科目二总目录：现行模块在前，原课程记录保留作历史对照。 */
.zonghe-directory [id] { scroll-margin-top: 20px; }
.zonghe-directory h2.chapter .num { font: inherit; color: inherit; margin: 0; }
.zonghe-directory h3.section { display: block; font-size: 21px; }
.zonghe-directory h4.subsection { display: block; font-size: 16px; line-height: 1.6; border-bottom: 1px solid #d4cdb8; padding: 0 0 6px; }
.zonghe-directory h4.subsection::before { content: none; }
.zonghe-directory .chapter-directory { margin: 22px 0; }
.zonghe-directory .chapter-directory > p { font-size: 13px; }
.zonghe-directory .chapter-directory nav { margin: 10px 0 20px; }
.zonghe-directory .chapter-directory nav li.h3 { padding-left: 0; line-height: 1.8; }
.zonghe-directory table.tbl th, .zonghe-directory table.tbl td { vertical-align: middle; }
.zonghe-directory table.tbl th { background: #eee; color: #222; letter-spacing: 0; }
.zonghe-directory .tscroll { max-width: 100%; overflow-x: auto; }
.zonghe-directory .source-label { font-size: 12px; color: #6b6358; }
.zonghe-directory .emphasis-mark { font-size: .85em; white-space: nowrap; }
.zonghe-directory a:focus-visible { outline: 2px solid #1e40af; outline-offset: 3px; }
@media screen and (min-width: 900px) {
  .zonghe-directory .chapter-directory nav ol { columns: 2; column-gap: 24px; }
  .zonghe-directory .chapter-directory nav li { break-inside: avoid; }
}
@media screen and (max-width: 640px) {
  .zonghe-directory h3.section { font-size: 19px; }
  .zonghe-directory #course-framework + .tscroll table { min-width: 720px; }
}
@media print {
  @page { size: A4; margin: 14mm 15mm 17mm; }
  .zonghe-directory { --ff-body: Arial, "Hiragino Sans GB", sans-serif; --ff-heading: Arial, "Hiragino Sans GB", sans-serif; font-size: 10pt; color: #111; background: #fff; }
  .zonghe-directory .page { background: #fff; }
  .zonghe-directory h2.chapter { margin: 0 0 8px; border-color: #333; font-size: 18pt; }
  .zonghe-directory .lead { font-size: 9pt; line-height: 1.5; padding: 6px 8px; margin: 8px 0; background: #fff; }
  .zonghe-directory .directory-front { break-after: page; page-break-after: always; }
  .zonghe-directory .module-directory { columns: 2; column-gap: 20px; }
  .zonghe-directory .module-directory h3 { font-size: 10pt; margin: 8px 0 5px; padding: 3px 6px; background: #fff; border-color: #555; break-after: avoid; }
  .zonghe-directory .chapter-directory { break-inside: avoid; margin: 0 0 8px; }
  .zonghe-directory .chapter-directory h4 { font-size: 10pt; line-height: 1.4; margin: 5px 0 2px; padding-bottom: 2px; color: #111; border-color: #aaa; break-after: avoid; }
  .zonghe-directory .chapter-directory > p { font-size: 8.5pt; line-height: 1.4; margin: 2px 0; }
  .zonghe-directory .chapter-directory nav { padding: 3px 6px; margin: 3px 0; background: #fff; border-color: #ccc; }
  .zonghe-directory .chapter-directory nav li.h3 { font-size: 9pt; line-height: 1.4; margin: 0; }
  .zonghe-directory .directory-appendix h3 { font-size: 14pt; background: #fff; border-color: #555; break-after: avoid; }
  .zonghe-directory p { font-size: 10pt; line-height: 1.6; }
  .zonghe-directory table.tbl { font-size: 10pt; line-height: 1.6; }
  .zonghe-directory table.tbl th, .zonghe-directory table.tbl td { padding: 5px 7px; border-color: #aaa; }
  .zonghe-directory table.tbl th { background: #eee !important; color: #111; }
  .zonghe-directory table.tbl td.label, .zonghe-directory table.tbl tr:nth-child(even) td { background: #fff !important; }
  .zonghe-directory .tscroll { overflow: visible; }
  .zonghe-directory thead { display: table-header-group; break-after: avoid; }
  .zonghe-directory tr { break-inside: avoid; }
  .zonghe-directory .recap { background: #fff; color: #111; border: 1px solid #aaa; border-left: 3px solid #555; box-shadow: none; font-size: 10pt; line-height: 1.6; }
  .zonghe-directory .recap .title { color: #111; font-size: 11pt; }
  .zonghe-directory .source-label { font-size: 9pt; }
  .zonghe-directory .kw, .zonghe-directory .df, .zonghe-directory .gd, .zonghe-directory .bd, .zonghe-directory .kw-w, .zonghe-directory .gd-w, .zonghe-directory .bd-w, .zonghe-directory a { color: #111 !important; }
}
@media print {
  .zonghe-directory .chapter-directory nav li.h3 { padding-top: 0; padding-bottom: 0; }
  .zonghe-directory .chapter-directory > p { line-height: 1.3; margin: 1px 0; }
  .zonghe-directory .chapter-directory { margin-bottom: 6px; }
  .zonghe-directory .chapter-directory nav { padding: 2px 5px; margin: 2px 0; }
  .zonghe-directory .historical-record { break-inside: avoid; }
}
@media print {
  .zonghe-directory .module-directory { columns: 3; column-gap: 16px; }
}
.zonghe-directory .chapter-count { white-space: nowrap; }
.zonghe-directory table.tbl .gd { display: inline-block; white-space: nowrap; }
