/* Shared theme: loaded after page styles; assets keep their original colors. */
html[data-theme=light]{color-scheme:light}
html[data-theme=dark]{color-scheme:dark}
.bo-v2 .bo-theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:10px;border:1px solid #526578;border-radius:8px;background:#1c2630;color:#edf3f9;cursor:pointer;touch-action:manipulation}
.bo-v2 .bo-theme-toggle:hover{background:#2c3e4d;border-color:#b0c1d3}
.bo-v2 .bo-theme-toggle svg{display:block;width:20px;height:20px;pointer-events:none}
.bo-v2 .bo-theme-toggle .bo-theme-icon-sun{display:none}
html[data-theme=dark] .bo-v2 .bo-theme-toggle .bo-theme-icon-sun{display:block}
html[data-theme=dark] .bo-v2 .bo-theme-toggle .bo-theme-icon-moon{display:none}
.bo-v2 .bo-theme-toggle:focus-visible{outline:3px solid #88c3ff;outline-offset:3px}
@media(max-width:900px){
 .bo-v2 .nav-wrap{grid-template-columns:minmax(0,1fr) 44px auto auto;column-gap:8px}
 .bo-v2 .nav-wrap .bo-theme-toggle{grid-column:2;grid-row:1}
 .bo-v2 .nav-wrap .nav-actions>.link-button,.bo-v2 .nav-wrap .nav-actions>form{grid-column:3;grid-row:1}
 .bo-v2 .nav-wrap>.nav-menu{grid-column:4;grid-row:1}
 .bo-v2 .nav-wrap .brand>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

html[data-theme=dark] body.bo-v2{
 color-scheme:dark;
 --navy:#edf3f9;--blue:#9bcfff;--muted:#b0c1d3;--line:#526578;
 --bo-bg:#111b26;--bo-white:#1b2937;--cream:#111b26;--paper:#1b2937;--soft:#263748;
 --bo-field:#162330;--bo-soft:#263748;--bo-link:#9bcfff;--bo-on-yellow:#172b3c;--bo-control-line:#73889b;
 --bo-success-bg:#193d32;--bo-success:#91e5bc;--bo-success-line:#3f8c6e;
 --bo-warning-bg:#3e3521;--bo-warning:#f2cf72;--bo-warning-line:#907b40;
 --bo-error-bg:#4b2830;--bo-error:#ffb9c1;--bo-error-line:#ac6875;
 --bo-info-bg:#1d3851;--bo-info:#a9d5ff;--bo-info-line:#527b9d;
 --cp-bg:#111b26;--cp-card:#1b2937;--cp-ink:#edf3f9;--cp-muted:#b0c1d3;--cp-line:#526578;--cp-soft:#263748;--cp-blue:#88c3ff;--cp-green:#7cdeb1;--cp-red:#ffb2b9;--cp-amber:#f2cf72;--cp-shade:#3e3521;
 --campaign-border:#526578;--campaign-muted:#b0c1d3;
 background:var(--bo-bg);color:var(--navy)
}
html[data-theme=dark] body.bo-v2 .campaign-app{--cp-bg:#111b26;--cp-card:#1b2937;--cp-ink:#edf3f9;--cp-muted:#b0c1d3;--cp-line:#526578;--cp-soft:#263748;--cp-blue:#88c3ff;--cp-green:#7cdeb1;--cp-red:#ffb2b9;--cp-amber:#f2cf72;--cp-shade:#3e3521;color-scheme:dark}

/* Shared cards, sections and account surfaces. */
html[data-theme=dark] body.bo-v2 :is(.about-section,.services-section,.feature-section,.steps-section,.business-section,.issue-detail-section,.sms-workspace,.dashboard-heading,.funding-heading,.funding-page,.dashboard-overview,.account-heading){background:var(--bo-bg);color:var(--navy)}
html[data-theme=dark] body.bo-v2 :is(.panel,.guest-card,.auth-card,.balance-card,.dashboard-balance,.dashboard-overview-grid>div,.service-card,.feature-card,.catalog-group,.product-card,.business-card,.business-faq details,.issue-capability,.issue-pillar,.sms-card,.sms-plan,.sms-feature,.sms-use,.sms-replenish-option,.bom-doc-section,.merchant-card){background:var(--bo-white);color:var(--navy);border-color:var(--line)}
html[data-theme=dark] body.bo-v2 :is(.price-preview,.empty-state,.guest-service-info,.guest-progress-card,.payment-summary,.confirmation-details,.average-time-field,.issue-process,.sms-gate,.payment-info,.binance-manual-form,.binance-health-grid>div){background:var(--bo-soft);color:var(--navy);border-color:var(--line)}
html[data-theme=dark] body.bo-v2 :is(.add-service,.sms-description,.bulk-service-form,.password-guide,.order-details pre,.payment-confirmation-section){background:var(--bo-soft);color:var(--navy);border-color:var(--line)}
html[data-theme=dark] body.bo-v2 :is(.best-seller-item,.issue-example-grid article,.issue-report,.support-methods,.password-guide-item){background:var(--bo-white);color:var(--navy);border-color:var(--line)}
html[data-theme=dark] body.bo-v2 :is(.trust-strip,.floating-card,.sms-float,.sms-bubble,.service-arrow,.guest-chips span,.bo-platform-mark){background:var(--bo-white);color:var(--navy);border-color:var(--line)}
html[data-theme=dark] body.bo-v2 :is(.panel-icon,.panel-icon.yellow,.feature-icon,.sms-feature-icon,.float-icon){background:var(--bo-warning-bg);color:var(--bo-warning)}
html[data-theme=dark] body.bo-v2 :is(.panel-icon.blue,.float-icon.blue,.feature-card:nth-child(2) .feature-icon){background:var(--bo-info-bg);color:var(--bo-info)}
html[data-theme=dark] body.bo-v2 .feature-card:nth-child(3) .feature-icon{background:var(--bo-success-bg);color:var(--bo-success)}

/* Retain dark text on the brand's yellow actions. */
html[data-theme=dark] body.bo-v2 :is(.button,.brand-mark,.mini-mark,.sms-mini-icon){color:var(--bo-on-yellow)}
html[data-theme=dark] body.bo-v2 :is(.button-outline,.button-light){background:var(--bo-white);border-color:var(--bo-control-line);color:var(--navy)}
html[data-theme=dark] body.bo-v2 .campaign-button.secondary{border-color:var(--bo-control-line)}
html[data-theme=dark] body.bo-v2 :is(.button-outline:hover,.button-light:hover){background:var(--bo-soft);color:var(--navy)}
html[data-theme=dark] body.bo-v2 :is(.home-hero,.page-hero,.sms-hero,.sms-public-hero) .button-outline{background:transparent;border-color:#8597a7;color:#edf3f9}
html[data-theme=dark] body.bo-v2 :is(.home-hero,.page-hero,.sms-hero,.sms-public-hero) .button-outline:hover{background:var(--bo-soft)}

/* Controls, native dialogs and their keyboard focus. */
html[data-theme=dark] body.bo-v2 :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){background:var(--bo-field);color:var(--navy);border-color:var(--bo-control-line)}
html[data-theme=dark] body.bo-v2 :is(input,textarea)::placeholder{color:var(--muted);opacity:1}
html[data-theme=dark] body.bo-v2 :is(input[type=checkbox],input[type=radio],progress){accent-color:#88c3ff}
html[data-theme=dark] body.bo-v2 :is(input,textarea,select):disabled{color:var(--muted);background:var(--bo-soft)}
html[data-theme=dark] body.bo-v2 input[type=file]::file-selector-button{background:var(--bo-soft);color:var(--navy);border:1px solid var(--line);border-radius:4px;padding:6px 10px;margin-right:10px}
html[data-theme=dark] body.bo-v2 :is(a,button,summary,input,textarea,select,audio):focus-visible{outline-color:#88c3ff}
html[data-theme=dark] body.bo-v2 :is(.bo-order-review,#sms-confirm,#sms-csv-preview,#calls-action-dialog,#fleet-review,.voice-app dialog){background:var(--bo-white);color:var(--navy);border-color:var(--line)}
html[data-theme=dark] body.bo-v2 :is(.bo-order-review,#sms-confirm,#sms-csv-preview,#calls-action-dialog,#fleet-review,.voice-app dialog)::backdrop{background:#060d16b3}
html[data-theme=dark] body.bo-v2 :is(.sms-dialog-close,.sms-dialog-close:hover){color:var(--navy)}

/* Explicit text groups avoid recoloring icons, images or embedded branding. */
html[data-theme=dark] body.bo-v2 :is(.stack-form label,.catalog-filters label,.inline-form label,.service-edit-form label,.catalog-add-form label,.bulk-service-form label,.support-card label,.payment-choice strong,.payment-choice .payment-choice-copy strong,.admin-overview-link strong,.average-time-field strong,.bom-doc-table caption){color:var(--navy)}
html[data-theme=dark] body.bo-v2 :is(.form-note,.catalog-table td small,.average-time-field>span,.average-time-field small,.service-speed-note,.speed-item small,.order-progress small,.sms-order-progress small,.sms-order-progress p,.history-pagination,.admin-list-tools span,.admin-overview-link span,.admin-overview-link small,.support-hero p,.support-card>p,.support-note,.support-list span,.support-message small,.payment-choice small,.payment-choice .payment-choice-copy small,.guest-summary dt,.sms-app label small,.sms-summary small,.sms-summary span,.sms-send-info p,.sms-key-list small,.sms-card-title span,.sms-app dt,#sms-confirm dt,.sms-app #sms-confirm .form-note,.sms-plan ul,.sms-gate p,.issue-detail-lead p,.issue-capability p,.issue-process li span,.issue-pillar p,.service-card>div,.trust-inner strong,.trust-inner span){color:var(--muted)}
html[data-theme=dark] body.bo-v2 :is(.section-kicker,.eyebrow,.service-category,.speed-item span,.target-cell a,.issue-pillar a,.issue-capability>span,.issue-process li:before,.sms-replenish summary,.binance-review-details summary){color:var(--bo-link)}
html[data-theme=dark] body.bo-v2 .support-hero .eyebrow{background:var(--bo-info-bg);color:var(--bo-info);border-color:var(--bo-info-line)}
html[data-theme=dark] body.bo-v2 :is(.home-hero,.page-hero,.sms-hero,.sms-public-hero,.cta-section,.sms-contact-cta,.issue-contact,.auth-intro,.issue-intro-section) :is(.section-kicker,.eyebrow){color:var(--yellow)}
html[data-theme=dark] body.bo-v2 .feature-num{color:var(--muted)}
html[data-theme=dark] body.bo-v2 :is(.dashboard-balance strong,.dashboard-overview-grid strong,.dashboard-shortcuts>a,.catalog-table .catalog-price strong,.best-seller-copy strong,.password-guide strong,.password-guide,.support-methods a strong){color:var(--navy)}
html[data-theme=dark] body.bo-v2 :is(.dashboard-balance>span,.dashboard-overview-grid span,.dashboard-overview-grid small,.dashboard-shortcuts>a small,.confirmation-details span,.funding-steps li,.payment-confirmation>p,.sms-mode legend,.stack-form .check,.catalog-pick-item small,.picker-toolbar,.select-page-label,.catalog-add-form .catalog-search-all,.service-pager,.contact-points>div,.account-facts span,.best-seller-copy small,.catalog-history-note,.service-search-wrap>label,.service-suggestion small,.service-suggestion-more,.issue-section-heading p,.issue-process>div>p,.issue-example-grid p,.issue-report p,.issue-report li span,.support-methods a span,.product-card p,.product-detail-layout .panel>p,.product-facts span,.password-guide-item,.password-guide small,.catalog-details p,.catalog-field-label){color:var(--muted)}
html[data-theme=dark] body.bo-v2 :is(.table-action,.auth-switch a,.reconcile summary,.catalog-details summary,.order-details summary,.dashboard-overview-grid small a,.dashboard-shortcuts>a:hover strong,.mini-list button.under-link,.contact-points b,.account-links a:hover,.sms-plan-kicker,.support-methods a:hover strong){color:var(--bo-link)}
html[data-theme=dark] body.bo-v2 :is(.business-section>.container>p,.business-card p,.business-faq p,.business-figure figcaption){color:var(--muted)}
html[data-theme=dark] body.bo-v2 .business-scope summary{color:var(--bo-link)}
html[data-theme=dark] body.bo-v2 :is(.business-scope,.business-figure img){border-color:var(--line)}
html[data-theme=dark] body.bo-v2 :is(.best-seller-id,.order-id){background:var(--bo-info-bg);color:var(--bo-info)}
html[data-theme=dark] body.bo-v2 :is(.picker-warning){background:var(--bo-warning-bg);color:var(--bo-warning)}
html[data-theme=dark] body.bo-v2 :is(.password-guide-item.met,.confirmation-icon){background:var(--bo-success-bg);color:var(--bo-success)}

/* Table rows and the mobile labels use the same readable palette. */
html[data-theme=dark] body.bo-v2 :is(.data-table th,.catalog-table th,.bom-doc-table th){background:var(--bo-soft);color:var(--muted);border-color:var(--line)}
html[data-theme=dark] body.bo-v2 :is(.data-table td,.catalog-table td,.bom-doc-table td,.sms-csv-table td,.sms-csv-table th){color:var(--navy);border-color:var(--line)}
html[data-theme=dark] body.bo-v2 :is(.catalog-table tr,#service-orders tr[data-provider-order],.binance-table tr,#topups .data-table tr,#direct-orders .data-table tr,#panel-orders .data-table tr){border-color:var(--line)}
html[data-theme=dark] body.bo-v2 :is(.catalog-table tr,#service-orders tr[data-provider-order]){background:var(--bo-white)}
html[data-theme=dark] body.bo-v2 :is(.data-table,.catalog-table,.binance-table) td::before{color:var(--muted)}
html[data-theme=dark] body.bo-v2 :is(.data-table tbody tr:hover,.catalog-table tbody tr:hover){background:var(--bo-soft)}

/* Navigation, service pickers and review choices. */
html[data-theme=dark] body.bo-v2 :is(.mobile-links,.nav-menu[open] .mobile-links,.bo-admin-mobile,.admin-mobile-menu,.bo-bottom-nav,.bo-category-panel,.bo-quantity-stepper,.bo-platform,.service-suggestions,.service-suggestion,.catalog-pick-list,.catalog-pick-item,.history-pagination a,.history-filter,.admin-list-tools a,.admin-page-nav a,.payment-choice){background:var(--bo-white);color:var(--navy);border-color:var(--line)}
html[data-theme=dark] body.bo-v2 :is(.mobile-links a,.admin-mobile-menu summary,.admin-mobile-menu summary strong,.admin-mobile-menu a,.bo-admin-mobile a,.bo-category-option,.bo-quantity-stepper button,.service-suggestion strong,.catalog-pick-item strong){color:var(--navy)}
html[data-theme=dark] body.bo-v2 :is(.bo-quantity-stepper button,.admin-nav-count){background:var(--bo-soft);color:var(--navy)}
html[data-theme=dark] body.bo-v2 .bo-category-option svg{color:var(--muted)}
html[data-theme=dark] body.bo-v2 :is(.bo-category-option:hover,.service-suggestion:hover,.catalog-pick-item:hover,.history-pagination a:hover,.history-pagination a[aria-current=page],.history-filter:hover,.history-filter.is-active,.admin-list-tools a[aria-current=page],.admin-mobile-menu a[aria-current=page],.admin-page-nav a[aria-current=page],.bo-admin-mobile a[aria-current=page],.bo-platform[aria-pressed=true],.bo-category-option[aria-pressed=true],.bo-bottom-nav a[aria-current=page]){background:var(--bo-soft);color:var(--navy);border-color:var(--bo-link)}
html[data-theme=dark] body.bo-v2 :is(.payment-choice:has(input:checked),.sms-mode-switch label:has(input:checked)){background:var(--bo-soft);border-color:var(--bo-warning-line);box-shadow:0 0 0 1px var(--bo-warning-line)}
html[data-theme=dark] body.bo-v2 :is(.mobile-links>a:hover,.catalog-pick-item:has(input:checked),.service-suggestion.is-active,.admin-page-nav a:hover){background:var(--bo-soft);color:var(--navy);border-color:var(--bo-link)}
html[data-theme=dark] body.bo-v2 .mobile-links .button{background:var(--yellow);color:var(--bo-on-yellow)}
html[data-theme=dark] body.bo-v2 .bo-sidebar nav>a[aria-current=page]{color:var(--bo-on-yellow)}

/* SMS, Calls, Warmup, Fleet and Voice Library. */
html[data-theme=dark] body.bo-v2 :is(.sms-send-info,.sms-batch-estimate,.calls-app .calls-review,.warmup .warmup-preview,.sms-worker-selection,.calls-keypad-settings,.sms-mode-switch,.sms-app pre,.sms-docs pre,.bom-doc-note){background:var(--bo-soft);color:var(--navy);border-color:var(--line)}
html[data-theme=dark] body.bo-v2 :is(.sms-tabs a,.sms-mode-switch label,.sms-api-doc-link,.calls-key-map label,.warmup-script p,.sms-segment-breakdown li,.sms-segment-preview li){background:var(--bo-white);color:var(--navy);border-color:var(--line)}
html[data-theme=dark] body.bo-v2 :is(.sms-tabs a:hover,.sms-tabs a:focus,.sms-tabs a[aria-current=page]){background:var(--bo-soft);color:var(--navy)}
html[data-theme=dark] body.bo-v2 :is(.sms-segment-breakdown li p,.sms-segment-preview li p){color:var(--navy)}
html[data-theme=dark] body.bo-v2 :is(.sms-compose-foot,.sms-key-list article,.sms-batch-estimate dl,.sms-segment-breakdown,.sms-segment-preview,.voice-library-results>li,.bom-doc-section details,.bom-doc-nav){border-color:var(--line)}
html[data-theme=dark] body.bo-v2 :is(.warmup-device:has(input:disabled),.calls-worker:has(input:disabled)){color:var(--muted)}
html[data-theme=dark] body.bo-v2 :is(.calls-feedback[data-error=true],.warmup-feedback[data-error=true],.sms-csv-feedback[data-error],.order-refresh-error){color:var(--bo-error)!important}
html[data-theme=dark] body.bo-v2 :is(.sms-secret,.sms-csv-duplicates,.calls-notice,.warmup-notice,.fleet-pair){background:var(--bo-warning-bg);color:var(--bo-warning);border-color:var(--bo-warning-line)}
html[data-theme=dark] body.bo-v2 :is(.bom-doc-nav a,.bom-doc-nav a:hover){background:var(--bo-white);color:var(--navy);border-color:var(--line)}
html[data-theme=dark] body.bo-v2 .bom-doc-nav a:hover{background:var(--bo-soft)}

/* Distinct status colors retain their meaning in dark mode. */
html[data-theme=dark] body.bo-v2 :is(.status,.status-neutral){background:var(--bo-soft);color:var(--navy)}
html[data-theme=dark] body.bo-v2 :is(.flash,.status-completed,.status-complete,.status-success,.status-approved,.status-placed,.status-paid,.status-confirmed,.status-received,.status-active,.status-delivered,.status-sent,.status-submitted,.bom-method-get){background:var(--bo-success-bg);color:var(--bo-success);border-color:var(--bo-success-line)}
html[data-theme=dark] body.bo-v2 :is(.status-pending,.status-pending_approval,.status-approving,.status-partial,.status-checking,.status-not_found,.status-waiting,.status-submitting,.status-review,.status-awaiting_payment,.status-creating,.bom-method){background:var(--bo-warning-bg);color:var(--bo-warning);border-color:var(--bo-warning-line)}
html[data-theme=dark] body.bo-v2 .bom-method-get{background:var(--bo-success-bg);color:var(--bo-success);border-color:var(--bo-success-line)}
html[data-theme=dark] body.bo-v2 :is(.flash.error,.status-failed,.status-error,.status-rejected,.status-checkout_error,.status-needs_review,.status-expired){background:var(--bo-error-bg);color:var(--bo-error);border-color:var(--bo-error-line)}
html[data-theme=dark] body.bo-v2 :is(.status-processing,.status-queued,.status-running,.status-in_progress,.status-in_process,.status-refunded){background:var(--bo-info-bg);color:var(--bo-info);border-color:var(--bo-info-line)}
html[data-theme=dark] body.bo-v2 :is(.status-cancelled,.status-canceled){background:var(--bo-soft);color:var(--muted)}

/* Payments and support retain white QR and payment-brand surfaces. */
html[data-theme=dark] body.bo-v2 :is(.merchant-amounts,.merchant-notice,.merchant-card .payment-info,.merchant-transfer-details,.merchant-instructions,.merchant-payment-page .guest-payment-card .price-preview,.support-message){background:var(--bo-soft);color:var(--navy);border-color:var(--line)}
html[data-theme=dark] body.bo-v2 :is(.merchant-redirect,.merchant-status){background:var(--bo-warning-bg);color:var(--bo-warning);border-color:var(--bo-warning-line)}
html[data-theme=dark] body.bo-v2 :is(.merchant-redirect strong,.merchant-redirect p){color:var(--bo-warning)}
html[data-theme=dark] body.bo-v2 :is(.merchant-status-success,#cryptomus-payment:has(#cryptomus-check[hidden]) .merchant-status,.support-message.staff){background:var(--bo-success-bg);color:var(--bo-success);border-color:var(--bo-success-line)}
html[data-theme=dark] body.bo-v2 .merchant-status-attention{background:var(--bo-error-bg);color:var(--bo-error);border-color:var(--bo-error-line)}
html[data-theme=dark] body.bo-v2 .merchant-card .qr-wrap{background:#fff;color:#172b3c}
html[data-theme=dark] body.bo-v2 .merchant-card .qr-wrap p{color:#405568}
html[data-theme=dark] body.bo-v2 :is(.support-list a,.guest-summary>div){border-color:var(--line)}
html[data-theme=dark] body.bo-v2 .support-list a:hover{background:var(--bo-soft);border-color:var(--bo-link)}
html[data-theme=dark] body.bo-v2 .guest-stages li>span{background:var(--bo-soft);color:var(--navy)}
html[data-theme=dark] body.bo-v2 .guest-stages li[data-done=true]>span{background:var(--bo-success-bg);color:var(--bo-success)}
