:root {
  /* Dark theme with green as the primary colour (also success); red means errors. */
  color-scheme: dark;
  --bg: #0b0f12;
  --surface: #141a1f;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --border: #24303a;
  --primary: #22c55e;
  --primary-strong: #4ade80;
  --primary-text: #052e16;
  --primary-soft: rgba(34, 197, 94, .14);
  --accent: #4ade80;
  --accent-text: #052e16;
  --error: #f87171;
  --info-bg: rgba(34, 197, 94, .12);
  --shadow: 0 14px 34px -16px rgba(0, 0, 0, .8);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  padding-bottom: env(safe-area-inset-bottom);
}
main { padding: 0 16px 32px; max-width: 560px; margin: 0 auto; }
h1, h2 { margin: 0 0 12px; line-height: 1.2; }
h1 { font-size: 1.25rem; }
h2 { font-size: 1.05rem; }
a { color: var(--text); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.error { color: var(--error); margin: 0 0 8px; }

/* ---------- Top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  padding: 14px 16px; max-width: 560px; margin: 0 auto;
}
.brand { font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; color: var(--text); text-decoration: none; }
.topnav { display: flex; align-items: center; gap: 14px; }

/* ---------- Country picker ---------- */
.picker { position: relative; }
.picker__button {
  list-style: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 0 10px 0 8px; border-radius: 999px;
  background: var(--surface); border: 0; color: var(--text);
  font-size: .9rem; font-weight: 600;
}
.picker__button::-webkit-details-marker { display: none; }
.picker__flag { font-size: 1.25rem; line-height: 1; }
.picker__chevron { color: var(--muted); transition: transform .15s ease; }
.picker[open] .picker__chevron { transform: rotate(180deg); }
.picker__menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20;
  width: min(280px, calc(100vw - 32px)); max-height: 60vh; overflow-y: auto;
  margin: 0; padding: 6px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow);
}
.picker__title { margin: 6px 10px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.picker__option {
  display: flex; align-items: center; gap: 10px; width: 100%;
  min-height: 44px; padding: 0 10px; border: 0; border-radius: 10px;
  background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer;
}
.picker__option:hover, .picker__option:focus-visible { background: var(--surface); outline: none; }
.picker__option[aria-current="true"] { background: var(--info-bg); font-weight: 600; }
.picker__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker__ccy { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.picker__empty { margin: 8px 10px; color: var(--muted); }

/* ---------- Banner and messages ---------- */
.banner, .messages { max-width: 560px; margin: 0 auto 12px; padding: 0 16px; }
.banner[hidden] { display: none; }
.banner::before { content: "ⓘ "; color: var(--text); }
.messages { list-style: none; }
.message { background: var(--info-bg); border-radius: 10px; padding: 10px 12px; }
.message.error { color: var(--error); }

/* ---------- Balance card (ID-1 card proportions, 85.6 x 53.98 mm) ---------- */
.wallet { margin: 4px 0 28px; }
.bank-card {
  position: relative; isolation: isolate;
  aspect-ratio: 1.586; min-height: 200px; width: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 20px 22px; border-radius: 18px; color: #ffffff;
  border: 1px solid rgba(255, 255, 255, .08); /* defines the edge on the dark page */
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .22) 0%, transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(5, 46, 22, .45) 0%, transparent 60%),
    linear-gradient(135deg, #22c55e 0%, #15803d 55%, #14532d 100%);
  box-shadow: 0 20px 40px -18px rgba(22, 163, 74, .65), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.bank-card::after { /* fine diagonal sheen */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 14px);
}
.bank-card__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bank-card__brand { font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; }
.bank-card__contactless { opacity: .85; }

/* Local currency / USD switch on the card */
.ccy-toggle {
  display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.ccy-toggle button {
  min-height: 28px; min-width: 48px; padding: 0 10px; border: 0; border-radius: 999px;
  background: transparent; color: rgba(255, 255, 255, .7);
  font: inherit; font-size: .75rem; font-weight: 700; letter-spacing: .04em; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.ccy-toggle button[aria-pressed="true"] { background: #ffffff; color: #14532d; }
.ccy-toggle button:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
.bank-card[data-display="local"] [data-show="usd"],
.bank-card[data-display="usd"] [data-show="local"] { display: none; }
.bank-card__balance { display: flex; flex-direction: column; gap: 2px; }
.bank-card__label-row { display: flex; align-items: center; gap: 6px; min-height: 28px; }
.eye-toggle {
  display: grid; place-items: center; width: 32px; height: 32px; margin: -2px 0; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: rgba(255, 255, 255, .75); cursor: pointer;
}
.eye-toggle:hover { background: rgba(255, 255, 255, .1); color: #ffffff; }
.eye-toggle:focus-visible { outline: 2px solid #ffffff; outline-offset: 1px; }
.eye-toggle__closed { display: none; }
.eye-toggle[aria-pressed="true"] .eye-toggle__open { display: none; }
.eye-toggle[aria-pressed="true"] .eye-toggle__closed { display: block; }

/* Hidden balance: [data-masked] is set on #balances by app.js */
.secret-mask { display: none; letter-spacing: .08em; }
[data-masked="true"] .secret { display: none; }
[data-masked="true"] .secret-mask { display: inline; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.bank-card__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .7); }
.bank-card__amount-row { display: flex; align-items: center; gap: 6px; min-width: 0; }
.bank-card__amount-row .eye-toggle { flex: none; margin: 0; }
.bank-card__amount {
  margin: 0; font-size: clamp(1.6rem, 7.5vw, 2.1rem); font-weight: 700; letter-spacing: -.01em;
  font-variant-numeric: tabular-nums; line-height: 1.15; overflow-wrap: anywhere;
}
.bank-card__amount.is-loading { opacity: .6; }
.bank-card__ccy { font-size: .6em; font-weight: 600; color: rgba(255, 255, 255, .8); vertical-align: .3em; margin-right: .12em; }
.bank-card__sub { margin: 2px 0 0; font-size: .85rem; color: rgba(255, 255, 255, .75); font-variant-numeric: tabular-nums; }
.bank-card__message { margin: 2px 0 0; font-size: .95rem; }
.bank-card__retry {
  align-self: flex-start; margin-top: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .5); background: transparent; color: #ffffff; font: inherit; font-size: .85rem; cursor: pointer;
}
/* Country picker on the card, at the end of the address row */
.bank-card__picker { margin-left: auto; flex: none; }
.bank-card .picker__button {
  min-height: 34px; padding: 0 8px 0 6px; gap: 5px; font-size: .82rem;
  background: rgba(255, 255, 255, .16); color: #ffffff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.bank-card .picker__chevron { color: rgba(255, 255, 255, .8); }
.bank-card .picker__flag { font-size: 1.1rem; }
.bank-card .picker__menu { color: var(--text); text-align: left; }
.wallet { position: relative; z-index: 10; } /* the open menu covers the services below */

/* Token balances on the card, under the main amount */
.bank-card__tokens {
  display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 4px 0 0;
  font-size: .82rem; color: rgba(255, 255, 255, .85); font-variant-numeric: tabular-nums;
}
.bank-card__tokens > span { display: inline-flex; align-items: baseline; gap: 5px; }
.bank-card__token { font-size: .7rem; font-weight: 700; letter-spacing: .08em; color: rgba(255, 255, 255, .65); }
.bank-card__footer { display: flex; align-items: center; gap: 6px; min-width: 0; }
.bank-card__number {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92rem;
  letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.copy-btn {
  display: grid; place-items: center; flex: none; width: 32px; height: 32px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: rgba(255, 255, 255, .75); cursor: pointer;
}
.copy-btn[hidden] { display: none; }
.copy-btn:hover { background: rgba(255, 255, 255, .1); color: #ffffff; }
.copy-btn:focus-visible { outline: 2px solid #ffffff; outline-offset: 1px; }
.copy-btn__done { display: none; }
.copy-btn.is-copied { color: #4ade80; }
.copy-btn.is-copied .copy-btn__copy { display: none; }
.copy-btn.is-copied .copy-btn__done { display: block; }
.bank-card.is-error { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); }

/* Token breakdown under the card */
/* ---------- Sections and cards ---------- */
.activity { margin-top: 28px; }
.activity .section__head { margin-bottom: 12px; align-items: center; }
.activity .section__title { margin: 0; }
.section__link { font-size: .88rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.empty-note { margin: 0; padding: 18px 16px; border-radius: 16px; background: var(--surface); color: var(--muted); font-size: .9rem; text-align: center; }

.verify-card { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.verify-card__text { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: .88rem; color: var(--muted); }
.verify-card__text svg { flex: none; color: var(--accent); margin-top: 1px; }
.verify-card__message { margin: 0; font-size: .82rem; color: var(--muted); text-align: center; min-height: 1em; }
.verify-card__message:empty { display: none; }
.verify-card__message.is-error { color: var(--error); }

.verify-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0 0 12px; padding: 12px 12px 12px 14px;
  border-radius: 16px; background: var(--info-bg); border: 1px solid rgba(34, 197, 94, .3);
}
.verify-strip__icon { flex: none; color: var(--accent); display: grid; }
.verify-strip__text { flex: 1; min-width: 0; font-size: .86rem; }
.verify-strip__button { flex: none; min-height: 36px; padding: 0 14px; font-size: .85rem; }
.verify-strip__message { flex-basis: 100%; margin: 0; font-size: .8rem; color: var(--muted); }
.verify-strip__message:empty { display: none; }
.verify-strip__message.is-error { color: var(--error); }

/* Activity rows: shared by the home page and the Activity page */
.activity-list {
  list-style: none; margin: 0; padding: 0; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
}
.activity-list li + li { border-top: 1px solid var(--border); }
.activity-row {
  display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 10px 14px;
  color: var(--text); text-decoration: none; -webkit-tap-highlight-color: transparent;
}
.activity-row:active { background: var(--surface-2); }
.activity-row:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.activity-row .method-icon { width: 40px; height: 40px; border-radius: 13px; }
.activity-row__main { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.activity-row__name { font-weight: 700; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activity-row__meta { color: var(--muted); font-size: .8rem; }
.activity-row__end { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex: none; }
.activity-row__amount { font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; }
.status-tag { font-size: .74rem; font-weight: 700; }
.status-tag--ok { color: var(--ok); }
.status-tag--active { color: var(--accent); }
.status-tag--error { color: var(--error); }
.status-tag--muted { color: var(--muted); }

.section__title { margin: 0 0 14px; font-size: 1rem; font-weight: 700; }

/* Home services: one card, a row per service */
.service-list {
  list-style: none; margin: 0; padding: 0; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
}
.service-list li + li { border-top: 1px solid var(--border); }
.service-row {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 14px 10px 16px;
  color: var(--text); text-decoration: none; -webkit-tap-highlight-color: transparent;
  transition: background-color .12s ease;
}
.service-row:active { background: var(--surface-2); }
.service-row:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.service-row .method-icon, .service-row .icon-fallback, .service-row__img { width: 44px; height: 44px; border-radius: 14px; flex: none; }
.service-row__img { object-fit: contain; }
.service-row__text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.service-row__name { font-weight: 700; font-size: 1rem; }
.service-row__desc { color: var(--muted); font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.service-row__chevron { flex: none; color: var(--muted); }

/* Home services as quick actions: icon above label, no tile box */
.actions { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.actions .tile { background: transparent; border: 0; padding: 6px 4px; gap: 8px; }
.actions .tile:hover, .actions .tile:focus-visible { background: var(--surface); }
.actions .method-icon, .actions .icon-fallback, .actions img { width: 56px; height: 56px; border-radius: 18px; }
.actions .tile-name { font-size: .85rem; font-weight: 600; }
.section { margin: 0 0 16px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.section__head h2 { margin: 0; }
.section__head a { font-weight: 600; text-decoration: none; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px; margin: 0 0 16px;
}
.prompt h2 { margin-bottom: 4px; }
.prompt p { margin: 0 0 14px; }
.country-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.country-option {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--bg);
  color: var(--text); font: inherit; text-align: left; cursor: pointer;
}
.country-option:hover, .country-option:focus-visible { border-color: var(--accent); outline: none; }

/* ---------- Buttons ---------- */
.button {
  font: inherit; min-height: 44px; border-radius: 10px; padding: 0 14px;
  border: 1px solid var(--text); background: transparent; color: var(--text);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.button.primary { background: var(--primary); color: var(--primary-text); border-color: var(--primary); box-shadow: 0 10px 24px -12px rgba(34, 197, 94, .6); }
.block { display: flex; width: 100%; }
button.link { border: 0; min-height: 0; padding: 0; background: none; color: var(--text); text-decoration: underline; font: inherit; cursor: pointer; }

/* ---------- Services ---------- */
.page-title { margin-top: 4px; }
.grid {
  list-style: none; margin: 0 0 16px; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px;
}
.tile {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 14px 8px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text); text-decoration: none; height: 100%;
  transition: border-color .15s ease, transform .15s ease;
}
.tile:active { transform: scale(.98); }
.tile:hover, .tile:focus-visible { border-color: var(--accent); outline: none; }
.tile img, .detail img { object-fit: contain; border-radius: 12px; }
.tile-name { font-size: .9rem; overflow-wrap: anywhere; }
.icon-fallback {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary-strong); font-weight: 700; font-size: 1.25rem;
}
.icon-fallback.large { width: 96px; height: 96px; font-size: 2.5rem; }
.detail { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.detail h1 { margin: 8px 0 0; }
.detail p { margin: 0; }

/* ---------- Service detail ---------- */
.back-link {
  display: inline-flex; align-items: center; gap: 4px; min-height: 36px; margin: 0 0 8px;
  font-size: .9rem; font-weight: 600; text-decoration: none;
}
.service-hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 28px 16px 22px; margin: 0 0 16px; border-radius: var(--radius);
  background: var(--surface); /* fallback for WebViews without color-mix() */
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(34, 197, 94, .12) 0%, transparent 70%),
    var(--surface);
  border: 1px solid var(--border);
}
.service-hero__icon {
  width: 96px; height: 96px; margin: 0 auto 14px; display: grid; place-items: center;
  border-radius: 26px; background: var(--surface); box-shadow: var(--shadow);
}
.service-hero__icon img { border-radius: 18px; object-fit: contain; }
.service-hero__icon .icon-fallback.large { width: 72px; height: 72px; font-size: 2rem; border-radius: 18px; }
.service-hero h1 { margin: 0 0 10px; font-size: 1.5rem; letter-spacing: -.01em; }
.pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
  font-size: .85rem; font-weight: 500; background: var(--bg); border: 1px solid var(--border);
}
.pill--ok { color: var(--ok); background: var(--ok-bg); border-color: rgba(34, 197, 94, .3); }
.pill--ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.facts { padding: 4px 16px; }
.facts dl { margin: 0; }
.facts dl > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--border);
}
.facts dl > div:first-child { border-top: 0; }
.facts dt { color: var(--muted); font-size: .9rem; }
.facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }

/* Horizontal row of related services */
.scroller {
  list-style: none; margin: 0 -16px; padding: 2px 16px 8px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 96px; gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller li { scroll-snap-align: start; }
.scroller .tile { padding: 12px 6px; gap: 6px; }
.scroller .icon-fallback { width: 40px; height: 40px; font-size: 1.05rem; }
.scroller .tile-name { font-size: .8rem; }

/* ---------- Rates page ---------- */
.rates { list-style: none; margin: 0 0 12px; padding: 0; }
.rates li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 10px 0; border-top: 1px solid var(--border); font-variant-numeric: tabular-nums;
}
.rates li:first-child { border-top: 0; }
.rates li.current .rate-country { font-weight: 700; }
.rates li.current .rate-country::after { content: " · You"; color: var(--accent); font-weight: 400; font-size: .85rem; }
.rates .amount { font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .picker__chevron, .tile, .ccy-toggle button { transition: none; }
}

/* ======================================================================
   Payout flow: send form, review, progress, result
   ====================================================================== */
:root {
  --ok: #22c55e;
  --ok-bg: rgba(34, 197, 94, .14);
  --warn: #4ade80;
  --warn-bg: rgba(34, 197, 94, .12);
  --surface-2: #1e2830;
  --ring: 0 0 0 3px rgba(34, 197, 94, .3);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; }
.service-cta { margin: 0 0 20px; }

/* Method colours: one hue per service, used by icons, tabs and avatars */
.method-icon--mobile { --m1: #4ade80; --m2: #22c55e; }
.method-icon--paybill { --m1: #38bdf8; --m2: #0284c7; }
.method-icon--buy_goods { --m1: #a78bfa; --m2: #7c3aed; }
.method-icon {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 15px;
  color: #ffffff; background: linear-gradient(135deg, var(--m1, #4ade80), var(--m2, #22c55e));
  box-shadow: 0 10px 20px -12px var(--m2, #22c55e), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.tile .method-icon { width: 48px; height: 48px; }
.flow-head .method-icon { width: 52px; height: 52px; border-radius: 16px; }

/* Payout pages: back button and centred title on one line */
.nav-bar { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; margin: 0 0 14px; }
.nav-bar__back {
  position: absolute; left: -8px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--text);
}
.nav-bar__back:active { background: var(--surface); }
.nav-bar__title { margin: 0; padding: 0 44px; font-size: 1.05rem; font-weight: 700; text-align: center; letter-spacing: -.01em; }

/* Payout pages have no top bar: give the back link room from the screen edge */
.page-heading { margin: 2px 0 18px; font-size: 1.6rem; letter-spacing: -.02em; }
body:not(:has(.topbar)) main { padding-top: 12px; }

/* ---------- Header ---------- */
.flow-head { display: flex; align-items: center; gap: 14px; margin: 4px 0 18px; }
.flow-head__title { margin: 0; font-size: 1.45rem; letter-spacing: -.02em; }
.flow-head__sub { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }

/* ---------- Panels and fields ---------- */
.send-form { display: flex; flex-direction: column; gap: 14px; }
.panel {
  display: flex; flex-direction: column; gap: 14px; padding: 16px; margin: 0;
  background: var(--bg); border: 1px solid var(--border); border-radius: 18px;
}
.panel__title {
  display: block; margin: 0; padding: 0; font-size: .74rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.field { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: .85rem; font-weight: 600; color: var(--muted); padding: 0; }
.field input[type="text"], .field input[type="tel"], .field input:not([type]), .field select,
.field input[inputmode] {
  font: inherit; font-size: 1rem; min-height: 50px; padding: 0 14px; border-radius: 12px; width: 100%;
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.field.has-error input { border-color: var(--error); }
.field input::placeholder { color: #475569; }
.field__help { margin: 0; font-size: .8rem; color: var(--muted); }
.field__error { margin: 0; font-size: .85rem; color: var(--error); }

/* Input with a currency prefix inside the field */
.input-group {
  display: flex; align-items: center; min-height: 50px; border-radius: 12px; overflow: hidden;
  background: var(--bg); border: 1px solid var(--border);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.input-group:focus-within { border-color: var(--accent); box-shadow: var(--ring); }
.field.has-error .input-group { border-color: var(--error); }
.input-group__prefix {
  align-self: stretch; display: grid; place-items: center; padding: 0 12px 0 14px;
  color: var(--muted); font-weight: 700; font-size: .9rem; letter-spacing: .02em;
  border-right: 1px solid var(--border);
}
.field .input-group input {
  flex: 1; min-width: 0; min-height: 48px; border: 0; border-radius: 0; background: transparent;
  box-shadow: none; font-variant-numeric: tabular-nums; -moz-appearance: textfield;
}
.field .input-group input:focus { box-shadow: none; }
.input-group input::-webkit-outer-spin-button, .input-group input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Pay with: a selector row that opens a bottom sheet */
.token-select__label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.token-select__current, .sheet__row {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 62px; padding: 8px 12px 8px 10px;
  border-radius: 14px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); font: inherit; text-align: left; cursor: pointer;
}
.token-select__current:active { background: var(--surface-2); }
.token-select__current:focus-visible { outline: none; box-shadow: var(--ring); border-color: var(--accent); }
.coin {
  display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%;
  color: #ffffff; font-weight: 800; font-size: 1.05rem; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
}
.coin--sm { width: 22px; height: 22px; font-size: .72rem; }
.coin--usdc { background: #2775ca; }
.coin--usdt { background: #26a17b; font-size: 1.2rem; }
.token-select__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.token-select__text strong { font-size: .98rem; }
.token-select__text span, .token-select__balance span { font-size: .78rem; color: var(--muted); }
.token-select__balance { display: flex; flex-direction: column; align-items: flex-end; flex: none; font-variant-numeric: tabular-nums; }
.token-select__balance strong { font-size: .95rem; }
.token-select__chevron { flex: none; color: var(--muted); margin-left: 2px; }

/* Bottom sheet (native <dialog>) */
.sheet {
  position: fixed; inset: auto 0 0 0; width: 100%; max-width: 560px; margin: 0 auto; padding: 10px 20px calc(28px + env(safe-area-inset-bottom));
  border: 0; border-radius: 22px 22px 0 0; background: var(--bg); color: var(--text);
  box-shadow: 0 -18px 40px -10px rgba(0, 0, 0, .6);
}
.sheet[open] { animation: sheet-up .22s cubic-bezier(.2, .8, .2, 1); }
.sheet::backdrop { background: rgba(0, 0, 0, .55); }
.sheet__handle { width: 40px; height: 4px; margin: 2px auto 18px; border-radius: 999px; background: var(--border); }
.sheet__title { margin: 0 0 18px; font-weight: 700; font-size: 1.05rem; text-align: center; }
.sheet__list { display: flex; flex-direction: column; gap: 12px; }
.sheet label.sheet__row {  /* beats the generic `.field label` rule */
  position: relative; min-height: 76px; padding: 14px 16px; gap: 14px; border-radius: 16px;
  font-size: 1rem; font-weight: 400; color: var(--text);
}
.sheet__row .coin { width: 42px; height: 42px; }
.sheet__row .token-select__text, .sheet__row .token-select__balance { gap: 3px; }
.sheet__row .sheet__check { margin-left: 4px; }
.sheet__row input { position: absolute; opacity: 0; pointer-events: none; }
.sheet__row:has(input:checked) { border-color: var(--accent); background: var(--info-bg); }
.sheet__row:has(input:focus-visible) { box-shadow: var(--ring); }
.sheet__row.is-short { opacity: .45; cursor: not-allowed; }
.sheet__check {
  display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--border); color: transparent;
}
.sheet__row:has(input:checked) .sheet__check { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .sheet[open] { animation: none; } }
.field.is-over .input-group { border-color: var(--error); box-shadow: 0 0 0 3px rgba(248, 113, 113, .18); }
.field.is-over [data-amount-help] { color: var(--error); }
.field.is-bump .input-group { animation: bump .25s ease; }
@keyframes bump { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* The field the on-screen keypad is typing into */
.field.is-active > input, .field.is-active .input-group { border-color: var(--accent); box-shadow: var(--ring); }

/* On-screen keypad */
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 4px; }
.keypad[hidden] { display: none; }
.keypad__key {
  display: grid; place-items: center; min-height: 52px; border: 0; border-radius: 14px;
  background: var(--surface); color: var(--text); font: inherit; font-size: 1.45rem; font-weight: 600;
  font-variant-numeric: tabular-nums; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: background-color .08s ease, transform .08s ease;
}
.keypad__key:active { background: var(--surface-2); transform: scale(.96); }
.keypad__key[data-key="back"] { background: transparent; color: var(--muted); }
.keypad__key:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Recipient confirmation, just under the number */
.verify { display: flex; align-items: center; gap: 6px; min-width: 0; margin: 2px 0 0; font-size: .88rem; animation: rise .2s var(--ease); }
.verify[hidden] { display: none; }
.verify__icon { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; }
.verify__name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.verify__meta { flex: none; color: var(--muted); }
.verify.is-ok .verify__icon { background: var(--ok); }
.verify.is-ok .verify__icon::after {
  content: ""; width: 8px; height: 4px; margin-top: -2px; border: solid #052e16; border-width: 0 0 2px 2px; transform: rotate(-45deg);
}
.verify.is-pending { color: var(--muted); }
.verify.is-pending .verify__icon { border: 2px solid var(--border); border-top-color: var(--accent); animation: spin .8s linear infinite; }
.verify.is-error { color: var(--error); }
.verify.is-error .verify__name { font-weight: 600; white-space: normal; }
.verify.is-error .verify__icon { background: rgba(248, 113, 113, .18); }
.verify.is-error .verify__icon::after { content: "!"; font-size: .7rem; font-weight: 800; }

/* Notices */
.notice-bar {
  display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: .9rem;
}
.notice-bar svg { flex: none; margin-top: 1px; color: var(--primary-strong); }
.notice-bar p { margin: 0; }
.notice-bar--error { background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .3); color: #fecaca; }
.notice-bar--error svg { color: var(--error); }
.notice-bar--warn { background: var(--warn-bg); border-color: rgba(34, 197, 94, .3); color: #bbf7d0; }
.notice-bar--warn svg { color: var(--warn); }

/* ---------- Buttons and the bottom action area ---------- */
.button { font-weight: 700; border-radius: 14px; transition: transform .1s var(--ease), opacity .15s var(--ease), box-shadow .2s var(--ease); }
.button:active:not(:disabled) { transform: scale(.985); }
.button.primary { background: var(--primary); color: var(--primary-text); border-color: var(--primary); box-shadow: 0 10px 24px -12px rgba(34, 197, 94, .6); }
.button:not(.primary) { border-color: var(--border); color: var(--text); background: var(--surface); }
.button--lg { min-height: 54px; font-size: 1.02rem; }
.button { gap: 8px; }
.action-bar--split .button { padding: 0 10px; font-size: .95rem; white-space: nowrap; }
.button:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
/* Loading: spinner before the label; stays readable while disabled */
.button.is-loading::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-right: 10px; border-radius: 50%;
  border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite;
}
.button.is-loading:disabled { opacity: .85; cursor: progress; }
.action-bar {
  position: sticky; bottom: 0; z-index: 5; display: flex; flex-direction: column; gap: 8px;
  margin: 4px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 70%, transparent);
}
.action-bar--split { flex-direction: row; }
.action-bar__note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font-size: .78rem; color: var(--muted); }
.action-bar__note svg { color: var(--ok); }
.action-bar__note.is-error { color: var(--error); }

/* ---------- Review: receipt card ---------- */
.review-title { margin: 4px 0 14px; font-size: 1.45rem; letter-spacing: -.02em; }
.receipt {
  position: relative; overflow: hidden; margin: 0 0 14px; border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.receipt__who { display: flex; align-items: center; gap: 14px; padding: 18px 18px 0; }
.receipt__who-text { min-width: 0; }
.receipt__name { margin: 0; font-size: 1.08rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.receipt__dest { margin: 2px 0 0; color: var(--muted); font-size: .88rem; font-variant-numeric: tabular-nums; }
.avatar {
  position: relative; display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary-strong); font-weight: 800; letter-spacing: .02em;
  box-shadow: none;
}
.avatar__badge {
  position: absolute; right: -3px; bottom: -3px; display: grid; place-items: center; width: 22px; height: 22px;
  border-radius: 50%; color: #ffffff; background: linear-gradient(135deg, var(--m1, #4ade80), var(--m2, #22c55e)); box-shadow: 0 0 0 3px var(--surface);
}
.receipt__amount { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 22px 18px 20px; }
.receipt__amount-label { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.receipt__amount-value { font-size: clamp(2.2rem, 11vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.receipt__ccy { font-size: .42em; font-weight: 700; color: var(--muted); margin-right: .3em; vertical-align: .55em; letter-spacing: 0; }
.receipt__rows {
  margin: 0; padding: 4px 18px 6px; border-top: 1px dashed var(--border);
  background: none;
}
.receipt__rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; }
.receipt__rows > div + div { border-top: 1px solid var(--border); }
.receipt__rows dt { color: var(--muted); font-size: .9rem; flex: none; }
.receipt__rows dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; font-size: .92rem; }
.receipt__total dt { color: var(--text); font-weight: 700; }
.receipt__total dd { font-size: 1.35rem; font-weight: 800; }
.ext-link { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; font-weight: 600; }

/* ---------- Review payment (clean) ---------- */
.review { padding: 4px 18px; margin: 0 0 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.review__to { display: flex; align-items: center; gap: 12px; padding: 14px 0; }
.review__to-text { min-width: 0; }
.review__name { margin: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review__dest { margin: 1px 0 0; color: var(--muted); font-size: .86rem; font-variant-numeric: tabular-nums; }
.avatar--sm { width: 42px; height: 42px; font-size: .9rem; }
.review__amount { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0; padding: 18px 0 20px; border-top: 1px solid var(--border); }
.review__amount-value { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.review__ccy { font-size: .4em; font-weight: 700; color: var(--muted); margin-right: .35em; vertical-align: .6em; letter-spacing: 0; }
.review__amount-label { font-size: .82rem; color: var(--muted); }
.review__rows { margin: 0; border-top: 1px solid var(--border); }
.review__rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; }
.review__rows > div + div { border-top: 1px solid var(--border); }
.review__rows dt { color: var(--muted); font-size: .9rem; }
.review__rows dd { margin: 0; font-weight: 600; font-size: .92rem; font-variant-numeric: tabular-nums; }
.review__total dt { color: var(--text); font-weight: 600; }
.review__total dd { font-size: 1.15rem; font-weight: 800; }
.review__note { margin: -4px 0 12px; font-size: .82rem; color: var(--muted); text-align: center; }

/* Review: wrong-number disclaimer and confirmation checkbox */
.confirm-box { display: flex; flex-direction: column; gap: 12px; margin: 4px 0 10px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.confirm-box__warning { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: .86rem; color: #fca5a5; }
.confirm-box__warning svg { flex: none; margin-top: 2px; color: var(--error); }
.confirm-box__check { position: relative; display: flex; align-items: flex-start; gap: 12px; font-size: .9rem; cursor: pointer; line-height: 1.35; }
.confirm-box__check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.confirm-box__tick {
  display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 7px;
  border: 2px solid var(--muted); color: transparent; transition: all .12s ease;
}
.confirm-box__check input:checked + .confirm-box__tick { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.confirm-box__check input:focus-visible + .confirm-box__tick { box-shadow: var(--ring); }

.token-line { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 2px; font-size: .88rem; color: var(--muted); }
.token-line strong { color: var(--text); }
.token-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.token-dot--usdc { background: #22c55e; }
.token-dot--usdt { background: #0284c7; }
.token-chips { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 4px 0 2px; padding: 0; border: 0; min-width: 0; }
.token-chips legend { float: left; margin-right: 4px; padding: 0; font-size: .85rem; color: var(--muted); }
.token-chip {
  position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-size: .88rem;
}
.token-chip input { position: absolute; opacity: 0; pointer-events: none; }
.token-chip span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.token-chip:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.token-chip:has(input:focus-visible) { box-shadow: var(--ring); }
.price-note { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 0; font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.price-note.is-ending { color: var(--text); font-weight: 700; }

/* Price lock */
.price-lock {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 10px;
  margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border);
}
.price-lock__label { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; }
.price-lock__label svg { color: var(--accent); }
.price-lock__time { font-weight: 800; font-variant-numeric: tabular-nums; }
.price-lock__bar { grid-column: 1 / -1; height: 4px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.price-lock__bar span { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--accent); transition: width 1s linear; }
.price-lock.is-ending .price-lock__time { color: var(--warn); }
.price-lock.is-ending .price-lock__bar span { background: var(--warn); }

/* Token picker */
.tokens-pick { display: flex; flex-direction: column; gap: 8px; margin: 0 0 4px; padding: 0; border: 0; min-width: 0; }
.tokens-pick .panel__title { margin-bottom: 2px; }
.token-option {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 14px;
  border-radius: 16px; background: var(--surface); border: 1px solid var(--border); cursor: pointer;
  transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.token-option input { position: absolute; opacity: 0; pointer-events: none; }
.token-option:has(input:checked) { border-color: var(--accent); background: var(--info-bg); }
.token-option:has(input:focus-visible) { box-shadow: var(--ring); }
.token-logo {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%;
  font-weight: 800; font-size: .8rem; color: #fff;
}
.token-logo--usdc { background: #ffffff; color: #000000; }
.token-logo--usdt { background: #404040; font-size: 1.05rem; }
.token-option__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.token-option__text span { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.token-option__check {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--border); color: transparent; transition: all .15s var(--ease);
}
.token-option:has(input:checked) .token-option__check { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.pay__message { margin: 0; min-height: 1.2em; text-align: center; font-size: .85rem; color: var(--muted); }
.pay__message.is-error { color: var(--error); }

/* ---------- Status hero ---------- */
.status-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 12px 8px 22px; }
.status-hero__orb {
  position: relative; display: grid; place-items: center; width: 88px; height: 88px; margin-bottom: 16px; border-radius: 50%;
  animation: pop .45s var(--ease) both;
}
.status-hero__orb--ok { color: #052e16; background: var(--ok); box-shadow: 0 0 0 10px var(--ok-bg), 0 18px 40px -14px rgba(34, 197, 94, .5); }
.status-hero__orb--warn { color: var(--primary-strong); background: var(--primary-soft); box-shadow: 0 0 0 10px rgba(34, 197, 94, .05); }
.status-hero__orb--info { color: var(--primary-strong); background: var(--primary-soft); box-shadow: 0 0 0 10px rgba(34, 197, 94, .05); }
.status-hero__orb--muted { color: var(--muted); background: var(--surface); box-shadow: 0 0 0 10px rgba(255, 255, 255, .03); }
.status-hero__orb--busy { color: var(--primary-strong); background: var(--primary-soft); }
.status-hero__ring {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 3px solid rgba(34, 197, 94, .2); border-top-color: var(--primary); animation: spin 1.1s linear infinite;
}
.status-hero__title { margin: 0; font-size: 1.5rem; letter-spacing: -.02em; }
.status-hero__sub { margin: 6px 0 0; max-width: 320px; color: var(--muted); font-size: .95rem; }
.tick { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .25s var(--ease) forwards; }

/* Progress tracker */
.tracker { list-style: none; margin: 0 0 16px; padding: 6px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.tracker__step { position: relative; display: flex; align-items: center; gap: 14px; min-height: 52px; color: var(--muted); }
.tracker__step + .tracker__step::before {
  content: ""; position: absolute; left: 11px; top: -14px; height: 28px; width: 2px; background: var(--border);
}
.tracker__step.is-done + .tracker__step::before { background: var(--ok); }
.tracker__dot {
  position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 24px; height: 24px;
  border-radius: 50%; border: 2px solid var(--border); background: var(--surface);
}
.tracker__step.is-done { color: var(--text); }
.tracker__step.is-done .tracker__dot { background: var(--ok); border-color: var(--ok); color: var(--accent-text); }
.tracker__step.is-current { color: var(--text); font-weight: 700; }
.tracker__step.is-current .tracker__dot { border-color: var(--accent); }
.tracker__step.is-current .tracker__dot::after {
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: pulse 1.4s ease-in-out infinite;
}

.support-note { margin: 4px 0 0; text-align: center; color: var(--muted); font-size: .85rem; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { transform: translateY(4px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pulse { 0%, 100% { transform: scale(.8); opacity: .6; } 50% { transform: scale(1.1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .status-hero__orb,   .tick { animation: none; stroke-dashoffset: 0; }
  .status-hero__ring,   .tracker__step.is-current .tracker__dot::after { animation: none; }
  .price-lock__bar span { transition: none; }
}

/* Receipt viewer (press and hold to save) */
.receipt-sheet { max-height: 92vh; overflow-y: auto; }
.receipt-sheet__img {
  display: block; width: 100%; max-width: 420px; margin: 0 auto 12px; border-radius: 14px;
  -webkit-touch-callout: default; user-select: auto;
}
.receipt-sheet__hint { text-align: center; margin: 0 0 16px; }
