/* 配色与对外首页一致：深海军蓝 + 香槟金 + 纸色 */
@font-face { font-family: "Trade Serif"; src: url(../fonts/landing-serif.woff2) format("woff2"); font-display: swap; }
:root {
  --ink: #08131e; --ink-2: #0d1c2b; --ink-3: #142a3f;
  --brass: #d2b47a; --brass-soft: #e2c78f; --brass-deep: #80602a;
  --ivory: #f6f0e4; --paper: #f6f1e7;
  --serif: "Trade Serif", "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", STSong, serif;
  --el-color-primary: #1d3d5c;
  --el-color-primary-light-3: #61778d;
  --el-color-primary-light-5: #8e9eae;
  --el-color-primary-light-7: #bbc5ce;
  --el-color-primary-light-8: #d2d8de;
  --el-color-primary-light-9: #edf0f3;
  --el-color-primary-dark-2: #17314a;
  --el-border-radius-base: 6px;
  --el-bg-color-page: #f5f2eb;
  --app-bg: #f5f2eb;
  --app-aside: #0b1724;
  --app-aside-hover: #13263a;
  --app-border: #e8e2d6;
  --app-muted: #6b7079;
  --app-text: #17212c;
  --app-accent-bg: #f8f3e8;
}

* { box-sizing: border-box; }
html, body, #app { height: 100%; margin: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--app-bg);
  color: var(--app-text);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--el-color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: rgba(210, 180, 122, .35); }
html[lang="en"] { --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif; }

/* ---------- 布局 ---------- */
.layout { height: 100%; }
.aside {
  background: linear-gradient(180deg, #0d1b2a 0%, var(--app-aside) 38%, var(--ink) 100%);
  color: #c6cfd8;
  display: flex;
  flex-direction: column;
  transition: width .2s;
  overflow: hidden;
  border-right: 1px solid rgba(210, 180, 122, .14);
}
.brand {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 18px;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: .05em;
  white-space: nowrap;
  border-bottom: 1px solid rgba(210, 180, 122, .16);
}
.brand-logo { width: 28px; height: 28px; flex: none; color: var(--brass); }
.aside-mobile { position: fixed; left: 0; top: 0; bottom: 0; z-index: 2001; box-shadow: 4px 0 24px rgba(0,0,0,.3); }
.aside-mask { position: fixed; inset: 0; background: rgba(8, 19, 30, .5); z-index: 2000; }
.aside .el-menu { border-right: none; background: transparent; flex: 1; overflow-y: auto; padding: 6px 0 16px; }
.aside .el-menu-item, .aside .el-sub-menu__title { color: #c6cfd8; height: 46px; line-height: 46px; }
.aside .el-menu-item .el-icon, .aside .el-sub-menu__title .el-icon { color: #93a1b0; }
.aside .el-menu-item:hover, .aside .el-sub-menu__title:hover { background: var(--app-aside-hover) !important; color: #fff; }
.aside .el-menu-item.is-active { background: rgba(210, 180, 122, .13) !important; color: var(--brass); box-shadow: inset 3px 0 0 var(--brass); }
.aside .el-menu-item.is-active .el-icon { color: var(--brass); }
.aside .el-sub-menu.is-active > .el-sub-menu__title { color: #f1e7d2; }
.aside .el-sub-menu .el-menu { background: rgba(0, 0, 0, .18); }
.aside .el-menu--collapse { width: 64px; }
.aside .el-tag--warning.el-tag--plain { --el-tag-text-color: var(--brass); --el-tag-border-color: rgba(210, 180, 122, .45); --el-tag-bg-color: transparent; }
.menu-badge { margin-left: 8px; }
.menu-badge .el-badge__content { border: none; }
.header {
  background: #fffdf9;
  border-bottom: 1px solid var(--app-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 20px;
  gap: 12px;
}
.header-title { font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 10px; min-width: 0; }
.header-title > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-right { display: flex; align-items: center; gap: 6px; }
.header-icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #4a5562; border: 0; background: transparent; }
.header-icon:hover { background: var(--app-accent-bg); color: var(--brass-deep); }
.header-icon .el-badge { line-height: 1; }
.header-chat { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 16px; cursor: pointer;
  border: 1px solid rgba(210, 180, 122, .6); background: #fbf6ec; color: var(--brass-deep); font-size: 13px; font-weight: 500; }
.header-chat:hover { background: #f5ead3; }
.header-chat .el-badge { line-height: 1; display: inline-flex; }
.main.has-chat { padding-bottom: 84px; }  /* 右下角的联系客服按钮不挡住页面底部的内容 */
@media (max-width: 767px) { .header-chat { width: 34px; padding: 0; justify-content: center; } }
.lang-switch { font-size: 13px; color: #4a5562; cursor: pointer; padding: 6px 10px; border-radius: 16px; border: 1px solid var(--app-border); background: transparent; white-space: nowrap; }
.lang-switch:hover { border-color: var(--brass); color: var(--brass-deep); }
.user-chip { display: flex; align-items: center; gap: 8px; cursor: pointer; color: #374151; margin-left: 6px; }
.user-chip .el-avatar { background: var(--ink); color: var(--brass); font-weight: 600; }
.main { padding: 20px; overflow-y: auto; }

/* ---------- 通用 ---------- */
.page-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.page-head h2 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: .01em; }
.page-head .sub { color: var(--app-muted); font-size: 13px; margin-top: 4px; }
.card { background: #fff; border: 1px solid var(--app-border); border-radius: 10px; padding: 18px; box-shadow: 0 1px 2px rgba(8, 19, 30, .03); }
.card + .card { margin-top: 16px; }
.card-title { font-weight: 600; font-size: 15px; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.muted { color: var(--app-muted); }
.small { font-size: 12px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.flex { display: flex; align-items: center; gap: 8px; }
.flex-wrap { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.flex-wrap > .el-button + .el-button { margin-left: 0; }  /* 已有 gap，换行后第二行不再缩进 */
.between { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.grow { flex: 1; min-width: 0; }
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mb12 { margin-bottom: 12px; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pre { white-space: pre-wrap; word-break: break-word; }
.el-tag + .el-tag { margin-left: 4px; }
.table-wrap { overflow-x: auto; }
.el-button.gold { --el-button-bg-color: var(--brass); --el-button-border-color: var(--brass); --el-button-text-color: #10202f;
  --el-button-hover-bg-color: var(--brass-soft); --el-button-hover-border-color: var(--brass-soft); --el-button-hover-text-color: #10202f;
  --el-button-active-bg-color: #c4a465; --el-button-active-border-color: #c4a465; font-weight: 600; letter-spacing: .06em; }
.el-table { --el-table-header-bg-color: #faf7f1; --el-table-row-hover-bg-color: #faf6ee; }
.el-table th.el-table__cell { color: #4a5562; font-weight: 600; }
.el-tabs__active-bar { background-color: var(--brass-deep); }
.el-tabs__item.is-active, .el-tabs__item:hover { color: var(--app-text); }

/* ---------- 登录 ---------- */
.login-page { min-height: 100%; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); background: var(--paper); }
.login-hero { position: relative; overflow: hidden; color: #c6cfd8; padding: 48px clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  background: radial-gradient(120% 80% at 20% 0%, #13293e 0%, var(--ink) 64%); }
.login-hero .sonar { position: absolute; width: 820px; height: 820px; right: -300px; bottom: -320px; color: rgba(210, 180, 122, .16); pointer-events: none; }
.login-hero .brand-row { position: relative; display: flex; align-items: center; gap: 12px; color: var(--ivory); font-family: var(--serif); font-size: 20px; letter-spacing: .06em; text-decoration: none; }
.login-hero .brand-row svg { width: 32px; height: 32px; color: var(--brass); }
.login-hero h1 { position: relative; margin: 0; font-family: var(--serif); font-weight: 400; color: var(--ivory); font-size: clamp(36px, 3.6vw, 56px); line-height: 1.28; letter-spacing: .01em; }
.login-hero h1 em { font-style: normal; color: var(--brass); white-space: nowrap; }
.login-hero .lede { position: relative; margin: 22px 0 0; max-width: 460px; line-height: 1.85; font-size: 15px; }
.login-hero .assure { position: relative; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 13px; color: #93a1b0; letter-spacing: .04em; }
.login-hero .assure span::before { content: ""; display: inline-block; width: 6px; height: 6px; transform: rotate(45deg); background: var(--brass); margin-right: 10px; vertical-align: 2px; }
.login-main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px; gap: 18px; }
.login-card { width: 100%; max-width: 420px; background: #fffdf8; border-radius: 4px; padding: 34px 32px 26px; box-shadow: 0 30px 60px -30px rgba(8, 19, 30, .25); border: 1px solid #e4dccb; }
.login-card h2 { margin: 0 0 4px; font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: .04em; color: var(--app-text); }
.login-card .login-sub { margin: 0 0 14px; color: var(--app-muted); font-size: 13px; }
.login-card .el-tabs__nav-wrap::after { background-color: #ece5d6; }
.login-card .el-input__wrapper { background: #fff; }
.login-card .el-form-item__label { color: #4a5562; }
.login-foot { display: flex; align-items: center; gap: 18px; font-size: 13px; }
.login-foot a, .login-foot button { color: var(--app-muted); text-decoration: none; background: none; border: 0; cursor: pointer; font-size: 13px; padding: 0; }
.login-foot a:hover, .login-foot button:hover { color: var(--brass-deep); }
@media (max-width: 900px) {
  .login-page { grid-template-columns: 1fr; }
  .login-hero { padding: 26px 22px 30px; gap: 18px; }
  .login-hero h1 { font-size: 30px; }
  .login-hero .lede, .login-hero .assure { display: none; }
  .login-main { padding: 28px 16px 40px; justify-content: flex-start; }
  .login-card { padding: 26px 20px 20px; }
}

/* ---------- 仪表盘 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 16px; }
.stat { background: #fff; border: 1px solid var(--app-border); border-radius: 10px; padding: 16px 18px; }
.stat .label { color: var(--app-muted); font-size: 13px; display: flex; align-items: center; gap: 6px; }
.stat .value { font-size: 26px; font-weight: 700; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat .hint { font-size: 12px; color: var(--app-muted); margin-top: 2px; }
.steps { display: grid; gap: 10px; }
.step { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px dashed var(--app-border); border-radius: 8px; }
.step.done { border-style: solid; background: #f6fbf7; border-color: #cdebd4; }
.step .num { width: 26px; height: 26px; border-radius: 50%; background: var(--app-accent-bg); color: var(--brass-deep); display: grid; place-items: center; font-weight: 600; font-size: 13px; flex: none; }
.step.done .num { background: #22c55e; color: #fff; }
.bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13px; }
.bar-row .name { width: 70px; flex: none; }
.bar-row .bar { flex: 1; height: 10px; background: #eef1f6; border-radius: 6px; overflow: hidden; }
.bar-row .bar > div { height: 100%; border-radius: 6px; }
.bar-row .num { width: 40px; text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- 搜索任务 ---------- */
.log-box { background: var(--ink); color: #cbd5e1; border-radius: 8px; padding: 12px 14px; font-size: 12.5px; line-height: 1.7; max-height: 360px; overflow-y: auto; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.log-box .warn { color: #fbbf24; }
.log-box .error { color: #f87171; }
.log-box .success { color: #4ade80; }
.log-box .ts { color: #64748b; margin-right: 8px; }
.task-item { padding: 12px 14px; border: 1px solid var(--app-border); border-radius: 8px; cursor: pointer; margin-bottom: 8px; transition: border-color .15s, background .15s; }
.task-item:hover { border-color: var(--el-color-primary-light-5); }
.task-item.active { border-color: var(--el-color-primary); background: var(--el-color-primary-light-9); }

/* ---------- 客户库 ---------- */
.score-pill { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-variant-numeric: tabular-nums; }
.grade { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: 12px; font-weight: 700; color: #fff; }
.grade-A { background: #16a34a; } .grade-B { background: #1d3d5c; } .grade-C { background: #f59e0b; } .grade-D { background: #9ca3af; }
.company-cell .name { font-weight: 600; color: #111827; cursor: pointer; }
.company-cell .name:hover { color: var(--el-color-primary); }
.score-row { display: grid; grid-template-columns: 90px 1fr 54px; gap: 10px; align-items: center; font-size: 13px; padding: 6px 0; border-bottom: 1px dashed #eef0f4; }
.score-row .note { grid-column: 2 / 4; color: var(--app-muted); font-size: 12px; margin-top: -4px; }
.kv { display: grid; grid-template-columns: 84px 1fr; gap: 6px 10px; font-size: 13.5px; }
.kv .k { color: var(--app-muted); }
.contact-card { border: 1px solid var(--app-border); border-radius: 8px; padding: 8px 12px; margin-bottom: 8px; font-size: 13px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }

/* ---------- 邮件 ---------- */
.mail-layout { display: grid; grid-template-columns: 220px minmax(280px, 380px) 1fr; gap: 14px; height: calc(100vh - 140px); min-height: 520px; }
.mail-col { background: #fff; border: 1px solid var(--app-border); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; min-height: 0; }
.mail-col .col-head { padding: 12px 14px; border-bottom: 1px solid var(--app-border); }
.mail-col .col-body { flex: 1; overflow-y: auto; min-height: 0; }
.folder { padding: 9px 14px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.folder:hover { background: #f5f7fb; }
.folder.active { background: var(--el-color-primary-light-9); color: var(--el-color-primary); font-weight: 600; box-shadow: inset 3px 0 0 var(--brass); }
.acc-name { padding: 10px 14px 4px; font-size: 12px; color: var(--app-muted); }
.msg-item { padding: 11px 14px; border-bottom: 1px solid #f0f2f6; cursor: pointer; }
.msg-item:hover { background: #f8fafc; }
.msg-item.active { background: var(--el-color-primary-light-9); }
.msg-item.unread .subj { font-weight: 700; }
.msg-item .from { font-size: 13px; display: flex; justify-content: space-between; gap: 8px; }
.msg-item .subj { font-size: 14px; margin: 3px 0; }
.msg-item .prev { font-size: 12px; color: var(--app-muted); }
.mail-view { padding: 18px 20px; }
.mail-view h3 { margin: 0 0 10px; font-size: 18px; }
.mail-body { margin-top: 14px; font-size: 14px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.mail-html { width: 100%; min-height: 420px; border: 1px solid var(--app-border); border-radius: 8px; margin-top: 12px; background: #fff; }
.kb-ref { background: #f8fafc; border: 1px solid var(--app-border); border-radius: 6px; padding: 8px 10px; font-size: 12.5px; margin-bottom: 6px; }

/* ---------- 后台 ---------- */
.provider-group { margin-bottom: 22px; }
.provider-group-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 2px; margin-bottom: 10px; border-bottom: 2px solid var(--el-color-primary-light-7); }
.provider-group-empty { padding: 6px 2px 10px; }
.provider-card { background: #fff; border: 1px solid var(--app-border); border-radius: 10px; margin-bottom: 14px; }
.provider-card .p-head { padding: 14px 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--app-border); }
.provider-card .p-name { font-weight: 600; font-size: 15px; }
.provider-card .p-desc { font-size: 12.5px; color: var(--app-muted); margin-top: 4px; }
.provider-card .p-body { padding: 6px 18px 14px; }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.tpl-card { background: #fff; border: 1px solid var(--app-border); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.tpl-card .tpl-body { font-size: 13px; color: #4b5563; white-space: pre-wrap; max-height: 140px; overflow: hidden; mask-image: linear-gradient(#000 70%, transparent); }
.guide ol { padding-left: 20px; line-height: 1.9; margin: 6px 0; }
.guide code { background: #f1f5f9; padding: 1px 6px; border-radius: 4px; font-size: 12.5px; }

@media (max-width: 1100px) {
  .mail-layout { grid-template-columns: 1fr; height: auto; }
  .mail-col { max-height: 70vh; }
}
@media (max-width: 768px) {
  .main { padding: 14px 16px; }
  .header { padding: 0 12px; }
  .hide-mobile { display: none !important; }
  .score-row { grid-template-columns: 76px 1fr 46px; }
}
.kv .mono { word-break: break-all; }
.el-dialog { max-width: calc(100vw - 16px); }

/* ---------- 报价与单据 ---------- */
.mt4 { margin-top: 4px; } .mb8 { margin-bottom: 8px; } .mb16 { margin-bottom: 16px; } .center { text-align: center; }
.clickable { cursor: pointer; }
.local-time { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 3px 10px; border-radius: 999px; background: #f1f5f9; flex-wrap: wrap; }
.local-time.lt-large { font-size: 14px; padding: 8px 12px; border-radius: 10px; }
.local-time .dot, .clock .dot, .legend { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: #94a3b8; flex: none; }
.lt-work .dot, .legend.lt-work { background: #22c55e; }
.lt-edge .dot, .legend.lt-edge { background: #f59e0b; }
.lt-rest .dot, .legend.lt-rest { background: #94a3b8; }
.local-time.lt-work { background: #ecfdf5; } .local-time.lt-edge { background: #fffbeb; }
.legend { margin: 0 3px 0 8px; }
.clock-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.clock { border: 1px solid var(--app-border); border-radius: 10px; padding: 8px 10px; background: #fafbfc; }
.clock.lt-work { border-color: #bbf7d0; background: #f0fdf4; }
.clock.lt-edge { border-color: #fde68a; background: #fffbeb; }
.clock-city { font-size: 12px; color: var(--app-muted); }
.clock-time { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.3; }
.clock-meta { font-size: 11px; display: flex; align-items: center; gap: 4px; }
.clock-del { cursor: pointer; color: #ef4444; }
.fx-row { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.fx-result { font-size: 22px; font-weight: 600; margin: 10px 0 2px; font-variant-numeric: tabular-nums; }
.fx-table { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.fx-cell { background: #f8fafc; border-radius: 6px; padding: 4px 6px; font-size: 12px; display: flex; flex-direction: column; }
.doc-row { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px dashed #eef0f4; cursor: pointer; }
.doc-row:hover { background: #f8fafc; }
.attach-chip { display: inline-flex; align-items: center; gap: 4px; background: #f1f5f9; border: 1px solid var(--app-border); border-radius: 6px; padding: 2px 8px; font-size: 12px; }
.attach-chip .chip-x { cursor: pointer; color: #94a3b8; margin-left: 2px; }
.attach-chip .chip-x:hover { color: #ef4444; }
a.attach-chip, .attach-chip.clickable { cursor: pointer; color: inherit; text-decoration: none; }
.attach-chip.clickable:hover { border-color: var(--el-color-primary); color: var(--el-color-primary); }
.zh-text { background: #f0fdf4; border-radius: 4px; }
.zh-banner { font-size: 12px; color: #15803d; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 6px; padding: 6px 10px; }
.zh-subject { font-weight: 600; margin-top: 10px; }
.smart-target { background: #f8fafc; border: 1px solid var(--app-border); border-radius: 8px; padding: 10px 12px; display: grid; gap: 4px; }
.doc-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; position: sticky; top: -20px; z-index: 5; }
.ai-card { background: linear-gradient(135deg, #fbf7ee, #f4f1ea); border-color: #e6d6b5; }
.ai-warn { display: flex; gap: 6px; align-items: flex-start; font-size: 12px; color: #b45309; padding: 2px 0; }
.ai-warn .el-icon { margin-top: 2px; flex: none; }
.ai-list { margin: 4px 0 0; padding-left: 18px; }
.items-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.items-table th { background: #f8fafc; font-weight: 600; font-size: 12px; color: #475569; text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--app-border); }
.items-table td { padding: 8px 6px; border-bottom: 1px solid #f0f2f6; vertical-align: top; }
.items-table td.num { text-align: right; font-variant-numeric: tabular-nums; padding-top: 14px; font-weight: 500; }
.items-table td.idx { color: var(--app-muted); padding-top: 14px; text-align: center; }
.items-table .row-move { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 6px; color: #94a3b8; cursor: pointer; }
.items-table .row-move .el-icon:hover { color: var(--el-color-primary); }
.items-table td.desc { min-width: 260px; }
.items-table .empty-row { text-align: center; padding: 24px; }
.item-thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; border: 1px solid var(--app-border); flex: none; }
.below-ref { color: #dc2626; }
.totals { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--app-border); }
.fee-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 12px; flex: 1; min-width: 280px; }
.fee-grid > div { display: flex; flex-direction: column; gap: 4px; }
.fee-grid .el-input-number { width: 100%; }
.totals-sum { text-align: right; margin-left: auto; }
.totals-sum .grand { font-size: 22px; font-weight: 700; color: var(--el-color-primary); font-variant-numeric: tabular-nums; }
.side-sticky { position: sticky; top: 60px; }
.side-total { font-size: 24px; font-weight: 700; color: var(--el-color-primary); font-variant-numeric: tabular-nums; }
.product-thumb { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; border: 1px solid var(--app-border); }
.product-thumb.empty { display: grid; place-items: center; color: #cbd5e1; background: #f8fafc; }
.image-uploader .el-upload { border: 1px dashed #cbd5e1; border-radius: 10px; width: 150px; height: 150px; display: grid; place-items: center; overflow: hidden; cursor: pointer; background: #fafbfc; }
.image-uploader .el-upload:hover { border-color: var(--el-color-primary); }
.image-uploader .uploaded { width: 100%; height: 100%; object-fit: cover; }
.upload-ph { color: #94a3b8; text-align: center; }
@media (max-width: 1199px) { .side-sticky { position: static; } }
@media (max-width: 767px) { .doc-toolbar { position: static; } .clock-time { font-size: 18px; } }

/* 会员中心 */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.plan-card { border: 1px solid var(--el-border-color); border-radius: 10px; padding: 18px; }
.plan-card h4 { margin: 0 0 8px; font-size: 15px; }
.plan-price { font-size: 26px; font-weight: 700; color: var(--el-color-primary); font-family: var(--serif); }
.plan-price small { font-size: 13px; font-weight: 400; color: var(--app-muted); }
.usage-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 13px; }
.plan-card.tier-max { border-color: var(--brass); background: linear-gradient(180deg, var(--app-accent-bg), #fff 55%); }
.plan-card.current { box-shadow: 0 0 0 2px var(--el-color-primary-light-7); }
.plan-buy { border-top: 1px dashed var(--app-border); margin-top: 12px; padding-top: 10px; }
.plan-buy .plan-price { font-size: 22px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }

/* 会员等级对照表（后台） */
.tier-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 560px; }
.tier-table th, .tier-table td { padding: 7px 10px; border-bottom: 1px solid var(--app-border); text-align: left; vertical-align: middle; }
.tier-table thead th { font-weight: 600; color: var(--app-text); background: var(--app-accent-bg); }
.tier-table tbody th { font-weight: 500; width: 200px; }
.tier-table .tier-group td { font-weight: 600; color: var(--brass-deep); background: #fbf8f1; padding-top: 10px; }

/* 邮件额度（邮箱账号） */
.mail-quota { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.mail-quota > div { background: #fff; border: 1px solid var(--app-border); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.mail-quota span { font-size: 12px; color: var(--app-muted); }
.mail-quota b { font-size: 20px; font-family: var(--serif); color: var(--app-text); }
.mail-quota b small { font-size: 12px; font-weight: 400; color: var(--app-muted); font-family: inherit; }
.platform-box { border-color: rgba(210, 180, 122, .55); }

/* 邮件资源（后台） */
.mres-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 16px; }
.mres-grid .card + .card, .mres { margin: 0; }
.mres { display: flex; flex-direction: column; }
.mres-name { font-weight: 600; font-size: 15px; }
.mres-lines > div { padding: 2px 0; }
.mres-url code { font-size: 12px; background: var(--app-accent-bg); border: 1px solid var(--app-border); border-radius: 6px; padding: 5px 8px; min-width: 0; }
.mres-help .el-collapse-item__header { height: 32px; font-size: 12px; color: var(--app-muted); }
.mres-help code { font-size: 12px; }
.mres .flex-wrap:last-child { margin-top: auto; padding-top: 12px; }



/* ---------- 通知公告 ---------- */
.notice-center { display: inline-flex; }
.notice-item { padding: 12px 12px 12px 14px; border: 1px solid var(--app-border); border-radius: 8px; margin-bottom: 10px; cursor: pointer; background: #fff; }
.notice-item:hover { border-color: var(--el-color-primary-light-7); }
.notice-item.unread { background: var(--app-accent-bg); }
.notice-item.important { border-left: 3px solid #b3352a; }
.notice-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.notice-title { font-size: 14px; }
.notice-dot { width: 7px; height: 7px; border-radius: 50%; background: #b3352a; flex: none; }
.notice-body { margin-top: 8px; font-size: 13.5px; line-height: 1.75; color: #374151; }
.notice-popup-head { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; }
.notice-popup-body { font-size: 14px; line-height: 1.8; max-height: 56vh; overflow-y: auto; }

/* ---------- 在线客服 ---------- */
.main-wide { padding: 14px 16px; }
.brand:hover { text-decoration: none; }
.cs-desk { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 12px; height: calc(100vh - 60px - 28px); min-height: 480px; }
@media (min-width: 1360px) { .cs-desk { grid-template-columns: 300px minmax(0, 1fr) 280px; } }
.cs-list, .cs-chat, .cs-info { background: #fff; border: 1px solid var(--app-border); border-radius: 10px; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.cs-list-head { padding: 12px; display: grid; gap: 10px; border-bottom: 1px solid var(--app-border); }
.cs-tabs { display: flex; }
.cs-tabs .el-radio-button { flex: 1; }
.cs-tabs .el-radio-button__inner { width: 100%; padding-inline: 0; }
.cs-conn { font-size: 11.5px; padding: 1px 8px; border-radius: 10px; background: #f1ede4; color: var(--app-muted); }
.cs-conn.live { background: #e7f4ef; color: #2f7d67; }
.cs-conn.reconnecting, .cs-conn.off { background: #fbecea; color: #b3352a; }
.cs-list-body { flex: 1; overflow-y: auto; min-height: 0; }
.cs-conv { display: flex; gap: 10px; padding: 11px 12px; border-bottom: 1px solid #f2eee6; cursor: pointer; }
.cs-conv:hover { background: #faf7f1; }
.cs-conv.active { background: var(--el-color-primary-light-9); box-shadow: inset 3px 0 0 var(--brass); }
.cs-av { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--ink); color: var(--brass); font-weight: 600; font-size: 14px; }
.cs-av.member { background: var(--brass); color: var(--ink); }
.cs-name { font-weight: 600; font-size: 14px; }
.cs-when { flex: none; font-size: 11.5px; }
.cs-prev { font-size: 12.5px; color: #59606a; }
.cs-tags { margin-top: 4px; }
.cs-chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--app-border); }
.cs-msgs { flex: 1; overflow-y: auto; min-height: 0; padding: 16px 18px; background: #faf8f3; display: flex; flex-direction: column; gap: 12px; }
.cs-msg { display: flex; flex-direction: column; align-items: flex-start; max-width: 78%; }
.cs-msg.agent, .cs-msg.ai { align-self: flex-end; align-items: flex-end; }
.cs-meta { font-size: 11.5px; color: #4a5562; margin: 0 4px 3px; display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.cs-chip { font-size: 10px; letter-spacing: .06em; padding: 0 5px; border-radius: 3px; border: 1px solid rgba(128, 96, 42, .45); color: var(--brass-deep); line-height: 15px; }
.cs-bubble { padding: 9px 13px; border-radius: 12px; background: #fff; border: 1px solid var(--app-border); white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; font-size: 14px; line-height: 1.6; border-bottom-left-radius: 4px; }
.cs-msg.agent .cs-bubble { background: var(--el-color-primary); color: #f6f0e4; border-color: var(--el-color-primary); border-radius: 12px 12px 4px 12px; }
.cs-msg.agent .cs-bubble a { color: #f1dfb8; }
.cs-msg.ai .cs-bubble { background: #fbf6ea; border-color: #eadfc6; border-radius: 12px 12px 4px 12px; }
.cs-imgs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.cs-img { width: 132px; height: 100px; border-radius: 8px; border: 1px solid var(--app-border); background: #fff; }
.cs-compose { border-top: 1px solid var(--app-border); padding: 10px 12px 12px; }
.cs-pending { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.cs-pending-item { position: relative; }
.cs-pending-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; border: 1px solid var(--app-border); display: block; }
.cs-pending-item .chip-x { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: #4a5562; color: #fff; display: grid; place-items: center; font-size: 12px; cursor: pointer; }
.cs-empty { display: grid; place-items: center; }
.cs-info { overflow-y: auto; }
.cs-info-in { padding: 14px; }
.cs-info-title { font-weight: 600; margin-bottom: 12px; }
.cs-kv { grid-template-columns: 72px 1fr; font-size: 12.5px; }
.cs-ua { word-break: break-all; color: #59606a; }
@media (max-width: 767px) {
  .cs-desk { grid-template-columns: 1fr; height: calc(100vh - 60px - 28px); }
  .cs-desk .cs-chat.cs-empty { display: none; }
  .cs-desk.cs-mobile-chat .cs-list { display: none; }
  .cs-msg { max-width: 92%; }
}
.api-doc pre { background: var(--ink); color: #e6dcc6; padding: 12px 14px; border-radius: 8px; overflow-x: auto; font-size: 12.5px; line-height: 1.6; margin: 8px 0 14px; }
.api-doc h4 { margin: 18px 0 6px; font-size: 14px; }
.api-doc table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 6px 0 12px; }
.api-doc th, .api-doc td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--app-border); vertical-align: top; }
.api-doc th { background: #faf7f1; font-weight: 600; color: #4a5562; }
.api-doc code { background: #f3eee4; padding: 1px 6px; border-radius: 4px; font-size: 12.5px; }
.secret-box { display: flex; align-items: center; gap: 8px; background: #faf7f1; border: 1px solid var(--app-border); border-radius: 8px; padding: 10px 12px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; word-break: break-all; }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.lib-item { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--app-border); border-radius: 8px; padding: 8px; background: #fff; }
.lib-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; border: 1px solid var(--app-border); flex: none; }

/* ---------- 数据分析 ---------- */
.viz-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; }
.viz-loading { opacity: .55; transition: opacity .2s; pointer-events: none; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 12px; }
.kpi { background: #fff; border: 1px solid var(--app-border); border-radius: 10px; padding: 14px 16px 12px; }
.kpi-label { font-size: 13px; color: var(--app-muted); }
.kpi-value { font-size: 26px; font-weight: 600; margin-top: 4px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; color: var(--app-text); }
.kpi-foot { display: flex; align-items: center; gap: 8px; font-size: 12px; margin-top: 4px; flex-wrap: wrap; }
.kpi-delta { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; font-variant-numeric: tabular-nums; }
.kpi-delta.up { color: #2f7d67; } .kpi-delta.down { color: #b3352a; } .kpi-delta.flat { color: var(--app-muted); font-weight: 400; }
.h100 { height: 100%; }
.viz-trend { position: relative; width: 100%; }
.viz-trend svg { display: block; overflow: visible; touch-action: pan-y; }
.viz-grid { stroke: #ece7dd; stroke-width: 1; }
.viz-axis { fill: #7a7f87; font-size: 11px; font-variant-numeric: tabular-nums; }
.viz-cross { stroke: #9aa0a8; stroke-width: 1; }
.viz-tip { position: absolute; z-index: 2; background: #fff; border: 1px solid var(--app-border); border-radius: 8px; padding: 8px 10px; box-shadow: 0 8px 24px -10px rgba(8, 19, 30, .3); pointer-events: none; min-width: 140px; }
.viz-tip-row { display: flex; align-items: center; gap: 8px; font-size: 12px; white-space: nowrap; }
.viz-tip-row + .viz-tip-row { margin-top: 4px; }
.viz-tip-row i { width: 12px; height: 2px; border-radius: 1px; flex: none; }
.viz-tip-row b { font-size: 13px; color: var(--app-text); font-variant-numeric: tabular-nums; }
.viz-tip-row span { color: var(--app-muted); }
.viz-legend { display: flex; gap: 18px; font-size: 12px; color: #4a5562; margin: -4px 0 6px; flex-wrap: wrap; }
.viz-legend span { display: inline-flex; align-items: center; gap: 6px; }
.viz-legend .lk { width: 14px; height: 2px; border-radius: 1px; display: inline-block; }
.funnel { display: grid; gap: 10px; }
.funnel-row { display: grid; grid-template-columns: minmax(110px, 168px) 1fr 76px; align-items: center; gap: 10px; }
.funnel-name { font-size: 13px; line-height: 1.3; }
.funnel-track { height: 22px; background: #f4f1ea; border-radius: 4px; overflow: hidden; }
.funnel-bar { height: 100%; border-radius: 0 4px 4px 0; transition: width .3s; }
.funnel-num { text-align: right; font-variant-numeric: tabular-nums; line-height: 1.25; }
.mini-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.mini-kpis > div { background: #faf8f3; border: 1px solid #efe9de; border-radius: 8px; padding: 10px 12px; display: grid; gap: 2px; }
.mini-kpis span { font-size: 12px; color: var(--app-muted); }
.mini-kpis b { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mini-kpis em { font-style: normal; font-size: 12px; color: #4a5562; font-variant-numeric: tabular-nums; }
.bar-cell { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.bar-cell i { display: block; height: 6px; border-radius: 0 3px 3px 0; background: #2e6a9e; min-width: 2px; }
.split-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px 28px; }
.split-title { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.split-row { display: grid; grid-template-columns: 76px 1fr 52px; align-items: center; gap: 8px; font-size: 12.5px; padding: 3px 0; }
.split-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.split-track { height: 6px; background: #f4f1ea; border-radius: 3px; overflow: hidden; }
.split-track i { display: block; height: 100%; background: #2e6a9e; border-radius: 0 3px 3px 0; }
.split-num { text-align: right; font-variant-numeric: tabular-nums; color: #4a5562; }
@media (max-width: 767px) {
  .funnel-row { grid-template-columns: 96px 1fr 64px; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi { padding: 12px; }
  .kpi-value { font-size: 22px; }
}
.top-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.top-grid .card + .card { margin-top: 0; }
.top-row { grid-template-columns: minmax(0, 1fr) 90px 56px; }
.mini-kpis.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- AI 自动获客 ---------- */
.aside .menu-core > .el-sub-menu__title { color: var(--brass) !important; font-weight: 600; }
.aside .menu-core > .el-sub-menu__title .el-icon { color: var(--brass); }
.ap-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 24px; border-radius: 12px;
  color: #c6cfd8; background: radial-gradient(120% 140% at 0% 0%, #13293e, var(--ink) 70%); border: 1px solid rgba(210, 180, 122, .25); }
.ap-hero-main { min-width: 0; flex: 1; }
.ap-state { display: flex; align-items: center; gap: 10px; font-size: 20px; color: var(--ivory); }
.ap-state b { font-weight: 600; letter-spacing: .02em; }
.ap-msg { margin-top: 6px; font-size: 14px; color: #c6cfd8; }
.ap-sub { margin-top: 4px; font-size: 12px; color: #93a1b0; }
.ap-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; background: #93a1b0; flex: none; vertical-align: middle; }
.ap-dot.on { background: #63b3a2; box-shadow: 0 0 0 4px rgba(99, 179, 162, .2); animation: ap-pulse 2s infinite; }
.ap-dot.wait { background: var(--brass); box-shadow: 0 0 0 4px rgba(210, 180, 122, .2); }
.ap-dot.warn { background: #d97757; }
@keyframes ap-pulse { 50% { box-shadow: 0 0 0 7px rgba(99, 179, 162, .08); } }
@media (prefers-reduced-motion: reduce) { .ap-dot.on { animation: none; } }
.ap-btn.el-button { height: 46px; padding: 0 26px; font-size: 15px; }
.ap-btn.stop { --el-button-bg-color: transparent; --el-button-text-color: #f0e6d2; --el-button-border-color: rgba(246, 240, 228, .4);
  --el-button-hover-bg-color: rgba(255, 255, 255, .08); --el-button-hover-text-color: #fff; --el-button-hover-border-color: #f0e6d2; }
.ap-checklist { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 12px; }
.ap-check { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; padding: 3px 10px; border-radius: 14px; border: 1px solid var(--app-border); background: #fff; color: #4a5562; }
.ap-check.req { border-color: rgba(179, 53, 42, .4); color: #b3352a; }
.ap-check:hover { text-decoration: none; border-color: var(--brass); }
.ap-timeline { display: grid; gap: 2px; max-height: 560px; overflow-y: auto; }
.ap-ev { display: flex; align-items: flex-start; gap: 10px; padding: 8px 4px; border-bottom: 1px dashed #efe9de; }
.ap-ev-ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #f3eee4; color: #4a5562; }
.ap-ev.email_sent .ap-ev-ic, .ap-ev.followup_sent .ap-ev-ic { background: #e9f0f7; color: #2e6a9e; }
.ap-ev.reply_received .ap-ev-ic, .ap-ev.auto_replied .ap-ev-ic, .ap-ev.search_done .ap-ev-ic { background: #e7f4ef; color: #2f7d67; }
.ap-ev.needs_human .ap-ev-ic, .ap-ev.error .ap-ev-ic, .ap-ev.bounced .ap-ev-ic { background: #fbecea; color: #b3352a; }
.ap-ev.quota_wait .ap-ev-ic { background: #f8f0dd; color: var(--brass-deep); }
.ap-ev-text { font-size: 13.5px; line-height: 1.5; word-break: break-word; }
.ap-quota { margin-bottom: 10px; }
.ap-quota .split-track { display: block; margin-top: 4px; }
.ap-human { padding: 8px 0; border-bottom: 1px dashed #efe9de; display: grid; gap: 1px; }
.ap-upgrade { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; border-color: #e6d6b5; background: #fbf7ee; }
.ap-form .el-form-item__content { flex-wrap: wrap; }
.ap-boxes, .ap-radios { display: grid; gap: 4px; }
.ap-limits { width: 100%; max-width: 760px; }
.ap-gap { gap: 6px; flex-wrap: nowrap; }
.ap-test { margin-top: 6px; display: grid; gap: 4px; padding-left: 150px; }
.ap-test .ok { color: #2f7d67; } .ap-test .bad { color: #b3352a; }
.ap-report-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 10px 6px; border-bottom: 1px dashed #efe9de; cursor: pointer; }
.ap-report-row:hover { background: #faf7f1; }
.ap-report { display: grid; gap: 4px; font-size: 13.5px; line-height: 1.7; }
.ap-report-h { font-weight: 600; margin-top: 8px; }
.ap-report-li::before { content: "·"; margin: 0 8px 0 2px; color: var(--brass-deep); }
.ap-mail { border: 1px solid var(--app-border); border-radius: 8px; padding: 12px 14px; background: #fff; font-size: 14px; line-height: 1.7; }
.ap-mail-subj { font-weight: 600; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid #efe9de; }
.ap-banner { display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 16px; border-radius: 10px; cursor: pointer;
  background: linear-gradient(90deg, #0f2134, #13293e); color: #e9e2d2; border: 1px solid rgba(210, 180, 122, .3); }
.ap-banner .el-icon { color: var(--brass); }
.ap-banner b { margin-right: 10px; color: var(--ivory); }
.ap-banner .ap-dot { margin-right: 6px; }
.ap-banner .muted { color: #9fb0c0; }
@media (max-width: 767px) { .ap-test { padding-left: 0; } .ap-hero { padding: 18px; } .ap-btn.el-button { width: 100%; } }

/* ---------- 知识库 ---------- */
.kb-drop { display: flex; align-items: center; gap: 14px; border-style: dashed; border-width: 1.5px; flex-wrap: wrap; }
.kb-drop.over { border-color: var(--brass); background: #fbf7ee; }
.kb-drop .el-icon { color: var(--brass-deep); }
.kb-usage { margin-left: auto; }
.kb-enc { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.kb-view { max-height: 62vh; overflow-y: auto; font-size: 13.5px; line-height: 1.7; }
.ap-form .el-form-item__content > div.muted.small { width: 100%; }
.ap-kpis { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }

/* ---------- AI 搜索进度 ---------- */
.sp { --sp-cyan: #5ec8ff; --sp-blue: #2e6a9e; position: relative; overflow: hidden; border-radius: 12px; padding: 18px 20px 16px; color: #dbe6f3;
  background: radial-gradient(120% 140% at 0% 0%, #17324d 0%, #0b1a2a 55%, var(--ink) 100%); border: 1px solid rgba(94, 200, 255, .18);
  box-shadow: 0 10px 28px rgba(8, 19, 30, .18); isolation: isolate; }
.sp::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9;
  background-image: linear-gradient(rgba(94, 200, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(94, 200, 255, .06) 1px, transparent 1px);
  background-size: 22px 22px; }
.sp-running::before, .sp-pending::before { animation: sp-pan 14s linear infinite; }
.sp-running::after { content: ""; position: absolute; top: 0; bottom: 0; width: 30%; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(94, 200, 255, .10), transparent); animation: sp-scan 3.6s ease-in-out infinite; }
@keyframes sp-pan { to { background-position: 22px 22px, 22px 22px; } }
@keyframes sp-scan { 0% { left: -30%; } 100% { left: 100%; } }
.sp-head { display: flex; align-items: center; gap: 14px; }
.sp-radar { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: #fff;
  border: 1px solid rgba(94, 200, 255, .45); background: radial-gradient(circle, rgba(94, 200, 255, .16) 0 30%, transparent 31%), radial-gradient(circle, transparent 58%, rgba(94, 200, 255, .12) 59% 60%, transparent 61%); }
.sp-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(94, 200, 255, .55), rgba(94, 200, 255, 0) 28%, transparent);
  animation: sp-rotate 1.6s linear infinite; }
.sp-blip { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--sp-cyan); box-shadow: 0 0 10px var(--sp-cyan); top: 12px; left: 27px; animation: sp-blip 1.6s ease-in-out infinite; }
@keyframes sp-rotate { to { transform: rotate(360deg); } }
@keyframes sp-blip { 0%, 100% { opacity: .15; transform: scale(.6); } 45% { opacity: 1; transform: scale(1.15); } }
.sp-done .sp-radar { background: rgba(52, 199, 123, .18); border-color: rgba(110, 231, 183, .6); color: #6ee7b7; }
.sp-failed .sp-radar { background: rgba(248, 113, 113, .16); border-color: rgba(248, 113, 113, .55); color: #fca5a5; }
.sp-cancelled .sp-radar { background: rgba(148, 163, 184, .14); border-color: rgba(148, 163, 184, .4); color: #cbd5e1; }
.sp-title { flex: 1; min-width: 0; }
.sp-action { font-size: 15px; font-weight: 600; color: #fff; line-height: 1.4; }
.sp-dots { display: inline-flex; gap: 3px; margin-left: 6px; vertical-align: middle; }
.sp-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--sp-cyan); animation: sp-dot 1.2s infinite ease-in-out; }
.sp-dots i:nth-child(2) { animation-delay: .2s; } .sp-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes sp-dot { 0%, 80%, 100% { opacity: .2; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.sp-meta { font-size: 12px; color: #8ea3ba; margin-top: 4px; font-variant-numeric: tabular-nums; }
.sp-pct { flex: none; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 0 18px rgba(94, 200, 255, .55); }
.sp-pct b { font-size: 34px; font-weight: 700; letter-spacing: -.02em; }
.sp-pct small { font-size: 18px; color: var(--sp-cyan); }
.sp-pct span { font-size: 15px; margin-left: 2px; color: #8ea3ba; }
.sp-done .sp-pct { text-shadow: 0 0 18px rgba(110, 231, 183, .45); }
.sp-bar { position: relative; height: 12px; margin: 16px 0 14px; border-radius: 8px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .4); }
.sp-fill { position: relative; height: 100%; border-radius: 8px; min-width: 12px; overflow: visible;
  background: linear-gradient(90deg, #1d3d5c, var(--sp-blue) 35%, var(--sp-cyan) 85%, #b9ecff);
  box-shadow: 0 0 12px rgba(94, 200, 255, .55); }
.sp-running .sp-fill::before, .sp-pending .sp-fill::before { content: ""; position: absolute; inset: 0; border-radius: 8px;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .16) 0 8px, transparent 8px 16px); background-size: 22.6px 22.6px; animation: sp-stripes .9s linear infinite; }
.sp-running .sp-fill::after { content: ""; position: absolute; inset: 0; border-radius: 8px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .45) 50%, transparent 100%); background-size: 40% 100%; background-repeat: no-repeat; animation: sp-shine 2.2s ease-in-out infinite; }
@keyframes sp-stripes { to { background-position: 22.6px 0; } }
@keyframes sp-shine { 0% { background-position: -60% 0; } 100% { background-position: 160% 0; } }
.sp-spark { position: absolute; right: -6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 8px #fff, 0 0 18px var(--sp-cyan), 0 0 30px var(--sp-cyan); animation: sp-spark 1.1s ease-in-out infinite; }
.sp-done .sp-spark, .sp-failed .sp-spark, .sp-cancelled .sp-spark { display: none; }
@keyframes sp-spark { 0%, 100% { transform: scale(.75); opacity: .75; } 50% { transform: scale(1.15); opacity: 1; } }
.sp-done .sp-fill { background: linear-gradient(90deg, #1f7a55, #34c77b 60%, #6ee7b7); box-shadow: 0 0 12px rgba(52, 199, 123, .45); }
.sp-failed .sp-fill { background: linear-gradient(90deg, #7f1d1d, #ef4444); box-shadow: none; }
.sp-cancelled .sp-fill { background: linear-gradient(90deg, #334155, #64748b); box-shadow: none; }
.sp-tick { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: rgba(8, 19, 30, .85); border-radius: 1px; }
.sp-stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.sp-stage { display: flex; align-items: center; gap: 8px; color: #6f849b; min-width: 0; }
.sp-node { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px;
  border: 1px solid rgba(142, 163, 186, .35); background: rgba(255, 255, 255, .03); transition: all .3s; }
.sp-stage-text { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.sp-stage-text b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-stage-text small { font-size: 11px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-stage.done { color: #b9c9da; }
.sp-stage.done .sp-node { background: rgba(210, 180, 122, .18); border-color: rgba(210, 180, 122, .6); color: var(--brass-soft); }
.sp-done .sp-stage.done .sp-node { background: rgba(52, 199, 123, .16); border-color: rgba(110, 231, 183, .55); color: #6ee7b7; }
.sp-stage.active { color: #fff; }
.sp-stage.active .sp-node { border-color: var(--sp-cyan); color: #fff; background: rgba(94, 200, 255, .2); animation: sp-ring 1.6s ease-out infinite; }
@keyframes sp-ring { 0% { box-shadow: 0 0 0 0 rgba(94, 200, 255, .55); } 100% { box-shadow: 0 0 0 9px rgba(94, 200, 255, 0); } }
.sp-counters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.sp-counter { padding: 9px 10px; border-radius: 8px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(142, 163, 186, .14); transition: border-color .3s, background .3s; min-width: 0; }
.sp-counter b { display: block; font-size: 19px; color: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; line-height: 1.2; }
.sp-counter span { font-size: 11.5px; color: #8ea3ba; white-space: nowrap; }
.sp-counter.hot { border-color: rgba(94, 200, 255, .55); background: rgba(94, 200, 255, .08); box-shadow: 0 0 14px rgba(94, 200, 255, .15) inset; }
.sp-counter.bump b { animation: sp-bump .7s ease-out; }
@keyframes sp-bump { 0% { color: #fff; transform: scale(1); } 30% { color: var(--sp-cyan); transform: scale(1.12); } 100% { color: #fff; transform: scale(1); } }
.sp-counter:last-child b { color: #6ee7b7; }
.sp-mini { display: flex; align-items: center; gap: 8px; width: 150px; }
.sp-mini-track { flex: 1; height: 8px; border-radius: 6px; background: #e6ebf1; overflow: hidden; }
.sp-mini-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--el-color-primary), #5ec8ff); position: relative; transition: width .6s ease; }
.sp-mini-fill::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .3) 0 5px, transparent 5px 10px); background-size: 14.1px 14.1px; animation: sp-stripes .9s linear infinite; }
.sp-mini span { font-size: 12px; color: var(--app-muted); font-variant-numeric: tabular-nums; min-width: 32px; text-align: right; }
.log-box > div { animation: log-in .45s ease-out; }
@keyframes log-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.log-cursor { display: inline-block; width: 8px; height: 14px; background: #5ec8ff; vertical-align: middle; animation: log-blink 1s steps(1) infinite; }
@keyframes log-blink { 50% { opacity: 0; } }
@media (max-width: 760px) {
  .sp { padding: 14px; }
  .sp-pct b { font-size: 26px; }
  .sp-stages { gap: 4px; }
  .sp-stage { flex-direction: column; align-items: center; text-align: center; gap: 4px; }
  .sp-stage-text small { display: none; }
  .sp-stage-text b { font-size: 11px; }
  .sp-counters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .sp *, .sp::before, .sp::after, .sp-mini-fill::after, .log-box > div, .log-cursor { animation: none !important; }
}

/* ---------- 客户搜索页布局 ---------- */
.search-new { padding: 16px 20px 12px; }
.search-new-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 12px; }
.search-quota { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--app-muted); }
.search-row { display: flex; flex-wrap: wrap; gap: 0 16px; align-items: flex-start; }
.search-row .el-form-item { margin-bottom: 12px; }
.sf-kw { flex: 1 1 240px; min-width: 0; }
.sf-country { flex: 0 1 220px; min-width: 180px; }
.sf-depth { flex: 0 0 auto; }
.sf-go { flex: 0 0 auto; padding-top: 30px; }  /* 与左边输入框对齐（标签高度） */
.search-go { min-width: 150px; font-weight: 600; letter-spacing: .02em; }
.search-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: -4px 0 8px; }
.search-hint .sep { opacity: .6; }
.sf-industry { flex: 1 1 200px; } .sf-types { flex: 1 1 260px; } .sf-extra { flex: 2 1 300px; }
.sf-providers { flex: 1 1 320px; } .sf-maps { flex: 1 1 300px; }
.search-more-toggle { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; cursor: pointer; font-size: 13px; color: var(--app-text); padding: 2px 0 6px; user-select: none; }
.search-more-toggle:hover b { color: var(--el-color-primary); }
.search-more-arrow { transition: transform .2s; }
.search-more-arrow.open { transform: rotate(90deg); }
.search-more { padding-top: 6px; border-top: 1px dashed var(--app-border); margin-top: 2px; }
.search-main { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: start; }
.search-tasks { position: sticky; top: 12px; display: flex; flex-direction: column; max-height: calc(100vh - 110px); padding: 14px 12px 8px; }
.search-tasks-head { padding: 0 4px 8px; }
.search-tasks-filter { margin: 0 4px 10px; }
.search-tasks-scroll { overflow-y: auto; flex: 1; min-height: 0; padding: 0 4px; }
.search-tasks .task-item { padding: 10px 12px; }
.ti-top { display: flex; align-items: center; gap: 8px; }
.ti-title { flex: 1; min-width: 0; font-weight: 600; font-size: 13.5px; }
.ti-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #b7bcc4; }
.ti-done .ti-dot { background: #34c77b; }
.ti-failed .ti-dot { background: #ef4444; }
.ti-running .ti-dot, .ti-pending .ti-dot { background: #5ec8ff; box-shadow: 0 0 0 0 rgba(94, 200, 255, .6); animation: sp-ring 1.6s ease-out infinite; }
.ti-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 6px; min-height: 22px; }
.ti-del { opacity: 0; transition: opacity .15s; }
.task-item:hover .ti-del, .task-item.active .ti-del { opacity: 1; }
.search-tasks .sp-mini { width: 100%; }
.sd-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.sd-title { font-size: 17px; font-weight: 600; }
.sd-log-title { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--app-muted); margin: 16px 0 8px; }
.search-intro { padding: 28px; }
.search-intro-title { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.search-intro-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.search-intro-step { display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid var(--app-border); border-radius: 10px; background: var(--app-accent-bg); }
.search-intro-step .sp-node { color: var(--el-color-primary); border-color: var(--el-color-primary-light-7); background: #fff; }
.search-intro-step b { font-size: 13.5px; }
/* 用一段话描述目标客户 */
.search-new-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-width: 0; }
.search-mode { --el-segmented-item-selected-bg-color: var(--el-color-primary); --el-border-radius-base: 8px; padding: 3px; }
.search-mode .el-segmented__item { padding: 0 14px; min-height: 30px; font-size: 13px; }
.bf-text { margin-bottom: 12px; }
.bf-site { flex: 1 1 320px; min-width: 0; }
.bf-hint { flex-wrap: nowrap; align-items: flex-start; }
.bf-hint > .el-icon { flex: none; margin-top: 2px; }
.brief-result { margin: 4px 0 4px; padding: 14px 16px 6px; border: 1px solid rgba(210, 180, 122, .55); border-radius: 12px; background: #fdfaf3; }
.brief-result-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 12px; font-size: 14px; }
.brief-result-head > .el-icon { color: var(--brass-deep); font-size: 16px; }
.brief-stale { display: inline-flex; align-items: center; gap: 4px; color: #a8660b; }
.brief-result .el-form-item { margin-bottom: 12px; }
.brief-result .search-more { border-top-color: rgba(210, 180, 122, .45); }
.bf-kw { flex: 1 1 320px; min-width: 0; }
.bf-countries { flex: 1 1 320px; min-width: 0; }
.bf-go-row { padding-top: 4px; }
.ti-brief { flex: none; color: var(--brass-deep); font-size: 14px; }
.sd-brief { display: grid; gap: 8px; margin: -2px 0 14px; padding: 12px 14px; border: 1px solid var(--app-border); border-radius: 10px; background: var(--app-accent-bg); font-size: 13px; line-height: 1.6; }
.sd-brief-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.sd-brief-k { color: var(--app-muted); }
.sd-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sd-brief-text { display: block; white-space: pre-wrap; word-break: break-word; margin-bottom: 2px; }
@media (max-width: 1100px) {
  .search-main { grid-template-columns: minmax(0, 1fr); }
  .search-detail { order: -1; }
  .search-tasks { position: static; max-height: none; }
  .search-tasks-scroll { max-height: 420px; }
  .search-intro-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .search-new { padding: 14px; }
  .sf-kw, .sf-country, .sf-depth, .sf-go, .bf-site, .bf-kw, .bf-countries { flex: 1 1 100%; }
  .search-new-title { width: 100%; }
  .search-mode { width: 100%; }
  .search-mode .el-segmented__item { padding: 0 8px; }
  .brief-result { padding: 12px 12px 4px; }
  .sd-brief-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .sf-go { padding-top: 0; }
  .search-go { width: 100%; }
  .sd-actions { width: 100%; }
  .search-intro { padding: 18px; }
  .search-intro-steps { grid-template-columns: minmax(0, 1fr); }
  .ti-del { opacity: 1; }
}

/* ---------- 自建渠道：按服务商分组 ---------- */
.relay-groups { display: grid; gap: 12px; }
.relay-svc { background: #fff; border: 1px solid var(--app-border); border-radius: 10px; overflow: hidden; transition: box-shadow .2s; }
.relay-svc.open { box-shadow: 0 2px 10px rgba(8, 19, 30, .05); }
.relay-svc-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 18px; cursor: pointer; user-select: none; }
.relay-svc-head:hover { background: #fbf9f4; }
.relay-svc.open .relay-svc-head { border-bottom: 1px solid var(--app-border); }
.relay-arrow { flex: none; color: var(--app-muted); transition: transform .2s; }
.relay-svc.open .relay-arrow { transform: rotate(90deg); }
.relay-svc-main { flex: 1; min-width: 240px; }
.relay-svc-name { font-size: 15px; }
.relay-svc-stats { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; font-size: 12.5px; color: var(--app-muted); }
.relay-svc-stats b { color: var(--app-text); font-variant-numeric: tabular-nums; }
.relay-svc-actions { flex: none; cursor: default; }
.relay-svc-body { padding: 4px 12px 10px; }
.rate-good { color: #16a34a !important; } .rate-mid { color: #d97706 !important; } .rate-bad { color: #dc2626 !important; }
@media (max-width: 760px) {
  .relay-svc-head { padding: 12px; }
  .relay-svc-actions { width: 100%; }
}

/* ---------- 数据分析 · API 渠道 ---------- */
.api-group { padding: 10px 0; border-bottom: 1px dashed var(--app-border); }
.api-group:last-child { border-bottom: 0; }
.api-group-name { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.api-group-name i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.api-group-bar { height: 8px; border-radius: 4px; background: #eef1f4; margin: 8px 0 6px; overflow: hidden; }
.api-group-bar i { display: block; height: 100%; border-radius: 4px; }
.api-group-nums { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; color: var(--app-muted); }
.api-group-nums b { color: var(--app-text); font-variant-numeric: tabular-nums; }
.stack-cell { display: flex; align-items: center; gap: 8px; }
.stack-cell > span:first-child { min-width: 34px; text-align: right; font-variant-numeric: tabular-nums; }
.stack-track { display: flex; gap: 2px; height: 10px; min-width: 4px; }
.stack-track i { display: block; height: 100%; border-radius: 2px; min-width: 2px; }

/* ---------- 邮件检测 ---------- */
.vchk-items { display: flex; flex-wrap: wrap; gap: 4px; }
.vchk-item { font-size: 12px; padding: 1px 7px; border-radius: 10px; background: #f1f3f5; color: #4a5562; white-space: nowrap; }
.vchk-item.ok { background: #e8f6ee; color: #15803d; }
.vchk-item.bad { background: #fdecec; color: #c2410c; }
.vchk-item.flag { background: #fdf3e2; color: #a16207; }
.vchk-suggest { color: var(--el-color-warning-dark-2, #a16207); }
.vchk-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.vchk-chip { border: 1px solid var(--app-border); background: #fff; border-radius: 16px; padding: 4px 12px; font-size: 13px; cursor: pointer; color: var(--app-text); }
.vchk-chip b { font-variant-numeric: tabular-nums; margin-left: 4px; }
.vchk-chip.active { border-color: var(--el-color-primary); background: var(--el-color-primary-light-9); color: var(--el-color-primary); }
.vchk-chip.vchk-valid b { color: #15803d; } .vchk-chip.vchk-invalid b { color: #dc2626; } .vchk-chip.vchk-risky b { color: #b45309; }
.vchk-policy > div { padding: 5px 0; line-height: 1.7; }
.vchk-policy .el-tag { margin-right: 6px; }
/* 邮件检测：客户搜索 / AI 自动获客找到的邮箱免费检测，醒目提示 */
.vchk-free-banner { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 12px;
  background: linear-gradient(120deg, var(--ink-2), var(--ink-3)); border: 1px solid rgba(210, 180, 122, .5); box-shadow: 0 6px 18px rgba(8, 19, 30, .14); }
.vchk-free-banner::after { content: ""; position: absolute; right: -50px; top: -60px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 180, 122, .25), transparent 70%); pointer-events: none; }
.vchk-free-banner > * { position: relative; z-index: 1; }
.usage-row.plan-hl > span:last-child { color: var(--brass-deep); font-weight: 600; }
.vfb-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 20px;
  background: var(--brass); color: var(--ink); box-shadow: 0 0 0 4px rgba(210, 180, 122, .2); }
.vfb-title { font-size: 16px; font-weight: 600; line-height: 1.5; color: #fff; letter-spacing: .01em; }
.vfb-sub { margin-top: 2px; font-size: 13px; line-height: 1.5; color: var(--brass-soft); }
@media (max-width: 767px) {
  .vchk-free-banner { align-items: flex-start; gap: 10px; padding: 12px 14px; }
  .vfb-icon { width: 32px; height: 32px; font-size: 16px; }
  .vfb-title { font-size: 14px; }
  .vfb-sub { font-size: 12px; }
}
.vchk-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 6px; }
.vchk-pill { font-size: 12px; padding: 1px 8px; border-radius: 10px; background: #f1f3f5; color: #4a5562; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vchk-pill.vchk-valid { background: #e8f6ee; color: #15803d; }
.vchk-pill.vchk-invalid { background: #fdecec; color: #b91c1c; }
.vchk-pill.vchk-risky { background: #fdf3e2; color: #a16207; }
.vchk-pill.vchk-pending { background: #eaf1fb; color: #1d4f91; }
.danger-text { color: var(--el-color-danger); }
.vq-box { background: #fbf9f4; border: 1px solid var(--app-border); border-radius: 8px; padding: 8px 10px; }
.vq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 4px 12px; margin-top: 4px; }
.vq-grid div { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }
.vq-grid span { color: var(--app-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vq-grid b { font-variant-numeric: tabular-nums; }
.vq-raw { background: #0f1b27; color: #d9e2ec; border-radius: 8px; padding: 10px 12px; font-size: 12px; max-height: 320px; overflow: auto; white-space: pre-wrap; word-break: break-all; }

/* 后台会员订单：待核对的备注要能完整看到；两个操作按钮上下排列，不把备注挤到横向滚动区外 */
.order-review-note { color: var(--brass-deep); line-height: 1.5; }
.order-ops { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.order-ops .el-button + .el-button { margin-left: 0; }
