.theme-toggle{display:inline-grid;place-items:center;flex:none;width:34px;height:34px;min-height:34px;padding:7px;border:1px solid #56828c70;border-radius:50%;color:inherit;background:transparent;cursor:pointer}.theme-toggle svg{width:18px;height:18px}.theme-toggle:hover{background:#47b3bd1a;box-shadow:0 0 20px #00a1b533}.theme-toggle:focus-visible{outline:2px solid #35b9c6;outline-offset:3px}.site-nav .theme-toggle{color:#d5efef}
html[data-color-mode=dark]{--bg:#071318;--panel:#0d2028;--text:#e0eeee;--muted:#9bb5bc;--border:#24434d;--line:#24434d;--surface:#0d2028;--ink:#e0eeee;background:#071318;color:#e0eeee}
html[data-color-mode=dark] body{background:#071318;color:#e0eeee}
html[data-color-mode=dark] :is(.public-page,.onboarding-page,.ouchen-landing) :is(main,.cap-section,.cap-facts,.cap-benefits,.cap-story,.cap-reviews,.marketing-faq,.reviews-section,.offers-section,.signup-section,.feature-route,.actual-screens-section){background-color:#071318;color:#e0eeee}
html[data-color-mode=dark] :is(.cap-benefit-grid>article,.cap-facts>div,.feature-card,.pricing-card,.form-card,.onboarding-card,.support-guide,.support-ticket,.support-channels>a,.access-card,.cap-signup-card,.legal-copy,.review-card,.actual-screen,.simulator,.margin-simulator,.order-simulator,.section-card){background:#0d2028!important;color:#e0eeee;border-color:#284650!important}
html[data-color-mode=dark] :is(h1,h2,h3,h4,.cap-section-title h2,.page-intro h1,.pricing-card h2,.offer-price,.form-card label,.onboarding-card label){color:#e0eeee}
html[data-color-mode=dark] :is(p,.mini,.form-help,.page-intro p,.cap-section-title p,.feature-card p,.pricing-card p,.cap-benefit-grid p,.cap-story p,.world-heading p){color:#a9c0c7}
html[data-color-mode=dark] :is(input,select,textarea){background:#102a34!important;color:#e2f0f0!important;border-color:#37515b!important;color-scheme:dark}
html[data-color-mode=dark] .pricing-card.featured{background:#0d3c46!important;border-color:#4cb6ba!important}
html[data-color-mode=dark] .pricing-card.coming-soon{background:#112127!important}
html[data-color-mode=dark] :is(.access-layout,.onboarding-progress,.offers-toolbar,.marketing-faq details,.support-panel,.legal-content,.pricing-reassurance,.cap-signup){background-color:#0d2028;border-color:#284650}
html[data-color-mode=dark] .crm-app{--accent:#43b5c2;--secondary:#63cbb3;--soft:#163c46;--ink:#deeeee;--bg:#071318;--panel:#0d2028;--line:#284650;--muted:#9bb5bc;color:#e0eeee}
html[data-color-mode=dark] .crm-app :is(main,.workspace-bar,.heading,.filters,.dashboard-intro){background-color:#071318;color:#e0eeee}
html[data-color-mode=dark] .crm-app :is(.panel,.card,.profit-secondary,.dashboard-costs>.card,.dashboard-rings>.panel,.welcome-card,.workspace-dropdown-panel,.workspace-profile-menu,.dashboard-filter-panel,.workspace-profile-page,.period-menu,.month-menu,dialog){background:#0d2028!important;color:#e0eeee!important;border-color:#284650!important}
html[data-color-mode=dark] .crm-app :is(.label,.mini,.workspace-name,.workspace-dropdown summary,.filters label,.chart-caption,.chart-legend,.chart-kpis span,th,td){color:#b7cdd2}
html[data-color-mode=dark] .crm-app :is(.chart-plot,.chart-kpis,.chart-values,.donut-month-progress,.dashboard-local-scope,.workspace-dropdown-panel button,.daily-tooltip){background-color:#102c35;color:#d7eceb;border-color:#284650}
html[data-color-mode=dark] .crm-app :is(.chart,.finance-chart) text{fill:#b7cdd2}
html[data-color-mode=dark] .crm-app .profit-primary{background:linear-gradient(135deg,#084653,#05303b)}
html[data-color-mode=dark] .crm-app :is(.card,.profit-secondary) strong:not(.red):not(.greenText){color:#e0eeee}html[data-color-mode=dark] .crm-dashboard .ring text{fill:#e0eeee}html[data-color-mode=dark] :is(.cap-status-list,.cap-demo-list,.cap-facts>div){background:#102a34;border-color:#284650;color:#c5dddd}html[data-color-mode=dark] .onboarding-nav .theme-toggle{color:#d5efef;margin-inline-start:auto;margin-inline-end:18px}
html[data-color-mode=dark] .eyebrow{color:#78c5cf}html[data-color-mode=dark] .pricing-card:not(.featured):not(.coming-soon) .button{color:#c1e6e7;border-color:#4e7a85}html[data-color-mode=dark] :is(.offer-price small,.offer-price>span,.pricing-card .offer-period){color:#9ebec6}html[data-color-mode=dark] .public-page .text-link{color:#80cdd1}html[data-color-mode=dark] .crm-app .ring-center{color:#e0eeee}
html[data-color-mode=dark] :is(.ouchen-landing,.public-page,.onboarding-page) :is(.cap-section,.cap-benefits,.cap-story,.cap-reviews,.marketing-faq,.signup-section,.section-title,.public-signup,.feature-route,.actual-screens-section){background:#071318!important}html[data-color-mode=dark] :is(.cap-facts strong,.cap-benefit-grid h3,.cap-demo-list b,.cap-status-list b,.cap-story h2,.cap-story li){color:#d9eeee!important}html[data-color-mode=dark] .cap-facts span{color:#a6c3ca}html[data-color-mode=dark] .cap-demo-list strong{color:#8edace}

/* Complete dark surfaces without altering brand images or chart series. */
html[data-color-mode=dark] :is(.ouchen-landing,.public-page,.onboarding-page){--paper:#071318;--ink:#e0eeee;--muted:#a9c0c7;--line:#284650}
html[data-color-mode=dark] :is(.page-intro,.marketing-explorer,.cap-calculator,.landing-signup,.orders-simulator,.profit-demo,.margin-example,.feature-details article,.support-form,.review-values article,.review-access,.reviews-empty,.reviews-invite,.selection-summary,.activation-option,.cap-pricing,.cap-comparison,.product-preview,.preview-dashboard,.preview-chart,.mini-app,.mini-app-top,.mini-import-types>div,.mini-market>span,.mini-drop,.hero-visual-note,.customer-review,.real-explorer-shot,.real-shot-bar,.screen-caption,.cap-story figure,.cap-review-note,.marketing-faq>div:first-child,.marketing-faq details,.public-page details,.onboarding-step,.landing-signup-card,.profit-demo-equation>div,.orders-demo-ring,.demo-manual-inputs,.demo-profit-result){background:#0d2028!important;border-color:#284650!important;color:#e0eeee}
html[data-color-mode=dark] .crm-app :is(.period-popover,.period-presets,.period-picker summary,.filters .filter-field,.workspace-country,.workspace-country-picker>summary,.workspace-service-picker>summary,.profile-option:hover,.profile-menu-detail[open]>summary,.dashboard-filter>summary,.chart-tooltip,.chart-currency,.chart-studio .chart-canvas,.chart-studio .chart-values summary,.product-table-filters,.product-country-picker,.compact-country summary,.country-code,.country-dropdown-panel,.ad-form-section,.ad-platform-tile,.ad-amount,.market-intro,.service-card,.service-preview,.market-filters,.currency-choice summary,.import-type,.import-setup,.import-calendar,.calendar-range,.import-followup-note,.custom-rule-card,.custom-rule-header,.rule-condition-panel,.rule-simulation,.rule-result,.rule-tier-row,.rule-problem,.rule-advice,.rule-delete-confirmation,.expense-option,.expense-icon,.welcome-goals,.goal-switch,.road-stop>span,.training-empty,.market-fee-group,.first-access-guide,.first-access-guide li,.monthly-metrics article,.elite-report,.elite-report li,.quality-counters>div,.capacity-grid>div){background:#102a34!important;color:#d5e9eb!important;border-color:#284650!important}
html[data-color-mode=dark] :is(.cap-benefits:before,.cap-benefit-grid .cap-cost-list,.cap-benefit-grid .cap-status-list,.cap-benefit-grid .cap-demo-list,.real-explorer-shot figcaption,.marketing-faq details[open] summary,.public-page details[open],.page-intro .eyebrow,.review-promise-tags span,.launch-offers .plan-tag,.step-number,.activation-option.trial-option){background:#14323d!important;border-color:#355460!important;color:#c6e4e7!important;box-shadow:none}
html[data-color-mode=dark] :is(.simple-profit,.orders-simulator,.landing-signup-card,.feature-details,.customer-review,.selection-summary,.activation-option,.marketing-faq,.cap-comparison,.mini-app,.review-values,.review-access,.cap-pricing) :is(label,summary,li,dt,dd,strong,b,h3,h4,output){color:#dceeee}
html[data-color-mode=dark] :is(th,.cap-comparison th){background:#14303a!important;color:#b8cfd5!important;border-color:#284650}html[data-color-mode=dark] :is(td,.client-row,.admin-table){border-color:#284650;color:#c6dfe2}
html[data-color-mode=dark] :is(.screen-zoom,.cap-reviews .text-link,.client-actions button,.billing-toggle button[aria-pressed=true]){background:#173943;color:#bce8e8;border-color:#426772}
html[data-color-mode=dark] .crm-app :is(.workspace-dropdown-panel button:hover,.workspace-dropdown-panel button.selected,.workspace-country.active,.expense-option.selected,.import-progress .current){background:#194451!important;color:#a9efeb!important;border-color:#3e8792!important}
html[data-color-mode=dark] .crm-app :is(.workspace-name,.workspace-country span,.profile-email,.profile-menu-detail,.operation-foot,.dashboard-rings>.panel>.mini,.help,.chart-caption,.welcome-copy,.workspace-training){color:#b4cdd3!important}
html[data-color-mode=dark] .crm-app :is(.donut::after,.dashboard-rings .donut:after){background:#0d2028!important}
html[data-color-mode=dark] .crm-app :is(.operation-foot,.dashboard-rings>.panel>.mini,.help){background:#14303a!important;border-color:#284650}
html[data-color-mode=dark] .crm-app :is(.ghost,.workspace-signout){background:transparent;color:#c2dfe2;border-color:#375762}
html[data-color-mode=dark] .crm-app :is(.red,.redText,.down){color:#ffaca5!important}html[data-color-mode=dark] .crm-app :is(.greenText,.up){color:#7de0ba!important}
html[data-color-mode=dark] :is(.demo-decision.negative,.status-pill.suspended,.notice.error,.tag.red){background:#46292c!important;color:#ffb5ad!important}html[data-color-mode=dark] :is(.demo-decision.caution,.status-pill.pending,.warning,.tag.yellow,.profit-provisional){background:#40351e!important;color:#f5d58d!important}
html[data-color-mode=dark] .crm-app .dashboard-rings .donut-month-progress.down{background:#40272c!important;color:#ffb5ad!important}
html[data-color-mode=dark] :is(a.text-link,.feature-route,.support-channels>a,.reviews-page .review-access a){color:#85d5de}html[data-color-mode=dark] input[type=range]{accent-color:#66d4cf}html[data-color-mode=dark] dialog::backdrop{background:#001219ad}
html[data-color-mode=dark] :is(.simple-profit,.orders-simulator) :is(small,.demo-expense-heading,.demo-section-heading p){color:#a9c0c7!important}html[data-color-mode=dark] .simple-profit .profit-sales strong{color:#87dcd9}html[data-color-mode=dark] .demo-profit-result{background:#0d4856!important}html[data-color-mode=dark] .orders-demo-ring{color:#8dddda!important}html[data-color-mode=dark] .orders-demo-ring:nth-child(2){color:#8bdfbf!important}html[data-color-mode=dark] .orders-demo-ring:nth-child(3){background:#103b48!important;color:#bcebd6!important}
/* Pseudo-elements need their own selectors; :is() does not match them. */
html[data-color-mode=dark] .cap-benefits::before{background:radial-gradient(ellipse at 90% 10%,#103c4480,transparent 55%),#0b1e27!important;border-color:#284650}
html[data-color-mode=dark] .crm-app .donut::after,html[data-color-mode=dark] .crm-dashboard .dashboard-rings .donut::after{background:#0d2028!important}
html[data-color-mode=dark] .simple-profit input[type=range]+span,html[data-color-mode=dark] .simple-profit label>span{color:#92dfdc!important}
html[data-color-mode=dark] .cap-demo-list .negative,html[data-color-mode=dark] .cap-demo-list .red,html[data-color-mode=dark] .cap-demo-list strong[style]{color:#ffa9a0!important}
html[data-color-mode=dark] .cap-demo-list strong.loss{color:#ffa9a0!important}
html[data-color-mode=dark] .billing-toggle{background:#102a34;border-color:#284650}html[data-color-mode=dark] .billing-toggle button{color:#bcd8dc}html[data-color-mode=dark] .billing-toggle button[aria-pressed=true]{background:#21505d;color:#e3f6f3}html[data-color-mode=dark] .billing-toggle small{color:#99d9c9}
/* Ouchen public pages: shared teal/navy palette and selective, quiet glow. */
body:is(.features-page,.reviews-page,.pricing-page,.support-page){--public-accent:#087f90;--public-glow:#1ca9b52b;--public-edge:#bddbdf;background:radial-gradient(ellipse at 8% 12%,#d8eeee85,transparent 42%),#f5f9fa}
body:is(.features-page,.reviews-page,.pricing-page,.support-page) .page-intro{background:radial-gradient(ellipse at 85% 10%,#a9e0df66,transparent 58%),linear-gradient(135deg,#e7f3f4,#f6fafb);border-color:#c6dfe3}
body:is(.features-page,.reviews-page,.pricing-page,.support-page) :is(.feature-card,.feature-details article,.review-values article,.customer-review,.support-guide,.support-form,.support-channels>a,.pricing-card){border-color:var(--public-edge);box-shadow:0 8px 30px #003e4b07;transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease}
body:is(.features-page,.reviews-page,.pricing-page,.support-page) :is(.feature-card,.feature-details article,.review-values article,.customer-review,.support-channels>a,.pricing-card:not(.coming-soon)):hover{border-color:#59aeb9;box-shadow:0 0 0 1px #36a5b31a,0 10px 35px var(--public-glow)}
body:is(.features-page,.reviews-page,.pricing-page,.support-page) :is(.button:not(:disabled),button[type=submit]):hover{box-shadow:0 0 24px #1aa3b43d}
body:is(.features-page,.reviews-page,.pricing-page,.support-page) :is(input,textarea,select):focus-visible{outline-color:#33a8b8;box-shadow:0 0 0 4px #27a4b315}
body:is(.features-page,.reviews-page,.pricing-page,.support-page) :is(.feature-number,.channel-symbol){background:#e1f2f2;color:#006a7c;border:1px solid #b6dfe2;box-shadow:0 0 20px #0e9aac12}
body.reviews-page .reviews-promise,body.pricing-page .pricing-card.featured{box-shadow:0 0 0 1px #2597a22b,0 12px 40px #07859624}
body.reviews-page .review-compose-section{background:linear-gradient(145deg,#e4f1f3,#f1f8f8);border-color:#c1dde2}
html[data-color-mode=dark] body:is(.features-page,.reviews-page,.pricing-page,.support-page){--public-edge:#294b58;--public-glow:#1ab4c124;background:radial-gradient(ellipse at 10% 5%,#123b4666,transparent 45%),#071318}
html[data-color-mode=dark] body:is(.features-page,.reviews-page,.pricing-page,.support-page) :is(.page-intro,.reviews-hero){background:radial-gradient(ellipse at 85% 0%,#12627840,transparent 65%),linear-gradient(145deg,#0b242e,#0a1921)!important;border-color:#244550}
html[data-color-mode=dark] body:is(.features-page,.reviews-page,.pricing-page,.support-page) :is(.page-intro h1,.feature-card h3,.feature-details h2,.review-values b,.reviews-hero h1,.review-compose-section h2,.pricing-reassurance b,.pricing-questions h2,.support-form h2,.guide-step b,.support-channels b,summary){color:#e0f0f1!important}
html[data-color-mode=dark] body:is(.features-page,.reviews-page,.pricing-page,.support-page) :is(.page-intro>p,.support-guide-heading>p,.guide-step p,.support-channels small,.review-values p,.reviews-empty p,.review-access p,.pricing-reassurance p,.pricing-note,details p,.pricing-card li){color:#aac5cc!important}
html[data-color-mode=dark] body:is(.features-page,.reviews-page,.pricing-page,.support-page) :is(.feature-card,.feature-details article,.review-values article,.customer-review,.support-guide,.support-form,.support-channels>a,.pricing-card:not(.featured):not(.coming-soon)){background:linear-gradient(145deg,#102b35,#0c2029)!important;border-color:#294b58!important;box-shadow:0 8px 28px #00000016}
html[data-color-mode=dark] body:is(.features-page,.reviews-page,.pricing-page,.support-page) :is(.feature-card,.feature-details article,.review-values article,.customer-review,.support-channels>a,.pricing-card:not(.coming-soon)):hover{border-color:#4595a3!important;box-shadow:0 0 0 1px #329aa52b,0 0 30px #1598ac22}
html[data-color-mode=dark] body:is(.features-page,.reviews-page,.pricing-page,.support-page) :is(.feature-number,.channel-symbol){background:#16414d;color:#85dedb;border-color:#34717b;box-shadow:0 0 20px #23b5bc18}
html[data-color-mode=dark] body:is(.features-page,.reviews-page,.pricing-page,.support-page) :is(.eyebrow,.review-values>article>span,.reviews-hero h1 em,.feature-route a,.pricing-card li>span){color:#83d9d8!important}
html[data-color-mode=dark] body.reviews-page :is(.review-compose-section,.reviews-empty,.review-access){background:linear-gradient(135deg,#102d38,#0b202a)!important;border-color:#315765!important}
html[data-color-mode=dark] body.reviews-page .reviews-promise{background:radial-gradient(ellipse at 90% 0%,#157d8866,transparent 65%),linear-gradient(145deg,#0d3e4c,#092630);border-color:#377d88;box-shadow:0 0 35px #15b1bc22}
html[data-color-mode=dark] body.reviews-page .reviews-promise p{color:#c1dfe3!important}
html[data-color-mode=dark] body.pricing-page .pricing-card.featured{background:radial-gradient(ellipse at 50% 0%,#147e8740,transparent 60%),linear-gradient(145deg,#0d3c46,#0c2934)!important;border-color:#5cb9bd!important;box-shadow:0 0 32px #17b7bc20}
html[data-color-mode=dark] body.pricing-page :is(.pricing-reassurance,.pricing-questions){background:transparent;border-color:#294b58}
html[data-color-mode=dark] body.support-page .guide-step{border-color:#357781}html[data-color-mode=dark] body.support-page .support-form:focus-within{border-color:#56afb9!important;box-shadow:0 0 32px #1fa3b51f}
html[data-color-mode=dark] body:is(.features-page,.reviews-page,.pricing-page,.support-page) .button.outline{color:#9cdddd;border-color:#487984;background:transparent}
@media(prefers-reduced-motion:reduce){body:is(.features-page,.reviews-page,.pricing-page,.support-page) :is(.feature-card,.feature-details article,.review-values article,.customer-review,.support-guide,.support-form,.support-channels>a,.pricing-card){transition:none}}
.public-contact-form{display:grid;gap:18px}.public-contact-form label{display:grid;gap:7px;font-size:13px}.public-contact-form .field-pair{gap:16px;margin:0}.public-contact-form .check-field{display:flex;align-items:flex-start;font-size:12px;line-height:1.7}.public-contact-form .check-field input{width:17px;height:17px;min-height:0;flex:none;margin-top:4px;accent-color:#159b77}.public-contact-form :is(input:not([type=radio]):not([type=checkbox]),textarea){width:100%;min-width:0;box-sizing:border-box;border:1px solid #bfd7dc;border-radius:9px;padding:11px 13px;background:#f5fafb;color:#123d49}.public-contact-form .button{justify-self:start}.public-contact-form .form-error:empty,.public-contact-form .contact-feedback:empty{display:none}.public-contact-form .contact-feedback{border-inline-start:3px solid #17996c;border-radius:7px;padding:12px 15px;background:#e5f5ee;color:#176c53;font-size:13px;margin:0}.public-contact-form .form-error{color:#ae3939;margin:0}.contact-trap{position:absolute;inset-inline-start:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.rating-picker{border:1px solid #c4e2d9;border-radius:12px;padding:15px 18px;background:#ecf8f1;margin:0;min-width:0}.rating-picker legend{padding:0 6px;font-size:13px;font-weight:650;color:#14724e}.rating-options{display:flex;gap:10px;direction:ltr;justify-content:flex-start}.rating-choice{position:relative;display:grid!important;justify-items:center;gap:2px!important;cursor:pointer;min-width:38px}.rating-choice input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}.rating-choice span{font-size:33px;color:#98cbb4;line-height:1.3;transition:color .15s,text-shadow .15s}.rating-choice small{font-size:10px;color:#39775e}.rating-choice.chosen span,.rating-choice:hover span{color:#13955d;text-shadow:0 0 15px #30b47635}.rating-choice:has(input:focus-visible){outline:2px solid #218760;outline-offset:3px;border-radius:6px}.rating-feedback{display:block;font-size:11px;margin-top:9px;color:#467d64}.review-stars{color:#179867!important}.reviews-page .public-contact-form{max-width:850px;margin:auto}.support-form .public-contact-form{margin-top:25px}.public-contact-form textarea{resize:vertical}
html[data-color-mode=dark] .rating-picker{background:#10362f;border-color:#2a6654}html[data-color-mode=dark] .rating-picker :is(legend,small,output){color:#a0d9bc}html[data-color-mode=dark] .rating-choice span{color:#507f68}html[data-color-mode=dark] .rating-choice.chosen span,html[data-color-mode=dark] .rating-choice:hover span{color:#4ada97;text-shadow:0 0 16px #39d29640}html[data-color-mode=dark] .review-stars{color:#4ada97!important}html[data-color-mode=dark] .public-contact-form .contact-feedback{background:#123b30;color:#a1e1c0}html[data-color-mode=dark] .public-contact-form label{color:#d6e9ed}html[data-color-mode=dark] .public-contact-form .form-error{color:#ffafa6}
@media(max-width:600px){.public-contact-form .field-pair{grid-template-columns:1fr}.public-contact-form .button{width:100%}.rating-options{gap:7px}.rating-choice span{font-size:30px}}
@media(prefers-reduced-motion:reduce){.rating-choice span{transition:none}}

/* Contrast repair: pair every dark foreground with its actual surface.
   Keep chart series, plan artwork and semantic status colors intact. */
html[data-color-mode=dark]{color-scheme:dark;--theme-fg:#e5f1f3;--theme-secondary:#b6ccd3;--theme-accent:#88dedd;--theme-surface:#0d2028;--theme-raised:#14323d;--theme-edge:#395c68}
html[data-color-mode=dark] :is(.ouchen-landing,.public-page,.onboarding-page){--public-muted:#b6ccd3}
html[data-color-mode=dark] :is(.cap-section-title em,.cap-benefits h2 em,.cap-story h2 em,.benefit-step,.cap-demo-list small,.world-tools,.world-tools button,.world-all summary,.world-all summary span,.offer-common>span,.pricing-reassurance>div>span){color:var(--theme-secondary)!important}
html[data-color-mode=dark] :is(.real-shot-bar b,.screen-caption b,.signup-help a,.access-switch a,.cap-review-note .text-link){color:var(--theme-accent)!important}
html[data-color-mode=dark] :is(.next-step,.cap-status-list>div){background:#102a34!important;border-color:var(--theme-edge)!important;color:var(--theme-fg)!important}
html[data-color-mode=dark] .next-step :is(h2,p){color:var(--theme-fg)!important}
html[data-color-mode=dark] .cap-status-list :is(span,b){color:var(--theme-fg)!important}
html[data-color-mode=dark] .billing-toggle span{color:#a0e6cc!important}
html[data-color-mode=dark] .pricing-card.coming-soon .offer-price strong{color:#b6c6cd!important}
html[data-color-mode=dark] .rating-picker .rating-choice span{color:#83b99d}
html[data-color-mode=dark] .rating-picker .rating-choice.chosen span,html[data-color-mode=dark] .rating-picker .rating-choice:hover span{color:#5beaac}
html[data-color-mode=dark] .onboarding-progress li{color:var(--theme-secondary)}
html[data-color-mode=dark] .onboarding-progress li.current{color:var(--theme-accent)}
html[data-color-mode=dark] :is(.selection-summary small,.selection-summary .offer-price small){color:var(--theme-secondary)!important}
html[data-color-mode=dark] :is(input,textarea)::placeholder{color:#a4bdc8!important;opacity:1}
html[data-color-mode=dark] select option{background:#102a34!important;color:#e5f1f3!important}
/* Darker filled actions keep white text above 4.5:1 in both page skins. */
html[data-color-mode=dark] :is(.ouchen-landing,.public-page,.onboarding-page) .button:not(.outline):not(.ghost):not(.light-outline){background:#006b7c!important;color:#fff!important;border-color:#398b9b}
html[data-color-mode=dark] :is(.ouchen-landing,.public-page,.onboarding-page) .button:not(.outline):not(.ghost):not(.light-outline):hover{background:#005766!important}
html[data-color-mode=dark] :is(.ouchen-landing,.public-page,.onboarding-page) :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid #8be8e0;outline-offset:4px}
/* Workspace text was still inheriting hard-coded light-theme colors. */
html[data-color-mode=dark] .crm-app :is(.profile-account-summary strong,.profile-option,.profile-settings .profile-option,.notification-panel>strong,.workspace-profile,.chart-tooltip>b,.chart-tooltip strong,.dashboard-filter-panel>label,.period-presets button,.subscription-dates small,.table-ranking-summary,.workspace-intro,.crm-kicker){color:var(--theme-secondary)!important}
html[data-color-mode=dark] .crm-app :is(.profile-option>svg,.profile-account-summary small,.profile-settings .profile-option>svg,.workspace-all-favicon){color:var(--theme-accent)!important}
html[data-color-mode=dark] .crm-app .workspace-all-favicon{background:var(--theme-accent)}
html[data-color-mode=dark] .crm-app :is(.workspace-service,.workspace-training,.workspace-language,.notification-panel,.profile-popover,.subscription-hub,.profile-settings .workspace-signout:hover){background:#102a34!important;border-color:var(--theme-edge)!important}
html[data-color-mode=dark] .crm-app :is(.workspace-service select,.workspace-language select,.chart-tooltip span,.dashboard-filter-reset){color:var(--theme-secondary)!important}
html[data-color-mode=dark] .crm-app #serviceTabs :is(.workspace-country-picker,.workspace-service-picker)>summary{background:transparent!important;color:var(--theme-fg)!important}
html[data-color-mode=dark] .crm-app #serviceTabs :is(.country-picker-options .workspace-country,.service-picker-options button){background:#102a34!important;color:var(--theme-secondary)!important;border-color:transparent!important}
html[data-color-mode=dark] .crm-app #serviceTabs :is(.country-picker-options .workspace-country.active,.service-picker-options button.selected,.country-picker-options .workspace-country:hover,.service-picker-options button:hover){background:#1a4552!important;color:#b8f5ed!important;border-color:#4e91a0!important}
html[data-color-mode=dark] .crm-app .subscription-status{background:#153d33;color:#a0e6c6}
html[data-color-mode=dark] .crm-app :is(.profile-option,.workspace-signout,.dashboard-filter>summary,.period-presets button):focus-visible{outline:2px solid #8be8e0;outline-offset:3px}
/* Status chips carry their own background; recolor both sides together. */
html[data-color-mode=dark] .cap-status-list b{background:#1b4450!important;color:#c4f4eb!important;border-color:#396875!important}
html[data-color-mode=dark] .cap-story a.text-link{color:#d4fbf5!important}

/* Private workspace: a unified dark palette, without the light frosted canvas.
   These rules intentionally outrank service-specific inline palette variables. */
html[data-color-mode=dark] body.crm-app{--dash-ink:#e5eef3;--dash-muted:#aabecb;--accent:#56cbd5;--secondary:#6bd9bd;--service-readable:#93e2e8;--on-accent:#f3fbfc;--soft:#183440;--ink:#e5eef3;--text:#e5eef3;--muted:#aabecb;--line:#2a414f;--bg:#0c151d;--panel:#14232e;background:#0c151d;color:#e5eef3}
html[data-color-mode=dark] .crm-app main{background:#0c151d!important;color:#e5eef3}
html[data-color-mode=dark] .crm-app .crm-dashboard{--dash-ink:#e5eef3;--dash-muted:#aabecb;background:none!important;color:#e5eef3;border-radius:0}
html[data-color-mode=dark] .crm-app :is(.dashboard-intro,.heading,.dashboard-section-title){background:transparent!important;background-image:none!important;color:#e5eef3}
html[data-color-mode=dark] .crm-app #serviceTabs.workspace-bar{background:#14232e!important;border:1px solid #2a414f!important;color:#d9e8ef;box-shadow:none}
html[data-color-mode=dark] .crm-app :is(.panel,.card,.profit-secondary,.dashboard-costs>.card,.dashboard-rings>.panel){background:#14232e!important;border-color:#2a414f!important;box-shadow:none!important;color:#e5eef3!important}
html[data-color-mode=dark] .crm-app .profit-primary{background:linear-gradient(120deg,#164453,#17333f)!important;border-color:#316677!important;color:#f3fbfc}
html[data-color-mode=dark] .crm-app .profit-primary :is(.label,strong,summary,p,small){color:#edf8fc!important;opacity:1}
html[data-color-mode=dark] .crm-app :is(.profit-secondary strong,.profit-overview>.card strong,.dashboard-costs strong,.operation-count strong){color:#edf6fa!important}
html[data-color-mode=dark] .crm-app :is(.crm-dashboard .muted,.crm-dashboard .label,.crm-dashboard small,.crm-dashboard .legend,.operation-count span,.dashboard-section-title p,.profit-secondary p,.profit-overview>.card small,.dashboard-costs small,.dashboard-daily,.chartempty,.chart-kpis small,.chart-kpis span,.sales-profit-detail){color:#aabecb!important}
html[data-color-mode=dark] .crm-app :is(.crm-dashboard h2,.crm-dashboard h3,.crm-dashboard .legend b,.operation-foot b,.chart-kpis strong){color:#e5eef3!important}
html[data-color-mode=dark] .crm-app .chart-kpis .service-profit-value{color:#93e2e8!important}
html[data-color-mode=dark] .crm-app .dashboard-section-title>span{background:#1b3744;color:#9adfe3;box-shadow:none}
html[data-color-mode=dark] .crm-app .dashboard-rings>.panel>h2:before{background:#64d2d8;box-shadow:0 0 0 6px #203b48}
html[data-color-mode=dark] .crm-app :is(.dashboard-rings>.panel>.muted,.legend p,.barrow,.chart-kpis,.chart-kpis>div,.operation-foot,.dashboard-daily){border-color:#2a414f!important}
html[data-color-mode=dark] .crm-app .dashboard-rings .donut{--donut-track:#2a414f}
html[data-color-mode=dark] .crm-app .dashboard-rings .donut:after{background:#14232e!important}
html[data-color-mode=dark] .crm-app .donutvalue{color:#93e2e8!important}
html[data-color-mode=dark] .crm-app :is(.chart-plot,.chart-kpis,.chart-values,.chart-studio .chart-canvas,.chart-studio .chart-values summary,.operation-foot,.dashboard-rings>.panel>.mini,.dashboard-local-scope){background:#182d39!important;border-color:#2a414f!important;color:#c5d7e1!important}
html[data-color-mode=dark] .crm-app .donut-month-progress{background:#182d39!important;color:#b8cbd5!important;border-color:#385767!important}
html[data-color-mode=dark] .crm-app .dashboard-rings .donut-month-progress.up{background:#17392f!important;color:#a3e8cc!important}
html[data-color-mode=dark] .crm-app .dashboard-rings .donut-month-progress.down{background:#3a252d!important;color:#ffc2b9!important}
html[data-color-mode=dark] .crm-app :is(.chart,.finance-chart,.dashboard-daily svg) text{fill:#aabecb!important}
html[data-color-mode=dark] .crm-app :is(.axis,.daily-grid){stroke:#4b6474!important;stroke-opacity:.45}
html[data-color-mode=dark] .crm-app [data-daily-field=confirmed] svg{--daily-confirmation:#66d5df}
html[data-color-mode=dark] .crm-app [data-daily-field=delivered] svg{--daily-delivery:#78dfbd}
html[data-color-mode=dark] .crm-app .track{background:#2a414f!important}
html[data-color-mode=dark] .crm-app .dot[style*="#d9e2e8"]{background:#667f90!important}
html[data-color-mode=dark] .crm-app #dashboardWelcome>.welcome-goals.goal-road{background:#14232e!important;background-image:none!important;border:1px solid #2a414f!important;box-shadow:none!important}
html[data-color-mode=dark] .crm-app #dashboardWelcome :is(.road-heading>div:first-child>span,.road-stop strong,.road-summary,.road-provisional){color:#b6cdd9!important}
html[data-color-mode=dark] .crm-app #dashboardWelcome .road-line{background:#334b5c}
html[data-color-mode=dark] .crm-app #dashboardWelcome .welcome-banner{background:linear-gradient(115deg,#142d3a,#1a3a47)!important;border:1px solid #2c5363;box-shadow:none}
html[data-color-mode=dark] .crm-app #dashboardWelcome .welcome-banner:before,html[data-color-mode=dark] .crm-app #dashboardWelcome .welcome-banner:after{opacity:.08}
html[data-color-mode=dark] .crm-app :is(.filters,.product-table-filters,.period-picker summary,.dashboard-filter>summary,.workspace-dropdown-panel,.workspace-profile-menu,.dashboard-filter-panel,.notification-panel){background:#182d39!important;border-color:#354f60!important;color:#d9e8ef!important}
html[data-color-mode=dark] .crm-app :is(input,select,textarea){background:#11232f!important;border-color:#526d7e!important;color:#e5eef3!important}
html[data-color-mode=dark] .crm-app select option{background:#11232f!important;color:#e5eef3!important}
html[data-color-mode=dark] .crm-app th{background:#1b3240!important;color:#bfd1dc!important;border-color:#2a414f!important}
html[data-color-mode=dark] .crm-app td{color:#d4e1e8!important;border-color:#2a414f!important}
html[data-color-mode=dark] .crm-app :is(.tag,.badge){background:#203c49;color:#d8ebf0}
html[data-color-mode=dark] .crm-app .warning{background:#342e22!important;color:#f0d69c!important;border:1px solid #75613b!important}
html[data-color-mode=dark] .crm-app .warning :is(p,small,strong,a,button){color:#f0d69c!important}
/* Separate bright data accents from filled action backgrounds. */
html[data-color-mode=dark] .crm-app :is(button:not([class]),.controls>button:not(.ghost),button[type=submit]){background:#246478;color:#f3fbfc;border-color:#3b7c90}
html[data-color-mode=dark] .crm-app aside nav button.active{background:#214c5d!important;color:#e8fbff!important;box-shadow:none}
html[data-color-mode=dark] .crm-app .filetabs button.active{background:#214c5d;color:#e8fbff}

/* Quiet hover states across tables, menus and lists in the dark workspace. */
html[data-color-mode=dark]{--theme-hover:#203d4b;--theme-hover-text:#e4f3f6;--theme-selected:#285366}
html[data-color-mode=dark] .crm-app tbody tr:is(:hover,:focus-within),
html[data-color-mode=dark] .crm-app tbody tr:is(:hover,:focus-within)>:is(td,th){background:var(--theme-hover)!important;color:var(--theme-hover-text)!important}
html[data-color-mode=dark] .crm-app :is(.period-presets button,.profile-option,.workspace-signout,.calendar-day,.expense-option,.import-type,.workspace-training,.dashboard-filter-reset,.compact-country summary,.workspace-icon-menu>summary,.workspace-country,.service-tab):is(:hover,:focus-visible),
html[data-color-mode=dark] .crm-app .profile-settings .profile-option:is(:hover,:focus-visible),
html[data-color-mode=dark] .crm-app #workspaceDialog.profile-popover .workspace-signout:is(:hover,:focus-visible){background:var(--theme-hover)!important;color:var(--theme-hover-text)!important;border-color:#527789!important;box-shadow:none}
html[data-color-mode=dark] .crm-app #serviceTabs :is(.workspace-country-picker,.workspace-service-picker,.workspace-icon-menu)>summary:is(:hover,:focus-visible),
html[data-color-mode=dark] .crm-app #serviceTabs :is(.country-picker-options .workspace-country,.service-picker-options button):is(:hover,:focus-visible),
html[data-color-mode=dark] .crm-app .workspace-dropdown-panel button:is(:hover,:focus-visible){background:var(--theme-hover)!important;color:var(--theme-hover-text)!important;border-color:#527789!important}
html[data-color-mode=dark] .crm-app :is(.period-presets button.active,.workspace-dropdown-panel button.selected,.workspace-country.active,.expense-option.selected,.import-type.active):is(:hover,:focus-visible),
html[data-color-mode=dark] .crm-app #serviceTabs :is(.country-picker-options .workspace-country.active,.service-picker-options button.selected):is(:hover,:focus-visible){background:var(--theme-selected)!important;color:#e8fbff!important;border-color:#78b8c6!important}
html[data-color-mode=dark] .crm-app aside nav button:is(:hover,:focus-visible){background:var(--theme-hover)!important;color:var(--theme-hover-text)!important}
html[data-color-mode=dark] .crm-app .filters .filter-field:hover{background:#182d39!important;border-color:#527789!important}
html[data-color-mode=dark] :is([role=listbox],[role=menu]) :is([role=option],[role=menuitem]):is(:hover,:focus-visible),
html[data-color-mode=dark] :is(.country-dropdown-panel,.notification-panel) :is(button,a,[role=option]):is(:hover,:focus-visible){background:var(--theme-hover)!important;color:var(--theme-hover-text)!important}
html[data-color-mode=dark] select option:is(:hover,:focus,:checked){background:#285366!important;color:#e8fbff!important}
html[data-color-mode=dark] :is(.public-page,.onboarding-page,.ouchen-landing) :is(.onboarding-step,.button.outline):is(:hover,:focus-visible){background:var(--theme-hover)!important;color:var(--theme-hover-text)!important;border-color:#527789!important}
/* Percentage chips retain a light surface, so their own text must stay dark. */
html[data-color-mode=dark] .crm-app .tablewrap table .percentage-badge,
html[data-color-mode=dark] .crm-app .tablewrap table .percentage-badge:is(:hover,:focus){background:#eaf3f5!important;color:#173c49!important;opacity:1}

/* Sidebar stays identical in light and dark modes, as in the supplied reference. */
html body.crm-app>aside{background:#001219!important;color:#c2d1d8!important;border-color:#12303b!important}
html body.crm-app>aside #nav button{background:transparent!important;color:#c2d1d8!important;box-shadow:none!important}
html body.crm-app>aside #nav button:is(:hover,:focus-visible){background:#203d4b!important;color:#e4f3f6!important}
html body.crm-app>aside #nav button.active,
html body.crm-app>aside #nav button.active:is(:hover,:focus-visible){background:#214c5d!important;color:#e8fbff!important;box-shadow:none!important}
html body.crm-app>aside .asidefoot{color:#b5c7cf!important;border-color:#15313c!important}
html body.crm-app>aside .profile-name{color:#fff!important}

/* Real platform marks on a consistent light tile; labels remain readable. */
.expense-icon.expense-brand-icon{display:grid;place-items:center;background:#f2f7f8;border:1px solid #d0e0e4;border-radius:10px;padding:7px}
.expense-brand-icon img{display:block;width:30px;height:30px;object-fit:contain;filter:none}
html[data-color-mode=dark] .crm-app .expense-icon.expense-brand-icon{background:#f2f7f8!important;border-color:#b8d1d9!important}
html[data-color-mode=dark] .crm-app .expense-option strong,
html[data-color-mode=dark] .crm-app .expense-name strong{color:#e5f1f5!important;opacity:1}
html[data-color-mode=dark] .crm-app .expense-option small,
html[data-color-mode=dark] .crm-app .expense-name small{color:#b8ced8!important;opacity:1}
html[data-color-mode=dark] .crm-app .expense-option .expense-icon:not(.expense-brand-icon){color:#b9e6ed!important}
html[data-color-mode=dark] .crm-app .expense-option .expense-add{color:#89dce3!important}

html[data-color-mode=dark] .crm-app .market-context-fields{background:#102a34!important;color:#d5e9eb!important;border-color:#284650!important}
