/* ==========================================================================
   USDT 监控 · 移动优先样式（OPPO Find N3 外屏 ~412px / 内屏 ~800px 均适配）
   ========================================================================== */
:root {
  --bg: #f2f5fa;
  --bg-soft: #e9eef7;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e4e9f2;
  --accent: #2563eb;
  --accent-2: #1d4ed8;
  --in: #15a05a;
  --out: #e0453a;
  --self: #7c8798;
  --approve: #b45309;
  --warn-bg: #fff7e6;
  --warn-fg: #92400e;
  --err-bg: #fdecec;
  --err-fg: #b42318;
  --new-bg: #eff6ff;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px -12px rgba(15, 23, 42, .18);
  --radius: 16px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1120;
    --bg-soft: #101a2e;
    --card: #121c2f;
    --text: #e7eefb;
    --muted: #93a4bf;
    --line: #223049;
    --accent: #4f8cff;
    --accent-2: #6ea2ff;
    --in: #35d07f;
    --out: #ff6b5f;
    --self: #93a4bf;
    --approve: #f0a64a;
    --warn-bg: #2c2312;
    --warn-fg: #f5c873;
    --err-bg: #33161a;
    --err-fg: #ff9b93;
    --new-bg: #14243f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -18px rgba(0, 0, 0, .8);
  }
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC",
               "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(28px + var(--safe-b));
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.mono, .txid, .acc-addr {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.text-in { color: var(--in); }
.text-out { color: var(--out); }
.text-err { color: var(--err-fg); }
.w-full { width: 100%; }

/* ---------- 登录 ---------- */
.login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 18px;
  background:
    radial-gradient(1000px 500px at 10% -10%, rgba(37, 99, 235, .18), transparent 60%),
    radial-gradient(800px 400px at 110% 10%, rgba(16, 185, 129, .12), transparent 60%),
    var(--bg);
}
.login-card {
  width: 100%;
  max-width: 380px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px 22px 20px;
  text-align: center;
}
.login-mark {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, #2f7cf6, #1e4fd8);
  color: #fff; font-size: 26px; font-weight: 700;
  box-shadow: 0 10px 22px -10px rgba(37, 99, 235, .9);
}
.login-card h1 { font-size: 20px; margin: 0 0 4px; letter-spacing: .3px; }
.login-card form { margin-top: 20px; text-align: left; }
.login-card .foot { margin-top: 18px; }

/* ---------- 表单 ---------- */
.field { display: block; margin-bottom: 12px; }
.field > span {
  display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px;
}
input[type="text"], input[type="password"], input[type="date"], select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
input:focus, select:focus {
  border-color: var(--accent);
  background: var(--card);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .16);
}
input::placeholder { color: var(--muted); opacity: .75; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14.5px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .05s, background .15s, border-color .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); text-decoration: none; }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--bg-soft); text-decoration: none; }
.btn-block { width: 100%; }
.btn-sm { height: 38px; padding: 0 12px; font-size: 13.5px; border-radius: 10px; }

/* ---------- 提示 ---------- */
.alert {
  margin-top: 12px;
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.45;
}
.alert-error { background: var(--err-bg); color: var(--err-fg); }
.alert-warn { background: var(--warn-bg); color: var(--warn-fg); }
.alert-new {
  background: var(--new-bg);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  margin: 14px 0;
}

/* ---------- 顶栏 ---------- */
.appbar {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.appbar-in {
  max-width: 1120px; margin: 0 auto;
  height: 54px; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: .2px; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #2f7cf6, #1e4fd8);
  color: #fff; font-size: 15px;
}
.appbar-actions { display: flex; gap: 8px; }
.appbar .btn { height: 36px; padding: 0 11px; font-size: 13.5px; }

/* ---------- 布局 ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 14px 14px 0; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  margin-bottom: 14px;
}

/* ---------- 搜索 ---------- */
.search-form { display: flex; gap: 10px; }
.search-input { flex: 1; min-width: 0; }
.search-form input { width: 100%; }
.chips {
  display: flex; gap: 8px; overflow-x: auto;
  margin-top: 12px; padding-bottom: 2px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 13px;
  max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.chip:hover { text-decoration: none; border-color: var(--accent); }
.chip.is-active {
  background: var(--accent); border-color: var(--accent); color: #fff;
}

/* ---------- 概览 ---------- */
.overview-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
}
.ov-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.ov-addr {
  font-size: 13px; color: var(--muted);
  cursor: pointer;
  word-break: break-all;
}
.ov-addr:hover { color: var(--accent); }
.tag-own {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  font-size: 13px; font-weight: 700;
}
.ov-meta {
  display: flex; flex-wrap: wrap; gap: 4px 14px;
  margin-top: 7px; font-size: 12.5px; color: var(--muted);
}
.ov-meta b { color: var(--text); font-weight: 600; }
.state { padding: 1px 8px; border-radius: 999px; font-size: 11.5px; }
.state-0 { background: var(--warn-bg); color: var(--warn-fg); }
.state-1 { background: color-mix(in srgb, var(--in) 14%, transparent); color: var(--in); }
.state-2 { background: var(--warn-bg); color: var(--warn-fg); }
.balance { text-align: right; flex: 0 0 auto; }
.balance-label { font-size: 11.5px; color: var(--muted); }
.balance-value {
  font-size: 21px; font-weight: 750; letter-spacing: -.3px;
  font-variant-numeric: tabular-nums;
}
.progress {
  height: 6px; margin-top: 12px;
  background: var(--bg-soft); border-radius: 999px; overflow: hidden;
}
.progress > span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--accent), #38bdf8);
  border-radius: 999px;
  transition: width .6s;
}
.progress-note { margin-top: 6px; font-size: 12px; }

/* ---------- 自动刷新条 ---------- */
.refresh-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px; color: var(--muted);
}
.refresh-bar b { color: var(--text); font-variant-numeric: tabular-nums; }
.refresh-bar .btn { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }
.refresh-bar .check { margin: 0; font-size: 12.5px; }

/* ---------- 统计卡 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  box-shadow: var(--shadow);
}
.stat-all {
  grid-column: span 2;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, var(--card)), var(--card));
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
}
.stat-label {
  font-size: 12.5px; color: var(--muted);
  margin-bottom: 7px; display: flex; align-items: center; gap: 5px;
}
.warn-dot { color: var(--approve); font-size: 16px; line-height: 1; }
.stat-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 8px; font-size: 12.5px; color: var(--muted);
  padding: 2px 0; flex-wrap: wrap;
}
.stat-row b {
  font-size: clamp(12.5px, 3.6vw, 14px);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat-net { border-top: 1px dashed var(--line); margin-top: 5px; padding-top: 6px; }
.stat-net b { font-size: 15px; }
.stats-note { margin: -4px 2px 14px; }

/* ---------- 筛选 ---------- */
.filter-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filter-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-right { margin-left: auto; }
.filter-label { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.filter-form input[type="date"] { width: 148px; height: 40px; font-size: 14px; }
@media (max-width: 430px) {
  .filter-form input[type="date"] { width: calc(50% - 26px); min-width: 0; }
}
.tilde { color: var(--muted); }
.select-wrap { display: flex; align-items: center; gap: 6px; }
.select-wrap select { width: auto; height: 38px; font-size: 13.5px; padding-right: 28px; }
.range-sum {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 13px; color: var(--muted);
}
.range-sum b { color: var(--text); }

/* ---------- 记录 ---------- */
.records-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap; margin-bottom: 4px;
}
.sec-title { font-size: 15px; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.legend { display: flex; gap: 6px; flex-wrap: wrap; }

.recs { display: flex; flex-direction: column; }
.rec {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "dir amt time"
    "flow flow flow"
    "tx tx tx";
  gap: 4px 10px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.rec:last-child { border-bottom: none; }
.rec-head { display: none; }

.c-time {
  grid-area: time;
  display: flex; align-items: center; gap: 5px;
  justify-content: flex-end;
  font-size: 12px; color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.c-time .d { display: inline; }
.c-dir { grid-area: dir; }
.c-amt {
  grid-area: amt;
  font-size: 16px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.amount-in { color: var(--in); }
.amount-out { color: var(--out); }
.amount-muted { color: var(--self); }
.c-flow {
  grid-area: flow;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  min-width: 0;
}
.c-tx { grid-area: tx; font-size: 12px; }
.arrow { color: var(--muted); font-size: 12px; }

.acc { display: inline-flex; align-items: baseline; gap: 5px; min-width: 0; max-width: 100%; }
.acc-name {
  font-size: 13px; font-weight: 650;
  max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.acc.is-own .acc-name { color: var(--accent); }
.acc-addr { font-size: 11.5px; color: var(--muted); cursor: pointer; }
.acc-addr:hover { color: var(--accent); }
.mini-btn {
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 13px; line-height: 1;
  cursor: pointer;
  padding: 0;
  flex: 0 0 auto;
}
.mini-btn:hover { color: var(--accent); border-color: var(--accent); }

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11.5px; font-weight: 650;
  white-space: nowrap;
}
.badge.is-in { background: color-mix(in srgb, var(--in) 14%, transparent); color: var(--in); }
.badge.is-out { background: color-mix(in srgb, var(--out) 14%, transparent); color: var(--out); }
.badge.is-self { background: color-mix(in srgb, var(--self) 16%, transparent); color: var(--self); }
.badge.is-approve { background: color-mix(in srgb, var(--approve) 16%, transparent); color: var(--approve); }

.rec.is-new { background: var(--new-bg); border-radius: 10px; }
.new-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); display: inline-block;
}
.txid { color: var(--muted); font-size: 11.5px; }
.txid:hover { color: var(--accent); }

.empty { padding: 34px 10px; text-align: center; color: var(--muted); font-size: 13.5px; }

.pending-card { border-color: color-mix(in srgb, var(--approve) 32%, var(--line)); }
.dot-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--approve);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--approve) 50%, transparent);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--approve) 45%, transparent); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.pending-recs .rec { background: color-mix(in srgb, var(--approve) 5%, transparent); border-radius: 10px; }

/* ---------- 分页 ---------- */
.pager {
  display: flex; align-items: center; gap: 6px;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.pager::-webkit-scrollbar { display: none; }
.pg {
  flex: 0 0 auto;
  min-width: 38px; height: 36px;
  padding: 0 11px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.pg:hover { border-color: var(--accent); text-decoration: none; }
.pg.is-current { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.pg.is-disabled { color: var(--muted); opacity: .55; }
.pg-dots { color: var(--muted); padding: 0 2px; }

/* ---------- 地址簿抽屉 ---------- */
.drawer-mask {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(8, 15, 30, .48);
  backdrop-filter: blur(2px);
  animation: fade .18s ease-out;
}
@keyframes fade { from { opacity: 0; } }

.drawer {
  position: fixed; z-index: 61;
  left: 0; right: 0; bottom: 0;
  max-height: 86vh;
  display: flex; flex-direction: column;
  background: var(--card);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -12px 40px rgba(8, 15, 30, .3);
  padding-bottom: var(--safe-b);
  animation: slide-up .22s cubic-bezier(.2, .9, .3, 1);
}
@keyframes slide-up { from { transform: translateY(18px); opacity: .6; } }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px 10px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 { margin: 0; font-size: 16px; }
.drawer-body { padding: 14px 18px 20px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.drawer-sub { font-size: 13px; color: var(--muted); margin: 18px 0 8px; font-weight: 600; }
.icon-btn {
  width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg-soft);
  color: var(--text); font-size: 15px; cursor: pointer;
}
.book-form { display: flex; flex-direction: column; gap: 2px; }
.book-form-actions { display: flex; gap: 8px; margin-top: 4px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; margin: 4px 0 8px; color: var(--muted); }
.check input { width: 17px; height: 17px; accent-color: var(--accent); }

.book-list { display: flex; flex-direction: column; gap: 8px; }
.book-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
}
.book-item-main { flex: 1; min-width: 0; }
.book-item-title { font-weight: 650; font-size: 14px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.book-item-note { font-size: 12px; color: var(--muted); margin-top: 2px; }
.book-item-addr { font-size: 11.5px; color: var(--muted); word-break: break-all; margin-top: 2px; }
.book-item-actions { display: flex; gap: 6px; flex: 0 0 auto; }
.book-empty { color: var(--muted); font-size: 13px; padding: 6px 2px; }
.pill-own {
  font-size: 10.5px; padding: 1px 7px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
}

/* ---------- 页脚 ---------- */
.foot {
  display: flex; gap: 6px; flex-wrap: wrap; justify-content: center;
  padding: 18px 0 10px;
}

/* ==========================================================================
   ≥ 640px：平板 / Find N3 内屏
   ========================================================================== */
@media (min-width: 640px) {
  body { font-size: 15px; }
  .wrap { padding: 18px 18px 0; }
  .card { padding: 18px; margin-bottom: 16px; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .stat-all { grid-column: span 1; }
  .c-time .d { display: none; }
  .filter-form input[type="date"] { width: 156px; }
  .login-card { padding: 32px 28px 24px; }
}

/* ==========================================================================
   ≥ 900px：桌面
   ========================================================================== */
@media (min-width: 900px) {
  .wrap { padding: 22px 24px 0; }
  .rec {
    grid-template-columns: 96px 62px 160px minmax(0, 1fr) 120px;
    grid-template-areas: "time dir amt flow tx";
    gap: 12px;
    padding: 11px 4px;
  }
  .c-time {
    flex-direction: column; align-items: flex-start; gap: 0;
    font-size: 12.5px;
  }
  .c-time .d { display: inline; }
  .c-time .t { font-size: 11.5px; }
  .rec-head {
    display: grid;
    font-size: 11.5px; color: var(--muted);
    text-transform: uppercase; letter-spacing: .4px;
    padding: 4px 4px 8px;
    border-bottom: 1px solid var(--line);
  }
  .c-amt { font-size: 15px; }
  .c-flow { flex-wrap: nowrap; overflow: hidden; }
  .arrow { flex: 0 0 auto; }
  .acc { max-width: 46%; }
  .acc-name { max-width: 100%; }
  .c-tx { text-align: right; }
  .drawer {
    left: auto; top: 0; bottom: 0; right: 0;
    width: 420px; max-height: none;
    border-radius: 20px 0 0 20px;
    animation: slide-left .22s cubic-bezier(.2, .9, .3, 1);
  }
  @keyframes slide-left { from { transform: translateX(24px); opacity: .6; } }
  .drawer-head { padding-top: 22px; }
}

/* 触摸设备去掉 hover 误导 */
@media (hover: none) {
  .chip:hover { border-color: var(--line); }
  .acc-addr:hover { color: var(--muted); }
}

/* ==========================================================================
   多地址相互转账（multi.php）
   ========================================================================== */
.text-accent { color: var(--accent); }
.back-btn {
  width: 30px; height: 30px; margin-right: 2px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 9px;
  background: var(--bg-soft); color: var(--text);
  font-size: 18px; line-height: 1; text-decoration: none;
}
.back-btn:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

.pick-form { display: flex; flex-direction: column; gap: 10px; }
.pick-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pick-tools b { color: var(--text); }
.pick-list {
  display: flex; flex-direction: column; gap: 8px;
  max-height: 46vh; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 2px;
}
.pick {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.pick.is-on {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--card));
}
.pick input {
  width: 19px; height: 19px; margin: 1px 0 0;
  accent-color: var(--accent);
  flex: 0 0 auto;
}
.pick-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pick-title { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.pick-title b { font-size: 14px; }
.pick-addr { font-size: 12px; color: var(--muted); word-break: break-all; }
.pick-meta { line-height: 1.35; }
.pick-actions {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding-top: 10px; border-top: 1px dashed var(--line);
}
.pick-actions .btn { margin-left: auto; }
@media (max-width: 430px) {
  .pick-actions .filter-group { width: 100%; }
  .pick-actions input[type="date"] { width: calc(50% - 26px); min-width: 0; }
  .pick-actions .btn { margin-left: 0; width: 100%; }
  .pick-list { max-height: 40vh; }
}

.empty-card { text-align: center; padding: 30px 14px; font-size: 13.5px; }

.multi-sum { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: flex-end; }
.multi-num { display: flex; flex-direction: column; gap: 1px; }
.multi-num b { font-size: 19px; font-variant-numeric: tabular-nums; letter-spacing: -.2px; }
.multi-num .small { order: -1; }
.multi-actions {
  margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
@media (max-width: 430px) {
  .multi-sum { gap: 12px 18px; }
  .multi-num b { font-size: 17px; }
  .multi-actions { margin-left: 0; width: 100%; }
  .multi-actions .btn { flex: 1 1 auto; }
}

.pair-list { display: flex; flex-direction: column; gap: 8px; }
.pair {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
}
.pair-flow { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; min-width: 0; }
.pair-flow .acc-name { max-width: 130px; }
.pair-meta { display: flex; align-items: baseline; gap: 8px; margin-left: auto; }
.pair-sum { font-size: 15px; font-variant-numeric: tabular-nums; }
.amount-x { color: var(--accent); }
