:root {
  --brand: #07458f;
  --brand-dark: #0958d9;
  --brand-soft: #eaf3ff;
  --brand-line: #b7d4ff;
  --ink: #172033;
  --text: #3f4a5a;
  --muted: #718096;
  --line: #e5eaf1;
  --soft: #f6f8fb;
  --sidebar: 252px;
  --header: 68px;
  --content: 920px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.82;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .22s ease, transform .22s ease;
  -webkit-font-smoothing: antialiased;
}
body.page-ready { opacity: 1; transform: none; }
body.page-leaving { opacity: 0; transform: translateY(3px); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

.topbar {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto 0;
  height: var(--header);
  display: grid;
  grid-template-columns: var(--sidebar) minmax(280px, 580px) 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
}
.brand {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 24px;
  border-right: 1px solid var(--line);
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;

  font-weight: 800;
}
.brand > span:last-child { display: grid; line-height: 1.25; }
.brand strong { color: var(--ink); font-size: 15px; letter-spacing: .02em; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 14px; }
.search { position: relative; margin-left: 30px; }
.search-icon {
  position: absolute;
  z-index: 1;
  left: 13px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  fill: none;
  stroke: #7d8a9c;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.search input {
  width: 100%;
  height: 40px;
  padding: 0 76px 0 40px;
  border: 1px solid #dde3df;
  border-radius: 8px;
  outline: 0;
  background: var(--soft);
  color: var(--ink);
  font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.search input:focus { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(22,119,255,.12); }
.search kbd {
  position: absolute;
  right: 10px;
  top: 50%;
  padding: 1px 7px;
  transform: translateY(-50%);
  border: 1px solid #d8e0ea;
  border-radius: 6px;
  background: #fff;
  color: #7f8b9a;
  font: 12px/20px ui-monospace, monospace;
}
.search-results {
  position: absolute;
  display: none;
  top: 47px;
  left: 0;
  right: 0;
  max-height: min(420px, calc(100vh - 90px));
  overflow: auto;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(29,51,84,.14);
}
.search-results.show { display: block; animation: searchIn .18s ease both; }
.search-results a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 9px 10px; border-radius: 7px; transition: background .18s ease; }
.search-results a:hover, .search-results a:focus { background: var(--brand-soft); outline: 0; }
.search-results strong { color: var(--ink); font-size: 14px; }
.search-results span { color: var(--brand-dark); font-size: 14px; }
.search-results small { grid-column: 1/-1; color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-empty { padding: 20px; color: var(--muted); text-align: center; font-size: 14px; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 14px; padding-right: 34px; }
.edition { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; }
.edition strong { padding: 3px 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); font-size: 14px; }
.contact-support { height: 36px; padding: 0 17px; border: 1px solid var(--brand); border-radius: 7px; background: var(--brand);

opacity:.9;

color: #fff; font-size: 14px; cursor: pointer; transition: opacity .18s ease; }
.contact-support:hover { opacity: .88; }
.mobile-menu { display: none; border: 0; background: transparent; font-size: 22px; }

.sidebar {
  position: fixed;
  z-index: 40;
  top: var(--header);
  bottom: 0;
  left: 0;
  width: var(--sidebar);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px 14px 18px;
  border-right: 1px solid var(--line);
  background: #fafbfa;
}
.sidebar-title { flex: none; padding: 0 12px 10px; color: #87928b; font-size: 14px; font-weight: 500; }
.sidebar nav { flex: 1; min-height: 0; display: grid; align-content: start; gap: 2px; overflow-y: auto; padding-right: 2px; }
.sidebar nav > a {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #56635b;
  font-size: 14px;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.sidebar nav > a:hover { color: var(--ink); background: #f0f4f2; }
.sidebar nav > a.active { color: var(--brand-dark); background: var(--brand-soft); border-color: transparent; font-weight: 650; }
.mobile-subnav { display: none; }
.sidebar-foot { flex: none; margin: auto 12px 0; padding-top: 16px; border-top: 1px solid var(--line); color: #7e8a9b; font-size: 14px; line-height: 1.7; }
.sidebar-mask { display: none; }

.page { min-height: 100vh; margin-left: var(--sidebar); padding-top: var(--header); }
.page-grid {
  width: min(100%, 1320px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, var(--content)) 220px;
  gap: 72px;
  padding: 44px 42px 80px;
}
.content { min-width: 0; }
.breadcrumb { display: flex; align-items: center; gap: 9px; color: #7f8b9b; font-size: 14px; }
.breadcrumb a:hover { color: var(--brand-dark); }
.breadcrumb b { color: #556176; font-weight: 500; }
.chapter-head { padding: 34px 0 32px; }
.chapter-head h1 { margin: 0 0 12px; color: var(--ink); font-size: clamp(30px, 4vw, 42px); line-height: 1.18; letter-spacing: -.025em; }
.chapter-head p { max-width: 780px; margin: 0; color: #5d6a7d; font-size: 16px; line-height: 1.9; }
.chapter-scope { margin: 28px 0 72px; padding: 18px 22px; border: 0; border-radius: 8px; background: var(--brand-soft); }
.chapter-scope strong { color: var(--brand-dark); font-size: 15px; }
.chapter-scope p { margin: 5px 0 0; font-size: 15px; line-height: 1.8; }

.doc-section { padding: 0 0 78px; margin: 0 0 78px;  }
.doc-section:last-of-type { border-bottom: 0; }
.section-heading { margin-bottom: 18px; }
.section-heading h2 { margin: 0; color: var(--ink); font-size: 28px; line-height: 1.35; letter-spacing: -.015em; }
.lead { margin: 0 0 28px; color: #465469; font-size: 16px; line-height: 2; }
.value-panel { margin: 28px 0 30px; padding: 30px 32px; border: 0; border-radius: 10px; background: #f3f5f4; }
.value-panel h3 { margin: 0 0 14px; color: var(--ink); font-size: 21px; }
.value-panel h4 { margin: 25px 0 9px; color: #253044; font-size: 17px; }
.value-panel p { margin: 8px 0 0; color: #536176; font-size: 15px; line-height: 1.9; }
.scenario-list { margin: 0; padding-left: 21px; }
.scenario-list li { margin: 8px 0; padding-left: 4px; color: #4d5a6e; font-size: 15px; line-height: 1.85; }
.scenario-list li::marker { color: var(--brand); }
.business-loop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 11px 0 14px; }
.business-loop span { padding: 6px 11px; border: 1px solid #dbe2eb; border-radius: 6px; background: #fff; color: #3d495c; font-size: 14px; }
.business-loop b { color: #8e99a9; font-weight: 400; }
.config-panel { margin: 24px 0 32px; padding: 22px 0;}
.config-panel h3, .reference-panel h3 { margin: 0 0 10px; color: var(--ink); font-size: 20px; }
.config-panel p, .reference-panel p { margin: 7px 0; color: #536176; font-size: 15px; line-height: 1.9; }
.reference-panel { margin: 24px 0 32px; padding: 20px 22px; border-radius: 8px; background: #f6f8fb; }

.image-slot {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  margin: 32px 0 44px;
  overflow: hidden;
  border: 1px dashed #aeb9c8;
  border-radius: 12px;
  background: linear-gradient(#f2f5f9 1px, transparent 1px), linear-gradient(90deg, #f2f5f9 1px, transparent 1px), #fafbfd;
  background-size: 26px 26px;
}
.image-slot::before, .image-slot::after { content: ""; position: absolute; background: #d9e0e9; }
.image-slot::before { width: 1px; height: 140%; transform: rotate(67deg); }
.image-slot::after { height: 1px; width: 140%; transform: rotate(23deg); }
.image-slot > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: initial;
}
.image-slot.has-image { border-style: solid; background: #fff; }
.image-slot.has-image::before, .image-slot.has-image::after, .image-slot.has-image figcaption { display: none; }
.image-slot figcaption { position: relative; z-index: 2; display: grid; justify-items: center; width: min(80%, 520px); padding: 22px; border: 1px solid #e0e6ee; border-radius: 10px; background: rgba(255,255,255,.95); }
.image-slot strong { color: var(--ink); font-size: 16px; }
.image-slot span, .image-slot small { margin-top: 5px; color: #657288; font-size: 14px; text-align: center; }

.doc-section > h3 { margin: 44px 0 18px; color: var(--ink); font-size: 23px; }
.doc-section > h4 { margin: 38px 0 13px; color: #253044; font-size: 17px;
margin-bottom: 25px;
}
.definition-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.definition-grid > div { min-height: 78px; display: grid; align-content: center; gap: 5px; padding: 15px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.definition-grid > div:nth-child(2n) { border-right: 0; }
.definition-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
.definition-grid span { color: #768398; font-size: 14px; }
.definition-grid strong { color: #354156; font-size: 14px; font-weight: 600; }
.bullet-list { margin: 0; padding-left: 20px; }
.bullet-list li { padding-left: 5px; margin: 7px 0; font-size: 15px; }
.bullet-list li::marker { color: var(--brand); }

.steps { margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding-bottom: 24px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; width: 1px; background: #dce3ec; }
.steps li > span { position: relative; z-index: 1; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--brand); font-size: 14px; font-weight: 700; }
.steps strong { color: var(--ink); font-size: 15px; }
.steps p { margin: 3px 0 0; color: #5b687c; font-size: 15px; line-height: 1.85; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { color: #59667a; background: #f5f7fa; font-weight: 600; text-align: left; }
th, td { padding: 13px 15px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td:first-child { width: 180px; }
td code { color: var(--brand-dark); font: 600 14px/1.5 ui-monospace, monospace; }

.state-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfb; }
.state-flow span { padding: 5px 11px; border: 1px solid #dbe2eb; border-radius: 4px; background: #fff; color: #3d495c; font-size: 14px; }
.state-flow b { color: #8e99a9; font-weight: 400; }
.rule-text { color: #5d6a7c; font-size: 15px; }
.notice { display: grid; grid-template-columns: 52px 1fr; gap: 15px; margin-top: 24px; padding: 16px 18px; border: 1px solid #d9e8ff; border-radius: 7px; background: #f7faff; }
.notice strong { color: var(--brand-dark); font-size: 14px; }
.notice p { margin: 0; color: #5d6a7c; font-size: 14px; line-height: 1.8; }

.toc { min-width: 0; }
.toc > div {
  position: fixed;
  z-index: 20;
  top: 50%;
  right: max(24px, calc((100vw - var(--sidebar) - 1320px) / 2 + 42px));
  width: 220px;
  max-height: min(70vh, 620px);
  display: grid;
  gap: 0;
  overflow-y: auto;
  padding-left: 17px;
  transform: translateY(-50%);
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.toc a { position: relative; padding: 5px 0 5px 11px; color: #68758a; font-size: 14px; line-height: 1.5; transition: color .2s ease; }
.toc a::before { content: ""; position: absolute; left: -18px; top: 7px; bottom: 7px; width: 2px; background: transparent; }
.toc a:hover, .toc a.active { color: var(--brand-dark); }
.toc a.active { font-weight: 500; }
.toc a.active::before { background: var(--brand); }

footer { margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); color: #7c899b; font-size: 14px; }
.to-top { position: fixed; z-index: 20; right: 28px; bottom: 28px; width: 40px; height: 40px; display: none; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 6px 18px rgba(29,51,84,.1); cursor: pointer; }
.to-top.show { display: block; }
.to-top:hover { color: #fff; border-color: var(--brand); background: var(--brand); }

@keyframes searchIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

@media (max-width: 1180px) {
  .page-grid { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
  .toc { display: none; }
  .topbar { grid-template-columns: var(--sidebar) minmax(260px, 1fr) auto; }
}

@media (max-width: 820px) {
  :root { --header: 118px; }
  html { scroll-padding-top: 136px; }
  .topbar { grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-rows: 60px 58px; align-items: center; }
  .mobile-menu { display: grid; grid-column: 1; grid-row: 1; place-items: center; width: 48px; height: 60px; cursor: pointer; }
  .brand { grid-column: 2; grid-row: 1; min-width: 0; padding: 0 8px 0 0; border-right: 0;
  
  margin-left: -10px;
   }
  .brand-mark { width: 30px; height: 30px; border-radius: 9px; }
  .brand small { display: none; }
  .search { grid-column: 1/-1; grid-row: 2; align-self: stretch; margin: 0; padding: 8px 14px 10px; border-top: 1px solid #f0f2f6; }
  .search-icon { left: 27px; top: 29px; }
  .search input { height: 40px; padding-right: 14px; }
  .search kbd { display: none; }
  .search-results { top: 54px; left: 14px; right: 14px; max-height: calc(100vh - 132px); }
  .header-actions { grid-column: 3; grid-row: 1; gap: 8px; padding-right: 14px; }
  .edition span { display: none; }
  .edition { display: none; }
  .contact-support { height: 34px; padding: 0 12px; }
  .sidebar { top: 0; z-index: 70; width: min(86vw, 320px); padding-top: 20px; transform: translateX(-102%); transition: transform .22s ease; box-shadow: 18px 0 40px rgba(26,44,73,.16); }
  body.menu-open .sidebar { transform: translateX(0); }
  .sidebar nav > a { min-height: 42px; }
  .mobile-subnav { display: grid; gap: 2px; margin: 1px 0 8px; padding: 3px 0 3px 15px; }
  .mobile-subnav a { padding: 7px 12px; border-radius: 8px; color: #68758a; font-size: 14px; transition: color .2s ease, background .2s ease; }
  .mobile-subnav a:hover, .mobile-subnav a.active { color: var(--brand-dark); background: var(--brand-soft); }
  .sidebar-mask { position: fixed; z-index: 60; inset: 0; background: rgba(20,31,48,.4); }
  body.menu-open .sidebar-mask { display: block; }
  .page { margin-left: 0; padding-top: var(--header); }
  .page-grid { padding: 28px 20px 60px; }
  .chapter-head { padding-top: 27px; }
  .chapter-scope { margin-bottom: 55px; }
  .doc-section { margin-bottom: 58px; padding-bottom: 58px; }
  .section-heading h2 { font-size: 24px; }
  .value-panel { padding: 23px 21px; }
  .image-slot { min-height: 250px; }
  .definition-grid { grid-template-columns: 1fr; }
  .definition-grid > div, .definition-grid > div:nth-child(2n), .definition-grid > div:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .definition-grid > div:last-child { border-bottom: 0; }
  td:first-child { width: 135px; }
  .to-top { right: 16px; bottom: 16px; }
}

@media (max-width: 480px) {
	.brand-mark{
	display: none;
	}
  .page-grid { padding-inline: 16px; }
  .brand strong { font-size: 16px; }
  .image-slot { min-height: 210px; }
  .chapter-head h1 { font-size: 30px; }
  .value-panel { padding: 20px 18px; }
  .notice { grid-template-columns: 1fr; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  body { opacity: 1; transform: none; }
  .topbar, .sidebar, .toc, .to-top { display: none !important; }
  .page { margin: 0; padding: 0; }
  .page-grid { display: block; width: auto; max-width: none; padding: 20mm; }
  .doc-section { break-before: page; }
  .image-slot { break-inside: avoid; }
}

footer p{
margin: 0px !important;
}
