.customer-account-identity{display:flex;align-items:center;gap:12px;min-width:0}.customer-account-identity>p{flex:0 1 auto;min-width:0;margin:0;font-size:20px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.customer-account-vip{flex:none;white-space:nowrap}
.customer-account-credit{display:flex;align-items:baseline;gap:8px;min-width:0;margin-block:10px 0;color:var(--muted);font-size:13px;line-height:1.6;flex-wrap:wrap}.customer-account-credit>span{overflow-wrap:anywhere}.customer-account-credit>bdi{flex:none;font-variant-numeric:tabular-nums;white-space:nowrap}.customer-account-credit strong{color:var(--text);font-size:14px;font-weight:600}
.customer-account-vip,.customer-account-credit>span{display:inline-flex;align-items:center;gap:6px}.customer-account-vip>.ui-icon,.customer-account-credit>span>.ui-icon{width:16px;height:16px;flex:none;color:var(--muted)}
#admin-credit-form>.info-line{gap:12px;flex-wrap:wrap;min-width:0}#admin-credit-form>.info-line>strong{min-width:0;max-width:100%;overflow-wrap:anywhere}#admin-credit-form>.actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#admin-credit-form :is(button,.btn){min-width:0;min-height:44px;white-space:normal;line-height:1.6}#admin-credit-form>[data-credit-status]:empty,#admin-credit-form>.management-error:empty{display:none}
.customer-verification-status{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.customer-verification-status>span:first-child{color:var(--muted);font-size:12px}.customer-verification-action{margin-block:12px}
.customer-wallets{display:grid;gap:2px;margin-block:12px}.customer-wallet-row{display:flex;align-items:center;gap:8px;min-height:44px;min-width:0}.customer-wallet-info{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;min-width:0}.customer-wallet-label{font-size:13px;color:var(--muted)}.customer-wallet-amount{min-width:0;font-size:20px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}.customer-wallet-amount small{font-size:12px}.customer-cash-wallet>.wallet-privacy-toggle{margin-inline-start:0}
.customer-account-card :is(button,.btn){white-space:normal;line-height:1.55;min-width:0}.customer-account-card>.customer-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-block-start:14px}.customer-account-card>.customer-quick-actions>button{min-height:44px;padding-inline:8px;font-size:13px}
/* Two-level summaries follow the local TR payment-history pattern. */
.user-shell :is(.list-order-tabs,.customer-funding-tabs){display:flex;flex-wrap:nowrap;gap:4px;width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;padding:5px}.user-shell :is(.list-order-tabs,.customer-funding-tabs)>button{flex:0 0 auto;min-height:44px;white-space:nowrap;padding:9px 12px}
.wallet-record-list{display:grid;min-width:0;gap:0}.wallet-record-list>.wallet-record-row{display:grid;grid-template-columns:minmax(0,1fr) 12px;align-items:center;gap:12px;width:100%;min-width:0;min-height:68px;padding:11px 4px;margin:0;border:0;border-block-end:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none;text-align:start;line-height:1.45}.wallet-record-list>.wallet-record-row:last-child{border-block-end:0}.wallet-record-list>button.wallet-record-row:hover{background:var(--surface-soft,var(--panel))}.wallet-record-list>button.wallet-record-row:focus-visible{outline:2px solid var(--green);outline-offset:-2px;border-radius:8px}
.wallet-record-content{display:grid;gap:5px;min-width:0}.wallet-record-heading,.wallet-record-meta{display:flex;align-items:baseline;justify-content:space-between;gap:8px 14px;min-width:0}.wallet-record-main{flex:1;min-width:0}.wallet-record-main>strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600}.wallet-record-value{flex:0 1 auto;min-width:0;max-width:72%;margin:0;color:var(--text);font-size:17px;font-weight:650;line-height:1.35;text-align:end;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.wallet-record-value.green{color:var(--green)}.wallet-record-time{flex:1;min-width:0;color:var(--muted);font-size:12px;line-height:1.5;overflow-wrap:normal}.wallet-record-action{display:flex;align-items:center;justify-content:end;flex-wrap:wrap;gap:5px 8px;min-width:0;max-width:58%;text-align:end}.wallet-record-action .tag{min-width:0;max-width:100%;white-space:normal;text-align:end;word-break:normal;overflow-wrap:normal;font-size:11px}.wallet-record-quantity{color:var(--muted);font-size:11px;white-space:nowrap}.wallet-record-arrow{display:block;align-self:center;flex:none;font-size:21px;font-weight:400;line-height:1;color:var(--muted);text-align:end}.wallet-record-note{font-size:11px;line-height:1.4}
:root[dir="rtl"] .wallet-record-arrow{transform:scaleX(-1)}
@media(max-width:600px){.wallet-record-list>.wallet-record-row{gap:9px;padding-block:11px}.wallet-record-heading,.wallet-record-meta{column-gap:10px}.wallet-record-main>strong{font-size:14px}.wallet-record-value{font-size:16px}.wallet-record-time{font-size:11px}}
.customer-recent-orders>.panel-head{gap:12px;flex-wrap:wrap}.customer-recent-orders>.panel-head h2{margin:0}.customer-order-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto) auto;align-items:center;gap:18px;padding-block:16px;border-block-start:1px solid var(--line)}
.customer-order-identity,.customer-order-value{display:grid;gap:7px;min-width:0}.customer-order-identity>strong{font-size:13px}.customer-order-identity>:is(span,small){color:var(--muted);font-size:11px}.customer-order-value{justify-items:end}.customer-order-value>strong{font-size:17px;overflow-wrap:anywhere}.customer-order-row>button{white-space:normal;line-height:1.55;max-width:150px}
.customer-order-row .mono{justify-self:start}.customer-menu-link :is(h3,p){overflow-wrap:anywhere}
.customer-menu-grid>.customer-menu-link{min-width:0;width:100%;min-height:104px;text-align:start;white-space:normal;line-height:1.6;color:var(--text)}
.customer-menu-grid>.customer-menu-link>div{flex:1;min-width:0}
.customer-menu-grid>.customer-menu-link h3{font-size:16px;line-height:1.5;margin-block:0 7px}
.customer-menu-grid>.customer-menu-link p{font-size:13px;line-height:1.6}
.customer-menu-grid>button.customer-menu-link{background:var(--panel);border-color:var(--line);font-weight:inherit}
.customer-menu-grid>.customer-menu-link:hover{background:var(--surface-soft)}
.customer-menu-grid>.customer-menu-link:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.customer-verification-link>.ui-icon{display:none}
.wallet-privacy-toggle.secondary.small{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;flex:0 0 44px}.wallet-privacy-toggle>.ui-icon{width:20px;height:20px}
@media(min-width:480px) and (max-width:760px){.customer-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.customer-menu-grid{gap:12px}.customer-menu-grid>.customer-menu-link{padding:17px;min-height:92px}.customer-menu-grid>.customer-menu-link h3{font-size:15px}.customer-menu-grid>.customer-menu-link p{font-size:13px}}
.order-detail-content{min-width:0}.order-detail-summary{padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft,var(--panel));margin-block:4px 18px}.order-detail-summary>.panel-head{gap:12px;align-items:start;flex-wrap:wrap}.order-detail-summary>.panel-head>strong{overflow-wrap:anywhere}.order-detail-summary>.mono{font-size:11px;color:var(--muted);text-align:start;margin-block:8px 18px}
.order-detail-amount{display:grid;gap:8px;margin-block-end:8px}.order-detail-amount>span{font-size:12px;color:var(--muted)}.order-detail-amount>strong{font-size:30px;line-height:1.25;overflow-wrap:anywhere}
.order-detail-content .info-line{gap:14px;align-items:start;min-width:0}.order-detail-content .info-line>span:first-child{flex:1;min-width:0;overflow-wrap:anywhere}.order-detail-content .info-line>strong{min-width:0;text-align:end;max-width:64%;overflow-wrap:anywhere}
.order-detail-content :is(.order-detail-terms,.order-detail-settlement){margin-block:18px}.order-detail-settlement{padding:16px;border:1px solid var(--line);border-radius:12px}.order-detail-settlement>h3{margin-block:0 12px;color:var(--green)}.order-detail-content>.actions{display:flex;flex-wrap:wrap;gap:10px}.order-detail-content>.actions :is(button,.btn){white-space:normal;line-height:1.55;min-width:0}
.order-detail-ledger{border-block-start:1px solid var(--line);margin-block-start:20px;padding-block:14px}.order-detail-ledger>summary{font-weight:600;cursor:pointer;min-height:30px}.order-detail-ledger .wallet-ledger{margin-block-start:14px}.order-detail-ledger .ledger-card{min-width:0}.order-detail-ledger .ledger-card .info-line>span{overflow-wrap:anywhere}
@media(max-width:600px){
 .customer-account-identity{gap:8px}.customer-account-identity>p{font-size:18px}.customer-wallet-amount{font-size:18px}.customer-verification-status{gap:6px}
 .customer-order-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.customer-order-row>button{grid-column:1/-1;justify-self:stretch;max-width:none;min-height:40px}.customer-order-identity{align-self:start}.customer-order-value{align-self:start;text-align:end}
 .order-detail-summary{padding:15px}.order-detail-amount>strong{font-size:26px}.order-detail-content .info-line>strong{max-width:60%}.order-detail-content>.actions{display:grid;grid-template-columns:minmax(0,1fr)}
}
.scheme-reference-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:45dvh;overflow:auto;padding:2px;margin-block:18px;overscroll-behavior:contain}.scheme-reference-item{padding:13px;border:1px solid var(--line);border-radius:12px;min-width:0}.scheme-reference-item strong,.scheme-reference-item small{display:block;overflow-wrap:anywhere}.scheme-reference-item small{color:var(--muted);font-size:11px;margin-block:5px 10px}.scheme-reference-item>div{display:flex;flex-wrap:wrap;gap:5px 10px;font-size:11px;line-height:1.7}#scheme-reference-form>p{overflow-wrap:anywhere}#scheme-reference-form .info-line{gap:16px;align-items:start}#scheme-reference-form .info-line>span{min-width:0}@media(max-width:600px){.scheme-reference-list{grid-template-columns:minmax(0,1fr);max-height:42dvh}}
.wallet-record-list.wallet-ledger{grid-template-columns:minmax(0,1fr)}
/* Committed sales stay visible as orders awaiting settlement, separate from cash. */
.selling-position{min-width:0;border-inline-start:3px solid var(--green);background:var(--surface-soft)}
.selling-position-heading{display:flex;align-items:center;gap:10px;margin-block-end:16px}
.selling-position-heading:before{content:"";width:8px;height:8px;border-radius:50%;background:#d6a64d;flex:none}
.selling-position-heading>h2{margin:0;font-size:16px;line-height:1.5}
.selling-position-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px}
.selling-position-metric{display:grid;align-content:start;gap:7px;min-width:0}
.selling-position-metric:not(:last-child){grid-template-rows:1fr auto}
.selling-position-metric>span{font-size:13px;line-height:1.6;color:var(--muted)}
.selling-position-value{font-size:22px;line-height:1.4;font-weight:650;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.selling-position-value small{font-size:13px;color:var(--muted)}
.selling-position-metric:last-child{grid-column:1/-1;padding-block-start:14px;border-block-start:1px solid var(--line)}
.selling-position-metric:last-child>.selling-position-value{font-size:14px;font-weight:500;line-height:1.6}
.selling-position-note{margin-block:14px;font-size:12px;line-height:1.7;color:var(--muted)}
.selling-position-actions{display:flex;gap:8px;flex-wrap:wrap}
.selling-position-actions>button{min-height:44px;min-width:0;white-space:normal}
.user-shell .content[data-view=profile]>.selling-position{margin-block-end:18px}
.customer-time-preference{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 16px;padding-block:14px;margin-block:16px 0;border-block-start:1px solid var(--line)}
.customer-time-preference>span{font-size:13px;color:var(--muted)}
.customer-time-preference select{min-width:0;max-width:100%;width:260px;min-height:44px;font-size:14px;border-radius:var(--radius-control,10px)}
@media(max-width:600px){.selling-position{padding:18px}.selling-position-grid{gap:14px 12px}.selling-position-value{font-size:20px}.selling-position-actions>button{width:100%}.customer-time-preference{align-items:stretch}.customer-time-preference select{width:100%;font-size:16px}}
/* Asset wallets use the same card, typography and action hierarchy as the hub. */
.customer-assets{display:grid;gap:20px;min-width:0}
.user-shell .content:is([data-view=overview],[data-view=assets])>.title-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px}
.user-shell .content:is([data-view=overview],[data-view=assets])>.title-row>.actions{width:auto;max-width:none;margin:0}
.asset-wallet-grid,.asset-secondary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}
.asset-wallet-card{display:flex;flex-direction:column;align-items:start;gap:12px;min-width:0;padding:22px}
.asset-wallet-label{font-size:14px;font-weight:500;color:var(--muted)}
.asset-wallet-amount{font-size:clamp(24px,2.5vw,32px);font-weight:650;line-height:1.25;font-variant-numeric:tabular-nums;letter-spacing:-.5px;max-width:100%;overflow-wrap:anywhere}
.asset-wallet-amount small{font-size:14px;letter-spacing:normal;color:var(--muted)}
.asset-wallet-caption{font-size:12px;line-height:1.6;color:var(--muted);margin:0}
.asset-wallet-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.asset-wallet-actions>button{min-width:0;white-space:normal;line-height:1.55}
.asset-secondary-card{display:grid;align-content:start;gap:10px;padding:18px;min-width:0}
.asset-secondary-card>span{font-size:13px;line-height:1.6;color:var(--muted)}
.asset-secondary-card>strong{font-size:20px;line-height:1.35;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.asset-record-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:0}
.asset-record-nav>:is(a,button){min-width:0;min-height:44px;padding:10px 8px;white-space:normal;font-size:13px;line-height:1.5;text-align:center}
.asset-funding-records>.panel-head{margin-block-end:12px;align-items:center}
.asset-funding-records>.panel-head>h2{margin:0}
html .user-shell .customer-account-card{border-radius:var(--radius-card,14px);border-color:var(--line);background:var(--panel);box-shadow:var(--shadow-panel)}
html #dialog .order-detail-summary{border-radius:var(--radius-card,14px);background:var(--surface-soft);box-shadow:none}
html #dialog .order-detail-summary .order-detail-amount>strong{font-size:32px;font-weight:650;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
html #dialog .order-detail-terms .info-line{padding-block:14px}
html #dialog .order-detail-terms .info-line>span:first-child{font-size:13px;color:var(--muted)}
html #dialog .order-detail-terms .info-line>strong{font-size:14px;font-weight:500;font-variant-numeric:tabular-nums}
html #dialog .order-detail-settlement{border-radius:var(--radius-card,14px);background:var(--surface-soft)}
html #dialog .order-detail-settlement>h3{font-size:15px;font-weight:600}
@media(max-width:600px){
 .customer-assets{gap:16px}.asset-wallet-grid,.asset-secondary-grid{gap:10px}
 .asset-wallet-card{gap:10px;padding:16px;min-height:144px}.asset-wallet-amount{font-size:24px}
 .asset-wallet-label{font-size:13px}.asset-wallet-caption{font-size:12px}
 .asset-wallet-actions,.asset-record-nav{gap:8px}.asset-wallet-actions>button{font-size:14px;padding-inline:6px}
 .asset-secondary-card{padding:16px}.asset-secondary-card>strong{font-size:19px}
 html #dialog .order-detail-summary .order-detail-amount>strong{font-size:30px}
}
.customer-funding-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-block-end:16px}.customer-funding-tabs>button{min-height:44px;white-space:normal;line-height:1.6;max-width:100%}
@media(max-width:600px){.customer-funding-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.customer-funding-tabs>button{min-width:0;padding-inline:8px;overflow-wrap:anywhere}.customer-funding-records{min-width:0}}
/* Reuse the account form's spacing and local vector icons across money flows. */
.customer-form-heading{display:flex;align-items:center;gap:10px;min-width:0;line-height:1.5}
.customer-form-heading>span:last-child{min-width:0;overflow-wrap:anywhere}
.customer-form-heading:is(h2,h3){font-size:15px;font-weight:600;margin-block:0 16px}
.customer-form-icon{display:inline-grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft);color:var(--green)}
.customer-form-icon>.ui-icon{width:18px;height:18px;flex:none}
.customer-form-heading>.ui-icon,.customer-field-label>.ui-icon{width:18px;height:18px;flex:none;color:var(--green)}
.customer-field-label{display:inline-flex;align-items:center;gap:7px;min-width:0;max-width:100%;line-height:1.55;overflow-wrap:anywhere}
.customer-form-section{min-width:0;margin-block:20px}
.customer-form-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.customer-form-fields>.field{min-width:0}
.customer-form-summary{min-width:0;border:1px solid var(--line);border-radius:var(--radius-control,10px);background:var(--surface-soft)}
:is(.deposit-transfer-form,.customer-funding-form) .customer-form-summary{padding:14px 16px}
.customer-form-summary>.customer-form-heading{font-size:13px;color:var(--muted);margin:0}
.customer-form-summary>strong{min-width:0;text-align:end;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
@media(max-width:600px){
 .customer-form-heading:is(h2,h3){font-size:14px}
 .customer-form-section{margin-block:16px}
 :is(#deposit-request-form,#fund-form[data-type=withdraw]) :is(input[name=address],input[name=reference],select){font-size:16px}
}
@media(max-width:360px){.customer-form-fields{grid-template-columns:minmax(0,1fr);gap:0}:is(.deposit-transfer-form,.customer-funding-form) .customer-form-summary{padding:12px}}
/* Customer forms keep one action in normal flow, clear of the mobile dock. */
.user-shell .content[data-view=account]>.title-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}
.user-shell .content[data-view=account]>.title-row>.actions{width:auto;max-width:150px}
.user-shell .content[data-view=account]>.title-row p:empty{display:none}
.user-shell main.content:focus{outline:none}
:is(#profile-form,#deposit-request-form,#fund-form[data-type=withdraw]) .management-error:empty{display:none}
#dialog:has(.order-detail-content,#fund-form[data-type=withdraw],#deposit-request-form)>#dialog-error:empty{display:none}
.deposit-submit-footer,.withdrawal-submit-footer{padding-block-start:16px;border-block-start:1px solid var(--line);margin-block-start:16px;min-width:0}
.withdrawal-submit-footer{border-block-start:0;margin-block-start:0}
.deposit-method-label{margin-block:0 18px}
#fund-form[data-type=withdraw]>.actions:has([data-action=w-max]){justify-content:flex-end;margin-block:8px 16px}
:is(.deposit-submit-footer,.withdrawal-submit-footer)>button{min-height:48px;width:100%;white-space:normal;line-height:1.55}
:is(.deposit-submit-footer,.withdrawal-submit-footer)>.notice{margin-block:0 14px;padding:0;border:0;background:transparent;color:var(--muted)}
:is(.deposit-submit-footer,.withdrawal-submit-footer)>.security-note{margin-block:0 14px}
.withdrawal-pin-control{display:grid;grid-template-columns:minmax(0,1fr) minmax(44px,auto);align-items:end;gap:8px;margin-block-end:20px}
.withdrawal-pin-control>.field{min-width:0;margin:0}
.withdrawal-pin-control>button{max-width:120px;min-width:44px;min-height:44px;white-space:normal;line-height:1.5}
.withdrawal-asset-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.withdrawal-asset-controls>.field{min-width:0}
.withdrawal-asset-controls select{min-width:0;width:100%;min-height:46px;font-variant-numeric:tabular-nums}
.withdrawal-address-control{display:grid;grid-template-columns:minmax(0,1fr) minmax(44px,auto);align-items:end;gap:8px;margin-block-end:20px}
.withdrawal-address-control>.field{min-width:0;margin:0}
.withdrawal-address-control input{min-width:0;width:100%;font-family:var(--font-sans,inherit);font-size:14px}
.withdrawal-address-control>button{min-height:44px;max-width:112px;white-space:normal;line-height:1.5}
.withdrawal-quote-summary{padding:14px 16px;margin-block:16px 20px;border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface-soft);min-width:0}
.withdrawal-quote-summary .info-line{gap:12px;align-items:start}
.withdrawal-quote-summary .info-line>span{min-width:0;overflow-wrap:anywhere}
.withdrawal-quote-summary .info-line>strong{max-width:65%;text-align:end;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.withdrawal-quote-summary [data-withdrawal-arrival]{color:var(--accent,var(--green));font-size:18px}
.withdrawal-quote-summary .security-note{margin-block:10px 0;font-size:12px;line-height:1.6}
#fund-form[data-type=withdraw]>[data-action=w-refresh]{min-height:46px;white-space:normal;line-height:1.55;margin-block:8px 12px}
#fund-form[data-type=withdraw] [hidden]{display:none!important}
.withdrawal-snapshot .info-line>strong{min-width:0;overflow-wrap:anywhere}
@media(max-width:360px){.withdrawal-asset-controls{gap:8px}.withdrawal-address-control{grid-template-columns:minmax(0,1fr)}.withdrawal-address-control>button{justify-self:end;max-width:100%}.withdrawal-quote-summary{padding:12px}}
#deposit-readiness:empty{display:none}
.order-detail-summary>.panel-head>strong{flex:1;min-width:0}
.order-detail-summary-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;min-width:0;max-width:100%}
.order-detail-summary-actions>button{min-height:44px;max-width:100%;white-space:normal;line-height:1.55}
.order-detail-price{border-block-start:1px solid var(--line);margin-block-start:18px;padding-block:12px}
.order-detail-price>summary{font-weight:600;cursor:pointer;min-height:44px;padding-block:10px;font-size:14px;line-height:1.6}
.header-support{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;white-space:normal;line-height:1.5}
.header-support>.ui-icon{width:20px;height:20px;flex:none}
.customer-support-launcher{position:fixed;inset-inline-end:24px;inset-block-end:24px;z-index:1030;display:flex;align-items:center;gap:9px;min-height:48px;max-width:240px;padding:12px 18px;border-radius:30px;box-shadow:var(--shadow-panel);white-space:normal;line-height:1.5}
body:has(.support-floating-widget)>.customer-support-launcher{display:none}
@media(max-width:900px){
 .customer-support-launcher{display:none}
 .user-shell>.workspace>.topbar,.customer-home>.home-header{position:sticky;inset-block-start:0;z-index:1020;background:var(--panel)}
 .user-shell .topbar .top-actions{max-width:none;gap:6px}
 .user-shell .topbar .header-support,.sell-header-actions .header-support{width:44px;min-width:44px;height:44px;padding:10px;flex:none}
 .header-support-label{display:none}
}
@media(max-width:600px){
 :is(.user-shell .topbar,.customer-home .home-nav,.internal-auth .auth-header) .language-picker-trigger{width:44px;min-width:44px;height:44px;padding:10px}
 :is(.user-shell .topbar,.customer-home .home-nav,.internal-auth .auth-header) .language-picker-trigger>[data-language-current],:is(.user-shell .topbar,.customer-home .home-nav,.internal-auth .auth-header) .language-picker-trigger>svg:last-child{display:none}
 .customer-home .home-nav .actions{gap:6px}
}
@media(max-width:600px){
 .user-shell .content[data-view=account]>.title-row{align-items:start}
 .user-shell .content[data-view=account]>.title-row>.actions>button{white-space:normal;max-width:100%;font-size:13px}
 .user-shell .content[data-view=account] .profile-account-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .user-shell .content[data-view=account] .profile-account-actions>button{min-width:0;white-space:normal;line-height:1.55}
 .deposit-entry .payment-methods{margin-block:0 18px}
 .deposit-entry .deposit-transfer-form input[name=amount]{font-size:24px;min-height:58px;font-weight:600;font-variant-numeric:tabular-nums}
 #dialog:has(#fund-form[data-type=withdraw]){scroll-padding-block-end:24px}
}
/* Match the reference workspace rhythm without reducing touch targets. */
.user-shell .content{padding:20px 24px}
:is(.user-shell,.staff-shell) .content>.title-row{gap:12px;margin-block-end:16px}
:is(.user-shell,.staff-shell) .title-row h1{margin-block-end:5px}
:is(.user-shell,.staff-shell) .title-row p{margin-block-end:0;line-height:1.5}
.user-shell .content :is(.dashboard-grid,.market-grid,.stats){gap:12px}
.user-shell .content :is(.panel,.market-card){padding:18px}
.user-shell .content .server-list{padding:0}
.user-shell .content :is(.panel-head,.section-top){margin-block-end:12px}
.user-shell .content .info-line{padding-block:10px}
.user-shell .content .field{margin-block-end:12px}
.user-shell .content .field>span{margin-block-end:6px}
.user-shell .content .form-grid{gap:0 12px}
.user-shell .content :is(.tabs,.customer-funding-tabs){margin-block-end:12px}
.user-shell .content .security-note{margin-block:10px 0}
.user-shell .content .customer-form-section{margin-block:14px}
@media(max-width:900px){
 .user-shell .content{padding:16px 16px calc(96px + env(safe-area-inset-bottom))}
 .user-shell .content :is(.panel,.market-card){padding:16px}
 .user-shell .content .server-list{padding:0}
 .user-shell .content :is(.stats,.market-grid,.dashboard-grid){gap:10px}
 .user-shell .content .field :is(input,select,textarea){font-size:16px}
}
/* Recharge: the canonical reference's desktop panels and H5 cards. */
.content:has(>.deposit-entry){--green:#2563eb;--accent-soft:rgb(37 99 235 / .08)}
html[data-bs-theme=dark] .content:has(>.deposit-entry){--green:#4c8bf5;--accent-soft:rgb(76 139 245 / .12)}
.content[data-view=deposit] .deposit-entry{max-width:none;padding:0;border:0;background:transparent;box-shadow:none}
.deposit-entry .deposit-form-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.65fr);gap:12px;align-items:start}
.deposit-reference-form :is(.deposit-receiving,.deposit-transfer-form){min-width:0}
.deposit-entry :is(.deposit-method-card,.channel-details,.deposit-transfer-form,.deposit-checklist){border:1px solid var(--line);border-radius:8px;background:var(--panel);box-shadow:0 16px 36px rgb(0 0 0 / .04)}
.deposit-entry .deposit-method-card{border-bottom:0;border-radius:8px 8px 0 0;box-shadow:none}
.deposit-entry .deposit-card-heading{display:flex;min-height:56px;align-items:center;justify-content:space-between;gap:12px;padding:11px 16px;border-bottom:1px solid var(--line)}
.deposit-entry .deposit-card-heading h3{margin:0;font-size:14px;line-height:1.3;font-weight:700}
.deposit-entry .deposit-card-heading>svg{width:20px;color:var(--green)}
.deposit-entry .payment-methods{gap:4px;margin:0;padding:3px;border:1px solid var(--line);border-radius:7px;background:var(--surface-soft)}
.deposit-entry .payment-methods>button{min-height:32px;padding:5px 12px;border:0;font-size:11.5px;border-radius:5px;box-shadow:none}
.deposit-entry .payment-methods>button.secondary{background:transparent;color:var(--muted)}
.deposit-entry .payment-methods>button.primary{background:var(--panel);color:var(--text);box-shadow:0 1px 3px rgb(0 0 0 / .14)}
.deposit-entry .customer-form-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;margin:0}
.deposit-entry .customer-form-fields .field{margin:0}
.deposit-entry .field>span{font-size:11px;font-weight:600;line-height:1.5;margin-bottom:6px;color:var(--muted)}
.deposit-entry :is(.customer-form-fields select,.deposit-transfer-form input[name=amount]){height:40px;min-height:40px;font-size:13px;padding:0 12px;font-weight:400;color:var(--text);background:var(--surface-soft);border:1px solid var(--line);border-radius:6px}
.deposit-entry .channel-details.customer-form-section{padding:0 16px 16px;margin:0;border-top:0;border-radius:0 0 8px 8px;min-width:0}
.deposit-entry .channel-details .deposit-card-heading{padding:0 0 12px;border:0;min-height:0}
.deposit-entry .deposit-address{display:grid;grid-template-columns:146px minmax(0,1fr);align-items:center;gap:20px;border:1px solid var(--line);border-radius:7px;padding:16px;background:var(--surface-soft)}
.deposit-entry .deposit-address .deposit-qr{display:grid;width:146px;height:146px;max-width:100%;margin:0;padding:7px;place-items:center;background:#fff;border-radius:6px}
.deposit-entry .deposit-address .deposit-qr svg{display:block;width:132px;height:132px;max-width:100%}
.deposit-entry .deposit-address-copy{display:grid;min-width:0;gap:10px}
.deposit-entry .deposit-address-copy>span{color:var(--muted);font-size:10.5px;font-weight:700}
.deposit-entry .deposit-address-copy>bdi{overflow-wrap:anywhere;font-family:monospace;font-size:12.5px;line-height:1.45}
.deposit-entry :is(.deposit-address-copy>button,.deposit-submit-footer>button){min-height:38px;font-size:12.5px;border-radius:7px;background:var(--green);border:1px solid var(--green);box-shadow:none;color:#fff}
.deposit-entry .deposit-address-copy>button{justify-self:start}
.deposit-entry .deposit-channel-facts{display:grid;gap:0;margin-top:10px}
.deposit-entry .deposit-channel-facts .info-line{gap:12px;font-size:11.5px;flex-wrap:wrap;padding-block:9px}
.deposit-entry .deposit-channel-facts .info-line:last-child{border:0}
.deposit-entry .copy-field{padding:10px 12px;margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;min-width:0}
.deposit-entry .copy-field>div{min-width:0;display:grid;gap:3px}
.deposit-entry .copy-field bdi{font-size:12px;overflow-wrap:anywhere}
.deposit-entry .copy-field>div>span{font-size:10.5px;color:var(--muted)}
.deposit-entry .copy-field>button{flex:none;min-height:36px;padding:6px 10px;font-size:11px}
.deposit-entry .deposit-checklist{margin:12px 0 0;padding:17px;box-shadow:none}
.deposit-entry .deposit-checklist h3{font-size:16px;margin:0 0 13px}
.deposit-entry .deposit-checklist ol{display:grid;gap:7px;list-style:none;margin:0;padding:0}
.deposit-entry .deposit-checklist li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;font-size:11.5px;line-height:1.45;color:var(--muted)}
.deposit-entry .deposit-checklist li>bdi{color:var(--green);font-size:10.5px}
.deposit-entry .deposit-transfer-form.customer-form-section{padding:0;position:sticky;top:18px;margin:0;overflow:hidden}
.deposit-entry .deposit-ticket-body{display:grid;gap:13px;padding:16px}
.deposit-entry .deposit-ticket-body :is(.field,.security-note,.management-error){margin:0}
.deposit-entry .deposit-ticket-body :is(.deposit-amount-section,.deposit-proof-section){min-width:0}
.deposit-entry .deposit-proof-section>.field{margin-bottom:6px}
.deposit-entry #deposit-proof-requirements{font-size:11px;line-height:1.5;font-weight:600}
.deposit-entry .deposit-proof-upload{display:flex;align-items:center;justify-content:center;gap:10px;min-height:68px;padding:12px;border:1px dashed var(--line);border-radius:7px;background:transparent;color:var(--text);font-size:12px;white-space:normal;box-shadow:none}
.deposit-entry .deposit-proof-upload>svg{width:24px;height:24px;color:var(--green);flex:none}
.deposit-entry .deposit-proof-upload:hover{border-color:var(--green);background:var(--accent-soft)}
.deposit-entry .deposit-proof{display:block;max-width:100%;max-height:180px;object-fit:contain;margin-top:10px}
.deposit-entry #deposit-proof-preview:empty,.deposit-entry #deposit-quote:empty{display:none}
.deposit-entry .deposit-submit-footer{margin:0;padding:0;border:0}
.deposit-entry .deposit-submit-footer>button{width:100%;white-space:normal;line-height:1.5}
.deposit-entry .deposit-submit-footer>.management-error:empty{display:none}
.deposit-entry .deposit-submit-footer>button:disabled{background:var(--surface-soft);border-color:var(--line);color:var(--muted);opacity:1}
.deposit-mobile-history{display:none}
@media(max-width:1180px){
 .deposit-entry .deposit-form-layout{grid-template-columns:minmax(0,1fr)}
 .deposit-entry .deposit-transfer-form.customer-form-section{position:static}
}
@media(max-width:900px){
 .content[data-view=deposit]>.title-row{align-items:center;margin-bottom:16px}
 .content[data-view=deposit]>.title-row h1{font-size:20px;margin:0}
 .content[data-view=deposit]>.title-row p{display:none}
 .content[data-view=deposit]>.title-row>.actions{display:none}
 .deposit-entry .deposit-form-layout{gap:16px}
 .deposit-entry .deposit-method-card{border:0;border-radius:0;background:transparent}
 .deposit-entry .deposit-method-card>.deposit-card-heading{min-height:0;padding:0;border:0}
 .deposit-entry .deposit-method-card>.deposit-card-heading h3{display:none}
 .deposit-entry .payment-methods{width:100%;border:0;padding:4px;margin:0 0 16px;background:var(--panel);border-radius:12px;gap:8px}
 .deposit-entry .payment-methods>button{min-height:44px;padding:8px 12px;font-size:14px;font-weight:500;border-radius:8px}
 .deposit-entry .payment-methods>button.primary{background:var(--green);color:#fff;box-shadow:none}
 .deposit-entry .customer-form-fields{gap:12px;padding:0;margin-bottom:16px}
 .deposit-entry .customer-form-fields>.field{padding:12px;border-radius:12px;background:var(--panel)}
 .deposit-entry .customer-form-fields>.field>span{font-size:12px;font-weight:400;margin-bottom:4px}
 .deposit-entry .customer-form-fields select{min-height:28px;height:28px;border:0;padding:0;background-color:transparent;font-size:16px;font-weight:700;border-radius:0}
 .deposit-entry .channel-details.customer-form-section{padding:16px;border:0;border-radius:12px;margin-bottom:0}
 .deposit-entry .channel-details .deposit-card-heading h3{font-size:14px;font-weight:500}
 .deposit-entry .channel-details .deposit-card-heading>bdi{font-size:12px;color:var(--muted)}
 .deposit-entry .deposit-address{grid-template-columns:minmax(0,1fr);gap:16px;padding:16px;border:0;border-radius:12px}
 .deposit-entry .deposit-address .deposit-qr{width:176px;height:176px;justify-self:center;border-radius:12px;padding:8px;box-shadow:0 8px 20px rgb(0 0 0 / .12)}
 .deposit-entry .deposit-address .deposit-qr svg{width:160px;height:160px}
 .deposit-entry .deposit-address-copy{gap:12px;text-align:center}
 .deposit-entry .deposit-address-copy>span{display:none}
 .deposit-entry .deposit-address-copy>bdi{display:block;padding:12px;background:var(--bg);border-radius:8px;font-size:14px;line-height:1.625}
 .deposit-entry .deposit-address-copy>button{width:100%;min-height:44px;justify-self:stretch;font-size:14px;border-radius:8px}
 .deposit-entry .deposit-checklist{margin-top:16px;padding:16px;border:0;border-radius:12px}
 .deposit-entry .deposit-checklist h3{font-size:14px;margin-bottom:8px}
 .deposit-entry .deposit-checklist li{font-size:12px;grid-template-columns:18px minmax(0,1fr)}
 .deposit-entry .deposit-transfer-form.customer-form-section{border:0;background:transparent;box-shadow:none;overflow:visible}
 .deposit-entry .deposit-transfer-form>.deposit-card-heading{display:none}
 .deposit-entry .deposit-ticket-body{gap:16px;padding:0}
 .deposit-entry :is(.deposit-amount-section,.deposit-proof-section){padding:16px;border-radius:12px;background:var(--panel)}
 .deposit-entry .deposit-transfer-form input[name=amount]{font-size:16px;min-height:48px}
 .deposit-entry .deposit-proof-upload{flex-direction:column;gap:8px;min-height:128px;font-size:14px;border-radius:12px;background:var(--surface-soft)}
 .deposit-entry .deposit-proof-upload>svg{width:32px;height:32px}
 .deposit-entry .deposit-submit-footer>button{min-height:48px;border-radius:12px;font-size:16px;font-weight:700}
 .deposit-mobile-history{display:grid;gap:10px;margin-top:16px}
 .deposit-mobile-history>button{width:100%;min-height:56px;border:0;background:var(--panel);color:var(--text);border-radius:12px;text-align:start;padding:16px;font-size:14px}
 .content[data-view=deposit] .deposit-entry{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}
 .content[data-view=deposit] .deposit-entry .deposit-submit-footer>button{scroll-margin-bottom:calc(96px + env(safe-area-inset-bottom,0px))}
}
/* Withdrawal uses the reference's compact request/summary split. */
#dialog:has(.withdrawal-reference-form){--green:#2563eb;--accent-soft:rgb(37 99 235 / .08);width:min(1050px,calc(100vw - 40px));max-width:none;padding:20px;max-height:calc(100dvh - 40px);overflow:auto}
html[data-bs-theme=dark] #dialog:has(.withdrawal-reference-form){--green:#4c8bf5;--accent-soft:rgb(76 139 245 / .12)}
#dialog:has(.withdrawal-reference-form) h2{font-size:24px;margin-bottom:16px}
.withdrawal-workspace{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:12px;align-items:start}
.withdrawal-reference-form :is(.withdrawal-request-card,.withdrawal-summary-card,.withdrawal-limits-card){min-width:0;border:1px solid var(--line);border-radius:8px;background:var(--panel)}
.withdrawal-reference-form .funding-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line);min-height:56px}
.withdrawal-reference-form .funding-card-heading h3{font-size:14px;margin:0}
.withdrawal-reference-form .funding-card-heading>svg{width:20px;height:20px;color:var(--green)}
.withdrawal-reference-form .withdrawal-request-body{display:grid;gap:13px;padding:16px}
.withdrawal-reference-form .field{margin:0;min-width:0}
.withdrawal-reference-form .field>span{font-size:11px;color:var(--muted);font-weight:600;margin-bottom:6px}
.withdrawal-reference-form .withdrawal-asset-controls{margin:0;gap:12px}
.withdrawal-reference-form :is(input,select){height:40px;min-height:40px;padding:0 12px;font-size:13px;border-radius:6px;background:var(--surface-soft)}
.withdrawal-reference-form :is(.withdrawal-address-control,.withdrawal-pin-control,.withdrawal-amount-control){display:block;position:relative;margin:0;min-width:0}
.withdrawal-reference-form :is(.withdrawal-address-control,.withdrawal-pin-control,.withdrawal-amount-control)>.field{display:block}
.withdrawal-reference-form :is(.withdrawal-address-control,.withdrawal-pin-control,.withdrawal-amount-control)>.field>input{padding-inline-end:90px}
.withdrawal-reference-form :is(.withdrawal-address-control,.withdrawal-pin-control,.withdrawal-amount-control)>button{position:absolute;inset-inline-end:5px;bottom:4px;min-height:32px;max-width:85px;padding:4px 8px;border:0;background:transparent;color:var(--green);font-size:11px;line-height:1.3;white-space:normal}
.withdrawal-reference-form .withdrawal-amount-pin{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.withdrawal-reference-form .withdrawal-pin-control .customer-field-label>svg{display:none}
.withdrawal-reference-form .withdrawal-summary-cards{display:grid;gap:12px;min-width:0}
.withdrawal-reference-form .withdrawal-summary-card{padding:16px;background:linear-gradient(135deg,var(--accent-soft),var(--panel) 64%)}
.withdrawal-reference-form .withdrawal-wallet-summary{display:grid;gap:8px;padding:0 0 16px;border:0;border-bottom:1px solid var(--line);background:transparent;border-radius:0;margin:0}
.withdrawal-reference-form .withdrawal-wallet-summary .customer-form-icon{display:none}
.withdrawal-reference-form .withdrawal-wallet-summary .customer-form-heading{font-size:11.5px;font-weight:400;color:var(--muted)}
.withdrawal-reference-form .withdrawal-wallet-summary>strong{font-size:26px;line-height:1.2;font-weight:650;font-variant-numeric:tabular-nums}
.withdrawal-reference-form .withdrawal-quote-summary{padding:0;margin:0;border:0;border-radius:0;background:transparent}
.withdrawal-reference-form .info-line{padding-block:9px;font-size:11.5px;gap:12px}
.withdrawal-reference-form .info-line strong{font-size:12px;min-width:0;overflow-wrap:anywhere}
.withdrawal-reference-form .info-line .customer-form-heading{gap:6px}
.withdrawal-reference-form .withdrawal-limits-card{padding:7px 16px}
.withdrawal-reference-form .withdrawal-limits{border:0;margin:0}
.withdrawal-reference-form .withdrawal-limits strong{font-size:11.5px}
.withdrawal-reference-form .security-note{font-size:11.5px;margin:8px 0 0;line-height:1.5}
.withdrawal-reference-form .withdrawal-submit-footer{padding:0;margin:0;border:0}
.withdrawal-reference-form .withdrawal-submit-footer>.security-note{margin:0 0 12px;padding:11px 12px;border:1px solid var(--line);border-radius:7px;background:var(--surface-soft)}
.withdrawal-reference-form .withdrawal-submit-footer>button{min-height:40px;border:1px solid var(--green);border-radius:7px;background:var(--green);box-shadow:none;color:#fff;font-size:12.5px}
.withdrawal-reference-form .withdrawal-submit-footer>button:disabled{background:var(--surface-soft);border-color:var(--line);color:var(--muted);opacity:1}
.withdrawal-reference-form :is(#withdrawal-preview,.management-error):empty{display:none}
.withdrawal-reference-form #withdrawal-preview .info-line{margin:0;padding:9px 0}
@media(max-width:900px){
 #dialog:has(.withdrawal-reference-form){width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:16px;border-radius:14px}
 #dialog:has(.withdrawal-reference-form) h2{font-size:20px;margin-bottom:12px}
 .withdrawal-workspace{grid-template-columns:minmax(0,1fr);gap:12px}
 .withdrawal-reference-form :is(.withdrawal-request-card,.withdrawal-summary-card,.withdrawal-limits-card){border-radius:12px}
 .withdrawal-reference-form .withdrawal-summary-cards{grid-row:1}
 .withdrawal-reference-form .withdrawal-summary-card{padding:14px 16px}
 .withdrawal-reference-form .withdrawal-wallet-summary{padding-bottom:10px}
 .withdrawal-reference-form .withdrawal-wallet-summary>strong{font-size:24px}
 .withdrawal-reference-form .withdrawal-quote-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
 .withdrawal-reference-form .withdrawal-quote-summary .info-line{flex-wrap:wrap;gap:4px;border:0}
 .withdrawal-reference-form .withdrawal-quote-summary .info-line>span{width:100%}
 .withdrawal-reference-form .withdrawal-quote-summary .security-note{grid-column:1 / -1}
 .withdrawal-reference-form .withdrawal-limits-card{padding:0 16px}
 .withdrawal-reference-form .withdrawal-request-body{padding:14px;gap:14px}
 .withdrawal-reference-form .withdrawal-amount-pin{grid-template-columns:minmax(0,1fr);gap:14px}
 .withdrawal-reference-form :is(input,select){font-size:16px;min-height:44px;height:44px}
 .withdrawal-reference-form :is(.withdrawal-address-control,.withdrawal-pin-control,.withdrawal-amount-control)>button{min-height:36px;font-size:12px}
 .withdrawal-reference-form .withdrawal-submit-footer>button{min-height:48px;font-size:15px;border-radius:10px}
}
#dialog:has(.staff-review-form){width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:24px;scroll-padding-block:24px}
.staff-review-form{display:grid;gap:16px;min-width:0}
.staff-review-form>.field,.staff-review-form>.notice,.staff-review-form>.security-note{margin:0}
.staff-review-form .field>span{display:flex;align-items:center;justify-content:space-between;gap:12px}
.staff-review-form .optional-label{font-size:12px;font-weight:400;color:var(--muted)}
.staff-review-form textarea{min-height:84px;resize:vertical}
.staff-review-form .deposit-snapshot,.staff-review-form .withdrawal-snapshot{border:1px solid var(--line);border-radius:10px;padding:16px;background:var(--surface-soft);min-width:0;overflow-wrap:anywhere}
.staff-review-form .credit-form-footer{position:sticky;bottom:-24px;background:var(--panel);padding-block:12px;margin:0;border-top:1px solid var(--line)}
.staff-review-form button[type=submit]{min-height:44px;white-space:normal}
@media(max-width:900px){
 #dialog:has(.staff-review-form){padding:18px;width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}
 .staff-review-form .credit-form-footer{bottom:-18px}
 .staff-review-form .form-grid{grid-template-columns:minmax(0,1fr)}
}
.deposit-entry .funding-eyebrow{margin:0 0 4px;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--green)}
.deposit-entry #deposit-amount-field{position:relative}
.deposit-entry #deposit-amount-field input{padding-inline-end:65px}
.deposit-entry .deposit-amount-unit{position:absolute;inset-inline-end:12px;top:35px;color:var(--muted);font-size:11px;font-weight:600;pointer-events:none}
.deposit-entry .deposit-amount-help{margin:6px 0 0;font-size:11.5px;color:var(--muted)}
.deposit-entry #deposit-order-summary .info-line{padding-block:9px;font-size:11.5px;gap:12px}
.deposit-entry #deposit-order-summary .info-line:last-child{border:0}
.deposit-entry #deposit-order-summary strong{font-size:12px}
@media(max-width:900px){.deposit-entry .deposit-card-heading .funding-eyebrow{display:none}.deposit-entry #deposit-amount-field .deposit-amount-unit{top:38px}.deposit-entry #deposit-order-summary{padding:0 16px}}
/* Final cascade alignment after the common mobile form enhancements. */
@media(max-width:900px){
 .deposit-entry .customer-form-fields>.field>select{height:44px;min-height:44px;border:0;padding:0;background-color:transparent;font-size:16px;font-weight:700;box-shadow:none}
 .deposit-entry .deposit-channel-facts{display:none}
 .deposit-entry .deposit-method-card>.deposit-card-heading>div:not(.payment-methods){display:none}
 .deposit-entry .deposit-checklist .funding-eyebrow{display:none}
 .deposit-entry .deposit-address-copy>bdi{overflow-wrap:anywhere;word-break:break-all}
 .deposit-entry .deposit-checklist{display:none}
 .deposit-entry .deposit-review-note{padding:14px 16px;margin-bottom:16px;background:var(--panel);border-radius:12px}
 .deposit-entry .deposit-card-heading{padding-bottom:12px}
 .deposit-entry .deposit-receiving:has(.deposit-method-label) .deposit-method-card>.deposit-card-heading{display:none}
}
.withdrawal-reference-form .withdrawal-wallet-summary>strong{font-size:26px!important;font-weight:650}
.withdrawal-reference-form .withdrawal-amount-control input[name=amount]{height:40px;min-height:40px;font-size:16px;font-weight:500}
.withdrawal-reference-form .withdrawal-pin-control>button{bottom:4px;align-self:auto}
@media(max-width:900px){.withdrawal-reference-form .withdrawal-amount-control input[name=amount]{height:44px;min-height:44px;font-size:16px}}

.deposit-entry .deposit-review-note{margin-bottom:12px!important}
#dialog:has(.withdrawal-reference-form){overflow-x:hidden}
#fund-form.withdrawal-reference-form{min-width:0;max-width:100%;margin:0}
#fund-form.withdrawal-reference-form .withdrawal-asset-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
#fund-form.withdrawal-reference-form .withdrawal-amount-control input[name=amount]{height:40px;min-height:40px;font-size:16px;font-weight:500}
#fund-form.withdrawal-reference-form .withdrawal-pin-control>button{inset-block-end:4px;top:auto;transform:none}
@media(max-width:900px){#fund-form.withdrawal-reference-form .withdrawal-amount-control input[name=amount]{height:44px;min-height:44px}}
.deposit-entry .customer-form-fields>.field:only-child{grid-column:1 / -1}
.deposit-entry .channel-details .copy-field{background:transparent;border:0;border-bottom:1px solid var(--line)}
.deposit-entry .channel-details .copy-field:last-of-type{border-bottom:0}
.deposit-entry .channel-details .copy-field bdi{font-family:inherit}
.deposit-entry .deposit-submit-footer>button:disabled{background:color-mix(in srgb,var(--muted) 18%,var(--panel))!important;color:var(--muted)!important;border-color:var(--line)!important;box-shadow:none!important}
#fund-form.withdrawal-reference-form input[name=amount]{font-size:16px!important;min-height:40px!important;height:40px!important}
@media(max-width:900px){#fund-form.withdrawal-reference-form input[name=amount]{min-height:44px!important;height:44px!important}}
.funding-mobile-nav{display:none}
.funding-mobile-picker{display:none}
.funding-sheet-backdrop{display:none}
.funding-picker-field{min-width:0}
.funding-native-select{min-width:0}
@media(max-width:900px){
 body:has(.content[data-view=deposit]) .user-shell>.workspace>.topbar{display:none}
 .content[data-view=deposit]>.funding-mobile-nav{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:8px;position:sticky;inset-block-start:0;z-index:30;margin:-16px -16px 16px;padding:calc(6px + env(safe-area-inset-top,0px)) 12px 6px;min-height:56px;background:var(--panel);border-bottom:1px solid var(--line)}
 .funding-mobile-nav strong{min-width:0;font-size:16px;line-height:1.35}
 .funding-mobile-nav>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 10px;color:var(--text);font-size:13px;text-decoration:none;border-radius:10px}
 .funding-mobile-nav>a:last-child{background:var(--surface-soft);white-space:nowrap}
 .funding-mobile-nav-back{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:12px;background:transparent;color:var(--text)}
 .funding-mobile-nav-back svg{width:20px;height:20px}
 [dir=rtl] .funding-mobile-nav-back svg{transform:scaleX(-1)}
 .funding-picker-field .funding-native-select{display:none!important}
 .funding-picker-field .funding-mobile-picker{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:44px;padding:0;border:0;background:transparent;color:var(--text);font-size:16px;font-weight:700;text-align:start;box-shadow:none}
 .funding-mobile-picker strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}
 .funding-mobile-picker svg{width:18px;height:18px;flex:none;color:var(--muted)}
 #dialog:has(.withdrawal-reference-form) .dialog-header{display:none}
 #dialog:has(.withdrawal-reference-form) .withdrawal-mobile-nav{display:grid;margin:-16px -14px 14px;padding:calc(2px + env(safe-area-inset-top,0px)) 2px 8px;position:sticky;inset-block-start:-16px;background:var(--panel);border-bottom:1px solid var(--line);z-index:5}
 #dialog:has(.withdrawal-reference-form) .withdrawal-mobile-nav>a:last-child{font-size:12px}
 body.funding-sheet-open{overflow:hidden}
 .funding-sheet-backdrop{display:flex;position:fixed;inset:0;z-index:2000;align-items:flex-end;justify-content:center;background:rgb(0 0 0 / .56);padding:0}
 .funding-sheet-scrim{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent;cursor:default}
 .funding-sheet{position:relative;width:100%;max-height:min(72dvh,560px);overflow:auto;padding:0 16px env(safe-area-inset-bottom,0px);border-radius:20px 20px 0 0;background:var(--panel);box-shadow:0 -12px 40px rgb(0 0 0 / .24);animation:funding-sheet-rise .18s ease-out}
 .funding-sheet-header{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;inset-block-start:0;padding:16px 0 12px;background:var(--panel);border-bottom:1px solid var(--line);z-index:1}
 .funding-sheet-header strong{font-size:16px}
 .funding-sheet-options{display:grid;gap:8px;padding:12px 0 16px}
 .funding-sheet-option{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft);color:var(--text);font-size:15px;text-align:start;box-shadow:none}
 .funding-sheet-option[aria-selected=true]{border-color:var(--green,#2563eb);background:color-mix(in srgb,var(--green,#2563eb) 12%,var(--panel));color:var(--text);font-weight:700}
 .funding-sheet-option[aria-selected=true]::after{content:'✓';margin-inline-start:auto;color:var(--green,#2563eb);font-weight:800}
}
@media(min-width:901px){.funding-mobile-nav,.funding-mobile-picker{display:none!important}}
@keyframes funding-sheet-rise{from{transform:translateY(18px);opacity:.7}to{transform:translateY(0);opacity:1}}
