/* ==========================================================================
   灯塔机场 (LIGHTHOUSE NETWORK) - 守望者分屏版 核心样式表
   Design Language: 36% / 64% 左右分屏架构 / 浅雾海灰与纯白卡片 / 折纸切角卡片 / 双列字典FAQ
   验收规范：无彩色字 / 无横向滚动条 / 触控区≥44x44px / scroll-margin-top:80px / prefers-reduced-motion
   ========================================================================== */

:root {
  /* 1. 基础表面与背景色盘 */
  --bg-page: #F4F5F7;          /* 页面背景：浅雾海灰 */
  --bg-card: #FFFFFF;          /* 卡片表面：纯白 */
  --bg-subtle: #F9FAFB;        /* 极浅微灰底色 */
  --bg-sidebar: #FFFFFF;       /* 侧边常驻栏底色 */
  --bg-hover: #F3F4F6;         /* 悬浮背景色 */

  /* 2. 界面点缀色（严格限定：仅用于操作按钮与状态指示灯） */
  --accent-cyan: #0284C7;       /* 航海深青 */
  --accent-cyan-hover: #0369A1; /* 航海深青悬停态 */
  --status-green: #10B981;      /* 状态绿（装饰指示灯） */

  /* 3. 统一文本色（严禁彩色字，全局严格绑定） */
  --text-title: #111827;       /* 主标题与重要文字：深墨黑 */
  --text-body: #4B5563;        /* 正文与说明：板岩中灰 */
  --text-muted: #6B7280;       /* 辅助标注：浅灰 */
  --text-primary: var(--text-title);
  --text-secondary: var(--text-body);

  /* 4. 边框与极柔弥散阴影规范 */
  --border-color: #E5E7EB;     /* 超细冷灰边框颜色 */
  --border-subtle: 1px solid #E5E7EB; /* 超细冷灰微边框 */
  --shadow-soft: 0 4px 18px rgba(0, 0, 0, 0.04); /* 极柔弥散阴影 */
  --shadow-hover: 0 6px 24px rgba(0, 0, 0, 0.06);

  /* 5. 字体系统 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* 6. 几何圆角与版面尺寸 */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --sidebar-width: 36%;        /* 桌面端分屏侧栏基准宽度 (约 36%) */
}

/* 知识专栏页面侧边栏视觉宽度适配 (保持阅读区开阔) */
body.kb-page,
body:has(.kb-doc-section) {
  --sidebar-width: 340px;
}

/* 全局盒模型重置：全局严格使用 box-sizing: border-box */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-page);
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: clip;
  width: 100%;
}

/* 极细浅灰无扰滚动条 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-page);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

code, pre, .mono {
  font-family: var(--font-mono);
}

/* 章节滚动偏移规范：各 <section> 配置 scroll-margin-top: 80px */
section, .section-block, .kb-doc-section {
  scroll-margin-top: 80px;
}

/* ==========================================================================
   页面主框架：桌面端（>992px）左右分屏架构 (Split-Screen Navigator)
   左侧固定栏 36% + 右侧主滚动区 64%
   ========================================================================== */
.split-wrapper {
  display: block;
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
}

/* --------------------------------------------------------------------------
   1. 左侧彻底固定信标控制台（Desktop Fixed Rail，占宽 var(--sidebar-width)）
   稳健固定定位规范：
   - position: fixed; top: 0; left: 0; bottom: 0; width: var(--sidebar-width);
   - height: 100vh; height: 100dvh; z-index: 20;
   - 内部滚动保护：overflow-y: auto; overscroll-behavior: contain;
   - 绝不裁切灯塔 SVG、品牌介绍与 CTA，保证随时能够正常访问
   -------------------------------------------------------------------------- */
.watcher-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  height: 100vh;
  height: 100dvh;
  z-index: 20;
  background-color: var(--bg-sidebar);
  border-right: var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  padding: 28px 24px 20px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

/* 矮视口响应：保证内部元素与 CTA 始终完整可见，可顺畅内部滚动 */
@media (max-height: 720px) and (min-width: 993px) {
  .watcher-panel {
    padding: 20px 20px 16px;
    gap: 12px;
  }
  .lighthouse-svg-container {
    height: 105px;
  }
}

.beacon-console-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 状态标与灯塔主视 */
.brand-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  border: var(--border-subtle);
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  color: var(--text-body);
  min-height: 28px;
}

.status-dot-decor {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-green);
  flex-shrink: 0;
}

.brand-text-header h1 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-title);
  line-height: 1.2;
}

.brand-subline {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 3px;
  font-weight: 500;
}

/* 纯原生 SVG 极简几何轮廓“守望灯塔”插画（保证不被裁切） */
.lighthouse-schematic-card {
  background: var(--bg-subtle);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.lighthouse-svg-container {
  width: 100%;
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.lighthouse-svg-container svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lighthouse-caption {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

/* 简短客观介绍（保证不被裁切） */
.beacon-intro-copy {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.6;
  background: #FFFFFF;
  border: var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
  box-sizing: border-box;
}

/* 常驻高对比度「获取套餐」转化按钮 (触控区域 >= 44x44px，保证随时能够正常访问) */
.watcher-rail-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 11px 20px;
  min-height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
  text-align: center;
  box-sizing: border-box;
  flex-shrink: 0;
}

.btn-primary {
  background-color: var(--accent-cyan);
  color: #FFFFFF;
  border: 1px solid var(--accent-cyan);
}

.btn-primary:hover {
  background-color: var(--accent-cyan-hover);
  border-color: var(--accent-cyan-hover);
  color: #FFFFFF;
}

.btn-secondary {
  background-color: var(--bg-card);
  border: var(--border-subtle);
  color: var(--text-title);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* 左侧底部相对路径快速索引 */
.watcher-footer-rail {
  margin-top: auto;
  padding-top: 16px;
  border-top: var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rail-footer-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.rail-footer-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.rail-footer-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.rail-footer-links a:hover {
  color: var(--text-title);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   2. 右侧主内容区（独立滚动，自适应填充右侧空间）
   稳健固定分屏配合规则：
   - margin-left: var(--sidebar-width);
   - width: calc(100% - var(--sidebar-width));
   - min-height: 100vh;
   -------------------------------------------------------------------------- */
.content-stream {
  margin-left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
  min-height: 100vh;
  min-width: 0;
  padding: 0 48px 80px;
  display: flex;
  flex-direction: column;
  gap: 56px;
  position: relative;
  overflow-x: clip;
  box-sizing: border-box;
}

@media (max-width: 1280px) and (min-width: 993px) {
  .content-stream {
    padding: 0 32px 64px;
    gap: 48px;
  }
}

/* 紧凑顶栏导航 (Compact Top Navigation Bar，仅在右侧内容区内吸顶) */
.compact-top-navbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 245, 247, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: var(--border-subtle);
  margin: 0 -48px 24px;
  padding: 10px 48px;
  min-height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

@media (max-width: 1280px) and (min-width: 993px) {
  .compact-top-navbar {
    margin: 0 -32px 24px;
    padding: 10px 32px;
  }
}

.top-nav-items-list {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-body);
}

.top-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 4px;
  min-height: 44px;
  position: relative;
  transition: color 0.15s ease;
  color: var(--text-body);
  font-weight: 500;
  box-sizing: border-box;
}

.top-nav-item svg {
  color: var(--text-muted);
  transition: color 0.15s ease;
  flex-shrink: 0;
}

.top-nav-item:hover, .top-nav-item.active {
  color: var(--text-title);
  font-weight: 600;
}

.top-nav-item:hover svg, .top-nav-item.active svg {
  color: var(--accent-cyan);
}

.top-nav-item.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-cyan);
}

.top-nav-cta {
  font-size: 0.82rem;
  padding: 8px 16px;
  min-height: 44px;
}

/* 移动端汉堡切换按钮 (触控区域 >= 44x44px) */
.mobile-nav-toggle {
  display: none;
  font-size: 1.35rem;
  color: var(--text-title);
  padding: 10px;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}

/* 章节通用标题与排版 */
.section-head {
  margin-bottom: 22px;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.section-title {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-title);
  line-height: 1.3;
}

.section-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  margin-top: 8px;
  max-width: 660px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   3. 服务详情：三大直白客观场景 (#services)
   -------------------------------------------------------------------------- */
.services-scenarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.service-scenario-card {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.service-scenario-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: #D1D5DB;
  transform: translateY(-2px);
}

.scenario-icon-pill {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 14px;
  flex-shrink: 0;
}

.scenario-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 8px;
}

.scenario-text {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.65;
  flex: 1;
}

/* --------------------------------------------------------------------------
   4. 核心优势：折纸切角卡片（Origami Fold Cards #features）
   -------------------------------------------------------------------------- */
.origami-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.origami-fold-card {
  position: relative;
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  overflow: hidden;
}

.origami-fold-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: #D1D5DB;
  transform: translateY(-2px);
}

/* 纯 CSS 折纸切角效果 (Origami Fold Corner) */
.origami-fold-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 22px 22px 0;
  border-color: transparent var(--bg-page) transparent transparent;
  z-index: 2;
}

.origami-fold-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 22px 0 0 22px;
  border-color: transparent transparent transparent #D1D5DB;
  box-shadow: -1px 1px 3px rgba(0, 0, 0, 0.08);
  z-index: 3;
}

.origami-card-index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 10px;
}

.origami-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 8px;
}

.origami-card-body {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.65;
  flex: 1;
}

/* --------------------------------------------------------------------------
   5. 全球节点看板（明确为静态示意 #nodes）
   -------------------------------------------------------------------------- */
.node-dashboard-banner {
  background: var(--bg-subtle);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-size: 0.82rem;
  color: var(--text-body);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}

/* 静态航线规划示意图容器（明确视觉示意，非实时监控） */
.static-route-schematic-card {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 22px;
}

.route-schematic-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.route-schematic-svg-wrap {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.route-schematic-svg-wrap svg {
  width: 100%;
  height: 100%;
}

.route-schematic-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-color);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.legend-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-subtle);
  border: var(--border-subtle);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

.static-nodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.static-node-card {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.static-node-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.static-node-flag {
  font-size: 1.4rem;
  line-height: 1;
}

.static-node-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-title);
}

.static-node-type {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.static-node-desc {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   6. 资费方案（真实规范，明确官方实时标准 #pricing）
   -------------------------------------------------------------------------- */
.pricing-statement-banner {
  background: var(--bg-subtle);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-size: 0.82rem;
  color: var(--text-body);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.standard-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.standard-plan-card {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: all 0.2s ease;
}

.standard-plan-card.highlight {
  border: 2px solid var(--accent-cyan);
  box-shadow: var(--shadow-hover);
}

.plan-highlight-badge {
  position: absolute;
  top: -11px;
  left: 20px;
  background: var(--accent-cyan);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.plan-name-label {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-title);
}

.plan-usage-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.plan-realtime-standard-box {
  margin: 14px 0;
  padding: 10px 12px;
  background: var(--bg-subtle);
  border: var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
}

.standard-badge-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-title);
}

.standard-badge-tip {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.standard-plan-features {
  list-style: none;
  margin: 8px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.standard-feature-li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-body);
}

.feature-check-icon {
  color: var(--accent-cyan);
  font-weight: 700;
  flex-shrink: 0;
}

.standard-plan-card .btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   7. 常见问题：双列纯文字问答字典（Lexicon Clean Columns #faq）
   严禁 Q/A 圆圈卡片，严禁时间线；原生 <details open> + <summary> 纯文字百科排版
   -------------------------------------------------------------------------- */
.lexicon-clean-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}

.lexicon-term-box {
  border: none;
  background: none;
}

.lexicon-summary-term {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-title);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
  min-height: 44px;
  margin-bottom: 8px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  box-sizing: border-box;
}

.lexicon-summary-term::-webkit-details-marker {
  display: none;
}

.lexicon-indicator-symbol {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
  min-width: 24px;
  text-align: right;
}

.lexicon-term-box[open] .lexicon-indicator-symbol {
  transform: rotate(45deg);
  color: var(--accent-cyan);
}

.lexicon-definition-body {
  padding-left: 2px;
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   8. 规范页脚：严格仅保留 4 个相对路径链接 + 版权信息 (触控区 >= 44x44px)
   -------------------------------------------------------------------------- */
.strict-footer-container {
  margin-top: 24px;
  padding-top: 36px;
  border-top: var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.strict-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-body);
}

.strict-footer-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
}

.strict-footer-nav a:hover {
  color: var(--text-title);
  text-decoration: underline;
}

.strict-footer-copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   知识库单页专用样式 (knowledge.html: 36% / 64% 分屏控制台版面)
   ========================================================================== */
.kb-search-container {
  margin: 10px 0;
}

.kb-search-box {
  width: 100%;
  background: var(--bg-subtle);
  border: var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  min-height: 44px;
  font-size: 0.85rem;
  color: var(--text-title);
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.kb-search-box:focus {
  border-color: var(--accent-cyan);
}

.kb-nav-links-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.kb-nav-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.kb-nav-link {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  color: var(--text-body);
  margin-bottom: 3px;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.kb-nav-link:hover, .kb-nav-link.active {
  background: var(--bg-subtle);
  color: var(--accent-cyan);
  font-weight: 600;
}

.kb-doc-section {
  margin-bottom: 52px;
}

.kb-doc-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 14px;
  border-bottom: var(--border-subtle);
  padding-bottom: 10px;
}

.kb-doc-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-title);
  margin: 20px 0 10px;
}

.kb-doc-section p {
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.kb-notice-callout {
  background: var(--bg-subtle);
  border-left: 3px solid var(--accent-cyan);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 16px 0;
  font-size: 0.86rem;
  color: var(--text-body);
}

.kb-code-snippet {
  background: #111827;
  color: #F9FAFB;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  overflow-x: auto;
  margin: 14px 0;
}

.kb-ordered-steps {
  padding-left: 20px;
  color: var(--text-body);
  line-height: 1.75;
  font-size: 0.9rem;
}

.kb-ordered-steps li {
  margin-bottom: 8px;
}

/* ==========================================================================
   无障碍：支持 @media (prefers-reduced-motion: reduce)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   移动端与平板响应式适配 (360px、390px、768px、1440px 验收规范)
   <= 992px 时，自动平滑解构为单栏上下流式排布，左侧常驻栏转为首屏 Hero
   所有触控区域 >= 44x44px，彻底杜绝横向滚动条
   ========================================================================== */
@media (max-width: 992px) {
  .split-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  /* 992px 以下取消桌面固定定位与固定高度，恢复自然上下单栏布局 */
  .watcher-panel {
    position: static;
    top: auto;
    left: auto;
    bottom: auto;
    width: 100%;
    flex: 0 0 auto;
    max-width: 100%;
    min-width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    border-right: none;
    border-bottom: var(--border-subtle);
    padding: 24px 18px;
    overflow-y: visible;
    gap: 16px;
    box-sizing: border-box;
    z-index: auto;
  }

  .lighthouse-schematic-card {
    display: none; /* 移动端精炼首屏，提升关键信息直达效率 */
  }

  /* 右侧主内容区恢复正常单栏流式排布 */
  .content-stream {
    margin-left: 0;
    width: 100%;
    flex: 0 0 auto;
    padding: 0 16px 60px;
    gap: 40px;
    box-sizing: border-box;
  }

  /* 顶栏导航移动端折叠 */
  .compact-top-navbar {
    margin: 0 -16px 20px;
    padding: 10px 16px;
    flex-wrap: wrap;
    min-height: 56px;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .top-nav-items-list {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 14px;
    border-top: var(--border-subtle);
    margin-top: 10px;
  }

  .top-nav-items-list.mobile-open {
    display: flex;
  }

  .top-nav-item {
    width: 100%;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
  }

  .top-nav-item.active::after {
    display: none;
  }

  /* 双列字典 FAQ 在移动端自动切为单列 */
  .lexicon-clean-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* 网格在小屏幕（360px、390px）自适应 */
  .services-scenarios-grid,
  .origami-cards-grid,
  .static-nodes-grid,
  .standard-pricing-grid {
    grid-template-columns: 1fr;
  }
}
