/* ============================================================
   视图：账号管理 · 局部样式
   只补充 styles.css 没覆盖的排版细节，颜色/圆角/边框一律用变量
   ============================================================ */

/* 左侧添加卡：跟着表单走，右侧表格自己滚动 */
.account-grid { align-items: start; }

.account-form .card-body { display: flex; flex-direction: column; gap: 0; }
.account-tip {
  margin-top: 14px; padding-top: 12px;
  border-top: 1px dashed var(--border);
  display: flex; flex-direction: column; gap: 8px;
}
.account-go { justify-content: center; }

/* 搜索框：卡片头里不要太宽 */
.account-search { width: 210px; height: 32px; }

/* 表格 */
.account-table-wrap { overflow-x: auto; }
.account-table { min-width: 820px; }
.account-table td { white-space: nowrap; }
.account-th-acts { text-align: right; }

/* 行可点：跳订单查询 */
.account-row { cursor: pointer; }
.account-row:hover .account-name { text-decoration: underline; }

.account-name { font-weight: 500; }
.account-id { font-size: 12.5px; color: var(--muted); }
.account-meta { font-size: 12px; color: var(--muted); }

/* 累计卖出：单数 / 金额两行 */
.account-sale { display: flex; flex-direction: column; gap: 1px; line-height: 1.45; }
.account-sale-n { font-size: 12.5px; font-weight: 600; }
.account-sale-m { font-size: 11.5px; color: var(--muted); }

/* 备注太长时截断，hover 看 title */
.account-remark {
  display: inline-block; max-width: 170px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom;
  font-size: 12.5px;
}

/* 操作列 */
.account-acts { display: flex; gap: 6px; justify-content: flex-end; }

@media (max-width: 1000px) {
  .account-search { width: 100%; }
}
