/* ============================================================================
   账号页：商家 / 用户
   表格为主，一行一个账号。数字右对齐，方便竖着扫。
   ============================================================================ */
.ac-tabs { display: flex; gap: 6px; margin: 0 0 16px; border-bottom: 1px solid var(--line, #dfe7e5); }
.ac-tabs button {
  border: none; background: none; padding: 10px 16px; cursor: pointer;
  font: inherit; font-size: 13.5px; color: var(--soft, #70848a);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.ac-tabs button b { font-weight: 700; color: inherit; margin-left: 4px; }
.ac-tabs button.on { color: var(--orange, #df7040); border-bottom-color: var(--orange, #df7040); font-weight: 700; }

.ac-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 16px; }
.ac-stat {
  background: #fff; border: 1px solid var(--line, #dfe7e5); border-radius: 12px;
  padding: 14px 16px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
}
.ac-stat small { flex: 1 0 100%; font-size: 11.5px; color: var(--soft, #70848a); }
.ac-stat b { font-size: 24px; line-height: 1.1; color: var(--ink, #123343); }
.ac-stat span { font-size: 11.5px; color: var(--soft, #70848a); }
.ac-stat.warn { border-color: #f0cfa0; background: #fffaf2; }
.ac-stat.warn b { color: #b8702c; }
.ac-stat.bad { border-color: #f0c0b0; background: #fff6f3; }
.ac-stat.bad b { color: #c0503a; }

.ac-bar { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.ac-search {
  flex: 1; max-width: 320px; padding: 9px 13px;
  border: 1px solid var(--line, #dfe7e5); border-radius: 10px;
  font: inherit; font-size: 13px; color: var(--ink, #123343); background: #fff;
}
.ac-search:focus { outline: 2px solid rgba(223, 112, 64, .3); border-color: var(--orange, #df7040); }
.ac-count { font-size: 12px; color: var(--soft, #70848a); }

.ac-wrap { background: #fff; border: 1px solid var(--line, #dfe7e5); border-radius: 14px; overflow: hidden; overflow-x: auto; }
.ac-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ac-table th {
  text-align: left; font-size: 11.5px; font-weight: 700; color: var(--soft, #70848a);
  padding: 11px 14px; background: #f8faf9; border-bottom: 1px solid var(--line, #dfe7e5);
  white-space: nowrap;
}
.ac-table td { padding: 12px 14px; border-bottom: 1px solid #f1f5f4; vertical-align: middle; color: var(--ink, #123343); }
.ac-table tr:last-child td { border-bottom: none; }
.ac-table tbody tr:hover { background: #fbfcfb; }
.ac-table .num { text-align: right; }
.ac-table .mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: #4a5c62; }
.ac-table small { font-size: 11px; color: var(--soft, #70848a); }
/* 档口：挂在它所属的市场方下面，缩进一级 */
.ac-table tr.ac-stall-row td:first-child { padding-left: 30px; }
.ac-table tr.ac-stall-row td:first-child .ac-store::before { content: "└"; color: #c3bfb6; margin-right: 4px; }

.ac-store { display: flex; align-items: center; gap: 9px; }
.ac-av {
  width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px;
  background: #f2f5f4; display: flex; align-items: center; justify-content: center;
  font-size: 15px; border: 1px solid var(--line, #dfe7e5);
}
.ac-store b { font-weight: 700; }

.ac-plan { font-weight: 700; }
.ac-plan.pro { color: #2f7d5c; }
.ac-plan.base { color: #8a969b; }
.ac-plan.soon { color: #b8702c; }
.ac-plan.dead { color: #c0503a; }

.ac-dim { color: #a8b4b8; }
.good { color: #2f7d5c; }
.warn { color: #b8702c; }
.dead { color: #c0503a; }

.ac-empty { padding: 40px; text-align: center; color: var(--soft, #70848a); font-size: 13px; }
