/* 睿道业务管理系统 样式 v2 —— 色板沿用本平台既有规范（历史参考：早期样式参考过外部平台配色，运行期无任何依赖） */
:root {
  /* 品牌主色 */
  --rp-blue: #0070C0;
  --rp-cyan: #00C2D1;
  --rp-gold: #FFC000;
  /* 深色系(侧边栏/头部) */
  --rp-navy: #0B1F3A;
  --rp-navy2: #14243C;
  --rp-navy3: #123257;
  --rp-slate: #2C3546;
  /* 文字 */
  --rp-text: #5A6478;
  --rp-text2: #8A94A6;
  --rp-text3: #A6AFBE;
  /* 背景 */
  --rp-bg: #EDF1F6;
  --rp-bg2: #E4E9F0;
  --rp-bg3: #F7F9FC;
  --rp-bg-blue: #EAF3FB;
  --rp-bg-blue2: #F2F6FB;
  /* 边框 */
  --rp-line: #D8DFE9;
  --rp-line2: #E1E8F0;
  /* 状态色 */
  --rp-red: #C0392B;
  --rp-red2: #E24A3A;
  --rp-green: #2E9E5B;
  --rp-orange: #E8842C;
  /* 派生 */
  --rp-shadow: 0 2px 8px rgba(11,31,58,.08);
  --rp-shadow2: 0 4px 16px rgba(11,31,58,.12);
  --rp-radius: 10px;
  --rp-font: -apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',sans-serif;
}
* { margin:0; padding:0; box-sizing:border-box; }
html,body { height:100%; font-family:var(--rp-font); font-size:14px; color:var(--rp-text); background:var(--rp-bg); }
a { text-decoration:none; color:inherit; }
::-webkit-scrollbar { width:8px; height:8px; }
::-webkit-scrollbar-track { background:transparent; }
::-webkit-scrollbar-thumb { background:#C4CDDA; border-radius:4px; }
::-webkit-scrollbar-thumb:hover { background:#A6AFBE; }
.side::-webkit-scrollbar-thumb { background:rgba(255,255,255,.18); }

/* ===== 布局框架 ===== */
.app { display:flex; height:100vh; overflow:hidden; }
.side { width:220px; flex:none; background:linear-gradient(118deg,#0B1F3A 0%,#123257 46%,#0C2342 100%); color:#C9D4E3; display:flex; flex-direction:column; box-shadow:2px 0 12px rgba(11,31,58,.25); z-index:5; }

/* 品牌区 */
.brand { height:74px; display:flex; align-items:center; gap:10px; padding:0 16px; border-bottom:1px solid rgba(255,255,255,.07); flex:none; }
/* ==================== 企业信息（2026-11-26）====================
   区域维度横条、企业链接样式、详情分区。全部用 display:table / table-cell，
   不用 flex+gap 与 grid —— IE11 只有 table 方案能对齐（与侧栏壳同一套做法）。 */
.ent-region { display:table; width:100%; table-layout:fixed; margin-top:4px; }
.er-col { display:table-cell; width:50%; vertical-align:top; padding:0 12px; }
.er-col:first-child { padding-left:0; border-right:1px solid #eef2f7; }
.er-col:last-child { padding-right:0; }
.er-hd { font-size:13px; font-weight:700; color:#0b3d66; padding:2px 0 8px; }
.er-hd-note { font-size:11px; font-weight:400; color:#8c9aa8; margin-left:8px; }
.er-row { display:table; width:100%; table-layout:fixed; height:26px; cursor:pointer; border-radius:5px; }
.er-row:hover { background:#F4F8FC; }
.er-row.on { background:#E8F3FC; }
.er-row.on .er-name { color:#0070C0; font-weight:700; }
.er-name { display:table-cell; width:104px; font-size:12.5px; color:#425466;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding-left:4px; vertical-align:middle; }
.er-bar { display:table-cell; vertical-align:middle; padding:0 8px; }
.er-bar i { display:block; height:9px; border-radius:5px;
  background:linear-gradient(90deg,#0070C0,#4FB3E8); }
.er-row.on .er-bar i { background:linear-gradient(90deg,#005C9E,#00A2E9); }
.er-row.er-rest { cursor:default; }
.er-row.er-rest .er-name, .er-row.er-rest .er-n { color:#9aa9ba; }
.er-n { display:table-cell; width:56px; text-align:right; font-size:12px; color:#6b7a8b;
  vertical-align:middle; padding-right:4px; font-variant-numeric:tabular-nums; }

/* Tab（已查到 / 未查到 / 我的客户） */
/* 注意提权：后面 .qbar .f 的 display 会把 .ent-qbar-miss .f 覆盖掉（同权重、后定义者胜），
   所以这里写到 .qbar-line .f 这一级 */
.ent-qbar-miss .qbar-line .f { display:none; }
.ent-qbar-miss .qbar-line .f:first-child { display:inline-block; }
/* 「未查到」只有名称一列，其余表头一并藏掉，否则 9 列表头配 1 列数据看着像错版 */
.ent-miss-mode thead th { display:none; }
.ent-miss-mode thead th:first-child { display:table-cell; }
.ent-tabs { border-bottom:1px solid #e6ecf3; margin:0 0 12px; }
.et-tab { display:inline-block; padding:8px 16px; font-size:13.5px; color:#6b7a8b;
  cursor:pointer; border-bottom:2px solid transparent; font-weight:600; }
.et-tab.on { color:#0070C0; border-bottom-color:#0070C0; }
.et-tab b { font-weight:700; }
.ent-chips { margin:0 0 8px; }
.chip { display:inline-block; margin-right:8px; padding:3px 9px; font-size:12px;
  background:#E8F3FC; color:#0b5b96; border-radius:11px; }
.chip i { font-style:normal; cursor:pointer; margin-left:6px; color:#4a7fa8; font-weight:700; }
.ent-count { font-size:12.5px; color:#6b7a8b; margin:2px 0 8px; }
.ent-count b { color:#0b3d66; font-size:14px; }

/* 企业名称链接：蓝色 + 虚线下划线，就是"这家有工商信息"的指示器 */
.ent-link { color:#0070C0; text-decoration:none; border-bottom:1px dashed #7fb6e0; cursor:pointer; }
.ent-link:hover { color:#005C9E; border-bottom-style:solid; }
.ent-tip { color:#0070C0; border-bottom:1px dashed #7fb6e0; }
.ent-web { display:inline-block; margin-left:6px; padding:0 5px; font-size:10.5px; line-height:15px;
  color:#0a8a4f; border:1px solid #b7e0c8; background:#F2FBF6; border-radius:3px; }
.ent-cust-link { color:#0070C0; text-decoration:none; }
.ent-mark { display:inline-block; margin-left:4px; padding:0 4px; font-size:10px; line-height:14px;
  color:#0070C0; border:1px solid #9fcbe8; background:#F0F8FE; border-radius:3px; vertical-align:1px; }
.ent-cust-link:hover { text-decoration:underline; }
.ent-new-tag { display:inline-block; padding:0 6px; font-size:11.5px; line-height:18px;
  color:#8a6d1f; background:#FDF6E3; border:1px solid #e8d9a8; border-radius:3px; }

/* 详情页 */
.ent-head { display:table; width:100%; table-layout:fixed; }
.ent-head-l { display:table-cell; vertical-align:middle; }
.ent-head-r { display:table-cell; width:210px; text-align:right; vertical-align:middle; }
.ent-head-r .btn { margin-left:8px; }
.ent-title { font-size:19px; font-weight:700; color:#0b3d66; line-height:1.4; }
.ent-sub { margin-top:6px; font-size:12.5px; color:#6b7a8b; }
.ent-sub .tag { margin-right:6px; }
.ent-cols { display:table; width:100%; table-layout:fixed; }
.ent-col { display:table-cell; width:50%; vertical-align:top; }
.ent-col:first-child { padding-right:8px; }
.ent-col:last-child { padding-left:8px; }
.ent-kv th { width:118px; }
.ent-ind-row { padding:7px 0; border-bottom:1px dashed #eef2f7; }
.ent-ind-row:last-child { border-bottom:0; }
.ent-ind-key { display:inline-block; width:86px; font-size:12.5px; color:#6b7a8b; }
.ent-ind { display:inline; }
.ent-ind-l1, .ent-ind-l2, .ent-ind-l3, .ent-ind-l4 { display:inline-block; padding:2px 8px;
  margin-right:2px; border-radius:3px; font-size:12.5px; }
.ent-ind-l1 { background:#0b3d66; color:#fff; }
.ent-ind-l2 { background:#D6E9F7; color:#0b3d66; }
.ent-ind-l3 { background:#EAF3FA; color:#3d6584; }
.ent-ind-l4 { background:#F4F8FC; color:#5b7791; }
.ent-ind-arr { font-style:normal; color:#a9bccd; margin:0 4px; }
.ent-long { font-size:13px; color:#425466; line-height:1.95; max-height:220px; overflow-y:auto;
  white-space:pre-wrap; word-break:break-all; }
.ent-nocust { font-size:13px; color:#7a5b12; background:#FFF8E6; border:1px solid #F5D98B;
  border-radius:8px; padding:10px 14px; line-height:1.9; }
.tag-gold { background:#FDF6E3; color:#8a6d1f; border:1px solid #e8d9a8; }
.tag-orange { background:#FFF1E6; color:#a15a12; border:1px solid #f0c9a3; }

/* 公司横版锁版（白字版）：168px 是 220px 侧栏内不折行、中文标语仍可认的最大宽度。
   必须给 height:auto + 显式 width，否则 IE 按图片原始像素渲染会把侧栏撑破。 */
.brand-lockup { display:block; flex:1; min-width:0; padding:10px 0 2px; }
/* 初始/弱口令提示条：黄底细边，不与"错误"红混用 */
.pwd-notice { display:flex; align-items:center; gap:10px; margin:0 0 16px; padding:10px 14px;
  background:#FFF8E6; border:1px solid #F5D98B; border-radius:8px; font-size:13px; color:#7a5b12; }
.pwd-notice .pn-ico { flex:none; width:18px; height:18px; line-height:18px; text-align:center;
  border-radius:50%; background:#F0B429; color:#fff; font-weight:700; font-size:12px; }
.pwd-notice .pn-txt { flex:1; min-width:0; }
.pwd-notice .btn { flex:none; }
.brand-wide { width:168px; height:auto; max-width:100%; display:block; border:0; }
.brand-sub { display:block; font-size:10px; color:#7E8CA3; font-weight:400;
  margin-top:4px; letter-spacing:.2px; white-space:nowrap; }

/* 导航 */
.nav { flex:1; overflow-y:auto; padding:8px 0 16px; }
.nav-sec { margin:12px 14px 4px; font-size:10.5px; color:#5E7391; letter-spacing:2px; display:flex; align-items:center; gap:6px; }
.nav-sec::after { content:""; flex:1; height:1px; background:rgba(255,255,255,.07); }
.nav-item { display:flex; align-items:center; gap:10px; height:36px; margin:2px 10px; padding:0 10px; cursor:pointer; font-size:13px; border-radius:8px; transition:all .15s; color:#B9C6D8; position:relative; }
.nav-item:hover { background:rgba(255,255,255,.06); color:#fff; }
.nav-item.active { background:linear-gradient(90deg, rgba(0,112,192,.32), rgba(0,194,209,.10)); color:#fff; font-weight:600; }
.nav-item.active::before { content:""; position:absolute; left:-10px; top:8px; bottom:8px; width:3px; border-radius:2px; background:linear-gradient(180deg,var(--rp-blue),var(--rp-cyan)); }
.nav-item .ico { width:17px; text-align:center; font-size:14px; flex:none; opacity:.92; }
.nav-item .badge { margin-left:auto; background:linear-gradient(90deg,var(--rp-red),var(--rp-red2)); color:#fff; font-size:10.5px; padding:1px 7px; border-radius:9px; font-weight:600; }
.side-foot { flex:none; padding:10px 14px 14px; border-top:1px solid rgba(255,255,255,.07); font-size:11px; color:#5E7391; line-height:1.6; }

/* 主区 */
.main { flex:1; display:flex; flex-direction:column; min-width:0; }
.topbar { height:54px; flex:none; position:relative; overflow:hidden;
  background:linear-gradient(118deg,#0B1F3A 0%,#123257 46%,#0C2342 100%);
  border-bottom:1px solid rgba(0,194,209,.35); display:flex; align-items:center; padding:0 22px; gap:14px;
  box-shadow:0 2px 10px rgba(11,31,58,.18); }
.topbar::before { content:""; position:absolute; right:-60px; top:-80px; width:280px; height:160px; border-radius:50%;
  background:radial-gradient(closest-side, rgba(255,192,0,.16), transparent 70%); pointer-events:none; }
.topbar::after { content:""; position:absolute; left:300px; bottom:-70px; width:340px; height:140px; border-radius:50%;
  background:radial-gradient(closest-side, rgba(0,194,209,.13), transparent 70%); pointer-events:none; }
.crumb { font-size:13px; color:#8FA6C3; display:flex; align-items:center; gap:8px; position:relative; z-index:1; }
.crumb .c-sep { color:#00C2D1; font-size:11px; }
.crumb b { color:#fff; font-weight:600; letter-spacing:.3px; }
.topbar-right { margin-left:auto; display:flex; align-items:center; gap:18px; position:relative; z-index:1; }
.screen-link { display:inline-block; padding:0 10px; height:24px; line-height:24px; font-size:12.5px;
  color:#0070C0; text-decoration:none; border:1px solid rgba(0,112,192,.35); border-radius:11px;
  background:rgba(0,112,192,.06); transition:.15s; }
.screen-link:hover { color:#fff; background:#0070C0; border-color:#0070C0; }
.bell { cursor:pointer; font-size:15px; opacity:.8; transition:.15s; position:relative; z-index:1; }
.bell:hover { opacity:1; transform:translateY(-1px); }
.user-chip { display:flex; align-items:center; gap:9px; cursor:pointer; padding:4px 10px 4px 4px; border-radius:20px; transition:.15s; }
.user-chip { position:relative; z-index:1; } .user-chip:hover { background:rgba(255,255,255,.10); }
.avatar { width:30px; height:30px; border-radius:50%; background:linear-gradient(135deg,#0070C0,#00C2D1); color:#fff; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:600; box-shadow:0 1px 4px rgba(0,112,192,.4); }
.user-chip .un { font-size:13px; color:#E3ECF7; }

/* 右上角账号下拉（2026-11-27）：修改密码 / 手机版 / 退出登录。
   原来这两件事只藏在侧栏页脚一行小字里，用户反馈找不到。 */
.user-chip .uc-caret { font-size:10px; color:#9FB6D0; margin-left:-3px; transition:.15s; }
.user-chip:hover .uc-caret { color:#00C2D1; transform:rotate(180deg); }
.user-menu { display:none; position:absolute; right:0; top:100%; margin-top:8px; min-width:212px;
  background:#fff; border:1px solid #DCE6F2; border-radius:10px; padding:6px;
  box-shadow:0 10px 28px rgba(16,42,74,.20); z-index:1200; text-align:left; cursor:default; }
.user-menu:before { content:''; position:absolute; left:0; right:0; top:-9px; height:9px; }
.user-chip:hover .user-menu { display:block; }
.user-menu .um-head { padding:8px 10px 10px; border-bottom:1px solid #EEF3F9; margin-bottom:4px; }
.user-menu .um-head b { color:#12263F; font-size:13.5px; }
.user-menu .um-sub { color:#7E8CA3; font-size:11.5px; line-height:1.65; margin-top:2px; }
.user-menu .um-item { display:flex; align-items:center; gap:8px; padding:8px 10px; font-size:13px;
  color:#2B4A6F; border-radius:7px; cursor:pointer; transition:.12s; }
.user-menu .um-item:hover { background:#F1F7FD; color:#0070C0; }
.user-menu .um-item.danger { color:#C0392B; }
.user-menu .um-item.danger:hover { background:#FDEDEC; color:#A93226; }
.user-menu .um-ic { width:16px; text-align:center; font-size:13px; }
.user-menu .um-sep { height:1px; background:#EEF3F9; margin:4px 6px; }
/* 登录设备列表里的「本机」小标签 */
.dy-tag { display:inline-block; padding:0 6px; height:17px; line-height:17px; border-radius:9px;
  background:rgba(0,112,192,.10); color:#0070C0; font-size:11px; margin-left:4px; vertical-align:1px; }

.content { flex:1; overflow-y:auto; padding:20px 24px 36px; }

/* ===== 页面头 ===== */
.page-head, .dh { display:flex; align-items:flex-end; gap:16px; margin-bottom:18px; }
.page-head h1, .dh h1 { font-size:19px; color:var(--rp-navy2); font-weight:700; letter-spacing:.3px; }
.page-head .ph-sub, .dh .ph-sub { font-size:12.5px; color:var(--rp-text2); margin-top:4px; }
.page-head .ph-actions, .dh .ph-actions { margin-left:auto; display:flex; gap:10px; flex:none; padding-bottom:2px; }

/* ===== 卡片 ===== */
.card { background:#fff; border-radius:var(--rp-radius); box-shadow:var(--rp-shadow); padding:18px 20px; margin-bottom:16px; transition:box-shadow .2s; }
.card:hover { box-shadow:0 4px 14px rgba(11,31,58,.09); }
.card-title { font-size:14.5px; font-weight:600; color:var(--rp-navy2); display:flex; align-items:center; gap:9px; margin-bottom:14px; }
.card-title::before { content:""; width:4px; height:15px; border-radius:2px; background:linear-gradient(180deg,var(--rp-blue),var(--rp-cyan)); flex:none; }
.card-title .more { margin-left:auto; font-size:12px; color:var(--rp-blue); font-weight:400; cursor:pointer; }
.card-title .more:hover { text-decoration:underline; }
.card-hint { font-size:12.5px; color:var(--rp-text2); margin:10px 0 14px; background:var(--rp-bg-blue2); border:1px solid var(--rp-line2); border-radius:8px; padding:9px 13px; line-height:1.8;
  /* 2026-11-27 评审优化：说明块默认收成 2 行、点击展开。
     交付/提成/客户页的说明动辄 3-4 行（交付页还有 ①②③④ 流程描述），把首屏 1/4 让给了文档说明。 */
  max-height:3.6em; overflow:hidden; cursor:pointer; position:relative; padding-right:76px; }
.card-hint:hover { border-color:#BFD8EE; }
.card-hint.expanded { max-height:none; }
.card-hint:after { content:'展开 ▾'; position:absolute; right:12px; top:9px; font-size:11px; color:var(--rp-blue); background:var(--rp-bg-blue2); padding-left:8px; }
.card-hint.expanded:after { content:'收起 ▴'; }

/* ===== 空态（详情页缺参数 / 查不到记录）2026-11-27 ===== */
.empty-state { text-align:center; padding:56px 20px 60px; }
.empty-state .es-icon { width:56px; height:56px; margin:0 auto 14px; border-radius:50%;
  background:var(--rp-bg-blue); color:var(--rp-blue); font-size:26px; line-height:56px;
  font-weight:700; font-family:Georgia,serif; }
.empty-state .es-title { font-size:16px; font-weight:600; color:var(--rp-navy2); margin-bottom:8px; }
.empty-state .es-desc { font-size:13px; color:var(--rp-text2); line-height:1.8; max-width:520px; margin:0 auto 18px; }
.empty-state .es-actions { margin-top:4px; }
.empty-state .es-actions .btn { text-decoration:none; }

/* ===== 按钮 ===== */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; height:32px; padding:0 16px; border-radius:7px; border:1px solid var(--rp-line); background:#fff; color:var(--rp-text); font-size:13px; cursor:pointer; transition:.15s; font-family:inherit; white-space:nowrap; }
.btn:hover { border-color:var(--rp-blue); color:var(--rp-blue); box-shadow:0 2px 6px rgba(0,112,192,.12); }
.btn:active { transform:translateY(1px); }
.btn-primary { background:linear-gradient(90deg,#0070C0,#0d85d8); border:none; color:#fff; }
.btn-primary:hover { color:#fff; opacity:.93; box-shadow:0 4px 12px rgba(0,112,192,.38); }
.btn-danger { background:linear-gradient(90deg,var(--rp-red),var(--rp-red2)); border:none; color:#fff; }
.btn-danger:hover { color:#fff; opacity:.93; }
.btn-sm { height:26px; padding:0 10px; font-size:12px; border-radius:6px; }
.btn-link { border:none; background:none; color:var(--rp-blue); padding:0 4px; height:auto; font-size:12.5px; box-shadow:none !important; }
.btn-link:hover { text-decoration:underline; }
.btn[disabled] { opacity:.45; cursor:not-allowed; box-shadow:none !important; }

/* ===== 输入/查询区 ===== */
.input,.select { height:32px; border:1px solid var(--rp-line); border-radius:7px; padding:0 10px; font-size:13px; outline:none; color:var(--rp-text); background:#fff; font-family:inherit; transition:.15s; }
.input:focus,.select:focus { border-color:var(--rp-blue); box-shadow:0 0 0 3px rgba(0,112,192,.12); }
.input::placeholder { color:var(--rp-text3); }
.qbar { display:flex; flex-wrap:wrap; gap:12px 12px; align-items:flex-end; }
.qbar .f { display:flex; flex-direction:column; gap:4px; }
.qbar .f label { font-size:11.5px; color:var(--rp-text2); padding-left:2px; }
.qbar .f .in { height:32px; border:1px solid var(--rp-line); border-radius:7px; padding:0 10px; font-size:13px; outline:none; color:var(--rp-text); background:#fff; font-family:inherit; width:150px; }
.qbar .f .in:focus { border-color:var(--rp-blue); box-shadow:0 0 0 3px rgba(0,112,192,.12); }
.qbar .f .in.w-s { width:122px; }
.qbar .f .in.w-m { width:170px; }
.qbar .f .in.w-l { width:230px; }
.qbar .f select.in { cursor:pointer; }
.qbar .f .range { display:flex; align-items:center; gap:6px; }
.qbar .f .range .in { width:122px; font-size:12px; }
.qbar .f .range em { font-style:normal; color:var(--rp-text3); font-size:12px; }
.qbar .chk { display:flex; align-items:center; gap:5px; font-size:12.5px; color:var(--rp-text); cursor:pointer; white-space:nowrap; padding-bottom:8px; }
.qbar .chk input { accent-color:var(--rp-blue); }
.qbar .q-actions { display:flex; gap:8px; padding-bottom:1px; margin-left:2px; }
.more-toggle { font-size:12.5px; color:var(--rp-blue); cursor:pointer; padding-bottom:8px; }
.more-toggle:hover { text-decoration:underline; }
.more-zone { display:none; }
.more-zone.open { display:flex; }
.qbar-row { display:flex; flex-wrap:wrap; gap:12px; align-items:flex-end; width:100%; }
.qbar .divider { width:1px; height:32px; background:var(--rp-line2); margin:0 2px; }

/* ===== 表格 ===== */
.table { width:100%; border-collapse:separate; border-spacing:0; font-size:13px; }
.table th { background:linear-gradient(180deg,#F7F9FC,#F2F6FB); color:var(--rp-text2); font-weight:600; text-align:left; padding:11px 12px; border-bottom:1px solid var(--rp-line2); white-space:nowrap; font-size:12.5px; }
.table th:first-child { border-radius:8px 0 0 0; }
.table th:last-child { border-radius:0 8px 0 0; }
.table td { padding:11px 12px; border-bottom:1px solid var(--rp-line2); white-space:nowrap; }
.table tbody tr { transition:background .12s; }
.table tbody tr:hover { background:var(--rp-bg-blue2); }
.table tbody tr:last-child td { border-bottom:none; }
.td-main { color:var(--rp-navy2); font-weight:600; }
.td-main[cursor], td[cursor] { }
.td-sub { color:var(--rp-text2); font-size:12px; }
/* 表头口径注记（如"行业"列的 * 号，title 给出数据来源说明） */
.th-note { font-style:normal; font-size:10px; color:#98A2B3; margin-left:2px;
  vertical-align:super; cursor:help; font-weight:400; }
.amount { font-variant-numeric:tabular-nums; color:var(--rp-navy2); font-weight:600; }
.amount.neg { color:var(--rp-red); }
.amount .cur { font-size:11px; color:var(--rp-text3); font-weight:400; margin-right:1px; }
.num-right { text-align:right; }

/* 状态Tag */
.tag { display:inline-block; padding:2px 10px; border-radius:11px; font-size:12px; line-height:18px; white-space:nowrap; }
.tag-blue { background:var(--rp-bg-blue); color:var(--rp-blue); }
.tag-cyan { background:#E2F7F9; color:#0095A8; }
.tag-green { background:#E8F6EE; color:var(--rp-green); }
.tag-orange { background:#FDF3E7; color:var(--rp-orange); }
.tag-red { background:#FBE9E7; color:var(--rp-red); }
.tag-gray { background:var(--rp-bg2); color:var(--rp-text2); }
.tag-gold { background:#FFF7E0; color:#B8860B; }
.tag-purple { background:#F1ECFA; color:#6B4FBB; }
.tag-navy { background:var(--rp-bg-blue2); color:var(--rp-navy); }

/* 分页 */
.pager { display:flex; align-items:center; gap:8px; justify-content:flex-end; margin-top:14px; font-size:12.5px; color:var(--rp-text2); }
.pager span { padding:3px 10px; border:1px solid var(--rp-line); border-radius:6px; cursor:pointer; transition:.15s; }
.pager span:hover { border-color:var(--rp-blue); color:var(--rp-blue); }
.pager span.cur { background:linear-gradient(90deg,var(--rp-blue),#0d85d8); border-color:transparent; color:#fff; font-weight:600; }


/* KPI 列数自适应：避免 4+2 时右下留空两格 */
.kpis.kp-1 { grid-template-columns:1fr; }
.kpis.kp-2 { grid-template-columns:repeat(2,1fr); }
.kpis.kp-3 { grid-template-columns:repeat(3,1fr); }
.kpis.kp-4 { grid-template-columns:repeat(4,1fr); }
/* 列表行不裁切徽标：长标题先省略，徽标必须完整 */
.mlist .mi { min-width:0; }
.mlist .mi .mi-t { min-width:0; }
.mlist .mi .mi-s { flex:0 0 auto; max-width:40%; overflow:hidden; text-overflow:ellipsis; }
.mlist .mi .mi-x { flex:0 0 auto; }

/* KPI 指标卡 */
.kpis { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:16px; }
.kpi { background:#fff; border-radius:var(--rp-radius); box-shadow:var(--rp-shadow); padding:16px 18px; position:relative; overflow:hidden; border-top:3px solid var(--rp-blue); transition:box-shadow .2s; }
.kpi:hover { box-shadow:0 6px 16px rgba(11,31,58,.12); }
.kpi::after { content:""; position:absolute; right:-20px; top:-20px; width:70px; height:70px; border-radius:50%; background:var(--rp-bg-blue); opacity:.75; }
.kpi.k-gold { border-top-color:var(--rp-gold); }
.kpi.k-gold::after { background:#FFF7E0; }
.kpi.k-cyan { border-top-color:var(--rp-cyan); }
.kpi.k-cyan::after { background:#E2F7F9; }
.kpi.k-green { border-top-color:var(--rp-green); }
.kpi.k-green::after { background:#E8F6EE; }
.kpi.k-orange { border-top-color:var(--rp-orange); }
.kpi.k-orange::after { background:#FDF3E7; }
.kpi .k-label { font-size:12.5px; color:var(--rp-text2); }
.kpi .k-val { font-size:23px; font-weight:700; color:var(--rp-navy2); margin-top:6px; font-variant-numeric:tabular-nums; letter-spacing:.3px; }
.kpi .k-val small { font-size:13px; font-weight:400; color:var(--rp-text3); }
.kpi .k-extra { margin-top:7px; font-size:12px; color:var(--rp-text3); }
.kpi .k-extra b.up { color:var(--rp-green); }
.kpi .k-extra b.warn { color:var(--rp-orange); }


/* ==================== 工作台三层区块（L1管理 / L2自我 / L3运作） ==================== */
.dash-sec { margin-bottom:24px; }
.dash-sec-hd { display:flex; align-items:center; margin:0 0 12px; padding-left:11px; border-left:4px solid var(--rp-blue); min-height:22px; }
.dash-sec-hd h3 { font-size:15.5px; color:var(--rp-navy2); margin:0; font-weight:700; letter-spacing:.2px; }
.dash-sec-hd .ds-q { margin-left:9px; font-size:12px; color:var(--rp-text3); font-weight:400; }
.dash-sec-hd .ds-tag { margin-left:10px; font-size:11px; padding:2px 8px; border-radius:9px; font-weight:600; }
.ds-tag.ds-l1 { background:#EAF2FD; color:#0B5FA5; }
.ds-tag.ds-l2 { background:#E8F6EE; color:#1F7A44; }
.ds-tag.ds-l3 { background:#FDF3E7; color:#B4620C; }
.dash-sec-hd .ds-act { margin-left:auto; font-size:12.5px; color:var(--rp-blue); cursor:pointer; }
.dash-sec-hd .ds-act:hover { text-decoration:underline; }

/* 关键结论条：一句话说清"今天该干什么" */
.dash-focus { background:#fff; border:1px solid var(--rp-line2); border-left:4px solid var(--rp-orange);
  border-radius:8px; padding:12px 16px; margin-bottom:16px; font-size:13px; color:var(--rp-navy2); line-height:1.75; }
.dash-focus b { color:var(--rp-red); }
.dash-focus .df-ok { color:var(--rp-green); font-weight:600; }
.dash-focus .df-bad { color:var(--rp-red); }

/* 待办/清单列表 */
.mlist { padding:2px 0; }
.mlist .mi { display:flex; align-items:center; padding:9px 0; border-bottom:1px dashed var(--rp-line2); font-size:13px; }
.mlist .mi:last-child { border-bottom:0; }
.mlist .mi .mi-t { flex:1; color:var(--rp-navy2); min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mlist .mi .mi-s { color:var(--rp-text3); font-size:11.5px; margin-left:8px; white-space:nowrap; }
.mlist .mi .mi-x { margin-left:10px; font-size:11.5px; padding:2px 7px; border-radius:8px; white-space:nowrap; }
.mi-x.due { background:#FBE9E7; color:#C0392B; }
.mi-x.soon { background:#FDF3E7; color:#B4620C; }
.mi-x.ok { background:#E8F6EE; color:#1F7A44; }
.mlist .mi a { color:var(--rp-blue); text-decoration:none; font-size:12px; margin-left:10px; white-space:nowrap; }
.mlist .mi a:hover { text-decoration:underline; }
.mlist .mempty { padding:22px 0; text-align:center; color:var(--rp-text3); font-size:12.5px; }

/* 提成周期条 */
.pd-bar { background:linear-gradient(96deg,#0B1F3A,#194b7d); border-radius:9px; padding:13px 16px; color:#fff; margin-bottom:12px; }
.pd-bar .pd-k { font-size:12px; color:#9FB4D0; }
.pd-bar .pd-v { font-size:16px; font-weight:700; margin-top:4px; }
.pd-bar .pd-n { font-size:12px; color:#C9D4E3; margin-top:5px; line-height:1.6; }
.pd-bar.warn { background:linear-gradient(96deg,#7A3E0B,#B4620C); }
.pd-bar .pd-cd { float:right; text-align:center; margin-top:2px; }
.pd-bar .pd-cd b { display:block; font-size:24px; line-height:1.1; }
.pd-bar .pd-cd span { font-size:11px; color:#C9D4E3; }

/* 数据健康/微进度 */
.mini-bar { height:6px; background:var(--rp-bg2); border-radius:4px; overflow:hidden; margin-top:6px; }
.mini-bar i { display:block; height:6px; background:var(--rp-blue); border-radius:4px; }
.mini-bar i.ok { background:var(--rp-green); }
.mini-bar i.warn { background:var(--rp-orange); }
.hrow { display:flex; align-items:center; padding:7px 0; font-size:12.5px; border-bottom:1px dashed var(--rp-line2); }
.hrow:last-child { border-bottom:0; }
.hrow .h-l { flex:1; color:var(--rp-text2); }
.hrow .h-v { font-weight:600; color:var(--rp-navy2); }
.dot { display:inline-block; width:7px; height:7px; border-radius:50%; margin-right:6px; vertical-align:middle; }
.dot.ok { background:var(--rp-green); } .dot.warn { background:var(--rp-orange); } .dot.err { background:var(--rp-red); }

/* 使用统计 */
.us-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:16px; }
.us-num { background:#fff; border-radius:var(--rp-radius); box-shadow:var(--rp-shadow); padding:16px 18px; border-left:3px solid var(--rp-blue); }
.us-num .un-l { font-size:12.5px; color:var(--rp-text2); }
.us-num .un-v { font-size:26px; font-weight:700; color:var(--rp-navy2); margin-top:5px; }
.us-num .un-e { font-size:11.5px; color:var(--rp-text3); margin-top:5px; }
.rank { padding:0; margin:0; list-style:none; }
.rank li { display:flex; align-items:center; font-size:12.5px; padding:7px 0; border-bottom:1px dashed var(--rp-line2); }
.rank li .rk-i { width:20px; height:20px; line-height:20px; text-align:center; border-radius:5px; background:var(--rp-bg2); color:var(--rp-text2); font-size:11px; margin-right:9px; }
.rank li:nth-child(1) .rk-i { background:#0B5FA5; color:#fff; }
.rank li:nth-child(2) .rk-i { background:#3E7CB8; color:#fff; }
.rank li:nth-child(3) .rk-i { background:#6E9BCB; color:#fff; }
.rank li .rk-n { flex:1; color:var(--rp-navy2); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rank li .rk-v { color:var(--rp-text3); font-size:11.5px; }


/* 口径来源标签（唯德经营 vs 咨询项目，禁止混看） */
.kpi .k-label .src-tag, .card-title .src-tag { display:inline-block; margin-left:6px; padding:1px 6px;
  font-size:10.5px; font-weight:600; border-radius:8px; background:#EDE7F6; color:#5E35B1;
  vertical-align:middle; letter-spacing:0; }
.td-sub .src-tag { padding:1px 5px; font-size:10.5px; border-radius:7px; background:#EDE7F6; color:#5E35B1; }

/* 月度趋势柱状（纯 CSS，IE 可用） */
.trend { display:flex; align-items:flex-end; gap:8px; height:104px; padding:4px 2px 0; }
.trend .tr-col { flex:1; text-align:center; }
.trend .tr-bar { background:linear-gradient(180deg,#2E86DE,#0070C0); border-radius:4px 4px 0 0;
  margin:0 auto; width:70%; min-height:4px; transition:height .3s; }
.trend .tr-lb { font-size:11px; color:var(--rp-text3); margin-top:4px; }
.trend .tr-v { font-size:10.5px; color:var(--rp-text2); }
.trend .tr-v i { font-style:normal; display:block; font-size:10px; }
.trend .tr-v i.up { color:var(--rp-green); }
.trend .tr-v i.dn { color:var(--rp-red); }

/* 8 张 KPI 时四列换行更紧凑 */
.kpis .kpi { min-height:96px; }
@media (max-width:1500px) {
  .kpi .k-val { font-size:21px; }
  .kpi .k-extra { font-size:11.5px; }
}


/* 紧凑自我条（管理岗）：一行装下 5 个自身指标，不占首屏 */
.mini-kpts { display:flex; gap:0; background:#fff; border-radius:var(--rp-radius);
  box-shadow:var(--rp-shadow); overflow:hidden; }
.mini-kpts .mk { flex:1; padding:12px 16px; border-right:1px solid var(--rp-line2); }
.mini-kpts .mk:last-child { border-right:0; }
.mini-kpts .mk-l { font-size:11.5px; color:var(--rp-text3); }
.mini-kpts .mk-v { font-size:17px; font-weight:700; color:var(--rp-navy2); margin-top:4px;
  font-variant-numeric:tabular-nums; }
.mini-kpts .mk-v.due { color:var(--rp-red); }
.mini-kpts .mk-v.soon { color:var(--rp-orange); }
.mini-kpts .mk-v.ok { color:var(--rp-green); }


/* 指标字典分组标题 */
.dict-hd { font-size:12px; font-weight:700; color:var(--rp-navy2); background:var(--rp-bg3);
  padding:7px 10px; border-radius:5px; margin:10px 0 4px; border-left:3px solid var(--rp-blue); }
.dict-hd:first-child { margin-top:0; }


/* ==================== 分页器（首页/页码/末页 + 每页条数） ==================== */
.pg { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-top:14px;
  padding:10px 14px; background:#fff; border:1px solid var(--rp-line2); border-radius:8px; font-size:12.5px; }
.pg .pg-info { color:var(--rp-text2); }
.pg .pg-info b { color:var(--rp-blue); font-size:14px; font-variant-numeric:tabular-nums; }
.pg .pg-size { color:var(--rp-text2); }
.pg .pg-size select { height:26px; padding:0 4px; border:1px solid var(--rp-line); border-radius:5px;
  font-size:12.5px; color:var(--rp-navy2); background:#fff; cursor:pointer; }
.pg .pg-nav { display:flex; align-items:center; gap:4px; margin-left:auto; }
.pg .pg-btn, .pg .pg-num { display:inline-block; min-width:26px; height:26px; line-height:24px; padding:0 8px;
  text-align:center; border:1px solid var(--rp-line); border-radius:5px; color:var(--rp-navy2);
  background:#fff; cursor:pointer; text-decoration:none; white-space:nowrap; transition:.15s; }
.pg .pg-btn:hover, .pg .pg-num:hover { border-color:var(--rp-blue); color:var(--rp-blue); background:var(--rp-bg-blue); }
.pg .pg-num { min-width:26px; padding:0 6px; font-variant-numeric:tabular-nums; }
.pg .pg-num.cur { background:linear-gradient(90deg,var(--rp-blue),#0d85d8); border-color:transparent;
  color:#fff; font-weight:600; cursor:default; }
.pg .pg-btn.pg-dis { color:var(--rp-text3); background:var(--rp-bg2); border-color:var(--rp-line2);
  cursor:not-allowed; }
.pg .pg-dot { color:var(--rp-text3); padding:0 2px; }
.pg .pg-jump { color:var(--rp-text2); margin-left:6px; white-space:nowrap; }
.pg .pg-jump input { width:42px; height:24px; padding:0 4px; text-align:center; border:1px solid var(--rp-line);
  border-radius:5px; font-size:12.5px; color:var(--rp-navy2); }
.pg .pg-note { margin-left:auto; }
@media (max-width:1200px) {
  .pg { gap:8px; }
  .pg .pg-nav { margin-left:0; flex-wrap:wrap; }
  .pg .pg-note { display:none; }
}


/* ==================== 子任务按项目分组 ==================== */
.pgroup { background:#fff; border:1px solid var(--rp-line2); border-radius:var(--rp-radius);
  margin-bottom:12px; overflow:hidden; transition:box-shadow .2s; }
.pgroup:hover { box-shadow:0 3px 12px rgba(11,31,58,.08); }
.pgroup-hit { border-color:var(--rp-blue); box-shadow:0 0 0 2px rgba(0,112,192,.15); }
.pgroup-hd { display:flex; align-items:center; gap:10px; padding:12px 16px; cursor:pointer;
  background:linear-gradient(90deg,#F7FAFD,#fff); border-left:4px solid var(--rp-blue); }
.pgroup-hd:hover { background:var(--rp-bg-blue); }
.pgroup-hd .pg-arr { color:var(--rp-text3); font-size:12px; width:12px; flex:0 0 auto; }
.pgroup-hd .pg-code { font-size:12.5px; color:var(--rp-blue); font-weight:600;
  font-variant-numeric:tabular-nums; flex:0 0 auto; }
.pgroup-hd .pg-name { font-size:14px; font-weight:600; color:var(--rp-navy2); flex:0 1 auto;
  max-width:300px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pgroup-hd .pg-cust { font-size:12px; color:var(--rp-text3); flex:0 1 auto; max-width:200px;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pgroup-hd .pg-mgr { font-size:12px; color:var(--rp-text2); background:var(--rp-bg2);
  padding:2px 8px; border-radius:9px; flex:0 0 auto; }
.pgroup-hd .pg-stat { font-size:12px; color:var(--rp-text2); flex:0 0 auto; }
.pgroup-hd .pg-stat .pg-over { color:var(--rp-red); }
.pgroup-hd .pg-empty { color:var(--rp-text3); }
.pgroup-hd .pg-bar { flex:1 1 90px; min-width:60px; max-width:180px; height:6px; background:var(--rp-bg2);
  border-radius:4px; overflow:hidden; }
.pgroup-hd .pg-bar i { display:block; height:6px; background:linear-gradient(90deg,var(--rp-blue),#2E86DE);
  border-radius:4px; }
.pgroup-hd .pg-comm { font-size:13px; font-weight:700; color:var(--rp-gold); flex:0 0 auto;
  font-variant-numeric:tabular-nums; }
.pgroup-hd .pg-act { font-size:12px; color:var(--rp-blue); text-decoration:none; flex:0 0 auto; }
.pgroup-hd .pg-act:hover { text-decoration:underline; }
.pgroup-wrap { border-top:1px solid var(--rp-line2); }
.pgroup-tb { margin:0; }
.pgroup-tb th { background:var(--rp-bg3); font-size:12px; }
.pgroup-bd { padding:0; }
.pgroup-foot { padding:9px 16px; font-size:12px; color:var(--rp-text3);
  background:var(--rp-bg3); border-top:1px dashed var(--rp-line2); }
.pgroup-empty { padding:20px 16px; font-size:12.5px; color:var(--rp-text3); line-height:1.7; }

/* 项目信息表的子任务列 */
.sub-link { display:inline-block; font-size:12.5px; color:var(--rp-blue); text-decoration:none;
  font-variant-numeric:tabular-nums; }
.sub-link:hover { text-decoration:underline; }
.sub-link .sub-wait { margin-left:5px; font-size:11px; color:var(--rp-orange); background:#FDF3E7;
  padding:1px 6px; border-radius:8px; }
.sub-link .sub-ok { margin-left:5px; font-size:11px; color:var(--rp-green); background:#E8F6EE;
  padding:1px 6px; border-radius:8px; }
.sub-link.sub-none { color:var(--rp-text3); }
/* 已有子任务时，数字右侧再给一个「＋」快速新增（不占宽度，悬停有提示） */
.sub-add { display:inline-block; margin-left:6px; width:16px; height:16px; line-height:15px;
  text-align:center; font-size:12px; color:var(--rp-blue); border:1px solid #C9D9EC;
  border-radius:4px; cursor:pointer; text-decoration:none; vertical-align:1px; }
.sub-add:hover { background:var(--rp-bg-blue); border-color:var(--rp-blue); }
@media (max-width:1400px) {
  .pgroup-hd .pg-cust { display:none; }
  .pgroup-hd .pg-bar { max-width:100px; }
}
@media (max-width:1180px) {
  .pgroup-hd .pg-name { max-width:180px; }
}


/* 分组工具条（长列表时出现） */
.pgroup-tools { display:flex; align-items:center; gap:14px; padding:0 2px 10px; font-size:12.5px; }
.pgroup-tools a { color:var(--rp-blue); cursor:pointer; }
.pgroup-tools a:hover { text-decoration:underline; }
.pgroup-tools .td-sub { margin-left:auto; }


/* 宽表紧凑模式：列多（15+）时压缩行距与字号，避免右侧操作列被截断 */
.table-compact th, .table-compact td { padding:7px 8px; font-size:12px; }
.table-compact th { font-size:11.5px; white-space:nowrap; }
.table-compact td { white-space:nowrap; }
.table-compact td:nth-child(2) { white-space:normal; min-width:150px; }
.table-compact .td-main { font-size:12px; }
/* 宽表横向滚动提示 */
.table-scroll-hint { display:none; font-size:11.5px; color:var(--rp-text3); padding:6px 2px 0; }
@media (max-width:1600px) {
  .table-scroll-hint { display:block; }
}


/* ==================== 数值列对齐纪律（宽屏可读性）====================
   问题：`.table th{text-align:left}` 优先级(0,1,1) 高于 `.num-right`(0,1,0)，
        导致数值列表头左对齐、数字右对齐；屏幕越宽列越宽，标题与数字分居两端，
        看起来像"列的标题和数据错位"（用户 2026-11-23 反馈）。
   修法：① 提高表头数值列的选择器优先级，让标题与数字同向；
        ② 数值列按内容收紧(width:1%)，富余宽度留给文本类列；
        ③ 文本列设合理上下限，避免宽屏下单列被拉到 500px 以上。      */
.table th.num-right { text-align:right; }
.table th.num-right, .table td.num-right { width:1%; white-space:nowrap; }

/* 文本类列保持单行：数据表靠"每行等高"来扫读，一旦换行行高就不齐，反而更难读。
   窄屏靠下面的紧凑字号把 14 列压进去，实在放不下才横向滚动（卡片已有 overflow-x）。 */
.table td.td-text, .table th.td-text { white-space:nowrap; }

/* 窄屏紧凑：14 列在 1500px 内压成一行（实测 11.5px/6px 可容） */
@media (max-width:1620px) {
  .table-compact th, .table-compact td { padding:6px 6px; font-size:11.5px; }
  .table-compact th { font-size:11px; letter-spacing:-.2px; }
  .table-compact .td-main { font-size:11.5px; }
  /* 次要长文本列（提成单名称等）在 1620 以下先让位，保证操作列按钮不被裁 */
  .table-compact .col-hide-mid { display:none; }
}
@media (max-width:1420px) {
  .table-compact th, .table-compact td { padding:5px 4px; font-size:10.8px; }
  .table-compact th { font-size:10.2px; }
  .table-compact .btn-sm { padding:2px 6px; font-size:10.5px; }
  /* 窄屏让出次要列：商务部（详情页有，查询条可按商务部筛），
     保证 14 列一行放下、操作列按钮不被裁切 */
  .table-compact .col-hide-narrow { display:none; }
}

/* 操作列：标题与按钮同向（原先靠 CSS 选择器判断按钮列，IE 不生效会不一致） */
.table th.col-act, .table td.col-act { text-align:left; width:1%; white-space:nowrap; }


/* ==================== 表头排序 ==================== */
.table th[data-sort] { cursor:pointer; user-select:none; position:relative; padding-right:22px; }
.table th[data-sort]:hover { background:linear-gradient(180deg,#EEF5FC,#E4EFFA); color:var(--rp-blue); }
.table th[data-sort]::after { content:"⇅"; position:absolute; right:7px; top:50%;
  transform:translateY(-50%); font-size:10px; color:#B9C4D2; line-height:1; }
.table th.sort-asc::after { content:"▲"; color:var(--rp-blue); font-size:9px; }
.table th.sort-desc::after { content:"▼"; color:var(--rp-blue); font-size:9px; }
.table th.sort-asc, .table th.sort-desc { color:var(--rp-blue); }
/* 紧凑表头右侧留白相应减小 */
.table-compact th[data-sort] { padding-right:18px; }
.table-compact th[data-sort]::after { right:4px; font-size:9px; }

/* 双栏/三栏 */
.grid2 { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.grid3 { display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px; }

/* Tab */
.tabs { display:flex; gap:2px; border-bottom:2px solid var(--rp-line2); margin-bottom:16px; }
.tab { padding:9px 16px; font-size:13.5px; color:var(--rp-text2); cursor:pointer; border-bottom:2px solid transparent; margin-bottom:-2px; transition:.15s; border-radius:6px 6px 0 0; }
.tab:hover { color:var(--rp-blue); background:var(--rp-bg3); }
.tab.active { color:var(--rp-blue); font-weight:600; border-bottom-color:var(--rp-blue); }
.tab .cnt { background:var(--rp-bg2); border-radius:9px; padding:0 7px; font-size:11px; color:var(--rp-text2); margin-left:4px; }
.tab.active .cnt { background:var(--rp-bg-blue); color:var(--rp-blue); }
/* 页签行右侧的动作按钮（数据字典的「新增字典类型」用它挂到同一行） */
.tabs-bar { align-items:center; }
.tabs-act { margin-left:auto; padding-bottom:6px; }
/* 任务规划/模板编辑里的可编辑表格：固定列宽，输入框吃满单元格，
   否则浏览器按内容自动分配会把表头和数据列错开（实测"提成金额"表头飘到下一列上） */
.plan-tb { table-layout:fixed; }
.plan-tb th, .plan-tb td { padding:6px 8px !important; }
.plan-tb .inp { width:100%; box-sizing:border-box; }
/* 任务模板：模板卡片里的任务行 */
.tpl-items { margin:8px 0 0; }
.tpl-items td, .tpl-items th { padding:6px 10px !important; font-size:12.5px; }


/* 子Tab（详情内） */
.subtabs { display:flex; gap:2px; border-bottom:2px solid var(--rp-line2); margin-bottom:0; }
.subtab { padding:10px 16px; font-size:13px; color:var(--rp-text2); cursor:pointer; border-bottom:2px solid transparent; margin-bottom:-2px; transition:.15s; }
.subtab:hover { color:var(--rp-blue); }
.subtab.active { color:var(--rp-blue); font-weight:600; border-bottom-color:var(--rp-blue); }

/* 时间线 */
.timeline { position:relative; padding-left:22px; }
.timeline::before { content:""; position:absolute; left:7px; top:4px; bottom:4px; width:2px; background:var(--rp-line2); }
.tl-item { position:relative; padding:6px 0 14px; }
.tl-item::before { content:""; position:absolute; left:-19px; top:9px; width:8px; height:8px; border-radius:50%; background:var(--rp-cyan); box-shadow:0 0 0 3px #E2F7F9; }
.tl-item.red::before { background:var(--rp-red); box-shadow:0 0 0 3px #FBE9E7; }
.tl-item .tl-t { font-size:13px; color:var(--rp-navy2); font-weight:600; }
.tl-item .tl-d { font-size:12px; color:var(--rp-text2); margin-top:3px; }
.tl-item .tl-time { font-size:11px; color:var(--rp-text3); margin-top:2px; }

/* 金额总览条 */
.amt-bar { display:flex; gap:0; border:1px solid var(--rp-line2); border-radius:var(--rp-radius); overflow:hidden; margin-bottom:16px; background:#fff; box-shadow:var(--rp-shadow); }
.amt-bar .ab { flex:1; padding:13px 16px; }
.amt-bar .ab + .ab { border-left:1px solid var(--rp-line2); }
.amt-bar .ab .al { font-size:12px; color:var(--rp-text2); }
.amt-bar .ab .av { font-size:16px; font-weight:700; color:var(--rp-navy2); margin-top:3px; font-variant-numeric:tabular-nums; }
.amt-bar .ab .av.blue { color:var(--rp-blue); }
.amt-bar .ab .av.green { color:var(--rp-green); }
.amt-bar .ab .av.orange { color:var(--rp-orange); }
.amt-bar .ab .av.red { color:var(--rp-red); }

/* 描述网格(表单式) */
.fgrid { display:grid; grid-template-columns:repeat(3, 152px 1fr); gap:0; border:1px solid var(--rp-line2); border-radius:var(--rp-radius); overflow:hidden; }
.fgrid .fg-l { background:var(--rp-bg3); color:var(--rp-text2); font-size:12.5px; padding:9px 12px; border-bottom:1px solid var(--rp-line2); border-right:1px solid var(--rp-line2); line-height:1.55; }
.fgrid .fg-v { font-size:13px; color:var(--rp-text); padding:9px 12px; border-bottom:1px solid var(--rp-line2); word-break:break-all; line-height:1.55; }

/* 项目信息条（弹窗头部只读摘要）：真表格，标签列定宽、值列自适应。
   为什么不用 .fgrid：fgrid 是 repeat(3, 152px 1fr) 固定三对，
   只放两对时值列只剩总宽 1/3（约 110px），配合 word-break:break-all
   会把「XM-20260112-01 · 华信能源高企认定（2026）」压成一列一两个字。
   项目名称这类长文本必须整行跨列，不允许和别的字段抢宽度。 */
.pinfo { border:1px solid var(--rp-line2); border-radius:var(--rp-radius); overflow:hidden; margin-bottom:14px; }
.pinfo-tb { width:100%; border-collapse:collapse; }
.pinfo-tb th { width:96px; background:var(--rp-bg3); color:var(--rp-text2); font-size:12.5px;
  font-weight:400; text-align:left; padding:8px 12px; border-bottom:1px solid var(--rp-line2);
  border-right:1px solid var(--rp-line2); white-space:nowrap; vertical-align:top; line-height:1.6; }
.pinfo-tb td { font-size:13px; color:var(--rp-text); padding:8px 12px;
  border-bottom:1px solid var(--rp-line2); border-right:1px solid var(--rp-line2);
  word-break:break-word; line-height:1.6; }
.pinfo-tb tr:last-child th, .pinfo-tb tr:last-child td { border-bottom:none; }
.pinfo-tb td:last-child, .pinfo-tb th:last-child { border-right:none; }
.pinfo-tb .pi-main { font-weight:600; }
.pinfo-tb .pi-name { color:var(--rp-navy2); }
.pinfo-tb .pi-sub { color:var(--rp-text3); font-size:12px; margin-left:8px; }
.pinfo-tb .pi-em { color:var(--rp-blue); font-weight:600; }
.pinfo-tb .pi-warn { color:var(--rp-orange); font-weight:600; }

/* 步骤条 */
.steps { display:flex; align-items:center; gap:0; margin-bottom:16px; background:#fff; border:1px solid var(--rp-line2); border-radius:var(--rp-radius); padding:14px 18px; overflow-x:auto; box-shadow:var(--rp-shadow); }
.step { display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--rp-text2); white-space:nowrap; }
.step .sn { width:22px; height:22px; border-radius:50%; background:var(--rp-bg2); color:var(--rp-text2); display:flex; align-items:center; justify-content:center; font-size:11.5px; font-weight:600; flex:none; }
.step.done .sn { background:var(--rp-green); color:#fff; }
.step.cur .sn { background:var(--rp-blue); color:#fff; box-shadow:0 0 0 3px var(--rp-bg-blue); }
.step.cur { color:var(--rp-navy2); font-weight:600; }
.step-arrow { margin:0 10px; color:var(--rp-text3); font-size:12px; flex:none; }

/* 待办列表 */
.todo-item { display:flex; align-items:center; gap:10px; padding:11px 6px; border-bottom:1px dashed var(--rp-line2); border-radius:6px; transition:.12s; }
.todo-item:hover { background:var(--rp-bg3); }
.todo-item:last-child { border-bottom:none; }
.todo-item .t-type { width:54px; flex:none; text-align:center; }
.todo-item .t-title { flex:1; font-size:13px; color:var(--rp-navy2); }
.todo-item .t-sub { font-size:12px; color:var(--rp-text3); margin-top:2px; }
.todo-item .t-who { font-size:12px; color:var(--rp-text2); flex:none; }

/* 图表(纯CSS条形) */
.bars { display:flex; flex-direction:column; gap:11px; }
.bar-row { display:flex; align-items:center; gap:10px; font-size:12px; color:var(--rp-text2); }
.bar-row .b-label { width:78px; flex:none; text-align:right; }
.bar-track { flex:1; height:14px; background:var(--rp-bg2); border-radius:7px; overflow:hidden; }
.bar-fill { height:100%; border-radius:7px; background:linear-gradient(90deg,var(--rp-blue),var(--rp-cyan)); }
.bar-fill.gold { background:linear-gradient(90deg,#F5A623,var(--rp-gold)); }
.bar-fill.red { background:linear-gradient(90deg,var(--rp-red),var(--rp-red2)); }
.bar-fill.green { background:linear-gradient(90deg,#239a58,var(--rp-green)); }
.bar-row .b-val { width:62px; flex:none; font-weight:600; color:var(--rp-navy2); font-variant-numeric:tabular-nums; }

/* 弹窗提示 */
.toast { position:fixed; top:70px; left:50%; transform:translateX(-50%); background:linear-gradient(90deg,var(--rp-navy2),var(--rp-slate)); color:#fff; padding:10px 24px; border-radius:8px; font-size:13px; z-index:999; box-shadow:var(--rp-shadow2); display:none; }

/* 空态 */
.empty { text-align:center; padding:40px 0; color:var(--rp-text3); font-size:13px; }

/* 描述表 */
.desc { width:100%; border-collapse:collapse; font-size:13px; }
.desc th { text-align:left; background:var(--rp-bg3); color:var(--rp-text2); font-weight:600; padding:9px 12px; border:1px solid var(--rp-line2); width:140px; white-space:nowrap; }
.desc td { padding:9px 12px; border:1px solid var(--rp-line2); color:var(--rp-text); }

/* 筛选条（旧组件兼容） */
.filter-bar { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.filter-bar .input,.filter-bar .select { width:150px; }
.filter-bar .input.w-220 { width:220px; }


/* ==================== 弹窗系统样式（工作方式V2.0） ==================== */
.modal-ov{position:fixed;inset:0;z-index:1000}
.modal-mask{position:absolute;inset:0;background:rgba(11,31,58,.45);display:flex;align-items:flex-start;justify-content:center;padding:6vh 16px;overflow:auto}
.modal-box{background:#fff;border-radius:12px;box-shadow:0 18px 50px rgba(11,31,58,.35);width:100%;animation:mpop .18s ease}
@keyframes mpop{from{transform:translateY(-10px);opacity:.6}to{transform:none;opacity:1}}
.modal-hd{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;border-bottom:1px solid #E3E9F2;font-weight:600;color:#0B1F3A;font-size:15px}
.modal-x{border:none;background:none;color:#8A94A6;font-size:16px;cursor:pointer;padding:2px 6px}
.modal-x:hover{color:#C0392B}
.modal-bd{padding:18px 20px;max-height:62vh;overflow:auto}
.modal-ft{display:flex;justify-content:flex-end;gap:10px;padding:12px 20px;border-top:1px solid #E3E9F2;background:#FAFBFD;border-radius:0 0 12px 12px}
.fm-row{display:flex;margin-bottom:12px;align-items:flex-start}
.fm-l{width:118px;flex:none;color:#5A6478;font-size:13px;padding-top:7px;text-align:right;padding-right:12px}
.fm-c{flex:1;min-width:0}
.fm-note{color:#8A94A6;font-size:12px;margin-top:4px;line-height:1.5}
.inp{width:100%;box-sizing:border-box;border:1px solid #D5DDE8;border-radius:6px;padding:7px 10px;font-size:13px;color:#3A4658;background:#fff}
.inp:focus{border-color:#0070C0;outline:none;box-shadow:0 0 0 3px rgba(0,112,192,.12)}
.inp[readonly],input.inp[readonly]{background:#F4F7FA;color:#8A94A6}
.mtabs{display:flex;gap:2px;border-bottom:2px solid #E3E9F2;margin-bottom:16px}
.mtab{padding:8px 16px;font-size:13px;color:#5A6478;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px;user-select:none}
.mtab:hover{color:#0070C0}
.mtab.active{color:#0070C0;border-bottom-color:#0070C0;font-weight:600}
.ck-grid{display:flex;flex-wrap:wrap;gap:6px 16px;padding-top:2px}
.ck{font-size:13px;color:#3A4658;display:inline-flex;align-items:center;gap:5px;cursor:pointer;user-select:none}
.perm-g{margin-bottom:12px}
.perm-t{font-weight:600;color:#0B1F3A;font-size:13px;margin-bottom:6px;padding-left:8px;border-left:3px solid #0070C0}
.sw{position:relative;display:inline-block;width:40px;height:22px}
.sw input{opacity:0;width:0;height:0}
.sw-t{position:absolute;inset:0;background:#C9D3E0;border-radius:11px;transition:.2s;cursor:pointer}
.sw-t:before{content:'';position:absolute;width:16px;height:16px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s}
.sw input:checked+.sw-t{background:#0070C0}
.sw input:checked+.sw-t:before{transform:translateX(18px)}
.role-sw{ border:1px solid rgba(255,255,255,.28); border-radius:7px; padding:5px 9px; font-size:12px; color:#E3ECF7; background:rgba(255,255,255,.08); margin-right:10px; cursor:pointer; position:relative; z-index:1; transition:.15s; }
.role-sw:hover{background:rgba(255,255,255,.14)} .role-sw:focus{ border-color:#00C2D1; outline:none; box-shadow:0 0 0 3px rgba(0,194,209,.18); }

.perm-note{background:#FFF7E6;border:1px solid #FFE1A8;border-radius:8px;padding:10px 12px;font-size:13px;color:#7A5A00;margin-bottom:12px;line-height:1.6}
.btn-danger{background:#C0392B;border-color:#C0392B;color:#fff}
.btn-danger:hover{background:#A93226}

/* ===== 排版规整 V3：按钮定位/查询区/操作列 ===== */
.qbar { align-items:center; }
.qbar .q-actions { margin-left:auto; flex:none; }
.qbar .more-toggle { align-self:center; font-size:12.5px; color:var(--rp-blue); cursor:pointer; padding-bottom:2px; white-space:nowrap; }
.qbar .more-toggle:hover { text-decoration:underline; }
.qbar .f { flex:none; }
.qbar-row { align-items:center; }
/* 操作列固定右对齐，按钮不换行 */
.table td .btn-sm + .btn-sm, .table td .btn-sm + .btn-link, .table td .btn-link + .btn-sm { margin-left:8px; }
/* 页头动作固定右缘（已有 margin-left:auto，补 flex:none 防挤压） */
.page-head, .dh { align-items:center; }
.page-head .ph-actions, .dh .ph-actions { flex:none; }
/* 金额面板等高格 */
.amt-panel { display:grid; grid-template-columns:repeat(auto-fit, minmax(150px,1fr)); gap:12px; }
.amt-panel .amt-cell { min-height:74px; }

/* 状态过滤tab条：紧凑小胶囊 */
.stat-tabs { border-bottom:1px solid var(--rp-line2); margin-bottom:12px; gap:4px; }
.stat-tabs .tab { padding:7px 14px; font-size:12.5px; border-radius:7px 7px 0 0; }
.stat-tabs .tab.active { background:#fff; border:1px solid var(--rp-line2); border-bottom-color:#fff; color:var(--rp-blue); font-weight:600; }
.stat-tabs .cnt { background:var(--rp-bg3); border-radius:8px; padding:1px 7px; font-size:11px; color:var(--rp-text2); margin-left:5px; }
.stat-tabs .tab.active .cnt { background:rgba(0,112,192,.1); color:var(--rp-blue); }

/* 统计条：查询结果常关注指标汇总 */
/* 2026-11-27 全站评审优化：卡多时（工作台 12 个、任务总表 11 个）原来被 flex:1 压到 100px 以内，
   数字挤成一团。这里**不折行**（门禁 41 要求统计条单行、末项不得独占一行），改为与 .qbar-line
   一致的「单行 + 横向滚动」，并给单元格设最小宽度保证可读。
   同时按「前 3 个是主指标、其余为次要指标」做视觉分级 —— 主指标更大更重。 */
.statbar { display:flex; flex-wrap:nowrap; gap:10px; margin-bottom:14px; overflow-x:auto; padding-bottom:2px; }
.statbar::-webkit-scrollbar { height:6px; }
.statbar::-webkit-scrollbar-thumb { background:var(--rp-line2); border-radius:3px; }
@media (max-width:1400px) {
  .statbar .sb-cell { padding:9px 10px; }
  .statbar .sb-v { font-size:16px; }
  .statbar .sb-l { font-size:11.5px; }
}
.statbar .sb-cell { background:linear-gradient(180deg,#FBFDFF,#F4F8FC); border:1px solid var(--rp-line2); border-radius:10px; padding:10px 16px; min-width:132px; flex:1 0 150px; }
.statbar .sb-v { font-size:19px; white-space:nowrap; font-weight:700; color:var(--rp-navy2); letter-spacing:.2px; line-height:1.2; }
/* 主指标（前 3 个）：更大、更深，带轻微投影，形成视觉焦点 */
.statbar .sb-cell:nth-child(-n+3) { background:#fff; border-color:#CFE3F5; box-shadow:0 1px 3px rgba(0,112,192,.07); }
.statbar .sb-cell:nth-child(-n+3) .sb-v { font-size:22px; }
/* 次要指标（第 4 个起）：收小一档，颜色减弱，不与主指标争注意力 */
.statbar .sb-cell:nth-child(n+4) .sb-v { font-size:17px; color:var(--rp-slate); }
.statbar .sb-cell:nth-child(n+4) .sb-l { color:var(--rp-text3); }
.statbar .sb-v.blue { color:var(--rp-blue); }
.statbar .sb-v.green { color:var(--rp-green); }
.statbar .sb-v.orange { color:var(--rp-orange); }
.statbar .sb-v.red { color:var(--rp-red); }
.statbar .sb-v.purple { color:#6B4FBB; }
.statbar .sb-l { font-size:12px; color:var(--rp-text2); margin-top:4px; line-height:1.45; }

/* 日期/数字可用性微调 */
input[type=date] { font-family:inherit; }
.statbar .sb-v { font-variant-numeric:tabular-nums; }
.table td, .table th { font-variant-numeric:tabular-nums; }
.range .in::-webkit-calendar-picker-indicator { margin-left:0; }

/* ===== V3.2 布局规则：操作按钮永不单独占行 =====
   主行 qbar-line：nowrap + 横向滚动，查询/重置按钮钉行尾；
   折叠区 more-zone 独立成块，展开时内部多行换行（属折叠内容，允许）。 */
.qbar { display:block; padding:14px 16px; }
.qbar-line { display:flex; flex-wrap:nowrap; align-items:center; gap:12px; overflow-x:auto; padding-bottom:2px; }
.qbar-line::-webkit-scrollbar { height:6px; }
.qbar-line::-webkit-scrollbar-thumb { background:var(--rp-line2); border-radius:3px; }
.qbar .q-actions { margin-left:auto; flex:none; white-space:nowrap; }
.qbar .more-toggle { flex:none; white-space:nowrap; }
.qbar .f, .qbar .chk { flex:none; }
.more-zone { display:none; margin-top:12px; padding-top:12px; border-top:1px dashed var(--rp-line2); }
.more-zone.open { display:flex; }
.qbar-row { display:flex; flex-wrap:wrap; gap:12px; align-items:center; width:100%; }
/* 页头操作区同样禁止折行 */
.page-head .ph-actions, .dh .ph-actions { flex-wrap:nowrap; }
.page-head .ph-actions button, .dh .ph-actions button { flex:none; white-space:nowrap; }

/* ===== V3.3 二级/三级菜单（345菜单树）===== */
.side { display:flex; flex-direction:column; }
.nav { flex:1; overflow-y:auto; overflow-x:hidden; }
.nav::-webkit-scrollbar { width:6px; }
.nav::-webkit-scrollbar-thumb { background:rgba(255,255,255,.18); border-radius:3px; }
.nav-grp { margin:1px 10px; border-radius:8px; }
.nav-grp-h { display:flex; align-items:center; gap:10px; padding:9px 12px; font-size:13.5px; color:#B9C6D8; cursor:pointer; border-radius:8px; user-select:none; }
.nav-grp-h:hover { background:rgba(255,255,255,.06); }
.nav-grp-h .grp-arr { margin-left:auto; font-size:10px; color:rgba(255,255,255,.55); transition:transform .18s; }
.nav-grp:not(.open) .grp-arr { transform:rotate(-90deg); }
.nav-grp-b { max-height:520px; overflow:hidden; transition:max-height .22s; }
.nav-grp:not(.open) .nav-grp-b { max-height:0; }
.nav-item.nav-sub { padding:7px 12px 7px 26px; font-size:12.5px; color:rgba(231,240,250,.78); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; display:block; height:auto; min-height:34px; }
.nav-item.nav-sub:hover { color:#fff; }
.nav-item.nav-sub .sub-dot { display:inline-block; width:5px; height:5px; border-radius:50%; background:rgba(255,255,255,.35); margin-right:7px; flex:none; }
.nav-item.nav-sub.active { background:rgba(0,112,192,.28); color:#fff; font-weight:600; }
.nav-item.nav-sub.active .sub-dot { background:var(--rp-cyan); }

/* ===== V3.4 更多查询/收起 胶囊按钮 ===== */
.more-toggle {
  display:inline-flex; align-items:center; gap:5px;
  height:32px; padding:0 13px;
  border:1px solid var(--rp-blue); border-radius:16px;
  background:#fff; color:var(--rp-blue);
  font-size:12.5px; font-weight:500; cursor:pointer;
  transition:all .18s ease; flex:none; white-space:nowrap; user-select:none;
}
.more-toggle:hover { background:rgba(0,112,192,.07); box-shadow:0 0 0 3px rgba(0,112,192,.10); }
.more-toggle .mt-arr { transition:transform .22s ease; }
.more-toggle.open { background:var(--rp-blue); color:#fff; }
.more-toggle.open:hover { background:#0066AD; }
.more-toggle.open .mt-arr { transform:rotate(180deg); }

/* ===== V3.5 一级分组折叠 + 权限过滤后 0 页面分组隐藏 ===== */
.nav-sec { cursor:pointer; user-select:none; font-size:10.5px; letter-spacing:2px; }
.nav-sec:hover .sec-t { color:#8FA5C0; }
.nav-sec .sec-t { font-size:10.5px; letter-spacing:2px; transition:font-size .15s, color .15s; }
.nav-sec.closed .sec-t { font-size:13px; letter-spacing:0; color:#B9C6D8; font-weight:600; }
.nav-sec .sec-arr { font-size:8px; color:#4A6080; transition:transform .18s ease; }
.nav-sec.closed .sec-arr { transform:rotate(-90deg); }
.nav-sec.closed + .nav-sec-b { display:none; }

/* ===== V3.6 流程节点链（详情页顶部） ===== */
.wf-tl { display:flex; align-items:flex-start; background:#fff; border:1px solid var(--rp-line); border-radius:12px;
  padding:18px 22px 14px; margin-bottom:16px; overflow-x:auto; box-shadow:0 1px 4px rgba(11,31,58,.04); }
.wf-tl::-webkit-scrollbar { height:6px; }
.wf-tl::-webkit-scrollbar-thumb { background:var(--rp-line2); border-radius:3px; }
.wf-tn { flex:none; min-width:130px; position:relative; }
.wf-tn-top { display:flex; align-items:center; height:16px; }
.wf-dot { width:16px; height:16px; border-radius:50%; flex:none; display:flex; align-items:center; justify-content:center;
  font-size:9px; font-weight:700; background:#D6DDE7; color:#fff; }
.wf-tn-done .wf-dot { background:var(--rp-green); }
.wf-tn-doing .wf-dot { background:var(--rp-blue); box-shadow:0 0 0 4px rgba(0,112,192,.15); color:#fff; }
.wf-tn-doing .wf-dot { animation:wfPulse 1.6s ease infinite; }
@keyframes wfPulse { 50% { box-shadow:0 0 0 7px rgba(0,112,192,.08); } }
.wf-tn-rejected .wf-dot { background:var(--rp-red); }
.wf-line { flex:1; height:2px; min-width:26px; background:var(--rp-line2); }
.wf-line.done { background:var(--rp-blue); }
.wf-tn-name { font-size:13px; font-weight:600; color:var(--rp-navy2); margin-top:9px; white-space:nowrap; }
.wf-tn-done .wf-tn-name { color:var(--rp-text); }
.wf-tn-meta { font-size:11px; color:var(--rp-text2); margin-top:4px; line-height:1.5; }
.wf-tn-meta b { color:var(--rp-text); font-weight:600; display:block; }
.wf-tn-doing .wf-tn-name { color:var(--rp-blue); }
.wf-tn-rejected .wf-tn-name { color:var(--rp-red); }

/* ===== V3.7 工作台信息卡系统（按岗位组合） ===== */
/* ===== 工作台「常用系统入口」（2026-11-24）=====
   四块彩色瓷片：左边是系统缩写图标块，中间名称+说明，右侧 ↗ 表示新标签页打开。
   IE11 注意：不用 CSS 变量以外的现代特性，也不依赖 flex gap —— 间距全部用 margin 兜住。 */
.dash-links { background:#fff; border:1px solid var(--rp-line2); border-radius:12px; padding:14px 16px 16px; margin-bottom:16px; }
.dash-links .dl-hd { display:flex; align-items:center; margin-bottom:12px; }
.dash-links .dl-hd h3 { font-size:14.5px; font-weight:700; color:var(--rp-navy2); margin:0; padding-left:10px; border-left:4px solid var(--rp-blue); line-height:1.15; }
.dash-links .dl-q { margin-left:10px; font-size:12px; color:var(--rp-text3); }
.ql-grid { display:flex; flex-wrap:wrap; }
.ql-tile { display:flex; align-items:center; flex:1 1 220px; min-width:0; box-sizing:border-box;
  margin:0 10px 0 0; padding:11px 12px; border:1px solid var(--rp-line2); border-radius:10px;
  background:#FCFDFF; text-decoration:none; color:inherit; transition:box-shadow .15s, border-color .15s, transform .15s; }
.ql-tile:last-child { margin-right:0; }
.ql-tile:hover { box-shadow:0 6px 16px rgba(11,31,58,.10); border-color:#C7D8EC; transform:translateY(-1px); text-decoration:none; }
.ql-ico { flex:none; width:38px; height:38px; border-radius:9px; margin-right:11px;
  display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700;
  color:#fff; letter-spacing:.5px; }
.ql-main { flex:1 1 auto; min-width:0; }
.ql-name { display:block; font-size:13.5px; font-weight:700; color:var(--rp-navy2); line-height:1.35; }
.ql-desc { display:block; font-size:11.5px; color:var(--rp-text2); margin-top:3px; line-height:1.5;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ql-note { display:block; font-size:11px; color:var(--rp-text3); margin-top:2px;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ql-go { flex:none; margin-left:8px; font-size:14px; color:#B9C7D8; }
.ql-tile:hover .ql-go { color:var(--rp-blue); }
.ql-badge { display:inline-block; margin-left:6px; padding:0 6px; border-radius:8px; font-size:10.5px;
  font-weight:600; line-height:16px; vertical-align:1px; }
.ql-badge.ok { background:#E8F6EE; color:var(--rp-green); }
.ql-badge.warn { background:#FDF3E7; color:var(--rp-orange); }
.ql-badge.ext { background:#EEF2F7; color:#7C8AA0; }
.ql-navy .ql-ico { background:linear-gradient(135deg,#0B1F3A,#2B4A72); }
.ql-blue .ql-ico { background:linear-gradient(135deg,#0070C0,#3FA0E0); }
.ql-cyan .ql-ico { background:linear-gradient(135deg,#00A0B8,#43C6D8); }
.ql-gold .ql-ico { background:linear-gradient(135deg,#C99400,#F0C24B); }
@media (max-width:1366px) {
  .ql-tile { flex:1 1 46%; margin:0 10px 10px 0; }
  .ql-tile:nth-child(2n) { margin-right:0; }
  .ql-desc { white-space:normal; }
}
@media (max-width:960px) {
  .ql-tile { flex:1 1 100%; margin-right:0; }
}
.dash-hello { background:linear-gradient(118deg,#0B1F3A 0%,#123257 46%,#0C2342 100%); border-radius:12px; padding:20px 26px; margin-bottom:16px; display:flex; align-items:center; gap:20px; box-shadow:0 6px 18px rgba(11,31,58,.22); color:#fff; }
.dash-hello .dh-t { font-size:19px; font-weight:700; letter-spacing:.5px; }
.dash-hello .dh-s { font-size:12.5px; color:#8FA6C3; margin-top:6px; line-height:1.6; }
.dash-hello .dh-role { flex:none; text-align:right; font-size:12.5px; color:#8FA6C3; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius:10px; padding:10px 16px; }
.dash-hello .dh-role b { color:#fff; font-size:14px; display:block; margin-bottom:2px; }
.dash-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(420px, 1fr)); gap:16px; }
.dash-grid .card { margin-bottom:0; }
.dash-grid .dash-quick { grid-column:1/-1; }
.dash-quick-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(102px, 1fr)); gap:10px; }
.qi { display:flex; flex-direction:column; align-items:center; gap:7px; padding:13px 8px 11px;
  border:1px solid var(--rp-line2); border-radius:10px; cursor:pointer; background:#fff; transition:.15s; user-select:none; }
.qi:hover { border-color:var(--rp-blue); background:rgba(0,112,192,.05); transform:translateY(-2px); box-shadow:0 4px 10px rgba(11,31,58,.10); }
.qi .qi-i { font-size:19px; line-height:1; }
.qi .qi-t { font-size:12px; color:var(--rp-text); white-space:nowrap; }

.crumb .c-root { color:#E3ECF7; }

/* 月度经营速览 mini 表 */
.table.mini th, .table.mini td { padding:7px 10px; font-size:12.5px; }
.table.mini b.up { color:var(--rp-green); font-weight:600; }
.table.mini b.warn { color:var(--rp-orange); font-weight:600; }

/* IE 提示横幅：默认隐藏，仅 IE10/11 通过 demo-ie.css 的媒体查询显示 */
.ie-banner{ display:none; }
/* 宽表横向滚动：列数多时卡片内滚动，不裁切内容（IE11 用 -ms-overflow-style） */
.content .card { overflow-x:auto; -ms-overflow-style:-ms-autohiding-scrollbar; }
.content .card::-webkit-scrollbar { height:8px; }
.content .card::-webkit-scrollbar-thumb { background:var(--rp-line2); border-radius:4px; }

/* ==================== 客户列表（10 列）窄屏收敛 ====================
   10 列比项目信息表还密：详细地址 ≤1420 隐藏、业务类型只留前 2 类（cells 里已截短）、
   名称列强制单行（.table-compact 默认让第 2 列换行，这里覆盖掉，保证行高一致）。
   —— 放在文件末尾，靠后定义压过 .table-compact td:nth-child(2) 的 white-space:normal。 */
.cust-table th:nth-child(2), .cust-table td:nth-child(2) { white-space:nowrap; min-width:0; }
/* 单元格内截断：td 的 max-width 在自动布局下会被忽略，必须靠内层 inline-block 收敛 */
.cust-table .clip { display:block; max-width:270px; overflow:hidden;
  text-overflow:ellipsis; white-space:nowrap; line-height:inherit; }
.cust-table .clip-addr { max-width:170px; }
/* 行高统一：行业列用 .tag 胶囊（含 2px 上下内边距，实际 22px），
   而"未归类"是纯文字（18px），两者混排会一行高一行矮 —— 统一 line-height 后等高。 */
.cust-table th, .cust-table td { line-height:22px; }
.cust-table .tag { line-height:18px; padding:0 8px; font-size:11.5px; }
@media (max-width:1620px) {
  .cust-table .clip { max-width:210px; }
  .cust-table .clip-addr { max-width:150px; }
}

/* ==================== 项目交付与归档卡（合并页）====================
   IE11 兼容：全部用 block / inline-block / table，不用 flex gap 与 grid。
   卡内四块：成本口径 / 资料归档 / 子任务 / 交付物。 */
.cost-grid { background:#F7FAFD; border-bottom:1px solid var(--rp-line); padding:10px 16px 8px; }
.cost-line { font-size:12.5px; color:var(--rp-text2); line-height:26px; }
.cost-line .cl-l { display:inline-block; min-width:44px; color:var(--rp-text3); font-size:11.5px; }
.cost-line .cl-k { color:var(--rp-text3); font-size:11.5px; }
.cost-line .op { color:#B9C4D2; margin:0 5px; }
.cost-line .cl-pct { color:var(--rp-green); font-size:11.5px; margin-left:4px; }
.cost-act { margin-top:4px; }
.arch-bar { display:table; width:100%; padding:9px 16px; background:#FCFDFE;
  border-bottom:1px solid var(--rp-line); font-size:12px; }
.arch-bar .ab-l { display:table-cell; width:96px; color:var(--rp-text3); font-size:11.5px;
  white-space:nowrap; vertical-align:top; }
.arch-bar .ab-v { display:table-cell; word-break:break-all; }
.arch-bar code { background:#EEF3F9; padding:2px 7px; border-radius:3px;
  font-family:Consolas,Monaco,monospace; font-size:11.5px; color:var(--rp-navy2); }
.dlv-sec { padding:10px 16px 4px; }
.dlv-sec-hd { font-size:12.5px; font-weight:600; color:var(--rp-navy2); margin-bottom:6px;
  padding-left:8px; border-left:3px solid var(--rp-blue); }
.dlv-sec .pgroup-tb { margin-bottom:8px; }
.pg-arch { display:inline-block; font-size:11px; padding:1px 8px; border-radius:10px; white-space:nowrap; }
.pg-arch.ok { background:#E8F6EE; color:var(--rp-green); }
.pg-arch.none { background:#FBE9E7; color:var(--rp-red); }

/* ===== 任务进度总表（2026-11-24 维度重置）：维度切换 / 状态页签 / 阶段分布 =====
   IE11 兼容：全部 inline-block，不用 flex/grid/gap；颜色在 demo-ie.css 里另有字面量兜底 */
.tp-dims { margin: 0 0 12px; padding: 8px 12px; background: var(--rp-bg3); border: 1px solid var(--rp-line2); border-radius: 9px; }
.tp-dim-l { font-size: 12px; color: var(--rp-text3); margin-right: 10px; }
.tp-dim { display: inline-block; padding: 5px 13px; margin: 2px 6px 2px 0; font-size: 12.5px; color: var(--rp-text2); background: #fff; border: 1px solid var(--rp-line2); border-radius: 14px; cursor: pointer; }
.tp-dim:hover { color: var(--rp-blue); border-color: var(--rp-blue); }
.tp-dim.active { color: #fff; background: var(--rp-blue); border-color: var(--rp-blue); font-weight: 600; }
.tp-tabs { margin: 4px 0 10px; border-bottom: 2px solid var(--rp-line2); }
.tp-tab { display: inline-block; padding: 8px 16px; font-size: 13.5px; color: var(--rp-text2); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; border-radius: 6px 6px 0 0; }
.tp-tab:hover { color: var(--rp-blue); background: var(--rp-bg3); }
.tp-tab.active { color: var(--rp-blue); font-weight: 600; border-bottom-color: var(--rp-blue); }
.tp-tab .cnt { display: inline-block; background: var(--rp-bg2); border-radius: 9px; padding: 0 7px; font-size: 11px; color: var(--rp-text2); margin-left: 3px; font-weight: 400; }
.tp-tab.active .cnt { background: var(--rp-bg-blue); color: var(--rp-blue); }
.stage-bar { margin: 0 0 14px; line-height: 2.2; }
.stage-bar-l { font-size: 12px; color: var(--rp-text3); margin-right: 8px; }
.stage-chip { display: inline-block; margin: 3px 8px 3px 0; padding: 6px 12px; border: 1px solid var(--rp-line2); border-radius: 9px; background: #fff; cursor: pointer; font-size: 12px; color: var(--rp-text2); }
.stage-chip:hover { border-color: var(--rp-blue); box-shadow: 0 2px 8px rgba(11,31,58,.08); }
.stage-chip b { color: var(--rp-navy2); font-size: 12.5px; margin-right: 6px; }
.stage-chip em { font-style: normal; color: var(--rp-blue); background: var(--rp-bg-blue); border-radius: 8px; padding: 0 6px; margin-right: 6px; }
.stage-chip i { font-style: normal; color: var(--rp-text3); }
.tp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ===== 提成打印稿（2026-11-24）：纸上长什么样，屏幕就长什么样 =====
   参考 20261104 科服项目信息同步-1104 的「提成打印」页：标题 + 10 列 + 人分组汇总。
   IE11：不用 flex/grid，表格 + inline-block 足够。 */
.print-sheet { background:#fff; border:1px solid #D8DFE9; border-radius:10px; padding:22px 26px 18px; margin-bottom:16px; }
.ps-title { text-align:center; font-size:19px; font-weight:700; color:#0B1F3A; letter-spacing:1px; margin-bottom:6px; }
.ps-meta { text-align:center; font-size:12px; color:#5A6478; margin-bottom:14px; line-height:2; }
.ps-meta span { display:inline-block; margin-right:18px; }
.ps-meta b { color:#0B1F3A; }
.ps-table { width:100%; border-collapse:collapse; font-size:12.5px; }
.ps-table th { background:#EFF3F8; color:#14243C; font-weight:600; border:1px solid #C9D4E2;
  padding:7px 6px; text-align:center; white-space:nowrap; font-size:12px; }
.ps-table td { border:1px solid #DDE4EE; padding:6px; color:#2C3546; vertical-align:middle; }
.ps-table td.ps-num { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.ps-table td.ps-mono { font-family:Consolas,'Courier New',monospace; font-size:11.5px; white-space:nowrap; }
.ps-table td.ps-owner { font-weight:600; color:#0B1F3A; white-space:nowrap; }
.ps-table tr.ps-sum td { background:#F7F9FC; font-weight:600; color:#0B1F3A; border-top:2px solid #C9D4E2; }
.ps-table tr.ps-total td { background:#EAF3FB; font-weight:700; color:#0B1F3A; font-size:13px; border-top:2px solid #0070C0; }
.ps-table td.ps-empty { text-align:center; color:#8A94A6; padding:26px; }
.ps-tag { display:inline-block; margin-left:8px; padding:0 6px; font-size:10.5px; font-weight:400;
  color:#C0392B; background:#FDEDEA; border-radius:8px; }
.ps-sign { margin-top:14px; font-size:12px; color:#5A6478; line-height:2.2; }
.ps-sign span { display:inline-block; margin-right:26px; }
.ps-sign b { color:#0B1F3A; }
.ps-note { margin-top:8px; font-size:11.5px; color:#8A94A6; }

@media print {
  /* 打印时只留纸面内容：菜单、面包屑、查询条、页头按钮全部不印 */
  .side, .topbar, .crumb, .page-head, .no-print, .ie-banner, .table-scroll-hint { display:none !important; }
  html, body { background:#fff !important; }
  .app { display:block !important; }
  .main { margin:0 !important; padding:0 !important; }
  .content { padding:0 !important; }
  .card { box-shadow:none !important; border:none !important; padding:0 !important; }
  .print-sheet { border:none; padding:0; margin:0; page-break-inside:auto; }
  .ps-title { font-size:17px; }
  .ps-table { font-size:11px; }
  .ps-table th, .ps-table td { padding:4px 5px; }
  @page { size: A4 landscape; margin: 12mm 10mm; }
  thead { display: table-header-group; }   /* 跨页时表头重复 */
  tr { page-break-inside: avoid; }
}

/* ==================== 年度经营（V5.3） ====================
   管理员第一屏：达成率 vs 时间进度。填充条=达成，红色竖标=时间进度，
   两者之差就是"要追多少"——这是整块的信息核心，不是装饰。 */
.anno { background:#fff; border-radius:var(--rp-radius); box-shadow:var(--rp-shadow);
  padding:16px 20px 14px; margin-bottom:16px; border-left:4px solid var(--rp-blue);
  position:relative; overflow:hidden; }
.anno::after { content:""; position:absolute; right:-46px; top:-46px; width:150px; height:150px;
  border-radius:50%; background:var(--rp-bg-blue); opacity:.5; }
.anno-hd { position:relative; z-index:1; margin-bottom:10px; }
.anno-hd .anno-t { font-size:15.5px; font-weight:700; color:var(--rp-navy2); letter-spacing:.2px; }
.anno-pill { display:inline-block; margin-left:9px; padding:2px 10px; border-radius:10px;
  font-size:11.5px; font-weight:700; vertical-align:middle; }
.anno-pill.ok { background:#E8F6EE; color:#1F7A44; }
.anno-pill.bad { background:#FDECEA; color:#C0392B; }
.anno-pill.mute { background:#EEF2F7; color:#5A6478; }
.anno-hd .src-tag { margin-left:8px; }
.anno-set { display:inline-block; margin-left:10px; font-size:12px; color:#0070C0; cursor:pointer;
  border:1px solid #CFE0F2; border-radius:12px; padding:2px 10px; vertical-align:middle; }
.anno-set:hover { background:#EAF2FD; }
.anno-big { position:relative; z-index:1; font-size:36px; font-weight:700; color:var(--rp-navy2);
  letter-spacing:.5px; font-variant-numeric:tabular-nums; line-height:1.1; }
.anno-big small { font-size:12.5px; font-weight:400; color:var(--rp-text3); margin-left:10px;
  letter-spacing:0; }
.anno-rail { position:relative; height:16px; background:#EDF2F8; border-radius:8px;
  margin:12px 0 8px; z-index:1; }
.anno-fill { position:absolute; left:0; top:0; height:16px; border-radius:8px;
  background:linear-gradient(90deg,#2E86DE,#0070C0); }
.anno-fill.bad { background:linear-gradient(90deg,#EFA24E,#D97B29); }
.anno-mark { position:absolute; top:-5px; width:2px; height:26px; background:#C0392B; }
.anno-mark b { position:absolute; top:-15px; left:-4px; font-size:10.5px; color:#C0392B;
  font-weight:700; white-space:nowrap; }
.anno-legend { position:relative; z-index:1; font-size:11.5px; color:var(--rp-text3); line-height:1.9; }
.anno-legend i { font-style:normal; display:inline-block; width:9px; height:9px; border-radius:2px;
  margin:0 4px 0 12px; vertical-align:middle; }
.anno-legend i:first-child { margin-left:0; }
.anno-legend .lg-hit { background:#0070C0; }
.anno-legend .lg-time { background:#C0392B; width:2px; height:12px; }
.anno-legend .lg-goal { background:#C7D4E4; }
.anno-facts { position:relative; z-index:1; margin-top:12px; padding-top:10px;
  border-top:1px dashed #E1E8F0; font-size:12.5px; color:var(--rp-text2); line-height:1.95; }
.anno-facts b { color:var(--rp-navy2); }
.anno-facts .neg { color:#C0392B; font-weight:700; }
.anno-facts .anno-note { color:var(--rp-text3); font-size:11.5px; }
/* 12 个月柱：蓝=当月达标，橙=未达月均目标，灰=未到月份 */
.trend.trend12 { height:96px; }
.trend.trend12 .tr-col { flex:1; }
.trend .tr-bar.hit { background:linear-gradient(180deg,#2E86DE,#0070C0); }
.trend .tr-bar.low { background:linear-gradient(180deg,#F2B36B,#D97B29); }
.trend .tr-bar.fut { background:#E3E9F1; }
.trend.trend12 .tr-v { font-size:10px; }

/* ==================== 提成月度汇总 + 咨询师分配（V5.4） ==================== */
.cm-bar { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:2px 0 10px; }
.cm-bar-l { font-size:12.5px; color:var(--rp-text2); font-weight:600; }
.cm-months { display:flex; flex-wrap:wrap; gap:6px; }
.cm-chip { display:inline-block; padding:3px 11px; border-radius:13px; font-size:12.5px;
  background:#F1F5FA; color:var(--rp-text2); border:1px solid #E1E8F0; cursor:pointer;
  font-variant-numeric:tabular-nums; transition:all .15s; }
.cm-chip:hover { border-color:#9CC3E8; color:#0B5FA5; }
.cm-chip.on { background:#0070C0; color:#fff; border-color:#0070C0; font-weight:600; }
.cm-chip-act { display:inline-block; padding:3px 9px; font-size:12px; color:#0070C0;
  cursor:pointer; border-bottom:1px dashed #9CC3E8; }
.cm-chip-act:hover { color:#0B5FA5; }
.cm-scroll { width:100%; overflow-x:auto; }
.cm-scroll .table { min-width:760px; }
.cm-total td { background:#F4F8FC; font-weight:700; color:var(--rp-navy2); }
.mb-cap { display:flex; gap:10px; flex-wrap:wrap; }
.mb-cap-i { flex:1 1 200px; background:#F6F9FD; border:1px solid #E4EDF7; border-radius:8px;
  padding:9px 12px; }
.mb-cap-i > span { display:block; font-size:11.5px; color:var(--rp-text3); }
.mb-cap-i > b { display:block; font-size:19px; color:var(--rp-navy2); font-variant-numeric:tabular-nums;
  margin:3px 0 1px; }
.mb-cap-i > em { font-style:normal; font-size:11.5px; color:var(--rp-text2); }
.mb-add { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:10px;
  padding-top:10px; border-top:1px dashed #E1E8F0; }
.mb-add-l { font-size:12.5px; font-weight:600; color:var(--rp-text2); }
/* 负责人旁的小入口：咨询师分配（不是按钮，避免一行里三个按钮打架） */
.mb-link { margin-left:5px; font-size:11.5px; color:#0070C0; cursor:pointer;
  border-bottom:1px dashed #9CC3E8; white-space:nowrap; }
.mb-link:hover { color:#0B5FA5; border-bottom-style:solid; }
/* 候选人表格里的"多人合作"标记 */
.cm-mini { margin-left:6px; font-size:10.5px; padding:1px 6px; border-radius:9px;
  background:#FFF4E5; color:#B4620C; white-space:nowrap; }


/* ===== 关键字联想（Lookup）2026-11-25 =====
   .lk 包住输入框；.lk-pan 是绝对定位的下拉面板（不撑高查询条）。
   注意：IE11 不支持 flex gap，所以面板用普通块 + 行内两段文本。 */
.lk { position:relative; display:inline-block; }
.lk .in { padding-right:24px; }
.lk .lk-clr { position:absolute; right:6px; top:7px; width:16px; height:16px; line-height:15px;
  text-align:center; border-radius:9px; color:#8A97A8; font-style:normal; font-size:13px;
  cursor:pointer; display:none; }
/* 显隐统一走 lkClrToggle()，不再用 :not(:placeholder-shown)（空框也会显示 ×） */
.lk .lk-clr:hover { background:#E8EEF6; color:#14243C; }
.lk-pan { display:none; position:absolute; z-index:1200; left:0; top:100%; margin-top:4px;
  min-width:320px; max-width:520px; max-height:260px; overflow:auto; background:#fff;
  border:1px solid #D7E0EC; border-radius:8px; box-shadow:0 8px 24px rgba(20,36,60,.14);
  padding:4px; }
.lk-item { padding:6px 8px; border-radius:6px; cursor:pointer; line-height:1.35; }
.lk-item:hover, .lk-item.on { background:#EEF5FD; }
.lk-lb { display:block; font-size:13px; color:#14243C; }
.lk-sub { display:block; font-size:11.5px; color:#6B7A90; }
.lk-empty { padding:10px; font-size:12px; color:#8A97A8; }

/* ===================================================================
   市场拓展 · 产品介绍 / 技术顾问（2026-11-26）
   命名前缀 pd-（产品）/ ad-（顾问），避免与既有样式冲突。
   IE10/11 兼容：不用 flex/grid，一律 inline-block 或 display:table。
   =================================================================== */
.pd-note { font-weight:400; color:#8A94A8; font-size:12px; margin-left:8px; }
.pd-hint { color:#5B6577; font-size:13px; line-height:1.75; margin:0 0 14px; }
.pd-ul { margin:6px 0 0; padding-left:20px; }
.pd-ul li { line-height:1.85; font-size:13px; color:#26303E; margin:0 0 3px; }
.pd-warn { background:#FFF4E5; border:1px solid #FFD8A8; color:#8A4B00; padding:10px 12px; border-radius:6px; font-size:13px; }

/* 三步选品 */
.pd-step { margin:0 0 14px; }
.pd-step-hd { font-size:13px; color:#33415C; margin:0 0 8px; font-weight:600; }
.pd-step-hd b { display:inline-block; width:18px; height:18px; line-height:18px; text-align:center;
  border-radius:50%; background:#0070C0; color:#FFF; font-size:11.5px; margin-right:7px; font-weight:400; }
.pd-opt { display:inline-block; padding:5px 13px; margin:0 8px 8px 0; border:1px solid #D4DAE6;
  border-radius:15px; font-size:13px; color:#3B4759; cursor:pointer; background:#FFF; }
.pd-opt:hover { border-color:#0070C0; color:#0070C0; }
.pd-opt-on { background:#0070C0; border-color:#0070C0; color:#FFF; }
.pd-opt-on:hover { color:#FFF; }
.pd-pick-act { margin:8px 0 0; }
.pd-pick-act .btn { margin-right:8px; }

/* 选品结果卡 */
.pd-sug-hd { margin:18px 0 10px; font-size:13.5px; color:#33415C; }
.pd-sugs { display:table; width:100%; table-layout:fixed; }
.pd-sug { display:table-cell; width:33.33%; vertical-align:top; background:#FAFCFF;
  border:1px solid #E2E8F2; border-radius:8px; padding:14px; }
.pd-sug + .pd-sug { border-left:1px solid #E2E8F2; }
.pd-sugs { border-spacing:12px 0; }
.pd-sug-top { margin:0 0 8px; }
.pd-rank { display:inline-block; width:20px; height:20px; line-height:20px; text-align:center;
  border-radius:50%; background:#FFC000; color:#5A3E00; font-size:12px; font-weight:700; margin-right:8px; }
.pd-sug-nm { font-size:14.5px; font-weight:600; color:#0B4F91; text-decoration:none; margin-right:6px; }
.pd-sug-nm:hover { text-decoration:underline; }
.pd-sug-tag { font-size:12.5px; color:#5B6577; line-height:1.7; margin:0 0 8px; }
.pd-sug-k { font-size:12px; color:#8A94A8; margin:10px 0 0; }
.pd-gap-k { color:#B45309; }
.pd-sug .pd-ul { margin-top:4px; }
.pd-sug .pd-ul li { font-size:12.5px; }
.pd-gaps { margin:5px 0 0; }
.pd-gap { display:inline-block; font-size:12.5px; color:#B45309; background:#FFF7E6;
  border:1px solid #FFE0B2; border-radius:4px; padding:1px 8px; margin:0 6px 6px 0; text-decoration:none; }
.pd-sug-lead { margin:10px 0 0; font-size:12px; color:#6B7A90; line-height:1.6;
  border-top:1px dashed #E2E8F2; padding-top:8px; }

/* 产品线卡 */
.pd-lines { font-size:0; }
.pd-line { display:inline-block; vertical-align:top; width:31.6%; margin:0 1.4% 12px 0;
  border:1px solid #E2E8F2; border-radius:8px; padding:13px 14px; cursor:pointer; background:#FFF; }
.pd-line:hover { border-color:#0070C0; background:#F7FBFF; }
.pd-line-on { border-color:#0070C0; background:#EFF7FD; box-shadow:inset 0 0 0 1px #0070C0; }
.pd-line-hd { font-size:0; margin:0 0 6px; }
.pd-line-ico { display:inline-block; width:26px; height:26px; line-height:26px; text-align:center;
  border-radius:7px; color:#FFF; font-size:14px; vertical-align:middle; margin-right:8px; }
.pd-line-nm { display:inline-block; font-size:14.5px; font-weight:600; color:#14243C; vertical-align:middle; }
.pd-line-ct { float:right; font-size:12px; color:#8A94A8; vertical-align:middle; margin-top:5px; }
.pd-line-sub { font-size:12px; color:#0070C0; margin:0 0 5px; }
.pd-line-intro { font-size:12.5px; color:#5B6577; line-height:1.7; }

/* 产品清单 */
.pd-toolbar { margin:0 0 10px; }
.pd-search { display:inline-block; width:62%; }
.pd-search .inp { width:62%; margin-right:8px; }
.pd-count { display:inline-block; float:right; font-size:12.5px; color:#6B7A90; margin-top:8px; }
.pd-table td { vertical-align:top; }
.pd-nm { color:#0B4F91; font-weight:600; text-decoration:none; }
.pd-nm:hover { text-decoration:underline; }
.pd-tagline { color:#3B4759; line-height:1.7; font-size:12.5px; }
.pd-lead { color:#6B7A90; font-size:12px; line-height:1.65; }
.pd-mx { display:inline-block; white-space:nowrap; }
.pd-mx i { display:inline-block; width:17px; height:17px; line-height:17px; text-align:center;
  border-radius:3px; font-size:10.5px; font-style:normal; margin-right:2px; }
.mx-on { background:#0070C0; color:#FFF; }
.mx-mid { background:#E3F0FA; color:#0070C0; }
.mx-off { background:#F3F5F9; color:#B4BDCB; }
.pd-doc { font-size:12.5px; color:#0070C0; }
.pd-lock { font-size:12px; color:#B4BDCB; }
.pd-clr { font-size:12px; color:#C62828; cursor:pointer; margin-left:4px; }
.pd-link { color:#0070C0; cursor:pointer; text-decoration:none; }
.pd-link:hover { text-decoration:underline; }
.pd-danger { color:#C62828; }

/* 组合包 / 路径 */
.pd-pkg { border:1px solid #E2E8F2; border-radius:8px; padding:12px 13px; margin:0 0 10px; background:#FAFCFF; }
.pd-pkg-hd { font-size:14px; color:#14243C; margin:0 0 6px; }
.pd-pkg-why { font-size:12.5px; color:#5B6577; line-height:1.75; margin:0 0 8px; }
.pd-pkg-items { margin:0 0 8px; }
.pd-pill { display:inline-block; font-size:12px; color:#0B4F91; background:#EFF7FD;
  border:1px solid #CFE4F6; border-radius:12px; padding:2px 10px; margin:0 6px 6px 0; text-decoration:none; }
.pd-pill:hover { background:#0070C0; color:#FFF; border-color:#0070C0; }
.pd-pkg-sh { font-size:12px; color:#8A94A8; line-height:1.6; border-top:1px dashed #E2E8F2; padding-top:7px; }
.pd-path { border-left:3px solid #0070C0; padding:4px 0 4px 12px; margin:0 0 14px; }
.pd-path-hd { font-size:13.5px; color:#14243C; margin:0 0 6px; }
.pd-year { font-size:12.5px; line-height:1.75; color:#3B4759; margin:0 0 2px; }
.pd-y { display:inline-block; width:52px; color:#0070C0; font-weight:600; }

/* 申报日历 */
.pd-cal { font-size:0; }
.pd-mo { display:inline-block; vertical-align:top; width:23%; margin:0 1.3% 12px 0;
  border:1px solid #E2E8F2; border-radius:8px; padding:9px 10px; min-height:104px; background:#FFF; }
.pd-mo-now { border-color:#FFC000; background:#FFFDF3; box-shadow:inset 0 0 0 1px #FFC000; }
.pd-mo-empty { background:#FAFBFC; }
.pd-mo-hd { font-size:13px; font-weight:600; color:#14243C; margin:0 0 6px; }
.pd-mo-tag { font-size:10.5px; background:#FFC000; color:#5A3E00; border-radius:3px;
  padding:0 5px; margin-left:5px; font-weight:400; }
.pd-mo-n { float:right; font-size:11.5px; color:#8A94A8; font-weight:400; margin-top:2px; }
.pd-mo-item { font-size:11.5px; line-height:1.55; color:#5B6577; margin:0 0 3px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pd-mo-item a { color:#0B4F91; text-decoration:none; margin-right:4px; }
.pd-mo-item a:hover { text-decoration:underline; }
.pd-mo-item span { color:#8A94A8; }
.pd-mo-none { font-size:12px; color:#C3CAD6; }
.pd-mo-more { font-size:11.5px; color:#0070C0; }
.pd-rolling { margin-top:6px; }

/* 产品详情 */
.pd-nav { margin:0 0 12px; padding:8px 12px; background:#F5F8FC; border:1px solid #E2E8F2; border-radius:8px; }
.pd-nav-t { font-size:12px; color:#8A94A8; margin-right:8px; }
.pd-nav-a { display:inline-block; font-size:12.5px; color:#0B4F91; text-decoration:none;
  padding:2px 9px; border-radius:11px; margin:2px 4px 2px 0; }
.pd-nav-a:hover { background:#0070C0; color:#FFF; }
.pd-nav-lock { color:#B4BDCB; }
.pd-sec { scroll-margin-top:12px; }
.pd-no { display:inline-block; min-width:22px; font-size:12px; color:#0070C0; margin-right:6px; }
.pd-pos { font-size:13.5px; line-height:1.9; color:#26303E; margin:0 0 12px; }
.pd-kv { margin:0 0 8px; font-size:13px; }
.pd-kv b { display:inline-block; color:#0B4F91; margin-right:8px; }
.pd-kv p { display:inline; margin:0; color:#3B4759; line-height:1.8; }
.pd-tt th { background:#F5F8FC; font-weight:600; }
.pd-tt td { font-size:12.5px; line-height:1.7; vertical-align:top; }
.pd-callout { margin-top:10px; background:#F0F7FE; border-left:3px solid #0070C0;
  padding:9px 12px; font-size:12.5px; color:#22405C; line-height:1.75; }
.pd-lib code { background:#FFF; border:1px solid #CFE4F6; border-radius:3px; padding:1px 5px; font-size:12px; }
.pd-veto { margin-top:12px; background:#FFF5F5; border:1px solid #F5C2C2; border-radius:6px; padding:10px 12px; }
.pd-veto-hd { font-size:12.5px; color:#B71C1C; font-weight:600; margin:0 0 4px; }
.pd-veto .pd-ul li { color:#8B2020; }
.pd-locked { background:#F7F8FA; border:1px dashed #D4DAE6; border-radius:6px;
  padding:14px; font-size:12.5px; color:#6B7A90; line-height:1.8; }
.pd-locked.pd-empty { margin-top:0; }
.pd-lock-tag { font-size:11px; color:#B45309; background:#FFF7E6; border:1px solid #FFE0B2;
  border-radius:3px; padding:0 6px; margin-left:8px; font-weight:400; }
.pd-fn { font-size:12px; color:#5B6577; word-break:break-all; }

/* 技术顾问 */
.ad-wrap { display:table; width:100%; table-layout:fixed; }
.ad-main { display:table-cell; width:64%; vertical-align:top; padding-right:14px; }
.ad-side { display:table-cell; width:36%; vertical-align:top; }
.ad-chat { height:520px; overflow-y:auto; background:#FBFCFE; border:1px solid #E2E8F2;
  border-radius:8px; padding:14px; }
.ad-welcome { background:#FFF; border:1px solid #E2E8F2; border-radius:8px; padding:14px 16px; }
.ad-w-hd { font-size:14px; font-weight:600; color:#14243C; margin:0 0 6px; }
.ad-w-p { font-size:12.5px; color:#3B4759; line-height:1.8; margin:0 0 8px; }
.ad-w-ul { margin:0; padding-left:18px; }
.ad-w-ul li { font-size:12px; color:#6B7A90; line-height:1.8; }
.ad-row { margin:0 0 14px; font-size:0; }
.ad-row-q { text-align:right; }
.ad-q { display:inline-block; max-width:78%; text-align:left; background:#0070C0; color:#FFF;
  border-radius:12px 12px 3px 12px; padding:9px 13px; font-size:13px; line-height:1.75; }
.ad-av { display:inline-block; width:26px; height:26px; line-height:26px; text-align:center;
  border-radius:50%; background:#E2E8F2; color:#5B6577; font-size:12px; vertical-align:top; }
.ad-row-q .ad-av { margin-left:8px; }
.ad-row-a .ad-av { margin-right:8px; }
.ad-av-bot { background:#0070C0; color:#FFF; }
.ad-a { display:inline-block; max-width:86%; text-align:left; background:#FFF;
  border:1px solid #E2E8F2; border-radius:12px 12px 12px 3px; padding:12px 14px; vertical-align:top; }
.ad-title { font-size:13.5px; font-weight:600; color:#14243C; line-height:1.7; margin:0 0 8px; }
.ad-points { margin:0; padding:0; list-style:none; }
.ad-points li { font-size:13px; line-height:1.8; color:#26303E; margin:0 0 7px;
  padding-left:10px; border-left:2px solid #DCE9F6; }
.ad-txt { display:block; }
.ad-src { display:block; font-size:11px; color:#8A94A8; margin-top:2px; }
.ad-next { margin-top:8px; font-size:12.5px; color:#0B4F91; background:#F0F7FE;
  border-radius:5px; padding:7px 10px; line-height:1.7; }
.ad-note { margin-top:8px; font-size:12px; color:#B45309; background:#FFF7E6;
  border:1px solid #FFE0B2; border-radius:5px; padding:7px 10px; line-height:1.7; }
.ad-meta { margin-top:8px; font-size:11px; color:#B4BDCB; }
.ad-err { color:#B71C1C; background:#FFF5F5; border-color:#F5C2C2; font-size:12.5px; }
.ad-typing i { display:inline-block; width:6px; height:6px; border-radius:50%; background:#C3CAD6;
  margin-right:4px; }
.ad-hot { margin:10px 0 0; font-size:0; }
.ad-chip { display:inline-block; font-size:12px; color:#0B4F91; background:#F5F8FC;
  border:1px solid #E2E8F2; border-radius:14px; padding:4px 11px; margin:0 7px 7px 0; cursor:pointer; }
.ad-chip:hover { background:#0070C0; color:#FFF; border-color:#0070C0; }
.ad-input { margin:10px 0 0; font-size:0; }
.ad-input .inp { display:inline-block; width:83%; vertical-align:top; font-size:13px;
  padding:8px 10px; border:1px solid #D4DAE6; border-radius:6px; font-family:inherit; }
.ad-input .btn { display:inline-block; width:14%; margin-left:2%; vertical-align:top; height:50px; }
.ad-card { margin:0 0 12px; }
.ad-plan { border-bottom:1px dashed #E2E8F2; padding:0 0 10px; margin:0 0 10px; }
.ad-plan:last-child { border-bottom:0; margin-bottom:0; padding-bottom:0; }
.ad-plan-hd { font-size:13.5px; margin:0 0 4px; }
.ad-plan-hd a { color:#0B4F91; font-weight:600; text-decoration:none; }
.ad-plan-hd a:hover { text-decoration:underline; }
.ad-plan-tag { font-size:12px; color:#5B6577; line-height:1.7; margin:0 0 5px; }
.ad-plan-r { font-size:11.5px; color:#8A94A8; line-height:1.7; }
.ad-plan-g { font-size:11.5px; color:#B45309; line-height:1.7; margin-top:3px; }
.ad-plan-g a { color:#B45309; }
.ad-plan-l { font-size:11.5px; color:#6B7A90; line-height:1.7; margin-top:3px; }
.ad-mat { border-bottom:1px dashed #E2E8F2; padding:0 0 8px; margin:0 0 8px; }
.ad-mat:last-child { border-bottom:0; }
.ad-mat-t { font-size:12.5px; color:#14243C; line-height:1.7; }
.ad-mat-s { font-size:11px; color:#8A94A8; word-break:break-all; }
.ad-mat-s a { color:#0070C0; }
.ad-ref { font-size:12px; line-height:1.8; color:#3B4759; }
.ad-ref a { color:#0B4F91; text-decoration:none; }
.ad-ref span { color:#8A94A8; font-size:11px; margin-left:6px; }
/* 未授权内容的「拒答+找人」块（2026-11-26 用户要求：拒绝但友好提示找谁） */
.pd-guide { background:#FFFBF2; border:1px solid #FFE0B2; border-radius:8px; padding:13px 15px; }
.pd-guide-hd { font-size:13.5px; color:#8A4B00; line-height:1.8; margin:0 0 10px; }
.pd-guide-k { font-size:12px; color:#A0703A; margin:12px 0 6px; }
.pd-guide-p { background:#FFF; border:1px solid #F0E2C8; border-radius:6px; padding:8px 11px; margin:0 0 7px; font-size:13px; color:#3B4759; }
.pd-guide-p b { color:#0B4F91; }
.pd-guide-ph { float:right; font-size:12px; color:#6B7A90; }
.pd-guide-why { font-size:11.5px; color:#8A94A8; margin-top:3px; }
.pd-guide-say { background:#FFF; border:1px dashed #E0C89A; border-radius:6px; padding:8px 11px; font-size:12.5px; color:#5B6577; line-height:1.8; }
.pd-guide-act { margin-top:12px; }
.pd-guide-act .btn { margin-right:8px; }
.pd-copy { float:right; font-size:12px; color:#0070C0; cursor:pointer; font-weight:400; }
.pd-copy:hover { text-decoration:underline; }
.ad-apply { color:#0070C0; cursor:pointer; text-decoration:underline; margin-left:6px; }
.ad-gap-sum { font-size:12px; color:#5B6577; margin:0 0 8px; line-height:1.7; }
.ad-gap-kw { display:inline-block; width:88px; }
.ad-card .table-compact td { padding:5px 6px; vertical-align:middle; }
.ad-card select.inp { display:inline-block; width:96px; margin:0 5px 0 0; }


/* ============================================================
   V5.18 视觉升级（2026-11-26）· 品牌更名 + 红色线条体系
   依据：用户要求「项目名改为 睿道业务管理系统；界面参考睿道科创转化平台（REPlatform）
   色调，加一些红色系的线条元素提升设计感、风格与之相似」。
   做法：结构不动，只在既有色板（#0070C0 / #0B1F3A / #C0392B）上叠加一套
   「红色线条语言」——取值与 REPlatform 主样式完全一致，不引入新配色：
     ① 屏顶通栏 2px 红色棱线（REPlatform 页头同款渐变）
     ② 侧栏：白色网格底纹、品牌名红色竖线、选中项红色实线、底部红线
     ③ 顶栏：红色渐隐底线 + 右侧红色斜线纹理
     ④ 页面标题：红色竖线 + 红色渐隐分隔线（对应 REPlatform .page-hd .pg-line）
     ⑤ 卡片标题：红色竖线 + 右侧渐隐红线（对应 .panel-head:after）
     ⑥ KPI：卡片底部红色短线；表格表头红线；Tab 选中红线；弹窗标题红线
   ============================================================ */

/* ---- 0. 纸面底色：向 REPlatform 的 #F5F7FA 靠 ---- */
html, body { background:#F5F7FA; }
.content { background:#F5F7FA; }

/* ---- 1. 屏顶红色棱线（固定在最上层，侧栏与主区通栏）---- */
.app { position:relative; }
.app::before { content:""; position:fixed; left:0; right:0; top:0; height:2px; z-index:120;
  background:linear-gradient(90deg,#C0392B 0%,#E24A3A 46%,#C0392B 100%); }

/* ---- 2. 侧栏 ---- */
.side { background-image:
  repeating-linear-gradient(0deg, rgba(255,255,255,.024) 0, rgba(255,255,255,.024) 1px, transparent 1px, transparent 32px),
  repeating-linear-gradient(90deg, rgba(255,255,255,.024) 0, rgba(255,255,255,.024) 1px, transparent 1px, transparent 32px),
  linear-gradient(118deg,#0B1F3A 0%,#123257 46%,#0C2342 100%); }
.brand { height:auto; min-height:94px; align-items:flex-start; padding:14px 16px 11px;
  border-bottom:1px solid rgba(192,57,43,.34); position:relative; }
.brand::after { content:""; position:absolute; left:16px; bottom:-1px; width:56px; height:2px;
  background:linear-gradient(90deg,#C0392B,#E24A3A 65%,rgba(226,74,58,0)); }
.brand-lockup { padding:0; }
.brand-name { display:block; margin:8px 0 2px; padding-left:9px; position:relative;
  font-size:12.5px; font-weight:700; color:#fff; letter-spacing:1.2px; white-space:nowrap; }
.brand-name::before { content:""; position:absolute; left:0; top:1px; width:3px; height:13px;
  background:linear-gradient(180deg,#C0392B,#E24A3A); }
.brand-sub { margin-top:1px; padding-left:9px; color:#7186A3; }
.nav-sec::before { content:""; flex:none; width:3px; height:9px; background:#C0392B; opacity:.82; }
.nav-item.active { background:linear-gradient(90deg, rgba(192,57,43,.28), rgba(192,57,43,.03)); }
.nav-item.active::before { background:linear-gradient(180deg,#C0392B,#E24A3A); }
.side-foot { border-top:1px solid rgba(192,57,43,.30); }

/* ---- 3. 顶栏 ---- */
.topbar { border-bottom:0; }
.topbar::before { left:0; right:0; top:auto; bottom:0; width:auto; height:2px; border-radius:0;
  background:linear-gradient(90deg,rgba(192,57,43,0) 0%,#C0392B 18%,#E24A3A 50%,#C0392B 82%,rgba(192,57,43,0) 100%); }
.topbar::after { left:auto; right:0; top:0; bottom:0; width:300px; height:auto; border-radius:0;
  background:repeating-linear-gradient(116deg, rgba(192,57,43,.20) 0, rgba(192,57,43,.20) 1px, transparent 1px, transparent 26px); }
.crumb .c-sep { color:#E24A3A; }

/* ---- 4. 页面标题 ---- */
.page-head, .dh { position:relative; padding-bottom:11px; border-bottom:1px solid #E6EBF2; }
.page-head::after, .dh::after { content:""; position:absolute; left:0; bottom:-1px; width:240px; height:2px;
  background:linear-gradient(90deg,#C0392B 0%,rgba(192,57,43,.5) 45%,rgba(192,57,43,0) 100%); }
.page-head h1, .dh h1 { position:relative; padding-left:12px; }
.page-head h1::before, .dh h1::before { content:""; position:absolute; left:0; top:3px; width:3px; height:18px;
  background:linear-gradient(180deg,#C0392B,#E24A3A); }

/* ---- 5. 卡片 ---- */
.card { border:1px solid #E8EDF4; box-shadow:0 1px 3px rgba(11,31,58,.05); }
.card:hover { border-color:#DCE4EF; box-shadow:0 6px 18px rgba(11,31,58,.10); }
.card-title::before { width:3px; height:15px; border-radius:1px;
  background:linear-gradient(180deg,#C0392B,#E24A3A); }
.card-title::after { content:""; flex:1 1 auto; height:1px; min-width:20px; margin-left:2px;
  background:linear-gradient(90deg, rgba(192,57,43,.40), rgba(192,57,43,0)); }
.card-title .more { margin-left:6px; color:#C0392B; }

/* ---- 6. KPI ---- */
.kpi::before { content:""; position:absolute; left:0; bottom:0; width:66%; height:2px;
  background:linear-gradient(90deg,#C0392B,rgba(192,57,43,0)); }

/* ---- 7. 表格 ---- */
.table th { border-bottom:2px solid #F0DDDA; }
.table tbody tr:hover { background:#FDF7F6; }
.table th[data-sort]:hover { background:linear-gradient(180deg,#FDF3F2,#F8E7E4); color:#C0392B; }

/* ---- 8. Tab 选中红线 ---- */
.et-tabs { border-bottom-color:#F0DDDA; }
.et-tab.on { color:#C0392B; border-bottom-color:#C0392B; }
.mtabs { border-bottom-color:#F0DDDA; }
.mtab:hover { color:#C0392B; }
.mtab.active { color:#C0392B; border-bottom-color:#C0392B; }

/* ---- 9. 弹窗标题 ---- */
.modal-hd { position:relative; }
.modal-hd::after { content:""; position:absolute; left:20px; bottom:-1px; width:40px; height:2px; background:#C0392B; }

/* ---- 10. 工作台横幅：红色斜线纹理（REPlatform 首屏网格的同款做法）---- */
.dash-hello { background-image:
  repeating-linear-gradient(116deg, rgba(226,74,58,.11) 0, rgba(226,74,58,.11) 1px, transparent 1px, transparent 24px),
  linear-gradient(118deg,#0B1F3A 0%,#123257 46%,#0C2342 100%); }

/* ---- 11. 打印稿标题 ---- */
.ps-title { position:relative; padding-bottom:9px; }
.ps-title::after { content:""; position:absolute; left:50%; margin-left:-42px; bottom:0; width:84px; height:2px; background:#C0392B; }
/* ---- 12. 工作台区块标题与年度块：统一到红色线条（原为蓝色竖线）---- */
.dash-sec-hd { border-left-color:#C0392B; }
.dash-links .dl-hd h3 { border-left-color:#C0392B; }
.anno { border-left-color:#C0392B; }
.dash-focus { border-left-color:#C0392B; }
/* 卡片标题右侧渐隐线略提亮，避免白底上看不见 */
.card-title::after { background:linear-gradient(90deg, rgba(192,57,43,.55), rgba(192,57,43,0)); }
/* ---- 13. 条件统计条（.statbar）与页签：红色短线 + 红色选中态 ---- */
.statbar .sb-cell { position:relative; }
.statbar .sb-cell::after { content:""; position:absolute; left:0; bottom:0; width:56%; height:2px;
  background:linear-gradient(90deg,#C0392B,rgba(192,57,43,0)); }
.tabs { border-bottom-color:#F0DDDA; }
.tab:hover { color:#C0392B; background:#FDF7F6; }
.tab.active { color:#C0392B; border-bottom-color:#C0392B; }
.tab.active .cnt { background:#FDECEA; color:#C0392B; }.tp-tabs { border-bottom-color:#F0DDDA; }
.tp-tab:hover { color:#C0392B; background:#FDF7F6; }
.tp-tab.active { color:#C0392B; border-bottom-color:#C0392B; }
.tp-tab.active .cnt { background:#FDECEA; color:#C0392B; }
/* ============================================================
   多标签工作区（V5.19，2026-11-26 用户要求「用 tab 页支持到 15 个页面」）
   宿主 main.html：顶栏 + 标签栏 + iframe 内容区；内容页以 ?embed=1 加载，只出正文。
   ============================================================ */

/* ---- 宿主骨架：只有内容区滚动，外壳不动 ---- */
body.tab-host { overflow:hidden; }
body.tab-host #topbarBox { flex:none; }
body.tab-host .main { min-height:0; background:#F5F7FA; }

/* ---- 标签栏 ---- */
.tabbar { flex:none; height:38px; display:flex; align-items:stretch; background:#fff;
  border-bottom:1px solid #DDE4EE; position:relative; z-index:3; }
.tabbar::after { content:""; position:absolute; left:0; bottom:-1px; width:100%; height:2px;
  background:linear-gradient(90deg,rgba(192,57,43,.55),rgba(192,57,43,0)); pointer-events:none; }
.tabbar.at-max { box-shadow:inset 0 0 0 2px rgba(192,57,43,.30); }
.tb-scroll { flex:1 1 auto; min-width:0; overflow-x:auto; overflow-y:hidden; }
.tb-list { display:flex; align-items:stretch; height:38px; padding:0 3px; }
.tb-item { display:inline-flex; align-items:center; gap:6px; flex:0 0 auto; max-width:200px;
  height:38px; padding:0 6px 0 10px; margin-right:2px; font-size:12.5px; color:#5A6478;
  background:#F4F7FB; border:1px solid #E3E9F2; border-bottom:0; border-radius:7px 7px 0 0;
  cursor:pointer; position:relative; box-sizing:border-box; }
.tb-item:hover { background:#EAF2FB; color:#0B4F91; }
.tb-item.on { background:#fff; color:#14243C; font-weight:600; border-color:#DDE4EE; }
.tb-item.on::before { content:""; position:absolute; left:0; top:0; width:100%; height:2px;
  background:linear-gradient(90deg,#C0392B,#E24A3A); border-radius:7px 7px 0 0; }
.tb-i { font-size:12px; opacity:.9; flex:none; font-style:normal; }
.tb-t { font-weight:inherit; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tb-x { flex:none; width:16px; height:16px; line-height:15px; text-align:center; border-radius:3px;
  font-size:11px; color:#A6AFBE; text-decoration:none; font-style:normal; }
.tb-x:hover { background:#FDECEA; color:#C0392B; }
.tb-item.on .tb-x { color:#8A94A6; }
.tb-count { flex:none; padding:0 10px; line-height:38px; font-size:11.5px; color:#8A94A6;
  white-space:nowrap; border-left:1px solid #EEF2F7; }
.tb-count b { color:#0070C0; font-weight:700; }
.tb-count.full { color:#C0392B; }
.tb-count.full b { color:#C0392B; }
.tb-ops { flex:none; display:flex; align-items:center; border-left:1px solid #EEF2F7; }
.tb-op { width:30px; height:38px; line-height:38px; text-align:center; color:#8A94A6;
  cursor:pointer; font-size:13px; user-select:none; }
.tb-op:hover { background:#F4F8FC; color:#C0392B; }

/* ---- 上限提示条（不静默失败：满了必须看得见原因与下一步） ---- */
.tb-msg { display:none; flex:none; padding:9px 16px; font-size:12.5px; line-height:1.8;
  color:#8A4B00; background:#FFFBF2; border-bottom:1px solid #FFE0B2; }
.tb-msg b { color:#C0392B; }
.tabbar.shake { animation:tbShake .55s ease-in-out; }
@keyframes tbShake { 0%,100%{transform:translateX(0)} 20%{transform:translateX(-4px)}
  40%{transform:translateX(4px)} 60%{transform:translateX(-3px)} 80%{transform:translateX(3px)} }

/* ---- 内容区：每个标签一个 iframe，切换只切显示，不重载 ---- */
.tabpanes { flex:1 1 auto; position:relative; min-height:0; background:#F5F7FA; overflow:hidden; }
.tb-frame { position:absolute; left:0; top:0; width:100%; height:100%; border:0; display:block;
  background:#F5F7FA; }

/* ---- embed 模式（内容页在 iframe 里）：藏掉外壳残留，收紧内边距 ---- */
body.embed { background:#F5F7FA; }
body.embed .ie-banner { display:none; }
body.embed .app { display:block; height:auto; overflow:visible; }
body.embed .main { display:block; }
body.embed .content { padding:14px 16px 20px; }
body.embed .topbar, body.embed .side { display:none; }
/* 标签"数据可能已过期"小圆点（其他标签里改过数据后出现，点 ⟳ 刷新后消失） */
.tb-dot { display:inline-block; width:6px; height:6px; border-radius:50%; background:#E8842C;
  margin-right:1px; flex:none; }
