/* ── DARK MODE ── */
/* ══════════════════════════════════════
   DARK MODE — total site flip
   Black/white + subtle blue gradients
   ══════════════════════════════════════ */
[data-theme="dark"]{
  --white:#0c1220;--off:#111827;--off2:#1a2234;
  --mist:#2a3650;--slate:#7889a4;--ink:#e8ecf2;--body:#b0b8cc;
  --cyan-text:#00C8E0;--teal-text:#00E5CC;
}
[data-theme="dark"] :focus-visible{outline-color:var(--sky)}

/* ── Body & page backgrounds ── */
[data-theme="dark"] body{background:#0c1220;color:#e8ecf2}

/* ── Nav ── */
[data-theme="dark"] #site-nav{background:rgba(12,18,32,0.92);backdrop-filter:blur(20px);border-bottom-color:rgba(255,255,255,0.06);box-shadow:0 1px 0 rgba(255,255,255,0.03)}
[data-theme="dark"] #site-nav:hover{box-shadow:0 2px 16px rgba(0,0,0,0.3)}
[data-theme="dark"] .nav-logo-dark{display:none!important}
[data-theme="dark"] .nav-logo-light{display:block!important}
[data-theme="dark"] .nav-links > li > a{color:rgba(255,255,255,0.7)}
[data-theme="dark"] .nav-links > li > a:hover{color:#fff;background:rgba(255,255,255,0.07)}
[data-theme="dark"] .nav-cta{background:var(--blue);box-shadow:none}
[data-theme="dark"] .nav-cta:hover{box-shadow:0 4px 12px rgba(11,95,216,0.25)}
[data-theme="dark"] .nav-cta-outline{color:#fff;border-color:rgba(255,255,255,0.25)}
[data-theme="dark"] .nav-cta-outline:hover{background:rgba(255,255,255,0.06)}
[data-theme="dark"] .nav-icon-btn{border-color:rgba(255,255,255,0.1);color:rgba(255,255,255,0.5)}
[data-theme="dark"] .nav-icon-btn:hover{border-color:rgba(255,255,255,0.2);background:rgba(255,255,255,0.05);color:#fff}
[data-theme="dark"] .notif-dot{border-color:#0c1220}
[data-theme="dark"] .notif-panel{background:#141e30;border-color:rgba(255,255,255,0.06);box-shadow:0 12px 40px rgba(0,0,0,0.5)}
[data-theme="dark"] .notif-header{border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .notif-title{color:#e0e4ec}
[data-theme="dark"] .notif-item{border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .notif-item:hover{background:rgba(255,255,255,0.03)}
[data-theme="dark"] .notif-ic-warn{background:rgba(245,158,11,0.15);color:#f59e0b}
[data-theme="dark"] .notif-ic-success{background:rgba(0,229,204,0.15);color:var(--cyan)}
[data-theme="dark"] .notif-msg{color:#b0b8cc}
[data-theme="dark"] .notif-msg strong{color:#e0e4ec}
[data-theme="dark"] .notif-time{color:#7889a4}
[data-theme="dark"] .notif-badge{background:rgba(11,95,216,0.9)}

/* ── Dropdowns ── */
[data-theme="dark"] .dd{background:#141e30;box-shadow:0 24px 80px rgba(0,0,0,0.5),0 1px 0 rgba(255,255,255,0.04) inset}
[data-theme="dark"] .dd::before{background:linear-gradient(90deg,rgba(255,255,255,0.04),rgba(255,255,255,0.08),rgba(255,255,255,0.04))}
[data-theme="dark"] .dd-section + .dd-section{border-left-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .dd-item:hover{background:rgba(255,255,255,0.04)}
[data-theme="dark"] .dd-title{color:#e0e4ec}
[data-theme="dark"] .dd-item:hover .dd-title{color:#fff}
[data-theme="dark"] .dd-desc{color:rgba(255,255,255,0.4)}
[data-theme="dark"] .dd-label{color:rgba(255,255,255,0.4)}
[data-theme="dark"] .dd-label::before{background:rgba(255,255,255,0.12)}
[data-theme="dark"] .dd-arrow{color:rgba(255,255,255,0.1)}
[data-theme="dark"] .dd-item:hover .dd-arrow{color:rgba(255,255,255,0.5)}
[data-theme="dark"] .dd-ic-navy,[data-theme="dark"] .dd-ic-blue,[data-theme="dark"] .dd-ic-cyan,[data-theme="dark"] .dd-ic-teal{background:rgba(255,255,255,0.05);color:rgba(255,255,255,0.5)}
[data-theme="dark"] .dd-promo{border-top-color:rgba(255,255,255,0.06);background:rgba(255,255,255,0.02)}
[data-theme="dark"] .dd-promo-text{color:rgba(255,255,255,0.55)}
[data-theme="dark"] .dd-promo-text strong{color:#fff}
[data-theme="dark"] .dd-promo-cta{color:#fff}
[data-theme="dark"] .dd-promo:hover{background:linear-gradient(90deg,var(--teal),var(--cyan),var(--blue),var(--sky))}

/* ── Hero ── */
[data-theme="dark"] .hero-wrap{background:#0c1220!important}
[data-theme="dark"] .hero-wrap::before{background:radial-gradient(ellipse 50% 60% at 50% 60%,rgba(11,95,216,0.04) 0%,transparent 70%)!important}
[data-theme="dark"] .hero-wrap::after{background-image:linear-gradient(rgba(255,255,255,0.02) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.02) 1px,transparent 1px)!important}
[data-theme="dark"] .h-title{color:#e8ecf2}
[data-theme="dark"] .h-sub{color:rgba(255,255,255,0.55)}
[data-theme="dark"] .h-cta-secondary{background:transparent;color:#e0e4ec;border-color:rgba(255,255,255,0.15)}
[data-theme="dark"] .h-cta-secondary:hover{border-color:rgba(255,255,255,0.35)}
[data-theme="dark"] .h-stats{border-top-color:rgba(255,255,255,0.08)}
[data-theme="dark"] .h-stat{border-right-color:rgba(255,255,255,0.08)}
[data-theme="dark"] .h-stat-n{color:#e8ecf2}
[data-theme="dark"] .h-stat-l{color:rgba(255,255,255,0.4)}
[data-theme="dark"] .h-marquee-wrap{border-top-color:rgba(255,255,255,0.06);background:rgba(12,18,32,0.9)}
[data-theme="dark"] .sp-pill{background:#141e30;border-color:rgba(255,255,255,0.08)}
[data-theme="dark"] .sp-pill-a{color:#e0e4ec}
[data-theme="dark"] .sp-pill-b{color:rgba(255,255,255,0.7)}
[data-theme="dark"] .sp-pill-c{color:rgba(255,255,255,0.5)}
[data-theme="dark"] .sp-pill-d{color:rgba(255,255,255,0.6)}
[data-theme="dark"] .sp-pill-tint-blue,[data-theme="dark"] .sp-pill-tint-navy,[data-theme="dark"] .sp-pill-tint-cyan{background:rgba(255,255,255,0.03);border-color:rgba(255,255,255,0.06)}

/* ── Headings & text ── */
[data-theme="dark"] h1.disp,[data-theme="dark"] h2.disp,[data-theme="dark"] h3.sh{color:#e8ecf2}
[data-theme="dark"] h1.disp-lt,[data-theme="dark"] h2.disp-lt,[data-theme="dark"] h3.sh-lt{color:#fff}
[data-theme="dark"] .lead{color:rgba(255,255,255,0.6)}
[data-theme="dark"] .lead-lt{color:rgba(255,255,255,0.75)}
[data-theme="dark"] p.bc{color:rgba(255,255,255,0.6)}
[data-theme="dark"] .pill{color:rgba(255,255,255,0.45);border-color:rgba(255,255,255,0.08)}
[data-theme="dark"] .kicker{color:rgba(255,255,255,0.5)}

/* ── Cards ── */
[data-theme="dark"] .card{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .card:hover{box-shadow:0 8px 40px rgba(0,0,0,0.3)}
[data-theme="dark"] .card-off{background:#111827;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .card h3,[data-theme="dark"] .card h4{color:#e0e4ec}
[data-theme="dark"] .card p{color:rgba(255,255,255,0.6)}

/* ── Buttons ── */
[data-theme="dark"] .btn-p{background:var(--blue);box-shadow:none;color:#fff}
[data-theme="dark"] .seg-cta{color:#fff}
[data-theme="dark"] .res-dl-btn{color:#fff}
[data-theme="dark"] .btn-s{background:rgba(255,255,255,0.05);color:#e0e4ec;border-color:rgba(255,255,255,0.12)}
[data-theme="dark"] .btn-s:hover{border-color:rgba(255,255,255,0.3);color:#fff}
[data-theme="dark"] .btn-g{background:rgba(255,255,255,0.06);color:rgba(255,255,255,0.85);border-color:rgba(255,255,255,0.1)}

/* ── Sections ── */
[data-theme="dark"] section{border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .sp{background:#111827;border-bottom-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .sp-pill{background:rgba(255,255,255,0.04);border-color:rgba(255,255,255,0.1);color:rgba(255,255,255,0.6)}
[data-theme="dark"] .sp-pill:hover{border-color:rgba(255,255,255,0.2);color:#fff}
[data-theme="dark"] .price-bg{background:#111827;border-top-color:rgba(255,255,255,0.06)}

/* ── Flip cards ── */
[data-theme="dark"] .flip-front{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .flip-back{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .flip-title{color:#e0e4ec}
[data-theme="dark"] .flip-back p{color:rgba(255,255,255,0.7)}
[data-theme="dark"] .flip-hint{color:rgba(255,255,255,0.3)}
[data-theme="dark"] .vi-lt{background:rgba(75,163,255,0.1);border-color:rgba(75,163,255,0.2)}

/* ── Value cols, problem cards, risk blocks ── */
[data-theme="dark"] .vcol h4{color:#e0e4ec}
[data-theme="dark"] .vcol p{color:rgba(255,255,255,0.6)}
[data-theme="dark"] .prob-card{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .prob-icon{background:#1a2234;border-color:rgba(255,255,255,0.08)}
[data-theme="dark"] .prob-card h4{color:#e0e4ec}
[data-theme="dark"] .prob-card p{color:rgba(255,255,255,0.6)}
[data-theme="dark"] .risk{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .risk h4{color:#e0e4ec}
[data-theme="dark"] .scell{background:#141e30;border-right-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .cklist li{color:rgba(255,255,255,0.6)}

/* ── FAQ ── */
[data-theme="dark"] .faq-q h4{color:#e0e4ec}
[data-theme="dark"] .faq-a p{color:rgba(255,255,255,0.6)}
[data-theme="dark"] .faq-tog{background:rgba(255,255,255,0.06);color:rgba(255,255,255,0.4)}
[data-theme="dark"] .faq-item{border-bottom-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .faq-nb{color:rgba(255,255,255,0.5)}
[data-theme="dark"] .faq-nb.active{background:rgba(255,255,255,0.06);color:#fff}
[data-theme="dark"] .faq-nb:hover{background:rgba(255,255,255,0.04);color:#fff}

/* ── Onboarding ── */
[data-theme="dark"] .ob-step{border-bottom-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .ob-check{border-color:rgba(255,255,255,0.15)}
[data-theme="dark"] .ob-title{color:#e0e4ec}
[data-theme="dark"] .ob-desc{color:rgba(255,255,255,0.55)}

/* ── Forms & inputs ── */
[data-theme="dark"] input,[data-theme="dark"] textarea,[data-theme="dark"] select{background:#141e30;border-color:rgba(255,255,255,0.1);color:#e8ecf2}
[data-theme="dark"] input:focus,[data-theme="dark"] textarea:focus,[data-theme="dark"] select:focus{border-color:rgba(255,255,255,0.25);outline:none}
[data-theme="dark"] input::placeholder,[data-theme="dark"] textarea::placeholder{color:rgba(255,255,255,0.3)}
[data-theme="dark"] label{color:rgba(255,255,255,0.7)}

/* ── Tables ── */
[data-theme="dark"] table{border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] th{background:#141e30;color:#e0e4ec;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] td{border-color:rgba(255,255,255,0.06);color:rgba(255,255,255,0.7)}
[data-theme="dark"] tr:nth-child(even) td{background:rgba(255,255,255,0.02)}

/* ── Inline styles with dark text — broad overrides ── */
[data-theme="dark"] [style*="color:var(--navy)"]{color:#e0e4ec!important}
[data-theme="dark"] [style*="color:var(--ink)"]{color:#e0e4ec!important}
[data-theme="dark"] [style*="color:var(--body)"]{color:rgba(255,255,255,0.6)!important}
[data-theme="dark"] [style*="color:#0A1628"]{color:#e0e4ec!important}
[data-theme="dark"] [style*="color:#1C2333"]{color:#e0e4ec!important}
[data-theme="dark"] [style*="color:var(--white)"]{color:#fff!important}
[data-theme="dark"] [style*="background:var(--white)"]{background:#141e30!important}
[data-theme="dark"] [style*="background:var(--off)"]{background:#111827!important}
[data-theme="dark"] [style*="background:#f"]{background:#111827!important}
[data-theme="dark"] [style*="background:#F"]{background:#111827!important}
[data-theme="dark"] [style*="border-color:var(--off2)"]{border-color:rgba(255,255,255,0.06)!important}
[data-theme="dark"] [style*="border:1px solid var(--off2)"]{border-color:rgba(255,255,255,0.06)!important}
[data-theme="dark"] [style*="border-bottom:1px solid var(--off2)"]{border-bottom-color:rgba(255,255,255,0.06)!important}

/* ── Widgets ── */
[data-theme="dark"] .toast{background:#141e30;color:#e0e4ec;box-shadow:0 8px 30px rgba(0,0,0,0.4),0 1px 3px rgba(0,0,0,0.2)}
[data-theme="dark"] .cmp-rows > div:hover{background:rgba(75,163,255,0.06)}
[data-theme="dark"] #chat-bubble{background:#141e30;border-color:rgba(255,255,255,0.08)}
[data-theme="dark"] .ytd-bar{background:rgba(12,18,32,0.88);border-top-color:rgba(255,255,255,0.06);box-shadow:0 -4px 24px rgba(0,0,0,0.3)}
[data-theme="dark"] .ytd-amount{color:#fff}
[data-theme="dark"] .ytd-label{color:var(--sky)}
[data-theme="dark"] .ytd-date{color:rgba(255,255,255,0.45)}
[data-theme="dark"] .ytd-sep{background:rgba(255,255,255,0.2)}
[data-theme="dark"] .cc-card{background:#141e30;box-shadow:rgba(0,0,0,0.4) 0 1px 3px 0,rgba(0,0,0,0.3) 0 4px 12px 4px}
[data-theme="dark"] .cc-title{color:#e0e4ec}
[data-theme="dark"] .cc-text{color:#9ca3af}
[data-theme="dark"] .cc-link{color:#60a5fa}
[data-theme="dark"] .cc-link:hover{color:#93bbfd}
[data-theme="dark"] .cc-more{color:#9ca3af}
[data-theme="dark"] .cc-more:hover{color:#60a5fa}
[data-theme="dark"] .cc-btn{background:#3b82f6}
[data-theme="dark"] .cc-btn:hover{background:#60a5fa}
[data-theme="dark"] .cc-img{filter:drop-shadow(0 4px 12px rgba(59,130,246,0.25))}

/* ── Gradient text → plain white in dark mode ── */
[data-theme="dark"] .eyebrow,[data-theme="dark"] .eyebrow-lt,[data-theme="dark"] .eyebrow-md{background:none;-webkit-background-clip:unset;-webkit-text-fill-color:rgba(255,255,255,0.4);background-clip:unset}
[data-theme="dark"] .eyebrow-ph{background:linear-gradient(90deg,#c8d8e8,#ffffff,#dde8f0);background-size:200px 100%;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
[data-theme="dark"] .h-title-gradient{background:linear-gradient(135deg,var(--blue),var(--cyan));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
[data-theme="dark"] .h-marquee-label{background:linear-gradient(#0c1220,#0c1220) padding-box,linear-gradient(135deg,#5a6a7e 0%,#a0b0c4 30%,#e0e8f0 50%,#a0b0c4 70%,#5a6a7e 100%) border-box;color:rgba(255,255,255,0.6)}
[data-theme="dark"] .ft-col-lbl{background:none;-webkit-background-clip:unset;-webkit-text-fill-color:rgba(255,255,255,0.4);background-clip:unset}
[data-theme="dark"] .footer-col-title{background:none;-webkit-background-clip:unset;-webkit-text-fill-color:rgba(255,255,255,0.4);background-clip:unset}
[data-theme="dark"] .footer-copyright{background:none;-webkit-background-clip:unset;-webkit-text-fill-color:rgba(255,255,255,0.3);background-clip:unset}

/* ── Webinars ── */
[data-theme="dark"] .wbn-card{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .wbn-card:hover{box-shadow:0 12px 48px rgba(0,0,0,0.35)}
[data-theme="dark"] .wbn-thumb{opacity:0.9}
[data-theme="dark"] .wbn-filter{background:#0c1220;border-bottom-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .wbn-pill{background:rgba(255,255,255,0.04);border-color:rgba(255,255,255,0.08);color:rgba(255,255,255,0.55)}
[data-theme="dark"] .wbn-pill:hover{border-color:rgba(75,163,255,0.4);color:#4BA3FF;background:rgba(11,95,216,0.08)}
[data-theme="dark"] .wbn-pill-active{background:rgba(11,95,216,0.15);border-color:rgba(75,163,255,0.4);color:#4BA3FF}

/* ── Footer — already dark, just soften ── */
[data-theme="dark"] footer{background:#080e1a}

/* ── All remaining text with color:var(--navy) ── */
[data-theme="dark"] .seg-ben h5{color:#e0e4ec}
[data-theme="dark"] .tc-name-lt{color:#e0e4ec}
[data-theme="dark"] .ph-cell h5{color:#e0e4ec}
[data-theme="dark"] .tl-title{color:#e0e4ec}
[data-theme="dark"] .pc-name{color:#e0e4ec}
[data-theme="dark"] .pc-amt{color:#e0e4ec}
[data-theme="dark"] .am-size-btn{background:#141e30;color:#e0e4ec;border-color:rgba(255,255,255,0.12)}
[data-theme="dark"] .sb-objection-q{color:#e0e4ec}
[data-theme="dark"] label.fl{color:rgba(255,255,255,0.45)}
[data-theme="dark"] .ff:focus-within label.fl{color:#4BA3FF}
[data-theme="dark"] .fp-num{border-color:rgba(255,255,255,0.15);color:rgba(255,255,255,0.5)}
[data-theme="dark"] .fp-label{color:rgba(255,255,255,0.4)}
[data-theme="dark"] .fp-line{background:rgba(255,255,255,0.06)}
[data-theme="dark"] .fp-step.fp-active .fp-label{color:#4BA3FF}
[data-theme="dark"] .fp-step.fp-done .fp-label{color:var(--cyan-text)}
[data-theme="dark"] .ai-card h5{color:#e0e4ec}
[data-theme="dark"] .ai-card{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .tc-btn-s{background:#1a2234;color:#e0e4ec;border-color:rgba(255,255,255,0.08)}
[data-theme="dark"] .tier-vol-pill{background:#141e30;border-color:rgba(255,255,255,0.1);color:rgba(255,255,255,0.6)}
[data-theme="dark"] .tier-vol-pill:hover{border-color:rgba(75,163,255,0.4);color:#4BA3FF;background:rgba(11,95,216,0.08)}
[data-theme="dark"] .tier-vol-pill.tvp-active{background:rgba(11,95,216,0.15);border-color:rgba(75,163,255,0.5);color:#4BA3FF}
[data-theme="dark"] .tier-finder-label{color:rgba(255,255,255,0.4)}
[data-theme="dark"] .sb-copy-btn{background:#141e30;color:#e0e4ec;border-color:rgba(255,255,255,0.1)}
/* ── Ad maker, modals, misc white backgrounds ── */
[data-theme="dark"] .am-tpl-opt{background:#141e30;border-color:rgba(255,255,255,0.1)}
[data-theme="dark"] .am-tpl-opt div[style*="color:var(--navy)"]{color:#e0e4ec!important}
[data-theme="dark"] .am-cocard{background:#141e30;box-shadow:0 8px 40px rgba(0,0,0,0.4)}
[data-theme="dark"] .am-cocard-headline{color:#e0e4ec}
[data-theme="dark"] .am-cocard-sub{color:rgba(255,255,255,0.5)}
[data-theme="dark"] .am-cocard-footer{border-top-color:rgba(255,255,255,0.08)}
[data-theme="dark"] .am-card-btn-preview{background:transparent;border-color:rgba(255,255,255,0.15);color:rgba(255,255,255,0.6)}
[data-theme="dark"] #am-results div[style*="color:var(--navy)"]{color:#e0e4ec!important}
[data-theme="dark"] input[style*="background:#fff"],
[data-theme="dark"] select[style*="background:#fff"],
[data-theme="dark"] textarea[style*="background:#fff"]{background:#141e30!important;color:#e0e4ec!important;border-color:rgba(255,255,255,0.12)!important}
[data-theme="dark"] label[style*="background:#fff"]{background:#141e30!important;border-color:rgba(255,255,255,0.12)!important}
[data-theme="dark"] #am-logo-label{color:rgba(255,255,255,0.45)!important}
[data-theme="dark"] .cq-wrap{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .cq-detail-card{background:#111827;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .cq-detail-value{color:#e0e4ec}
[data-theme="dark"] .cq-analysis,[data-theme="dark"] .cq-talking-points{background:#111827;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .cq-verdict-title{color:#e0e4ec}
[data-theme="dark"] .cq-verdict-strong{background:rgba(0,229,204,0.06);border-color:rgba(0,229,204,0.15)}
[data-theme="dark"] .cq-verdict-likely{background:rgba(11,95,216,0.08);border-color:rgba(11,95,216,0.15)}
[data-theme="dark"] .cq-verdict-weak{background:rgba(255,255,255,0.04);border-color:rgba(255,255,255,0.08)}
[data-theme="dark"] .cq-verdict-no{background:rgba(220,38,38,0.08);border-color:rgba(220,38,38,0.15)}
[data-theme="dark"] .kb-wrap{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .kb-search-bar{background:#111827;border-color:rgba(255,255,255,0.08)}
[data-theme="dark"] .kb-search-bar input{color:#e0e4ec}
[data-theme="dark"] .kb-tag{background:#111827;border-color:rgba(255,255,255,0.08);color:rgba(255,255,255,0.6)}
[data-theme="dark"] .kb-tag:hover{border-color:rgba(11,95,216,0.4);color:rgba(255,255,255,0.85);background:rgba(11,95,216,0.1)}
[data-theme="dark"] .kb-answer-card{background:#111827;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .kb-answer-body{color:#e0e4ec}
[data-theme="dark"] .kb-answer-body b{color:#fff}
[data-theme="dark"] .kb-answer-footer{border-top-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .kb-history-item{background:#111827;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .kb-history-a{color:rgba(255,255,255,0.6)}
[data-theme="dark"] #cq-error,
[data-theme="dark"] #am-error,
[data-theme="dark"] #rc-error,
[data-theme="dark"] #sb-error{background:rgba(192,57,43,0.12)!important;border-color:rgba(192,57,43,0.3)!important;color:#f87171!important}
[data-theme="dark"] #page-404 div[style*="color:var(--mist)"]{color:rgba(255,255,255,0.12)!important}
[data-theme="dark"] #page-404 h1[style*="color:var(--navy)"]{color:#e0e4ec!important}
[data-theme="dark"] .exp-modal{background:#141e30;box-shadow:0 40px 100px rgba(0,0,0,0.5)}
[data-theme="dark"] .exp-arrow{background:#1a2234;border-color:rgba(255,255,255,0.1);color:#e0e4ec}
[data-theme="dark"] .price-card{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .price-card h3{color:#e0e4ec}
[data-theme="dark"] .price-card p,[data-theme="dark"] .price-card li{color:rgba(255,255,255,0.6)}

/* ── Dashboard dark mode ── */
[data-theme="dark"] #page-dashboard [style*="background:#fafbfd"]{background:#111827!important}
[data-theme="dark"] #page-dashboard [style*="background:linear-gradient(135deg,rgba(11,95,216"]{background:rgba(11,95,216,0.12)!important;border-color:rgba(11,95,216,0.2)!important}
[data-theme="dark"] #page-dashboard [style*="background:rgba(11,95,216,0.04)"]{background:rgba(11,95,216,0.08)!important;border-color:rgba(11,95,216,0.15)!important}
[data-theme="dark"] #page-dashboard span[style*="background:rgba(0,229,204,0.1)"]{background:rgba(0,229,204,0.18)!important}
[data-theme="dark"] #page-dashboard span[style*="background:rgba(11,95,216,0.1)"]{background:rgba(11,95,216,0.2)!important}
[data-theme="dark"] #page-dashboard [style*="box-shadow:0 8px 40px"]{box-shadow:0 8px 40px rgba(0,0,0,0.4)!important}
[data-theme="dark"] #page-dashboard [style*="color:var(--slate)"][style*="letter-spacing"]{color:rgba(255,255,255,0.8)!important}

/* ── SVG icons in content ── */
[data-theme="dark"] svg[style*="stroke:var(--navy)"]{stroke:#e0e4ec!important}
[data-theme="dark"] svg[style*="stroke:var(--blue)"]{stroke:rgba(255,255,255,0.6)!important}
[data-theme="dark"] svg[style*="stroke:var(--blue2)"]{stroke:rgba(255,255,255,0.6)!important}
[data-theme="dark"] svg[style*="stroke:var(--sky)"]{stroke:rgba(255,255,255,0.5)!important}

/* ── Hero counters/stats ── */
[data-theme="dark"] .hero-counter{color:#e0e4ec}
[data-theme="dark"] .hero-counter-label{color:rgba(255,255,255,0.5)}


/* ── ONBOARDING CHECKLIST ── */
.ob-step{display:flex;gap:20px;padding:20px 0;border-bottom:1px solid var(--off2);align-items:flex-start}
.ob-step:last-child{border-bottom:none}
.ob-check{width:32px;height:32px;border-radius:50%;border:2px solid var(--mist);display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:all 0.25s ease;margin-top:2px;position:relative}
.ob-check svg{opacity:0;transition:opacity 0.2s}
.ob-step.ob-done .ob-check{background:linear-gradient(135deg,var(--blue),var(--cyan));border-color:transparent;animation:checkBounce 0.35s cubic-bezier(0.22,1,0.36,1)}
.ob-check::after{content:'';position:absolute;inset:-4px;border-radius:50%;border:2px solid var(--blue);opacity:0;transform:scale(1);pointer-events:none}
.ob-step.ob-done .ob-check::after{animation:checkRing 0.5s cubic-bezier(0.22,1,0.36,1)}
.ob-step.ob-done .ob-check svg{opacity:1}
.ob-step.ob-done .ob-title{text-decoration:line-through;color:var(--slate)}
.ob-step.ob-done .ob-desc{color:var(--mist)}
.ob-title{font-size:16px;font-weight:700;color:var(--navy);margin-bottom:4px;transition:color 0.25s}
.ob-desc{font-size:14px;color:var(--body);line-height:1.6;transition:color 0.25s}
@keyframes checkBounce{0%{transform:scale(0.85)}50%{transform:scale(1.15)}100%{transform:scale(1)}}
@keyframes checkRing{0%{opacity:0.6;transform:scale(1)}100%{opacity:0;transform:scale(1.6)}}
@keyframes obCompleteReveal{from{opacity:0;transform:scale(0.92)}to{opacity:1;transform:scale(1)}}
.ob-complete-show{animation:obCompleteReveal 0.5s cubic-bezier(0.22,1,0.36,1) forwards}

/* ── Referral Playbook Dark Mode ── */
[data-theme="dark"] .pb-quiz{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .pb-quiz-title{color:#e0e4ec}
[data-theme="dark"] .pb-quiz-scenario{background:rgba(255,255,255,0.03);border-left-color:#4BA3FF;color:#e0e4ec}
[data-theme="dark"] .pb-quiz-option{background:#1a2740;border-color:rgba(255,255,255,0.08);color:rgba(255,255,255,0.7)}
[data-theme="dark"] .pb-quiz-option:hover:not(.pb-quiz-disabled){border-color:#4BA3FF;background:rgba(75,163,255,0.06)}
[data-theme="dark"] .pb-quiz-explain{background:rgba(0,200,224,0.06)}
[data-theme="dark"] .pb-quiz-explain strong{color:#e0e4ec}
[data-theme="dark"] .pb-seasonal-tip{background:rgba(75,163,255,0.04);border-color:rgba(75,163,255,0.1)}
[data-theme="dark"] .pb-streak{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .pb-streak-title,[data-theme="dark"] .pb-streak-sub span,[data-theme="dark"] .pb-streak-pct{color:#e0e4ec}
[data-theme="dark"] .pb-streak-bar{background:rgba(255,255,255,0.06)}
[data-theme="dark"] .pb-streak select{background:#1a2740;border-color:rgba(255,255,255,0.1);color:#e0e4ec}
[data-theme="dark"] .pb-stat{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .pb-tab{color:var(--slate)}
[data-theme="dark"] .pb-tab-active{color:#4BA3FF;border-bottom-color:#4BA3FF}
[data-theme="dark"] .pb-card{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .pb-card-open{border-color:rgba(75,163,255,0.15)}
[data-theme="dark"] .pb-card-chevron svg{stroke:rgba(255,255,255,0.3)}
[data-theme="dark"] .pb-script{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .pb-script-header{border-bottom-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .pb-script-text{background:rgba(255,255,255,0.03);border-left-color:#4BA3FF;color:var(--ink)}
[data-theme="dark"] .pb-rate-bar{border-top-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .pb-rate-btn{background:#1a2740;border-color:rgba(255,255,255,0.1);color:rgba(255,255,255,0.4)}
[data-theme="dark"] .pb-objection{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .pb-obj-insight{background:rgba(255,255,255,0.03)}
[data-theme="dark"] .pb-tl-content{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .pb-network-card{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .pb-net-icon{background:rgba(255,255,255,0.04)}
[data-theme="dark"] .pb-tip{background:rgba(75,163,255,0.05);border-color:rgba(75,163,255,0.15)}
[data-theme="dark"] .pb-copy-btn{background:#1a2740;border-color:rgba(255,255,255,0.1);color:rgba(255,255,255,0.5)}
[data-theme="dark"] .pb-copy-btn:hover{background:#4BA3FF;color:#fff;border-color:#4BA3FF}

/* ── Business Planner Dark Mode ── */
[data-theme="dark"] .bpc-question{color:#e0e4ec}
[data-theme="dark"] .bpc-opt{background:#141e30;border-color:rgba(255,255,255,0.08);color:#e0e4ec}
[data-theme="dark"] .bpc-opt:hover{border-color:#4BA3FF;background:rgba(75,163,255,0.06)}
[data-theme="dark"] .bpc-opt-selected{border-color:#4BA3FF;background:rgba(75,163,255,0.08)}
[data-theme="dark"] .bpc-big-input{background:#141e30;border-color:rgba(255,255,255,0.1);color:#e0e4ec}
[data-theme="dark"] .bpc-big-input:focus{border-color:#4BA3FF}
[data-theme="dark"] .bpc-check-opt{background:#141e30;border-color:rgba(255,255,255,0.08);color:#e0e4ec}
[data-theme="dark"] .bpc-check-opt:hover{border-color:#4BA3FF}
[data-theme="dark"] .bpc-check-box{background:#141e30;border-color:rgba(255,255,255,0.15)}
[data-theme="dark"] .bpc-nav-back{border-color:rgba(255,255,255,0.1);color:rgba(255,255,255,0.5)}
[data-theme="dark"] .bpc-nav-back:hover{color:#e0e4ec;border-color:rgba(255,255,255,0.2)}
[data-theme="dark"] .bpc-progress{background:rgba(255,255,255,0.06)}
[data-theme="dark"] .bpc-nav{border-top-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .bp-input,[data-theme="dark"] .bp-select{background:#141e30;border-color:rgba(255,255,255,0.1);color:var(--ink)}
[data-theme="dark"] .bp-select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23e0e4ec' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")}
[data-theme="dark"] .bp-insight-card{background:linear-gradient(135deg,rgba(75,163,255,0.06),rgba(0,200,224,0.04));border-color:rgba(75,163,255,0.1)}
[data-theme="dark"] .bp-insight-card:first-child{background:linear-gradient(135deg,rgba(75,163,255,0.1),rgba(0,200,224,0.06));border-color:rgba(75,163,255,0.15)}
[data-theme="dark"] .bp-insight-val{color:#e0e4ec}
[data-theme="dark"] .bp-insight-title{color:#4BA3FF}
[data-theme="dark"] .bp-timeline{border-left-color:rgba(75,163,255,0.12)}
[data-theme="dark"] .bp-month-label{color:#e0e4ec}
[data-theme="dark"] .bp-month-sub{color:rgba(255,255,255,0.4)}
[data-theme="dark"] .bp-task{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .bp-task:hover{border-color:rgba(75,163,255,0.15)}
[data-theme="dark"] .bp-task-title{color:#e0e4ec}
[data-theme="dark"] .bp-task-desc{color:rgba(255,255,255,0.55)}
[data-theme="dark"] .bp-whatif-title{color:#e0e4ec}
[data-theme="dark"] .bp-whatif-card{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .bp-whatif-card:first-child{border-top-color:#4BA3FF}
[data-theme="dark"] .bp-whatif-card:last-child{border-top-color:#00C8E0}
[data-theme="dark"] .bp-whatif-card:hover{border-color:#4BA3FF}
[data-theme="dark"] .bp-whatif-label{color:rgba(255,255,255,0.5)}
[data-theme="dark"] .bp-whatif-val{color:#e0e4ec}
[data-theme="dark"] .bp-whatif-delta{color:#00C8E0}
[data-theme="dark"] .bp-drip-bar{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .bp-drip-title{color:#e0e4ec}
[data-theme="dark"] .bp-drip-slider{background:rgba(255,255,255,0.15)}
[data-theme="dark"] .bp-progress-wrap{background:linear-gradient(135deg,rgba(75,163,255,0.04),rgba(0,200,224,0.03));border-color:rgba(75,163,255,0.1)}
[data-theme="dark"] .bp-progress-pct{color:#4BA3FF}
[data-theme="dark"] .bp-progress-label{color:#e0e4ec}
[data-theme="dark"] .bp-progress-bar{background:rgba(255,255,255,0.06)}
[data-theme="dark"] .bp-check-box{background:#141e30;border-color:rgba(255,255,255,0.15)}
[data-theme="dark"] .bp-tool-link{color:#4BA3FF;border-bottom-color:rgba(75,163,255,0.4)}
[data-theme="dark"] .bp-tool-link:hover{color:#7dc3ff;border-bottom-color:#7dc3ff}
[data-theme="dark"] .bp-action-bar{border-bottom-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .bp-action-title{color:#e0e4ec}
[data-theme="dark"] .bp-action-btn{background:#1a2740;border-color:rgba(255,255,255,0.1);color:rgba(255,255,255,0.6)}
[data-theme="dark"] .bp-btn-pdf{background:rgba(75,163,255,0.08);border-color:rgba(75,163,255,0.2);color:#4BA3FF}
[data-theme="dark"] .bp-btn-pdf:hover{background:#4BA3FF;color:#fff;border-color:#4BA3FF}

/* ── Client Pipeline Dark Mode ── */
[data-theme="dark"] .dash-pipeline{background:#0f1923;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .pipe-card{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .pipe-card:hover{border-color:rgba(75,163,255,0.2);box-shadow:0 4px 16px rgba(0,0,0,0.2)}
[data-theme="dark"] .pipe-stage-count{background:rgba(255,255,255,0.06);color:#e0e4ec}
[data-theme="dark"] .pipe-card-tag{background:rgba(75,163,255,0.08)}

/* ── Command Bar Dark Mode ── */
[data-theme="dark"] .cmdk-overlay{background:rgba(0,0,0,0.65)}
[data-theme="dark"] .cmdk-modal{background:#141e30;box-shadow:0 24px 80px rgba(0,0,0,0.5),0 0 0 1px rgba(255,255,255,0.06)}
[data-theme="dark"] .cmdk-search-row{border-bottom-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .cmdk-input{color:#e0e4ec}
[data-theme="dark"] .cmdk-input::placeholder{color:rgba(255,255,255,0.25)}
[data-theme="dark"] .cmdk-esc{background:rgba(255,255,255,0.06);border-color:rgba(255,255,255,0.1);color:rgba(255,255,255,0.4)}
[data-theme="dark"] .cmdk-item{color:#e0e4ec}
[data-theme="dark"] .cmdk-item:hover,[data-theme="dark"] .cmdk-item-active{background:rgba(255,255,255,0.04)}
[data-theme="dark"] .cmdk-item-icon{background:rgba(75,163,255,0.08)}
[data-theme="dark"] .cmdk-footer{border-top-color:rgba(255,255,255,0.06);color:rgba(255,255,255,0.3)}
[data-theme="dark"] .cmdk-footer kbd{background:rgba(255,255,255,0.06);border-color:rgba(255,255,255,0.1);color:rgba(255,255,255,0.4)}

/* ── Partner Leaderboard Dark Mode ── */
[data-theme="dark"] .dash-leaderboard{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .dlb-title{color:#e0e4ec}
[data-theme="dark"] .dlb-subtitle{color:rgba(255,255,255,0.35)}
[data-theme="dark"] .dlb-tabs{background:rgba(255,255,255,0.04)}
[data-theme="dark"] .dlb-tab{color:rgba(255,255,255,0.45)}
[data-theme="dark"] .dlb-tab:hover{color:#e0e4ec}
[data-theme="dark"] .dlb-tab-active{background:#1a2740;color:#e0e4ec;box-shadow:none}
[data-theme="dark"] .dlb-row:hover{background:rgba(255,255,255,0.03)}
[data-theme="dark"] .dlb-name{color:#e0e4ec}
[data-theme="dark"] .dlb-tier{color:rgba(255,255,255,0.35)}
[data-theme="dark"] .dlb-metric{color:rgba(255,255,255,0.55)}
[data-theme="dark"] .dlb-rank{color:rgba(255,255,255,0.25)}
[data-theme="dark"] .dlb-row-pro .dlb-rank{color:#D4A017}
[data-theme="dark"] .dlb-row-premium .dlb-rank{color:#8B8E93}
[data-theme="dark"] .dlb-row-bronze .dlb-rank{color:#A0522D}
[data-theme="dark"] .dlb-row-you{background:rgba(75,163,255,0.06);border-color:rgba(75,163,255,0.12)}
[data-theme="dark"] .dlb-badge-you{background:rgba(75,163,255,0.12);color:#4BA3FF}

/* ── 30-Day Challenge Dark Mode ── */
[data-theme="dark"] .ch-hero{background:linear-gradient(135deg,rgba(75,163,255,0.06),rgba(0,200,224,0.04));border-color:rgba(75,163,255,0.1)}
[data-theme="dark"] .ch-hero-day{color:#e0e4ec}
[data-theme="dark"] .ch-stat{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .ch-stat-val{color:#e0e4ec}
[data-theme="dark"] .ch-badge{background:#141e30;border-color:rgba(255,255,255,0.06);color:rgba(255,255,255,0.25)}
[data-theme="dark"] .ch-badge-earned{background:rgba(75,163,255,0.1);border-color:rgba(75,163,255,0.15);color:#4BA3FF}
[data-theme="dark"] .ch-weeks{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .ch-weeks-title{color:#e0e4ec}
[data-theme="dark"] .ch-cell{background:rgba(255,255,255,0.03);border-color:rgba(255,255,255,0.06);color:rgba(255,255,255,0.25)}
[data-theme="dark"] .ch-cell-today{background:#141e30;border-color:#4BA3FF;color:#4BA3FF}
[data-theme="dark"] .ch-today{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .ch-today-title{color:#e0e4ec}
[data-theme="dark"] .ch-today-desc{color:rgba(255,255,255,0.55)}
[data-theme="dark"] .ch-btn-skip{border-color:rgba(255,255,255,0.1);color:rgba(255,255,255,0.5)}
[data-theme="dark"] .ch-up-card{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .ch-up-title{color:#e0e4ec}
[data-theme="dark"] .ch-leaderboard{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .ch-lb-title{color:#e0e4ec}
[data-theme="dark"] .ch-lb-name{color:#e0e4ec}
[data-theme="dark"] .ch-lb-row:hover{background:rgba(255,255,255,0.03)}
[data-theme="dark"] .ch-lb-row-you{background:rgba(75,163,255,0.06);border-color:rgba(75,163,255,0.1)}
[data-theme="dark"] .ch-identity{background:linear-gradient(135deg,rgba(75,163,255,0.06),rgba(0,200,224,0.04));border-color:rgba(75,163,255,0.1)}
[data-theme="dark"] .ch-identity-title{color:#e0e4ec}
[data-theme="dark"] .ch-identity-sub{color:rgba(255,255,255,0.55)}
[data-theme="dark"] .ch-identity-quote{color:rgba(255,255,255,0.4);border-left-color:rgba(75,163,255,0.15)}
[data-theme="dark"] .ch-today-why{color:#4BA3FF}

/* ── Pro Gating Dark Mode ── */
[data-theme="dark"] .pro-lock-overlay{background:rgba(15,25,35,0.92)}
[data-theme="dark"] .pro-lock-icon{background:rgba(75,163,255,0.1)}
[data-theme="dark"] .pro-lock-title{color:#e0e4ec}
[data-theme="dark"] .pro-lock-desc{color:rgba(255,255,255,0.55)}
[data-theme="dark"] .pro-pw-modal{background:#0f1724}
[data-theme="dark"] .pro-pw-close{background:rgba(255,255,255,0.06);color:rgba(255,255,255,0.5)}
[data-theme="dark"] .pro-pw-title{color:#e0e4ec}
[data-theme="dark"] .pro-pw-subtitle{color:rgba(255,255,255,0.55)}
[data-theme="dark"] .pro-pw-price-card{background:rgba(75,163,255,0.06);border-color:rgba(75,163,255,0.1)}
[data-theme="dark"] .pro-pw-dollar,[data-theme="dark"] .pro-pw-amount,[data-theme="dark"] .pro-pw-cents{color:#e0e4ec}
[data-theme="dark"] .pro-pw-feat{border-bottom-color:rgba(255,255,255,0.04)}
[data-theme="dark"] .pro-pw-feat-icon{background:rgba(75,163,255,0.08)}
[data-theme="dark"] .pro-pw-feat-name{color:#e0e4ec}
[data-theme="dark"] .pro-pw-feat-desc{color:rgba(255,255,255,0.4)}

/* ── Tunes Toggle Dark Mode ── */
[data-theme="dark"] .tn-track{background-color:#1a1e26}
[data-theme="dark"] .tn-line{background:rgba(255,255,255,0.25)}
[data-theme="dark"] .tn-thumb{background-color:#e0e4ec;box-shadow:0 1px 3px rgba(0,0,0,0.3)}
[data-theme="dark"] .tunes-on .tn-track{background-color:#1a6fe8}

/* ── Settings Button Dark Mode ── */
[data-theme="dark"] .pt-settings-btn{border-color:rgba(255,255,255,0.08)}
[data-theme="dark"] .pt-settings-btn:hover{border-color:rgba(255,255,255,0.15);background:rgba(255,255,255,0.04)}
[data-theme="dark"] .pt-bar{background:rgba(255,255,255,0.2)}
[data-theme="dark"] .pt-bar::before{background:rgba(255,255,255,0.5);border-color:#0f1724;box-shadow:0 0 4px rgba(0,0,0,0.4)}
[data-theme="dark"] .pt-settings-panel{background:#0f1724;border-color:rgba(255,255,255,0.08);box-shadow:0 8px 32px rgba(0,0,0,0.3)}
[data-theme="dark"] .pt-settings-row:hover{background:rgba(255,255,255,0.03)}
[data-theme="dark"] .pt-settings-label{color:rgba(255,255,255,0.7)}

/* ── Submit Referral Dark Mode ── */
[data-theme="dark"] .sr-btn{color:#ff4444}
[data-theme="dark"] .sr-icon{stroke:#ff4444}
[data-theme="dark"] .sr-edge{background:#ff4444;box-shadow:0 0 6px rgba(255,68,68,0.4)}

/* ── Profile Dropdown Dark Mode ── */
[data-theme="dark"] .pt-profile-wrap .portal-avatar:hover{box-shadow:0 0 0 2px rgba(75,163,255,0.3)}
[data-theme="dark"] .pt-profile-panel{background:#0f1724;border-color:rgba(255,255,255,0.08);box-shadow:0 8px 32px rgba(0,0,0,0.3)}
[data-theme="dark"] .pt-profile-name{color:#e0e4ec}
[data-theme="dark"] .pt-profile-email{color:rgba(255,255,255,0.4)}
[data-theme="dark"] .pt-profile-divider{background:rgba(255,255,255,0.06)}
[data-theme="dark"] .pt-profile-bar{background:rgba(255,255,255,0.08)}
[data-theme="dark"] .pt-profile-item{color:rgba(255,255,255,0.65)}
[data-theme="dark"] .pt-profile-item:hover{background:rgba(255,255,255,0.04);color:#e0e4ec}
[data-theme="dark"] .pt-profile-item svg{color:rgba(255,255,255,0.35)}
[data-theme="dark"] .pt-profile-item:hover svg{color:#4BA3FF}
[data-theme="dark"] .pt-profile-logout{color:#f87171}
[data-theme="dark"] .pt-profile-logout:hover{background:rgba(248,113,113,0.06);color:#f87171}
[data-theme="dark"] .pt-profile-logout svg,[data-theme="dark"] .pt-profile-logout:hover svg{color:#f87171}

/* ── Go Pro Button Dark Mode ── */
[data-theme="dark"] .gp-btn{background:linear-gradient(135deg,#1a6fe8 0%,#0090c8 100%);box-shadow:0 2px 10px rgba(26,111,232,0.3)}
[data-theme="dark"] .gp-btn:hover{box-shadow:0 4px 18px rgba(26,111,232,0.4)}
[data-theme="dark"] .gp-fold{background:linear-gradient(225deg,#0f1724 40%,rgba(26,111,232,0.3) 45%,transparent 50%)}

/* ── Go Pro Comparison Modal Dark Mode ── */
[data-theme="dark"] .gp-compare-modal{background:#0f1724}
[data-theme="dark"] .gp-compare-close{background:rgba(255,255,255,0.06);color:rgba(255,255,255,0.5)}
[data-theme="dark"] .gp-compare-close:hover{background:rgba(255,255,255,0.1);color:#e0e4ec}
[data-theme="dark"] .gp-compare-title{color:#e0e4ec}
[data-theme="dark"] .gp-compare-subtitle{color:rgba(255,255,255,0.5)}
[data-theme="dark"] .gp-compare-card{border-color:rgba(255,255,255,0.08);background:#141e30}
[data-theme="dark"] .gp-compare-card-pro{border-color:rgba(75,163,255,0.25);box-shadow:0 0 24px rgba(75,163,255,0.06),0 4px 16px rgba(75,163,255,0.04)}
[data-theme="dark"] .gp-compare-badge-free{background:rgba(255,255,255,0.06);color:rgba(255,255,255,0.5)}
[data-theme="dark"] .gp-compare-price{color:#e0e4ec}
[data-theme="dark"] .gp-compare-period{color:rgba(255,255,255,0.4)}
[data-theme="dark"] .gp-compare-plus{color:#4BA3FF}
[data-theme="dark"] .gp-compare-item{color:rgba(255,255,255,0.65)}
[data-theme="dark"] .gp-compare-cta-disabled{background:rgba(255,255,255,0.04);color:rgba(255,255,255,0.3)}
[data-theme="dark"] .gp-compare-footer{color:rgba(255,255,255,0.35)}

/* ── AI Tool Embeds Dark Mode ── */
[data-theme="dark"] .ai-portal-embed{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .ai-embed-tabs{background:rgba(255,255,255,0.04)}
[data-theme="dark"] .ai-embed-tab{color:rgba(255,255,255,0.5)}
[data-theme="dark"] .ai-embed-tab:hover{color:#e0e4ec}
[data-theme="dark"] .ai-embed-tab-active{background:#1a2740;color:#e0e4ec}
[data-theme="dark"] .ai-embed-input,[data-theme="dark"] .ai-embed-select{background:#0f1724;border-color:rgba(255,255,255,0.1);color:#e0e4ec}
[data-theme="dark"] .ai-embed-select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23e0e4ec' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")}
[data-theme="dark"] .ai-pill{background:rgba(255,255,255,0.04);border-color:rgba(255,255,255,0.08);color:rgba(255,255,255,0.5)}
[data-theme="dark"] .ai-pill:hover,[data-theme="dark"] .ai-pill-active{border-color:rgba(75,163,255,0.2);color:#4BA3FF;background:rgba(75,163,255,0.06)}
[data-theme="dark"] .ai-result-card{background:#0f1724;border-color:rgba(255,255,255,0.06);color:rgba(255,255,255,0.7)}
[data-theme="dark"] .ai-ad-mock{background:#1a2740;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .ai-ad-mock-header{border-bottom-color:rgba(255,255,255,0.04)}
[data-theme="dark"] .ai-ad-mock-headline{color:#e0e4ec}
[data-theme="dark"] .ai-kb-search-wrap{border-color:rgba(255,255,255,0.1);background:#0f1724}

/* ── Referral Link Generator Dark Mode ── */
[data-theme="dark"] .rlg-wrap{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .rlg-title{color:#e0e4ec}
[data-theme="dark"] .rlg-desc{color:rgba(255,255,255,0.45)}
[data-theme="dark"] .rlg-stat-val{color:#e0e4ec}
[data-theme="dark"] .rlg-stat-label{color:rgba(255,255,255,0.35)}
[data-theme="dark"] .rlg-link-field{background:rgba(255,255,255,0.04);border-color:rgba(255,255,255,0.08)}
[data-theme="dark"] .rlg-link-input{color:#e0e4ec}
[data-theme="dark"] .rlg-channel-btn{background:#141e30;border-color:rgba(255,255,255,0.1);color:rgba(255,255,255,0.5)}
[data-theme="dark"] .rlg-channel-btn:hover{background:rgba(75,163,255,0.08)}
[data-theme="dark"] .rlg-channel-label{color:rgba(255,255,255,0.3)}
[data-theme="dark"] .rlg-utm-toggle{color:rgba(255,255,255,0.35)}
[data-theme="dark"] .rlg-utm-toggle:hover{color:rgba(255,255,255,0.6)}
[data-theme="dark"] .rlg-utm-input{background:rgba(255,255,255,0.04);border-color:rgba(255,255,255,0.08);color:#e0e4ec}
[data-theme="dark"] .rlg-utm-label{color:rgba(255,255,255,0.45)}

/* ── Smart Insights Banner Dark Mode ── */
[data-theme="dark"] .dash-insights-banner{background:linear-gradient(135deg,rgba(75,163,255,0.06),rgba(0,200,224,0.04));border-color:rgba(75,163,255,0.1)}
[data-theme="dark"] .dib-icon{background:rgba(75,163,255,0.1);color:#4BA3FF}
[data-theme="dark"] .dib-title{color:#e0e4ec}
[data-theme="dark"] .dib-body{color:rgba(255,255,255,0.55)}
[data-theme="dark"] .dib-next{background:#141e30;border-color:rgba(255,255,255,0.1);color:rgba(255,255,255,0.5)}
[data-theme="dark"] .dib-next:hover{border-color:#4BA3FF;color:#4BA3FF}
[data-theme="dark"] .dib-dismiss{color:rgba(255,255,255,0.25)}
[data-theme="dark"] .dib-dismiss:hover{color:#e0e4ec}

/* ── Partner Certification Card Dark Mode ── */
[data-theme="dark"] .pcc-card{background:linear-gradient(135deg,rgba(75,163,255,0.04),rgba(0,200,224,0.03));border-color:rgba(75,163,255,0.1)}
[data-theme="dark"] .pcc-level{color:#4BA3FF}
[data-theme="dark"] .pcc-detail-row{border-bottom-color:rgba(255,255,255,0.04)}
[data-theme="dark"] .pcc-detail-label{color:rgba(255,255,255,0.35)}
[data-theme="dark"] .pcc-detail-val{color:#e0e4ec}

/* ── Monthly Goal Tracker Dark Mode ── */
[data-theme="dark"] .dash-goal-tracker{background:#141e30;border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .dgt-title{color:#e0e4ec}
[data-theme="dark"] .dgt-edit{color:rgba(255,255,255,0.35)}
[data-theme="dark"] .dgt-edit:hover{color:#4BA3FF}
[data-theme="dark"] .dgt-ring-val{color:#e0e4ec}
[data-theme="dark"] .dgt-ring-of{color:rgba(255,255,255,0.35)}
[data-theme="dark"] .dgt-sub{color:rgba(255,255,255,0.35)}
[data-theme="dark"] .dgt-stat{background:rgba(255,255,255,0.04)}
[data-theme="dark"] .dgt-stat-val{color:#e0e4ec}
[data-theme="dark"] .dgt-stat-label{color:rgba(255,255,255,0.35)}
[data-theme="dark"] .dgt-pace-label{color:rgba(255,255,255,0.55)}
[data-theme="dark"] .dgt-pace-bar{background:rgba(255,255,255,0.06)}
[data-theme="dark"] .dgt-streak-row{background:rgba(75,163,255,0.06);border-color:rgba(75,163,255,0.1);color:rgba(255,255,255,0.55)}

/* ── Case Detail Drawer Dark Mode ── */
[data-theme="dark"] .cdd-overlay{background:rgba(0,0,0,0.55)}
[data-theme="dark"] .cdd-drawer{background:#0d1726;box-shadow:-8px 0 40px rgba(0,0,0,0.4)}
[data-theme="dark"] .cdd-client-name{color:#e0e4ec}
[data-theme="dark"] .cdd-ref-id{color:rgba(255,255,255,0.35)}
[data-theme="dark"] .cdd-close{color:rgba(255,255,255,0.35)}
[data-theme="dark"] .cdd-close:hover{background:rgba(255,255,255,0.06);color:#e0e4ec}
[data-theme="dark"] .cdd-sum-item{background:rgba(255,255,255,0.04)}
[data-theme="dark"] .cdd-sum-label{color:rgba(255,255,255,0.35)}
[data-theme="dark"] .cdd-sum-val{color:#e0e4ec}
[data-theme="dark"] .cdd-timeline-title{color:#e0e4ec}
[data-theme="dark"] .cdd-timeline::before{background:rgba(255,255,255,0.08)}
[data-theme="dark"] .cdd-event-dot{background:#0d1726;border-color:rgba(255,255,255,0.12)}
[data-theme="dark"] .cdd-event-done .cdd-event-dot{background:#059669;border-color:#059669}
[data-theme="dark"] .cdd-event-active .cdd-event-dot{background:#4BA3FF;border-color:#4BA3FF;box-shadow:0 0 0 3px rgba(75,163,255,0.2)}
[data-theme="dark"] .cdd-event-date{color:rgba(255,255,255,0.3)}
[data-theme="dark"] .cdd-event-text{color:rgba(255,255,255,0.55)}
[data-theme="dark"] .cdd-event-active .cdd-event-text{color:#e0e4ec}
[data-theme="dark"] .cdd-event-pending .cdd-event-text{color:rgba(255,255,255,0.2)}

/* ── Keyboard Shortcuts Help Dark Mode ── */
[data-theme="dark"] .kbd-help-overlay{background:rgba(0,0,0,0.6)}
[data-theme="dark"] .kbd-help-modal{background:#141e30;box-shadow:0 24px 80px rgba(0,0,0,0.5),0 0 0 1px rgba(255,255,255,0.06)}
[data-theme="dark"] .kbd-help-header{border-bottom-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .kbd-help-title{color:#e0e4ec}
[data-theme="dark"] .kbd-help-close{color:rgba(255,255,255,0.35)}
[data-theme="dark"] .kbd-help-close:hover{background:rgba(255,255,255,0.06);color:#e0e4ec}
[data-theme="dark"] .kbd-help-row{border-bottom-color:rgba(255,255,255,0.04)}
[data-theme="dark"] .kbd-help-key{background:rgba(255,255,255,0.06);border-color:rgba(255,255,255,0.1);color:rgba(255,255,255,0.5)}
[data-theme="dark"] .kbd-help-desc{color:rgba(255,255,255,0.55)}

/* ── Scroll to Top Dark Mode ── */
[data-theme="dark"] .stt-btn{background:#141e30;border-color:rgba(255,255,255,0.08);color:rgba(255,255,255,0.5);box-shadow:0 2px 12px rgba(0,0,0,0.3)}
[data-theme="dark"] .stt-btn:hover{color:#4BA3FF;border-color:#4BA3FF}

/* ── Guided Tour Dark Mode ── */
[data-theme="dark"] .tour-overlay{background:rgba(0,0,0,0.7)}
[data-theme="dark"] .tour-tooltip{background:linear-gradient(135deg,#0a1525 0%,#060d18 100%);border-color:rgba(75,163,255,0.15)}
[data-theme="dark"] .tour-target-highlight{background:rgba(75,163,255,0.1)!important}

/* ── Landing Page Builder Dark Mode ── */
/* Builder chrome is already dark, just need border and template modal overrides */
[data-theme="dark"] .pb-wrap{border-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .pb-body{background:#1a1a1a}
[data-theme="dark"] .gjs-cv-canvas{background:#2a2a2a}
[data-theme="dark"] .pb-tpl-modal{background:#0d1726;box-shadow:0 24px 80px rgba(0,0,0,0.5)}
[data-theme="dark"] .pb-tpl-header{border-bottom-color:rgba(255,255,255,0.06)}
[data-theme="dark"] .pb-tpl-title{color:#e0e4ec}
[data-theme="dark"] .pb-tpl-subtitle{color:rgba(255,255,255,0.35)}
[data-theme="dark"] .pb-tpl-close{color:rgba(255,255,255,0.4)}
[data-theme="dark"] .pb-tpl-close:hover{background:rgba(255,255,255,0.06);color:#e0e4ec}
[data-theme="dark"] .pb-tpl-card{border-color:rgba(255,255,255,0.06);background:#111827}
[data-theme="dark"] .pb-tpl-card:hover{border-color:rgba(255,255,255,0.2);background:#1a2332;box-shadow:0 8px 24px rgba(0,0,0,0.3)}
[data-theme="dark"] .pb-tpl-preview{background:rgba(255,255,255,0.03)}
[data-theme="dark"] .pb-tpl-card-body{border-top-color:rgba(255,255,255,0.04)}
[data-theme="dark"] .pb-tpl-card-icon{background:rgba(255,255,255,0.06);color:rgba(255,255,255,0.5)}
[data-theme="dark"] .pb-tpl-card:hover .pb-tpl-card-icon{background:rgba(255,255,255,0.12);color:#fff}
[data-theme="dark"] .pb-tpl-card-name{color:#e0e4ec}
[data-theme="dark"] .pb-tpl-card-desc{color:rgba(255,255,255,0.35)}
[data-theme="dark"] .pb-tpl-preview-plus{color:rgba(255,255,255,0.15)}

/* ── Page Insights dark mode ── */
[data-theme="dark"] .pi-svg{fill:rgba(255,255,255,0.35)}
[data-theme="dark"] .pi-btn:hover .pi-svg{fill:#f4af03}
[data-theme="dark"] .pi-tooltip{background:#0f1724;border-color:rgba(255,255,255,0.08);box-shadow:0 8px 24px rgba(0,0,0,0.4)}
[data-theme="dark"] .pi-tooltip::before{background:#0f1724;border-left-color:rgba(255,255,255,0.08);border-top-color:rgba(255,255,255,0.08)}
[data-theme="dark"] .pi-tooltip-title{color:#e0e4ec}
[data-theme="dark"] .pi-tooltip-list li{color:rgba(255,255,255,0.6)}
[data-theme="dark"] .pi-tooltip-list li strong{color:rgba(255,255,255,0.85)}

/* ── AI Tools page dark mode ── */
[data-theme="dark"] .ait-hero{background:#0a0a0a}
