.knowledge-hero { position: relative; overflow: hidden; padding: 164px 0 92px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 78% 15%, rgba(8,124,255,.15), transparent 37%), #090d14; }
.knowledge-hero .hero-grid { opacity: .13; }
.knowledge-hero-inner { position: relative; z-index: 1; max-width: 900px; text-align: center; }
.knowledge-hero h1 { margin: 0; font-size: clamp(44px, 6vw, 70px); line-height: 1.08; letter-spacing: -.05em; }
.knowledge-hero h1 em { color: transparent; font-style: normal; background: linear-gradient(100deg, #188dff, #53bcff); background-clip: text; -webkit-background-clip: text; }
.knowledge-hero p { max-width: 680px; margin: 24px auto 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.knowledge-search { max-width: 680px; height: 58px; display: flex; align-items: center; gap: 13px; margin: 34px auto 0; padding: 0 19px; border: 1px solid rgba(118,182,255,.24); border-radius: 13px; background: rgba(7,14,24,.78); box-shadow: 0 15px 40px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.05); }
.knowledge-search svg { width: 21px; height: 21px; color: #69b5ff; flex: 0 0 auto; }
.knowledge-search input { width: 100%; border: 0; outline: 0; color: var(--text); background: transparent; font: inherit; font-size: 14px; }
.knowledge-search input::placeholder { color: #637287; }
.knowledge-section { min-height: calc(100vh - 76px); padding: 64px 0 120px; background: var(--bg); }
.knowledge-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 28px; }
.knowledge-count { color: #8190a3; font-size: 13px; }
.knowledge-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.knowledge-filter { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: #8f9bab; background: rgba(255,255,255,.025); font: inherit; font-size: 12px; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.knowledge-filter:hover, .knowledge-filter.active { border-color: rgba(65,158,255,.55); color: #d7ebff; background: rgba(8,124,255,.13); }
.knowledge-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.knowledge-card { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); transition: border-color .2s ease, background .2s ease; }
.knowledge-card[open] { border-color: rgba(59,151,255,.34); background: linear-gradient(145deg, rgba(17,61,105,.24), rgba(255,255,255,.012)); }
.knowledge-card summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 112px; padding: 24px 25px; list-style: none; cursor: pointer; }
.knowledge-card summary::-webkit-details-marker { display: none; }
.knowledge-card-top { display: flex; flex-direction: column; gap: 10px; }
.knowledge-card-top small { color: #5faff7; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.knowledge-card-top b { color: #e7edf5; font-size: 16px; line-height: 1.45; }
.knowledge-card-icon { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid rgba(101,176,255,.32); border-radius: 50%; color: #76bbff; font-size: 20px; font-weight: 300; line-height: 1; transition: transform .2s ease; }
.knowledge-card[open] .knowledge-card-icon { transform: rotate(45deg); }
.knowledge-card-body { padding: 0 25px 25px; color: #9aa7b7; font-size: 13px; line-height: 1.85; }
.knowledge-card-body p { margin: 9px 0 0; }
.knowledge-card-body .knowledge-summary { margin: 0 0 13px; color: #d2e7fb; font-weight: 600; }
.knowledge-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 70px 20px; text-align: center; }
.knowledge-empty[hidden] { display: none !important; }
.knowledge-empty strong { color: #e1e8f0; font-size: 20px; }
.knowledge-empty span { color: #8190a3; font-size: 13px; }
.knowledge-empty .button { margin-top: 10px; }
.knowledge-support { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 62px; padding: 31px 34px; border: 1px solid rgba(66,155,255,.23); border-radius: 18px; background: radial-gradient(circle at 85% 0%, rgba(8,124,255,.14), transparent 46%), #0b131f; }
.knowledge-support .eyebrow { margin: 0 0 12px; }
.knowledge-support h2 { margin: 0; font-size: 25px; }
.knowledge-support p { max-width: 670px; margin: 10px 0 0; color: #8594a7; font-size: 13px; line-height: 1.75; }
.nav-current { color: #fff !important; }
@media (max-width: 760px) {
  .knowledge-hero { padding: 133px 0 75px; }
  .knowledge-hero p { font-size: 14px; }
  .knowledge-toolbar { align-items: flex-start; flex-direction: column; }
  .knowledge-filters { justify-content: flex-start; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .knowledge-support { align-items: flex-start; flex-direction: column; padding: 26px; }
}

.docs-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr) 180px; align-items: start; gap: 42px; }
.docs-sidebar { position: sticky; top: 101px; padding-right: 24px; border-right: 1px solid var(--line); }
.docs-sidebar-label { margin: 0 0 13px; color: #60748b; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.docs-sidebar-label:not(:first-child) { margin-top: 31px; }
.docs-sidebar-link { position: relative; display: block; margin: 3px 0; padding: 9px 12px; border-radius: 7px; color: #93a1b3; font-size: 13px; line-height: 1.45; transition: color .2s ease, background .2s ease; }
.docs-sidebar-link:hover, .docs-sidebar-link.active { color: #e9f4ff; background: rgba(26,119,210,.13); }
.docs-sidebar-link.active::before { content: ""; position: absolute; left: -25px; top: 0; bottom: 0; width: 2px; background: #2e9bff; }
.docs-main { min-width: 0; }
.docs-search { max-width: none; margin: 0 0 37px; }
.docs-search kbd { flex: 0 0 auto; padding: 3px 7px; border: 1px solid rgba(255,255,255,.12); border-radius: 5px; color: #6e8094; background: rgba(255,255,255,.035); font-size: 11px; }
.docs-breadcrumb { margin-bottom: 24px; color: #6684a3; font-size: 12px; }
.docs-breadcrumb span { margin: 0 7px; color: #425364; }
.docs-article h1, .docs-article h2 { margin: 0; color: #f1f5fa; font-size: clamp(34px, 4vw, 49px); letter-spacing: -.04em; }
.docs-subtitle { margin: 11px 0 0; color: #9ab7d4; font-size: 17px; }
.docs-lead { max-width: 760px; margin: 17px 0 27px; color: #a4b1c0; font-size: 16px; line-height: 1.85; }
.docs-callout { display: flex; gap: 14px; margin: 0 0 47px; padding: 16px 18px; border: 1px solid rgba(64,158,255,.22); border-radius: 9px; color: #9bb2c9; background: rgba(11,72,132,.13); font-size: 13px; line-height: 1.7; }
.docs-callout strong { color: #69b5ff; }
.docs-article h3 { margin: 0 0 18px; color: #eaf1f8; font-size: 24px; }
.docs-steps { margin: 0 0 48px; padding-left: 24px; color: #aebbc9; font-size: 14px; line-height: 2; }
.docs-steps li { padding-left: 7px; }
.docs-steps li::marker { color: #4daaff; font-weight: 700; }
.docs-article-list { display: grid; grid-template-columns: 1fr; gap: 12px; }
.docs-article-list .knowledge-card summary { min-height: 94px; padding: 20px 22px; }
.docs-article-list .knowledge-card-body { padding: 0 22px 22px; }
.docs-toc { position: sticky; top: 101px; display: flex; flex-direction: column; gap: 12px; padding-left: 18px; border-left: 1px solid var(--line); }
.docs-toc strong { margin-bottom: 5px; color: #dfe8f2; font-size: 13px; }
/* display:block 不可省：TOC 链接由 knowledge.js 动态插进普通 div（不是 flex 容器），
   少了它 <a> 仍是 inline 元素 —— overflow / text-overflow 对 inline 一律无效，
   而 white-space:nowrap 会让长标题（如「加密场景首次导入较慢，后续变快是否异常？」）
   撑到 240px、比 180px 的侧栏还宽，整页横向溢出 29px（1280px 视口必现；
   小屏因 .docs-toc 整体 display:none 而看不到）。 */
.docs-toc a { display: block; min-width: 0; overflow: hidden; color: #728297; font-size: 12px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; transition: color .2s ease; }
.docs-toc a:hover { color: #c6e4ff; }
.knowledge-support { margin-top: 62px; }

@media (max-width: 1050px) {
  .docs-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 30px; }
  .docs-toc { display: none; }
}
@media (max-width: 860px) {
  .nav-dropdown-menu { position: static; transform: none; margin: 2px 0 5px; box-shadow: none; }
  .nav-dropdown-menu a { padding: 11px 14px; }
  .docs-layout { display: block; }
  .docs-sidebar { position: static; display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 35px; padding: 0 0 17px; border-right: 0; border-bottom: 1px solid var(--line); }
  .docs-sidebar-label { width: 100%; margin: 8px 0 2px !important; }
  .docs-sidebar-link { margin: 0; padding: 7px 10px; }
  .docs-sidebar-link.active::before { left: 0; right: 0; top: auto; bottom: -18px; width: auto; height: 2px; }
}

.support-page { padding-top: 126px; }
.support-page-inner { max-width: 1120px; }
.support-page h1 { margin: 16px 0 0; color: #f1f5fa; font-size: clamp(38px, 5vw, 60px); letter-spacing: -.045em; }
.support-intro { max-width: 660px; margin: 14px 0 42px; color: #a4b1c0; font-size: 16px; line-height: 1.8; }
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.support-card { min-height: 278px; display: flex; flex-direction: column; align-items: flex-start; padding: 27px 26px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); }
.support-card-primary { border-color: rgba(59,151,255,.42); background: radial-gradient(circle at 100% 0, rgba(8,124,255,.18), transparent 55%), #0b1626; }
.support-card-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 22px; border: 1px solid rgba(93,174,255,.35); border-radius: 10px; color: #72bcff; background: rgba(8,124,255,.12); font-size: 20px; }
.support-card h2 { margin: 0; color: #edf4fb; font-size: 21px; }
.support-card p { margin: 12px 0 0; color: #9aa9ba; font-size: 13px; line-height: 1.8; }
.support-card p a { color: #82c4ff; }
.support-card .button { margin-top: auto; }
.support-text-link { display: inline-flex; gap: 8px; margin-top: auto; color: #76bbff; font-size: 13px; }
.support-muted { color: #718196 !important; font-size: 12px !important; }
.support-process { display: grid; grid-template-columns: minmax(230px, .8fr) 1.7fr; gap: 42px; align-items: center; margin-top: 58px; padding: 30px 32px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.018); }
.support-process .eyebrow { margin: 0 0 11px; }
.support-process h2 { margin: 0; color: #e7eef6; font-size: 23px; line-height: 1.35; }
.support-process ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.support-process li { display: flex; flex-direction: column; gap: 11px; padding-left: 17px; border-left: 1px solid rgba(91,167,232,.25); }
.support-process li b { color: #4faaff; font-size: 13px; letter-spacing: .1em; }
.support-process li span { color: #9aa9ba; font-size: 13px; line-height: 1.6; }
@media (max-width: 860px) {
  .support-page { padding-top: 105px; }
  .support-grid { grid-template-columns: 1fr; }
  .support-card { min-height: 0; }
  .support-card .button, .support-text-link { margin-top: 24px; }
  .support-process { grid-template-columns: 1fr; gap: 25px; padding: 26px; }
}
@media (max-width: 520px) {
  .support-process ol { grid-template-columns: 1fr; gap: 16px; }
}
