/* ============================================================
 * 批 X（2026-10-15）X-1：系统设置 = 左侧 8 个分类 + 每类几页（页面 public/js/pages-hr.js「系统设置」段、节点库画法 pages-ops.js Pages.nodeLibView）
 *  - 设计沿用「我的执行」（X-Q14，审核方不出原型）：间距 4 / 8 / 12 / 16 / 24；字号 页面标题 20 / 卡片 15 / 正文 14 / 辅助 12–13；
 *    圆角 卡片 12、按钮 8、标签全圆；状态 = 圆点 + 文字 + 浅底；动效 150ms ease-out
 *  - 版面：1366 主区内左栏 184px、右侧自适应；宽表只在卡片里横滚（.stx-tw），主区不横向滚动；1920 说明文字不拉满（约 70 汉字）；≤ 1100 左栏改成上方一排
 * ============================================================ */
.stx { --stx-text-3: #64748b; --stx-sunk: #f8fafc; display: grid; grid-template-columns: 184px minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 1600px) { .stx { grid-template-columns: 208px minmax(0, 1fr); gap: 24px; } }

/* ---------- 左栏：分类（图标 + 名称）；当前分类展开它的页 ---------- */
.stx-nav { position: sticky; top: 72px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 8px; box-shadow: var(--shadow); max-height: calc(100vh - 96px); overflow-y: auto; scrollbar-width: thin; }
.stx-cat + .stx-cat { margin-top: 2px; }
.stx-cat-hd { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 10px; border-radius: 8px; color: var(--text-2); font-size: 13.5px; font-weight: 500; text-decoration: none; transition: background .15s ease-out, color .15s ease-out; }
.stx-cat-hd > span:first-of-type { flex: 1; min-width: 0; line-height: 1.3; }
.stx-cat-hd svg { flex: none; color: #94a3b8; }
.stx-cat-hd:hover { background: #f1f5f9; color: var(--text); }
.stx-cat-hd:focus-visible, .stx-pg:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.stx-cat.on .stx-cat-hd { color: var(--brand); font-weight: 650; background: #eff6ff; }
.stx-cat.on .stx-cat-hd svg { color: var(--brand); }
.stx-cnt { flex: none; min-width: 18px; height: 18px; padding: 0 6px; border-radius: 999px; background: #f1f5f9; color: var(--stx-text-3); font-size: 11px; display: inline-grid; place-items: center; }
.stx-pgs { display: flex; flex-direction: column; gap: 2px; padding: 4px 0 8px 18px; margin-left: 9px; border-left: 1px solid #e2e8f0; }
.stx-pg { display: block; padding: 5px 10px; border-radius: 8px; font-size: 13px; line-height: 1.35; color: var(--text-2); text-decoration: none; transition: background .15s ease-out, color .15s ease-out; }
.stx-pg:hover { background: var(--stx-sunk); color: var(--text); }
.stx-pg.on { background: #fff; color: var(--brand); font-weight: 600; box-shadow: 0 1px 2px rgba(15, 23, 42, .12), inset 2px 0 0 var(--brand); }

/* ---------- 右侧：页头（分类 › 页、20 号标题、一句说明）+ 卡片 ---------- */
.stx-main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.stx-head { display: flex; flex-direction: column; gap: 4px; padding: 2px 2px 0; }
.stx-path { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--stx-text-3); }
.stx-head h2 { font-size: 20px; font-weight: 650; line-height: 1.3; color: var(--text); }
.stx-desc { font-size: 13px; color: var(--stx-text-3); line-height: 1.6; max-width: 70em; }
.stx-body { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.stx-body > .card, .stx-solo .card, .stx-card { border-radius: 12px; min-width: 0; }
.stx-body .card + .card, .stx-solo .card + .card { margin-top: 0; }
.stx-body > .card.mt16 { margin-top: 0; }
.stx-body .card-hd { min-height: 48px; flex-wrap: wrap; row-gap: 6px; }
.stx-body .card-hd h3, .stx-solo .card-hd h3 { font-size: 15px; font-weight: 650; }
.stx-body .card-hd .sub { font-size: 12px; color: var(--stx-text-3); line-height: 1.5; }
.stx-hd-wrap .sub { flex: 1 1 100%; order: 3; }
.stx-body .stat-grid { margin-bottom: 0; }
.stx-tw { overflow-x: auto; }
.stx-tw > .tbl { min-width: 100%; }
.stx-note { padding: 8px 16px 12px; font-size: 12px; color: var(--stx-text-3); border-top: 1px solid #eef2f6; }
.stx-body .tbl th { white-space: normal; vertical-align: bottom; }   /* 俄文表头长：允许换行，表格尽量不比卡片宽 */
.stx-body .tbl th, .stx-body .tbl td { padding-left: 10px; padding-right: 10px; }
.stx-body .tbl td .tag { white-space: normal; }
.stx-ops a { white-space: nowrap; }
.stx-body .av-row { flex-wrap: wrap; }
.stx-body .av-row .tag { white-space: normal; }
#set-comm-bd { overflow-x: auto; }   /* 提成规则组件（pages-commission.js）的规则表在 1366 比卡片宽：只在卡片里横滚 */
.stx-ckgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; max-height: 180px; overflow-y: auto; }
.stx-alert { border-color: var(--red) !important; color: var(--red) !important; background: var(--red-bg) !important; }
.stx-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stx-solo { display: flex; flex-direction: column; gap: 16px; }
.stx-solo #st-page { display: flex; flex-direction: column; gap: 16px; }
#st-page > .stx-bar + .card, #st-page > .card + .card { margin-top: 0; }

/* 状态 = 圆点 + 文字 + 浅底（启用 / 停用 / 未配置） */
.stx-st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; line-height: 18px; user-select: none; }
.stx-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.stx-st.on { background: #e8f6e8; color: #0b7a0b; }
.stx-st.on::before { background: #0ca30c; }
.stx-st.off { background: #f1f5f9; color: #475569; }
.stx-st.off::before { background: #94a3b8; }
.stx-st.warn { background: #fff4d6; color: #8a5600; }
.stx-st.warn::before { background: #fab219; }

/* 「现在设在哪里」一行：左 标题 + 说明 + 当前值，右 去设置 */
.stx-links { display: flex; flex-direction: column; }
.stx-link { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid #eef2f6; }
.stx-link:last-child { border-bottom: 0; }
.stx-link-l { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.stx-link-l b { font-size: 14px; font-weight: 600; }
.stx-cur { margin-top: 4px; font-size: 12.5px; color: var(--text); background: var(--stx-sunk); border: 1px solid #eef2f6; border-radius: 8px; padding: 4px 8px; line-height: 1.6; align-self: flex-start; max-width: 100%; overflow-wrap: anywhere; }
.stx-link > .btn { flex: none; white-space: nowrap; }

/* 设置项（人事参数）：左 说明，右 控件 */
.stx-sets { display: flex; flex-direction: column; }
.stx-set { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid #eef2f6; }
.stx-set-l { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.stx-set-c { flex: none; }
.stx-eg { color: #2563eb; }
.stx-unit { display: inline-flex; align-items: center; gap: 6px; }
.stx-unit .ipt { width: 90px; }
.stx-ft { display: flex; justify-content: flex-end; padding: 12px 16px; }
.stx-kvs { display: flex; flex-direction: column; gap: 8px; }
.stx-kv { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; font-size: 13.5px; }
.stx-kv b { min-width: 140px; }

/* 菜单布局预览 */
.stx-navprev { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.stx-navgrp { border: 1px solid #eef2f6; border-radius: 12px; padding: 8px; background: var(--stx-sunk); display: flex; flex-direction: column; gap: 2px; }
.stx-navgrp-hd { font-size: 11.5px; letter-spacing: 1px; color: var(--stx-text-3); padding: 2px 6px 4px; }
.stx-navit { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 4px 6px; border-radius: 8px; color: var(--text-2); }
.stx-navit svg { color: #94a3b8; flex: none; }

/* 窄屏：左栏改成上方一排可横滑的分类 + 当前分类的页 */
@media (max-width: 1100px) {
  .stx { grid-template-columns: minmax(0, 1fr); }
  .stx-nav { position: static; max-height: none; display: flex; flex-wrap: wrap; gap: 4px; }
  .stx-cat + .stx-cat { margin-top: 0; }
  .stx-cat.on { flex-basis: 100%; }
  .stx-pgs { flex-direction: row; flex-wrap: wrap; border-left: 0; margin-left: 0; padding: 4px 0 0; }
}

/* ============================================================
 * 批 X（2026-10-15）X-2：审批流一页、参数卡（裸表取消后各分类页的参数）、统筹派单 / 付款条款表格、操作日志、定时任务
 * ============================================================ */
.stx-set-c { max-width: 60%; }
.stx-set-c textarea.ipt { width: 360px; max-width: 100%; }
.stx-set-c .stx-ckgrid { width: 460px; max-width: 100%; }
.stx-set-c .ipt[type="date"], .stx-set-c .ipt[data-dp="time"] { width: 150px; }   /* 批 R R1-5：时间框已由组件接管（type 变成 text），按 data-dp 认 */
.stx-set-c input.stx-pv:not([type]) { width: 200px; }
.stx-ft { gap: 10px; align-items: center; flex-wrap: wrap; }
.stx-ft .sp { flex: 1; }
.stx-ckgrid label, .stx-cks label { display: flex; gap: 6px; align-items: center; font-size: 13px; cursor: pointer; }
.stx-cks { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.stx-ctbl td { vertical-align: top; }
.stx-ctbl select.ipt { width: 100%; }
/* 审批流：类型分组行、审批人下拉 */
.stx-aptbl td { vertical-align: top; }
.stx-aptbl select.ipt { width: 100%; max-width: 300px; }
.stx-aptbl tr.stx-grp td { background: var(--stx-sunk); font-size: 12px; font-weight: 650; color: var(--stx-text-3); letter-spacing: .5px; padding-top: 6px; padding-bottom: 6px; }
.stx-aptbl td.small.muted { line-height: 1.55; }
.stx-body .pick-chips { display: flex; flex-wrap: wrap; gap: 6px; max-width: 460px; }
/* 付款条款 */
.pt-tbl td { vertical-align: middle; }
.pt-tbl .ipt { width: 100%; }
.pt-tbl .stx-unit .ipt { width: 96px; }
.pt-card[data-empty] .pt-tbl thead { display: none; }
/* 操作日志：改前 → 改后 */
.stx-diff { display: flex; flex-direction: column; gap: 2px; line-height: 1.5; word-break: break-word; }
.stx-diff b { font-weight: 600; color: var(--text-2); }
.stx-oltbl td { vertical-align: top; }
@media (max-width: 1100px) { .stx-set { flex-wrap: wrap; } .stx-set-c { max-width: 100%; } }

/* ---------- 批 X X-3：角色与权限 › 权限总览 / 菜单可见（角色 × 权限点）、角色、敏感字段 ---------- */
.pm-fil { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 16px; border-bottom: 1px solid var(--border); }
.pm-fil .pick-chip { padding: 3px 10px; font-size: 12.5px; }
.pm-fil .pick-chip.on { border-color: var(--brand); color: var(--brand); background: #eff6ff; font-weight: 600; }
.pm-only { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); cursor: pointer; }
.pm-wrap { max-height: calc(100vh - 280px); overflow: auto; }
.pm-tbl { border-collapse: separate; border-spacing: 0; }
.pm-tbl thead th { position: sticky; top: 0; z-index: 2; background: #fff; box-shadow: inset 0 -1px 0 var(--border); }
.pm-tbl th.pm-pt { position: sticky; left: 0; z-index: 1; background: #fff; text-align: left; min-width: 240px; max-width: 320px; font-weight: 500; box-shadow: inset -1px 0 0 var(--border); }
.pm-tbl thead th.pm-corner { z-index: 3; font-size: 12px; color: var(--stx-text-3); }
.pm-rh { min-width: 66px; max-width: 132px; font-size: 12px; font-weight: 600; line-height: 1.3; text-align: center; vertical-align: bottom; white-space: normal; word-break: keep-all; overflow-wrap: normal; hyphens: none; padding: 8px 4px; }   /* 测试发现 T-X3-3（X-4 修）：单词不拆开（俄文按空格 / 括号换行，中文角色名整词一行），列宽按最长的单词放宽 */
.pm-new { display: block; margin-top: 2px; font-size: 10.5px; font-weight: 500; color: #b45309; }
.pm-n { font-size: 13px; line-height: 1.45; color: var(--text); }
.pm-x { margin-top: 2px; font-size: 12px; line-height: 1.45; color: var(--stx-text-3); }
.pm-fx { margin-left: 4px; font-size: 11px; padding: 0 6px; vertical-align: 1px; }
.pm-grp th.pm-pt, .pm-grp td { background: var(--stx-sunk); font-size: 12px; font-weight: 650; color: var(--stx-text-3); letter-spacing: .3px; padding-top: 6px; padding-bottom: 6px; }
.pm-c { text-align: center; padding: 4px; }
.pm-ck { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; cursor: pointer; }
.pm-ck:hover { background: #f1f5f9; }
.pm-ck input { width: 16px; height: 16px; margin: 0; cursor: pointer; accent-color: var(--brand); }
.pm-ck input:disabled { cursor: not-allowed; opacity: .55; }
.pm-diff { position: absolute; top: 3px; right: 3px; width: 6px; height: 6px; border-radius: 50%; background: #f59e0b; }
.pm-c.pm-chg { background: #fff7e6; }
.pm-hl { background: #eff6ff; }
.pm-form { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
@media (max-width: 1100px) { .pm-form { grid-template-columns: 1fr; } .pm-tbl th.pm-pt { min-width: 180px; } }
.pm-act { white-space: nowrap; }
.pm-rules { display: grid; grid-template-columns: minmax(120px, 180px) minmax(0, 1fr); gap: 10px 16px; margin: 0; font-size: 13.5px; line-height: 1.55; }
.pm-rules dt { font-weight: 650; color: var(--text); }
.pm-rules dd { margin: 0; color: var(--text-2); }
@media (max-width: 1100px) { .pm-rules { grid-template-columns: 1fr; gap: 2px; } .pm-rules dd { margin-bottom: 8px; } }
/* 测试发现 T-X2-6（X-3 修）：操作日志 1366 宽时「改了什么」列至少 300px（时间 + 操作人、对象 + 动作各并一列），更窄只在卡片里横滚 */
.stx-oltbl { min-width: 820px; }
.stx-oltbl .ol-diffcol { min-width: 300px; }
.stx-oltbl td:nth-child(3) { min-width: 300px; }
.stx-oltbl .ol-sub { margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--stx-text-3); }
.stx-oltbl td:last-child { word-break: break-word; }

/* 批 X X-4：审批流页「代理与抄送」卡、「我的账号」页 */
.stx-cctbl td { vertical-align: top; }
.stx-cc { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.stx-cc .pick-chip { padding: 3px 10px; font-size: 12.5px; cursor: default; }
.stx-cc .pick-chip.on { border-color: var(--brand); color: var(--brand); background: #eff6ff; }
.stx-ccx { cursor: pointer; color: var(--stx-text-3); font-size: 11px; }
.stx-ccx:hover { color: var(--red); }
.stx-cc select.stx-ccadd { width: auto; max-width: 200px; padding: 3px 6px; font-size: 12.5px; }
.stx-ul { margin: 4px 0 6px 18px; padding: 0; }
.acx-wrap { max-width: 860px; }
.acx-wrap .card { margin-bottom: 16px; }
.acx-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 16px; }
.acx-row select { min-width: 240px; max-width: 100%; }
.acx-kv { padding: 4px 16px 12px; font-size: 13px; line-height: 1.7; color: var(--text); }
.acx-kv .muted { color: var(--stx-text-3, #64748b); }
.ap-cc-field select { width: 100%; }

/* 批 E E2-b（清单 4.2–4.4）：业务流程 › 目标指标——两张指标表列宽固定（说明长，单位 / 方向 / 状态不被挤成一字一行）；停用的行灰一点 */
.gm-tbl { table-layout: fixed; width: 100%; }
.gm-tbl col.gm-c1 { width: 33%; } .gm-tbl col.gm-cu { width: 6%; } .gm-tbl col.gm-cd { width: 12%; } .gm-tbl col.gm-cs { width: 14%; } .gm-tbl col.gm-cn { width: 8%; } .gm-tbl col.gm-ct { width: 11%; } .gm-tbl col.gm-ca { width: 16%; }
.gm-tbl2 col.gm-c1 { width: 19%; } .gm-tbl2 col.gm-cs { width: 16%; } .gm-tbl2 col.gm-ca { width: 28%; }
/* 批 V18 V18-33 D3（审核方 #365 第三节第 24 张）：操作那一格改成按钮（Core.U.actions 行内）——内置表 12% → 16%（腾自第一列 37% → 33%），手动指标表 22% → 28%（第一列 25% → 19%），俄文「Выключить」放得下；
 *   这是固定列宽的表，放不下时整个按钮换行，不往左压到状态那一格 */
.gm-tbl .u-row-acts { flex-wrap: wrap; }
.gm-tbl td { vertical-align: top; overflow-wrap: anywhere; }
.gm-tbl .gm-note { margin-top: 4px; line-height: 1.5; }
.gm-tbl tr.gm-off td { color: var(--text-3); }
.gm-tbl tr.gm-off td b { color: var(--text-2); }
.gm-form .stx-ckgrid { max-height: 220px; overflow: auto; }
/* 批 E E2-b修（前端审查 S5）：编辑手动指标——已停用的适用部门（勾着、灰、不能再勾）；改成全公司前的提示 */
.gm-form .stx-ckgrid label.gm-uoff { color: var(--text-3); cursor: default; }
.gm-form .stx-ckgrid label.gm-uoff .stx-st { padding: 0 6px; font-size: 11px; }
.gm-form .gm-warn { margin-top: 6px; color: #b45309; font-weight: 600; }

/* 批 B B3a-b（改法清单 11.3 ③）：系统设置 › 预算 三页——科目树 / 映射 / 分工表；停用的行灰一点，明细项目缩进，映射来源小标签，财务岗单页上方三页切换 */
.bud-tbl { width: 100%; }
.bud-tbl td { vertical-align: top; overflow-wrap: anywhere; }
.bud-tbl tr.bud-off td { color: var(--text-3); }
.bud-tbl td.bud-det { padding-left: 32px; }
.bud-tbl select.ipt { width: 100%; min-width: 160px; max-width: 320px; }
.bud-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.bud-tabs, .bud-ents { display: flex; gap: 8px; flex-wrap: wrap; }
.bud-ents { padding: 12px 16px 4px; }

/* 批 B B3a-c（改法清单 11.3 ④）：财务 › 预算——汇总表（主体为列、横向滚动）、区段 / 分组 / 小计 / 期初期末行、已逾期未收参考行（灰）、检查项、明细行表 */
.bd-scroll { overflow-x: auto; }
.bud-sheet { min-width: 640px; }
.bud-sheet td.num, .bud-sheet th.num, .bud-lines td.num, .bud-lines th.num { text-align: right; white-space: nowrap; }
.bud-sheet td.bd-cell { cursor: pointer; }
.bud-sheet td.bd-cell:hover { background: var(--blue-bg); }
.bud-sheet tr.bd-sec td { background: #f8fafc; padding-top: 10px; }
.bud-sheet tr.bd-grp td { padding-left: 16px; }
.bud-sheet tr.bd-sub td, .bud-sheet tr.bd-open td, .bud-sheet tr.bd-close td { border-top: 1px solid var(--line, #e5e7eb); }
.bud-sheet tr.bd-overdue td { color: var(--text-3); font-size: 12px; }
.bd-checks { margin: 0; padding-left: 0; list-style: none; }
.bd-checks li { padding: 2px 0; }
.bd-checks li.amber { color: #b45309; }
.bd-checks li.green { color: var(--green); }
.bud-lines td, .bud-lines[data-legacy] td { vertical-align: top; overflow-wrap: anywhere; }
/* 批 B B3b-d：财务 › 预算 三个视图（编制 / 执行对比 / 利润口径）、执行对比表、下钻、导入预览、维度小计、经营指标「预算执行」卡、13 周预测「下月预算」一行 */
.bd-mode button { white-space: nowrap; }
.bud-exec { min-width: 560px; }
.bud-exec td.num, .bud-exec th.num, .bud-drill td.num, .bud-drill th.num, .bud-imp td.num, .bud-imp th.num, .bud-dims td.num, .bud-dims th.num { text-align: right; white-space: nowrap; }
.bud-exec tr.bd-sec td { background: #f8fafc; padding-top: 10px; }
.bud-exec tr.bd-grp td { padding-left: 16px; }
.bud-exec tr.bd-sub td, .bud-exec tr.bd-open td, .bud-exec tr.bd-close td { border-top: 1px solid var(--line, #e5e7eb); }
.bud-exec tr.bd-uncl td { color: #b91c1c; }
.bud-exec td.amber { color: #b45309; }
.bud-drill td, .bud-imp td, .bud-drill[data-legacy] td, .bud-imp[data-legacy] td { vertical-align: top; overflow-wrap: anywhere; }
.kfm-bud:empty { display: none; }
.kfm-bud-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.kfm-bud-grid .kfm-bk .t { font-size: 12px; color: var(--text-3); }
.kfm-bud-grid .kfm-bk .n { font-size: 22px; font-weight: 600; margin: 2px 0; }
.kfm-bud-grid .kfm-bk .c { font-size: 12px; color: var(--text-2, #475569); }
.fd-budnext { color: var(--text-2, #475569); }

/* ============================================================
 * 批 V8 V8-7：系统设置搜索（public/js/stsearch.js）
 *   左栏顶部 / 非管理员单页上方一个输入框；结果浮层挂在 body 上（左栏 overflow 会裁掉），固定定位跟着输入框；跳过去的那一项闪一下黄底
 * ============================================================ */
.stx-q { margin-bottom: 6px; }
.stx-q .stx-q-ipt { width: 100%; min-height: 34px; font-size: 13px; }
.stx-q-solo { max-width: 420px; margin-bottom: 10px; }
.stx-q-res { position: fixed; z-index: 1200; max-height: min(60vh, 420px); overflow-y: auto; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 10px 30px rgba(15, 23, 42, .16); padding: 4px; }
.stx-q-it { padding: 7px 10px; border-radius: 8px; cursor: pointer; font-size: 13px; line-height: 1.4; color: var(--text); }
.stx-q-it.on { background: #eff6ff; }
.stx-q-sn { margin-top: 2px; font-size: 12px; color: #64748b; }
.stx-q-res mark { background: #fef08a; color: inherit; padding: 0 1px; border-radius: 2px; }
.stx-q-none { padding: 10px; font-size: 13px; color: #64748b; }
.stx-hl { animation: stx-hl 2.6s ease-out; border-radius: 8px; }
@keyframes stx-hl { 0%, 45% { background: #fef9c3; box-shadow: 0 0 0 3px #fde047; } 100% { background: transparent; box-shadow: 0 0 0 0 transparent; } }
@media (max-width: 1100px) { .stx-nav .stx-q { flex-basis: 100%; margin-bottom: 2px; } .stx-q-solo { max-width: none; } }
@media (prefers-reduced-motion: reduce) { .stx-hl { animation: none; background: #fef9c3; } }
/* 批 V8 V8-11：全年编制表（财务 › 预算 › 全年编制） */
.by-tbl td.by-rl { white-space: nowrap; max-width: 320px; overflow: hidden; text-overflow: ellipsis; }
.by-tbl td.by-ed { cursor: pointer; background: rgba(59, 130, 246, .05); }
.by-tbl td.by-ed:hover { outline: 1px solid var(--blue, #3b82f6); }
.by-tbl td.by-q, .by-tbl td.by-t { background: rgba(0, 0, 0, .025); }
.by-tbl tr.by-eh td { background: rgba(0, 0, 0, .04); }
.by-tbl tr.by-chain td { color: var(--muted, #6b7280); font-style: italic; }
.by-tbl td.amber { color: var(--amber, #b7791f); }
.by-tbl { min-width: 960px; }
.by-tbl td.num, .by-tbl th.num { text-align: right; white-space: nowrap; }

/* 批 V19 V19-11：设置页「日报必交」卡用新零件 u-card（pages-hr.js SP['kpi/report'] 的 dailyCard） */
.stx-ucard { margin-bottom: 16px; }
.stx-ucard-hd { padding: 14px 16px 0; }
.stx-ucard-sub { padding: 4px 16px 8px; font-size: 13px; line-height: 20px; color: var(--u-ink-2, #475467); border-bottom: 1px solid #eef2f6; }
