/* 康龄纪 KANGLINGJI · 商家管理后台（桌面端） */

:root {
  --ink: #0f1108;
  --ink-2: #575c4e;
  --ink-3: #8f9587;
  --line: #e5e7dd;
  --line-2: #eef0e6;
  --bg: #f3f4ee;
  --panel: #ffffff;
  --lime: #c9f227;
  --lime-soft: #f0fbc9;
  --lime-ink: #5b7a00;
  --dark: #14160f;
  --dark-2: #1c1f15;
  --price: #e23d1c;
  --blue: #1f5fa8;
  --amber: #9a6a00;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(17, 20, 8, .04), 0 8px 24px rgba(17, 20, 8, .05);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  font-size: 13px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.mono { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; }

/* ---------------- 布局 ---------------- */
.shell { display: flex; min-height: 100vh; }

.side {
  width: 236px;
  flex: 0 0 236px;
  background: linear-gradient(180deg, #171a11 0%, #101208 100%);
  color: #e9eddf;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.side-brand {
  display: flex; align-items: center; gap: 11px;
  padding: 20px 18px 18px;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--lime); color: #11160a;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 900; letter-spacing: .5px;
  flex: 0 0 auto;
}
.brand-txt b { display: block; font-size: 15px; letter-spacing: 2px; line-height: 1.2; }
.brand-txt span { display: block; font-size: 9.5px; letter-spacing: 1.6px; color: #7f8774; text-transform: uppercase; margin-top: 2px; }

.side-store {
  margin: 0 14px 14px;
  padding: 9px 11px;
  border: 1px solid #262a1d;
  border-radius: 10px;
  background: #1b1e14;
  display: flex; align-items: center; gap: 8px;
  font-size: 11.5px; color: #a9b19b;
}
.side-store i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(201, 242, 39, .14); }
.side-store b { color: #e9eddf; font-weight: 600; margin-left: auto; font-size: 11px; }

.nav { padding: 4px 10px 8px; overflow-y: auto; flex: 1; }
.nav-label {
  padding: 12px 10px 6px;
  font-size: 10px; letter-spacing: 1.4px; color: #616a57; text-transform: uppercase;
}
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border-radius: 9px;
  color: #b6bdab;
  font-size: 12.8px;
  margin-bottom: 2px;
  transition: background .16s, color .16s;
  width: 100%;
  text-align: left;
  position: relative;
}
.nav-item svg { width: 16px; height: 16px; flex: 0 0 16px; opacity: .85; }
.nav-item:hover { background: #232719; color: #eef3e4; }
.nav-item.on { background: rgba(201, 242, 39, .13); color: #e8fca0; }
.nav-item.on::before {
  content: ""; position: absolute; left: -10px; top: 8px; bottom: 8px;
  width: 3px; border-radius: 0 3px 3px 0; background: var(--lime);
}
.nav-item .badge {
  margin-left: auto;
  background: var(--lime); color: #171a11;
  font-size: 10px; font-weight: 800;
  min-width: 18px; height: 17px; border-radius: 9px;
  display: grid; place-items: center; padding: 0 5px;
}
.nav-item .badge.dim { background: #2c3122; color: #9aa38c; font-weight: 600; }

.side-foot {
  padding: 12px 14px 16px;
  border-top: 1px solid #23271a;
  display: flex; align-items: center; gap: 9px;
}
.avatar {
  width: 30px; height: 30px; border-radius: 9px;
  background: #2a2f20; color: #dfe6cf;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700; flex: 0 0 auto;
}
.side-foot .who b { display: block; font-size: 12px; color: #e6eada; font-weight: 600; }
.side-foot .who span { display: block; font-size: 10.5px; color: #717a67; }
.side-foot .out { margin-left: auto; color: #6f7864; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  height: 62px;
  display: flex; align-items: center; gap: 14px;
  padding: 0 26px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.crumb { display: flex; align-items: baseline; gap: 8px; }
.crumb h1 { font-size: 16px; font-weight: 800; letter-spacing: -.2px; margin: 0; }
.crumb span { font-size: 11.5px; color: var(--ink-3); }
.topbar .grow { flex: 1; }
.today { font-size: 11.5px; color: var(--ink-3); }

.content { padding: 22px 26px 40px; max-width: 1360px; width: 100%; }

/* ---------------- 通用组件 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 32px; padding: 0 12px;
  border-radius: 9px;
  font-size: 12.5px; font-weight: 600;
  border: 1px solid var(--line);
  background: #fff; color: var(--ink);
  transition: background .15s, border-color .15s, transform .1s;
  white-space: nowrap;
}
.btn:hover { background: #fafbf5; border-color: #d8dbcd; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 14px; height: 14px; }
.btn.dark { background: var(--dark); color: #f2f5e9; border-color: var(--dark); }
.btn.dark:hover { background: #23271a; }
.btn.lime { background: var(--lime); color: #14180c; border-color: #b9e015; font-weight: 700; }
.btn.lime:hover { background: #d4fa3c; }
.btn.line { background: #fff; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn.ghost:hover { background: #f1f3ea; }
.btn.sm { height: 26px; padding: 0 9px; font-size: 11.5px; border-radius: 7px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-h {
  display: flex; align-items: center; gap: 10px;
  padding: 15px 18px 0;
}
.card-h h2 { margin: 0; font-size: 13.5px; font-weight: 700; letter-spacing: -.1px; }
.card-h .sub { font-size: 11.5px; color: var(--ink-3); }
.card-h .grow { flex: 1; }
.card-b { padding: 14px 18px 18px; }
.card-b.flush { padding: 8px 0 0; }

.pill {
  display: inline-flex; align-items: center; gap: 4px;
  height: 21px; padding: 0 8px;
  border-radius: 6px;
  font-size: 11px; font-weight: 600;
  background: #f1f3ea; color: var(--ink-2);
  white-space: nowrap;
}
.pill.lime { background: var(--lime-soft); color: var(--lime-ink); }
.pill.amber { background: #fff5e0; color: var(--amber); }
.pill.blue { background: #e8f1ff; color: var(--blue); }
.pill.gray { background: #f1f3ea; color: #6b7264; }
.pill.red { background: #fdece8; color: #b8351b; }
.pill.dark { background: #22261a; color: #dfe8cc; }

.grid { display: grid; gap: 16px; }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-2b { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.g-2c { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }

/* KPI */
.kpi { padding: 16px 18px 15px; position: relative; overflow: hidden; }
.kpi .lab { font-size: 11.5px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.kpi .val { font-size: 27px; font-weight: 800; letter-spacing: -.8px; line-height: 1.25; margin-top: 5px; }
.kpi .val i { font-size: 15px; font-weight: 600; font-style: normal; color: var(--ink-2); margin-right: 2px; }
.kpi .foot { margin-top: 6px; font-size: 11.5px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.delta { font-size: 11px; font-weight: 700; }
.delta.up { color: #3f8f13; }
.delta.down { color: #c04325; }
.kpi .spark { position: absolute; right: 14px; top: 16px; opacity: .9; }

/* 表格 */
table { width: 100%; border-collapse: collapse; }
thead th {
  text-align: left;
  font-size: 10.5px; font-weight: 600; letter-spacing: .6px;
  color: var(--ink-3); text-transform: uppercase;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfcf7;
  white-space: nowrap;
}
tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-2);
  font-size: 12.5px;
  vertical-align: middle;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafcf4; }
tbody tr.clickable { cursor: pointer; }
td .cell-main { font-weight: 600; }
td .cell-sub { font-size: 11px; color: var(--ink-3); margin-top: 1px; }
.t-right { text-align: right; }
.t-center { text-align: center; }

.toolbar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.tabs { display: flex; gap: 3px; background: #f1f3ea; padding: 3px; border-radius: 10px; }
.tabs button {
  height: 27px; padding: 0 11px; border-radius: 8px;
  font-size: 12px; color: var(--ink-2); font-weight: 500;
  display: flex; align-items: center; gap: 5px;
}
.tabs button.on { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 3px rgba(17,20,8,.09); }
.tabs button em { font-style: normal; font-size: 10.5px; color: var(--ink-3); }
.tabs button.on em { color: var(--lime-ink); }

.search {
  display: flex; align-items: center; gap: 7px;
  height: 32px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 9px;
  background: #fbfcf7;
  min-width: 200px;
}
.search input { border: 0; background: none; outline: none; width: 100%; font-size: 12.5px; }
.search svg { width: 14px; height: 14px; color: var(--ink-3); flex: 0 0 14px; }

/* 表单 */
.field { display: block; }
.field > label { display: block; font-size: 11.5px; color: var(--ink-2); margin-bottom: 5px; font-weight: 500; }
.input, select.input, textarea.input {
  width: 100%; height: 34px;
  border: 1px solid var(--line); border-radius: 9px;
  background: #fbfcf7;
  padding: 0 11px;
  font-size: 12.5px;
  outline: none;
  transition: border-color .15s, background .15s;
}
.input:focus { border-color: #b9d945; background: #fff; box-shadow: 0 0 0 3px rgba(201,242,39,.18); }
textarea.input { height: 70px; padding: 8px 11px; resize: vertical; }
.hint { font-size: 11.5px; color: var(--ink-3); margin-top: 6px; line-height: 1.6; }
.form-row { display: grid; gap: 12px; }
.form-row.c2 { grid-template-columns: 1fr 1fr; }
.form-row.c3 { grid-template-columns: 1fr 1fr 1fr; }
.unit { position: relative; }
.unit .suffix {
  position: absolute; right: 11px; top: 50%; transform: translateY(-50%);
  font-size: 11.5px; color: var(--ink-3); pointer-events: none;
}
.unit .input { padding-right: 44px; }

.switch {
  width: 40px; height: 22px; border-radius: 11px;
  background: #dcdfd2; position: relative; transition: background .18s;
  flex: 0 0 40px;
}
.switch i {
  position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18);
  transition: transform .18s;
}
.switch.on { background: var(--lime); }
.switch.on i { transform: translateX(18px); background: #fff; }

.rule-list { display: grid; gap: 1px; background: var(--line-2); border-radius: 10px; overflow: hidden; }
.rule {
  display: flex; gap: 10px;
  padding: 11px 13px;
  background: #fbfcf7;
}
.rule .ico {
  width: 20px; height: 20px; border-radius: 6px;
  background: #eef0e6; color: #6b7264;
  display: grid; place-items: center; flex: 0 0 20px;
  margin-top: 1px;
}
.rule .ico svg { width: 12px; height: 12px; }
.rule b { display: block; font-size: 12px; font-weight: 600; }
.rule span { display: block; font-size: 11.5px; color: var(--ink-2); margin-top: 1px; line-height: 1.6; }

.note {
  border: 1px dashed #d9e3b7;
  background: #f8fce9;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 11.5px;
  color: #5c6b36;
  line-height: 1.65;
}
.note b { color: #42501f; }

.empty { padding: 42px 16px; text-align: center; color: var(--ink-3); font-size: 12.5px; }
.empty b { display: block; color: var(--ink-2); font-size: 13px; margin-bottom: 4px; }

/* 商品缩略图 */
.thumb {
  width: 42px; height: 42px; border-radius: 9px;
  background: linear-gradient(160deg, #f7f9ef, #eef1e3);
  display: grid; place-items: center;
  overflow: hidden; flex: 0 0 42px;
  border: 1px solid var(--line-2);
}
.thumb svg { width: 86%; height: 86%; }
.prod-cell { display: flex; align-items: center; gap: 10px; }

/* 侧滑抽屉 */
.overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(16, 18, 8, .34);
  backdrop-filter: blur(2px);
  display: flex; justify-content: flex-end;
  animation: fade .18s ease;
}
@keyframes fade { from { opacity: 0; } }
.drawer {
  width: 430px; max-width: 92vw; height: 100%;
  background: #fff; overflow-y: auto;
  box-shadow: -20px 0 50px rgba(16,18,8,.16);
  animation: slide .22s cubic-bezier(.2,.8,.2,1);
}
@keyframes slide { from { transform: translateX(30px); opacity: .4; } }
.drawer-h {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 15px 18px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.drawer-h h3 { margin: 0; font-size: 14px; font-weight: 700; }
.drawer-h .x { margin-left: auto; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: var(--ink-3); }
.drawer-h .x:hover { background: #f1f3ea; color: var(--ink); }
.drawer-b { padding: 16px 18px 28px; }

.modal-wrap {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(16, 18, 8, .38);
  backdrop-filter: blur(2px);
  display: grid; place-items: center;
  padding: 20px;
  animation: fade .16s ease;
}
.modal {
  width: 460px; max-width: 100%;
  max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: 16px;
  box-shadow: 0 24px 60px rgba(16,18,8,.24);
  animation: pop .18s ease;
}
@keyframes pop { from { transform: translateY(8px) scale(.99); opacity: .5; } }
.modal-h { padding: 16px 18px 0; display: flex; gap: 10px; align-items: flex-start; }
.modal-h h3 { margin: 0; font-size: 14px; font-weight: 700; }
.modal-h p { margin: 2px 0 0; font-size: 11.5px; color: var(--ink-3); }
.modal-b { padding: 14px 18px 4px; display: grid; gap: 12px; }
.modal-f { padding: 14px 18px 18px; display: flex; gap: 8px; justify-content: flex-end; }

/* 会员头像 */
.mavatar {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  font-size: 11.5px; font-weight: 700;
  background: #eef1e3; color: #5b6446;
  flex: 0 0 30px;
}
.mavatar.a { background: #e6f6c4; color: #4d6a00; }
.mavatar.b { background: #e4eefc; color: #23578f; }
.mavatar.c { background: #fdeed9; color: #8c5c12; }
.mavatar.d { background: #efe6fa; color: #64408f; }

/* 工具栏/分段 */
.seg { display: inline-flex; background: #f1f3ea; padding: 3px; border-radius: 10px; gap: 3px; }
.seg button { height: 28px; padding: 0 13px; border-radius: 8px; font-size: 12px; color: var(--ink-2); }
.seg button.on { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 3px rgba(17,20,8,.09); }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 12px);
  background: #191d11; color: #f3f7e7;
  padding: 10px 18px; border-radius: 10px;
  font-size: 12.5px; z-index: 90;
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
  max-width: 80vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 图表 */
.chart-wrap { padding: 4px 4px 0; }
.chart-legend { display: flex; align-items: center; gap: 14px; font-size: 11.5px; color: var(--ink-3); }
.chart-legend i { width: 10px; height: 3px; border-radius: 2px; display: inline-block; margin-right: 5px; vertical-align: middle; }

/* 概览待办 */
.todo { display: flex; align-items: center; gap: 11px; padding: 11px 4px; border-bottom: 1px dashed var(--line-2); cursor: pointer; }
.todo:last-child { border-bottom: 0; }
.todo .t-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #f4f6ec; color: #6b7264; flex: 0 0 30px; }
.todo .t-ico svg { width: 15px; height: 15px; }
.todo .t-ico.hot { background: #fdf1d6; color: #a97500; }
.todo b { display: block; font-size: 12.5px; font-weight: 600; }
.todo span { display: block; font-size: 11px; color: var(--ink-3); }
.todo .n { margin-left: auto; font-weight: 800; font-size: 16px; letter-spacing: -.5px; }
.todo:hover .n { color: var(--lime-ink); }

/* 体系状态 */
.sys-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line-2); }
.sys-row:last-child { border-bottom: 0; }
.sys-row .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime-deep, #a8d400); flex: 0 0 7px; }
.sys-row .dot.off { background: #cfd3c6; }
.sys-row b { font-size: 12.5px; font-weight: 600; }
.sys-row span { font-size: 11.5px; color: var(--ink-3); }
.sys-row .v { margin-left: auto; font-size: 12px; font-weight: 700; }

/* 直推示意 */
.rel { display: flex; align-items: center; gap: 8px; padding: 6px 0 14px; }
.rel .node {
  border: 1px solid var(--line); border-radius: 11px;
  padding: 9px 12px; text-align: center; background: #fbfcf7; min-width: 78px;
}
.rel .node b { display: block; font-size: 13px; font-weight: 800; letter-spacing: 1px; }
.rel .node span { display: block; font-size: 10px; color: var(--ink-3); }
.rel .node.a { border-color: #c9de8d; background: #f6fce6; }
.rel .arrow { color: var(--ink-3); font-size: 15px; }
.rel .no { color: #c04325; font-size: 11px; display: flex; align-items: center; gap: 3px; margin-left: 2px; }

/* 邀请海报 */
.poster-stage { display: grid; place-items: center; padding: 18px; background: transparent; }
.poster {
  width: 300px; border-radius: 18px; overflow: hidden;
  position: relative;
  background: #12140e; color: #f2f5e9;
  box-shadow: 0 16px 40px rgba(17,20,8,.24);
}
/* 主图完整显示：高度按原图比例，不裁切 */
.poster-img {
  min-height: 150px;
  background: #0f1626;
  display: grid; place-items: center; position: relative;
}
.poster-img img { width: 100%; height: auto; display: block; object-fit: contain; }
.poster-img .ph { text-align: center; padding: 40px 0; }
.poster-img .ph b { display: block; font-size: 30px; letter-spacing: 6px; color: var(--lime); font-weight: 900; }
.poster-img .ph span { display: block; font-size: 9.5px; letter-spacing: 3px; color: #8e9a76; margin-top: 4px; }
.poster-body { padding: 14px 108px 16px 18px; text-align: left; min-height: 96px; box-sizing: border-box; }
.poster-body h4 { margin: 0 0 3px; font-size: 15px; font-weight: 700; letter-spacing: .5px; }
.poster-body p { margin: 0 0 10px; font-size: 11px; color: #8e9a76; }
/* 彩色圆形二维码：浮在海报右下角，可覆盖主图 */
.poster-qr-round {
  position: absolute; right: 12px; bottom: 12px;
  width: 92px; height: 92px; border-radius: 50%;
  background: conic-gradient(from 210deg, #c9f227, #35e0a1, #33a6ff, #a855f7, #c9f227);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(0,0,0,.42);
  z-index: 3;
}
.poster-qr-round::before {
  content: ''; position: absolute; inset: 3px; border-radius: 50%; background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
}
.poster-qr-round .pqr-code { position: relative; display: block; width: 68%; height: 68%; z-index: 1; }
.poster-qr-round .pqr-code svg { display: block; width: 100%; height: 100%; }
.poster-slogan { margin-top: 8px; font-size: 10px; color: #7d876a; letter-spacing: .4px; }
.poster-code { font-size: 11px; color: #8e9a76; letter-spacing: .5px; }
.poster-code b { color: var(--lime); font-size: 18px; letter-spacing: 3px; margin-left: 6px; }

/* 上传 */
.upload {
  border: 1px dashed #d5dac7; border-radius: 11px;
  background: #fbfcf7; padding: 14px;
  display: flex; align-items: center; gap: 12px;
  cursor: pointer;
}
.upload:hover { border-color: #b9d945; background: #fafdf0; }
.upload .up-ico { width: 40px; height: 40px; border-radius: 10px; background: #eef1e3; display: grid; place-items: center; color: #6b7264; flex: 0 0 40px; }
.upload b { display: block; font-size: 12.5px; }
.upload span { display: block; font-size: 11px; color: var(--ink-3); }
.upload input { display: none; }
.up-prev { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: 0 0 40px; }

/* 详情行 */
.kv { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line-2); font-size: 12.5px; }
.kv:last-child { border-bottom: 0; }
.kv .k { color: var(--ink-3); width: 92px; flex: 0 0 92px; }
.kv .v { flex: 1; text-align: right; font-weight: 500; word-break: break-all; }

.stat-mini { display: flex; gap: 18px; padding: 13px 16px; background: #fbfcf7; border-radius: 12px; }
.stat-mini div { flex: 1; }
.stat-mini b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.4px; }
.stat-mini span { display: block; font-size: 11px; color: var(--ink-3); }

.section-title { font-size: 12px; font-weight: 700; letter-spacing: .2px; margin: 0 0 9px; color: var(--ink-2); }
.divider { height: 1px; background: var(--line-2); margin: 16px 0; }

.mobile-only { display: none; }

@media (max-width: 1180px) {
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-2b, .g-2c { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .side { width: 64px; flex: 0 0 64px; }
  .brand-txt, .side-store, .nav-label, .side-foot .who, .side-foot .out { display: none; }
  .side-brand { padding: 16px 0; justify-content: center; }
  .nav { padding: 4px 8px; }
  .nav-item { justify-content: center; padding: 10px 0; font-size: 0; }
  .nav-item .badge { position: absolute; top: 2px; right: 2px; font-size: 9px; min-width: 15px; height: 15px; padding: 0 3px; }
  .side-foot { justify-content: center; padding: 12px 0; }
  .content { padding: 16px; }
  .g-3, .g-2 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 团队业绩 ---------- */
.banner-note {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 15px; border-radius: 12px;
  background: #f6f8ec; border: 1px solid #e3e9cf;
  font-size: 12px; color: #4f5a35; line-height: 1.6;
}
.banner-note .tag {
  display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto;
  padding: 2px 8px; border-radius: 999px;
  background: #12140e; color: #c9f227;
  font-size: 10.5px; font-weight: 700; letter-spacing: .3px;
}
.banner-note .tag svg { width: 11px; height: 11px; }
.banner-note b { color: #12140e; }

.row-hover { cursor: pointer; }
.row-hover:hover td { background: #fbfcf5; }

.bar-mini { height: 3px; border-radius: 2px; background: #eceee4; margin-top: 5px; overflow: hidden; }
.bar-mini i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #c9f227, #8fc21a); }

.perf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.perf-box { padding: 11px 12px; border-radius: 11px; background: #fbfcf7; border: 1px solid #eceee2; }
.perf-box span { display: block; font-size: 10.5px; color: var(--ink-3); letter-spacing: .2px; }
.perf-box b { display: block; font-size: 17px; font-weight: 800; margin-top: 3px; letter-spacing: -.3px; }

.depth-chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 26px; height: 19px; padding: 0 6px;
  border-radius: 6px; background: #eef0e6; color: #5c6647;
  font-size: 10.5px; font-weight: 700; letter-spacing: .3px;
}
.depth-chip.l1 { background: #e6f6c4; color: #4d6a00; }

.dist-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.dist-row b { font-size: 11.5px; color: #4f5a35; font-weight: 600; min-width: 52px; text-align: right; }
.dist-bar { flex: 1; height: 8px; border-radius: 999px; background: #eff1e7; overflow: hidden; }
.dist-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #8fc21a, #c9f227); }
