/* ============ 合惠电力 · 设计协同平台 样式 ============ */
:root {
  --bg: #f5f6f8;
  --card: #ffffff;
  --line: #e8ebef;
  --line-soft: #f1f3f6;
  --text: #131820;
  --text-2: #46505d;
  --muted: #8a929e;
  --primary: #2563eb;
  --primary-d: #1d4ed8;
  --primary-soft: #eff4ff;
  --ink: #0f172a;
  --ink-2: #12211d;
  --gold: #f59e0b;
  --gold-lt: #fbbf24;
  --gold-soft: #f8f2e6;
  --green: #10a05b;
  --green-soft: #e8f8ef;
  --amber: #c07d0a;
  --amber-soft: #fff5e0;
  --red: #dd464b;
  --red-soft: #feecec;
  --purple: #7a5cf0;
  --purple-soft: #f1edff;
  --cyan: #0a9db0;
  --cyan-soft: #e5f7f9;
  --sidebar-w: 240px;
  --r: 14px;
  --shadow-sm: 0 1px 2px rgba(19, 24, 32, .05);
  --shadow: 0 6px 24px rgba(19, 24, 32, .07);
  --shadow-lg: 0 24px 70px rgba(11, 23, 20, .22);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.hidden { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.01em; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: #cdd6e5; border-radius: 9px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #b2bed3; background-clip: content-box; }

/* ---------------- 登录 ---------------- */
.login {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 44px 48px; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle 480px at 90% -6%, rgba(251, 191, 36, .28) 0%, rgba(251, 191, 36, .08) 46%, transparent 72%),
    radial-gradient(circle 700px at 106% 112%, rgba(37, 99, 235, .2) 0%, transparent 64%),
    linear-gradient(135deg, #0a1526 0%, #0e2038 32%, #143152 62%, #1a3d64 86%, #1d4470 100%);
}
.login-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-mask {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(1200px 820px at 46% 34%, #000 8%, transparent 86%);
  mask-image: radial-gradient(1200px 820px at 46% 34%, #000 8%, transparent 86%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.orb-a { width: 720px; height: 720px; right: -220px; top: -260px;
  background: radial-gradient(circle, rgba(251, 191, 36, .3) 0%, rgba(251, 191, 36, .1) 42%, transparent 70%); }
.orb-b { width: 560px; height: 560px; left: -180px; bottom: -220px;
  background: radial-gradient(circle, rgba(96, 165, 250, .2), transparent 70%); }
.spark { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: rgba(251, 191, 36, .8); }
.spark.s1 { left: 12%; top: 82%; }
.spark.s2 { left: 55%; top: 88%; }
.spark.s3 { left: 89%; top: 80%; }
.spark.s4 { left: 72%; top: 26%; width: 2px; height: 2px; opacity: .6; }

.login-wrap {
  position: relative; width: 100%; max-width: 1108px;
  display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 96px; align-items: center;
}

/* 左侧品牌 */
.lg-mark {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(150deg, #3b82f6 0%, #1d4ed8 100%);
  box-shadow: 0 14px 30px -12px rgba(37, 99, 235, .95), inset 0 1px 0 rgba(255, 255, 255, .24);
  margin-bottom: 22px;
}
.lg-title {
  font-size: 36px; font-weight: 600; letter-spacing: .08em; color: #fff; margin: 0; line-height: 1.2;
}
.lg-sub { font-size: 13.5px; color: rgba(255, 255, 255, .6); margin: 10px 0 0; letter-spacing: .06em; }
.lg-rule {
  display: block; width: 46px; height: 2px; border-radius: 2px; margin: 22px 0 20px;
  background: linear-gradient(90deg, #fbbf24 0%, rgba(251, 191, 36, .06) 100%);
}
.lg-label { font-size: 12.5px; color: rgba(255, 255, 255, .5); margin: 0 0 18px; letter-spacing: .05em; }

.lg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; max-width: 456px; }
.lg-card {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px; padding: 12px 13px 13px;
  transition: background .18s, border-color .18s, transform .18s;
  backdrop-filter: blur(2px);
}
.lg-card:hover {
  background: rgba(255, 255, 255, .13); border-color: rgba(251, 191, 36, .38); transform: translateY(-1px);
}
.lc-ico { display: grid; place-items: center; width: 18px; height: 18px; color: #fbbf24; margin-bottom: 10px; }
.lg-card b { display: block; font-size: 12.5px; font-weight: 600; color: #f1f5f2; margin-bottom: 3px; letter-spacing: .02em; }
.lg-card > span:not(.lc-ico) { display: block; font-size: 10.5px; line-height: 1.55; color: rgba(255, 255, 255, .5); }

/* 右侧表单 */
.login-form { width: 100%; }
.login-form h2 { font-size: 26px; font-weight: 600; color: #fff; letter-spacing: -.01em; }
.login-sub { font-size: 13px; color: rgba(255, 255, 255, .44); margin: 9px 0 28px; }
.lg-field { position: relative; margin-bottom: 14px; }
.lg-field > svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: rgba(255, 255, 255, .78); pointer-events: none; z-index: 2;
}
.lg-field > svg path, .lg-field > svg circle, .lg-field > svg rect { stroke-width: 2; }
.lg-field input[type=text], .lg-field input[type=password] {
  width: 100%; height: 44px; padding: 0 14px 0 40px; border-radius: 9px;
  background: rgba(4, 11, 24, .46); border: 1px solid rgba(255, 255, 255, .16);
  color: #fff; font-size: 13.5px; outline: none; transition: background .16s, border-color .16s, box-shadow .16s;
}
.lg-field input::placeholder { color: rgba(255, 255, 255, .52); }
.lg-field input[type=text]:focus, .lg-field input[type=password]:focus {
  background: rgba(6, 15, 32, .58); border-color: rgba(96, 165, 250, .85);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .24);
}
.lg-field input:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px #0b1728 inset;
  caret-color: #fff;
}
.login-error {
  background: rgba(221, 70, 75, .13); border: 1px solid rgba(221, 70, 75, .34);
  color: #ffc4c6; padding: 9px 12px; border-radius: 9px; font-size: 12.5px; margin-bottom: 12px;
}
.login-btn {
  width: 100%; height: 44px; margin-top: 8px; border: 0; border-radius: 9px;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%); color: #fff;
  font-size: 14px; font-weight: 500; letter-spacing: .28em; text-indent: .28em;
  transition: background .18s, box-shadow .18s;
  box-shadow: 0 14px 30px -14px rgba(37, 99, 235, 1);
}
.login-btn:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  box-shadow: 0 16px 34px -14px rgba(59, 130, 246, 1); color: #fff;
}

.login-foot { text-align: center; font-size: 11.5px; color: rgba(255, 255, 255, .3); margin: 24px 0 0; letter-spacing: .03em; }

@media (max-width: 1080px) {
  .login {
    padding: 40px 24px;
    background:
      radial-gradient(circle 240px at 96% -4%, rgba(251, 191, 36, .14) 0%, transparent 70%),
      linear-gradient(160deg, #0a1526 0%, #0e2038 34%, #143152 68%, #1a3d64 100%);
  }
  .orb-a { width: 420px; height: 420px; right: -200px; top: -200px; opacity: .5; }
  .orb-b { width: 380px; height: 380px; left: -180px; bottom: -180px; opacity: .6; }
  .login-wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 400px; justify-items: center; }
  .login-left { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .lg-grid { display: none; }
  .lg-title { font-size: 30px; }
  .lg-mark { margin-bottom: 18px; }
  .lg-rule { margin: 18px 0 12px; }
  .lg-label { display: none; }
  .login-form { width: 100%; }
  .login-form h2, .login-sub { text-align: center; }
}

/* ---------------- 布局 ---------------- */
.shell { min-height: 100vh; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar-w); z-index: 40;
  background: #fff; border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.side-logo {
  display: flex; align-items: center; gap: 11px; height: 72px; padding: 0 18px;
  border-bottom: 1px solid var(--line-soft); flex: 0 0 auto;
}
.lg-tile {
  width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: linear-gradient(150deg, #1e2b45 0%, #0a1224 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 4px 14px rgba(9, 15, 30, .3);
}
.lg-words { min-width: 0; }
.side-name { color: var(--text); font-size: 15px; font-weight: 650; letter-spacing: .06em; line-height: 1.2; }
.side-en { color: #a6aeb9; font-size: 8.5px; letter-spacing: .22em; margin-top: 3px; }
.nav { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.nav::-webkit-scrollbar { width: 0; }
.nav-group {
  font-size: 10.5px; color: #99a2ae; letter-spacing: .1em; font-weight: 600;
  padding: 18px 11px 7px;
}
.nav-group:first-child { padding-top: 2px; }
.nav a {
  display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 11px;
  border-radius: 9px; color: #4f5a68; font-size: 13.5px; font-weight: 500;
  transition: background .15s, color .15s; position: relative;
}
.nav a svg { flex: 0 0 auto; opacity: .8; transition: opacity .15s, color .15s; }
.nav a:hover { background: #f4f6f8; color: var(--text); }
.nav a:hover svg { opacity: 1; }
.nav a.active { background: #eef4ff; color: var(--primary-d); font-weight: 600; }
.nav a.active svg { opacity: 1; color: var(--primary); }
.nav a.active::before {
  content: ''; position: absolute; left: -12px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 16px; border-radius: 0 3px 3px 0; background: var(--primary);
}
.nav .nav-badge {
  margin-left: auto; background: var(--red); color: #fff; font-size: 10.5px;
  min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 5px;
}
.side-user {
  display: flex; align-items: center; gap: 10px; padding: 13px 8px 4px; margin: 0 12px 10px;
  border-top: 1px solid var(--line-soft); flex: 0 0 auto;
}
.side-user-info { flex: 1; min-width: 0; }
#side-user-name { color: var(--text); font-size: 13px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#side-user-role { color: var(--muted); font-size: 11px; }
.icon-btn {
  background: transparent; border: 0; color: #9aa3ae; padding: 6px; border-radius: 8px;
  display: grid; place-items: center; transition: .15s;
}
.icon-btn:hover { background: #f2f4f7; color: var(--text); }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; font-size: 12.5px; font-weight: 600;
  letter-spacing: .02em; box-shadow: 0 2px 8px rgba(37, 99, 235, .3);
}

.main { margin-left: var(--sidebar-w); min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  height: 72px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30;
}
.topbar h1 { font-size: 18.5px; }
.topbar p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.topbar-actions { display: flex; align-items: center; gap: 9px; }
.view { padding: 24px 32px 48px; flex: 1; }
.page-enter { animation: fadeUp .24s ease both; }
@keyframes fadeUp { from { transform: translateY(7px); } to { transform: none; } }

/* ---------------- 通用组件 ---------------- */
.btn {
  height: 36px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line);
  background: #fff; color: var(--text-2); font-size: 13px; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: .15s;
  white-space: nowrap;
}
.btn:hover { border-color: rgba(37, 99, 235, .38); color: var(--primary-d); background: #fbfcff; }
.btn:active { transform: translateY(.5px); }
.btn-primary {
  background: linear-gradient(180deg, #3b82f6, #2563eb); border-color: transparent; color: #fff;
  box-shadow: 0 2px 10px rgba(37, 99, 235, .3);
}
.btn-primary:hover { background: linear-gradient(180deg, #60a5fa, #3b82f6); color: #fff; box-shadow: 0 4px 14px rgba(37, 99, 235, .34); }
.btn-danger { color: var(--red); border-color: #f6d4d5; background: #fff; }
.btn-danger:hover { background: var(--red-soft); border-color: #efb9bb; color: #c0353a; }
.btn-ghost { border-color: transparent; background: transparent; color: var(--muted); }
.btn-ghost:hover { background: #eef2f9; color: var(--text); }
/* 语义色按钮：驳回=红（否定，退回重做）/ 改派=紫（换人交接，不影响项目本身） */
.btn-warn { color: #c0353a; background: var(--red-soft); border-color: #f8d3d4; }
.btn-warn:hover { color: #a83338; background: #fde2e2; border-color: #f0b9bb; }
.btn-swap { color: #6344e0; background: var(--purple-soft); border-color: #ddd3ff; }
.btn-swap:hover { color: #5636cc; background: #e8e1ff; border-color: #cdbdfa; }
.btn-sm { height: 29px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.card-pad { padding: 18px 20px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); }
.card-head h3 { font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.card-head .sub { font-size: 12px; color: var(--muted); font-weight: 400; }
.card-body { padding: 18px 20px; }
.card-body.tight { padding: 8px 10px; }

.grid { display: grid; gap: 16px; }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-2-1 { grid-template-columns: 1.55fr 1fr; }
@media (max-width: 1400px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1180px) { .g3, .g-2-1, .g2 { grid-template-columns: 1fr; } }

/* 统计卡 */
.stat { padding: 17px 18px; display: flex; gap: 14px; align-items: flex-start; position: relative; overflow: hidden; }
.stat-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 auto; }
.stat-label { font-size: 12.5px; color: var(--muted); }
.stat-val { font-size: 25px; font-weight: 650; letter-spacing: -.02em; line-height: 1.25; margin-top: 2px; font-variant-numeric: tabular-nums; }
.stat-val small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 3px; }
.stat-foot { font-size: 11.5px; color: var(--muted); margin-top: 3px; display: flex; align-items: center; gap: 5px; }
.stat-foot .up { color: var(--green); }
.stat-foot .warn { color: var(--amber); }
.stat-foot .bad { color: var(--red); }
.ico-blue { background: var(--primary-soft); color: var(--primary); }
.ico-green { background: var(--green-soft); color: var(--green); }
.ico-amber { background: var(--amber-soft); color: var(--amber); }
.ico-red { background: var(--red-soft); color: var(--red); }
.ico-purple { background: var(--purple-soft); color: var(--purple); }
.ico-cyan { background: var(--cyan-soft); color: var(--cyan); }

/* 徽标 */
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 2.5px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 500; line-height: 1.6; white-space: nowrap;
}
.badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .85; }
.badge.no-dot::before { display: none; }
.b-amber { background: var(--amber-soft); color: #a86b00; }
.b-blue { background: var(--primary-soft); color: #1d4ed8; }
.b-green { background: var(--green-soft); color: #0b7f49; }
.b-red { background: var(--red-soft); color: #c0353a; }
.b-purple { background: var(--purple-soft); color: #5f43d4; }
.b-gray { background: #f1f4f9; color: #69768c; }
.b-cyan { background: var(--cyan-soft); color: #07798a; }

/* 表格 */
.table-wrap { overflow-x: auto; }
table.tb { width: 100%; border-collapse: collapse; font-size: 13px; }
table.tb th {
  text-align: left; font-weight: 500; font-size: 12px; color: var(--muted);
  padding: 10px 14px; background: #fafbfe; border-bottom: 1px solid var(--line);
  white-space: nowrap; position: sticky; top: 0;
}
table.tb td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.tb tbody tr { transition: background .12s; }
table.tb tbody tr:hover { background: #f7faf9; }
table.tb tbody tr:last-child td { border-bottom: 0; }
table.tb .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
table.tb .name-cell b { font-weight: 550; }
table.tb .name-cell span { display: block; font-size: 11.5px; color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--muted); }
.row-act { display: flex; gap: 6px; flex-wrap: wrap; }
.ellip { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.muted { color: var(--muted); }
.dim { color: var(--muted); font-size: 12px; }
.right { text-align: right; }
.center { text-align: center; }

/* 分页条 */
.pager {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 12px 14px; border-top: 1px solid var(--line-soft);
  background: #fbfcfe; border-radius: 0 0 11px 11px;
}
.pager-info { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pager-info b { color: var(--text-2); font-weight: 600; }
.pager-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.pg-btn {
  min-width: 30px; height: 30px; padding: 0 8px; border: 1px solid var(--line);
  background: #fff; border-radius: 8px; font-size: 12.5px; color: var(--text-2);
  font-family: inherit; cursor: pointer; transition: .14s;
  display: inline-flex; align-items: center; justify-content: center;
  font-variant-numeric: tabular-nums;
}
.pg-btn:hover:not(:disabled) { border-color: rgba(37, 99, 235, .4); color: var(--primary); }
.pg-btn.on {
  background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600;
  box-shadow: 0 1px 4px rgba(37, 99, 235, .28);
}
.pg-btn:disabled { opacity: .42; cursor: not-allowed; }
.pg-gap { padding: 0 2px; color: var(--muted); font-size: 12px; }
.pager-size { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.pager-size select {
  width: auto; height: 30px; padding: 0 24px 0 9px; font-size: 12.5px; border-radius: 8px;
}
@media (max-width: 640px) {
  .pager { gap: 8px; padding: 10px 12px; }
  .pager-nav { margin-left: 0; order: 3; width: 100%; justify-content: center; }
}

/* 表单 */
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 12.5px; color: var(--text-2); margin-bottom: 6px; font-weight: 500; }
.field > span .req { color: var(--red); }
input[type=text], input[type=password], input[type=number], input[type=date], input[type=search], select, textarea {
  width: 100%; height: 38px; padding: 0 11px; border: 1px solid #dfe5ef; border-radius: 9px;
  font-size: 13px; color: var(--text); background: #fff; transition: .15s; font-family: inherit;
  outline: none;
}
textarea { height: auto; min-height: 76px; padding: 9px 11px; line-height: 1.6; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .14); }
input::placeholder, textarea::placeholder { color: #aab4c6; }
select {
  appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%238593a8' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; padding-right: 30px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 14px; }
.form-hint { font-size: 11.5px; color: var(--muted); margin-top: 5px; }

/* 工具条 */
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .grow { flex: 1; }
.search-box { position: relative; }
.search-box input { height: 36px; padding-left: 32px; width: 240px; }
.search-box svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.seg { display: inline-flex; background: #eef1f8; border-radius: 9px; padding: 3px; gap: 2px; }
.seg button {
  border: 0; background: transparent; padding: 6px 13px; border-radius: 7px; font-size: 12.5px;
  color: var(--text-2); font-weight: 500; transition: .15s;
}
.seg button.on { background: #fff; color: var(--primary-d); box-shadow: 0 1px 3px rgba(19, 24, 32, .1); }
.seg button .seg-n {
  font-style: normal; display: inline-block; margin-left: 5px; padding: 0 5px;
  font-size: 10.5px; font-weight: 600; line-height: 16px; vertical-align: 1px;
  color: var(--muted); background: rgba(19, 24, 32, .065); border-radius: 20px;
  font-variant-numeric: tabular-nums; min-width: 16px; text-align: center;
}
.seg button.on .seg-n { color: var(--primary-d); background: var(--primary-soft); }
.seg button:hover:not(.on) { color: var(--text); }

/* 提成管理 · 三个大切换卡 */
.ctabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.ctab {
  font: inherit; cursor: pointer;
  display: flex; align-items: center; gap: 12px; padding: 12px 15px 12px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  text-align: left; transition: border-color .16s, box-shadow .16s; position: relative; overflow: hidden;
}
.ctab::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--primary); opacity: 0; transition: opacity .18s;
}
.ctab:hover { border-color: rgba(37, 99, 235, .34); }
.ctab.on {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .09), 0 10px 22px -14px rgba(37, 99, 235, .6);
}
.ctab.on::after { opacity: 1; }
.ctab-ico {
  width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto;
  display: grid; place-items: center; background: #f2f5fa; color: #8493a8;
  transition: background .16s, color .16s, box-shadow .16s;
}
.ctab:hover .ctab-ico { background: #e8eefb; color: var(--primary); }
.ctab.on .ctab-ico {
  background: var(--primary); color: #fff;
  box-shadow: 0 5px 12px -5px rgba(37, 99, 235, .85);
}
.ctab-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ctab-txt b { font-size: 13.5px; font-weight: 600; color: var(--text); letter-spacing: .01em; white-space: nowrap; }
.ctab.on .ctab-txt b { color: var(--primary-d); }
.ctab-txt i {
  font-style: normal; font-size: 11.5px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 1040px) {
  .ctab-txt i { display: none; }
  .ctab { padding: 11px 13px; gap: 9px; }
  .ctab-ico { width: 30px; height: 30px; border-radius: 8px; }
  .ctab-txt b { font-size: 13px; }
  #p-seg { flex-wrap: wrap; }
  #p-seg button { padding: 6px 10px; }
}
@media (max-width: 560px) {
  .ctabs { grid-template-columns: 1fr; gap: 8px; }
  .ctab-txt i { display: block; }
}

/* 进度 */
.bar { height: 5px; background: #eef1f8; border-radius: 999px; overflow: hidden; min-width: 60px; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #60a5fa, #2563eb); transition: width .4s; }
.bar.done > i { background: linear-gradient(90deg, #34c07a, #10a05b); }
.bar.warn > i { background: linear-gradient(90deg, #f7b93e, #e8a200); }

/* 空状态 / 加载 */
.empty { text-align: center; padding: 52px 20px; color: var(--muted); }
.empty svg { opacity: .35; margin-bottom: 12px; }
.empty .t { font-size: 13.5px; color: var(--text-2); margin-bottom: 4px; }
.empty .d { font-size: 12px; }
.loading { display: grid; place-items: center; padding: 60px; color: var(--muted); font-size: 13px; gap: 12px; }
.spinner {
  width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid #e3e9f3;
  border-top-color: var(--primary); animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 弹窗 */
.modal-mask {
  position: fixed; inset: 0; background: rgba(8, 15, 32, .55);
  z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 28px 20px; overflow-y: auto;
}
.modal {
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); width: 100%;
  max-width: 560px; animation: pop .2s cubic-bezier(.2, .9, .3, 1.1); margin: auto;
  display: flex; flex-direction: column; max-height: calc(100vh - 56px);
}
.modal.wide { max-width: 860px; }
.modal.xwide { max-width: 1120px; }
@keyframes pop { from { transform: translateY(12px) scale(.987); } to { transform: none; } }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 22px 14px; flex: 0 0 auto; }
.modal-head h3 { font-size: 16px; }
.modal-head .sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.modal-body { padding: 4px 22px 6px; overflow-y: auto; flex: 1 1 auto; }
.modal-foot {
  display: flex; justify-content: flex-end; gap: 9px; padding: 16px 22px 20px;
  flex: 0 0 auto; border-top: 1px solid var(--line-soft);
}
.modal-close { border: 0; background: #f4f6fb; color: var(--muted); width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; }
.modal-close:hover { background: #e9edf6; color: var(--text); }

/* toast */
.toast-root { position: fixed; top: 84px; right: 26px; z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.toast {
  background: #0f172a; color: #fff; padding: 10px 18px; border-radius: 10px; font-size: 13px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .25); animation: toastIn .2s ease both;
  display: flex; align-items: center; gap: 8px; max-width: 520px;
}
.toast.ok { background: #0d7a45; }
.toast.err { background: #b93b3f; }
.toast.warn { background: #9a6414; }
@keyframes toastIn { from { transform: translateY(-8px); } to { transform: none; } }

/* 详情描述列表 */
.dl { display: grid; grid-template-columns: 96px 1fr; gap: 10px 14px; font-size: 13px; }
.dl dt { color: var(--muted); font-size: 12.5px; }
.dl dd { margin: 0; color: var(--text); }
.section-title { font-size: 13px; font-weight: 600; color: var(--text); margin: 20px 0 10px; display: flex; align-items: center; gap: 8px; }
.section-title::before { content: ''; width: 3px; height: 13px; border-radius: 2px; background: var(--primary); }

/* 时间线 */
.timeline { position: relative; padding-left: 18px; }
.timeline::before { content: ''; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 14px; font-size: 12.5px; }
.tl-item::before {
  content: ''; position: absolute; left: -18px; top: 5px; width: 7px; height: 7px; border-radius: 50%;
  background: #cfd8e6; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line);
}
.tl-item.hi::before { background: var(--primary); box-shadow: 0 0 0 1px rgba(37, 99, 235, .35); }
.tl-item .t { color: var(--muted); font-size: 11.5px; }
.tl-item .a { color: var(--text); font-weight: 500; }

/* 文件卡 */
.file-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.file-card {
  display: flex; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; transition: .15s; align-items: center;
  flex: 1 1 250px; min-width: 230px; max-width: 340px;
}
.file-card:hover { border-color: rgba(37, 99, 235, .32); box-shadow: 0 3px 12px rgba(37, 99, 235, .09); }
.file-ico { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; flex: 0 0 auto; font-size: 9.5px; font-weight: 700; color: #fff; }
.f-dwg { background: #7a5cf0; } .f-pdf { background: #e0474c; } .f-xls { background: #10a05b; }
.f-img { background: #0a9db0; } .f-doc { background: #2563eb; } .f-zip { background: #d98a00; } .f-other { background: #8593a8; }
.file-meta { min-width: 0; flex: 1; }
.file-name { font-size: 12.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-sub { font-size: 11px; color: var(--muted); display: flex; gap: 5px; align-items: center; white-space: nowrap; overflow: hidden; }
.file-acts { display: flex; gap: 2px; opacity: 0; transition: .15s; }
.file-card:hover .file-acts { opacity: 1; }

/* 归档中心 */
.fchips { display: flex; gap: 5px; flex-wrap: nowrap; }
.fchip {
  font-size: 11.5px; padding: 2px 7px; border-radius: 6px; white-space: nowrap;
  background: #eff4ff; color: var(--primary-d); font-variant-numeric: tabular-nums;
}
.fchip.zero { background: #f4f6fa; color: #aab3c4; }
.arch-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.arch-no { font-size: 20px; font-weight: 700; color: var(--primary-d); letter-spacing: .5px; margin-top: 2px; }
.ac-stats { display: flex; gap: 8px; flex-wrap: wrap; }
.ac-cell {
  background: #fafbfe; border: 1px solid var(--line-soft); border-radius: 9px;
  padding: 7px 14px; text-align: center; min-width: 78px;
}
.ac-num { font-size: 18px; font-weight: 650; line-height: 1.25; font-variant-numeric: tabular-nums; }
.ac-label { font-size: 11px; color: var(--muted); margin-top: 1px; }
.arch-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px 20px;
  background: #fafbfe; border: 1px solid var(--line-soft); border-radius: 10px;
  padding: 12px 15px; margin-top: 14px;
}
.af-item span { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 2px; }
.af-item b { font-size: 13px; font-weight: 550; }
.ag { border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; margin-bottom: 10px; }
.ag-head { display: flex; align-items: center; gap: 9px; font-size: 12.5px; margin-bottom: 10px; flex-wrap: wrap; }
.ag-empty {
  font-size: 12px; color: var(--muted); background: #fafbfe;
  border: 1px dashed var(--line); border-radius: 8px; padding: 11px; text-align: center;
}

/* 上传区 */
.dropzone {
  border: 1.5px dashed #cfd9ea; border-radius: 12px; padding: 22px; text-align: center;
  background: #fbfcff; transition: .15s; cursor: pointer;
}
.dropzone:hover, .dropzone.over { border-color: var(--primary); background: var(--primary-soft); }
.dropzone .t { font-size: 13px; color: var(--text-2); font-weight: 500; }
.dropzone .d { font-size: 11.5px; color: var(--muted); margin-top: 3px; }

/* 图表 */
.chart-wrap { padding: 6px 20px 18px; }
.chart-legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); padding: 0 20px 4px; }
.chart-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; }
.bar-chart { width: 100%; height: auto; display: block; overflow: visible; }
.bar-chart text { font-size: 10.5px; fill: #8593a8; font-family: inherit; }
.bar-chart .grid-line { stroke: #eef1f8; stroke-width: 1; }

/* 排行 */
.rank-row { display: flex; align-items: center; gap: 11px; padding: 9px 0; }
.rank-no { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 600; background: #f1f4f9; color: var(--muted); flex: 0 0 auto; }
.rank-no.top { background: var(--amber-soft); color: #a86b00; }
.rank-name { flex: 1; font-size: 13px; }
.rank-val { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }

.pill-count { font-size: 11.5px; color: var(--muted); background: #f1f4f9; padding: 2px 8px; border-radius: 999px; }

/* 详情两列 */
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 1180px) { .detail-grid { grid-template-columns: 1fr; } }

/* 项目详情里的任务摘要卡（不往下钻第二层弹窗） */
.task-sum { border: 1px solid var(--line); border-radius: 10px; background: #fcfdff; padding: 12px 14px; }
.task-sum + .task-sum { margin-top: 10px; }
.task-sum-top { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.task-sum-top b { font-size: 13px; color: var(--text); }
.task-sum-who { font-size: 13px; color: var(--text-2); font-weight: 500; }
.task-sum-times { display: flex; flex-wrap: wrap; gap: 5px 16px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.task-sum-note { margin-top: 8px; font-size: 12.5px; color: var(--text-2); line-height: 1.7; }
.task-sum-note.bad { color: var(--red); }
.task-empty { border: 1px dashed var(--line); border-radius: 10px; padding: 20px; text-align: center; }
.task-empty .dim { font-size: 12.5px; }
.task-empty .btn { margin-top: 10px; }

.kv-inline { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--text-2); }
.kv-inline b { color: var(--text); font-weight: 550; }

.sel-all { width: 15px; height: 15px; accent-color: var(--primary); cursor: pointer; }
.sticky-actions { position: sticky; bottom: 0; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border-top: 1px solid var(--line); padding: 12px 20px; display: flex; gap: 10px; align-items: center; justify-content: space-between; border-radius: 0 0 var(--r) var(--r); }

/* ============ 提成规则 / 薪酬 ============ */
.formula {
  background: var(--primary-soft); color: var(--primary-d); border-radius: 9px;
  padding: 9px 12px; font-size: 12.5px; font-weight: 550; letter-spacing: .2px;
  font-variant-numeric: tabular-nums;
}
.rule-list { margin: 12px 0 0; padding-left: 18px; font-size: 12.5px; color: var(--text-2); line-height: 1.95; }
.rule-list b { color: var(--text); font-weight: 600; }

.summary-strip { display: flex; gap: 18px; font-size: 12.5px; color: var(--muted); }
.summary-strip b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.summary-strip b.hl { color: var(--primary-d); font-size: 14px; }

/* 派单/审核预估条 */
.quote {
  display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px;
  background: #f5f8ff; border: 1px solid #dbe6fb; border-radius: 10px; padding: 10px 12px;
  font-size: 12.5px; line-height: 1.6;
}
.quote b { color: var(--primary-d); font-weight: 650; }
.quote-ico {
  width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center;
  background: #fff; color: var(--primary); border: 1px solid #dbe6fb; flex: 0 0 auto;
}

/* 包干进度 */
.quota-line { display: flex; flex-direction: column; gap: 8px; }
.quota-nums { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-2); }
.quota-nums b { color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }

/* ---------------- 项目批量导入 ---------------- */
.imp-drop {
  display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center;
  border: 1.5px dashed #d7dfea; border-radius: 14px; padding: 26px 22px 22px;
  background: #fbfcfe; cursor: pointer; transition: border-color .16s, background .16s, box-shadow .16s;
}
.imp-drop:hover, .imp-drop.over {
  border-color: var(--primary); background: #f7faff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .06);
}
.imp-ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: #eef4ff; color: var(--primary); margin-bottom: 2px;
}
.imp-drop b { font-size: 13.5px; font-weight: 600; color: var(--text); }
.imp-drop > span.dim { font-size: 11.5px; color: var(--muted); }
.imp-pick {
  margin-top: 8px; font-size: 12.5px; font-weight: 500; color: var(--primary);
  background: #fff; border: 1px solid rgba(37, 99, 235, .34); border-radius: 8px; padding: 5px 16px;
  transition: .16s;
}
.imp-drop:hover .imp-pick { background: var(--primary); color: #fff; border-color: transparent; }

.imp-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin: 11px 2px 0; flex-wrap: wrap;
}
.imp-meta > span { font-size: 11.5px; color: var(--muted); }
.imp-link {
  display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; padding: 0;
  font-size: 12.5px; color: var(--primary); font-family: inherit;
}
.imp-link:hover { text-decoration: underline; }

.imp-sum {
  display: grid; grid-template-columns: 96px 96px 96px minmax(0, 1fr); gap: 10px;
  align-items: stretch; margin: 18px 0 12px;
}
.imp-sum-cell {
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  padding: 9px 8px; text-align: center;
}
.imp-sum-cell b {
  display: block; font-size: 19px; font-weight: 650; line-height: 1.25;
  color: var(--text); font-variant-numeric: tabular-nums;
}
.imp-sum-cell span { font-size: 11px; color: var(--muted); }
.imp-sum-cell.ok { border-color: #cfeadd; background: #f7fdfa; }
.imp-sum-cell.ok b { color: #0b7f49; }
.imp-sum-cell.warn { border-color: #f2e0bb; background: #fffcf5; }
.imp-sum-cell.warn b { color: #a86b00; }
.imp-file {
  display: flex; align-items: center; gap: 9px; min-width: 0;
  border: 1px solid var(--line); border-radius: 10px; background: #fbfcfe; padding: 8px 13px;
}
.imp-file-ico {
  width: 28px; height: 28px; border-radius: 8px; flex: 0 0 auto; display: grid; place-items: center;
  background: #eef4ff; color: var(--primary);
}
.imp-file > div { min-width: 0; }
.imp-file b {
  display: block; font-size: 12.5px; font-weight: 550; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.imp-file span { font-size: 11px; color: var(--muted); }

.imp-tbwrap {
  border: 1px solid var(--line); border-radius: 11px; overflow: auto; max-height: 326px;
}
table.imp-tb { min-width: 620px; }
table.imp-tb th { padding: 8px 13px; white-space: nowrap; }
table.imp-tb td { padding: 8px 13px; white-space: nowrap; }
table.tb tbody tr.imp-row-bad td { background: #fdfaf4; color: #7c8598; }
table.tb tbody tr.imp-row-bad:hover td { background: #fbf6ec; }
table.tb tbody tr.imp-row-bad td:first-child { box-shadow: inset 2.5px 0 0 #e8cd97; }
.imp-why { display: block; font-size: 10.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; white-space: normal; max-width: 150px; }
.imp-more { font-size: 11.5px; color: var(--muted); text-align: center; padding: 9px; background: #fbfcfe; border-top: 1px solid var(--line-soft); }
.imp-note {
  display: flex; align-items: flex-start; gap: 7px; margin: -2px 0 12px;
  font-size: 12px; line-height: 1.6; color: #8a5a00;
  background: #fffcf5; border: 1px solid #f2e0bb; border-left: 3px solid #e8cd97;
  border-radius: 8px; padding: 9px 12px;
}
.imp-note svg { flex: 0 0 auto; margin-top: 2px; }
.imp-loading { padding: 26px 0 10px; }
.imp-error {
  margin-top: 16px; display: flex; align-items: center; gap: 8px; font-size: 12.5px;
  color: #c0353a; background: var(--red-soft); border: 1px solid #f8d3d4;
  padding: 10px 13px; border-radius: 9px;
}
@media (max-width: 760px) {
  .imp-sum { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .imp-file { grid-column: 1 / -1; }
  .imp-drop { padding: 20px 14px; }
}

/* 预览态：收起上传区，把空间让给表格 */
.imp.has-result .imp-drop,
.imp.has-result .imp-meta { display: none; }
.imp.has-result .imp-sum { margin-top: 2px; }

/* ============ 系统设置 ============ */
.set-hero { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; flex-wrap: wrap; }
.set-hero-main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.set-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 auto; background: var(--primary-soft); color: var(--primary-d); }
.set-title { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.set-desc { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.set-kv { display: flex; gap: 28px; }
.set-kv > div { display: flex; flex-direction: column; }
.set-kv span { font-size: 11.5px; color: var(--muted); }
.set-kv b { font-size: 19px; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.set-kv b.sm { font-size: 13px; font-weight: 550; padding-top: 4px; letter-spacing: 0; }

.set-note { display: flex; align-items: flex-start; gap: 8px; padding: 10px 14px; font-size: 12.5px; line-height: 1.6; color: #8a5a00; background: #fffcf5; border: 1px solid #f2e0bb; border-left: 3px solid #e8cd97; border-radius: 10px; }
.set-note svg { flex: 0 0 auto; margin-top: 2px; }
.set-note code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: #fff; border: 1px solid #f0e2c6; border-radius: 4px; padding: 1px 5px; font-size: 11.5px; }

.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 14px 16px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .15s, box-shadow .15s, background .15s; }
.opt:hover { border-color: rgba(37, 99, 235, .4); }
.opt.on { border-color: var(--primary); background: linear-gradient(180deg, #fcfdff, #f4f8ff); box-shadow: 0 0 0 3px rgba(37, 99, 235, .08); }
.opt-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; background: #f2f5fa; color: var(--text-2); }
.opt.on .opt-ico { background: var(--primary-soft); color: var(--primary-d); }
.opt-txt { min-width: 0; }
.opt-txt b { display: block; font-size: 13.5px; font-weight: 600; }
.opt-txt span { display: block; font-size: 12px; line-height: 1.55; color: var(--muted); margin-top: 3px; }

.set-check { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; line-height: 1.6; color: var(--text-2); padding: 10px 12px; background: #fafbfe; border: 1px solid var(--line-soft); border-radius: 10px; cursor: pointer; }
.set-check input { margin: 3px 0 0; flex: 0 0 auto; accent-color: var(--primary); }
.set-check b { color: var(--red); font-weight: 550; }

.set-bar { display: flex; align-items: center; gap: 10px; justify-content: flex-end; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); }
.set-bar-tip { margin-right: auto; font-size: 12px; color: var(--muted); }
.set-result { display: flex; align-items: flex-start; gap: 8px; padding: 11px 14px; border-radius: 10px; font-size: 12.5px; line-height: 1.55; }
.set-result.ok { background: var(--green-soft); border: 1px solid #bfe8d2; color: #0b7f49; }
.set-result.err { background: var(--red-soft); border: 1px solid #f6d4d5; color: #c0353a; }
.set-result svg { flex: 0 0 auto; margin-top: 2px; }
.set-p { margin: 0 0 14px; font-size: 12.5px; line-height: 1.75; color: var(--text-2); }
.set-p strong { font-weight: 600; color: var(--text); }

@media (max-width: 900px) {
  .opt-grid { grid-template-columns: 1fr; }
  .set-kv { gap: 18px; }
}

/* ============ 我的提成：月份趋势可点 ============ */
.mc-trend {
  padding: 7px 9px;
  margin: 0 -9px 11px;
  border-radius: 9px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s;
}
.mc-trend:hover { background: #f7f9fc; }
.mc-trend.on { background: var(--primary-soft); border-color: rgba(37, 99, 235, .22); }
.mc-trend.on > div:first-child span { color: var(--primary-d); font-weight: 600; }
