* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; background: #f4f6fb; color: #1f2d3d; font-size: 14px; }

/* 通用按钮 */
.btn { display: inline-block; border: none; border-radius: 6px; cursor: pointer; font-size: 14px; padding: 8px 16px; }
.btn-primary { background: #4A6CF7; color: #fff; }
.btn-primary:hover { background: #3b5bd9; }
.btn-ghost { background: transparent; color: #8a95a6; border: 1px solid #dfe3ea; }
.btn-ghost:hover { color: #4A6CF7; border-color: #4A6CF7; }
.btn-danger { background: #f56c6c; color: #fff; }
.btn-sm { padding: 5px 10px; font-size: 13px; }
.btn-danger-ghost { background: transparent; color: #f56c6c; border: 1px solid #f56c6c; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* 登录 */
.login-wrap { display: flex; align-items: center; justify-content: center; height: 100vh; background: linear-gradient(135deg,#4A6CF7 0%,#6a8bff 60%,#8fb1ff 100%); }
.login-card { width: 380px; background: #fff; border-radius: 12px; padding: 40px; box-shadow: 0 10px 40px rgba(0,0,0,.2); }
.login-logo { font-size: 28px; font-weight: 700; color: #4A6CF7; text-align: center; }
.login-sub { text-align: center; color: #8a95a6; margin: 8px 0 28px; font-size: 13px; }
.login-field { margin-bottom: 16px; }
.login-field label { display: block; margin-bottom: 6px; color: #5a6b8c; font-size: 13px; }
.login-field input { width: 100%; border: 1px solid #dfe3ea; border-radius: 6px; padding: 10px 12px; font-size: 14px; }
.login-field input:focus { outline: none; border-color: #4A6CF7; }
.login-err { color: #f56c6c; font-size: 13px; min-height: 20px; margin-bottom: 4px; }

/* 布局 */
#app { display: flex; height: 100vh; }
.sidebar { width: 220px; background: #fff; border-right: 1px solid #e7eaf0; display: flex; flex-direction: column; }
.brand { padding: 24px 20px 16px; border-bottom: 1px solid #eef1f6; }
.brand-name { font-size: 20px; font-weight: 700; color: #4A6CF7; }
.brand-sub { font-size: 12px; color: #8a95a6; }
.menu { flex: 1; padding: 12px 8px; overflow-y: auto; }
.menu-item { padding: 10px 14px; border-radius: 6px; cursor: pointer; color: #5a6b8c; margin-bottom: 2px; }
.menu-item:hover { background: #f0f4ff; color: #4A6CF7; }
.menu-item.active { background: #4A6CF7; color: #fff; }
.side-foot { padding: 12px; border-top: 1px solid #eef1f6; }
.who { font-size: 13px; color: #5a6b8c; margin-bottom: 8px; text-align: center; }

.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.topbar { height: 56px; background: #fff; border-bottom: 1px solid #e7eaf0; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; }
.t-title { font-size: 18px; font-weight: 600; }
.t-right { display: flex; align-items: center; gap: 8px; }
.t-link { color: #4A6CF7; cursor: pointer; text-decoration: none; font-size: 13px; }
.t-link.sep { color: #c3cbd8; cursor: default; }
.t-user { color: #5a6b8c; font-size: 13px; }
.content { flex: 1; padding: 20px 24px; overflow-y: auto; }

/* 卡片/栅格 */
.card { background: #fff; border-radius: 10px; padding: 18px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(16,32,57,.08); }
.card-title { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 14px; }
.cell { background: #fff; border-radius: 10px; padding: 18px; box-shadow: 0 1px 3px rgba(16,32,57,.06); }
.cell .cn { font-size: 26px; font-weight: 700; color: #1f2d3d; }
.cell .cl { font-size: 12px; color: #8a95a6; margin-top: 4px; }
.cell.primary .cn { color: #4A6CF7; }
.cell.warn .cn { color: #f5a623; }
.cell.danger .cn { color: #f56c6c; }

/* 表格 */
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #eef1f6; }
.table th { background: #f7f8fc; color: #5a6b8c; font-weight: 600; }
.table tr:hover td { background: #fafbff; }

/* 人事绩效表 */
.hr-table th { font-size: 12px; letter-spacing: 0.3px; text-transform: uppercase; }
.hr-table td { vertical-align: middle; }
.hr-table tr:hover td { background: #f4f8ff; }
.hr-table .kpi-cell { min-width: 130px; }
.kpi-bar { height: 6px; background: #eef0f4; border-radius: 4px; overflow: hidden; }
.kpi-fill { height: 100%; background: linear-gradient(90deg,#40a9ff,#69c0ff); border-radius: 4px; transition: width .3s; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; }
.tag.blue { background: #eaf0ff; color: #4A6CF7; }
.tag.green { background: #e6f7ed; color: #27ae60; }
.tag.orange { background: #fff4e6; color: #f5a623; }
.tag.red { background: #fdeaea; color: #f56c6c; }
.tag.gray { background: #f0f2f6; color: #8a95a6; }
.tag.purple { background: #f0eaff; color: #7c3aed; }
.tag.cyan { background: #e6faff; color: #0ea5b7; }

/* 表单 */
.form-row { display: flex; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.form-item { display: flex; flex-direction: column; flex: 1; min-width: 150px; }
.form-item label { font-size: 12px; color: #5a6b8c; margin-bottom: 4px; }
.form-item input, .form-item select, .form-item textarea { border: 1px solid #dfe3ea; border-radius: 6px; padding: 8px 10px; font-size: 13px; }
.form-item input:focus, .form-item select:focus { outline: none; border-color: #4A6CF7; }
.toolbar { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; align-items: center; }

/* 漏斗 */
.funnel-row { display: flex; align-items: center; margin-bottom: 10px; font-size: 13px; }
.funnel-label { width: 70px; color: #5a6b8c; }
.funnel-bar-wrap { flex: 1; background: #f0f2f6; border-radius: 4px; height: 26px; overflow: hidden; }
.funnel-bar { height: 100%; background: linear-gradient(90deg,#4A6CF7,#6a8bff); color: #fff; line-height: 26px; font-size: 12px; padding: 0 8px; text-align: right; }

/* 统计条 */
.stat-row { display: flex; gap: 14px; flex-wrap: wrap; }
.stat-chip { background: #fff; border-radius: 8px; padding: 10px 16px; box-shadow: 0 1px 3px rgba(16,32,57,.05); }
.stat-chip .k { font-size: 12px; color: #8a95a6; }
.stat-chip .v { font-size: 18px; font-weight: 600; }
.stat-chip .v.reach { color: #27ae60; }
.stat-chip .v.unreach { color: #f5a623; }

.loading { text-align: center; color: #8a95a6; padding: 80px 0; }
.empty { text-align: center; color: #a8b2c2; padding: 40px 0; }
.toast { position: fixed; top: 70px; left: 50%; transform: translateX(-50%); background: rgba(20,30,48,.88); color: #fff; padding: 10px 20px; border-radius: 6px; font-size: 13px; z-index: 999; opacity: 0; transition: opacity .25s; pointer-events: none; }
.toast.show { opacity: 1; }
.txt-money { font-variant-numeric: tabular-nums; }
.mt8 { margin-top: 8px; }
.gap { margin-left: 8px; }
.text-danger { color: #f56c6c; }
.text-success { color: #27ae60; }

/* OKR 模块 */
.okr-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 12px; }
@media (max-width: 1100px) { .okr-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .okr-grid { grid-template-columns: repeat(2, 1fr); } }
.okr-cell { background: #f8fafd; border: 1px solid #e7eaf0; border-radius: 8px; padding: 12px; }
.oc-k { color: #8a95a6; font-size: 12px; margin-bottom: 6px; }
.oc-v { font-size: 18px; font-weight: 600; color: #1f2d3d; }
.oc-t { font-size: 12px; color: #8a95a6; font-weight: 400; margin-left: 4px; }
.oc-bar { height: 6px; background: #eef1f5; border-radius: 3px; overflow: hidden; margin: 8px 0 4px; }
.oc-fill { height: 100%; border-radius: 3px; transition: width .3s; }
.oc-pct { font-size: 12px; color: #8a95a6; text-align: right; }
.okr-cell .text-success { color: #27ae60; }
.okr-cell .text-danger { color: #f56c6c; }

/* 弹窗 */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; overflow-y: auto; padding: 24px 0; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.modal-content { position: relative; background: #fff; border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,.2); width: 92%; max-width: 520px; overflow: hidden; display: flex; flex-direction: column; max-height: calc(100vh - 48px); }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #e7eaf0; flex-shrink: 0; }
.modal-header h3 { font-size: 16px; font-weight: 600; }
.modal-body { padding: 16px 20px; overflow-y: auto; }
.modal-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 20px; border-top: 1px solid #e7eaf0; flex-shrink: 0; }

/* 标签 */
.tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; margin: 2px 4px 2px 0; }
.tag-primary { background: #e8eeff; color: #4A6CF7; border: 1px solid #c5d4ff; }
.tag-ghost { background: #f4f6fb; color: #8a95a6; border: 1px solid #dfe3ea; }
.text-muted { color: #8a95a6; }

/* 表格多岗身份列：竖排显示，完整不截断 */
td.pos-tags { max-width: 170px; }
td.pos-tags .tag { display: block; width: fit-content; max-width: 160px; margin: 2px 0; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table td { vertical-align: middle; }
/* 身份标签删除按钮 */
.tag .tag-x { display: inline-block; margin-left: 5px; color: #c0392b; font-weight: bold; cursor: pointer; text-decoration: none; }

/* 客资列表「操作」列：4 列等宽网格（陈总 2026-10-10「客资管理操作栏搞整齐点」）
   🔴 为什么用 grid 而不是 flex：flex 里按钮宽度随文案长短走 —— 真机实测同一行是
      48/59/61/72/93/95px 参差；grid 的 1fr 让**同一列的宽度恒定**，
      无论按钮文案多长，两行的列边界都完全重合。
   🔴 为什么必须给 min-width：`minmax(0,1fr)` 的列**可以一路缩到 0**，
      而 td 的 auto 列宽只认内容的 min-content —— 没有 min-width 时操作列当场被压到
      78px、按钮只剩 10px 宽（注入试验首跑就是这个形态）。488 = 4×118 + 3×5。
   🔴 为什么要统一 height：`.btn-ghost` / `.btn-danger-ghost` 带 1px 边框、`.btn-primary`
      不带 ⇒ 原来同一行里按钮高 31px / 29px 不齐（真机实测），现在一律 30px。 */
.ld-ops { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; min-width: 488px; }
.ld-ops .btn { width: 100%; height: 30px; padding: 0 4px; font-size: 13px; line-height: 28px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 🆕 客资列表（客资列表 / 今日分配 / 我的待办 三个 tab 共用这张表）的横向滚动容器
   （陈总 2026-10-10：「客资管理中我的待办中的操作键都超出屏幕了」）。
   🔴 为什么必须有它：这张表真机宽 **1662.5px**（14 列），卡片内只有 ~1172px（1440 视口）。
      原来没有容器、靠 `.content` 的 `overflow-y:auto` 连带出来的 overflow-x 兜底滚动 ⇒
      表体直接**撑破白卡片**（.card 自身 scrollWidth 1681 > clientWidth 1172）。
      加容器后：滚动条紧贴表格下方（用户能发现该滚），钉列锚点也从 .content 收到卡片内。
   🔴 与它配套的是「操作」列上的 `.col-sticky-r`（右钉列，样式在下方既有那 4 行，未新增）——
      没有钉列时，1440/1366/1280 视口下 **8 个按钮全在屏幕外**（操作列只露出 27.5px）；
      有钉列后所有宽度下按钮都贴在卡片右缘可见。
   ⚠️ 别把 overflow-y 显式写成 hidden：表体高度是自适应的，写死会裁掉最后一行。 */
.ld-x { overflow-x: auto; }

/* OKR 部门 TAB */
.okr-tabs { display: flex; gap: 4px; border-bottom: 2px solid #e7eaf0; margin-bottom: 16px; flex-wrap: wrap; }
.okr-tab { padding: 8px 18px; background: transparent; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; font-size: 14px; color: #5b6b80; cursor: pointer; transition: .2s; }
.okr-tab:hover { color: #1f2d3d; background: #f4f6fb; }
.okr-tab.active { color: #4A6CF7; border-bottom-color: #4A6CF7; font-weight: 600; }
.okr-dim-table td { vertical-align: middle; }
.okr-dim-table .cell-input { width: 100%; padding: 4px 6px; border: 1px solid #dfe3ea; border-radius: 4px; font-size: 13px; background: #fff; }
.okr-dim-table .cell-input:focus { border-color: #4A6CF7; outline: none; }
.tag .tag-x:hover { color: #e74c3c; background: rgba(231,76,60,.12); border-radius: 3px; padding: 0 3px; }

/* ============ 经营看板（丰富版） ============ */
.dash-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(430px, 1fr)); gap: 16px; align-items: start; }
.dash-cols .card { margin-bottom: 0; }
.card .mt16 { margin-top: 16px; }
.kpi-note { font-size: 12px; color: #8a95a6; margin-top: 2px; }
.hbar { display: flex; align-items: center; gap: 8px; margin: 7px 0; font-size: 13px; }
.hb-l { width: 92px; flex: none; color: #5a6b8c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-t { flex: 1; background: #f0f2f6; border-radius: 4px; height: 18px; overflow: hidden; }
.hb-f { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #4A6CF7, #6a8bff); min-width: 2px; }
.hb-f.green { background: linear-gradient(90deg, #27ae60, #5ad38a); }
.hb-f.orange { background: linear-gradient(90deg, #f5a623, #ffc069); }
.hb-f.red { background: linear-gradient(90deg, #f56c6c, #ff9a9a); }
.hb-f.gray { background: #b8c2d0; }
.hb-v { width: 100px; flex: none; text-align: right; color: #1f2d3d; font-weight: 600; font-variant-numeric: tabular-nums; }
.hb-v small { color: #a8b2c2; font-weight: 400; margin-left: 2px; }
.kv-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 4px; }
.kv-chip { background: #f7f8fc; border: 1px solid #eef1f6; border-radius: 8px; padding: 8px 12px; min-width: 96px; }
.kv-chip .k { font-size: 11px; color: #8a95a6; }
.kv-chip .v { font-size: 16px; font-weight: 700; color: #1f2d3d; margin-top: 2px; font-variant-numeric: tabular-nums; }
.kv-chip .v.success { color: #27ae60; }
.kv-chip .v.danger { color: #f56c6c; }
.kv-chip .v.warn { color: #f5a623; }
.kv-chip .v.primary { color: #4A6CF7; }
.trend-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; }
.fin-sum-line { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 0; border-bottom: 1px dashed #eef1f6; }
.fin-sum-line:last-child { border-bottom: none; }
.fin-sum-line b { font-variant-numeric: tabular-nums; }
.sub-tip { font-size: 12px; color: #a8b2c2; margin: 0 0 8px; }

/* ===== 经营看板（精致化 2026-09） ===== */
.dash-kpi { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.dash-kpi .cell { display: flex; flex-direction: column; gap: 4px; min-height: 108px; padding: 16px 18px; }
.dash-kpi .cell .cn { font-size: 24px; line-height: 1.15; }
.dash-kpi .cell .cl { margin-top: 0; }
.dash-kpi .cell .kpi-note { font-size: 11px; color: #a8b2c2; margin-top: auto; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1280px) { .dash-kpi { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.card-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card-title .sub-tip { margin: 0; font-weight: 400; }

.dash-cols { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 16px; align-items: start; }
.dash-section { margin-top: 16px; padding-top: 14px; border-top: 1px dashed #eef1f6; }
.dash-section:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.dash-section .sub-tip { font-weight: 600; color: #5a6b8c; margin: 0 0 10px; font-size: 12px; letter-spacing: .5px; }
.dash-section .empty-inline { color: #a8b2c2; font-size: 12px; padding: 6px 0; }

.kv-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)); gap: 10px; }
.kv-chip { padding: 10px 12px; min-width: 0; }
.kv-chip .k { font-size: 11px; }
.kv-chip .v { font-size: 18px; word-break: break-all; }
.kv-chip .v small { font-size: 11px; font-weight: 400; color: #a8b2c2; margin-left: 2px; }

.hbar { font-size: 13px; margin: 8px 0; }
.hb-l { width: 108px; font-size: 13px; }
.hb-v { width: 96px; }
.hb-v small { color: #a8b2c2; }

.funnel-row { align-items: center; }
.funnel-row .funnel-bar { text-align: right; padding-right: 10px; font-variant-numeric: tabular-nums; font-weight: 600; }
.funnel-row[data-stage="new"] .funnel-bar { background: linear-gradient(90deg, #4A6CF7, #7d97ff); }
.funnel-row[data-stage="follow"] .funnel-bar { background: linear-gradient(90deg, #23b3a6, #5ed5cb); }
.funnel-row[data-stage="intent"] .funnel-bar { background: linear-gradient(90deg, #8e6cf2, #b59bff); }
.funnel-row[data-stage="deal"] .funnel-bar { background: linear-gradient(90deg, #27ae60, #5ad38a); }
.funnel-row[data-stage="lost"] .funnel-bar { background: linear-gradient(90deg, #b8c2d0, #d5dce5); }
.funnel-row .funnel-label { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.funnel-row .funnel-label .num { font-weight: 600; color: #1f2d3d; }

.table thead th { padding: 11px 12px; font-size: 12px; letter-spacing: .3px; }
.table tbody td { padding: 10px 12px; vertical-align: middle; font-variant-numeric: tabular-nums; }
.tag { margin: 3px 6px 3px 0; }

/* ===== 宽表右侧「操作」列冻结 =====
   订单类看板列多（10 列 / min-width 1680px），横向滚动时操作列会被推出屏幕，
   供应链每处理一单都要先滚到最右 → 把操作列钉在右侧，按钮始终可见。
   ⚠️ 粘性 td 必须有实底 background，否则横向滚动时下层单元格的文字会透出来。
   ⚠️ 分隔线只能用 box-shadow（表格布局下 td 的 border 不参与 sticky 绘制）。 */
.table th.col-sticky-r, .table td.col-sticky-r { position: sticky; right: 0; }
.table td.col-sticky-r { z-index: 2; background: #fff; box-shadow: inset 1px 0 0 #eef1f6; }
.table th.col-sticky-r { z-index: 3; background: #f7f8fc; box-shadow: inset 1px 0 0 #eef1f6; }
/* 门店外卖经营日报看板（15 列 / 真机 1763.3px）的钉列**跟着行底色走**（陈总 2026-10-10）：
   该表行底色是**分组**的（内联拼在 tr 上）——集团行 #F0F9FF、多平台子行 #FAFAFE、Σ合计行 #F5F3FF，
   而上面钉列的默认底是固定 #fff ⇒ 不跟色就会在这几类行上拉出一条刺眼的白带。
   ⚠️ 这三条必须写在**下面那条 :hover 之前**：与 `.table tr:hover td.col-sticky-r` 同为 (0,3,2)
      权重，同权重时后出现者胜 ⇒ hover 仍统一变 #fafbff，**既有交互表现一字未变**。 */
.table tr.ops-row-group > td.col-sticky-r { background: #F0F9FF; }
.table tr.ops-row-child > td.col-sticky-r { background: #FAFAFE; }
.table tr.ops-row-sum   > td.col-sticky-r { background: #F5F3FF; }
.table tr:hover td.col-sticky-r { background: #fafbff; }

.fin-sum-line { font-size: 13px; padding: 9px 0; }

/* ===== 订单专区（供应链发货） ===== */
.od-up .od-file { position: relative; display: inline-flex; align-items: center; gap: 6px;
  border: 1px dashed #a78bfa; color: #7c3aed; background: #faf7ff; border-radius: 8px;
  padding: 6px 14px; font-size: 13px; cursor: pointer; transition: all .2s; }
.od-up .od-file:hover { background: #f3ebff; border-color: #7c3aed; }
.od-up .od-file input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.od-up .od-file::before { content: '📎'; }
.od-up-st { margin-left: 8px; font-size: 12px; color: #27ae60; font-weight: 600; }
.od-link { color: #7c3aed; text-decoration: none; font-weight: 600; }
.od-link:hover { text-decoration: underline; }

/* ===== 门店运营 V2（admin 健康总览） ===== */
.modal.modal-wide .modal-content { max-width: 880px; }
.cards-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat-card { background: #f6f4ff; border: 1px solid #e4dcff; border-radius: 10px; padding: 14px 16px; text-align: center; }
.stat-card b { display: block; font-size: 26px; color: #6d28d9; }
.stat-card span { font-size: 12px; color: #888; }
.st-tag { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; }
.st-tag.st-ok { background: #dcfce7; color: #15803d; }
.st-tag.st-warn { background: #fef3c7; color: #b45309; }
.st-tag.st-bad { background: #ffe4e6; color: #be123c; }
.st-tag.st-muted { background: #eee; color: #888; }
.st-hd { display: flex; align-items: center; gap: 18px; margin: 6px 0 12px; }
.st-num { font-size: 44px; font-weight: 800; color: #6d28d9; line-height: 1; }
.st-num small { font-size: 14px; }
.st-meta { color: #888; font-size: 12px; line-height: 1.7; }
.st-risk { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.st-risk.ok { background: #dcfce7; color: #15803d; }
.st-risk.warn { background: #fef3c7; color: #b45309; }
.st-risk.bad { background: #ffe4e6; color: #be123c; }
.st-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.st-chip { padding: 3px 12px; border-radius: 999px; background: #f1f1f6; color: #999; font-size: 12px; }
.st-chip.on { background: #ede9fe; color: #6d28d9; font-weight: 600; }
.st-warns { background: #fff1f2; border: 1px solid #fecdd3; border-radius: 8px; padding: 8px 12px; margin-bottom: 10px; }
.st-warn-item { color: #be123c; font-size: 13px; padding: 2px 0; }
.st-ok-txt { color: #15803d; font-size: 13px; padding: 2px 0; }
.st-sec { font-size: 15px; font-weight: 700; margin: 16px 0 8px; color: #4c1d95; border-bottom: 2px solid #ede9fe; padding-bottom: 6px; }
.st-req { font-size: 11px; color: #e11d48; border: 1px solid #fecdd3; border-radius: 4px; padding: 0 4px; margin-left: 6px; }
.st-req.opt { color: #999; border-color: #ddd; }
.st-doc-on td { background: #f0fdf4; }
.st-link { color: #7c3aed; }
.sub-tip { color: #aaa; font-size: 12px; }
.st-tl { display: flex; gap: 12px; padding: 8px 0; border-left: 2px solid #ede9fe; margin-left: 6px; }
.st-tl.warn { border-left-color: #f59e0b; }
.st-tl.bad { border-left-color: #f43f5e; }
.st-tl-dot { width: 8px; height: 8px; border-radius: 50%; background: #8b5cf6; margin: 6px 0 0 2px; flex-shrink: 0; }
.st-tl.warn .st-tl-dot { background: #f59e0b; }
.st-tl.bad .st-tl-dot { background: #f43f5e; }
.st-tl-body { flex: 1; }
.st-tt { display: inline-block; padding: 1px 8px; border-radius: 6px; background: #ede9fe; color: #6d28d9; font-size: 12px; }
.st-tl-c { color: #333; font-size: 13px; margin-top: 4px; line-height: 1.6; }
.st-tl-n { color: #0891b2; font-size: 12px; margin-top: 4px; }

/* ============ 订单专区 KPI 卡片矩阵 ============ */
.kpi-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}
@media (max-width: 1280px) { .kpi-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .kpi-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .kpi-cards { grid-template-columns: 1fr; } }
.kpi-card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 16px 18px 14px;
  box-shadow: 0 2px 8px rgba(16,32,57,.06);
  border: 1px solid #eef1f6;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  cursor: default;
}
.kpi-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(16,32,57,.10); }
.kpi-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--kc, #cbd5e1);
}
.kpi-card .kc-icon {
  position: absolute;
  right: 14px; top: 14px;
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  background: var(--kc-bg, #f1f5f9);
  color: var(--kc, #64748b);
}
.kpi-card .kc-k {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
  letter-spacing: .2px;
}
.kpi-card .kc-sub {
  font-size: 11px;
  color: #94a3b8;
  margin-left: 6px;
}
.kpi-card .kc-v {
  font-size: 28px;
  font-weight: 700;
  color: #1f2d3d;
  line-height: 1.1;
  margin-top: 10px;
  font-variant-numeric: tabular-nums;
}
.kpi-card .kc-v.zero { color: #cbd5e1; }
.kpi-card .kc-foot {
  margin-top: 8px;
  font-size: 11px;
  color: #94a3b8;
  display: flex; align-items: center; gap: 4px;
}
.kpi-card .kc-foot .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--kc, #cbd5e1);
}
.kpi-card .kc-foot .dot.pulse {
  box-shadow: 0 0 0 0 var(--kc, #cbd5e1);
  animation: kc-pulse 1.6s infinite;
}
@keyframes kc-pulse {
  0% { box-shadow: 0 0 0 0 rgba(245,166,35,.55); }
  70% { box-shadow: 0 0 0 8px rgba(245,166,35,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,166,35,0); }
}
/* 状态色板 */
.kpi-card.kc-sku     { --kc: #64748b; --kc-bg: #f1f5f9; }
.kpi-card.kc-low     { --kc: #ef4444; --kc-bg: #fee2e2; }
.kpi-card.kc-pending { --kc: #f59e0b; --kc-bg: #fef3c7; }
.kpi-card.kc-receipt { --kc: #7c3aed; --kc-bg: #ede9fe; }
.kpi-card.kc-tolog   { --kc: #2563eb; --kc-bg: #dbeafe; }
.kpi-card.kc-shipping{ --kc: #06b6d4; --kc-bg: #cffafe; }
.kpi-card.kc-orders  { --kc: #10b981; --kc-bg: #d1fae5; }
.kpi-card.kc-mamount { --kc: #059669; --kc-bg: #d1fae5; }
.kpi-card.kc-total   { --kc: #4f46e5; --kc-bg: #e0e7ff; }
.kpi-card.kc-tamount { --kc: #b45309; --kc-bg: #fef3c7; }
/* 金额卡片：万位缩写字号略缩，免得撑破卡片 */
.kpi-card .kc-v.money { font-size: 25px; letter-spacing: -.5px; cursor: help; }

/* ============ 门店运营 TAB + 食亨分账 ============ */
.vtab { display: flex; gap: 10px; margin-bottom: 16px; border-bottom: 2px solid #eef1f6; padding-bottom: 10px; }
.vtab-btn { background: #fff; border: 1px solid #e2e6ee; color: #5a6b8c; border-radius: 8px; padding: 8px 18px; font-size: 13px; cursor: pointer; transition: all .18s; }
.vtab-btn:hover { border-color: #7c3aed; color: #7c3aed; }
.vtab-btn.on { background: linear-gradient(135deg, #7c3aed, #6a5cf7); color: #fff; border-color: transparent; box-shadow: 0 3px 10px rgba(124,58,237,.25); }
/* 经营看板 · Tab 面板显隐 */
.dash-panel { display: none; }
.dash-panel.on { display: block; }
.sh-pre { background: #0f172a; color: #d6e0f5; border-radius: 8px; padding: 12px 14px; font-size: 12px; line-height: 1.6; overflow: auto; max-height: 320px; white-space: pre-wrap; word-break: break-all; }

/* ============ 门店外卖经营日报 · 数据看板 ============ */
.ops-grp { margin-bottom: 12px; padding: 10px 12px; background: #f8fafc; border: 1px solid #eef1f6; border-radius: 10px; }
.ops-grp-t { font-size: 13px; font-weight: 500; color: #5a6b8c; margin-bottom: 8px; letter-spacing: .3px; }
.ops-grp .form-item input { width: 120px; }
.form-item select.input, .modal select, .form-item select { padding: 8px 10px; border: 1px solid #e2e6ee; border-radius: 8px; font-size: 13px; background: #fff; color: #1e293b; min-width: 150px; }
.modal textarea { width: 100%; box-sizing: border-box; padding: 10px; border: 1px solid #e2e6ee; border-radius: 8px; font-size: 12px; line-height: 1.5; font-family: inherit; resize: vertical; }
.err-tip { color: #ef4444; font-size: 12px; }

/* ============ 发货单流程进度条 ============ */
.sstep { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.2; }
.sstep .lbl { font-size: 11px; font-weight: 500; }
.sstep.done { background: #ecfdf5; color: #0f9d58; border: 1px solid #b7ebcf; }
.sstep.cur { background: #fff; color: #7c3aed; border: 1.5px solid #7c3aed; box-shadow: 0 0 0 2px rgba(124,58,237,.12); }
.sstep.todo { background: #f3f4f6; color: #9ca3af; border: 1px solid #e5e7eb; }
.od-state { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.od-state.pending { color: #b45309; background: #fef3c7; }
.od-state.approved { color: #7c3aed; background: #f3e8ff; }
.od-state.to_logistics { color: #1d4ed8; background: #dbeafe; }
.od-state.shipping { color: #0e7490; background: #cffafe; }
.od-state.delivered { color: #16a34a; background: #dcfce7; }
.od-state.cancelled, .od-state.rejected { color: #9ca3af; background: #f3f4f6; }
.od-flt { display: flex; gap: 6px; flex-wrap: wrap; margin: 2px 0 10px; }
.ord-chip { border: 1px solid #e4e7ee; background: #fff; color: #6b7280; border-radius: 999px; padding: 5px 12px; font-size: 12px; cursor: pointer; transition: all .15s; }
.ord-chip b { font-weight: 600; margin-left: 2px; }
.ord-chip:hover { border-color: #b8c2d4; color: #1f2d3d; }
.ord-chip.on { background: #4A6CF7; border-color: #4A6CF7; color: #fff; box-shadow: 0 1px 4px rgba(74,108,247,.25); }
.ord-chip.on b { color: #fff; }

/* 可搜索下拉（新建订货·发货客户；2026-09-27 起后台所有门店下拉共用同一套） */
.csx { position: relative; min-width: 240px; }
.csx-in { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid #dfe3ea; border-radius: 6px; font-size: 13px; background: #fff; color: #1f2d3d; }
.csx-in:focus { outline: none; border-color: #4A6CF7; box-shadow: 0 0 0 2px rgba(74,108,247,.15); }
/* 🔴 门店下拉复用适配（2026-09-27）：.csx 原本只服务采购页的整行宽度，
   塞进「财务表单 / 弹窗 form-item / 表格工具条」会被 240px 撑破或与相邻控件错位。
   这里统一收敛为「跟随父容器宽度」，并让 placeholder 与 .csx-sub 在窄容器里不溢出。 */
.csx-in::placeholder { color: #9aa3b2; }
.csx-in { text-overflow: ellipsis; }
.csx-item > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 表单行内（form-item 里）与表格工具条里的下拉：占满、不设最小宽度 */
.form-item .csx { min-width: 0; width: 100%; }
.form-item .csx-in { min-width: 0; }
/* 工具条（门店运营 / 运营走势 / 财务筛选）：沿用原 select 的 min-width 观感 */
.csx.csx-toolbar { min-width: 0; }
/* 弹窗里的下拉：.modal select 原本有 min-width:150px，这里给 hidden input 让位 */
.modal .csx { min-width: 0; width: 100%; }
.csx-drop { position: absolute; top: 100%; left: 0; right: 0; z-index: 30; margin-top: 4px; max-height: 260px; overflow-y: auto; background: #fff; border: 1px solid #dfe3ea; border-radius: 8px; box-shadow: 0 8px 24px rgba(31,45,61,.12); }
.csx-item { padding: 8px 12px; font-size: 13px; cursor: pointer; border-bottom: 1px solid #f1f3f7; display: flex; gap: 8px; align-items: center; color: #1f2d3d; }
.csx-item:last-child { border-bottom: none; }
.csx-item:hover { background: #eef2ff; }
.csx-sub { color: #9aa3b2; font-size: 12px; }
.csx-empty { padding: 14px; text-align: center; color: #9aa3b2; font-size: 12px; }

/* 订货单证上传缩略图预览 */
.pur-thumb { height: 46px; width: auto; max-width: 130px; object-fit: cover; border-radius: 6px; cursor: zoom-in; vertical-align: middle; border: 1px solid #dfe3ea; box-shadow: 0 1px 3px rgba(31,45,61,.08); background: #fff; }
.pur-thumb:hover { border-color: #4A6CF7; }
/* 凭证多图：上传缩略图列表（可追加/删除） */
.od-up-lst { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; min-height: 6px; }
.od-up-th { position: relative; display: inline-flex; cursor: zoom-in; }
.od-up-th img { height: 52px; width: auto; max-width: 130px; object-fit: cover; border-radius: 6px; border: 1px solid #dfe3ea; box-shadow: 0 1px 3px rgba(31,45,61,.08); background: #fff; }
.od-up-th.ok img { border-color: #93c5fd; }
.od-up-del { position: absolute; top: -7px; right: -7px; width: 17px; height: 17px; background: #e11d48; color: #fff; font-style: normal; font-size: 11px; font-weight: 700; line-height: 17px; text-align: center; border-radius: 50%; cursor: pointer; box-shadow: 0 1px 4px rgba(225,29,72,.45); user-select: none; }
.od-up-del:hover { background: #be123c; }

/* 经营看板 · 经营业绩期间切换（本月/上月/全年） */
.prd-seg { display: inline-flex; border: 1px solid #e2e6ee; border-radius: 8px; overflow: hidden; background: #f8f9fc; }
.prd-seg .prd-btn { border: 0; background: transparent; color: #5a6b8c; font-size: 13px; padding: 6px 16px; cursor: pointer; transition: all .18s; border-right: 1px solid #e2e6ee; }
.prd-seg .prd-btn:last-child { border-right: 0; }
.prd-seg .prd-btn:hover { color: #7c3aed; }
.prd-seg .prd-btn.on { background: linear-gradient(135deg, #7c3aed, #6a5cf7); color: #fff; font-weight: 600; }

/* ============ 建店任务 · 四环节（陈总 2026-09-19） ============ */
.bt-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.bt-chip { cursor: pointer; border: 1px solid #e3e8f2; background: #fff; border-radius: 12px; padding: 8px 14px; text-align: left; transition: all .15s; min-width: 104px; }
.bt-chip:hover { border-color: #93b4fb; box-shadow: 0 2px 10px rgba(59,130,246,.12); }
.bt-chip.on { border-color: #3b82f6; background: #eff6ff; box-shadow: 0 0 0 2px rgba(59,130,246,.15); }
.bt-chip .k { font-size: 12px; color: #64748b; white-space: nowrap; }
.bt-chip .v { font-size: 20px; font-weight: 700; color: #1e293b; line-height: 1.3; }
.bt-chip .v.danger { color: #ef4444; } .bt-chip .v.warn { color: #f59e0b; }
.bt-chip .v.ok { color: #16a34a; } .bt-chip .v.blue { color: #3b82f6; }
.bt-bar2 { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.bt-search { display: flex; gap: 8px; align-items: center; }
.bt-search input { border: 1px solid #e3e8f2; border-radius: 8px; padding: 6px 10px; font-size: 13px; min-width: 220px; }
.bt-list { display: flex; flex-direction: column; gap: 12px; }
.bt-card { border: 1px solid #e3e8f2; border-radius: 14px; background: #fff; box-shadow: 0 1px 3px rgba(31,45,61,.05); overflow: hidden; }
.bt-card.bt-fin { border-color: #bbf7d0; background: #f8fffb; }
.bt-hd { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 11px 14px; background: #f8fafc; border-bottom: 1px solid #eef2f7; }
.bt-card.bt-fin .bt-hd { background: #f0fdf4; }
.bt-hd-l { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 14px; }
.bt-id { font-size: 12px; color: #94a3b8; font-variant-numeric: tabular-nums; }
.bt-hd-r { display: flex; align-items: center; gap: 8px; }
.bt-bar { display: inline-block; width: 104px; height: 7px; border-radius: 99px; background: #e2e8f0; overflow: hidden; }
.bt-bar i { display: block; height: 100%; background: linear-gradient(90deg, #60a5fa, #22c55e); transition: width .3s; }
.bt-steps { padding: 4px 8px; }
.bt-step { display: flex; align-items: center; gap: 11px; padding: 9px 6px; border-bottom: 1px dashed #eef2f7; border-left: 3px solid transparent; }
.bt-step:last-child { border-bottom: 0; }
.bt-step.on { background: #f7fef9; }
.bt-step.cur { border-left-color: #3b82f6; background: #f5f9ff; }
.bt-seq { flex: 0 0 26px; width: 26px; height: 26px; line-height: 26px; text-align: center; border-radius: 50%; background: #eef2f7; color: #64748b; font-size: 13px; font-weight: 700; }
.bt-step.on .bt-seq { background: #22c55e; color: #fff; }
.bt-step.cur .bt-seq { background: #3b82f6; color: #fff; }
.bt-info { flex: 1; min-width: 0; }
.bt-name { font-size: 13.5px; font-weight: 600; color: #1e293b; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.bt-owner { font-size: 11.5px; font-weight: 500; color: #64748b; background: #f1f5f9; border-radius: 5px; padding: 1px 6px; }
.bt-cur { font-size: 11.5px; font-weight: 500; color: #fff; background: #3b82f6; border-radius: 5px; padding: 1px 6px; }
.bt-meta { font-size: 12.5px; color: #5a6b8c; margin-top: 3px; line-height: 1.65; }
.bt-meta b { color: #1e293b; }
.bt-ok { color: #16a34a; font-weight: 600; }
.bt-no { color: #f59e0b; font-weight: 600; }
.bt-need { color: #ef4444; font-weight: 600; }
.bt-link { color: #3b82f6; text-decoration: none; }
.bt-link:hover { text-decoration: underline; }
.bt-acts { flex: 0 0 auto; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.bt-ft { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 9px 14px; border-top: 1px solid #eef2f7; background: #fcfdff; }
.bt-note { padding: 8px 14px; font-size: 12.5px; }
.bt-note.warn { background: #fffbeb; color: #b45309; border-top: 1px solid #fef3c7; }
.bt-note.ok { background: #f0fdf4; color: #15803d; border-top: 1px solid #dcfce7; }
.bt-chk { display: flex; align-items: center; gap: 8px; padding: 7px 2px; font-size: 13.5px; cursor: pointer; }
.bt-chk input { width: 16px; height: 16px; }
.bt-gate { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; border-radius: 10px; padding: 9px 13px; font-size: 13px; margin-bottom: 12px; }
.bt-gate a, .bt-gate button { color: #b45309; font-weight: 600; }

/* ===== 系统设置（陈总 2026-09-21）：分级权限 + 微信支付通道 + 员工账号 + 留痕 ===== */
.sy-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.sy-tab { padding: 7px 14px; border-radius: 8px; border: 1px solid #dfe3ea; background: #fff; color: #5a6b8c; cursor: pointer; font-size: 13px; }
.sy-tab:hover { border-color: #93b4fb; color: #4A6CF7; }
.sy-tab.on { background: #eaf0ff; border-color: #4A6CF7; color: #4A6CF7; font-weight: 600; }
.sy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.sy-item { min-width: 0; }
.sy-item label { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sy-item input, .sy-item select, .sy-item textarea { width: 100%; box-sizing: border-box; }
.sy-src { font-size: 11px; padding: 1px 6px; font-weight: 400; }
.sy-hint { font-size: 12px; color: #8a95a6; margin-top: 5px; line-height: 1.6; }
.sy-secret { display: flex; gap: 6px; align-items: center; }
.sy-secret input { flex: 1; }
.sy-warn { background: #fff4e6; border-left: 3px solid #f5a623; color: #92400e; padding: 8px 10px; border-radius: 6px; font-size: 12px; line-height: 1.7; margin-top: 8px; }
.sy-ok { background: #e6f7ed; border-left: 3px solid #27ae60; color: #15803d; padding: 8px 10px; border-radius: 6px; font-size: 12px; line-height: 1.7; margin-top: 8px; }
.sy-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.sy-empty { text-align: center; color: #a8b2c2; padding: 34px 0; font-size: 13px; line-height: 1.9; }
.sy-dirty { color: #f5a623; font-size: 12px; margin-right: 4px; }
.sy-rules { margin: 0; padding-left: 20px; font-size: 12px; color: #5a6b8c; line-height: 2; }
.sy-chseg { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.sy-ch { padding: 8px 16px; border-radius: 8px; border: 1px solid #dfe3ea; background: #fff; color: #5a6b8c; cursor: pointer; font-size: 13px; }
.sy-ch:hover { border-color: #93b4fb; color: #4A6CF7; }
.sy-ch.on { background: #eaf0ff; border-color: #4A6CF7; color: #4A6CF7; font-weight: 600; }
.sy-ch[disabled] { opacity: .55; cursor: not-allowed; }
.sy-roles-wrap { display: flex; gap: 14px; align-items: flex-start; }
.sy-role-col { width: 186px; flex: none; }
.sy-role-list { display: flex; flex-direction: column; gap: 4px; }
.sy-role { text-align: left; padding: 7px 10px; border-radius: 7px; border: 1px solid transparent; background: #f7f8fc; color: #5a6b8c; cursor: pointer; font-size: 13px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sy-role:hover { background: #eef2ff; }
.sy-role.on { background: #eaf0ff; border-color: #4A6CF7; color: #4A6CF7; font-weight: 600; }
.sy-role .sy-rn { color: #a8b2c2; font-size: 11px; font-weight: 400; white-space: nowrap; }
.sy-role.on .sy-rn { color: #4A6CF7; }
.sy-grid-col { flex: 1; min-width: 0; }
.sy-grp { border: 1px solid #eef1f6; border-radius: 9px; margin-bottom: 8px; overflow: hidden; }
.sy-grp-hd { display: flex; align-items: center; gap: 8px; padding: 9px 12px; cursor: pointer; background: #f8f9fc; }
.sy-grp-hd:hover { background: #f0f4ff; }
.sy-grp-t { flex: 1; font-size: 13px; font-weight: 600; color: #1f2d3d; }
.sy-cnt { font-size: 11px; color: #8a95a6; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sy-cnt.part { color: #f5a623; }
.sy-cnt.full { color: #27ae60; }
.sy-caret { color: #8a95a6; font-size: 11px; width: 10px; text-align: center; }
.sy-perms { display: grid; grid-template-columns: repeat(auto-fill, minmax(198px, 1fr)); gap: 4px 12px; padding: 10px 12px; }
.sy-perm { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #1f2d3d; cursor: pointer; padding: 3px 0; min-width: 0; }
.sy-perm input { width: 15px; height: 15px; cursor: pointer; flex: none; margin: 0; }
.sy-perm span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sy-perm.dis { opacity: .5; cursor: not-allowed; }
.sy-perm.dis input { cursor: not-allowed; }
.sy-kv { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.sy-pw { font-family: Consolas, Menlo, monospace; font-size: 20px; letter-spacing: 2px; background: #eaf0ff; color: #1f2d3d; padding: 10px 16px; border-radius: 8px; display: inline-block; user-select: all; }

/* ── 建店任务·环节④「开设平台」的取数凭据区（陈总 2026-10-16）──
   勾选平台后展开：二选一「走平台总部账号」/「就地粘贴该店 CK」，
   目的＝把「事后去外卖同步中心补 CK」这一步前移到环节④里当场做完。 */
.bt-plrow { border: 1px solid #eef2f7; border-radius: 10px; padding: 6px 10px 8px; margin-bottom: 8px; }
.bt-plrow .bt-chk { margin: 0; }
.bt-cred { margin: 4px 0 2px 24px; padding-left: 10px; border-left: 2px solid #e3e8f2; }
.bt-cred-opt { display: flex; align-items: center; gap: 7px; font-size: 13px; cursor: pointer; padding: 3px 0; }
.bt-cred-opt input { width: 15px; height: 15px; }
.bt-cred-tip { margin: 0 0 2px 22px; line-height: 1.8; }
.bt-ckbox { margin: 4px 0 2px 22px; }
.bt-ckbox textarea { width: 100%; box-sizing: border-box; font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px; line-height: 1.6; padding: 7px 9px; border: 1px solid #d8dfea; border-radius: 8px; resize: vertical; }
.bt-ckrow { display: flex; align-items: center; gap: 9px; margin-top: 6px; flex-wrap: wrap; }
.bt-ckrow .sub-tip { line-height: 1.7; }
.bt-open-acts { display: flex; gap: 6px; flex-wrap: wrap; }
