/* Novoxchange public site. One narrow column, one action per screen; the main
   button sits at the thumb on phones and under the content on desktop.
   Brand: bright #0FCF7A, deep #063F2E, ink #000705, mint #EEFFF7 (BRAND.md). */
@font-face { font-family: "Geist"; src: url("brand/Geist-Variable.68be1efffc77.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("brand/GeistMono-Variable.6f7e3c2d46d5.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #EEFFF7;
  --surface: #FFFFFF;
  --fg: #000705;
  --muted: #47665A;
  --faint: #86A397;
  --line: #D2EDE0;
  --fill: #E0F6EB;
  --accent: #0FCF7A;        /* fills only: too light for text on white */
  --accent-ink: #063F2E;    /* accent used as text */
  --accent-soft: #D2F7E5;
  --accent-fg: #063F2E;     /* text on bright green */
  --btn: #063F2E;
  --btn-fg: #EEFFF7;
  --logo-stroke: #0FCF7A;
  --logo-ink: #063F2E;
  --orange: #E86A00;
  --moov: #0058A6;
  --danger: #BE2C2C;
  --danger-soft: #FBEAEA;
  --warn: #8F5A00;
  --warn-soft: #FBF1DE;
  --shadow: 0 1px 2px rgb(6 63 46 / .05), 0 12px 40px rgb(6 63 46 / .07);
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #000705; --surface: #04211A; --fg: #EEFFF7; --muted: #8DB3A4; --faint: #5C8072;
  --line: #0D3A2D; --fill: #072C22; --accent: #0FCF7A; --accent-ink: #0FCF7A; --accent-soft: #06301F; --accent-fg: #063F2E;
  --btn: #0FCF7A; --btn-fg: #063F2E; --logo-stroke: #0FCF7A; --logo-ink: #EEFFF7;
  --orange: #FF8A2A; --moov: #4C9BEA; --danger: #F07070; --danger-soft: #2C1515; --warn: #E6B04F; --warn-soft: #2A2111;
  --shadow: none; color-scheme: dark;
} }
:root[data-theme="dark"] {
  --bg: #000705; --surface: #04211A; --fg: #EEFFF7; --muted: #8DB3A4; --faint: #5C8072;
  --line: #0D3A2D; --fill: #072C22; --accent: #0FCF7A; --accent-ink: #0FCF7A; --accent-soft: #06301F; --accent-fg: #063F2E;
  --btn: #0FCF7A; --btn-fg: #063F2E; --logo-stroke: #0FCF7A; --logo-ink: #EEFFF7;
  --orange: #FF8A2A; --moov: #4C9BEA; --danger: #F07070; --danger-soft: #2C1515; --warn: #E6B04F; --warn-soft: #2A2111;
  --shadow: none; color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; border-radius: 10px; }
.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; }
.offscreen { position: fixed; left: -9999px; top: 0; }
.num, code { font-family: var(--mono); font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }

/* ---------- Page frame ---------- */
.wrap {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 12px 0;
}
.top { width: 100%; max-width: 460px; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; }
.brand { display: flex; align-items: center; min-width: 0; text-decoration: none; }
.logo-h { height: 22px; width: auto; max-width: 100%; display: block; }
.logo-h .ls { fill: var(--logo-stroke); }
.logo-h .li { fill: var(--logo-ink); }
.top-right { display: flex; align-items: center; gap: 8px; flex: none; }
.track-link { font-size: 14px; font-weight: 600; color: var(--fg); text-decoration: none; padding: 6px 10px; border-radius: 999px; background: var(--fill); }
.lang { display: flex; margin: 0; border-radius: 999px; background: var(--fill); padding: 2px; }
.lang button { border: 0; background: transparent; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 4px 8px; border-radius: 999px; color: var(--muted); }
.lang button[aria-current="true"] { background: var(--surface); color: var(--fg); }
.theme-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--fg); padding: 0; }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .sun { display: none; }
  :root:not([data-theme="light"]) .theme-btn .moon { display: block; }
}

.app { width: 100%; max-width: 460px; flex: 1; display: flex; flex-direction: column; }
.screen { flex: 1; display: flex; flex-direction: column; animation: enter .35s cubic-bezier(.2,.7,.2,1); }
@keyframes enter { from { transform: translateY(6px); } to { transform: none; } }
.legal { width: 100%; max-width: 460px; padding: 20px 4px 28px; color: var(--muted); font-size: 13px; }
.legal p { margin: 0 0 6px; }
.legal a { color: var(--muted); }

/* ---------- Steps ---------- */
.nav { display: flex; align-items: center; gap: 12px; height: 44px; margin-top: 4px; }
.back { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--fill); display: grid; place-items: center; color: var(--fg); flex: none; padding: 0; }
.back svg { width: 18px; height: 18px; }
.steps { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.steps i { height: 3px; border-radius: 3px; background: var(--line); transition: background .3s; }
.steps i.on { background: var(--fg); }

.body { flex: 1; display: flex; flex-direction: column; gap: 24px; padding-block: 28px 24px; }
h1 { font-size: clamp(28px, 7.4vw, 34px); line-height: 1.08; letter-spacing: -.03em; font-weight: 600; margin: 0; text-wrap: balance; }
h2 { font-size: 18px; letter-spacing: -.01em; margin: 0; }
.lead { color: var(--muted); margin: 8px 0 0; font-size: 16px; text-wrap: pretty; }
.lead b { color: var(--fg); }
.label { font-size: 13px; color: var(--muted); font-weight: 500; }
.hint { font-size: 13px; color: var(--muted); margin: 0; }
.hint.err { color: var(--danger); }
.hint.ok { color: var(--accent-ink); }

.foot {
  position: sticky; bottom: 0; z-index: 2;
  padding-block: 12px calc(16px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to bottom, transparent, var(--bg) 22%);
  display: flex; flex-direction: column; gap: 10px;
}
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 56px; border-radius: 16px; border: 0; padding: 0 18px;
  background: var(--btn); color: var(--btn-fg); text-decoration: none;
  font-size: 17px; font-weight: 600; letter-spacing: -.01em;
  transition: transform .12s, opacity .2s;
}
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .28; cursor: not-allowed; transform: none; }
.btn.accent { background: var(--accent); color: var(--accent-fg); }
.btn.ghost { background: transparent; color: var(--fg); min-height: 44px; font-weight: 500; font-size: 16px; }
.btn.quiet { background: var(--fill); color: var(--fg); }
.text-button { background: none; border: 0; padding: 0; font-weight: 600; text-decoration: underline; color: var(--fg); }

/* ---------- Amount ---------- */
.amount-field { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-block: 12px 4px; }
.amount-row { display: flex; align-items: baseline; justify-content: center; gap: 10px; max-width: 100%; }
.amount-input {
  border: 0; background: transparent; outline: none; text-align: right; color: var(--fg);
  font-size: clamp(56px, 18vw, 84px); font-weight: 600; letter-spacing: -.045em; line-height: 1;
  width: 3.2ch; min-width: 1.4ch; max-width: 7.5ch; padding: 0; caret-color: var(--accent);
}
.amount-input::placeholder { color: var(--line); }
.amount-input[aria-invalid="true"] { color: var(--danger); }
.amount-row:focus-within { border-radius: 12px; }
.unit { font-size: 22px; font-weight: 600; color: var(--muted); letter-spacing: -.01em; }
.receive { font-size: 17px; color: var(--muted); text-align: center; min-height: 26px; margin: 0; }
.receive b { color: var(--fg); font-weight: 600; }
.inline-error { color: var(--muted); font-size: 14px; text-align: center; min-height: 21px; margin: 0; }
.inline-error.is-error { color: var(--danger); }
.chips { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; height: 36px; padding: 0 16px; font-size: 15px; font-weight: 500; }
.chip[aria-pressed="true"] { border-color: var(--fg); }

/* ---------- Cards and rows ---------- */
.sheet { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line); }
.rows { display: flex; flex-direction: column; padding: 4px 18px; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 13px; border-bottom: 1px solid var(--line); font-size: 15px; margin: 0; }
.row:last-child { border-bottom: 0; }
.row > :first-child { color: var(--muted); }
.row > :last-child { text-align: right; min-width: 0; overflow-wrap: anywhere; }
.row.total > * { color: var(--fg); font-weight: 600; font-size: 17px; }
.row.note > * { color: var(--muted); font-size: 13px; text-align: left; }
.oprow { align-items: center; }
.oprow > :first-child { display: flex; align-items: center; gap: 10px; color: var(--fg); }
.oprow b { font-weight: 600; display: block; }
.oprow small { display: block; color: var(--muted); font-size: 13px; }
.oprow > :last-child { font-weight: 600; font-size: 17px; }
.oprow.is-off { opacity: .5; }
.opdot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.opdot.orange { background: var(--orange); } .opdot.moov { background: var(--moov); }
.pill { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }
.pill.grey { background: var(--fill); color: var(--muted); }

/* ---------- Messages ---------- */
.msg { font-size: 14px; border-radius: 14px; padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.msg svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.msg p { margin: 0; }
.msg.error { background: var(--danger-soft); color: var(--danger); }
.msg.warn { background: var(--warn-soft); color: var(--warn); }
.msg.info { background: var(--fill); color: var(--muted); }
.msg.ok { background: var(--accent-soft); color: var(--accent-ink); }
.msg .text-button { color: inherit; }

/* ---------- Choice tiles (native radios, styled) ---------- */
.choices { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.choice { display: block; position: relative; cursor: pointer; }
.choice > input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.choice-in {
  display: flex; align-items: center; gap: 14px; width: 100%;
  border: 1.5px solid var(--line); background: var(--surface); border-radius: var(--r);
  padding: 16px; transition: border-color .15s;
}
.choice > input:checked + .choice-in { border-color: var(--fg); }
.choice > input:focus-visible + .choice-in { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.choice > input:disabled + .choice-in { opacity: .45; cursor: not-allowed; }
.choice .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.choice .t { font-weight: 600; font-size: 17px; letter-spacing: -.01em; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.choice .s { color: var(--muted); font-size: 14px; }
.radio { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); flex: none; display: grid; place-items: center; }
.choice > input:checked + .choice-in .radio { border-color: var(--fg); background: var(--fg); }
.choice > input:checked + .choice-in .radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--surface); }
.logo { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; font-weight: 700; font-size: 15px; color: #fff; letter-spacing: -.02em; }
.logo.trc { background: #C9302C; } .logo.erc { background: #4B5BD7; }
.logo.orange { background: var(--orange); } .logo.moov { background: var(--moov); }
.ops { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.ops .choice-in { flex-direction: column; align-items: flex-start; gap: 10px; height: 100%; }
.ops .radio { position: absolute; top: 16px; right: 16px; }
.opamt { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin-top: 2px; }

/* ---------- Fields ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.phone, .input-box {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--line); background: var(--surface); border-radius: var(--r);
  padding: 0 16px; min-height: 64px; transition: border-color .15s;
}
.phone:focus-within, .input-box:focus-within { border-color: var(--fg); }
.phone.bad, .phone.bad:focus-within, .input-box.bad, .input-box.bad:focus-within { border-color: var(--danger); }
.phone .cc, .input-box .cc { color: var(--muted); font-size: 20px; font-weight: 500; }
.phone input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 22px; font-weight: 600; letter-spacing: .02em; padding: 0; }
.input-box input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 18px; font-weight: 600; letter-spacing: .02em; padding: 0; }
.phone input::placeholder, .input-box input::placeholder { color: var(--faint); font-weight: 400; }

/* ---------- Review ---------- */
.big { text-align: center; padding: 22px 18px 10px; }
.big .n { font-size: clamp(40px, 12vw, 52px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.big .c { color: var(--muted); font-size: 15px; margin-top: 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--accent); margin: 0; flex: none; }
.edit-link { font-size: 14px; font-weight: 600; color: var(--fg); }

/* ---------- Deposit ---------- */
.deposit-nav { justify-content: space-between; }
.timer { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin: 0; }
.timer b { font-family: var(--mono); color: var(--fg); font-weight: 500; }
.timer.is-late b { color: var(--danger); }
.ring { width: 16px; height: 16px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3; }
.ring .track-arc { stroke: var(--line); }
.ring .arc { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.fp { color: var(--accent-ink); background: var(--accent-soft); border-radius: 6px; padding: 0 3px; }
.qr-card { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 20px 18px 18px; }
.qr { width: 200px; max-width: 100%; padding: 12px; background: #FFFFFF; border-radius: 16px; border: 1px solid var(--line); position: relative; }
.qr svg { width: 100%; height: auto; display: block; }
.qr .badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 10px; border: 4px solid #fff; font-size: 11px; }
.copyline { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.copybox { display: flex; align-items: center; gap: 10px; width: 100%; background: var(--fill); border: 0; border-radius: 14px; padding: 12px 12px 12px 14px; text-align: left; }
.copybox .v { flex: 1; min-width: 0; font-family: var(--mono); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; user-select: all; }
.copybox .v.amt { font-family: var(--font); font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.copy-label { flex: none; display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 10px; background: var(--surface); font-size: 13px; font-weight: 600; box-shadow: 0 0 0 1px var(--line); }
.copybox.is-copied .copy-label { color: var(--accent-ink); }
.fpnote { font-size: 13px; color: var(--muted); margin: 0; }
.fpnote b { color: var(--accent-ink); font-weight: 600; }
.netbadge { font-size: 13px; color: var(--muted); }

/* Waiting: twelve blocks of a chain. A wave runs across while we watch; once
   the transfer is seen they fill one per confirmation, the next one blinking. */
.watch { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.watch.is-seen { border-color: var(--accent); }
.watch-title { margin: 0; font-weight: 600; }
.watch-detail { margin: 0; font-size: 13px; color: var(--muted); }
.chain { display: flex; gap: 4px; }
.chain i { flex: 1; height: 14px; border-radius: 3px; background: var(--line); }
.watch:not(.is-seen) .chain i { animation: wave 1.8s ease-in-out infinite; }
.chain i:nth-child(2) { animation-delay: .1s; } .chain i:nth-child(3) { animation-delay: .2s; }
.chain i:nth-child(4) { animation-delay: .3s; } .chain i:nth-child(5) { animation-delay: .4s; }
.chain i:nth-child(6) { animation-delay: .5s; } .chain i:nth-child(7) { animation-delay: .6s; }
.chain i:nth-child(8) { animation-delay: .7s; } .chain i:nth-child(9) { animation-delay: .8s; }
.chain i:nth-child(10) { animation-delay: .9s; } .chain i:nth-child(11) { animation-delay: 1s; }
.chain i:nth-child(12) { animation-delay: 1.1s; }
@keyframes wave { 0%, 60%, 100% { background: var(--line); } 25% { background: var(--accent); } }
.chain i.on { background: var(--accent); }
.chain i.next { animation: blink 1s ease-in-out infinite; }
@keyframes blink { 50% { background: var(--accent); opacity: .45; } }

/* ---------- Tracking ---------- */
.track { list-style: none; margin: 0; padding: 6px 18px; }
.track li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; position: relative; padding-block: 14px; }
.track li:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 44px; bottom: -14px; width: 2px; background: var(--line); }
.track li.done:not(:last-child)::before { background: var(--accent); }
.dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; background: var(--surface); position: relative; z-index: 1; }
.done .dot { border-color: var(--accent); background: var(--accent); color: var(--accent-fg); }
.active .dot { border-color: var(--accent); }
.active .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: pulse 1.2s ease-in-out infinite; }
.wait .dot { border-color: var(--warn); }
.wait .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--warn); }
.fail .dot { border-color: var(--danger); background: var(--danger); color: #fff; }
.dot svg { width: 14px; height: 14px; }
@keyframes pulse { 50% { transform: scale(.55); opacity: .5; } }
.track .t { font-weight: 600; }
.pending .t { color: var(--faint); }
.track .s { font-size: 14px; color: var(--muted); }

/* ---------- Results ---------- */
.result { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding-block: 28px 12px; }
.mark { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-fg); }
.mark svg { width: 36px; height: 36px; }
.mark.ok svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .15s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.mark.bad { background: var(--danger-soft); color: var(--danger); }
.mark.wait { background: var(--warn-soft); color: var(--warn); }
.result .n { font-size: clamp(40px, 12vw, 54px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.result p { margin: 0; color: var(--muted); max-width: 36ch; text-wrap: pretty; }
.result p b { color: var(--fg); }
.receipt { width: 100%; text-align: left; margin-top: 8px; }
.receipt .num { font-size: 13px; }

/* ---------- Disclosures, lists, misc ---------- */
.disclosure { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.disclosure > summary { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style-position: inside; }
.disclosure > :not(summary) { margin: 0 18px 14px; }
.disclosure[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; }
.closed { text-align: center; }
.recovery-banner { width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; margin-top: 8px; background: var(--warn-soft); color: var(--warn); border-radius: 14px; }
.recovery-banner .hint { color: inherit; }
.recent-list { list-style: none; margin: 0; padding: 4px 18px; }
.recent-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.recent-list li:last-child { border-bottom: 0; }
.recent-order { display: flex; flex-direction: column; color: var(--fg); text-decoration: none; min-width: 0; }
.recent-meta, .recent-detail { font-size: 13px; color: var(--muted); }
.remove-history { font-size: 13px; color: var(--muted); font-weight: 500; }
.recent-orders { padding-top: 14px; }
.recent-orders > h2 { padding: 0 18px; }
.history-actions { padding: 0 18px 14px; }
.draft-note { text-align: center; }
.service-list dt { color: var(--muted); font-size: 13px; margin-top: 10px; }
.service-list dd { margin: 2px 0 0; }
.prose { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.prose p { margin: 0; color: var(--muted); }
.prose h2 { color: var(--fg); }
.chips-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-nav a { text-decoration: none; color: var(--fg); }

/* ---------- Desktop: the column becomes a card ---------- */
@media (min-width: 720px) {
  .wrap { padding-block: 32px 0; }
  .app { flex: none; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); padding: 8px 28px 0; min-height: 640px; margin-top: 12px; }
  .foot { background: var(--surface); padding-bottom: 28px; }
  .app .sheet { box-shadow: none; }
  .body { padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mark.ok svg path { stroke-dashoffset: 0; }
}
.btn.is-pending { opacity: .55; }
.network-guide p { color: var(--muted); font-size: 14px; }
/* Operator put forward in Settings: listed first, lightly emphasised; rates unchanged. */
.oprow.is-featured b { color: var(--accent-ink); }
.choice.is-featured .choice-in { background: var(--accent-soft); }
/* An empty error line takes no room until it has something to say. */
.body > .inline-error:empty { margin-top: -24px; min-height: 0; }
/* On the deposit screen the waiting strip stays at the thumb but small: the
   blocks and one line; the detail appears once confirmations are counted. */
.order > .foot .watch { padding: 10px 14px; gap: 6px; box-shadow: var(--shadow); }
.order > .foot .chain i { height: 8px; }
.order > .foot .watch:not(.is-seen) .watch-detail { display: none; }
.order > .foot .watch-title { font-size: 15px; }
.track .t, .track .s { display: block; }
/* Resting cursor: says "you can type here" until the field has focus and the real caret takes over. */
.caret { align-self: center; flex: none; width: 3px; height: clamp(44px, 14vw, 66px); margin-left: -8px; border-radius: 2px; background: var(--accent); animation: caret-blink 1.1s steps(1, end) infinite; pointer-events: none; }
.amount-row:focus-within .caret { display: none; }
@keyframes caret-blink { 50% { opacity: 0; } }
/* Each screen of the flow slides in, as in the design. */
.flow [data-step]:not([hidden]) { animation: enter .35s cubic-bezier(.2,.7,.2,1); }
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; z-index: 30; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.order-line { text-align: center; font-size: 13px; color: var(--muted); margin: 8px 0 16px; }
.order-line .text-button { font-size: 13px; color: var(--muted); }
