/* ============================================================
   Feoin飞擎 移动端设计系统 v4.0
   参考: 支付宝APP / 阿里云APP / Ant Design Mobile
   特征: 浅灰画布 · 白色圆角卡片 · 品牌蓝 · 功能宫格 · 数据驱动
   ============================================================ */

:root {
  /* -- 品牌色 (支付宝级企业蓝) -- */
  --brand: #1677FF;
  --brand-deep: #0958D9;
  --brand-ink: #003EB3;
  --brand-weak: #E6F4FF;
  --brand-soft: #F0F7FF;
  --brand-line: #BAE0FF;

  /* -- 语义色 -- */
  --success: #00B96B;
  --success-weak: #F0FAF5;
  --warning: #FA8C16;
  --warning-weak: #FFF7E6;
  --danger: #FF4D4F;
  --danger-weak: #FFF2F0;
  --info: #0E7490;
  --info-weak: #E0F4F8;
  --purple: #722ED1;
  --purple-weak: #F9F0FF;
  --gold: #FAAD14;
  --gold-weak: #FFFBE6;

  /* -- 中性色 -- */
  --canvas: #F5F6F8;
  --surface: #FFFFFF;
  --surface-2: #F7F8FA;
  --surface-3: #EFF1F4;
  --line: #ECEEF1;
  --line-strong: #D9DDE3;
  --ink: #1A1A1A;
  --ink-2: #595959;
  --ink-3: #8C8C8C;
  --ink-4: #BFBFBF;

  /* -- 圆角 -- */
  --r-xl: 20px;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;

  /* -- 间距 -- */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-7: 28px; --sp-8: 32px; --sp-10: 40px;

  /* -- 阴影 (阿里云风格: 轻盈但有层次) -- */
  --sh-1: 0 1px 2px rgba(0,0,0,.03);
  --sh-2: 0 2px 8px rgba(0,0,0,.06);
  --sh-3: 0 8px 24px -4px rgba(0,0,0,.12);
  --sh-brand: 0 4px 12px -2px rgba(22,119,255,.35);

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --nav-h: 56px;
}

/* 深色模式 */
[data-theme="dark"] {
  --brand: #4096FF;
  --brand-deep: #1668DC;
  --brand-ink: #0958D9;
  --brand-weak: #111D33;
  --brand-soft: #0D1828;
  --brand-line: #1D2F4D;
  --success: #23B082;
  --success-weak: #0E2920;
  --warning: #E8912E;
  --warning-weak: #2E2210;
  --danger: #F26B6B;
  --danger-weak: #2E1416;
  --info: #2FA6C4;
  --info-weak: #0E2530;
  --purple: #9254DE;
  --purple-weak: #1A1330;
  --gold: #FAAD14;
  --gold-weak: #221A08;
  --canvas: #0E1116;
  --surface: #181C22;
  --surface-2: #1E232B;
  --surface-3: #252B35;
  --line: #252B35;
  --line-strong: #2E3540;
  --ink: #E8EAED;
  --ink-2: #9CA3AF;
  --ink-3: #6B7280;
  --ink-4: #4B5563;
  --sh-1: 0 1px 2px rgba(0,0,0,.3);
  --sh-2: 0 2px 8px rgba(0,0,0,.4);
  --sh-3: 0 8px 24px -4px rgba(0,0,0,.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Source Han Sans SC", "Segoe UI", Roboto, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.5;
  font-size: 15px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { padding-top: var(--safe-top); padding-bottom: calc(var(--nav-h) + var(--safe-bottom) + var(--sp-3)); min-height: 100vh; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; font-size: inherit; }
input, select, textarea { font-family: inherit; border: none; outline: none; background: none; color: inherit; font-size: inherit; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
::placeholder { color: var(--ink-3); }

/* ============================================================
   图标系统 (data-ic 自动渲染)
   ============================================================ */
[data-ic] { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
[data-ic] svg { display: block; }

/* ============================================================
   顶部导航 (支付宝式: 白底 + 微模糊)
   ============================================================ */
.app-bar {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: var(--sp-2);
  height: 48px; padding: 0 var(--sp-3);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.app-bar .brand { display: flex; align-items: center; gap: 8px; }
.app-bar .brand .logo {
  width: 90px; height: 27px; border-radius: 8px;
  background: url('../images/logo-w.png') no-repeat center / contain;
  font-size: 0; overflow: hidden;
}
[data-theme="dark"] .app-bar .brand .logo { background-image: url('../images/logo-w-w.png'); }
.app-bar .brand b { font-size: 16px; font-weight: 600; }
.app-bar .bar-title { font-size: 16px; font-weight: 600; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app-bar .spacer { flex: 1; }

.icon-btn {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; color: var(--ink-2);
  transition: background .2s, transform .12s;
}
.icon-btn:active { background: var(--surface-3); transform: scale(.9); }
.icon-btn [data-ic] svg { width: 22px; height: 22px; }

.back-btn { display: flex; align-items: center; gap: 0; color: var(--ink); font-size: 15px; font-weight: 500; padding: 0 4px 0 0; white-space: nowrap; }
.back-btn svg { width: 24px; height: 24px; flex-shrink: 0; }
.back-btn:active { opacity: .6; }

/* ============================================================
   页面容器
   ============================================================ */
.page { padding: var(--sp-3) var(--sp-3) var(--sp-8); }
.page > * + * { margin-top: var(--sp-3); }
.section { margin-top: var(--sp-4); }
.section:first-child { margin-top: 0; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: var(--sp-3); padding: 0 var(--sp-1); }
.section-head h2 { font-size: 16px; font-weight: 600; }
.section-head .sub { font-size: 12px; color: var(--ink-3); }
.section-head .more { font-size: 13px; color: var(--ink-3); font-weight: 500; display: flex; align-items: center; gap: 0; }
.section-head .more:active { color: var(--brand); }
.section-head .more [data-ic] svg { width: 16px; height: 16px; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: var(--sp-3); padding: 0 var(--sp-1); }
.section-title h2 { font-size: 16px; font-weight: 600; }
.section-title .more { font-size: 13px; color: var(--ink-3); font-weight: 500; display: flex; align-items: center; gap: 0; }
.section-title .ov-last { display: flex; flex-direction: column; align-items: flex-end; align-self: center; line-height: 1; }
.section-title .more [data-ic] svg { width: 16px; height: 16px; }

/* ============================================================
   卡片 (白色圆角 + 轻阴影)
   ============================================================ */
.card {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  overflow: hidden;
}
.card-pad { padding: var(--sp-4); }
.card + .card { margin-top: var(--sp-3); }
.card-flat { background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; }

.group { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-2); overflow: hidden; }
.group .g-title { padding: var(--sp-4) var(--sp-4) var(--sp-2); font-size: 13px; font-weight: 600; color: var(--ink-2); }

/* ============================================================
   按钮 (支付宝式)
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: var(--r-md); font-size: 15px; font-weight: 600;
  padding: 11px 20px; min-height: 44px; white-space: nowrap;
  transition: transform .12s, opacity .2s;
}
.btn:active { transform: scale(.97); opacity: .85; }
.btn [data-ic] svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
.btn-outline { background: var(--surface); color: var(--brand); border: 1px solid var(--brand-line); }
.btn-ghost { background: var(--surface-3); color: var(--ink-2); }
.btn-block { width: 100%; }
.btn-lg { padding: 13px 24px; font-size: 16px; min-height: 50px; border-radius: var(--r-md); }
.btn-sm { padding: 6px 12px; min-height: 30px; font-size: 12px; border-radius: var(--r-sm); }
.btn-sm [data-ic] svg { width: 14px; height: 14px; }

/* ============================================================
   表单
   ============================================================ */
.field { margin-bottom: var(--sp-4); }
.field > label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: var(--sp-2); }
.input-wrap {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 0 14px; min-height: 48px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.input-wrap:focus-within { border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 3px var(--brand-weak); }
.input-wrap [data-ic] svg { width: 20px; height: 20px; color: var(--ink-3); flex-shrink: 0; }
.input-wrap input { flex: 1; font-size: 15px; height: 100%; min-width: 0; }
.input-wrap select { flex: 1; font-size: 15px; appearance: none; -webkit-appearance: none; background: none; }

.chip-row { display: flex; gap: var(--sp-2); overflow-x: auto; padding: 2px 2px var(--sp-2); scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-strong);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  transition: all .2s; white-space: nowrap;
}
.chip:active { transform: scale(.95); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

.seg { display: flex; background: var(--surface-3); border-radius: 10px; padding: 3px; }
.seg button { flex: 1; padding: 7px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); transition: all .2s; }
.seg button.active { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--sh-1); }

/* ============================================================
   徽章
   ============================================================ */
.badge { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; line-height: 1.6; }
.badge-blue { background: var(--brand-weak); color: var(--brand); }
.badge-green { background: var(--success-weak); color: var(--success); }
.badge-amber { background: var(--warning-weak); color: var(--warning); }
.badge-red { background: var(--danger-weak); color: var(--danger); }
.badge-gray { background: var(--surface-3); color: var(--ink-2); }
.badge-purple { background: var(--purple-weak); color: var(--purple); }
.badge-gold { background: var(--gold-weak); color: var(--gold); }

/* ============================================================
   底部导航 (支付宝式: 白底 + 品牌蓝高亮)
   ============================================================ */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  height: calc(var(--nav-h) + var(--safe-bottom));
  padding: 4px var(--sp-2) var(--safe-bottom);
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--line);
  display: flex;
}
.bottom-nav .nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--ink-3); font-size: 10px; font-weight: 500;
  transition: color .2s;
}
.bottom-nav .nav-item [data-ic] svg { width: 24px; height: 24px; }
.bottom-nav .nav-item.active { color: var(--brand); font-weight: 600; }
.bottom-nav .nav-item:active { transform: scale(.92); }
/* 兼容旧版直接 svg */
.bottom-nav .nav-item svg { width: 24px; height: 24px; }

/* ============================================================
   首页 Hero (支付宝式品牌渐变头部)
   ============================================================ */
.hero { position: relative; padding: var(--sp-4) var(--sp-3) var(--sp-2); }
.hero .hero-greet { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: var(--sp-3); }
.hero .hero-greet .hi { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.hero .hero-greet h1 { font-size: 22px; font-weight: 700; margin-top: 2px; }
.hero .hero-greet .hi-suffix { font-size: 12px; color: var(--brand); font-weight: 600; }

/* 品牌渐变搜索卡 */
.hero-search {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  border-radius: var(--r-xl); padding: var(--sp-4);
  color: #fff; position: relative; overflow: hidden;
  box-shadow: var(--sh-3);
}
.hero-search::after {
  content: ""; position: absolute; right: -30px; top: -40px; width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(255,255,255,.15), transparent 65%); border-radius: 50%;
}
.hero-search .hs-title { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 7px; position: relative; z-index: 1; }
.hero-search .hs-title [data-ic] svg { width: 18px; height: 18px; }
.hero-search .hs-sub { font-size: 12px; opacity: .85; margin: 5px 0 14px; position: relative; z-index: 1; }
.hs-form { background: var(--surface); border-radius: var(--r-md); padding: var(--sp-2); display: flex; flex-direction: column; gap: 6px; position: relative; z-index: 1; }
.hs-form .hs-field {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface-2); border-radius: var(--r-sm); padding: 7px 11px;
}
.hs-form .hs-field [data-ic] svg { width: 17px; height: 17px; color: var(--brand); flex-shrink: 0; }
.hs-form .hs-field .hs-label { font-size: 10px; color: var(--ink-3); }
.hs-form .hs-field input, .hs-form .hs-field select { font-size: 14px; font-weight: 500; flex: 1; min-width: 0; background: none; color: var(--ink); }

.hot-tags { display: flex; gap: var(--sp-2); overflow-x: auto; padding: var(--sp-3) 2px var(--sp-2); scrollbar-width: none; }
.hot-tags::-webkit-scrollbar { display: none; }
.hot-tags span {
  flex-shrink: 0; font-size: 12px; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 999px; transition: all .2s;
  box-shadow: var(--sh-1);
}
.hot-tags span:active { border-color: var(--brand); color: var(--brand); }

/* 模块页头部 */
.module-head { padding: var(--sp-4) var(--sp-3) 0; }
.module-head .mh-kicker { font-size: 11px; font-weight: 600; color: var(--brand); letter-spacing: .3px; }
.module-head .mh-title { font-size: 20px; font-weight: 700; margin-top: 6px; line-height: 1.35; }
.module-head .mh-desc { font-size: 13px; color: var(--ink-2); margin-top: 6px; }

/* ============================================================
   功能宫格 (支付宝九宫格式)
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }

.fn-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: var(--sp-3) var(--sp-1); text-align: center; }
.fn-item .fn-ic {
  width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center;
  transition: transform .2s;
}
.fn-item .fn-ic [data-ic] svg { width: 22px; height: 22px; }
.fn-item .fn-ic svg { width: 22px; height: 22px; }
.fn-item .fn-ic.brand { background: var(--brand-weak); color: var(--brand); }
.fn-item .fn-ic.green { background: var(--success-weak); color: var(--success); }
.fn-item .fn-ic.amber { background: var(--warning-weak); color: var(--warning); }
.fn-item .fn-ic.purple { background: var(--purple-weak); color: var(--purple); }
.fn-item .fn-ic.info { background: var(--info-weak); color: var(--info); }
.fn-item:active .fn-ic { transform: scale(.88); }
.fn-item span { font-size: 12px; font-weight: 500; color: var(--ink-2); }

/* 功能大卡 */
.fn-big { display: flex; align-items: center; gap: 12px; padding: var(--sp-4); border-radius: var(--r-lg); }
.fn-big .fn-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.fn-big .fn-ic [data-ic] svg { width: 21px; height: 21px; }
.fn-big .fn-ic svg { width: 21px; height: 21px; }
.fn-big h3 { font-size: 15px; font-weight: 600; }
.fn-big p { font-size: 12px; color: var(--ink-3); margin-top: 3px; }
.fn-big .arrow { margin-left: auto; color: var(--ink-3); }
.fn-big .arrow [data-ic] svg { width: 18px; height: 18px; }
.fn-big .arrow svg { width: 18px; height: 18px; }
/* grid-2 中的 fn-big 改为纵向紧凑布局，避免文字换行导致卡片高度不一致 */
.grid-2 .fn-big { flex-direction: column; align-items: flex-start; gap: 10px; }
.grid-2 .fn-big .fn-ic { width: 38px; height: 38px; border-radius: 11px; }
.grid-2 .fn-big .fn-ic [data-ic] svg, .grid-2 .fn-big .fn-ic svg { width: 19px; height: 19px; }
.grid-2 .fn-big h3 { font-size: 14px; }
.grid-2 .fn-big p { font-size: 11.5px; }
.grid-2 .fn-big .arrow { display: none; }
.grid-2 .fn-item + .fn-item { margin-top: 0; }

/* ============================================================
   列表项
   ============================================================ */
.list-item { display: flex; align-items: center; gap: 12px; padding: 14px var(--sp-4); transition: background .2s; }
.group .list-item + .list-item, .card .list-item + .list-item { border-top: 1px solid var(--line); }
.list-item:active { background: var(--surface-2); }
.list-item .li-ic { width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; }
.list-item .li-ic [data-ic] svg { width: 19px; height: 19px; }
.list-item .li-ic svg { width: 19px; height: 19px; }
/* 我的服务整列图标统一浅灰色 */
.svc-list .li-ic { background: var(--surface-3); color: var(--ink-2); }
.list-item .li-body { flex: 1; min-width: 0; }
.list-item .li-title { font-size: 15px; font-weight: 500; }
.list-item .li-sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.list-item .li-arrow { color: var(--ink-3); }
.list-item .li-arrow [data-ic] svg { width: 18px; height: 18px; }
.list-item .li-arrow svg { width: 18px; height: 18px; }

/* ============================================================
   评分环 / 进度 / 统计
   ============================================================ */
.ring-wrap { display: flex; align-items: center; gap: 18px; }
.ring { position: relative; width: 100px; height: 100px; flex-shrink: 0; }
.ring svg { transform: rotate(-90deg); }
.ring .ring-bg { fill: none; stroke: var(--surface-3); stroke-width: 9; }
.ring .ring-val { fill: none; stroke: url(#grad); stroke-width: 9; stroke-linecap: round; }
.ring .ring-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring .ring-center .num { font-size: 26px; font-weight: 700; line-height: 1; }
.ring .ring-center .lbl { font-size: 9px; color: var(--ink-3); letter-spacing: .5px; }

.dim { margin-bottom: var(--sp-4); }
.dim:last-child { margin-bottom: 0; }
.dim .dim-top { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 7px; }
.dim .dim-top b { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.dim .dim-top .val { font-weight: 600; }
.bar { height: 6px; background: var(--surface-3); border-radius: 99px; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 99px; transition: width .6s ease; }

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
.stat { background: var(--surface); border-radius: var(--r-lg); padding: var(--sp-4); box-shadow: var(--sh-2); }
.stat .s-label { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.stat .s-value { font-size: 24px; font-weight: 700; margin-top: 6px; letter-spacing: .2px; line-height: 1.1; }
.stat .s-trend { font-size: 11px; font-weight: 600; margin-top: 6px; }
.stat .s-trend.up { color: var(--success); }
.stat .s-trend.down { color: var(--danger); }

.risk-row { display: flex; align-items: center; gap: 12px; padding: 14px var(--sp-4); }
.group .risk-row + .risk-row { border-top: 1px solid var(--line); }
.risk-row .risk-l { flex: 1; }
.risk-row .risk-name { font-size: 14px; font-weight: 600; }
.risk-row .risk-why { font-size: 12px; color: var(--ink-3); margin-top: 3px; }
.risk-level { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 7px; }
.risk-level.low { background: var(--success-weak); color: var(--success); }
.risk-level.mid { background: var(--warning-weak); color: var(--warning); }
.risk-level.high { background: var(--danger-weak); color: var(--danger); }

.cmp-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.cmp-tbl th, .cmp-tbl td { padding: 11px 10px; text-align: center; }
.cmp-tbl thead th { font-size: 12px; color: var(--ink-3); font-weight: 500; background: var(--surface-2); }
.cmp-tbl tbody tr:not(:last-child) td { border-bottom: 1px solid var(--line); }
.cmp-tbl td:first-child { text-align: left; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.cmp-tbl .hl { color: var(--brand); font-weight: 700; }

.insight { display: flex; flex-direction: column; gap: 10px; padding: var(--sp-4); }
.insight .i-top { display: flex; align-items: center; justify-content: space-between; }
.insight h3 { font-size: 15px; font-weight: 600; }
.insight p { font-size: 13px; color: var(--ink-3); line-height: 1.6; }
.insight .i-metric { display: flex; align-items: baseline; gap: 6px; }
.insight .i-metric .v { font-size: 22px; font-weight: 700; }
.insight .i-metric .l { font-size: 12px; color: var(--ink-3); }

/* ============================================================
   提示条
   ============================================================ */
.notice { display: flex; align-items: flex-start; gap: 10px; background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: var(--r-md); padding: 12px 14px; font-size: 12.5px; color: var(--ink-2); line-height: 1.6; }
.notice [data-ic] svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; color: var(--brand); }
.notice svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; color: var(--brand); }
.notice.amber { background: var(--warning-weak); border-color: #FFD591; color: #8a4a00; }
.notice.amber [data-ic] svg, .notice.amber svg { color: var(--warning); }
.notice.red { background: var(--danger-weak); border-color: #FFCCC7; color: #9b1f1f; }
.notice.red [data-ic] svg, .notice.red svg { color: var(--danger); }
.notice.green { background: var(--success-weak); border-color: #B7EB8F; color: #065f46; }
.notice.green [data-ic] svg, .notice.green svg { color: var(--success); }

/* ============================================================
   页面底部说明
   ============================================================ */
.page-foot {
  padding: var(--sp-4) var(--sp-4) var(--sp-2);
  text-align: center;
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

/* ============================================================
   步骤条
   ============================================================ */
.steps { display: flex; align-items: center; gap: 6px; }
.steps .step { flex: 1; text-align: center; font-size: 11px; color: var(--ink-3); font-weight: 500; }
.steps .step .dot { width: 26px; height: 26px; border-radius: 50%; margin: 0 auto 5px; display: grid; place-items: center; background: var(--surface-3); border: 1px solid var(--line); font-size: 11px; font-weight: 600; color: var(--ink-3); }
.steps .step.active { color: var(--ink); font-weight: 600; }
.steps .step.active .dot { background: var(--brand); border-color: var(--brand); color: #fff; }
.steps .step.done .dot { background: var(--success); border-color: var(--success); color: #fff; }
.steps .step-line { flex: 1; height: 2px; background: var(--line-strong); border-radius: 99px; }
.steps .step-line.done { background: var(--success); }
/* 执行栏目页物流步骤时间线连接线间距调整 */
main.page > section:nth-child(5) > div.card > div.steps > div.step-line:nth-child(2),
main.page > section:nth-child(5) > div.card > div.steps > div.step-line:nth-child(4),
main.page > section:nth-child(5) > div.card > div.steps > div.step-line:nth-child(6) {
  margin-bottom: 20px;
}

/* ============================================================
   折叠面板
   ============================================================ */
details.acc { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-2); }
details.acc + details.acc { margin-top: 10px; }
details.acc summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px var(--sp-4); font-size: 14.5px; font-weight: 500; cursor: pointer; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary .acc-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
details.acc summary .acc-ic [data-ic] svg { width: 17px; height: 17px; }
details.acc summary .acc-ic svg { width: 17px; height: 17px; }
details.acc summary .chev { margin-left: auto; color: var(--ink-3); transition: transform .25s; }
details.acc summary .chev [data-ic] svg { width: 18px; height: 18px; }
details.acc summary .chev svg { width: 18px; height: 18px; }
details.acc[open] summary .chev { transform: rotate(180deg); }
details.acc .acc-body { padding: 4px var(--sp-4) var(--sp-4) calc(34px + 12px + var(--sp-4)); font-size: 13px; color: var(--ink-2); line-height: 1.7; }
details.acc .acc-body ul { margin-top: 4px; }
details.acc .acc-body li { position: relative; padding-left: 13px; margin-bottom: 3px; }
details.acc .acc-body li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); opacity: .5; }
details.acc.selected { border: 1.5px solid var(--brand); box-shadow: 0 0 0 3px var(--brand-weak); }

/* ============================================================
   认证 / 登录
   ============================================================ */
.auth { min-height: 100vh; display: flex; flex-direction: column; padding: calc(var(--safe-top) + 52px) 28px 40px; background: linear-gradient(170deg, var(--brand-ink) 0%, var(--brand-deep) 60%, var(--brand) 130%); }
.auth .auth-logo { width: 90px; height: 27px; border-radius: 8px; background: url('../images/logo-w.png') no-repeat center / contain; font-size: 0; }
[data-theme="dark"] .auth .auth-logo { background: url('../images/logo-w-w.png') no-repeat center / contain; }
.auth h1 { color: #fff; font-size: 24px; font-weight: 700; margin-top: 20px; line-height: 1.3; }
.auth .sub { color: rgba(255,255,255,.75); font-size: 13.5px; margin-top: 6px; }
.auth .auth-card { background: var(--surface); border-radius: 20px; padding: 26px 22px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); margin-top: 30px; }
.auth .link-row { display: flex; justify-content: space-between; font-size: 13px; margin-top: 14px; }
.auth .link-row a { color: var(--brand); font-weight: 500; }
.auth .or { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 12px; margin: 20px 0; }
.auth .or::before, .auth .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ============================================================
   动效 / 工具
   ============================================================ */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.anim-rise { animation: rise .5s cubic-bezier(.2,.7,.3,1) both; }
.anim-rise-1 { animation: rise .5s cubic-bezier(.2,.7,.3,1) .05s both; }
.anim-rise-2 { animation: rise .5s cubic-bezier(.2,.7,.3,1) .12s both; }
.anim-rise-3 { animation: rise .5s cubic-bezier(.2,.7,.3,1) .19s both; }
.anim-rise-4 { animation: rise .5s cubic-bezier(.2,.7,.3,1) .26s both; }

.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + var(--safe-bottom) + 16px); transform: translateX(-50%) translateY(16px); background: rgba(0,0,0,.85); color: #fff; padding: 10px 18px; border-radius: 10px; font-size: 13px; font-weight: 500; z-index: 200; opacity: 0; pointer-events: none; transition: all .3s; max-width: 82%; text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.skeleton { background: linear-gradient(90deg, var(--surface-3) 25%, var(--surface-2) 50%, var(--surface-3) 75%); background-size: 400% 100%; animation: shimmer 1.4s infinite; border-radius: var(--r-md); }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

.spinner { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--brand-weak); border-top-color: var(--brand); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { position: fixed; inset: 0; background: color-mix(in srgb, var(--canvas) 72%, transparent); backdrop-filter: blur(6px); z-index: 150; display: none; align-items: center; justify-content: center; flex-direction: column; gap: 16px; }
.loading.show { display: flex; }
.loading .msg { font-size: 14px; font-weight: 500; color: var(--ink-2); }

.no-scrollbar::-webkit-scrollbar { display: none; }

/* ============================================================
   图表组件 (纯 CSS/SVG)
   ============================================================ */
.chart-card { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-2); overflow: hidden; }
.chart-card + .chart-card { margin-top: var(--sp-3); }
.chart-card .cc-head { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-4) var(--sp-4) var(--sp-2); }
.chart-card .cc-head h3 { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.chart-card .cc-head h3 [data-ic] svg { width: 17px; height: 17px; color: var(--brand); }
.chart-card .cc-head h3 svg { width: 17px; height: 17px; color: var(--brand); }
.chart-card .cc-head .cc-tag { font-size: 11px; color: var(--ink-3); font-weight: 500; }
.chart-card .cc-body { padding: var(--sp-2) var(--sp-4) var(--sp-4); }

.bar-chart { display: flex; align-items: flex-end; gap: var(--sp-2); height: 150px; padding-top: var(--sp-2); }
.bar-chart .bc-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
.bar-chart .bc-col .bc-val { font-size: 10px; color: var(--ink-3); font-weight: 600; }
.bar-chart .bc-col .bc-bar { width: 100%; max-width: 26px; border-radius: 6px 6px 3px 3px; min-height: 4px; background: linear-gradient(180deg, var(--brand), var(--brand-deep)); transition: height .6s ease; }
.bar-chart .bc-col .bc-bar.alt { background: linear-gradient(180deg, var(--info), #0B5266); }
.bar-chart .bc-col .bc-label { font-size: 10.5px; color: var(--ink-2); }

.hbar { display: flex; align-items: center; justify-content: space-between; font-size: 13px; margin-bottom: var(--sp-2); }
.hbar:last-child { margin-bottom: 0; }
.hbar .hb-name { color: var(--ink-2); }
.hbar .hb-val { font-weight: 600; }
.hbar-track { height: 7px; background: var(--surface-3); border-radius: 99px; overflow: hidden; margin-bottom: var(--sp-3); }
.hbar-track:last-child { margin-bottom: 0; }
.hbar-track > i { display: block; height: 100%; border-radius: 99px; }

.donut-wrap { display: flex; align-items: center; gap: var(--sp-4); }
.donut { position: relative; width: 120px; height: 120px; flex-shrink: 0; }
.donut svg { transform: rotate(-90deg); }
.donut .donut-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.donut .donut-center .v { font-size: 20px; font-weight: 700; }
.donut .donut-center .l { font-size: 9px; color: var(--ink-3); }
/* 标准栏目页认证统计环形图中心数值调整 */
div#certDonutBody > div.donut-wrap > div.donut > div.donut-center > div.v {
  font-size: 30px;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 30px;
}
div#certDonutBody > div.donut-wrap > div.donut > div.donut-center > div.l {
  margin-bottom: 30px;
}
.legend { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.legend .lg-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }
.legend .lg-dot { width: 9px; height: 9px; border-radius: 3px; flex-shrink: 0; }
.legend .lg-pct { margin-left: auto; font-weight: 600; color: var(--ink); }

.line-chart { width: 100%; height: 130px; }
.line-chart svg { width: 100%; height: 100%; display: block; }
.line-chart .lg-grid { stroke: var(--line); stroke-width: 1; }
.line-chart .lg-line { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.line-chart .lg-area { fill: url(#areaGrad); }
.line-chart .lg-dot { fill: var(--brand); stroke: var(--surface); stroke-width: 2; }

.rank-list { display: flex; flex-direction: column; }
.rank-item { display: flex; align-items: center; gap: 12px; padding: 11px 0; }
.rank-item + .rank-item { border-top: 1px solid var(--line); }
.rank-item .rk-num { width: 22px; height: 22px; border-radius: 7px; background: var(--surface-3); color: var(--ink-2); font-size: 12px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.rank-item .rk-num.top { background: var(--brand); color: #fff; }
.rank-item .rk-body { flex: 1; min-width: 0; }
.rank-item .rk-title { font-size: 13.5px; font-weight: 600; }
.rank-item .rk-sub { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.rank-item .rk-val { font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 3px; }

.metric-scroll { display: flex; gap: var(--sp-3); overflow-x: auto; padding: 2px 2px var(--sp-2); scrollbar-width: none; }
.metric-scroll::-webkit-scrollbar { display: none; }
.metric { flex-shrink: 0; min-width: 130px; background: var(--surface); border-radius: var(--r-lg); padding: var(--sp-3) var(--sp-4); box-shadow: var(--sh-2); }
.metric .m-label { font-size: 11px; color: var(--ink-3); font-weight: 500; }
.metric .m-value { font-size: 22px; font-weight: 700; margin-top: 4px; letter-spacing: .2px; }
.metric .m-trend { font-size: 11px; font-weight: 600; margin-top: 4px; }
.metric .m-trend.up { color: var(--success); }
.metric .m-trend.down { color: var(--danger); }
.metric .m-trend.flat { color: var(--ink-3); }

.intel-card { display: flex; gap: 12px; padding: var(--sp-4); border-radius: var(--r-lg); }
.intel-card .ic-badge { flex-shrink: 0; }
.intel-card .ic-body { flex: 1; min-width: 0; }
.intel-card .ic-title { font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.intel-card .ic-desc { font-size: 12.5px; color: var(--ink-2); margin-top: 5px; line-height: 1.6; }
.intel-card .ic-meta { display: flex; align-items: center; gap: 8px; margin-top: 9px; font-size: 11px; color: var(--ink-3); }
.intel-clamp .ic-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.intel-clamp .ic-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.level-card { border-radius: var(--r-lg); padding: var(--sp-4); }
.level-card.current { border: 1.5px solid var(--brand); background: var(--brand-soft); }
.level-card .lc-name { font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; }
.level-card .lc-desc { font-size: 12px; color: var(--ink-2); margin: 6px 0 12px; line-height: 1.55; }
.level-card .lc-benefit { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 6px 0; color: var(--ink-2); }
.level-card .lc-benefit.on { color: var(--ink); }
.level-card .lc-benefit .ck { width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.level-card .lc-benefit.on .ck { background: var(--success-weak); color: var(--success); }
.level-card .lc-benefit.off .ck { background: var(--surface-3); color: var(--ink-3); }

.plan-card { border-radius: var(--r-lg); padding: var(--sp-5); position: relative; overflow: hidden; box-shadow: var(--sh-2); }
.plan-card.recommend { border: 1.5px solid var(--brand); }
.plan-card .pc-tag { position: absolute; top: 0; right: 0; background: var(--brand); color: #fff; font-size: 10.5px; font-weight: 700; padding: 4px 12px; border-radius: 0 0 0 10px; }
.plan-card .pc-name { font-size: 16px; font-weight: 700; }
.plan-card .pc-price { font-size: 26px; font-weight: 800; margin: 10px 0 2px; }
.plan-card .pc-price span { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.plan-card .pc-desc { font-size: 12.5px; color: var(--ink-2); margin-bottom: 14px; }
.plan-card .pc-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.plan-card .pc-features li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.plan-card .pc-features li [data-ic] svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; }
.plan-card .pc-features li svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; }

.order-item { padding: var(--sp-4); border-radius: var(--r-lg); }
.order-item + .order-item { margin-top: var(--sp-3); }
.order-item .oi-top { display: flex; align-items: center; justify-content: space-between; }
.order-item .oi-title { font-size: 14.5px; font-weight: 600; }
.order-item .oi-sub { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.order-item .oi-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.order-item .oi-amount { font-size: 17px; font-weight: 700; }
.order-item .oi-amount span { font-size: 12px; color: var(--ink-3); font-weight: 500; }

.sub-item { display: flex; align-items: center; gap: 14px; padding: var(--sp-4); }
.sub-item + .sub-item { border-top: 1px solid var(--line); }
.switch { position: relative; width: 44px; height: 26px; border-radius: 99px; background: var(--surface-3); transition: background .25s; flex-shrink: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--sh-1); transition: left .25s; }
.switch.on { background: var(--brand); }
.switch.on::after { left: 21px; }

.result-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--sp-10) var(--sp-4); text-align: center; color: var(--ink-3); }
.result-empty [data-ic] svg { width: 46px; height: 46px; opacity: .35; margin-bottom: 12px; }
.result-empty svg { width: 46px; height: 46px; opacity: .35; margin-bottom: 12px; }
.result-empty p { font-size: 14px; }

.sys-page { min-height: calc(100vh - var(--nav-h)); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--sp-6) var(--sp-4); }
.sys-page .sys-code { font-size: 72px; font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--brand), var(--info)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sys-page .sys-title { font-size: 18px; font-weight: 600; margin-top: 12px; }
.sys-page .sys-desc { font-size: 13px; color: var(--ink-2); margin: 8px 0 24px; }
.sys-page .btn { min-width: 140px; }

/* ============================================================
   首页 v2 专属样式 (保留兼容)
   ============================================================ */
.iq-hero { position: relative; overflow: hidden; margin: var(--sp-3); border-radius: var(--r-xl); color: #fff; background: radial-gradient(120% 140% at 85% -20%, rgba(96,140,255,.5) 0%, transparent 50%), radial-gradient(140% 120% at -10% 110%, rgba(14,159,110,.35) 0%, transparent 55%), linear-gradient(155deg, #0E1330 0%, #141B3E 45%, #1B2452 100%); box-shadow: var(--sh-3); border: 1px solid rgba(120,150,255,.18); isolation: isolate; }
.iq-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; 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(120% 100% at 50% 0%, #000 40%, transparent 100%); mask-image: radial-gradient(120% 100% at 50% 0%, #000 40%, transparent 100%); }
.iq-hero .iq-map { position: absolute; right: -20px; top: 8px; z-index: -1; opacity: .5; width: 62%; }
.iq-hero .iq-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 0; }
.iq-hero .iq-greet { font-size: 11px; letter-spacing: .6px; opacity: .7; font-weight: 600; }
.iq-hero .iq-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: #9FE8C4; background: rgba(14,159,110,.16); border: 1px solid rgba(159,232,196,.25); padding: 3px 10px; border-radius: 999px; }
.iq-hero .iq-live .pulse { width: 6px; height: 6px; border-radius: 50%; background: #2EE6A8; box-shadow: 0 0 0 0 rgba(46,230,168,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46,230,168,.5);} 70% { box-shadow: 0 0 0 7px rgba(46,230,168,0);} 100% { box-shadow: 0 0 0 0 rgba(46,230,168,0);} }
.iq-hero .iq-main { padding: 22px 20px 0; }
.iq-hero .iq-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .4px; color: #9DB5FF; }
.iq-hero .iq-kicker [data-ic] svg { width: 14px; height: 14px; }
.iq-hero .iq-kicker svg { width: 14px; height: 14px; }
.iq-hero .iq-title { font-size: 28px; font-weight: 800; letter-spacing: .5px; line-height: 1.2; margin-top: 10px; }
.iq-hero .iq-title .grad { background: linear-gradient(90deg,#fff,#9DB5FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.iq-hero .iq-sub { font-size: 13px; opacity: .75; margin-top: 10px; font-weight: 400; }
.iq-hero .iq-stats { display: flex; padding: 22px 20px 0; gap: 0; }
.iq-hero .iq-stat { flex: 1; text-align: center; position: relative; }
.iq-hero .iq-stat + .iq-stat::before { content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px; background: rgba(255,255,255,.12); }
.iq-hero .iq-stat .v { font-size: 22px; font-weight: 800; line-height: 1; }
.iq-hero .iq-stat .l { font-size: 10px; opacity: .6; margin-top: 6px; letter-spacing: .4px; }
.iq-hero .iq-stat .u { font-size: 10px; font-weight: 700; margin-top: 4px; color: #2EE6A8; }
.iq-search { position: relative; z-index: 3; margin: 18px 20px 0; background: var(--surface); border-radius: 18px; box-shadow: var(--sh-3); padding: var(--sp-3); display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); }
.iq-search .iqs-head { display: flex; align-items: center; gap: 8px; padding: 2px 4px; }
.iq-search .iqs-head [data-ic] svg { width: 16px; height: 16px; color: var(--brand); }
.iq-search .iqs-head svg { width: 16px; height: 16px; color: var(--brand); }
.iq-search .iqs-head span { font-size: 13px; font-weight: 700; }
.iq-search .iqs-head .ai { margin-left: auto; font-size: 10px; font-weight: 700; color: var(--brand); background: var(--brand-weak); padding: 2px 8px; border-radius: 6px; }
.iq-hot { display: flex; gap: 8px; overflow-x: auto; padding: 14px 2px 4px; scrollbar-width: none; margin: 0 var(--sp-4); }
.iq-hot::-webkit-scrollbar { display: none; }
.iq-hot span { flex-shrink: 0; font-size: 12px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); padding: 6px 13px; border-radius: 999px; transition: all .2s; display: flex; align-items: center; gap: 5px; }
.iq-hot span [data-ic] svg { width: 12px; height: 12px; color: var(--brand); }
.iq-hot span svg { width: 12px; height: 12px; color: var(--brand); }
.iq-hot span:active { border-color: var(--brand); color: var(--brand); }

.eng-card { position: relative; display: flex; align-items: center; gap: 15px; padding: var(--sp-4); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform .2s, box-shadow .2s; }
.eng-card:active { transform: scale(.98); }
.eng-card .ec-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0; }
.eng-card .ec-ic [data-ic] svg { width: 26px; height: 26px; }
.eng-card .ec-ic svg { width: 26px; height: 26px; }
.eng-card .ec-body { flex: 1; min-width: 0; }
.eng-card .ec-title { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.eng-card .ec-desc { font-size: 12px; color: var(--ink-3); margin-top: 4px; line-height: 1.5; }
.eng-card .ec-go { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-3); color: var(--ink-2); flex-shrink: 0; transition: all .2s; }
.eng-card .ec-go [data-ic] svg { width: 16px; height: 16px; }
.eng-card .ec-go svg { width: 16px; height: 16px; }
.eng-card:active .ec-go { background: var(--brand); color: #fff; }
.eng-card .ec-tag { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 6px; }

.decision-scroll { display: flex; gap: var(--sp-3); overflow-x: auto; padding: 2px 2px var(--sp-2); scrollbar-width: none; }
.decision-scroll::-webkit-scrollbar { display: none; }
.dc-card { flex-shrink: 0; width: 148px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-4); box-shadow: var(--sh-1); transition: transform .2s; }
.dc-card:active { transform: scale(.96); }
.dc-card .dc-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px; }
.dc-card .dc-ic [data-ic] svg { width: 20px; height: 20px; }
.dc-card .dc-ic svg { width: 20px; height: 20px; }
.dc-card .dc-title { font-size: 14px; font-weight: 600; }
.dc-card .dc-desc { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }

.iq-insight { display: flex; gap: 12px; padding: var(--sp-4); border-radius: var(--r-lg); }
.iq-insight .ii-rail { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 2px; flex-shrink: 0; }
.iq-insight .ii-rail .ii-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; }
.iq-insight .ii-rail .ii-ic [data-ic] svg { width: 18px; height: 18px; }
.iq-insight .ii-rail .ii-ic svg { width: 18px; height: 18px; }
.iq-insight .ii-body { flex: 1; min-width: 0; }
.iq-insight .ii-meta { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--ink-3); }
.iq-insight .ii-title { font-size: 14.5px; font-weight: 700; margin: 6px 0 4px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.iq-insight .ii-desc { font-size: 12.5px; color: var(--ink-2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.iq-insight .ii-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }

.cov-card { border-radius: var(--r-lg); padding: var(--sp-4); display: flex; align-items: center; gap: 14px; }
.cov-card .cv-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; }
.cov-card .cv-ic [data-ic] svg { width: 22px; height: 22px; }
.cov-card .cv-ic svg { width: 22px; height: 22px; }
.cov-card .cv-body { flex: 1; }
.cov-card .cv-label { font-size: 12px; color: var(--ink-3); }
.cov-card .cv-value { font-size: 22px; font-weight: 800; margin-top: 2px; }
.cov-card .cv-sub { font-size: 11px; font-weight: 600; color: var(--success); }

/* ============================================================
   页面级精确修复: intelligence / standards 等栏目前两个卡片尺寸统一
   ============================================================ */
main.page > section.section:nth-child(1) > div.grid-2 > a.card:nth-child(1),
main.page > section.section:nth-child(1) > div.grid-2 > a.card:nth-child(2) {
  height: 121px;
}
main.page > section.section:nth-child(1) > div.grid-2 > a.card:nth-child(2) {
  margin-top: 0px;
}

/* ============================================================
   兼容旧变量
   ============================================================ */
:root {
  --brand-50: var(--brand-weak);
  --brand-100: var(--brand-line);
  --brand-600: var(--brand-deep);
  --brand-700: var(--brand-ink);
  --accent: var(--info);
  --accent-50: var(--info-weak);
  --green: var(--success);
  --green-50: var(--success-weak);
  --amber: var(--warning);
  --amber-50: var(--warning-weak);
  --danger-50: var(--danger-weak);
  --error: var(--danger);
  --on-surface: var(--ink);
  --on-surface-variant: var(--ink-2);
  --surface-container-low: var(--surface-2);
  --surface-container: var(--surface-3);
  --surface-container-highest: var(--surface-3);
  --text-on-surface: var(--ink);
  --text-on-surface-variant: var(--ink-2);
  --primary: var(--brand);
  --secondary: var(--info);
  --bg-surface: var(--surface);
  --text-2: var(--ink-2);
  --text-3: var(--ink-3);
  --text-1: var(--ink);
  --text: var(--ink);
  --border: var(--line);
  --border-color: var(--line);
  --color-primary: var(--brand);
}

/* 报告正文富文本排版 */
.report-content h2 { font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--ink); margin: 26px 0 12px; padding-bottom: 8px; border-bottom: 2px solid rgba(43,91,255,.15); }
.report-content h3 { font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--ink); margin: 20px 0 10px; padding-left: 10px; border-left: 4px solid rgba(43,91,255,.5); }
.report-content h4 { font-size: 15px; font-weight: 600; color: var(--ink); margin: 16px 0 8px; }
.report-content p { margin-bottom: 12px; text-align: justify; }
.report-content ul, .report-content ol { margin: 10px 0 14px; padding-left: 20px; }
.report-content ul { list-style: disc; }
.report-content ol { list-style: decimal; }
.report-content li { margin-bottom: 6px; line-height: 1.75; }
.report-content strong { font-weight: 700; color: var(--ink); }
.report-content blockquote { margin: 14px 0; padding: 10px 14px; border-left: 4px solid rgba(43,91,255,.4); background: rgba(43,91,255,.04); border-radius: 0 8px 8px 0; color: var(--ink-2); font-style: italic; }
.report-content table { width: 100%; margin: 14px 0; border-collapse: collapse; font-size: 13px; display: block; overflow-x: auto; }
.report-content th, .report-content td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.report-content th { background: var(--line); font-weight: 600; }
.report-content a { color: var(--primary); text-decoration: underline; }
.report-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 8px 0; }
.report-content hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
.report-content code { background: var(--line); border-radius: 4px; padding: 1px 5px; font-size: 13px; }
.report-content pre { background: var(--line); border-radius: 8px; padding: 12px; overflow-x: auto; margin: 12px 0; }

/* ============================================================
   品类情报：专业分组卡片排版
   ============================================================ */
.cat-group { margin-bottom: 18px; }
.cat-group-head { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.cat-group-head .cg-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.cat-group-head .cg-ic [data-ic] svg, .cat-group-head .cg-ic svg { width: 18px; height: 18px; }
.cat-group-head h2 { font-size: 15px; font-weight: 800; }
.cat-group-head p { font-size: 11px; color: var(--ink-3); margin-top: 1px; }
.cat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-4); margin-bottom: 10px; box-shadow: var(--sh-1); }
.cat-card .cc-top { display: flex; align-items: center; gap: 8px; }
.cat-card .cc-title { font-size: 14.5px; font-weight: 700; flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cat-card .cc-meta { font-size: 11.5px; color: var(--ink-3); margin: 6px 0 8px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cat-card .cc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.cc-rank { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 13px; font-weight: 800; flex-shrink: 0; background: var(--surface-3); color: var(--ink-2); }
.cc-rank.top1 { background: var(--warning-weak); color: var(--warning); }
.cc-rank.top2 { background: var(--surface-3); color: var(--ink-2); }
.cc-rank.top3 { background: var(--danger-weak); color: var(--danger); }
.cc-heat { display: flex; align-items: baseline; gap: 6px; }
.heat-val { font-size: 24px; font-weight: 800; line-height: 1; }
.heat-lbl { font-size: 11px; color: var(--ink-3); }
.heat-tag { margin-left: auto; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; flex-shrink: 0; }
.heat-bar { height: 8px; background: var(--surface-3); border-radius: 999px; overflow: hidden; margin-top: 10px; }
.heat-bar i { display: block; height: 100%; border-radius: 999px; }
.hv-heat-sm { font-size: 15px; font-weight: 800; flex-shrink: 0; }
.gap-row { display: flex; gap: 14px; }
.gap-item { flex: 1; }
.gap-item .g-label { font-size: 11px; color: var(--ink-3); }
.gap-item .g-bar { height: 8px; background: var(--surface-3); border-radius: 999px; overflow: hidden; margin: 5px 0 4px; }
.gap-item .g-bar i { display: block; height: 100%; border-radius: 999px; }
.gap-item .g-val { font-size: 12px; font-weight: 700; }
.gap-sum { margin-top: 10px; font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.price-range { font-size: 20px; font-weight: 800; line-height: 1; }
.price-cur { font-size: 11px; color: var(--ink-3); margin-left: 4px; }
.price-yoy { margin-left: auto; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.price-bar { position: relative; height: 8px; border-radius: 999px; overflow: hidden; margin-top: 12px; background: linear-gradient(90deg, var(--success), var(--warning), var(--danger)); }
.price-bar .pb-mid { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); border-radius: 2px; }
.pb-labels { display: flex; justify-content: space-between; font-size: 10px; color: var(--ink-3); margin-top: 5px; }
.cc-summary { margin-top: 10px; font-size: 12px; color: var(--ink-2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tag-up { color: var(--danger); font-weight: 700; }
.tag-down { color: var(--success); font-weight: 700; }
.tag-flat { color: var(--ink-3); font-weight: 700; }
.spark { display: block; flex-shrink: 0; }
/* 屏幕阅读器专用隐藏（SEO 语义 H1，不影响视觉布局） */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }

/* 出口合规指南链接列表 */
.guide-link { display: flex; align-items: center; gap: 12px; padding: 12px 4px; }
.guide-link + .guide-link { border-top: 1px solid var(--line); }
.guide-link:active { opacity: .7; }
.guide-link .gl-ic { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.guide-link .gl-ic [data-ic] svg { width: 20px; height: 20px; }
.guide-link .gl-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.guide-link .gl-title { font-size: 14.5px; font-weight: 600; }
.guide-link .gl-desc { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
