/* 正式配色：套 A「墨青 · 暖铜」（曹总已定，贾维斯转达）。对外唯一视觉。
 * 版式节奏按猎看官网对齐：固定毛玻璃顶栏、首页长页锚点分区、深色收尾 CTA 与多列页脚。
 * 不引入任何外网字体、CDN 或脚本。 */
:root {
  --brand: #1B3A4B;      /* 主色墨青 */
  --accent: #C4A35A;     /* 强调暖铜 */
  --wash: #F7F4EF;       /* 背景暖纸白 */
  --ink: #1C1917;        /* 正文近黑 */
  --sub: #5C6770;        /* 辅助灰 */
  --paper: #FFFDF9;      /* 卡片与正文底：暖纸白的更浅一档 */
  --line: #E7DFD3;
  --line-soft: #EFE9DF;
  --faint: rgba(92, 103, 112, 0.72);
  --brand-bg: rgba(27, 58, 75, 0.07);
  --brand-line: rgba(27, 58, 75, 0.22);
  --accent-bg: rgba(196, 163, 90, 0.16);
  --danger: #8F2D2D;
  --ok: #2D6A4F;
  --radius: 14px;
  --header-h: 64px;
  --notice-h: 28px;
}
/*
 * 备用，不再对外提供切换（套 B「松绿 · 琥珀」）：
 * 主色 #1F4E3D，强调 #C2782A，背景 #F4F6F4，正文 #1A1C1A，辅助 #4A554C
 */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--notice-h) + 12px); }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "WenQuanYi Micro Hei", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent-bg); color: var(--brand); }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.muted { color: var(--sub); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 880px; }
.container.faq-w { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── 按钮：圆角胶囊 ── */
.btn-primary, .btn-ghost, .btn-accent {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 99px; font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: all .2s; text-decoration: none; line-height: 1.2;
}
.btn-primary { background: var(--brand); color: #fff; border: 1px solid var(--brand); box-shadow: 0 8px 22px -10px rgba(27, 58, 75, .55); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(27, 58, 75, .6); }
.btn-accent { background: var(--accent); color: var(--ink); border: 1px solid var(--accent); box-shadow: 0 8px 22px -10px rgba(196, 163, 90, .7); }
.btn-accent:hover { transform: translateY(-1px); }
.btn-ghost { background: var(--paper); color: var(--ink); border: 1px solid var(--line); font-weight: 500; }
.btn-ghost:hover { border-color: var(--brand-line); color: var(--brand); }
.btn-sm { font-size: 13px; padding: 7px 16px; }
.btn-md { font-size: 14px; padding: 11px 24px; }
.btn-lg { font-size: 14.5px; padding: 13px 30px; }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }

/* ── 固定顶栏（毛玻璃） ── */
.site-top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.notice-bar {
  height: var(--notice-h); display: flex; align-items: center; justify-content: center;
  background: var(--brand); color: rgba(255, 255, 255, .82); font-size: 12px; letter-spacing: .02em; padding: 0 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.site-header { background: rgba(255, 253, 249, .82); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(231, 223, 211, .8); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
/* 盾牌箭头 logo：线条用 currentColor，浅底墨青、深底反白；右上圆点固定暖铜 */
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; display: block; color: var(--brand); }
.site-footer .brand-mark { color: var(--wash); }
.site-footer .brand-name { color: var(--wash); }
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: .02em; color: var(--ink); }
.brand-sub { display: block; font-size: 9.5px; color: var(--accent); font-weight: 600; letter-spacing: .32em; margin-top: -1px; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: 13.5px; white-space: nowrap; }
.nav-link { color: var(--sub); transition: color .18s; position: relative; }
.nav-link:hover, .nav-link.on { color: var(--ink); }
.nav-link.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -21px; height: 2px; background: var(--accent); border-radius: 2px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions form { margin: 0; }
.nav-burger {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; padding: 0;
}
.nav-burger span { display: block; width: 16px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-drawer {
  position: fixed; top: calc(var(--header-h) + var(--notice-h)); left: 0; right: 0; z-index: 49;
  background: rgba(255, 253, 249, .98); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line); box-shadow: 0 28px 48px -28px rgba(28, 25, 23, .28);
  padding: 6px 20px 18px; max-height: calc(100vh - var(--header-h) - var(--notice-h)); overflow-y: auto;
  opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .2s;
}
.nav-drawer.open { opacity: 1; transform: none; pointer-events: auto; }
.nav-drawer a.drawer-link { display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--line-soft); }
.nav-drawer a.drawer-link::after { content: ""; width: 7px; height: 7px; border-top: 1.8px solid var(--faint); border-right: 1.8px solid var(--faint); transform: rotate(45deg); margin-right: 3px; }
.drawer-actions { display: flex; gap: 10px; padding-top: 16px; }
.drawer-actions > * { flex: 1; }
.drawer-actions form { display: flex; }
.drawer-actions form button { flex: 1; }

/* ── 区块通用 ── */
.page-top { padding-top: calc(var(--header-h) + var(--notice-h)); }
.sec { padding: 96px 0; }
.sec.wash { background: var(--wash); }
.sec.bordered { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 880px; margin: 0 auto; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--accent); margin: 0; text-transform: uppercase; }
.sec-title { margin: 14px 0 0; font-size: 36px; line-height: 1.3; font-weight: 900; letter-spacing: -.01em; }
.sec-lead { margin: 14px auto 0; font-size: 15px; color: var(--sub); max-width: 760px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.lift { transition: all .25s; }
.lift:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -22px rgba(27, 58, 75, .28); border-color: var(--brand-line); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--brand); background: var(--brand-bg); border-radius: 8px; padding: 4px 10px; font-weight: 600; }
.chip.accent { color: #6E5524; background: var(--accent-bg); }
/* 卡片图标：Lucide 线性 SVG，浅暖纸色底块 + 墨青描边；深色底块用暖铜描边 */
.icon-box { width: 44px; height: 44px; border-radius: 12px; background: var(--wash); border: 1px solid var(--line); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-box.solid { background: var(--brand); border-color: var(--brand); color: var(--accent); }
.icon-box svg { width: 22px; height: 22px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.mt-s { margin-top: 20px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.demo-tag {
  display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  color: #6E5524; background: var(--accent-bg); border: 1px dashed rgba(196, 163, 90, .7); border-radius: 6px; padding: 1px 7px; white-space: nowrap;
}

/* ── Hero ── */
.hero { position: relative; padding: 120px 0 56px; overflow: hidden; }
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(27, 58, 75, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(27, 58, 75, .06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 85% 62% at 50% 0%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 62% at 50% 0%, #000 40%, transparent 100%);
}
.hero-inner { position: relative; text-align: center; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: var(--brand); background: var(--brand-bg); border: 1px solid var(--brand-line); border-radius: 99px; padding: 6px 16px; }
.hero-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 { margin: 26px auto 0; font-size: 56px; line-height: 1.18; font-weight: 900; letter-spacing: -.02em; max-width: 920px; }
.hero h1 .hl { color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px; background: var(--accent-bg); z-index: -1; border-radius: 4px; }
.hero-lead { margin: 22px auto 0; max-width: 700px; font-size: 16.5px; color: var(--sub); }
.hero-actions { margin-top: 32px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-badges { margin-top: 38px; display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--sub); }
.pbadge { display: inline-flex; align-items: center; gap: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px 5px 6px; color: var(--ink); font-weight: 500; }
.pbadge i { font-style: normal; width: 20px; height: 20px; border-radius: 6px; background: var(--brand); color: var(--accent); font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }

/* 产品预览窗口 */
.mockwin-wrap { margin: 56px auto 0; max-width: 1020px; }
.mockwin { overflow: hidden; text-align: left; box-shadow: 0 44px 96px -32px rgba(27, 58, 75, .32), 0 14px 34px -14px rgba(28, 25, 23, .14); }
.win-bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--wash); font-size: 12px; color: var(--sub); }
.win-bar .dots { display: flex; gap: 6px; margin-right: 8px; }
.win-bar .dots span { width: 10px; height: 10px; border-radius: 50%; background: #D8CFC2; }
.win-bar .dots span:first-child { background: var(--accent); }
.win-bar .dots span:nth-child(2) { background: rgba(196, 163, 90, .55); }
.win-bar .url { flex: 1; text-align: center; color: var(--faint); }
.win-body { display: flex; }
.win-side { width: 188px; flex-shrink: 0; border-right: 1px solid var(--line); background: var(--paper); padding: 14px; }
.win-side .ws-brand { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; padding: 4px 6px 12px; }
.win-side .ws-brand .brand-mark { width: 22px; height: 22px; }
.mini-nav { display: flex; align-items: center; gap: 7px; padding: 7.5px 10px; border-radius: 8px; font-size: 11.5px; color: var(--sub); font-weight: 500; white-space: nowrap; }
.mini-nav.on { background: var(--brand-bg); color: var(--brand); font-weight: 700; }
.mini-nav::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: currentColor; opacity: .5; }
.win-main { flex: 1; background: var(--wash); padding: 20px; min-width: 0; }
.win-main-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; font-size: 12.5px; font-weight: 700; }
.kpi { padding: 14px; }
.kpi .k-label { font-size: 11px; color: var(--sub); display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.kpi .k-val { font-size: 24px; font-weight: 800; margin-top: 6px; letter-spacing: -.01em; }
.kpi .k-note { font-size: 10.5px; color: var(--faint); margin-top: 2px; }
.chart-row { display: grid; grid-template-columns: 3fr 2fr; gap: 12px; margin-top: 12px; }
.chart-card { padding: 16px; }
.chart-card .c-title { font-size: 12px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.chart-card svg.trend { width: 100%; height: 180px; display: block; margin-top: 8px; }
.bars { margin-top: 14px; display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 64px 1fr 34px; align-items: center; gap: 8px; font-size: 11.5px; color: var(--sub); }
.bar-track { height: 8px; background: var(--line-soft); border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--brand); border-radius: 99px; }
.bar-fill.acc { background: var(--accent); }
.bar-fill.soft { background: rgba(27, 58, 75, .35); }

/* ── 平台滚动墙 ── */
.marquee-sec { padding: 72px 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.fade-mask { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track { display: flex; width: max-content; gap: 14px; animation: marquee 38s linear infinite; }
.marquee-track.rev { animation-direction: reverse; animation-duration: 46s; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-rows { margin-top: 40px; display: grid; gap: 16px; }
.m-item { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.m-item i { font-style: normal; width: 24px; height: 24px; border-radius: 7px; background: var(--brand-bg); color: var(--brand); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.m-item.ghost { color: var(--sub); font-weight: 500; background: var(--wash); }

/* ── 业务双轮 ── */
.dual { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 56px; }
.dual-hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 56px; height: 56px; border-radius: 50%; background: var(--paper); border: 2px solid var(--brand);
  box-shadow: 0 8px 24px -8px rgba(27, 58, 75, .5); display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-weight: 900; font-size: 22px;
}
.biz-card { padding: 32px; display: flex; flex-direction: column; }
.biz-card.featured { border-color: var(--brand-line); background: #FBF8F2; }
.biz-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.biz-card h3 { margin: 18px 0 0; font-size: 22px; font-weight: 800; }
.biz-card h3 small { display: block; font-size: 13.5px; font-weight: 500; color: var(--sub); margin-top: 4px; }
.biz-card p.desc { color: var(--sub); font-size: 14px; margin: 12px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: 13.5px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ""; width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; border-radius: 50%; background: var(--brand-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%231B3A4B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.biz-foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--sub); }
.biz-card .spacer { flex: 1; min-height: 20px; }
.link-strip { margin-top: 32px; padding: 16px 24px; border-style: dashed; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; font-size: 13.5px; text-align: center; }
.flow { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; }
.flow b { font-weight: 600; background: var(--wash); border: 1px solid var(--line); border-radius: 8px; padding: 3px 10px; font-size: 12.5px; }
.flow .arr { color: var(--accent); font-weight: 800; }

/* ── 指标体系 ── */
.metric-card { padding: 28px; }
.metric-card .m-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.metric-card .m-head .lvl { font-size: 11px; font-weight: 800; color: var(--accent); letter-spacing: .1em; }
.metric-card h3 { margin: 0; font-size: 18px; font-weight: 800; }
.metric-card .m-sub { font-size: 12.5px; color: var(--sub); }
.metric-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.metric-row:last-child { border-bottom: none; }
.metric-row b { font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.metric-row span { font-size: 12px; color: var(--sub); text-align: right; }
.note-line { text-align: center; font-size: 12.5px; color: var(--faint); margin-top: 24px; }

/* ── 产品能力（Tab） ── */
.mods { display: grid; grid-template-columns: 250px 1fr; gap: 20px; margin-top: 48px; align-items: start; }
.mod-list { padding: 12px; display: grid; gap: 4px; }
.mod-tab { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 11px 14px; border-radius: 11px; font: inherit; font-size: 13.5px; font-weight: 500; color: var(--sub); background: transparent; border: 1px solid transparent; cursor: pointer; transition: all .18s; }
.mod-tab:hover { background: var(--wash); color: var(--ink); }
.mod-tab.on { background: var(--brand-bg); color: var(--brand); font-weight: 700; }
.mod-tab .t-ico { width: 28px; height: 28px; border-radius: 8px; background: var(--wash); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--brand); flex-shrink: 0; }
.mod-tab .t-ico svg { width: 16px; height: 16px; }
.mod-tab.on .t-ico { background: var(--brand); border-color: var(--brand); color: var(--accent); }
.mod-panels { overflow: hidden; }
.mod-panel { display: none; }
.mod-panel.on { display: block; }
.mod-panel .p-head { padding: 28px; border-bottom: 1px solid var(--line); }
.mod-panel .p-head h3 { margin: 0; font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mod-panel .p-head p { margin: 8px 0 0; font-size: 14px; color: var(--sub); }
.mod-panel .p-body { padding: 24px; background: var(--wash); display: grid; gap: 14px; }
.q-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px 16px; font-size: 13px; }
.q-row .q { font-weight: 600; }
.status { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 99px; white-space: nowrap; }
.status.ok { color: var(--brand); background: var(--brand-bg); }
.status.warn { color: #6E5524; background: var(--accent-bg); }
.status.miss { color: var(--danger); background: rgba(143, 45, 45, .08); }
.code { background: var(--brand); color: #EDE6DA; border-radius: 12px; padding: 16px 18px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.7; overflow-x: auto; white-space: pre; margin: 0; }
.code .c-acc { color: var(--accent); }

/* ── 工作流 ── */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; }
.stage { position: relative; }
.stage .card { padding: 20px; height: 100%; }
.stage-head { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.stage-head .icon-box { width: 36px; height: 36px; border-radius: 11px; font-weight: 800; font-size: 13px; }
.stage-head .s-no { font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--faint); margin: 0; }
.stage-head .s-title { font-size: 15px; font-weight: 800; margin: 0; }
/* 6 步作业闭环：三列两行，每卡一段说明 + 「先给您确认」 */
.stages.six { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stage-desc { font-size: 13.5px; line-height: 1.75; color: var(--sub); margin: 14px 0 10px; }
.stage-ok { font-size: 12px; font-weight: 700; color: var(--accent); margin: 0; }
.stage-ok::before { content: "✓ "; }
.steps { margin-top: 16px; display: grid; gap: 16px; }
.step { display: flex; gap: 12px; }
.step .no { font-size: 11px; font-weight: 800; color: var(--brand); background: var(--brand-bg); border-radius: 6px; padding: 2px 6px; height: fit-content; margin-top: 2px; }
.step b { display: block; font-size: 13.5px; }
.step span { display: block; font-size: 12px; color: var(--sub); margin-top: 3px; line-height: 1.6; }
.stage-arrow { position: absolute; right: -28px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 12px; font-weight: 900; z-index: 2; }

/* ── 核心优势 ── */
.adv-card { padding: 28px; }
.adv-card h3 { margin: 16px 0 0; font-size: 16px; font-weight: 800; }
.adv-card p { margin: 8px 0 0; font-size: 13px; color: var(--sub); line-height: 1.75; }
.facts { margin-top: 40px; background: var(--brand); color: #fff; border-radius: 18px; padding: 28px 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact .f-val { font-size: 34px; font-weight: 900; color: var(--accent); line-height: 1.1; }
.fact .f-val small { font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, .85); margin-left: 4px; }
.fact .f-label { font-size: 12.5px; color: rgba(255, 255, 255, .7); margin-top: 8px; }

/* ── API 商城导流 & 表格 ── */
.api-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; margin-top: 48px; align-items: stretch; }
.api-card { padding: 28px; }
.api-card h3 { margin: 0; font-size: 18px; font-weight: 800; }
/* API 商城四大类 */
.api-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.api-cat { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.api-cat-head { display: flex; gap: 14px; align-items: center; }
.api-cat-head .s-no { font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--faint); margin: 0; }
.api-cat-head h3 { margin: 2px 0 0; font-size: 18px; font-weight: 800; }
.api-cat p { margin: 0; font-size: 13.5px; line-height: 1.7; }
.api-geo { color: var(--brand); }
.api-note { font-size: 12.5px !important; color: #6E5524; background: var(--accent-bg); border-radius: 8px; padding: 6px 10px; }
.price-cell { white-space: nowrap; color: var(--sub); font-weight: 600; }
/* API 商城：接口卡片 / 一键接入 / 开发者文档 */
.stages.stages-3 { grid-template-columns: repeat(3, 1fr); }
.api-cat-block { margin-top: 40px; }
.api-cat-lead { margin: 12px 0 0; display: grid; gap: 4px; }
.api-cat-sum, .api-cat-geo { margin: 0; font-size: 13.5px; line-height: 1.7; }
.api-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
.api-item { padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.api-item-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.api-item-top h4 { margin: 0; font-size: 15.5px; font-weight: 800; color: var(--ink); }
.price-chip { white-space: nowrap; }
.api-dl { display: grid; grid-template-columns: 64px 1fr; gap: 6px 10px; margin: 0; font-size: 13px; line-height: 1.65; }
.api-dl dt { color: var(--sub); font-weight: 600; }
.api-dl dd { margin: 0; }
.api-sample summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--brand); }
.api-sample pre { max-height: 280px; overflow: auto; margin-top: 8px; font-size: 12px; }
.connect-card { padding: 26px; display: grid; gap: 16px; }
.connect-status .alert { margin: 0 0 10px; }
.connect-status .alert .mono { word-break: break-all; margin-right: 8px; }
.key-safety { margin: 10px 0 0; font-size: 13px; color: #6E5524; background: var(--accent-bg); border-radius: 8px; padding: 8px 12px; }
.agent-tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.agent-tab { font: inherit; font-size: 13px; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--paper); color: var(--sub); cursor: pointer; }
.agent-tab.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.agent-panel { display: none; }
.agent-panel.on { display: grid; gap: 10px; justify-items: start; }
.agent-panel pre { width: 100%; box-sizing: border-box; max-height: 360px; overflow: auto; white-space: pre-wrap; word-break: break-all; margin: 0; }
.agent-where { margin: 0; font-size: 13.5px; }
.dev-w { max-width: 900px; }
.dev-h3 { font-size: 15px; font-weight: 800; margin: 24px 0 8px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
table.tbl th, table.tbl td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.tbl th { color: var(--sub); font-weight: 600; font-size: 12px; background: var(--wash); }
table.tbl tr:last-child td { border-bottom: none; }
.tbl-wrap { overflow-x: auto; }

/* ── FAQ 手风琴 ── */
.faq-list { margin-top: 48px; display: grid; gap: 12px; }
.faq-list details { padding: 0 24px; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; cursor: pointer; font-size: 14.5px; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .faq-arrow { color: var(--faint); font-size: 20px; font-weight: 300; margin-left: 16px; transition: transform .25s; }
.faq-list details[open] summary { color: var(--brand); }
.faq-list details[open] .faq-arrow { transform: rotate(45deg); color: var(--accent); }
.faq-list details p { margin: 0; padding: 0 0 20px; font-size: 13.5px; color: var(--sub); line-height: 1.8; }

/* ── 深色收尾 CTA ── */
.cta { position: relative; padding: 112px 0; background: var(--brand); color: #fff; overflow: hidden; text-align: center; }
.cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 100%); }
.cta .container { position: relative; max-width: 760px; }
.cta h2 { margin: 0; font-size: 44px; font-weight: 900; line-height: 1.25; letter-spacing: -.01em; }
.cta h2 .hl { color: var(--accent); }
.cta p { margin: 20px 0 0; font-size: 15px; color: rgba(255, 255, 255, .68); }
.cta .hero-actions { margin-top: 36px; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.cta .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.cta .fine { font-size: 12px; color: rgba(255, 255, 255, .45); margin-top: 20px; }

/* ── 深色多列页脚 ── */
.site-footer { background: var(--brand); color: rgba(255, 255, 255, .58); border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding: 56px 0; }
.foot-brand .brand-name { color: #fff; }
.foot-brand p { margin: 14px 0 0; max-width: 320px; line-height: 1.8; }
.foot-col h2 { margin: 0 0 16px; font-size: 13.5px; font-weight: 700; color: #fff; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-col a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; text-align: center; font-size: 12px; color: rgba(255, 255, 255, .45); }
.foot-bottom p { margin: 4px 0; }

/* ── 子页面（关于我们 / API 商城） ── */
.sub-hero { padding: calc(var(--header-h) + var(--notice-h) + 72px) 0 64px; background: var(--wash); border-bottom: 1px solid var(--line); text-align: center; position: relative; overflow: hidden; }
.sub-hero h1 { margin: 16px auto 0; font-size: 48px; font-weight: 900; line-height: 1.25; letter-spacing: -.01em; max-width: 900px; }
.sub-hero h1 .hl { color: var(--brand); }
.sub-hero .sec-lead { font-size: 16px; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.story h2 { margin: 0; font-size: 26px; font-weight: 900; }
.story p { color: var(--sub); font-size: 14.5px; line-height: 1.9; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 24px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent); }
.timeline b { display: block; font-size: 14.5px; }
.timeline span { display: block; font-size: 13px; color: var(--sub); margin-top: 4px; }
.band { padding: 64px 0; background: var(--brand); color: #fff; }
.band .facts { margin: 0; padding: 0; background: transparent; border-radius: 0; }
.contact-box { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; padding: 40px; }
.contact-box h2 { margin: 0; font-size: 30px; font-weight: 900; line-height: 1.35; }

/* ── 表单与控制台 ── */
.app-wrap { max-width: 1200px; margin: 0 auto; padding: calc(var(--header-h) + var(--notice-h) + 40px) 24px 72px; }
.auth-wrap { min-height: 100vh; background: var(--wash); }
.auth-grid { display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: center; max-width: 1080px; margin: 0 auto; padding: calc(var(--header-h) + var(--notice-h) + 64px) 24px 80px; }
.auth-aside h1 { font-size: 34px; font-weight: 900; line-height: 1.3; margin: 14px 0 0; }
.auth-aside p { color: var(--sub); }
.auth-card { padding: 32px; box-shadow: 0 30px 60px -36px rgba(27, 58, 75, .35); }
.auth-card h2 { margin: 0 0 6px; font-size: 22px; font-weight: 800; }
form.stack label { display: block; margin: 14px 0 6px; font-size: 13px; font-weight: 600; }
form.stack input[type="text"], form.stack input[type="email"], form.stack input[type="password"], form.stack input[type="tel"] {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 14px; background: #fff; color: var(--ink);
}
form.stack input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-bg); }
form.stack .btn-primary { width: 100%; margin-top: 22px; }
.auth-tabs { display: flex; gap: 6px; margin: 18px 0 16px; padding: 4px; background: var(--wash); border: 1px solid var(--line); border-radius: 12px; }
.auth-tab { flex: 1; text-align: center; padding: 8px 10px; border-radius: 9px; font-size: 13.5px; color: var(--sub); text-decoration: none; }
.auth-tab.on { background: var(--paper); color: var(--brand); font-weight: 700; box-shadow: 0 1px 3px rgba(27, 58, 75, .12); }
.sr-default { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.code-row { display: flex; gap: 10px; align-items: stretch; }
.code-row input { flex: 1; min-width: 0; }
.code-row .btn-ghost { white-space: nowrap; }
form.stack .hint { margin: 6px 0 0; font-size: 12px; color: var(--faint); }
.flash, .alert { border-radius: 10px; padding: 12px 14px; margin: 0 0 18px; font-size: 13.5px; }
.flash, .alert.ok { background: rgba(45, 106, 79, .08); color: var(--ok); }
.alert.warn { background: var(--accent-bg); color: #5A4520; }
.alert.err { background: rgba(143, 45, 45, .08); color: var(--danger); }
.alert.key { background: var(--accent-bg); color: #3B2A0B; word-break: break-all; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.console-head h1 { margin: 10px 0 4px; font-size: 30px; font-weight: 900; }
.panel { padding: 24px; }
.panel h2 { margin: 0 0 12px; font-size: 16px; font-weight: 800; }
.stat { font-size: 34px; font-weight: 900; color: var(--brand); margin: 0; }
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.pack { padding: 18px; background: var(--wash); border: 1px solid var(--line); border-radius: 12px; }
.pack p { margin: 4px 0; font-size: 13px; }
pre.demo { background: var(--brand); color: #EDE6DA; padding: 14px 16px; border-radius: 12px; overflow: auto; font-size: 12.5px; margin: 0; }

/* ── 响应式 ── */

/* ── 首页「AI 正在改写规则」：左 5 条 + 右回答窗口 ── */
.shift-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; margin-top: 48px; align-items: start; }
.shift-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.shift-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.shift-no { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 15px; letter-spacing: .04em; color: var(--accent); line-height: 1.6; padding-top: 1px; }
.shift-list h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.45; }
.shift-list p { margin: 0; color: var(--sub); font-size: 14px; line-height: 1.75; }
.shift-win { margin: 0; overflow: hidden; }
.shift-chat { padding: 20px 22px 8px; background: var(--wash); }
.shift-q {
  margin: 0 0 16px; padding: 12px 16px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 12px 12px 12px 4px;
  font-size: 14px; color: var(--ink); line-height: 1.6;
}
.shift-a { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.shift-a li { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.shift-a b { color: var(--brand); font-size: 14px; }
.shift-a span { color: var(--sub); font-size: 13.5px; line-height: 1.6; }
.shift-missing {
  margin: 0; padding: 14px 0 16px; color: var(--accent);
  font-size: 14px; font-weight: 600;
}
.shift-foot {
  margin: 0; padding: 14px 22px; border-top: 1px solid var(--line);
  background: var(--brand-bg); color: var(--sub); font-size: 13px; line-height: 1.65;
}

@media (max-width: 1080px) {
  .main-nav { gap: 18px; }
}
@media (max-width: 1023px) {
  .main-nav, .header-actions .act-desk { display: none; }
  .nav-burger { display: inline-flex; }
  .g4, .facts { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .stages, .stages.six { grid-template-columns: repeat(2, 1fr); }
  .stage-arrow { display: none; }
  .mods, .api-split, .api-cats, .api-items, .stages.stages-3, .story, .contact-box, .auth-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: span 2; }
}
@media (min-width: 1024px) { .nav-drawer { display: none !important; } }
@media (max-width: 767px) {
  .sec { padding: 72px 0; }
  .sec-title { font-size: 28px; }
  .hero { padding-top: 104px; }
  .hero h1 { font-size: 30px; }
  .hero h1 .hl { white-space: normal; }
  .hero-lead { font-size: 15px; }
  .win-side { display: none; }
  .win-bar .url { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
  .win-main-head { flex-direction: column; align-items: flex-start; }
  .chart-row, .dual, .g2, .g3, .g4, .stages, .stages.six, .packs, .shift-grid { grid-template-columns: 1fr; }
  .dual { gap: 16px; }
  .dual-hub { display: none; }
  .biz-card { padding: 24px; }
  .facts { grid-template-columns: 1fr 1fr; padding: 24px; }
  .fact .f-val { font-size: 28px; }
  .cta { padding: 80px 0; }
  .cta h2 { font-size: 30px; }
  .sub-hero h1 { font-size: 30px; }
  .q-row { grid-template-columns: 1fr; gap: 6px; }
  .brand-sub { display: none; }
  .header-actions .btn-sm { padding: 6px 12px; }
  .notice-bar { font-size: 11px; }
}

.scope-picks { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 0; }
.scope-picks legend { font-weight: 650; padding: 0 6px; }
.scope-picks .hint { margin: 0 0 10px; }
.scope-all, .scope-cats label { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.scope-all { font-weight: 650; margin-bottom: 8px; }
.scope-cats { display: grid; gap: 8px; }
.key-create-title { font-size: 16px; margin: 18px 0 10px; }
.key-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.key-edit { display: inline-block; }
.key-edit summary { cursor: pointer; font-size: 13px; color: var(--brand); font-weight: 600; list-style: none; }
.key-edit summary::-webkit-details-marker { display: none; }
.key-edit .stack { margin-top: 10px; min-width: 240px; }
.revoke-form { display: inline; }
.key-table { margin: 12px 0; }

/* —— 账号下拉（顶栏最右） —— */
.user-menu { position: relative; }
.user-menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; max-width: 200px; }
.user-menu > summary::-webkit-details-marker { display: none; }
.user-menu-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
.user-menu .caret { font-size: 10px; color: var(--sub); }
.user-menu-pop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(27, 58, 75, .12); padding: 6px; display: grid; z-index: 60; }
.user-menu-acct { margin: 4px 10px 6px; font-size: 12px; color: var(--sub); word-break: break-all; }
.user-menu-pop a, .user-menu-pop button { display: block; width: 100%; text-align: left; font: inherit; font-size: 13.5px; padding: 8px 10px; border-radius: 8px; color: var(--ink); background: none; border: 0; cursor: pointer; text-decoration: none; }
.user-menu-pop a:hover, .user-menu-pop button:hover { background: var(--brand-bg); }
.user-menu-pop form { margin: 0; }

/* —— 正式控制台：左侧六块菜单 + 主区 —— */
.console-shell { max-width: 1280px; margin: 0 auto; padding: calc(var(--header-h) + var(--notice-h) + 32px) 24px 72px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
.console-side { position: sticky; top: calc(var(--header-h) + var(--notice-h) + 20px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 14px; display: grid; gap: 14px; }
.console-side-title { margin: 0 8px; font-size: 12px; letter-spacing: .08em; color: var(--sub); font-weight: 700; }
.console-menu { display: grid; gap: 4px; }
.console-menu-link { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.console-menu-link:hover { background: var(--brand-bg); }
.console-menu-link.on { background: var(--brand); color: #fff; }
.console-side-foot { border-top: 1px solid var(--line-soft); padding: 12px 8px 0; display: grid; gap: 6px; justify-items: start; }
.console-side-foot p { margin: 0; font-size: 12px; }
.console-side-credits { font-size: 24px !important; font-weight: 900; color: var(--brand); }
.console-main { min-width: 0; display: grid; gap: 16px; align-content: start; }
.console-main .console-head { margin: 0; }
.console-main .flash, .console-main .alert { margin: 0; }
.console-tip { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.console-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.console-stats .panel p.muted { margin: 6px 0 0; font-size: 12.5px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.panel-head h2, .panel-head p { margin: 0; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 3px; background: var(--wash); flex-wrap: wrap; }
.seg-btn { padding: 5px 12px; border-radius: 99px; font-size: 12.5px; color: var(--sub); text-decoration: none; }
.seg-btn.on { background: var(--brand); color: #fff; font-weight: 700; }
.hbar { display: block; height: 8px; background: var(--line-soft); border-radius: 99px; overflow: hidden; min-width: 120px; }
.hbar > span { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.trend { display: grid; align-items: end; gap: 6px; height: 200px; padding: 12px 4px 0; border-bottom: 1px solid var(--line); }
.trend-7 { grid-template-columns: repeat(7, 1fr); }
.trend-30 { grid-template-columns: repeat(30, 1fr); gap: 3px; }
.trend-col { height: 100%; display: grid; grid-template-rows: 18px 1fr 22px; align-items: end; justify-items: center; }
.trend-bar { width: 70%; max-width: 44px; min-height: 2px; background: var(--brand); border-radius: 6px 6px 0 0; align-self: end; }
.trend-30 .trend-bar { width: 80%; }
.trend-num { font-size: 11px; color: var(--sub); }
.trend-label { font-size: 11px; color: var(--sub); white-space: nowrap; align-self: start; padding-top: 4px; }
.log-filter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 12px; align-items: end; }
.log-filter label { display: grid; gap: 6px; font-size: 12.5px; color: var(--sub); font-weight: 600; }
.log-filter select, .log-filter input { font: inherit; font-size: 13.5px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); min-width: 0; }
.log-filter-actions { display: flex; gap: 8px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; }
.pager-total { margin: 12px 0 0; font-size: 12.5px; }
.status { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.status.ok { background: rgba(45, 106, 79, .12); color: var(--ok); }
.status.bad { background: rgba(143, 45, 45, .1); color: var(--danger); }
td.plus { color: var(--ok); font-weight: 700; }
td.minus { color: var(--danger); font-weight: 700; }
@media (max-width: 1023px) {
  .console-shell { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + var(--notice-h) + 20px); }
  .console-side { position: static; padding: 10px; }
  .console-side-title, .console-side-foot { display: none; }
  .console-menu { display: flex; overflow-x: auto; gap: 6px; }
  .console-menu-link { white-space: nowrap; }
  .console-stats { grid-template-columns: 1fr; }
  .log-filter { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .log-filter { grid-template-columns: 1fr; }
}

/* —— 协议三页 —— */
.legal-hero { padding-bottom: 28px; }
.legal-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 0; }
.legal-nav a { padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); color: var(--sub); text-decoration: none; font-size: 13px; background: var(--paper); }
.legal-nav a.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.legal-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + var(--notice-h) + 20px); font-size: 13px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.legal-toc a { color: var(--sub); text-decoration: none; }
.legal-toc a:hover { color: var(--brand); }
.legal-body { max-width: 760px; font-size: 15px; line-height: 1.85; }
.legal-body h2 { font-size: 18px; font-weight: 800; margin: 28px 0 8px; scroll-margin-top: calc(var(--header-h) + var(--notice-h) + 16px); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin: 0 0 10px; }
.legal-body ul { margin: 0 0 12px; padding-left: 20px; }
.legal-body mark.todo { background: var(--accent-bg); color: #5A4520; padding: 0 2px; border-radius: 4px; }
form.stack .hint.agree { text-align: center; margin-top: 12px; }
@media (max-width: 1023px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}
.fail-reason { color: var(--danger); font-weight: 600; font-size: 12.5px; }

/* 余额不足提醒 */
.low-balance-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.low-balance-bar span { flex: 1 1 16rem; }
.low-balance-bar .inline-form { display: inline; margin: 0; }
.alert-settings input[type=number] { width: 7rem; margin: 0 .35rem; }
.alert-channels { border: 0; padding: 0; margin: .25rem 0; display: flex; flex-wrap: wrap; gap: 1rem; }
.alert-channels .is-disabled { opacity: .6; cursor: not-allowed; }
.tag-soon { display: inline-block; font-size: .75rem; padding: 0 .4rem; border-radius: 999px; background: rgba(0,0,0,.06); margin-left: .25rem; }

/* 充值套餐 */
.pack-best { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-bg); background: var(--paper); }
.pack-badge { display: inline-block; font-size: .75rem; padding: 0 .5rem; border-radius: 999px; background: var(--accent); color: #fff; margin-left: .35rem; vertical-align: middle; }
.pack p.pack-price { font-size: 1.35rem; font-weight: 700; }
.pack-bonus { color: #8A6A24; font-weight: 600; }
.admin-packs input[type=number], .admin-packs input[type=text] { width: 6.5rem; }

/* 行业洞察：顶栏下拉（与账号菜单同一套纸白卡片、墨青悬停、暖铜点缀） */
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop > summary { list-style: none; cursor: pointer; }
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-drop > summary::after { content: "▾"; font-size: 9px; margin-left: 4px; color: var(--faint); }
.nav-pop {
  display: none; position: absolute; left: 50%; top: calc(100% + 14px); transform: translateX(-50%);
  min-width: 200px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(27, 58, 75, .12); padding: 8px; z-index: 70;
}
.nav-drop:hover > .nav-pop,
.nav-drop[open] > .nav-pop,
.nav-drop:focus-within > .nav-pop { display: grid; }
.nav-pop a, .nav-pop-label { display: block; font-size: 13.5px; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.nav-pop a:hover { background: var(--brand-bg); color: var(--brand); }
.nav-pop-label { margin: 4px 0 0; font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--sub); text-transform: none; }
.nav-pop-sub { padding-left: 18px !important; }
.nav-drawer .drawer-label { margin: 16px 4px 0; font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--sub); }
.nav-drawer .drawer-label.sub { margin-top: 8px; letter-spacing: .06em; }
.nav-drawer a.drawer-link.sub { padding-left: 14px; font-weight: 400; }

/* 首页靠下入口横条 */
.insight-entry { padding: 28px 0; background: var(--wash); border-top: 1px solid var(--line); }
.insight-entry-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.insight-entry-copy h2 { margin: 6px 0 0; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.insight-entry-copy p { margin: 6px 0 0; color: var(--sub); font-size: 13.5px; }
.insight-entry-links { display: flex; flex-wrap: wrap; gap: 10px; }
.insight-entry-links a {
  display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 13.5px; font-weight: 600;
}
.insight-entry-links a:hover { border-color: var(--brand-line); color: var(--brand); }

.crumbs { margin: 0; font-size: 13px; color: var(--sub); }
.empty-panel { text-align: center; padding: 64px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.empty-kicker { font-size: 11px; letter-spacing: .16em; color: var(--accent); font-weight: 700; text-transform: uppercase; }
.empty-panel h2 { margin: 10px 0 0; font-size: 32px; font-weight: 800; }
.empty-panel p { margin: 12px auto 0; color: var(--sub); max-width: 420px; }
.report-group { margin-top: 36px; }
.report-group-title { margin: 0 0 16px; font-size: 20px; font-weight: 800; padding-left: 12px; border-left: 3px solid var(--accent); }
.report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.report-card { display: block; color: inherit; padding: 20px 22px; }
.report-card h3 { margin: 8px 0 0; font-size: 18px; }
.report-card h3 a { color: inherit; text-decoration: none; }
.report-card h3 a:hover { color: var(--brand); }
.report-card-actions { margin: 16px 0 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.report-card-go { color: var(--brand); font-size: 13px; font-weight: 600; text-decoration: none; }
.report-pdf-btn { display: inline-block; padding: 5px 12px; border: 1px solid var(--brand); border-radius: 6px; color: var(--brand); font-size: 13px; font-weight: 600; text-decoration: none; }
.report-pdf-btn:hover { background: var(--brand); color: #fff; }
.report-upload { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; margin: 16px 0 20px; }
.report-upload label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--sub); }
.report-upload label.chk { flex-direction: row; align-items: center; gap: 6px; padding-bottom: 6px; }
@media (max-width: 900px) {
  .report-grid { grid-template-columns: 1fr; }
}
