/* One EPEK Day/Night protocol across marketing, product pages, forms and CRM. */
:root[data-theme="light"]{color-scheme:light}:root[data-theme="dark"]{color-scheme:dark}
:root .theme-toggle[data-theme-control]{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;min-width:84px;padding:9px 13px;border:1px solid #98bdcc;border-radius:999px;background:#eef8fcbf;color:#0b3548;font:700 14px/1.2 Manrope,Arial,sans-serif;cursor:pointer;box-shadow:inset 0 1px 0 #ffffff90;flex:none;white-space:nowrap;touch-action:manipulation}
:root .theme-toggle[data-theme-control]:hover{background:#d7edf7}:root .theme-toggle[data-theme-control]:focus-visible{outline:3px solid #27b0e4;outline-offset:3px}.theme-toggle svg{flex:none}.theme-night-icon,.theme-night-label{display:none}:root[data-theme="dark"] .theme-day-icon,:root[data-theme="dark"] .theme-day-label{display:none}:root[data-theme="dark"] .theme-night-icon,:root[data-theme="dark"] .theme-night-label{display:block}
:root[data-theme="dark"] .theme-toggle[data-theme-control]{background:#173e53cc;border-color:#49758b;color:#e9f7ff;box-shadow:inset 0 1px 0 #ffffff18}:root[data-theme="dark"] .theme-toggle[data-theme-control]:hover{background:#23516b}
.marketing-nav-actions{display:flex;align-items:center;gap:12px}.auxiliary-theme{display:flex;justify-content:flex-end;margin-bottom:15px}
/* Marketing */
:root[data-theme="dark"] .marketing-site{--m-ink:#e7f4fc;--m-blue:#7bd5f4;--m-cyan:#48bfea;--m-line:#294552;--m-muted:#b2cbd8;background:#061824;color:#e7f4fc}
:root[data-theme="dark"] .marketing-hero{background:radial-gradient(ellipse at 90% 10%,#123e55,transparent 62%)}
:root[data-theme="dark"] .marketing-button{background:#87d8f4;border-color:#87d8f4;color:#082b3b!important;box-shadow:0 9px 24px #0003}:root[data-theme="dark"] .marketing-button:hover{background:#b3eafa}
:root[data-theme="dark"] .marketing-login{border-color:#4a7187}:root[data-theme="dark"] .marketing-icon{background:#153c50;color:#8fdef7}
:root[data-theme="dark"] .marketing-browser,:root[data-theme="dark"] .marketing-demo-art{border-color:#47748b;background:#17384a;box-shadow:0 28px 65px #0005}
:root[data-theme="dark"] .marketing-preview-overlay,:root[data-theme="dark"] .marketing-demo-art>span{background:#12364b;color:#effaff;border-color:#5a8ca5}
:root[data-theme="dark"] .marketing-demo-section{background:#0b2c3e;color:#effaff}
:root[data-theme="dark"] .marketing-walkthrough-note{background:#103144;border-color:#31596f}
:root[data-theme="dark"] .marketing-price-grid article{background:#0e2736;border-color:#34576a;box-shadow:0 18px 40px #0003}
:root[data-theme="dark"] .marketing-price-grid .annual{background:linear-gradient(155deg,#123244,#0d2636);border-color:#78cce9}
:root[data-theme="dark"] .marketing-value-tag{background:#8cdcf6;color:#082b3b}
:root[data-theme="dark"] .marketing-final{background:radial-gradient(ellipse at 50% 100%,#163f56,transparent 75%),#0a2434}
:root[data-theme="dark"] .marketing-share-dialog{background:#0d293b!important;color:#e9f7ff!important;border-color:#456b80!important}
:root[data-theme="dark"] .marketing-share-dialog input{background:#071e2d;color:#ecf9ff;border-color:#496c80}
:root[data-theme="dark"] .marketing-share-dialog>p{color:#b7d1df}:root[data-theme="dark"] .marketing-share-actions button,:root[data-theme="dark"] .marketing-share-actions a{background:#81d3f1;color:#092b3c}
/* Product template: keep imagery unaltered while all reading surfaces switch. */
:root[data-theme="dark"] body:has(.mirror-root){background:#071925;color:#e6f3fb}
:root[data-theme="dark"] .mirror-root{--cream:#0b2231;--line:#2c4a59;color:#e6f3fb}
:root[data-theme="dark"] .mirror-root .nav{background:rgba(6,26,39,.94);border-color:#2b4d60}
:root[data-theme="dark"] .mirror-root .brand{color:#ecf8ff}:root[data-theme="dark"] .mirror-root .brand b{color:#7bd4f1}
:root[data-theme="dark"] .mirror-root .hero{background:radial-gradient(circle at 78% 40%,#1b5368 0,#103448 28%,transparent 55%),linear-gradient(145deg,#071824,#0d2d3e)}
:root[data-theme="dark"] .mirror-root .hero h1 em,:root[data-theme="dark"] .mirror-root .intro h2 em,:root[data-theme="dark"] .mirror-root .eyebrow,:root[data-theme="dark"] .mirror-root .section-label,:root[data-theme="dark"] .mirror-root .inline-link{color:#86d9f6}
:root[data-theme="dark"] .mirror-root .lede,:root[data-theme="dark"] .mirror-root .trust-row,:root[data-theme="dark"] .mirror-root .intro-grid>div p,:root[data-theme="dark"] .mirror-root .benefits p,:root[data-theme="dark"] .mirror-root .expert-copy p,:root[data-theme="dark"] .mirror-root .quote-section p,:root[data-theme="dark"] .mirror-root .faq>div:first-child p,:root[data-theme="dark"] .mirror-root .accordions details p,:root[data-theme="dark"] .mirror-root .recognition p,:root[data-theme="dark"] .mirror-root .credential-note{color:#b8d1df}
:root[data-theme="dark"] .mirror-root .pathway{background:#0b2535;border-color:#2b4a5b}:root[data-theme="dark"] .mirror-root .pathway strong{color:#ecf8ff}:root[data-theme="dark"] .mirror-root .pathway span{color:#abc6d5}
:root[data-theme="dark"] .mirror-root .ingredient-card,:root[data-theme="dark"] .mirror-root .orbit-chip{background:rgba(12,40,57,.92);border-color:#416b81;color:#eaf8ff}
:root[data-theme="dark"] .mirror-root .ingredient-card span,:root[data-theme="dark"] .mirror-root .orbit-chip small{color:#b5d0de}
:root[data-theme="dark"] .mirror-root .recognition,:root[data-theme="dark"] .mirror-root .expert,:root[data-theme="dark"] .mirror-root .faq{background:#071925}
:root[data-theme="dark"] .mirror-root .credential{background:#0e293a;border-color:#305266;color:#e9f7ff}
:root[data-theme="dark"] .mirror-root .credential h3,:root[data-theme="dark"] .mirror-root .credential b{color:#91def7}
:root[data-theme="dark"] .mirror-root .quote-section{background:#0c2b3d}:root[data-theme="dark"] .mirror-root .quote-section footer small{color:#a7c3d2}
:root[data-theme="dark"] .mirror-root .benefits,:root[data-theme="dark"] .mirror-root .benefits article{border-color:#325061}
:root[data-theme="dark"] .mirror-root .product-links,:root[data-theme="dark"] .mirror-root .membership-section{background:#0b2738;border-color:#35576b}
:root[data-theme="dark"] .mirror-root .product-links article{background:#102e40;border-color:#35576b}
:root[data-theme="dark"] .mirror-root .membership-section strong{color:#8eddf7}:root[data-theme="dark"] .mirror-root .membership-note{color:#b0cbd9}
:root[data-theme="dark"] .mirror-root .button{background:#8ad9f3;color:#082a3b;border:1px solid #9fe3f8}:root[data-theme="dark"] .mirror-root .button:hover{background:#b5ebfa}
:root[data-theme="dark"] .mirror-root .desktop-share{color:#e8f8ff;background:#183f53;border-color:#4d7588}
:root[data-theme="dark"] .glp-lead-modal{background:#0b293b;color:#edf9ff;border-color:#4a748a}
:root[data-theme="dark"] .glp-lead-modal input:not([type=checkbox]),:root[data-theme="dark"] .glp-lead-modal select{background:#061e2c;color:#e8f8ff;border-color:#52778c}
:root[data-theme="dark"] .glp-lead-modal .lead-consent,:root[data-theme="dark"] .glp-lead-modal>p{color:#bfd6e3}
:root[data-theme="dark"] .share-fallback{background:#0d293b;color:#ecf8ff}
/* CRM uses the existing light/dark token palette. */
:root[data-theme="dark"] .application .workspace-card,:root[data-theme="dark"] .application .discount-manager{color:#e9f5fd}
:root[data-theme="dark"] .application .workspace-tabs [data-slot=tabs-trigger][data-state=active]{background:#72cdec;color:#062233}
:root[data-theme="dark"] .application .workspace-card .eyebrow{color:#7bd6f5}
/* The standalone research-dossier page follows the same preference. */
:root[data-theme="dark"] body:has(.viewer-wrap){background:#071925;color:#ecf8ff}
:root[data-theme="dark"] body:has(.viewer-wrap) .top,:root[data-theme="dark"] body:has(.viewer-wrap) .viewer-note{background:#102c3e;color:#d8edf8;border-color:#37576a}
:root[data-theme="dark"] body:has(.viewer-wrap) .hero{background:transparent;color:#ecf8ff}
@media(max-width:900px){.mirror-root .nav{gap:10px}.mirror-root .nav .theme-toggle{margin-left:auto}.application .workspace-nav{gap:10px}}
@media(max-width:600px){.mirror-root .nav .desktop-share{display:none}.marketing-nav-actions{gap:8px}:root .theme-toggle[data-theme-control]{min-width:78px;padding:9px 11px;font-size:13px}.marketing-nav .marketing-login{padding:10px 13px}.application .topbar-actions{gap:8px}.application .private-label{display:none}.application .workspace-nav>a{font-size:13px}}
:root[data-theme="dark"] body:has(.viewer-wrap) .back,:root[data-theme="dark"] body:has(.viewer-wrap) .fallback a{color:#8eddf7}
