:root {
  --bg: #f4f6fb;
  --panel: #ffffff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #67748c;
  --line: #e5e9f2;
  --line-strong: #d3dae7;
  --brand: #3d5afe;
  --brand-dark: #2946d9;
  --brand-soft: #eef1ff;
  --green: #0c8f5a;
  --green-soft: #e7f7ef;
  --amber: #a35c07;
  --amber-soft: #fdf3e3;
  --red: #cf2e2e;
  --red-soft: #fdeced;
  --violet: #6d38d6;
  --violet-soft: #f2ecfe;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .06);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .05);
  --sidebar: #0c1424;
  --sidebar-2: #121c30;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -.01em; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
code, pre, .mono { font-family: var(--mono); }
pre { margin: 0; }
::selection { background: #cfd9ff; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line-strong);
  background: #fff; color: var(--ink-2); cursor: pointer; font-weight: 550;
  transition: .15s ease; white-space: nowrap;
}
.btn:hover { border-color: #b9c4d8; background: #fbfcff; text-decoration: none; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 4px 12px rgba(61, 90, 254, .22); }
.btn.primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--brand); }
.btn.ghost:hover { background: var(--brand-soft); }
.btn.danger { color: var(--red); border-color: #f0c4c4; background: #fff; }
.btn.danger:hover { background: var(--red-soft); }
.btn.sm { height: 30px; padding: 0 10px; font-size: 13px; border-radius: 8px; }
.btn.xs { height: 26px; padding: 0 8px; font-size: 12px; border-radius: 7px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-link { background: none; border: none; color: var(--brand); cursor: pointer; padding: 0; font-size: 13px; }

/* ---------- 布局 ---------- */
.shell { display: flex; min-height: 100vh; }
.sidebar {
  width: 232px; flex: 0 0 232px; background: linear-gradient(180deg, var(--sidebar), var(--sidebar-2));
  color: #c8d3e6; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column;
}
.brand { padding: 20px 20px 14px; display: flex; gap: 10px; align-items: center; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, #5b7bff, #8f5bff); color: #fff; font-weight: 800; font-size: 15px;
  box-shadow: 0 6px 16px rgba(91, 123, 255, .35); flex: 0 0 34px;
}
.brand-name { color: #fff; font-weight: 650; font-size: 14px; line-height: 1.25; }
.brand-sub { font-size: 11px; color: #7f8fae; margin-top: 2px; }
.nav { flex: 1; overflow-y: auto; padding: 8px 10px 16px; }
.nav-group { font-size: 11px; color: #5d6d8c; letter-spacing: .08em; padding: 14px 12px 6px; text-transform: uppercase; }
.nav-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; margin: 2px 0;
  border-radius: 9px; color: #aebbd2; cursor: pointer; font-size: 13.5px; border: none; background: none;
  width: 100%; text-align: left; transition: .15s;
}
.nav-item:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.nav-item.active { background: linear-gradient(90deg, rgba(77, 107, 255, .28), rgba(77, 107, 255, .12)); color: #fff; }
.nav-item.active .nav-dot { background: #7f9bff; box-shadow: 0 0 0 4px rgba(127, 155, 255, .15); }
.nav-dot { width: 6px; height: 6px; border-radius: 50%; background: #46577a; flex: 0 0 6px; }
.nav-badge { margin-left: auto; background: #d94343; color: #fff; font-size: 10px; border-radius: 20px; padding: 1px 6px; }
.sidebar-foot { padding: 14px 18px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 11.5px; color: #6f7f9e; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: 62px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px;
  padding: 0 26px; position: sticky; top: 0; z-index: 20;
}
.topbar-title { font-weight: 650; font-size: 16px; }
.topbar-sub { color: var(--muted); font-size: 12px; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.balance-chip {
  display: flex; align-items: center; gap: 8px; background: var(--brand-soft); color: var(--brand-dark);
  border-radius: 10px; padding: 6px 12px; font-weight: 650; font-size: 13px;
}
.balance-chip small { color: #6c7bb5; font-weight: 500; }
.user-chip { display: flex; align-items: center; gap: 9px; padding: 4px 6px 4px 10px; border-radius: 10px; cursor: pointer; }
.user-chip:hover { background: #f2f5fc; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #3d5afe, #8f5bff); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.user-name { font-size: 13px; font-weight: 600; line-height: 1.2; }
.user-role { font-size: 11px; color: var(--muted); }
.content { padding: 24px 26px 48px; max-width: 1440px; width: 100%; }
.content.narrow { max-width: 1080px; }

.page-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.page-title { font-size: 21px; }
.page-desc { color: var(--muted); font-size: 13px; margin-top: 3px; }
.page-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- 卡片 / 栅格 ---------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-head { padding: 16px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.card-title { font-weight: 650; font-size: 14.5px; }
.card-desc { color: var(--muted); font-size: 12.5px; }
.card-body { padding: 18px; }
.card-body.tight { padding: 12px 18px; }
.card-foot { padding: 12px 18px; border-top: 1px solid var(--line); display: flex; gap: 8px; align-items: center; }
.grid { display: grid; gap: 16px; }
.grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.side { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; }
.grid.side-even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.spacer { flex: 1; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.xsmall { font-size: 11.5px; }
.strong { font-weight: 650; }
.nowrap { white-space: nowrap; }
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mt20 { margin-top: 20px; }
.mb8 { margin-bottom: 8px; } .mb12 { margin-bottom: 12px; } .mb16 { margin-bottom: 16px; }
.center { text-align: center; }
.hidden { display: none !important; }

/* ---------- KPI ---------- */
.kpi { padding: 18px; }
.kpi-label { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.kpi-value { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.kpi-value small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 3px; }
.kpi-foot { margin-top: 8px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.kpi.blue { background: linear-gradient(160deg, #f3f6ff, #fff 60%); }
.kpi.green { background: linear-gradient(160deg, #f0fbf5, #fff 60%); }
.kpi.amber { background: linear-gradient(160deg, #fff9ef, #fff 60%); }
.kpi.violet { background: linear-gradient(160deg, #f8f4ff, #fff 60%); }
.trend-up { color: var(--green); } .trend-down { color: var(--red); }

/* ---------- 徽章 ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 20px;
  font-size: 12px; font-weight: 550; background: #f1f4fa; color: #4b5a74; border: 1px solid transparent;
  white-space: nowrap; line-height: 1.7;
}
.badge.success { background: var(--green-soft); color: var(--green); }
.badge.warn { background: var(--amber-soft); color: var(--amber); }
.badge.danger { background: var(--red-soft); color: var(--red); }
.badge.info { background: var(--brand-soft); color: var(--brand-dark); }
.badge.violet { background: var(--violet-soft); color: var(--violet); }
.badge.dot::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ---------- 表格 ---------- */
.table-wrap { width: 100%; overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th {
  text-align: left; font-weight: 600; color: var(--muted); background: #f8fafd;
  padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; font-size: 12.5px;
}
.table td { padding: 11px 14px; border-bottom: 1px solid #eef1f7; vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: #fbfcff; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table th.num { text-align: right; }
.table .actions { white-space: nowrap; }
.table .actions .btn { margin-left: 4px; }
.table.compact td, .table.compact th { padding: 8px 10px; }
.empty { padding: 40px 16px; text-align: center; color: var(--muted); font-size: 13px; }
.empty b { display: block; color: var(--ink-2); margin-bottom: 4px; font-size: 14px; }
.tfoot { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.pager { margin-left: auto; display: flex; gap: 6px; align-items: center; }

/* ---------- 表单 ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
.field > label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.field .hint { font-size: 11.5px; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 9px; padding: 8px 11px;
  background: #fff; color: var(--ink); outline: none; transition: .15s; min-height: 36px;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(61, 90, 254, .12); }
.textarea { min-height: 120px; resize: vertical; font-family: var(--mono); font-size: 12.5px; line-height: 1.6; }
.input[readonly] { background: #f7f9fc; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.inline-form .field { margin-bottom: 0; min-width: 130px; }
.check { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; cursor: pointer; }
input[type=checkbox] { width: 15px; height: 15px; accent-color: var(--brand); }

/* ---------- 提示 ---------- */
.notice {
  display: flex; gap: 12px; padding: 13px 15px; border-radius: 11px; border: 1px solid var(--line);
  background: #f8fafd; font-size: 13px; line-height: 1.65;
}
.notice .ico { font-weight: 700; flex: 0 0 auto; }
.notice.info { background: var(--brand-soft); border-color: #dbe2ff; color: #2a3c9e; }
.notice.warn { background: var(--amber-soft); border-color: #f3dfbd; color: #7a4708; }
.notice.danger { background: var(--red-soft); border-color: #f4cccc; color: #9b2020; }
.notice.success { background: var(--green-soft); border-color: #c9eeda; color: #086b45; }
.notice b { font-weight: 650; }

/* ---------- 进度 / 图表 ---------- */
.progress { height: 9px; border-radius: 20px; background: #edf1f9; overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: 20px; background: linear-gradient(90deg, #4d6bff, #7f9bff); }
.progress.green > span { background: linear-gradient(90deg, #10a86a, #4ed49a); }
.bar-chart { display: flex; align-items: flex-end; gap: 6px; height: 150px; padding-top: 8px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.bar-track { width: 100%; height: 120px; display: flex; align-items: flex-end; }
.bar-fill { width: 100%; min-height: 2px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #6d8bff, #3d5afe); opacity: .9; transition: .2s; }
.bar-col:hover .bar-fill { opacity: 1; }
.bar-label { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }
.hbars { display: flex; flex-direction: column; gap: 12px; }
.hbar-row { display: grid; grid-template-columns: 130px 1fr 80px; gap: 10px; align-items: center; font-size: 12.5px; }
.hbar-track { height: 8px; background: #eef2f9; border-radius: 20px; overflow: hidden; }
.hbar-fill { height: 100%; border-radius: 20px; background: linear-gradient(90deg, #4d6bff, #8f5bff); }

/* ---------- 代码块 ---------- */
.code-block { background: #0e1526; color: #d7e0f4; border-radius: 11px; padding: 15px 16px; overflow-x: auto; font-family: var(--mono); font-size: 12.3px; line-height: 1.75; }
.code-block .c { color: #7f90b3; }
.code-block .k { color: #8fb5ff; }
.code-block .s { color: #a5e8b8; }
.code-inline { background: #f1f4fa; border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; font-family: var(--mono); font-size: 12px; }
.copy-row { display: flex; gap: 8px; align-items: center; }
.copy-row .input { font-family: var(--mono); font-size: 12px; }

/* ---------- 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(10, 17, 33, .5); backdrop-filter: blur(3px);
  display: flex; align-items: flex-start; justify-content: center; padding: 6vh 16px; z-index: 100;
  overflow-y: auto; animation: fade .15s ease;
}
.modal {
  background: #fff; border-radius: 16px; width: 560px; max-width: 100%; box-shadow: 0 30px 80px rgba(10, 17, 33, .3);
  animation: pop .18s ease; margin-bottom: 6vh;
}
.modal.wide { width: 860px; }
.modal.xwide { width: 1050px; }
.modal-head { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.modal-title { font-weight: 650; font-size: 15.5px; }
.modal-close { margin-left: auto; border: none; background: #f3f5fa; width: 28px; height: 28px; border-radius: 8px; cursor: pointer; color: var(--muted); font-size: 15px; }
.modal-close:hover { background: #e9edf6; }
.modal-body { padding: 20px; max-height: 68vh; overflow-y: auto; }
.modal-foot { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; gap: 8px; justify-content: flex-end; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.99) } to { opacity: 1; transform: none } }

/* ---------- Toast ---------- */
#toasts { position: fixed; top: 18px; right: 18px; z-index: 300; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: #0f172a; color: #fff; padding: 10px 14px; border-radius: 10px; font-size: 13px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .25); animation: pop .2s ease; max-width: 380px;
}
.toast.success { background: #087a4e; }
.toast.error { background: #b02323; }
.toast.warn { background: #8a5306; }

/* ---------- 登录 ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.auth-art {
  background: radial-gradient(circle at 20% 20%, rgba(93, 122, 255, .35), transparent 45%),
              radial-gradient(circle at 80% 70%, rgba(143, 91, 255, .3), transparent 45%),
              linear-gradient(150deg, #0a1120, #131f38);
  color: #fff; padding: 52px; display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.auth-art::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
}
.auth-art h1 { font-size: 30px; line-height: 1.35; letter-spacing: -.02em; position: relative; z-index: 1; }
.auth-art p { color: #9fb0cd; max-width: 460px; position: relative; z-index: 1; }
.auth-points { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; margin-top: 22px; }
.auth-points div { display: flex; gap: 10px; color: #c6d3e8; font-size: 13.5px; }
.auth-points i { width: 20px; height: 20px; border-radius: 6px; background: rgba(120, 150, 255, .22); color: #9db4ff; display: grid; place-items: center; font-style: normal; font-size: 11px; flex: 0 0 20px; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: #fff; }
.auth-card { width: 400px; max-width: 100%; }
.auth-card h2 { font-size: 24px; }
.auth-tabs { display: flex; background: #f3f5fb; border-radius: 10px; padding: 4px; margin: 20px 0; }
.auth-tabs button { flex: 1; border: none; background: none; padding: 8px 0; border-radius: 8px; cursor: pointer; color: var(--muted); font-weight: 600; font-size: 13px; }
.auth-tabs button.active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(15,23,42,.08); }
.auth-switch { margin-top: 18px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ---------- 官网 ---------- */
.landing { background: #fff; }
.land-nav { height: 68px; display: flex; align-items: center; gap: 28px; padding: 0 6vw; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(255,255,255,.93); backdrop-filter: blur(12px); z-index: 40; }
.land-nav .links { display: flex; gap: 22px; font-size: 13.5px; color: var(--ink-2); }
.land-nav .links a { color: inherit; }
.land-nav .links a:hover { color: var(--brand); text-decoration: none; }
.land-nav .right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.hero { padding: 72px 6vw 56px; background:
  radial-gradient(900px 380px at 15% -10%, rgba(61, 90, 254, .12), transparent 60%),
  radial-gradient(700px 340px at 90% 0%, rgba(143, 91, 255, .1), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 44px; align-items: center; max-width: 1220px; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line); padding: 4px 11px; border-radius: 20px; font-size: 12px; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.hero h1 { font-size: 44px; line-height: 1.22; letter-spacing: -.03em; margin: 18px 0 14px; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #3d5afe, #8f5bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 15.5px; color: #4a5872; max-width: 560px; line-height: 1.8; }
.hero-cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero-metrics { display: flex; gap: 30px; margin-top: 36px; flex-wrap: wrap; }
.hero-metrics b { display: block; font-size: 21px; font-weight: 700; }
.hero-metrics span { font-size: 12px; color: var(--muted); }
.hero-card { background: #0d1527; border-radius: 18px; padding: 18px; box-shadow: 0 30px 70px rgba(15, 23, 42, .28); border: 1px solid #1c2942; }
.hero-card-head { display: flex; gap: 6px; margin-bottom: 12px; align-items: center; }
.hero-card-head i { width: 9px; height: 9px; border-radius: 50%; background: #2c3a55; }
.hero-card-head span { margin-left: 8px; font-size: 11px; color: #6f80a3; font-family: var(--mono); }
.section { padding: 64px 6vw; }
.section.alt { background: #f7f9fd; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-head h2 { font-size: 29px; letter-spacing: -.02em; }
.section-head p { color: var(--muted); margin: 8px 0 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1220px; margin: 0 auto; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 22px; box-shadow: var(--shadow-sm); }
.feature .ico { width: 38px; height: 38px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 700; margin-bottom: 13px; }
.feature h3 { font-size: 15.5px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0; }
.pricing-table { max-width: 1080px; margin: 0 auto; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1100px; margin: 0 auto 26px; }
.price-card { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: #fff; position: relative; }
.price-card.featured { border-color: #b9c8ff; box-shadow: 0 18px 44px rgba(61, 90, 254, .13); }
.price-card .tag { position: absolute; top: -10px; right: 18px; background: var(--brand); color: #fff; font-size: 11px; padding: 3px 10px; border-radius: 20px; }
.price-card h3 { font-size: 15px; }
.price-card .rate { font-size: 30px; font-weight: 750; margin: 8px 0 2px; letter-spacing: -.02em; }
.price-card ul { padding-left: 18px; color: var(--muted); font-size: 12.8px; line-height: 1.9; margin: 14px 0 0; }
.docs-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; max-width: 1220px; margin: 0 auto; align-items: start; }
.step { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.step:last-child { border-bottom: none; }
.step-num { width: 26px; height: 26px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); font-weight: 700; display: grid; place-items: center; font-size: 12.5px; flex: 0 0 26px; }
.step h4 { font-size: 14px; margin-bottom: 3px; }
.step p { margin: 0; color: var(--muted); font-size: 12.5px; }
.table.price th, .table.price td { font-size: 12.8px; }
.foot { padding: 34px 6vw; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot .spacer { flex: 1; }

/* ---------- 备案信息 ---------- */
.filing {
  flex-basis: 100%; display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 6px 18px; padding-top: 10px; font-size: 12px; color: var(--muted); text-align: center;
}
.filing a { display: inline-flex; align-items: center; gap: 5px; color: inherit; text-decoration: none; white-space: nowrap; }
.filing a:hover { color: var(--brand); text-decoration: none; }
.filing img { width: 15px; height: 16px; display: block; flex: 0 0 auto; }
.app-foot {
  margin-top: auto; background: #fff; border-top: 1px solid var(--line);
  padding: 14px 26px; display: flex; justify-content: center;
}
.app-foot .filing { flex-basis: auto; padding-top: 0; }
.filing-auth { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.compliance-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; max-width: 1050px; margin: 0 auto; }
.compliance-list div { display: flex; gap: 10px; font-size: 13px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.compliance-list i { color: var(--green); font-style: normal; }
.hash-anchor { scroll-margin-top: 84px; }

/* ---------- 其他 ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tabs button { border: none; background: none; padding: 9px 14px; cursor: pointer; color: var(--muted); font-weight: 550; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button.active { color: var(--brand); border-bottom-color: var(--brand); }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; font-size: 13px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.list-clean { margin: 0; padding: 0; list-style: none; }
.list-clean li { padding: 10px 0; border-bottom: 1px solid #eef1f7; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.list-clean li:last-child { border-bottom: none; }
.check-list { margin: 0; padding-left: 0; list-style: none; font-size: 13px; }
.check-list li { padding: 6px 0 6px 22px; position: relative; color: var(--ink-2); }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.danger-list li::before { content: '×'; color: var(--red); }
.timeline { display: flex; gap: 0; overflow-x: auto; }
.timeline-step { flex: 1; min-width: 110px; text-align: center; position: relative; font-size: 12px; color: var(--muted); padding-top: 24px; }
.timeline-step::before { content: ''; position: absolute; top: 8px; left: 0; right: 0; height: 2px; background: var(--line); }
.timeline-step:first-child::before { left: 50%; }
.timeline-step:last-child::before { right: 50%; }
.timeline-step i { position: absolute; top: 2px; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; border-radius: 50%; background: #dfe5f1; border: 3px solid #fff; }
.timeline-step.done { color: var(--green); }
.timeline-step.done i { background: var(--green); }
.timeline-step.current { color: var(--brand); font-weight: 600; }
.timeline-step.current i { background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; margin-right: 5px; }
.status-dot.ok { background: #10b981; } .status-dot.bad { background: #ef4444; } .status-dot.warn { background: #f59e0b; }
.scroll-y { max-height: 420px; overflow-y: auto; }
.hint-box { background: #f8fafd; border: 1px dashed var(--line-strong); border-radius: 10px; padding: 12px 14px; font-size: 12.5px; color: var(--muted); }
.divider { height: 1px; background: var(--line); margin: 16px 0; }
.spin { display: inline-block; width: 16px; height: 16px; border: 2px solid #d8e0f0; border-top-color: var(--brand); border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-page { min-height: 60vh; display: grid; place-items: center; color: var(--muted); gap: 12px; }

@media (max-width: 1180px) {
  .grid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 640px; }
}
@media (max-width: 980px) {
  .grid.c3, .grid.side, .grid.side-even, .feature-grid, .docs-grid, .price-grid { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 60; transform: translateX(-100%); transition: .2s; }
  .sidebar.open { transform: none; }
  .main { margin-left: 0; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .land-nav .links { display: none; }
  .content { padding: 18px 16px 40px; }
  .topbar { padding: 0 16px; }
  .user-name, .user-role { display: none; }
}
@media (max-width: 720px) {
  .grid.c2, .grid.c4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .section { padding: 44px 5vw; }
  .kpi-value { font-size: 22px; }
  .compliance-list { grid-template-columns: 1fr; }
  .hero-metrics { gap: 20px; }
  .modal-body { max-height: 72vh; }
}
@media (max-width: 768px) {
  .landing { overflow-wrap: anywhere; }
  .land-nav { padding: 0 16px; gap: 14px; }
  .hero { padding: 44px 16px 36px; }
  .section { padding: 40px 16px; }
  .hero-grid > *, .docs-grid > *, .grid > *, .hero-card, .card, .feature, .price-card { min-width: 0; }
  .hero h1 { font-size: 27px; overflow-wrap: anywhere; }
  .hero p.lead { font-size: 14.5px; }
  .hero-card { padding: 12px; }
  .code-block { font-size: 11.5px; }
  .hbar-row { grid-template-columns: 84px minmax(0, 1fr) 58px; }
  .kv { grid-template-columns: 80px minmax(0, 1fr); overflow-wrap: anywhere; }
  .page-head { gap: 10px; }
  .page-actions { margin-left: 0; width: 100%; }
  .card-head { flex-wrap: wrap; }
  .modal-mask { padding: 3vh 10px; }
  .modal-body { max-height: 76vh; }
  .toast { max-width: calc(100vw - 32px); }
  .topbar { padding: 0 14px; gap: 8px; }
  .balance-chip { font-size: 12px; padding: 4px 8px; }
  .auth-panel { padding: 28px 16px; }
  .app-foot { padding: 12px 16px; }
  .filing { gap: 4px 12px; font-size: 11.5px; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 24px; }
  .section-head h2 { font-size: 22px; }
  .page-title { font-size: 18px; }
  .content { padding: 14px 12px 32px; }
  .kpi { padding: 14px; }
  .table th, .table td { padding: 9px 10px; }
  .tfoot { flex-wrap: wrap; }
  .pager { margin-left: 0; }
  .btn { padding: 0 10px; }
}
