:root {
  color-scheme: light;
  font-family: Roboto, "Arial", system-ui, -apple-system, sans-serif;
  --ink: #141e22;
  --muted: #7e8486;
  --soft: #f1f3f4;
  --page: #f8faf9;
  --line: #e0e3e3;
  --yellow: #ffe000;
  --red: #c83e36;
  --green: #178f66;
  --bar-height: 82px;
  -webkit-tap-highlight-color: transparent;
}
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; min-width: 280px; min-height: 100%; }
html { background: var(--page); }
body { overflow: hidden; color: var(--ink); background: var(--page); }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #d6bc00; outline-offset: 2px; }
svg { display: block; flex-shrink: 0; }
.app-shell { position: relative; height: 100vh; height: 100dvh; width: 100%; max-width: 540px; margin: 0 auto; background: var(--page); overflow: hidden; }
.app-content { height: calc(100% - var(--bar-height) - env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.app-content::-webkit-scrollbar { display: none; }
button.icon-button, button.round-button, button.nav-button, .plain-button { border: 0; color: inherit; background: transparent; padding: 0; }
.icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; }
.icon-button:active, .nav-button:active, .round-button:active, .action-control:active { transform: scale(.965); }
.icon-button:hover { background: rgba(0,0,0,.035); }
.icon { height: 24px; width: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Main screen follows the screenshot's generous white space and precise stacking. */
.top-tools { height: 62px; display: flex; justify-content: flex-end; align-items: center; gap: 6px; padding: 10px 15px 0 15px; }
.tool-icon .icon { height: 25px; width: 25px; stroke-width: 2.35; }
.notification-wrap { position: relative; }
.notification-dot { position: absolute; background: #ef4444; width: 9px; height: 9px; border-radius: 50%; top: 4px; right: 2px; border: 1px solid var(--page); }
.accounts-heading-row { display: flex; align-items: center; justify-content: space-between; margin: 6px 17px 0; height: 58px; }
h1 { font-size: 36px; letter-spacing: -1.2px; line-height: 1.1; font-weight: 750; margin: 0; }
.heading-more { width: 43px !important; height: 43px !important; background: #f0f1f2 !important; }
.heading-more .icon { width: 23px; height: 23px; stroke-width: 2.5; }
.account-card { height: 263px; margin: 36px 16px 0; padding: 16px; background: #fff; border-radius: 9px; box-shadow: 0 1px 4px rgba(15,25,28,.08), 0 8px 22px rgba(15,25,28,.035); position: relative; }
.account-top { display: flex; align-items: center; justify-content: space-between; height: 34px; }
.account-name { color: #181d20; font-size: 14px; white-space: nowrap; }
.account-number { color: #7e8183; margin-left: 3px; }
.account-gear { height: 35px !important; width: 35px !important; background: #f2f3f4 !important; }
.account-gear .icon { width: 20px; height: 20px; stroke-width: 2.1; }
.chip-row { display: flex; gap: 5px; margin-top: 3px; }
.account-chip { padding: 5px 9px; background: #f2f3f4; border-radius: 20px; line-height: 1.2; font-size: 14px; }
.balance { font-weight: 760; font-size: 27px; letter-spacing: .1px; margin-top: 22px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.account-actions { display: flex; justify-content: space-between; gap: 3px; margin-top: 19px; align-items: flex-start; }
.action-control { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 15px; background: transparent; border: 0; padding: 0; min-width: 0; color: #11191c; }
.action-circle { background: #f2f3f4; display: grid; place-items: center; height: 51px; width: 51px; border-radius: 50%; }
.action-circle.primary { background: var(--yellow); }
.action-circle .icon { width: 25px; height: 25px; stroke-width: 2.15; }
.action-label { font-size: 14px; white-space: nowrap; }
.orders-panel { margin-top: 34px; }
.tabs-wrap { display: flex; align-items: stretch; gap: 0; margin: 0 16px; height: 45px; border-bottom: 1px solid #d7dcdc; }
.order-tab { position: relative; background: none; border: none; color: #808486; font-size: 16px; font-weight: 400; padding: 0 13px 12px; flex: 0 0 auto; }
.order-tab:first-child { padding-left: 13px; }
.order-tab.active { color: var(--ink); }
.order-tab.active:after { position: absolute; content: ''; width: 100%; height: 2px; background: #1b2427; bottom: -1px; left: 0; }
.order-sort { margin-left: auto; margin-right: 1px; align-self: center; margin-top: -9px; color: #7e8587 !important; }
.order-sort .icon { height: 24px; width: 24px; }
.orders-body { padding: 20px 16px 26px; }
.empty-headline { font-size: 16px; line-height: 1.4; margin: 0 0 10px; color: #1c2428; }
.instrument-tiles { display: flex; gap: 5px; align-items: stretch; }
.instrument-tile { border: 1px solid #dbdddd; border-radius: 4px; background: white; width: calc((100% - 100px) / 2); flex: 0 0 calc((100% - 100px) / 2); min-width: 0; height: 125px; display: flex; flex-direction: column; align-items: center; padding: 8px 4px 5px; color: #182125; }
.instrument-tile strong { font-size: clamp(13px, 3.9vw, 16px); white-space: nowrap; font-weight: 750; letter-spacing: -.4px; }
.flag-pair { display: flex; justify-content: center; align-items: center; margin-top: 12px; margin-bottom: 9px; }
.flag-pair svg { height: 27px; width: 27px; border-radius: 50%; }
.flag-pair svg + svg { margin-left: -4px; }
.instrument-quote { font-size: 14px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.change-pill { font-size: 14px; border-radius: 30px; padding: 3px 8px; margin-top: 4px; background: #fdf0f0; color: #bf3835; display: flex; align-items: center; gap: 3px; }
.change-pill .icon { width: 14px; height: 14px; stroke-width: 2.5; }
.change-pill.positive { background: #eaf9f0; color: #168353; }
.view-all { border: 0; background: none; display: flex; flex: 0 0 75px; align-items: center; flex-direction: column; padding: 24px 0 0; gap: 9px; font-size: 16px; color: #182126; white-space: nowrap; }
.view-all-circle { height: 52px; width: 52px; background: #f0f1f2; display: grid; place-items: center; border-radius: 50%; }
.view-all-circle .icon { width: 24px; height: 24px; }
.bottom-nav { position: absolute; z-index: 10; bottom: env(safe-area-inset-bottom, 0px); left: 0; right: 0; height: var(--bar-height); border-top: 1px solid #ededed; display: flex; align-items: stretch; background: #fff; padding: 8px 4px 6px; }
.nav-button { width: 20%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; color: #777d7e !important; }
.nav-button.active { color: #182226 !important; }
.nav-button .icon { width: 24px; height: 24px; stroke-width: 2.05; }
.nav-button span { letter-spacing: 1px; font-size: 12px; white-space: nowrap; }
/* Reusable functional secondary pages */
.subpage { min-height: 100%; padding-bottom: 28px; }
.subpage-header { display: flex; align-items: center; min-height: 70px; padding: 15px 16px 2px; gap: 12px; }
.subpage-header h1 { font-size: 28px; letter-spacing: -.7px; }
.subpage-header .back { margin-left: -8px; }
.subpage-header .header-trailing { margin-left: auto; }
.hero-heading { padding: 31px 18px 18px; font-size: 34px; font-weight: 750; letter-spacing: -.8px; line-height: 1.1; }
.secondary-tools { display: flex; justify-content: flex-end; height: 44px; align-items: center; padding: 0 14px; }
.content-pad { padding: 0 16px 24px; }
.muted { color: var(--muted); }
.section-title { font-size: 19px; font-weight: 700; margin: 23px 0 13px; }
.surface { background: white; border: 1px solid #edf0ef; border-radius: 12px; padding: 17px; box-shadow: 0 3px 12px rgba(10,21,25,.025); }
.group-list { background: white; border-radius: 13px; border: 1px solid #edf0ef; overflow: hidden; }
.group-row { width: 100%; display: flex; align-items: center; text-align: left; padding: 16px; border: none; border-bottom: 1px solid #eef0f0; background: #fff; min-height: 62px; gap: 12px; color: #152024; }
.group-row:last-child { border-bottom: none; }
.group-row:active, .market-row:active { background: #f6f7f7; }
.row-icon { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: #f2f4f4; display: grid; place-items: center; }
.row-icon .icon { width: 20px; height: 20px; }
.row-main { flex: 1; min-width: 0; }
.row-main strong { display: block; font-size: 15px; font-weight: 600; }
.row-main small { display: block; color: var(--muted); margin-top: 4px; font-size: 12px; }
.row-chevron { width: 18px; height: 18px; color: #7c8385; }
.pill-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 13px; }
.pill-row::-webkit-scrollbar { display: none; }
.filter-pill { border: 1px solid #e8ebea; border-radius: 28px; padding: 9px 16px; background: #fff; color: #737979; font-size: 14px; white-space: nowrap; }
.filter-pill.active { background: #172125; color: white; border-color: #172125; }
.search-box { background: white; border-radius: 11px; display: flex; align-items: center; padding: 0 13px; gap: 9px; border: 1px solid #e2e6e5; margin: 12px 0 14px; }
.search-box .icon { width: 21px; height: 21px; color: #828789; }
.search-box input { background: transparent; border: 0; width: 100%; padding: 15px 0; outline: none; color: var(--ink); }
.market-row { border: none; background: #fff; display: flex; align-items: center; width: 100%; padding: 14px 13px; gap: 12px; border-bottom: 1px solid #eef0f0; text-align: left; color: var(--ink); }
.market-row:last-child { border-bottom: 0; }
.market-row .flag-pair { margin: 0; }
.market-row .flag-pair svg { width: 23px; height: 23px; }
.market-info { flex: 1; min-width: 0; }
.market-info strong { display: block; font-size: 15px; }
.market-info small { color: #878b8d; margin-top: 4px; display: block; }
.market-price { font-size: 15px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.market-price small { display: block; font-weight: 400; margin-top: 4px; color: #c43e38; }
.market-price small.positive { color: #198e66; }
.preview-banner { display: flex; gap: 9px; align-items: flex-start; padding: 13px 14px; background: #fff9df; border: 1px solid #f5edbc; border-radius: 10px; font-size: 13px; line-height: 1.5; margin-bottom: 18px; }
.preview-banner .icon { width: 19px; height: 19px; margin-top: 1px; flex-shrink: 0; }
.field { display: block; font-size: 14px; font-weight: 550; margin: 17px 0; }
.field span { display: block; margin-bottom: 7px; }
.field input, .field select { width: 100%; border: 1px solid #d9dede; background: #fff; color: var(--ink); border-radius: 9px; height: 47px; padding: 0 13px; font-size: 16px; }
.field input:focus, .field select:focus { outline: 2px solid #d3bb00; outline-offset: 0; border-color: #d3bb00; }
.primary-btn { display: block; width: 100%; border: 0; border-radius: 10px; background: var(--yellow); color: #131b1f; font-weight: 700; font-size: 16px; min-height: 50px; padding: 12px 16px; margin-top: 23px; }
.secondary-btn { display: block; width: 100%; border: 1px solid #dbe0df; border-radius: 10px; background: white; color: #152024; font-weight: 600; min-height: 48px; padding: 12px; margin-top: 10px; }
.inline-actions { display: flex; gap: 12px; }
.inline-actions > * { flex: 1; }
.note { font-size: 13px; color: #777f82; line-height: 1.55; }
.big-stat { font-size: 33px; font-weight: 750; font-variant-numeric: tabular-nums; }
.grid-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.stat-label { font-size: 13px; color: #7a8182; }
.stat-number { font-size: 19px; font-weight: 700; margin-top: 11px; }
.placeholder-chart { height: 180px; display: block; width: 100%; }
.chart-line { fill: none; stroke: #e1bb00; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart-grid { stroke: #e9eeee; stroke-width: 1; }
.ticket-price { font-size: 34px; font-weight: 750; margin-top: 6px; font-variant-numeric: tabular-nums; }
.ticket-symbol { font-size: 17px; color: #687072; }
.trade-controls { display: flex; gap: 12px; margin-top: 18px; }
.sell-btn, .buy-btn { flex: 1; border: 0; border-radius: 10px; min-height: 52px; color: white; font-size: 17px; font-weight: 650; }
.sell-btn { background: #d04b46; }
.buy-btn { background: #159968; }
.orders-list { display: grid; gap: 10px; }
.order-card { border-radius: 11px; background: #fff; border: 1px solid #e9eded; padding: 14px; }
.order-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.order-card strong { font-size: 15px; }
.order-card small { color: #7d8386; display: block; margin-top: 8px; }
.order-card .order-side { color: #178a60; font-size: 12px; font-weight: 650; }
.order-card .order-side.sell { color: #c83e36; }
.small-btn { border: 1px solid #dadee0; background: #fff; padding: 8px 11px; border-radius: 8px; font-size: 12px; }
.empty-centered { text-align: center; padding: 56px 20px; }
.empty-centered .icon { color: #a7adaf; width: 48px; height: 48px; margin: 0 auto 15px; }
.empty-centered strong { display: block; font-size: 18px; }
.empty-centered p { color: #868d8f; line-height: 1.5; font-size: 14px; }
.activity-list { margin-top: 15px; }
.activity-row { padding: 13px 1px; border-bottom: 1px solid #ebeeee; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.activity-row:last-child { border-bottom: none; }
.activity-row small { display: block; margin-top: 6px; color: #81888a; }
/* Accessible dialogs / menus */
.overlay-backdrop { position: fixed; z-index: 20; inset: 0; display: flex; align-items: flex-end; justify-content: center; background: rgba(10,20,24,.43); }
.sheet { width: min(540px,100%); max-height: 85dvh; overflow-y: auto; border-radius: 22px 22px 0 0; background: white; padding: 12px 20px calc(25px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -8px 30px rgba(0,0,0,.13); }
.sheet-handle { height: 5px; width: 42px; border-radius: 8px; background: #ddd; margin: 0 auto 19px; }
.sheet-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.sheet-header h2 { margin: 0; font-size: 22px; }
.sheet .group-row { padding-left: 2px; padding-right: 2px; }
#toast-root { pointer-events: none; position: fixed; z-index: 30; bottom: calc(100px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); width: min(calc(100% - 32px),500px); }
.toast { background: #172125; color: #fff; box-shadow: 0 5px 20px rgba(0,0,0,.22); border-radius: 12px; padding: 13px 16px; font-size: 14px; }
@media (max-width: 355px) {
  h1 { font-size: 32px; }
  .account-card { margin: 25px 12px 0; padding: 13px; height: 248px; }
  .balance { font-size: 24px; margin-top: 19px; }
  .account-actions { margin-top: 17px; }
  .action-circle { height: 46px; width: 46px; }
  .action-label { font-size: 12px; }
  .orders-panel { margin-top: 25px; }
  .orders-body { padding-left: 12px; padding-right: 12px; }
  .tabs-wrap { margin: 0 12px; }
  .instrument-tile strong { letter-spacing: -.6px; font-size: 12px; }
  .view-all { flex-basis: 64px; font-size: 13px; }
  .nav-button span { font-size: 10px; letter-spacing: .3px; }
}
@media (min-width: 541px) { body { background: #e9eceb; } .app-shell { box-shadow: 0 0 35px #00000015; } }
@media (max-height: 680px) { .account-card { margin-top: 15px; } .orders-panel { margin-top: 17px; } }
@media (prefers-reduced-motion: reduce) { * { transition-duration: 0s !important; animation-duration: .01ms !important; scroll-behavior: auto !important; } }
/* Screenshot-matched, functional tab screens, edition 2. No screenshot is used as a background. */
.tab-screen { min-height: 100%; padding-bottom: 32px; }
.tab-screen h1,.tab-screen h2 { color: #121c20; }
.trade-screen { background: #f9fbfa; }
.insights-screen,.profile-screen { background: #fff; }
.performance-screen { background: #f9fbfa; }
.top-account-pill { height: 59px; padding-top: 8px; display: flex; align-items: flex-start; justify-content: center; }
.balance-selector { height: 40px; min-width: 130px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #dfe1e2; color: #152024; background: #fff; border-radius: 28px; padding: 0 12px 0 16px; }
.balance-selector strong { font-size: 18px; font-weight: 740; white-space: nowrap; letter-spacing: .1px; }
.balance-selector .icon { width: 18px; height: 19px; stroke-width: 2.6; }
.tab-hero { height: 61px; display: flex; align-items: flex-start; justify-content: space-between; padding: 11px 14px 0 17px; }
.tab-hero h1 { font-size: 38px; letter-spacing: -1.25px; line-height: 1; font-weight: 760; }
.trade-history { width: 35px !important; height: 35px !important; margin-top: 0; }
.trade-history .icon { width: 26px; height: 26px; stroke-width: 2.3; }
.trade-tabs { display: flex; height: 48px; align-items: stretch; overflow: hidden; border-bottom: 1px solid #d9dede; }
.trade-tab { background: none; border: 0; position: relative; white-space: nowrap; height: 100%; padding: 0 12px 8px; color: #808485; font-size: clamp(14px,4.05vw,18px); flex: 0 1 auto; }
.trade-tab:first-child { margin-left: 4px; }
.trade-tab.active { color: #121b1e; }
.trade-tab.active:after { content: ''; position: absolute; height: 3px; background: #111c1e; left: 8px; right: 8px; bottom: -1px; }
.trade-tabs .search-trigger { margin: 0 9px 6px auto; flex-shrink: 0; height: 38px; width: 38px; }
.trade-tabs .search-trigger svg { height: 30px; width: 30px; stroke-width: 2.1; }
.trade-search-area { padding: 0 14px; }
.trade-search-area .search-box { margin: 13px 0 4px; }
.trade-tools { display: flex; align-items: center; gap: 8px; padding: 12px 16px 18px; }
.trade-chip { height: 37px; border: 0; border-radius: 40px; display: inline-flex; align-items: center; gap: 5px; background: #eff0f1; padding: 0 13px; white-space: nowrap; color: #73797a; font-size: 15px; }
.trade-chip .icon { width: 17px; height: 17px; stroke-width: 2.2; }
.trade-edit { color: #172125; font-size: 16px; }
.trade-edit.selected { background: #fff2bd; }
.quote-list { padding: 0 16px 16px; display: grid; gap: 6px; }
.quote-card { background: #fff; border-radius: 11px; width: 100%; display: flex; align-items: center; overflow: hidden; min-width: 0; }
.quote-card-body { width: 100%; min-width: 0; height: 79px; border: 0; background: transparent; color: #182125; display: flex; align-items: center; gap: 8px; padding: 10px 17px; text-align: left; }
.quote-card-body:active { background: #f4f5f5; }
.asset-flag { width: 28px; height: 31px; flex: 0 0 28px; display: grid; place-items: center; }
.asset-flag .flag-pair { margin: 0; }
.asset-flag .flag-pair svg { height: 20px; width: 20px; }
.asset-flag .flag-pair svg+svg { margin-left: -9px; }
.asset-emblem { position: relative; flex: 0 0 29px; width: 29px; height: 29px; background: #020304; color: #fff; border-radius: 50%; display: grid; place-items: center; }
.asset-emblem svg { width: 27px; height: 27px; }
.asset-emblem.ndx-emblem { background: #f6f6f6; font-size: 23px; overflow: hidden; }
.ndx-emblem small { position: absolute; font-size: 8px; font-weight: 800; color: white; background: #d53d37; padding: 1px 3px; bottom: 2px; }
.quote-info { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; gap: 9px; overflow: hidden; }
.quote-name { display: inline-flex; align-items: center; gap: 7px; min-width: 0; white-space: nowrap; font-size: clamp(15px,4.2vw,19px); font-weight: 720; line-height: 1; }
.risk-mark { height: 15px; display: inline-flex; gap: 2px; }
.risk-mark b { display: inline-block; width: 4px; height: 13px; background: #d84230; }
.quote-description { font-size: clamp(12px,3.8vw,16px); color: #838889; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
.sparkline { width: clamp(48px,18vw,83px); height: 37px; flex: 0 1 clamp(48px,18vw,83px); }
.quote-price-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; white-space: nowrap; flex-shrink: 0; min-width: 80px; }
.quote-price { font-size: clamp(17px,4.8vw,21px); color: #182125; font-weight: 450; font-variant-numeric: tabular-nums; }
.quote-change { color: #e05248; font-size: clamp(14px,4.05vw,18px); font-variant-numeric: tabular-nums; }
.quote-change.up { color: #269bec; }
.favorite-toggle { border: 0; width: 36px; height: 40px; background: #fff; flex-shrink: 0; color: #d04d45; display: grid; place-items: center; }
.favorite-toggle .icon { height: 18px; width: 18px; }
/* Insights — balance, horizontally scrollable analysis, calendar events. */
.tab-screen-title { font-size: 37px; padding: 15px 17px 0; letter-spacing: -1.4px; }
.insights-sections { padding-top: 20px; }
.insights-section-link { border: 0; width: 100%; background: transparent; color: #111c20; text-align: left; padding: 0 19px 0 17px; height: 62px; display: flex; align-items: center; justify-content: space-between; }
.insights-section-link strong { font-size: clamp(21px,5.25vw,24px); font-weight: 720; letter-spacing: -.6px; }
.insights-section-link .icon { width: 24px; height: 24px; stroke-width: 2.5; }
.signal-section-title { margin-top: 8px; }
.signal-carousel { display: flex; width: 100%; overflow-x: auto; gap: 9px; padding: 2px 15px 5px 17px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.signal-carousel::-webkit-scrollbar { display: none; }
.signal-card { flex: 0 0 min(231px,76vw); height: 237px; padding: 0; display: flex; flex-direction: column; text-align: left; overflow: hidden; background: white; border: 1px solid #dce0e0; border-radius: 9px; color: #121c20; scroll-snap-align: start; }
.signal-head { display: flex; align-items: baseline; gap: 7px; padding: 8px 8px 0; white-space: nowrap; }
.signal-head strong { font-size: 11px; font-weight: 740; }
.signal-head span { font-size: 9px; color: #657075; }
.signal-date { font-size: 9px; color: #555d61; padding: 9px 8px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.signal-legend { height: 17px; padding: 7px 8px 0; font-size: 7px; color: #969fa5; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.legend-red { color: #fa7f87; }.legend-blue { color: #3b78b8; }.legend-credit { font-size: 6px; margin-left: auto; }
.signal-chart { width: 100%; height: 98px; display: block; flex-shrink: 0; }
.signal-description { border-top: 1px solid #ebeeee; padding: 6px 9px 0; color: #141f23; font-size: 18px; line-height: 1.4; flex: 1; overflow: hidden; }
.signal-footer { display: flex; justify-content: space-between; align-items: center; padding: 0 9px 9px; gap: 5px; color: #808789; font-size: 13px; }
.signal-direction { display: inline-flex; gap: 7px; align-items: center; border-radius: 30px; background: #ed4842; color: #fff; height: 27px; padding: 0 10px; font-size: 14px; white-space: nowrap; }
.signal-direction .icon { width: 14px; height: 14px; }
.events-section-title { margin-top: 18px; }
.event-teasers { display: grid; gap: 7px; }
.event-teaser { min-height: 72px; border: 0; background: transparent; color: #151e22; display: flex; align-items: center; text-align: left; gap: 14px; padding: 9px 16px; width: 100%; }
.event-teaser .icon { margin-left: auto; width: 20px; }
.country-icon { display: grid; place-items: center; width: 43px; height: 43px; font-size: 39px; border-radius: 50%; overflow: hidden; flex-shrink: 0; line-height: 1; }
.event-content { display: block; flex: 1; min-width: 0; }
.event-content strong { font-weight: 500; display: block; font-size: 19px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.event-content small { display: flex; align-items: center; color: #222d31; font-size: 17px; margin-top: 5px; gap: 8px; }
.impact-bars { display: inline-flex; gap: 2px; align-items: end; height: 14px; }
.impact-bars i { width: 5px; height: 13px; background: #c0c3c5; display: block; }
.impact-bars i:first-child { background: #ffdb00; }
.signal-collection { display: grid; gap: 12px; }
.signal-collection .signal-card { width: 100%; height: 285px; flex-basis: 100%; }
.signal-collection .signal-head strong { font-size: 16px; }
.signal-collection .signal-date { font-size: 12px; }
.signal-collection .signal-chart { height: 150px; }
.signal-detail .signal-chart { height: 210px; }
/* Performance — UTC note, filters, chart and its axes are actual DOM/SVG. */
.performance-title { padding: 76px 16px 0; font-size: 37px; letter-spacing: -1.25px; }
.timezone-hint { margin: 12px 16px 0; min-height: 57px; display: flex; gap: 9px; align-items: flex-start; border-bottom: 1px solid #dde0e1; padding-bottom: 12px; font-size: 14px; line-height: 1.35; }
.timezone-hint .icon { color: #81898b; width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.performance-filters { display: flex; flex-wrap: wrap; gap: 7px; padding: 20px 16px 7px; }
.rounded-filter { display: inline-flex; align-items: center; gap: 4px; height: 31px; font-size: 15px; padding: 0 12px; background: #eff0f1; border: none; border-radius: 30px; color: #222b2f; }
.rounded-filter .icon { width: 16px; height: 16px; }
.performance-section-label { display: flex; align-items: center; justify-content: space-between; margin: 15px 16px 11px; }
.performance-section-label h2 { margin: 0; font-size: 21px; font-weight: 720; }
.performance-section-label .icon-button .icon { height: 22px; width: 22px; }
.performance-graph { position: relative; margin: 0 15px; background: white; border-radius: 8px; height: 388px; overflow: hidden; }
.graph-profit { display: block; padding: 18px 16px 0; font-size: 17px; font-weight: 740; }
.performance-graph svg { width: 100%; height: 329px; margin-top: 0; }
.sample-caption { display: block; position: absolute; bottom: 6px; right: 12px; font-size: 9px; color: #9aa0a0; }
.performance-secondary { margin: 10px 15px 20px; }
.performance-secondary h2 { margin: 20px 0 12px; font-size: 21px; }
/* Profile — bronze membership panel and grouped icon rows. */
.profile-tools { height: 73px; display: flex; justify-content: flex-end; padding: 18px 16px 0; }
.profile-tools .icon { width: 25px; height: 25px; stroke-width: 2.05; }
.profile-heading { font-size: 38px; letter-spacing: -1.4px; padding: 18px 17px 0; }
.bronze-card { width: calc(100% - 34px); margin: 29px 17px 0; height: 150px; overflow: hidden; border: 0; border-radius: 8px; color: #fff; text-align: left; padding: 17px 18px 16px; display: flex; flex-direction: column; background:
  linear-gradient(152deg,transparent 0%,transparent 22%,rgba(255,208,179,.2) 22.4%,transparent 23.3%,transparent 58%,rgba(0,0,0,.24) 58.5%,transparent 61%,transparent 100%),
  linear-gradient(132deg,#200907 0%,#1a0806 32%,#593122 66%,#1e0c08 80%,#3b1e15 100%); }
.bronze-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 7px; }
.bronze-card-top strong { font-size: 21px; font-weight: 750; }
.bronze-card-top b { font-size: 16px; font-weight: 720; }
.bronze-subtitle { font-size: 15px; margin-top: 9px; color: #b9aaa5; }
.bronze-progress-label { display: flex; justify-content: space-between; margin-top: auto; color: #fff; font-size: 14px; }
.bronze-progress-label span:last-child { color: #b9aaa5; }
.bronze-progress-track { width: 100%; background: #6b5048; height: 5px; border-radius: 5px; margin-top: 10px; }
.bronze-progress-track i { height: 5px; width: 0; display: block; background: #ffd27a; }
.profile-group { margin: 30px 17px 0; }
.profile-group h2 { font-size: 22px; font-weight: 740; margin: 0 0 15px; }
.profile-item { border: 0; background: #fff; width: 100%; text-align: left; min-height: 85px; display: flex; align-items: center; color: #131e22; gap: 14px; padding: 5px 0; }
.profile-item-icon { height: 51px; width: 51px; border-radius: 50%; background: #f3f4f5; flex-shrink: 0; display: grid; place-items: center; }
.profile-item-icon .icon { height: 25px; width: 25px; stroke-width: 1.9; }
.profile-item-main { flex: 1; min-width: 0; }
.profile-item-main strong { font-size: 18px; font-weight: 490; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.profile-item-main small { color: #888a8e; font-size: 13px; display: block; margin-top: 5px; }
.profile-trailing { height: 23px; width: 23px; color: #7d8588; }
.profile-chevron { height: 22px; width: 22px; }
.status-success { padding: 6px 9px; border-radius: 18px; background: #eefbf6; color: #268a5e; font-size: 13px; white-space: nowrap; }
.benefits-group { margin-top: 26px; }
.profile-foot-note { color: #aaa; font-size: 11px; margin: 23px 17px 0; }
.verification-banner { display: flex; align-items: center; gap: 10px; color: #168559; font-size: 20px; }
.verification-banner .icon { height: 27px; width: 27px; }
.sheet-option-list { display: grid; }
.sheet-option { border: 0; background: #fff; border-bottom: 1px solid #eff0f0; padding: 17px 4px; text-align: left; display: flex; align-items: center; justify-content: space-between; color: #172126; }
.sheet-option .icon { color: #168559; height: 19px; width: 19px; }
.compact-quotes { padding: 10px 0; }
@media (max-width: 360px) {
 .trade-tab { padding: 0 7px 7px; font-size: 14px; }
 .trade-tabs .search-trigger { margin-right: 4px; }
 .quote-card-body { padding-left: 9px; padding-right: 9px; gap: 5px; }
 .quote-name { font-size: 14px; gap: 4px; }
 .quote-price { font-size: 16px; }
 .quote-description,.quote-change { font-size: 12px; }
 .quote-price-wrap { min-width: 70px; }
 .sparkline { width: 43px; flex-basis: 43px; }
 .risk-mark b { width: 3px; }
 .status-success { font-size: 11px; padding: 5px; }
 .profile-item-main strong { font-size: 15px; }
 .event-content strong { font-size: 16px; }
 .signal-card { flex-basis: 207px; }
}
@media (min-width: 541px) { .tab-screen { min-height: 100%; } }
/* Fine alignment at the S26 Ultra reference aspect ratio (CSS-pixel based). */
.tab-hero { height: 51px; }
.trade-tools { padding-bottom: 8px; }
.quote-name { font-size: clamp(16px,4.35vw,19px); }
.insights-sections { padding-top: 14px; }
.events-section-title { margin-top: 0; height: 50px; }
.performance-title { padding-top: 90px; }
.timezone-hint { margin-top: 18px; }
.performance-filters { padding-top: 26px; }
.performance-graph { height: 398px; }
.performance-graph svg { height: 339px; }
.bronze-card { margin-top: 34px; height: 158px; }
.benefits-group { margin-top: 39px; }
.benefits-group h2 { margin-bottom: 20px; }
.insights-screen { overflow-x: clip; }
.insights-sections { padding-top: 8px; }
.insights-section-link { height: 56px; }
.signal-section-title { margin-top: 7px; }
.events-section-title { height: 50px; margin-top: -8px; }
.signal-card .signal-chart { height: 90px; }
.signal-card .signal-description { min-height: 0; font-size: 17px; line-height: 1.32; }
.signal-card .signal-footer { flex: 0 0 auto; }
.performance-filters { padding-top: 14px; }
.performance-section-label { margin-top: 13px; }

/* v4 — screenshot-based Accounts interactions and details */
.account-chip.demo-chip, .mini-chip.demo-chip {background:#ebf9f2;color:#25885b;}
.account-menu-dismiss {position:fixed;inset:0;z-index:39;background:transparent;}
.account-popover {position:fixed;z-index:40;width:min(238px,calc(100vw - 28px));background:#fff;border-radius:12px;padding:7px 0;box-shadow:0 3px 16px #0002,0 12px 28px #0000000d;animation:popShow .14s ease-out;}
.account-popover button {width:100%;min-height:55px;display:flex;align-items:center;gap:15px;padding:12px 17px;border:0;background:transparent;color:#171f23;text-align:left;font-size:15px;}
.account-popover button:active {background:#f5f6f7;}
.account-popover .icon {width:23px;height:23px;stroke-width:2.2;}
@keyframes popShow {from{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
.overlay-backdrop {background:rgba(0,0,0,.55);}
.sheet {animation:sheetSlideIn .23s cubic-bezier(.22,.75,.3,1);overscroll-behavior:contain;}
@keyframes sheetSlideIn {from{transform:translateY(100%)}to{transform:translateY(0)}}
.sheet:focus {outline:none;}
.sheet-handle {margin:2px auto 18px;background:#e5e5e5;width:39px;height:5px;}
.sheet.withdraw-sheet {height:min(445px,58dvh);padding:12px 21px calc(20px + env(safe-area-inset-bottom,0px));border-radius:20px 20px 0 0;}
.withdraw-sheet .sheet-header {display:block;text-align:center;margin:0 0 10px;}
.withdraw-sheet .sheet-header h2 {font-size:19px;font-weight:730;line-height:1.5;}
.withdraw-list {display:flex;flex-direction:column;gap:12px;}
.withdraw-method {display:flex;align-items:center;gap:15px;min-height:80px;width:100%;border:0;background:#fff;padding:4px 5px;color:#10191c;text-align:left;}
.withdraw-method strong {flex:1;font-size:17px;font-weight:440;white-space:nowrap;}
.withdraw-method .method-circle {width:52px;height:52px;display:grid;place-items:center;border-radius:50%;background:#f3f4f5;}
.withdraw-method .method-circle .icon {width:25px;height:25px;}
.withdraw-method .method-amount {color:#7d8182;font-size:16px;white-space:nowrap;}
.withdraw-method>.icon {width:24px;height:24px;margin-left:1px;}
.withdraw-method:active {background:#f8f9f9;}
.account-switcher-sheet {height:80dvh;max-height:90dvh;display:flex;flex-direction:column;padding:12px 18px calc(21px + env(safe-area-inset-bottom,0px));border-radius:20px 20px 0 0;overflow:hidden;}
.account-switcher-sheet .sheet-handle {flex-shrink:0;margin-bottom:21px;}
.switcher-toggle {display:grid;grid-template-columns:1fr 1fr;border:1px solid #dedfe1;border-radius:10px;min-height:57px;padding:4px;flex-shrink:0;}
.switcher-toggle button {border:0;border-radius:7px;background:transparent;font-size:19px;color:#182126;}
.switcher-toggle button.selected {background:#f3f4f5;}
.switcher-scroll {overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;flex:1;margin-top:20px;}
.switcher-scroll::-webkit-scrollbar {display:none;}
.switcher-account {width:100%;border:0;background:#fff;border-radius:9px;padding:20px 18px 19px;text-align:left;color:#152023;display:flex;flex-direction:column;gap:9px;margin:4px 0 7px;}
.switcher-account.selected {background:#f2f3f5;}
.switcher-account:active {background:#f1f4f3;}
.switcher-top {display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:20px;white-space:nowrap;}
.switcher-top span:last-child {font-variant-numeric:tabular-nums;}
.switcher-meta {display:flex;align-items:center;gap:6px;white-space:nowrap;min-width:0;font-size:16px;}
.mini-chip {padding:4px 7px;line-height:1.15;border-radius:20px;background:#f3f4f5;}
.switcher-account.selected .mini-chip {background:#e6e9eb;}
.switcher-account.selected .mini-chip.demo-chip {background:#e2f8ed;color:#24885f;}
.switcher-number {padding-left:3px;overflow:hidden;text-overflow:ellipsis;}
.archived-toggle {width:100%;display:flex;justify-content:space-between;align-items:center;background:none;border:0;color:#161f24;font-size:18px;font-weight:700;margin-top:19px;padding:10px 15px;}
.archived-toggle .icon {width:24px;height:24px;}
.archived-empty,.switcher-empty {padding:8px 15px;color:#8d9192;}
.switcher-create {height:62px;width:100%;background:#f2f3f5;border:0;border-radius:7px;display:flex;gap:12px;align-items:center;justify-content:center;font-size:19px;flex-shrink:0;margin-top:12px;color:#142025;}
.switcher-create .icon {width:29px;height:29px;}
.nickname-form .field {margin-bottom:19px;}
.method-choice {display:flex;flex-direction:column;gap:7px;margin:15px 0;}
.method-choice .small-btn {align-self:flex-start;}

/* Account detail fullscreen — Funds/Settings */
.app-shell.account-detail-active .bottom-nav {display:none;}
.app-shell.account-detail-active .app-content {height:100%;}
.account-detail-page {min-height:100%;padding-bottom:35px;background:#f8faf9;}
.account-detail-heading {min-height:75px;display:flex;align-items:center;padding:14px 16px 8px;gap:13px;}
.account-detail-heading h1 {font-size:27px;letter-spacing:-.35px;font-weight:730;}
.detail-close {width:33px;height:39px;}
.detail-close .icon {width:27px;height:27px;stroke-width:2;}
.detail-tabs {height:51px;display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #e2e4e3;}
.detail-tab {position:relative;background:transparent;border:0;font-size:17px;font-weight:440;color:#162024;}
.detail-tab.active:after {position:absolute;content:'';height:3px;background:#1e262a;left:0;right:0;bottom:-1px;}
.detail-main {padding:22px 16px 40px;}
.account-detail-card {padding:3px 17px;background:#fff;border-radius:11px;margin:0 0 18px;overflow:hidden;}
.account-detail-row {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0;width:100%;min-height:49px;font-size:15px;background:none;border:0;text-align:left;color:#1b2428;}
.account-detail-row>span:first-child {flex:1;white-space:nowrap;}
.account-detail-value {display:flex;align-items:center;gap:7px;justify-content:flex-end;text-align:right;font-size:15px;white-space:nowrap;max-width:65%;}
.account-detail-value .icon {width:21px;height:21px;stroke-width:2.2;}
.account-detail-value .account-chip {padding:4px 8px;font-size:13px;}
.detail-row-button {display:flex;width:100%;background:white;border:0;border-radius:8px;align-items:center;justify-content:space-between;text-align:left;padding:18px 17px;min-height:53px;margin-bottom:18px;font-size:15px;color:#1b2428;}
.detail-row-button .icon {width:22px;height:22px;}
.detail-actions {background:#fff;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-radius:10px;padding:19px 10px 22px;gap:4px;}
.detail-action {background:transparent;border:0;display:flex;flex-direction:column;align-items:center;gap:13px;color:#172124;white-space:nowrap;font-size:13px;padding:0;}
.detail-action>span {width:49px;height:49px;background:#f2f3f5;border-radius:50%;display:grid;place-items:center;}
.detail-action .icon {width:25px;height:25px;stroke-width:2.3;}
.detail-section-label {color:#909496;letter-spacing:1.35px;font-weight:450;font-size:14px;margin:31px 15px 12px;}
.detail-copy {padding:0 1px;border:0;background:none;color:#1a2528;}
.detail-copy .icon {width:20px;height:20px;}

/* Closed orders follow screenshot: date heading, total and tightly stacked order rows */
.orders-body:has(.closed-groups) {padding:20px 16px 35px;}
.closed-groups {display:flex;flex-direction:column;gap:14px;}
.closed-date-row {min-height:41px;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:0 12px;font-size:15px;color:#777e80;}
.closed-date-row strong {font-size:15px;font-weight:650;white-space:nowrap;}
.closed-profit {color:#168855 !important;}
.closed-loss {color:#cf4036 !important;}
.closed-trades-card {background:#fff;overflow:hidden;border-radius:10px;}
.closed-trade-row {display:flex;gap:10px;padding:13px 11px 12px;min-height:79px;border-bottom:1px solid #e9ecec;}
.closed-trade-row:last-child {border-bottom:none;}
.closed-trade-icon {width:29px;flex-shrink:0;}
.closed-trade-icon .flag-pair {margin:0;display:flex;justify-content:flex-start;}
.closed-trade-icon .flag-pair svg {width:19px;height:19px;}
.closed-trade-icon .flag-pair svg + svg {margin-left:-9px;transform:translateY(-6px);}
.closed-trade-info {min-width:0;flex:1;display:flex;flex-direction:column;gap:7px;}
.closed-trade-top {display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:16px;}
.closed-trade-top strong {font-weight:650;white-space:nowrap;}
.closed-trade-top strong:last-child {font-size:15px;}
.closed-trade-bottom {display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;color:#777f81;white-space:nowrap;}
.closed-trade-bottom em {font-style:normal;}
.closed-trade-bottom em.closed-sell {color:#e34c4a;}
.closed-trade-bottom em.closed-buy {color:#209865;}
.closed-demo-note {font-size:11px;color:#93999b;text-align:center;margin:6px 0 15px;}

@media (max-width:355px){
  .withdraw-method {gap:10px;min-height:72px;}
  .withdraw-method strong {font-size:15px;}
  .withdraw-method .method-amount {font-size:14px;}
  .withdraw-method .method-circle {width:45px;height:45px;}
  .switcher-account {padding:19px 12px;}
  .switcher-top {font-size:17px;}
  .switcher-meta {font-size:13px;}
  .detail-main {padding:20px 11px 35px;}
  .account-detail-card {padding:3px 11px;}
  .account-detail-row,.account-detail-value {font-size:13px;}
  .closed-date-row {padding:0 3px;}
  .closed-trade-row {gap:7px;padding:12px 8px;}
  .closed-trade-top {font-size:14px;}
  .closed-trade-top strong:last-child {font-size:13px;}
  .closed-trade-bottom {font-size:11px;}
}
@media (max-height:650px){
  .sheet.withdraw-sheet {height:min(420px,75dvh);}
  .account-switcher-sheet {height:86dvh;}
}


/* ================================================================
   v5 Visual-fidelity refinement, based on supplied individual icons
   Retain mobile density. UI is real DOM, NOT an image of the page.
   The native Android Roboto face is preferred for the reference look.
   ================================================================ */
:root {
  font-family: Roboto, "SamsungOne", "Helvetica Neue", Arial, sans-serif;
  --ink: #152024;
  --page: #f8faf9;
  --soft: #f2f3f5;
  --bar-height: 78px;
}
html {-webkit-text-size-adjust:100%; text-size-adjust:100%;}
body {font-family:Roboto,"SamsungOne","Helvetica Neue",Arial,sans-serif;font-weight:400;letter-spacing:0;}
button,input,select,textarea {font-family:inherit;font-weight:inherit;}
h1,h2,strong,b {font-synthesis:weight;}
/* Uploaded glyph artwork is exported with transparent backgrounds. */
img.reference-icon {display:block;object-fit:contain;object-position:center;max-width:100%;flex-shrink:0;stroke:none;filter:none;user-select:none;pointer-events:none;}
.icon-button img.reference-icon {height:26px;width:26px;}
.tool-icon img.reference-icon {height:29px;width:29px;}
.tool-icon img.reference-bell {height:29px;width:29px;}
.account-gear img.reference-icon {height:20px;width:20px;}
.account-actions .action-circle {height:52px;width:52px;background:transparent;}
.account-actions .action-circle img.reference-icon {height:52px;width:52px;object-fit:contain;}
.account-actions .action-circle.primary {background:transparent;}
/* The action png already includes the exact grey/yellow circle. */
.detail-actions .detail-action > span:has(img.reference-icon) {background:transparent;}
.detail-actions .detail-action img.reference-icon {width:49px;height:49px;}
.nav-button img.reference-icon {height:26px;width:26px;object-fit:contain;}
.nav-button:not(.active) img.reference-icon {filter:grayscale(1);opacity:.63;}
.nav-button.active img.reference-icon {filter:brightness(0) saturate(100%) opacity(.94);}
.nav-button .icon {height:26px;width:26px;stroke-width:2.1;}
/* Avoid an extra red dot: unread indicator is a real DOM element. */
.notification-dot {top:3px;right:1px;width:9px;height:9px;border:1px solid var(--page);}
/* Exact-ish Android visual density and baseline control. */
h1 {font-size:35px;letter-spacing:-1.05px;font-weight:700;line-height:1.13;}
.accounts-heading-row {margin:6px 17px 0; height:57px;}
.heading-more {width:44px!important;height:44px!important;}
.account-card {padding:16px;}
.account-name {font-size:14px;letter-spacing:.02px;}
.account-number {color:#898d8f;}
.account-chip {font-size:14px;padding:5px 9px;}
.balance {font-size:27px;letter-spacing:0;font-weight:700;}
.account-actions {gap:1px;}
.action-control {gap:13px;}
.action-label {font-size:14px;font-weight:400;letter-spacing:0;}
.orders-panel {margin-top:34px;}
.order-tab {font-size:16px;letter-spacing:-.15px;}
.empty-headline {font-size:16px;letter-spacing:0;}
.instrument-tile strong {font-weight:700;letter-spacing:-.35px;}
.instrument-quote {font-weight:400;}
/* nav icons and labels have the same optical alignment as the supplied reference */
.bottom-nav {padding:7px 2px 6px;align-items:stretch;}
.nav-button {gap:8px;min-width:0;}
.nav-button span {font-size:12px;letter-spacing:.65px;font-weight:400;line-height:1.15;}
.nav-button.active span {font-weight:450;}
/* Less chunky type and narrower rows on all remaining pages */
.tab-hero h1,.tab-screen-title,.performance-title {font-size:36px;font-weight:700;letter-spacing:-1.2px;}
.profile-heading {font-weight:700;}
.quote-name {font-weight:650;}
.quote-price {font-weight:400;}
.trade-tabs .trade-tab {font-weight:400;}
.performance-section-label h2 {font-weight:650;}
.account-detail-heading h1 {font-size:27px;font-weight:650;}
.account-detail-row {font-weight:400;}
.account-detail-value {font-weight:400;}
/* Prevent oversized controls at small logical viewport widths */
.switcher-toggle {min-height:52px;}
.switcher-toggle button {font-size:17px;}
.switcher-account {padding:17px 17px 16px;gap:8px;}
.switcher-top {font-size:18px;}
.switcher-meta {font-size:14px;}
.archived-toggle {font-size:17px;}
.switcher-create {height:58px;font-size:18px;}
.withdraw-method strong {font-size:16px;}
.withdraw-method .method-amount {font-size:15px;}
.withdraw-method {min-height:75px;}
.account-popover button {font-size:15px;min-height:52px;}
/* Closed trades: keep date header and two-column price alignment tight. */
.closed-trade-row {min-height:76px;padding:12px 11px;}
.closed-trade-info {gap:8px;}
.closed-trade-top {font-size:16px;}
.closed-trade-top strong:last-child {font-size:15px;}
.closed-trade-bottom {font-size:13px;}
.closed-date-row {font-size:15px;}
.closed-trade-icon .flag-pair svg {width:22px;height:22px;}
.closed-trade-icon .flag-pair svg+svg {margin-left:-11px;transform:translateY(-7px);}
/* Android safe areas: don't let nav/buttons clip behind gestures. */
.app-shell {height:100dvh;min-height:0;}
@media(max-width:359px){
  h1 {font-size:32px;}
  .account-card {padding:14px;}
  .action-circle,.account-actions .action-circle,.account-actions .action-circle img.reference-icon {height:47px;width:47px;}
  .action-label {font-size:12.5px;}
  .nav-button span {font-size:10.5px;letter-spacing:.2px;}
  .nav-button img.reference-icon,.nav-button .icon {width:23px;height:23px;}
  .closed-trade-top {font-size:14px;}
  .closed-trade-top strong:last-child {font-size:13px;}
  .closed-trade-bottom {font-size:11px;}
  .switcher-top {font-size:16px;}
  .switcher-meta {font-size:13px;}
}
@media(prefers-reduced-motion:reduce){
  .sheet,.account-popover {animation:none!important;}
}

/* Switching Real/Demo should not re-slide the already open account sheet. */
.sheet.sheet-stable {animation:none;}

/* v6 responsive optical calibration. Standalone image assets: no screenshot pages. */
:root { --bar-height: 72px; }
.app-shell {max-width:540px;}
.bottom-nav {padding:4px 4px 4px;}
.nav-button {gap:5px;justify-content:center;}
.nav-button .icon,.nav-button img.reference-icon {width:23px;height:23px;object-fit:contain;}
.nav-button span {font-size:10.5px;letter-spacing:.18px;font-weight:400;line-height:1.17;}
.nav-button.active span {font-weight:500;}
/* Uploaded top icons are cropped to their painted bounds and retain their original aspect ratio. */
.top-tools {height:62px;gap:5px;padding-right:14px;}
.top-tools .icon-button {width:40px;height:40px;}
.tool-icon img.reference-icon,.tool-icon img.reference-bell {width:24px;height:24px;object-fit:contain;}
.notification-dot {width:8px;height:8px;top:2px;right:4px;}
.heading-more {background:transparent!important;width:42px!important;height:42px!important;}
.heading-more img.reference-ellipsis-vertical {width:42px;height:42px;object-fit:contain;}
.account-gear img.reference-icon {width:19px;height:19px;}
.account-popover button img.reference-icon {width:25px;height:25px;object-fit:contain;}
.account-popover button img.reference-plus {width:24px;height:24px;}
.account-popover button img.reference-shuffle {width:25px;height:25px;}
.switcher-create img.reference-plus {width:26px;height:26px;}
/* Preserve exact round icon bitmaps without stretching them. */
.account-actions .action-circle {width:50px;height:50px;}
.account-actions .action-circle img.reference-icon {width:50px;height:50px;object-fit:contain;}
.accounts-heading-row {height:56px;}
.action-control {gap:11px;}
.action-label {font-size:13px;}
/* Tighter layout with comfortable touch targets on small phones. */
@media (max-width:359px) {
 .nav-button span {font-size:9.5px;letter-spacing:0;}
 .nav-button .icon,.nav-button img.reference-icon {width:22px;height:22px;}
 .accounts-heading-row {margin-left:14px;margin-right:14px;}
 .account-card {margin-left:11px;margin-right:11px;padding:14px;height:258px;}
 .order-tab {font-size:14px;padding-left:9px;padding-right:9px;}
 .action-label {font-size:12px;}
}
/* Full scrolling performance dashboard: chart cards / legends match the reference density. */
.performance-screen {background:#f8faf9;min-height:100%;padding-bottom:25px;}
.performance-title {font-size:35px;line-height:1.15;padding:73px 16px 0;font-weight:710;letter-spacing:-1px;}
.performance-sticky-header {position:sticky;top:0;z-index:6;margin-bottom:-42px;height:42px;padding:10px 16px 0;box-sizing:border-box;background:#f8faf9;font-size:24px;font-weight:700;letter-spacing:-.45px;opacity:0;pointer-events:none;transition:opacity .1s;}
.performance-sticky-header.show {opacity:1;}
.performance-sticky-header:not(.show){visibility:hidden;}
.timezone-hint {font-size:13px;margin-top:12px;line-height:1.4;}
.performance-filters {padding:16px 16px 8px;gap:7px;}
.rounded-filter {font-size:13px;min-height:32px;height:32px;max-width:100%;}
.performance-data {display:flex;flex-direction:column;gap:0;}
.perf-data-section {margin:0;padding:0;}
.performance-section-label {margin:26px 16px 12px;min-height:35px;}
.performance-section-label h2 {font-size:21px;line-height:1.2;font-weight:660;letter-spacing:-.3px;}
.performance-section-label .icon-button {width:30px;height:30px;}
.performance-section-label .icon-button .icon {width:20px;height:20px;stroke-width:2.2;}
.perf-chart-card {background:#fff;border-radius:9px;margin:0 15px;overflow:hidden;min-height:365px;padding:15px 14px 8px;}
.perf-card-head {display:flex;align-items:flex-start;justify-content:space-between;gap:5px;min-height:48px;}
.perf-card-head strong {font-size:18px;font-weight:670;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.2px;}
.perf-growth {display:flex;align-items:center;gap:2px;color:#258bce;background:#f0f7fe;border-radius:30px;padding:5px 6px;font-size:12px;font-weight:600;white-space:nowrap;}
.perf-growth .icon {width:15px;height:15px;stroke-width:2.4;}
.perf-growth .icon:last-child {width:14px;height:14px;stroke-width:2.2;}
.performance-svg {display:block;width:100%;height:auto;max-height:332px;margin-top:2px;overflow:visible;}
.perf-gridline {stroke:#dfe2e3;stroke-width:1.05;}
.perf-axis-label {font-size:10.5px;fill:#898e92;font-family:Roboto,Arial,sans-serif;}
.perf-month {font-size:10.5px;}
.performance-summary {background:#fff;border-radius:9px;margin:9px 15px 0;padding:17px 18px;display:flex;flex-direction:column;gap:9px;min-height:73px;justify-content:center;}
.perf-summary-row {display:flex;align-items:center;gap:9px;font-size:13.5px;color:#777e80;min-width:0;line-height:1.25;}
.perf-summary-row strong {font-size:13.5px;font-weight:450;color:#252e32;font-variant-numeric:tabular-nums;white-space:nowrap;}
.perf-dot {width:9px;height:9px;border-radius:50%;flex:0 0 9px;}
.perf-dot.green{background:#37c980;}.perf-dot.slate{background:#314c5b;}.perf-dot.blank{background:transparent;}
.perf-dot.volume{background:#42687d;}
.perf-updated {font-size:13px;color:#81888b;margin:12px 15px 35px;padding-left:24px;}
.perf-disclaimer {margin:0 18px 20px;color:#8c9294;font-size:11px;line-height:1.5;}
/* Reuse the previous seven-day chart inside a real card without framing it twice. */
.perf-chart-card .performance-graph {margin:0;box-shadow:none;height:330px;border-radius:0;}
.perf-chart-card .performance-graph .graph-profit {display:none;}
.perf-chart-card .performance-graph svg {height:310px;width:100%;}
.perf-chart-card .performance-graph .sample-caption {font-size:9px;}
@media(max-width:355px){
 .perf-card-head strong {font-size:16px;}
 .perf-growth {font-size:10px;padding:5px 3px;}
 .perf-summary-row,.perf-summary-row strong {font-size:12px;}
 .performance-section-label h2{font-size:19px;}
 .performance-svg {max-height:310px;}
 .perf-chart-card {min-height:345px;padding:14px 7px 6px;}
}
/* Profile labels follow the lighter reference typography, not bold browser defaults. */
.profile-item-main strong {font-weight:400;}
.profile-item-main small {font-weight:400;}

/* v7 / All payment methods — full-screen payment selection from reference screenshots */
.app-shell.deposit-active {background:#fff;}
.app-shell.deposit-active .bottom-nav {display:none;}
.app-shell.deposit-active .app-content {height:100%;background:#fff;}
.deposit-screen {background:#fff;min-height:100%;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px));}
.deposit-header {height:91px;display:flex;align-items:flex-start;justify-content:space-between;padding:17px 17px 0;background:#fff;position:sticky;top:0;z-index:4;}
.deposit-header button {width:40px;height:40px;padding:6px;border:0;background:none;color:#172126;display:grid;place-items:center;cursor:pointer;}
.deposit-header .icon {width:25px;height:25px;stroke-width:2.3;}
.deposit-header .deposit-help .icon {width:26px;height:26px;stroke-width:2.3;}
.deposit-scroll-area {padding:0 17px 18px;}
.deposit-scroll-area > h1 {font-size:25px;letter-spacing:-.55px;line-height:1.16;font-weight:700;margin:13px 0 19px;}
.payment-list {display:flex;flex-direction:column;gap:18px;}
.payment-card {display:grid;grid-template-columns:54px minmax(0,1fr);gap:14px;text-align:left;align-items:start;width:100%;background:#fff;border:1px solid #e0e2e1;border-radius:10px;padding:20px 14px 20px 14px;min-height:178px;color:var(--ink);box-shadow:none;}
.payment-selectable {cursor:pointer;}
.payment-selectable:active {background:#fafbf9;}
.payment-logo-wrap {width:48px;height:51px;display:grid;place-items:start center;padding-top:0;}
.payment-logo {display:block;width:47px;height:47px;object-fit:contain;flex-shrink:0;}
.payment-meta {display:flex;flex-direction:column;min-width:0;}
.payment-name {font-size:19px;line-height:1.25;font-weight:650;letter-spacing:-.22px;color:#142024;margin:1px 0 16px;}
.payment-details {display:flex;flex-direction:column;gap:3px;font-size:15.8px;line-height:1.42;color:#182126;letter-spacing:0;}
.payment-dim {color:#818586;font-weight:400;}
.payment-detail-line {margin-top:1px;}
.payment-status {display:inline-flex;align-items:center;gap:5px;color:#9b8126;background:#fffdf2;border-radius:18px;align-self:flex-start;padding:2px 9px 2px 6px;font-size:14.5px;line-height:1.27;margin-top:-12px;margin-bottom:11px;}
.payment-status .icon {width:17px;height:17px;stroke-width:2.3;}
.payment-disabled .payment-name,.payment-disabled .payment-details {color:#7e8182;}
.payment-disabled .payment-details .payment-dim {color:#a3a6a6;}
.payment-transfer-title {font-size:23px;letter-spacing:-.38px;line-height:1.2;font-weight:700;margin:43px 0 19px;}
.payment-transfer-list .payment-card {min-height:135px;}
.deposit-footnote {font-size:11.5px;line-height:1.5;color:#a0a4a5;margin:24px 2px 14px;}
.method-detail-scroll {padding:6px 18px 45px;}
.method-detail-heading {display:flex;align-items:center;gap:13px;min-width:0;margin:12px 0 23px;}
.method-detail-heading .payment-logo {height:50px;width:50px;}
.method-detail-heading h1 {font-size:25px;font-weight:700;letter-spacing:-.4px;}
.method-detail-summary {border:1px solid #e4e7e6;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:16px;}
.method-detail-summary>div {display:flex;align-items:baseline;justify-content:space-between;gap:16px;font-size:14px;}
.method-detail-summary span {color:#808687;}
.method-detail-summary strong {font-size:15px;text-align:right;font-weight:500;}
.demo-disclosure {border-radius:10px;background:#f5f7f7;border:1px solid #e8eaea;padding:15px 16px;margin-top:22px;color:#4c5558;font-size:13px;line-height:1.55;}
.demo-disclosure strong {color:#1c272b;}
.demo-disclosure p {margin:4px 0 0;}
.demo-deposit-form {margin-top:20px;}
@media (max-width:359px) {
 .deposit-scroll-area {padding-left:12px;padding-right:12px;}
 .deposit-header {padding-left:12px;padding-right:12px;height:83px;}
 .payment-card {grid-template-columns:46px minmax(0,1fr);gap:10px;padding:18px 11px;min-height:162px;}
 .payment-logo,.payment-logo-wrap {width:43px;height:43px;}
 .payment-name {font-size:16px;}
 .payment-details {font-size:14px;}
 .payment-status {font-size:13px;}
 .deposit-scroll-area>h1 {font-size:23px;}
}

/* v8 refinement pass: tighter deposit list, smaller withdraw sheet, expanded profile, and closer balance pill */
.top-account-pill {height:56px;padding-top:10px;}
.balance-selector {height:43px;min-width:170px;gap:10px;border:1.5px solid #d7dbdd;color:#111c20;background:#fff;border-radius:999px;padding:0 10px 0 18px;box-shadow:0 1px 0 rgba(0,0,0,.03);}
.balance-selector strong {font-size:17px;font-weight:650;white-space:nowrap;letter-spacing:.02em;font-variant-numeric:tabular-nums;}
.balance-selector .icon,.balance-selector img.reference-icon {width:18px;height:18px;}
.balance-selector img.reference-ellipsis-vertical,.balance-selector .reference-ellipsis-vertical {filter:brightness(0) saturate(100%);opacity:.98;}

.profile-tools {height:68px;padding:18px 16px 0;}
.profile-heading {font-size:32px;letter-spacing:-1px;padding:8px 17px 0;font-weight:700;}
.bronze-card {width:calc(100% - 34px);margin:23px 17px 0;height:128px;border-radius:12px;padding:16px 18px 15px;box-shadow:0 1px 2px rgba(0,0,0,.08);} 
.bronze-card-top strong {font-size:21px;}
.bronze-card-top b {font-size:15px;}
.profile-group {margin:28px 17px 0;}
.profile-group h2 {font-size:19px;font-weight:730;margin:0 0 10px;letter-spacing:-.02em;}
.profile-item {min-height:78px;gap:14px;padding:4px 0;}
.profile-item-icon {height:48px;width:48px;position:relative;background:#f4f5f6;}
.profile-item-icon .icon,.profile-item-icon img.reference-icon {height:23px;width:23px;stroke-width:2;}
.profile-item-icon.with-dot::after {content:'';position:absolute;right:2px;top:2px;width:9px;height:9px;background:#ef4f45;border-radius:50%;border:2px solid #fff;}
.profile-item-main strong {font-size:17px;font-weight:430;}
.profile-item-main small {font-size:13px;line-height:1.35;margin-top:4px;color:#868a8c;}
.profile-trailing {height:22px;width:22px;color:#7d8588;}
.profile-chevron {height:21px;width:21px;color:#161f22;flex-shrink:0;}
.status-success {padding:6px 11px;border-radius:18px;background:#eefbf4;color:#2a8d61;font-size:12.5px;white-space:nowrap;margin-right:8px;font-weight:500;}
.profile-value {font-size:15px;font-weight:450;color:#171f23;white-space:nowrap;margin-right:8px;font-variant-numeric:tabular-nums;}
.profile-show-more {width:100%;height:52px;border:0;border-radius:6px;background:#f3f3f4;color:#222b2f;font-size:16px;font-weight:450;margin-top:8px;}
.profile-subhead {color:#6f7678;font-size:14px;margin:-1px 0 4px 1px;}
.referral-card {width:100%;border:0;background:#fff;padding:10px 0 0;color:#141d21;text-align:left;display:grid;grid-template-columns:52px minmax(0,1fr) 22px;gap:14px;align-items:start;}
.referral-icon {width:48px;height:48px;border-radius:50%;background:#f2e9ff;color:#8a57d6;display:grid;place-items:center;}
.referral-icon .icon {width:23px;height:23px;stroke-width:2;}
.referral-grid {display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;row-gap:8px;align-items:baseline;}
.referral-grid span {font-size:15px;color:#20282c;}
.referral-grid strong {font-size:15px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums;}
.maintenance-card {background:#faf6e9;border:1px solid #ebddb2;border-radius:10px;padding:16px 15px;margin-bottom:14px;}
.maintenance-head {display:flex;align-items:flex-start;gap:9px;color:#2a2414;font-size:15px;font-weight:700;margin-bottom:8px;}
.maintenance-head .icon {width:20px;height:20px;stroke-width:2.2;color:#a8861a;flex-shrink:0;margin-top:1px;}
.maintenance-card p {margin:0;color:#47433b;font-size:13px;line-height:1.55;}
.logout-profile-btn {width:100%;height:56px;border:0;border-radius:8px;background:#fff1f1;color:#d3564e;display:flex;align-items:center;justify-content:center;gap:10px;font-size:17px;font-weight:500;}
.logout-profile-btn .icon {width:20px;height:20px;stroke-width:2.2;}
.profile-logout-section {margin-bottom:0;}
.profile-foot-note {color:#a4a6a8;font-size:11px;line-height:1.5;margin:18px 17px 24px;}

.sheet.withdraw-sheet {height:min(360px,49dvh);padding:10px 18px calc(18px + env(safe-area-inset-bottom,0px));border-radius:18px 18px 0 0;}
.withdraw-sheet .sheet-header {display:block;text-align:center;margin:0 0 4px;}
.withdraw-sheet .sheet-header h2 {font-size:18px;font-weight:700;line-height:1.45;}
.withdraw-list {gap:4px;}
.withdraw-method {display:flex;align-items:center;gap:12px;min-height:67px;width:100%;border:0;background:#fff;padding:5px 1px;color:#10191c;text-align:left;}
.withdraw-method-main {display:flex;flex-direction:column;gap:2px;flex:1;min-width:0;}
.withdraw-method strong {font-size:16px;font-weight:450;white-space:nowrap;}
.withdraw-method .method-circle {width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:transparent;flex-shrink:0;}
.withdraw-method-art {display:block;width:44px;height:44px;object-fit:contain;image-rendering:auto;}
.withdraw-method .method-amount {color:#7d8182;font-size:14px;white-space:nowrap;}
.withdraw-method>.icon {width:20px;height:20px;margin-left:1px;color:#161f23;}

.payment-list {gap:16px;}
.payment-card {grid-template-columns:44px minmax(0,1fr);gap:14px;padding:18px 14px 17px 14px;min-height:165px;border-radius:12px;}
.payment-logo-wrap {width:40px;height:40px;display:grid;place-items:center;}
.payment-logo {display:block;width:36px;height:36px;object-fit:contain;flex-shrink:0;image-rendering:auto;}
.payment-name {font-size:18px;line-height:1.22;font-weight:650;letter-spacing:-.2px;color:#142024;margin:1px 0 14px;}
.payment-details {gap:2px;font-size:15px;line-height:1.38;}
.payment-status {font-size:14px;padding:2px 9px 2px 6px;margin-top:-10px;margin-bottom:10px;}
.payment-transfer-list .payment-card {min-height:124px;}
.method-detail-heading .payment-logo {height:42px;width:42px;}

@media (max-width:359px) {
  .balance-selector {min-width:160px;padding-left:16px;padding-right:9px;}
  .profile-heading {font-size:29px;}
  .payment-card {grid-template-columns:42px minmax(0,1fr);gap:12px;padding:16px 11px;min-height:156px;}
  .payment-logo-wrap {width:36px;height:36px;}
  .payment-logo {width:32px;height:32px;}
  .withdraw-method {min-height:63px;}
}

/* V9 — proportional Android typography and precise open-trade components */
:root {--bar-height:78px;--position-green:#087640;--position-red:#e14c47;--position-blue:#1698e6;}
body,.app-shell {font-family:Roboto,"Arial",system-ui,sans-serif;font-size:14px;font-weight:400;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}
h1 {font-size:33px;font-weight:700;letter-spacing:-1px;}
.accounts-heading-row h1 {font-size:33px;font-weight:700;letter-spacing:-1.1px;}
.account-card {height:251px;padding:16px;margin-top:32px;}
.account-name {font-size:13.5px;font-weight:400;}
.account-chip {font-size:13px;padding:5px 9px;}
.balance {font-size:25px;font-weight:700;margin-top:19px;letter-spacing:-.3px;}
.account-actions {margin-top:17px;}
.action-control {gap:12px;}
.account-actions .action-circle,.account-actions .action-circle img.reference-icon {height:48px;width:48px;object-fit:contain;}
.action-label {font-size:13.5px;font-weight:400;}
.orders-panel {margin-top:29px;}
.order-tab {font-size:15px;padding:0 12px 10px;line-height:1.3;}
.order-tab.active:after {height:2px;}
.tab-count,.position-count,.close-choice-count {display:inline-grid;place-items:center;color:#fff;background:#7290a0;border-radius:999px;font-variant-numeric:tabular-nums;font-size:12px;line-height:1;min-height:21px;min-width:21px;padding:2px 5px;font-weight:500;vertical-align:middle;margin-left:3px;}
.tab-count {margin-left:3px;transform:translateY(-1px);}
.bottom-nav {height:var(--bar-height);padding:4px 3px 5px;}
.nav-button {gap:5px;}
.nav-button .icon,.nav-button img.reference-icon {height:22px;width:22px;object-fit:contain;stroke-width:1.85;image-rendering:auto;}
.nav-button:not(.active) img.reference-icon {filter:grayscale(1) brightness(.76);opacity:.66;}
.nav-button.active img.reference-icon {filter:grayscale(1) brightness(.48);opacity:.92;}
.nav-button.active .icon {stroke-width:1.95;opacity:.92;}
.nav-button span {font-size:10.3px;letter-spacing:.12px;font-weight:400;line-height:1.2;}
.nav-button.active span {font-weight:450;}
.tab-hero h1 {font-size:35px;font-weight:700;}
.profile-heading {font-size:31px;font-weight:700;}
.performance-title {font-size:32px;font-weight:700;}
.insights-section-link strong {font-size:21px;font-weight:700;}
.heading-more img.reference-icon {width:19px;height:19px;}
.top-tools .tool-icon img.reference-icon {height:24px;width:24px;object-fit:contain;}

.orders-body:has(.open-positions) {padding:18px 16px 32px;}
.open-positions {width:100%;display:flex;flex-direction:column;gap:0;}
.positions-total {display:flex;align-items:baseline;justify-content:space-between;gap:7px;margin:2px 0 17px;color:#808487;font-size:15.5px;}
.positions-total strong {font-size:16.5px;letter-spacing:-.1px;font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums;}
.position-profit {color:var(--position-green)!important;}
.position-loss {color:var(--position-red)!important;}
.position-buy {color:var(--position-blue)!important;font-style:normal;font-weight:450;}
.position-sell {color:var(--position-red)!important;font-style:normal;font-weight:450;}
.position-group {background:#fff;border-radius:16px;overflow:hidden;margin-bottom:10px;}
.position-group.expanded {background:#f0f2f1;}
.position-group-top {display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;color:#152025;background:transparent;border:0;padding:14px 12px 4px;text-align:left;min-height:42px;}
.position-symbol-part {display:flex;gap:9px;align-items:center;min-width:0;}
.position-mark {height:27px;width:27px;object-fit:contain;flex:0 0 27px;image-rendering:auto;}
.position-symbol-part .flag-pair {margin:0;}
.position-symbol-part .flag-pair svg {width:23px;height:23px;}
.position-name {font-size:17px;font-weight:650;white-space:nowrap;}
.position-count {background:#7894a2;font-size:12px;min-width:22px;min-height:22px;margin-left:-1px;}
.position-amount {font-size:16.5px;font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums;}
.position-trade-line {display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:13.5px;line-height:1.35;margin:0 12px 0 48px;padding:0 0 13px;color:#172023;min-width:0;white-space:nowrap;}
.position-trade-line>span:first-child {min-width:0;overflow:hidden;text-overflow:ellipsis;}
.position-trade-line em {font-style:normal;}
.position-current {color:#808486;font-variant-numeric:tabular-nums;white-space:nowrap;flex:0 0 auto;}
.position-group.expanded .position-group-top {padding-bottom:14px;}
.position-children {background:#f0f2f1;}
.position-child {display:block;width:100%;text-align:left;background:transparent;border:0;border-top:1px solid #dde1df;padding:13px 12px 1px;color:#172126;}
.position-child-top {display:flex;align-items:center;justify-content:space-between;gap:8px;padding-left:36px;margin-bottom:8px;}
.position-child-top strong {font-size:15px;font-weight:550;}
.position-child-top strong:last-child {font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums;}
.position-child .position-trade-line {padding-bottom:14px;margin-left:36px;margin-right:0;}
.position-group button:active {background:#e8edeb;}
.position-close-all {border:0;border-radius:8px;background:#eff0f2;color:#172125;width:100%;height:46px;display:flex;align-items:center;justify-content:center;gap:10px;margin-top:6px;font-weight:450;font-size:15px;}
.position-close-all .icon {width:18px;height:18px;stroke-width:2;}
.positions-simulator {display:flex;gap:7px;align-items:center;flex-wrap:wrap;color:#909598;font-size:11px;line-height:1.2;padding:14px 3px 0;}
.positions-simulator>span {flex:1;min-width:110px;}
.sim-controls {display:flex;gap:5px;}
.sim-controls button,.sim-scenarios {border:1px solid #d7dcdc;border-radius:6px;background:#fff;color:#69777c;height:29px;min-width:31px;font-size:15px;}
.sim-scenarios {font-size:11px;padding:0 8px;}

/* Compact confirmation/individual-position bottom sheets */
.sheet.close-positions-sheet {height:auto;max-height:86dvh;min-height:420px;overflow:auto;padding:10px 16px calc(17px + env(safe-area-inset-bottom,0px));border-radius:19px 19px 0 0;}
.close-positions-sheet .sheet-handle {margin-bottom:18px;}
.close-positions-sheet .sheet-header {margin:0 0 16px;display:block;text-align:left;}
.close-positions-sheet .sheet-header h2 {font-size:17px;font-weight:650;line-height:1.4;text-align:center;max-width:100%;}
.close-choices {display:flex;flex-direction:column;margin-bottom:20px;}
.close-choice {display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;padding:12px 2px;border:0;border-bottom:1px solid #e3e7e6;background:#fff;color:#1c262a;min-height:51px;text-align:left;font-size:13.5px;font-weight:400;}
.close-choice:disabled {color:#9fa5a6;}
.close-choice>span:first-child {flex:1;white-space:nowrap;}
.close-choice-value {margin-left:auto;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:13.5px;}
.close-choice .icon {height:18px;width:18px;stroke-width:2;margin-left:7px;flex-shrink:0;}
.close-choice-count {color:#4c5960;background:#f0f2f4;min-width:18px;min-height:18px;font-size:11px;}
.close-confirm-button,.close-cancel-button {display:block;border:0;width:100%;height:44px;border-radius:6px;font-size:14px;font-weight:500;}
.close-confirm-button {background:#ffe000;color:#142025;}
.close-cancel-button {background:#f1f2f4;color:#263039;margin-top:11px;}
.sheet.position-detail-sheet {height:auto;max-height:76dvh;padding:10px 17px calc(19px + env(safe-area-inset-bottom,0px));border-radius:19px 19px 0 0;overflow:auto;}
.position-detail-grid {display:grid;grid-template-columns:1fr;gap:0;margin:7px 0 12px;}
.position-detail-grid>div {display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #edf0ef;padding:12px 2px;color:#858b8c;font-size:14px;}
.position-detail-grid strong {color:#172125;font-size:14px;font-weight:550;}
.position-detail-note {font-size:11px;color:#989da0;line-height:1.4;margin:14px 0;}

@media (max-width:359px) {
 .accounts-heading-row h1 {font-size:30px;}
 .position-symbol-part {gap:6px;}
 .position-name {font-size:15px;}
 .position-mark {height:24px;width:24px;flex-basis:24px;}
 .positions-total {font-size:14px;}
 .positions-total strong {font-size:14px;}
 .position-amount {font-size:14px;}
 .position-trade-line {font-size:11.5px;margin-left:42px;}
 .position-child-top,.position-child .position-trade-line {padding-left:0;margin-left:32px;}
 .close-choice,.close-choice-value {font-size:12px;}
 .nav-button span {font-size:9.3px;letter-spacing:0;}
 .nav-button .icon,.nav-button img.reference-icon {height:21px;width:21px;}
 .account-card {height:242px;}
 .action-label {font-size:12px;}
 .account-actions .action-circle,.account-actions .action-circle img.reference-icon {height:45px;width:45px;}
}
/* Final screenshot pass: the menu artwork includes its own circular backing. */
.heading-more {background:transparent!important;width:43px!important;height:43px!important;}
.heading-more img.reference-icon {width:43px!important;height:43px!important;object-fit:contain;}
.account-card {height:232px;}
.balance {margin-top:17px;}
.account-actions {margin-top:15px;}
.action-control {gap:9px;}
@media (max-width:359px) {
 .account-card {height:222px;}
 .action-control {gap:8px;}
}

/* V10 · screenshot-guided transfer / withdrawal demo; mobile-first proportions */
.transfer-screen{background:#fff;color:#141e22;min-height:100%;position:relative;padding-bottom:calc(18px + env(safe-area-inset-bottom,0px));}
.tr-topbar{height:89px;padding:13px 15px 0;display:flex;justify-content:space-between;align-items:flex-start;background:#fff;position:sticky;top:0;z-index:5;}
.tr-topbar button{width:38px;height:38px;border:0;background:transparent;color:#131d20;display:grid;place-items:center;padding:6px;}
.tr-topbar .icon{width:25px;height:25px;stroke-width:2.1;}
.tr-scroll{padding:8px 17px 30px;}
.tr-scroll h1{font-size:34px;line-height:1.12;letter-spacing:-1px;font-weight:730;margin:0 0 13px;}
.tr-method-link{border:0;background:none;padding:0;color:#217eb5;text-decoration:underline;text-underline-offset:3px;font-size:16px;line-height:1.5;margin:0 0 30px;}
.tr-field{margin:0 0 25px;}
.tr-field>label{font-size:14px;color:#262d30;display:block;margin-bottom:7px;}
.tr-method-select,.tr-select{display:flex;align-items:center;border:1px solid #dcdfdf;background:#fff;border-radius:4px;width:100%;height:44px;gap:8px;color:#172126;text-align:left;padding:5px 12px;font-size:15px;min-width:0;}
.tr-method-select img{height:26px;width:26px;object-fit:contain;}
.tr-method-select span{flex:1;}
.tr-method-select>.icon,.tr-select>.icon{width:17px;height:17px;color:#737d80;stroke-width:1.9;flex-shrink:0;}
.tr-select.focused{border-color:#5a7a88;}
.tr-icon-img{height:25px;width:25px;object-fit:contain;flex-shrink:0;}
.tr-icon-badge{font-size:12px;color:#202b30;background:#f3f4f5;border-radius:3px;padding:4px 5px;line-height:1.1;white-space:nowrap;flex-shrink:0;}
.tr-icon-badge.funding{background:#e8f5f0;color:#178659;font-weight:650;font-size:16px;}
.tr-icon-badge.investment{background:#eaf6ff;color:#267cad;}
.tr-icon-badge.ib{background:#f7edff;color:#9a65c0;}
.tr-select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:20px;}
.tr-select-balance{white-space:nowrap;margin-left:auto;font-size:14px;font-variant-numeric:tabular-nums;}
.tr-amount-field{margin-top:27px;margin-bottom:24px;}
.tr-amount-control{display:flex;align-items:center;height:46px;border:1px solid #dcdfdf;border-radius:4px;overflow:hidden;}
.tr-amount-control:focus-within{border-color:#627f8a;}
.tr-amount-control.invalid{border-color:#d44c49;}
.tr-amount-control input{border:0;outline:none;padding:0 11px;font-size:20px;width:100%;min-width:0;color:#182124;background:transparent;font-variant-numeric:tabular-nums;}
.tr-amount-control>span{font-size:15px;color:#222a2f;padding-right:13px;white-space:nowrap;}
.tr-amount-help{color:#277eb2;margin-top:7px;font-size:13px;min-height:18px;}
.tr-amount-help.error{color:#d34f4c;}
.tr-continue{width:100%;height:46px;background:#ffdf00;color:#1a2124;border:0;border-radius:5px;font-size:16px;margin:4px 0 43px;}
.tr-continue:disabled{background:#fff;border:1px solid #c8cbcb;color:#c4c6c7;opacity:1;cursor:not-allowed;}
.tr-terms{border-top:1px solid #e2e4e5;padding-top:27px;font-size:14px;}
.tr-terms h2{font-size:18px;line-height:1.2;font-weight:700;margin:0 0 27px;}
.tr-terms p{margin:0 0 15px;line-height:1.45;}
.tr-terms p>span{color:#7e8385;margin-right:6px;}
.tr-demo-note{font-size:11px;color:#858e90;margin-top:18px!important;}
.tr-picker-backdrop{position:absolute;inset:0;z-index:18;background:rgba(255,255,255,.04);display:flex;align-items:flex-start;justify-content:center;padding:162px 17px 20px;}
.tr-picker-panel{width:100%;background:#fff;border:1px solid #e5e7e7;border-radius:7px;box-shadow:0 8px 25px #0002;max-height:min(66dvh,680px);overflow:auto;padding:6px 0;scrollbar-width:thin;}
.tr-picker-row{min-height:47px;padding:9px 13px;display:flex;gap:8px;align-items:center;width:100%;background:white;border:0;color:#192125;text-align:left;font-size:15px;}
.tr-picker-row.selected{background:#f1f2f4;}
.tr-picker-row.disabled{color:#a0a4a5;opacity:.48;cursor:default;}
.tr-picker-row .tr-option-label{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.tr-picker-row .tr-option-balance{font-size:14px;white-space:nowrap;font-variant-numeric:tabular-nums;margin-left:auto;}
.transfer-progress .tr-topbar{height:110px;}
.tr-progress-main{text-align:center;padding:12px 22px 35px;}
.tr-rocket{display:grid;place-items:center;color:#6f8998;margin:11px auto 21px;}
.tr-rocket>.icon{width:81px;height:81px;stroke-width:1.8;}
.tr-progress-main h1{font-size:30px;font-weight:700;letter-spacing:-.6px;line-height:1.18;margin:0 auto 15px;max-width:360px;}
.tr-progress-main>p{font-size:17px;line-height:1.43;margin:0 auto;max-width:380px;}
.tr-demo-progress-note{font-size:11px;color:#858c8f;margin:10px auto 23px;max-width:340px;}
.tr-view-history{width:100%;height:49px;background:#ffe000;color:#1a2225;border:0;border-radius:5px;font-size:17px;}
.tr-experience{border-top:1px solid #e1e4e5;margin-top:26px;padding-top:32px;}
.tr-experience h2{font-size:21px;font-weight:680;line-height:1.35;margin:0 0 25px;}
.tr-stars{display:flex;align-items:center;justify-content:center;gap:15px;}
.tr-stars button{border:0;background:transparent;width:31px;height:34px;color:#7b8587;padding:2px;}
.tr-stars button .icon{width:28px;height:28px;stroke-width:1.8;}
.tr-stars button.selected .icon{fill:#ffe000;stroke:#e2bb00;}
.tr-star-labels{display:flex;justify-content:space-between;max-width:220px;margin:14px auto 0;font-size:13px;color:#8e9294;}
@media(max-width:359px){.tr-scroll{padding-left:13px;padding-right:13px;}.tr-select{gap:5px;padding:4px 8px;}.tr-select-balance{font-size:12px;}.tr-method-select{font-size:14px;}.tr-picker-backdrop{padding-left:12px;padding-right:12px;}.tr-picker-row{font-size:13px;gap:6px;padding:8px;}.tr-picker-row .tr-option-balance{font-size:12px;}.tr-progress-main h1{font-size:26px;}}

/* v11 settings + transfer sheet polish */
.settings-page{min-height:100%;background:#fff;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px));}
.settings-header{display:flex;align-items:center;gap:16px;padding:18px 18px 14px;border-bottom:1px solid #ececec;position:sticky;top:0;background:#fff;z-index:2;}
.settings-header h1{margin:0;font-size:28px;line-height:1.15;letter-spacing:-.7px;font-weight:730;}
.settings-header .back{margin-left:-8px;}
.settings-body{padding:0 0 20px;}
.settings-section{padding:14px 0 2px;}
.settings-section h2{font-size:20px;line-height:1.2;padding:0 26px;margin:22px 0 10px;font-weight:740;letter-spacing:-.35px;color:#111b1f;}
.settings-row{width:100%;border:0;background:#fff;display:flex;align-items:center;gap:10px;padding:14px 22px 14px 26px;text-align:left;color:#182126;min-height:74px;}
.settings-row.has-value{padding-right:20px;}
.settings-row:active{background:#f7f7f8;}
.settings-left{flex:1;display:flex;align-items:center;min-width:0;gap:18px;}
.settings-copy{min-width:0;flex:1;display:flex;flex-direction:column;justify-content:center;}
.settings-copy strong{display:block;font-size:17px;line-height:1.26;font-weight:440;color:#182126;}
.settings-copy small{display:block;font-size:13px;line-height:1.3;color:#878b8f;margin-top:4px;max-width:220px;}
.settings-row-icon{height:48px;width:48px;border-radius:50%;background:#f3f4f5;display:grid;place-items:center;flex-shrink:0;color:#0f171a;}
.settings-row-icon .icon,.settings-row-icon img.reference-icon{width:23px;height:23px;stroke-width:1.95;}
.settings-row-icon.danger{background:#fff2f2;color:#df4c40;}
.settings-number-badge{font-size:18px;font-weight:700;letter-spacing:-.4px;line-height:1;display:block;}
.settings-value{white-space:nowrap;font-size:17px;line-height:1.2;color:#222c30;margin-right:16px;font-weight:430;}
.settings-chevron-icon{width:20px;height:20px;stroke-width:2;color:#1f272b;flex-shrink:0;}
.settings-toggle-row{cursor:pointer;}
.settings-toggle-row .settings-left{padding-right:12px;}
.switch{position:relative;width:52px;height:32px;display:inline-flex;align-items:center;justify-content:flex-start;flex-shrink:0;}
.switch input{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0;}
.switch i{display:block;width:52px;height:32px;border-radius:999px;background:#fff;border:1px solid #d7d9db;transition:.2s ease;box-sizing:border-box;}
.switch i::after{content:'';position:absolute;top:4px;left:4px;width:24px;height:24px;border-radius:50%;background:#7a97a8;transition:.2s ease;box-shadow:0 1px 2px #0001;}
.switch.on i{background:#7592a3;border-color:#7592a3;}
.switch.on i::after{left:24px;background:#fff;}
.settings-spacer{height:18px;}
.sheet.transfer-options-sheet{height:min(365px,48dvh);padding:9px 18px calc(18px + env(safe-area-inset-bottom,0px));border-radius:22px 22px 0 0;}
.transfer-options-sheet .sheet-header{display:block;text-align:center;margin:0 0 8px;}
.transfer-options-sheet .sheet-header h2{font-size:20px;font-weight:740;line-height:1.45;}
.transfer-sheet-list{display:flex;flex-direction:column;}
.transfer-sheet-row{border:0;background:#fff;display:flex;align-items:center;gap:16px;min-height:72px;padding:8px 6px;color:#171f23;text-align:left;width:100%;}
.transfer-sheet-row:active{background:#f7f7f8;}
.transfer-sheet-icon{height:48px;width:48px;border-radius:50%;background:transparent;display:grid;place-items:center;flex-shrink:0;color:#0f171a;overflow:hidden;}
.transfer-sheet-icon .icon,.transfer-sheet-icon img.reference-icon{width:24px;height:24px;stroke-width:2;}
.transfer-sheet-art{display:block;width:48px;height:48px;object-fit:contain;image-rendering:auto;}
.transfer-sheet-main{flex:1;min-width:0;display:flex;align-items:center;}
.transfer-sheet-main strong{font-size:17px;font-weight:430;line-height:1.25;}
.transfer-sheet-amount{font-size:17px;color:#4e565b;margin-right:14px;white-space:nowrap;}
@media (max-width:380px){
  .settings-copy strong,.settings-value,.transfer-sheet-main strong,.transfer-sheet-amount{font-size:16px;}
  .settings-section h2{font-size:19px;padding-left:22px;padding-right:22px;}
  .settings-row{padding-left:22px;padding-right:18px;}
}

/* v14: demo cross-currency transfer preview; no change to the screenshot-style field spacing */
.tr-exchange-note { font-size: 12px; line-height: 1.35; color: #66808d; margin: 6px 0 0; }
.tr-exchange-note[hidden] { display:none; }
.demo-deposit-form .primary-btn:disabled { background:#e5e7e8; color:#a0a4a5; cursor:not-allowed; }

/* Version 15: withdrawal form based on the supplied TRC20 screenshots. */
.withdrawal-screen {background:#fff;min-height:100%;padding-bottom:calc(24px + env(safe-area-inset-bottom,0px));color:#161f23;}
.wd-topbar {height:101px;display:flex;justify-content:space-between;align-items:flex-start;padding:14px 16px 0;background:white;position:sticky;top:0;z-index:6;}
.wd-topbar button {width:37px;height:38px;display:grid;place-items:center;background:transparent;border:0;padding:5px;color:#111c20;cursor:pointer;}
.wd-topbar button>.icon {width:25px;height:25px;stroke-width:2.3;}
.wd-scroll {padding:9px 17px 32px;}
.wd-scroll h1 {font-size:35px;font-weight:735;letter-spacing:-.9px;line-height:1.13;margin:0 0 12px;}
.wd-see-link {padding:0;background:none;border:0;color:#287fb6;text-decoration:underline;text-underline-offset:3px;line-height:1.5;font-size:16px;font-weight:410;cursor:pointer;margin:0 0 26px;}
.wd-field {margin:0 0 25px;}
.wd-field>label {font-size:14px;font-weight:440;color:#252d30;line-height:1.35;margin:0 0 7px;display:block;}
.wd-method-field {margin-bottom:26px;}
.wd-picker-wrap {position:relative;width:100%;}
.wd-select {width:100%;height:45px;border:1px solid #dcdfdf;border-radius:4px;background:#fff;display:flex;align-items:center;gap:10px;padding:5px 11px;font-size:15px;font-weight:420;color:#1a2225;text-align:left;min-width:0;cursor:pointer;}
.wd-select:focus-visible,.wd-address-wrap:focus-within {outline:1px solid #648290;outline-offset:0;}
.wd-select .payment-logo {width:27px;height:27px;object-fit:contain;flex-shrink:0;}
.wd-method-label {flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
.wd-select>.icon {width:18px;height:18px;stroke-width:1.9;color:#828789;flex-shrink:0;}
.wd-source-select {border-color:#7791a0;}
.wd-source-select .tr-icon-img {width:42px;height:26px;object-fit:contain;margin-left:-3px;margin-right:-2px;}
.wd-account-label,.wd-dropdown-name {white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0;}
.wd-account-balance,.wd-dropdown-balance {white-space:nowrap;font-size:14px;line-height:1.15;font-variant-numeric:tabular-nums;flex-shrink:0;}
.wd-source-warning {font-size:14px;line-height:1.5;color:#d94f4b;font-weight:420;margin:16px 0 0;}
.wd-dropdown {position:absolute;z-index:10;top:calc(100% + 4px);left:0;right:0;background:#fff;border-radius:5px;box-shadow:0 8px 23px #0002;border:1px solid #edf0f1;padding:4px 0;max-height:45dvh;overflow-y:auto;}
.wd-dropdown-row {width:100%;min-height:44px;display:flex;align-items:center;gap:8px;border:0;background:#fff;padding:8px 10px;text-align:left;font-size:14px;cursor:pointer;color:#1d2528;}
.wd-dropdown-row:active {background:#f6f7f8;}
.wd-dropdown-row .tr-icon-img {width:42px;height:26px;object-fit:contain;flex-shrink:0;}
.wd-dropdown-row .payment-logo {height:27px;width:27px;object-fit:contain;flex-shrink:0;}
.wd-address-field {margin-top:28px;margin-bottom:27px;}
.wd-address-wrap {height:44px;border:1px solid #dcdede;border-radius:4px;display:flex;align-items:stretch;}
.wd-address-wrap input {min-width:0;flex:1;border:0;background:transparent;padding:0 11px;outline:none;color:#172125;font-size:14px;font-family:inherit;}
.wd-address-dropdown-button {width:40px;border:0;background:transparent;display:grid;place-items:center;color:#81878a;cursor:pointer;}
.wd-address-dropdown-button .icon {width:18px;height:18px;stroke-width:2;}
.wd-no-address {font-size:13px;color:#838b8e;padding:10px 12px;line-height:1.4;}
.wd-address-hint {font-size:13px;color:#84898b;margin:7px 0 0;line-height:1.45;}
.wd-amount-field {margin:0 0 0;}
.wd-amount-control {height:46px;display:flex;align-items:center;border:1px solid #dcdfdf;border-radius:4px;overflow:hidden;color:#192327;}
.wd-amount-control.disabled {background:#f5f5f6;}
.wd-amount-control input {font-variant-numeric:tabular-nums;min-width:0;flex:1;border:0;background:transparent;outline:none;padding:0 12px;font-size:21px;color:#1b2428;}
.wd-amount-control input:disabled {color:#929798;opacity:1;-webkit-text-fill-color:#929798;}
.wd-amount-control>span {font-size:15px;white-space:nowrap;padding-right:15px;}
.wd-inline-error {color:#d7514d;font-size:13px;line-height:1.45;margin:6px 0 0;}
.wd-inline-error[hidden] {display:none;}
.wd-minimum-notice {background:#e8f3ff;border:1px solid #b7d8ed;border-radius:9px;margin:23px 0 0;padding:20px 18px 18px;color:#172126;}
.wd-minimum-notice h2 {font-size:18px;line-height:1.42;letter-spacing:-.15px;font-weight:700;margin:0 0 5px;}
.wd-minimum-notice p {font-size:15px;line-height:1.48;margin:0 0 13px;}
.wd-yellow-small {background:#ffe000;border:0;border-radius:5px;padding:9px 17px;color:#151e21;font-size:15px;min-height:38px;cursor:pointer;}
.wd-continue {height:45px;width:100%;margin:24px 0 0;border:0;background:#ffe000;border-radius:5px;color:#1b2225;font-size:16px;cursor:pointer;}
.wd-continue:disabled {background:#fff;border:1px solid #c9caca;color:#b6babd;cursor:not-allowed;}
/* Keep Continue visible for insufficient funds; only disable its action. */
.wd-terms {border-top:1px solid #e5e6e7;margin-top:42px;padding-top:30px;}
.wd-terms h2 {font-size:20px;font-weight:700;letter-spacing:-.3px;margin:0 0 27px;}
.wd-terms p {font-size:15px;line-height:1.48;margin:0 0 17px;}
.wd-terms p>span {color:#878c8d;margin-right:5px;}
.wd-terms .wd-faq-head {margin:35px 0 22px;}
.wd-terms>button {display:block;border:0;background:transparent;color:#878b8d;font-size:14.5px;line-height:1.35;text-align:left;padding:0;text-decoration:underline;text-underline-offset:3px;margin:0 0 20px;cursor:pointer;}
.wd-terms .wd-legal {color:#969a9a;font-size:12px;line-height:1.4;margin-top:48px;}
.wd-confirm-sheet {padding:13px 17px calc(24px + env(safe-area-inset-bottom,0px));max-height:85dvh;overflow-y:auto;}
.wd-confirm-details {display:flex;flex-direction:column;gap:13px;margin:10px 0 22px;}
.wd-confirm-details>div {display:flex;gap:15px;align-items:start;justify-content:space-between;font-size:14px;}
.wd-confirm-details span {color:#7e878b;flex-shrink:0;}
.wd-confirm-details strong {font-weight:550;text-align:right;overflow-wrap:anywhere;}
.wd-demo-warning {font-size:13px;line-height:1.5;color:#6f7376;padding:11px 13px;background:#f3f5f6;border-radius:6px;margin-bottom:16px;}
.wd-faq-text {font-size:15px;line-height:1.6;padding:14px 6px;}
.wd-success {padding:80px 22px 35px;text-align:center;}
.wd-success-mark {color:#31b97a;margin:0 auto 22px;}
.wd-success-mark .icon {width:70px;height:70px;}
.wd-success h1 {font-size:28px;line-height:1.18;font-weight:700;}
.wd-success p {font-size:16px;line-height:1.5;margin:18px 0 28px;}
.wd-yellow-button,.wd-secondary-button {height:47px;width:100%;border:0;border-radius:5px;margin-bottom:14px;font-size:16px;cursor:pointer;}
.wd-yellow-button {background:#ffdf00;color:#161c1f;}
.wd-secondary-button {background:#f2f3f5;color:#232b2f;}
@media (max-width:359px) {
  .wd-scroll{padding-left:14px;padding-right:14px;}
  .wd-scroll h1{font-size:32px;}
  .wd-select{gap:6px;padding:5px 8px;}
  .wd-account-balance{font-size:12px;}
  .wd-minimum-notice {padding:16px 13px;}
  .wd-minimum-notice p {font-size:14px;}
}

/* Version 16: neutral wording and modest financial-data disclosure */
.accounts-local-note {font-size:10px;color:#828b8e;text-align:center;line-height:1.35;margin:5px 22px 0;letter-spacing:0.01em;}


/* v17: reference-density typography, trading-ticket refinement, persistent withdrawal action */
:root {
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  --ink:#172125;
  --yellow:#ffdf00;
}
body,button,input,select,textarea{font-family:Roboto,"Helvetica Neue",Arial,sans-serif;}
body{font-size:14px;line-height:1.38;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}
button,input,select{letter-spacing:normal;}
button:disabled{opacity:1;}
.app-content{overscroll-behavior-y:contain;}
/* Consistent screen headings, without exaggerated weights or forced letter spacing */
.accounts-heading-row h1,.tab-hero h1,.profile-heading,.performance-title{font-size:clamp(31px,8.2vw,36px);font-weight:700;letter-spacing:-.7px;line-height:1.13;}
.account-name{font-size:14px;font-weight:400;letter-spacing:0;}
.account-number{font-weight:400;letter-spacing:0;}
.account-chip{font-size:13.5px;font-weight:400;letter-spacing:0;}
.balance{font-size:27px;font-weight:700;letter-spacing:-.35px;font-variant-numeric:tabular-nums;}
.order-tab{font-size:15px;font-weight:400;letter-spacing:0;}
.action-label{font-size:13px;font-weight:400;line-height:1.3;}
.nav-button .icon,.nav-button img.reference-icon{width:23px;height:23px;}
.nav-button:not(.active) img.reference-icon{filter:grayscale(1);opacity:.67;}
.nav-button.active img.reference-icon{filter:none;opacity:.9;}
.nav-button.active span{font-weight:500;}
.nav-button span{font-size:10.8px;line-height:1.22;letter-spacing:.2px;}
.trade-tab{font-size:clamp(14px,4vw,17px);letter-spacing:0;}
.trade-chip{font-size:14px;font-weight:400;}
.quote-name{font-weight:600;font-size:clamp(16px,4.25vw,18px);letter-spacing:-.25px;}
.quote-price{font-weight:400;font-size:clamp(17px,4.55vw,20px);font-variant-numeric:tabular-nums;}
.quote-description{font-size:clamp(12px,3.55vw,15px);}
.quote-change{font-size:clamp(14px,3.8vw,17px);}
.profile-item-main strong,.settings-copy strong{font-weight:400;}
.settings-value{font-weight:400;}
.closed-trade-top strong,.open-position-symbol{font-weight:600;}
.closed-trade-top strong:last-child{font-weight:500;}
.account-popover button{font-size:14.5px;font-weight:400;}
.payment-name{font-weight:600;}
.tr-scroll h1,.wd-scroll h1{font-weight:700;letter-spacing:-.65px;}
.wd-select,.wd-field>label,.tr-field>label{font-weight:400;}
/* Withdrawal: fixed action above Android safe-area so it never disappears below a long warning or FAQ */
.withdrawal-screen{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding-bottom:0;}
.wd-topbar{flex:0 0 84px;height:84px;position:relative;z-index:6;padding-top:11px;}
.wd-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 17px 34px;scrollbar-width:none;}
.wd-scroll::-webkit-scrollbar{display:none;}
.wd-action-footer{flex:0 0 auto;background:#fff;border-top:1px solid #eceeef;padding:11px 17px calc(12px + env(safe-area-inset-bottom,0px));box-shadow:0 -3px 10px rgba(14,25,30,.025);z-index:3;}
.wd-action-footer .wd-continue{display:block;width:100%;height:47px;margin:0;border-radius:5px;font-size:16px;font-weight:500;letter-spacing:0;}
.wd-action-footer .wd-continue:disabled{display:block;background:#f2f3f4;border:1px solid #dedfe0;color:#92999d;opacity:1;}
.wd-minimum-notice h2{font-weight:700;font-size:17px;letter-spacing:-.12px;}
.wd-minimum-notice p{font-weight:400;font-size:14px;line-height:1.55;}
.wd-terms{margin-top:38px;}
/* Trading ticket: align symbols, prices, labels and volume controls to reference proportions */
.order-ticket-page{min-height:100%;background:#f8faf9;}
.order-ticket-page .subpage-header{background:#f8faf9;min-height:68px;}
.order-ticket-page .subpage-header h1{font-size:26px;font-weight:700;letter-spacing:-.45px;}
.order-ticket-content{padding:4px 16px 30px;}
.ticket-market-card,.ticket-order-card{background:#fff;border-radius:11px;padding:17px 16px;border:1px solid #eff0f0;box-shadow:0 2px 9px rgba(15,25,28,.025);}
.ticket-instrument-heading{display:flex;align-items:center;gap:12px;min-width:0;}
.ticket-instrument-heading .flag-pair{margin:0;flex:0 0 auto;}
.ticket-instrument-heading .flag-pair svg{width:26px;height:26px;}
.ticket-identity{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1;}
.ticket-identity strong{font-size:17px;line-height:1.2;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ticket-identity small{font-size:12.5px;line-height:1.3;font-weight:400;color:#83898b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ticket-market-change{display:flex;align-items:center;gap:2px;font-size:13.5px;white-space:nowrap;font-weight:400;}
.ticket-market-change .icon{width:15px;height:15px;stroke-width:1.9;}
.ticket-market-change.up{color:#2697d9;}
.ticket-market-change.down{color:#d34c43;}
.ticket-market-price{font-size:29px;font-weight:600;line-height:1.2;margin:22px 0 0;font-variant-numeric:tabular-nums;letter-spacing:-.4px;}
.ticket-price-chart{display:block;width:100%;height:135px;margin:9px 0 1px;overflow:visible;}
.ticket-price-chart .chart-grid{stroke:#e8ebec;stroke-width:1;fill:none;}
.ticket-price-chart .chart-line{stroke:#65859a;stroke-width:2.2;fill:none;stroke-linejoin:round;stroke-linecap:round;}
.ticket-market-note{margin:6px 0 0;font-size:11.5px;font-weight:400;color:#858c8e;line-height:1.4;}
.ticket-section-title{font-size:19px;font-weight:700;letter-spacing:-.18px;margin:23px 0 13px;line-height:1.2;}
.ticket-order-card{padding:18px 16px 20px;}
.ticket-field{display:block;margin:0 0 21px;}
.ticket-field>span,.ticket-field>label{display:block;color:#252c30;font-size:14px;line-height:1.35;font-weight:400;margin:0 0 7px;}
.ticket-field>select,.ticket-field>input{display:block;box-sizing:border-box;width:100%;height:44px;background:#fff;border:1px solid #dadee0;color:#172125;padding:0 12px;border-radius:5px;font-size:15px;font-weight:400;}
.ticket-volume-control{height:44px;width:100%;display:flex;align-items:stretch;border:1px solid #dadee0;border-radius:5px;overflow:hidden;}
.ticket-volume-control button{display:grid;place-items:center;flex:0 0 43px;background:#f5f6f6;border:0;color:#27353b;padding:0;}
.ticket-volume-control button:first-child{border-right:1px solid #e4e7e8;}
.ticket-volume-control button:last-child{border-left:1px solid #e4e7e8;}
.ticket-volume-control button .icon{width:19px;height:19px;stroke-width:1.9;}
.ticket-volume-control input{width:100%;min-width:0;text-align:center;border:0;outline:none;background:#fff;color:#182327;font-size:16px;font-weight:500;font-variant-numeric:tabular-nums;-moz-appearance:textfield;}
.ticket-volume-control input::-webkit-inner-spin-button,.ticket-volume-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0;}
.ticket-side-hint{font-size:12px;line-height:1.4;color:#7e868a;margin:3px 0 15px;text-align:center;}
.ticket-direction-buy{color:#268ed7;}
.ticket-direction-sell{color:#d24d46;}
.order-ticket-page .trade-controls{display:flex;gap:11px;margin:0;}
.order-ticket-page .sell-btn,.order-ticket-page .buy-btn{height:46px;min-height:46px;border-radius:5px;font-size:16px;font-weight:500;letter-spacing:0;}
.order-ticket-page .sell-btn{background:#df544d;}
.order-ticket-page .buy-btn{background:#248fca;}
@media (max-width:359px){
  .accounts-heading-row h1,.tab-hero h1,.profile-heading,.performance-title{font-size:30px;}
  .nav-button span{font-size:9.8px;letter-spacing:0;}
  .ticket-market-card,.ticket-order-card{padding:15px 13px;}
  .ticket-market-price{font-size:26px;}
  .ticket-instrument-heading{gap:8px;}
  .ticket-identity strong{font-size:15px;}
  .ticket-identity small{font-size:11.5px;}
  .ticket-market-change{font-size:12px;}
  .wd-scroll{padding-left:14px;padding-right:14px;}
  .wd-action-footer{padding-left:14px;padding-right:14px;}
}

/* Keep the order ticket's logo proportional to the Trade-tab instrument icons. */
.ticket-instrument-heading>.asset-emblem,.ticket-instrument-heading>.asset-flag{width:30px;height:30px;flex:0 0 30px;}
.ticket-instrument-heading .asset-emblem svg{width:27px;height:27px;}
.ticket-instrument-heading .asset-flag .flag-pair{margin:0;}
.ticket-instrument-heading .asset-flag .flag-pair svg{width:23px;height:23px;}
.ticket-instrument-heading .asset-flag .flag-pair svg+svg{margin-left:-9px;}

/* Same engine / same figures integration banner. Kept outside scroll flow. */
.live-status{position:fixed;right:9px;bottom:calc(84px + env(safe-area-inset-bottom,0px));max-width:240px;background:#e7edf0e8;color:#445c67;border:1px solid #cbd6dc;border-radius:8px;padding:4px 7px;font-size:10px;line-height:1.25;z-index:8;pointer-events:none;box-shadow:0 1px 4px #0001}
.connection-warning{padding:30px 20px;color:#27363f;text-align:center;margin-top:60px}
.connection-warning h2{font-size:22px}.connection-warning p{font-size:14px;color:#657a84}
.live-data-caption{padding:8px 16px;color:#6b7780;font-size:12px;line-height:1.5}
.live-metric-card{padding:24px 20px;min-height:95px}.live-metric-card strong{font-size:24px;color:#122126}.live-metric-card p{font-size:13px;color:#64737b;margin:10px 0 0}

/* 2026-11-17: equity card, date-grouped closed trades and gesture actions */
.closed-date-row{min-height:48px;font-size:16px;font-weight:500;color:#777d80;padding:0 12px;}
.closed-date-row strong{font-size:16px;font-weight:600;}
.closed-trades-card{border-radius:12px;}
.closed-trade-row{min-height:76px;border-bottom:0;padding:12px 13px;gap:12px;}
.closed-trade-top{font-size:16px;}
.closed-trade-top strong:first-child{font-size:17px;color:#192125;}
.closed-trade-top strong:last-child{font-size:16px;}
.closed-trade-bottom{font-size:14px;color:#7f8588;gap:7px;}
.closed-trade-bottom em.closed-buy,.position-buy{color:#238dcc!important;}
.closed-trade-bottom em.closed-sell,.position-sell{color:#e84c4a!important;}
.closed-trade-icon .position-mark{width:29px;height:29px;}
.trade-swipe-shell{position:relative;width:100%;overflow:hidden;touch-action:pan-y;}
.trade-swipe-actions{position:absolute;right:0;top:0;bottom:0;width:min(210px,58vw);display:flex;z-index:0;}
.trade-swipe-actions>button{width:50%;border:0;color:#fff;display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center;font-size:14px;font-weight:450;}
.trade-action-modify{background:#39ca7a!important;}
.trade-action-close{background:#ee4447!important;}
.trade-swipe-actions .icon{width:27px;height:27px;stroke-width:2.2;}
.trade-swipe-foreground{position:relative;z-index:1;background:#fff;transition:transform .18s ease-out;}
.trade-swipe-shell.swiped .trade-swipe-foreground{transform:translateX(calc(-1 * min(210px,58vw)));}
.trade-swipe-shell .position-child{border-radius:0;}
.trade-swipe-shell.swiped .trade-swipe-foreground button:active{background:#fff;}
.wd-available-range{font-size:15px;color:#2187c3;margin:11px 0 24px;}
.wd-received{background:#f3f3f3;border-radius:10px;padding:24px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:23px 0 30px;color:#151e22;}
.wd-received span{font-size:14px;white-space:nowrap;}
.wd-received strong{font-size:27px;font-weight:550;font-variant-numeric:tabular-nums;white-space:nowrap;}
.wd-review-screen .wd-scroll h1{margin-bottom:14px;}
.wd-review-row{padding:19px 0 15px;border-bottom:1px solid #e1e4e5;display:flex;flex-direction:column;gap:9px;font-size:16px;}
.wd-review-row span{color:#282f32;}
.wd-review-row strong{color:#151e22;font-weight:600;line-height:1.45;overflow-wrap:anywhere;}
.wd-review-icon{float:right;height:25px;width:25px;object-fit:contain;}
.wd-review-note{border:1px solid #c1e1f5;background:#e8f3ff;border-radius:10px;padding:23px 20px;font-size:15px;line-height:1.5;margin:34px 0 24px;}
.wd-review-address{word-break:break-all;}
.wd-code-screen .wd-code-instructions{display:flex;gap:14px;align-items:flex-start;margin:30px 0 35px;font-size:17px;line-height:1.5;}
.wd-code-instructions>.icon{width:25px;height:25px;flex-shrink:0;}
.wd-code-instructions div{display:flex;flex-direction:column;gap:3px;}
.wd-code-instructions strong{font-weight:600;}
.wd-code-instructions small{color:#7b8587;font-size:12px;line-height:1.5;}
.wd-code-label{font-size:14px;color:#666f73;display:block;margin-bottom:8px;}
#wd-test-code{width:100%;height:64px;border:1px solid #b1bdc3;border-radius:8px;text-align:center;font-size:29px;letter-spacing:11px;outline-color:#698594;}
.wd-test-label{color:#6d797f;font-size:13px;line-height:1.5;margin:15px 0 25px;}
.wd-progress{text-align:center;padding:53px 23px 30px;}
.wd-progress h1{font-size:29px;line-height:1.14;letter-spacing:-.35px;font-weight:600;margin:6px 0 20px;}
.wd-progress>p{font-size:16px;line-height:1.48;}
.wd-progress .wd-yellow-button{margin:23px 0 28px;}
.wd-payment-rating{border-top:1px solid #e6e7e7;padding:29px 4px 8px;}
.wd-payment-rating h2{font-size:20px;line-height:1.4;font-weight:650;max-width:255px;margin:0 auto 25px;}
.wd-star-list{display:flex;justify-content:center;gap:18px;}
.wd-star-list button{border:0;background:transparent;font-size:30px;color:#888e91;cursor:pointer;}
.wd-rating-labels{display:flex;justify-content:space-between;max-width:250px;margin:9px auto;color:#939898;font-size:14px;}
@media(max-width:360px){.closed-trade-top strong:first-child{font-size:15px}.closed-trade-top strong:last-child{font-size:14px}.closed-trade-bottom{font-size:12px}.wd-received strong{font-size:23px}}

.wd-continue-inline{margin:5px 0 45px;height:48px;}
.wd-continue-inline:disabled{background:#fff;border:1px solid #bbb;color:#bcbcbc;}

/* Six independent confirmation-code boxes, as in the Android reference. */
.wd-code-boxes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin:22px 0 15px;}
.wd-code-digit{min-width:0;width:100%;height:53px;padding:0;border:1px solid #e0e2e3;border-radius:6px;text-align:center;font-size:25px;font-weight:450;color:#192427;background:#fff;font-variant-numeric:tabular-nums;}
.wd-code-digit:focus{outline:1px solid #728d9b;outline-offset:0;border-color:#718997;}
.wd-code-hint{font-size:12px;color:#91999b;line-height:1.45;margin:6px 0 16px;}
@media(max-width:350px){.wd-code-boxes{gap:6px}.wd-code-digit{height:49px;font-size:23px}}

/* One-time fund-access authorization. Not shown during individual operations. */
.finance-auth-overlay { position:fixed;inset:0;z-index:9500;background:rgba(11,23,28,.42);display:flex;align-items:center;justify-content:center;padding:20px; }
.finance-auth-panel { width:min(100%,390px);max-height:90vh;overflow:auto;background:white;border-radius:18px;padding:26px 22px;box-shadow:0 12px 44px rgba(0,0,0,.18);color:#152027;font-family:Roboto,Arial,sans-serif; }
.finance-auth-panel h2 {font-size:23px;line-height:1.25;font-weight:700;margin:0 0 12px;}
.finance-auth-panel p {font-size:14px;line-height:1.5;margin:0 0 20px;color:#4c5960;}
.finance-auth-panel label {display:block;font-size:14px;margin-bottom:8px;}
.finance-auth-panel input {width:100%;box-sizing:border-box;height:50px;padding:10px 14px;border:1px solid #98a7b0;border-radius:6px;background:#fff;color:#152027;font-size:18px;margin-bottom:14px;}
.finance-auth-panel .finance-auth-error {color:#d74343;margin:0 0 12px;min-height:1em;}
.finance-auth-actions {display:flex;gap:12px;margin-bottom:12px;}
.finance-auth-actions button {flex:1;border-radius:7px;min-height:47px;border:1px solid #b8c1c5;background:#fff;color:#122027;font-size:16px;}
.finance-auth-actions button[type=submit] {background:#ffdc00;border-color:#ffdc00;color:#1b2226;font-weight:600;}
.finance-auth-actions button:disabled {opacity:.48;}
.finance-auth-panel small {color:#65727a;font-size:12px;line-height:1.45;display:block;}


/* Funds History — financial activity only, screenshot-matched cards. */
.funds-history-page{min-height:100%;background:#fff;color:#182125;font-family:Roboto,Arial,sans-serif;padding-bottom:26px;}
.fh-topbar{height:80px;display:flex;align-items:center;justify-content:space-between;padding:6px 20px 5px;position:sticky;top:0;z-index:8;background:#fff;}
.fh-topbar button{display:grid;place-items:center;width:32px;height:40px;background:transparent;border:0;color:#152027;padding:0;}
.fh-topbar button .icon{width:25px;height:25px;stroke-width:2.25;}
.fh-content{padding:0 17px 18px;}
.fh-group{margin:18px 0 15px;}
.fh-group-title{background:#f5f5f5;padding:10px 11px;min-height:36px;color:#292e30;font-size:14px;font-weight:440;line-height:1.35;}
.fh-card{display:block;text-align:left;width:100%;border:1px solid #dedfe0;border-radius:11px;background:#fff;padding:17px 16px 16px;margin:17px 0 18px;box-shadow:none;color:inherit;}
.fh-card:active{background:#fafafa;}
.fh-card-head{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:start;min-height:76px;}
.fh-type-icon{padding-top:12px;color:#142024;display:flex;align-items:center;justify-content:center;}
.fh-type-icon .icon{width:27px;height:27px;stroke-width:2.2;}
.fh-card-info{min-width:0;display:flex;flex-direction:column;gap:4px;}
.fh-card-info>strong{font-size:17px;line-height:1.35;font-weight:540;color:#1d252a;}
.fh-date,.fh-invoice{font-size:13.5px;line-height:1.4;color:#818689;letter-spacing:.15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}
.fh-invoice{font-size:12.6px;}
.fh-card-right{display:flex;flex-direction:column;align-items:flex-end;gap:14px;padding-top:1px;min-width:95px;max-width:140px;}
.fh-amount{color:#192126;font-size:16px;font-weight:670;white-space:nowrap;letter-spacing:-.22px;font-variant-numeric:tabular-nums;}
.fh-status{display:inline-flex;gap:6px;align-items:center;justify-content:center;border-radius:18px;padding:5px 9px;background:#edf9f2;color:#148454;font-size:13px;white-space:nowrap;line-height:1.1;font-weight:480;}
.fh-status i{width:7px;height:7px;background:currentColor;border-radius:50%;flex:none;}
.fh-pending{background:#fff7e3;color:#996a0b;}
.fh-cancelled{background:#f4f4f4;color:#757b7f;}
.fh-route{margin:16px 0 0;display:flex;align-items:center;gap:9px;max-width:100%;overflow:hidden;}
.fh-account{display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 0;color:#909698;font-size:14.5px;white-space:nowrap;}
.fh-account>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;}
.fh-account-logo{height:25px;width:25px;border-radius:4px;object-fit:contain;flex:none;}
.fh-account-mark{background:#aeb3b4;color:#fff;display:inline-flex;align-items:center;justify-content:center;height:23px;width:25px;min-width:25px;border-radius:3px;font-size:9px;font-weight:750;}
.fh-route-arrow{flex:none;color:#888e91;}
.fh-route-arrow .icon{width:21px;height:21px;stroke-width:1.7;}
.fh-more{width:100%;background:#f4f5f6;border:0;border-radius:5px;color:#2a2f31;text-align:center;padding:14px 10px;font-size:16px;font-weight:470;margin:5px 0 16px;}
.fh-empty{text-align:center;font-size:16px;padding:65px 12px;color:#525e63;}
.fh-empty p{font-size:14px;color:#899095;line-height:1.5;}
.fh-disclosure{padding:12px 2px 20px;font-size:12px;line-height:1.5;color:#929a9d;}
.fh-detail{padding:18px 17px;}
.fh-detail h1{font-size:29px;font-weight:620;line-height:1.2;}
.fh-detail-amount{font-size:33px;letter-spacing:-.5px;font-weight:680;margin:16px 0;}
.fh-detail-table{margin:24px 0;border-top:1px solid #e5e7e7;}
.fh-detail-table>div{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:17px 0;border-bottom:1px solid #e5e7e7;font-size:14px;}
.fh-detail-table span{color:#788185;min-width:90px;flex:0 0 35%;}
.fh-detail-table strong{font-weight:560;overflow-wrap:anywhere;text-align:right;}
@media(max-width:359px){
  .fh-content{padding-left:12px;padding-right:12px;}
  .fh-card{padding:14px 10px;}
  .fh-card-head{grid-template-columns:28px minmax(0,1fr) auto;gap:7px;}
  .fh-type-icon .icon{width:23px;height:23px;}
  .fh-card-info>strong{font-size:15px;}
  .fh-card-right{min-width:85px;max-width:112px;}
  .fh-amount{font-size:14px;}
  .fh-account{font-size:12px;gap:5px;}
  .fh-route{gap:5px;}
}

/* Final mobile presentation: typography, edge alignment, and unobstructed viewports. */
.live-status{display:none!important;}
.funds-history-page,.withdrawal-screen,.transfer-screen{font-family:Roboto,"Arial",system-ui,sans-serif;-webkit-font-smoothing:antialiased;}
.fh-type-icon svg.icon{stroke:#182327;fill:none;width:29px;height:29px;stroke-width:2.2;}
.fh-card{border-color:#e0e1e2;border-radius:11px;padding:18px 16px;box-shadow:none;}
.fh-group-title{background:#f5f5f5;border-radius:2px;font-size:14px;}
.fh-card-info>strong{font-size:17px;font-weight:500;}
.fh-date,.fh-invoice{font-size:13px;letter-spacing:.05px;}
.fh-amount{font-weight:650;}
.fh-status{font-size:13px;font-weight:500;}
.fh-disclosure{font-size:12px;color:#858e91;line-height:1.5;}
.wd-review-note{background:#e7f2fe;border:1px solid #c4e0f2;padding:23px 20px;border-radius:10px;}
.wd-code-instructions{margin-bottom:40px;}
.wd-code-hint{color:#858c90;font-size:13px;}
.wd-progress{padding-top:55px;}
.wd-progress h1{font-size:29px;font-weight:600;line-height:1.15;max-width:365px;margin:7px auto 20px;}
.wd-progress>p{max-width:365px;margin:0 auto 23px;font-size:16px;line-height:1.45;}
.wd-progress .wd-yellow-button{background:#ffe000;color:#1a2326;font-weight:500;min-height:48px;}
@media(max-width:359px){.fh-card{padding:15px 11px}.fh-card-info>strong{font-size:15px}.fh-amount{font-size:14px}.wd-code-instructions{gap:10px}}


/* Finance review and confirmation screens — based on the supplied mobile reference. */
.tr-review-screen .wd-scroll{padding-bottom:46px;}
.tr-review-back{display:inline-flex;align-items:center;gap:12px;margin:0 0 28px;text-decoration:none;}
.tr-review-back span{text-decoration:underline;text-underline-offset:3px;}
.tr-review-back>.icon{width:24px;height:24px;stroke-width:1.8;}
.tr-review-row{position:relative;padding:17px 0 16px;gap:8px;}
.tr-review-row strong{min-height:24px;padding-right:52px;position:relative;display:block;font-size:16px;font-weight:600;}
.tr-review-inline-icon{position:absolute;right:0;bottom:1px;width:37px;height:26px;display:inline-flex;align-items:center;justify-content:flex-end;object-fit:contain;}
.tr-review-inline-icon .tr-icon-img{height:25px;width:38px;object-fit:contain;}
.tr-review-inline-icon .tr-icon-badge{font-size:11px;min-width:35px;padding:4px;background:#f3f4f4;color:#212b2c;border-radius:2px;}
.tr-review-conversion{border-bottom:0;padding-bottom:8px;}
.tr-review-conversion strong{padding-right:0;}
.tr-review-conversion small{font-size:14px;color:#50595d;}
.tr-review-received{display:block;padding:20px 14px 16px;margin:32px 0 25px;}
.tr-received-line{display:flex;align-items:center;justify-content:space-between;gap:8px;}
.tr-review-received .tr-received-line strong{font-size:29px;font-weight:550;}
.tr-review-received p{font-size:12px;line-height:1.45;color:#7d8588;margin:14px 0 2px;}
.tr-review-confirm{margin-bottom:0;}
.tr-review-terms{margin-top:44px;}
.tr-review-terms .wd-faq-head{margin-bottom:24px;}
.transaction-progress-screen .wd-progress{padding-top:34px;}
.transaction-progress-screen .wd-progress h1{max-width:340px;margin-left:auto;margin-right:auto;}
.transaction-progress-screen .wd-progress>p{max-width:345px;}
.transaction-progress-screen .wd-payment-rating{margin-top:3px;padding-top:30px;}
@media(max-width:350px){.tr-review-row strong{padding-right:40px}.tr-review-received .tr-received-line strong{font-size:24px}}
