/* 家账 Web · 纯静态样式（无外部字体/CDN） */
:root {
  --ink-900:#0b1220; --ink-800:#111c31; --ink-700:#1c2b45;
  --ink:#0f172a; --text:#20304a; --muted:#64748b; --line:#e4e9f2;
  --bg:#f4f7fb; --card:#ffffff; --cream:#fbf7f0; --clay:#c2532b; --clay-soft:#f7e9e2;
  --teal:#0f766e; --teal-700:#0b5d56; --teal-soft:#e6f4f2; --amber:#b45309;
  --danger:#b91c1c; --ok:#15803d; --radius:14px; --shadow:0 1px 2px rgba(16,24,40,.06), 0 8px 24px -12px rgba(16,24,40,.18);
  --mono: "SF Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html, body { margin:0; padding:0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg); color: var(--text); line-height:1.55; -webkit-font-smoothing:antialiased;
  padding-bottom: 72px;
}
a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }
.topbar { position: sticky; top:0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom:1px solid var(--line); }
.topbar-inner { max-width: 1120px; margin: 0 auto; padding: 12px 20px; display:flex; align-items:center; gap:16px; }
.brand { display:flex; align-items:center; gap:10px; font-weight:700; letter-spacing:.5px; color: var(--ink); }
.brand .dot { width:10px; height:10px; border-radius:50%; background: linear-gradient(135deg, var(--teal), #22c55e); }
.brand small { font-weight:500; color: var(--muted); letter-spacing:0; }
.nav { display:flex; gap:4px; margin-left:auto; }
.nav a { padding:6px 12px; border-radius:999px; color:var(--muted); font-size:14px; }
.nav a.on { background: var(--teal-soft); color: var(--teal-700); font-weight:600; }
.nav a:hover { text-decoration:none; background: #eef2f7; }
.nav a.on:hover { background: var(--teal-soft); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 20px; }
.hero { background: linear-gradient(135deg, #0b1220 0%, #123c3a 60%, #0f766e 130%); color:#fff; border-radius: 20px; padding: 22px 24px; box-shadow: var(--shadow); }
.hero h1 { font-size: 20px; margin: 0 0 4px; font-weight: 700; }
.hero p { margin: 0; color: #c9d8d6; font-size: 13.5px; }
.hero .big { font-family: var(--mono); font-size: 34px; font-weight: 700; margin: 12px 0 2px; letter-spacing:.5px; }
.hero .sub { color:#9fb8b4; font-size:12.5px; }
.grid { display:grid; gap:14px; }
.kpis { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); margin-top: 16px; }
.card { background: var(--card); border:1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.kpi .label { color: var(--muted); font-size: 12.5px; }
.kpi .value { font-family: var(--mono); font-size: 24px; font-weight: 700; color: var(--ink); margin-top: 6px; letter-spacing: .3px; }
.kpi .note { color: var(--muted); font-size: 12px; margin-top: 4px; }
.pos { color: var(--ok); } .neg { color: var(--danger); } .warn { color: var(--amber); }
.section { margin-top: 26px; }
.section h2 { font-size: 15px; color: var(--ink); margin: 0 0 12px; letter-spacing: .2px; }
.section h2 span { color: var(--muted); font-weight: 500; font-size: 12.5px; margin-left: 8px; }
.msg-list { display:flex; flex-direction:column; gap:10px; }
.msg { background: var(--cream); border:1px solid #efe4d7; border-left: 4px solid var(--clay); border-radius: 12px; padding: 12px 14px; }
.msg .t { font-weight:600; color:#3f2d22; font-size:14px; }
.msg .d { color:#7a6250; font-size:12.5px; margin-top:4px; }
.msg .row { display:flex; align-items:center; gap:10px; margin-top:8px; }
.msg .amt { font-family: var(--mono); font-weight:700; color: var(--clay); }
.tag { display:inline-block; padding:2px 8px; border-radius:999px; font-size:11.5px; background:#fde9df; color:#9a3412; }
.tag.ok { background: var(--teal-soft); color: var(--teal-700); }
.tag.warn { background:#fef3c7; color:#92400e; }
.tag.alert { background:#fee2e2; color:#991b1b; }
.split { display:grid; grid-template-columns: 1.15fr .85fr; gap:14px; }
.list { display:flex; flex-direction:column; gap:10px; }
.item { display:flex; align-items:center; gap:12px; padding:10px 0; border-bottom:1px dashed var(--line); }
.item:last-child { border-bottom:0; }
.item .grow { flex:1; min-width:0; }
.item .name { font-weight:600; color:var(--ink); font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.item .meta { color:var(--muted); font-size:12.5px; margin-top:2px; }
.item .amt { font-family: var(--mono); font-weight:700; }
.bar { height:8px; background:#eef2f7; border-radius:99px; overflow:hidden; margin-top:6px; }
.bar > i { display:block; height:100%; border-radius:99px; background: linear-gradient(90deg, var(--teal), #34d399); }
.bar.warn > i { background: linear-gradient(90deg, #b45309, #f59e0b); }
.bar.alert > i { background: linear-gradient(90deg, #b91c1c, #f87171); }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:9px 16px; border-radius:10px; border:1px solid var(--teal); background:var(--teal); color:#fff; font-size:14px; font-weight:600; cursor:pointer; }
.btn:hover { background: var(--teal-700); border-color: var(--teal-700); }
.btn.ghost { background:transparent; color: var(--teal-700); border-color:#c7dcd9; }
.btn.ghost:hover { background: var(--teal-soft); }
.btn.small { padding:6px 12px; font-size:13px; }
.btn[disabled] { opacity:.5; cursor: default; }
.filters { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-bottom:12px; }
select, input[type=text], input[type=search] { border:1px solid var(--line); background:#fff; border-radius:10px; padding:9px 12px; font-size:14px; color:var(--txt, var(--text)); min-width:0; }
input[type=search] { flex:1; min-width:180px; }
table { width:100%; border-collapse: collapse; }
th, td { text-align:left; padding:10px 8px; border-bottom:1px solid var(--line); font-size:13.5px; }
th { color: var(--muted); font-weight:600; font-size:12.5px; }
td.num, th.num { text-align:right; font-family: var(--mono); }
td .sub { color:var(--muted); font-size:12px; }
.empty { text-align:center; color:var(--muted); padding:34px 10px; font-size:14px; }
.tabs { display:flex; gap:6px; margin-bottom:12px; flex-wrap:wrap; }
.tabs button { border:1px solid var(--line); background:#fff; border-radius:999px; padding:7px 14px; font-size:13.5px; color:var(--muted); cursor:pointer; }
.tabs button.on { background: var(--teal); color:#fff; border-color: var(--teal); font-weight:600; }
.foot { max-width: 1120px; margin: 26px auto 0; padding: 0 20px 26px; color: var(--muted); font-size: 12px; }
.bottomnav { position: fixed; bottom:0; left:0; right:0; display:none; background: rgba(255,255,255,.96); border-top:1px solid var(--line); backdrop-filter: blur(8px); }
.bottomnav a { flex:1; text-align:center; padding:8px 0 10px; font-size:11.5px; letter-spacing:-0.2px; color:var(--muted); white-space:nowrap; }
.bottomnav a.on { color: var(--teal-700); font-weight:600; }
.login-wrap { min-height: 100vh; display:flex; align-items:center; justify-content:center; padding: 24px; }
.login-card { width: 100%; max-width: 380px; text-align:center; }
.login-card .brand { justify-content:center; font-size: 20px; }
.login-card p { color: var(--muted); font-size: 13.5px; }
.login-card input.code-input { width:100%; text-align:center; font-family: var(--mono); font-size: 28px; letter-spacing: 12px; padding: 14px 8px; border:1px solid var(--line); border-radius: 12px; margin: 14px 0; }
.err { color: var(--danger); font-size: 13px; min-height: 18px; }
.toast { position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%); background: var(--ink); color:#fff; padding: 10px 18px; border-radius: 999px; font-size: 13.5px; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 50; }
.toast.show { opacity: 1; }
@media (max-width: 900px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .nav { display:none; }
  .bottomnav { display:flex; }
  .wrap { padding: 14px; }
  .hero .big { font-size: 28px; }
}
@media (max-width: 520px) {
  .kpis { grid-template-columns: 1fr 1fr; gap:10px; }
  .kpi { padding: 12px 14px; }
  .kpi .value { font-size: 20px; }
  th:nth-child(3), td:nth-child(3) { display:none; }
}
@media (prefers-color-scheme: dark) {
  :root { --ink:#e5edf7; --text:#c8d4e6; --muted:#8ba0bd; --line:#243246; --bg:#0b1322; --card:#101b2d; --cream:#171f2c; --clay:#e08a5f; --teal:#2dd4bf; --teal-700:#5eead4; --teal-soft:#10302e; }
  .topbar { background: rgba(11,19,34,.9); }
  .msg { border-color:#2a3546; }
  .msg .t { color:#e8d9c9; }
  .msg .d { color:#b9a48f; }
  .nav a.on { background: var(--teal-soft); color: var(--teal-700); }
  select, input[type=text], input[type=search], .tabs button { background:#132033; color: var(--text); }
  .bottomnav { background: rgba(11,19,34,.96); }
  .toast { background:#e5edf7; color:#0b1322; }
}

/* ---------- 优先级提醒卡 + AI 对话 ---------- */
.ins { border:1px solid var(--line); border-radius:14px; padding:12px 14px; margin-bottom:10px; background:var(--card); }
.ins-top { display:flex; align-items:center; gap:8px; }
.ins-badge { font-size:11px; font-weight:700; padding:2px 8px; border-radius:999px; white-space:nowrap; }
.ins-badge.p1 { background:#fde2e1; color:#b42318; }
.ins-badge.p2 { background:#ffefd6; color:#b54708; }
.ins-badge.p3 { background:#e0f2fe; color:#026aa2; }
.ins-badge.p4 { background:#eef2f7; color:#475467; }
.ins-title { font-weight:650; font-size:14px; color:var(--ink); line-height:1.35; }
.ins-meta { font-size:11.5px; color:var(--muted); margin:4px 0 2px; display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.ins-tag { background:var(--cream); border:1px solid var(--line); border-radius:6px; padding:0 6px; font-size:11px; color:var(--text); }
.ins-detail { font-size:12.5px; color:var(--text); opacity:.9; line-height:1.5; margin:2px 0 8px; }
.ins-actions { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.btn.sm { padding:5px 10px; font-size:12px; border-radius:9px; }
.btn.ghost { background:transparent; border:1px solid var(--line); color:var(--text); }
.ins-count { font-size:11.5px; color:var(--muted); margin-left:2px; }
.ins-chat { margin-top:10px; border-top:1px dashed var(--line); padding-top:10px; }
.chat-log { display:flex; flex-direction:column; gap:6px; margin-bottom:8px; max-height:260px; overflow:auto; }
.bubble { font-size:12.5px; line-height:1.55; padding:7px 10px; border-radius:10px; white-space:pre-wrap; }
.bubble.me { align-self:flex-end; background:var(--teal-soft); color:var(--teal-700); max-width:88%; }
.bubble.ai { align-self:flex-start; background:var(--cream); border:1px solid var(--line); color:var(--text); max-width:92%; }
.chat-row { display:flex; gap:6px; }
.chat-input { flex:1; padding:7px 10px; border:1px solid var(--line); border-radius:9px; font-size:12.5px; background:#fff; color:var(--text); }
@media (prefers-color-scheme: dark) { .ins-badge.p1{background:#3b1d1d;color:#f97066}.ins-badge.p2{background:#3a2a12;color:#fdb022}.ins-badge.p3{background:#0d2d3d;color:#7cd4fd}.ins-badge.p4{background:#1c2733;color:#98a2b3}.chat-input{background:#132033} }

/* ---------- 流水操作 / 分类修改 / 单笔问 AI ---------- */
td.ops { white-space:nowrap; }
button.mini { font-size:11.5px; padding:3px 8px; border-radius:8px; border:1px solid var(--line); background:var(--cream); color:var(--text); cursor:pointer; margin-right:4px; }
button.mini:hover { border-color: var(--teal); color: var(--teal-700); }
tr.tx-panel > td { background: var(--cream); padding: 12px 14px; }
.tx-edit { display:flex; flex-wrap:wrap; gap:10px; align-items:center; font-size:13px; }
.tx-edit select { padding:6px 10px; border-radius:8px; border:1px solid var(--line); background:#fff; color:var(--text); }
.tx-msg { color: var(--danger); font-size:12px; }
.tx-ask .chat-log { max-height: 220px; overflow:auto; display:flex; flex-direction:column; gap:6px; margin-bottom:8px; }
.ins-ai { font-size:12px; color: var(--teal-700); background: var(--teal-soft); border-left:3px solid var(--teal); border-radius:8px; padding:6px 10px; margin:2px 0 8px; line-height:1.55; }
@media (prefers-color-scheme: dark) { tr.tx-panel > td { background:#16202f; } .tx-edit select{background:#132033} }

/* 操作日志 */
.log-item{align-items:flex-start}
.log-status{display:inline-block;min-width:34px;text-align:center;border-radius:6px;padding:1px 6px;font-size:12px;font-weight:600;color:#fff}
.log-ok{background:#0f766e}
.log-warn{background:#b45309}
.log-err{background:#b91c1c}
.check{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}

/* 改分类面板 */
.tx-cur{color:var(--muted);font-size:12.5px;margin:2px 0 8px}
.tx-cur b{color:var(--ink);font-weight:600}
.tx-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.tx-edit .tx-msg{margin-left:8px;color:var(--teal);font-size:12.5px}

/* 问 AI 面板 */
.chat-chips{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 8px}
.chat-chips .mini{cursor:pointer}
.bubble.wait{opacity:.7;font-style:italic}

/* AI 建议采纳 */
.sug{margin-top:6px}
.sug .mini{background:#ecfdf5;border-color:#99f6e4;color:#0f766e;cursor:pointer}

/* ---------- AI 助手 ---------- */
.agent-log { min-height: 160px; max-height: 420px; overflow-y: auto; }
.agent-step { font: 12px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); background: var(--cream); border-radius: 6px; padding: 3px 8px; margin-top: 4px; }
.agent-step .tool { color: var(--teal-700); font-weight: 600; }
.agent-steps { margin-top: 8px; font-size: 12px; color: var(--muted); }
.agent-steps summary { cursor: pointer; color: var(--muted); }
.pend { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; background: var(--card); }
.pend-top { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: 13.5px; }
.pend-body { margin-top: 4px; font-size: 13px; }
.pend-ops { margin-top: 8px; display: flex; gap: 8px; }


/* ---------- 顶部「更多」下拉 + 底部更多面板 ---------- */
.moremenu { position: relative; display: inline-block; }
.moremenu summary { list-style: none; cursor: pointer; padding: 6px 10px; border-radius: 10px; color: var(--muted); font-size: 13px; }
.moremenu summary::-webkit-details-marker { display: none; }
.moremenu summary.on, .moremenu summary:hover { background: var(--teal-soft); color: var(--teal-700); font-weight: 600; }
.moremenu .menu { position: absolute; right: 0; top: 36px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 6px; box-shadow: 0 10px 30px rgba(15, 30, 50, .12); min-width: 120px; z-index: 30; }
.moremenu .menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 13px; }
.moremenu .menu a:hover { background: var(--teal-soft); color: var(--teal-700); }
.more-sheet { position: fixed; left: 12px; right: 12px; bottom: 74px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 10px 40px rgba(15, 30, 50, .18); z-index: 40; }
.more-sheet a { padding: 12px 14px; border-radius: 10px; background: var(--bg); color: var(--ink); text-decoration: none; font-size: 14px; }
.more-sheet a:hover { background: var(--teal-soft); color: var(--teal-700); }
.bar.warn i { background: var(--clay); }
#store-kpis { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { #store-kpis { grid-template-columns: 1fr 1fr; } }
.store-trend { width: 100%; height: 215px; display: block; }

/* ---------- 店铺趋势图（div 柱状） ---------- */
.tlegend { font-size: 12px; color: var(--muted); margin: 0 0 10px; display: flex; align-items: center; gap: 4px; }
.tlegend .sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-left: 8px; }
.tlegend .sw.rev { background: var(--teal-soft); border: 1px solid var(--teal); }
.tlegend .sw.net { background: var(--teal); }
.tchart { display: flex; align-items: flex-end; gap: 6px; height: 175px; padding: 4px 2px 0; }
.tcol { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; min-width: 0; }
.tbars { display: flex; align-items: flex-end; gap: 3px; height: 145px; width: 100%; justify-content: center; }
.tbar { display: block; width: 42%; max-width: 16px; border-radius: 4px 4px 0 0; background: var(--teal-soft); border: 1px solid var(--teal); }
.tbar.net { background: var(--teal); border-color: var(--teal-700); }
.tlabel { font-size: 10.5px; color: var(--muted); font-weight: 400; white-space: nowrap; }
@media (max-width: 520px) { .tchart { gap: 3px; } .tlabel { font-size: 9px; } .tbars { height: 130px; } }
.more-sheet[hidden] { display: none !important; }


/* ---------- 数据同步徽标 ---------- */
.sync-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted);
  border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 4px 10px; cursor: pointer;
  margin-right: 10px; user-select: none; white-space: nowrap; }
.sync-pill:hover { border-color: var(--teal); color: var(--ink); }
.sync-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); display: inline-block; }
.sync-pill.stale .dot { background: var(--clay); }
.sync-pill .at { color: var(--muted); font-size: 11.5px; }
.sync-pill.busy .dot { animation: syncpulse 1s infinite; }
@keyframes syncpulse { 0%,100% { opacity: .3 } 50% { opacity: 1 } }
@media (max-width: 640px) { .sync-pill .at { display: none; } .sync-pill { margin-right: 6px; } }


/* 分类组合框：可下拉选、也可直接输入新建 */
.combo { display: inline-flex; flex: 1; min-width: 140px; }
.combo input { width: 100%; }

body[data-js-error]::before { content: "JS错误: " attr(data-js-error); display: block; background: #fde8e8; color: #a00; font-size: 12px; padding: 6px 12px; border-bottom: 1px solid #f5b5b5; }


/* 待确认高亮（流水页）：新入账待人工确认 */
tr.unconfirmed { background: #fff8e6; }
tr.unconfirmed:hover { background: #fdf3d8; }
tr.unconfirmed td:first-child { box-shadow: inset 3px 0 0 #d97706; }
.tag-pending { display: inline-block; margin-left: 8px; padding: 1px 6px; border-radius: 999px; background: #fde8c8; color: #92500a; font-size: 11px; font-weight: 600; vertical-align: 1px; }
button.mini.primary { background: var(--teal); color: #fff; border-color: var(--teal); }
button.mini.primary:hover { filter: brightness(.95); }

/* 未确认流水提示条（仪表盘） */
.hintbar { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: #fff8e6; border: 1px solid #f3d9a4; color: #7a4a08; font-size: 13.5px; line-height: 1.6; }
.hintbar b { color: #92500a; }
.hintbar a { color: var(--teal-700, #115e59); font-weight: 600; text-decoration: none; }
.hintbar a:hover { text-decoration: underline; }

/* combo：输入框 + 独立下拉按钮（不依赖输入内容过滤） */
.combo { position: relative; display: inline-flex; flex: 1; min-width: 140px; }
.combo input { width: 100%; padding-right: 28px !important; }
.combo .combo-btn { position: absolute; right: 0; top: 0; bottom: 0; width: 28px; border: 0; background: transparent; color: var(--muted, #667); cursor: pointer; font-size: 12px; }
.combo .combo-btn:hover { color: var(--teal, #0f766e); }
.combo .combo-menu { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 4px); max-height: 240px; overflow-y: auto; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 24px rgba(16, 40, 46, .18); padding: 4px; }
.combo .combo-menu div { padding: 7px 10px; border-radius: 6px; cursor: pointer; font-size: 13px; color: var(--text); }
.combo .combo-menu div:hover { background: var(--teal-soft); color: var(--teal-700); }
.combo .combo-menu .combo-empty { color: var(--muted); cursor: default; font-size: 12px; }
@media (prefers-color-scheme: dark) {
  tr.unconfirmed { background: rgba(217, 119, 6, .12); }
  tr.unconfirmed:hover { background: rgba(217, 119, 6, .18); }
  .tag-pending { background: rgba(217, 119, 6, .25); color: #fcd34d; }
  .hintbar { background: rgba(217, 119, 6, .14); border-color: rgba(217, 119, 6, .35); color: #fde68a; }
  .hintbar b { color: #fcd34d; }
  .sk-line { background: linear-gradient(90deg, #162235 25%, #1d2d45 37%, #162235 63%); background-size: 400% 100%; }
}

/* 首屏骨架屏：数据到达前先画出结构，公网高延迟时体感更快 */
.sk-line { height: 12px; margin: 8px 0; border-radius: 6px;
  background: linear-gradient(90deg, #eef2f4 25%, #f6f9fa 37%, #eef2f4 63%);
  background-size: 400% 100%; animation: sk-shimmer 1.3s ease infinite; }
.sk-line.lg { height: 24px; }
.sk-line.w100 { width: 100%; } .sk-line.w80 { width: 80%; } .sk-line.w70 { width: 70%; }
.sk-line.w60 { width: 60%; } .sk-line.w50 { width: 50%; }
.sk-wrap .label { visibility: hidden; }
@keyframes sk-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@media (prefers-reduced-motion: reduce) { .sk-line { animation: none; } }

/* 公网页上的"在家·极速"入口 */
.lan-hint { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px;
  border-radius: 999px; background: rgba(15,108,88,.10); color: var(--accent, #0f6c58);
  font-size: 12.5px; font-weight: 600; text-decoration: none; }
.lan-hint:hover { background: rgba(15,108,88,.18); }

/* 理财页：回本进度 + 走势小图 */
.wealth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wealth-grid .card h2 { margin-top: 0; }
.spark { width: 100%; height: auto; display: block; margin-top: 6px; }
.spark-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 2px; }
.wealth-disclaimer { color: var(--muted); font-size: 12.5px; margin: 0 0 8px; line-height: 1.6; }
.wealth-disclaimer b { color: var(--text); }
.wealth-list { margin: 0; padding-left: 18px; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.wealth-list b { color: var(--text); }
@media (max-width: 720px) { .wealth-grid { grid-template-columns: 1fr; } }
