/* Customer account, delivered data and payment surfaces. */
html[data-customer-theme="dark"] body.nx-customer :is(.ac-page,.ac-sidebar){--ac-ink:#e3ebef;--ac-muted:#9cabb5;--ac-purple:#97bfd6;--ac-line:#314450;--ac-soft:#223744}
html[data-customer-theme="dark"] body.nx-customer .oh-page{--oh-ink:#e3ebef;--oh-muted:#9cabb5;--oh-purple:#97bfd6;--oh-line:#314450}
html[data-customer-theme="dark"] body.nx-customer :is(.od-page,.od-export-modal){--od-ink:#e3ebef;--od-muted:#9cabb5;--od-accent:#97bfd6;--od-line:#314450;color:#e3ebef}
html[data-customer-theme="dark"] body.nx-customer .usdt-page{--ud-ink:#e3ebef;--ud-muted:#9cabb5;--ud-purple:#97bfd6;--ud-line:#314450}
html[data-customer-theme="dark"] body.nx-customer :is(.ac-page,.ac-sidebar,.oh-page,.od-page,.od-export-modal,.usdt-page) *{border-color:#314450}

/* Account cards, navigation, settings and security. */
html[data-customer-theme="dark"] body.nx-customer :is(.ac-sidebar,.ac-card,.ac-heading-mark,.profile-part .account-card,.profile-part .table-scroll,.profile-part .table-wrapper,#profile-edit .modal-content){background:#182630;color:#e3ebef;border-color:#314450;box-shadow:none}
html[data-customer-theme="dark"] body.nx-customer :is(.ac-avatar,.ac-stat-icon,.ac-discount-icon,.ac-record-count,.ac-device,.ac-ledger-balance,.ac-ledger-wallet-icon,.ac-movement-debit,.ac-movement-neutral,.ac-change-neutral,.ac-empty>span,.nx-setting-icon,.nx-card-actions,.nx-security-note,.nx-log-action>span,.nx-tax-tabs){background:#20323e;color:#97bfd6;border-color:#314450}
html[data-customer-theme="dark"] body.nx-customer :is(.ac-sidebar .ac-nav-link,.ac-nav-link>svg,.ac-sidebar .ac-nav-label,.ac-sidebar-user div>span,.ac-eyebrow,.ac-text-link,.ac-profile-fields dt,.ac-device summary,.ac-device p,.ac-filter label,.ac-filter input::placeholder,.ac-filter-bottom label,.ac-reset-link,.ac-transaction-description div>span,.ac-amount-muted,.ac-pagination p,.ac-pagination p b,.ac-pagination nav>b,.ac-pagination nav>span,.ac-empty p,.ac-empty h3,.ac-ledger-balance>div>span,.ac-wallet-stats>div>div>span,.ac-usd-label){color:#9cabb5}
html[data-customer-theme="dark"] body.nx-customer :is(.ac-sidebar-user strong,.ac-card-heading h2,.ac-wallet-stats strong,.ac-profile-fields dd,.ac-transaction-description strong,.ac-ledger-balance strong,.nx-setting-copy label,.nx-qr-step h3,.profile-part .account-title,.profile-part .account-title h4){color:#e3ebef}
html[data-customer-theme="dark"] body.nx-customer .ac-sidebar .ac-nav-link:hover{background:#20323e;color:#e3ebef}
html[data-customer-theme="dark"] body.nx-customer .ac-sidebar .ac-nav-active{background:#223744;color:#97bfd6}
html[data-customer-theme="dark"] body.nx-customer .ac-nav-active>svg{color:#97bfd6}
html[data-customer-theme="dark"] body.nx-customer .ac-sidebar .ac-logout{color:#e5a1b2}
html[data-customer-theme="dark"] body.nx-customer .ac-balance{background:#284657;border-color:#466e86}
html[data-customer-theme="dark"] body.nx-customer :is(.ac-amount-current,.ac-heading-mark){color:#97bfd6}
html[data-customer-theme="dark"] body.nx-customer :is(.nx-setting-copy p,.nx-card-actions>span,.nx-security-note p,.nx-qr-step p,.nx-field-label,.nx-field>label,.nx-field-help,.nx-log-table td:first-child,.nx-log-table td:last-child,.nx-log-action strong){color:#9cabb5}
html[data-customer-theme="dark"] body.nx-customer .nx-switch-track{background:#314450;border-color:#466e86}
html[data-customer-theme="dark"] body.nx-customer .nx-switch input:checked+.nx-switch-track{background:#466e86;border-color:#97bfd6}
html[data-customer-theme="dark"] body.nx-customer .nx-tax-tabs .nav-link{color:#9cabb5}
html[data-customer-theme="dark"] body.nx-customer .nx-tax-tabs .nav-link.active{background:#314450;color:#e3ebef;box-shadow:none}
html[data-customer-theme="dark"] body.nx-customer :is(.ac-filter input,.ac-filter select,.nx-settings-form .form-control,.nx-authenticator-setup .form-control,.nx-tax-fields .form-control,#profile-edit .form-control,.profile-part .form-control,.profile-part .form-select,.profile-part .filter-select){background:#111c25;color:#e3ebef;border-color:#314450}
html[data-customer-theme="dark"] body.nx-customer :is(.ac-filter input,.ac-filter select,.nx-settings-form .form-control,.nx-authenticator-setup .form-control,.nx-tax-fields .form-control,#profile-edit .form-control,.profile-part .form-control):focus{background:#182630;border-color:#97bfd6;box-shadow:0 0 0 3px #97bfd620}
html[data-customer-theme="dark"] body.nx-customer :is(.ac-button-outline,.ac-pagination nav a,.profile-part .shop-widget-btn,.profile-part .table .btn-info,.profile-part .table .btn-success,#profile-edit .modal-close){background:#20323e;color:#c5d6e0;border-color:#314450}
html[data-customer-theme="dark"] body.nx-customer :is(.ac-button-primary,#profile-edit .form-btn,.profile-part .form-btn,.profile-part .table .btn-primary){background:#466e86;color:#fff!important;border-color:#466e86}
html[data-customer-theme="dark"] body.nx-customer :is(.ac-button-primary,#profile-edit .form-btn,.profile-part .form-btn):hover{background:#557f98}
html[data-customer-theme="dark"] body.nx-customer :is(#profile-edit .form-title h3){color:#e3ebef}
html[data-customer-theme="dark"] body.nx-customer :is(#profile-edit .form-title p,#profile-edit .form-label,.profile-part .form-label,.profile-part .filter-label,.profile-part .empty-state p){color:#9cabb5}
html[data-customer-theme="dark"] body.nx-customer :is(.ac-ledger-table th,.profile-part .table thead th){background:#20323e;color:#9cabb5;border-color:#314450}
html[data-customer-theme="dark"] body.nx-customer :is(.ac-ledger-table td,.profile-part .table td){color:#c5d6e0;border-color:#314450}
html[data-customer-theme="dark"] body.nx-customer :is(.ac-ledger-table tbody tr,.profile-part .table tbody tr):hover{background:#20323e}

/* Order history and delivered credentials. */
html[data-customer-theme="dark"] body.nx-customer :is(.oh-panel,.oh-shop-notice,.od-panel,.od-export-modal .modal-content,.od-export-modal .modal-header){background:#182630;color:#e3ebef;border-color:#314450;box-shadow:none}
html[data-customer-theme="dark"] body.nx-customer :is(.oh-retention,.oh-retention-icon,.oh-retention-tag,.oh-toolbar,.oh-table th,.oh-note,.oh-empty>span,.oh-feedback,.oh-bulk-actions>span,.od-heading-icon,.od-selection-bar,.od-account-text,.od-inline-message,.od-empty>span,.od-export-modal .modal-footer,.od-excel-hint,.od-close,.od-column-moves button){background:#20323e;color:#c5d6e0;border-color:#314450}
html[data-customer-theme="dark"] body.nx-customer :is(.oh-browse,.oh-retention p,.oh-retention strong,.oh-summary p,.oh-filter label,.oh-select-controls label,.oh-clear,.oh-product-quantity,.oh-note-status,.oh-time-cell time,.oh-expiry,.oh-pagination p,.oh-pagination p strong,.oh-pagination nav>b,.oh-empty p,.oh-empty h2,.od-search-field>label,.od-reset,.od-page-size,.od-selected-count,.od-records .od-index-column,.od-uid-column code,.od-pagination p,.od-pagination strong,.od-page-position,.od-data-hint,.od-empty p,.od-dialog-eyebrow,.od-export-description,.od-format-options legend,.od-format-options strong,.od-format-options small,.od-column-heading h3,.od-column-heading>span,.od-export-columns label){color:#9cabb5}
html[data-customer-theme="dark"] body.nx-customer :is(.oh-summary strong,.oh-product-name,.oh-payment-cell strong,.od-account-text,.od-empty h3,.od-export-modal h2){color:#e3ebef}
html[data-customer-theme="dark"] body.nx-customer :is(.oh-order-ref,.oh-retention-icon,.oh-retention-tag,.od-heading-icon){color:#97bfd6}
html[data-customer-theme="dark"] body.nx-customer :is(.oh-filter input,.oh-select-controls select,.od-search-input input,.od-page-size select){background:#111c25;color:#e3ebef;border-color:#314450}
html[data-customer-theme="dark"] body.nx-customer :is(.oh-filter input,.oh-note,.od-search-input input):focus{background:#182630;color:#e3ebef;border-color:#97bfd6;box-shadow:0 0 0 3px #97bfd620}
html[data-customer-theme="dark"] body.nx-customer :is(.oh-filter input,.oh-note,.od-search-input input)::placeholder{color:#9cabb5}
html[data-customer-theme="dark"] body.nx-customer :is(.oh-icon-button,.oh-bulk-actions .oh-icon-button,.oh-export-txt,.oh-pagination nav>a,.oh-pagination nav>span,.od-button,.od-button-quiet,.od-row-copy,.od-page-link,.od-export-columns li){background:#20323e;color:#c5d6e0!important;border-color:#314450;box-shadow:none}
html[data-customer-theme="dark"] body.nx-customer :is(.oh-icon-button,.oh-export-txt,.od-button,.od-row-copy,.od-page-link):hover{background:#223744;color:#e3ebef!important;border-color:#466e86}
html[data-customer-theme="dark"] body.nx-customer :is(.oh-search,.oh-export:not(.oh-export-txt),.od-button-primary){background:#466e86;color:#fff!important;border-color:#466e86}
html[data-customer-theme="dark"] body.nx-customer :is(.oh-search,.oh-export:not(.oh-export-txt),.od-button-primary):hover{background:#557f98;color:#fff!important}
html[data-customer-theme="dark"] body.nx-customer :is(.oh-table tbody tr,.od-records tbody tr):hover{background:#20323e}
html[data-customer-theme="dark"] body.nx-customer :is(.od-records thead,.od-records thead tr,.od-records th){background:#20323e;color:#9cabb5}
html[data-customer-theme="dark"] body.nx-customer .od-records tbody tr.od-is-selected{background:#223744;box-shadow:none}
html[data-customer-theme="dark"] body.nx-customer .od-format-options label:has(input:checked){background:#223744;border-color:#97bfd6}
html[data-customer-theme="dark"] body.nx-customer :is(.oh-page button.oh-button:disabled,.oh-page button.oh-icon-button:disabled,.od-page .od-button:disabled,.od-page-link[aria-disabled=true],.od-column-moves button:disabled){background:#182630;color:#7d909c!important;border-color:#314450}

/* Wallet checkout and its optional UID preview. */
html[data-customer-theme="dark"] body.nx-customer .nx-checkout{--nx-ink:#e3ebef;--nx-muted:#9cabb5;--nx-accent:#97bfd6;background:#182630;color:#e3ebef}
html[data-customer-theme="dark"] body.nx-customer .modal:has(.nx-checkout) .modal-content{background:#182630;box-shadow:0 30px 100px #0008}
html[data-customer-theme="dark"] body.nx-customer .nx-checkout :is(.nx-checkout-header,.nx-wallet,.nx-quantity,.nx-coupon){background:#182630;border-color:#314450}
html[data-customer-theme="dark"] body.nx-customer .nx-checkout :is(.nx-payment-panel,.nx-volume-deals,.nx-product-symbol,.nx-close,.nx-wallet>span,.nx-quantity button,.nx-coupon button,.nx-secondary,.nx-receipt pre){background:#20323e;color:#c5d6e0;border-color:#314450}
html[data-customer-theme="dark"] body.nx-customer .nx-checkout :is(.nx-stock-line,.nx-section-label,.nx-wallet strong,label,.nx-totals strong,.nx-volume-deals strong,.nx-receipt pre,.nx-coupon input){color:#e3ebef}
html[data-customer-theme="dark"] body.nx-customer .nx-checkout :is(.nx-checkout-kicker,.nx-product-description,.nx-volume-deals,.nx-coupon-label span,.nx-favorite,.nx-payment-note,.nx-receipt-id,.nx-receipt-note){color:#9cabb5}
html[data-customer-theme="dark"] body.nx-customer .nx-checkout :is(.nx-totals,.nx-total,.nx-sold,.nx-wallet a){border-color:#314450}
html[data-customer-theme="dark"] body.nx-customer .nx-checkout .nx-total strong{color:#97bfd6}
html[data-customer-theme="dark"] body.nx-customer .nx-checkout .nx-primary{background:#466e86;color:#fff}
html[data-customer-theme="dark"] body.nx-customer .nx-checkout .nx-primary:hover{background:#557f98}
html[data-customer-theme="dark"] body.nx-customer .nx-checkout :is(.nx-secondary,.nx-close,.nx-coupon button,.nx-quantity button):hover{background:#223744;color:#e3ebef}
html[data-customer-theme="dark"] body.nx-customer #openModal :is(.pv-container,.pv-payment,.pv-uid-list,.pv-coupon-input){background:#182630!important;color:#e3ebef!important;border-color:#314450!important}
html[data-customer-theme="dark"] body.nx-customer #openModal :is(.pv-header,.pv-payment-title,.pv-uid-list td,.pv-pagination button){border-color:#314450!important}
html[data-customer-theme="dark"] body.nx-customer #openModal :is(.pv-title,.pv-payment-title){color:#e3ebef!important}
html[data-customer-theme="dark"] body.nx-customer #openModal :is(.pv-badge,.pv-close,.pv-selected-badge,.pv-uid-list thead th,.pv-uid-list tr.pv-selected){background:#20323e!important;color:#c5d6e0!important;border-color:#314450!important}
html[data-customer-theme="dark"] body.nx-customer #openModal :is(.pv-value-blue,.pv-value-green){color:#97bfd6!important}
html[data-customer-theme="dark"] body.nx-customer #openModal :is(.pv-btn-pay,.pv-btn-login,.pv-pagination .pv-page-active){background:#466e86!important;color:#fff!important;border-color:#466e86!important}
html[data-customer-theme="dark"] body.nx-customer #openModal :is(.pv-btn-pay,.pv-btn-login):hover:not(:disabled){background:#557f98!important}
html[data-customer-theme="dark"] body.nx-customer .nx-linkedin-rules{background:#20323e;border-color:#314450}
html[data-customer-theme="dark"] body.nx-customer .nx-linkedin-rules h4{color:#e3ebef}
html[data-customer-theme="dark"] body.nx-customer .nx-linkedin-rules li{color:#9cabb5}

/* Deposit and Binance Pay; QR canvases retain their white background. */
html[data-customer-theme="dark"] body.nx-customer :is(.usdt-panel,.usdt-network,.usdt-presets button,.usdt-method-switch a,.bp-methods a){background:#182630;color:#c5d6e0;border-color:#314450;box-shadow:none}
html[data-customer-theme="dark"] body.nx-customer :is(.usdt-guide,.usdt-icon-tile,.usdt-network b,.usdt-amount-field,.usdt-rate,.usdt-history-count,.usdt-copy-row,.usdt-copy-row button,.usdt-details,.usdt-qr-card,.usdt-qr-unavailable,.usdt-support-icon,.usdt-state-expired,#bp-status){background:#20323e;color:#c5d6e0;border-color:#314450}
html[data-customer-theme="dark"] body.nx-customer :is(.usdt-label,.usdt-rate strong,.usdt-copy-row input,.usdt-qr-copy,.usdt-qr-copy .usdt-qr-amount strong,.usdt-table .usdt-table-amount,.usdt-terminal>strong){color:#e3ebef}
html[data-customer-theme="dark"] body.nx-customer :is(.usdt-asset p,.usdt-steps p,.usdt-support small,.usdt-guide-note,.usdt-card-heading p,.usdt-table td,.usdt-table-amount small,.usdt-copy-row>span,.usdt-details span,.usdt-qr-copy small,.usdt-qr-copy .usdt-qr-instructions,.usdt-terminal-support){color:#9cabb5}
html[data-customer-theme="dark"] body.nx-customer :is(.usdt-token,.usdt-steps li>span,.usdt-support,.usdt-reference code,.usdt-invoice-id,.usdt-text-link,.usdt-icon-tile){color:#97bfd6}
html[data-customer-theme="dark"] body.nx-customer .usdt-page .usdt-table th{background:#20323e;color:#9cabb5;border-color:#314450}
html[data-customer-theme="dark"] body.nx-customer .usdt-page .usdt-table td{border-color:#314450}
html[data-customer-theme="dark"] body.nx-customer .usdt-page .usdt-table tbody tr:hover{background:#20323e}
html[data-customer-theme="dark"] body.nx-customer :is(.usdt-presets button:hover,.usdt-presets button[aria-pressed=true],.usdt-open-invoice:hover){background:#223744;color:#e3ebef;border-color:#466e86}
html[data-customer-theme="dark"] body.nx-customer :is(.usdt-primary,.usdt-method-switch a[aria-current=page],.bp-methods a.bp-method-active){background:#466e86;color:#fff!important;border-color:#466e86}
html[data-customer-theme="dark"] body.nx-customer .usdt-primary:hover{background:#557f98}
html[data-customer-theme="dark"] body.nx-customer :is(.nx-qr-step img,.usdt-qr-frame){background:#fff}

/* Preserve the meaning of status colors on dark surfaces. */
html[data-customer-theme="dark"] body.nx-customer :is(.alert.alert-success,.usdt-state-completed,.ac-change-credit,.ac-movement-credit,.nx-receipt-icon){background:#193c32;color:#9ad7ba;border-color:#315f4d}
html[data-customer-theme="dark"] body.nx-customer :is(.alert.alert-danger,.usdt-form-error,.usdt-state-cancelled,.oh-feedback-error,.od-inline-message[data-type=error],.od-export-error,.ac-change-debit,.nx-checkout .nx-checkout-error){background:#412631;color:#f0afbf;border-color:#714454}
html[data-customer-theme="dark"] body.nx-customer :is(.alert.alert-warning,.nx-card-notice,.usdt-notice,.usdt-state-waiting,.usdt-state-review,.oh-refunded){background:#403623!important;color:#e5c58c!important;border-color:#6b5736}
html[data-customer-theme="dark"] body.nx-customer :is(.oh-danger,.oh-note-error,.nx-required,.nx-checkout .nx-coupon-hint.nx-field-error){color:#f0afbf!important}
html[data-customer-theme="dark"] body.nx-customer :is(.oh-expiry-soon){color:#e5c58c}
html[data-customer-theme="dark"] body.nx-customer :is(.oh-row-excel,.nx-checkout .nx-stock-line strong,.nx-checkout .nx-coupon-hint,.nx-totals #into_discount){color:#9ad7ba}
