/* ================= 工作台（主界面）· 升级版视觉 ================= */
:root {
  --wb-ink: #0d1b33;
  --wb-sub: #6b7891;
  --wb-line: #e8edf6;
  --wb-blue: #1e6bff;
  --wb-deep: #0f2c6e;
  --wb-grad: linear-gradient(135deg, #12307a 0%, #1a51c9 55%, #2f7dff 100%);
}

/* 顶部问候 + 指标 */
.wb-hero {
  position: relative;
  overflow: hidden;
  background: var(--wb-grad);
  border-radius: 22px;
  padding: 20px 18px 16px;
  color: #fff;
  box-shadow: 0 14px 34px -12px rgba(18, 48, 122, .55);
  margin-bottom: 18px;
}
.wb-hero::after {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  right: -70px; top: -110px;
  background: radial-gradient(circle, rgba(255,255,255,.20), rgba(255,255,255,0) 68%);
  border-radius: 50%;
}
.wb-hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.wb-hi { font-size: 12.5px; letter-spacing: .12em; opacity: .78; }
.wb-name { font-size: 23px; font-weight: 800; letter-spacing: .01em; margin-top: 3px; }
.wb-date { font-size: 12px; text-align: right; opacity: .85; line-height: 1.5; }
.wb-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.wb-kpi {
  appearance: none; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.10);
  border-radius: 14px; padding: 9px 6px 8px; color: #fff; text-align: center;
  font-family: inherit; cursor: pointer; backdrop-filter: blur(4px);
  transition: background .15s ease, transform .12s ease;
}
.wb-kpi:active { transform: scale(.97); background: rgba(255,255,255,.20); }
.wb-kpi.plain { cursor: default; }
.wb-kpi b { display: block; font-size: 21px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.wb-kpi span { display: block; font-size: 10.5px; opacity: .82; margin-top: 3px; white-space: nowrap; }

/* 分区标题 */
.wb-sec {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 20px 2px 10px;
}
.wb-sec span { font-size: 15px; font-weight: 800; color: var(--wb-ink); letter-spacing: .02em; position: relative; padding-left: 11px; }
.wb-sec span::before {
  content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px;
  border-radius: 4px; background: linear-gradient(180deg, #2f7dff, #12b981);
}
.wb-sec i { font-style: normal; font-size: 10px; letter-spacing: .18em; color: #a9b3c6; }

/* 四个大功能块 */
.wb-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.wb-tile {
  position: relative; overflow: hidden;
  appearance: none; text-align: left; font-family: inherit;
  background: #fff; border: 1px solid var(--wb-line); border-radius: 18px;
  padding: 15px 14px 13px; cursor: pointer;
  box-shadow: 0 2px 10px rgba(16, 38, 84, .05);
  transition: transform .12s ease, box-shadow .15s ease;
}
.wb-tile:active { transform: scale(.975); box-shadow: 0 1px 5px rgba(16, 38, 84, .08); }
.wb-tile.disabled { opacity: .5; }
.wb-tile.disabled .wb-d::after { content: " · 需库管员"; color: #e5484d; }
.wb-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.wb-tile.t1::before { background: linear-gradient(180deg, #2f7dff, #6aa8ff); }
.wb-tile.t2::before { background: linear-gradient(180deg, #12b981, #4fd6a8); }
.wb-tile.t3::before { background: linear-gradient(180deg, #f0883a, #ffb066); }
.wb-tile.t4::before { background: linear-gradient(180deg, #7c5cff, #a78bfa); }
.wb-ico {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 12px; font-size: 19px;
  background: #f1f5fd; margin-bottom: 9px;
}
.wb-tile.t2 .wb-ico { background: #e9f9f2; }
.wb-tile.t3 .wb-ico { background: #fdf3e9; }
.wb-tile.t4 .wb-ico { background: #f2f0ff; }
.wb-t { display: block; font-size: 15.5px; font-weight: 800; color: var(--wb-ink); letter-spacing: .01em; }
.wb-d { display: block; font-size: 11.5px; color: var(--wb-sub); margin-top: 4px; line-height: 1.45; }
.wb-arrow { position: absolute; right: 12px; bottom: 10px; font-size: 20px; color: #c3ccdc; line-height: 1; }
.wb-badge {
  position: absolute; right: 10px; top: 10px;
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 11px; background: #e5484d; color: #fff;
  font-size: 12px; font-weight: 800; line-height: 22px; text-align: center;
  box-shadow: 0 3px 8px rgba(229,72,77,.35);
}

/* 更多入口 */
.wb-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.wb-mini button {
  appearance: none; font-family: inherit; cursor: pointer;
  background: #fff; border: 1px solid var(--wb-line); border-radius: 14px;
  padding: 11px 4px 9px; font-size: 11.5px; color: #3c4a63; font-weight: 600;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.wb-mini button span { font-size: 18px; }
.wb-mini button:active { background: #f5f8ff; }

/* 库存概览卡 */
.stock-card { padding: 18px 16px 14px; }
.stock-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.stock-main { display: flex; flex-direction: column; }
.stock-main b { font-size: 40px; font-weight: 800; letter-spacing: -.02em; color: var(--wb-ink); line-height: 1.05; }
.stock-main span { font-size: 12px; color: var(--wb-sub); margin-top: 3px; }
.stock-side { display: flex; gap: 18px; padding-bottom: 4px; }
.stock-side div { text-align: right; }
.stock-side span { display: block; font-size: 11px; color: var(--wb-sub); }
.stock-side b { font-size: 15px; color: var(--wb-ink); }
.stock-side i { font-style: normal; }
.stock-month { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--wb-line); }
.stock-month div { display: flex; flex-direction: column; gap: 3px; }
.stock-month span { font-size: 11px; color: var(--wb-sub); }
.stock-month b { font-size: 13px; font-weight: 700; color: #24314a; }

/* ================= 任务列表 ================= */
.task-seg { margin-bottom: 12px; }
.task-seg .seg-btn { position: relative; }
.task-seg em { font-style: normal; font-size: 10.5px; margin-left: 4px; padding: 1px 5px; border-radius: 8px; background: #eef2fa; color: #6b7891; }
.task-seg .seg-btn.active em { background: rgba(255,255,255,.28); color: #fff; }

/* 任务页状态筛选条（全部标签下显示） */
.ts-chips { display: flex; gap: 7px; overflow-x: auto; padding: 0 2px 10px; scrollbar-width: none; }
.ts-chips::-webkit-scrollbar { display: none; }
.ts-chip {
  appearance: none; flex: none; font-family: inherit; cursor: pointer;
  border: 1px solid var(--wb-line, #dde4ef); background: #fff; color: #5a6579;
  border-radius: 20px; padding: 6px 14px; font-size: 12.5px; font-weight: 600;
}
.ts-chip.active { background: var(--wb-blue, #1e4e8c); border-color: var(--wb-blue, #1e4e8c); color: #fff; }

.task-list { display: flex; flex-direction: column; gap: 11px; }
.task-card {
  position: relative; background: #fff; border: 1px solid var(--wb-line); border-radius: 16px;
  padding: 14px 14px 12px; box-shadow: 0 2px 10px rgba(16,38,84,.05);
}
.task-card::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; border-radius: 4px; background: #d7e0ef; }
.task-card.urgent::before { background: linear-gradient(180deg, #e5484d, #ff7b7f); }
.task-card.done::before { background: #12b981; }
.tc-top { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.tc-no { font-size: 12.5px; font-weight: 800; color: #2f7dff; letter-spacing: .02em; }
.tc-urgent { font-size: 10.5px; font-weight: 800; color: #e5484d; background: #fdeced; border-radius: 6px; padding: 2px 6px; }
.tc-status { margin-left: auto; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 20px; background: #eef3fd; color: #2f7dff; }
.tc-status.doing { background: #fff5e8; color: #c96a12; }
.tc-status.done { background: #e8f8f1; color: #0b8f60; }
.tc-title { font-size: 15.5px; font-weight: 800; color: var(--wb-ink); line-height: 1.35; }
.tc-title small { font-weight: 600; color: var(--wb-sub); font-size: 12px; margin-left: 6px; }
.tc-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 9px 0 8px; }
.tc-meta span { font-size: 11.5px; color: #55627a; background: #f4f7fc; border-radius: 7px; padding: 3px 8px; }
.tc-meta span.warn { background: #fff4e6; color: #b06008; }
.tc-steps { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tc-steps span { font-size: 11px; color: #3f4d66; border: 1px solid #e2e9f5; border-radius: 20px; padding: 3px 9px; display: flex; align-items: center; gap: 4px; }
.tc-steps span i { font-style: normal; width: 15px; height: 15px; border-radius: 50%; background: #eef3fd; color: #2f7dff; font-size: 9.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.tc-foot { display: flex; align-items: center; gap: 8px; padding-top: 9px; border-top: 1px dashed var(--wb-line); }
.tc-who { font-size: 11.5px; color: var(--wb-sub); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-btn { appearance: none; font-family: inherit; border: none; border-radius: 10px; padding: 8px 16px; font-size: 13px; font-weight: 700; cursor: pointer; }
.tc-btn.claim { background: var(--wb-blue); color: #fff; }
.tc-btn.finish { background: #0ea66b; color: #fff; }
.tc-btn.ghost { background: #f1f4fa; color: #56637a; padding: 8px 12px; }
.task-empty { text-align: center; color: var(--wb-sub); font-size: 13px; padding: 42px 12px; background: #fff; border: 1px dashed var(--wb-line); border-radius: 16px; }
.task-empty b { display: block; font-size: 30px; margin-bottom: 8px; opacity: .5; }

/* ================= 完工确认（库位必填） ================= */
.fm-info { background: #f4f7fc; border-radius: 12px; padding: 11px 13px; font-size: 14px; color: #2c3a55; }
.fm-tip { margin-top: 10px; font-size: 12px; line-height: 1.6; color: #8a93a6; }
.fm-tip b { color: #c96a12; }

/* ================= 任务录入 ================= */
.qty-unit { display: flex; gap: 8px; }
.qty-unit input { flex: 1; width: auto; min-width: 0; }
.qty-unit select { width: 78px; flex: none; }

.batch-pick { display: flex; flex-direction: column; gap: 8px; }
.bp-chip {
  appearance: none; font-family: inherit; text-align: left; cursor: pointer;
  border: 1.5px solid var(--wb-line); background: #fbfcfe; border-radius: 12px;
  padding: 9px 12px; display: flex; flex-direction: column; gap: 3px; position: relative;
}
.bp-chip b { font-size: 13.5px; color: #24324a; font-weight: 800; }
.bp-chip span { font-size: 11.5px; color: #7a869c; }
.bp-chip.on { border-color: var(--wb-blue); background: #eef4ff; }
.bp-chip.on b { color: var(--wb-blue); }
.bp-chip.on::after {
  content: "✓"; position: absolute; right: 11px; top: 7px;
  font-size: 14px; font-weight: 800; color: var(--wb-blue);
}

.split-chk {
  display: block; margin-top: 12px; line-height: 1.5;
  font-size: 13px; font-weight: 700; color: #2c3a55; cursor: pointer;
}
.split-chk input { width: 17px; height: 17px; margin-right: 6px; vertical-align: -3px; accent-color: var(--wb-blue); }
.split-chk span { display: block; font-size: 11.5px; font-weight: 400; color: #8a93a6; padding-left: 23px; }

/* 协作者多选（任务录入） */
.helper-pick { display: flex; flex-wrap: wrap; gap: 7px; }
.hp-chip {
  appearance: none; font-family: inherit; cursor: pointer;
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  border: 1.5px solid var(--wb-line); background: #fbfcfe; color: #3b4964;
  border-radius: 11px; padding: 6px 11px; font-size: 13px; font-weight: 700; line-height: 1.25;
}
.hp-chip i { font-style: normal; font-size: 10.5px; font-weight: 500; color: #8a93a6; }
.hp-chip.on { border-color: var(--wb-blue); background: #eef4ff; color: var(--wb-blue); }
.hp-chip.on i { color: #4d7ac4; }
.hp-chip[disabled] { opacity: .45; cursor: not-allowed; background: #f3f5f9; }

/* 协作者（任务详情） */
.tm-collab { display: flex; flex-direction: column; gap: 9px; }
.tm-hchips { display: flex; flex-wrap: wrap; gap: 7px; min-height: 20px; }
.tm-hchip {
  display: inline-flex; align-items: center; gap: 5px;
  background: #eef4ff; border: 1px solid #cfe0fb; color: #24407c;
  border-radius: 9px; padding: 4px 9px; font-size: 12.5px; font-weight: 700;
}
.tm-hchip b { cursor: pointer; font-weight: 800; color: #7c8aa5; padding: 0 2px; font-size: 14px; line-height: 1; }
.tm-hchip b:hover { color: #d63b40; }

.pri-row { display: flex; gap: 9px; }
.pri-row .pri {
  flex: 1; appearance: none; font-family: inherit; cursor: pointer;
  border: 1.5px solid var(--wb-line); background: #fbfcfe; color: #5a6880;
  border-radius: 11px; padding: 10px; font-size: 14px; font-weight: 700;
}
.pri-row .pri.on { border-color: var(--wb-blue); background: #eef4ff; color: var(--wb-blue); }
.pri-row .pri.urgent.on { border-color: #e5484d; background: #fdeced; color: #d63b40; }

.step-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.step-pick button {
  position: relative; appearance: none; font-family: inherit; cursor: pointer;
  border: 1.5px solid var(--wb-line); background: #fbfcfe; color: #5a6880;
  border-radius: 12px; padding: 12px 6px; font-size: 13.5px; font-weight: 700;
}
.step-pick button.on { border-color: var(--wb-blue); background: #eef4ff; color: var(--wb-blue); }
.step-pick button i {
  position: absolute; top: -7px; right: -6px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--wb-blue); color: #fff; font-style: normal; font-size: 10.5px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 5px rgba(30,107,255,.4);
}
.picked-line { margin-top: 11px; font-size: 12px; color: var(--wb-sub); line-height: 1.6; }
.picked-line b { color: #24314a; }
.foot-note { text-align: center; font-size: 11.5px; color: var(--wb-sub); margin: 12px 6px 6px; line-height: 1.6; }

/* ================= 扫码 ================= */
.scan-lead { font-size: 12.5px; color: var(--wb-sub); line-height: 1.6; margin-bottom: 10px; }
.scan-wrap { display: flex; gap: 8px; }
.scan-wrap input { flex: 1; font-size: 16px; letter-spacing: .04em; }
.scan-wrap .btn { white-space: nowrap; }
.scan-cam-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.scan-cam-wrap { position: relative; margin-top: 10px; border-radius: 14px; overflow: hidden; background: #0b1220; }
.scan-cam-wrap video { width: 100%; height: 220px; object-fit: cover; display: block; }
.scan-cam-wrap button { position: absolute; right: 8px; bottom: 8px; }
.scan-msg { font-size: 12.5px; color: #d63b40; margin-top: 9px; line-height: 1.55; }
.scan-msg.ok { color: #0b8f60; }
.scan-result { margin-top: 12px; border: 1px solid var(--wb-line); border-radius: 12px; padding: 12px; background: #fbfcfe; font-size: 13px; line-height: 1.75; color: #33415a; }
.scan-result b { color: #0d1b33; }
.input-scan { display: flex; gap: 8px; }
.input-scan input { flex: 1; }
.scan-btn {
  appearance: none; font-family: inherit; white-space: nowrap; cursor: pointer;
  border: 1.5px solid #cfe0ff; background: #eef4ff; color: #1e6bff;
  border-radius: 10px; padding: 0 14px; font-size: 13.5px; font-weight: 700;
}

/* 小屏微调 */
@media (max-width: 360px) {
  .wb-kpi b { font-size: 18px; }
  .wb-kpi span { font-size: 9.5px; }
  .wb-t { font-size: 14.5px; }
  .stock-main b { font-size: 34px; }
}

/* ================= 任务详情 / 追溯弹窗 ================= */
.tm-grid { display: grid; grid-template-columns: 64px 1fr; gap: 7px 10px; font-size: 13.5px; }
.tm-k { color: var(--ink-3, #8a94a6); }
.tm-v { color: var(--ink, #1c2b45); }
.tm-remark { margin-top: 10px; padding: 8px 12px; background: #f6f8fc; border-radius: 9px; font-size: 13px; color: #4a5670; }
.tm-sec { margin: 16px 0 8px; font-size: 13px; font-weight: 700; color: #24407c; display: flex; align-items: center; gap: 8px; }
.tm-actions { display: flex; flex-direction: column; gap: 8px; }
.tm-row { display: flex; gap: 8px; align-items: center; }
.tm-row3 { display: flex; gap: 8px; }
.tm-row3 .btn { flex: 1; }
.tm-select { flex: 1; height: 38px; border: 1px solid #d6dcea; border-radius: 9px; padding: 0 8px; font-size: 13.5px; background: #fff; }
.tm-edit { display: flex; flex-direction: column; gap: 8px; }
.tm-edit .tm-row label { width: 48px; flex: none; font-size: 13px; color: #8a94a6; }
.tm-edit .tm-row input { flex: 1; height: 38px; border: 1px solid #d6dcea; border-radius: 9px; padding: 0 10px; font-size: 13.5px; min-width: 0; }
.tm-edit .pri { padding: 6px 14px; border: 1px solid #d6dcea; border-radius: 999px; background: #fff; font-size: 13px; }
.tm-edit .pri.on { background: #24407c; color: #fff; border-color: #24407c; }
.btn.danger { background: #e5484d; color: #fff; border-color: #e5484d; }

.tm-logs { display: flex; flex-direction: column; }
.tm-log { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed #e6eaf2; }
.tm-log:last-child { border-bottom: none; }
.tl-ico { font-size: 16px; line-height: 1.2; }
.tl-body { flex: 1; }
.tl-head { font-size: 13.5px; display: flex; justify-content: space-between; }
.tl-head b { color: #1c2b45; }
.tl-head span { color: #8a94a6; font-size: 12.5px; }
.tl-detail { font-size: 12.5px; color: #4a5670; margin-top: 2px; word-break: break-all; }
.tl-time { font-size: 11.5px; color: #a6afc2; margin-top: 2px; }

/* 已取消任务卡片 */
.task-card.cancelled { opacity: .62; }
.task-card.cancelled .tc-title { text-decoration: line-through; }
.tc-status.cancelled { background: #f0f1f5; color: #8a94a6; }

/* ================= 数据统计 ================= */
.wb-tile.t5 { grid-column: 1 / -1; }
.wb-tile.t5::before { background: linear-gradient(180deg, #0e9f75, #57cfae); }
.wb-tile.t5 .wb-ico { background: #e6f7f1; }

.st-filter .seg { margin-bottom: 10px; }
.st-actions { display: flex; gap: 8px; margin-top: 2px; }
.st-actions .btn { flex: 1; padding-left: 4px; padding-right: 4px; }
.st-scope { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--wb-sub); padding: 0 3px 10px; }
.st-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-bottom: 12px; }
.st-kpi { background: #fff; border: 1px solid var(--wb-line); border-radius: 14px; padding: 12px 13px; box-shadow: 0 2px 10px rgba(16, 38, 84, .05); }
.st-kpi b { display: block; font-size: 22px; line-height: 1.2; color: var(--wb-deep); font-weight: 800; }
.st-kpi span { display: block; font-size: 12.5px; color: var(--text); margin-top: 2px; }
.st-kpi i { display: block; font-style: normal; font-size: 11px; color: var(--muted); margin-top: 2px; }

.st-bar-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.st-bar-label { width: 74px; flex: none; font-size: 12.5px; color: #3c4a63; }
.st-bar-track { flex: 1; height: 9px; border-radius: 6px; background: #eef2f8; overflow: hidden; }
.st-bar-track i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #1e6bff, #67a9ff); }
.st-bar-row b { width: 34px; flex: none; text-align: right; font-size: 13px; color: var(--wb-deep); }
.st-bar-row em { width: 112px; flex: none; text-align: right; font-style: normal; font-size: 11px; color: var(--muted); }
.st-note { font-size: 11.5px; color: var(--muted); line-height: 1.6; margin-top: 8px; }
.st-empty { font-size: 13px; color: var(--muted); text-align: center; padding: 18px 6px; line-height: 1.6; }

.st-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.st-table { width: 100%; border-collapse: collapse; font-size: 12.5px; white-space: nowrap; }
.st-table th, .st-table td { padding: 8px 9px; border-bottom: 1px solid var(--wb-line); text-align: right; }
.st-table th:first-child, .st-table td:first-child { text-align: left; }
.st-table th { color: var(--muted); font-weight: 600; background: #f8fafd; }
.st-table tr:last-child td { border-bottom: none; }
.st-link { color: var(--primary); background: none; border: none; cursor: pointer; font: inherit; padding: 2px 0; }
.st-wip-sum { font-size: 13px; color: #3c4a63; margin-bottom: 6px; }
.st-notes { padding-left: 18px; }
.st-notes li { font-size: 12px; color: #5b6780; line-height: 1.65; margin-bottom: 5px; }
.st-sub { font-size: 13px; font-weight: 700; color: var(--wb-ink); margin: 16px 0 8px; padding-left: 9px; border-left: 3px solid var(--wb-blue); }
.st-task { border: 1px solid var(--wb-line); border-radius: 10px; padding: 9px 10px; margin-bottom: 8px; }
.st-task-top { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.st-task-top b { color: var(--wb-deep); }
.st-task-top span { color: var(--muted); font-size: 11.5px; margin-left: auto; }
.st-tag { font-style: normal; font-size: 10.5px; padding: 2px 6px; border-radius: 6px; background: #eaf1ff; color: var(--primary); }
.st-task-line { font-size: 12px; color: #5b6780; margin-top: 4px; line-height: 1.5; word-break: break-all; }

/* ---- 单据修改弹窗：修改记录时间线 ---- */
.doc-logs { margin: 12px 0 14px; border-top: 1px solid var(--line); padding-top: 10px; max-height: 190px; overflow-y: auto; }
.dl-head { font-size: 12.5px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.dl-item { border-left: 2px solid var(--primary); padding: 2px 0 8px 10px; margin-bottom: 8px; }
.dl-top { display: flex; gap: 8px; align-items: baseline; font-size: 12.5px; }
.dl-top b { color: var(--primary); }
.dl-top span { color: var(--muted); font-size: 11px; margin-left: auto; }
.dl-change { font-size: 11.5px; color: #5b6780; line-height: 1.6; word-break: break-all; }
.dl-change i { font-style: normal; color: var(--muted); text-decoration: line-through; }
.dl-change b { color: var(--text); font-weight: 600; }
.dl-reason { font-size: 11.5px; color: var(--orange); margin-top: 2px; }
.modal-box input:disabled { background: #f2f4f8; color: var(--muted); }

/* ---- v2.8.0 工时统计：每人×每道工序矩阵 ---- */
.st-table tr.st-total td { background: #f2f6ff; font-weight: 700; color: var(--wb-deep); border-top: 2px solid var(--wb-line); }
.st-table .hint { font-size: 10.5px; color: var(--muted); }
#st-hours-card .card-head .btn { flex: none; }
