
  body { font-family: -apple-system, "Microsoft YaHei", Arial, sans-serif; margin: 24px; color: #222; background: #f7f8fa; }
  #app { max-width: 1480px; margin: 0 auto; }
  .card { background: #fff; border: 1px solid #e3e5e8; border-radius: 10px; padding: 16px 18px; margin-bottom: 14px; }
  h2 { font-size: 16px; margin: 0 0 10px; font-weight: 500; }
  h3 { font-size: 14px; margin: 14px 0 6px; font-weight: 500; }
  table { border-collapse: collapse; width: 100%; font-size: 13px; margin: 6px 0; }
  th, td { border: 1px solid #e6e8eb; padding: 5px 8px; text-align: left; }
  th { background: #f2f4f7; font-weight: 500; }
  tr.sel { background: #e8f2ff; }
  td.kcol { background: #fff8e1; font-weight: 500; }
  th.kcol { background: #fdf0cf; }
  button { padding: 6px 12px; margin: 3px 6px 3px 0; cursor: pointer; border: 1px solid #c9ced6;
           background: #fff; border-radius: 6px; font-size: 13px; }
  button.primary { background: #1677ff; color: #fff; border-color: #1677ff; }
  button.danger { color: #c0392b; border-color: #e0b4b4; }
  button.btn-add { background: #52c41a; color: #fff; border-color: #52c41a; }
  button.btn-add:hover { background: #73d13d; border-color: #73d13d; }
  /* 按钮内加载动画:用 currentColor 适配彩色/灰色按钮文字色 */
  .spin { display: inline-block; width: 13px; height: 13px; box-sizing: border-box;
          border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
          animation: spin .7s linear infinite; margin-right: 6px; vertical-align: -2px; opacity: .8; }
  @keyframes spin { to { transform: rotate(360deg); } }
  button:disabled { opacity: .45; cursor: not-allowed; }
  .muted { color: #888; font-size: 12px; }
  .guide { background: #f0f7ff; border-left: 3px solid #1677ff; padding: 8px 12px; font-size: 13px; margin-bottom: 10px; line-height: 1.7; }
  .notice { background: #fff7e6; border-left: 3px solid #fa8c16; padding: 8px 12px; font-size: 13px; margin: 8px 0; }
  .notice.warn { background: #fff1f0; border-left-color: #ff4d4f; }
  /* 帮助图标:点击弹出解释说明,界面更整洁 */
  .help-icon { display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; border-radius:50%; background:#e6e8eb; color:#555; font-size:12px; cursor:pointer; margin-left:6px; user-select:none; vertical-align:middle; }
  .help-icon:hover { background:#d0d5dd; }
  .help-title { display:inline-flex; align-items:center; }
  /* 设置按钮视觉区分 */
  button.btn-col { background:#f7f9fc; color:#4b5563; border-color:#d0d5dd; }
  button.btn-weight { background:#e6f4ff; color:#1677ff; border-color:#91caff; }
  button.btn-weight:hover { background:#d6eefc; }
  /* 模式切换行右侧分组:阈值 + 两个设置按钮,统一靠右、可换行 */
  .ms-right { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .thr-inline { font-size: 13px; color: #555; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
  .thr-input { width: 60px; padding: 2px 6px; border: 1px solid #d0d5dd; border-radius: 6px; }
  .phase-bar { display: flex; gap: 8px; margin: 10px 0; }
  .phase-bar button { padding: 6px 14px; border: 1px solid #d9d9d9; background: #fafafa; border-radius: 8px; cursor: pointer; font-size: 13px; }
  .phase-bar button.active { background: #1677ff; color: #fff; border-color: #1677ff; }
  /* 双池子交叉匹配 */
  .pool-wrap { display: flex; gap: 24px; margin: 12px 0; align-items: stretch; }
  .pool { flex: 1 1 0; min-width: 0; border: 1px solid #e3e5e8; border-radius: 12px; padding: 14px 18px; background: #fcfcfd; box-shadow: 0 1px 4px rgba(0,0,0,.05); display: flex; flex-direction: column; }
  .pool-cap { font-weight: 600; font-size: 14px; margin-bottom: 8px; color: #1f2329; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
  .pool-search { width: 172px; max-width: 46%; padding: 4px 9px; border: 1px solid #d0d5dd; border-radius: 7px; font-size: 13px; background: #fff; }
  .pool-search:focus { outline: none; border-color: #1677ff; box-shadow: 0 0 0 2px rgba(22,119,255,.12); }
  /* 左池工具组:排序 + 筛选(与右池筛选框视觉对齐) */
  .pool-tools { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .pool-sort { font-size: 12px; color: #6b7280; display: inline-flex; align-items: center; gap: 4px; }
  /* 池排序下拉已改用 el-select,原 .pool-sel 原生 select 样式已移除 */
  /* 左池序号列(替代原 ghost 占位列,保持与右池「选」列等宽以对齐数据) */
  table.align-tbl th.col-seq, table.align-tbl td.col-seq { width: 40px; min-width: 40px; max-width: 40px; box-sizing: border-box; text-align: center; color: #9aa3b2; font-size: 12px; font-variant-numeric: tabular-nums; }
  table.align-tbl th.col-seq { background: #f5f7fa; }
  .pool-list { max-height: 600px; flex: 1 1 auto; overflow: auto; scrollbar-gutter: stable; border: 1px solid #eef0f3; border-radius: 8px; }
  /* 上下两块天然对齐:scrollbar-gutter 给两个池都预留滚动条槽位,避免候选列表出现滚动条时比源数据表窄一截导致错列 */
  .pool tr.sel { background: #e6f4ff; outline: 2px solid #1677ff; outline-offset: -2px; }
  /* 逐条引导:命中高亮(绿=名称等关键列强匹配,浅蓝=其它字段弱匹配) */
  .pool tr td.hit-strong { background: #b7eb8f !important; }
  .pool tr td.hit-soft { background: #d6f0ff !important; }
  .pool tr.best-row td:first-child { box-shadow: inset 3px 0 0 #52c41a; }
  .tag-best { display: inline-block; margin-left: 4px; padding: 0 4px; font-size: 10px; line-height: 14px; color: #fff; background: #52c41a; border-radius: 4px; vertical-align: middle; }
  /* 拼音对比命中的小标注:匹配度高但靠拼音(原文不同音同字)才出现 */
  .tag-py { display: inline-block; margin-left: 4px; padding: 0 4px; font-size: 10px; line-height: 14px; color: #fff; background: #d4380d; border-radius: 4px; vertical-align: middle; }
  .pool tr td.hit-py { box-shadow: inset 0 0 0 1px #ffa39e; }
  .py-mark { font-size: 9px; color: #d4380d; margin-left: 3px; vertical-align: super; font-weight: 700; }
  .pool tr.cand { background: #fffbe6; }
  .pool tr.cand.sel { background: #e6f4ff; }
  .pool input[type=radio] { margin: 0; }
  /* 表格区:字号/行高放大,表头吸顶,斑马纹 + 悬停高亮 */
  .pool .pool-list table { font-size: 13px; }
  .pool .pool-list table th, .pool .pool-list table td { padding: 7px 10px; }
  .pool .pool-list table thead th { position: sticky; top: 0; z-index: 3; }
  .pool .pool-list table thead th.ghost-col { background: #fcfcfd !important; }
  /* 逐条引导:① 当前源数据人(单行)略高更醒目;② 候选表限高,避免把底部「返回/去预览」挤出屏幕 */
  .pool.guide-src .pool-list { min-height: 92px; }
  .pool.guide-src .pool-list table td { padding: 15px 12px; font-size: 13.5px; }
  .pool.guide-cands .pool-list { max-height: 320px; }
  .pool tbody tr.clickable:hover:not(.sel) { background: #f0f7ff; }
  .pool tbody tr.clickable:nth-child(even):not(.sel):not(.best-row) { background: #fafbfc; }
  .pool tbody tr.clickable:nth-child(even):not(.sel):not(.best-row):hover { background: #f0f7ff; }
  .three-list { border: 1px solid #e3e5e8; border-radius: 10px; margin: 10px 0; overflow: hidden; }
  .tl-head { padding: 10px 14px; background: #f7f9fc; cursor: pointer; font-size: 13px; }
  .tl-head .tag { margin-left: 8px; }
  .tl-body { padding: 10px 14px; }
  .tl-block { margin-bottom: 10px; }
  .tl-title { font-weight: 600; font-size: 13px; margin-bottom: 4px; }
  .tl-rows { max-height: 220px; overflow: auto; border: 1px solid #eee; border-radius: 8px; padding: 4px 8px; background: #fff; }
  .tl-row { font-size: 12px; padding: 3px 0; border-bottom: 1px dashed #f0f0f0; }
  .filter-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 8px 0; font-size: 13px; }
  .filter-bar select { padding: 3px 6px; }
  .exp-list { font-size: 13px; line-height: 1.8; }
  /* ⑧ 保存并导出:三份文件的下载卡 */
  .dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 12px 0 4px; }
  .dl-item { border: 1px solid #e3e5e8; border-radius: 10px; padding: 12px 14px; background: #fbfcfe;
             display: flex; flex-direction: column; }
  .dl-item.done { border-color: #b7e0c4; background: #f6fdf8; }
  .dl-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
  .dl-name { font-weight: 600; font-size: 14px; color: #303133; }
  .dl-badge { font-size: 11px; color: #6b7a90; background: #eef2f7; border-radius: 4px; padding: 1px 6px; }
  .dl-desc { font-size: 12px; color: #8a94a6; line-height: 1.6; flex: 1; margin-bottom: 10px; }
  .dl-foot { display: flex; align-items: center; gap: 10px; }
  .dl-ok { font-size: 12px; color: #22a05a; }
  .hint { color: #777; font-size: 12px; margin-bottom: 6px; }
  .kv > span { margin-right: 18px; }
  select, input[type=text] { padding: 4px 6px; font-size: 13px; }
  .chk-wrap label { display: inline-block; margin: 3px 12px 3px 0; font-size: 13px; }
  .stepper { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px;
             background: #fff; border: 1px solid #e3e5e8; border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; }
  .stepper .st { padding: 4px 10px; border-radius: 14px; background: #f2f4f7; color: #888; }
  .stepper .st.done { background: #e8f5e9; color: #2e7d32; }
  .stepper .st.on { background: #1677ff; color: #fff; }
  .stepper .arw { color: #bbb; }
  .tag { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 12px; margin-right: 6px; }
  .tag.auto { background: #e8f5e9; color: #2e7d32; }
  .tag.confirm { background: #fff7e6; color: #ad6800; }
  .tag.manual { background: #e8f2ff; color: #1677ff; }
  .tag.add { background: #f3e8ff; color: #722ed1; }
  .tag.pending { background: #f1efe8; color: #777; }
  .stat { font-size: 14px; margin: 4px 0; }
  .split { display: flex; gap: 16px; flex-wrap: wrap; }
  .split > div { flex: 1 1 380px; }
  .diff .old { color: #999; text-decoration: line-through; margin-right: 4px; }
  .src-table td:first-child { background: #f7f9fc; width: 90px; }
  .clickable { cursor: pointer; }
  /* loading 遮罩 + 进度条 */
  .overlay { position: fixed; inset: 0; background: rgba(255,255,255,.98); z-index: 999;
             display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .spinner { width: 42px; height: 42px; border: 4px solid #cfe0ff; border-top-color: #1677ff;
             border-radius: 50%; animation: spin .8s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .loading-msg { margin-top: 14px; font-size: 14px; color: #333; }
  .loading-sub { margin-top: 6px; font-size: 12px; color: #888; }
  .bar { width: 320px; height: 10px; background: #e6e8eb; border-radius: 6px; margin-top: 12px; overflow: hidden; }
  .bar-fill { height: 100%; background: #1677ff; transition: width .2s; }
  .bar-indeterminate { width: 320px; height: 10px; background: #e6e8eb; border-radius: 6px; margin-top: 12px; overflow: hidden; position: relative; }
  .bar-indeterminate::after { content: ''; position: absolute; left: -40%; top: 0; height: 100%; width: 40%;
              background: #1677ff; border-radius: 6px; animation: indet 1.1s ease-in-out infinite; }
  @keyframes indet { 0% { left: -40%; } 100% { left: 100%; } }
  /* 主表(蓝)/更新表(绿)同构表格配色 */
  /* 核对区:主表在上、更新表在下(纵向堆叠,不再左右并排) */
  .cmp-wrap { display: block; }
  .cmp-wrap > div { margin-bottom: 10px; }
  .cmp-cap { font-size: 13px; font-weight: 600; margin: 10px 0 5px; }
  .cmp-cap.main { color: #0b5cc9; }
  .cmp-cap.update { color: #1a8a4f; }
  table.tbl-main, table.tbl-main th, table.tbl-main td { border-color: #bcd8ff; }
  table.tbl-main th { background: #e8f2ff; color: #0b5cc9; }
  table.tbl-update, table.tbl-update th, table.tbl-update td { border-color: #b6e6c9; }
  table.tbl-update th { background: #e8f8ef; color: #1a8a4f; }
  .cmp-card { border: 1px solid #e3e5e8; border-radius: 8px; padding: 10px; background: #fff; }

  /* 核对区:匹配键(琥珀) / 待替换(蓝) / 已变化(深蓝) / 主表旧值(虚线) */
  .tbl-main th.mkey, .tbl-update th.mkey { background: #ffe0b2 !important; color: #b45309 !important; }
  .tbl-main td.mkey, .tbl-update td.mkey { background: #fff3e0 !important; box-shadow: inset 3px 0 0 #f59e0b; font-weight: 600; }
  .tbl-update th.rep { background: #e3f0ff !important; color: #1d4ed8 !important; }
  .tbl-update td.rep { background: #eaf3ff; box-shadow: inset 3px 0 0 #2563eb; }
  .tbl-update td.chg { background: #cfe2ff !important; color: #1e3a8a; font-weight: 600; box-shadow: inset 3px 0 0 #1d4ed8; }
  .tbl-main td.oldval { box-shadow: inset 3px 0 0 #93c5fd; color: #64748b; }

  /* 核对区模式切换 / 分页工具栏 */
  .rv-bar { display: flex; align-items: center; gap: 14px; margin: 6px 0 10px; flex-wrap: wrap; }
  .seg { display: inline-flex; border: 1px solid #d0d5dd; border-radius: 8px; overflow: hidden; }
  .seg button { border: 0; background: #fff; padding: 6px 14px; cursor: pointer; font-size: 13px; }
  .seg button.on { background: #1677ff; color: #fff; }
  .rv-tools { display: flex; align-items: center; gap: 14px; margin: 6px 0 10px; flex-wrap: wrap; }
  .rv-tools select { padding: 4px 6px; }
  .rv-pager { display: flex; align-items: center; gap: 12px; margin: 10px 0; flex-wrap: wrap; }
  .colpick { border: 1px dashed #c9d3de; background: #fbfcfe; border-radius: 6px;
             padding: 8px 10px; margin: 0 0 10px; }
  .colpick-item { display: inline-block; min-width: 132px; margin: 2px 8px 2px 0; font-size: 13px; }
  .colpick-item input { vertical-align: -1px; margin-right: 4px; }
  /* 上下对照表:逐格严格对齐 —— 两侧表必须「列数相同 + 指定宽度相同」,
     因此给每张表补齐同样的占位列(ghost),再加 table-layout:fixed + width:100%,
     保证上下两张表的第 N 格宽度完全一致,不会错格错行。 */
  table.align-tbl { table-layout: fixed; width: 100%; }
  /* 占位列:另一张表在该位置有「选 / 来源」等操作列,本表没有,用透明占位列补齐宽度 */
  table.align-tbl th.col-pick, table.align-tbl td.col-pick { width: 40px; min-width: 40px; max-width: 40px; box-sizing: border-box; }
  table.align-tbl th.col-src,  table.align-tbl td.col-src  { width: 120px; min-width: 120px; max-width: 120px; box-sizing: border-box; white-space: nowrap; text-align: center; vertical-align: middle; }
  th.ghost-col, td.ghost-col { background: transparent !important; border: 0 !important;
                               box-shadow: none !important; }
  /* 未映射列(只在某一张表里存在):斜纹标注,提示它不是双表对应关系 */
  .tbl-main th.orphan, .tbl-main td.orphan,
  .tbl-update th.orphan, .tbl-update td.orphan { font-style: italic; opacity: .82; }
  table.align-tbl th.empty, table.align-tbl td.empty {
    background: repeating-linear-gradient(45deg, #fafafa, #fafafa 6px, #f2f2f2 6px, #f2f2f2 12px);
    color: #b6bcc4; font-style: italic; text-align: center;
  }
  .mkey-badge { display: inline-block; margin-left: 8px; padding: 2px 8px; background: #fff3e0;
                color: #b45309; border: 1px solid #ffd591; border-radius: 6px; font-size: 12px; }
  .diff .new { color: #1d4ed8; }
  /* ⑦ 对比预览:一行一条的紧凑横向对照表 */
  table.pv-tbl { table-layout: fixed; width: 100%; border-collapse: collapse; }
  table.pv-tbl th, table.pv-tbl td { border: 1px solid #eef0f3; padding: 4px 7px;
    font-size: 12px; vertical-align: top; line-height: 1.4; word-break: break-all; }
  table.pv-tbl thead th { background: #f5f7fa; color: #4a5160; font-weight: 600;
    text-align: left; position: sticky; top: 0; }
  table.pv-tbl td.c-idx { color: #8a929e; text-align: center; white-space: nowrap; }
  table.pv-tbl th.mkey { background: #fff3e0; color: #b45309; }
  table.pv-tbl td.mkey { background: #fffaf0; }
  table.pv-tbl td.chg { background: #eaf3ff; }
  table.pv-tbl td.chg .new { color: #1d4ed8; }
  table.pv-tbl td.chg .old { color: #9aa3ad; text-decoration: line-through; margin-right: 2px; }
  table.pv-tbl td.chg .arr { color: #1d4ed8; margin: 0 2px; }
  /* 预览单元格:上下两行(源 / 改后),清晰对照"数据源是啥、改成了啥" */
  table.pv-tbl td .cv-src { color: #8a929e; font-size: 11px; line-height: 1.35; }
  table.pv-tbl td .cv-now { font-size: 12px; line-height: 1.4; margin-top: 1px; }
  table.pv-tbl td .cv-now.chg { color: #1d4ed8; font-weight: 600; background: #eaf3ff; border-radius: 4px; padding: 0 3px; }
  table.pv-tbl td .cv-now.new { color: #722ed1; font-weight: 600; }
  table.pv-tbl td.new .new, table.pv-tbl td .new { color: #722ed1; font-weight: 600; }
  table.pv-tbl td.orphan, table.pv-tbl th.orphan { font-style: italic; opacity: .82; }
  table.pv-tbl tr.rowNew td { background: #faf5ff; }
  table.pv-tbl tr.rowSkip td { background: #f8f9fb; color: #8a929e; }
  table.pv-tbl tr.rowPend td { background: #fffdf5; }
  .pv-page { display: flex; align-items: center; gap: 12px; margin: 10px 0 4px; flex-wrap: wrap; }
  .pv-page .pg-sz .el-select { vertical-align: middle; }
  .pv-page .pg-num { font-size: 13px; color: #4a5160; }
  .pv-page button { padding: 4px 12px; }
  /* 智能预填·依据弹窗 */
  .modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.35); display: flex;
                align-items: center; justify-content: center; z-index: 50; }
  .modal { background: #fff; border-radius: 12px; padding: 20px 22px; width: min(680px, 92vw);
           max-height: 86vh; overflow: auto; box-shadow: 0 8px 30px rgba(0,0,0,.2); }
  .modal h3 { margin: 0 0 8px; }
  table.suggest-tbl { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 13px; }
  table.suggest-tbl th, table.suggest-tbl td { border: 1px solid #e3e5e8; padding: 6px 8px; text-align: center; }
  table.suggest-tbl th { background: #f5f6f8; }
  table.suggest-tbl tr.rec { background: #e8f2ff; }
  table.suggest-tbl tr.rec td { font-weight: 600; }
  table.suggest-tbl tr.clickable { cursor: pointer; }
  table.suggest-tbl tr.clickable:hover { background: #f0f7ff; }
  table.suggest-tbl tr.baseline { color: #9aa0a6; background: #fafafa; }
  table.suggest-tbl tr.baseline td:first-child { font-style: italic; }
  /* 设置匹配主/辅条件弹窗:更规整的栅格行 + 分段角色 + 小标注 */
  .wp-list { max-height: 440px; overflow: auto; border: 1px solid #eef0f3; border-radius: 10px; padding: 0; margin: 8px 0; background: #fff; }
  .wp-head, .wp-row { display: grid; grid-template-columns: minmax(150px, 1.8fr) 150px 108px 92px; align-items: center; gap: 12px; padding: 9px 12px; }
  .wp-head { position: sticky; top: 0; z-index: 2; background: #f7f9fc; font-size: 12px; color: #8a9099; font-weight: 600; border-bottom: 1px solid #eef0f3; }
  .wp-row { border-bottom: 1px solid #f0f2f5; }
  .wp-row:last-child { border-bottom: none; }
  .wp-row:hover { background: #fafcff; }
  .wp-row.wp-inv { background: #fbfbfc; }
  .wp-field { font-weight: 600; color: #1f2329; }
  .wp-sub { font-size: 12px; color: #b0b4ba; margin-top: 2px; }
  .wp-sub.err { color: #c0392b; }
  .wp-roles { display: inline-flex; border: 1px solid #d0d5dd; border-radius: 8px; overflow: hidden; }
  .wp-pill { margin: 0; padding: 5px 12px; font-size: 13px; cursor: pointer; background: #f7f9fc; border-right: 1px solid #e3e5e8; user-select: none; line-height: 1; }
  .wp-pill:last-child { border-right: none; }
  .wp-pill.on { background: #1677ff; color: #fff; font-weight: 600; }
  .wp-pill input { display: none; }
  .wp-pill[disabled], .wp-pill.disabled { opacity: .5; cursor: not-allowed; }
  .wp-weight { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: #555; }
  .wp-winput { width: 54px; padding: 3px 6px; border: 1px solid #ccc; border-radius: 6px; }
  .wp-py { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; cursor: pointer; color: #555; }
  .wp-py.on { color: #1677ff; font-weight: 600; }
  .wp-py input { vertical-align: -1px; }
  /* 选中态:琥珀底 + 橙色左条,优先级高于 .rec 与 .baseline,且 hover 时不丢失高亮 */
  table.suggest-tbl tr.rec.selected,
  table.suggest-tbl tr.selected { background: #ffe1b0; }
  table.suggest-tbl tr.selected td { font-weight: 600; box-shadow: inset 3px 0 0 #fa8c16; }
  table.suggest-tbl tr.selected:hover { background: #ffd488; }
  /* 候选组合:主表/更新表分两行展示,颜色区分(蓝=主表,绿=更新表) */
  table.suggest-tbl td.combo-cell { text-align: left; line-height: 1.5; }
  table.suggest-tbl td.combo-cell .combo-line { white-space: nowrap; }
  table.suggest-tbl td.combo-cell .combo-side { display: inline-block; min-width: 52px; font-size: 11px;
    padding: 0 4px; border-radius: 3px; margin-right: 6px; color: #fff; }
  table.suggest-tbl td.combo-cell .combo-side.main { background: #1677ff; }
  table.suggest-tbl td.combo-cell .combo-side.update { background: #2e9e5b; }
  .tag.rec { background: #fff7e6; color: #ad6800; border: 1px solid #ffd591; }
  .tag.pending { background: #eceff1; color: #607d8b; border: 1px solid #cfd8dc; padding: 1px 6px; border-radius: 4px; font-size: 11px; }
  .rate-bar { display: inline-block; height: 8px; border-radius: 4px; background: #1677ff; vertical-align: middle; }
  /* ===== Toast 提示(右上角弹出,三类关闭) ===== */
  .toast-wrap { position: fixed; top: 18px; right: 18px; z-index: 1300; display: flex; flex-direction: column; gap: 10px;
                width: 344px; max-width: calc(100vw - 36px); pointer-events: none; }
  .toast { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 10px;
           box-shadow: 0 6px 20px rgba(0,0,0,.14); font-size: 13px; line-height: 1.5; background: #fff;
           border: 1px solid #e3e5e8; border-left-width: 4px; pointer-events: auto; animation: toast-in .18s ease; }
  .toast-ico { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center;
               justify-content: center; font-size: 11px; color: #fff; margin-top: 1px; font-weight: 700; }
  .toast-msg { flex: 1 1 auto; word-break: break-word; }
  .toast-x { flex: 0 0 auto; border: 0; background: transparent; font-size: 16px; line-height: 1; color: #999;
             cursor: pointer; padding: 0 2px; }
  .toast-x:hover { color: #333; }
  .toast-info   { border-left-color: #1677ff; } .toast-info   .toast-ico { background: #1677ff; }
  .toast-success{ border-left-color: #52c41a; } .toast-success .toast-ico { background: #52c41a; }
  .toast-warn   { border-left-color: #fa8c16; } .toast-warn   .toast-ico { background: #fa8c16; }
  .toast-error  { border-left-color: #ff4d4f; } .toast-error  .toast-ico { background: #ff4d4f; }
  @keyframes toast-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

  /* 操作区:底部左/右分栏(三分法:设置置顶 / 前进提交右下 / 后退导出左下) */
  .act-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
  .act-bar .act-left { display: flex; gap: 8px; flex-wrap: wrap; }
  .act-bar .act-right { display: flex; gap: 8px; flex-wrap: wrap; }
  .tool-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 8px 0 4px; }
  /* Element UI 对话框(原生弹窗)与当前风格做少量对齐 */
  .el-dialog { border-radius: 12px; }
  .el-dialog__title { font-weight: 600; color: #1f2329; }
  .el-dialog__body { color: #333; }
  .dlg-foot { display: flex; align-items: center; gap: 10px; }
  .dlg-foot.right { justify-content: flex-end; }
  .dlg-foot.between { justify-content: space-between; }

  /* 首页功能入口(可扩展卡片网格) */
  .home { max-width: 1100px; margin: 40px auto; padding: 0 16px; }
  .home-head { text-align: center; margin-bottom: 28px; }
  .home-head h1 { font-size: 26px; font-weight: 600; margin: 0 0 6px; color: #1f2329; }
  .feat-grid { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
  .feat-card { width: 320px; box-sizing: border-box; background: #fff; border: 1px solid #e3e5e8; border-radius: 12px; padding: 22px 18px; cursor: pointer; transition: all .15s; position: relative; }
  .feat-card:hover { border-color: #1677ff; box-shadow: 0 4px 14px rgba(22,119,255,.12); transform: translateY(-2px); }
  .feat-card.disabled { cursor: not-allowed; opacity: .6; }
  .feat-card.disabled:hover { transform: none; box-shadow: none; border-color: #e3e5e8; }
  .feat-ico { font-size: 34px; color: #1677ff; margin-bottom: 12px; }
  .feat-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; color: #1f2329; }
  .feat-desc { font-size: 13px; color: #888; line-height: 1.6; }
  .feat-soon { display: inline-block; margin-top: 10px; font-size: 11px; color: #bbb; border: 1px solid #eee; border-radius: 10px; padding: 1px 8px; }

  /* 首页实时统计面板 */
  .stat-panel { margin-top: 30px; background: #fff; border: 1px solid #e3e5e8; border-radius: 12px; padding: 18px 20px 20px; }
  .stat-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
  .stat-title { font-size: 15px; font-weight: 600; color: #1f2329; }
  .stat-sub { font-size: 12px; color: #999; }
  .stat-spacer { flex: 1 1 auto; }
  .stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  @media (max-width: 820px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .stat-tile { background: #f7f8fa; border: 1px solid #eef0f3; border-radius: 10px; padding: 14px 12px; text-align: center; }
  .stat-tile.hl { background: #f0f7ff; border-color: #cfe4ff; }
  .stat-num { font-size: 24px; font-weight: 600; color: #1677ff; line-height: 1.2; font-variant-numeric: tabular-nums; }
  .stat-tile.hl .stat-num { color: #0958d9; }
  .stat-label { margin-top: 6px; font-size: 12px; color: #7a8088; }

  /* 工作台顶栏 */
  .wb-bar { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; }
  .wb-title { font-size: 15px; font-weight: 600; color: #1f2329; }
  .wb-link { margin-left: auto; }
  /* 分步引导上传舞台 */
  .up-stage { max-width: 760px; margin: 8px 0; }