/* ============ 千为帮助中心 · 现代 SaaS 简洁风 ============ */
:root {
  --green: #0EA47A;
  --green-dark: #0B8461;
  --green-soft: #ECF9F4;
  --green-text: #0B6B4F;
  --purple: #6C5CE7;
  --purple-dark: #574CC8;
  --purple-soft: #F3F1FE;
  /* 品牌变量：默认云旗绿，body[data-brand=yx] 时整体切换为云芯紫 */
  --brand: #0EA47A;
  --brand-dark: #0B8461;
  --brand-soft: #ECF9F4;
  --brand-text: #0B6B4F;
  --brand-border: #D1F0E5;
  --ring: rgba(14,164,122,.12);
  --hero-a: #0A5C43;
  --hero-b: #0EA47A;
  --hero-c: #17A9B8;
  --bg: #FAFBFC;
  --surface: #FFFFFF;
  --text: #111827;
  --muted: #6B7280;
  --subtle: #9CA3AF;
  --line: #E5E7EB;
  --line-light: #F3F4F6;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 1px 3px rgba(0,0,0,.05), 0 6px 16px rgba(0,0,0,.04);
  --shadow-hover: 0 4px 12px rgba(0,0,0,.06), 0 12px 24px rgba(0,0,0,.04);
  --maxw: 1100px;
  --header-h: 60px;
}
body[data-brand="yx"] {
  --brand: #6C5CE7;
  --brand-dark: #574CC8;
  --brand-soft: #F3F1FE;
  --brand-text: #4C41B0;
  --brand-border: #E2DEFC;
  --ring: rgba(108,92,231,.14);
  --hero-a: #43339E;
  --hero-b: #6C5CE7;
  --hero-c: #8F7BFF;
}
svg { flex-shrink: 0; vertical-align: middle; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.65; font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
svg { vertical-align: middle; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { line-height: 1.35; font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
/* 锚点跳转时给吸顶头部留出空间，目标标题不被盖住 */
.doc-live h1[id], .doc-live h2[id], .doc-live h3[id],
.doc-sec[id], .doc-sec h2 { scroll-margin-top: calc(var(--header-h) + 24px); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 50%; background: var(--brand); overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.brand-mark svg { width: 18px; height: 18px; color: #fff; }
/* 品牌 logo 图片：圆形裁切，直接引用现成 logo 文件（logo 文件本身不做任何改动） */
.brand-mark img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.brand-text { font-size: 17px; font-weight: 700; color: var(--text); white-space: nowrap; letter-spacing: -.3px; }
.brand-text span { color: var(--muted); font-weight: 500; margin-left: 2px; }

.top-nav { display: flex; gap: 4px; flex-shrink: 0; }
.top-nav a {
  color: var(--muted); font-size: 14px; padding: 7px 12px; border-radius: var(--radius-sm); white-space: nowrap;
}
.top-nav a:hover { color: var(--text); background: var(--line-light); }
.top-nav a.active { color: var(--brand); background: var(--brand-soft); font-weight: 600; }

.search-box { position: relative; flex: 1; max-width: 260px; margin-left: auto; }
.search-box input {
  width: 100%; height: 36px; border: 1px solid var(--line); border-radius: 999px;
  padding: 0 14px 0 34px; font-size: 13.5px; background: var(--bg); outline: none; font-family: inherit;
  transition: all .2s; color: var(--text);
}
.search-box input:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px var(--ring); }
.search-box .search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--subtle); pointer-events: none; width: 15px; height: 15px; }
.search-pop {
  display: none; position: absolute; top: 42px; right: 0; width: 360px; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow-hover); border: 1px solid var(--line);
  max-height: 420px; overflow-y: auto; padding: 6px;
}
.search-pop.open { display: block; }
.sp-item { display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text); }
.sp-item:hover { background: #F9FAFB; }
.sp-item .sp-t { font-weight: 600; font-size: 13.5px; display: block; }
.sp-item mark { background: #D9F5EA; color: inherit; border-radius: 3px; padding: 0 1px; }
.sp-item .sp-m { font-size: 12px; color: var(--muted); display: block; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-all { display: block; text-align: center; padding: 10px; font-size: 13px; color: var(--brand); border-top: 1px solid var(--line); margin-top: 4px; }
.sp-empty { padding: 18px; text-align: center; color: var(--muted); font-size: 13px; }

.menu-toggle { display: none; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--text); }

/* ---------- Hero（品牌渐变，云旗绿 / 云芯紫） ---------- */
.hero {
  background:
    radial-gradient(1200px 420px at 85% -10%, rgba(255,255,255,.14), transparent 60%),
    linear-gradient(115deg, var(--hero-a) 0%, var(--hero-b) 58%, var(--hero-c) 100%);
  color: #fff; padding: 64px 0 72px;
}
.hero-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.92); font-size: 12.5px;
  padding: 4px 14px; border-radius: 999px; margin-bottom: 20px; backdrop-filter: blur(4px);
}
.hero h1 { font-size: 38px; font-weight: 700; letter-spacing: -1px; margin-bottom: 12px; color: #fff; }
.hero .sub { font-size: 16.5px; color: rgba(255,255,255,.85); margin-bottom: 32px; }
.hero-search { position: relative; max-width: 620px; margin: 0 auto 26px; }
.hero-search input {
  width: 100%; height: 54px; border: 1px solid transparent; border-radius: 999px;
  padding: 0 20px 0 48px; font-size: 15px; outline: none; background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.16); color: var(--text); font-family: inherit; transition: all .2s;
}
.hero-search input:focus { box-shadow: 0 0 0 4px var(--ring), 0 10px 30px rgba(0,0,0,.16); }
.hero-search .search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--brand); width: 20px; height: 20px; }

.hero-tags { margin-top: 24px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-tags button {
  border: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.10); color: rgba(255,255,255,.92);
  border-radius: 999px; padding: 6px 15px; font-size: 13px; cursor: pointer; transition: all .18s; font-family: inherit;
}
.hero-tags button:hover { background: #fff; border-color: #fff; color: var(--brand); }

/* ---------- 通用组件 ---------- */
.section { padding: 56px 0 8px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; gap: 16px; }
.section-head h2 { font-size: 22px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 10px; }
.section-head h2 .sec-icon { color: var(--brand); }
.section-head .more { font-size: 13.5px; color: var(--muted); }
.section-head .more:hover { color: var(--brand); }
.section-desc { color: var(--muted); font-size: 14.5px; margin-top: -14px; margin-bottom: 22px; }

.btn-primary { display: inline-flex; align-items: center; gap: 6px; background: var(--brand); color: #fff; border-radius: 999px; padding: 9px 18px; font-weight: 500; font-size: 14px; transition: all .18s; border: 0; cursor: pointer; font-family: inherit; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-primary.secondary { background: var(--bg); color: var(--text); border: 1px solid var(--line); }
.btn-primary.secondary:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

.panel-tip { background: var(--brand-soft); border: 1px solid var(--brand-border); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 13.5px; color: var(--brand-text); margin: 16px 0; }
.panel-tip.warn { background: #FFFBEB; border-color: #FDE68A; color: #92400E; }
.panel-tip.neutral { background: #F9FAFB; border-color: var(--line); color: var(--muted); }
/* 提示条：左侧徽标 + 右侧操作按钮 */
.panel-tip.tip-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.panel-tip.tip-bar .btn-primary { padding: 7px 14px; font-size: 13.5px; }

.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--line-light); color: var(--muted); }
.tag-green { background: var(--brand-soft); color: var(--brand-text); }
.tag-purple { background: var(--purple-soft); color: #574CC8; }
.tag-blue { background: #EFF6FF; color: #1D4ED8; }
.tag-amber { background: #FFFBEB; color: #92400E; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state .es-icon { font-size: 36px; margin-bottom: 10px; }
.empty-state p { font-size: 14px; }

.img-ph { display: inline-flex; align-items: center; justify-content: center; text-align: center; background: var(--line-light); color: var(--muted); font-size: 12px; border: 1px dashed var(--line); border-radius: var(--radius-sm); min-height: 72px; padding: 8px 12px; }

/* ---------- 入口卡 ---------- */
.entry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.entry-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px; transition: all .2s; display: flex; flex-direction: column; gap: 10px;
}
.entry-card:hover { border-color: var(--brand); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.entry-card:hover .entry-title { color: var(--brand); }
.entry-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.entry-icon svg { width: 20px; height: 20px; }
.entry-title { font-size: 16px; font-weight: 600; color: var(--text); }
.entry-card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ---------- 品牌介绍条 ---------- */
.brand-bar {
  display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 22px; margin-bottom: 20px;
}
.brand-bar .bb-logo { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 14px; }
.brand-bar[data-brand="yx"] .bb-logo { background: var(--purple-soft); color: var(--purple); }
.brand-bar .bb-info h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.brand-bar .bb-info h3 span { font-size: 12px; color: var(--brand); background: var(--brand-soft); padding: 2px 8px; border-radius: 999px; font-weight: 500; }
.brand-bar[data-brand="yx"] .bb-info h3 span { color: var(--purple); background: var(--purple-soft); }
.brand-bar .bb-info p { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

/* ---------- 模块卡片 ---------- */
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.module-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: all .18s; position: relative; overflow: hidden;
}
.module-card:hover { border-color: var(--brand); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.module-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brand); opacity: 0; transition: opacity .18s; }
.module-card:hover::before { opacity: 1; }
.mc-top { display: flex; align-items: center; gap: 12px; }
.mc-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0;
}
body[data-brand="yx"] .module-card:hover { border-color: var(--purple); }
body[data-brand="yx"] .module-card::before { background: var(--purple); }
body[data-brand="yx"] .mc-icon { background: var(--purple-soft); color: var(--purple); }
.mc-top h3 { font-size: 15.5px; font-weight: 600; flex: 1; }
.mc-no { font-size: 12px; color: var(--subtle); font-weight: 400; }
.module-card > p { font-size: 13.5px; color: var(--muted); line-height: 1.65; flex: 1; }
.mc-foot { font-size: 13px; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; }
.mc-foot svg { width: 14px; height: 14px; }
body[data-brand="yx"] .mc-foot { color: var(--purple); }

/* ---------- 功能模块介绍页 ---------- */
.mi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mi-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: all .18s;
}
.mi-card:hover { border-color: var(--brand); box-shadow: var(--shadow-hover); }
.mi-head { display: flex; gap: 14px; margin-bottom: 14px; }
.mi-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; flex-shrink: 0; }
body[data-brand="yx"] .mi-icon { background: var(--purple-soft); color: var(--purple); }
.mi-head h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.mi-head h3 .mi-no { font-size: 12px; color: var(--subtle); font-weight: 400; }
.mi-head p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.mi-secs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.mi-secs a { font-size: 13px; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.mi-secs a:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }
body[data-brand="yx"] .mi-secs a:hover { color: var(--purple); border-color: var(--purple); background: var(--purple-soft); }
.mi-foot { font-size: 13px; font-weight: 600; color: var(--brand); }
body[data-brand="yx"] .mi-foot { color: var(--purple); }

/* ---------- FAQ ---------- */
.faq-search input {
  width: 100%; max-width: 480px; height: 44px; border: 1px solid var(--line); border-radius: 999px;
  padding: 0 18px 0 42px; font-size: 14px; background: #fff; outline: none; font-family: inherit;
}
.faq-search { position: relative; margin-bottom: 16px; }
.faq-search .search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--subtle); width: 16px; height: 16px; }
.faq-group { margin-bottom: 28px; }
.faq-group-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.faq-group-head a { font-size: 16px; font-weight: 600; color: var(--text); }
.faq-group-head a:hover { color: var(--brand); }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 8px; overflow: hidden; }
.faq-item summary { padding: 14px 18px; font-size: 14px; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq-item summary .faq-q { flex: 1; min-width: 0; }
/* 高亮统一荧光黄（用户指定保留原色） */
.faq-item mark, .result-item mark { background: #ffff00; color: inherit; border-radius: 3px; padding: 0 1px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 18px; color: var(--subtle); }
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { background: #F9FAFB; }
.faq-a { padding: 0 18px 16px; font-size: 14px; color: var(--muted); line-height: 1.75; }
.faq-a p { margin-bottom: .6em; }
.faq-a p:last-child { margin-bottom: 0; }

/* ---------- 文档页 ---------- */
.doc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding-top: 32px; padding-bottom: 60px; }
.doc-toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
.toc-brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.toc-brand img { width: 24px; height: 24px; border-radius: 6px; }
.toc-ch { margin-bottom: 4px; }
.toc-ch > a { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: var(--radius-sm); font-size: 13.5px; color: var(--muted); }
.toc-ch > a:hover { background: var(--line-light); color: var(--text); }
.toc-ch > a.active { background: var(--brand-soft); color: var(--brand-text); font-weight: 600; }
.toc-sec { padding-left: 12px; border-left: 1px solid var(--line); margin: 4px 0 8px 10px; }
.toc-sec a { display: block; padding: 5px 10px; font-size: 12.5px; color: var(--muted); border-radius: 6px; }
.toc-sec a:hover { color: var(--brand); }
.toc-sec a.active { color: var(--brand); font-weight: 600; background: var(--brand-soft); }
.doc-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.doc-breadcrumb a { color: var(--muted); }
.doc-breadcrumb a:hover { color: var(--brand); }
.doc-breadcrumb span { color: var(--text); }
.doc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.doc-h1 { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 700; margin-bottom: 24px; flex-wrap: wrap; }
.doc-h1 .d-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; }
.doc-h1 .doc-meta { font-size: 12px; font-weight: 400; margin-left: auto; }
.doc-h1 .doc-meta a { display: inline-flex; align-items: center; gap: 4px; }
.doc-sec { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line-light); }
.doc-sec:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.doc-sec h2 { font-size: 18px; margin-bottom: 14px; color: var(--text); }
.doc-sec h3 { font-size: 15px; margin: 18px 0 10px; }
.doc-sec p { font-size: 14.5px; color: var(--muted); margin-bottom: 12px; line-height: 1.75; }
.doc-sec ul, .doc-sec ol { margin: 0 0 14px 20px; color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.doc-sec li { margin-bottom: 4px; }
.doc-sec img.doc-img { max-width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 10px 0; }
.doc-sec .img-placeholder { display: inline-block; padding: 10px 14px; background: var(--line-light); border: 1px dashed var(--line); border-radius: var(--radius-sm); color: var(--muted); font-size: 13px; }
.doc-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc-pager a { flex: 1; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; color: var(--text); }
.doc-pager a:hover { border-color: var(--brand); }
.doc-pager .pager-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.doc-pager strong { font-size: 14px; font-weight: 600; }

/* ---------- 视频中心 ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.video-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .18s; }
.video-card:hover { border-color: var(--brand); box-shadow: var(--shadow-hover); }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #0F1E1A; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 2; }
.video-missing { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: rgba(255,255,255,.85); font-size: 13.5px; background: linear-gradient(135deg, #123B31, #1C5F49); text-align: center; padding: 14px; }
.video-missing svg { width: 28px; height: 28px; color: rgba(255,255,255,.7); }
.vm-path { font-size: 11px; color: rgba(255,255,255,.45); word-break: break-all; }
.video-body { padding: 16px; }
.video-body h4 { font-size: 15px; margin-bottom: 4px; }
.video-body p { font-size: 13px; color: var(--muted); }

/* ---------- 下载中心 ---------- */
.arch-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px; }
.arch-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.arch-row:last-child { border-bottom: 0; }
.arch-row strong { flex-shrink: 0; width: 180px; color: var(--text); }
.arch-row span { color: var(--muted); }
.dl-table { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.dl-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.dl-row:last-child { border-bottom: 0; }
.dl-name strong { display: block; font-size: 14.5px; }
.dl-name span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.dl-links { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.dl-links > a { font-size: 13px; border: 1px solid var(--line); color: var(--text); border-radius: var(--radius-sm); padding: 5px 12px; background: var(--bg); }
.dl-links > a:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.dl-tbd { font-size: 13px; color: var(--muted); background: var(--line-light); border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 5px 12px; }
/* 配图链接（如 APP 安装二维码）：竖排卡片，二维码在上、说明在下，尺寸紧凑不撑高整行；点击图片可放大 */
.dl-figure {
  margin: 0; display: inline-flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 8px 12px 7px; background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; transition: border-color .18s, box-shadow .18s;
}
.dl-figure:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.dl-figure-img {
  width: 64px; height: 64px; object-fit: contain; cursor: zoom-in; flex-shrink: 0;
  background: #fff; border-radius: 8px; padding: 3px; box-shadow: var(--shadow);
  transition: transform .18s, box-shadow .18s;
}
.dl-figure-img:hover { transform: scale(1.05); box-shadow: var(--shadow-hover); }
.dl-figure figcaption { font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.4; white-space: nowrap; }

/* ---------- 更新说明 ---------- */
.cl-timeline { display: flex; flex-direction: column; gap: 16px; }
.cl-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cl-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.cl-ver { font-size: 16px; font-weight: 700; color: var(--brand); }
.cl-date { font-size: 13px; color: var(--muted); }
.cl-scope { font-size: 12px; color: var(--muted); background: var(--line-light); border-radius: 999px; padding: 2px 10px; }
.cl-body { padding: 16px 20px; }
.cl-block { padding: 10px 0; border-bottom: 1px solid var(--line-light); }
.cl-block:last-child { border-bottom: 0; padding-bottom: 0; }
.cl-block:first-child { padding-top: 0; }
.cl-line { display: flex; gap: 10px; align-items: baseline; padding: 3px 0; font-size: 14px; flex-wrap: wrap; }
.cl-tag { font-size: 11.5px; border-radius: 6px; padding: 2px 8px; flex-shrink: 0; font-weight: 500; }
.t-new { background: var(--brand-soft); color: var(--brand-text); }
.t-fix { background: #FEF3C7; color: #92400E; }
.t-ui { background: #EFF6FF; color: #1D4ED8; }
.t-warn { background: #FFFBEB; color: #92400E; }
.cl-k { font-size: 12.5px; color: var(--subtle); flex-shrink: 0; width: 64px; }
.cl-impact { font-size: 12.5px; color: var(--muted); }
.cl-notes { margin: 6px 0 0 18px; font-size: 13.5px; color: var(--muted); }
.cl-mini { display: flex; flex-direction: column; gap: 8px; }
.cl-mini-item { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; color: var(--text); transition: all .18s; }
.cl-mini-item:hover { border-color: var(--brand); background: var(--brand-soft); }
.cl-mini-ver { font-weight: 700; color: var(--brand); font-size: 14px; flex-shrink: 0; }
.cl-mini-date { font-size: 12.5px; color: var(--muted); flex-shrink: 0; }
.cl-mini-txt { font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 产品试用 ---------- */
.trial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.trial-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.trial-card h3 { font-size: 16px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.cred-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-light); font-size: 14px; }
.cred-row:last-child { border-bottom: 0; }
.cred-row > span:first-child { width: 72px; color: var(--muted); flex-shrink: 0; font-size: 13px; }
.cred-row code { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; font-size: 13.5px; font-family: ui-monospace, Consolas, monospace; }
.copy-btn { border: 1px solid var(--line); background: #fff; color: var(--brand); border-radius: var(--radius-sm); padding: 3px 12px; font-size: 13px; cursor: pointer; font-family: inherit; }
.copy-btn:hover { border-color: var(--brand); background: var(--brand-soft); }
.env-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.notice-list { margin: 0; padding-left: 18px; font-size: 14px; color: var(--muted); }
.notice-list li { padding: 4px 0; }
.flow-steps { margin: 0 0 14px 18px; font-size: 14px; color: var(--text); }
.flow-steps li { padding: 5px 0; }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.ct-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ct-icon svg { width: 20px; height: 20px; }
.ct-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ct-label { font-size: 12.5px; color: var(--muted); margin-bottom: 2px; }
.ct-value { font-size: 15px; font-weight: 600; color: var(--text); word-break: break-all; }
.ct-value a { font-weight: 600; }
.ct-hint { font-size: 12px; color: var(--subtle); margin-top: 4px; }
.ct-qr { text-align: center; flex-shrink: 0; margin-left: auto; }
.ct-qr img { width: 72px; height: 72px; border-radius: var(--radius-sm); border: 1px solid var(--line); object-fit: contain; }
.ct-qr span { display: block; font-size: 11px; color: var(--subtle); margin-top: 3px; }
.qr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.qr-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.qr-img { width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; }
.qr-img img { width: 100%; height: 100%; object-fit: contain; }
.qr-card strong { font-size: 14px; }
.qr-card span { font-size: 12.5px; color: var(--muted); }

/* ---------- 页头页脚 ---------- */
.page-head { padding: 36px 0 28px; }
.page-head h1 { font-size: 28px; font-weight: 700; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.page-head p { font-size: 15px; color: var(--muted); }

.site-footer { background: #111827; color: #9CA3AF; padding: 48px 0 24px; margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-mark { background: rgba(255,255,255,.12); }
.footer-brand strong { color: #fff; font-size: 15px; }
.footer-brand p { font-size: 13px; margin-top: 2px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: #9CA3AF; font-size: 13.5px; }
.footer-links a:hover { color: #fff; }
.footer-copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; font-size: 12.5px; text-align: center; color: #6B7280; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 10px 0; row-gap: 10px; }
  .search-box { order: 5; max-width: none; flex-basis: 100%; }
  .top-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px; flex-direction: column; }
  .top-nav.open { display: flex; }
  .menu-toggle { display: block; margin-left: auto; }
  .hero h1 { font-size: 28px; }
  .entry-grid { grid-template-columns: repeat(2, 1fr); }
  .module-grid, .video-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .mi-grid, .trial-grid { grid-template-columns: 1fr; }
  .qr-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-toc { display: none; }
  .slide-body { max-width: 100%; }
  .slide-img { display: none; }
}
@media (max-width: 560px) {
  .hero { padding: 40px 0 48px; }
  .hero h1 { font-size: 24px; }
  .entry-grid, .module-grid, .video-grid, .contact-grid, .qr-grid { grid-template-columns: 1fr; }
  .doc-card { padding: 22px; }
  .slide { padding: 28px; min-height: 220px; }
}

/* ---------- 搜索结果 ---------- */
.result-list { display: flex; flex-direction: column; gap: 10px; }
.result-item { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; transition: all .18s; }
.result-item:hover { border-color: var(--brand); background: var(--brand-soft); }
.result-item .r-t { display: block; font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.result-item .r-x { display: block; font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ---------- 图片灯箱 ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.88); display: flex; align-items: center; justify-content: center; cursor: zoom-out; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, visibility .18s ease; }
.lightbox.show { opacity: 1; visibility: visible; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.lb-close { position: absolute; top: 20px; right: 24px; color: #fff; font-size: 32px; line-height: 1; opacity: .7; }
.lb-tip { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); font-size: 13px; }

/* ---------- 补充 ---------- */
.faq-wrap { display: flex; flex-direction: column; gap: 8px; }
.group-desc { color: var(--muted); font-size: 14px; margin: -8px 0 18px; }
.filter-note { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.r-m { display: block; font-size: 12px; color: var(--subtle); margin-top: 2px; }
.doc-main { min-width: 0; }

/* ---------- 语雀实时内容适配 ---------- */
.sync-badge { display: inline-flex; align-items: center; gap: 6px; margin-right: 12px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.6; }
.sync-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sync-badge.live { background: var(--ring); color: var(--brand); }
.sync-badge.live .dot { animation: pulse 2s infinite; }
.sync-badge.offline { background: var(--line-light); color: var(--subtle); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* 语雀正文（lake 富文本）落到本站样式体系 */
.doc-live { font-size: 14.5px; color: var(--text); line-height: 1.8; }
.doc-live > *:first-child { margin-top: 0; }
.doc-live h1, .doc-live h2, .doc-live h3, .doc-live h4 { color: var(--text); scroll-margin-top: 90px; }
.doc-live h1 { font-size: 21px; font-weight: 700; margin: 34px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line-light); }
.doc-live h2 { font-size: 18px; font-weight: 700; margin: 28px 0 12px; }
.doc-live h3 { font-size: 15.5px; font-weight: 600; margin: 22px 0 10px; }
.doc-live h4 { font-size: 14.5px; font-weight: 600; margin: 18px 0 8px; color: var(--muted); }
.doc-live p { margin: 0 0 13px; color: var(--muted); }
.doc-live ul, .doc-live ol { margin: 0 0 14px 22px; color: var(--muted); }
.doc-live li { margin-bottom: 5px; }
.doc-live li > p { margin-bottom: 6px; }
.doc-live strong { color: var(--text); font-weight: 600; }
.doc-live a { color: var(--brand); }
.doc-live a:hover { text-decoration: underline; }
.doc-live code { padding: 2px 6px; background: var(--line-light); border-radius: 4px; font-family: Consolas, Monaco, monospace; font-size: 13px; color: var(--text); }
.doc-live blockquote { margin: 0 0 14px; padding: 10px 16px; border-left: 3px solid var(--brand); background: var(--brand-soft); color: var(--muted); }
.doc-live img.doc-img { max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 12px 0; cursor: zoom-in; }
.doc-live hr { border: 0; border-top: 1px solid var(--line-light); margin: 26px 0; }
.doc-live .lake-card, .doc-live .lake-video, .doc-live iframe { max-width: 100%; margin: 12px 0; }
.doc-live iframe { width: 100%; aspect-ratio: 16/9; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.doc-live table, .table-wrap table { width: 100%; border-collapse: collapse; font-size: 13.5px; background: #fff; }
.doc-live th, .doc-live td, .table-wrap th, .table-wrap td { border: 1px solid var(--line-light); padding: 9px 12px; text-align: left; line-height: 1.6; }
.doc-live th, .table-wrap th { background: var(--bg-soft); font-weight: 600; color: var(--text); white-space: nowrap; }
.doc-alert { margin: 14px 0; padding: 12px 16px; border-left: 3px solid var(--brand); background: var(--brand-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
@media (max-width: 720px) { .sync-badge { display: none; } }

/* ================= 大气版排版（v3 覆盖层：内容区加宽 + 全站字号再上调一档） ================= */
:root { --maxw: 1360px; }

html { -webkit-text-size-adjust: 100%; }
body { font-size: 18px; line-height: 1.8; }

/* 头部导航 */
.brand-text { font-size: 20px; }
.brand-mark { width: 38px; height: 38px; }
.brand-mark svg { width: 22px; height: 22px; }
.top-nav a { font-size: 16.5px; padding: 8px 15px; }
.search-box { max-width: 320px; }
.search-box input { font-size: 16.5px; height: 42px; }
.sp-item .sp-t { font-size: 16.5px; }
.sp-item .sp-m { font-size: 15px; }
.sp-all, .sp-empty { font-size: 15px; }

/* Hero */
.hero { padding: 62px 0 54px; }
.hero h1 { font-size: 56px; letter-spacing: -1.4px; line-height: 1.22; }
.hero .sub { font-size: 21px; margin-bottom: 36px; }
.hero-search { max-width: 700px; }
.hero-search input { font-size: 17px; height: 56px; }
.hero-tags button { font-size: 14.5px; padding: 8px 17px; }

/* 通用标题 */
.section-head h2 { font-size: 32px; line-height: 1.3; }
.section-head .more { font-size: 15.5px; }
.section-desc { font-size: 17.5px; }
.page-head { padding: 48px 0 34px; }
.page-head h1 { font-size: 40px; line-height: 1.25; }
.page-head p { font-size: 18.5px; }
.btn-primary { font-size: 16px; padding: 11px 22px; }
.panel-tip { font-size: 15.5px; padding: 14px 18px; }
.tag { font-size: 13.5px; padding: 3px 10px; }
.empty-state p { font-size: 16px; }
.group-desc { font-size: 16.5px; }
.filter-note { font-size: 15px; }

/* 首页快速入口 / 品牌条 */
.entry-title { font-size: 20px; }
.entry-card p { font-size: 16.5px; }
.brand-bar .bb-info h3 { font-size: 19px; }
.brand-bar .bb-info h3 span { font-size: 13.5px; }
.brand-bar .bb-info p { font-size: 15.5px; }
.result-item .r-t { font-size: 17px; }
.result-item .r-x { font-size: 15.5px; }

/* 模块卡 / 功能模块页 */
.module-card .mc-top h3 { font-size: 20px; }
.module-card .mc-no { font-size: 13.5px; }
.module-card > p { font-size: 16.5px; line-height: 1.7; }
.mc-foot { font-size: 15px; }
.mi-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mi-head h3 { font-size: 21px; }
.mi-head p { font-size: 16.5px; line-height: 1.7; }
.mi-secs a { font-size: 15px; padding: 5px 13px; }
.mi-foot { font-size: 15px; }

/* FAQ */
.faq-group-head a { font-size: 19px; }
.faq-item summary { font-size: 17.5px; padding: 17px 22px; line-height: 1.6; }
.faq-a { font-size: 17px; padding: 0 22px 20px; line-height: 1.85; }
.faq-search input { font-size: 15px; height: 42px; }

/* 文档页 */
.doc-layout { grid-template-columns: 280px 1fr; gap: 48px; }
.doc-breadcrumb { font-size: 15px; }
.doc-h1 { font-size: 36px; line-height: 1.3; }
.doc-h1 .doc-meta { font-size: 14px; }
.doc-sec h2 { font-size: 23px; }
.doc-sec h3 { font-size: 18.5px; }
.doc-sec p, .doc-sec ul, .doc-sec ol { font-size: 18px; line-height: 1.9; }
.toc-brand { font-size: 16px; }
.toc-ch > a { font-size: 16.5px; padding: 8px 12px; }
.toc-sec a { font-size: 15.5px; padding: 6px 12px; }
.doc-pager .pager-label { font-size: 13px; }
.doc-pager strong { font-size: 16px; }
.sync-badge { font-size: 13px; }

/* 语雀实时正文（v2 遗漏，此处补齐并放大） */
.doc-live { font-size: 18px; line-height: 1.95; }
.doc-live h1 { font-size: 29px; margin: 38px 0 16px; }
.doc-live h2 { font-size: 25px; margin: 32px 0 14px; }
.doc-live h3 { font-size: 21px; margin: 26px 0 12px; }
.doc-live h4 { font-size: 18px; }
.doc-live p, .doc-live li { font-size: 18px; line-height: 1.95; }
.doc-live ul, .doc-live ol { line-height: 1.9; }
.doc-live blockquote { font-size: 17.5px; }
.doc-live code { font-size: 15px; padding: 2px 7px; }
.doc-live pre code { font-size: 14.5px; }
.doc-live img { max-width: 100%; border-radius: 8px; }
.doc-live table, .table-wrap table { font-size: 16.5px; }
.doc-live th, .doc-live td, .table-wrap th, .table-wrap td { padding: 11px 15px; line-height: 1.7; }

/* 视频中心 */
.video-body h4 { font-size: 19px; }
.video-body p { font-size: 16px; }
.video-missing { font-size: 15.5px; }
.vm-path { font-size: 12px; }

/* 下载 / 更新 / 试用 / 联系 */
.dl-name strong { font-size: 16.5px; }
.dl-name span { font-size: 14.5px; }
.dl-links > a { font-size: 15px; padding: 6px 14px; }
.dl-tbd { font-size: 14px; }
.dl-figure-img { width: 72px; height: 72px; }
.dl-figure figcaption { font-size: 13px; color: var(--text); }
.cl-ver { font-size: 19px; }
.cl-date { font-size: 14.5px; }
.cl-line { font-size: 17px; }
.cl-tag { font-size: 13px; }
.cl-k { font-size: 14.5px; }
.cl-impact { font-size: 14.5px; }
.cl-notes { font-size: 15.5px; }
.cl-mini-ver { font-size: 16px; }
.cl-mini-date { font-size: 13.5px; }
.cl-mini-txt { font-size: 15.5px; }
.trial-card h3 { font-size: 18.5px; }
.cred-row { font-size: 16px; padding: 10px 0; }
.cred-row > span:first-child { width: 80px; font-size: 14px; }
.cred-row code { font-size: 15.5px; }
.copy-btn { font-size: 14px; }
.env-note { font-size: 14px; }
.notice-list, .flow-steps { font-size: 17px; line-height: 1.8; }
.ct-value { font-size: 17px; }
.ct-label { font-size: 14.5px; }
.ct-hint { font-size: 13.5px; }
.qr-card strong { font-size: 16px; }
.qr-card span { font-size: 14px; }

/* 页脚 */
.footer-brand strong { font-size: 17px; }
.footer-brand p { font-size: 14.5px; }
.footer-links a { font-size: 16px; }
.footer-copy { font-size: 14px; }

/* 响应式微调 */
@media (max-width: 1180px) { .mi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .mi-grid { grid-template-columns: 1fr; }
  .doc-layout { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .page-head h1 { font-size: 28px; }
  .section-head h2 { font-size: 22px; }
  .doc-h1 { font-size: 26px; }
  .doc-live { font-size: 17px; }
}

/* ---------- v5 覆盖层：搜索范围下拉 + 首页常见问题卡片 ---------- */
.search-box { display: flex; align-items: center; gap: 6px; max-width: 380px; }
.search-box input { flex: 1; min-width: 0; width: auto; }
.search-scope {
  height: 36px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--muted); font-size: 13px; padding: 0 6px;
  outline: none; cursor: pointer; font-family: inherit; flex-shrink: 0; max-width: 96px;
  transition: all .2s;
}
.search-scope:hover, .search-scope:focus { border-color: var(--brand); color: var(--text); background: #fff; }
.sp-tag {
  display: inline-block; font-size: 11px; font-weight: 600; line-height: 1;
  padding: 3px 7px; border-radius: 999px; margin-right: 7px; vertical-align: 1px;
  background: var(--brand-soft); color: var(--brand);
}
.result-toolbar {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: 14px; color: var(--muted);
}
.result-toolbar .search-scope { height: 38px; font-size: 14px; padding: 0 10px; max-width: 140px; }
.faq-prev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.faq-prev {
  display: block; padding: 14px 16px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: all .18s; color: var(--text);
}
.faq-prev:hover { border-color: var(--brand); background: var(--brand-soft); transform: translateY(-1px); }
.faq-prev .fp-q { display: block; font-weight: 600; font-size: 16px; line-height: 1.5; }
.faq-prev .fp-a {
  display: block; margin-top: 6px; font-size: 14.5px; color: var(--muted); line-height: 1.6;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
@media (max-width: 900px) {
  .faq-prev-grid { grid-template-columns: minmax(0, 1fr); }
  .search-box { flex-basis: 100%; }
}

/* ---------- v5b 修正：FAQ 卡片溢出 ---------- */
.faq-prev-grid > * { min-width: 0; max-width: 100%; }
.faq-prev { overflow: hidden; }
.faq-prev .fp-q, .faq-prev .fp-a { max-width: 100%; }

/* ---------- v5c 修正：范围下拉移入搜索框内（左侧），搜索图标移到右侧 ---------- */
.search-box {
  display: flex; align-items: center; gap: 6px; max-width: 380px;
  height: 36px; padding: 0 12px 0 4px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg);
  transition: all .2s;
}
.search-box:focus-within { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px var(--ring); }
.search-box input {
  flex: 1; min-width: 0; width: auto; height: 100%;
  border: 0; background: transparent; padding: 0; box-shadow: none; font-size: 13.5px;
}
.search-box input:focus { border: 0; background: transparent; box-shadow: none; }
.search-box .search-scope {
  height: 24px; border: 0; border-right: 1px solid var(--line); border-radius: 0;
  background: transparent; padding: 0 4px 0 8px; max-width: 86px;
  font-size: 12.5px; color: var(--muted); flex-shrink: 0; cursor: pointer;
}
.search-box .search-scope:hover, .search-box .search-scope:focus { border-color: var(--line); background: transparent; color: var(--text); }
.search-box .search-icon {
  position: static; transform: none; left: auto; width: 15px; height: 15px;
  color: var(--subtle); flex-shrink: 0; pointer-events: none;
}

/* ---------- v5e：文档内搜索工具条 + 命中高亮 ---------- */
.doc-find {
  position: sticky; top: calc(var(--header-h) + 12px); z-index: 30;
  display: flex; align-items: center; gap: 4px; width: max-content;
  margin: 0 0 14px auto; padding: 5px 8px 5px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow);
}
.doc-find input {
  width: 190px; border: 0; background: transparent; outline: none;
  font-size: 14px; color: var(--text); font-family: inherit; height: 28px;
  transition: width .2s;
}
.doc-find input:focus { width: 250px; }
.doc-find input::placeholder { color: var(--subtle); }
.doc-find .df-count { font-size: 12.5px; color: var(--muted); min-width: 44px; text-align: center; white-space: nowrap; }
.df-btn {
  border: 0; background: transparent; cursor: pointer; color: var(--muted);
  width: 26px; height: 26px; border-radius: 50%; font-size: 14px; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: all .15s; font-family: inherit;
}
.df-btn:hover { background: var(--line-light); color: var(--text); }
.df-btn.df-clear:hover { background: #FEECEC; color: #C0392B; }
mark.doc-hl { background: #ffff00; color: inherit; border-radius: 2px; padding: 0 1px; }
mark.doc-hl.fz { background: #ffe680; }
mark.doc-hl.cur { background: #ff9632; color: #fff; }

/* ---------- v5f 修正：框内搜索图标可点击 ---------- */
.search-box .search-icon {
  pointer-events: auto; cursor: pointer; width: 16px; height: 16px;
  color: var(--brand); transition: transform .15s;
}
.search-box .search-icon:hover { transform: scale(1.15); }

/* ---------- v5g：联系我们整页重设计 ---------- */
.contact-hero {
  background: linear-gradient(120deg, var(--hero-a) 0%, var(--hero-b) 60%, var(--hero-c) 100%);
  color: #fff; padding: 64px 0 56px;
}
body[data-brand="yx"] .contact-hero {
  background: linear-gradient(120deg, #3B2FA0 0%, var(--hero-b) 60%, var(--hero-c) 100%);
}
.contact-hero h1 { font-size: 44px; font-weight: 800; margin: 0 0 12px; letter-spacing: 1px; }
.contact-hero p { font-size: 18px; margin: 0 0 22px; opacity: .92; }
.contact-hero .ch-hours {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  font-size: 14px; backdrop-filter: blur(4px);
}
/* 联系卡：竖排居中，图标徽章在顶部 */
.contact-grid .ct-v {
  flex-direction: column; align-items: center; text-align: center;
  padding: 30px 20px 26px; gap: 6px; transition: all .2s;
}
.contact-grid .ct-v:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: var(--shadow-hover); }
.ct-v .ct-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center; margin-bottom: 8px;
}
.ct-v .ct-icon svg { width: 26px; height: 26px; }
.ct-v .ct-label { font-size: 14px; color: var(--muted); }
.ct-v .ct-value { font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: .3px; }
.ct-v a.ct-value { color: var(--brand-text); }
.ct-v .ct-hint { font-size: 13px; color: var(--subtle); line-height: 1.5; }
/* 二维码缺失占位 */
.qr-empty {
  width: 100%; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;
  background: var(--line-light); color: var(--subtle); font-size: 13px;
  border: 1px dashed var(--line); border-radius: var(--radius-sm);
}
@media (max-width: 900px) {
  .contact-hero h1 { font-size: 32px; }
  .contact-grid .ct-v { grid-column: 1 / -1; }
}

/* ---------- v6：下载中心二维码卡片（上下布局）---------- */
.dl-figure { padding: 10px 14px 8px; }
.dl-figure figcaption { color: var(--muted); }
@media (max-width: 560px) {
  .dl-figure-img { width: 56px; height: 56px; }
  .dl-figure { padding: 8px 10px 6px; }
  .dl-figure figcaption { font-size: 12px; }
}

/* ---------- v7：语雀式列表层级（平铺 + 每级 2em 缩进 + ● ○ ■ 符号） ----------
 * 语雀原页实测：正文里的列表项是平铺的兄弟节点，层级由 lake 的 ne-level 决定：
 *   每深入一级整体右移 30px（@15px 字号 = 2em），项目符号依次为 ● → ○ → ■。
 * 结构由 markdown.js 输出：.ne-list / .ne-li（--ne-lv = 层级）/ .ne-list-symbol。 */
.doc-live ul.ne-list, .doc-live ol.ne-list,
.doc-sec ul.ne-list, .doc-sec ol.ne-list {
  list-style: none;
  margin: 0 0 14px 0;
  padding-left: 0;                 /* 顶层列表与正文左边对齐（与语雀一致） */
}
.doc-live li.ne-li, .doc-sec li.ne-li {
  position: relative;
  padding-left: calc((var(--ne-lv, 0) + 1) * 2em);   /* 文本缩进：每级 2em，与语雀 30px/级同比 */
  margin-bottom: 4px;
}
.doc-live .ne-list-symbol, .doc-sec .ne-list-symbol {
  position: absolute;
  left: calc(var(--ne-lv, 0) * 2em + 1.1em);        /* 符号比文本靠左 0.9em，与语雀 13px 一致 */
  top: 0;
  width: 1.1em;
  text-align: left;
  color: inherit;
  font-weight: 400;
}
