
.customer-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:6px 11px;border:1px solid #e2dcd7;border-radius:99px;background:#fff;color:#66574c;font:12px Arial,sans-serif;white-space:nowrap;cursor:pointer}.customer-theme-toggle>span:first-child{font-size:18px;line-height:1}.customer-theme-toggle:focus-visible{outline:2px solid #ff702f;outline-offset:3px}
html[data-theme=dark]{color-scheme:dark;background:#141719}
html[data-theme=dark] body[data-surface=customer]{--ink:#f1ece7;--muted:#b3aaa2;--line:#363b3d;--spark-surface:#252a2d;--spark-soft:#392b22;--spark-orange-text:#ffab7b;background:#141719;color:#f1ece7}
html[data-theme=dark] body[data-surface=customer] :is(.customer-sidebar,.customer-topbar){background:#1b1f22;border-color:#363b3d;box-shadow:none}
html[data-theme=dark] body[data-surface=customer] :is(h1,h2,h3,h4,legend,label,dt,dd){color:#ece8e3}
html[data-theme=dark] body[data-surface=customer] :is(p,small){color:#b7afa8}
html[data-theme=dark] body[data-surface=customer] :is(.account-panel,.panel,.profile-card,.profile-menu,.profile-security,.statement-history,.statement-entry,.statement-totals,.credit-score-card,.credit-metric,.credit-history-card,.credit-rules-section,.credit-point-rules article,.withdrawal-record,.exchange-conversion-card,.exchange-order-meta,.exchange-tier-card,.account-overview,.account-wallet-overview,.notification-popover,dialog,.support-widget,.support-composer){background:#202528!important;border-color:#3a3d3f!important;color:#ece8e3;box-shadow:none}
html[data-theme=dark] body[data-surface=customer] :is(.profile-page-heading,.profile-capital,.statement-balance){background:linear-gradient(120deg,#302923,#24292d)!important;border-color:#544335;color:#f2e5d8!important}
html[data-theme=dark] body[data-surface=customer] :is(.profile-capital>strong,.profile-stats strong,.statement-totals strong,.statement-balance>strong,.withdrawal-summary strong,.credit-gauge-reading strong,.credit-history-score,.exchange-card-body strong){color:#f4ede7!important}
html[data-theme=dark] body[data-surface=customer] :is(.profile-stats>div,.statement-filters,.withdrawal-notice,.withdrawal-bank-details,.notice,.currency-ticker,.rate-pill,.credit-assessed-badge,.exchange-dialog-body,.exchange-dialog-amount,.exchange-dialog-check){background:#292e31!important;border-color:#3d4245!important;color:#bcb5ae}
html[data-theme=dark] body[data-surface=customer] :is(input,textarea,select){background:#171d21!important;border-color:#454a4e!important;color:#f1ece7!important}
html[data-theme=dark] body[data-surface=customer] :is(input,textarea)::placeholder{color:#968f88!important}
html[data-theme=dark] body[data-surface=customer] :is(.secondary,.quick-actions a:not(.quick-primary),.customer-theme-toggle,.language-picker label){background:#252a2d;border-color:#454a4e;color:#eee6de}
html[data-theme=dark] body[data-surface=customer] :is(.customer-account>a,.customer-sidebar nav a,.customer-sidebar-bottom a,.customer-sidebar-bottom button,.sidebar-profile,.sidebar-profile strong,.profile-menu a,.profile-menu button){color:#c8bfb7!important}
html[data-theme=dark] body[data-surface=customer] .customer-sidebar nav a .nav-icon{background:#292e31;border-color:#414447}
html[data-theme=dark] body[data-surface=customer] :is(.customer-sidebar nav a.active,.customer-sidebar>.sidebar-profile.active,.profile-menu [aria-current=page]){background:#3d2b21!important;border-color:#805332!important;color:#ffaf7f!important}
html[data-theme=dark] body[data-surface=customer] .customer-sidebar nav a.active .nav-icon{background:#ff5000;color:#fff;border-color:#ff5000}
html[data-theme=dark] body[data-surface=customer] .customer-sidebar>.sidebar-profile{background:#252a2d;border-color:#42403d}
html[data-theme=dark] body[data-surface=customer] .profile-menu :is(a,button){background:transparent!important}
html[data-theme=dark] body[data-surface=customer] :is(.customer-sidebar nav a:hover,.profile-menu a:hover,.profile-menu button:hover){background:#33302b!important}
html[data-theme=dark] body[data-surface=customer] .workspace-brand img{background:white;border-radius:12px;padding:8px}
html[data-theme=dark] body[data-surface=customer] :is(.eyebrow,.credit-kicker,.exchange-tier-eyebrow){color:#ffad7c!important}
html[data-theme=dark] body[data-surface=customer] :is(.credit-score-facts dd,.credit-score-facts dt,.credit-metric strong,.rate-pill strong,.rate-pill b,.rate-caption strong,.statement-entry h3){color:#e8e2dc}
html[data-theme=dark] body[data-surface=customer] :is(.statement-credit,.ledger-credit){color:#83d5ab!important}
html[data-theme=dark] body[data-surface=customer] :is(.statement-debit,.ledger-debit){color:#f4a492!important}
html[data-theme=dark] body[data-surface=customer] :is(th,td){border-color:#3b4043;color:#ddd6cf}
html[data-theme=dark] body[data-surface=customer] th{background:#292e31}
html[data-theme=dark] body[data-surface=customer] .credit-gauge-track{stroke:#3b4145}
html[data-theme=dark] body[data-surface=customer] .bank-link-dialog :is(header,footer){background:#2d2925!important;border-color:#524338!important}
html[data-theme=dark] body[data-surface=customer] .bank-link-dialog :is(.bank-status,.bank-title-icon,.bank-close){background:#332c26!important;border-color:#5c4432!important;color:#edc9ac}
html[data-theme=dark] body[data-surface=customer] .bank-link-dialog :is(h2,label){color:#eee4dc!important}
html[data-theme=dark] body[data-surface=customer] .bank-link-dialog .bank-note{color:#bfb0a3}
html[data-theme=dark] body[data-surface=customer] .support-message{background:#30363a;color:#eee5dc;border-color:#42484c}
html[data-theme=dark] body[data-surface=customer] .support-message.support-own{background:#4a2f20;color:#fff1e7}
@media(max-width:600px){.customer-theme-toggle{width:32px;padding:5px;min-height:32px;flex-shrink:0}.theme-label{display:none}.customer-account{gap:5px!important}}

html[data-theme=dark] body[data-surface=customer] .quick-actions a:not(.quick-primary){background:#292e31!important;color:#f4e9df!important;border-color:#454a4e!important}html[data-theme=dark] body[data-surface=customer] .profile-orders-link{background:#392c23;color:#ffc39d;border-color:#6e4b34}html[data-theme=dark] body[data-surface=customer] .batch-live-widget{background:#302820;border-color:#785139}html[data-theme=dark] body[data-surface=customer] .batch-live-widget :is(time,small){color:#ffd0af}

/* Conversion dialogs retain readable surfaces throughout the dark theme. */
html[data-theme=dark] body[data-surface=customer] dialog.exchange-order-dialog{background:#202523!important;color:#f1ece4!important;border-color:#454b46}
html[data-theme=dark] body[data-surface=customer] .exchange-order-dialog :is(.exchange-dialog-body,.exchange-dialog-scroll){background:#202523!important;color:#f1ece4!important}
html[data-theme=dark] body[data-surface=customer] .exchange-order-dialog :is(.exchange-dialog-currency,.exchange-dialog-details,.exchange-dialog-data){background:#292f2b!important;border-color:#444c45!important;color:#f1ece4!important}
html[data-theme=dark] body[data-surface=customer] .exchange-order-dialog :is(.exchange-dialog-direction,.exchange-dialog-data dt,.exchange-dialog-note,.exchange-dialog-save-note,.exchange-dialog-disclosure,.exchange-dialog-complete-copy,.exchange-dialog-home){color:#b9c0b8!important}
html[data-theme=dark] body[data-surface=customer] .exchange-order-dialog :is(.exchange-dialog-currency-line strong,.exchange-dialog-amount,.exchange-dialog-data dd,.exchange-dialog-details summary,.exchange-dialog-progress strong,.exchange-dialog-receipt h3){color:#f5f1e9!important}
html[data-theme=dark] body[data-surface=customer] .exchange-order-dialog .exchange-dialog-amount{background:transparent!important}
html[data-theme=dark] body[data-surface=customer] .exchange-order-dialog .exchange-dialog-data>div{border-color:#424a44!important}
html[data-theme=dark] body[data-surface=customer] .exchange-order-dialog .exchange-dialog-positive dd{color:#83d9bc!important}
html[data-theme=dark] body[data-surface=customer] .exchange-order-dialog .exchange-dialog-negative dd{color:#f2bd8e!important}
html[data-theme=dark] body[data-surface=customer] .exchange-order-dialog .exchange-dialog-swap{border-color:#202523;box-shadow:0 0 0 1px #85542d}
html[data-theme=dark] body[data-surface=customer] .exchange-order-dialog :is(.exchange-dialog-check,.exchange-dialog-legacy,.exchange-dialog-lock-note){background:#33332c!important;border-color:#5a5643!important;color:#e7d6b8!important}
html[data-theme=dark] body[data-surface=customer] .exchange-order-dialog :is(.exchange-dialog-legacy p,.exchange-dialog-check span){color:#c7c5b9!important}
html[data-theme=dark] body[data-surface=customer] .exchange-order-dialog .exchange-dialog-earnings{background:#352e27!important;border-color:#66513d!important}
html[data-theme=dark] body[data-surface=customer] .exchange-order-dialog .exchange-dialog-earnings>span{color:#d5c5b7!important}
html[data-theme=dark] body[data-surface=customer] .exchange-order-dialog .exchange-dialog-earnings>strong{color:#ffbf93!important}
html[data-theme=dark] body[data-surface=customer] .exchange-order-dialog :is(.exchange-dialog-secondary,.exchange-dialog-export){background:#2a302b!important;border-color:#4e574d!important;color:#e3e9de!important}
html[data-theme=dark] body[data-surface=customer] .exchange-order-dialog .exchange-dialog-readiness{background:#263c32;border-color:#436a55}
html[data-theme=dark] body[data-surface=customer] .exchange-order-dialog .exchange-dialog-readiness strong{color:#b9e9cc}
html[data-theme=dark] body[data-surface=customer] .exchange-order-dialog .exchange-dialog-readiness p{color:#b0c8b9}
html[data-theme=dark] body[data-surface=customer] .exchange-order-dialog .exchange-dialog-readiness.is-pending{background:#373327;border-color:#675a37}
html[data-theme=dark] body[data-surface=customer] .exchange-order-dialog .exchange-dialog-readiness.is-pending strong{color:#f0d292}
html[data-theme=dark] body[data-surface=customer] .exchange-order-dialog .exchange-dialog-readiness.is-pending p{color:#d6c69f}
html[data-theme=dark] body[data-surface=customer] .exchange-order-dialog .exchange-dialog-error{background:#422e29;border-color:#895745;color:#ffd1ba}
html[data-theme=dark] body[data-surface=customer] .exchange-order-dialog .exchange-dialog-support-actions button{color:#c3c5bc}
html[data-theme=dark] body[data-surface=customer] .exchange-order-dialog .exchange-dialog-support-actions button:first-child{color:#ebb2a4}
