/* ============================================================================
 * 2026.v5248（光年指令）：管理端「全部作业」列表模式 —— Excel 专业版表格 增强层样式
 *  仅作用于列表模式表格（#lw-lt-head / #lw-lt-foot / #aj-list.aj-listmode 行）；
 *  图片模式与其它端零影响。回滚：删本文件 + admin.html 的两行引用 ✓
 * ========================================================================== */

/* ── 表头：可点排序 / 筛选钮 / 拖拽柄 ── */
#lw-lt-head > span { position: relative; cursor: pointer; }
#lw-lt-head > span:hover { background: #e3e9f3; }
#lw-lt-head > span .lw-lt-sort { font-size: 9px; color: #1d4ed8; font-weight: 800; margin-left: 2px; }
#lw-lt-head > span .lw-lt-sbtn {
  position: absolute; right: 3px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; line-height: 13px; padding: 0; text-align: center;
  border: 0; border-radius: 3px; background: transparent; color: #94a3b8;
  font-size: 10px; cursor: pointer;
}
#lw-lt-head > span .lw-lt-sbtn:hover { background: #cbd5e1; color: #0f172a; }
#lw-lt-head > span .lw-lt-sbtn.on { color: #b45309; font-weight: 800; }
#lw-lt-head > span .lw-lt-rz {
  position: absolute; right: -4px; top: 0; width: 8px; height: 100%;
  cursor: col-resize; z-index: 4;
}
#lw-lt-head > span .lw-lt-rz:hover { background: rgba(37,99,235,.25); }

/* ── 单元格：数字列右对齐 + 等宽数字 ── */
#aj-list.aj-listmode > .xh-upload-item > .lw-lt-num {
  justify-content: flex-end !important;
  text-align: right !important;
  font-variant-numeric: tabular-nums;
}
/* 柜号净单元格（4 字母 + 7 数字） */
#aj-list.aj-listmode > .xh-upload-item > .lw-lt-cn {
  font-weight: 600; color: #0f172a; letter-spacing: .2px;
  font-family: ui-monospace, Consolas, "Microsoft YaHei", monospace;
}

/* ── 2026.v5260：「更多」面板（列管理）里的列芯片 ✓（v5262 起改用列表式，保留以备兼容）── */
.lw-lt-pop .lp-cap { font-size: 11px; color: #64748b; margin: 8px 0 5px; }
.lw-lt-pop .lp-chip {
  font: inherit; font-size: 11.5px; line-height: 1.6; padding: 2px 9px; margin: 0 5px 5px 0;
  border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; color: #334155; cursor: pointer;
}
.lw-lt-pop .lp-chip:hover { border-color: #2563eb; color: #1d4ed8; background: #f5faff; }
.lw-lt-pop .lp-chip.on { background: #eef2f7; border-color: #94a3b8; font-weight: 600; }
.lw-lt-pop .lp-chip.on:hover { background: #fee2e2; border-color: #fca5a5; color: #dc2626; }
.lw-lt-pop { max-width: 390px; }

/* ============================================================================
 * 2026.v5262（光年指令）：专业版「列管理」面板（.cm-*）
 *   列表式、分两段（表头 / 卡片上其余元素）、替换必须手动选目标、每步可撤销 ✓
 * ========================================================================== */
.lw-lt-pop.cm-pop {
  padding: 0; width: 428px; max-width: 428px; max-height: 76vh;
  overflow: hidden; display: flex; flex-direction: column;
}
.cm-hd {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 12px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; flex: 0 0 auto;
}
.cm-hd b { font-size: 13px; color: #0f172a; }
.cm-cnt { font-size: 11.5px; font-weight: 700; color: #2563eb; background: #e8effa; border-radius: 999px; padding: 2px 9px; }
.cm-back { font: inherit; font-size: 11.5px; border: 0; background: transparent; color: #2563eb; cursor: pointer; padding: 0; }
.cm-note { font-size: 11px; line-height: 1.55; color: #64748b; padding: 8px 12px; background: #fbfdff; border-bottom: 1px solid #eef2f7; flex: 0 0 auto; }
.cm-note b { color: #0f172a; }
.cm-sec { font-size: 11.5px; font-weight: 700; color: #334155; padding: 9px 12px 4px; flex: 0 0 auto; }
.cm-sec em { font-style: normal; font-weight: 400; color: #b45309; }
.cm-list { overflow: auto; padding: 0 8px 6px; flex: 1 1 auto; min-height: 60px; max-height: 168px; }
.cm-row { display: flex; align-items: center; gap: 8px; padding: 3px 4px; border-radius: 6px; }
.cm-row:hover { background: #f5faff; }
.cm-row.on .cm-nm { font-weight: 600; color: #0f172a; }
.cm-no { width: 18px; flex: 0 0 auto; text-align: right; font-size: 11px; color: #94a3b8; }
.cm-nm { flex: 1 1 auto; font-size: 12px; color: #334155; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-btn {
  flex: 0 0 auto; font: inherit; font-size: 11px; line-height: 18px; height: 20px; padding: 0 8px;
  border: 1px solid #cbd5e1; border-radius: 5px; background: #fff; color: #334155; cursor: pointer;
}
.cm-btn:hover { border-color: #2563eb; color: #1d4ed8; background: #f5faff; }
.cm-btn.warn:hover { border-color: #f59e0b; color: #b45309; background: #fffbeb; }
.cm-btn.pri { background: #2563eb; border-color: #2563eb; color: #fff; font-weight: 700; }
.cm-btn.pri:hover { background: #1d4ed8; color: #fff; }
.cm-empty { font-size: 11.5px; color: #94a3b8; padding: 4px 6px 8px; }
.cm-row.lock { background: #f8fafc; }
.cm-row.lock .cm-nm { color: #94a3b8; }
.cm-row.lock .cm-btn { border-style: dashed; color: #94a3b8; cursor: default; }
.cm-row.lock .cm-btn:hover { border-color: #cbd5e1; color: #94a3b8; background: #fff; }

/* ── 2026.v5274：「更多」面板里 30 种表头风格的编号芯片 ✓ ── */
.lw-lt-pop .cm-styles { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 10px 9px; }
.lw-lt-pop .cm-sty {
  width: 30px; height: 24px; font: 600 11px/1 -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
  border: 1px solid #cbd5e1; border-radius: 6px; background: #fff; color: #475569; cursor: pointer;
}
.lw-lt-pop .cm-sty:hover { border-color: #2563eb; color: #1d4ed8; background: #f5faff; }
.lw-lt-pop .cm-sty.on { background: #2563eb; border-color: #2563eb; color: #fff; }
.cm-foot {
  display: flex; align-items: center; gap: 6px; justify-content: flex-end;
  padding: 8px 10px; background: #f8fafc; border-top: 1px solid #e2e8f0; flex: 0 0 auto;
}
.cm-undo {
  display: flex; align-items: center; gap: 8px; justify-content: space-between;
  margin: 0 8px 6px; padding: 6px 8px; font-size: 11.5px; color: #065f46;
  background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 6px;
}

/* ── 行选中 ──
   2026.v5254：改为【方案 10】的「浅蓝底 + 左侧 3px 主色条」——
   原来的 1.5px 蓝色内描边在密网格下太抢眼（用户选定的两案都没有描边）✓ */
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item.lw-lt-sel {
  background: #e8f2ff !important;
  box-shadow: inset 3px 0 0 0 #2563eb !important;
}

/* ── 底部汇总行 ── */
#lw-lt-foot {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 0; padding: 6px 10px;
  background: #f8fafc; border: 1px solid #cbd5e1; border-top: 2px solid #94a3b8;
  border-radius: 0 0 4px 4px;
  font: 600 12px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #334155; position: sticky; bottom: 0; z-index: 55;
}
#lw-lt-foot b { color: #0f172a; }
#lw-lt-foot .lf-sp { flex: 1 1 auto; }
#lw-lt-foot button {
  font: inherit; padding: 3px 10px; border: 1px solid #cbd5e1; border-radius: 5px;
  background: #fff; color: #334155; cursor: pointer;
}
#lw-lt-foot button:hover { border-color: #2563eb; color: #1d4ed8; }

/* ── 弹层（筛选 / 列显隐） ── */
.lw-lt-pop {
  position: fixed; z-index: 100000; min-width: 200px; max-width: 320px; max-height: 340px;
  overflow: auto; padding: 8px 10px;
  background: #fff; border: 1px solid #cbd5e1; border-radius: 8px;
  box-shadow: 0 12px 32px rgba(15,23,42,.22);
  font: 12.5px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #0f172a;
}
.lw-lt-pop h4 { margin: 0 0 6px; font-size: 12.5px; color: #0f172a; }
.lw-lt-pop input[type="text"] {
  width: 100%; box-sizing: border-box; margin-bottom: 6px; padding: 4px 6px;
  border: 1px solid #cbd5e1; border-radius: 5px; font: inherit;
}
.lw-lt-pop .lp-row { display: flex; align-items: center; gap: 6px; padding: 3px 2px; border-radius: 4px; cursor: pointer; }
.lw-lt-pop .lp-row:hover { background: #f1f5f9; }
.lw-lt-pop .lp-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lw-lt-pop .lp-note { color: #64748b; font-size: 11.5px; padding: 4px 2px; }
.lw-lt-pop .lp-btns { display: flex; gap: 6px; justify-content: flex-end; margin-top: 8px; position: sticky; bottom: -8px; background: #fff; padding-top: 6px; }
.lw-lt-pop .lp-btns button {
  font: inherit; padding: 4px 10px; border: 1px solid #cbd5e1; border-radius: 6px;
  background: #fff; color: #334155; cursor: pointer;
}
.lw-lt-pop .lp-btns button.pri { border-color: #2563eb; background: #2563eb; color: #fff; font-weight: 700; }

/* ── 提示条 ── */
.lw-lt-toast {
  position: fixed; right: 18px; bottom: 18px; z-index: 100001;
  background: #0f172a; color: #fff; padding: 8px 14px; border-radius: 8px;
  font: 13px/1.5 -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
  box-shadow: 0 10px 26px rgba(15,23,42,.35);
}

/* ============================================================================
 * 2026.v5406（光年指令）：表头固化 + 「更多」独立药丸
 *   · 药丸：落在工具条药丸行（复用 .xh-drv-pill 外观）
 *   · 面板：新增 列名搜索 / 上下移 / 视图工具 / 快捷筛选 / 导出 五块
 *   · 表头拖拽换序的落点高亮
 * 回滚：删本节 ✓
 * ========================================================================== */
.lw-lt-more-pill { display: inline-flex; align-items: center; gap: 4px; }
.lw-lt-more-pill > i { font-size: 12px; opacity: .85; }
#lw-lt-head > span.lw-lt-over { background: #dbeafe !important; box-shadow: inset 0 -2px 0 0 #2563eb; }
#lw-lt-head > span.lw-lt-drag { opacity: .55; }

.lw-lt-pop.cm-pop { width: 468px; max-width: 468px; max-height: 82vh; }
.cm-pop .cm-body { overflow: auto; flex: 1 1 auto; min-height: 90px; }
.cm-search { display: flex; align-items: center; gap: 6px; padding: 8px 10px 2px; flex: 0 0 auto; }
.cm-search input {
  flex: 1 1 auto; font: inherit; font-size: 12px; padding: 4px 7px;
  border: 1px solid #cbd5e1; border-radius: 6px; color: #0f172a;
}
.cm-search input:focus { outline: 0; border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37,99,235,.15); }
.cm-mv {
  flex: 0 0 auto; width: 20px; height: 20px; line-height: 18px; padding: 0;
  font: inherit; font-size: 11px; border: 1px solid #cbd5e1; border-radius: 5px;
  background: #fff; color: #475569; cursor: pointer;
}
.cm-mv:hover { border-color: #2563eb; color: #1d4ed8; background: #f5faff; }
.cm-tools { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 10px 8px; align-items: center; }
.cm-tools .cm-btn.on { background: #2563eb; border-color: #2563eb; color: #fff; font-weight: 700; }
.cm-dens { display: inline-flex; gap: 4px; margin-left: 3px; }
.cm-qfs .cm-btn { border-radius: 999px; }
.cm-fold { display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; }
.cm-fold i { font-style: normal; font-size: 11px; font-weight: 400; color: #64748b; }
.cm-list { max-height: 148px; }

/* ============================================================================
 * 2026.v5416（光年指令）：列表模式「零动画 · 尾帧直显」
 *   ① 切「列表模式」、列序调整、重绘一律不留过渡与入场动画（用户报「乱动画」）
 *   ② 表头可抓（cursor:grab），拖动中 cursor:grabbing —— 拖拽换列序的可用性提示
 *   范围：仅 #aj-list.aj-listmode；图片模式与其它端零影响 ✓ 回滚：删本节 ✓
 * ========================================================================== */
#aj-list.aj-listmode,
#aj-list.aj-listmode * {
  transition: none !important;
  animation: none !important;
}
#aj-list.aj-listmode { opacity: 1 !important; }
#lw-lt-head > span { cursor: grab; }
#lw-lt-head > span.lw-lt-drag { cursor: grabbing; }
#lw-lt-head > span .lw-lt-rz { cursor: col-resize !important; }

/* 2026.v5420（光年指令）：「更多」药丸落在汇总条（#lw-lt-foot）内「复制全表」左侧 —— 与汇总条按钮同款、只多一个前置图标 ✓ */
#lw-lt-foot .lw-lt-more-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font: inherit; padding: 3px 10px; border: 1px solid #cbd5e1; border-radius: 5px;
  background: #fff; color: #334155; cursor: pointer;
}
#lw-lt-foot .lw-lt-more-pill:hover { border-color: #2563eb; color: #1d4ed8; }
#lw-lt-foot .lw-lt-more-pill > i { font-size: 12px; opacity: .85; }
#lw-lt-foot .lw-lt-more-pill > i.lw-ic-arrow-down { opacity: .6; }

/* ============================================================================
 * 2026.v5434（光年指令）：本节的"图片模式药丸下移"规则【已删除】
 *   · 图片模式：改由 admin-card-image.css 末尾那条同选择器规则定局（那边特异性够 ✓）
 *   · 列表模式：由 aj-listmode-table.js 的 styleCell 写内联（内联 !important，CSS 压不住）✓
 *   删因：本文件的选择器只有 1 个 id 特异性，从来压不过 admin-card-image.css（3 个 id），
 *         属于"看着生效其实没生效"的死规则；且靠 JS 每 400ms 写内联 ⇒ 会跳 ✗
 * ========================================================================== */

/* ============================================================================
 * 2026.v5436（光年指令）：「图片 ⇄ 列表」切换期间【整块遮蔽】⇒ 首帧即尾帧
 *   病灶：切换时应用会重建行/重设布局，表格层只能"每帧增量补齐"⇒ 缝里露出的中间态
 *         （成表格但格子里还是卡片原始件 / 残留表头 / 半栅格行）会被画出来 ✗
 *   做法：任何"非终态"被检出的那一帧，先给 body 加 .lw-lt-switching（本规则把
 *         表头 + 列表整体遮住、禁交互、禁动画），同一帧内补齐/回退后立刻撤掉 ⇒
 *         能一帧修好时这层遮蔽根本不会被画出来；只有修补跨帧时才真正挡住视线 ✓
 *   范围：仅 .lw-lt-head 与 #aj-list（两个模式的【终态】一律不受影响）✓
 *   回滚：删本节 + 还原 aj-listmode-table.js 内 loop15 的判断与新增段 ✓
 * ========================================================================== */
body.lw-lt-switching .lw-lt-head,
body.lw-lt-switching #aj-list {
  opacity: 0 !important;
  transition: none !important;
  animation: none !important;
  pointer-events: none !important;
}
body.lw-lt-switching #aj-list *,
body.lw-lt-switching .lw-lt-head * {
  transition: none !important;
  animation: none !important;
}

/* ============================================================================
 * 2026.v5449（光年指令「还是很慢」续）：非终态的【CSS 兜底】——与 JS 时序完全无关
 *   背景：JS 守卫（v5436~v5448）已经把大部分中间态挡在同帧内，但"变更发生在我们检查之后、
 *         绘制之前"这类时序缝没法 100% 堵住（应用会整块重建 #aj-list、也会分多次插入行）
 *         ⇒ 压力测试仍偶发 1~4 帧"列表模式·有未表格化的行（行高 82）" ✗
 *   做法：让"非终态"在**被画出来的那一刻**就不可见（纯 CSS，零时序依赖）：
 *     ① 列表模式下"还没表格化的行"一律不可见（转换完成后自动恢复）✓
 *     ② 图片模式下"残留的表头"一律不显示 ✓
 *     ③ 列表模式下"还没摘 src 的照片"不显示（防照片条抢在行转换前被画出来）✓
 *   终态零影响：列表模式的行必有 data-lwlt；图片模式本就没有 .lw-lt-head ✓
 *   回滚：删本节（JS 守卫独立有效）✓
 * ========================================================================== */
#aj-list.aj-listmode > .xh-upload-item:not([data-lwlt]) {
  visibility: hidden !important;
}
#aj-list.aj-listmode .xh-upload-item:not([data-lwlt]) img {
  visibility: hidden !important;
}
body:has(#aj-list:not(.aj-listmode)) .lw-lt-head {
  display: none !important;
}

/* ==========================================================================
   2026.v5463（光年指令）：列表模式「表头拖动」动画明显 + 实时 + 精细完整
     .lw-lt-ghost  跟手幽灵（源列影子，浮起阴影+描边）
     .lw-lt-dchip  目标提示胶囊（插入到「X」之后 / 松手取消）
     .lw-lt-insline 精确插入线（与最终落位同侧边缘）
     .lw-lt-srcph  源列虚线占位
     表头格加 transform 过渡 ⇒ 其它列实时"让位"，松手后有收尾感 ✓
   仅列表模式表头用（admin.html 独有样式表）✓
   ========================================================================== */
#lw-lt-head > span { transition: transform .13s cubic-bezier(.2,.7,.2,1), opacity .13s ease; }
#lw-lt-head > span.lw-lt-srcph { opacity: .3 !important; box-shadow: inset 0 0 0 1px #b9c6dd !important; }
.lw-lt-ghost {
  position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none;
  display: flex; align-items: center; gap: 6px; box-sizing: border-box;
  padding: 0 10px; border-radius: 8px; white-space: nowrap; overflow: hidden;
  background: #fff; color: #1a2230; border: 1px solid #2f6fed;
  font: 600 12.5px -apple-system, "Microsoft YaHei", sans-serif;
  box-shadow: 0 10px 24px rgba(28,45,80,.22), 0 2px 6px rgba(28,45,80,.14);
  transition: transform .09s linear;
}
.lw-lt-ghost .lw-ic-edit, .lw-lt-ghost i { font-size: 12px; }
.lw-lt-dchip {
  position: fixed; left: 0; top: 0; z-index: 9998; pointer-events: none;
  padding: 3px 8px; border-radius: 999px; white-space: nowrap; color: #fff;
  background: rgba(47,111,237,.94);
  font: 600 11.5px -apple-system, "Microsoft YaHei", sans-serif;
  box-shadow: 0 6px 16px rgba(47,111,237,.28);
  transition: transform .09s linear;
}
.lw-lt-insline {
  position: fixed; left: 0; top: 0; z-index: 9997; width: 2px; border-radius: 2px;
  background: #2f6fed; box-shadow: 0 0 0 3px rgba(47,111,237,.18);
  pointer-events: none; opacity: 0; transition: left .09s ease, opacity .1s ease;
}

/* ==========================================================================
   2026.v5465：列宽竖线（.lw-lt-rz）命中区修精细
     实测：手柄宽 8px 且跨在格子右边界上，右半被【右邻列】盖住 ⇒ 点正中落到邻列、拖不出宽度 ✗
     ⇒ z-index 提到 6 + 用 ::after 左右各扩 4px（合计约 16px 手感带）✓
   ========================================================================== */
/* 2026.v5467（正解）：手柄改 right:0 + 宽 12px —— 整个挪进本格，命中区不再被右邻列抢走 ✓
   （v5465 抬 z-index / v5466 抬整格都无效：手柄 z-index 只在父格内有效；:hover 又由命中测试决定 ⇒ 鸡生蛋 ✗）
   视觉"竖线"来自格子边框、手柄底透明 ⇒ 挪动不可见 ✓ */
#lw-lt-head > span > .lw-lt-rz { z-index: 6 !important; right: 0 !important; width: 12px !important; }
/* 2026.v5468：筛选钮 ▾ 必须最上层 —— 否则会被上面的 12px 手柄盖住（v5467 实测点不动 ✗，违反既有功能） */
#lw-lt-head > span > .lw-lt-sbtn { z-index: 8 !important; }
#lw-lt-head > span > .lw-lt-rz::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -6px; right: 0;
}
/* 2026.v5466 试过"悬停抬整格"，实测无效（:hover 由命中测试决定、被 hover 的是右邻列）⇒ 已撤 ✓
   手柄自身的 :hover 蓝色提示沿用原来的（见本文件第 23 行）✓ */

/* ==========================================================================
   2026.v5472（光年：表头和值列要对齐）：清掉列表模式网格行的 column-gap
     实测：行网格残留 gap:5px（旧 flex-wrap 规则；gap 对 grid 同样生效）⇒ 每列右漂 5px、
           第 15 列累计 +71px ⇒ 表头与值列错位 ✗✗
     列宽已由显式网格模板精确算好（含 v5470 的一屏拟合）⇒ gap 必须为 0 ✓
     只作用于【已表格化的行】( :has([data-lwltcol]) ) ⇒ 过渡期的 flex 行不受影响 ✓
     行内其它 flex 容器（.xh-u/.xh-l/.xh-upl…）各自间距不变 ✓
   ========================================================================== */
#lw-lt-head { column-gap: 0 !important; row-gap: 0 !important; }
/* 2026.v5473：改用【后代】选择器 —— 实测真正的表格行不是 #aj-list 的直接子元素（直接子元素是 7 格的桩 ✗）*/
#aj-list.aj-listmode .xh-upload-item:has([data-lwltcol]) { column-gap: 0 !important; row-gap: 0 !important; }
.aj-listmode .xh-upload-item:has([data-lwltcol]) { column-gap: 0 !important; row-gap: 0 !important; }

/* ==========================================================================
   2026.v5476（光年指令）：列表模式「散货行」的柜号列 —— 黄底「散货」徽章
     散货卡没有真柜号 ⇒ 原来那格空着（还留细条残渣 ✗）；现改为黄底徽章 ✓
     仅列表模式生效（本样式表只被 admin.html 引用；徽章节点由表格层新建、退出列表模式即移除）✓
   ========================================================================== */
#aj-list.aj-listmode .lw-lt-bulk-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 20px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  font: 700 12px/1 -apple-system, "Microsoft YaHei", sans-serif !important;
  color: #92400e !important;
  background: #fef3c7 !important;      /* 黄底 ✓ */
  border: 1px solid #fcd34d !important;
  white-space: nowrap !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   2026.v5493（光年：截图里表头与工具条"叠字"）—— 表头补不透明底色
   ★实测：表头 sticky(z=60) 但 background:rgba(0,0,0,0) ✗；工具条是 relative（随内容滚走）
     ⇒ 滚动时工具条文字从表头里"透出来" ✗（两者矩形并不重叠，是透视 ✗）
   ★底色取 #f4f6f9（与列表容器同色）⇒ 外观与现在完全一致、只把透字遮住 ✓
   ========================================================================== */
#lw-lt-head {
  background: #f4f6f9 !important;
  box-shadow: 0 1px 0 rgba(20, 40, 80, .08) !important;   /* 与正文一条细分隔，滚动时层次更清楚 ✓ */
}
#lw-lt-head > span { background: transparent; }            /* 格自身保持透明（hover 仍高亮 ✓）*/

/* ============================================================================
 * 2026.v5721（光年指令）：列表模式【重建】—— 样张 06「全网格线 · 浅灰表头」
 *   取自 20 款样张第 06 款：
 *     · 表头：浅灰底 #f8fafc + 字色 #334155 + 1px #e5e7eb 全网格（36px 高）
 *     · 行：白底（无斑马）+ 1px #e5e7eb 全网格
 *          （横线 = 行 border-bottom；竖线 = 单元格内联 border-right，见表格层 v5721）✓
 *     · 悬停整行 #f8fbff；选中 #e8f2ff ——【无左侧色条/竖条】（accent = 透明）✓
 *     · 容器：直角、无阴影、边框 #e5e7eb（Excel 表格观感）✓
 *   范围：仅 #aj-list.aj-listmode / #lw-lt-head（图片模式 + 其它端零影响）
 *   本文件后加载 ⇒ 同特异性下必胜（不改动原文件的既有规则，纯追加）✓
 *   回滚：删本节 ✓
 * ========================================================================== */
html body[data-module="admin"] #aj-list.aj-listmode {
  --lwt-row-h: 34px;
  --lwt-fs: 12.5px;
  --lwt-pad: 0 9px;
  --lwt-line-v: #e5e7eb;
  --lwt-line-h: 1px solid #e5e7eb;
  --lwt-bg: #fff;
  --lwt-zebra: #fff;
  --lwt-hover: #f8fbff;
  --lwt-sel: #e8f2ff;
  --lwt-accent: transparent;
  --lwt-radius: 0px;
  --lwt-shadow: none;
  border-color: #e5e7eb !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
/* 表头：浅灰 + 细网格 + 36px（换掉原先「浅灰底 + 2px 深灰双线」；排序/筛选/拖拽功能不变）✓ */
#lw-lt-head {
  height: 36px !important;
  background: #f8fafc !important;
  border: 1px solid #e5e7eb !important;
  border-top: 1px solid #e5e7eb !important;
  border-bottom: 1px solid #e5e7eb !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font: 600 12.5px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif !important;
  color: #334155 !important;
}
#lw-lt-head > span { height: 36px !important; border-right: 1px solid #e5e7eb !important; }
#lw-lt-head > span:last-child { border-right: 0 !important; }
#lw-lt-head > span:hover { background: #f1f5f9 !important; }
/* 行：白底无斑马；悬停/选中无左侧色条（光年明确：不要竖条）✓ */
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item { background: #fff !important; }
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item:nth-child(2n) { background: #fff !important; }
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item:hover { background: #f8fbff !important; box-shadow: none !important; }
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item.lw-lt-sel { background: #e8f2ff !important; box-shadow: none !important; }
/* 兼容风格库：任何风格都不再画左侧色条（06 款口径）✓ */
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item > [data-lwltcol] { box-shadow: none !important; }
#aj-list.aj-listmode.lwt-s15 > .xh-upload-item > [data-lwltcol="1"] { box-shadow: none !important; }
/* 汇总条：与表格同网格色（去掉原来的 2px 深灰顶线）✓ */
#lw-lt-foot {
  border: 1px solid #e5e7eb !important;
  border-top: 1px solid #e5e7eb !important;
  border-radius: 0 !important;
  background: #f8fafc !important;
}
/* 吸顶横滚条：与 36px 表头对齐（原 31px 是 28px 表头的高度）✓ */
#lw-lt-hbar { top: 38px !important; border-color: #e5e7eb !important; }
/* 空铅封输入框的占位文字（浅灰，与虚线框同色系）✓ */
html body[data-module="admin"] #aj-list.aj-listmode input.xh-seal-inp::placeholder { color: #a9b6c6 !important; }

/* ============================================================================
 * 2026.v5724（光年指令）：列表模式 —— 封掉"卡片装饰条"伪元素（就是那根一直没清掉的竖条）
 *   真凶（像素级取证）：`.xh-upload-top::before` = 3px × 14.5px 橙(#f59e0b)/蓝小竖条。
 *     它的宿主在列表模式被表格层设成 display:contents（为了把格子"透传"成行网格项）
 *     ⇒ 宿主自身不生成盒子，但**伪元素自己变成了行网格项**，在行左缘画出一条小竖条 ✗
 *     （所以无论怎么改行的边框/阴影都清不掉它 —— 它压根不是边框）
 *   修法：只在列表模式封掉这组装饰伪元素；图片模式该装饰条照旧 ✓
 *   回滚：删本节 ✓
 * ========================================================================== */
html body[data-module="admin"] #aj-list.aj-listmode .xh-upload-item .xh-upload-top::before,
html body[data-module="admin"] #aj-list.aj-listmode .xh-upload-item .xh-upload-top::after {
  display: none !important;
  content: none !important;
}

/* ===== 2026.v5782（光年指令）：表头 ▾ 的「筛选」弹层按商业版重做 =====
   范围：**只作用 .lw-lt-pop.lw-flt**（列筛选弹层）——「更多」面板与列管理面板不带该类，保持原样 ✓
   目标观感：12px 圆角 / 细边框 / 两层柔影 / 头部蓝竖条 + 分隔线 / 带放大镜的搜索框 + 蓝色聚焦环 /
             列表限高可滚（行高 30、hover 高亮、计数右对齐弱化）/ 底部浅底分隔线 +「清除本列」靠左文字按钮 */
.lw-lt-pop.lw-flt {
  padding: 0 !important;
  min-width: 236px;
  max-width: 300px !important;
  border: 1px solid #e6e8ee !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .14), 0 2px 6px rgba(15, 23, 42, .06) !important;
  overflow: hidden !important;
  background: #fff !important;
}
.lw-lt-pop.lw-flt .lw-flt-title {
  margin: 0 !important; padding: 10px 34px 10px 12px !important;
  font-size: 13px !important; font-weight: 600 !important; color: #0f172a;
  border-bottom: 1px solid #eef1f5; background: #fff;
}
.lw-lt-pop.lw-flt .lw-flt-title::before {
  content: ''; display: inline-block; width: 3px; height: 11px; border-radius: 2px;
  background: #2563eb; margin-right: 7px; vertical-align: -1px;
}
/* 拖拽柄：贴头部右端、低调化（仍可拖，顶在标题右侧） */
.lw-lt-pop.lw-flt .lw-drag-grip {
  position: absolute !important; top: 8px; right: 8px; z-index: 2;
  padding: 3px 5px !important; font-size: 10px !important; line-height: 1;
  color: #cbd5e1 !important; background: transparent !important;
}
.lw-lt-pop.lw-flt .lw-drag-grip:hover { color: #94a3b8 !important; background: #f1f5f9 !important; }
/* 搜索框：带放大镜图标 + 蓝色聚焦环 */
.lw-lt-pop.lw-flt .lw-flt-search {
  display: block !important; width: calc(100% - 24px) !important;
  margin: 10px 12px 8px !important; height: 30px !important;
  padding: 0 10px 0 28px !important;
  border: 1px solid #e2e8f0 !important; border-radius: 8px !important;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M20 20l-3.2-3.2'/></svg>") 9px 8px no-repeat !important;
  font-size: 12.5px !important; color: #1a2230 !important;
  box-shadow: none !important; outline: none !important;
}
.lw-lt-pop.lw-flt .lw-flt-search::placeholder { color: #9aa6b6 !important; }
.lw-lt-pop.lw-flt .lw-flt-search:focus {
  border-color: #2563eb !important; box-shadow: 0 0 0 3px rgba(37, 99, 235, .14) !important;
}
/* 值列表：限高可滚、行高 30、计数右对齐弱化 */
.lw-lt-pop.lw-flt .lw-flt-list { max-height: 236px; overflow: auto; padding: 2px 6px 6px; }
.lw-lt-pop.lw-flt .lw-flt-list::-webkit-scrollbar { width: 8px; }
.lw-lt-pop.lw-flt .lw-flt-list::-webkit-scrollbar-thumb { background: #dbe1ea; border-radius: 4px; }
.lw-lt-pop.lw-flt .lw-flt-list::-webkit-scrollbar-track { background: transparent; }
.lw-lt-pop.lw-flt .lp-row {
  gap: 8px !important; padding: 0 6px !important; height: 30px !important;
  border-radius: 7px !important; font-size: 12.5px !important;
}
.lw-lt-pop.lw-flt .lp-row:hover { background: #f4f7fb !important; }
.lw-lt-pop.lw-flt .lp-row .lp-t { flex: 1 1 auto; min-width: 0; }
.lw-lt-pop.lw-flt .lp-row .lp-n {
  flex: 0 0 auto; margin-left: 6px; color: #94a3b8 !important;
  font-variant-numeric: tabular-nums; font-size: 12px !important;
}
.lw-lt-pop.lw-flt .lp-row input[type="checkbox"] {
  accent-color: #2563eb; width: 14px; height: 14px; flex: 0 0 auto; margin: 0 !important;
}
.lw-lt-pop.lw-flt .lp-note { padding: 22px 4px !important; text-align: center; font-size: 12px !important; color: #94a3b8 !important; }
/* 底部操作区：浅底 + 上分隔线；「清除本列」靠左文字按钮，取消/确定靠右 */
.lw-lt-pop.lw-flt .lw-flt-foot {
  margin: 0 !important; padding: 9px 12px !important; gap: 8px !important;
  border-top: 1px solid #eef1f5; background: #fafbfd;
  position: sticky !important; bottom: 0 !important;
}
.lw-lt-pop.lw-flt .lw-flt-foot button {
  height: 28px !important; padding: 0 12px !important; border-radius: 7px !important;
  font-size: 12.5px !important; border: 1px solid #dbe1ea !important;
  background: #fff !important; color: #334155 !important; cursor: pointer;
}
.lw-lt-pop.lw-flt .lw-flt-foot button:hover { border-color: #b8c4d6 !important; background: #f8fafc !important; }
.lw-lt-pop.lw-flt .lw-flt-foot button:nth-child(2) {
  order: 1; margin-right: auto;
  border-color: transparent !important; background: transparent !important;
  color: #2563eb !important; font-weight: 500 !important; padding: 0 6px !important;
}
.lw-lt-pop.lw-flt .lw-flt-foot button:nth-child(2):hover { background: #eff5ff !important; }
.lw-lt-pop.lw-flt .lw-flt-foot button:nth-child(1) { order: 2; }
.lw-lt-pop.lw-flt .lw-flt-foot button.pri {
  order: 3; border-color: #2563eb !important; background: #2563eb !important;
  color: #fff !important; font-weight: 600 !important;
}
.lw-lt-pop.lw-flt .lw-flt-foot button.pri:hover { background: #1d4ed8 !important; border-color: #1d4ed8 !important; }

/* ===== 2026.v5969（光年指令）：「①全部作业」列表模式 · 柜号更直观显眼 =====
   实际渲染元素 = `.lw-lt-cn.lwlt-cell`（表格接管者在 pro.js）⇒ 用双类选择器 + 本文件后加载，
   稳压 .lwlt-cell 的 12.5px/400 ✓
   字体一律系统自带等宽（ui-monospace / SF Mono / Cascadia Mono / Consolas / Liberation Mono），
   **不引入商用字体、不加 @font-face、不加载 webfont** ✓ */
html body[data-module="admin"] #aj-list.aj-listmode .xh-upload-item .lw-lt-cn.lwlt-cell {
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Consolas, "Liberation Mono", Menlo, monospace !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  letter-spacing: .3px !important;
  line-height: 1.15 !important;
  font-variant-numeric: tabular-nums !important;
}
html body[data-module="admin"] #aj-list.aj-listmode .xh-upload-item .lw-lt-cn.lwlt-cell .lw-lt-p {
  color: #475569 !important;
  font-weight: 800 !important;
}
html body[data-module="admin"] #aj-list.aj-listmode .xh-upload-item .lw-lt-cn.lwlt-cell .lw-lt-n {
  color: #0b1220 !important;
  font-weight: 800 !important;
}

/* ===== 2026.v5973（光年指令）：「①全部作业」列表模式 ⇒ Excel 田字格（网格线连成片、更明显） =====
   原状：单元格只有很淡的右边框(#e5e7eb)、行底没有线 ⇒ 竖横不闭合、看着断 ✗
   现在：竖线 + 横线都画实、颜色加深；表头用更深的线并加粗底边；整表左右+顶部外框闭合 ✓ */
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item {
  border-bottom: 1px solid #cbd5e1 !important;
  box-sizing: border-box !important;
}
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item > [data-lwltcol] {
  border-right: 1px solid #cbd5e1 !important;
  box-sizing: border-box !important;
}
/* 表头：竖线 + 底边加深加粗（与数据行严丝合缝） */
html body[data-module="admin"] #lw-lt-head {
  border-top: 1px solid #94a3b8 !important;
  border-bottom: 2px solid #94a3b8 !important;
  box-sizing: border-box !important;
}
html body[data-module="admin"] #lw-lt-head > span {
  border-right: 1px solid #94a3b8 !important;
  box-sizing: border-box !important;
}
/* 整表左右外框闭合（首列左线 + 末列右线已由单元格右边框覆盖到最右） */
html body[data-module="admin"] #aj-list.aj-listmode {
  border-left: 1px solid #cbd5e1 !important;
  border-right: 1px solid #cbd5e1 !important;
  border-bottom: 1px solid #cbd5e1 !important;
  box-sizing: border-box !important;
}

/* ===== 2026.v5974：田字格竖线补全 —— 行内**所有**网格单元都画右线（不只带 data-lwltcol 的）=====
   （行里并非每列都带 data-lwltcol ⇒ 之前只有少数格子有线、其余空着，看着断 ✗） */
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item > * {
  border-right: 1px solid #cbd5e1 !important;
  box-sizing: border-box !important;
}

/* ===== 2026.v5976（光年指令）：列表模式柜号 = 图片模式（.cont-cn）同款字体 =====
   图片模式：15px / 700 / 无自定义 font-family（走全局 --font 系统无衬线）/ color var(--text)
   ⇒ 这里同步：去掉等宽栈与 13.5px/800，字号仍 15px（用户要求「大小不要去调整」）✓ */
html body[data-module="admin"] #aj-list.aj-listmode .xh-upload-item .lw-lt-cn.lwlt-cell {
  font-family: var(--font, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  font-variant-numeric: normal !important;
  line-height: 1.2 !important;
}
html body[data-module="admin"] #aj-list.aj-listmode .xh-upload-item .lw-lt-cn.lwlt-cell .lw-lt-p {
  font-weight: 700 !important;
  color: #475569 !important;
}
html body[data-module="admin"] #aj-list.aj-listmode .xh-upload-item .lw-lt-cn.lwlt-cell .lw-lt-n {
  font-weight: 700 !important;
  color: #1a2230 !important;
}

/* ===== 2026.v5981（光年指令）：柜号两段改 flex 排布（彻底解决重叠）+ 字号缩到 13.5px =====
   字体仍是图片模式（.cont-cn）那套系统无衬线（非等宽）✓ */
html body[data-module="admin"] #aj-list.aj-listmode .xh-upload-item .lw-lt-cn.lwlt-cell {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 3px !important;
  flex-wrap: nowrap !important;
  font-family: var(--font, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  font-variant-numeric: normal !important;
  line-height: 1.2 !important;
}
html body[data-module="admin"] #aj-list.aj-listmode .xh-upload-item .lw-lt-cn.lwlt-cell .lw-lt-p {
  display: inline-block !important;
  width: auto !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  padding: 0 !important;
  color: #475569 !important;
  font-weight: 700 !important;
}
html body[data-module="admin"] #aj-list.aj-listmode .xh-upload-item .lw-lt-cn.lwlt-cell .lw-lt-n {
  display: inline-block !important;
  width: auto !important;
  flex: 0 0 auto !important;
  color: #1a2230 !important;
  font-weight: 700 !important;
}

/* ===== 2026.v5983：列表模式「尺寸类型」列标签（复刻图片模式 40HQ 那种浅蓝胶囊）===== */
html body[data-module="admin"] #aj-list.aj-listmode .lw-lt-boxchip {
  display: inline-block !important;
  padding: 1px 7px !important;
  border-radius: 5px !important;
  background: #eef4ff !important;
  color: #2f6fed !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  line-height: 1.6 !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

/* ===== 2026.v5995（光年指令）：列表模式逐行区分加强 =====
   ① 斑马纹：奇数行白、偶数行浅蓝灰（#f4f8fe）—— 一眼就能顺着行读过去 ✓
   ② 悬停：整行淡蓝高亮（#e9f2ff），鼠标停在哪行一目了然 ✓
   ③ 行底线仍为 #cbd5e1（田字格不变）✓
   全部用 !important + 本文件最后加载，压得住卡片自带的内联背景 ✓ */
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item {
  background-color: #ffffff !important;
}
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item:nth-child(even) {
  background-color: #f4f8fe !important;
}
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item:hover {
  background-color: #e9f2ff !important;
}
/* 悬停时格子本身不要盖住行底色（部分格子自带白底）✓ */
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item:hover > * {
  background-color: transparent !important;
}

/* ===== 2026.v5996：斑马纹加深（#f4f8fe 太淡看不出）=====
   偶数行 #eaf2fd、悬停 #d8e8ff、行底线 #b9c6da ⇒ 逐行区分非常明显，仍是田字格 ✓ */
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item {
  background-color: #ffffff !important;
  border-bottom: 1px solid #b9c6da !important;
}
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item:nth-child(even) {
  background-color: #eaf2fd !important;
}
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item:hover {
  background-color: #d8e8ff !important;
}

/* ===== 2026.v5997：斑马纹加深一档（1:1 屏幕上也一眼看得出分行）===== */
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item:nth-child(even) {
  background-color: #e3eefd !important;
}
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item:hover {
  background-color: #cfe3ff !important;
}

/* ===== 2026.v5999（光年：保存后无感刷新）：刷新窗口内关掉列表的过渡/动画，只换变化的那一格 ✓ ===== */
html body #aj-list.lw-quiet-now,
html body #aj-list.lw-quiet-now * {
  transition: none !important;
  animation: none !important;
}

/* ===== 2026.v6002（光年指令）：列表模式行高亮改黄色 =====
   悬停 #fff3c2（浅黄）、选中 #ffe58a（金黄）、选中且悬停 #ffdc6b（更深）✓
   同时把行内自带白底的格子设为透明，保证整行黄得完整 ✓ */
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item:hover {
  background-color: #fff3c2 !important;
}
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item.is-selected {
  background-color: #ffe58a !important;
}
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item.is-selected:hover {
  background-color: #ffdc6b !important;
}
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item:hover > *,
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item.is-selected > * {
  background-color: transparent !important;
}

/* ===== 2026.v6003（光年指令）：图片模式卡片 · 悬停/选中 黄色高亮 =====
   （列表模式的黄色高亮见 v6002；此处针对 .aj-listmode 之外的卡片态）✓ */
html body[data-module="admin"] #aj-list:not(.aj-listmode) > .xh-upload-item:hover {
  background-color: #fff3c2 !important;
  border-color: #f0c419 !important;
}
html body[data-module="admin"] #aj-list:not(.aj-listmode) > .xh-upload-item.is-selected {
  background-color: #ffe58a !important;
  border-color: #e0a800 !important;
}
html body[data-module="admin"] #aj-list:not(.aj-listmode) > .xh-upload-item.is-selected:hover {
  background-color: #ffdc6b !important;
}
/* 内部白底小格（箱主/铅封输入）在悬停/选中时让出底色，保证整卡黄得完整 ✓ */
html body[data-module="admin"] #aj-list:not(.aj-listmode) > .xh-upload-item:hover .xh-cn-owner-sel,
html body[data-module="admin"] #aj-list:not(.aj-listmode) > .xh-upload-item:hover .xh-seal-inp,
html body[data-module="admin"] #aj-list:not(.aj-listmode) > .xh-upload-item.is-selected .xh-cn-owner-sel,
html body[data-module="admin"] #aj-list:not(.aj-listmode) > .xh-upload-item.is-selected .xh-seal-inp {
  background-color: transparent !important;
}

/* ===== 2026.v6004：图片模式卡片高亮改用「整卡黄色蒙层」（白底小格也一起黄）===== */
html body[data-module="admin"] #aj-list:not(.aj-listmode) > .xh-upload-item::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  pointer-events: none !important;
  background-color: transparent !important;
  z-index: 1 !important;
  transition: background-color .12s !important;
}
html body[data-module="admin"] #aj-list:not(.aj-listmode) > .xh-upload-item:hover::after {
  background-color: rgba(255, 214, 64, .30) !important;
}
html body[data-module="admin"] #aj-list:not(.aj-listmode) > .xh-upload-item.is-selected::after {
  background-color: rgba(255, 205, 26, .45) !important;
}
html body[data-module="admin"] #aj-list:not(.aj-listmode) > .xh-upload-item.is-selected:hover::after {
  background-color: rgba(255, 196, 0, .55) !important;
}

/* ===== 2026.v6005：图片模式选中态多标记兼容（黄蒙层）===== */
html body[data-module="admin"] #aj-list:not(.aj-listmode) > .xh-upload-item.is-sel::after,
html body[data-module="admin"] #aj-list:not(.aj-listmode) > .xh-upload-item.sel::after,
html body[data-module="admin"] #aj-list:not(.aj-listmode) > .xh-upload-item[data-selected="1"]::after {
  background-color: rgba(255, 205, 26, .45) !important;
}
html body[data-module="admin"] #aj-list:not(.aj-listmode) > .xh-upload-item.is-sel,
html body[data-module="admin"] #aj-list:not(.aj-listmode) > .xh-upload-item.sel,
html body[data-module="admin"] #aj-list:not(.aj-listmode) > .xh-upload-item[data-selected="1"] {
  border-color: #e0a800 !important;
}

/* ===== 2026.v6052（光年指令）：列表模式柜号改用「等宽数字」，逐行严格对齐 =====
   说明：字体仍取图片模式同款的系统无衬线（免费、非商业），只是把数字切成等宽，
        这样 ATHU 1039952 / HJJU 7777777 两段的宽度一致，柜号列不再参差 ✓ */
html body[data-module="admin"] #aj-list .xh-upload-item .lw-lt-cn,
html body[data-module="admin"] #aj-list .xh-upload-item .lw-lt-cn .lw-lt-p,
html body[data-module="admin"] #aj-list .xh-upload-item .lw-lt-cn .lw-lt-n {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif !important;
  font-variant-numeric: tabular-nums !important;
  font-feature-settings: "tnum" 1 !important;
  letter-spacing: 0 !important;
  font-kerning: none !important;
}

/* ===== 2026.v6667：悬停/选中 由黄色改淡蓝（层次：hover < selected < selected+hover） ===== */
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item:hover {
  background-color: #eff6ff !important;
}
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item.is-selected {
  background-color: #dbeafe !important;
}
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item.is-selected:hover {
  background-color: #bfdbfe !important;
}
/* 图片模式同样换蓝（含边框） */
html body[data-module="admin"] #aj-list:not(.aj-listmode) > .xh-upload-item:hover {
  background-color: #eff6ff !important;
  border-color: #93c5fd !important;
}
html body[data-module="admin"] #aj-list:not(.aj-listmode) > .xh-upload-item.is-selected {
  background-color: #dbeafe !important;
  border-color: #60a5fa !important;
}
html body[data-module="admin"] #aj-list:not(.aj-listmode) > .xh-upload-item.is-selected:hover {
  background-color: #bfdbfe !important;
  border-color: #3b82f6 !important;
}

/* ===== 2026.v6668：箱主 / 提单号 / 铅封号1 —— 去控件框，改纯文本式（露出表格竖线） ===== */
html body[data-module="admin"] #aj-list.aj-listmode .xh-cn-owner-sel,
html body[data-module="admin"] #aj-list.aj-listmode .xh-cn-owner {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 0 2px !important;
  margin: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  line-height: 1.2 !important;
  font-size: 12px !important;
  color: #334155 !important;
  text-align: left !important;
  outline: 0 !important;
  cursor: pointer !important;
  appearance: auto !important;
  -webkit-appearance: auto !important;
}
html body[data-module="admin"] #aj-list.aj-listmode .xh-cn-owner-sel:hover,
html body[data-module="admin"] #aj-list.aj-listmode .xh-cn-owner:hover {
  text-decoration: underline dotted #93c5fd !important;
  text-underline-offset: 2px !important;
}

html body[data-module="admin"] #aj-list.aj-listmode .lw-cn-tag.lw-cn-bill {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 0 2px !important;
  margin: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  line-height: 1.2 !important;
  font-size: 12px !important;
  color: #334155 !important;
}
html body[data-module="admin"] #aj-list.aj-listmode .lw-cn-tag.lw-cn-bill:hover {
  text-decoration: underline dotted #93c5fd !important;
  text-underline-offset: 2px !important;
}

html body[data-module="admin"] #aj-list.aj-listmode input.xh-seal-inp {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 0 2px !important;
  margin: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  line-height: 1.2 !important;
  font-size: 12px !important;
  color: #334155 !important;
  text-align: left !important;
  outline: 0 !important;
  width: 100% !important;
}
html body[data-module="admin"] #aj-list.aj-listmode input.xh-seal-inp::placeholder {
  color: #cbd5e1 !important;
  font-size: 12px !important;
}
html body[data-module="admin"] #aj-list.aj-listmode input.xh-seal-inp:hover {
  text-decoration: underline dotted #93c5fd !important;
  text-underline-offset: 2px !important;
}
html body[data-module="admin"] #aj-list.aj-listmode input.xh-seal-inp:focus {
  text-decoration: none !important;
  box-shadow: inset 0 -1px 0 0 #3b82f6 !important;
}

/* ===== 2026.v6669：列表模式竖线贯通（表头 + 数据行都画，且列宽对齐） ===== */
html body[data-module="admin"] #aj-list.aj-listmode {
  --lwt-vline: #dbe3ec;
}
/* 表头（含列管理页的 pro 主题）统一竖线 */
#lw-lt-head,
html body[data-module="admin"] #aj-list.aj-listmode #lw-lt-head {
  column-gap: 0 !important;
  row-gap: 0 !important;
}
#lw-lt-head > span {
  border-right: 1px solid #dbe3ec !important;
  box-sizing: border-box !important;
}
#lw-lt-head > span:last-child {
  border-right: 0 !important;
}
/* 数据行：格子也画竖线（原来只有表头有 ⇒ 断线=漏缝） */
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item {
  column-gap: 0 !important;
  row-gap: 0 !important;
}
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item > * {
  border-right: 1px solid #dbe3ec !important;
  box-sizing: border-box !important;
}
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item > *:last-child {
  border-right: 0 !important;
}
/* 行底部横线也补上，避免行与行之间断开 */
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item {
  border-bottom: 1px solid #e8edf4 !important;
}

/* ===== 2026.v6671：图片模式铅封号 1/2 残影（去掉重复的 absolute 定位层） ===== */
html body[data-module="admin"] #aj-list:not(.aj-listmode) .xh-seal-line,
html body[data-module="admin"] #aj-list:not(.aj-listmode) .xh-seal-line > *,
html body[data-module="admin"] #aj-list:not(.aj-listmode) .xh-seal-inp,
html body[data-module="admin"] #aj-list:not(.aj-listmode) input.xh-seal-inp {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  translate: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* 输入框自身只保留一条描边（避免内外两层边框叠成重影） */
html body[data-module="admin"] #aj-list:not(.aj-listmode) input.xh-seal-inp {
  border: 1px solid #d3dceb !important;
  border-radius: 5px !important;
  background: #fff !important;
  box-shadow: none !important;
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  padding: 0 6px !important;
  box-sizing: border-box !important;
}
html body[data-module="admin"] #aj-list:not(.aj-listmode) input.xh-seal-inp:focus {
  border-color: #2f6fed !important;
  box-shadow: 0 0 0 2px rgba(47, 111, 237, .15) !important;
}

/* ===== 2026.v6673：图片模式铅封号 1/2 残影（父容器不再有浅色底） ===== */
html body[data-module="admin"] #aj-list:not(.aj-listmode) .xh-seal-line {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
}
html body[data-module="admin"] #aj-list:not(.aj-listmode) .xh-seal-line > label,
html body[data-module="admin"] #aj-list:not(.aj-listmode) .xh-seal-line > span:not(.xh-seal-inp) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  flex: 0 0 auto !important;
  font-size: 12px !important;
  color: #475569 !important;
}
html body[data-module="admin"] #aj-list:not(.aj-listmode) input.xh-seal-inp {
  background: #fff !important;
  border: 1px solid #d3dceb !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  padding: 0 8px !important;
  width: 96px !important;
  min-width: 96px !important;
  max-width: 96px !important;
  box-sizing: border-box !important;
  flex: 0 0 96px !important;
}
html body[data-module="admin"] #aj-list:not(.aj-listmode) input.xh-seal-inp:focus {
  border-color: #2f6fed !important;
  box-shadow: 0 0 0 2px rgba(47, 111, 237, .15) !important;
}

/* ===== 2026.v6674：表头再靠上，贴住上方（消除顶部白缝） ===== */
#lw-lt-head,
html body[data-module="admin"] #aj-list.aj-listmode #lw-lt-head {
  margin-top: -1px !important;
  top: -1px !important;
  padding-top: 0 !important;
  border-top: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background-clip: padding-box !important;
}
/* 表头单元格：上下内边距归零，文字紧贴整格 */
#lw-lt-head > span {
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  align-self: stretch !important;
  height: 100% !important;
  min-height: 28px !important;
}
/* 表格容器顶部补一条细边，避免表头与工具栏之间透出背景 */
html body[data-module="admin"] #aj-list.aj-listmode {
  border-top: 1px solid #cbd5e1 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ===== 2026.v6678：表头与数据行之间不再有白缝 ===== */
#lw-lt-head,
html body[data-module="admin"] #aj-list.aj-listmode #lw-lt-head {
  margin-bottom: 0 !important;
  border-bottom: 1px solid #cbd5e1 !important;
  height: auto !important;
  min-height: 30px !important;
}
#lw-lt-head > span {
  border-bottom: 0 !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  line-height: 30px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
}
html body[data-module="admin"] #aj-list.aj-listmode {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}
/* 第一行也不留上边距/上边框，直接贴住表头 */
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item:first-child {
  margin-top: 0 !important;
  border-top: 0 !important;
  padding-top: 0 !important;
}

/* ===== 2026.v6680：吃掉工具栏与表头之间的灰色空隙 ===== */
#lw-lt-head,
html body[data-module="admin"] #aj-list.aj-listmode #lw-lt-head {
  margin-top: -9px !important;
  top: -9px !important;
}
html body[data-module="admin"] #aj-list.aj-listmode {
  margin-top: -9px !important;
  padding-top: 0 !important;
}

/* ===== 2026.v6682：表头视觉上移，吃掉工具栏下方的灰色空隙 ===== */
#lw-lt-head,
html body[data-module="admin"] #aj-list.aj-listmode #lw-lt-head {
  transform: translateY(-8px) !important;
  margin-bottom: -8px !important;
}
html body[data-module="admin"] #view {
  padding-top: 0 !important;
}

/* ===== 2026.v6684：表头完整边框（外框 + 列分隔线，横竖都成框） ===== */
#lw-lt-head,
html body[data-module="admin"] #aj-list.aj-listmode #lw-lt-head {
  border: 1px solid #cbd5e1 !important;
  border-radius: 3px 3px 0 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
#lw-lt-head > span {
  border-right: 1px solid #cbd5e1 !important;
  border-bottom: 1px solid #cbd5e1 !important;
  border-top: 0 !important;
  border-left: 0 !important;
  box-sizing: border-box !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 6px !important;
  background: #f1f5f9 !important;
  color: #334155 !important;
  font-weight: 600 !important;
}
#lw-lt-head > span:last-child {
  border-right: 0 !important;
}
/* 表头里的排序按钮/更多按钮，保持原样不被挤压 */
#lw-lt-head > span > .lw-lt-sbtn,
#lw-lt-head > span > .lw-lt-sort {
  flex: 0 0 auto !important;
}

/* ===== 2026.v6687：表头完整框（outline 外框 + 每格边线） ===== */
#lw-lt-head,
html body[data-module="admin"] #aj-list.aj-listmode #lw-lt-head {
  outline: 1px solid #94a3b8 !important;
  outline-offset: -1px !important;
  border-radius: 3px 3px 0 0 !important;
  overflow: hidden !important;
}
#lw-lt-head > span {
  border-right: 1px solid #cbd5e1 !important;
  border-bottom: 1px solid #cbd5e1 !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 6px !important;
  box-sizing: border-box !important;
  background: #f1f5f9 !important;
  color: #334155 !important;
  font-weight: 600 !important;
}
#lw-lt-head > span:last-child {
  border-right: 0 !important;
}
/* 数据行也补下边线，与表头连成表格 */
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item {
  border-bottom: 1px solid #e8edf4 !important;
}

/* ===== 2026.v6690：表头外框（属性选择器，最高优先级，必中） ===== */
[id="lw-lt-head"] {
  border: 2px solid #64748b !important;
  border-radius: 3px 3px 0 0 !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  outline: 2px solid #94a3b8 !important;
  outline-offset: -2px !important;
}
[id="lw-lt-head"] > span {
  border-right: 2px solid #64748b !important;
  border-bottom: 2px solid #64748b !important;
  box-sizing: border-box !important;
  height: 30px !important;
  min-height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 6px !important;
  background: #f1f5f9 !important;
  color: #334155 !important;
  font-weight: 600 !important;
}
[id="lw-lt-head"] > span:last-child {
  border-right: 0 !important;
}

/* ===== 2026.v6696：悬停/选中 改淡绿（原黄色难看） ===== */
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item:hover {
  background-color: #f0fdf4 !important;
}
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item.is-selected {
  background-color: #dcfce7 !important;
}
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item.is-selected:hover {
  background-color: #bbf7d0 !important;
}
/* 左侧色条也换绿 */
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item.is-selected {
  box-shadow: inset 3px 0 0 0 #22c55e !important;
}
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item:hover {
  box-shadow: inset 2px 0 0 0 #4ade80 !important;
}
/* 图片模式：同样换绿（含边框） */
html body[data-module="admin"] #aj-list:not(.aj-listmode) > .xh-upload-item:hover {
  background-color: #f0fdf4 !important;
  border-color: #86efac !important;
}
html body[data-module="admin"] #aj-list:not(.aj-listmode) > .xh-upload-item.is-selected {
  background-color: #dcfce7 !important;
  border-color: #4ade80 !important;
}
html body[data-module="admin"] #aj-list:not(.aj-listmode) > .xh-upload-item.is-selected:hover {
  background-color: #bbf7d0 !important;
  border-color: #22c55e !important;
}
/* 多选勾选框：橙 → 绿 */
html body[data-module="admin"] #aj-list .xh-upload-item.is-selected .xh-sel-toggle {
  color: #16a34a !important;
  border-color: #86efac !important;
  background: #f0fdf4 !important;
}
html body[data-module="admin"] #aj-list .xh-upload-item.is-selected .xh-sel-box {
  background: #22c55e !important;
  border-color: #22c55e !important;
}
/* 行内格子透明，保证整行绿得完整 */
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item:hover > *,
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item.is-selected > * {
  background-color: transparent !important;
}

/* ===== 2026.v6697：表头上横线（2px 深灰） ===== */
#lw-lt-head,
html body[data-module="admin"] #aj-list.aj-listmode #lw-lt-head {
  border-top: 2px solid #64748b !important;
  transform: translateY(-4px) !important;
  margin-top: -5px !important;
}
[id="lw-lt-head"] {
  border-top: 2px solid #64748b !important;
}

/* ===== 2026.v6700：表头不位移，第一行完整显示 ===== */
#lw-lt-head,
html body[data-module="admin"] #aj-list.aj-listmode #lw-lt-head {
  transform: none !important;
  translate: none !important;
  margin-top: -3px !important;
  border-bottom: 1px solid #cbd5e1 !important;
}
[id="lw-lt-head"] {
  transform: none !important;
  margin-top: -3px !important;
}
/* 第一行数据：不被表头遮住 */
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
  overflow: visible !important;
}
/* 表头格：上边框仍在，但不向下侵占行 */
#lw-lt-head > span {
  margin: 0 !important;
  padding: 0 6px !important;
  box-sizing: border-box !important;
}

/* ===== 2026.v6701：表头无缝、且不侵占第一行 ===== */
#lw-lt-head,
html body[data-module="admin"] #aj-list.aj-listmode #lw-lt-head {
  margin-top: -8px !important;
  margin-bottom: 0 !important;
  transform: none !important;
}
[id="lw-lt-head"] {
  margin-top: -8px !important;
  margin-bottom: 0 !important;
}
html body[data-module="admin"] #aj-list.aj-listmode {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

/* ===== 2026.v6702：父容器上移吃掉缝隙（sticky 表头自身 margin 无效） ===== */
html body[data-module="admin"] #aj-list.aj-listmode {
  margin-top: -4px !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}
#lw-lt-head,
html body[data-module="admin"] #aj-list.aj-listmode #lw-lt-head {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  transform: none !important;
}
[id="lw-lt-head"] {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ===== 2026.v6703：缝隙真凶 = #aj-pill-bar 的 margin-bottom:4px ⇒ 归零 ===== */
html body[data-module="admin"] #aj-pill-bar {
  margin-bottom: 0 !important;
}
/* 撤掉此前的负边距尝试，恢复干净布局（不切第一行、不移位） */
html body[data-module="admin"] #aj-list.aj-listmode {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
#lw-lt-head,
html body[data-module="admin"] #aj-list.aj-listmode #lw-lt-head,
[id="lw-lt-head"] {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  transform: none !important;
  translate: none !important;
}
html body[data-module="admin"] #aj-list.aj-listmode > .xh-upload-item:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

/* ===== 2026.v6706：表头上移 4px 吃掉外部缝（margin-bottom 已为 0，不会切第一行） ===== */
#lw-lt-head,
html body[data-module="admin"] #aj-list.aj-listmode #lw-lt-head,
[id="lw-lt-head"] {
  transform: translateY(-4px) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
html body[data-module="admin"] #aj-pill-bar,
html body[data-module="admin"] #aj-pill-bar#aj-pill-bar {
  margin-bottom: 0 !important;
}

