:root {
  --bg: #f6f1ea;
  --surface: #fffdf9;
  --surface-2: #efe8de;
  --ink: #2a241c;
  --muted: #7a6f62;
  --line: #e3d9cc;
  --accent: #d2553a;        /* persimmon */
  --accent-ink: #ffffff;
  --accent-soft: #fbe3dc;
  --good: #2f8a5b;
  --dad: #3a6fd2;
  --dad-soft: #dfe8fb;
  --shared: #8a5bd2;
  --shared-soft: #ece2fb;
  --jpy: #c23a5a;
  --coin: #e8dcc8;
  --coin-ink: #5a4a33;
  --bill: #dfeadf;
  --bill-ink: #2e4a35;
  --shadow: 0 1px 2px rgba(60, 40, 20, .06), 0 4px 14px rgba(60, 40, 20, .06);
  --radius: 16px;
  --tabbar-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17150f; --surface: #221f18; --surface-2: #2c2820; --ink: #f1ebe2; --muted: #a89c8c; --line: #3a352b;
    --accent: #ec7358; --accent-ink: #1a0f0b; --accent-soft: #4a2a22; --good: #5cc28c;
    --dad: #7aa2ff; --dad-soft: #22304d; --shared: #b48cff; --shared-soft: #33284a; --jpy: #ff7a95;
    --coin: #3d3528; --coin-ink: #ecdcbf; --bill: #24382a; --bill-ink: #cfe8d3;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 4px 14px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #17150f; --surface: #221f18; --surface-2: #2c2820; --ink: #f1ebe2; --muted: #a89c8c; --line: #3a352b;
  --accent: #ec7358; --accent-ink: #1a0f0b; --accent-soft: #4a2a22; --good: #5cc28c;
  --dad: #7aa2ff; --dad-soft: #22304d; --shared: #b48cff; --shared-soft: #33284a; --jpy: #ff7a95;
  --coin: #3d3528; --coin-ink: #ecdcbf; --bill: #24382a; --bill-ink: #cfe8d3;
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--ink);
  font: 16px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
input, select { font: inherit; font-size: 16px; color: inherit; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.label { font-size: 13px; font-weight: 600; color: var(--muted); margin: 14px 2px 8px; letter-spacing: .02em; }
.link { background: none; border: 0; color: var(--accent); font-weight: 600; padding: 8px; }
.error { color: var(--accent); min-height: 1.4em; text-align: center; }

/* ---------- login ---------- */
.login { min-height: 100dvh; display: grid; place-items: center; padding: calc(24px + var(--safe-t)) 16px 24px; }
.login-card { width: 100%; max-width: 360px; text-align: center; }
.brand-big { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.brand-big span, .brand span { color: var(--accent); }
.login-users { display: grid; gap: 12px; margin-top: 20px; }
.login-users button {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 18px; font-weight: 600;
}
.pin-dots { display: flex; justify-content: center; gap: 14px; margin: 22px 0; }
.pin-dots i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--muted); }
.pin-dots i.on { background: var(--ink); border-color: var(--ink); }

/* ---------- app shell ---------- */
.app { min-height: 100dvh; padding-bottom: calc(var(--tabbar-h) + var(--safe-b)); }
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px;
  padding: calc(10px + var(--safe-t)) 16px 10px; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.brand { font-weight: 800; font-size: 18px; margin-right: auto; letter-spacing: -.01em; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px;
  background: var(--accent-soft); color: var(--accent);
}
.avatar.alt { background: var(--shared-soft); color: var(--shared); }
.sync { width: 34px; height: 34px; border: 0; background: none; display: grid; place-items: center; padding: 0; }
.sync span { width: 10px; height: 10px; border-radius: 50%; background: var(--good); transition: background .2s; }
.sync.pending span { background: #e0a030; }
.sync.offline span { background: var(--muted); }
.sync.busy span { animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

.seg { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; font-weight: 700; min-height: 36px; }
.seg button[aria-checked="true"], .seg button.on { background: var(--ink); color: var(--bg); box-shadow: var(--shadow); }
.seg[id="cur-toggle"] button[data-cur="JPY"][aria-checked="true"] { background: var(--jpy); color: #fff; }
.seg.wide { display: flex; } .seg.wide button { flex: 1; }

.banner {
  display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--accent-soft); font-size: 14px;
}
.banner span { flex: 1; }

.panes { max-width: 560px; margin: 0 auto; padding: 12px 16px 24px; }
.view { animation: fade .15s ease-out; }
@keyframes fade { from { opacity: .4; } }

/* ---------- add ---------- */
.edit-banner { display: flex; justify-content: space-between; align-items: center; background: var(--dad-soft);
  color: var(--dad); border-radius: 12px; padding: 4px 4px 4px 14px; margin-bottom: 10px; font-weight: 600; }
.amount-card { background: var(--surface); border-radius: 20px; padding: 14px; box-shadow: var(--shadow); }
.amount-row { display: flex; align-items: center; gap: 8px; }
.amount { flex: 1; text-align: center; font-size: 46px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.amount .cur { font-size: 22px; color: var(--muted); margin-right: 4px; font-weight: 700; }
.amount.jpy .cur { color: var(--jpy); }
.amount.neg { color: var(--accent); }
.amount-sub { text-align: center; color: var(--muted); font-size: 14px; min-height: 20px; }
.pill-btn { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  min-width: 56px; height: 52px; padding: 0 8px; border-radius: 14px; border: 0; background: var(--surface-2);
  font-size: 11px; font-weight: 700; color: var(--muted); }
.pill-btn svg { width: 22px; height: 22px; color: var(--ink); }
.pill-btn:disabled { opacity: .35; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface-2); font-size: 18px; flex: none; }
.inputs-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.tool { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--bg); font-size: 13px; font-weight: 600; min-height: 56px; }
.tool svg { width: 24px; height: 24px; }
.tool.on { border-color: var(--accent); color: var(--accent); }

.favs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px 2px; scrollbar-width: none; scroll-snap-type: x proximity; }
.favs::-webkit-scrollbar { display: none; }
.fav { flex: none; scroll-snap-align: start; border: 1px solid var(--line); background: var(--surface); border-radius: 14px;
  padding: 8px 12px; text-align: left; min-height: 48px; max-width: 180px; user-select: none; -webkit-user-select: none;
  -webkit-touch-callout: none; }
.fav b { display: block; font-size: 15px; }
.fav small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.fav.pinned { border-color: var(--accent); }
.fav.pinned b::before { content: "★ "; color: var(--accent); }

.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.keypad button { height: 54px; border-radius: 14px; border: 0; background: var(--surface); box-shadow: var(--shadow);
  font-size: 22px; font-weight: 700; }
.pinpad { max-width: 280px; margin: 0 auto 8px; }
.pinpad button { height: 62px; }

.denoms-wrap { margin-top: 6px; }
.denoms-head { display: flex; align-items: center; justify-content: space-between; }
.denoms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.denom { border: 0; min-height: 56px; font-weight: 800; font-size: 17px; user-select: none; -webkit-user-select: none;
  -webkit-touch-callout: none; position: relative; transition: transform .06s; font-variant-numeric: tabular-nums; }
.denom:active { transform: scale(.94); }
.denom.coin { border-radius: 999px; background: var(--coin); color: var(--coin-ink); aspect-ratio: auto; }
.denom.bill { border-radius: 999px; background: var(--bill); color: var(--bill-ink); }
.denom small { font-size: 11px; font-weight: 600; opacity: .7; margin-right: 1px; }
.denom .count { position: absolute; top: -6px; right: -4px; background: var(--accent); color: var(--accent-ink); font-size: 11px;
  border-radius: 999px; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 5px; }

.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.cat { border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 8px 2px 6px; min-height: 58px;
  display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; line-height: 1.15; text-align: center; }
.cat .ic { font-size: 22px; line-height: 1.1; }
.cat.on { border-color: var(--accent); background: var(--accent-soft); font-weight: 700; }
.cats.disabled { opacity: .4; pointer-events: none; }

.methods { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface);
  border-radius: 999px; padding: 8px 14px; min-height: 44px; font-weight: 600; font-size: 14px; text-decoration: none; color: inherit; }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip.dad.on { background: var(--dad); border-color: var(--dad); color: #fff; }
.chip.dad:not(.on) { color: var(--dad); border-color: color-mix(in srgb, var(--dad) 40%, var(--line)); }
.chip.solid { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip.small { min-height: 32px; padding: 4px 12px; font-size: 13px; }
.chip.danger { color: var(--accent); }

.toggles { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 2px 4px; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; min-height: 44px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch span { width: 44px; height: 26px; border-radius: 999px; background: var(--surface-2); position: relative; flex: none;
  border: 1px solid var(--line); transition: background .15s; }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s; }
.switch input:checked + span { background: var(--accent); border-color: var(--accent); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.switch.small { font-size: 12px; min-height: 36px; gap: 6px; }
.switch.small span { width: 36px; height: 22px; } .switch.small span::after { width: 16px; height: 16px; }
.switch.small input:checked + span::after { transform: translateX(14px); }

.details { margin-top: 10px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding: 0 14px; }
.details summary { padding: 13px 0; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; }
.details[open] { padding-bottom: 12px; }
.field { display: block; margin-top: 8px; }
.field span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
.field span em { font-style: normal; font-weight: 500; }
.field input { display: block; width: 100%; max-width: 100%; min-width: 0; padding: 11px 12px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg); min-height: 44px; -webkit-appearance: none; appearance: none; }
/* iOS Safari sizes date inputs by their own content and ignores width:100% without these */
.field input[type="datetime-local"] { height: 46px; line-height: 22px; text-align: left; }
.field input::-webkit-date-and-time-value { text-align: left; margin: 0; }
.field input::-webkit-datetime-edit { padding: 0; }

.save-bar { position: sticky; bottom: calc(var(--tabbar-h) + var(--safe-b) + 8px); display: flex; gap: 10px; margin-top: 16px; z-index: 5; }
.save { flex: 1; height: 56px; border: 0; border-radius: 18px; background: var(--accent); color: var(--accent-ink); font-size: 18px;
  font-weight: 800; box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent); }
.save:disabled { background: var(--surface-2); color: var(--muted); box-shadow: none; }
.danger-btn { height: 56px; padding: 0 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--accent); font-weight: 700; }

/* ---------- tabbar ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b); background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.tabbar button { border: 0; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 11px; font-weight: 600; color: var(--muted); }
.tabbar button svg { width: 24px; height: 24px; }
.tabbar button.on { color: var(--accent); }

/* ---------- history ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters .chip { flex: none; }
.day { margin-top: 14px; }
.day-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.day-head .tot { text-align: right; color: var(--ink); }
.day-head .tot small { display: block; color: var(--muted); font-weight: 500; }
.rows { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.row-wrap { position: relative; overflow: hidden; }
.row-wrap + .row-wrap { border-top: 1px solid var(--line); }
.row-del { position: absolute; inset: 0; background: var(--accent); color: #fff; display: flex; justify-content: flex-end; align-items: center; padding-right: 22px; font-weight: 700; }
.row { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: var(--surface); width: 100%;
  border: 0; text-align: left; touch-action: pan-y; min-height: 60px; }
.row .ic { width: 38px; height: 38px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; font-size: 20px; flex: none; position: relative; }
.row .who { position: absolute; bottom: -4px; right: -4px; width: 18px; height: 18px; border-radius: 50%; font-size: 10px; font-weight: 800;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 2px solid var(--surface); }
.row .who.alt { background: var(--shared-soft); color: var(--shared); }
.row .mid { flex: 1; min-width: 0; }
.row .t { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .s { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .amt { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.row .amt.jpy { color: var(--jpy); }
.row .amt small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
.tag { display: inline-block; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 6px; margin-right: 4px; vertical-align: 1px; }
.tag.dad { background: var(--dad-soft); color: var(--dad); }
.tag.shared { background: var(--shared-soft); color: var(--shared); }
.tag.topup { background: var(--surface-2); color: var(--muted); }
.tag.pending { background: #f6e3bd; color: #8a5a00; }
.empty { text-align: center; color: var(--muted); padding: 40px 16px; }
.row-end { display: flex; justify-content: center; margin-top: 18px; }

/* ---------- summary ---------- */
.custom-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; margin-bottom: 12px; }
.card .label { margin-top: 0; }
.big { font-size: 30px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.big small { font-size: 15px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kpis .card { margin: 0; }
.kpi-v { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.kpi-s { font-size: 12px; color: var(--muted); }
.kpi-dad .kpi-v { color: var(--dad); }
.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; font-size: 14px; }
.bar-row .v { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.bar-row .v small { color: var(--muted); font-weight: 500; margin-left: 4px; }
.bar { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.bar.dad i { background: var(--dad); }
.settle { font-size: 17px; font-weight: 700; }
.settle small { display: block; font-size: 13px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.pinned-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }

/* ---------- sheets ---------- */
dialog.sheet { border: 0; padding: 16px 16px calc(16px + var(--safe-b)); background: var(--surface); color: var(--ink);
  width: 100%; max-width: 520px; margin: auto auto 0; border-radius: 22px 22px 0 0; max-height: 92dvh; }
@media (min-width: 700px) { dialog.sheet { margin: auto; border-radius: 22px; } }
dialog::backdrop { background: rgba(20, 14, 8, .45); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 17px; }
.video-wrap { position: relative; border-radius: 16px; overflow: hidden; background: #000; aspect-ratio: 3 / 4; max-height: 60dvh; margin: 0 auto; }
.video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reticle { position: absolute; inset: 18% 14%; border: 3px solid rgba(255,255,255,.85); border-radius: 18px; box-shadow: 0 0 0 999px rgba(0,0,0,.25); }
.mic { width: 120px; height: 120px; border-radius: 50%; margin: 26px auto 16px; display: grid; place-items: center; border: 0;
  background: var(--accent-soft); color: var(--accent); }
.mic svg { width: 52px; height: 52px; }
.mic.live { color: var(--accent-ink); }
.mic.live { background: var(--accent); animation: pulse 1.2s infinite; }
.heard { text-align: center; min-height: 3em; font-size: 17px; }
.heard.hint { color: var(--muted); font-size: 14px; }
.detail-grid { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 15px; }
.detail-grid dt { color: var(--muted); }
.detail-grid dd { margin: 0; font-weight: 600; text-align: right; }
.sheet-actions { display: flex; gap: 10px; margin-top: 18px; }
.sheet-actions button { flex: 1; height: 50px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); font-weight: 700; }
.sheet-actions .primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.sheet-actions .danger { color: var(--accent); }

.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabbar-h) + var(--safe-b) + 84px); z-index: 50;
  background: var(--ink); color: var(--bg); border-radius: 14px; padding: 6px 6px 6px 16px; display: flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); max-width: calc(100vw - 32px); font-weight: 600; font-size: 14px; }
.toast .link { color: var(--accent-soft); }
.toast .link:empty { display: none; }

/* ---------- laptop: two columns ---------- */
@media (min-width: 960px) {
  .app { padding-bottom: 0; display: flex; flex-direction: column; }
  .topbar { order: 0; } .banner { order: 1; } .tabbar { order: 2; } .panes { order: 3; width: 100%; }
  .panes { max-width: 1120px; display: grid; grid-template-columns: 440px 1fr; gap: 28px; align-items: start; }
  #view-add { display: block !important; position: sticky; top: 72px; max-height: calc(100dvh - 84px); overflow: auto;
    padding: 0 4px 8px; scrollbar-width: thin; grid-column: 1; grid-row: 1; }
  .panes > .view:not(.add) { grid-column: 2; grid-row: 1; }
  .save-bar { bottom: 0; }
  .tabbar { position: static; height: auto; width: 100%; max-width: 1120px; margin: 0 auto; display: flex; gap: 6px;
    padding: 12px 16px 0 calc(16px + 440px + 28px); border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .tabbar .tab-add { display: none; }
  .tabbar button { flex-direction: row; gap: 6px; font-size: 14px; padding: 8px 16px; border-radius: 999px; min-height: 40px; }
  .tabbar button.on { background: var(--surface); box-shadow: var(--shadow); }
  .toast { bottom: 24px; }
}
@media (max-width: 360px) {
  .amount { font-size: 38px; }
  .cats { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- icons ---------- */
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg .fill { fill: currentColor; stroke: none; }

/* ---------- inline merchant ---------- */
.merchant-field { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 0 12px; border-radius: 14px;
  background: var(--bg); border: 1px solid var(--line); min-height: 46px; color: var(--muted); }
.merchant-field:focus-within { border-color: var(--accent); }
.merchant-field svg { width: 20px; height: 20px; }
.merchant-field input { flex: 1; min-width: 0; border: 0; background: none; outline: none; padding: 11px 0; color: var(--ink); }
.merchant-field input::placeholder { color: var(--muted); }
.denoms-wrap { margin-top: 12px; }
