:root { --brand: #1f4e8c; --brand-dark: #163a69; --bg: #f3f5f9; --line: #e6e9ef; --text2: #8a919f; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: #1f2329;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; font-size: 14px; }
h2, h3 { margin: 0; font-weight: 600; }
.muted { color: var(--text2); }
.small { font-size: 12px; }
.c-red { color: #e5484d !important; } .c-orange { color: #e8890c !important; } .c-green { color: #2f9e44 !important; } .c-blue { color: var(--brand) !important; }
.mt4 { margin-top: 4px; } .mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mb8 { margin-bottom: 8px; } .ml8 { margin-left: 8px; } .mr4 { margin-right: 4px; }
.flex1 { flex: 1; min-width: 0; }
.nowrap { white-space: nowrap; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pointer { cursor: pointer; }
.pointer-rows .el-table__row { cursor: pointer; }
.tag-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.opt-sub { float: right; color: var(--text2); font-size: 12px; margin-left: 12px; }

/* 登录 */
.login-bg { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: linear-gradient(135deg, #163a69 0%, #1f4e8c 55%, #3f74b5 100%); }
.login-box { width: 100%; max-width: 420px; background: #fff; border-radius: 12px; padding: 32px 28px; box-shadow: 0 12px 40px rgba(0,0,0,.18); text-align: center; }
.login-box h2 { margin: 8px 0 4px; }
.login-box .el-form { margin-top: 22px; text-align: left; }
.login-logo { width: 52px; height: 52px; margin: 0 auto; border-radius: 12px; background: var(--brand); color: #fff; font-size: 28px; display: flex; align-items: center; justify-content: center; }
.demo-title { margin: 22px 0 10px; font-size: 12px; color: var(--text2); }
.demo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.demo-item { border: 1px solid var(--line); border-radius: 8px; padding: 8px; cursor: pointer; display: flex; flex-direction: column; text-align: left; transition: .15s; }
.demo-item:hover { border-color: var(--brand); background: #f4f8fd; }
.demo-item span { font-size: 12px; color: var(--text2); }

/* 外框：电脑 */
.layout.is-pc { display: flex; min-height: 100vh; }
.side { width: 208px; flex-shrink: 0; background: var(--brand-dark); color: #c9d6ea; position: sticky; top: 0; height: 100vh; }
.brand { height: 56px; display: flex; align-items: center; gap: 8px; padding: 0 18px; color: #fff; font-weight: 600; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand .el-icon { font-size: 20px; }
.side-item { display: flex; align-items: center; gap: 10px; padding: 12px 20px; cursor: pointer; position: relative; }
.side-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.side-item.active { background: var(--brand); color: #fff; }
.side-item.active::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; background: #7fb2ff; border-radius: 2px; }
.side-badge { margin-left: auto; }
.side-badge .el-badge__content { border: none; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.top { height: 56px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; position: sticky; top: 0; z-index: 10; }
.top-title { font-weight: 600; font-size: 16px; }
.top-right { display: flex; align-items: center; gap: 16px; }
.user-chip { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.content { padding: 20px; max-width: 1400px; width: 100%; }

/* 外框：手机 */
.layout.is-m .content { padding: 12px 12px 76px; }
.layout.is-m .top { padding: 0 12px; height: 50px; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; height: 60px; background: #fff; border-top: 1px solid var(--line); display: flex; z-index: 20; padding-bottom: env(safe-area-inset-bottom); }
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; color: var(--text2); cursor: pointer; }
.tab .el-icon { font-size: 21px; }
.tab.active { color: var(--brand); }

/* 页面通用 */
.page-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; min-height: 36px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; align-items: center; }
.f-q { width: 240px; } .f-s { width: 140px; } .f-d { width: 260px !important; }
.is-m .f-q { width: 100%; } .is-m .f-s { width: calc(50% - 4px); } .is-m .f-d { width: 100% !important; }
.panel { background: #fff; border-radius: 10px; padding: 14px 16px; margin-bottom: 14px; border: 1px solid var(--line); }
.panel-h { display: flex; align-items: center; justify-content: space-between; font-weight: 600; margin-bottom: 10px; gap: 8px; }
.sub-h { font-weight: 600; font-size: 13px; margin: 12px 0 8px; color: #4b5563; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; cursor: pointer; transition: .15s; }
.card:hover { border-color: #b9cbe4; box-shadow: 0 2px 10px rgba(31,78,140,.06); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 14px; }
.grid2 > .panel, .grid3 > .panel { margin-bottom: 14px; }
.is-m .grid2, .is-m .grid3 { grid-template-columns: 1fr; gap: 0; }

/* 首页 */
.hello { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.hello h2 { font-size: 20px; margin-bottom: 4px; }
.is-m .hello h2 { font-size: 18px; }
.hello-btns { display: flex; gap: 8px; }
.stat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 14px; }
.is-m .stat-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.stat:hover { border-color: #b9cbe4; }
.stat b { font-size: 26px; line-height: 1.1; }
.is-m .stat { padding: 10px; } .is-m .stat b { font-size: 22px; }
.stat span { color: var(--text2); font-size: 12px; }
.stat.danger { border-color: #f6c9ca; background: #fff8f8; }
.alert-row, .feed-row { display: flex; align-items: center; gap: 8px; padding: 8px 4px; border-bottom: 1px dashed var(--line); cursor: pointer; }
.alert-row:hover, .feed-row:hover { background: #f8fafc; }
.alert-row:last-child, .feed-row:last-child { border-bottom: none; }
.alert-row .ellipsis { flex: 1; }
.funnel-row { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.funnel-label { width: 52px; font-size: 12px; color: #4b5563; }
.funnel-bar { flex: 1; height: 14px; background: #f0f3f8; border-radius: 7px; overflow: hidden; }
.funnel-bar div { height: 100%; background: linear-gradient(90deg, #3f74b5, #1f4e8c); border-radius: 7px; min-width: 2px; }
.person-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }

/* 任务卡片 */
.task-card.is-overdue { border-left: 3px solid #e5484d; }
.tc-row1 { display: flex; align-items: center; gap: 6px; }
.tc-title { flex: 1; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-row2 { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; margin-top: 6px; flex-wrap: wrap; }
.tc-row3 { font-size: 12px; margin-top: 4px; }

/* 详情抽屉 */
.detail-drawer .el-drawer__body, .el-drawer__body { padding: 0; }
.drawer-body { padding: 8px 20px 24px; min-height: 100%; }
.is-m .drawer-body, .el-drawer.rtl .drawer-body { }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin: 0 -8px 6px; position: sticky; top: 0; background: #fff; z-index: 2; padding: 6px 0; }
.d-title { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.d-title h3 { font-size: 18px; }
.d-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; align-items: center; }
.d-content { white-space: pre-wrap; background: #f7f9fc; border-radius: 8px; padding: 10px 12px; margin: 10px 0; line-height: 1.7; }
.d-content.issue { background: #fff5f5; color: #b42318; }
.action-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; padding: 12px; background: #f4f8fd; border-radius: 8px; }
.action-bar:empty { display: none; }
.action-bar .el-button + .el-button { margin-left: 0; }
.tl { padding-left: 2px; margin-top: 4px; }
.tl-head { display: flex; align-items: center; gap: 8px; }
.tl-content { white-space: pre-wrap; margin-top: 4px; line-height: 1.6; }
.quick-box { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.quick-ops { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-top: 8px; }
.comment-row { padding: 8px 10px; background: #fffaf0; border-radius: 8px; margin-bottom: 8px; }
.comment-row b { margin-right: 8px; }

/* 附件 */
.uploader { width: 100%; }
.up-btns { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.up-btns .el-button + .el-button { margin-left: 0; }
.att-list { margin-top: 8px; }
.att-imgs { display: flex; flex-wrap: wrap; gap: 8px; }
.att-thumb-wrap { position: relative; }
.att-thumb { width: 84px; height: 84px; border-radius: 6px; border: 1px solid var(--line); }
.att-x { position: absolute; top: -6px; right: -6px; font-size: 18px; color: #e5484d; background: #fff; border-radius: 50%; cursor: pointer; }
.att-file { display: flex; align-items: center; gap: 6px; padding: 4px 0; font-size: 13px; }
.att-file a { color: var(--brand); text-decoration: none; word-break: break-all; }

/* 表单 */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.is-m .form-row { grid-template-columns: 1fr; }
.el-dialog.is-fullscreen .form-row { grid-template-columns: 1fr; }
.form-row .el-select, .form-row .el-date-editor { width: 100%; }
.form-sec { font-weight: 600; color: var(--brand); border-left: 3px solid var(--brand); padding-left: 8px; margin: 6px 0 12px; }
.quick-dates { margin-left: 8px; }

/* 汇报 */
.rc-head { display: flex; align-items: center; gap: 10px; }
.rc-title { font-weight: 600; margin-top: 8px; }
.rc-body { margin-top: 6px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rc-issue { margin-top: 6px; color: #b42318; background: #fff5f5; padding: 4px 8px; border-radius: 6px; font-size: 13px; display: flex; gap: 4px; align-items: center; }

/* 消息 */
.msg-row { display: flex; align-items: center; gap: 10px; }
.msg-row.unread { background: #f7faff; border-color: #cfe0f5; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; flex-shrink: 0; }

/* 我的 */
.mine-card { display: flex; align-items: center; gap: 14px; }
.menu-list { padding: 4px 16px; }
.menu-item { display: flex; align-items: center; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.menu-item:last-child { border-bottom: none; }
.menu-item span { flex: 1; }

/* 手机端细节 */
.is-m .el-tabs__item { padding: 0 12px; }
.el-drawer .el-descriptions__label { width: 96px; }
@media (max-width: 767px) {
  .el-message-box { width: 90% !important; }
  .el-dialog__body { padding-top: 6px; }
}

/* ===== 第二批：资产 / 客户 / 匹配 ===== */
.side-group { padding: 14px 20px 4px; font-size: 11px; color: #7f93b3; letter-spacing: 1px; }
.side-group:empty { padding: 6px 0 0; border-top: 1px solid rgba(255,255,255,.08); margin-top: 8px; }
.ml4 { margin-left: 4px; } .fs16 { font-size: 16px !important; }
.form-row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 16px; }
.is-m .form-row3, .el-dialog.is-fullscreen .form-row3 { grid-template-columns: 1fr; }
.range { display: flex; align-items: center; gap: 6px; width: 100%; }
.range .el-input-number { flex: 1; width: auto; }
.price-range { display: inline-flex; align-items: center; gap: 4px; }
.price-range .el-input-number { width: 110px; }
.is-m .price-range { width: 100%; } .is-m .price-range .el-input-number { flex: 1; }
.price-hero { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 12px; padding: 12px 16px; background: linear-gradient(90deg, #f4f8fd, #fff); border: 1px solid #dfe8f4; border-radius: 10px; }
.price-hero > div { display: flex; flex-direction: column; gap: 2px; }
.price-hero b { font-size: 22px; color: var(--brand); }
.price-hero small { font-size: 12px; color: var(--text2); font-weight: normal; }
.mini-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.is-m .mini-stats { grid-template-columns: repeat(3, 1fr); }
.mini-stats > div { background: #f7f9fc; border-radius: 8px; padding: 10px 12px; cursor: pointer; display: flex; flex-direction: column; }
.mini-stats > div:hover { background: #eef3fa; }
.mini-stats b { font-size: 22px; }
.mini-stats span { font-size: 12px; color: var(--text2); }
.grid2.inner { gap: 24px; }
.funnel-bar.green div { background: linear-gradient(90deg, #51cf66, #2f9e44); }
.funnel-bar.grey div { background: #c4c9d2; }
.match-tip { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.match-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.card.match-row { padding: 12px 14px; border-bottom: 1px solid var(--line); cursor: default; }
.match-row:last-child { border-bottom: none; }
.match-box { margin-top: 8px; padding: 4px 12px; background: #f7f9fc; border-radius: 8px; }
.score-badge { width: 52px; height: 52px; flex-shrink: 0; border: 2px solid; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; }
.score-badge b { font-size: 17px; line-height: 1; }
.score-badge span { font-size: 9px; color: var(--text2); margin-top: 2px; }
.reason-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.pair-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.pair-cols .reason-tags { grid-column: 1 / -1; }
.is-m .pair-cols { grid-template-columns: 1fr; }
.rec-card { cursor: default; }
.rec-steps { display: flex; gap: 4px; margin: 8px 0 6px; }
.rec-step { flex: 1; text-align: center; font-size: 11px; padding: 3px 0; background: #eef1f5; color: var(--text2); border-radius: 3px; }
.rec-step.on { background: #dbe7f6; color: var(--brand); font-weight: 600; }
.rec-ops { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 6px; }
.rec-pair { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; background: #f4f8fd; border-radius: 8px; }
.need-card { cursor: default; }

/* ===== 第三批：项目 / 合同 / 风险 ===== */
.mb12 { margin-bottom: 12px; }
.xm-card .xm-prog { margin: 8px 0 4px; }
.xm-prog-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text2); }
.xm-prog-row span { width: 28px; } .xm-prog-row .el-progress { flex: 1; }
.tpl-preview { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin: -6px 0 14px; }
.gantt { background: #fafbfd; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.g-row { display: flex; align-items: center; gap: 8px; height: 26px; }
.g-label { width: 76px; font-size: 12px; color: #4b5563; }
.g-track { flex: 1; position: relative; height: 12px; background: #eef1f5; border-radius: 6px; }
.g-bar { position: absolute; top: 0; height: 12px; border-radius: 6px; }
.g-已完成 { background: #51cf66; } .g-进行中 { background: #3f74b5; } .g-已超期 { background: #e5484d; } .g-未开始 { background: #b9c4d3; }
.g-today { position: absolute; top: -4px; bottom: -4px; width: 2px; background: #e8890c; }
.g-date { width: 40px; text-align: right; }
.g-legend { margin-top: 6px; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.g-legend .lg { display: inline-block; width: 14px; height: 8px; border-radius: 4px; margin-left: 8px; }
.g-legend .lg-today { display: inline-block; width: 2px; height: 12px; background: #e8890c; margin-left: 8px; }
.ms-row { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.ms-dot { width: 26px; height: 26px; border-radius: 50%; background: #e8eef6; color: var(--brand); font-weight: 600; font-size: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ms-已完成 .ms-dot { background: #2f9e44; color: #fff; }
.ms-已超期 .ms-dot { background: #e5484d; color: #fff; }
.ms-ops { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ms-ops .el-button + .el-button { margin-left: 0; }
.node-edit { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.node-edit .ne-name { flex: 1; min-width: 160px; } .node-edit .ne-date { width: 140px !important; } .node-edit .ne-amt { width: 110px; }
.node-row { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; background: #fff; }
.node-row.is-overdue { border-left: 3px solid #e5484d; background: #fffafa; }
.pay-row { padding: 4px 8px; margin-top: 4px; background: #f3faf5; border-radius: 6px; }
.risk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 10px; }
.rs { border-radius: 10px; padding: 12px 14px; cursor: pointer; display: flex; flex-direction: column; border: 2px solid transparent; }
.rs b { font-size: 26px; line-height: 1.1; } .rs span { font-size: 12px; }
.rs.high { background: #fff0f0; color: #c92a2a; } .rs.mid { background: #fff7e6; color: #b86e00; } .rs.low { background: #f1f3f5; color: #5c636e; }
.rs.on { border-color: currentColor; }
.small-rs .rs { padding: 6px 10px; } .small-rs .rs b { font-size: 20px; }
.risk-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.risk-row.risk-高 { border-left: 3px solid #e5484d; } .risk-row.risk-中 { border-left: 3px solid #e8890c; }
.xm-home .risk-row { padding: 6px 8px; margin-bottom: 4px; }
.money-row { margin-bottom: 12px; }
.xm-mini { padding: 6px 0; cursor: pointer; }
.dual-bar { position: relative; height: 8px; background: #eef1f5; border-radius: 4px; margin-top: 4px; }
.dual-bar .plan { position: absolute; top: 0; left: 0; height: 8px; background: #c4ccd8; border-radius: 4px; }
.dual-bar .act { position: absolute; top: 2px; left: 0; height: 4px; background: #2f9e44; border-radius: 2px; }
.dual-bar .act.behind { background: #e5484d; }

/* 修复：网格里的面板不被长文字撑宽（手机上会超出屏幕） */
.grid2, .grid3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.grid3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); }
.is-m .grid2, .is-m .grid3 { grid-template-columns: minmax(0, 1fr); }
.grid2 > *, .grid3 > *, .pair-cols > * { min-width: 0; }

/* ===== 第四批 4A：尽调表单 / 研判报告 ===== */
.dd-progress { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.dd-progress .el-progress { flex: 1; }
.err-list { margin: 4px 0 0; padding-left: 18px; line-height: 1.7; }
.dd-sec { margin-top: 6px; }
.dd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
.dd-grid .wide { grid-column: 1 / -1; }
.is-m .dd-grid { grid-template-columns: minmax(0, 1fr); }
.photo-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.is-m .photo-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.photo-cat { border: 1px dashed var(--line); border-radius: 8px; padding: 8px 10px; min-height: 64px; background: #fafbfd; }
.photo-cat.need { border-color: #f1a7a9; background: #fff8f8; }
.pc-h { display: flex; align-items: center; gap: 6px; }
.pc-h .el-button { margin-left: auto; }
.photo-cat .att-thumb { width: 64px; height: 64px; }
.dd-item { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; background: #fff; }
.dd-item.risk-高 { border-left: 3px solid #e5484d; } .dd-item.risk-中 { border-left: 3px solid #e8890c; }
.dd-item-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.dd-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.yp-steps { margin-top: 12px; }
.yp-sec { margin: 12px 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.yp-sec.pending { border-color: #f1a7a9; background: #fff8f8; }
.yp-sec-h { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.yp-ct { white-space: pre-wrap; line-height: 1.8; }
.yp-src { font-size: 12px; color: var(--text2); margin-top: 6px; display: flex; align-items: center; gap: 4px; }
.measure-row { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.measure-row.del { opacity: .45; text-decoration: line-through; }

/* ===== 第四批 4B：考核台账 / 导入导出 ===== */
.head-btns { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.head-btns .el-button + .el-button { margin-left: 0; }
.is-m .head-btns .el-button { padding: 8px 10px; }
.field-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 12px; width: 100%; }
.is-m .field-grid, .el-dialog.is-fullscreen .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.imp-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.imp-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 10px; }
.imp-sum > div { background: #f7f9fc; border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; }
.imp-sum b { font-size: 22px; } .imp-sum span { font-size: 12px; color: var(--text2); }
.imp-sum .ok b { color: #2f9e44; } .imp-sum .bad b { color: #e5484d; }
.kh-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.kh-mini > div { display: flex; flex-direction: column; align-items: center; background: #f7f9fc; border-radius: 6px; padding: 6px 0; }
.kh-mini b { font-size: 16px; } .kh-mini span { font-size: 11px; color: var(--text2); }
.kh-rule { margin-top: 12px; font-size: 12px; color: var(--text2); line-height: 1.7; display: flex; gap: 4px; }
.dd-delay { margin-top: 14px; padding: 10px 12px; background: #fff5f5; border: 1px solid #f6c9ca; border-radius: 8px; }

/* ===== 第五批 5A：规则配置 / 备份 / 周报 ===== */
.rule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin-bottom: 8px; }
.is-m .rule-grid { grid-template-columns: minmax(0, 1fr); }
.rule-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rule-item span { font-size: 13px; color: #4b5563; }
.rule-item.wide { grid-column: 1 / -1; }
.is-m .rule-item { flex-wrap: wrap; }
.per-p { margin: 6px 0; line-height: 1.8; }
.per-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.is-m .per-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.per-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.per-card b { font-size: 20px; }

.break-all { word-break: break-all; }
