/* ============================================================
   app.css · 布局与组件（PC 网页端 V3.0）
   ============================================================ */

/* ---------------- 外壳 ---------------- */
#shell { min-height: 100vh; display: flex; flex-direction: column; }

/* ---------------- 顶部导航 ---------------- */
#nav {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  box-shadow: 0 2px 14px rgba(13, 21, 38, .18);
}
.nav-in {
  max-width: var(--maxw); margin: 0 auto; height: var(--nav-h);
  padding: 0 22px; display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mk {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), #4E8BFF);
  color: #fff; font-weight: 800; font-size: 17px;
  box-shadow: 0 4px 12px rgba(22, 93, 255, .42);
}
.brand-tx { color: #fff; font-weight: 700; font-size: 16px; letter-spacing: .4px; display: flex; flex-direction: column; line-height: 1.15; }
.brand-tx em { font-style: normal; font-size: 11px; font-weight: 500; color: #8FA2C6; letter-spacing: .6px; }

.nav-main, .nav-right { display: flex; align-items: center; gap: 4px; }
.nav-gap { flex: 1 1 auto; }
.nav-a {
  position: relative; display: inline-flex; align-items: center; gap: 5px;
  height: 36px; padding: 0 13px; border-radius: 9px;
  color: #C3CEE4; font-size: 14px; font-weight: 500;
  transition: background .16s, color .16s;
}
.nav-a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav-a.on { background: rgba(22, 93, 255, .26); color: #fff; }
.nav-a.on::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: -1px; height: 2px;
  background: #4E8BFF; border-radius: 2px;
}
.nav-n {
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--danger); color: #fff; font-size: 11px; font-style: normal;
  display: inline-grid; place-items: center; font-weight: 700;
}
.nav-dd { cursor: pointer; }
.caret { font-size: 11px; opacity: .8; }

/* 下拉 */
.dd { position: relative; }
.dd-menu {
  position: absolute; top: 42px; left: 0; min-width: 188px;
  background: #fff; border-radius: var(--r-m); box-shadow: var(--sh-3);
  padding: 7px; display: none; z-index: 80;
}
.dd-menu.on { display: block; }
.dd-i {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 11px; border-radius: var(--r-s); color: var(--text); font-size: 13.5px;
}
.dd-i:hover { background: var(--fill); color: var(--primary); }
.dd-i.locked { color: var(--text-3); }
/* 菜单项文案与状态标签都不得折行：否则「机会卡中心 + 需咨询师身份」会把标签挤成两行 */
.dd-i > * { white-space: nowrap; }
.dd-lock { flex: none; font-style: normal; font-size: 11px; color: var(--warn); background: var(--warn-l); padding: 1px 6px; border-radius: 6px; }
/* 评审通道标记：与「无权（dd-lock）」区分开，提示这是脚手架入口而非产品功能 */
.dd-review { color: var(--primary-d); background: var(--primary-l); }

/* 演示身份切换 */
.demo { display: flex; align-items: center; gap: 7px; margin-left: 8px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .14); }
.demo-lab { font-size: 11.5px; color: #8FA2C6; white-space: nowrap; }
.demo-sel {
  height: 32px; border-radius: 8px; padding: 0 8px; font-size: 12.5px;
  background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .18);
  outline: none; cursor: pointer;
}
.demo-sel option { color: #1D2129; background: #fff; }

/* ---------------- 身份条 ---------------- */
#identbar { background: #EEF3FF; border-bottom: 1px solid #DCE6FF; }
.ib-in {
  max-width: var(--maxw); margin: 0 auto; height: var(--bar-h);
  padding: 0 22px; display: flex; align-items: center; gap: 12px;
  font-size: 12.5px; color: var(--text-2); overflow-x: auto;
}
.ib-in::-webkit-scrollbar { height: 0; }
.ib-ic { font-size: 15px; }
.ib-t { color: var(--primary-d); font-size: 13px; white-space: nowrap; }
.ib-d { color: var(--text-3); white-space: nowrap; }
.ib-sep { width: 1px; height: 15px; background: #C9D6F5; }
.ib-kv { white-space: nowrap; }
.ib-kv b { color: var(--text); font-weight: 700; }
.ib-cancel { background: var(--warn-l); color: #B85C00; padding: 2px 9px; border-radius: 7px; font-weight: 600; white-space: nowrap; }
.ib-more { margin-left: auto; color: var(--primary); font-weight: 600; white-space: nowrap; }

/* ---------------- 页面容器 ---------------- */
#page { flex: 1 1 auto; max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 22px 22px 44px; }

.page-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.page-t { font-size: 23px; font-weight: 700; letter-spacing: -.4px; }
.page-d { margin-top: 5px; color: var(--text-3); font-size: 13.5px; overflow-wrap: anywhere; }
.page-hd-r { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }

.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 26px 0 12px; }
.sec-t { font-size: 17px; font-weight: 700; }
.sec-sub { margin-top: 4px; font-size: 12.5px; color: var(--text-3); }
.sec-hd-r { display: flex; align-items: center; gap: 9px; }

/* ---------------- 卡片 ---------------- */
.card {
  background: var(--card); border-radius: var(--r-l); border: 1px solid var(--line);
  box-shadow: var(--sh-1); overflow: hidden;
}
.card + .card { margin-top: 16px; }
.card-hd {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 15px 20px; border-bottom: 1px solid var(--line-2); background: #FCFDFF;
}
.card-hd-l { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.card-t { font-size: 15.5px; font-weight: 700; }
.card-sub { font-size: 12px; color: var(--text-3); }
.card-hd-r { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.card-bd { padding: 20px; }

/* V3.3：后台「咨询师资料代录」表单的多选领域 */
.cf-chks { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); }
.cf-chk { display: inline-flex; align-items: center; gap: 6px; font-size: 13px;
  color: var(--text-2); cursor: pointer; user-select: none; }
.cf-chk input { accent-color: var(--primary); width: 15px; height: 15px; cursor: pointer; }
/* V3.2：名片页微信号遮罩态（与小程序端同口径 —— 未复制时显示占位提示，
   复制后由 JS 去掉该类显形；白色卡片上用中性三次色，不用深底上的白字） */
.wx-mask { font-family: inherit; letter-spacing: 0; color: var(--text-3); font-weight: 400; }
.card-ft { padding: 13px 20px; border-top: 1px solid var(--line-2); background: #FCFDFF; }

/* ---------------- 栅格 ---------------- */
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 18px; align-items: start; }
.split-l { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; align-items: start; }
.split-r { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; align-items: start; }
.sticky { position: sticky; top: calc(var(--nav-h) + var(--bar-h) + 16px); }
@media (max-width: 1100px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split-l, .split-r { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
}

/* ---------------- KPI ---------------- */
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 14px; }
.kpi {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m);
  padding: 15px 17px; box-shadow: var(--sh-1); position: relative; overflow: hidden;
}
.kpi::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--primary); opacity: .85; }
.kpi-ic { font-size: 17px; opacity: .85; }
.kpi-v { font-size: 25px; font-weight: 800; letter-spacing: -.6px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.kpi-l { font-size: 12.5px; color: var(--text-3); margin-top: 1px; }
.kpi-tip { font-size: 11.5px; color: var(--text-3); margin-top: 4px; }
.kpi-click { cursor: pointer; transition: transform .14s, box-shadow .14s, border-color .14s; }
.kpi-click:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: #C9D6F5; }
.kpi-lead::before { background: #165DFF; }
.kpi-audit::before { background: #FF7D00; }
.kpi-platform::before { background: #F53F3F; }
.kpi-account::before { background: #00B42A; }
.kpi-muted::before { background: #86909C; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 0 16px; border-radius: 9px; font-size: 13.5px; font-weight: 600;
  border: 1px solid var(--line); background: #fff; color: var(--text-2);
  transition: all .15s; white-space: nowrap;
}
.btn:hover { border-color: #C9D6F5; color: var(--primary); background: #F7FAFF; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 3px 10px rgba(22, 93, 255, .28); }
.btn-primary:hover { background: var(--primary-d); border-color: var(--primary-d); color: #fff; }
.btn-ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn-ok:hover { background: #009A25; border-color: #009A25; color: #fff; }
.btn-warn { background: var(--warn); border-color: var(--warn); color: #fff; }
.btn-warn:hover { background: #E56F00; border-color: #E56F00; color: #fff; }
.btn-danger { background: #fff; border-color: #FFC9C0; color: var(--danger); }
.btn-danger:hover { background: var(--danger-l); border-color: var(--danger); color: var(--danger); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--primary); }
.btn-ghost:hover { background: var(--primary-l); }
.btn-sm { height: 30px; padding: 0 11px; font-size: 12.5px; border-radius: 7px; }
.btn-lg { height: 44px; padding: 0 26px; font-size: 15px; border-radius: 11px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; filter: grayscale(.4); }
.btn-ic { font-size: 14px; }

/* ---------------- 标签 / 胶囊 ---------------- */
.pill {
  display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 13px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 13px; color: var(--text-2); cursor: pointer; transition: all .15s; white-space: nowrap;
}
.pill:hover { border-color: #C9D6F5; color: var(--primary); }
.pill.on { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.pill-n { font-style: normal; font-size: 11px; opacity: .85; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }

.badge {
  display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600;
  background: var(--fill); color: var(--text-2); border: 1px solid var(--line);
}
.badge-ok { background: var(--ok-l); color: #00802B; border-color: #B3F0BE; }
.badge-warn { background: var(--warn-l); color: #B85C00; border-color: #FFDCB0; }
.badge-danger { background: var(--danger-l); color: #C42B2B; border-color: #FFCDC5; }
.badge-primary { background: var(--primary-l); color: var(--primary-d); border-color: #C9D6F5; }
.badge-gold { background: var(--gold-l); color: #8A6224; border-color: #E8D6B0; }

/* ---------------- 页签 ---------------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; flex-wrap: wrap; }
.tab {
  position: relative; padding: 10px 15px; font-size: 13.5px; color: var(--text-2); cursor: pointer;
  border-radius: 9px 9px 0 0; transition: all .15s; display: inline-flex; align-items: center; gap: 6px;
}
.tab:hover { background: var(--fill); color: var(--primary); }
.tab.on { color: var(--primary); font-weight: 700; background: #F7FAFF; }
.tab.on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--primary); border-radius: 2px; }
.tab-n { font-style: normal; font-size: 11px; background: var(--fill); color: var(--text-2); padding: 0 5px; border-radius: 7px; min-width: 16px; text-align: center; }
.tab.on .tab-n { background: var(--primary-l); color: var(--primary-d); font-weight: 700; }

/* ---------------- 表格 ---------------- */
.tbl-wrap { overflow-x: auto; border-radius: var(--r-m); border: 1px solid var(--line); }
.tbl { font-size: 13.5px; background: #fff; }
.tbl th {
  text-align: left; padding: 11px 14px; background: #F7F9FC; color: var(--text-2);
  font-weight: 600; font-size: 12.5px; white-space: nowrap; border-bottom: 1px solid var(--line);
}
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); color: var(--text); vertical-align: middle; }
.tbl tbody tr:last-child td { border-bottom: none; }
.tbl tbody tr:hover { background: #FAFBFF; }
.tbl-empty { text-align: center; color: var(--text-3); padding: 34px 0; }
.tbl-cmp th:nth-child(2), .tbl-cmp th:nth-child(3) { text-align: center; }
.tbl-cmp td:nth-child(2), .tbl-cmp td:nth-child(3) { text-align: center; }
.cmp-a { color: var(--text-3); }
.cmp-b { color: var(--primary-d); font-weight: 600; }

/* ---------------- 键值表 ---------------- */
.kv { display: grid; gap: 0; }
.kv-r { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line-2); }
.kv-r:last-child { border-bottom: none; }
.kv-k { color: var(--text-3); font-size: 12.5px; flex: 0 0 auto; }
.kv-v { color: var(--text); font-weight: 600; font-size: 13px; text-align: right; overflow-wrap: anywhere; }

/* ---------------- 空态 ---------------- */
.empty { text-align: center; padding: 54px 20px; color: var(--text-3); }
.empty-ic { font-size: 34px; opacity: .5; }
.empty-t { margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--text-2); }
.empty-d { margin-top: 6px; font-size: 13px; }
.empty .btn { margin-top: 16px; }

/* ---------------- 进度 ---------------- */
.prog { height: 7px; background: var(--line-2); border-radius: 6px; overflow: hidden; }
.prog-bar { height: 100%; background: linear-gradient(90deg, var(--primary), #4E8BFF); border-radius: 6px; transition: width .3s; }

/* ---------------- 步骤 ---------------- */
.steps { display: grid; gap: 12px; }
.step { display: flex; gap: 11px; align-items: flex-start; padding: 11px 13px; border-radius: var(--r-m); border: 1px solid var(--line); background: #fff; }
.step.on { border-color: #B3F0BE; background: #F6FFF8; }
.step.cur { border-color: #C9D6F5; background: #F7FAFF; }
.step-no {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--fill); color: var(--text-3); font-size: 12.5px; font-weight: 700;
}
.step.on .step-no { background: var(--ok); color: #fff; }
.step.cur .step-no { background: var(--primary); color: #fff; }
.step-bd { display: flex; flex-direction: column; }
.step-bd b { font-size: 13.5px; }
.step-bd em { font-style: normal; font-size: 12.5px; color: var(--text-3); margin-top: 2px; overflow-wrap: anywhere; }

/* ---------------- 时间轴 ---------------- */
.tl { display: grid; gap: 0; }
.tl-i { display: flex; gap: 12px; position: relative; padding: 0 0 18px 0; }
.tl-i::before { content: ''; position: absolute; left: 5.5px; top: 14px; bottom: -2px; width: 1px; background: var(--line); }
.tl-i:last-child::before { display: none; }
.tl-dot { flex: 0 0 auto; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--line); margin-top: 3px; }
.tl-i.done .tl-dot { background: var(--ok); border-color: var(--ok); }
.tl-bd { display: flex; flex-direction: column; }
.tl-bd b { font-size: 13.5px; }
.tl-bd em { font-style: normal; font-size: 12px; color: var(--text-3); }

/* ---------------- 提示条 ---------------- */
.note {
  padding: 11px 14px; border-radius: var(--r-m); background: #F7F9FC; border: 1px solid var(--line);
  font-size: 13px; color: var(--text-2); overflow-wrap: anywhere;
}
.note-warn { background: var(--warn-l); border-color: #FFDCB0; color: #9A5100; }
.note-info { background: var(--primary-l); border-color: #C9D6F5; color: var(--primary-d); }
.note-danger { background: var(--danger-l); border-color: #FFCDC5; color: #C42B2B; }
.note-ok { background: var(--ok-l); border-color: #B3F0BE; color: #00802B; }

/* ---------------- 权益卡 ---------------- */
.bgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
@media (max-width: 1100px) { .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bcard {
  padding: 15px; border-radius: var(--r-m); border: 1px solid var(--line); background: #fff;
  display: flex; flex-direction: column; gap: 4px; transition: all .16s;
}
.bcard:hover { border-color: #C9D6F5; box-shadow: var(--sh-2); transform: translateY(-2px); }
.bcard-ic { font-size: 19px; color: var(--primary); }
.bcard b { font-size: 14px; }
.bcard em { font-style: normal; font-size: 12.5px; color: var(--text-3); line-height: 1.55; overflow-wrap: anywhere; }

/* ---------------- 表单 ---------------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 15px; }
.field-lab { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field-lab em { font-style: normal; color: var(--danger); margin-left: 3px; }
.field-hint { font-size: 12px; color: var(--text-3); }
.input, .select, .textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px;
  font-size: 13.5px; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22, 93, 255, .12); }
.textarea { min-height: 84px; resize: vertical; line-height: 1.6; }
.input[disabled], .select[disabled] { background: var(--fill); color: var(--text-3); cursor: not-allowed; }

.sw { position: relative; display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-size: 13px; }
.sw-rail { width: 40px; height: 22px; border-radius: 999px; background: #D5DAE4; position: relative; transition: background .18s; flex: 0 0 auto; }
.sw-rail::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .18s; }
.sw.on .sw-rail { background: var(--primary); }
.sw.on .sw-rail::after { transform: translateX(18px); }

.seg { display: inline-flex; padding: 3px; background: var(--fill); border-radius: 10px; gap: 2px; }
.seg-i { padding: 7px 15px; border-radius: 8px; font-size: 13px; color: var(--text-2); cursor: pointer; transition: all .15s; white-space: nowrap; }
.seg-i.on { background: #fff; color: var(--primary); font-weight: 700; box-shadow: var(--sh-1); }

/* ---------------- 消息行 ---------------- */
.mlist { display: grid; gap: 10px; }
.mrow {
  display: flex; gap: 13px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-m);
  border: 1px solid var(--line); background: #fff; cursor: pointer; transition: all .15s;
}
.mrow:hover { border-color: #C9D6F5; box-shadow: var(--sh-1); }
.mrow.unread { background: #FCFDFF; border-left: 3px solid var(--primary); }
.mrow-ic { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 15px; }
.tone-lead { background: #E8F0FF; color: #165DFF; }
.tone-audit { background: var(--warn-l); color: #B85C00; }
.tone-system { background: var(--fill); color: var(--text-2); }
.tone-platform { background: var(--danger-l); color: #C42B2B; }
.tone-account { background: var(--ok-l); color: #00802B; }
.mrow-bd { flex: 1 1 auto; min-width: 0; }
.mrow-top { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.mrow-t { font-size: 14px; }
.mrow-tag { font-size: 11px; padding: 1px 7px; border-radius: 6px; font-weight: 600; }
.mrow-time { margin-left: auto; font-size: 11.5px; color: var(--text-3); white-space: nowrap; }
.mrow-d { margin-top: 4px; font-size: 12.5px; color: var(--text-3); overflow-wrap: anywhere; }
.mrow-act { flex: 0 0 auto; display: flex; align-items: center; }
.mrow-dot { font-size: 11.5px; color: var(--text-3); }

/* ---------------- 名片 / 咨询师卡 ---------------- */
.consult {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden;
  transition: all .18s; cursor: pointer; box-shadow: var(--sh-1);
}
.consult:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: #C9D6F5; }
.consult-top { height: 76px; background: linear-gradient(135deg, #16203A, #2C4A8F); position: relative; }
.consult-av {
  position: absolute; left: 18px; bottom: -22px; width: 54px; height: 54px; border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #4E8BFF); color: #fff; display: grid; place-items: center;
  font-size: 22px; font-weight: 700; border: 3px solid #fff; box-shadow: var(--sh-2);
}
.consult-bd { padding: 30px 18px 18px; }
.consult-n { font-size: 16px; font-weight: 700; }
.consult-t { font-size: 12.5px; color: var(--text-3); margin-top: 1px; }
.consult-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.consult-tag { font-size: 11.5px; padding: 2px 9px; border-radius: 6px; background: var(--primary-l); color: var(--primary-d); }
.consult-meta { display: flex; gap: 14px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: 12px; color: var(--text-3); }
.consult-meta b { color: var(--text); font-size: 13px; }
.consult-foot { display: flex; gap: 8px; margin-top: 14px; }

/* ---------------- 资讯卡 ---------------- */
.news { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; transition: all .18s; cursor: pointer; }
.news:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.news-cover { height: 132px; background: linear-gradient(135deg, #E8F0FF, #D3E0FF); display: grid; place-items: center; font-size: 34px; color: #6E93E8; }
.news-bd { padding: 15px 17px; }
.news-cat { font-size: 11.5px; color: var(--primary); font-weight: 600; }
.news-t { font-size: 15px; font-weight: 700; margin-top: 5px; line-height: 1.45; }
.news-d { font-size: 12.5px; color: var(--text-3); margin-top: 7px; line-height: 1.6; }
.news-meta { margin-top: 11px; font-size: 11.5px; color: var(--text-3); display: flex; gap: 12px; }

/* ---------------- Hero（首页）---------------- */
.hero {
  background: linear-gradient(135deg, #101A2E 0%, #1B2B52 55%, #24406F 100%);
  border-radius: var(--r-xl); padding: 40px 42px; color: #fff; position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 30px;
}
@media (max-width: 1100px) { .hero { grid-template-columns: minmax(0, 1fr); } }
.hero::after { content: ''; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(78,139,255,.34), transparent 68%); }
.hero-t { font-size: 31px; font-weight: 800; letter-spacing: -1px; line-height: 1.25; }
.hero-d { margin-top: 12px; color: #B7C6E2; font-size: 14.5px; max-width: 560px; }
.hero-kw { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-kw a { font-size: 12.5px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #D7E2F5; }
.hero-kw a:hover { background: rgba(78,139,255,.3); color: #fff; }
.hero-stats { display: flex; gap: 26px; margin-top: 24px; }
.hero-stat b { font-size: 24px; font-weight: 800; display: block; font-variant-numeric: tabular-nums; }
.hero-stat em { font-style: normal; font-size: 12px; color: #93A7C8; }
.hero-panel { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-l); padding: 20px; backdrop-filter: blur(8px); align-self: start; }
.hero-panel h4 { font-size: 12.5px; color: #93A7C8; font-weight: 600; letter-spacing: .6px; }
.hero-panel .hp-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.12); font-size: 13px; }
.hero-panel .hp-row:last-child { border-bottom: none; }
.hero-panel .hp-v { color: #7FB0FF; font-weight: 700; font-variant-numeric: tabular-nums; }
.hero-search { display: flex; gap: 10px; margin-top: 22px; max-width: 560px; }
.hero-search .input { height: 46px; border: none; border-radius: 11px; font-size: 14.5px; }

/* ---------------- 规则中心 ---------------- */
.ruletabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.rule-doc { max-width: 900px; }
.rd-title { font-size: 22px; font-weight: 800; text-align: center; letter-spacing: -.4px; }
.rd-head { text-align: center; margin-top: 8px; }
.rd-meta { display: flex; justify-content: center; gap: 18px; margin-top: 10px; font-size: 12px; color: var(--text-3); }
.rd-item { display: flex; gap: 15px; padding: 16px 0; border-bottom: 1px dashed var(--line-2); }
.rd-item:last-child { border-bottom: none; }
.rd-no { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; background: var(--primary-l); color: var(--primary-d); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.rd-bd b { font-size: 14.5px; display: block; margin-bottom: 5px; }
.rd-bd p { font-size: 13px; color: var(--text-2); line-height: 1.75; overflow-wrap: anywhere; }

/* ---------------- Toast / 弹层 ---------------- */
#toast-host { position: fixed; left: 50%; top: 78px; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast {
  background: rgba(29, 33, 41, .93); color: #fff; padding: 10px 20px; border-radius: 10px;
  font-size: 13.5px; box-shadow: var(--sh-3); animation: toastIn .22s ease-out; max-width: 78vw;
}
.toast-ok { background: rgba(0, 130, 43, .95); }
.toast-warn { background: rgba(184, 92, 0, .95); }
.toast-danger { background: rgba(196, 43, 43, .95); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

#mask-host { position: fixed; inset: 0; z-index: 150; display: none; }
#mask-host.on { display: block; }
.sheet { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; }
.sheet-mask { position: absolute; inset: 0; background: rgba(13, 21, 38, .5); backdrop-filter: blur(2px); }
.sheet-box {
  position: relative; background: #fff; border-radius: var(--r-l); box-shadow: var(--sh-3);
  width: 100%; max-width: 560px; max-height: 84vh; display: flex; flex-direction: column;
  animation: sheetIn .2s ease-out;
}
.sheet-sm .sheet-box { max-width: 428px; }
.sheet-lg .sheet-box { max-width: 860px; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.sheet-hd { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.sheet-hd h3 { font-size: 16px; font-weight: 700; }
.sheet-x { width: 30px; height: 30px; border-radius: 8px; color: var(--text-3); font-size: 15px; display: grid; place-items: center; }
.sheet-x:hover { background: var(--fill); color: var(--text); }
.sheet-bd { padding: 20px; overflow-y: auto; flex: 1 1 auto; }
.sheet-ft { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line-2); background: #FCFDFF; }
.confirm-d { font-size: 13.5px; color: var(--text-2); line-height: 1.7; overflow-wrap: anywhere; }

/* ---------------- 页脚 ---------------- */
#foot { border-top: 1px solid var(--line); background: #fff; }
.foot-in {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 22px; display: flex; align-items: center;
  gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--text-3);
}
.foot-sep { width: 1px; height: 12px; background: var(--line); }

/* ---------------- 门禁（越级拦截）---------------- */
.gate { text-align: center; padding: 56px 24px; }
.gate-ic { font-size: 40px; }
.gate-t { font-size: 18px; font-weight: 700; margin-top: 12px; }
.gate-d { color: var(--text-3); margin-top: 8px; font-size: 13.5px; max-width: 520px; margin-left: auto; margin-right: auto; overflow-wrap: anywhere; }
.gate .btn { margin-top: 20px; }

/* ---------------- 收银台 ---------------- */
.pay-box { border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px; display: flex; gap: 14px; align-items: center; cursor: pointer; transition: all .15s; }
.pay-box:hover { border-color: #C9D6F5; }
.pay-box.on { border-color: var(--primary); background: #F7FAFF; box-shadow: 0 0 0 3px rgba(22,93,255,.1); }
.pay-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-size: 18px; background: var(--fill); }
.pay-amt { font-size: 32px; font-weight: 800; color: var(--danger); font-variant-numeric: tabular-nums; }

/* ---------------- 线索行展开 ---------------- */
.lead-detail { background: #FAFBFF; }
.lead-detail td { padding: 0 !important; }
.lead-detail-in { padding: 15px 18px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.lead-detail-in .kv-r { border-bottom: none; padding: 5px 0; }

/* ---------------- 匿名态信息块 ---------------- */
.dev-cell { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line-2); }
.dev-cell:last-child { border-bottom: none; }
.dev-cell .k { color: var(--text-3); font-size: 12.5px; flex: 0 0 auto; }
.dev-cell .v { font-weight: 600; font-size: 13px; text-align: right; overflow-wrap: anywhere; word-break: normal; }
.dev-cell .v.mono { white-space: nowrap; overflow-x: auto; max-width: 60%; }

/* ============ V3.2：隐私政策「不收集」标签 ============ */
.pv-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pv-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--danger, #A32D2D);
  background: #FFF1F0;
  border: 1px solid rgba(245, 63, 63, 0.24);
  border-radius: 999px;
}
