/* XMSP V105：营销首页 + 文档（wiki）双语言，采用深海军蓝、青色与冷灰背景。 */

:root {
  --brand-accent: #0b656b;
  --brand-accent-hover: #074f54;
  --brand-accent-soft: #dcefed;
  --brand-accent-faint: #eef7f6;
  --brand-navy: #102c46;
  --brand-navy-2: #173e5f;
  --brand-amber: #e9a23b;
  /* 旧 red 名只做别名，避免漏改；真红走 --danger */
  --brand-red-bright: var(--brand-accent);
  --brand-red: var(--brand-accent);
  --brand-red-strong: var(--brand-accent);
  --brand-red-deep: var(--brand-accent-hover);
  --brand-red-soft: var(--brand-accent-soft);
  --brand-red-faint: var(--brand-accent-faint);
  --brand-charcoal: #2e2f2c;
  --brand-graphite: #5a5c58;
  --brand-silver: #9a9b98;
  --brand-paper: #fcfdfb;
  --primary: var(--brand-accent);
  --primary-hover: var(--brand-accent-hover);
  --surface-dark: var(--brand-navy);
  --gradient-brand: linear-gradient(120deg, #0c253b 0%, #123b56 55%, #0b656b 100%);
  --gradient-paper: linear-gradient(105deg, #ffffff 0%, #f8fbfc 46%, var(--brand-accent-faint) 100%);
  --gradient-dark: linear-gradient(135deg, #0a2135 0%, #102c46 58%, #173e5f 100%);

  --ink: #172033;
  --navy: var(--brand-navy);
  --blue: var(--brand-accent);
  --blue-soft: var(--brand-accent-soft);
  --cyan: var(--brand-accent);
  --green: #067647;
  --ok: #067647;
  --ok-soft: #ecfdf5;
  --warn: #8a5a00;
  --warn-soft: #fff5dd;
  --danger: #7a271a;
  --danger-soft: #fef3f2;
  --doc-backdrop: #edf2f4;
  --doc-paper: #ffffff;
  --doc-ink: #172033;
  --doc-accent: #0b656b;
  --doc-accent-hover: #074f54;
  --doc-accent-soft: #dcefed;
  --doc-blue: var(--doc-accent);
  --doc-blue-soft: var(--doc-accent-soft);
  --doc-line: #d5e0e4;
  --doc-edge: #cbd5df;
  --doc-soft: #f6f8fa;
  --doc-muted: #66758a;
  --doc-copy-muted: #526379;
  --chrome-h: 61px;
  --accent: var(--brand-accent);
  --edge: var(--doc-edge);
  /* v5 图集底色：必须与 PNG 背景完全一致，否则无缝拼接会出现色块边框 */
  --art-bg: #f5f5f5;
  --orange: #c2410c;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --backdrop: #eaf1f3;
  --line: #d5e0e4;
  --text: #34445a;
  --muted: #66758a;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 12px 34px rgba(16,44,70,.09);
  --shadow-lg: 0 24px 64px rgba(16,44,70,.16);
  --maxw: 1180px;
  --font: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.doc {
  --doc-accent: #0b656b;
  --doc-accent-hover: #074f54;
  --doc-accent-soft: #dcefed;
  --doc-backdrop: #edf2f4;
  --doc-paper: #ffffff;
  --doc-ink: #172033;
  --doc-muted: #66758a;
  --doc-line: #d5e0e4;
  --doc-edge: #cbd5df;
  --doc-soft: #f6f8fa;
  --doc-blue: var(--doc-accent);
  --doc-blue-soft: var(--doc-accent-soft);
  --doc-copy-muted: #526379;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; font-size: 16px; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
/* 有 width/height 属性时，只写 max-width 会把高度钉在属性值上，图被拉扁。
   height:auto 让高度跟宽度一起按原图比例走。更具体的卡片规则可再覆盖。 */
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4 { line-height: 1.25; color: var(--ink); font-weight: 700; }
ul,ol { padding-left: 1.2em; }
button { font-family: inherit; cursor: pointer; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }

/* ---------- buttons ---------- */
.btn { display:inline-block; padding:12px 22px; border-radius:999px; font-weight:600; font-size:15px; border:1px solid transparent; transition:.18s; white-space:nowrap; }
.btn:hover { text-decoration:none; transform:translateY(-1px); }
.btn-primary { background:var(--blue); color:#fff; }
.btn-primary:hover { background:var(--primary-hover); }
.btn-warm { background:var(--accent); color:#fff; }
.btn-warm:hover { background:var(--brand-accent-hover); }
.btn-light { background:#fff; color:var(--navy); }
.btn-ghost { background:transparent; color:var(--blue); border-color:var(--line); }
.btn-ghost:hover { border-color:var(--blue); }
.btn-dark-outline { background:transparent; color:#ecece8; border-color:rgba(255,255,255,.3); }
.btn-dark-outline:hover { border-color:var(--cyan); color:var(--cyan); }
.btn-white { background:#fff; color:var(--navy); }

/* ---------- header ---------- */
.site-header { position:sticky; top:0; z-index:60; background:rgba(255,255,255,.94); backdrop-filter:saturate(180%) blur(10px); border-bottom:1px solid var(--line); }
.header-inner { display:flex; align-items:center; gap:24px; height:72px; }
.brand { display:flex; align-items:center; gap:12px; color:var(--ink); }
.brand-word {
  color: var(--brand-accent);
  font-size: 36px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
}
.brand:hover { text-decoration:none; }
.brand-mark { display:grid; place-items:center; width:38px; height:38px; border-radius:10px; background:var(--brand-red-strong); color:#fff; font-weight:800; font-size:15px; }
.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  line-height: 1.15;
  white-space: nowrap;
}
.brand-copy b {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--brand-navy);
}
.brand-copy small {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #545651;
}
.header-tools { display:flex; align-items:center; gap:14px; margin-left:auto; }
.header-contact {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand-accent);
  line-height: 0;
}
.header-contact svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header-contact:hover,
.header-contact.is-open {
  background: none;
  color: var(--brand-accent);
  text-decoration: none;
}
.header-contact .dot,
.v30-progress__tools .dot {
  fill: currentColor;
  stroke: none;
}
.msp-cart[data-tip]::after,
.header-contact[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 40;
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--brand-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}
.msp-cart[data-tip]:hover::after,
.msp-cart[data-tip]:focus-visible::after,
.header-contact[data-tip]:hover::after,
.header-contact[data-tip]:focus-visible::after {
  opacity: 1;
}
.lang-switch { position: relative; flex: none; margin-left: 16px; }
.lang-switch__btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--navy);
  cursor: pointer;
}
.lang-switch__btn:hover,
.lang-switch__btn[aria-expanded="true"] {
  background: none;
  color: var(--accent);
}
.lang-switch__btn svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lang-switch__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.lang-switch__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 5;
  min-width: 168px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.lang-switch__menu[hidden] { display: none; }
.lang-switch__menu li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  border-radius: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}
.lang-switch__menu li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.lang-switch__menu li > a:hover,
.lang-switch__menu li > a:focus-visible {
  background: var(--bg-soft);
  color: var(--accent);
  outline: none;
}
.lang-switch__menu [aria-current="true"] {
  padding: 8px 10px;
  background: var(--blue-soft);
  color: var(--accent);
}
.lang-switch__menu .is-soon { color: var(--muted); font-weight: 600; cursor: default; }
.lang-switch__menu small { color: var(--muted); font-size: 12px; font-weight: 600; }
.nav { display:flex; align-items:center; gap:2px; }
.nav > a, .has-sub > a { display:inline-block; padding:9px 13px; border-radius:9px; color:var(--text); font-weight:500; font-size:15px; }
.nav > a:hover, .has-sub:hover > a { color:var(--blue); background:var(--bg-soft); text-decoration:none; }
.nav > a.current, .has-sub.current > a { color:var(--blue); font-weight:700; }
.nav-cta { margin-left:8px; padding:9px 18px; border-radius:999px; background:var(--blue); color:#fff !important; font-weight:600; }
.nav-cta:hover { background:var(--primary-hover) !important; }
.has-sub { position:relative; }
.has-sub .sub { position:absolute; top:100%; left:0; min-width:260px; background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow-lg); padding:8px; opacity:0; visibility:hidden; transform:translateY(8px); transition:.18s; }
.has-sub:hover .sub { opacity:1; visibility:visible; transform:translateY(4px); }
/* 最后一个下拉（应用与案例）原来也是 left:0 + min-width:260px，
   而导航是 margin-left:auto 右对齐，于是 1280/1366 下它伸出视口右侧，
   造成整页横向滚动条（实测 1280 溢出 54px、1366 溢出 11px）。
   改为贴右对齐即可。 */
.nav > div.has-sub:last-of-type .sub { left:auto; right:0; }
.has-sub .sub a { display:flex; flex-direction:column; gap:1px; padding:10px 14px; border-radius:9px; color:var(--text); }
.has-sub .sub a:hover { background:var(--blue-soft); color:var(--blue); text-decoration:none; }
.has-sub .sub strong { font-size:14.5px; }
.has-sub .sub span { font-size:13px; color:var(--muted); }
.menu-button { display:none; background:none; border:1px solid var(--line); border-radius:9px; font-size:20px; padding:6px 12px; margin-left:auto; }

/* ---------- footer ---------- */
footer { background:#f2f5f8; color:var(--muted); border-top:1px solid var(--line); padding:48px 0 28px; font-size:15px; }
.footer-grid { display:grid; grid-template-columns:minmax(190px,.8fr) minmax(400px,1.6fr) minmax(250px,auto); gap:36px; align-items:start; margin-bottom:0; }
footer h5, footer strong { color:var(--brand-navy); font-size:15px; font-weight:800; display:block; margin-bottom:12px; }
.footer-grid a:not(.brand) { display:block; color:var(--brand-accent); margin-bottom:8px; font-size:15px; }
.footer-grid a:not(.brand):hover { color:var(--brand-accent-hover); }
footer a.footer-brand { text-decoration:none; }
.footer-software-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:28px; }
.footer-contact-brand { display:flex; flex-direction:column; align-items:flex-start; gap:18px; }
.footer-contact-brand .footer-links { width:100%; }
/* 右侧栏、Logo 和节点标识共用左边缘。 */
.footer-id { display: flex; flex-direction: column; align-items: flex-start; justify-self: stretch; width: 100%; max-width: 100%; }
.footer-id .footer-brand { align-self: flex-start; }
.footer-id p { margin: 12px 0 0; align-self: stretch; color: var(--muted); font-size: 14px; line-height: 1.5; text-align: left; }
.footer-node { margin-top: 8px; align-self: flex-end; color: var(--brand-navy); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-align: right; }
.footer-links { margin: 0; }
.footer-qr { display:flex; flex-direction:column; align-items:center; margin:0; }
.footer-qr a { margin-bottom: 10px; }
.footer-qr img { width:96px; height:auto; display:block; background:#fff; border:1px solid var(--line); }
.footer-qr figcaption { margin-top:8px; font-size:13px; color:#545651; text-align:center; }

/* ============================================================
   首页（营销着陆页）
   ============================================================ */
.hero { overflow:hidden; padding:68px 0 60px; border-bottom:0; background:var(--bg-soft); }
.hero-grid { display:grid; grid-template-columns:.88fr 1.12fr; gap:48px; align-items:center; padding:0 24px; }
.eyebrow { display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:700; color:var(--blue); background:var(--blue-soft); padding:6px 14px; border-radius:999px; margin-bottom:18px; }
.hero h1 { margin-bottom:17px; font-size:clamp(40px,4.6vw,60px); line-height:1.08; letter-spacing:-2px; }
.hero h1 em { font-style:normal; color:var(--blue); }
.hero-lead { max-width:560px; margin-bottom:21px; color:var(--muted); font-size:17px; }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; }

.section-head { text-align:center; max-width:760px; margin:0 auto 44px; }
.section-head.align-left { text-align:left; margin-left:0; }
.section-kicker { display:inline-block; font-size:14px; font-weight:700; letter-spacing:.5px; color:var(--blue); background:var(--blue-soft); border-radius:999px; padding:5px 13px; margin-bottom:14px; }
.section-kicker.dark { background:rgba(255,255,255,.1); color:#e8e8e4; }
.section-head h2 { font-size:32px; margin-bottom:12px; }
.section-head p { color:var(--muted); font-size:16.5px; }

/* 两步选型 */
.guide-shell { background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:32px; box-shadow:var(--shadow); }
.step-title { display:flex; align-items:center; gap:14px; margin-bottom:18px; }
.step-title > span { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:var(--blue); color:#fff; font-weight:800; flex:none; }
.step-title b { font-size:19px; }
.step-title small { display:block; color:var(--muted); font-size:14px; font-weight:400; }
.guide-divider { display:flex; align-items:center; gap:12px; margin:22px 0; color:var(--muted); font-size:13px; font-weight:700; }
.guide-divider i { flex:1; height:1px; background:var(--line); }
.persona-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.persona-grid button { display:flex; flex-direction:column; align-items:flex-start; gap:4px; text-align:left; background:#fff; border:2px solid var(--line); border-radius:14px; padding:18px; transition:.16s; }
.persona-grid button:hover { border-color:#cecec8; }
.persona-grid button.selected { border-color:var(--blue); background:var(--blue-soft); }
.option-icon { font-size:20px; font-weight:800; color:var(--blue); }
.persona-grid b { font-size:16px; }
.persona-grid small { color:var(--muted); font-size:13px; }
.hardware-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.hardware-grid button { display:flex; flex-direction:column; align-items:flex-start; gap:3px; text-align:left; background:#fff; border:2px solid var(--line); border-radius:14px; padding:18px; transition:.16s; }
.hardware-grid button:hover { border-color:#cecec8; }
.hardware-grid button.selected { border-color:var(--blue); background:var(--blue-soft); }
.hardware-code { font-weight:800; font-size:18px; color:var(--blue); }
.hardware-grid b { font-size:16px; }
.hardware-grid small { color:var(--muted); font-size:13px; }

.solution-result { margin-top:26px; display:grid; grid-template-columns:1.1fr .9fr; gap:24px; background:var(--navy); border-radius:16px; padding:26px; color:#e8e8e4; }
.result-label { font-size:13px; font-weight:700; letter-spacing:.5px; color:#b0b0aa; }
.result-copy h3 { color:#fff; font-size:22px; margin:6px 0 8px; }
.result-copy h3 span { color:var(--cyan); }
.result-copy p { color:#c8c8c2; font-size:14.5px; margin-bottom:12px; }
.result-tags { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:16px; }
.result-tags span { font-size:14px; color:#e8e8e4; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); border-radius:999px; padding:4px 11px; }
.result-actions { display:flex; gap:10px; flex-wrap:wrap; }
.result-steps { list-style:none; padding:0; display:grid; gap:6px; }
.result-steps li { display:flex; gap:10px; align-items:center; font-size:14px; color:#c8c8c2; }
.result-steps b { display:grid; place-items:center; width:24px; height:24px; border-radius:50%; background:rgba(61,79,95,.15); color:var(--cyan); font-size:13px; flex:none; }
.result-photo img { border-radius:12px; background:#fff; }
.result-photo figcaption { font-size:13px; color:#b0b0aa; text-align:center; margin-top:8px; }

/* 平台 M×N */
.matrix-card { background:var(--navy); border-radius:var(--radius-lg); padding:30px; color:#e8e8e4; }
.matrix-card .matrix-part { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); border-radius:12px; padding:16px; margin-bottom:10px; }
.matrix-card .matrix-part span { font-size:13px; color:#b4b4ae; }
.matrix-card .matrix-part b { display:block; color:#fff; font-size:18px; margin:4px 0; }
.matrix-card .matrix-part small { color:#b0b0aa; font-size:14px; }
.matrix-card .matrix-part i { display:inline-block; font-style:normal; font-size:14px; background:rgba(61,79,95,.12); border:1px solid rgba(61,79,95,.3); color:var(--cyan); border-radius:999px; padding:3px 9px; margin:3px 3px 0 0; }
.matrix-card > strong { display:block; text-align:center; color:var(--cyan); font-size:24px; margin:2px 0; }
.matrix-card .matrix-result { background:var(--gradient-brand); border-radius:12px; padding:14px; text-align:center; }
.matrix-card .matrix-result b { display:block; color:#fff; font-size:19px; }
.matrix-card .matrix-result span { color:#f7f4f3; font-size:14px; }
.matrix-card > p { font-size:13px; color:#c8c8c2; margin-top:12px; }

/* 快速上手 */
.quickstart-grid { display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center; }
.quickstart-grid h2 { font-size:30px; margin:12px 0 12px; }
.quickstart-grid p { color:var(--muted); margin-bottom:16px; }
.quick-links { list-style:none; padding:0; display:grid; gap:8px; margin-bottom:20px; }
.quick-links a { display:flex; justify-content:space-between; align-items:center; background:#fff; border:1px solid var(--line); border-radius:12px; padding:12px 16px; }
.quick-links a:hover { border-color:var(--blue); text-decoration:none; }
.quick-links b { color:var(--ink); }
.quick-links span { color:var(--muted); font-size:14px; }
.window { background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); overflow:hidden; }
.window-bar { display:flex; align-items:center; gap:7px; padding:12px 16px; background:var(--bg-soft); border-bottom:1px solid var(--line); }
.window-bar i { width:10px; height:10px; border-radius:50%; background:#cecec8; }
.window-bar span { margin-left:8px; font-size:14px; color:var(--muted); font-weight:600; }
.window-body { display:grid; grid-template-columns:130px 1fr; min-height:220px; }
.window-body aside { padding:16px; border-right:1px solid var(--line); display:flex; flex-direction:column; gap:6px; }
.window-body aside b { font-size:13px; color:var(--muted); }
.window-body aside span { font-size:14px; color:var(--muted); background:var(--bg-soft); border-radius:7px; padding:6px 9px; }
.window-body aside span.on { background:var(--blue-soft); color:var(--blue); font-weight:700; }
.flow-list { padding:16px; display:flex; flex-direction:column; gap:8px; }
.flow-list > div { display:flex; align-items:center; gap:10px; font-size:14px; background:var(--bg-soft); border:1px solid var(--line); border-radius:9px; padding:9px 12px; }
.flow-list > div.on { border-color:var(--blue); background:var(--blue-soft); }
.flow-list b { color:var(--blue); font-size:13px; }
.flow-list span { flex:1; }
.flow-list em { font-style:normal; font-size:14px; color:var(--green); font-weight:700; }

/* 案例 */
.case-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.case { background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; transition:.2s; }
.case:hover { box-shadow:var(--shadow); transform:translateY(-3px); }
.case img { aspect-ratio:4/3; object-fit:cover; width:100%; }
.case .cap { padding:16px 18px; }
.case .tag { display:inline-block; font-size:13px; font-weight:700; color:var(--blue); background:var(--blue-soft); border-radius:6px; padding:2px 8px; margin-bottom:8px; }
.case h4 { font-size:17px; margin-bottom:3px; }
.case p { font-size:14px; color:var(--muted); }
.case-note { margin-top:18px; font-size:13px; color:var(--muted); }

/* 支持 + 联系 */
.support-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.support-grid > div { background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:24px; }
.support-grid span { font-size:13px; font-weight:800; color:var(--blue); }
.support-grid b { display:block; font-size:17px; margin:8px 0 6px; }
.support-grid p { font-size:14px; color:var(--muted); }
.contact-section { padding:0 0 72px; }
.contact-card { background:var(--gradient-brand); color:#fff; border-radius:var(--radius-lg); padding:44px; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.contact-card span { font-size:13px; font-weight:700; opacity:.85; }
.contact-card h2 { color:#fff; font-size:27px; margin:6px 0 8px; }
.contact-card p { color:#d8e0e6; font-size:15px; max-width:520px; }
.contact-actions { display:flex; gap:12px; flex-wrap:wrap; }

/* ============================================================
   分类索引页（wiki 风格列表）
   ============================================================ */
.page-hero { background:var(--gradient-dark); color:#e8e8e4; padding:52px 0; }
.page-hero h1 { color:#fff; font-size:34px; margin-bottom:10px; }
.page-hero p { color:#c4c4be; font-size:16px; max-width:760px; }
.cat-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.cat-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:24px; display:flex; gap:18px; transition:.2s; }
.cat-card:hover { border-color:var(--blue); transform:translateY(-2px); text-decoration:none; }
.cat-card img { width:120px; height:120px; object-fit:contain; border-radius:12px; background:var(--bg-soft); flex:none; }
.cat-card h3 { font-size:19px; margin-bottom:6px; }
.cat-card p { color:var(--muted); font-size:14px; margin-bottom:10px; }
.cat-card .meta { display:flex; gap:6px; flex-wrap:wrap; }
.cat-card .meta span { font-size:13px; color:var(--blue); background:var(--blue-soft); border-radius:6px; padding:2px 8px; }

/* ============================================================
   wiki 文章模板（营销头 + 正文 + 侧栏）
   ============================================================ */
.crumbs { font-size:14px; color:var(--muted); padding:20px 0 0; }
.crumbs a { color:var(--muted); }
.crumbs a:hover { color:var(--blue); }
.crumbs .sep { margin:0 8px; color:var(--doc-edge); }

.article-wrap { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:44px; align-items:start; padding:32px 0 72px; }

/* 营销头 */
.article-hero { border:1px solid var(--line); border-radius:var(--radius-lg); padding:30px; background:#fff; margin-bottom:26px; }
.article-hero .badge { display:inline-block; font-size:13px; font-weight:700; color:var(--blue); background:var(--blue-soft); border-radius:999px; padding:4px 12px; margin-bottom:12px; }
.article-hero h1 { font-size:32px; margin-bottom:8px; }
.article-hero .lead { color:var(--muted); font-size:17px; max-width:640px; margin-bottom:18px; }
.param-strip { list-style:none; padding:0; display:flex; gap:10px; flex-wrap:wrap; margin-bottom:20px; }
.param-strip li { background:var(--bg-soft); border:1px solid var(--line); border-radius:10px; padding:10px 16px; text-align:center; min-width:110px; }
.param-strip b { display:block; color:var(--ink); font-size:16px; }
.param-strip span { color:var(--muted); font-size:14px; }
.article-cta { display:flex; gap:12px; flex-wrap:wrap; }

/* 正文 */
.prose > h2 { font-size:24px; margin:34px 0 12px; padding-top:8px; }
.prose > h3 { font-size:18px; margin:24px 0 10px; }
.prose p { margin-bottom:12px; color:var(--text); }
.prose ul, .prose ol { margin-bottom:14px; }
.prose li { margin-bottom:6px; }
.table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:12px; margin:14px 0; }
.table-wrap table { border-collapse:collapse; width:100%; font-size:14px; min-width:520px; }
.table-wrap th, .table-wrap td { padding:10px 13px; text-align:left; border-bottom:1px solid var(--line); }
.table-wrap th { background:var(--bg-soft); font-weight:700; white-space:nowrap; }
.table-wrap tr:last-child td { border-bottom:none; }
.table-wrap .download-table { min-width:0; table-layout:fixed; }
.download-table th:first-child,
.download-table td:first-child { width:32%; }
.download-table td { vertical-align:top; }
.download-table td a { display:inline-block; margin:0 8px 4px 0; }

.callout { border-left:4px solid var(--blue); background:var(--blue-soft); border-radius:0 12px 12px 0; padding:14px 16px; margin:14px 0; font-size:14.5px; }
/* v23：改用语义 token，不再硬编码底色 */
.callout.warn { border-color:var(--warn); background:var(--warn-soft); }
.callout.tip { border-color:var(--ok); background:var(--ok-soft); }
.callout.danger { border-color:var(--danger); background:var(--danger-soft); }
.callout b { color:var(--ink); }

pre.code { background:var(--navy); color:#e8e8e2; border-radius:12px; padding:18px; overflow-x:auto; font-size:14px; line-height:1.8; margin:14px 0; font-family:ui-monospace,Consolas,monospace; }
pre.code .c { color:#b7c2cc; }
code.mono { font-family:ui-monospace,Consolas,monospace; background:var(--bg-soft); padding:1px 6px; border-radius:5px; font-size:14px; }

.steps { list-style:none; padding:0; counter-reset:s; }
.steps li { position:relative; padding:10px 0 10px 40px; border-bottom:1px dashed var(--line); }
.steps li::before { counter-increment:s; content:counter(s); position:absolute; left:0; top:10px; width:26px; height:26px; border-radius:50%; background:var(--blue); color:#fff; display:grid; place-items:center; font-weight:700; font-size:13px; }

/* 工程图：缩略预览保持原比例，点击打开 300DPI 原图；PDF 紧邻图注下载 */
.drawing-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:16px 0; }
.drawing-grid.single { grid-template-columns:1fr; }
.drawing-card { overflow:hidden; margin:0; border:1px solid var(--line); border-radius:14px; background:#fff; }
.drawing-card > a:first-child { display:grid; place-items:center; min-height:260px; padding:14px; background:var(--bg-soft); }
.drawing-card img { width:auto; max-width:100%; height:auto; max-height:560px; margin:0 auto; object-fit:contain; }
/* v23 修缺陷：原来是 height:320px / .tall 480px 固定高。
   实测 msp57-dim.png = 1560×1680、msp57-io.png = 309×752，
   被压进 320px 高的框后既变形（381×320，比例 1.19 vs 原图 0.93）又极小，
   尺寸标注完全不可读 —— 工程图的意义就没了。
   改为等比缩放 + 只设高度上限，点击仍可看原图。 */
.drawing-card.tall img { max-height:700px; }
.drawing-card figcaption { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:12px 14px; border-top:1px solid var(--line); color:var(--text); font-size:14px; }
.drawing-card figcaption span { font-weight:600; }
.drawing-download { flex:none; font-weight:700; white-space:nowrap; }
.drawing-note { margin:8px 0 16px; color:var(--muted); font-size:13px; }
.drawing-group { margin:18px 0; padding:16px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.drawing-group summary { cursor:pointer; color:var(--ink); font-weight:700; }
.drawing-group[open] summary { margin-bottom:14px; }
.drawing-group .drawing-grid { margin-bottom:0; }

/* 侧栏 */
.article-side { position:sticky; top:86px; display:grid; gap:14px; }
.side-card { background:#fff; border:1px solid var(--line); border-radius:14px; padding:18px; }
.side-card h4 { font-size:14px; margin-bottom:10px; letter-spacing:.3px; }
.side-card ul { list-style:none; padding:0; }
.side-card li { margin-bottom:8px; }
.side-card a { color:var(--text); font-size:14px; }
.side-card a:hover { color:var(--blue); }
.side-card.cta { background:var(--navy); color:#e8e8e4; }
.side-card.cta h4 { color:#fff; }
.side-card.cta p { font-size:13px; margin-bottom:12px; color:#b4b4ae; }

/* 相关文章 + 上一篇/下一篇 */
.related { margin-top:40px; border-top:1px solid var(--line); padding-top:26px; }
.related h3 { font-size:19px; margin-bottom:16px; }
.related-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.related a { display:block; background:var(--bg-soft); border:1px solid var(--line); border-radius:12px; padding:14px 16px; color:var(--text); }
.related a:hover { border-color:var(--blue); text-decoration:none; }
.related a b { display:block; color:var(--ink); margin-bottom:3px; }
.related a span { font-size:14px; color:var(--muted); }
.prevnext { display:flex; justify-content:space-between; gap:14px; margin-top:26px; }
.prevnext a { flex:1; background:#fff; border:1px solid var(--line); border-radius:12px; padding:14px 16px; color:var(--text); }
.prevnext a:hover { border-color:var(--blue); text-decoration:none; }
.prevnext a.next { text-align:right; }
.prevnext small { display:block; color:var(--muted); font-size:13px; margin-bottom:3px; }

/* ============================================================
   wiki 三栏布局 + 左侧目录树（带缩进、可折叠、当前高亮）
   ============================================================ */
.wiki-layout { display:grid; grid-template-columns:250px minmax(0,1fr); gap:44px; align-items:start; padding:24px 0 72px; }
.wiki-nav { position:sticky; top:86px; max-height:calc(100vh - 104px); overflow-y:auto; padding-right:4px; }
.wiki-nav::-webkit-scrollbar { width:6px; }
.wiki-nav::-webkit-scrollbar-thumb { background:var(--line); border-radius:3px; }
.wiki-nav .nav-root { font-size:12.5px; font-weight:700; letter-spacing:.5px; color:var(--muted); padding:4px 10px 12px; }
.wiki-nav .nav-group { margin-bottom:2px; }
.wiki-nav .nav-group > button { display:flex; align-items:center; gap:8px; width:100%; text-align:left; background:none; border:none; padding:8px 10px; font-size:14.5px; font-weight:700; color:var(--ink); border-radius:8px; }
.wiki-nav .nav-group > button:hover { background:var(--bg-soft); }
.wiki-nav .nav-group > button .arrow { font-size:12px; color:var(--muted); transition:transform .18s; flex:none; }
.wiki-nav .nav-group.collapsed > button .arrow { transform:rotate(-90deg); }
.wiki-nav .nav-group .items { list-style:none; padding:0; margin:0 0 5px 14px; border-left:1px solid var(--line); }
.wiki-nav .nav-group.collapsed > .items,
.wiki-nav .nav-fold.collapsed > .items { display:none; }
.wiki-nav .items a { display:block; padding:6px 10px 6px 12px; font-size:14.5px; color:var(--text); border-radius:7px; }
.wiki-nav .items a:hover { background:var(--blue-soft); color:var(--blue); text-decoration:none; }
.wiki-nav .items a.current { background:var(--blue-soft); color:var(--blue); font-weight:700; }
.wiki-nav .items li.has-sub > a.current { background:transparent; color:var(--blue); }
/* 当前页的子项（本页锚点，缩进一层） */
.wiki-nav .sub-items { list-style:none; padding:0; margin:0 0 3px 12px; border-left:1px solid var(--line); }
.wiki-nav .sub-items a { display:block; padding:4px 8px 4px 12px; font-size:13.5px; color:var(--muted); border-radius:7px; }
.wiki-nav .sub-items a:hover { color:var(--blue); background:var(--blue-soft); text-decoration:none; }
.wiki-nav > a.nav-link { display:block; padding:8px 10px; font-size:14.5px; font-weight:600; color:var(--text); border-radius:8px; }
.wiki-nav > a.nav-link:hover { background:var(--bg-soft); text-decoration:none; }
.wiki-nav > a.nav-link.current { color:var(--blue); font-weight:700; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .wiki-layout { grid-template-columns:1fr; }
  .wiki-nav { position:static; max-height:none; }
  .hero-grid, .quickstart-grid, .article-wrap { grid-template-columns:1fr; }
  .article-side { position:static; }
  .hero h1 { font-size:34px; }
  .persona-grid, .hardware-grid, .support-grid { grid-template-columns:1fr 1fr; }
  .case-grid { grid-template-columns:1fr 1fr; }
  .solution-result { grid-template-columns:1fr; }
  .cat-grid, .related-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-contact-brand { grid-column:1 / -1; align-items:flex-start; }
}
@media (max-width: 680px) {
  .nav { display:none; position:absolute; top:66px; left:0; right:0; background:#fff; flex-direction:column; align-items:stretch; padding:12px; border-bottom:1px solid var(--line); }
  .nav.open { display:flex; }
  .has-sub .sub { position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:none; padding:0 0 0 12px; }
  .menu-button { display:block; }
  .persona-grid, .hardware-grid, .support-grid, .case-grid, .footer-grid { grid-template-columns:1fr; }
  .footer-software-links { grid-template-columns:1fr; }
  .footer-contact-brand { grid-column:auto; }
  .footer-id { justify-self: start; }
  .section { padding:52px 0; }
  .section-head h2 { font-size:26px; }
  .contact-card { padding:30px 22px; }
  .window-body { grid-template-columns:1fr; }
  .window-body aside { flex-direction:row; flex-wrap:wrap; border-right:none; border-bottom:1px solid var(--line); }
  .drawing-grid { grid-template-columns:1fr; }
  .drawing-card > a:first-child { min-height:190px; padding:10px; }
  .drawing-card img, .drawing-card.tall img { height:auto; max-height:420px; }
  .drawing-card figcaption { align-items:flex-start; flex-direction:column; gap:6px; }
}

/* ============ 首页：hero 系统板 + 信号条 ============ */
.hero-points { display:grid; gap:8px; margin-bottom:25px; list-style:none; padding:0; }
.hero-points li { color:var(--muted); font-size:14px; }
.hero-points li::before { margin-right:8px; color:var(--green); content:"✓"; font-weight:900; }
.hero-note { margin-top:14px; color:var(--muted); font-size:13px; }
.system-board {
  position:relative; overflow:hidden; min-height:390px; padding:24px;
  color:#ecece6; border:1px solid #3d3e3a; border-radius:22px;
  background:var(--navy);
}
.board-top { position:relative; z-index:1; display:flex; justify-content:space-between; margin-bottom:20px; color:#c4c4be; font-size:13px; }
.board-top span:first-child::before { display:inline-block; width:7px; height:7px; margin-right:7px; border-radius:50%; background:#32d583; content:""; }
.board-flow { position:relative; z-index:1; display:grid; grid-template-columns:1fr 34px 1.2fr; gap:12px; align-items:center; }
.board-software { display:grid; gap:8px; }
.board-software small,.board-device small { color:#b4b4ae; font-size:13px; font-weight:700; }
.board-software span { padding:10px 12px; border:1px solid #4a4b47; border-radius:9px; background:#3d3e3a; font-size:14px; }
.board-software span.active { color:#fff; border-color:var(--cyan); background:#3d3e3a; }
.board-arrow { color:var(--muted); font-size:24px; text-align:center; }
.board-device { overflow:hidden; border:1px solid #4a4b47; border-radius:14px; background:#fff; }
.board-device img { width:100%; height:245px; object-fit:cover; }
.board-device div { padding:10px 12px; color:#fff; background:#3d3e3a; }
.board-device b { display:block; font-size:15px; }
.board-device small { color:#a8a8a2; }
.signal-strip { color:#d8d8d2; background:var(--navy); border-bottom:0; }
.signal-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.signal-grid div { padding:18px 20px; border-right:1px solid rgba(255,255,255,.08); }
.signal-grid div:last-child { border:0; }
.signal-grid b,.signal-grid span { display:block; }
.signal-grid b { color:#fff; font-size:14px; }
.signal-grid span { color:#b4b4ae; font-size:13px; }

.contact-page { padding:64px 0 88px; background: var(--bg-soft); }
.contact-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:48px;
  align-items:center;
  max-width:760px;
}
.contact-identity p { color:var(--text); font-size:15px; line-height:1.75; max-width:36em; }
.contact-company-title { margin:0 0 6px; font-size:26px; line-height:1.35; color:var(--ink); }
.contact-company-en { margin-bottom:16px; color:var(--muted); font-size:14px; }
.contact-qr { margin:0; text-align:center; }
.contact-qr img { width:176px; height:auto; display:block; }
.contact-qr figcaption { margin-top:10px; color:var(--muted); font-size:13px; }
.contact-support { grid-template-columns:1fr 1fr; margin-top:18px; }
.contact-form { margin-top:18px; }
.contact-form label { display:block; margin:16px 0 6px; color:var(--ink); font-size:13px; font-weight:600; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width:100%; padding:11px 13px; border:1px solid var(--line); border-radius:10px;
  background:#fff; font:14.5px var(--font);
}
.contact-form textarea { resize:vertical; }
.contact-form-note { margin-top:12px; color:var(--muted); font-size:12.5px; }

/* 注册页微信端示意 */
.wechat-demo-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:14px; margin:16px 0; }
.wechat-demo { margin:0; padding:16px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.wechat-demo figcaption { margin-bottom:10px; color:var(--muted); font-size:13px; text-align:center; }
.wechat-panel { padding:12px; border:1px solid var(--line); border-left:4px solid var(--blue); border-radius:8px; background:var(--bg-soft); font-size:14px; }
.wechat-label { color:var(--muted); font-size:13px; }
.wechat-code { margin-bottom:10px; font-weight:700; letter-spacing:1px; }
.wechat-options { display:flex; flex-wrap:wrap; gap:6px; margin:6px 0 12px; }
.wechat-option { flex:1; min-width:52px; padding:5px 0; border:1px solid var(--ink); border-radius:6px; text-align:center; }
.wechat-option.selected { color:#fff; background:var(--ink); }
.wechat-action { padding:9px 0; color:#fff; border-radius:6px; background:var(--ink); font-weight:700; text-align:center; }
.wechat-result { font-size:13.5px; }
.wechat-result-row { display:flex; justify-content:space-between; gap:12px; padding:4px 0; border-bottom:1px solid #ececec; }
.wechat-copy { margin-top:10px; padding:9px 0; border:1px solid var(--ink); border-radius:6px; font-weight:700; text-align:center; }

@media (max-width:960px) {
  .hero { padding:45px 0; }
  .system-board { min-height:auto; }
  .board-flow { grid-template-columns:.85fr 24px 1.15fr; }
  .board-device img { height:200px; }
  .signal-grid { grid-template-columns:1fr 1fr; }
  .signal-grid div { border-bottom:1px solid rgba(255,255,255,.08); }
  .contact-layout { grid-template-columns:1fr; justify-items:start; }
  .contact-qr { justify-self:start; }
}
@media (max-width:680px) {
  .wrap { padding-left:18px; padding-right:18px; }
  .hero { padding:40px 0; }
  .hero h1 { font-size:34px; letter-spacing:-1px; }
  .hero-lead { font-size:16px; }
  .system-board { padding:18px; }
  .board-flow { grid-template-columns:1fr; }
  .board-arrow { transform:rotate(90deg); }
  .board-device img { height:auto; max-height:220px; object-fit:contain; }
  .signal-grid { grid-template-columns:1fr; }
  .contact-support { grid-template-columns:1fr; }
}

/* ============ v15 可访问性、组件与响应式基线 ============ */
[id] { scroll-margin-top:84px; }
.skip-link {
  position:fixed; top:8px; left:8px; z-index:1000; padding:9px 14px;
  color:#fff; border-radius:8px; background:var(--ink); transform:translateY(-150%);
}
.skip-link:focus { transform:translateY(0); }
:focus-visible { outline:3px solid #f59e0b; outline-offset:3px; }
.brand-logo {
  width: auto;
  height: 56px;
  flex: none;
  object-fit: contain;
}
.mobile-actions { display:none !important; }
.hero-visual { display:grid; gap:12px; }
.hero-screen {
  overflow:hidden; border:1px solid #4a4b47; border-radius:16px; background:#fff;
  box-shadow:var(--shadow-lg);
}
.hero-screen img { width:100%; aspect-ratio:16/9; object-fit:cover; object-position:top left; }
.hero-hardware { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.hero-hardware figure {
  min-width:0; padding:10px; border:1px solid var(--line); border-radius:12px; background:#fff;
}
.hero-hardware img { width:100%; height:86px; object-fit:contain; }
.hero-hardware figcaption { margin-top:5px; color:var(--muted); font-size:12px; text-align:center; }
.compare-simple { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.compare-simple > div { padding:24px; border:1px solid var(--line); border-radius:var(--radius-lg); background:#fff; }
.compare-simple .is-msp { color:#ecece6; border-color:#3d3e3a; background:var(--navy); }
.compare-simple h3 { margin-bottom:12px; }
.compare-simple .is-msp h3 { color:#fff; }
.compare-simple ul { display:grid; gap:9px; }
.resource-strip { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.resource-strip a {
  display:block; padding:18px; color:var(--text); border:1px solid var(--line);
  border-radius:var(--radius); background:#fff;
}
.resource-strip a:hover { color:var(--blue); border-color:var(--blue); text-decoration:none; }
.resource-strip b,.resource-strip span { display:block; }
.resource-strip span { margin-top:4px; color:var(--muted); font-size:14px; }
.application-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.application-grid > div { padding:22px; border:1px solid var(--line); border-radius:var(--radius); background:#fff; }
.application-grid h3 { margin-bottom:8px; font-size:18px; }
.application-grid p { color:var(--muted); font-size:14px; }
.software-entry-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
.software-card {
  display:block; padding:22px; color:var(--text); border:1px solid var(--line);
  border-radius:var(--radius); background:#fff;
}
.software-card:hover { color:var(--text); border-color:var(--blue); text-decoration:none; transform:translateY(-2px); }
.software-card h3 { margin:8px 0 6px; font-size:18px; }
.software-card p { margin-bottom:10px; color:var(--muted); font-size:14px; }
.software-card > span:last-child { color:var(--blue); font-size:13px; font-weight:600; }
.support-links { margin-top:18px; text-align:center; }
.footer-company { display:block; margin-bottom:8px; }
.product-visual {
  display:grid; grid-template-columns:minmax(180px,260px) 1fr; gap:22px; align-items:center;
  margin:18px 0 22px; padding:16px; border:1px solid var(--line); border-radius:var(--radius);
  background:var(--bg-soft);
}
.product-visual img {
  width: auto; max-width: 100%; height: auto; max-height: 230px;
  margin: 0 auto; object-fit: contain;
}
.product-visual figcaption { color:var(--muted); font-size:14px; }
.spec-compare table { min-width:760px; }
.project-checklist { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin:20px 0; }
.project-checklist > div { padding:18px; border:1px solid var(--line); border-radius:var(--radius); background:#fff; }
.project-checklist b { display:block; margin-bottom:4px; color:var(--ink); }

@media (max-width:1024px) {
  .header-inner { height:66px; }
  .menu-button { display:block; }
  .nav {
    display:none; position:absolute; top:66px; left:0; right:0; max-height:calc(100vh - 66px);
    overflow-y:auto; flex-direction:column; align-items:stretch; padding:12px;
    border-bottom:1px solid var(--line); background:#fff; box-shadow:var(--shadow);
  }
  .nav.open { display:flex; }
  .has-sub .sub {
    position:static; opacity:1; visibility:visible; transform:none; min-width:0;
    padding:0 0 0 12px; border:0; box-shadow:none;
  }
  .nav > a,.has-sub > a { display:block; }
  .nav-cta { margin:8px 0 0; text-align:center; }
  .application-grid,.software-entry-grid { grid-template-columns:1fr 1fr; }
}

@media (max-width:680px) {
  .hero-hardware,.resource-strip,.application-grid,.compare-simple,.project-checklist,.software-entry-grid { grid-template-columns:1fr; }
  .hero-hardware { grid-template-columns:repeat(3,1fr); }
  .hero-hardware img { height:64px; }
  .product-visual { grid-template-columns:1fr; }
  .product-visual figcaption { text-align:center; }
}

@media print {
  @page { margin:14mm; }
  body { padding:0; color:#000; font-size:11pt; }
  .site-header,footer,.mobile-actions,.article-cta,.contact-section,.prevnext,.side-card.cta,
  .skip-link,.menu-button { display:none !important; }
  .wrap { max-width:none; padding:0; }
  .wiki-layout,.article-wrap { display:block; padding:0; }
  .wiki-nav,.article-side { display:none; }
  .article-hero,.drawing-card,.table-wrap { break-inside:avoid; box-shadow:none; }
  .drawing-card img,.drawing-card.tall img {
    width: auto; max-width: 100%; height: auto; max-height: 230mm; object-fit: contain;
  }
  a { color:#000; text-decoration:none; }
}

/* ============ v16 首页：以系统关系为主线 ============ */
.v16-hero {
  overflow:hidden;
  padding:28px 0 48px;
  background:var(--bg-soft);
}

/* 图集浅色 Hero Banner */
.v16-hero-banner {
  position:relative;
  overflow:hidden;
  margin-bottom:36px;
  min-height:480px;
  border-radius:var(--radius-lg);
  background:var(--gradient-paper);
  box-shadow:0 12px 40px rgba(32,33,31,.08);
}
.v16-hero-banner::after {
  content:"";
  position:absolute;
  top:0; right:0;
  width:55%; height:100%;
  background-image:
    linear-gradient(rgba(154,155,152,.22) 1px,transparent 1px),
    linear-gradient(90deg,rgba(154,155,152,.22) 1px,transparent 1px);
  background-size:36px 36px;
  mask-image:linear-gradient(90deg,transparent 0%,#000 35%);
  pointer-events:none;
}
.v16-hero-inner {
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:12px 24px;
  padding:clamp(28px,4vw,44px) clamp(24px,4vw,48px) clamp(32px,5vw,52px);
  min-height:480px;
}
.v16-hero-copy {
  display:flex;
  flex-direction:column;
  max-width:none;
  margin:0;
  text-align:left;
}
.v16-hero-brand {
  color:var(--ink);
  font-size:clamp(42px,6vw,56px);
  font-weight:900;
  letter-spacing:-1px;
  line-height:1;
  margin-bottom:clamp(20px,3vw,36px);
}
.v16-hero-title {
  margin:0 0 6px;
  color:var(--ink);
  font-size:clamp(28px,3.8vw,42px);
  font-weight:800;
  letter-spacing:-.5px;
  line-height:1.2;
}
.v16-hero-platform-lg {
  margin:0 0 clamp(28px,4vw,48px);
  color:var(--ink);
  font-size:clamp(22px,3vw,34px);
  font-weight:800;
  letter-spacing:-.3px;
  line-height:1.25;
}
.v16-hero-bottom {
  display:grid;
  grid-template-columns:1fr auto;
  gap:20px 32px;
  align-items:start;
  margin-top:auto;
}
.v16-hero-pain { min-width:0; }
.v16-hero-platform-sm {
  margin:0 0 10px;
  color:var(--ink);
  font-size:clamp(15px,2vw,18px);
  font-weight:700;
}
.v16-hero-pain-line {
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:clamp(13px,1.6vw,15px);
  font-weight:500;
}
.v16-hero-pain-line .items { white-space:nowrap; }
.v16-hero-pain-line .dash {
  flex:1;
  min-width:40px;
  height:0;
  border-top:1.5px solid var(--edge);
}
.v16-hero-checklist {
  display:flex;
  flex-direction:column;
  gap:6px;
  margin:0;
  padding:2px 0 0;
  list-style:none;
}
.v16-hero-checklist li {
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--ink);
  font-size:clamp(14px,1.7vw,16px);
  font-weight:700;
  white-space:nowrap;
}
.v16-hero-checklist .check-box {
  display:flex;
  flex-shrink:0;
  align-items:center;
  justify-content:center;
  width:18px; height:18px;
  border-radius:3px;
  background:var(--brand-red-strong);
  box-shadow:0 1px 3px rgba(32,33,31,.18);
}
.v16-hero-checklist .check-box svg { width:12px; height:12px; }
.v16-hero-copy .hero-actions {
  margin-top:24px;
  justify-content:flex-start;
}
.v16-hero-visual {
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top:8px;
  margin:0;
}
.v16-hero-visual svg {
  width:100%;
  max-width:440px;
  height:auto;
}
.v16-hero-watermark {
  position:absolute;
  right:clamp(16px,3vw,40px);
  bottom:clamp(12px,2vw,24px);
  z-index:2;
  margin:0;
  color:#b7c2cc;
  font-size:clamp(48px,8vw,88px);
  font-weight:900;
  letter-spacing:4px;
  line-height:1;
  opacity:.85;
  pointer-events:none;
  user-select:none;
}

.v16-hero-diagram {
  overflow:hidden;
  padding:14px;
  border:1px solid #dce3ef;
  border-radius:20px;
  background:#fff;
  box-shadow:0 26px 68px rgba(16,24,40,.13);
}
.v16-hero-diagram img { width:100%; height:auto; }
.v16-hero-diagram figcaption { padding:8px 6px 2px; color:var(--muted); font-size:13px; text-align:center; }

.v16-fact-strip { color:#e0e0da; background:var(--navy); }
.v16-fact-strip .wrap { display:grid; grid-template-columns:repeat(3,1fr); }
.v16-fact-strip .wrap > div { padding:20px 28px; border-right:1px solid rgba(255,255,255,.1); }
.v16-fact-strip .wrap > div:last-child { border-right:0; }
.v16-fact-strip b,.v16-fact-strip span { display:block; }
.v16-fact-strip b { color:#fff; font-size:16px; }
.v16-fact-strip span { margin-top:2px; color:#c4c4be; font-size:13px; }

.v16-software-layout {
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(380px,.92fr);
  gap:28px;
  align-items:stretch;
}
.v16-pdf-visual {
  display:grid;
  place-items:center;
  min-width:0;
  padding:16px;
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  background:#f6f8fb;
}
.v16-pdf-visual img { width:100%; height:auto; }
.v16-mode-list { display:grid; gap:10px; }
.v16-mode-list > a {
  display:grid;
  grid-template-columns:42px 1fr;
  gap:14px;
  align-items:start;
  padding:16px 18px;
  color:var(--text);
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  transition:.18s;
}
.v16-mode-list > a:hover {
  border-color:var(--blue);
  box-shadow:var(--shadow);
  text-decoration:none;
  transform:translateX(3px);
}
.v16-mode-list > a > span {
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  color:var(--blue);
  border-radius:10px;
  background:var(--blue-soft);
  font-size:13px;
  font-weight:800;
}
.v16-mode-list h3 { margin-bottom:4px; font-size:17px; }
.v16-mode-list p { color:var(--muted); font-size:13.5px; line-height:1.6; }

.v16-hardware-path {
  display:grid;
  grid-template-columns:minmax(300px,.38fr) minmax(0,.62fr);
  gap:34px;
  align-items:center;
  margin-bottom:24px;
  padding:28px;
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  background:#fff;
}
.v16-hardware-path.reverse .v16-path-copy { order:2; }
.v16-hardware-path.reverse figure { order:1; }
.v16-hardware-path figure {
  overflow:hidden;
  min-width:0;
  border-radius:14px;
  background:#f6f7f9;
}
.v16-hardware-path figure img { width:100%; height:auto; }
.v16-path-number { color:var(--blue); font-size:13px; font-weight:800; letter-spacing:.3px; }
.v16-path-copy h3 { margin:8px 0 10px; font-size:25px; }
.v16-path-copy p { margin-bottom:16px; color:var(--muted); }
.v16-path-copy .meta { display:flex; gap:7px; flex-wrap:wrap; margin-bottom:18px; }
.v16-path-copy .meta span {
  padding:4px 9px;
  color:var(--blue);
  border-radius:7px;
  background:var(--blue-soft);
  font-size:13px;
}
.v16-path-copy .text-link { font-weight:700; }

.v16-focus {
  padding:72px 0;
  color:#d8d8d2;
  text-align:center;
  background: var(--gradient-dark);
}
.v16-focus span { color:#b7c2cc; font-size:14px; font-weight:800; letter-spacing:.6px; }
.v16-focus h2 { margin:12px 0 26px; color:#fff; font-size:clamp(30px,4vw,46px); }
.v16-hardware-options { grid-template-columns:repeat(3,1fr); }

@media (max-width:1100px) {
  .v16-hero-diagram { max-width:900px; }
  .v16-software-layout { grid-template-columns:1fr; }
  .v16-pdf-visual { max-width:900px; }
}

@media (max-width:860px) {
  .v16-hero-inner {
    grid-template-columns:1fr;
    min-height:auto;
  }
  .v16-hero-visual {
    order:-1;
    max-width:360px;
    margin:0 auto;
  }
  .v16-hero-bottom {
    grid-template-columns:1fr;
    gap:20px;
  }
  .v16-hero-pain-line .dash { display:none; }
  .v16-hero-watermark {
    position:static;
    margin-top:8px;
    padding-right:8px;
    font-size:clamp(40px,12vw,64px);
    text-align:right;
  }
  .v16-hero-banner::after { width:100%; opacity:.5; }
}

@media (max-width:760px) {
  .v16-hero { padding:20px 0 36px; }
  .v16-hero-banner { margin-bottom:28px; min-height:auto; border-radius:14px; }
  .v16-hero-inner { padding:22px 18px 28px; }
  .v16-hero-diagram { padding:7px; border-radius:14px; }
  .v16-fact-strip .wrap { grid-template-columns:1fr; }
  .v16-fact-strip .wrap > div { padding:14px 18px; border-right:0; border-bottom:1px solid rgba(255,255,255,.1); }
  .v16-fact-strip .wrap > div:last-child { border-bottom:0; }
  .v16-hardware-path { grid-template-columns:1fr; padding:18px; }
  .v16-hardware-path.reverse .v16-path-copy,.v16-hardware-path.reverse figure { order:initial; }
  .v16-path-copy h3 { font-size:22px; }
  .v16-hardware-options { grid-template-columns:1fr; }
  .v16-focus { padding:54px 0; }
}

/* v16.1：V2 图集按原始宽幅比例展示，不再塞入左右分栏 */
.v16-hero-diagram { width:100%; max-width:1120px; margin:0 auto; padding:16px; }

.v16-software-layout { display:flex; flex-direction:column; gap:26px; }
.v16-mode-list {
  order:1;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
.v16-mode-list > a {
  display:block;
  padding:20px;
}
.v16-mode-list > a > span { margin-bottom:12px; }
.v16-pdf-visual {
  order:2;
  width:100%;
  max-width:1120px;
  margin:0 auto;
  padding:16px;
}

.v16-path-tabs {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  max-width:820px;
  margin:0 auto 20px;
}
.v16-path-tabs button {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
  padding:13px 18px;
  color:var(--text);
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
}
.v16-path-tabs button:hover { border-color:var(--blue); }
.v16-path-tabs button.active {
  color:#fff;
  border-color:var(--blue);
  background:var(--blue);
}
.v16-path-tabs b { font-size:16px; }
.v16-path-tabs span { font-size:13px; opacity:.8; }
.v16-path-stage { max-width:1120px; margin:0 auto; }
.v16-hardware-path,
.v16-hardware-path.reverse {
  display:block;
  margin:0;
  padding:24px;
}
.v16-hardware-path[hidden] { display:none; }
.v16-path-copy {
  display:grid;
  grid-template-columns:1fr auto;
  gap:4px 24px;
  align-items:end;
  margin-bottom:20px;
}
.v16-path-copy .v16-path-number,
.v16-path-copy h3,
.v16-path-copy p,
.v16-path-copy .meta { grid-column:1; }
.v16-path-copy .text-link { grid-column:2; grid-row:2 / 5; align-self:center; }
.v16-path-copy h3 { margin:4px 0 6px; }
.v16-path-copy p { margin-bottom:8px; }
.v16-hardware-path figure { border:1px solid var(--line); }

.v16-unified { background:var(--navy); }
.v16-unified .v16-pdf-visual { border-color:#3d3e3a; background:#fff; }
.v16-unified-action { margin-top:22px; text-align:center; }

@media (max-width:900px) {
  .v16-mode-list { grid-template-columns:1fr 1fr; }
  .v16-path-copy { display:block; }
  .v16-path-copy .text-link { display:inline-block; margin-top:6px; }
}

@media (max-width:600px) {
  .v16-hero-diagram,.v16-pdf-visual,.v16-hardware-path { padding:7px; }
  .v16-mode-list { grid-template-columns:1fr; }
  .v16-path-tabs { grid-template-columns:1fr; }
  .v16-path-tabs button { flex-direction:row; justify-content:center; gap:8px; }
  .v16-path-copy { padding:12px 10px 4px; }
  .v16-hero-checklist li { white-space:normal; }
}

/* ============ v17 首页：先货架，后用法 ============ */
.v17-hero {
  padding:48px 0 28px;
  background:var(--bg-soft);
}
.v17-hero-grid {
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr);
  gap:40px;
  align-items:center;
}
.v17-hero h1 {
  margin:14px 0 16px;
  color:var(--ink);
  font-size:clamp(30px,4vw,44px);
  letter-spacing:-1px;
  line-height:1.18;
}
.v17-hero-lead {
  max-width:540px;
  margin-bottom:12px;
  color:var(--ink);
  font-size:18px;
}
.v17-hero-contrast {
  max-width:540px;
  margin-bottom:26px;
  color:var(--muted);
  font-size:15.5px;
}
.v17-hero-shelf {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.v17-hero-shelf a {
  display:flex;
  flex-direction:column;
  padding:12px 12px 14px;
  color:var(--ink);
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  box-shadow:var(--shadow);
  transition:.18s;
}
.v17-hero-shelf a:hover {
  border-color:var(--blue);
  text-decoration:none;
  transform:translateY(-2px);
}
.v17-hero-shelf img {
  width:100%;
  height:220px;
  object-fit:contain;
  border-radius:10px;
  background:#1a1a1a;
}
.v17-hero-shelf b { margin-top:12px; font-size:15px; }
.v17-hero-shelf span { color:var(--muted); font-size:13px; }

.v17-servo-cards {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:8px;
}
.v16-path-copy .v17-servo-cards { grid-column:1 / -1; }
.v17-servo-cards a {
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:14px 16px;
  color:var(--ink);
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
}
.v17-servo-cards a:hover {
  border-color:var(--blue);
  text-decoration:none;
}
.v17-servo-cards strong { font-size:16px; }
.v17-servo-cards span { color:var(--muted); font-size:13px; }

.v17-fact-inline {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  overflow:hidden;
  margin-bottom:24px;
  border-radius:16px;
}
.v17-fact-inline > div { padding:20px 24px; }

.v17-home .result-photo img {
  width:auto;
  max-height:340px;
  margin:0 auto;
  object-fit:contain;
}

.v17-sku {
  padding:0 0 48px;
  background:var(--bg-soft);
}
.v17-sku-card {
  padding:28px 28px 24px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  box-shadow:var(--shadow);
}
.v17-sku-head { margin-bottom:20px; }
.v17-sku-head h2 { margin-bottom:8px; font-size:28px; }
.v17-sku-head p { color:var(--muted); }
.v17-sku-families {
  display:flex;
  gap:8px;
  margin-bottom:18px;
}
.v17-sku-families button {
  padding:9px 16px;
  color:var(--text);
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  font-weight:700;
}
.v17-sku-families button.active {
  color:#fff;
  border-color:var(--blue);
  background:var(--blue);
}
.v17-sku-row {
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:10px;
  margin-bottom:18px;
}
.v17-sku-row label {
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--bg-soft);
}
.v17-sku-row label[hidden] { display:none; }
.v17-sku-row span {
  color:var(--muted);
  font-size:12px;
  font-weight:700;
}
.v17-sku-row strong,
.v17-sku-row select {
  color:var(--ink);
  font-size:16px;
  font-weight:800;
  letter-spacing:.2px;
}
.v17-sku-row select {
  width:100%;
  border:0;
  background:transparent;
  font-family:inherit;
}
.v17-sku-prefix strong { font-size:20px; letter-spacing:1px; }
.v17-sku-result {
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px 24px;
  align-items:center;
  padding:18px 20px;
  border-radius:16px;
  background:var(--navy);
}
.v17-sku-code span {
  display:block;
  margin-bottom:4px;
  color:#b0b0aa;
  font-size:12px;
  font-weight:700;
  letter-spacing:.4px;
}
.v17-sku-code strong {
  color:#fff;
  font-size:clamp(22px,3vw,32px);
  font-weight:800;
  letter-spacing:.4px;
  font-variant-numeric:tabular-nums;
}
.v17-sku-code em {
  margin-left:8px;
  color:var(--cyan);
  font-style:normal;
  font-weight:700;
}
.v17-sku-result p {
  grid-column:1;
  color:#c8c8c2;
  font-size:14px;
}
.v17-sku-actions {
  grid-column:2;
  grid-row:1 / 3;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
}
.v17-sku-actions .btn-ghost {
  color:#d8e0e6;
  border-color:rgba(255,255,255,.28);
}

@media (max-width:960px) {
  .v17-hero-grid { grid-template-columns:1fr; gap:28px; }
  .v17-hero { padding:32px 0 40px; }
  .v17-hero-shelf img { height:180px; }
  .v17-sku-row { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .v17-sku-result { grid-template-columns:1fr; }
  .v17-sku-actions { grid-column:1; grid-row:auto; justify-content:flex-start; }
}

@media (max-width:680px) {
  .v17-hero-shelf {
    grid-template-columns:1fr;
    gap:10px;
  }
  .v17-hero-shelf a {
    display:grid;
    grid-template-columns:76px 1fr;
    grid-template-rows:auto auto;
    align-items:center;
    column-gap:12px;
    padding:10px 14px;
  }
  .v17-hero-shelf img {
    grid-row:1 / 3;
    width:76px;
    height:76px;
  }
  .v17-hero-shelf b { margin-top:0; font-size:15px; }
  .v17-servo-cards,
  .v17-fact-inline { grid-template-columns:1fr; }
  .v17-sku { padding-bottom:28px; }
  .v17-sku-card { padding:18px 14px 16px; }
  .v17-sku-row { grid-template-columns:1fr 1fr; }
  .v17-sku-families { flex-wrap:wrap; }
  .v17-sku-code strong { display:block; }
  .v17-sku-code em { margin-left:0; }
}

/* ============================================================
   v20：两层头 + 配货台 + 装配视图 + 联系浮层
   ============================================================ */
.site-header { position: static; }
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 80;
  overflow: visible;
  background: var(--bg-soft);
  box-shadow: 0 7px 22px rgba(32, 33, 31, .07);
}
.has-msp-dock .site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.has-msp-dock .header-inner { height: 72px; }
.has-msp-dock .nav > a,
.has-msp-dock .has-sub > a { padding: 6px 11px; font-size: 13.5px; }
.has-msp-dock .brand-word { font-size: 36px; }
.has-msp-dock .brand-copy b { font-size: 15px; }
/* v25 P0-D：首页总览出口的型号档信息（原只烧在 07 现场工艺图里） */
.v21-path-tiers { display: block; font-size: 12.5px; color: var(--muted); margin: 0 0 8px; }
.v21-path-tiers b { color: var(--ink); }

/* 窄屏保留两行品牌文字，只缩小字号，避免英文全称被截断。 */
@media (max-width: 1023px) {
  .brand { gap: 10px; }
  .brand-word,
  .has-msp-dock .brand-word { font-size: 32px; }
  .brand-copy b,
  .has-msp-dock .brand-copy b { font-size: 13px; }
  .brand-copy small { font-size: 12px; }
}
[id] { scroll-margin-top: 104px; }

/* 导航购物车：货号常显，按下才出配货浮层 */
.msp-cart {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  margin-left: 8px;
  max-width: 220px;
  padding: 5px 12px 6px;
  border: 1px solid #3d3e3a;
  border-radius: 10px;
  background: var(--navy);
  color: #ecece8;
  font: inherit;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
}
.msp-cart:hover, .msp-cart.is-open { border-color: var(--accent); }
.msp-cart__line { display: flex; align-items: baseline; gap: 6px; }
.msp-cart__k { font-size: 11px; font-weight: 700; color: #b0b0aa; }
.msp-cart__soft { font-size: 12.5px; font-weight: 800; color: #fff; }
.msp-cart__sku {
  min-width: 0;
  max-width: 196px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .2px;
  color: #fff;
}

.msp-dock { display: none; }
.msp-dock.open {
  display: block;
  position: absolute;
  top: calc(100% + 8px);
  right: 16px;
  z-index: 85;
  width: min(760px, calc(100vw - 32px));
}
.msp-dock__veil { display: none; }
.msp-dock__sheet {
  padding: 14px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - 80px);
  overflow: auto;
}
.msp-dock__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 14px;
}
.msp-dock__tabs button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.msp-dock__tabs button .k { font-size: 11px; font-weight: 700; color: var(--muted); }
.msp-dock__tabs button .v { font-size: 13.5px; font-weight: 800; color: var(--ink); }
.msp-dock__tabs button.is-on {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #fff;
}
.msp-dock__tabs button.is-on .k { color: #b4b4ae; }
.msp-dock__tabs button.is-on .v { color: #fff; }
.msp-dock__ph { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.msp-dock__ph b { font-size: 18px; color: var(--ink); line-height: 1.2; }
.msp-dock__ph span { font-size: 12px; color: var(--muted); }
.msp-dock__ph strong { font-family: ui-monospace, Consolas, monospace; color: var(--ink); }
.msp-dock__pane[hidden] { display: none; }

.msp-dock__rows { display: flex; flex-direction: column; gap: 2px; }
.msp-dock__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.msp-dock__row b { font-size: 15px; color: var(--ink); }
.msp-dock__row span { grid-column: 1; font-size: 12.5px; color: var(--muted); }
.msp-dock__row i { grid-row: 1 / span 2; align-self: center; color: var(--accent); font-style: normal; font-weight: 800; }
.msp-dock__row:hover { background: var(--blue-soft); }
.msp-dock__row.is-on { box-shadow: inset 3px 0 var(--brand-accent); background: var(--blue-soft); }
.msp-dock__support {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.msp-dock__support a { display: flex; flex-direction: column; font-size: 13px; font-weight: 700; }
.msp-dock__support small { font-weight: 500; color: var(--muted); }

.msp-dock__group { margin-bottom: 12px; }
.msp-dock__gt {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.msp-dock__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.msp-dock__opts button {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}
.msp-dock__opts button:hover { border-color: var(--accent); color: var(--accent); }
.msp-dock__opts button.is-on { background: var(--brand-navy); border-color: var(--brand-navy); color: #fff; }

.msp-dock__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.msp-dock__plan, .msp-dock__ask {
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}
.msp-dock__plan {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.msp-dock__plan:hover { border-color: var(--blue); color: var(--blue); }
.msp-dock__ask { background: var(--accent); border-color: var(--accent); color: #fff; }
.msp-dock__ask:hover { background: var(--brand-accent-hover); }
.msp-dock__foot { display: none; }

.msp-dock__chain { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.msp-dock__chain .cbox { display: flex; flex-direction: column; gap: 4px; min-width: 110px; }
.msp-dock__chain .cbox[hidden], .msp-dock__chain .arr[hidden] { display: none; }
.msp-dock__chain .lb { font-size: 10.5px; color: var(--muted); font-weight: 700; }
.msp-dock__chain select {
  appearance: none; border: 1.5px solid var(--line); border-radius: 8px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235f6b7c' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 8px center;
  padding: 7px 26px 7px 10px; font-size: 12.5px; font-weight: 600; cursor: pointer; max-width: 210px;
}
.msp-dock__chain .cbox.is-prefix {
  padding: 6px 10px; border: 1px solid var(--doc-edge); border-radius: 10px; background: var(--blue-soft);
}
.msp-dock__chain .cbox.is-prefix b { font-size: 18px; color: var(--ink); letter-spacing: 1px; }
.msp-dock__chain .arr { align-self: center; color: var(--cyan); font-weight: 800; padding-bottom: 7px; font-style: normal; }

@media (min-width: 1025px) {
  .msp-dock__panes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
    align-items: start;
  }
  .msp-dock__pane[hidden] { display: block !important; }
  .msp-dock__pane[data-pane="hw"] {
    padding-left: 28px;
    border-left: 1px solid var(--line);
  }
}

.msp-plan { display: none; padding: 0; background: var(--doc-backdrop); }
.msp-plan.open, .msp-plan:not([hidden]) { display: block; }
.msp-plan[hidden] { display: none !important; }
.msp-plan__inner { width: 100%; max-width: none; margin: 0; padding: 0; }
body.has-plan-open {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body.has-plan-open .site-chrome { flex: none; }
body.has-plan-open #mspPlan { flex: 1 0 auto; }
body.has-plan-open footer { flex: none; margin-top: auto; width: 100%; }
.msp-plan__head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 0; padding: 10px 20px; border-bottom: 1px solid var(--doc-line); background: var(--doc-paper);
}
.msp-plan__head .kicker { font-size: 11px; font-weight: 800; letter-spacing: .5px; color: var(--muted); }
.msp-plan__back {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.msp-plan__back:hover { border-color: var(--blue); color: var(--blue); }
.msp-plan__wiki { padding: 0 0 40px; margin: 0; }
.msp-plan__skuhero {
  margin: 8px 0 14px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .3px;
  color: var(--blue);
}
.msp-plan .article-cta .btn { cursor: pointer; font-family: inherit; }
.msp-plan .wiki-layout {
  grid-template-columns: 240px minmax(0, 1fr) 200px;
  gap: 0;
  min-height: calc(100vh - var(--chrome-h));
  padding: 0;
}
.msp-plan .wiki-nav {
  top: var(--chrome-h);
  height: calc(100vh - var(--chrome-h) - 80px);
  max-height: calc(100vh - var(--chrome-h) - 80px);
  padding: 10px 8px 28px;
  border-right: 1px solid var(--doc-line);
  background: var(--doc-soft);
}
.msp-plan .wiki-plan { margin: 0; padding: 4px 2px 8px; }
.msp-plan .wiki-plan__kicker {
  padding: 2px 8px 8px;
  color: var(--doc-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}
.msp-plan .wiki-plan__sku {
  display: block;
  margin: 0 0 6px;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--doc-ink);
  font-size: 13.5px;
  font-weight: 700;
}
.msp-plan .wiki-plan__sku:hover { background: var(--doc-accent-soft); color: var(--doc-ink); text-decoration: none; }
.msp-plan .wiki-plan__sku.current {
  background: var(--doc-blue-soft);
  color: var(--doc-blue);
}
.msp-plan .wiki-plan__list,
.msp-plan .wiki-plan__extra,
.msp-plan .wiki-plan__children {
  list-style: none;
  margin: 0;
  padding: 0;
}
.msp-plan .wiki-plan__list a,
.msp-plan .wiki-plan__extra a {
  display: block;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--doc-copy-muted);
  font-size: 13px;
  line-height: 1.35;
}
.msp-plan .wiki-plan__list a {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.msp-plan .wiki-plan__code {
  overflow-wrap: anywhere;
  color: var(--doc-ink);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.35;
}
.msp-plan .wiki-plan__list a > span { color: var(--doc-copy-muted); font-size: 13px; }
.msp-plan .wiki-plan__branch > a { color: var(--doc-ink); font-weight: 600; }
.msp-plan .wiki-plan__children a { padding-left: 24px; font-size: 12.5px; }
.msp-plan .wiki-plan__children a > span { font-size: 12.5px; }
.msp-plan .wiki-plan__list a:hover,
.msp-plan .wiki-plan__extra a:hover { background: var(--doc-accent-soft); color: var(--doc-ink); text-decoration: none; }
.msp-plan .wiki-plan__list a.current,
.msp-plan .wiki-plan__extra a.current {
  background: var(--doc-blue-soft);
  color: var(--doc-blue);
  font-weight: 600;
}
.msp-plan .wiki-plan__extra a { color: var(--doc-muted); font-size: 12.5px; }
.msp-plan .wiki-plan__edit {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 5px 8px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--doc-blue);
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
.msp-plan .wiki-plan__edit:hover { background: var(--doc-blue-soft); }
.msp-plan .msp-plan__toc {
  position: sticky;
  top: var(--chrome-h);
  height: calc(100vh - var(--chrome-h));
  overflow-y: auto;
  padding: 24px 16px 32px 0;
  border-left: 1px solid var(--doc-line);
  background: var(--doc-backdrop);
}
.msp-plan .msp-plan__toc[hidden] { display: none; }
.msp-plan .msp-plan__toc .wiki-toc-root {
  margin-bottom: 8px;
  padding: 0 0 8px 12px;
  color: var(--doc-muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
}
.msp-plan .msp-plan__toc ul {
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--doc-line);
  list-style: none;
}
.msp-plan .msp-plan__toc a {
  display: block;
  padding: 5px 8px 5px 12px;
  color: var(--doc-muted);
  font-size: 13px;
  line-height: 1.45;
}
.msp-plan .msp-plan__toc a:hover { color: var(--doc-blue); text-decoration: none; }
.msp-plan .msp-plan__toc a.current {
  border-radius: 6px;
  background: var(--doc-blue-soft);
  color: var(--doc-blue);
  font-weight: 600;
}
.msp-plan .msp-plan__toc li.is-h3 a { padding-left: 22px; font-size: 12.5px; }
@media (max-width: 1280px) {
  .msp-plan .wiki-layout { grid-template-columns: 240px minmax(0, 1fr); }
  .msp-plan .msp-plan__toc { display: none; }
}
@media (max-width: 960px) {
  .msp-plan .wiki-layout { grid-template-columns: 1fr; gap: 16px; }
  .msp-plan .wiki-nav {
    position: static;
    height: auto;
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid var(--doc-line);
  }
}
.msp-plan__article {
  min-width: 0;
  padding: 20px 48px 64px;
  background: var(--doc-backdrop);
}
.msp-plan .prose.is-sectioned,
.msp-plan .ov30.is-sectioned {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.msp-plan .prose.is-sectioned + .prose.is-sectioned,
.msp-plan .ov30.is-sectioned + .prose.is-sectioned { margin-top: 14px; }
.msp-plan .doc-block {
  margin: 0;
  padding: 18px 22px 16px;
  border: 1px solid var(--doc-line);
  border-radius: 12px;
  background: var(--doc-paper);
  box-shadow: 0 5px 18px rgba(16, 44, 70, .05);
}
.msp-plan .doc-block > :last-child { margin-bottom: 0; }
.msp-plan .doc-block > h2,
.msp-plan .ov30 section.doc-block { margin-top: 0; }
.msp-plan .article-hero {
  margin: 0 0 22px;
  padding: 0 0 22px;
  border: 0;
  border-bottom: 4px solid var(--doc-blue);
  border-radius: 0;
  background: none;
}
.msp-plan .ov30.is-sectioned > .ov30-more {
  margin-top: 0;
  padding: 6px 20px 12px;
  border: 1px solid var(--doc-line);
  border-radius: 12px;
  background: var(--doc-paper);
  box-shadow: 0 5px 18px rgba(16, 44, 70, .05);
}
.msp-plan__article .article-main { padding: 0; }
.msp-plan__loading { color: var(--muted); padding: 28px 0; }
.msp-plan__src { font-size: 12px; color: var(--muted); margin: 18px 0 0; }
.msp-plan__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.msp-plan__card { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); }
.msp-plan__card h3 { font-size: 14px; margin-bottom: 8px; }
.msp-plan__card .pickline { font-weight: 700; }
.msp-plan__card .pickwho, .msp-plan__card .na { color: var(--muted); font-size: 13px; margin: 4px 0 8px; }
.msp-plan__sec { font-size: 14px; margin: 22px 0 10px; }
.msp-plan__sec small { font-weight: 500; color: var(--muted); }
.hwrows { width: 100%; border-collapse: collapse; }
.hwrows td { padding: 5px 0; font-size: 13px; border-bottom: 1px dashed var(--line); }
.hwrows .k { color: var(--muted); width: 72px; }
.hwrows .v { font-weight: 700; }
.hwrows .n { color: var(--muted); font-size: 11px; text-align: right; }
.msp-plan__todo { list-style: none; padding: 6px 16px; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); }
.msp-plan__todo li { position: relative; padding: 7px 0 7px 24px; border-bottom: 1px dashed var(--line); font-size: 13px; }
.msp-plan__todo li:last-child { border-bottom: 0; }
.msp-plan__todo li:before { content: "☐"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.msp-plan__cta {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft);
}
.msp-plan__cta span { font-size: 13px; color: var(--muted); }
.msp-plan__cta b { font-family: ui-monospace, Consolas, monospace; color: var(--ink); }

@media (max-width: 960px) {
  .msp-plan__article { padding: 24px 22px 32px; }
}
@media (max-width: 680px) {
  .msp-plan__head { padding: 10px 16px; }
  .msp-plan__article { padding: 20px 16px 28px; }
}

.msp-frag {
  margin-bottom: 9px; padding: 12px 15px; border: 1px solid var(--line);
  border-left: 3px solid var(--blue); border-radius: 9px; background: #fff;
}
.msp-frag__top { display: flex; align-items: baseline; gap: 8px; margin-bottom: 5px; flex-wrap: wrap; }
.msp-frag__top span {
  font-size: 10px; font-weight: 800; color: var(--blue); background: var(--blue-soft);
  border-radius: 6px; padding: 1px 7px;
}
.msp-frag p { font-size: 13px; margin: 0 0 6px; }
.msp-frag .src { font-size: 11px; color: var(--muted); }

.msp-mask {
  position: fixed; inset: 0; z-index: 120; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(32, 33, 31, .42);
}
.msp-mask.open { display: flex; }
.msp-card {
  position: relative;
  width: min(380px, 94vw);
  max-height: 90vh;
  overflow: auto;
  padding: 28px 28px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}
.msp-card h3 {
  margin: 0 28px 18px 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  text-align: left;
}
.msp-card__sub { margin: 0 0 18px; color: var(--muted); font-size: 13px; text-align: left; }
.msp-card__topic {
  margin: 0 0 8px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
  overflow-wrap: anywhere;
}
.msp-card__copy {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 9px 12px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
}
.msp-card__copy:hover { background: var(--blue-soft); }
.msp-card__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.msp-card__close:hover { color: var(--accent); }
.msp-card__qr {
  width: 196px;
  height: auto;
  display: block;
  margin: 0 auto;
  background: #fff;
}

.msp-toast {
  position: fixed; bottom: 20px; left: 50%; z-index: 130;
  transform: translateX(-50%) translateY(12px);
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 700; opacity: 0; pointer-events: none; transition: .2s;
}
.msp-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

.v20-home .v17-hero { padding: 36px 0 28px; }

/* ============================================================
   v21 首页 Hero：右侧渐隐网格（hero.html 第 11 套）
   说明：<body class="v22-home"> 是页面版本标记，本身不带规则
   （.v21-hero / .v21-board 只出现在首页，无需再套作用域）。
   原来 body 上还挂着 v16-home / v21-home 两个历代残留，已清掉。
   ============================================================ */
.v21-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--ink);
  background: var(--gradient-paper);
  border-bottom: 1px solid var(--line);
}
.v21-hero::before {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 42%;
  background-image:
    linear-gradient(rgba(154,155,152,.19) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154,155,152,.19) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, #000 38%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%);
  pointer-events: none;
  content: "";
}
.v21-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 34px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 44px 24px 36px;
}
.v21-hero-copy { min-width: 0; }
.v21-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  /* 中文标题不做负字距：CJK 是满幅方块字，-.045em 在 64px 下等于 -2.88px，
     笔画会互相挤压（英文 display 字体才需要负字距）。 */
  letter-spacing: 0;
  line-height: 1.1;
}
.v21-hero h1 em {
  color: var(--accent);
  font-style: normal;
}
.v21-hero-def {
  max-width: 36em;
  margin: 18px 0 0;
  color: var(--text);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.48;
}
.v21-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 14px;
  margin: 32px 0 0;
}
.v21-hero-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 172px;
  padding: 16px 36px;
  border-radius: 4px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.2;
}
.v21-hero-cta .btn:hover { transform: none; }
.v21-hero-cta .btn-primary {
  background: var(--brand-red-strong);
  border-color: var(--brand-red-strong);
  color: #fff;
}
.v21-hero-cta .btn-primary:hover { background: var(--brand-red-deep); border-color: var(--brand-red-deep); }
.v21-hero-cta .btn-ghost {
  background: #fff;
  border-color: var(--brand-charcoal);
  color: var(--brand-charcoal);
}
.v21-hero-cta .btn-ghost:hover {
  background: var(--brand-charcoal);
  border-color: var(--brand-charcoal);
  color: #fff;
}
.v21-hero-wechat { font-size: 13px; color: var(--text); text-decoration: underline; }
.v21-hero-wechat:hover { color: var(--accent); }
.v21-hero-facts {
  display: grid;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  /* 「六个不用」是首屏最有杀伤力的卖点，原来给的是全页最弱的 var(--muted)。
     提到 var(--muted)：在 hero 渐变最深处仍有 6.20:1，且不与 24px 定义句争夺。 */
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
}
.v21-hero-facts li {
  position: relative;
  padding-left: 17px;
}
.v21-hero-facts li::before {
  position: absolute;
  top: .68em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}
.v21-hero-visual {
  margin: 0;
  padding: 8px 0;
}
.v21-hero-visual img {
  display: block;
  /* v25 P1-6：图已裁掉透明边距（内容即像素边界），所以这里**不再**靠隐性内边距凑出血。
     85% + 左边距 14% 复现原先肉眼看到的位置（左 14.0% / 宽 84.8% / 右 98.8%）。 */
  width: 85%;
  max-width: none;
  height: auto;
  margin-left: 14%;
}

@media (max-width: 900px) {
  .v21-hero::before { inset: 0; mask-image: linear-gradient(180deg, transparent, #000 28%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 28%); opacity: .55; }
  .v21-hero-inner { grid-template-columns: 1fr; gap: 22px; padding: 32px 24px 28px; }
  .v21-hero-visual { order: -1; max-width: 440px; margin: 0 auto; padding: 0; }
  .v21-hero-visual img { width: 100%; margin-left: 0; }
  .v21-hero h1 { font-size: clamp(36px, 8vw, 48px); }
}
@media (max-width: 640px) {
  .v21-hero-inner { padding: 26px 18px 22px; }
  .v21-hero h1 { font-size: 34px; }
  .v21-hero-def { font-size: 18px; }
  .v21-hero-facts { font-size: 14px; margin-top: 20px; }
  .v21-hero-cta { gap: 10px; margin-top: 26px; }
  .v21-hero-cta .btn {
    flex: 1 1 140px;
    min-width: 0;
    padding: 14px 18px;
    font-size: 16px;
    letter-spacing: .04em;
  }
}

/* ============================================================
   v21 首页：V3 图集叙事
   ============================================================ */
.v21-board {
  position: relative;
  isolation: isolate;
  padding: 36px 0;
  overflow: hidden;
  /* C = A+B：整节共享柔和渐变；右侧准确落到 PNG 的 #f5f5f5 底色。 */
  background: linear-gradient(105deg, #fff 0%, #fafaf8 40%, var(--art-bg) 72%);
}
.v21-board > .wrap { position: relative; z-index: 1; }
/* 02 / 04：整块纯色，和渐变节交替，避免重复网格造成疲劳。 */
.v21-board.is-soft {
  background: var(--art-bg);
}
.v21-board + .v21-board { border-top: 1px solid var(--line); }

.v21-board-head { margin: 0 0 18px; }
.v21-board-head span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}
.v21-board-head h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: 0;
}
.v21-board-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.v21-board-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}
.v21-board-pane {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 28px 22px 28px 4px;
}
.v21-board-visual { min-width: 0; }
.v21-board-fig {
  margin: 0;
  /* V10 首页图统一为 1000×720，按原比例显示，禁止压回旧版方图。 */
  aspect-ratio: 25 / 18;
  overflow: hidden;
  background: transparent;
}
.v21-board-fig a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.v21-board-fig a::after {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 5px;
  background: rgba(32,33,31,.78);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(3px);
  transition: .16s ease;
  content: "查看大图";
}
.v21-board-fig a:hover::after,
.v21-board-fig a:focus-visible::after { opacity: 1; transform: translateY(0); }
.v21-board-fig img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.v21-board-exit {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin: 22px 0 0;
  font-size: 15px;
  font-weight: 600;
}
.v21-board-exit[hidden] { display: none; }
.v21-board-exit a,
.v21-board-exit button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.v21-board-exit a:hover,
.v21-board-exit button:hover { text-decoration: underline; }
.v21-path-tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 4px 0 0;
}
.v21-path-tabs button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.v21-path-tabs button:hover { border-color: var(--accent); }
.v21-path-tabs button.active {
  border-color: var(--accent);
  background: var(--brand-red-soft);
  color: var(--ink);
}
.v21-path-tabs b { font-size: 16px; }
/* var(--muted) 在激活态 var(--brand-red-soft) 上只有 4.41:1（13px 需 4.5）。
   加深到 var(--muted) → 5.51:1。 */
.v21-path-tabs span { font-size: 13px; color: var(--muted); }
.v21-path-panel { margin: 0; }
.v21-path-panel[hidden] { display: none; }

/* v23 首页正文：六段内容使用不同构图，避免连续 40/60 图文造成阅读疲劳。 */
.v23-board-stack {
  display: grid;
  gap: 24px;
}
.v23-board-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 6px 44px;
  align-items: end;
  max-width: 980px;
  margin: 0 auto;
}
.v23-board-intro > h2,
.v23-board-intro > p { margin: 0; }
.v23-board-overview {
  padding-top: 48px;
  background: #fff;
}
.v23-board-overview .v21-board-fig {
  width: min(100%, 780px);
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--art-bg);
}

.v21-board-pair.is-software { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); }
.v23-board-software .v21-board-fig {
  width: min(100%, 590px);
  margin: 0 auto;
}
.v23-interface-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.v23-interface-list a {
  min-width: 0;
  padding: 12px 13px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, .7);
}
.v23-interface-list a:hover {
  background: var(--brand-red-soft);
  text-decoration: none;
}
.v23-interface-list b,
.v23-interface-list span { display: block; }
.v23-interface-list b { margin-bottom: 3px; font-size: 14.5px; }
.v23-interface-list span { color: var(--muted); font-size: 12.5px; line-height: 1.45; }

.v23-board-proof {
  padding: 48px 0;
  background: #2e2f2c;
}
.v23-proof-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 1.1fr);
  gap: 48px;
  align-items: end;
  width: min(100%, 980px);
  margin: 0 auto;
}
.v23-board-proof .v21-board-head { margin-bottom: 0; }
.v23-board-proof .v21-board-head h2 { color: #fff; }
.v23-board-proof .v21-board-head p { color: #c8c8c2; }
.v23-proof-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,.22);
  border-left: 1px solid rgba(255,255,255,.22);
  list-style: none;
}
.v23-proof-points li {
  padding: 13px 14px;
  border-right: 1px solid rgba(255,255,255,.22);
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.v23-proof-points b,
.v23-proof-points span { display: block; }
.v23-proof-points b { margin-bottom: 3px; color: #fff; font-size: 14px; }
.v23-proof-points span { color: #b4b4ae; font-size: 12px; line-height: 1.45; }
.v23-board-proof .v21-board-fig {
  width: min(100%, 850px);
  margin: 0 auto;
  border: 2px solid rgba(255,255,255,.72);
  background: var(--art-bg);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .18);
}

.v21-board-pair.is-reverse { grid-template-columns: minmax(0, 56fr) minmax(330px, 44fr); }
.v23-board-hardware .v21-board-fig {
  width: min(100%, 620px);
  margin: 0 auto;
}
.v23-hardware-paths {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.v23-hardware-paths a {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.v23-hardware-paths a:hover { color: var(--accent); text-decoration: none; }
.v23-hardware-paths b { font-size: 14.5px; }
.v23-hardware-paths span { color: var(--muted); font-size: 13px; }

.v23-board-accessories { background: #fff; }
.v21-board-pair.is-accessories { grid-template-columns: minmax(330px, 42fr) minmax(0, 58fr); }
.v23-board-accessories .v21-board-fig {
  width: min(100%, 650px);
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--art-bg);
}
.v23-accessory-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.v23-accessory-links a {
  min-width: 0;
  padding: 12px 13px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.v23-accessory-links a:hover { background: var(--brand-red-faint); text-decoration: none; }
.v23-accessory-links b,
.v23-accessory-links span { display: block; }
.v23-accessory-links b { margin-bottom: 3px; font-size: 14px; }
.v23-accessory-links span { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.v21-board-exit .v23-accessory-ask {
  padding: 8px 13px;
  border: 1px solid var(--accent);
  border-radius: 5px;
  background: var(--accent);
  color: #fff;
}
.v21-board-exit .v23-accessory-ask:hover {
  background: var(--brand-red-deep);
  color: #fff;
  text-decoration: none;
}

.v21-board-pair.v23-board-selector { grid-template-columns: minmax(340px, 42fr) minmax(0, 58fr); }

/* 首页图片查看器：保留原图可读性，不离开当前页面。 */
.home-image-viewer[hidden] { display: none; }
.home-image-viewer {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 24px;
}
.home-image-viewer__veil {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(32,33,31,.72);
  backdrop-filter: blur(3px);
}
.home-image-viewer__box {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1040px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.32);
}
.home-image-viewer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 6px 8px 6px 16px;
  border-bottom: 1px solid var(--line);
}
.home-image-viewer__head b { color: var(--ink); font-size: 14px; }
.home-image-viewer__close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
}
.home-image-viewer__close:hover { background: var(--bg-soft); color: var(--ink); }
.home-image-viewer__stage {
  min-height: 0;
  overflow: auto;
  padding: 12px;
  background: #e8edf2;
}
.home-image-viewer__stage img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 150px);
  margin: 0 auto;
}
.home-image-viewer__caption {
  margin: 0;
  padding: 9px 16px 11px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}
body.has-home-image-viewer { overflow: hidden; }

@media (min-width: 1025px) {
  .v21-board-pair {
    grid-template-columns: 40fr 60fr;
    gap: 0 20px;
    align-items: center;
  }
  .v21-board-visual { min-width: 0; }
}
@media (max-width: 1024px) {
  .v21-board-fig { max-width: 620px; margin: 0 auto; width: 100%; }
  .v21-board-pane { padding: 8px 0 4px; }
  .v21-board-pair.is-software,
  .v21-board-pair.is-reverse,
  .v21-board-pair.is-accessories,
  .v21-board-pair.v23-board-selector { grid-template-columns: 1fr; }
  .v23-board-intro,
  .v23-proof-intro { grid-template-columns: 1fr; gap: 10px; }
  .v23-board-hardware .v21-board-pane { max-width: 680px; margin: 0 auto; }
}
@media (max-width: 680px) {
  .v21-board-fig { max-width: 520px; }
  .v23-board-overview,
  .v23-board-proof { padding-top: 34px; padding-bottom: 34px; }
  .v23-interface-list { grid-template-columns: 1fr 1fr; }
  .v23-interface-list a { padding: 11px 10px; }
  .v23-interface-list span { display: none; }
  .v23-accessory-links { grid-template-columns: 1fr 1fr; }
  .v23-proof-points { grid-template-columns: 1fr; }
  .v23-proof-intro { gap: 18px; }
  .v21-board-fig { overflow: visible; margin-bottom: 24px; }
  .v21-board-fig a::after {
    right: 0;
    bottom: -24px;
    padding: 3px 0;
    border: 0;
    background: none;
    color: var(--accent);
    opacity: 1;
    transform: none;
    content: "点击查看大图";
  }
  .v23-board-proof .v21-board-fig a::after { color: #e8e8e4; }
  .home-image-viewer { padding: 0; }
  .home-image-viewer__box {
    width: 100vw;
    max-height: 100vh;
    border: 0;
    border-radius: 0;
  }
  .home-image-viewer__stage { padding: 6px; }
  .home-image-viewer__stage img { max-height: calc(100vh - 130px); }
  .v23-hardware-paths a { grid-template-columns: 96px minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .v21-board { padding: 28px 0; }
  .v21-path-tabs button { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ============================================================
   v23 首页正文 · 继承 Hero 的标题、留白与图像语言
   ============================================================ */
.home-story {
  padding: clamp(54px, 6vw, 78px) 0;
  border-top: 1px solid var(--line);
  background: #fff;
}
.home-story--architecture {
  background: var(--gradient-paper);
}
.home-story--soft { background: var(--art-bg); }
.home-story__split {
  display: grid;
  grid-template-columns: minmax(330px, 42fr) minmax(0, 58fr);
  gap: clamp(30px, 4vw, 58px);
  align-items: center;
}
.home-story__split--reverse {
  grid-template-columns: minmax(0, 58fr) minmax(330px, 42fr);
}
.home-story__copy { min-width: 0; }
.home-story__copy h2 {
  max-width: 12em;
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 3.7vw, 48px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.14;
}
.home-story__copy h2 em {
  display: block;
  color: var(--accent);
  font-style: normal;
}
.home-story__copy > p {
  max-width: 34em;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.72;
}
.home-story__facts {
  display: grid;
  gap: 7px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  list-style: none;
}
.home-story__facts li {
  position: relative;
  padding-left: 17px;
}
.home-story__facts li::before {
  position: absolute;
  top: .68em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}
.home-story__visual {
  min-width: 0;
  width: 100%;
  margin: 0;
  border: 0;
  background: transparent;
}

.home-interface-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
  margin-top: 25px;
  border-top: 1px solid var(--line);
}
.home-interface-list a {
  position: relative;
  padding: 11px 20px 11px 1px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.home-interface-list a::after {
  position: absolute;
  right: 2px;
  color: var(--brand-silver);
  content: "→";
}
.home-interface-list a:hover { color: var(--accent); text-decoration: none; }
.home-proof-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  background: rgba(255,255,255,.58);
  color: var(--ink);
}
.home-proof-link:hover { background: #fff; text-decoration: none; }
.home-proof-link span,
.home-proof-link b,
.home-proof-link small { display: block; }
.home-proof-link b { font-size: 14px; }
.home-proof-link small { margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 500; }
.home-proof-link strong { flex: none; color: var(--accent); font-size: 13px; }

.home-story__tabs {
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 25px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.home-story__tabs button {
  min-width: 0;
  padding: 11px 12px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255,255,255,.52);
}
.home-story__tabs button.active {
  border-color: var(--line);
  background: var(--brand-red-soft);
  box-shadow: inset 3px 0 0 var(--accent);
}
.home-story__tabs b { font-size: 14px; }
.home-story__tabs span { font-size: 12px; }
.home-story__path-visual { min-width: 0; }
.home-story .v21-board-exit { margin-top: 18px; }

.home-interface-list--parts { grid-template-columns: 1fr 1fr; }
.home-story__overview { margin: 28px 0 0; }
.home-story__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin: 22px 0 0;
}
.home-story__actions a,
.home-story__actions button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.home-story__actions a:hover,
.home-story__actions button:hover { text-decoration: underline; }
.home-story__actions .v23-accessory-ask {
  padding: 9px 14px;
  border-radius: 5px;
  background: var(--accent);
  color: #fff;
}
.home-story__actions .v23-accessory-ask:hover {
  background: var(--brand-red-deep);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .home-story__split,
  .home-story__split--reverse { grid-template-columns: 1fr; }
  .home-story__copy { max-width: 700px; }
  .home-story__split--reverse .home-story__visual { order: 2; }
  .home-story__split--reverse .home-story__copy { order: 1; }
  .home-story__visual { max-width: 760px; }
}
@media (max-width: 680px) {
  .home-story { padding: 40px 0; }
  .home-story__split { gap: 28px; }
  .home-story__copy h2 { font-size: 32px; }
  .home-story__copy > p { margin-top: 14px; font-size: 16px; }
  .home-interface-list { gap: 0 14px; margin-top: 20px; }
  .home-interface-list a { padding-right: 15px; font-size: 13px; }
  .home-proof-link { align-items: flex-start; }
  .home-proof-link small { max-width: 20em; }
  .home-story__tabs { margin-top: 20px; }
  .home-story__tabs button { flex-direction: column; align-items: flex-start; }
}

.v20-signal {
  display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden;
  margin: 0 0 8px; border-radius: 16px; background: var(--navy); color: #e8e8e4;
}
.v20-signal div { padding: 18px 22px; }
.v20-signal b { display: block; color: #fff; font-size: 16px; margin-bottom: 4px; }
.v20-signal span { font-size: 13px; color: #b4b4ae; }
.v20-platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.v20-platforms a {
  display: flex; flex-direction: column; padding: 16px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 16px; background: #fff;
}
.v20-platforms a:hover { border-color: var(--blue); text-decoration: none; transform: translateY(-2px); }
.v20-platforms img { width: 100%; height: 160px; object-fit: contain; border-radius: 10px; background: #1a1a1a; }
.v20-platforms b { margin-top: 12px; font-size: 16px; }
.v20-platforms span { color: var(--muted); font-size: 13px; }
.v20-contact {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 28px 32px; border-radius: 16px; background: var(--gradient-brand); color: #fff;
}
.v20-contact h2 { color: #fff; font-size: 24px; margin: 4px 0 6px; }
.v20-contact p { color: #d8e0e6; font-size: 14.5px; max-width: 520px; }

@media (max-width: 1024px) {
  .has-msp-dock .nav {
    top: 72px;
    max-height: calc(100vh - 72px);
  }
}
@media (max-width: 680px) {
  .header-inner,
  .has-msp-dock .header-inner { height: 64px; }
  .header-tools { gap: 12px; }
  .lang-switch { margin-left: 0; }
  .has-msp-dock .header-inner { gap: 8px; }
  .has-msp-dock .nav { top: 64px; max-height: calc(100vh - 64px); }
  .brand-word,
  .has-msp-dock .brand-word { font-size: 28px; }
  .brand-copy b,
  .has-msp-dock .brand-copy b { font-size: 11px; }
  .brand-copy small { font-size: 10.5px; letter-spacing: 0; }
  .header-tools { gap: 6px; }
  .doc .site-header .wrap,
  .has-msp-dock.doc .site-chrome .wrap { padding-right: 12px; padding-left: 12px; }
}
@media (max-width: 760px) {
  .msp-plan__grid, .v20-signal, .v20-platforms { grid-template-columns: 1fr; }
}

/* ============================================================
   移动端配货台：顶栏购物车打开全屏抽屉
   ============================================================ */
@media (max-width: 1024px) {
  .msp-dock.open {
    position: fixed;
    inset: 0;
    top: 0;
    right: 0;
    width: auto;
    z-index: 89;
  }
  .msp-dock__veil:not([hidden]) {
    position: absolute; inset: 0; z-index: 89; display: block;
    background: rgba(32, 33, 31, .42);
  }
  body.has-dock-open { overflow: hidden; }

  .msp-dock__sheet {
    position: absolute; right: 0; bottom: 0; left: 0; z-index: 90;
    max-width: none;
    max-height: 74vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    border: 0;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -10px 40px rgba(32, 33, 31, .22);
  }
  .msp-dock__sheet::before {
    display: block;
    width: 40px; height: 4px; margin: 0 auto 14px;
    border-radius: 999px; background: var(--line);
    content: "";
  }
  .msp-dock__ph { flex-wrap: wrap; }
  .msp-dock__foot { display: block; margin-top: 16px; }
  .msp-dock__done {
    display: block; width: 100%; padding: 13px;
    border: 0; border-radius: 10px; background: var(--blue); color: #fff;
    font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
  }
  .msp-dock__chain { gap: 10px; }
  .msp-dock__chain .cbox { flex: 1 1 44%; min-width: 0; }
  .msp-dock__chain select { width: 100%; max-width: none; }
  .msp-dock__chain .arr { display: none; }
  .msp-plan__skuhero { font-size: 22px; }
}

/* ============================================================
   v22 配货台：购物车入口 + 页面内两步选择对话框
   ============================================================ */
.msp-cart {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--brand-accent);
  line-height: 0;
  cursor: pointer;
}
.msp-cart:hover,
.msp-cart.is-open {
  border-color: transparent;
  background: none;
  color: var(--brand-accent);
}
.msp-cart svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.msp-cart__dot { display: none; }

.msp-dock.open {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  width: auto;
  padding: 20px;
}
body.has-dock-open { overflow: hidden; }
.msp-dock__veil:not([hidden]) {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  background: rgba(16, 44, 70, .42);
}
.msp-dock__sheet {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 960px;
  height: auto;
  min-height: 0;
  max-width: calc(100vw - 40px);
  max-height: min(780px, calc(100vh - 40px));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--doc-line);
  border-radius: 4px;
  background: var(--doc-paper);
  box-shadow: 0 20px 56px rgba(16, 44, 70, .22);
}
.msp-dock__head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  min-height: 56px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--doc-line);
  background: var(--doc-paper);
  color: var(--doc-ink);
}
.msp-dock__sku {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}
.msp-dock__sku small {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--brand-navy);
}
.msp-dock__sku b {
  color: var(--doc-blue);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  word-break: normal;
  overflow-wrap: break-word;
}
.msp-dock__head .msp-dock__actions {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.msp-dock__head .msp-dock__plan {
  padding: 8px 13px;
  border-radius: 2px;
  background: #fff;
  border-color: #0b656b;
  color: #0b656b;
  font-size: 14px;
  font-weight: 600;
}
.msp-dock__head .msp-dock__plan:hover {
  border-color: var(--doc-blue);
  background: var(--doc-blue-soft);
  color: var(--doc-blue);
}
.msp-dock__head .msp-dock__plan.is-primary {
  background: #074f54;
  border-color: #074f54;
  color: #fff;
}
.msp-dock__head .msp-dock__plan.is-primary:hover {
  background: #063f43;
  border-color: #063f43;
  color: #fff;
}
.msp-dock__head .msp-dock__plan.is-help {
  background: #fff;
  border-color: #0b656b;
  color: #0b656b;
}
.msp-dock__head .msp-dock__plan.is-help:hover {
  background: var(--doc-soft);
  border-color: var(--doc-line);
  color: var(--doc-ink);
}
.msp-dock__close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--doc-muted);
  font-size: 26px;
  line-height: 1;
}
.msp-dock__head .msp-dock__close:hover {
  background: var(--doc-soft);
  color: var(--doc-ink);
}

.msp-dock__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 268px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.msp-dock__main {
  min-width: 0;
  min-height: 0;
  padding: 18px 20px 22px;
  overflow-x: hidden;
  overflow-y: auto;
}
.msp-dock__block + .msp-dock__block {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--doc-line);
}
.msp-dock__block > .lb {
  display: block;
  margin-bottom: 8px;
}
.msp-dock__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.msp-dock__combo { position: relative; }
.msp-dock__combo-btn {
  display: grid;
  grid-template-columns: 1fr 20px;
  gap: 4px;
  width: 100%;
  min-height: 50px;
  padding: 8px 10px;
  border: 1px solid var(--doc-edge);
  border-radius: 2px;
  background: var(--doc-paper);
  color: var(--doc-ink);
  text-align: left;
  cursor: pointer;
}
.msp-dock__combo-btn span { min-width: 0; }
.msp-dock__combo-btn strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
}
.msp-dock__combo-btn small {
  display: block;
  color: var(--doc-copy-muted);
  font-size: 12.5px;
  line-height: 1.45;
  white-space: normal;
}
.msp-dock__combo-btn i {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  color: var(--doc-muted);
  font-style: normal;
}
.msp-dock__combo.is-open .msp-dock__combo-btn {
  border-color: var(--doc-blue);
  box-shadow: 0 0 0 3px var(--doc-blue-soft);
}
.msp-dock__combo-menu {
  position: absolute;
  z-index: 8;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  max-height: 260px;
  padding: 5px;
  overflow: auto;
  border: 1px solid var(--doc-line);
  border-radius: 2px;
  background: var(--doc-paper);
  box-shadow: 0 16px 35px rgba(32, 33, 31, .16);
}
.msp-dock__combo-opt {
  display: block;
  width: 100%;
  padding: 8px 9px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--doc-ink);
  text-align: left;
  cursor: pointer;
}
.msp-dock__combo-opt strong { display: block; font-size: 14px; }
.msp-dock__combo-opt small {
  display: block;
  margin-top: 2px;
  color: var(--doc-copy-muted);
  font-size: 12.5px;
  line-height: 1.45;
  white-space: normal;
}
.msp-dock__combo-opt:hover,
.msp-dock__combo-opt.is-on { background: var(--doc-blue-soft); }
.msp-dock__combo-opt.is-on strong { color: var(--doc-blue); }
.msp-dock__pulse {
  margin: 0 0 10px;
  color: var(--doc-copy-muted);
  font-size: 12.5px;
  line-height: 1.55;
}
.msp-dock__pulse[hidden] { display: none; }
.msp-dock__adv {
  margin-top: 12px;
}
.msp-dock__adv[hidden] { display: none; }
.msp-dock__adv summary {
  color: var(--doc-muted);
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}
.msp-dock__adv .msp-dock__chain { margin-top: 9px; }
.msp-dock__cart {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-y: auto;
  border-left: 1px solid var(--doc-line);
  background: #f8fbfc;
}
.msp-dock__cart-sku {
  padding: 12px 14px;
  background: var(--doc-blue-soft);
  border-bottom: 1px solid var(--doc-line);
}
.msp-dock__cart-sku small {
  display: block;
  flex: 1;
  min-width: 0;
  color: var(--doc-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.msp-dock__cart-sku-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.msp-dock__cart-sku b {
  display: block;
  margin-top: 5px;
  color: var(--doc-blue);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
  word-break: normal;
  overflow-wrap: break-word;
}
.msp-dock__copy {
  flex: none;
  margin-top: 0;
  padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 4px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
}
.msp-dock__copy:hover { background: #fff; color: #0c253b; }
.msp-dock__cart-list { padding: 12px 14px 16px; }
.msp-dock__cart-kicker {
  display: block;
  margin-bottom: 2px;
  color: var(--doc-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.msp-dock__cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--doc-line);
}
.msp-dock__cart-line .k {
  display: block;
  color: var(--doc-copy-muted);
  font-size: 12px;
}
.msp-dock__cart-line .v {
  display: block;
  margin-top: 2px;
  color: var(--doc-ink);
  font-size: 13px;
  font-weight: 650;
  word-break: normal;
  overflow-wrap: break-word;
}
.msp-dock__cart-line .p {
  align-self: center;
  color: var(--doc-muted);
  font-size: 12.5px;
  text-align: right;
}
.msp-dock__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.msp-dock__field .lb,
.msp-dock__chain .lb,
.msp-dock__block > .lb {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--doc-muted);
}
.msp-dock__field .lb i,
.msp-dock__block > .lb i {
  margin-right: 7px;
  color: #0b656b;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
.msp-dock__field select {
  appearance: none;
  width: 100%;
  min-height: 40px;
  padding: 7px 32px 7px 11px;
  border: 1px solid var(--doc-edge);
  border-radius: 2px;
  background: var(--doc-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235d6b7a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 11px center;
  color: var(--doc-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.msp-dock__field select:focus,
.msp-dock__chain select:focus {
  outline: 2px solid #f59e0b;
  outline-offset: 1px;
  border-color: var(--doc-blue);
}
.msp-dock__desc {
  margin-top: 9px;
  padding: 8px 10px;
  border-left: 3px solid var(--doc-blue);
  background: var(--doc-blue-soft);
}
.msp-dock__desc[hidden] { display: none; }
.msp-dock__desc span {
  display: block;
  margin-bottom: 2px;
  color: var(--doc-blue);
  font-size: 12.5px;
  font-weight: 600;
}
.msp-dock__desc p {
  margin: 0;
  color: var(--doc-muted);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.55;
}
.msp-dock__desc p + p { margin-top: 4px; }
.msp-dock__spec {
  margin: 7px 0 0;
  color: var(--doc-muted);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.45;
}
.msp-dock__spec[hidden] { display: none; }
.msp-dock__chain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  margin-top: 13px;
}
.msp-dock__chain.is-extra {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.msp-dock__chain .cbox { min-width: 0; }
.msp-dock__chain select {
  width: 100%;
  max-width: none;
  min-height: 38px;
  border-color: var(--doc-edge);
  border-radius: 2px;
  color: var(--doc-ink);
  font-weight: 500;
}
.msp-dock__subhead {
  margin-top: 15px;
  padding-top: 11px;
  border-top: 1px solid var(--doc-line);
  color: var(--doc-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
}
.msp-dock__subhead[hidden],
.msp-dock__chain[hidden] { display: none; }
.msp-dock__subhead + .msp-dock__chain { margin-top: 7px; }

.msp-dock__foot { display: none; }
.msp-dock__summary {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.msp-dock__summary:hover small { color: var(--doc-blue, var(--blue)); }
.msp-dock__summary small { font-size: 11px; color: var(--muted); }
.msp-dock__summary b {
  overflow: hidden;
  color: var(--ink);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.msp-dock__actions {
  display: flex;
  flex: none;
  gap: 8px;
  margin: 0;
}
.msp-dock__next,
.msp-dock__done {
  padding: 10px 15px;
  border: 1px solid var(--brand-accent);
  border-radius: 9px;
  background: var(--brand-accent);
  color: #fff;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
}
.msp-dock__done {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}
.msp-dock__next:hover { border-color: var(--brand-accent-hover); background: var(--brand-accent-hover); }
.msp-dock__done:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 1024px) {
  .msp-dock.open {
    display: grid;
    width: auto;
    padding: 14px;
  }
  .msp-dock__veil:not([hidden]) { position: absolute; z-index: 0; }
  .msp-dock__sheet {
    position: relative;
    inset: auto;
    width: 960px;
    height: auto;
    min-height: 0;
    max-width: calc(100vw - 28px);
    max-height: min(780px, calc(100vh - 28px));
    margin: 0;
    padding: 0;
    border: 1px solid var(--doc-line);
    border-radius: 4px;
  }
  .msp-dock__sheet::before { display: none; }
  .msp-dock__chain { gap: 12px; }
  .msp-dock__chain.is-extra { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .msp-dock__head { flex-wrap: wrap; }
  .msp-dock__head .msp-dock__actions { flex: 0 1 auto; }
}

@media (max-width: 680px) {
  .msp-dock.open { padding: 0; }
  .msp-dock__sheet {
    width: 100%;
    height: 100%;
    max-height: none;
    min-height: 0;
    border: 0;
    border-radius: 0;
  }
  .msp-dock__head {
    flex-wrap: wrap;
    min-height: 64px;
    padding: 11px 14px;
  }
  .msp-dock__sku { flex: 1 1 calc(100% - 48px); }
  .msp-dock__head .msp-dock__actions { flex: 1 1 100%; }
  .msp-dock__head .msp-dock__actions > button { flex: 1; }
  .msp-dock__body { display: block; overflow-y: auto; }
  .msp-dock__main { padding: 16px; }
  .msp-dock__cart { border-left: 0; border-top: 1px solid var(--doc-line); }
  .msp-dock__chain,
  .msp-dock__chain.is-extra { grid-template-columns: 1fr 1fr; }
  .msp-dock__foot {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  }
  .msp-dock__actions { width: 100%; }
  .msp-dock__actions > button { flex: 1; }
}

/* ============================================================
   v23 · 文档语言（wiki）
   ------------------------------------------------------------
   来源：sample.html（财务分析报告）的排版系统，按 MSP 改造后接入。
   抄进来的：灰底白纸、报头粗线、h2 下划线分隔、KPI 三段式、
             语义状态色对、tabular-nums、口径声明块、严重度色块、
             打印分页控制。
   没抄的：  0 圆角铺满全站（会和外壳的圆角语言打架）、14px 正文、
             Arial 字体栈、amber 当警示色、钢蓝替换品牌蓝。

   作用域：视觉语言全部挂在 .doc 下（body.doc，只有 29 个 wiki 页带这个类），
           非 wiki 页面零影响。少数"缺陷修复"没有加作用域，见各处注释。
   ============================================================ */

/* ---------- 灰底 + 白纸 ---------- */
.doc { color: var(--doc-ink); background: var(--doc-backdrop); }
/* Wiki 图一律按原图比例：只限最大边，不写死另一边。分类缩略图等再单独覆盖。 */
.doc img { max-width: 100%; height: auto; }

.doc main .wiki-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 200px;
  gap: 0;
  align-items: start;
  min-height: calc(100vh - var(--chrome-h));
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--doc-backdrop);
}
.doc .site-header .wrap,
.has-msp-dock.doc .site-chrome .wrap {
  max-width: none;
  padding-right: 20px;
  padding-left: 20px;
}

/* 中间正文列；左右栏贴视口通高滚动。 */
.doc main .doc-paper {
  min-width: 0;
  min-height: calc(100vh - var(--chrome-h));
  padding: 20px 48px 64px;
  border: 0;
  background: var(--doc-backdrop);
}

/* ---------- 面包屑（正文列顶，小字） ---------- */
.doc .crumbs { padding: 0 0 16px; font-size: 12.5px; color: var(--doc-muted); }
.doc .crumbs a { color: var(--doc-muted); }
.doc .crumbs a:hover { color: var(--doc-blue); }
.doc .crumbs .sep { margin: 0 7px; color: #a8a8a2; }

/* ---------- 报头：不是卡片，是文档刊头 ---------- */
/* 原来 .article-hero 是一张 22px 圆角卡片，里面塞了 badge + h1 + lead +
   产品实物图 + 参数条 + 两个按钮，旧版还带装饰性青光斑。
   边框在视觉上宣称"这些是一组"，但它们不是。
   改为：无边框的刊头 + 底部 4px 品牌粗线（sample 的 header 装置）。 */
.doc .article-hero {
  margin: 0 0 30px;
  padding: 0 0 22px;
  border: 0;
  border-bottom: 4px solid var(--doc-blue);
  border-radius: 0;
  background: none;
}
.doc .article-hero .badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--doc-muted);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
}
.doc .article-hero h1 {
  margin: 0 0 10px;
  color: var(--brand-navy);
  font-size: 30px;
  line-height: 1.32;
  letter-spacing: .02em;
}
.doc .article-hero .lead {
  margin: 0 0 22px;
  max-width: none;
  color: var(--doc-copy-muted);
  font-size: 15px;
  line-height: 1.78;
}

/* 产品实物图：单列、图上注下。框跟着图走，不跟栏走；禁止通栏空盒子。 */
.doc .product-visual {
  display: table;
  width: auto;
  max-width: 100%;
  margin: 0 auto 22px;
  padding: 0;
  border: 0;
  background: none;
}
.doc .product-visual img {
  display: block;
  width: auto;
  max-width: min(100%, 480px);
  height: auto;
  max-height: 320px;
  margin: 0 auto;
  object-fit: contain;
}
.doc .product-visual.is-diagram img {
  max-width: min(100%, 520px);
  max-height: 360px;
}
.doc .product-visual.is-wide img {
  max-width: min(100%, 640px);
  max-height: 480px;
}
.doc .product-visual figcaption {
  display: table-caption;
  caption-side: bottom;
  margin-top: 10px;
  color: var(--doc-muted);
  font-size: 12.5px;
  line-height: 1.7;
}
.doc .product-visual figcaption b { display: block; color: var(--ink); font-size: 13px; }

.doc .photo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 22px;
}
.doc .photo-row figure {
  margin: 0;
  padding: 14px 14px 10px;
  border: 1px solid var(--doc-line);
  border-radius: 0;
  background: var(--doc-soft);
}
.doc .photo-row a { display: block; }
.doc .photo-row img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 180px;
  margin: 0 auto;
}
.doc .photo-row figcaption {
  margin-top: 8px;
  color: var(--doc-muted);
  font-size: 12.5px;
  text-align: center;
}
@media (max-width: 640px) {
  .doc .photo-row { grid-template-columns: 1fr; }
}

/* ---------- 参数条 → KPI 带 ----------
   原来 <b>16px</b> / <span>14px</span> 只差 2px，没有"值大标签小"的对比，
   也没有第三层的口径注解。改成 sample 的 KPI 三段式；用"共边表格"而不是
   独立卡片，更贴文档语言，换行时也不会有孤立边框。 */
.doc .param-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 22px;
  border-top: 1px solid var(--doc-line);
  border-left: 1px solid var(--doc-line);
}
.doc .param-strip li {
  min-width: 0;
  padding: 14px 16px;
  border: 0;
  border-right: 1px solid var(--doc-line);
  border-bottom: 1px solid var(--doc-line);
  border-radius: 0;
  background: none;
  text-align: left;
}
.doc .param-strip b {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
.doc .param-strip span { font-size: 12px; color: var(--doc-muted); }

/* 纸内的按钮收成近乎直角，但保留极小圆角以区别于"内容"（内容一律 0 圆角） */
.doc .btn { border-radius: 2px; }
.doc .btn:hover { transform: none; }
.doc .btn-primary { border-color: var(--doc-blue); background: var(--doc-blue); }
.doc .btn-primary:hover { background: var(--doc-accent-hover); }
.doc .btn-ghost { color: var(--doc-blue); border-color: var(--doc-line); }
.doc .btn-ghost:hover { border-color: var(--doc-blue); }
.doc .article-cta { gap: 10px; }

/* ---------- 正文 ---------- */
.doc .prose.is-sectioned,
.doc .ov30.is-sectioned {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.doc .prose.is-sectioned + .prose.is-sectioned,
.doc .ov30.is-sectioned + .prose.is-sectioned { margin-top: 14px; }
.doc .doc-block {
  margin: 0;
  padding: 18px 22px 16px;
  border: 1px solid var(--doc-line);
  border-radius: 12px;
  background: var(--doc-paper);
  box-shadow: 0 5px 18px rgba(16, 44, 70, .05);
}
.doc .doc-block > :last-child { margin-bottom: 0; }
.doc .prose > h2,
.doc .doc-block > h2 {
  margin: 38px 0 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--doc-line);
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-navy);
  letter-spacing: 0;
}
.doc .prose > h2:first-child,
.doc .doc-block > h2 { margin-top: 0; }
.doc .doc-block .drawing-card,
.doc .doc-block .v27-wiki-figure,
.doc .doc-block .v27-wiki-check,
.doc .doc-block .v27-responsibility,
.doc .doc-block .table-wrap,
.doc .doc-block .ov30-table { border-radius: 8px; }
.doc .doc-block .v27-wiki-figure,
.doc .doc-block .drawing-card { box-shadow: none; }
.doc .prose > h3 { margin: 24px 0 10px; font-size: 16px; }
.doc .prose p { color: var(--text); font-size: 15px; line-height: 1.72; }
.doc .prose li { font-size: 15px; line-height: 1.72; }
.doc .prose ul, .doc .prose ol { padding-left: 1.4em; }
.doc .prose > img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 16px auto;
  border: 1px solid var(--doc-line);
  border-radius: 0;
  background: #fff;
}
.doc .prose a { color: var(--doc-blue); }

/* ---------- 表格 ----------
   注意：MSP 的表头是「项目 | 说明」「类型 | 说明」，第二列是散文，
   所以不能照抄 sample 的"默认右对齐"（那会让说明列贴右难看）。
   这里改为：默认左对齐；数字列用 .num 显式标记右对齐；全表 tabular-nums。 */
.doc .table-wrap {
  margin: 14px 0;
  border: 1px solid var(--doc-line);
  border-radius: 0;
}
.doc .table-wrap table { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.doc .table-wrap th,
.doc .table-wrap td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--doc-line); }
.doc .table-wrap thead th {
  background: var(--doc-soft);
  color: var(--doc-muted);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.doc .table-wrap th.num,
.doc .table-wrap td.num { text-align: right; }
.doc .table-wrap tr:last-child td { border-bottom: 0; }
.doc .table-wrap tr.total td { border-top: 2px solid var(--doc-edge); font-weight: 700; }

/* ---------- 提示块 ---------- */
.doc .callout {
  margin: 14px 0;
  border-color: var(--doc-blue);
  border-radius: 0;
  background: var(--doc-blue-soft);
  font-size: 13.5px;
  line-height: 1.75;
}
/* 横排 callout（原来是 2 处内联 flex 样式） */
.doc .callout.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
}

/* 代码也是文档内容，不使用营销页的深蓝圆角终端。 */
.doc pre.code {
  padding: 16px 18px;
  border: 1px solid var(--doc-line);
  border-radius: 0;
  background: var(--doc-soft);
  color: var(--doc-ink);
  font-size: 13.5px;
}
.doc pre.code .c { color: var(--doc-muted); }
.doc code.mono {
  padding: 1px 5px;
  border: 1px solid var(--doc-line);
  border-radius: 0;
  background: var(--doc-soft);
  color: var(--doc-ink);
  font-size: 13.5px;
}

/* 索引页组件收回报告语汇，避免白纸内再次出现营销卡片和深蓝色块。 */
.doc .cat-grid { gap: 0; border-top: 1px solid var(--doc-line); border-left: 1px solid var(--doc-line); }
.doc .cat-card {
  gap: 14px;
  padding: 18px;
  border: 0;
  border-right: 1px solid var(--doc-line);
  border-bottom: 1px solid var(--doc-line);
  border-radius: 0;
  color: var(--doc-ink);
  box-shadow: none;
}
.doc .cat-card:hover {
  border-color: var(--doc-line);
  background: var(--doc-blue-soft);
  color: var(--doc-ink);
  transform: none;
}
.doc .cat-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 0;
  background: var(--doc-soft);
}
.doc .cat-card h3 { font-size: 16px; }
.doc .cat-card p { color: var(--doc-copy-muted); font-size: 13.5px; }
.doc .cat-card .meta span {
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--doc-blue);
  font-size: 12.5px;
}
.doc .matrix-card {
  padding: 18px;
  border: 1px solid var(--doc-line);
  border-radius: 0;
  background: var(--doc-soft);
  color: var(--text);
}
.doc .matrix-card .matrix-part {
  padding: 13px 14px;
  border: 1px solid var(--doc-line);
  border-radius: 0;
  background: var(--doc-paper);
}
.doc .matrix-card .matrix-part span,
.doc .matrix-card > p { color: var(--doc-copy-muted); }
.doc .matrix-card .matrix-part b { color: var(--doc-ink); font-size: 16px; }
.doc .matrix-card .matrix-part i {
  border: 0;
  border-radius: 0;
  background: var(--doc-blue-soft);
  color: var(--doc-blue);
}
.doc .matrix-card > strong { color: var(--doc-blue); }
.doc .matrix-card .matrix-result {
  border-radius: 0;
  background: var(--doc-blue);
}

/* ---------- 截图卡与接线图 ----------
   原来这两个组件靠 9 处内联 style 写成（圆角 14px / 说明文字色 / 居中），
   已由 _src/migrate_v23.py 收敛成类。 */
.doc .prose .shot {
  margin: 16px 0 20px;
  padding: 14px;
  border: 1px solid var(--doc-line);
  border-radius: 0;
  background: var(--doc-soft);
}
.doc .prose .shot img {
  display: block;
  width: auto;
  max-width: min(100%, 920px);
  height: auto;
  margin: 0 auto;
  border-radius: 0;
}
.doc .prose .shot figcaption {
  margin-top: 10px;
  color: var(--doc-muted);
  font-size: 12.5px;
  line-height: 1.7;
  text-align: center;
}
.doc .prose .wiring {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 16px auto;
  border: 1px solid var(--doc-line);
  border-radius: 0;
  background: #fff;
}

/* "口径 / 边界"声明：放在主张之前，中性色而不是警示色。
   营销语境里 amber 会被读成"出错了"。 */
.doc-scope {
  margin: 0 0 26px;
  padding: 13px 17px;
  border: 1px solid var(--doc-line);
  border-left: 4px solid var(--doc-muted);
  background: var(--doc-soft);
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.75;
}
.doc-scope b { color: var(--ink); }

/* ---------- 适用 / 不适用：严重度色块条 ---------- */
.doc-risk {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  margin: 0 0 10px;
  border: 1px solid var(--doc-line);
}
.doc-risk > .lvl {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 6px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.doc-risk > .lvl.is-ok { color: var(--ok); background: var(--ok-soft); }
.doc-risk > .lvl.is-warn { color: var(--warn); background: var(--warn-soft); }
.doc-risk > .lvl.is-no { color: var(--danger); background: var(--danger-soft); }
.doc-risk > .bd { padding: 12px 16px; font-size: 14px; line-height: 1.75; }
.doc-risk > .bd b { display: block; margin-bottom: 2px; color: var(--ink); }

/* ---------- 步骤：方角编号（sample 的 .actions 装置） ---------- */
.doc .steps li { padding: 11px 0 11px 42px; border-bottom: 1px dashed var(--doc-line); }
.doc .steps li::before { top: 11px; width: 24px; height: 24px; border-radius: 0; font-size: 12.5px; }

/* ---------- 工程图卡 ----------
   改成单列：工程图是"要读数字"的图，两列并排时每张只剩 ~380px 宽，
   1560px 的原图缩到 24%，标注不可辨。单列后可用满 760px。
   缩略图仍只负责"认得出是哪张图"，精确读数走点击原图 / PDF 下载。 */
.doc .drawing-grid { grid-template-columns: 1fr; gap: 14px; }
.doc .drawing-grid.is-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
.doc .drawing-card { border-radius: 0; }
.doc .drawing-card > a:first-child { min-height: 0; padding: 16px; background: var(--doc-soft); }
.doc .drawing-card img,
.doc .drawing-card.tall img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
}
.doc .drawing-card figcaption { border-top: 1px solid var(--doc-line); font-size: 13px; }
.doc .drawing-download { font-weight: 700; }
.doc .drawing-note { font-size: 12.5px; color: var(--doc-muted); line-height: 1.7; }

/* ---------- 三类 MSP 硬件总页：与首页一致的高密度首屏 ---------- */
.doc .hardware-family-page > .article-hero,
.msp-plan .hardware-family-page > .article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 38%);
  column-gap: 38px;
  align-items: start;
}
.doc .hardware-family-page > .article-hero > .hardware-hero-copy,
.msp-plan .hardware-family-page > .article-hero > .hardware-hero-copy {
  min-width: 0;
}
.doc .hardware-family-page > .article-hero .hardware-hero-copy > .param-strip,
.msp-plan .hardware-family-page > .article-hero .hardware-hero-copy > .param-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}
.doc .hardware-family-page > .article-hero > .product-visual,
.msp-plan .hardware-family-page > .article-hero > .product-visual {
  display: block;
  align-self: start;
  width: 100%;
  margin: 0;
}
.doc .hardware-family-page > .article-hero > .product-visual img,
.doc .hardware-family-page > .article-hero > .product-visual.is-wide img,
.msp-plan .hardware-family-page > .article-hero > .product-visual img,
.msp-plan .hardware-family-page > .article-hero > .product-visual.is-wide img {
  max-width: 100%;
  max-height: 430px;
}
.doc .hardware-family-page > .article-hero > .product-visual figcaption,
.msp-plan .hardware-family-page > .article-hero > .product-visual figcaption {
  display: block;
  margin-top: 8px;
  text-align: center;
}
.doc .hardware-family-page .drawing-grid:not(.single),
.msp-plan .hardware-family-page .drawing-grid:not(.single) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
.doc .hardware-family-page .drawing-card img,
.doc .hardware-family-page .drawing-card.tall img,
.msp-plan .hardware-family-page .drawing-card img,
.msp-plan .hardware-family-page .drawing-card.tall img {
  max-height: 520px;
}
.doc .hardware-family-page .table-wrap,
.msp-plan .hardware-family-page .table-wrap {
  width: 100%;
  background: var(--doc-paper);
}
.doc .hardware-family-page .table-wrap th,
.doc .hardware-family-page .table-wrap td,
.msp-plan .hardware-family-page .table-wrap th,
.msp-plan .hardware-family-page .table-wrap td { vertical-align: middle; }
.doc .hardware-family-page .table-wrap table:has(tr > :nth-child(2):last-child) th:first-child,
.doc .hardware-family-page .table-wrap table:has(tr > :nth-child(2):last-child) td:first-child,
.msp-plan .hardware-family-page .table-wrap table:has(tr > :nth-child(2):last-child) th:first-child,
.msp-plan .hardware-family-page .table-wrap table:has(tr > :nth-child(2):last-child) td:first-child {
  width: 168px;
  white-space: nowrap;
}
.doc .hardware-family-page #microstep + p + .table-wrap th:not(:first-child),
.doc .hardware-family-page #microstep + p + .table-wrap td:not(:first-child),
.msp-plan .hardware-family-page #microstep + p + .table-wrap th:not(:first-child),
.msp-plan .hardware-family-page #microstep + p + .table-wrap td:not(:first-child) {
  text-align: center;
}
@media (max-width: 900px) {
  .doc .hardware-family-page > .article-hero,
  .msp-plan .hardware-family-page > .article-hero { display: block; }
  .doc .hardware-family-page > .article-hero > .product-visual,
  .msp-plan .hardware-family-page > .article-hero > .product-visual {
    width: auto;
    max-width: 520px;
    margin: 18px auto 22px;
  }
  .doc .hardware-family-page .drawing-grid:not(.single),
  .msp-plan .hardware-family-page .drawing-grid:not(.single) { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .doc .hardware-family-page > .article-hero > .product-visual img,
  .doc .hardware-family-page > .article-hero > .product-visual.is-wide img,
  .msp-plan .hardware-family-page > .article-hero > .product-visual img,
  .msp-plan .hardware-family-page > .article-hero > .product-visual.is-wide img {
    max-height: 300px;
  }
}

/* ---------- 左栏全书树 / 右栏本页标题（DeepSeek 文档站层级） ---------- */
.doc main .wiki-nav {
  position: sticky;
  top: var(--chrome-h);
  height: calc(100vh - var(--chrome-h));
  max-height: calc(100vh - var(--chrome-h));
  overflow-y: auto;
  padding: 10px 8px 28px;
  border-right: 1px solid var(--doc-line);
  background: var(--doc-soft);
}
.doc main .wiki-toc {
  position: sticky;
  top: var(--chrome-h);
  height: calc(100vh - var(--chrome-h));
  overflow-y: auto;
  padding: 24px 16px 32px 0;
  border-left: 1px solid var(--doc-line);
  background: var(--doc-backdrop);
}
.doc main .wiki-toc[hidden] { display: none; }
.doc main .wiki-toc .wiki-toc-root {
  padding: 0 0 8px 12px;
  margin-bottom: 8px;
  color: var(--doc-muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
}
.doc main .wiki-toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--doc-line); }
.doc main .wiki-toc a {
  display: block;
  padding: 5px 8px 5px 12px;
  color: var(--doc-muted);
  font-size: 13px;
  line-height: 1.45;
}
.doc main .wiki-toc a:hover { color: var(--doc-blue); text-decoration: none; }
.doc main .wiki-toc a.current {
  border-radius: 6px;
  background: var(--doc-blue-soft);
  color: var(--doc-blue);
  font-weight: 600;
  box-shadow: inset 3px 0 var(--doc-blue);
}
.doc main .wiki-toc li.is-h3 a { padding-left: 22px; font-size: 12.5px; }
.doc .wiki-nav-toggle { display: none; }
.doc .wiki-nav-body { display: block; }
.doc .wiki-nav .nav-root { display: none; }
.doc .wiki-nav .nav-group { margin: 0 0 2px; }
.doc .wiki-nav .nav-group.is-alone > a {
  display: block;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--doc-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}
.doc .wiki-nav .nav-group.is-alone > a:hover {
  background: var(--doc-accent-soft);
  color: var(--doc-ink);
  text-decoration: none;
}
.doc .wiki-nav .nav-group.is-alone > a.current {
  background: var(--doc-blue-soft);
  color: var(--doc-blue);
}
.doc .wiki-nav .nav-group > button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 6px 8px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--doc-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}
.doc .wiki-nav .nav-group > button:hover { background: var(--doc-accent-soft); color: var(--doc-ink); }
.doc .wiki-nav .nav-group > button .caret,
.doc .wiki-nav .nav-group > button .arrow {
  display: inline-block;
  flex: none;
  width: 0;
  height: 0;
  margin-left: auto;
  overflow: hidden;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid #8a8a84;
  color: transparent;
  font-size: 0;
  line-height: 0;
  transform: rotate(90deg);
  transform-origin: 40% 50%;
  transition: transform .15s ease;
}
.doc .wiki-nav .nav-group.collapsed > button .caret,
.doc .wiki-nav .nav-group.collapsed > button .arrow,
.doc .wiki-nav .nav-fold.collapsed > button .caret,
.doc .wiki-nav .nav-group.collapsed .nav-caret .caret,
.doc .wiki-nav .nav-fold.collapsed .nav-caret .caret { transform: rotate(0deg); }
.doc .wiki-nav .nav-head {
  display: flex;
  align-items: center;
}
.doc .wiki-nav .nav-head > a {
  display: block;
  flex: 1;
  min-width: 0;
  padding: 6px 8px;
  border-radius: 6px;
  line-height: 1.35;
  text-decoration: none;
}
.doc .wiki-nav .nav-group > .nav-head > a {
  color: var(--doc-ink);
  font-size: 13px;
  font-weight: 700;
}
.doc .wiki-nav .nav-group.is-on > .nav-head > a { color: var(--doc-blue); }
.doc .wiki-nav .nav-group > .nav-head > a:hover {
  background: var(--doc-accent-soft);
  color: var(--doc-ink);
  text-decoration: none;
}
.doc .wiki-nav .nav-group > .nav-head > a.current {
  background: var(--doc-blue-soft);
  color: var(--doc-blue);
  box-shadow: inset 3px 0 var(--doc-blue);
}
.doc .wiki-nav .nav-caret {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 44px;
  min-height: 32px;
  margin-left: auto;
  padding: 6px 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.doc .wiki-nav .nav-caret .caret,
.doc .wiki-nav .nav-caret .arrow {
  display: inline-block;
  width: 0;
  height: 0;
  margin: 0;
  overflow: hidden;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid #8a8a84;
  transform: rotate(90deg);
  transform-origin: 40% 50%;
  transition: transform .15s ease;
}
/* 左栏三档：组名 8 / 叶子 29 / 电机规格 50。三角一律在本行最右。 */
.doc .wiki-nav .nav-fold > .nav-head { padding-left: 0; }
.doc .wiki-nav .nav-fold > .nav-head > .nav-caret { width: 44px; padding: 0; }
.doc .wiki-nav .nav-fold > .nav-head > a {
  padding: 5px 8px 5px 29px;
  color: var(--doc-copy-muted);
  font-size: 13px;
  font-weight: 400;
}
.doc .wiki-nav .nav-fold > .nav-head > a:hover {
  background: var(--doc-accent-soft);
  color: var(--doc-ink);
  text-decoration: none;
}
.doc .wiki-nav .nav-fold.is-on > .nav-head > a {
  color: var(--doc-blue);
  font-weight: 400;
}
.doc .wiki-nav .nav-fold > .nav-head > a.current {
  background: var(--doc-blue-soft);
  color: var(--doc-blue);
  font-weight: 600;
  box-shadow: inset 3px 0 var(--doc-blue);
}
.doc .wiki-nav .nav-rule {
  display: block;
  margin: 12px 21px 2px 29px;
  padding: 0;
  color: var(--doc-muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
  pointer-events: none;
  user-select: none;
}
.doc .wiki-nav .items > li:first-child > .nav-rule { margin-top: 4px; }
.doc .wiki-nav .nav-group .items,
.doc .wiki-nav .nav-fold > .items {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  border: 0;
}
.doc .wiki-nav .nav-group.collapsed > .items,
.doc .wiki-nav .nav-fold.collapsed > .items { display: none; }
.doc .wiki-nav .nav-fold > button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 5px 8px 5px 29px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--doc-copy-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
}
.doc .wiki-nav .nav-fold > button:hover { background: var(--doc-accent-soft); color: var(--doc-ink); }
.doc .wiki-nav .nav-fold.is-on > button { color: var(--doc-blue); }
.doc .wiki-nav .nav-fold > button .caret {
  display: inline-block;
  flex: none;
  width: 0;
  height: 0;
  margin-left: auto;
  overflow: hidden;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid #8a8a84;
  transform: rotate(90deg);
  transform-origin: 40% 50%;
  transition: transform .15s ease;
}
.doc .wiki-nav .nav-fold .nav-fold > button {
  padding-left: 50px;
  color: var(--doc-muted);
  font-size: 12.5px;
  font-weight: 400;
}
.doc .wiki-nav .nav-fold .nav-fold.is-on > button { color: var(--doc-blue); font-weight: 400; }
.doc .wiki-nav .nav-fold > .items > li > a {
  padding: 5px 21px 5px 50px;
  font-size: 12.5px;
}
.doc .wiki-nav .nav-fold .nav-fold > .items > li > a { padding-left: 71px; font-size: 12.5px; }
.doc .wiki-nav .items > li > a {
  display: block;
  padding: 5px 21px 5px 29px;
  border-radius: 6px;
  color: var(--doc-copy-muted);
  font-size: 13px;
  font-weight: 400;
}
.doc .wiki-nav .items > li > a:hover {
  background: var(--doc-accent-soft);
  color: var(--doc-ink);
  text-decoration: none;
}
.doc .wiki-nav .items > li > a.current {
  margin: 0;
  border: 0;
  box-shadow: inset 3px 0 var(--doc-blue);
  background: var(--doc-blue-soft);
  color: var(--doc-blue);
  font-weight: 600;
}
.doc .wiki-nav .items .nav-off {
  display: block;
  padding: 5px 21px 5px 29px;
  color: var(--doc-muted);
  font-size: 13px;
}
.doc .wiki-nav .sub-items {
  list-style: none;
  margin: 0 0 2px;
  padding: 0;
  border: 0;
}
.doc .wiki-nav .sub-items a {
  padding: 4px 21px 4px 50px;
  font-size: 12.5px;
}
.doc .wiki-nav .items li.has-sub > a.current { background: var(--doc-blue-soft); }
.doc .wiki-nav .sub-items { margin: 0; padding: 0; border: 0; }
.doc .wiki-nav .sub-items a { padding: 4px 21px 4px 50px; border-radius: 6px; font-size: 12.5px; }
.doc .wiki-nav-body > a.nav-link {
  display: block;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--doc-copy-muted);
  font-size: 13px;
  font-weight: 400;
}
.doc .wiki-nav-body > a.nav-link:hover { background: var(--doc-accent-soft); color: var(--doc-ink); }

/* ---------- 目录型入口页：与产品正文共用同一套报告刊头 ---------- */
.doc .page-hero {
  margin: 0 0 30px;
  padding: 0 0 22px;
  border-bottom: 4px solid var(--doc-blue);
  background: none;
  color: var(--doc-ink);
}
.doc .page-hero h1 {
  margin: 0 0 10px;
  color: var(--doc-ink);
  font-size: 30px;
  line-height: 1.32;
  letter-spacing: .02em;
}
.doc .page-hero p {
  max-width: none;
  color: var(--doc-copy-muted);
  font-size: 15px;
  line-height: 1.72;
}
.doc .page-hero .section-kicker {
  margin-bottom: 12px;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--doc-muted);
  font-size: 12.5px;
  letter-spacing: .1em;
}
.doc .section { padding: 24px 0 0; }

/* ---------- MSP 快速入门：会聚焦的软硬件导图 ---------- */
.doc .wiki-map-title {
  margin: 0 0 18px;
  color: var(--doc-ink);
  font-size: 30px;
  font-weight: 650;
}
.doc .wiki-map-focus {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 20px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--doc-line);
}
.doc .wiki-map-focus__copy {
  min-width: 0;
}
.doc .wiki-map-focus__copy b {
  display: block;
  margin: 0 0 4px;
  color: var(--doc-ink);
  font-size: 15px;
}
.doc .wiki-map-focus__copy p {
  margin: 0;
  color: var(--doc-copy-muted);
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-line;
}
.doc .wiki-map-focus__visual {
  margin: 10px 0 0;
  max-width: 360px;
}
.doc .wiki-map-focus__visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--doc-line);
}
.doc .wiki-map-focus__actions {
  display: flex;
  flex: none;
  gap: 8px;
}
.doc .wiki-map-focus__actions .btn {
  padding: 8px 14px;
  font-size: 13px;
}
.doc .wiki-map-foot {
  margin: 14px 0 0;
  color: var(--doc-muted);
  font-size: 12.5px;
}
.doc .wiki-map-stage {
  min-width: 0;
  overflow-x: auto;
  padding: 4px 0 16px;
  border: 0;
  background: none;
}
.doc .wiki-map {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-width: max-content;
  padding: 8px 0 4px;
}
.doc .wiki-map__links {
  position: absolute;
  top: 0;
  left: 0;
  overflow: visible;
  pointer-events: none;
}
.doc .wiki-map__row {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.doc .wiki-map__root,
.doc .wiki-map__btn,
.doc .wiki-map__change {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 142px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--doc-line);
  border-radius: 2px;
  background: #fff;
  color: var(--doc-ink);
  font-family: inherit;
  line-height: 1.25;
  text-align: left;
}
.doc .wiki-map__btn { cursor: pointer; }
.doc .wiki-map__btn:hover {
  border-color: var(--doc-blue);
  color: var(--doc-blue);
}
.doc .wiki-map__label {
  cursor: default;
}
.doc .wiki-map__btn.wiki-map__label:hover {
  border-color: var(--doc-line);
  color: var(--doc-ink);
}
.doc .wiki-map__row.is-axis > .wiki-map__btn.wiki-map__label:hover {
  border-color: #c8c4c0;
  color: var(--doc-blue);
}
.doc .wiki-map__btn:disabled {
  cursor: default;
  opacity: 1;
}
.doc .wiki-map__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.doc .wiki-map__copy b {
  color: inherit;
  font-size: 13.5px;
  font-weight: 650;
}
.doc .wiki-map__copy small {
  color: var(--doc-muted);
  font-size: 11.5px;
  font-weight: 400;
}
.doc .wiki-map__mark {
  flex: none;
  width: 18px;
  height: 18px;
  border: 1px solid #cecec8;
  border-radius: 50%;
  color: var(--doc-blue);
  font-size: 0;
  line-height: 16px;
  text-align: center;
}
.doc .wiki-map__mark::before {
  font-size: 13px;
  content: "+";
}
.doc .wiki-map__row.is-open .wiki-map__btn .wiki-map__mark::before {
  content: "\2212";
}
.doc .wiki-map__root {
  flex-direction: column;
  align-items: flex-start;
  min-width: 112px;
  min-height: 64px;
  border-color: var(--doc-blue);
  background: var(--doc-blue);
  color: #fff;
  cursor: pointer;
}
.doc .wiki-map__root b {
  font-size: 20px;
  letter-spacing: .04em;
}
.doc .wiki-map__root small {
  max-width: 168px;
  color: #d8e0e6;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.45;
  white-space: normal;
}
.doc .wiki-map__root.is-selected {
  outline: 2px solid var(--doc-blue);
  outline-offset: 2px;
}
.doc .wiki-map__row.is-axis > .wiki-map__btn {
  min-width: 152px;
  border-color: #c8c4c0;
  background: var(--doc-blue-soft);
  color: var(--doc-blue);
}
.doc .wiki-map__btn.is-selected {
  border-color: var(--doc-blue);
  background: var(--doc-blue-soft);
  color: var(--doc-blue);
}
.doc .wiki-map__btn.is-selected::before {
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -1px;
  width: 3px;
  background: var(--doc-blue);
  content: "";
}
.doc .wiki-map__btn.is-ask {
  border-style: dashed;
  background: var(--doc-soft);
  color: var(--doc-muted);
}
.doc .wiki-map__change {
  min-width: 0;
  min-height: 30px;
  padding: 5px 8px;
  border-style: dashed;
  background: var(--doc-soft);
  color: var(--doc-muted);
  font-size: 11.5px;
  cursor: pointer;
}
.doc .wiki-map__change:hover {
  border-color: var(--doc-blue);
  color: var(--doc-blue);
}
.doc .wiki-map__kids {
  display: none;
  position: relative;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  margin: 0 0 0 18px;
  padding: 4px 0 4px 18px;
}
.doc .wiki-map__stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.doc .wiki-map__row.is-open > .wiki-map__kids { display: flex; }
.doc .wiki-map__row.is-open > .wiki-map__kids.is-note-kids { display: none; }
.doc .wiki-map__row.is-selected > .wiki-map__kids.is-note-kids { display: flex; }
.doc .wiki-map__row.is-selected {
  align-items: flex-start;
}
.doc .wiki-map__row.is-selected > .wiki-map__btn {
  margin-top: 18px;
}
.doc .wiki-map__row.is-conditions > .wiki-map__btn {
  background: var(--doc-soft);
}
.doc .wiki-map__sheet {
  position: relative;
  z-index: 1;
  width: 400px;
  margin: 0;
  padding: 18px 22px 20px;
  border: 1px solid var(--doc-edge);
  border-radius: 2px;
  border-left: 4px solid var(--doc-blue);
  background: var(--doc-blue-soft);
  color: var(--doc-copy-muted);
}
.doc .wiki-map__sheet-head span {
  display: block;
  color: var(--doc-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
.doc .wiki-map__sheet-head h2 {
  margin: 4px 0 0;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--doc-line);
  color: var(--doc-ink);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.3;
}
.doc .wiki-map__lead {
  margin: 14px 0 0;
  color: var(--doc-ink);
  font-size: 15px;
  line-height: 1.72;
}
.doc .wiki-map__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin: 16px 0 0;
}
.doc .wiki-map__stats.is-3 { grid-template-columns: 1fr 1fr 1fr; }
.doc .wiki-map__stats div:last-child { text-align: right; }
.doc .wiki-map__stats span {
  display: block;
  color: var(--doc-blue);
  font-size: 11.5px;
  letter-spacing: .06em;
}
.doc .wiki-map__stats b {
  display: block;
  margin-top: 2px;
  color: var(--doc-ink);
  font-size: 20px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
  line-height: 1.2;
}
.doc .wiki-map__caps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.doc .wiki-map__caps li {
  color: var(--doc-ink);
  font-size: 13px;
}
.doc .wiki-map__caps li:nth-child(even) {
  margin-left: 12px;
  color: var(--doc-copy-muted);
}
.doc .wiki-map__more {
  display: inline-block;
  margin-top: 16px;
  color: var(--doc-blue);
  font-size: 13px;
}
.doc .wiki-map__more:hover { text-decoration: underline; }
.doc .wiki-map__sheet.is-plain .wiki-map__stats {
  grid-template-columns: 1fr;
}

/* 快速入门：纵向三步选择，避免脑图连线与表单语义混杂。 */
.doc .wiki-guide__section {
  padding: 0 0 22px;
  margin: 0 0 22px;
  border-bottom: 1px solid var(--doc-line);
}
.doc .wiki-guide__section--optional {
  padding-bottom: 8px;
}
.doc .wiki-guide__section-head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  margin: 0 0 16px;
}
.doc .wiki-guide__section-head > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--doc-blue);
  border-radius: 50%;
  color: var(--doc-blue);
  font-size: 12px;
  font-weight: 700;
}
.doc .wiki-guide__section-head h2 {
  margin: 0 0 2px;
  border: 0;
  color: var(--doc-ink);
  font-size: 18px;
  line-height: 1.4;
}
.doc .wiki-guide__section-head p {
  margin: 0;
  color: var(--doc-muted);
  font-size: 12.5px;
}
.doc .wiki-guide__grid {
  display: grid;
  gap: 10px;
}
.doc .wiki-guide__grid--soft {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.doc .wiki-guide__grid--hard {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.doc .wiki-guide__grid--conditions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
}
.doc .wiki-guide__grid.is-focus,
.doc .wiki-guide__chips.is-focus {
  grid-template-columns: minmax(0, 280px);
}
.doc .wiki-guide__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid var(--doc-line);
  border-radius: 2px;
  background: #fff;
  color: var(--doc-ink);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.doc .wiki-guide__card:hover {
  border-color: var(--doc-blue);
}
.doc .wiki-guide__card.is-selected {
  border-color: var(--doc-blue);
  background: var(--doc-blue-soft);
  color: var(--doc-blue);
}
.doc .wiki-guide__card.is-selected::before {
  position: absolute;
  inset: -1px auto -1px -1px;
  width: 3px;
  background: var(--doc-blue);
  content: "";
}
.doc .wiki-guide__card.is-ask {
  border-style: dashed;
  background: var(--doc-soft);
}
.doc .wiki-guide__card:disabled {
  border-color: var(--doc-line);
  background: var(--doc-soft);
  color: #8a8a84;
  cursor: not-allowed;
}
.doc .wiki-guide__card b {
  font-size: 13.5px;
  line-height: 1.4;
}
.doc .wiki-guide__card small {
  margin-top: 3px;
  color: var(--doc-muted);
  font-size: 11.5px;
  line-height: 1.4;
}
.doc .wiki-guide__detail {
  margin: 12px 0 0;
  padding: 10px 0 0;
  border: 0;
  border-top: 1px solid var(--doc-line);
  background: none;
}
.doc .wiki-guide__detail.is-active {
  border-left: 0;
}
.doc .wiki-guide__detail > b {
  display: block;
  margin-bottom: 3px;
  color: var(--doc-ink);
  font-size: 12.5px;
}
.doc .wiki-guide__detail p {
  margin: 0;
  color: var(--doc-muted);
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-line;
}
.doc .wiki-guide__toggle {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.doc .wiki-guide__toggle b {
  color: var(--doc-ink);
  font-size: 15px;
}
.doc .wiki-guide__toggle span {
  color: var(--doc-muted);
  font-size: 12px;
}
.doc .wiki-guide__toggle.is-open b::after {
  content: " －";
  color: var(--doc-blue);
  font-weight: 400;
}
.doc .wiki-guide__toggle:not(.is-open) b::after {
  content: " ＋";
  color: var(--doc-blue);
  font-weight: 400;
}
.doc .wiki-guide__subhead {
  display: block;
  margin: 13px 0 7px;
  color: var(--doc-ink);
  font-size: 12.5px;
}
.doc .wiki-guide__chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.doc .wiki-guide__chips--short {
  grid-template-columns: repeat(2, minmax(0, 140px));
}
.doc .wiki-guide__chips .wiki-guide__card {
  min-height: 48px;
  padding: 7px 9px;
}
.doc .wiki-guide__condition-tip {
  margin: 9px 0 0;
  color: var(--doc-muted);
  font-size: 12px;
}
.doc .wiki-guide__help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 0 0;
  border: 0;
  background: none;
}
.doc .wiki-guide__help b {
  color: var(--doc-ink);
  font-size: 13px;
}
.doc .wiki-guide__help p {
  margin: 2px 0 0;
  color: var(--doc-muted);
  font-size: 12px;
}
.doc .wiki-guide__help .btn {
  flex: none;
  padding: 8px 14px;
  font-size: 12.5px;
}
.doc .wiki-map-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 22px;
  min-height: 0;
  padding: 10px 0 16px;
  border: 0;
  border-bottom: 1px solid var(--doc-line);
  background: none;
}
.doc .wiki-map-result__copy {
  min-width: 0;
}
.doc .wiki-map-result__copy b {
  display: block;
  color: var(--doc-muted);
  font-size: 12px;
  font-weight: 600;
}
.doc .wiki-map-result__copy code {
  display: block;
  color: var(--doc-ink);
  font-family: ui-monospace, "Cascadia Mono", "Sarasa Mono SC", Consolas, monospace;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .01em;
}
.doc .wiki-map-result__copy span {
  display: block;
  margin-top: 2px;
  color: var(--doc-muted);
  font-size: 12px;
}
.doc .wiki-map-result .btn {
  flex: none;
  min-width: 120px;
  padding: 8px 14px;
  font-size: 13px;
}
.doc .wiki-map-result .btn:disabled {
  border-color: var(--doc-line);
  background: var(--doc-soft);
  color: #8a8a84;
  cursor: not-allowed;
}

/* ---------- 文档页的响应式 ---------- */
@media (max-width: 1280px) {
  .doc main .wiki-layout { grid-template-columns: 240px minmax(0, 1fr); }
  .doc main .wiki-toc { display: none; }
}

@media (max-width: 960px) {
  .doc main .wiki-layout {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    background: var(--doc-paper);
  }
  .doc main .wiki-toc { display: none; }
  /* 移动目录默认只留一行当前页，用户主动展开时才显示树。 */
  .doc main .wiki-nav {
    position: static;
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--doc-line);
    background: var(--doc-soft);
  }
  .doc .wiki-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 12px 16px;
    border: 0;
    background: none;
    color: var(--doc-ink);
    text-align: left;
  }
  .doc .wiki-nav-toggle span { color: var(--doc-muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
  .doc .wiki-nav-toggle b { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
  .doc .wiki-nav-toggle::after { content: "＋"; flex: none; color: var(--doc-blue); font-size: 18px; font-weight: 400; }
  .doc .wiki-nav.is-open .wiki-nav-toggle::after { content: "－"; }
  .doc .wiki-nav-body {
    display: none;
    max-height: min(54vh, 420px);
    overflow-y: auto;
    padding: 4px 16px 14px;
    border-top: 1px solid var(--doc-line);
  }
  .doc .wiki-nav.is-open .wiki-nav-body { display: block; }
  .doc main .doc-paper { padding: 24px 22px 32px; min-height: 0; }
  .doc .article-main:has(.wiki-map) { min-height: 0; }
  .doc .wiki-map-stage { min-height: 0; overflow-x: auto; }
  .doc .wiki-map { min-height: 0; padding: 0; }
  .doc .wiki-guide__grid--soft,
  .doc .wiki-guide__grid--hard,
  .doc .wiki-guide__grid--conditions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc .wiki-guide__chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .doc .wiki-map__sheet { width: min(400px, calc(100vw - 48px)); }
  .doc .wiki-map__stats { grid-template-columns: 1fr 1fr; }
  .doc .wiki-map__stats div:last-child { text-align: left; }
  .doc .article-hero h1 { font-size: 24px; }
  .doc .param-strip { grid-template-columns: 1fr 1fr; }
  .doc .param-strip b { font-size: 19px; }
  .doc-risk { grid-template-columns: 76px minmax(0, 1fr); }
}

@media (max-width: 680px) {
  .doc .product-visual img { max-height: 240px; }
  .doc .product-visual.is-diagram img { max-height: 260px; }
  .doc .product-visual.is-wide img { max-width: 100%; max-height: 360px; }
  .doc .photo-row img { max-height: 200px; }
  .doc .drawing-card img,
  .doc .drawing-card.tall img { max-height: 280px; }
  .doc main .wiki-layout { margin-bottom: 0; }
  .doc main .doc-paper { padding: 20px 16px 28px; }
  .doc .article-hero h1 { font-size: 21px; }
  .doc .page-hero h1 { font-size: 21px; }
  .doc .wiki-map__btn,
  .doc .wiki-map__leaf { font-size: 13px; min-height: 34px; padding: 6px 12px; }
  .doc .wiki-map-head h1 { font-size: 21px; }
  .doc .wiki-map-head p { font-size: 12.5px; }
  .doc .wiki-map-title { font-size: 21px; }
  .doc .wiki-map-stage { min-height: 0; overflow-x: auto; }
  .doc .wiki-map-stage::before {
    display: block; position: sticky; left: 0; z-index: 2; width: max-content;
    margin: 0 0 8px; padding: 3px 7px; border: 1px solid var(--doc-line);
    background: var(--doc-soft); color: var(--doc-muted); font-size: 11.5px;
    content: "左右滑动查看完整思维图";
  }
  .doc .wiki-map-result { min-height: 0; align-items: flex-start; flex-direction: column; }
  .doc .wiki-map-result .btn { width: 100%; }
  .doc .wiki-map-focus { align-items: flex-start; flex-direction: column; }
  .doc .wiki-map-focus__actions { width: 100%; }
  .doc .wiki-map-focus__actions .btn { flex: 1; }
  .doc .wiki-map-focus__visual { max-width: none; }
  .doc .wiki-map { min-height: 0; padding: 0; }
  .doc .wiki-guide__section { margin-bottom: 20px; padding-bottom: 18px; }
  .doc .wiki-guide__grid--soft,
  .doc .wiki-guide__grid--hard,
  .doc .wiki-guide__grid--conditions { grid-template-columns: 1fr; }
  .doc .wiki-guide__chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc .wiki-guide__chips--short { grid-template-columns: 1fr 1fr; }
  .doc .wiki-guide__toggle { align-items: flex-start; flex-direction: column; gap: 4px; }
  .doc .wiki-guide__help { align-items: flex-start; flex-direction: column; }
  .doc .wiki-guide__help .btn { width: 100%; }
  .doc .wiki-map-title { font-size: 21px; }
  .doc .wiki-map__sheet { width: min(400px, calc(100vw - 36px)); }
  .doc .wiki-map__caps li:nth-child(even) { margin-left: 0; }
  .doc .wiki-map__root { min-width: 96px; }
  .doc .wiki-map__root b { font-size: 18px; }
  .doc .wiki-map__root small { max-width: 72px; }
  .doc .wiki-map__root,
  .doc .wiki-map__btn { min-width: 132px; }
  .doc .prose > h2,
  .doc .doc-block > h2 { font-size: 18px; }
  .doc .prose > h2 { margin-top: 30px; }
  .doc .doc-block > h2 { margin-top: 0; }
  .doc .cat-grid { grid-template-columns: 1fr; }
  .doc .cat-card img { width: 76px; height: 76px; object-fit: contain; }
  .doc-risk { grid-template-columns: 1fr; }
  .doc-risk > .lvl { justify-content: flex-start; padding: 8px 16px; }
}

/* ---------- 打印：让表头跨页重复，并避免标题被切开 ---------- */
@media print {
  .doc { background: #fff; }
  .doc-paper, .doc main .doc-paper { padding: 0; border: 0; background: #fff; }
  .doc .doc-block { border-radius: 0; box-shadow: none; break-inside: auto; }
  .doc main .wiki-layout { display: block; padding: 0; }
  .doc main .wiki-nav,
  .doc main .wiki-toc { display: none; }
  .doc .table-wrap thead { display: table-header-group; }
  .doc .prose > h2 { break-after: avoid; }
  .doc .wiki-map-stage { height: auto; max-height: none; overflow: visible; }
  .doc .wiki-map { overflow: visible; }
  .doc .wiki-map__row > .wiki-map__kids { display: flex; }
  .doc-scope, .doc-risk, .doc .param-strip, .doc .drawing-card, .doc .table-wrap, .doc .callout { break-inside: avoid; }
  .doc img,
  .doc .product-visual img,
  .doc .photo-row img,
  .doc .prose .wiring,
  .doc .drawing-card img,
  .doc .drawing-card.tall img {
    width: auto;
    max-width: 100%;
    height: auto;
  }
}

/* v24：表格下方注释（manual.parts sensor/liner 合并带入） */
.table-note { margin:8px 0 16px; color:var(--muted); font-size:13px; }
.doc .table-note { font-size: 12.5px; color: var(--doc-muted); line-height: 1.7; }

/* ============================================================
   v27 首页基础样式（v30 章节顺序：Hero → 架构 → 硬件 → 软件 → 级联 → 配件 → FAQ → 配货）
   ============================================================ */
.v27-home { color: var(--ink); background: #fff; }
.v27-home main { overflow: hidden; }
/* 首页这条会压过配货台主栏，英文文案更高时刹车和减速机会被裁掉。 */
.v27-home .msp-dock__main { overflow-x: hidden; overflow-y: auto; }
.v27-home .site-header { position: relative; z-index: 40; }
.v30-home.has-msp-dock .header-inner { height: 64px; }
.v30-home .site-chrome { transition: transform .22s ease; }
.v30-home.is-chrome-away .site-chrome { transform: translateY(-100%); }
.v30-chrome-summon {
  display: none; position: fixed; z-index: 90; top: 0; right: 0; left: 0;
  height: 8px; padding: 0; border: 0; background: transparent; color: transparent; cursor: pointer;
}
.v30-home.is-chrome-away .v30-chrome-summon { display: block; }
.v27-home .v27-section,
.v27-home .v27-cta { scroll-margin-top: 104px; }
.v27-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--brand-navy);
  background:
    radial-gradient(circle at 78% 48%, rgba(20, 125, 131, .16), transparent 28%),
    linear-gradient(90deg, #f8fbfc 0 52%, var(--brand-accent-soft) 100%);
}
.v27-hero::before { display: none; }
.v27-hero__inner {
  position: relative;
  z-index: 1;
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  align-items: center; gap: clamp(18px, 3vw, 36px);
  max-width: var(--maxw);
  min-height: 680px;
  padding-top: 48px; padding-bottom: 48px;
}
.v27-kicker {
  margin: 0 0 14px; color: #8b9aa4; font-size: 18px; font-weight: 700;
  letter-spacing: .06em;
}
.v27-kicker span { color: var(--brand-accent); font-weight: 800; }
.v27-hero h1 { margin: 0; color: var(--brand-navy); font-size: clamp(48px, 5vw, 72px); line-height: .98; letter-spacing: -.04em; white-space: nowrap; }
.v27-hero h1 > span { display: block; }
.v27-hero h1 em {
  display: block; margin-top: 12px; color: var(--brand-accent-hover);
  font-size: clamp(24px, 2.35vw, 32px); font-style: normal; line-height: 1.16;
  letter-spacing: 0; white-space: nowrap;
}
html[lang="en"] .v27-hero h1 em { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; }
.v27-hero__lead { margin: 18px 0 0; color: var(--brand-navy); font-size: clamp(20px, 2vw, 24px); font-weight: 700; }
.v27-hero__facts { display: grid; gap: 0; margin: 22px 0 0; padding: 0; list-style: none; color: var(--brand-navy); font-size: 15px; }
.v27-hero__facts li { padding: 9px 0; border-bottom: 1px solid rgba(20, 125, 131, .16); }
.v27-hero__facts li::before { display: none; }
.v27-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 28px 0 0; }
.v27-actions .btn { min-width: 132px; }
.v27-hero .btn-primary { border-color: var(--brand-accent); border-radius: 999px; background: var(--brand-accent); }
.v27-hero .btn-primary:hover { border-color: var(--brand-accent-hover); background: var(--brand-accent-hover); }
.v27-actions .btn-ghost { border-color: transparent; color: var(--brand-accent-hover); background: transparent; }
.v27-actions .btn-ghost:hover { border-color: transparent; color: var(--brand-accent); background: transparent; }
.v27-hero__visual { display: flex; justify-content: center; width: 100%; margin: 0; }
.v27-hero__visual img {
  display: block;
  width: auto;
  height: min(68vh, 660px);
  max-width: 100%;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 28px 34px rgba(16, 44, 70, .2));
}

.v27-section { padding: 66px 0; }
.v27-section--soft { background: var(--backdrop); }
.v27-section__head { max-width: none; margin: 0 0 24px; text-align: left; }
.v27-section__head small { display: block; margin-bottom: 10px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .15em; }
.v27-section__head h2 { margin: 0; color: var(--ink); font-size: clamp(30px, 3.8vw, 46px); line-height: 1.18; }
.v27-section__head p { margin: 15px 0 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.v27-system-map,
.v27-topology { margin: 0; border: 1px solid var(--line); background: #fff; }
.v27-system-map a,
.v27-route figure a,
.v27-topology__panel > a,
.v27-software figure a { display: block; cursor: zoom-in; }
.v27-system-map img,
.v27-route img,
.v27-topology__panel img,
.v27-software img { display: block; width: 100%; height: auto; }
.v27-system-map figcaption,
.v27-topology__panel figcaption,
.v27-software figcaption { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.6; }
.v27-system-map figcaption b { color: var(--ink); }

.v27-routes { display: grid; gap: 24px; }
.v27-route {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
  align-items: center; overflow: hidden; border: 1px solid var(--line); background: #fff;
}
.v27-route:nth-child(even) figure { order: 2; }
.v27-route figure { margin: 0; border-right: 1px solid var(--line); }
.v27-route:nth-child(even) figure { border-right: 0; border-left: 1px solid var(--line); }
.v27-route__copy { padding: clamp(22px, 2.5vw, 30px); }
.v27-route__copy > small { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.v27-route__copy h3 { margin: 8px 0 12px; color: var(--ink); font-size: clamp(22px, 2.5vw, 30px); line-height: 1.3; }
.v27-route__copy > p { margin: 0; color: var(--muted); line-height: 1.75; }
.v27-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.v27-tags li { padding: 6px 10px; border: 1px solid #ccd3d8; background: #f6f7f8; color: #3c4a55; font-size: 12px; font-weight: 700; }
.v27-route__links { display: flex; align-items: center; gap: 18px; margin-top: 22px !important; }
.v27-route__links a,
.v27-route__links button {
  padding: 0; border: 0; background: none; color: var(--accent); font: inherit;
  font-size: 14px; font-weight: 800; cursor: pointer;
}
.v27-route__links a::after { content: " →"; }
.v27-route__links button { color: var(--muted); }
.v27-route__links a:hover,
.v27-route__links button:hover { text-decoration: underline; }

.v27-topology__tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.v27-topology__tabs button {
  min-height: 50px; padding: 10px; border: 0; border-right: 1px solid var(--line);
  background: #f3f5f6; color: #5c6d78; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer;
}
.v27-topology__tabs button:hover { color: var(--brand-accent); }
.v27-topology__tabs button:last-child { border-right: 0; }
.v27-topology__tabs button[aria-selected="true"] { color: #fff; background: var(--brand-accent); }
.v27-topology__tabs button:focus-visible { position: relative; z-index: 1; outline: 3px solid #67aeb1; outline-offset: -3px; }
.v27-topology__panel { margin: 0; }
.v27-topology__panel[hidden] { display: none; }

.v27-software { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; }
.v27-software__tabs { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-bottom: 0; }
.v27-software__tabs button {
  min-height: 50px; padding: 10px; border: 0; border-right: 1px solid var(--line);
  background: #f3f5f6; color: var(--muted); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer;
}
.v27-software__tabs button:last-child { border-right: 0; }
.v27-software__tabs button[aria-selected="true"] { color: #fff; background: var(--brand-navy); }
.v27-software__tabs button:focus-visible { position: relative; z-index: 1; outline: 3px solid #67aeb1; outline-offset: -3px; }
.v27-software figure,
.v27-software__copy { margin: 0; border: 1px solid var(--line); background: #fff; }
.v27-software__panel[hidden] { display: none; }
.v27-software__copy { grid-column: auto; padding: 28px; border-top: 0; }
.v27-software__copy h3 { margin: 0 0 8px; font-size: 24px; }
.v27-software__copy p { margin: 0; color: var(--muted); line-height: 1.75; }
.v27-software__copy nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.v27-software__copy nav a { padding: 7px 11px; border: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 700; }
.v27-parts-hook__links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; }
.v27-parts-hook__links a { color: var(--brand-accent); font-weight: 800; }
.v27-parts-hook__links a::after { content: " →"; }

.v27-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 980px; margin: 0 auto; }
.v27-faq details { border: 1px solid var(--line); background: #fff; }
.v27-faq summary { padding: 18px 20px; color: var(--ink); font-size: 15px; font-weight: 800; cursor: pointer; }
.v27-faq details p { margin: 0; padding: 0 20px 20px; color: var(--muted); font-size: 14px; line-height: 1.75; }

.v27-cta { padding: 64px 0; color: #fff; background: var(--gradient-brand); text-align: center; }
.v27-cta h2 { margin: 0; color: #fff; font-size: clamp(28px, 4vw, 42px); }
.v27-cta > .wrap > p { max-width: 720px; margin: 14px auto 0; color: #cbd5db; line-height: 1.75; }
.v27-exits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 920px; margin: 28px auto 0; }
.v27-exits a,
.v27-exits button {
  display: block; padding: 20px; border: 1px solid rgba(255,255,255,.23);
  background: rgba(255,255,255,.06); color: #fff; text-align: left; font: inherit; cursor: pointer;
}
.v27-exits a:hover,
.v27-exits button:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.1); text-decoration: none; }
.v27-exits b,
.v27-exits span { display: block; }
.v27-exits b { font-size: 16px; }
.v27-exits span { margin-top: 5px; color: #c5d0d6; font-size: 12px; }

@media (max-width: 960px) {
  .v27-route { grid-template-columns: 1fr; }
  .v27-route:nth-child(even) figure { order: 0; }
  .v27-route figure,
  .v27-route:nth-child(even) figure { border: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .v27-hero__inner { grid-template-columns: 1fr; min-height: 0; padding-top: 36px; padding-bottom: 28px; }
  .v27-hero h1 { font-size: clamp(42px, 12vw, 56px); }
  .v27-hero__visual { width: 100%; margin: 8px auto 0; }
  .v27-hero__visual img { height: min(560px, 92vw); }
}
@media (max-width: 700px) {
  .v27-hero__inner { padding-bottom: 24px; }
  .v27-hero__visual { width: 100%; }
  .v27-hero__visual img { height: min(480px, 110vw); }
  .v27-section { padding: 48px 0; }
  .v27-section__head { margin-bottom: 24px; text-align: left; }
  .v27-section__head p { font-size: 15px; }
  .v27-topology__tabs { grid-template-columns: repeat(2, 1fr); }
  .v27-topology__tabs button:nth-child(2) { border-right: 0; }
  .v27-topology__tabs button:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .v27-software,
  .v27-faq,
  .v27-exits { grid-template-columns: 1fr; }
  .v27-route__copy { padding: 24px 20px; }
  .v27-route__links { align-items: flex-start; flex-direction: column; gap: 10px; }
  .v27-software__copy { grid-column: auto; padding: 22px 20px; }
}
@media (max-width: 480px) {
  .v27-hero h1 em,
  html[lang="en"] .v27-hero h1 em { font-size: clamp(17px, 5vw, 22px); }
}
@media (prefers-reduced-motion: reduce) {
  .v27-home *, .v27-home *::before, .v27-home *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
@media print {
  .v27-home .site-header,
  .v27-home footer,
  .v27-actions,
  .v27-route__links,
  .v27-cta { display: none !important; }
  .v27-hero { color: #000; background: #fff; }
  .v27-hero::before { display: none; }
  .v27-hero__inner { min-height: 0; padding: 20px 0; }
  .v27-hero h1,
  .v27-hero h1 em,
  .v27-hero__lead,
  .v27-hero__facts { color: #000; }
  .v27-section { padding: 24px 0; break-inside: avoid; }
  .v27-topology__panel[hidden] { display: block; }
  .v27-topology__tabs { display: none; }
  .v27-software__panel[hidden] { display: block; }
  .v27-software__tabs { display: none; }
}

/* ============================================================
   v30 首页：五章分割（架构 → 硬件 → 软件 → 级联 → 配件）+ 章节进度导航
   ============================================================ */
.v30-home .v27-section,
.v30-home .v27-cta { scroll-margin-top: 150px; }

/* 章节之间的留白明显大于章节内部，让读者感到“换章”而不是“下一块”。 */
.v30-chapter { padding: 96px 0 80px; }
.v30-appendix { padding: 72px 0; }
/* 章节标题分为编号、章节名和价值主张；分类明确，后半句回答这一章带来的价值。 */
.v30-chapter .v27-section__head,
.v30-appendix .v27-section__head {
  padding-top: 18px; border-top: 1px solid rgba(0, 80, 120, .22);
}
.v30-chapter .v27-section__head h2,
.v30-appendix .v27-section__head h2 {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 0;
  line-height: 1.28;
}
.v30-chapter .v27-section__head h2 b,
.v30-appendix .v27-section__head h2 b {
  margin-right: .28em; color: var(--brand-accent); font-weight: 800; letter-spacing: .04em;
}
.v30-chapter .v27-section__head h2 span,
.v30-appendix .v27-section__head h2 span { font-weight: 800; }
.v30-chapter .v27-section__head h2 em {
  flex-basis: 100%;
  color: #526671; font-size: .72em; font-style: normal; font-weight: 650; letter-spacing: -.01em;
}
/* 章节说明下的收益条：直角浅蓝底，开头短句加粗。 */
.v30-chapter .v30-brief { margin: 15px 0 0; }
.v30-chapter .v30-lead,
.v30-chapter .v30-lead p {
  margin: 0; color: #5c6d78; font-size: 17px; line-height: 1.8;
}
.v30-chapter .v30-gain {
  margin: 12px 0 0; padding: 10px 14px;
  background: var(--brand-accent-soft); color: var(--brand-accent); font-size: 16px; line-height: 1.75;
}
.v30-chapter .v30-gain p { margin: 0; color: var(--brand-accent); font-size: 16px; line-height: 1.75; }
.v30-chapter .v30-gain p strong { font-weight: 800; }
.v30-chapter .v30-more { margin: 8px 0 0; color: var(--brand-accent); font-size: 16px; line-height: 1.75; }
.v30-chapter .v30-more a { font-weight: 800; }
@media (max-width: 700px) {
  .v30-chapter .v30-lead,
  .v30-chapter .v30-lead p,
  .v30-chapter .v30-gain,
  .v30-chapter .v30-gain p,
  .v30-chapter .v30-more { font-size: 15px; }
}
.v30-appendix .v27-section__head h2 b { color: #7b8c96; }

/* 进度导航：默认是页眉下方横条；fixed 定位，出现和消失不引起页面跳动。 */
.v30-progress {
  position: fixed; z-index: 50; top: var(--v30-top, 73px); right: 0; left: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(8px);
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease;
}
.v30-progress.is-on { opacity: 1; pointer-events: auto; transform: none; }
.v30-progress ol {
  display: flex; align-items: stretch; gap: 4px;
  max-width: var(--maxw); height: 46px; margin: 0 auto; padding: 0 24px; list-style: none;
}
.v30-progress li { display: flex; }
.v30-progress__tools { display: none; }
.v30-progress a {
  display: flex; align-items: center; gap: 8px; padding: 0 14px;
  color: #5c6d78; font-size: 14px; font-weight: 700; white-space: nowrap;
}
.v30-progress a b { color: #9aa8b1; font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.v30-progress a:hover { color: var(--brand-accent); text-decoration: none; }
.v30-progress a.is-current { color: var(--brand-accent); box-shadow: inset 0 -2px 0 var(--brand-accent); }
.v30-progress a.is-current b { color: var(--brand-accent); }
.v30-jumps {
  position: fixed; z-index: 55; right: 16px; bottom: 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.v30-jumps.is-hidden { display: none; }
.v30-jumps a {
  position: relative; display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid #d5dde1; background: #fff; color: var(--brand-accent);
  box-shadow: 0 4px 14px rgba(32, 33, 31, .08);
}
.v30-jumps a.is-off { display: none; }
.v30-jumps svg {
  width: 18px; height: 18px; fill: none; stroke: currentColor;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.v30-jumps a:hover { color: var(--brand-accent-hover); text-decoration: none; }
.v30-jumps a[data-tip]::after {
  content: attr(data-tip); position: absolute; right: calc(100% + 8px); top: 50%;
  transform: translateY(-50%); padding: 4px 8px; border-radius: 6px;
  background: var(--brand-navy); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.3;
  white-space: nowrap; opacity: 0; pointer-events: none;
}
.v30-jumps a[data-tip]:hover::after,
.v30-jumps a[data-tip]:focus-visible::after { opacity: 1; }
.v30-progress__bar { position: absolute; right: 0; bottom: -1px; left: 0; height: 1px; background: transparent; }
.v30-progress__bar i { display: block; width: var(--v30-p, 0%); height: 100%; background: rgba(20, 125, 131, .45); }
.v30-progress__now { display: none; }

/* 宽屏：正文两侧留白足够，改为 Wiki 式左侧竖向目录，不占正文高度。 */
@media (min-width: 1420px) {
  .v30-home .v27-section,
  .v30-home .v27-cta { scroll-margin-top: 104px; }
  .v30-progress {
    top: 50%; right: auto;
    left: max(16px, calc((100vw - var(--maxw)) / 2 - 132px));
    width: 108px;
    border: 0; background: transparent; backdrop-filter: none;
    opacity: 0; pointer-events: none;
    transform: translate(0, -50%);
  }
  .v30-progress.is-on {
    opacity: 1; pointer-events: auto;
    transform: translate(0, -50%);
  }
  .v30-progress ol {
    flex-direction: column; gap: 0; height: auto; padding: 0;
    border-left: 1px solid var(--line);
  }
  .v30-progress a { margin-left: -1px; padding: 9px 0 9px 14px; border-left: 2px solid transparent; font-size: 13.5px; }
  .v30-progress a.is-current { border-left-color: var(--brand-accent); box-shadow: none; }
  .v30-progress .is-appendix { margin: 0; }
  .v30-progress__bar { top: 0; right: auto; bottom: 0; left: 0; width: 1px; height: auto; }
  .v30-progress__bar i { width: 100%; height: var(--v30-p, 0%); }
  .v30-progress__tools {
    display: flex; align-items: center; gap: 16px;
    margin: 0 0 16px; padding-left: 14px;
  }
  .v30-progress__tools button,
  .v30-progress__tools a {
    display: grid; place-items: center; width: 32px; height: 32px;
    margin: 0; padding: 0; border: 0; border-left: 0; background: none; box-shadow: none;
    color: var(--brand-accent); line-height: 0; cursor: pointer;
  }
  .v30-progress__tools svg {
    width: 32px; height: 32px; fill: none; stroke: currentColor;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  }
  .v30-progress__tools button:hover,
  .v30-progress__tools button.is-open,
  .v30-progress__tools a:hover,
  .v30-progress__tools a.is-open {
    color: var(--brand-accent); background: none; border-left-color: transparent; text-decoration: none;
  }
}

/* 手机：只留一行“当前章节 / 总章数”，点开才显示全部章节。 */
@media (max-width: 700px) {
  .v30-home .v27-section,
  .v30-home .v27-cta { scroll-margin-top: 140px; }
  .v30-chapter { padding: 64px 0 52px; }
  .v30-appendix { padding: 52px 0; }
  .v30-chapter .v27-section__head h2 em { flex-basis: 100%; font-size: .74em; }
  .v30-progress__now {
    display: flex; align-items: center; gap: 10px; width: 100%; height: 42px; padding: 0 18px;
    border: 0; background: transparent; color: var(--brand-accent); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer;
  }
  .v30-progress__now i { color: #8b9aa4; font-size: 12px; font-style: normal; font-weight: 700; }
  .v30-progress__now::after { content: "▾"; margin-left: auto; color: #8b9aa4; transition: transform .15s ease; }
  .v30-progress.is-open .v30-progress__now::after { transform: rotate(180deg); }
  .v30-progress ol { display: none; flex-direction: column; height: auto; padding: 0 0 8px; border-top: 1px solid var(--line); }
  .v30-progress.is-open ol { display: flex; }
  .v30-progress a { padding: 11px 18px; }
  .v30-progress a.is-current { box-shadow: inset 3px 0 0 var(--brand-accent); }
  .v30-progress .is-appendix { margin-left: 0; }
  .v30-jumps { right: 12px; bottom: 16px; }
}
@media (max-width: 1419px) {
  .v30-home.is-chrome-away .v30-progress { transform: translateY(calc(-100% - 8px)); pointer-events: none; }
}
/* 硬件章开头的选型对照：先对上电机和供电，再看下面的接线图。 */
.v30-compare { margin: 0 0 28px; border: 1px solid #d5dde1; background: #fff; }
.v30-compare__title {
  margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--line);
  color: #fff; background: var(--brand-navy-2); font-size: 14px; font-weight: 800;
}
.v30-compare__scroll { overflow-x: auto; }
.v30-compare table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 13.5px; line-height: 1.55; }
.v30-compare th,
.v30-compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.v30-compare thead th { background: #e7eef3; color: var(--brand-navy-2); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.v30-compare tbody tr:nth-child(even) > * { background: #fafbfb; }
.v30-compare tbody th { width: 7em; color: var(--ink); background: var(--brand-accent-faint); font-weight: 800; white-space: nowrap; }
.v30-compare tr:last-child th,
.v30-compare tr:last-child td { border-bottom: 0; }
/* 电机表格与软件表格风格统一：标题与首列链接均使用品牌蓝 var(--brand-accent)。 */
.v30-hardware-compare { margin-bottom: 24px; }
.v30-hardware-compare table { min-width: 720px; font-size: 16px; line-height: 1.7; }
.v30-hardware-compare thead th { color: #fff; background: var(--brand-accent); font-size: 15px; letter-spacing: 0; }
.v30-hardware-compare thead th:first-child,
.v30-hardware-compare tbody th { width: 23%; }
.v30-hardware-compare thead th:nth-child(2) { width: 77%; }
.v30-hardware-compare tbody th { white-space: normal; }
.v30-hardware-compare tbody th a {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--brand-accent); font-size: 16px; font-weight: 800;
}
.v30-hardware-compare tbody th a::after { content: "›"; font-size: 18px; line-height: 1; }
.v30-hardware-compare tbody th a:hover { color: var(--brand-accent-hover); text-decoration: underline; }
.v30-hardware-compare tbody tr:nth-child(odd) > * { background: #fff; }
.v30-hardware-compare tbody tr:nth-child(even) > * { background: #f1f4f5; }

/* 架构章先把客户需要决定的两端，与 MSP 负责的中间控制分开。 */
.v30-arch-logic {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px; border: 1px solid var(--line); background: #fff;
}
.v30-arch-logic section { padding: 22px 24px; border-right: 1px solid var(--line); }
.v30-arch-logic section:last-child { border-right: 0; }
.v30-arch-logic small { color: var(--brand-accent); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.v30-arch-logic h3 { margin: 8px 0; color: var(--ink); font-size: 17px; line-height: 1.45; }
.v30-arch-logic p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; }

/* 电机接口 Tab：名称下方直接写选择条件。 */
.v30-tabs { scroll-margin-top: 150px; }
.v30-tabs__bar {
  display: grid; border: 1px solid var(--line); border-bottom: 0; background: #f3f5f6;
}
.v30-tabs__bar--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v30-tabs__bar--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v30-tabs__bar button {
  display: flex; min-height: 68px; padding: 10px 12px; border: 0; border-right: 1px solid var(--line);
  flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: transparent; color: #5c6d78; font: inherit; font-size: 15px; font-weight: 800; line-height: 1.35; cursor: pointer;
}
.v30-tab__title { display: block; }
.v30-tab__hint { display: block; color: #778892; font-size: 11.5px; font-weight: 600; line-height: 1.3; }
.v30-tabs__bar button:last-child { border-right: 0; }
.v30-tabs__bar button:hover { color: var(--brand-accent); }
.v30-tabs__bar button[aria-selected="true"] { color: #fff; background: var(--brand-accent); }
.v30-tabs__bar button[aria-selected="true"] .v30-tab__hint { color: rgba(255,255,255,.82); }
.v30-tabs__bar button:focus-visible { position: relative; z-index: 1; outline: 3px solid #67aeb1; outline-offset: -3px; }
.v30-tabs__bar--3 button { min-height: 54px; padding-block: 7px; }
.v30-tabs__panel[hidden] { display: none !important; }

/* 电机接口面板先给出可检索的产品文字与完整型号，再用全宽图片说明连接关系。 */
.v30-tabs .v27-route { grid-template-columns: 1fr; align-items: stretch; }
.v30-tabs .v27-route figure {
  order: 0; border: 0; border-top: 1px solid var(--line); background: #f6f6f6;
}
.v30-tabs .v27-route figure a { background: #f6f6f6; }
.v30-tabs .v27-route__copy { max-width: none; padding: 18px 24px 16px; }
.v30-tabs .v30-route__name {
  margin: 0 0 8px; color: var(--brand-accent); font-size: 13px; font-weight: 800; letter-spacing: .06em;
}
.v30-tabs .v30-models {
  display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 10px;
  margin: 10px 0 0; padding-top: 9px; border-top: 1px solid var(--line);
  color: var(--ink); font-size: 14px; line-height: 1.7;
}
.v30-models b { color: var(--brand-accent); }
.v30-tabs .v27-route__links { margin-top: 10px !important; }
@media (min-width: 701px) {
  .v30-tabs .v27-route figure img {
    width: 100%; height: clamp(360px, 36vw, 460px); object-fit: contain;
    background: #f6f6f6;
  }
}

/* 软件章用浅蓝灰与硬件章的钢灰区分；全景建立认知，常显表格完成选路。 */
#software { background: var(--brand-accent-faint); }
.v30-soft-overview { margin-bottom: 24px; }
.v30-soft-tabs { margin-bottom: 24px; }
.v30-soft-tabs .v30-tabs__bar--2 button { min-height: 50px; }
.v30-soft-tabs .v27-system-map { border-top: 0; }
.v30-software-compare { margin-bottom: 0; border-color: #c9d9e0; }
.v30-software-compare table { min-width: 720px; font-size: 16px; line-height: 1.7; }
.v30-software-compare thead th { color: #fff; background: var(--brand-accent); font-size: 15px; letter-spacing: 0; }
.v30-software-compare thead th:first-child,
.v30-software-compare tbody th { width: 18%; }
.v30-software-compare thead th:nth-child(2) { width: 82%; }
.v30-software-compare tbody th { border-right: 1px solid #d7e3e8; white-space: normal; }
.v30-software-compare tbody th a {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--brand-accent); font-size: 16px; font-weight: 800;
}
.v30-software-compare tbody th a::after { content: "›"; font-size: 18px; line-height: 1; }
.v30-software-compare tbody th a:hover { color: var(--brand-accent-hover); text-decoration: underline; }
/* 每一行内部使用同一浅色；颜色只区分入口类型，不给每个单元格制造额外层级。 */
.v30-software-compare tbody tr.v30-sw-row--nocode > * { background: var(--brand-accent-soft); }
.v30-software-compare tbody tr.v30-sw-row--integration > * { background: #edf3f7; }
.v30-software-compare tbody tr.v30-sw-row--special > * { background: var(--doc-soft); }
.v30-software-compare__note {
  margin: 0; padding: 10px 16px; border-top: 1px solid var(--line);
  color: #526379; background: #edf4f7; font-size: 13px; line-height: 1.6;
}
.v30-software-compare__note a { color: var(--brand-accent); font-weight: 800; }

@media (min-width: 1420px) {
  .v30-tabs { scroll-margin-top: 104px; }
}
@media (max-width: 960px) {
  .v30-arch-logic { grid-template-columns: 1fr; }
  .v30-arch-logic section { border-right: 0; border-bottom: 1px solid var(--line); }
  .v30-arch-logic section:last-child { border-bottom: 0; }
  .v30-tabs .v27-route figure { border: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .v30-tabs { scroll-margin-top: 140px; }
  .v30-hardware-compare table { min-width: 100%; font-size: 15px; }
  .v30-software-compare table { min-width: 100%; font-size: 15px; }
  .v30-hardware-compare thead th:first-child,
  .v30-hardware-compare tbody th,
  .v30-software-compare thead th:first-child,
  .v30-software-compare tbody th { width: 32%; }
  .v30-hardware-compare thead th:nth-child(2),
  .v30-software-compare thead th:nth-child(2) { width: 68%; }
  .v30-hardware-compare th,
  .v30-hardware-compare td,
  .v30-software-compare th,
  .v30-software-compare td { padding: 10px 11px; }
  .v30-tabs__bar button { min-height: 62px; padding: 8px 6px; font-size: 13.5px; }
  .v30-tabs .v27-route__copy { padding: 18px 20px 16px; }
  .v30-tab__hint { font-size: 10.5px; }
  .v30-tabs .v30-models { grid-template-columns: 1fr; gap: 3px; }
}
@media print {
  .v30-tabs__panel[hidden] { display: grid !important; }
  .v30-tabs__bar { display: none; }
}

@media print {
  .v30-progress { display: none !important; }
}

/* v27 Wiki 图文证据组件：保持文档式细边框与直角，不使用营销卡片语言。 */
.doc .v27-wiki-figure,
.msp-plan .v27-wiki-figure {
  overflow: hidden; margin: 16px 0 22px; border: 1px solid var(--doc-line, #d9dee7);
  border-radius: 1px; background: #fff;
}
.doc .v27-wiki-figure a,
.msp-plan .v27-wiki-figure a { display: block; }
.doc .v27-wiki-figure img,
.msp-plan .v27-wiki-figure img { display: block; width: 100%; height: auto; }
.doc .v27-wiki-figure figcaption,
.msp-plan .v27-wiki-figure figcaption {
  margin: 0; padding: 10px 13px; border-top: 1px solid var(--doc-line, #d9dee7);
  color: var(--doc-muted, #667085); font-size: 12.5px; line-height: 1.65;
}
.doc .v27-wiki-routes { display: grid; gap: 14px; margin: 16px 0 24px; }
.doc .v27-wiki-routes article {
  display: grid; grid-template-columns: minmax(280px, 1.12fr) minmax(240px, .88fr);
  align-items: center; border: 1px solid var(--doc-line, #d9dee7); background: #fff;
}
.doc .v27-wiki-routes__image { display: block; border-right: 1px solid var(--doc-line, #d9dee7); }
.doc .v27-wiki-routes__image img { display: block; width: 100%; height: auto; }
.doc .v27-wiki-routes article > div { padding: 18px 20px; }
.doc .v27-wiki-routes small { color: var(--doc-blue, #255f85); font-size: 11.5px; font-weight: 700; }
.doc .v27-wiki-routes h3 { margin: 5px 0 8px; font-size: 16px; }
.doc .v27-wiki-routes p { margin: 6px 0; font-size: 13px; line-height: 1.65; }
.doc .v27-wiki-routes article > div > a { font-size: 13px; font-weight: 700; }
.doc .v27-wiki-check {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--doc-line, #d9dee7); background: var(--doc-soft, #f4f6f9);
}
.doc .v27-wiki-check p { margin: 0; padding: 14px 16px; font-size: 13.5px; }
.doc .v27-wiki-check p + p { border-left: 1px solid var(--doc-line, #d9dee7); }
.doc .v27-responsibility { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--doc-line, #d9dee7); }
.doc .v27-responsibility section { padding: 15px 17px; background: #fff; }
.doc .v27-responsibility section + section { border-left: 1px solid var(--doc-line, #d9dee7); }
.doc .v27-responsibility h3 { margin: 0 0 7px; color: var(--doc-blue, #255f85); font-size: 16px; }
.doc .v27-responsibility p { margin: 0; font-size: 13.5px; line-height: 1.7; }

@media (max-width: 760px) {
  .doc .drawing-grid.is-2 { grid-template-columns: 1fr; }
  .doc .v27-wiki-routes article { grid-template-columns: 1fr; }
  .doc .v27-wiki-routes__image { border-right: 0; border-bottom: 1px solid var(--doc-line, #d9dee7); }
  .doc .v27-wiki-check,
  .doc .v27-responsibility { grid-template-columns: 1fr; }
  .doc .v27-wiki-check p + p,
  .doc .v27-responsibility section + section { border-top: 1px solid var(--doc-line, #d9dee7); border-left: 0; }
}
@media print {
  .doc .v27-wiki-figure,
  .doc .v27-wiki-routes article,
  .doc .v27-wiki-check,
  .doc .v27-responsibility { break-inside: avoid; }
}

/* 快速入门：先按用户情况分流，型号明细放在折叠层。 */
.ov30 h1 { margin: 0; color: #20211f; font-size: 30px; line-height: 1.25; }
.ov30-intro, .ov30-lead { margin: 12px 0 0; color: #5c6d78; font-size: 17px; line-height: 1.8; }
.ov30 section { margin-top: 36px; }
.ov30 section.doc-block { margin-top: 0; }
.ov30 h2 { margin: 0; padding-bottom: 8px; border-bottom: 1px solid var(--doc-line); color: var(--brand-navy); font-size: 20px; }
.ov30 h3 { margin: 22px 0 0; color: #20211f; font-size: 16px; }
.ov30-table { margin-top: 16px; overflow-x: auto; border: 1px solid #d5dde1; background: #fff; }
.ov30 table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 13.5px; line-height: 1.7; font-variant-numeric: tabular-nums; }
.ov30 th, .ov30 td { padding: 9px 12px; border-bottom: 1px solid var(--doc-line); text-align: left; vertical-align: top; }
.ov30 thead th { color: var(--doc-muted, #667085); background: var(--doc-soft, #f4f6f9); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.ov30 tbody th { width: 36%; background: #f7f9fa; font-weight: 700; }
.ov30 tr:last-child th, .ov30 tr:last-child td { border-bottom: 0; }
.ov30 td a, .ov30 th a { color: var(--brand-accent); font-weight: 800; }
.ov30 td a::after, .ov30 th a::after { content: " →"; }
.ov30 td a:hover, .ov30 th a:hover { color: var(--brand-accent-hover); }
.ov30 .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ov30-spec tbody th { width: 18%; }
.ov30-help { padding: 24px; border: 1px solid #c9d9e0; background: var(--brand-accent-faint); }
.ov30-help h2 { border: 0; padding: 0; }
.ov30-help p { margin: 8px 0 18px; color: #5c6d78; }
.ov30-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ov30-actions a, .ov30-actions button {
  padding: 10px 18px; border: 1px solid var(--brand-accent); background: #fff; color: var(--brand-accent);
  font: inherit; font-weight: 800; cursor: pointer;
}
.ov30-actions button { color: #fff; background: var(--brand-accent); }
.ov30-more { margin-top: 36px; border-top: 1px solid var(--doc-line); }
.doc .ov30.is-sectioned > .ov30-more {
  margin-top: 0;
  padding: 6px 20px 12px;
  border: 1px solid var(--doc-line);
  border-radius: 12px;
  background: var(--doc-paper);
}
.ov30-more summary { padding: 16px 0; color: var(--brand-accent); font-size: 18px; font-weight: 800; cursor: pointer; }
.ov30-note { margin: 0 0 12px; color: #5c6d78; }
.ov30-table + .ov30-note { margin-top: 16px; }
.ov30-note a { color: var(--brand-accent); font-weight: 800; }
.ov30 + .prose, .ov30 + section { margin-top: 36px; }
.doc .ov30.is-sectioned + .prose.is-sectioned { margin-top: 14px; }
@media (max-width: 700px) {
  .ov30-intro, .ov30-lead { font-size: 15px; }
}

/* 英文联系页：微信与 WhatsApp 左右并排。窄屏两列平分，长链接在列内折行，不把页面撑出横向滚动。 */
.contact-qr-row {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  min-width: 0;
  max-width: 100%;
}
.contact-layout:has(.contact-qr-row) {
  width: 100%;
  max-width: 1040px;
  min-width: 0;
  align-items: flex-start;
}
.contact-layout:has(.contact-qr-row) > .contact-qr-row { min-width: 0; }
.contact-qr-row .contact-qr {
  flex: 1 1 0;
  min-width: 0;
  max-width: 220px;
}
.contact-qr-row .contact-qr img { width: min(168px, 100%); height: auto; }
.contact-qr-row p,
.contact-qr-row a,
.contact-qr-row button {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.contact-qr-row button { white-space: normal; }
.msp-card__qrs {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
}
.msp-card:has(.msp-card__qrs figure:not([hidden]) + figure:not([hidden])) { width: min(560px, 94vw); }
.msp-card__qrs figure { flex: 1 1 0; min-width: 0; max-width: 200px; }
.msp-card__qrs .msp-card__qr { width: min(160px, 100%); height: auto; }
.msp-card__qrs figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; }
.msp-card__qrs p,
.msp-card__qrs a,
.msp-card__qrs button { margin: 8px 0; max-width: 100%; overflow-wrap: anywhere; font-size: 12px; }
.msp-card__qrs figcaption,
.msp-card__qrs button { font-size: 13px; }
.msp-card__lines { margin-top: 18px; text-align: center; }
.msp-card__lines p { margin: 0 0 8px; color: var(--ink); font-size: 14px; line-height: 1.5; }
.msp-card__lines a { color: var(--accent); }
@media (max-width: 680px) {
  .contact-qr-row { gap: 16px; }
  .contact-qr-row .contact-qr img { width: min(132px, 100%); }
}

/* 英文品牌副题是一整行。窄屏时让文案收缩，顶栏配货台留在视口里。 */
.header-inner { min-width: 0; }
.brand { min-width: 0; flex: 1 1 auto; }
.brand-copy { min-width: 0; overflow: hidden; }
.brand-copy b,
.brand-copy small { overflow: hidden; text-overflow: ellipsis; }
.header-tools { flex: none; }

/* V105 深青主题：提高首页、Wiki、配货台与联系页的层次。 */
.v27-hero {
  background:
    radial-gradient(circle at 82% 30%, rgba(11, 101, 107, .16), transparent 34%),
    linear-gradient(90deg, #f8fbfc 0 50%, #dcefed 100%);
}
.v27-hero__facts li { border-bottom-color: rgba(11, 101, 107, .24); }
.v27-section--soft { background: #eaf1f3; }
.v30-chapter .v30-gain {
  border-left: 4px solid var(--brand-accent);
  background: var(--brand-accent-faint);
}
.v30-chapter .v30-gain p,
.v30-chapter .v30-more { color: var(--brand-accent-hover); }

.doc .page-hero {
  padding: 22px 24px 20px;
  border-left: 5px solid var(--doc-accent);
  border-bottom-width: 1px;
  background: linear-gradient(105deg, var(--doc-accent-faint), #fff 72%);
}
.doc .prose > h2,
.doc .doc-block > h2,
.ov30 h2 {
  padding-left: 12px;
  border-left: 4px solid var(--doc-accent);
}
.doc .ov30-help.doc-block {
  border-color: #afcbcd;
  border-left: 5px solid var(--doc-accent);
  background: var(--doc-accent-faint);
  box-shadow: none;
}
.doc .table-wrap thead th,
.ov30 thead th {
  background: var(--doc-accent-soft);
  color: var(--brand-navy);
}
.ov30 tbody th { background: var(--doc-accent-faint); }
.ov30-help {
  border-color: #afcbcd;
  border-left: 5px solid var(--doc-accent);
  background: var(--doc-accent-faint);
}
.doc .callout { border-left-width: 5px; }

.msp-dock__sheet {
  border-top: 5px solid var(--doc-accent);
  background: #f8fbfb;
}
.msp-dock__head {
  background: #fff;
}
.msp-dock__main {
  background: #fbfdfd;
}
.msp-dock__block {
  padding: 14px;
  border: 1px solid var(--doc-line);
  border-left: 4px solid #0b656b;
  background: #fff;
}
.msp-dock__block + .msp-dock__block {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--doc-line);
}
.msp-dock__block:focus-within { border-left-color: var(--doc-accent); }
.msp-dock__combo-btn,
.msp-dock__field select,
.msp-dock__chain select { background-color: #fff; }
.msp-dock__cart {
  border-left-color: #c5dddf;
  background: #eef7f6;
}
.msp-dock__cart-sku {
  border-bottom: 0;
  background: linear-gradient(135deg, #0c253b, #0b656b);
}
.msp-dock__cart-sku small { color: #d7ecea; }
.msp-dock__cart-sku b { color: #fff; }
.msp-dock__cart-kicker { color: #0b656b; }
.msp-dock__cart-list { padding-top: 8px; }
.msp-dock__cart-line {
  margin-top: 8px;
  padding: 10px;
  border: 1px solid #d5e6e6;
  background: #fff;
}
.msp-dock__cart-line:first-of-type { margin-top: 6px; }
.msp-dock__cart-line .p { color: var(--doc-accent); }

.contact-v105 {
  min-height: calc(100vh - var(--chrome-h));
  padding: 64px 0 84px;
  background:
    linear-gradient(180deg, var(--brand-accent-faint) 0, #fff 420px),
    #fff;
}
.contact-v105__hero {
  max-width: 820px;
  margin-bottom: 30px;
  padding-left: 22px;
  border-left: 6px solid var(--brand-accent);
}
.contact-v105__hero > span,
.contact-v105__label {
  color: var(--brand-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.contact-v105__hero h1 {
  margin: 7px 0 10px;
  color: var(--brand-navy);
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: -.03em;
}
.contact-v105__hero p {
  color: var(--doc-copy-muted);
  font-size: 17px;
  line-height: 1.8;
}
.contact-v105__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 18px;
}
.contact-v105__card {
  min-width: 0;
  padding: 30px;
  border: 1px solid #c7d9dc;
}
.contact-v105__card h2 {
  margin: 8px 0 10px;
  color: var(--brand-navy);
  font-size: 24px;
}
.contact-v105__card > p {
  max-width: 620px;
  color: var(--doc-copy-muted);
}
.contact-v105__card--primary {
  color: #fff;
  border-color: transparent;
  background: var(--gradient-brand);
}
.contact-v105__card--primary .contact-v105__label { color: #8fd0cd; }
.contact-v105__card--primary h2 { color: #fff; }
.contact-v105__card--primary > p { color: #d7e4e7; }
.contact-v105__lines {
  display: grid;
  gap: 0;
  margin-top: 24px;
}
.contact-v105__lines > div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.contact-v105__lines > [hidden],
.contact-v105__qrs > [hidden] { display: none !important; }
.contact-v105__lines dt { color: #a9c8ce; font-size: 13px; }
.contact-v105__lines dd { min-width: 0; font-weight: 700; }
.contact-v105__lines a,
.contact-v105__lines span { color: #fff; overflow-wrap: anywhere; }
.contact-v105__card--qr {
  background: var(--brand-accent-soft);
  text-align: center;
}
.contact-v105__card--qr figure { margin: 16px auto 0; }
.contact-v105__card--qr img {
  width: 176px;
  margin: 0 auto;
  padding: 8px;
  border: 1px solid #b5cccf;
  background: #fff;
}
.contact-v105__card--qr figcaption {
  margin-top: 9px;
  color: var(--doc-copy-muted);
  font-size: 12.5px;
}
.contact-v105__qrs { display: flex; justify-content: center; gap: 16px; }
.contact-v105__qrs figure { min-width: 0; }
.contact-v105__qrs img { width: 150px; }
.contact-v105__guide {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: center;
  margin-top: 18px;
  padding: 24px 28px;
  border: 1px solid #c7d9dc;
  background: #fff;
}
.contact-v105__guide h2 {
  margin-top: 6px;
  color: var(--brand-navy);
  font-size: 21px;
}
.contact-v105__guide ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  list-style: none;
}
.contact-v105__guide li {
  min-width: 0;
  padding: 13px;
  background: var(--brand-accent-faint);
}
.contact-v105__guide li b {
  display: block;
  color: var(--brand-accent);
  font-size: 12px;
}
.contact-v105__guide li span {
  display: block;
  margin-top: 4px;
  color: var(--brand-navy);
  font-size: 13px;
  font-weight: 700;
}
@media (max-width: 760px) {
  .contact-v105 { padding: 42px 0 58px; }
  .contact-v105__grid,
  .contact-v105__guide { grid-template-columns: 1fr; }
  .contact-v105__guide ul { grid-template-columns: 1fr 1fr; }
  .contact-v105__card { padding: 24px 20px; }
  .doc .page-hero { padding: 18px; }
}

/* 联系方式统一使用弹窗；contact.html 只保留无脚本时的后备内容。 */
body.has-contact-open { overflow: hidden; }
.msp-card--contact {
  width: min(800px, 96vw);
  max-height: min(720px, 92vh);
  padding: 0;
  overflow: auto;
  border: 0;
  border-top: 4px solid var(--brand-accent);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(12, 37, 59, .28);
  text-align: left;
}
.msp-card--contact .msp-card__close {
  z-index: 2;
  top: 14px;
  right: 14px;
  color: var(--doc-copy-muted);
}
.contact-modal__head {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--doc-line);
  background: linear-gradient(105deg, var(--brand-accent-faint), #fff 74%);
}
.contact-modal__head > span,
.contact-modal__label {
  color: var(--brand-accent);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.msp-card--contact .contact-modal__head h3 {
  margin: 6px 42px 7px 0;
  color: var(--brand-navy);
  font-size: 28px;
}
.contact-modal__head p {
  margin: 5px 0 0;
  color: var(--doc-copy-muted);
  font-size: 14px;
  line-height: 1.65;
}
.contact-modal__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px 32px 28px;
}
.contact-modal__details { min-width: 0; }
.contact-modal__lines { margin-top: 12px; }
.contact-modal__lines > div {
  padding: 0 0 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--doc-line);
}
.contact-modal__lines > [hidden] { display: none !important; }
.contact-modal__lines dt {
  margin-bottom: 5px;
  color: var(--doc-copy-muted);
  font-size: 12px;
}
.contact-modal__lines dd { min-width: 0; font-size: 17px; font-weight: 700; line-height: 1.35; }
.contact-modal__lines a,
.contact-modal__lines span {
  display: block;
  color: var(--brand-navy);
  white-space: nowrap;
}
.contact-modal__channels {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}
.contact-modal__channels > [hidden] { display: none !important; }
.contact-modal__channels figure { width: min(210px, 100%); min-width: 0; text-align: center; }
.contact-modal__channels img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 8px;
  border: 1px solid #b5cccf;
  background: #fff;
}
.contact-modal__channels figcaption {
  margin-top: 5px;
  color: var(--brand-navy);
  font-size: 12px;
  font-weight: 700;
}
.contact-modal__channels figcaption span,
.contact-modal__channels figcaption a {
  display: block;
  margin-top: 1px;
  color: var(--doc-copy-muted);
  font-size: 11px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
  @media (max-width: 680px) {
  .msp-mask { padding: 10px; }
  .msp-card--contact { width: 100%; max-height: 96vh; }
  .contact-modal__head { padding: 20px 18px 17px; }
  .msp-card--contact .contact-modal__head h3 { font-size: 24px; }
  .contact-modal__body { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .contact-modal__lines a,
  .contact-modal__lines span { white-space: normal; overflow-wrap: anywhere; }
  .contact-modal__channels figure { width: min(188px, 72%); }
}

/* ============================================================
   V107: 1. 页眉进入首页图标  2. Hero左侧文字放大
         3. 微信扫码登录框 & 32条历史编号 & 管理入口
   ============================================================ */
.v27-hero h1 {
  font-size: clamp(56px, 5.8vw, 82px);
}
.v27-hero h1 em {
  margin-top: 14px;
  font-size: clamp(28px, 2.85vw, 38px);
  line-height: 1.22;
}
html[lang="en"] .v27-hero h1 em {
  font-size: clamp(25px, 2.4vw, 34px);
}
.v27-hero__lead {
  margin: 20px 0 0;
  font-size: clamp(22px, 2.35vw, 28px);
}
.v27-hero__facts {
  margin: 24px 0 0;
  font-size: 17.5px;
  font-weight: 500;
}
.v27-hero__facts li {
  padding: 11px 0;
}
.v27-actions .btn {
  font-size: 16px;
  padding: 11px 22px;
}

.header-home,
.header-tools .msp-cart,
.header-tools .header-contact,
.header-auth__btn,
.header-tools .lang-switch__btn {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--brand-accent);
  text-decoration: none;
  cursor: pointer;
  line-height: 0;
}
.header-tools .lang-switch {
  margin-left: 0;
}
.header-home:hover,
.header-tools .msp-cart:hover,
.header-tools .msp-cart.is-open,
.header-tools .header-contact:hover,
.header-tools .header-contact.is-open,
.header-auth__btn:hover,
.header-tools .lang-switch__btn:hover,
.header-tools .lang-switch__btn[aria-expanded="true"] {
  background: none;
  border-color: transparent;
  color: var(--brand-accent-hover, #084d52);
  text-decoration: none;
}
.header-home svg,
.header-tools .msp-cart svg,
.header-tools .header-contact svg,
.header-auth__btn svg,
.header-tools .lang-switch__btn svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header-home[data-tip]::after,
.header-auth__btn[data-tip]::after,
.lang-switch__btn[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 40;
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--brand-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}
.header-home[data-tip]:hover::after,
.header-home[data-tip]:focus-visible::after,
.header-auth__btn[data-tip]:hover::after,
.header-auth__btn[data-tip]:focus-visible::after,
.lang-switch__btn[data-tip]:hover::after,
.lang-switch__btn[data-tip]:focus-visible::after {
  opacity: 1;
}

.header-auth {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: none;
}
.header-auth__dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-accent);
  border: 1.5px solid #fff;
}
.header-auth__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 90;
  width: min(340px, 88vw);
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(16, 44, 70, .16);
  padding: 12px;
}
.header-auth__menu[hidden] {
  display: none !important;
}
.header-auth__menu-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 13px;
  color: var(--brand-navy);
}
.header-auth__admin-link {
  display: block;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  background: #eef7f8;
  border: 1px solid rgba(11, 101, 107, .28);
  color: var(--brand-accent);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.header-auth__admin-link:hover {
  background: var(--brand-accent);
  color: #fff;
}
.header-auth__menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}
.header-auth__sku-list {
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.header-auth__sku-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: 6px;
  background: #f8fafc;
  color: var(--brand-navy);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #e2e8f0;
}
.header-auth__sku-item:hover {
  background: #e6f4f5;
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}

.msp-dock__history {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(16, 44, 70, .18);
}
.msp-dock__history-list {
  max-height: 145px;
  overflow-y: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.msp-dock__history-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 5px;
  background: #eef7f8;
  border: 1px solid rgba(11, 101, 107, .28);
  color: var(--brand-accent-hover);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.msp-dock__history-chip:hover {
  background: var(--brand-accent);
  color: #fff;
}

.xmsp-auth-mask {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(16, 44, 70, .58);
  display: grid;
  place-items: center;
  padding: 16px;
  backdrop-filter: blur(3px);
}
.xmsp-auth-mask[hidden] {
  display: none !important;
}
.xmsp-auth-card {
  position: relative;
  width: min(400px, 94vw);
  background: #fff;
  border-radius: 14px;
  padding: 24px 22px 20px;
  box-shadow: 0 24px 48px rgba(16, 44, 70, .24);
  text-align: center;
  color: var(--brand-navy);
}
.xmsp-auth-card__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 22px;
  color: #64748b;
  cursor: pointer;
}
.xmsp-auth-card__qr {
  width: 210px;
  height: 210px;
  margin: 12px auto;
  padding: 8px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  object-fit: contain;
  display: block;
  background: #fff;
}
.xmsp-auth-card__qr[hidden] {
  display: none !important;
}
.xmsp-auth-card__status {
  font-size: 12.5px;
  font-weight: 500;
  color: #5a6d7c;
  min-height: 20px;
  margin: 8px 0;
}

.xmsp-auth-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 10px 0 4px;
}
.xmsp-auth-methods:empty {
  display: none;
}
.xmsp-auth-method-btn {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.xmsp-auth-method-btn.is-active,
.xmsp-auth-method-btn:hover {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #fff;
}

/* 联系我们弹窗与联系页紧凑左右分栏布局（左侧文字联系方式，右侧预留4个二维码位，不足4个时自动居中） */
.msp-card.msp-card--contact {
  width: min(940px, 95vw) !important;
  max-width: 940px !important;
  padding: 20px 24px 22px !important;
}
.contact-modal__head {
  margin-bottom: 14px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(16, 44, 70, .08);
}
.contact-modal__head h3 {
  margin: 4px 0 6px !important;
  font-size: 20px !important;
}
.contact-modal__head p {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}
.contact-modal__body[data-contact-dynamic-layout],
.contact-v105__grid[data-contact-dynamic-layout] {
  display: block !important;
}
.xmsp-contact-split {
  display: grid;
  grid-template-columns: minmax(220px, 310px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}
.xmsp-contact-split.is-only-qr,
.xmsp-contact-split.is-only-text {
  grid-template-columns: 1fr;
}
.xmsp-contact-split__left,
.xmsp-contact-split__right {
  background: #f8fbfc;
  border: 1px solid rgba(16, 44, 70, .1);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.xmsp-contact-split__subtitle {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-accent);
  letter-spacing: .02em;
}
.xmsp-contact-kv-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}
.xmsp-contact-kv {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 10px;
  background: #fff;
  border: 1px solid rgba(16, 44, 70, .08);
  border-radius: 8px;
}
.xmsp-contact-kv__label {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}
.xmsp-contact-kv__val {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-navy);
  text-decoration: none;
  word-break: break-all;
}
.xmsp-contact-kv__val:hover {
  color: var(--brand-accent);
}
.xmsp-person-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}
.xmsp-person-card {
  padding: 8px 10px;
  background: #fff;
  border: 1px solid rgba(16, 44, 70, .08);
  border-radius: 8px;
  font-size: 12.5px;
  line-height: 1.45;
}
.xmsp-person-card__title {
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 3px;
}
.xmsp-person-card__row {
  color: #334155;
  word-break: break-all;
}
.xmsp-person-card__k {
  color: #64748b;
}
.xmsp-person-card__row a {
  color: var(--brand-navy);
  text-decoration: none;
  font-weight: 600;
}
.xmsp-person-card__row a:hover {
  color: var(--brand-accent);
}
.xmsp-contact-split__hint {
  margin: 4px 0 0;
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.4;
}
.xmsp-qr-slots {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  min-height: 185px;
}
.xmsp-qr-card {
  flex: 0 1 138px;
  max-width: 152px;
  min-width: 116px;
  background: #fff;
  border: 1px solid rgba(16, 44, 70, .1);
  border-radius: 10px;
  padding: 8px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}
.xmsp-qr-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-accent);
  background: #eef7f8;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.xmsp-qr-card--wa .xmsp-qr-card__badge {
  color: #0f766e;
  background: #ecfdf5;
}
.xmsp-qr-card__imgwrap {
  width: 112px;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
}
.xmsp-qr-card__imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}
.xmsp-qr-card__meta {
  font-size: 11.5px;
  font-weight: 600;
  color: #334155;
  line-height: 1.3;
  word-break: break-all;
}
.xmsp-qr-card__link {
  color: var(--brand-accent);
  text-decoration: underline;
}
@media (max-width: 760px) {
  .xmsp-contact-split {
    grid-template-columns: 1fr;
  }
  .xmsp-qr-slots {
    flex-wrap: wrap;
  }
  .xmsp-qr-card {
    flex: 1 1 calc(50% - 8px);
    max-width: 165px;
  }
}

.footer-icp {
  margin: 4px 0 2px;
  font-size: 11.5px;
  line-height: 1.35;
  color: rgba(255, 255, 255, .62);
}
.footer-icp a {
  color: inherit;
  text-decoration: none;
}
.footer-icp a:hover {
  color: #fff;
  text-decoration: underline;
}



