/* 帮助中心 v2 · 文档站布局 */
.help-page{background:#f6f7f7}
.help-page .wrap{max-width:1560px}

/* ---------- 阅读进度 ---------- */
.hp-prog{position:fixed;left:0;top:0;height:2px;width:100%;background:transparent;z-index:60;pointer-events:none}
.hp-prog i{display:block;height:100%;width:0;background:#1f5c4a;transition:width .1s linear}

/* ---------- 首页 ---------- */
.hp-head{padding:34px 0 22px;border-bottom:1px solid #e7eae5;margin-bottom:26px}
.hp-head .eyebrow{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#9aa39d;margin:0 0 10px}
.hp-head h1{font-size:clamp(26px,3.1vw,34px);line-height:1.2;margin:0 0 10px;font-weight:600;letter-spacing:-.02em;color:#181f1b}
.hp-head p{margin:0;color:#5a6472;font-size:15px;line-height:1.7;max-width:40em}
.hp-search{position:relative;max-width:560px;margin-top:20px}
.hp-search svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:16px;height:16px;stroke:#9aa39d;fill:none;stroke-width:1.8}
.hp-search input{width:100%;height:46px;border:1px solid #dfe4e0;border-radius:10px;padding:0 96px 0 40px;font-size:14px;background:#fff;outline:none;transition:border-color .15s,box-shadow .15s}
.hp-search input:focus{border-color:#1f5c4a;box-shadow:0 0 0 3px rgba(31,92,74,.08)}
.hp-search .n{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:12px;color:#9aa39d;font-variant-numeric:tabular-nums}

.hp-shell{display:grid;grid-template-columns:224px minmax(0,1fr);gap:46px;align-items:start}

/* 左侧树 */
.hp-nav{position:sticky;top:86px;align-self:start}
.hp-nav .gt{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#9aa39d;margin:0 0 6px;padding-left:9px}
.hp-nav .grp{margin:0 0 18px}
.hp-nav a{display:block;padding:5px 9px;border-radius:6px;font-size:13px;line-height:1.5;color:#4b5550;text-decoration:none}
.hp-nav a:hover{background:#eff3ef;color:#1f5c4a}
.hp-nav a.on{background:#e8f0ea;color:#1f5c4a;font-weight:600}
.hp-nav .home{font-size:13px;color:#1f5c4a;font-weight:600;margin:0 0 16px}

/* 从这里开始 */
.hp-lab{display:flex;align-items:baseline;gap:10px;margin:0 0 12px}
.hp-lab b{font-size:15px;color:#181f1b;font-weight:600}
.hp-lab span{font-size:12px;color:#9aa39d}
.hp-start{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hp-start a{display:flex;gap:12px;align-items:flex-start;border:1px solid #e2e7e1;border-radius:10px;background:#fff;padding:14px 15px;text-decoration:none;color:inherit;transition:border-color .15s,background .15s}
.hp-start a:hover{border-color:#a9c3b5;background:#fcfdfc}
.hp-start .no{flex:0 0 auto;width:24px;height:24px;border-radius:6px;background:#eef3ef;color:#1f5c4a;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums;display:flex;align-items:center;justify-content:center;margin-top:1px}
.hp-start b{display:block;font-size:14px;font-weight:600;color:#1b211d;margin:0 0 3px}
.hp-start i{display:block;font-style:normal;font-size:12px;line-height:1.55;color:#6b7480}

/* 分类分组 */
.hp-sec{margin:34px 0 0}
.hp-sec>h2{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#6d766f;margin:0 0 2px;font-weight:600;display:flex;align-items:center;gap:8px}
.hp-sec>h2::before{content:'';width:3px;height:12px;background:#1f5c4a;border-radius:2px}
.hp-sec>p{margin:0 0 12px;font-size:12px;color:#9aa39d}
.hp-items{display:grid;grid-template-columns:1fr 1fr;gap:0 30px}
.hp-items a{display:flex;align-items:baseline;gap:10px;padding:12px 0;border-bottom:1px solid #edf0eb;text-decoration:none;color:#1b211d}
.hp-items a:hover{color:#1f5c4a}
.hp-items b{font-weight:500;font-size:14px}
.hp-items i{font-style:normal;font-size:12px;color:#9aa39d;margin-left:auto;white-space:nowrap}

.hp-foot{margin:40px 0 0;padding-top:18px;border-top:1px solid #e7eae5;font-size:13px;color:#8a929c}

/* ---------- 文章页 ---------- */
.hp-doc{display:grid;grid-template-columns:224px minmax(0,1fr) 196px;gap:46px;padding:34px 0 56px;align-items:start}
.hp-body{max-width:720px;min-width:0}
.hp-crumb{font-size:12px;color:#9aa39d;margin:0 0 14px}
.hp-crumb a{color:#5a6472;text-decoration:none}
.hp-crumb a:hover{color:#1f5c4a}
.hp-body h1{font-size:clamp(24px,2.6vw,31px);line-height:1.28;margin:0 0 12px;font-weight:600;letter-spacing:-.015em;color:#181f1b}
.hp-body .lede{font-size:15px;line-height:1.8;color:#5a6472;margin:0 0 8px;max-width:40em;padding-bottom:20px;border-bottom:1px solid #edf0eb}
.hp-body h2{font-size:18px;margin:36px 0 10px;padding-left:12px;border-left:3px solid #1f5c4a;font-weight:600;color:#181f1b;scroll-margin-top:86px;line-height:1.4}
.hp-body h3{font-size:15px;margin:22px 0 8px;font-weight:600}
.hp-body p{font-size:14px;line-height:1.85;color:#39424e;margin:0 0 14px}
.hp-body ul,.hp-body ol{font-size:14px;line-height:1.85;color:#39424e;padding-left:22px;margin:0 0 16px}
.hp-body li{margin:0 0 6px}
.hp-body li b{color:#181f1b}
.hp-body code{background:#f1f4f2;border:1px solid #e3e9e5;border-radius:4px;padding:1px 5px;font-size:13px}
.hp-body table{width:100%;border-collapse:collapse;margin:6px 0 18px;font-size:13px}
.hp-body th,.hp-body td{border-bottom:1px solid #e8ece9;padding:8px 10px;text-align:left;vertical-align:top;line-height:1.65}
.hp-body th{background:#f7f9f8;font-weight:600;color:#181f1b;white-space:nowrap}

.tip,.warn{border-radius:8px;padding:12px 14px;font-size:13px;line-height:1.75;margin:16px 0 18px;border-left:3px solid transparent}
.tip{background:#f2f7f4;border:1px solid #dce9e1;border-left-color:#1f5c4a;color:#2b4a3f}
.warn{background:#fdf7ee;border:1px solid #f0e2cd;border-left-color:#c98a2e;color:#6b4a1b}
.tip b,.warn b{font-weight:600}

/* 右侧目录 */
.hp-toc{position:sticky;top:86px;align-self:start;font-size:13px}
.hp-toc .st{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#9aa39d;margin:0 0 8px}
.hp-toc ul{list-style:none;margin:0;padding:0}
.hp-toc li{margin:0 0 2px}
.hp-toc a{display:block;padding:4px 9px;border-left:2px solid transparent;color:#6b7480;text-decoration:none;line-height:1.5;font-size:12px}
.hp-toc a:hover{color:#1f5c4a}
.hp-toc a.on{color:#1f5c4a;border-left-color:#1f5c4a;background:#f4f7f4;font-weight:600}

/* 上下篇 */
.hp-pager{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:40px 0 0;padding-top:22px;border-top:1px solid #e7eae5}
.hp-pager a{border:1px solid #e4e7e2;border-radius:9px;padding:12px 14px;text-decoration:none;background:#fff;transition:border-color .15s}
.hp-pager a:hover{border-color:#b9cdc2}
.hp-pager span{display:block;font-size:11px;color:#9aa39d;margin:0 0 4px}
.hp-pager b{font-size:13px;font-weight:500;color:#1b211d}
.hp-pager .nx{text-align:right}
.hp-pager .ph{visibility:hidden}

/* ---------- 响应式 ---------- */
@media (max-width:1180px){
  .hp-doc{grid-template-columns:200px minmax(0,1fr);gap:34px}
  .hp-toc{display:none}
}
@media (max-width:960px){
  .hp-shell,.hp-doc{grid-template-columns:1fr;gap:0}
  .hp-nav{position:static;margin:0 0 22px;padding:12px 14px 4px;background:#f5f8f5;border:1px solid #e6eae5;border-radius:10px}
  .hp-nav .grp{margin:0 0 10px}
  .hp-nav a{display:inline-block;padding:4px 10px;margin:0 4px 6px 0;border:1px solid #e0e6e0;background:#fff;border-radius:999px;font-size:12px}
  .hp-nav a.on{border-color:#bdd3c6}
  .hp-doc .hp-nav{margin:0 0 20px}
}
@media (max-width:700px){
  .hp-start{grid-template-columns:1fr}
  .hp-items{grid-template-columns:1fr}
  .hp-head{padding:24px 0 18px}
  .hp-pager{grid-template-columns:1fr}
  .hp-pager .nx{text-align:left}
  .hp-pager .ph{display:none}
}

/* ---------- 配图 ---------- */
.hp-body .hg{margin:24px 0 8px}
.hp-body .hg>a{display:block;border:1px solid #e4e7e2;border-radius:10px;overflow:hidden;background:#fff}
.hp-body .hg img{display:block;width:100%;height:auto}
.hp-body .hg figcaption{margin-top:8px;font-size:12px;line-height:1.6;color:#7d868f}
.hp-body .hg-row{display:flex;gap:16px;align-items:flex-start;margin:24px 0 8px}
.hp-body .hg-row .hg{flex:1;margin:0}
.hp-body .hg-row.one{justify-content:flex-start}
.hp-body .hg-row.one .hg{flex:0 0 auto;max-width:320px}
@media (max-width:560px){
  .hp-body .hg-row{flex-direction:column;gap:0}
  .hp-body .hg-row.one .hg{max-width:100%}
}
