:root {
  color-scheme: light dark;
  --page-bg: #f4f6f8;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-soft: #eef2f4;
  --text: #172024;
  --muted: #617076;
  --line: #dbe3e6;
  --accent: #0c7d74;
  --accent-2: #d58a2f;
  --accent-3: #1d4b5d;
  --shadow: 0 26px 70px rgba(20, 30, 36, .12);
  --radius: 8px;
  --font-display: "Microsoft YaHei UI", "DengXian", sans-serif;
  --font-body: "Microsoft YaHei", "DengXian", sans-serif;
  --content-width: 1480px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font-body);
  letter-spacing: 0;
}
a { color: inherit; }
button, input { font: inherit; }
.progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 80;
  width: 100%;
  height: 3px;
  background: transparent;
}
.progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.appbar {
  position: sticky;
  top: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid color-mix(in srgb, var(--accent) 58%, var(--line));
  display: inline-grid;
  place-items: center;
  color: var(--accent);
  border-radius: var(--radius);
}
.app-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.action-btn {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 78%, transparent);
  color: var(--text);
  min-height: 36px;
  padding: 8px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.action-btn:hover { transform: translateY(-1px); border-color: var(--accent); }
.action-btn.is-active { background: var(--accent); color: color-mix(in srgb, var(--page-bg) 86%, #000); border-color: var(--accent); }
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 480px;
  padding: clamp(48px, 8vw, 98px) clamp(20px, 5vw, 68px);
  overflow: clip;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-visual {
  position: absolute;
  inset: 0;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1120px;
}
.hero-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 800;
}
.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 6.8vw, 92px);
  line-height: .98;
  letter-spacing: 0;
}
.hero-subtitle {
  margin: 20px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 25px);
  line-height: 1.65;
}
.meta-line {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
}
.meta-pill {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 64%, transparent);
  border-radius: 999px;
  padding: 8px 12px;
}
.search-dock {
  position: sticky;
  top: 65px;
  z-index: 60;
  padding: 16px clamp(18px, 4vw, 54px);
  background: color-mix(in srgb, var(--page-bg) 82%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.search-panel {
  max-width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.search-input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  background: var(--surface-strong);
  color: var(--text);
  outline: none;
}
.search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.search-status {
  color: var(--muted);
  min-width: 92px;
  text-align: right;
  font-size: 14px;
}
.filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: var(--muted);
  font-size: 14px;
}
.filter-toggle input { accent-color: var(--accent); }
.asset-strip {
  max-width: var(--content-width);
  margin: 34px auto 0;
  padding: 0 clamp(18px, 4vw, 54px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.asset-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.asset-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--surface-soft);
}
.asset-caption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
}
.layout {
  max-width: var(--content-width);
  margin: 34px auto 80px;
  padding: 0 clamp(18px, 4vw, 54px);
  display: grid;
  grid-template-columns: minmax(210px, 270px) minmax(0, 1fr) minmax(220px, 280px);
  gap: 22px;
  align-items: start;
}
.layout > *, .content-flow, .content-section { min-width: 0; }
.toc-panel, .insight-panel {
  position: sticky;
  top: 154px;
  max-height: calc(100vh - 178px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.panel-title {
  margin: 0;
  padding: 16px 16px 10px;
  font-weight: 800;
}
.toc-list {
  list-style: none;
  margin: 0;
  padding: 0 8px 14px;
}
.toc-list a {
  display: block;
  text-decoration: none;
  padding: 9px 10px;
  border-radius: var(--radius);
  color: var(--muted);
  line-height: 1.45;
  font-size: 14px;
  border: 1px solid transparent;
}
.toc-list a:hover, .toc-list a.is-active {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
}
.toc-list .toc-h2 a { padding-left: 24px; font-size: 13px; }
.insight-panel { padding-bottom: 14px; }
.mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 14px 14px;
}
.mini-stat {
  min-height: 98px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--surface-soft);
}
.mini-stat strong {
  display: block;
  color: var(--accent);
  font-size: 28px;
  line-height: 1;
  margin-bottom: 8px;
}
.mini-stat span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.result-list {
  display: grid;
  gap: 10px;
  padding: 0 14px 14px;
}
.result-item {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--surface-strong);
  color: var(--text);
  cursor: pointer;
}
.result-item:hover { border-color: var(--accent); }
.result-title { font-weight: 800; margin-bottom: 6px; }
.result-snippet { color: var(--muted); font-size: 13px; line-height: 1.55; }
.content-flow {
  display: grid;
  gap: 22px;
}
.content-section {
  padding: clamp(26px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease, border-color .25s ease;
}
.content-section.is-visible { opacity: 1; transform: none; }
.content-section.is-dimmed { opacity: .34; }
.section-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--muted);
}
.section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  font-weight: 800;
}
.section-link {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 12px;
}
.section-link:hover { color: var(--text); border-color: var(--accent); }
.content-section h2 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(26px, 4.4vw, 50px);
  line-height: 1.14;
  letter-spacing: 0;
}
.content-section h3 {
  margin: 30px 0 12px;
  font-size: clamp(20px, 2.3vw, 28px);
  line-height: 1.35;
  letter-spacing: 0;
}
.doc-paragraph, .doc-list {
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.doc-paragraph { margin: 0 0 18px; }
.doc-list {
  margin: 0 0 18px;
  padding-left: 1.4em;
}
.doc-list li { margin: 8px 0; }
.table-wrap {
  margin: 22px 0 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}
.block-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 14px;
}
.block-table th, .block-table td {
  padding: 13px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.block-table th {
  text-align: left;
  font-weight: 800;
}
.block-table tr:last-child td { border-bottom: 0; }
.block-table td:last-child, .block-table th:last-child { border-right: 0; }
.cell-line + .cell-line { margin-top: 6px; }
.callout {
  margin: 22px 0 24px;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--line));
  border-radius: var(--radius);
  padding: 18px 20px;
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
}
.callout-title {
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 6px;
}
.callout-body {
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
  line-height: 1.8;
}
mark {
  background: color-mix(in srgb, var(--accent-2) 76%, white);
  color: #111;
  padding: 0 .16em;
  border-radius: 3px;
}
.empty-state {
  padding: 18px 14px;
  color: var(--muted);
  line-height: 1.6;
}
.footer {
  max-width: var(--content-width);
  margin: 0 auto 50px;
  padding: 0 clamp(18px, 4vw, 54px);
  color: var(--muted);
  font-size: 13px;
}
.backtop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 74;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
  cursor: pointer;
}
.text-large .doc-paragraph,
.text-large .doc-list,
.text-large .block-table { font-size: 18px; }
@media (max-width: 1180px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .toc-panel, .insight-panel { position: static; max-height: none; }
  .toc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .appbar { align-items: flex-start; flex-direction: column; }
  .search-dock { top: 108px; padding-inline: 12px; }
  .search-panel { grid-template-columns: 1fr; }
  .search-status { text-align: left; }
  .asset-strip { grid-template-columns: 1fr; margin-top: 22px; }
  .layout { padding-inline: 12px; margin-top: 22px; }
  .toc-list { grid-template-columns: 1fr; }
  .hero { min-height: 560px; padding-inline: 18px; }
  .hero-title { font-size: clamp(38px, 13vw, 64px); }
  .block-table { min-width: 620px; }
}
@media print {
  .appbar, .search-dock, .toc-panel, .insight-panel, .asset-strip, .backtop, .progress { display: none !important; }
  body { background: white; color: black; }
  .layout { display: block; margin: 0; padding: 0; }
  .content-section { box-shadow: none; border: 0; opacity: 1; transform: none; break-inside: avoid; }
  .hero { min-height: auto; padding: 0 0 24px; color: black; }
  .hero-visual { display: none; }
}