/* 询价客户中心（2026-11-03 需求1/2） */
/* 总览统计条（2026-11-05 用户：总览做小一点，不要一点数据占那么多位子）
   → 6 张大卡片压成一条，高度 ~38px，横向可滚不换行 */
.ic-stats {
  display: flex; align-items: stretch; gap: 0; flex-wrap: nowrap;
  background: #fff; border: 1px solid #eef2f7; border-radius: 9px;
  padding: 6px 4px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.ic-st-item {
  display: flex; align-items: baseline; gap: 5px; padding: 0 11px;
  border-right: 1px dashed #eef2f7; white-space: nowrap; flex: 0 0 auto;
}
.ic-st-item:last-child { border-right: none; }
.ic-st-val { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ic-st-lb { font-size: 11px; color: #64748b; }
.ic-st-sub { font-size: 10.5px; color: #94a3b8; }
/* 兼容老的卡片样式（别处还在用） */
.ic-card {
  flex: 1 1 130px; min-width: 110px; background: #fff; border: 1px solid #eef2f7;
  border-radius: 10px; padding: 10px 12px; box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.ic-card-num { font-size: 20px; font-weight: 700; line-height: 1.2; }
.ic-card-lb { font-size: 12px; color: #334155; margin-top: 3px; font-weight: 600; }
.ic-card-sub { font-size: 10.5px; color: #94a3b8; margin-top: 1px; }

.ic-sel {
  padding: 4px 22px 4px 9px; font-size: 12px; color: #334155;
  border: 1px solid #dbe4f0; border-radius: 6px; background: #fff;
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2364748b'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center;
}
.ic-sel:hover { border-color: #93c5fd; }

.ic-row { border-bottom: 1px solid #f1f5f9; }
.ic-row:last-child { border-bottom: none; }
.ic-head {
  display: flex; align-items: center; gap: 8px; padding: 9px 6px;
  cursor: pointer; font-size: 13px; flex-wrap: wrap;
}
.ic-head:hover { background: #fafcff; }
.ic-row.is-closed .ic-head { background: #fcfcfd; }
.ic-caret { color: #94a3b8; font-size: 10px; width: 12px; flex: 0 0 auto; }
.ic-name { color: #1a1a2e; }
.ic-want { color: #64748b; font-size: 12px; }
.ic-owner { color: #7c3aed; font-size: 11.5px; background: #f5f3ff; padding: 1px 7px; border-radius: 999px; }
.ic-meta { color: #cbd5e1; font-size: 11px; margin-left: auto; }
.ic-att, .ic-fc { font-size: 11px; color: #94a3b8; }

.ic-b { font-size: 10.5px; padding: 1px 8px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.ic-asking { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.ic-deal { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.ic-lost { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.ic-pending { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.ic-rej { background: #fef2f2; color: #dc2626; border: 1px solid #fca5a5; }

.ic-body { padding: 4px 6px 12px 26px; }
.ic-info {
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  font-size: 12.5px; color: #475569; background: #fafcff;
  border: 1px solid #eef4fb; border-radius: 8px; padding: 9px 12px;
}
.ic-info b { color: #334155; font-weight: 600; }
.ic-rejbox {
  margin-top: 8px; background: #fef2f2; border: 1px solid #fecaca;
  color: #b91c1c; font-size: 12px; padding: 7px 11px; border-radius: 8px;
}
.ic-acts { display: flex; gap: 6px; margin-top: 9px; flex-wrap: wrap; }
.ic-parts { margin-top: 8px; font-size: 11.5px; color: #64748b; }
.ic-part {
  display: inline-block; background: #f5f3ff; color: #7c3aed;
  padding: 1px 8px; border-radius: 999px; margin-right: 5px;
}

/* 资料页 */
.file-drop {
  border: 2px dashed #cbd5e1; border-radius: 12px; padding: 22px;
  text-align: center; cursor: pointer; background: #fafcff; transition: .15s;
}
.file-drop:hover, .file-drop.over { border-color: #7c3aed; background: #f5f3ff; }
.file-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border: 1px solid #eef2f7; border-radius: 9px; margin-bottom: 6px;
}
.file-item:hover { background: #fafcff; border-color: #dbe4f0; }
.file-ico { font-size: 19px; flex: 0 0 auto; }
.file-main { flex: 1; min-width: 0; }
.file-name {
  font-size: 13px; color: #1a73e8; text-decoration: none; font-weight: 600;
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.file-name:hover { text-decoration: underline; }
.file-sub { font-size: 10.5px; color: #94a3b8; margin-top: 1px; }
.file-thumb {
  width: 42px; height: 42px; object-fit: cover; border-radius: 6px;
  border: 1px solid #e2e8f0; cursor: pointer; flex: 0 0 auto;
}
.file-del {
  border: none; background: transparent; cursor: pointer; font-size: 14px;
  opacity: .35; padding: 4px; border-radius: 5px; flex: 0 0 auto;
}
.file-del:hover { opacity: 1; background: #fef2f2; }

/* 指派列表 */
.asg-item {
  padding: 10px 13px; border: 1px solid #eef2f7; border-radius: 9px;
  margin-bottom: 6px; cursor: pointer; font-size: 13.5px;
}
.asg-item:hover { background: #f5f3ff; border-color: #c4b5fd; }

/* ── 报价 / 利润 / 涨跌 / 调价助手（2026-11-05）─────────────
   用户要求：报价和利润要能一眼看到；利润涨了红、跌了绿（跟股票一样）；
   调价用「原地小表」，不要跳中间大弹窗。 */
.ic-qline {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  padding: 0 12px 7px 30px; font-size: 12px; color: #64748b;
}
.ic-qline label { font-size: 11.5px; color: #94a3b8; }
.ic-qin {
  width: 92px; padding: 3px 7px; border: 1px solid #e2e8f0; border-radius: 6px;
  font-size: 12.5px; color: #1a1a2e; text-align: right; background: #fbfcfe;
  font-family: inherit;
}
.ic-qin:focus { outline: none; border-color: #a78bfa; background: #fff; box-shadow: 0 0 0 2px rgba(167,139,250,.15); }
.ic-pf { display: inline-flex; align-items: center; gap: 4px; }
.ic-pf2 { font-weight: 700; font-size: 13px; color: #047857; }
.ic-pf2.none { color: #cbd5e1; font-weight: 500; font-size: 12px; }
.ic-trend { font-size: 11px; font-weight: 700; padding: 1px 4px; border-radius: 4px; white-space: nowrap; }
.ic-trend.up { color: #dc2626; background: #fef2f2; }      /* 涨 = 红 */
.ic-trend.down { color: #059669; background: #ecfdf5; }    /* 跌 = 绿 */
.ic-adjbtn {
  border: 1px solid #ddd6fe; background: #f5f3ff; color: #7c3aed;
  border-radius: 6px; padding: 2px 8px; font-size: 11.5px; cursor: pointer; font-family: inherit;
}
.ic-adjbtn:hover { background: #ede9fe; }
.ic-qcnt { font-size: 11px; color: #7c3aed; cursor: pointer; }
.ic-qcnt:hover { text-decoration: underline; }

.ic-adj {
  margin: 2px 12px 10px 30px; padding: 10px 12px; border: 1px solid #ddd6fe;
  border-radius: 9px; background: #fbfaff;
}
.ic-adj-t { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: #4c1d95; margin-bottom: 8px; }
.ic-adj-x { cursor: pointer; color: #94a3b8; font-size: 14px; padding: 0 3px; }
.ic-adj-x:hover { color: #dc2626; }
.ic-adj-g { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 9px; }
.ic-adj-g label { display: block; font-size: 10.5px; color: #94a3b8; margin-bottom: 1px; }
.ic-adj-k { font-size: 13px; font-weight: 700; color: #1a1a2e; }
.ic-adj-f { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.ic-adj-f > label { font-size: 11.5px; color: #64748b; width: 48px; flex: none; }
.ic-adj-in {
  width: 118px; padding: 5px 9px; border: 1px solid #d8d3f5; border-radius: 7px;
  font-size: 13px; font-family: inherit; background: #fff; text-align: right;
}
.ic-adj-in[type=text] { width: 100%; max-width: 320px; text-align: left; }
.ic-adj-in:focus { outline: none; border-color: #a78bfa; box-shadow: 0 0 0 2px rgba(167,139,250,.18); }
.ic-hide { display: none; }
.ic-adj-new { font-size: 12px; color: #4c1d95; }
.ic-adj-warn { color: #b45309; font-size: 11.5px; }
.ic-adj-reasons { display: flex; gap: 5px; flex-wrap: wrap; flex: 1; min-width: 0; }
.ic-rc {
  font-size: 11.5px; padding: 3px 9px; border-radius: 12px; cursor: pointer;
  background: #fff; border: 1px solid #e2e0f5; color: #5b5680; white-space: nowrap;
}
.ic-rc:hover { border-color: #a78bfa; color: #7c3aed; }
.ic-rc.on { background: #7c3aed; border-color: #7c3aed; color: #fff; }
.ic-adj-b { display: flex; gap: 8px; justify-content: flex-end; margin-top: 4px; }
.ic-adj-hist { margin-top: 9px; border-top: 1px dashed #e2e0f5; padding-top: 7px; }
.ic-adj-ht { font-size: 11px; color: #94a3b8; margin-bottom: 4px; }
.ic-adj-hr { display: flex; gap: 9px; font-size: 11.5px; color: #475569; padding: 2px 0; flex-wrap: wrap; }
.ic-adj-hd { color: #94a3b8; }
.ic-adj-hn { color: #7c3aed; }
.ic-adj-hu { color: #94a3b8; margin-left: auto; }
@media (max-width: 640px) {
  .ic-qline { padding-left: 12px; }
  .ic-adj { margin-left: 8px; margin-right: 8px; }
  .ic-adj-g { gap: 12px; }
  .ic-adj-f > label { width: 100%; }
  .ic-adj-in { width: 100%; }
}

/* 侧栏「询价中」面板里的报价行（2026-11-05：用户指出侧栏没变化） */
.inq-qline {
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
  margin-top: 4px; font-size: 11px; color: #64748b;
}
.inq-qline label { font-size: 10.5px; color: #94a3b8; }
.inq-qline .ic-qin { width: 74px; padding: 2px 6px; font-size: 11.5px; }
.inq-qline .ic-pf2 { font-size: 11.5px; }
.inq-qline .ic-trend { font-size: 10px; }
.inq-qline .ic-adjbtn { font-size: 10.5px; padding: 1px 6px; }
.inq-qline .ic-qcnt { font-size: 10px; }
/* 侧栏容器窄，卡片内的调价小表去掉大缩进、控件铺满 */
.inq-row .ic-adj { margin: 6px 0 2px; padding: 8px 9px; }
.inq-row .ic-adj-g { gap: 10px; margin-bottom: 7px; }
.inq-row .ic-adj-k { font-size: 12px; }
.inq-row .ic-adj-f > label { width: 100%; }
.inq-row .ic-adj-in { width: 100%; font-size: 12.5px; }
.inq-row .ic-adj-reasons { gap: 4px; }
.inq-row .ic-rc { font-size: 10.5px; padding: 2px 7px; }
.inq-row .ic-adj-hr { font-size: 10.5px; gap: 6px; }
/* 「最近用过的原因」——手动写过的，下次直接点（2026-11-05） */
.ic-rc-recent { background: #faf8ff; border-style: dashed; border-color: #c4b5fd; color: #6d28d9; }
.ic-rc-recent:hover { background: #f3eeff; }
/* 人数输入 + 总利润（2026-11-05） */
.ic-qin.ic-qty { width: 54px; }
.ic-tpfv { font-size: 11px; color: #7c3aed; background: #f5f3ff; border: 1px solid #ede9fe;
  border-radius: 4px; padding: 1px 5px; white-space: nowrap; }
.inq-qline .ic-qty { width: 46px; }
.inq-qline .ic-tpfv { font-size: 10px; }
/* 报价行：利润标签紧贴数值 + 确定按钮（2026-11-05 用户要求） */
.ic-pfline { display: inline-flex; align-items: center; gap: 4px; }
.ic-pfline > label { font-size: 11px; color: #94a3b8; }
.ic-okbtn {
  border: 1px solid #86efac; background: #f0fdf4; color: #15803d;
  border-radius: 6px; padding: 2px 9px; font-size: 11.5px; cursor: pointer;
  font-family: inherit; font-weight: 700;
}
.ic-okbtn:hover { background: #dcfce7; }
.inq-qline .ic-okbtn { font-size: 10.5px; padding: 1px 7px; }

/* ══ 询价单双栏（2026-11-05 用户要求） ══
   左：全体业务员（加外框阴影区分）  右：当前业务员
   窄屏自动堆叠，不许横向滚动 */
.ic-dual {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 10px; margin-top: 8px; align-items: start;
}
.ic-pane { margin-top: 0 !important; display: flex; flex-direction: column; min-width: 0; }
.ic-pane-hd { min-height: 40px !important; padding: 0 10px !important; }
.ic-pane-hd h3 { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
/* 左栏外框：让人一眼看出「这是全体的」 */
.ic-pane-all {
  border: 1.5px solid #c7d2fe !important;
  box-shadow: 0 0 0 3px rgba(199,210,254,.35), 0 2px 8px rgba(99,102,241,.08) !important;
}
.ic-pane-all .ic-pane-hd { background: linear-gradient(180deg,#eef2ff,#fff) !important; }
.ic-pane-mine {
  border: 1.5px solid #bbf7d0 !important;
  box-shadow: 0 0 0 3px rgba(187,247,208,.35), 0 2px 8px rgba(16,185,129,.08) !important;
}
.ic-pane-mine .ic-pane-hd { background: linear-gradient(180deg,#f0fdf4,#fff) !important; }
/* 列表盒：内容自适应变长，超过一屏才滚 */
.ic-listbox { padding: 4px 8px 6px; max-height: 62vh; overflow-y: auto; }
.ic-pagebar { padding: 0 8px 6px; }
.ic-pg { display: flex; gap: 6px; align-items: center; justify-content: center;
  font-size: 12px; color: #64748b; padding-top: 4px; }
/* 紧凑化：单行更矮，一屏多看几条 */
.ic-pane .ic-head { padding: 5px 2px !important; }
.ic-pane .ic-name { font-size: 13px; }
.ic-pane .ic-qline { font-size: 11.5px; }
.ic-pane .ic-qin { width: 62px !important; padding: 2px 5px !important; font-size: 11.5px !important; }
.ic-pane .ic-body { padding: 6px 4px !important; }
.ic-pane .ic-info { gap: 2px 10px !important; font-size: 11.5px; }

@media (max-width: 1000px) {
  .ic-dual { grid-template-columns: minmax(0,1fr); }
  .ic-listbox { max-height: none; }
}

/* 导入进度小转轮（2026-11-05） */
.imp-spin {
  width: 14px; height: 14px; border: 2px solid #ddd6fe; border-top-color: #7c3aed;
  border-radius: 50%; display: inline-block; animation: imp-spin .8s linear infinite;
}
@keyframes imp-spin { to { transform: rotate(360deg); } }

/* 动态标签（2026-11-05）：与微信标签区分色系 */
.wx-tag-bar .wxt-lb-dyn { color: #0e7490; margin-left: 2px; }
.wx-tag-bar .wxt-dyn {
  border-color: #a5f3fc; color: #0e7490;
}
.wx-tag-bar .wxt-dyn:hover { background: #ecfeff; border-color: #67e8f9; }
.wx-tag-bar .wxt-dyn.on { background: #06b6d4; border-color: #06b6d4; color: #fff; }
.wx-tag-bar .wxt-dyn.on b { opacity: .85; }


/* ══ 询价单：竖卡（2026-11-06 用户要求） ══
   用户原话：「这两个还是不一样，差距有点大，你也能改成竖的，
              可以做两套竖的，不要做横的」
   → 卡片就是会员管理侧栏那张（.inq-row），固定竖窄，不拉宽。
     每个大区内 2 列竖卡，跟侧栏 300px 尺度一致。 */
.ic-cardgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
@media (max-width: 1200px) {
  .ic-cardgrid { grid-template-columns: 1fr; }
}
/* 竖卡：卡片本体沿用 .inq-row，这里只加外框，不改变内部结构 */
.ic-cardgrid > .inq-row {
  border: 1px solid #e6ecf5;
  border-radius: 10px;
  padding: 10px 11px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  transition: box-shadow .15s, border-color .15s;
  align-items: flex-start;
  display: flex;
}
.ic-cardgrid > .inq-row:hover {
  box-shadow: 0 3px 10px rgba(15, 23, 42, .09);
  border-color: #cbd5e1;
}
.ic-cardgrid > .inq-row:last-child { border-bottom: 1px solid #e6ecf5; }

/* ══ 成交/流失小按钮（2026-11-06 修「没渲染好」） ══
   ⚠️ 原来这几条写在 index.html 第二个 <style> 块里，浏览器实测整块没被解析
   （.inq-btn 在全部 8 张样式表里都查不到，按钮显示成系统默认灰底黑字）。
   挪到本文件（已验证正常加载 147 条规则），确保生效。 */
.inq-btn {
  background: #dcfce7; color: #15803d;
  border: none; border-radius: 6px;
  padding: 4px 10px; font-size: 11.5px; font-weight: 700;
  cursor: pointer; white-space: nowrap; line-height: 1.3;
}
.inq-btn.no { background: #fee2e2; color: #b91c1c; }
.inq-btn:hover { filter: brightness(.95); }
.inq-btn:active { transform: scale(.97); }

/* ══ 独占锁定倒计时（2026-11-06 用户要求） ══ */
.inq-lock {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 11px; font-weight: 700;
  color: #b45309; background: #fffbeb;
  border: 1px solid #fcd34d; border-radius: 6px;
  padding: 2px 7px; margin-left: 6px; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.inq-lock.expired {
  color: #047857; background: #ecfdf5; border-color: #a7f3d0; font-weight: 600;
  /* 2026-11-06 用户报「鼠标移到已开放界面就变」：
     这是纯状态展示，不是按钮 —— 去掉指针手型，不让它看起来可点，
     也不参与任何 hover 变色（避免误以为有交互）。 */
  cursor: default;
  user-select: none;
}
.inq-lock.expired:hover {
  color: #047857; background: #ecfdf5; border-color: #a7f3d0;
}

/* ══ 独占提示浮层（2026-11-06 用户要求：鼠标移上去有提示） ══ */
.ic-locktip {
  position: fixed; z-index: 99999;
  max-width: 268px; padding: 9px 12px;
  background: #1e293b; color: #f1f5f9;
  border-radius: 8px; font-size: 12px; line-height: 1.75;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .32);
  pointer-events: none;
  opacity: 0; transform: translateY(4px);
  transition: opacity .12s, transform .12s;
}
.ic-locktip.show { opacity: 1; transform: translateY(0); }
.ic-locktip b { color: #fcd34d; font-weight: 700; }
.ic-locktip .tp-hd { font-weight: 700; color: #fbbf24; margin-bottom: 3px; font-size: 12.5px; }
.ic-locktip .tp-row { color: #cbd5e1; }
.ic-locktip .tp-row em { color: #fff; font-style: normal; font-weight: 600; }

/* ══════════════════════════════════════════════════════════
   管理员审核区（2026-11-06 用户要求）
   「操作了成交或者流失，界面就要有体现，就要隐藏掉，
     看到的界面是正在审核中，审核在管理员界面增加审核」
   ══════════════════════════════════════════════════════════ */
.ic-rv-empty {
  font-size: 12px; color: #94a3b8; padding: 4px 2px 8px;
}
.ic-rv-bar {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  background: #fffbeb; border: 1px solid #fde68a; border-left: 3px solid #f59e0b;
  border-radius: 8px; padding: 8px 12px; margin-bottom: 8px;
  font-size: 12.5px; color: #b45309;
}
.ic-rv-bar:hover { background: #fef3c7; }
.ic-rv-bar b { font-weight: 700; }
.ic-rv-hint { margin-left: auto; font-size: 11.5px; color: #d97706; }
.ic-rv-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, .2); flex: 0 0 auto;
  animation: icRvPulse 1.8s ease-in-out infinite;
}
@keyframes icRvPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(245, 158, 11, .2); }
  50% { box-shadow: 0 0 0 6px rgba(245, 158, 11, .05); }
}
.ic-rv-panel {
  background: #fff; border: 1px solid #fde68a; border-radius: 10px;
  margin-bottom: 8px; overflow: hidden;
}
.ic-rv-head {
  display: flex; align-items: center; gap: 8px;
  background: #fffbeb; padding: 8px 12px; border-bottom: 1px solid #fef3c7;
  font-size: 12.5px; color: #92400e;
}
.ic-rv-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-bottom: 1px dashed #f1f5f9;
}
.ic-rv-row:last-child { border-bottom: none; }
.ic-rv-row:hover { background: #fcfcfd; }
.ic-rv-tag {
  display: inline-block; font-size: 10.5px; font-weight: 700; line-height: 1;
  padding: 2px 6px; border-radius: 9px; margin-right: 4px; vertical-align: middle;
}
.ic-rv-tag.deal { background: #dcfce7; color: #15803d; }
.ic-rv-tag.lost { background: #fee2e2; color: #b91c1c; }

/* 404 宽屏下审核区不要撑太宽（跟统计条对齐） */
@media (max-width: 760px) {
  .ic-rv-row { flex-direction: column; align-items: stretch; gap: 6px; }
  .ic-rv-row > div:last-child { justify-content: flex-end; }
}

/* ══════════════════════════════════════════════════════════════
   2026-11-18 需求2/3：询价单 + 跟进单 共用一个搜索框，询价单优先
   ══════════════════════════════════════════════════════════════ */
.icm-searchbar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: #fff; border: 1.5px solid #e2e8f0; border-radius: 10px;
  padding: 7px 10px; margin-top: 8px;
}
.icm-searchbar .icm-sbox { flex: 1 1 260px; min-width: 0; max-width: 460px; }
.icm-searchbar .icm-sbox input { width: 100% !important; font-size: 13px; }
/* 左栏内部滚动：询价单 + 跟进单同一列往下排 */
.icm-scroll { max-height: 70vh; overflow-y: auto; }
.icm-scroll .ic-listbox { max-height: none; overflow: visible; }
/* 分区标题 */
.icm-sec-hd {
  display: flex; align-items: center; gap: 7px; position: sticky; top: 0; z-index: 2;
  padding: 5px 10px; background: #f8fafc; border-bottom: 1px solid #e2e8f0;
  border-top: 1px solid #e2e8f0;
}
.icm-sec-t { font-size: 12.5px; font-weight: 700; }
.icm-sec-t.inq { color: #1d4ed8; }
.icm-sec-t.fo { color: #7c3aed; }
.icm-sec-n {
  font-size: 11px; font-weight: 700; color: #fff; background: #64748b;
  border-radius: 999px; padding: 0 7px; line-height: 16px;
}
.icm-sec-t.inq + .icm-sec-n { background: #3b82f6; }
.icm-sec-kw { font-size: 11px; color: #b45309; }
.icm-sec-more { margin-left: auto; font-size: 11.5px; color: #1a73e8; text-decoration: none; }
.icm-empty { padding: 14px 10px; font-size: 12px; color: #94a3b8; text-align: center; }
/* 跟进单精简行 */
.icm-row {
  display: flex; gap: 8px; align-items: flex-start;
  padding: 7px 10px; border-bottom: 1px dashed #e8eef7;
}
.icm-row:last-child { border-bottom: none; }
.icm-row.is-overdue { border-left: 3px solid #ef4444; background: #fffafa; }
.icm-row-main { flex: 1; min-width: 0; }
.icm-row-hd { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.icm-row-hd .icm-nm { font-size: 13px; color: #1a73e8; cursor: pointer; }
.icm-row-hd .icm-ph { font-size: 11px; color: #64748b; }
.icm-row-ti {
  font-size: 12px; color: #0f172a; margin-top: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.icm-row-act { flex: 0 0 auto; display: flex; gap: 4px; align-items: center; }
.icm-st { font-size: 10.5px; font-weight: 700; border-radius: 999px; padding: 0 6px; }
.icm-st.moved { background: #eff6ff; color: #1d4ed8; }
.icm-st.closed { background: #f1f5f9; color: #64748b; }
@media (max-width: 1000px) {
  .icm-scroll { max-height: none; overflow: visible; }
  .icm-searchbar { padding: 6px 8px; }
}

/* 2026-11-18：跟进单页「去询价单搜」入口 + 过期卡片左侧红条 */
a.fo-goinq { font-size: 11.5px; color: #1a73e8; text-decoration: none; white-space: nowrap; }
a.fo-goinq:hover { text-decoration: underline; }
.inq-row.is-overdue { border-left: 3px solid #ef4444 !important; background: #fffafa !important; }
