.theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex-shrink:0;border:1px solid #35465f;border-radius:6px;background:transparent;color:#b8cce8;cursor:pointer;padding:7px}.theme-toggle svg{width:18px;height:18px}.theme-toggle:focus-visible{outline:2px solid #498ceb;outline-offset:3px}.theme-moon{display:none}[data-theme=light] .theme-sun{display:none}[data-theme=light] .theme-moon{display:block}
[data-theme=light] .customer-partners .payment-option{background:#fff;border-color:#cbd6e4;color:#213149}
[data-theme=light] .customer-partners .payment-option:hover{background:#f2f7fd;border-color:#5984b7;color:#213149}
[data-theme=light] .customer-partners .payment-option p{color:#52667f}
[data-theme=light] .customer-partners .payment-method-image{background:#fff;border-color:#d3dfed}
[data-theme=light] .customer-partners .payment-option-action{background:#eaf2fc;border-color:#cfdaea;color:#245b96}
[data-theme=light] .customer-partners .payment-option:hover .payment-option-action{background:#ddeafa;color:#194a80}
[data-theme=light] .customer-partners .payment-option:focus-visible{outline:3px solid #2864a5;outline-offset:3px}
html[data-theme=light]{--ink:#213149;--muted:#64758a;--paper:#f3f6fa;--line:#dce3ec;--white:#fff;--surface:#fff;--surface-raised:#f5f8fc;--positive:#18815e;--red:#bd3449;color-scheme:light}
[data-theme=light] body.trading-theme{background:#f3f6fa;color:#213149}
[data-theme=light] :is(.topbar,.sidebar,.public-header,.verification-topbar,.profile-dropdown){background:#fff;border-color:#dce3ec;box-shadow:none}
[data-theme=light] :is(.brand,.header-balance strong,.account-info strong,.customer-brand,.profile-dropdown strong){color:#19304d}
[data-theme=light] :is(.terminal-label,.header-context,.account-info,.sidebar-account,.nav-caption,.sidebar-workspace-heading>span,.customer-brand small){color:#62768f}
[data-theme=light] :is(.nav-link,.profile-dropdown a,.profile-dropdown button){color:#50647c}
[data-theme=light] .nav-link:hover,[data-theme=light] .nav-link.active{background:#eaf2fc;color:#215c9e;border-color:#ccdef5}
[data-theme=light] .brand-mark{background:#e9f4fa;border-color:#bfd9e9;color:#146a89}
[data-theme=light] :is(.card,.trading-metric,.order-panel,.account-banner,.user-overview-metrics,.identity-main,.email-verification-card,.user-action-dialog,.admin-confirm-dialog,.expert-card,.catalog-plan,.home-plan,.notification-item){background:#fff;border-color:#dce3ec;color:#213149;box-shadow:none}
[data-theme=light] :is(.banner-footer,.order-account,.note-card,.help-card,.quick-link,.sidebar-profile,.sidebar-profile-top,.sidebar-profile-bottom,.account-copy-detail,.verification-upload,.expert-search-control,.deposit-subscription-summary,.investment-available,.active-signal-plans,.active-investments article){background:#f6f9fd;border-color:#dce3ec;color:#334b68}
[data-theme=light] :is(h1,h2,h3,h4,.big-number,.metric-value strong,.table-money,.user-overview-metrics strong,.expert-metrics dd,.account-copy-expert strong,.user-trader-person strong,.identity-received strong,.email-address-block strong,.sidebar-profile-top strong,.account-detail-row strong,.header-context strong){color:#1b304a!important}
[data-theme=light] :is(p,.form-help,.card-label,.user-detail-label,.user-summary-details dt,.verification-overline,.verification-heading p,.identity-guide li,.verification-upload small,.email-verification-steps,.identity-received span,.email-address-block span,.user-overview-top,.user-status-list,.expert-directory-count span,.metric-footer,.order-funds span,.account-copy-label,.account-copy-expert small,.transaction-method,.transaction-reference,.user-plan-summary small,.user-trader-person small,.user-quiet-empty,.records-count,.records-footer,.table-date small){color:#62738a}
[data-theme=light] :is(.field label,label,.user-summary-details dd,.expert-directory-count strong,.expert-metrics dt,.account-detail-row span,.verification-signout){color:#344b66}
[data-theme=light] :is(input,select,textarea){background:#fff;color:#263c57;border-color:#cbd6e4;color-scheme:light}
[data-theme=light] input::placeholder,[data-theme=light] textarea::placeholder{color:#7e8da1}
[data-theme=light] :is(.button.secondary,.theme-toggle,.account-shortcuts a,.settings-tabs a,.user-detail-nav a,.admin-user-sections a){background:#fff;color:#365b87;border-color:#cfdae8}
[data-theme=light] :is(.button,button.primary){color:#fff}
[data-theme=light] .button.secondary{color:#365b87}[data-theme=light] .button.danger{background:#fff1f2;color:#a82f41;border-color:#f1c7ce}
[data-theme=light] :is(.text-link,.pagination a,.user-overview-metrics a,.user-overview-metrics button,.metric-footer a,.expert-search-clear,.home-secondary){color:#2864a5}
[data-theme=light] .portal .table-wrap th{background:#edf2f8;border-color:#d9e2ed;color:#52667f}
[data-theme=light] .portal .table-wrap td,[data-theme=light] .portal .table-wrap tbody tr:nth-child(even)>td{background:#fff;color:#334b68;border-color:#e3e9f1}
[data-theme=light] .portal .table-wrap tbody tr:hover>td{background:#f5f8fc}
[data-theme=light] :is(.records-heading,.records-footer){background:#f7f9fc;border-color:#dce3ec}
[data-theme=light] .badge{background:#eef2f7;color:#52677f;border-color:#d7e0eb}
[data-theme=light] :is(.badge.approved,.badge.active,.badge.verified,.alert.success){background:#e9f7f0;color:#176a4b;border-color:#c1e6d3}
[data-theme=light] :is(.badge.pending,.badge.unverified,.badge.needs_review){background:#fff5df;color:#8b5d10;border-color:#eddbaf}
[data-theme=light] :is(.badge.rejected,.badge.suspended,.alert.error){background:#fff0f2;color:#a32f45;border-color:#efc6ce}
[data-theme=light] :is(.user-account-status.is-active,.user-plan-summary>span,.verification-progress .complete,.positive-money){color:#207857}
[data-theme=light] .negative-money{color:#b13249}
[data-theme=light] :is(.verification-progress,.identity-history,.identity-received,.user-plan-summary,.user-quiet-empty,.user-summary-details>div,.user-profile-header,.user-overview-metrics>div,.user-dialog-top,.settings-tabs,.user-detail-nav,.expert-metrics,.expert-action,.banner-footer,.metric-footer,.workspace-footer,.verification-footer){border-color:#dce3ec}
[data-theme=light] .verification-progress .current{color:#245f9d}[data-theme=light] .verification-progress .current b{background:#e7f0fc;border-color:#b8cfea}
[data-theme=light] .identity-state-icon{background:#eaf1fc;color:#2c629c}[data-theme=light] .identity-state-icon.verified{background:#e5f6ed;color:#207857}
[data-theme=light] .verification-upload input::file-selector-button{background:#eaf1fb;border-color:#c4d5eb;color:#315a8b}
[data-theme=light] .expert-search-control input{color:#263c57!important;background:transparent!important}[data-theme=light] .expert-search-control button{color:#2e629d}
[data-theme=light] .settings-tabs a[aria-selected=true],[data-theme=light] .user-detail-nav a.selected{color:#225f9d;border-bottom-color:#3476e5}
[data-theme=light] .home-section,[data-theme=light] .market-home{background:#f3f6fa}[data-theme=light] :is(.market-card,.crypto-card,.principle-grid article,.learning-list article,.home-faq details,.plan-review,.bitcoin-feature>div){background:#fff;border-color:#dce3ec}
[data-theme=light] .market-hero h1{color:#f5f8ff!important}[data-theme=light] .market-hero p{color:#cad7e8}[data-theme=light] .market-hero .home-kicker{color:#9fc9f3}
[data-theme=light] .home-plan dd{color:#263c57}[data-theme=light] .home-plan dl>div{border-color:#dce3ec}[data-theme=light] .home-plan dt{color:#62738a}
@media(max-width:520px){.theme-toggle{width:30px;height:30px;padding:6px}.customer-header-actions{gap:8px}}
[data-theme=light] .workspace,[data-theme=light] .workspace-main{background:#f3f6fa}
[data-theme=light] .trading-activity>.section-heading{background:#f7f9fc;border-color:#dce3ec}
[data-theme=light] .transaction-identity strong,[data-theme=light] .header-balance>div>span,[data-theme=light] .order-funds strong,[data-theme=light] .table-customer-link{color:#244c7b!important}
[data-theme=light] :is(.table-date time,.table-money>span,.user-overview-metrics>div>span,.card-label){color:#5c718c}
[data-theme=light] .table-status .badge.approved,[data-theme=light] .table-status .badge.verified{color:#176a4b}
[data-theme=light] .table-status .badge.pending{color:#8b5d10}
[data-theme=light] .header-notifications,[data-theme=light] .header-support{background:#edf3fb;border-color:#d4dfed;color:#34618f}
[data-theme=light] .order-funds{border-color:#dce3ec}
[data-theme=light] .risk-inputs label{color:#526b86!important}
[data-theme=light] .customer-support-card{background:#edf3fb;border-color:#d4dfed;color:#34618f}[data-theme=light] .customer-support-card strong{color:#244c7b}[data-theme=light] .customer-support-card small{color:#5c718c}
[data-theme=light] :is(.user-dialog-top,.admin-confirm-dialog p,.user-action-dialog p,.identity-guide p,.card .form-help){color:#61758c}

/* Keep authentication and plan-category cards readable in light mode. */
[data-theme=light] :is(.auth-form,.plan-category-card){background:#fff;border-color:#dce3ec;color:#213149}
[data-theme=light] .auth-story{background:linear-gradient(135deg,#e6f0fc,#f3f7fd);border-color:#cbd9eb;color:#213149}
[data-theme=light] .auth-story p,[data-theme=light] .auth-foot{color:#52667f}
[data-theme=light] :is(.auth-story .eyebrow,.auth-story .story-symbol,.plan-category-card strong){color:#245f9d}
[data-theme=light] .plan-category-card>div{border-color:#dce3ec}
[data-theme=light] .plan-category-card>div>span{color:#52667f}
[data-theme=light] .plan-category-card:hover{background:#f2f7fd;border-color:#5984b7;color:#213149}

.public-header.homepage-header{position:sticky;top:0;z-index:50;background:#0c1220}
[data-theme=light] .public-header.homepage-header{background:#fff}
@media(max-width:760px){.public-header.homepage-header{padding-top:12px;padding-bottom:12px}}
