:root {
  --paper: #F6F4EF;
  --ink: #16181D;
  --ink-2: #5A6068;
  --deep: #23303C;
  --accent: #B23A48;
  --serial: #2E7D5B;
  --done: #5B6470;
  --pause: #9A6A1E;
  --line: #DCD8CF;
  --serif: "Noto Serif SC", "Songti SC", SimSun, Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1180px;
  --read: 760px;
}

/* ============================================================
   base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.site-body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0;
  line-height: 1.35;
}

p {
  margin: 0 0 0.85em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--deep);
  text-decoration: none;
  transition: color 160ms ease;
}

a:hover {
  color: var(--accent);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

table {
  border-collapse: collapse;
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================================
   layout — 全站外壳
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 64px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--wrap);
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand:hover {
  color: var(--deep);
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--ink);
  content: "";
  transform: translateX(-50%);
}

.nav-toggle-bar {
  top: 50%;
  margin-top: -1px;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  display: inline-block;
  padding: 6px 0;
  font-size: 14.5px;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--ink);
}

.nav-link.is-current {
  color: var(--ink);
  font-weight: 700;
  border-bottom-color: var(--accent);
}

.site-main {
  display: block;
}

.section-inner,
.page-shell,
.page-container,
.container {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

.inner-main .breadcrumb,
.inner-main .page-header,
.inner-main .page-head,
.inner-main .module,
.inner-main .section,
.inner-main .page-intro,
.inner-main .page-title-block,
.inner-main .boundary-summary,
.inner-main .boundary-detail,
.inner-main .correction-scope,
.inner-main .boundary-faq,
.inner-main .ledger-purpose,
.inner-main .ledger-types,
.inner-main .ledger-groups,
.inner-main .ledger-follow,
.inner-main .related-bar,
.inner-main .related-links,
.inner-main .entry-bar {
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

.inner-main .page-shell,
.inner-main .page-container {
  padding-left: 0;
  padding-right: 0;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding-top: 22px;
  padding-bottom: 4px;
  font-size: 13px;
  color: var(--ink-2);
}

.breadcrumb a {
  color: var(--ink-2);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

/* 页面标题区 */
.page-header {
  padding-top: 10px;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--deep);
}

.page-title {
  font-size: 34px;
  line-height: 1.28;
  color: var(--ink);
  max-width: 22em;
}

/* 内页导语段 */
.page-head {
  padding-top: 26px;
  padding-bottom: 26px;
}

.page-lead,
.page-lede {
  max-width: var(--read);
  font-size: 15.5px;
  color: var(--ink);
  margin-bottom: 0.7em;
}

.page-meta,
.page-note,
.page-fields-note,
.page-fields-hint,
.page-field-hint,
.page-hint {
  max-width: var(--read);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
  padding-left: 12px;
  border-left: 2px solid var(--line);
}

/* 内页主模块通用 */
.module,
.section {
  padding-top: 34px;
  padding-bottom: 34px;
  border-top: 1px solid var(--line);
}

.page-head + .module,
.page-head + .section,
.page-intro + .module,
.page-title-block + .boundary-summary,
.page-head + .ledger-purpose {
  border-top: 0;
}

.module-title,
.section-title,
.module > h2,
.section > .container > h2,
.boundary-summary > h2,
.boundary-detail > h2,
.correction-scope > h2,
.boundary-faq > h2,
.ledger-purpose > h2,
.ledger-types > h2,
.ledger-groups > h2,
.ledger-follow > h2,
.insight-method > h2,
.insight-entries > h2,
.insight-table > h2,
.related-bar > h2,
.related-links > h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.module-desc,
.section-desc,
.section-intro {
  max-width: var(--read);
  font-size: 14.5px;
  color: var(--ink-2);
  margin-bottom: 20px;
}

.module-foot {
  margin-top: 18px;
  font-size: 13.5px;
}

.module-foot a {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

/* 图片 */
.module-figure,
.catalog-figure,
.ledger-figure,
.flow-figure,
.boundary-figure,
.insight-figure {
  margin: 0 0 22px;
  max-width: 100%;
}

.module-figure img,
.catalog-figure img,
.ledger-figure img,
.flow-figure img,
.boundary-figure img,
.insight-figure img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #EDEAE3;
}

/* 表格 */
.table-scroll,
.table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--deep);
  border-bottom: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}

.table-scroll::-webkit-scrollbar,
.table-wrap::-webkit-scrollbar {
  height: 8px;
}

.table-scroll::-webkit-scrollbar-thumb,
.table-wrap::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 4px;
}

.data-table {
  width: 100%;
  min-width: 640px;
  font-size: 13.5px;
  line-height: 1.65;
}

.data-table caption.table-caption {
  caption-side: top;
  text-align: left;
  font-size: 12.5px;
  color: var(--ink-2);
  padding: 8px 0;
}

.data-table thead th {
  text-align: left;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-2);
  padding: 12px 14px;
  background: transparent;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.data-table tbody th,
.data-table tbody td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink);
}

.data-table tbody th {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.data-table tbody tr:hover th,
.data-table tbody tr:hover td {
  background: #EFECE4;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table td a,
.data-table th a {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
}

.cell-code {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* 状态徽标 */
.status-badge,
.status {
  display: inline-block;
  font-size: 12px;
  line-height: 1.5;
  padding: 2px 8px;
  border-radius: 2px;
  border: 1px solid currentColor;
  white-space: nowrap;
  font-family: var(--sans);
}

.status-serial,
.status-ongoing {
  color: var(--serial);
}

.status-done,
.status-completed {
  color: var(--done);
}

.status-pause,
.status-paused {
  color: var(--pause);
}

/* 相关入口条 */
.related-links {
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
}

.related-links-label {
  font-size: 12.5px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}

.related-links-item {
  font-size: 13.5px;
  color: var(--deep);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.related-links-item:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.related-bar,
.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-top: 4px;
}

.related-bar li,
.related-list li {
  margin: 0;
}

.related-bar a,
.related-list a,
.related-link {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13.5px;
  color: var(--deep);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.related-bar a:hover,
.related-list a:hover,
.related-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.related-form,
.related-type,
.related-note,
.entry-type {
  font-size: 12px;
  color: var(--ink-2);
  font-family: var(--sans);
}

.related-title {
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

/* ============================================================
   components — 首页模块
   ============================================================ */
.hero-section {
  padding-top: 40px;
  padding-bottom: 8px;
  border-top: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 44px;
  align-items: start;
}

.hero-copy {
  min-width: 0;
}

.hero-kicker {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 12px;
  font-family: var(--mono);
}

.hero-copy h1 {
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 14px;
}

.hero-lead {
  max-width: 34em;
  font-size: 15.5px;
  color: var(--ink);
  margin-bottom: 16px;
}

.hero-points {
  margin-bottom: 22px;
  border-top: 1px solid var(--line);
}

.hero-points li {
  padding: 9px 0 9px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
  position: relative;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 6px;
  height: 6px;
  background: var(--deep);
  border-radius: 1px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  font-size: 14.5px;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn-primary {
  background: var(--deep);
  color: #F6F4EF;
  border-color: var(--deep);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #F6F4EF;
}

.btn-ghost {
  background: transparent;
  color: var(--deep);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--deep);
  color: var(--ink);
}

.hero-figure {
  min-width: 0;
}

.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #EDEAE3;
}

/* 路径三步条 */
.path-strip {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 34px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.path-step {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 6px;
}

.path-num {
  display: block;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--accent);
  margin-bottom: 6px;
}

.path-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.path-desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.65;
  margin: 0;
}

.path-dash {
  flex: 0 0 28px;
  align-self: center;
  height: 1px;
  background: var(--line);
}

/* 首页 section head */
.section-head {
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

/* 题材方向总览 */
.genre-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--deep);
}

.genre-col {
  min-width: 0;
  padding: 20px 24px 20px 0;
  border-bottom: 1px solid var(--line);
}

.genre-col + .genre-col {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.genre-name {
  font-size: 17px;
  margin-bottom: 10px;
}

.genre-sublist {
  margin-bottom: 12px;
}

.genre-sublist li {
  font-size: 13.5px;
  color: var(--ink-2);
  padding: 3px 0 3px 14px;
  position: relative;
}

.genre-sublist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 1px;
  background: var(--ink-2);
}

.genre-note {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 12px;
}

.genre-link {
  font-size: 13.5px;
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.section-foot {
  margin-top: 16px;
  font-size: 13.5px;
}

.text-link {
  color: var(--deep);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.text-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* 封面墙 */
.cover-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 20px;
}

.cover-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #FBFAF6;
  padding: 10px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.cover-card:hover {
  transform: translateY(-2px);
  border-color: var(--deep);
}

.cover-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 2px;
  background: #EDEAE3;
  margin-bottom: 10px;
}

.cover-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cover-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.cover-card .status-badge {
  align-self: flex-start;
  margin-bottom: 8px;
}

.cover-note {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
}

.status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-2);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend-item::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 1px solid currentColor;
  border-radius: 2px;
}

/* 台账摘要表 */
.ledger-table {
  min-width: 620px;
}

/* 观察摘要卡 */
.insight-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--deep);
}

.insight-card {
  min-width: 0;
  padding: 20px 24px 20px 0;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
}

.insight-card + .insight-card {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.insight-title {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.insight-summary {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 12px;
}

.insight-points {
  margin-bottom: 14px;
}

.insight-points li {
  font-size: 13px;
  color: var(--ink-2);
  padding: 3px 0 3px 14px;
  position: relative;
}

.insight-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  background: var(--line);
  border-radius: 50%;
}

.insight-link {
  margin-top: auto;
  font-size: 13.5px;
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  align-self: flex-start;
  padding-bottom: 1px;
}

/* 阅读边界摘要 */
.boundary-list {
  border-top: 1px solid var(--line);
  max-width: var(--read);
}

.boundary-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink);
}

.boundary-num {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--accent);
  padding-top: 2px;
}

/* ============================================================
   components — 内页模块
   ============================================================ */

/* 分层说明（genres） */
.layer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--deep);
}

.layer-col {
  min-width: 0;
  padding: 20px 24px 20px 0;
  border-bottom: 1px solid var(--line);
}

.layer-col + .layer-col {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.layer-title {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.layer-def {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 10px;
}

.layer-examples li {
  font-size: 13px;
  color: var(--ink-2);
  padding: 4px 0 4px 14px;
  position: relative;
}

.layer-examples li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 5px;
  height: 1px;
  background: var(--ink-2);
}

/* 划分依据（genres） */
.criteria-list {
  max-width: var(--read);
  border-top: 1px solid var(--line);
  counter-reset: criteria;
}

.criteria-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.criteria-title {
  font-size: 16px;
  margin-bottom: 6px;
  padding-left: 30px;
  position: relative;
}

.criteria-title::before {
  counter-increment: criteria;
  content: counter(criteria, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 400;
}

.criteria-body {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.75;
  padding-left: 30px;
}

/* 入口条（genres） */
.entry-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.entry-bar a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13.5px;
  color: var(--deep);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.entry-bar a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* 字段说明（works） */
.field-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--deep);
}

.field-guide-item {
  min-width: 0;
  padding: 18px 24px 18px 0;
  border-bottom: 1px solid var(--line);
}

.field-guide-item + .field-guide-item {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.field-guide-title {
  font-size: 16px;
  margin-bottom: 6px;
}

.field-guide-text {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.7;
}

/* 条目分组（works） */
.catalog-group {
  margin-bottom: 30px;
  border-top: 1px solid var(--deep);
}

.catalog-group:last-of-type {
  margin-bottom: 18px;
}

.catalog-group-head {
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--line);
}

.catalog-group-title {
  font-size: 17px;
  margin-bottom: 4px;
}

.catalog-group-desc {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0;
}

.catalog-group .table-scroll {
  border-top: 0;
  border-bottom: 0;
}

.catalog-group .data-table {
  min-width: 700px;
}

.catalog-group .data-table tbody td:last-child {
  color: var(--ink-2);
  font-size: 13px;
}

/* 状态读法（works） */
.status-read-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  border-top: 1px solid var(--deep);
}

.status-read-col {
  min-width: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.status-read-title {
  font-size: 16px;
  margin-bottom: 10px;
}

.status-read-list li {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.75;
  padding: 5px 0 5px 14px;
  position: relative;
}

.status-read-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 5px;
  height: 5px;
  background: var(--line);
  border-radius: 50%;
}

/* 台账记录原则（update-ledger） */
.principle-list {
  border-top: 1px solid var(--deep);
  max-width: var(--read);
}

.principle-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.principle-name {
  font-size: 16px;
  margin-bottom: 5px;
}

.principle-item p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.75;
  margin: 0;
}

/* 变更类型表（update-ledger） */
.ledger-type-table {
  min-width: 660px;
}

/* 变更分组（update-ledger） */
.ledger-group-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--deep);
}

.ledger-group {
  min-width: 0;
  padding: 18px 20px 18px 0;
  border-bottom: 1px solid var(--line);
}

.ledger-group + .ledger-group {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.ledger-group-name {
  font-size: 16px;
  margin-bottom: 10px;
}

.ledger-entry {
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.7;
}

.ledger-entry:first-child {
  border-top: 0;
  padding-top: 0;
}

.change-tag {
  display: inline-block;
  font-size: 11.5px;
  line-height: 1.5;
  padding: 1px 6px;
  margin-right: 6px;
  border-radius: 2px;
  border: 1px solid currentColor;
  white-space: nowrap;
  vertical-align: 1px;
}

.change-tag-new {
  color: var(--serial);
}

.change-tag-status {
  color: var(--done);
}

.change-tag-move {
  color: var(--pause);
}

.change-tag-note {
  color: var(--accent);
}

.ledger-groups-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.ledger-groups-note a {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
}

/* 跟进步骤条（update-ledger） */
.step-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--deep);
}

.step-item {
  min-width: 0;
  padding: 18px 24px 18px 0;
  border-bottom: 1px solid var(--line);
}

.step-item + .step-item {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.step-num {
  display: block;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--accent);
  margin-bottom: 6px;
}

.step-name {
  font-size: 16px;
  margin-bottom: 6px;
}

.step-item p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.7;
  margin: 0;
}

/* 流程五步（follow-flow） */
.flow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.flow-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #FBFAF6;
  transition: transform 160ms ease, border-color 160ms ease;
}

.flow-card:hover {
  transform: translateY(-2px);
  border-color: var(--deep);
}

.flow-num {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--accent);
  margin-bottom: 6px;
}

.flow-name {
  font-size: 16.5px;
  margin-bottom: 12px;
}

.flow-fields {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.flow-fields dt {
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  margin-top: 10px;
}

.flow-fields dt:first-child {
  margin-top: 0;
}

.flow-fields dd {
  margin: 2px 0 0;
  color: var(--ink);
}

/* 阅读偏好清单（follow-flow） */
.pref-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  border-top: 1px solid var(--deep);
}

.pref-item {
  min-width: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.pref-dim {
  font-size: 16px;
  margin-bottom: 6px;
}

.pref-text {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: 6px;
}

.pref-question {
  font-size: 13px;
  color: var(--deep);
  padding-left: 12px;
  border-left: 2px solid var(--accent);
  margin: 0;
}

/* 卡点处理表（follow-flow） */
.blocker-table .data-table {
  min-width: 640px;
}

/* 阅读边界（reading-boundary） */
.page-title-block {
  padding-top: 26px;
  padding-bottom: 26px;
}

.summary-list {
  border-top: 1px solid var(--deep);
  max-width: var(--read);
  counter-reset: summary;
}

.summary-item {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.summary-index {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--accent);
  padding-top: 2px;
  min-width: 22px;
}

.summary-text {
  font-size: 14.5px;
  color: var(--ink);
  margin: 0;
}

.detail-block {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.detail-block:first-of-type {
  border-top: 1px solid var(--deep);
}

.detail-title {
  font-size: 17px;
  margin-bottom: 12px;
}

.detail-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}

.detail-reason,
.detail-example {
  min-width: 0;
  padding: 14px 16px;
  border-radius: 2px;
}

.detail-reason {
  background: #EFECE4;
}

.detail-example {
  border: 1px solid var(--line);
}

.detail-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.detail-reason p:last-child,
.detail-example p:last-child {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--deep);
}

.scope-item {
  min-width: 0;
  padding: 18px 24px 18px 0;
  border-bottom: 1px solid var(--line);
}

.scope-item + .scope-item {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.scope-title {
  font-size: 16px;
  margin-bottom: 6px;
}

.scope-def {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 8px;
}

.scope-how {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.7;
  padding-left: 12px;
  border-left: 2px solid var(--line);
  margin: 0;
}

/* 折叠问答 */
.faq-item {
  border-top: 1px solid var(--line);
  max-width: var(--read);
}

.faq-item:first-of-type {
  border-top: 1px solid var(--deep);
}

.faq-question {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 34px 12px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 0 16px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.8;
  margin: 0;
}

/* 题材观察（genre-insight） */
.page-intro {
  padding-top: 26px;
  padding-bottom: 26px;
}

.method-list {
  border-top: 1px solid var(--deep);
  max-width: var(--read);
}

.method-item {
  padding: 12px 0 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.75;
  position: relative;
}

.method-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 6px;
  height: 6px;
  background: var(--deep);
  border-radius: 1px;
}

.insight-entry {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 0 40px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.insight-entry:first-of-type {
  border-top: 1px solid var(--deep);
}

.insight-entry-head {
  min-width: 0;
}

.insight-entry-head h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.insight-entry-summary {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.75;
  margin: 0;
}

.insight-entry-body {
  min-width: 0;
}

.insight-entry-body .insight-points {
  margin: 0;
}

.insight-entry-body .insight-points li {
  font-size: 13.5px;
  color: var(--ink);
  padding: 5px 0 5px 16px;
}

.insight-entry-body .insight-points li::before {
  top: 14px;
  width: 6px;
  height: 1px;
  border-radius: 0;
  background: var(--accent);
}

.insight-table .data-table {
  min-width: 620px;
}

/* 404 */
.error-main {
  padding-top: 60px;
  padding-bottom: 60px;
}

.error-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

.error-code {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 10px;
}

.error-inner h1 {
  font-size: 34px;
  margin-bottom: 12px;
}

.error-lead {
  max-width: 40em;
  font-size: 15px;
  color: var(--ink-2);
  margin-bottom: 22px;
}

.error-actions {
  margin-bottom: 34px;
}

.error-home-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  background: var(--deep);
  color: #F6F4EF;
  border-radius: 2px;
  font-size: 14.5px;
}

.error-home-link:hover {
  background: var(--accent);
  color: #F6F4EF;
}

.error-paths {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.error-paths h2 {
  font-size: 19px;
  margin-bottom: 12px;
}

.error-path-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}

.error-path-list li {
  border-bottom: 1px solid var(--line);
}

.error-path-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--deep);
}

.error-path-list a:hover {
  color: var(--accent);
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  margin-top: 40px;
  border-top: 2px solid var(--deep);
  background: var(--paper);
}

.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 34px 32px 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 20px 44px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.footer-brand-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.footer-slogan {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0;
}

.footer-desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.75;
  margin: 0;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 44px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.footer-nav-col {
  min-width: 0;
}

.footer-nav-title {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  margin-bottom: 10px;
}

.footer-nav-col li {
  margin-bottom: 2px;
}

.footer-nav-col a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 13.5px;
  color: var(--deep);
}

.footer-nav-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 18px;
}

.footer-boundary {
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.75;
  max-width: 62em;
  margin-bottom: 10px;
}

.footer-copy {
  font-size: 12.5px;
  color: var(--ink-2);
  margin: 0;
}

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 1024px) {
  .ledger-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ledger-group:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .header-inner {
    padding: 0 20px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 14px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 6px 16px rgba(22, 24, 29, 0.06);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    border-bottom: 1px solid var(--line);
  }

  .nav-list li:last-child {
    border-bottom: 0;
  }

  .nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 15px;
    border-bottom: 0;
  }

  .nav-link.is-current {
    border-bottom: 0;
    color: var(--accent);
  }

  .site-nav {
    position: static;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .genre-columns,
  .insight-cards,
  .layer-grid,
  .field-guide,
  .scope-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .genre-col,
  .insight-card,
  .layer-col,
  .field-guide-item,
  .scope-item {
    border-left: 0;
    padding-left: 0;
    padding-right: 20px;
  }

  .genre-col:nth-child(even),
  .insight-card:nth-child(even),
  .layer-col:nth-child(even),
  .field-guide-item:nth-child(even),
  .scope-item:nth-child(even) {
    border-left: 1px solid var(--line);
    padding-left: 20px;
  }

  .cover-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .step-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .step-item {
    padding-right: 16px;
  }

  .step-item + .step-item {
    padding-left: 16px;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}

@media (max-width: 640px) {
  body.site-body {
    font-size: 15px;
  }

  .header-inner {
    padding: 0 20px;
    gap: 12px;
  }

  .brand {
    font-size: 17px;
  }

  .section-inner,
  .page-shell,
  .page-container,
  .container,
  .footer-inner,
  .error-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .inner-main .breadcrumb,
  .inner-main .page-header,
  .inner-main .page-head,
  .inner-main .module,
  .inner-main .section,
  .inner-main .page-intro,
  .inner-main .page-title-block,
  .inner-main .boundary-summary,
  .inner-main .boundary-detail,
  .inner-main .correction-scope,
  .inner-main .boundary-faq,
  .inner-main .ledger-purpose,
  .inner-main .ledger-types,
  .inner-main .ledger-groups,
  .inner-main .ledger-follow,
  .inner-main .related-bar,
  .inner-main .related-links,
  .inner-main .entry-bar {
    padding-left: 20px;
    padding-right: 20px;
  }

  .inner-main .page-shell,
  .inner-main .page-container {
    padding-left: 0;
    padding-right: 0;
  }

  .page-title,
  .hero-copy h1,
  .error-inner h1 {
    font-size: 26px;
  }

  .module-title,
  .section-title,
  .module > h2,
  .section > .container > h2,
  .boundary-summary > h2,
  .boundary-detail > h2,
  .correction-scope > h2,
  .boundary-faq > h2,
  .ledger-purpose > h2,
  .ledger-types > h2,
  .ledger-groups > h2,
  .ledger-follow > h2,
  .insight-method > h2,
  .insight-entries > h2,
  .insight-table > h2,
  .related-bar > h2,
  .related-links > h2 {
    font-size: 19px;
  }

  .section-head h2 {
    font-size: 19px;
  }

  .hero-section {
    padding-top: 26px;
  }

  .hero-copy h1 {
    line-height: 1.32;
  }

  .hero-points li {
    font-size: 13.5px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .path-strip {
    flex-direction: column;
    gap: 0;
    margin-top: 24px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .path-step {
    padding: 12px 0;
  }

  .path-step + .path-dash {
    display: none;
  }

  .path-step:not(:first-child) {
    border-top: 1px solid var(--line);
  }

  .genre-columns,
  .insight-cards,
  .layer-grid,
  .field-guide,
  .scope-grid,
  .ledger-group-grid,
  .flow-list,
  .pref-items,
  .status-read-grid,
  .step-bar,
  .error-path-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .genre-col,
  .insight-card,
  .layer-col,
  .field-guide-item,
  .scope-item,
  .ledger-group,
  .step-item {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
  }

  .genre-col:nth-child(even),
  .insight-card:nth-child(even),
  .layer-col:nth-child(even),
  .field-guide-item:nth-child(even),
  .scope-item:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .genre-col + .genre-col,
  .insight-card + .insight-card,
  .layer-col + .layer-col,
  .field-guide-item + .field-guide-item,
  .scope-item + .scope-item,
  .ledger-group + .ledger-group,
  .step-item + .step-item {
    border-left: 0;
    padding-left: 0;
  }

  .cover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 14px;
  }

  .cover-card {
    padding: 8px;
  }

  .cover-note {
    font-size: 12px;
  }

  .status-legend {
    gap: 8px 18px;
  }

  .boundary-item {
    gap: 10px;
    font-size: 13.5px;
  }

  .criteria-title,
  .criteria-body {
    padding-left: 26px;
  }

  .detail-pair {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .insight-entry {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .status-read-grid {
    gap: 0;
  }

  .data-table {
    min-width: 560px;
    font-size: 13px;
  }

  .catalog-group .data-table {
    min-width: 620px;
  }

  .footer-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .footer-nav-col a {
    min-height: 40px;
  }

  .related-links {
    gap: 8px 16px;
  }

  .entry-bar,
  .related-bar,
  .related-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .cover-card:hover,
  .flow-card:hover {
    transform: none;
  }
}
