/* ==========================================================================
   九一平台 · 57871615.com
   base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base — 设计令牌、重置、排版
   -------------------------------------------------------------------------- */

:root {
  --green: #1B4D3E;
  --green-soft: #E8F0EC;
  --orange: #C2571F;
  --paper: #F7F5F0;
  --surface: #FFFFFF;
  --ink: #1E2320;
  --ink-soft: #5B635E;
  --line: #DDD8CE;
  --line-strong: #C9C2B4;
  --radius: 4px;
  --radius-lg: 6px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --font-mono: ui-monospace, Menlo, Consolas, "Courier New", monospace;
  --shadow-none: none;
  --container: 1180px;
  --gutter: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--green);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  text-align: left;
  vertical-align: top;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius);
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 12px;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   2. layout — 容器、页头、主导航、页脚、内页骨架
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
}

/* --- 页头 -------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover,
.brand:focus-visible {
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  background: var(--orange);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  border-radius: var(--radius);
  white-space: nowrap;
}

.brand-slogan {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0;
  white-space: nowrap;
}

/* --- 主导航 ------------------------------------------------------------ */

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  height: 64px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.nav-item > a:hover,
.nav-item > a:focus-visible {
  color: var(--green);
  text-decoration: none;
  border-bottom-color: var(--line-strong);
}

.nav-item.is-current > a,
.nav-item > a.is-current {
  color: var(--green);
  border-bottom-color: var(--green);
}

.nav-dropdown-trigger {
  cursor: pointer;
}

.nav-dropdown-trigger::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transform: translateY(1px);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 208px;
  padding: 6px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(30, 35, 32, 0.08);
  display: none;
}

.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown,
.nav-has-dropdown.is-open .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 9px 16px;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  border-left: 2px solid transparent;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: var(--green-soft);
  color: var(--green);
  border-left-color: var(--orange);
  text-decoration: none;
}

.nav-dropdown a.is-current {
  color: var(--green);
  border-left-color: var(--green);
  font-weight: 500;
}

/* --- 移动端菜单按钮与抽屉 ---------------------------------------------- */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.menu-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-drawer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}

.mobile-drawer[hidden] {
  display: none;
}

.drawer-list {
  padding: 6px 0 10px;
}

.drawer-list li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--gutter);
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  border-left: 3px solid transparent;
}

.drawer-list li a:hover,
.drawer-list li a:focus-visible {
  background: var(--green-soft);
  text-decoration: none;
}

.drawer-list li.is-current a,
.drawer-list li a.is-current {
  color: var(--green);
  font-weight: 500;
  border-left-color: var(--green);
}

/* --- 主内容骨架 -------------------------------------------------------- */

.site-main {
  flex: 1 0 auto;
  display: block;
}

.inner-main {
  padding-bottom: 56px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--gutter) 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--green);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--ink);
}

.page-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px var(--gutter) 0;
}

.page-title {
  font-size: 34px;
  line-height: 1.32;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0;
}

/* 页标题区（摘要 + 元信息） */

.page-head {
  padding: 10px 0 4px;
}

.page-title-block {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 14px 0 20px;
  border-bottom: 1px solid var(--line);
}

.page-title-main {
  flex: 1 1 460px;
  min-width: 0;
}

.page-summary {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 760px;
}

.page-lead {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 760px;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13px;
  color: var(--ink-soft);
}

.page-meta-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.page-meta-row dt {
  color: var(--ink-soft);
}

.page-meta-row dt::after {
  content: "：";
}

.page-meta-row dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
}

.meta-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.meta-row dt {
  color: var(--ink-soft);
}

.meta-row dt::after {
  content: "：";
}

.meta-row dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
}

/* 内页标题区（page-hero） */

.page-hero {
  padding: 4px 0 0;
}

.page-hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 14px 0 22px;
  border-bottom: 1px solid var(--line);
}

.page-hero-text {
  flex: 1 1 520px;
  min-width: 0;
}

.page-hero-lead {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 720px;
}

/* --- 页脚 -------------------------------------------------------------- */

.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  background: var(--surface);
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, minmax(140px, 1fr));
  gap: 32px 28px;
  padding-top: 44px;
  padding-bottom: 36px;
}

.footer-brand-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.footer-brand-desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 260px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.footer-col ul li + li {
  margin-top: 2px;
}

.footer-col ul li a {
  display: inline-block;
  padding: 5px 0;
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-col ul li a:hover,
.footer-col ul li a:focus-visible {
  color: var(--green);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 13px;
  color: var(--ink-soft);
}

.footer-site {
  font-family: var(--font-mono);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--green);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   3. components — 通用模块
   -------------------------------------------------------------------------- */

.section {
  padding: 40px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-title {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
}

.section-lead {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 760px;
}

.section-intro {
  margin-top: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 760px;
}

.subsection-title {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--ink);
}

.text-link {
  color: var(--green);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(27, 77, 62, 0.35);
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: none;
  border-bottom-color: var(--green);
}

/* 内容图 */

.content-figure,
.section-figure,
.menu-figure,
.fb-figure,
.guide-figure,
.positioning-figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.content-figure img,
.section-figure img,
.menu-figure img,
.fb-figure img,
.guide-figure img,
.positioning-figure img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  background: var(--green-soft);
}

.content-figure figcaption,
.section-figure figcaption,
.menu-figure figcaption,
.fb-figure figcaption,
.guide-figure figcaption,
.positioning-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

/* 表格 */

.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.data-table {
  min-width: 640px;
  font-size: 14px;
}

.data-table caption {
  text-align: left;
}

.data-table thead th {
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--green-soft);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.data-table tbody td {
  padding: 12px 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover td {
  background: #FBFAF6;
}

.table-note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  padding-left: 12px;
  border-left: 2px solid var(--orange);
}

.table-note + .table-note {
  margin-top: 6px;
}

/* 折叠问答 */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--orange);
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-item[open] .faq-question {
  color: var(--green);
}

.faq-answer {
  padding: 0 16px 16px;
  font-size: 14px;
  color: var(--ink-soft);
}

.faq-answer p + p {
  margin-top: 8px;
}

.faq-answer a {
  display: inline-block;
  margin-top: 10px;
  color: var(--green);
  font-weight: 500;
}

/* 通用浅底面板 */

.summary-panel,
.paths-panel,
.support-paths-inner {
  background: var(--green-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* 按钮 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #163f33;
  border-color: #163f33;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--green-soft);
  color: var(--green);
}

/* --------------------------------------------------------------------------
   4. pages — 首页
   -------------------------------------------------------------------------- */

.home-main {
  padding-bottom: 8px;
}

/* 首屏 */

.hero {
  padding: 40px 0 44px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.hero-text {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 3px 10px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--orange);
  background: #FBF1EB;
  border-left: 2px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.hero-text h1 {
  font-size: 34px;
  line-height: 1.32;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0;
}

.hero-lead {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 560px;
}

.scene-entry-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.scene-entry-list li {
  border-bottom: 1px solid var(--line);
}

.scene-entry {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 10px 4px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease;
  border-left: 2px solid transparent;
  padding-left: 10px;
}

.scene-entry:hover,
.scene-entry:focus-visible {
  transform: translateX(2px);
  border-left-color: var(--orange);
  text-decoration: none;
  background: #FCFBF7;
}

.scene-entry-no {
  flex-shrink: 0;
  width: 26px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
}

.scene-entry-body {
  flex: 1 1 auto;
  min-width: 0;
}

.scene-entry-name {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.scene-entry-desc {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--ink-soft);
}

.scene-entry-arrow {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--green);
}

.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-soft);
}

.hero-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--green-soft);
}

.hero-figure figcaption {
  padding: 11px 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

/* 类别锚点条 */

.category-bar {
  position: sticky;
  top: 64px;
  z-index: 60;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.category-bar-inner {
  overflow-x: auto;
}

.category-list {
  display: flex;
  align-items: stretch;
  gap: 0;
  white-space: nowrap;
}

.category-list li {
  flex: 0 0 auto;
}

.category-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.16s ease, background 0.16s ease;
}

.category-link:hover,
.category-link:focus-visible {
  color: var(--green);
  background: var(--green-soft);
  text-decoration: none;
}

.category-link.is-active {
  color: #fff;
  background: var(--green);
  border-bottom-color: var(--green);
}

.category-link-updates {
  color: var(--orange);
}

.category-link-updates:hover,
.category-link-updates:focus-visible {
  color: var(--orange);
  background: #FBF1EB;
}

/* 常用工具菜单 */

.tool-menu {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
}

.section-head p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 760px;
}

.tool-group {
  border-top: 1px solid var(--line);
  padding: 18px 0 8px;
}

.tool-group-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.tool-group-no {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
}

.tool-row-list {
  display: flex;
  flex-direction: column;
}

.tool-row-list .tool-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(0, 1.6fr) minmax(120px, 0.7fr);
  gap: 6px 20px;
  align-items: baseline;
  padding: 12px 8px 12px 10px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.tool-row-list .tool-row:hover {
  transform: translateX(2px);
  border-left-color: var(--orange);
  background: #FCFBF7;
}

.tool-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.tool-scene {
  font-size: 13px;
  color: var(--ink-soft);
  min-width: 0;
}

.tool-guide-link {
  justify-self: start;
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(27, 77, 62, 0.35);
}

.tool-guide-link:hover,
.tool-guide-link:focus-visible {
  text-decoration: none;
  border-bottom-color: var(--green);
}

.menu-figure {
  margin-top: 26px;
}

/* 角色任务对照 */

.role-compare {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.role-col {
  padding: 18px 16px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  min-width: 0;
}

.role-col-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.role-list li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.role-list li + li {
  margin-top: 8px;
}

.role-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
}

/* 服务范围结论与限制 */

.scope-block {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.scope-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: start;
}

.scope-text {
  min-width: 0;
}

.scope-conclusion {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--ink);
  padding-left: 12px;
  border-left: 2px solid var(--green);
}

.scope-limits {
  margin-top: 18px;
}

.scope-limits li {
  position: relative;
  padding-left: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  border-left: 2px solid var(--orange);
}

.scope-limits li + li {
  margin-top: 10px;
}

.scope-table {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 13px;
}

.scope-table thead th {
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: var(--green-soft);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.scope-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  line-height: 1.65;
}

.scope-table tbody tr:last-child td {
  border-bottom: 0;
}

.scope-table tbody td:first-child {
  color: var(--ink);
  font-weight: 500;
}

/* 近期更新摘要 */

.update-brief {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.update-brief-list {
  border-top: 1px solid var(--line);
}

.update-brief-row {
  display: grid;
  grid-template-columns: 110px 130px minmax(0, 1fr) auto;
  gap: 6px 18px;
  align-items: baseline;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
}

.update-batch {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
}

.update-scope {
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
}

.update-desc {
  font-size: 13px;
  color: var(--ink-soft);
  min-width: 0;
}

.update-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(27, 77, 62, 0.35);
  white-space: nowrap;
}

.update-link:hover,
.update-link:focus-visible {
  text-decoration: none;
  border-bottom-color: var(--green);
}

/* 支持路径收束块 */

.support-paths {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.support-paths-inner {
  padding: 26px 24px;
}

.support-paths-inner h2 {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
}

.support-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.support-path {
  min-width: 0;
  padding-left: 14px;
  border-left: 2px solid var(--green);
}

.support-path h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.support-path p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* 首页 FAQ 与相关链接 */

.faq-block {
  padding: 44px 0;
}

.related-links {
  margin-top: 22px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.related-links-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.related-links-item a {
  font-size: 13px;
  color: var(--green);
}

/* --------------------------------------------------------------------------
   5. pages — 工具目录
   -------------------------------------------------------------------------- */

.page-tools .page-hero {
  padding-top: 4px;
}

.index-bar {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.index-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}

.index-bar-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}

.anchor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}

.anchor-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  background: var(--green-soft);
  border-radius: var(--radius);
  text-decoration: none;
}

.anchor-link:hover,
.anchor-link:focus-visible {
  background: var(--green);
  color: #fff;
  text-decoration: none;
}

.anchor-link-updates {
  color: var(--orange);
  background: #FBF1EB;
}

.anchor-link-updates:hover,
.anchor-link-updates:focus-visible {
  background: var(--orange);
  color: #fff;
}

.index-bar-note {
  flex: 1 1 260px;
  font-size: 13px;
  color: var(--ink-soft);
  min-width: 0;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 40px;
  align-items: start;
  padding-top: 28px;
}

.page-primary {
  min-width: 0;
}

.page-primary > .content-figure {
  margin-bottom: 26px;
}

.page-aside {
  min-width: 0;
  position: sticky;
  top: 88px;
}

.aside-block {
  padding: 18px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.aside-block + .aside-block {
  margin-top: 18px;
}

.aside-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.aside-list {
  counter-reset: aside;
}

.aside-list li {
  position: relative;
  padding-left: 24px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.aside-list li + li {
  margin-top: 10px;
}

.aside-list li::before {
  counter-increment: aside;
  content: counter(aside, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
}

.aside-link {
  margin-top: 12px;
  font-size: 13px;
}

.aside-link a {
  color: var(--green);
  font-weight: 500;
}

.aside-block-note {
  background: var(--green-soft);
}

.aside-block-note p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* 工具目录分组 */

.page-tools .tool-group {
  border-top: 1px solid var(--line);
  padding: 20px 0 6px;
}

.tool-group-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.tool-group-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--orange);
  border-radius: var(--radius);
}

.tool-group-headtext {
  min-width: 0;
}

.tool-group-headtext h2 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
}

.tool-group-desc {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-soft);
}

.tool-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.tool-rows .tool-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.9fr) minmax(0, 1.5fr) minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 6px 18px;
  align-items: baseline;
  padding: 14px 6px 14px 10px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.tool-rows .tool-row:hover {
  transform: translateX(2px);
  border-left-color: var(--orange);
  background: #FCFBF7;
}

.tool-row-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.tool-row-name .tool-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.tool-tag {
  display: inline-block;
  padding: 1px 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 2px;
}

.tool-row-scene,
.tool-row-guide,
.tool-row-support {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  min-width: 0;
}

.tool-row-guide a,
.tool-row-support a {
  color: var(--green);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(27, 77, 62, 0.3);
}

.tool-row-guide a:hover,
.tool-row-support a:hover,
.tool-row-guide a:focus-visible,
.tool-row-support a:focus-visible {
  text-decoration: none;
  border-bottom-color: var(--green);
}

/* 条目选择依据 */

.choice-basis {
  margin-top: 32px;
  padding: 24px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.choice-basis h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.choice-basis .section-lead {
  margin-bottom: 14px;
}

.basis-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.basis-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.basis-num {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.7;
}

.basis-text {
  min-width: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.basis-text strong {
  color: var(--ink);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   6. pages — 使用场景
   -------------------------------------------------------------------------- */

.page-title-section {
  padding: 14px 0 22px;
  border-bottom: 1px solid var(--line);
}

.page-title-section .page-summary {
  max-width: 780px;
}

.page-title-section .page-meta {
  margin-top: 12px;
}

.layout-main-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 40px;
  align-items: start;
  padding-top: 28px;
}

.layout-main {
  min-width: 0;
}

.layout-aside {
  min-width: 0;
  position: sticky;
  top: 88px;
}

.scene-section,
.scene-table-section,
.scene-obstacle-section {
  padding: 0 0 34px;
}

.scene-section + .scene-table-section,
.scene-table-section + .scene-obstacle-section {
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.scene-section h2,
.scene-table-section h2,
.scene-obstacle-section h2 {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.scene-card {
  display: flex;
  gap: 12px;
  padding: 18px 16px 20px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-width: 0;
  transition: background 0.16s ease;
}

.scene-card:hover {
  background: #FCFBF7;
}

.scene-code {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.7;
}

.scene-body {
  min-width: 0;
}

.scene-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
}

.scene-audience {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.scene-basis {
  margin-top: 6px;
  padding-left: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  border-left: 2px solid var(--line-strong);
}

.scene-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(27, 77, 62, 0.35);
}

.scene-link:hover,
.scene-link:focus-visible {
  text-decoration: none;
  border-bottom-color: var(--green);
}

.scene-section .section-figure,
.scene-obstacle-section .section-figure {
  margin-top: 24px;
}

/* 场景与工具对照表 */

.scene-table-section .table-scroll {
  margin-top: 16px;
}

/* 常见障碍与支持方式 */

.obstacle-groups {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 18px;
}

.obstacle-group {
  padding: 18px 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.obstacle-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.obstacle-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.obstacle-col {
  min-width: 0;
}

.obstacle-col-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 8px;
}

.obstacle-list li {
  position: relative;
  padding-left: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  border-left: 2px solid var(--line);
}

.obstacle-list li + li {
  margin-top: 8px;
}

/* 场景页附注 */

.aside-lead {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.path-list {
  counter-reset: path;
}

.path-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.path-item + .path-item {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.path-num {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.7;
}

.path-text {
  min-width: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.aside-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.aside-text + .aside-text {
  margin-top: 8px;
}

.aside-block-muted .aside-link {
  display: inline-block;
}

/* --------------------------------------------------------------------------
   7. pages — 操作指南
   -------------------------------------------------------------------------- */

.page-guides .page-head {
  padding-top: 6px;
}

.page-layout.layout-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding-top: 28px;
}

.sidebar-left .page-layout {
  grid-template-columns: 260px minmax(0, 1fr);
}

.guides-sidebar {
  min-width: 0;
  padding: 18px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: sticky;
  top: 88px;
}

.sidebar-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.sidebar-intro {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.topic-group + .topic-group {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.topic-group-title {
  margin: 0;
}

.topic-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 36px;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
}

.topic-group-toggle::after {
  content: "−";
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--orange);
}

.topic-group-toggle[aria-expanded="false"]::after {
  content: "+";
}

.topic-group-name {
  min-width: 0;
}

.topic-group-count {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-soft);
  padding: 0 6px;
  background: var(--paper);
  border-radius: 2px;
}

.topic-group-toggle[aria-expanded="false"] + .topic-list {
  display: none;
}

.topic-list {
  margin-top: 4px;
}

.topic-item a {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 8px 4px 10px;
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.topic-item a:hover,
.topic-item a:focus-visible {
  color: var(--green);
  background: var(--green-soft);
  text-decoration: none;
}

.topic-item.is-current a {
  color: var(--green);
  font-weight: 500;
  background: var(--green-soft);
  border-left-color: var(--orange);
}

.sidebar-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.sidebar-foot a {
  color: var(--green);
  font-weight: 500;
}

.guides-main {
  min-width: 0;
}

/* 学习路径 */

.step-path {
  padding-bottom: 32px;
}

.step-path .section-title,
.guide-picks .section-title,
.prep-block .section-title {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.step-item {
  min-width: 0;
  padding: 18px 16px 20px;
  border-right: 1px solid var(--line);
}

.step-item:last-child {
  border-right: 0;
}

.step-index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 6px;
}

.step-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
}

.step-desc {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.step-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(27, 77, 62, 0.35);
}

.step-link:hover,
.step-link:focus-visible {
  text-decoration: none;
  border-bottom-color: var(--green);
}

/* 精选指南条目 */

.guide-picks {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.guide-item {
  margin-top: 18px;
  padding: 20px 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.guide-item + .guide-item {
  margin-top: 16px;
}

.guide-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.guide-code {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
}

.guide-title {
  flex: 1 1 240px;
  min-width: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.guide-time {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--ink-soft);
  padding: 1px 8px;
  background: var(--paper);
  border-radius: 2px;
}

.guide-summary {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.guide-figure {
  margin: 14px 0;
}

.guide-points {
  margin-top: 12px;
}

.guide-points li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.guide-points li + li {
  margin-top: 6px;
}

.guide-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
}

/* 准备事项与常见误区 */

.prep-block {
  padding: 32px 0 8px;
  border-top: 1px solid var(--line);
}

.prep-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 18px;
}

.prep-col {
  min-width: 0;
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.prep-col-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.prep-col-avoid .prep-col-title {
  color: var(--orange);
}

.prep-item,
.avoid-item {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.prep-item + .prep-item,
.avoid-item + .avoid-item {
  margin-top: 10px;
}

.prep-name,
.avoid-name {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.prep-desc,
.avoid-desc {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--ink-soft);
}

.prep-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
}

.avoid-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
}

/* 相关链接（指南页） */

.related-list {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.related-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}

.related-item a {
  font-size: 14px;
  font-weight: 500;
  color: var(--green);
}

.related-desc {
  font-size: 13px;
  color: var(--ink-soft);
  min-width: 0;
}

/* --------------------------------------------------------------------------
   8. pages — 更新说明
   -------------------------------------------------------------------------- */

.content-body {
  padding-top: 28px;
}

.update-summary {
  padding: 0 0 32px;
}

.summary-panel {
  padding: 24px 22px;
}

.summary-lead {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--ink);
}

.summary-title {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
}

.summary-points {
  margin-top: 10px;
}

.summary-points li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.summary-points li + li {
  margin-top: 8px;
}

.summary-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
}

.summary-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(27, 77, 62, 0.18);
  font-size: 13px;
  color: var(--ink-soft);
}

.content-body > .content-figure {
  margin-bottom: 32px;
}

.update-log {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.update-log h2,
.update-adjust h2 {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
}

.update-log .table-scroll {
  margin-top: 16px;
}

.update-table .cell-code {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  white-space: nowrap;
}

.update-table td {
  min-width: 120px;
}

.update-table td:first-child {
  min-width: 96px;
}

/* 调整说明与应对 */

.update-adjust {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.adjust-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 18px;
}

.adjust-col {
  min-width: 0;
  padding: 18px 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.adjust-col h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.adjust-list li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.adjust-list li + li {
  margin-top: 10px;
}

.adjust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
}

.adjust-name {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

/* 查阅与反馈路径 */

.update-paths {
  padding: 32px 0 8px;
  border-top: 1px solid var(--line);
}

.paths-panel {
  padding: 24px 22px;
}

.paths-panel h2 {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
}

.paths-lead {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-soft);
}

.paths-list {
  margin-top: 16px;
}

.paths-list .path-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-top: 1px solid rgba(27, 77, 62, 0.16);
}

.paths-list .path-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.path-index {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.8;
}

.path-body {
  min-width: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.path-body a {
  color: var(--green);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   9. pages — 问题反馈
   -------------------------------------------------------------------------- */

.page-feedback .page-title-block {
  padding-top: 6px;
}

.page-feedback .page-meta {
  margin-top: 10px;
}

.fb-classify,
.fb-checklist,
.fb-route,
.fb-faq {
  padding: 34px 0;
}

.fb-classify {
  padding-top: 28px;
}

.fb-checklist,
.fb-route,
.fb-faq {
  border-top: 1px solid var(--line);
}

.fb-classify h2,
.fb-checklist h2,
.fb-route h2,
.fb-faq h2 {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
}

.fb-figure {
  margin-top: 6px;
  margin-bottom: 22px;
}

.fb-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fb-card {
  min-width: 0;
  padding: 18px 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.16s ease, background 0.16s ease;
}

.fb-card:hover {
  border-color: var(--line-strong);
  background: #FCFBF7;
}

.fb-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.fb-card-no {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
}

.fb-card-title {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink);
}

.fb-card-desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.fb-card-desc a {
  color: var(--green);
  font-weight: 500;
}

.fb-card-judge {
  margin-top: 10px;
  padding-left: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  border-left: 2px solid var(--orange);
}

.fb-card-judge a {
  color: var(--green);
  font-weight: 500;
}

/* 准备清单 */

.fb-check-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.fb-check-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.fb-check-box {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  border: 1px solid var(--green);
  border-radius: 2px;
  background: var(--green-soft);
}

.fb-check-body {
  min-width: 0;
}

.fb-check-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.6;
}

.fb-check-note {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* 处理路径与说明范围 */

.fb-route-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.fb-route-col {
  min-width: 0;
  padding: 18px 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.fb-route-sub {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.fb-route-steps {
  counter-reset: fbroute;
}

.fb-route-step {
  position: relative;
  padding-left: 26px;
}

.fb-route-step + .fb-route-step {
  margin-top: 12px;
}

.fb-route-step::before {
  counter-increment: fbroute;
  content: counter(fbroute, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
}

.fb-route-name {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.fb-route-desc {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.fb-route-scope {
  display: flex;
  flex-direction: column;
}

.fb-route-scope-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.fb-route-scope-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fb-route-scope-name {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.fb-route-scope-desc {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* 反馈页 FAQ */

.fb-faq .faq-list {
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   10. pages — 平台说明
   -------------------------------------------------------------------------- */

.section-positioning,
.section-info-standard,
.section-scope,
.section-collab {
  padding: 36px 0;
}

.section-positioning {
  padding-top: 32px;
}

.section-info-standard,
.section-scope,
.section-collab {
  border-top: 1px solid var(--line);
}

.positioning-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: start;
}

.positioning-text {
  min-width: 0;
}

.positioning-text p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.positioning-text .subsection-title {
  margin-top: 22px;
}

.scope-list {
  margin-top: 12px;
}

.scope-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.scope-list li + li {
  margin-top: 8px;
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

.positioning-figure {
  min-width: 0;
}

.standard-block {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.standard-block:first-of-type {
  margin-top: 16px;
}

.standard-block p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 780px;
}

/* 包含与不包含 */

.scope-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 18px;
}

.scope-col {
  min-width: 0;
  padding: 18px 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.scope-col-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.scope-exclude .scope-col-title {
  color: var(--orange);
}

.scope-item-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.scope-item-list li + li {
  margin-top: 10px;
}

.scope-include .scope-item-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
}

.scope-exclude .scope-item-list li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
}

/* 沟通与协作路径 */

.collab-list {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.collab-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.collab-index {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.8;
}

.collab-body {
  min-width: 0;
}

.collab-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
}

.collab-body p {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.collab-body .text-link {
  display: inline-block;
  margin-top: 8px;
}

.collab-note {
  margin-top: 20px;
  padding: 18px 18px 20px;
  background: var(--green-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.collab-note-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.collab-note p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.collab-note .text-link {
  display: inline-block;
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   11. pages — 404
   -------------------------------------------------------------------------- */

.error-main {
  padding: 56px 0 64px;
}

.error-container {
  max-width: 820px;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
}

.error-main h1 {
  margin-top: 8px;
  font-size: 34px;
  line-height: 1.32;
  font-weight: 700;
  color: var(--ink);
}

.error-lead {
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 640px;
}

.error-section {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.error-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.error-list {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
}

.error-list li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(27, 77, 62, 0.3);
}

.error-list li a:hover,
.error-list li a:focus-visible {
  text-decoration: none;
  border-bottom-color: var(--green);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* --------------------------------------------------------------------------
   12. responsive — 1024 / 768 / 480
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  :root {
    --gutter: 20px;
  }

  .header-inner {
    gap: 18px;
  }

  .brand-slogan {
    display: none;
  }

  .nav-item > a {
    padding: 0 9px;
    font-size: 13px;
  }

  .hero-grid {
    gap: 32px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .page-layout,
  .layout-main-aside,
  .page-layout.layout-shell,
  .sidebar-left .page-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 28px;
  }

  .page-layout.layout-shell,
  .sidebar-left .page-layout {
    grid-template-columns: 232px minmax(0, 1fr);
  }

  .footer-top {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand-desc {
    max-width: none;
  }

  .role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-row-list .tool-row {
    grid-template-columns: minmax(130px, 1fr) minmax(0, 1.5fr) minmax(110px, 0.7fr);
  }

  .tool-rows .tool-row {
    grid-template-columns: minmax(130px, 1fr) minmax(0, 1.4fr) minmax(0, 1.1fr);
  }

  .tool-row-support {
    grid-column: 1 / -1;
    padding-left: 0;
  }

  .scope-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 28px;
  }

  .positioning-layout {
    gap: 28px;
  }
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-inner {
    justify-content: space-between;
  }

  .category-bar {
    position: static;
  }

  .page-layout,
  .layout-main-aside,
  .page-layout.layout-shell,
  .sidebar-left .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .page-aside,
  .layout-aside,
  .guides-sidebar {
    position: static;
  }

  .guides-sidebar {
    order: 2;
  }

  .guides-main {
    order: 1;
  }

  .page-primary {
    order: 1;
  }

  .page-aside {
    order: 2;
  }

  .layout-main {
    order: 1;
  }

  .layout-aside {
    order: 2;
  }

  .step-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step-item:last-child {
    border-bottom: 0;
  }

  .prep-columns,
  .adjust-columns,
  .fb-route-cols,
  .scope-compare,
  .obstacle-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .positioning-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .positioning-figure {
    order: 2;
  }

  .scene-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fb-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fb-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .support-path-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .scope-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
    padding-top: 32px;
    padding-bottom: 26px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .hero {
    padding: 28px 0 32px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hero-figure {
    order: 2;
  }

  .hero-text {
    order: 1;
  }

  .hero-figure img {
    aspect-ratio: 16 / 10;
  }

  .tool-row-list .tool-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 14px;
    align-items: baseline;
  }

  .tool-row-list .tool-row .tool-name {
    grid-column: 1;
  }

  .tool-row-list .tool-row .tool-guide-link {
    grid-column: 2;
    grid-row: 1;
  }

  .tool-row-list .tool-row .tool-scene {
    grid-column: 1 / -1;
  }

  .tool-rows .tool-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .tool-row-support {
    grid-column: auto;
  }

  .update-brief-row {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 4px 14px;
  }

  .update-brief-row .update-desc {
    grid-column: 1 / -1;
  }

  .update-brief-row .update-link {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .error-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 16px;
  }

  body {
    font-size: 14px;
  }

  .header-inner {
    min-height: 58px;
    padding: 0 16px;
  }

  .brand-mark {
    height: 30px;
    padding: 0 10px;
    font-size: 15px;
  }

  .mobile-drawer {
    max-height: calc(100vh - 58px);
  }

  .category-bar {
    border-top: 1px solid var(--line);
  }

  .category-link {
    min-height: 44px;
    padding: 0 14px;
    font-size: 13px;
  }

  .breadcrumb,
  .page-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-title,
  .error-main h1 {
    font-size: 26px;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .hero-lead {
    font-size: 14px;
  }

  .scene-entry {
    min-height: 60px;
    padding: 10px 2px 10px 8px;
  }

  .scene-entry-name {
    font-size: 14px;
  }

  .section-title,
  .tool-menu .section-head h2,
  .role-compare .section-head h2,
  .scope-block .section-head h2,
  .update-brief .section-head h2,
  .scene-section h2,
  .scene-table-section h2,
  .scene-obstacle-section h2,
  .step-path .section-title,
  .guide-picks .section-title,
  .prep-block .section-title,
  .update-log h2,
  .update-adjust h2,
  .fb-classify h2,
  .fb-checklist h2,
  .fb-route h2,
  .fb-faq h2 {
    font-size: 19px;
  }

  .tool-menu,
  .role-compare,
  .scope-block,
  .update-brief,
  .support-paths,
  .faq-block {
    padding: 30px 0;
  }

  .support-paths-inner {
    padding: 20px 16px;
  }

  .summary-panel,
  .paths-panel,
  .choice-basis,
  .guide-item,
  .fb-card,
  .obstacle-group,
  .prep-col,
  .adjust-col,
  .fb-route-col,
  .scope-col,
  .collab-note {
    padding-left: 14px;
    padding-right: 14px;
  }

  .page-title-block,
  .page-hero-inner {
    padding-bottom: 16px;
  }

  .page-meta {
    gap: 4px 16px;
  }

  .role-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .footer-col-title {
    font-size: 13px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .index-bar-inner {
    align-items: flex-start;
  }

  .anchor-link {
    min-height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }

  .data-table {
    min-width: 560px;
  }

  .scene-card {
    padding: 14px 12px 16px;
  }

  .guide-item-head {
    gap: 4px 10px;
  }

  .guide-title {
    flex-basis: 100%;
    font-size: 16px;
  }

  .faq-question {
    padding: 12px 12px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 12px 14px;
  }

  .error-main {
    padding: 36px 0 44px;
  }

  .error-actions {
    gap: 10px;
  }

  .btn {
    padding: 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
