/* ==========================================================================
   配置中心 / 企业管理-租赁配置（PC端） - 增量样式
   控件（筛选栏 / 表格 / 按钮 / 弹窗 / Tab / tag）复用 .oldnew-module 既有样式，
   此处补充：配置页页头、业务流程配置双栏（配置项表 + 自动生成的流程图）、
   企业/项目继承关系标记、功能开关清单、消息接收角色与分页。
   所有选择器限定在 .cfg-module 内（页面容器与弹窗壳均带该类名）。
   ========================================================================== */
.cfg-module { font-size: 13px; color: #333; }
.cfg-module .cfg-ic { width: 14px; height: 14px; flex: none; vertical-align: -2px; }

/* ===== 直接挂在控件上的 form-control（既有样式只覆盖其后代 input） ===== */
.cfg-module input.form-control,
.cfg-module select.form-control {
    padding: 5px 10px; border: 1px solid #d9d9d9; border-radius: 4px;
    font-size: 13px; color: #333; background: #fff; font-family: inherit;
}
.cfg-module input.form-control:focus,
.cfg-module select.form-control:focus { border-color: #f5222d; outline: none; }
.cfg-module input.form-control:disabled,
.cfg-module select.form-control:disabled { background: #fafafa; color: #999; cursor: not-allowed; }
.cfg-module .cfg-err { color: #f5222d; font-size: 12px; margin-top: 8px; min-height: 16px; }
.cfg-module .is-err { border-color: #f5222d !important; }

/* ===== 页头 ===== */
.cfg-module .cfg-head {
    background: #fff; border-radius: 4px; padding: 14px 16px; margin-bottom: 12px;
    display: flex; align-items: flex-start; gap: 12px;
}
.cfg-module .cfg-back {
    flex: none; align-self: center; display: inline-flex; align-items: center; gap: 2px;
    padding: 6px 12px; border: 1px solid #f5222d; border-radius: 4px;
    color: #f5222d; background: #fff; font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap;
}
.cfg-module .cfg-back:hover { background: #fff1f0; }
.cfg-module .cfg-head-main { flex: 1; min-width: 0; }
.cfg-module .cfg-head-title { font-size: 16px; font-weight: 600; color: #333; display: flex; align-items: center; gap: 8px; }
.cfg-module .cfg-head-sub { font-size: 12px; color: #999; margin-top: 5px; line-height: 1.6; }
.cfg-module .cfg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cfg-module .cfg-chip {
    display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px;
    background: #fafafa; border: 1px solid #f0f0f0; border-radius: 3px; font-size: 12px; color: #666;
}
.cfg-module .cfg-chip-ic { color: #f5222d; width: 12px; height: 12px; }
.cfg-module .cfg-head-extra { flex: none; display: flex; align-items: center; gap: 8px; }
.cfg-module .cfg-ent-switch { min-width: 240px; }
.cfg-module .cfg-desc { color: #666; font-size: 12px; margin-bottom: 12px; line-height: 1.7; }

/* ===== 容器 / 面板 ===== */
.cfg-module .cfg-wrap { background: #fff; border-radius: 4px; padding: 0 16px 16px; }
.cfg-module .cfg-panel { background: #fff; border: 1px solid #f0f0f0; border-radius: 4px; margin-bottom: 12px; }
.cfg-module .cfg-panel-h {
    display: flex; align-items: center; gap: 6px; padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0; background: #fafafa; font-size: 13px; font-weight: 500; color: #333;
    border-radius: 4px 4px 0 0;
}
.cfg-module .cfg-panel-h > .cfg-ic { color: #f5222d; }
.cfg-module .cfg-panel-acts { margin-left: auto; display: flex; gap: 8px; }
.cfg-module .cfg-panel-sub { margin-left: auto; font-size: 12px; font-weight: 400; color: #999; }
.cfg-module .cfg-panel-h .cfg-panel-acts + .cfg-panel-sub,
.cfg-module .cfg-flow-left .cfg-panel-h .cfg-dirty,
.cfg-module .cfg-flow-left .cfg-panel-h .cfg-saved { margin-left: auto; }
.cfg-module .cfg-empty {
    padding: 40px 0; text-align: center; color: #999; font-size: 13px; display: flex;
    flex-direction: column; align-items: center; gap: 10px;
}
.cfg-module .cfg-empty .cfg-ic { width: 28px; height: 28px; color: #d9d9d9; }
.cfg-module .cfg-muted { color: #999; }
.cfg-module .cfg-mono { font-family: Consolas, Monaco, "Courier New", monospace; font-size: 12px; color: #666; }
.cfg-module .cfg-ops .link { margin-right: 10px; white-space: nowrap; }
.cfg-module .cfg-ops .link:last-child { margin-right: 0; }
.cfg-module .link.strong { font-weight: 500; }
.cfg-module .cfg-table td { vertical-align: middle; }
.cfg-module .cfg-sep { color: #999; }
.cfg-module .cfg-sub-text { font-size: 11px; color: #999; margin-top: 2px; line-height: 1.5; }

/* ===== 筛选区 ===== */
.cfg-module .cfg-filter-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; width: 100%; }
.cfg-module .cfg-filter-btns { display: flex; gap: 8px; margin-left: auto; }
.cfg-module .cfg-filter-info { font-size: 12px; color: #999; width: 100%; }
.cfg-module .cfg-biz-pick { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.cfg-module .cfg-biz {
    padding: 3px 10px; border: 1px solid #d9d9d9; border-radius: 3px; font-size: 12px;
    color: #666; cursor: pointer; font-style: normal; user-select: none;
}
.cfg-module .cfg-biz.on { border-color: #f5222d; color: #f5222d; background: #fff1f0; }
.cfg-module .cfg-biz-pick.big .cfg-biz { padding: 5px 14px; font-size: 13px; }

/* ===== 业务流程配置页 ===== */
.cfg-module .cfg-flow-layout { display: flex; gap: 12px; align-items: flex-start; }
.cfg-module .cfg-flow-left { flex: 1 1 auto; min-width: 0; }
.cfg-module .cfg-flow-right { flex: 0 0 300px; position: sticky; top: 8px; }
.cfg-module .cfg-config-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cfg-module .cfg-config-table th {
    background: #fafafa; padding: 9px 12px; text-align: left; font-weight: 500;
    color: #333; border-bottom: 1px solid #e8e8e8; white-space: nowrap;
}
.cfg-module .cfg-config-table td { padding: 10px 12px; border-bottom: 1px solid #f0f0f0; vertical-align: top; }
.cfg-module .cfg-config-table tr:hover td { background: #fafafa; }
.cfg-module .cfg-c-name { color: #333; font-weight: 500; width: 170px; }
.cfg-module .cfg-c-desc { color: #666; font-size: 12px; line-height: 1.7; }
.cfg-module .cfg-c-set { white-space: nowrap; }
.cfg-module .cfg-param {
    display: inline-block; padding: 1px 6px; border-radius: 2px; font-size: 11px; font-style: normal;
    border: 1px solid transparent; white-space: nowrap;
}
.cfg-module .cfg-param.switch { color: #52c41a; background: #f6ffed; border-color: #b7eb8f; }
.cfg-module .cfg-param.input { color: #1890ff; background: #e6f7ff; border-color: #91d5ff; }
.cfg-module .cfg-param.select { color: #fa8c16; background: #fff7e6; border-color: #ffd591; }
.cfg-module .cfg-param.both { color: #722ed1; background: #f9f0ff; border-color: #d3adf7; }
.cfg-module .cfg-link-tag, .cfg-module .cfg-p-tag {
    display: inline-block; margin-left: 4px; padding: 0 4px; border-radius: 2px;
    font-size: 10px; font-style: normal; vertical-align: 1px;
}
.cfg-module .cfg-link-tag { color: #fa8c16; background: #fff7e6; border: 1px solid #ffd591; }
.cfg-module .cfg-p-tag { color: #722ed1; background: #f9f0ff; border: 1px solid #d3adf7; }
.cfg-module .cfg-blocked-tip { color: #fa8c16; font-size: 11px; margin-top: 2px; }
.cfg-module .cfg-config-table tr.is-blocked td { background: #fffdf7; }
.cfg-module .cfg-config-table tr.is-blocked .cfg-c-name { color: #999; }
.cfg-module .cfg-sub { margin-top: 4px; }
.cfg-module .cfg-unit { font-size: 11px; color: #999; margin-left: 4px; }
.cfg-module .cfg-input { width: 66px; }
.cfg-module .cfg-select { min-width: 150px; }

/* 开关 */
.cfg-module .cfg-switch { position: relative; display: inline-block; width: 40px; height: 20px; cursor: pointer; vertical-align: middle; }
.cfg-module .cfg-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.cfg-module .cfg-switch > span {
    position: absolute; inset: 0; background: #bfbfbf; border-radius: 10px;
    transition: background .2s;
}
.cfg-module .cfg-switch > span::after {
    content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px;
    background: #fff; border-radius: 50%; transition: transform .2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}
.cfg-module .cfg-switch input:checked + span { background: #f5222d; }
.cfg-module .cfg-switch input:checked + span::after { transform: translateX(20px); }
.cfg-module .cfg-switch input:disabled + span { background: #e8e8e8; cursor: not-allowed; }
.cfg-module .cfg-switch.off { cursor: not-allowed; }

/* 流程图 */
.cfg-module .cfg-canvas-wrap { padding: 14px; overflow-y: auto; max-height: 520px; }
.cfg-module .cfg-canvas { display: flex; flex-direction: column; align-items: center; gap: 0; }
.cfg-module .cfg-node {
    width: 100%; border-radius: 4px; padding: 7px 10px; font-size: 12px; text-align: center;
    border: 1px solid #d9d9d9; background: #fff; position: relative;
}
.cfg-module .cfg-node b { display: block; font-weight: 500; color: #333; }
.cfg-module .cfg-node span { display: block; font-size: 10px; color: #999; margin-top: 2px; line-height: 1.5; }
.cfg-module .cfg-node i {
    position: absolute; top: 6px; right: 6px; font-style: normal; font-size: 10px;
    padding: 0 4px; border-radius: 2px;
}
.cfg-module .cfg-node.std { border-color: #91d5ff; background: #e6f7ff; }
.cfg-module .cfg-node.std i { color: #1890ff; }
.cfg-module .cfg-node.nonstd { border-color: #ffbb96; background: #fff7e6; border-style: dashed; }
.cfg-module .cfg-node.nonstd i { color: #fa8c16; }
.cfg-module .cfg-arrow { width: 1px; height: 16px; background: #d9d9d9; position: relative; margin: 2px 0; }
.cfg-module .cfg-arrow::after {
    content: ''; position: absolute; left: -3px; bottom: 0; width: 0; height: 0;
    border: 3.5px solid transparent; border-top-color: #d9d9d9;
}
.cfg-module .cfg-canvas-tip { padding: 8px 14px; border-top: 1px solid #f0f0f0; font-size: 11px; color: #999; }
.cfg-module .cfg-zoom-btn {
    margin-left: auto; font-size: 12px; color: #f5222d; cursor: pointer; font-weight: 400;
}
.cfg-module .cfg-flow-note {
    display: flex; gap: 6px; padding: 10px 14px; border-top: 1px solid #f0f0f0;
    font-size: 12px; color: #8c6d1f; background: #fffbe6; line-height: 1.7;
}
.cfg-module .cfg-flow-note .cfg-ic { color: #fa8c16; margin-top: 3px; }
.cfg-module .cfg-legend { display: flex; align-items: center; gap: 16px; font-size: 12px; color: #666; margin-bottom: 12px; }
.cfg-module .cfg-legend span { display: inline-flex; align-items: center; gap: 5px; }
.cfg-module .cfg-dot { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.cfg-module .cfg-dot.std { background: #e6f7ff; border: 1px solid #91d5ff; }
.cfg-module .cfg-dot.nonstd { background: #fff7e6; border: 1px dashed #ffbb96; }
.cfg-module .cfg-dot.on { width: 8px; height: 8px; background: #52c41a; border: none; border-radius: 50%; }
.cfg-module .cfg-dot.off { width: 8px; height: 8px; background: #d9d9d9; border: none; border-radius: 50%; }
.cfg-module .cfg-legend-n { margin-left: auto; color: #999; }

/* 状态与底部操作栏 */
.cfg-module .cfg-dirty { margin-left: auto; color: #f5222d; font-size: 12px; font-weight: 400; }
.cfg-module .cfg-saved { margin-left: auto; color: #52c41a; font-size: 12px; font-weight: 400; }
.cfg-module .cfg-inherit { font-size: 12px; color: #666; }
.cfg-module .cfg-foot {
    display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #f0f0f0;
    border-radius: 4px; padding: 10px 14px; margin-top: 12px; position: sticky; bottom: 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, .04); z-index: 5;
}
.cfg-module .cfg-foot-tip { font-size: 12px; color: #999; }
.cfg-module .cfg-foot-tip b { color: #f5222d; }
.cfg-module .cfg-foot-acts { margin-left: auto; display: flex; gap: 8px; }
.cfg-module .cfg-flow-page { padding-bottom: 4px; }

/* ===== 卡片网格（业务功能配置） ===== */
.cfg-module .cfg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; padding-top: 14px; }
.cfg-module .cfg-card { border: 1px solid #f0f0f0; border-radius: 4px; overflow: hidden; background: #fff; }
.cfg-module .cfg-card-h {
    display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-size: 13px; font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
}
.cfg-module .cfg-card-h .tag { margin-left: auto; }
.cfg-module .cfg-card-h.red { background: #fff1f0; border-bottom-color: #ffccc7; color: #cf1322; }
.cfg-module .cfg-card-h.blue { background: #e6f7ff; border-bottom-color: #91d5ff; color: #096dd9; }
.cfg-module .cfg-card-h.orange { background: #fff7e6; border-bottom-color: #ffd591; color: #d46b08; }
.cfg-module .cfg-card-h.green { background: #f6ffed; border-bottom-color: #b7eb8f; color: #389e0d; }
.cfg-module .cfg-card-ic {
    width: 22px; height: 22px; border-radius: 4px; background: #fff; display: inline-flex;
    align-items: center; justify-content: center; flex: none;
}
.cfg-module .cfg-card-ic .cfg-ic { width: 13px; height: 13px; }
.cfg-module .cfg-card-title { flex: 1; min-width: 0; }
.cfg-module .cfg-card-b { padding: 12px; }
.cfg-module .cfg-card-desc { color: #666; font-size: 12px; line-height: 1.7; height: 60px; overflow: hidden; }
.cfg-module .cfg-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 10px 0 6px; }
.cfg-module .cfg-card-sum { width: 100%; color: #999; font-size: 11px; line-height: 1.6; }
.cfg-module .cfg-card-tip {
    display: flex; gap: 5px; font-size: 11px; color: #8c6d1f; background: #fffbe6;
    border-radius: 3px; padding: 6px 8px; line-height: 1.6; margin-bottom: 10px;
}
.cfg-module .cfg-card-tip .cfg-ic { color: #fa8c16; width: 12px; height: 12px; margin-top: 3px; }
.cfg-module .cfg-card-acts { display: flex; gap: 8px; }

/* ===== 租赁配置枢纽 / 步骤条 ===== */
.cfg-module .cfg-hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; padding-top: 14px; }
.cfg-module .cfg-hub-card { border: 1px solid #f0f0f0; border-radius: 4px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.cfg-module .cfg-hub-card.locked { background: #fafafa; }
.cfg-module .cfg-hub-ic { width: 30px; height: 30px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; }
.cfg-module .cfg-hub-ic .cfg-ic { width: 16px; height: 16px; }
.cfg-module .cfg-hub-ic.red { background: #fff1f0; color: #cf1322; }
.cfg-module .cfg-hub-ic.blue { background: #e6f7ff; color: #096dd9; }
.cfg-module .cfg-hub-ic.orange { background: #fff7e6; color: #d46b08; }
.cfg-module .cfg-hub-ic.green { background: #f6ffed; color: #389e0d; }
.cfg-module .cfg-hub-ic.purple { background: #f9f0ff; color: #531dab; }
.cfg-module .cfg-hub-body { display: flex; gap: 10px; align-items: flex-start; }
.cfg-module .cfg-hub-title { font-size: 13px; font-weight: 500; color: #333; }
.cfg-module .cfg-hub-desc { font-size: 11px; color: #999; margin-top: 3px; line-height: 1.6; }
.cfg-module .cfg-hub-foot { display: flex; align-items: center; gap: 8px; border-top: 1px solid #f0f0f0; padding-top: 8px; }
.cfg-module .cfg-hub-status { font-size: 11px; color: #666; }
.cfg-module .cfg-hub-go { margin-left: auto; }
.cfg-module .cfg-hub-lock {
    display: flex; gap: 5px; font-size: 11px; color: #d46b08; background: #fff7e6;
    border-radius: 3px; padding: 6px 8px; line-height: 1.6;
}
.cfg-module .cfg-steps { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 12px 16px 0; }
.cfg-module .cfg-step {
    display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #999; white-space: nowrap;
}
.cfg-module .cfg-step i {
    width: 18px; height: 18px; border-radius: 50%; border: 1px solid #d9d9d9; font-style: normal;
    display: inline-flex; align-items: center; justify-content: center; font-size: 11px; background: #fff;
}
.cfg-module .cfg-step.done { color: #333; }
.cfg-module .cfg-step.done i { background: #52c41a; border-color: #52c41a; color: #fff; }
.cfg-module .cfg-step-line { width: 24px; height: 1px; background: #e8e8e8; }

/* ===== 基础维护归纳 ===== */
.cfg-module .cfg-maintain { padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.cfg-module .cfg-maintain-row {
    display: flex; align-items: flex-start; gap: 12px; border: 1px solid #f0f0f0;
    border-radius: 4px; padding: 12px 14px; cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.cfg-module .cfg-maintain-row:hover { border-color: #ffa39e; box-shadow: 0 2px 8px rgba(0, 0, 0, .05); }
.cfg-module .cfg-maintain-ic {
    width: 30px; height: 30px; border-radius: 4px; display: inline-flex; align-items: center;
    justify-content: center; flex: none;
}
.cfg-module .cfg-maintain-ic .cfg-ic { width: 15px; height: 15px; }
.cfg-module .cfg-maintain-ic.red { background: #fff1f0; color: #cf1322; }
.cfg-module .cfg-maintain-ic.blue { background: #e6f7ff; color: #096dd9; }
.cfg-module .cfg-maintain-ic.green { background: #f6ffed; color: #389e0d; }
.cfg-module .cfg-maintain-ic.orange { background: #fff7e6; color: #d46b08; }
.cfg-module .cfg-maintain-ic.purple { background: #f9f0ff; color: #722ed1; }
.cfg-module .cfg-maintain-ic.cyan { background: #e6fffb; color: #08979c; }
.cfg-module .cfg-maintain-body { flex: 1; min-width: 0; }
.cfg-module .cfg-maintain-title { font-size: 13px; font-weight: 500; color: #333; display: flex; align-items: center; gap: 8px; }
.cfg-module .cfg-maintain-desc { font-size: 12px; color: #666; line-height: 1.7; margin-top: 3px; }
.cfg-module .cfg-maintain-tip {
    display: flex; gap: 5px; font-size: 11px; color: #8c6d1f; margin-top: 5px; line-height: 1.6;
}
.cfg-module .cfg-maintain-tip .cfg-ic { color: #fa8c16; width: 12px; height: 12px; margin-top: 3px; flex: none; }
.cfg-module .cfg-maintain-arrow { color: #bfbfbf; font-size: 15px; align-self: center; flex: none; }

/* ===== 参数卡（企业默认 / 项目级） ===== */
.cfg-module .cfg-params { padding-top: 14px; }
.cfg-module .cfg-param-card { margin-bottom: 12px; }
.cfg-module .cfg-param-title { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; }
.cfg-module .cfg-param-b { padding: 12px 14px; }
.cfg-module .cfg-param-desc { font-size: 12px; color: #666; line-height: 1.7; margin-bottom: 10px; }
.cfg-module .cfg-edit-tip { font-size: 12px; color: #d46b08; background: #fff7e6; border-radius: 3px; padding: 6px 8px; margin-bottom: 10px; }
.cfg-module .cfg-filled { font-size: 11px; color: #999; margin-top: 8px; }
.cfg-module .cfg-form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 4px 20px; }
.cfg-module .cfg-form-row { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.cfg-module .cfg-form-label { width: 108px; flex: none; color: #666; font-size: 12px; text-align: right; }
.cfg-module .cfg-form-val { flex: 1; min-width: 0; }
.cfg-module .cfg-form-val .cfg-param-input { width: 100%; }
.cfg-module .cfg-param-input { display: block; }
.cfg-module .cfg-detail { padding: 4px 14px 10px; }
.cfg-module .cfg-detail-row { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px dashed #f0f0f0; font-size: 12px; }
.cfg-module .cfg-detail-row:last-child { border-bottom: none; }
.cfg-module .cfg-detail-row > span { width: 130px; flex: none; color: #999; }
.cfg-module .cfg-detail-row > b { font-weight: 400; color: #333; flex: 1; line-height: 1.7; word-break: break-all; }
.cfg-module .cfg-detail-row.wide > span { width: 150px; }

/* ===== 项目配置：左侧项目栏 ===== */
/* layout 与 cfg-module 同元素，必须用复合选择器（后代选择器永不匹配） */
.cfg-module.cfg-pj-layout { display: flex; gap: 12px; align-items: flex-start; }
.cfg-module .cfg-pj-side { width: 216px; flex: none; margin-bottom: 0; position: sticky; top: 8px; }
.cfg-module .cfg-pj-main { flex: 1; min-width: 0; }
.cfg-module .cfg-pj-search { padding: 10px; border-bottom: 1px solid #f0f0f0; }
.cfg-module .cfg-pj-search .form-control { width: 100%; }
.cfg-module .cfg-pj-list { max-height: calc(100vh - 260px); overflow-y: auto; padding: 4px 0 8px; }
.cfg-module .cfg-pj-item { padding: 9px 12px; cursor: pointer; border-left: 2px solid transparent; }
.cfg-module .cfg-pj-item:hover { background: #fafafa; }
.cfg-module .cfg-pj-item.on { background: #fff1f0; border-left-color: #f5222d; }
.cfg-module .cfg-pj-item-name { font-size: 13px; color: #333; font-weight: 500; }
.cfg-module .cfg-pj-item.on .cfg-pj-item-name { color: #cf1322; }
.cfg-module .cfg-pj-item-info { font-size: 11px; color: #999; margin-top: 2px; line-height: 1.5; }
.cfg-module .cfg-pj-item-meta { font-size: 11px; color: #bfbfbf; margin-top: 2px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cfg-module .cfg-pj-flag {
    font-style: normal; font-size: 10px; color: #fa8c16; background: #fff7e6;
    border: 1px solid #ffd591; border-radius: 2px; padding: 0 3px;
}

/* ===== 功能开关清单 ===== */
.cfg-module .cfg-tab-count { margin-left: auto; font-size: 12px; color: #999; font-weight: 400; align-self: center; }
.cfg-module .cfg-modules { padding-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.cfg-module .cfg-module-card { margin-bottom: 0; }
.cfg-module .cfg-module-title { font-size: 13px; font-weight: 500; }
.cfg-module .cfg-module-stats { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 12px; color: #999; font-weight: 400; }
.cfg-module .cfg-func-list { display: flex; flex-direction: column; }
.cfg-module .cfg-func { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #f0f0f0; }
.cfg-module .cfg-func:last-child { border-bottom: none; }
.cfg-module .cfg-func-body { flex: 1; min-width: 0; }
.cfg-module .cfg-func-name { font-size: 13px; color: #333; }
.cfg-module .cfg-func-desc { font-size: 11px; color: #999; margin-top: 2px; line-height: 1.6; }

/* ===== 印章关联 / 勾选清单 ===== */
.cfg-module .cfg-check-list { display: flex; flex-direction: column; gap: 8px; }
.cfg-module .cfg-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #333; cursor: pointer; }
.cfg-module .cfg-link-seals { color: #f5222d; cursor: pointer; }
.cfg-module .cfg-link-seals:hover { text-decoration: underline; }

/* ===== 业务消息通知 ===== */
.cfg-module .cfg-msg-table { table-layout: fixed; }
.cfg-module .cfg-msg-table td { vertical-align: middle; }
.cfg-module .cfg-msg-src { color: #666; }
.cfg-module .cfg-msg-title { color: #333; font-weight: 500; }
.cfg-module .cfg-msg-body { color: #666; font-size: 12px; line-height: 1.6; }
.cfg-module .cfg-ch {
    display: inline-block; margin: 1px 3px 1px 0; padding: 1px 5px; border-radius: 2px; font-size: 11px;
    border: 1px solid transparent; white-space: nowrap;
}
.cfg-module .cfg-ch.app { color: #1890ff; background: #e6f7ff; border-color: #91d5ff; }
.cfg-module .cfg-ch.system { color: #52c41a; background: #f6ffed; border-color: #b7eb8f; }
.cfg-module .cfg-ch.sms { color: #fa8c16; background: #fff7e6; border-color: #ffd591; }
.cfg-module .cfg-role { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.cfg-module .cfg-role-all { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; padding-bottom: 10px; border-bottom: 1px solid #f0f0f0; }
.cfg-module .cfg-role-list { display: flex; flex-direction: column; gap: 2px; max-height: 300px; overflow-y: auto; margin-top: 6px; }
.cfg-module .cfg-role-list.dim { opacity: .5; }
.cfg-module .cfg-role-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 3px; cursor: pointer; font-size: 13px; }
.cfg-module .cfg-role-item:hover { background: #fafafa; }
.cfg-module .cfg-role-name { color: #333; }
.cfg-module .cfg-role-remark { color: #999; font-size: 11px; }
.cfg-module .cfg-role-count { margin-top: 10px; font-size: 12px; color: #666; background: #fafafa; border-radius: 3px; padding: 7px 10px; line-height: 1.6; }

/* ===== 提示条 ===== */
.cfg-module .cfg-tip-ok { display: inline-flex; align-items: center; gap: 5px; color: #389e0d; font-size: 12px; }
.cfg-module .cfg-tip-warn { display: inline-flex; align-items: center; gap: 5px; color: #d46b08; font-size: 12px; }
.cfg-module .cfg-warn { color: #d46b08; font-size: 12px; }
.cfg-module .cfg-log-diff { font-size: 12px; color: #666; line-height: 1.6; }

/* ===== 分页 ===== */
.cfg-module .cfg-pager { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid #f0f0f0; font-size: 12px; color: #666; }
.cfg-module .pg-total { margin-right: auto; }
.cfg-module .pg-btns { display: flex; align-items: center; gap: 4px; }
.cfg-module .pg-btn {
    min-width: 26px; height: 26px; padding: 0 6px; border: 1px solid #d9d9d9; border-radius: 3px;
    background: #fff; color: #333; font-size: 12px; cursor: pointer;
}
.cfg-module .pg-btn:hover:not(:disabled):not(.active) { border-color: #f5222d; color: #f5222d; }
.cfg-module .pg-btn.active { background: #f5222d; border-color: #f5222d; color: #fff; }
.cfg-module .pg-btn:disabled { color: #c0c4cc; background: #f7f8fa; cursor: not-allowed; }
.cfg-module .pg-info { margin-left: 6px; color: #999; }
.cfg-module .pg-size { padding: 2px 4px; border: 1px solid #d9d9d9; border-radius: 3px; font-size: 12px; margin: 0 2px; }

/* ===== 弹窗内滚动 ===== */
.cfg-module .modal .cfg-config-table th,
.cfg-module .modal .cfg-config-table td { padding: 8px 10px; }
.cfg-module .modal .cfg-canvas-wrap { max-height: none; padding: 0; }
