/*
 * LegalPlus Warm Ivory Theme R02 — visual-only theme layer.
 * Scope: colors, surfaces, contrast and theme picker only.
 * No layout, images, icons, payment, OTP, API, routing or business logic changes.
 */
html[data-lp-theme="cream"]{
  color-scheme:light;
  --lp-cream-bg:#F6F1E7;
  --lp-cream-bg-2:#FAF6EE;
  --lp-cream-surface:#FFFCF6;
  --lp-cream-surface-2:#F8F1E5;
  --lp-cream-deep:#E8DCC8;
  --lp-cream-line:#DED5C5;
  --lp-navy:#15253D;
  --lp-navy-2:#213A58;
  --lp-navy-3:#31506D;
  --lp-ink:#20252D;
  --lp-muted:#5F646A;
  --lp-gold:#B58A3A;
  --lp-gold-2:#D9BD7A;
  --lp-sage:#E8EFEA;
  --lp-blue:#EEF2F4;
  --lp-teal:#4D725D;
  --lp-danger:#A63D36;
  --lp-success:#4D725D;
  --lp-cream-shadow:0 18px 46px rgba(68,52,31,.10);

  /* Existing token families — only light-surface tokens are remapped. */
  --paper:#F6F1E7;
  --paper2:#EAE0D2;
  --paper3:#FFFAF3;
  --line:#DED5C5;
  --ink:#20252D;
  --muted:#5F646A;
  --cream-50:#FFFCF6;
  --cream-100:#EEE4D5;
  --sage-50:#E8EFEA;
  --blue-50:#EEF2F4;
  --lp-cream:#F6F1E7;
  --lp-paper:#FFFCF6;
  --lp-text:#20252D;
  --lp-muted:#5F646A;
  --lp-line:rgba(89,69,43,.16);
  --seo-cream:#F6F1E7;
  --seo-cream2:#FFFCF6;
  --seo-sand:#E9DDCA;
  --seo-line:#DCCFB9;
  --seo-ink:#15253D;
  --seo-muted:#5F646A;
}

/* ──────────────────────────────────────────────────────────────
   1. Global light shell / header / typography
   ────────────────────────────────────────────────────────────── */
html[data-lp-theme="cream"],
html[data-lp-theme="cream"] body{
  background:var(--lp-cream-bg)!important;
  color:var(--lp-ink)!important;
}
html[data-lp-theme="cream"] body::before,
html[data-lp-theme="cream"] body::after{filter:none}
html[data-lp-theme="cream"] ::selection{background:#e4c27f;color:#15253D}
html[data-lp-theme="cream"] .site-header{
  background:rgba(255,250,241,.94)!important;
  border-color:rgba(127,96,52,.14)!important;
  box-shadow:0 8px 28px rgba(67,50,28,.06)!important;
  backdrop-filter:blur(18px);
}
html[data-lp-theme="cream"] .site-header .brand strong,
html[data-lp-theme="cream"] .site-header .nav a,
html[data-lp-theme="cream"] .site-header .menu-btn{color:var(--lp-navy)!important}
html[data-lp-theme="cream"] .site-header .brand small{color:var(--lp-muted)!important}
html[data-lp-theme="cream"] .site-header .nav a:hover,
html[data-lp-theme="cream"] .site-header .nav a[aria-current="page"]{color:var(--lp-gold)!important}
html[data-lp-theme="cream"] .site-header .nav{
  background:transparent!important;
  box-shadow:none!important;
}
html[data-lp-theme="cream"] .btn.primary,
html[data-lp-theme="cream"] .btn--gold,
html[data-lp-theme="cream"] .seo-btn--gold,
html[data-lp-theme="cream"] .lp-btn-primary{
  color:#112b40!important;
  border-color:#c69a50!important;
  background:linear-gradient(135deg,#f0d597,#c99b50)!important;
  box-shadow:0 10px 26px rgba(152,108,41,.16)!important;
}
html[data-lp-theme="cream"] .btn.secondary,
html[data-lp-theme="cream"] .btn--outline,
html[data-lp-theme="cream"] .seo-btn--ghost,
html[data-lp-theme="cream"] .lp-btn-secondary{
  color:var(--lp-navy)!important;
  border-color:var(--lp-cream-line)!important;
  background:rgba(255,250,241,.88)!important;
}
html[data-lp-theme="cream"] .btn--navy{
  color:#fffaf0!important;
  border-color:var(--lp-navy)!important;
  background:linear-gradient(145deg,#173f5d,#0f2c45)!important;
}
html[data-lp-theme="cream"] input,
html[data-lp-theme="cream"] select,
html[data-lp-theme="cream"] textarea{
  border-color:#d6c4a5;
}

/* ──────────────────────────────────────────────────────────────
   2. Public marketing pages — large dark sections become cream.
   Product artwork / phone mockups / videos are intentionally excluded.
   ────────────────────────────────────────────────────────────── */
html[data-lp-theme="cream"] .hero.hero-v2{
  color:var(--lp-ink)!important;
  background:
    radial-gradient(circle at 76% 18%,rgba(190,145,70,.16),transparent 25%),
    radial-gradient(circle at 6% 0%,rgba(56,101,130,.09),transparent 27%),
    linear-gradient(135deg,#FFFCF6 0%,#F6F1E7 56%,#ecddc6 100%)!important;
}
html[data-lp-theme="cream"] .hero.hero-v2 .hero-copy h1,
html[data-lp-theme="cream"] .hero.hero-v2 .hero-copy strong{color:var(--lp-navy)!important}
html[data-lp-theme="cream"] .hero.hero-v2 .hero-lead,
html[data-lp-theme="cream"] .hero.hero-v2 .hero-proof,
html[data-lp-theme="cream"] .hero.hero-v2 p{color:#536675!important}
html[data-lp-theme="cream"] .trust-band-v2,
html[data-lp-theme="cream"] .trust-band{
  color:var(--lp-ink)!important;
  border-color:#dcc9aa!important;
  background:#eadbc4!important;
}
html[data-lp-theme="cream"] .trust-band-v2 b,
html[data-lp-theme="cream"] .trust-band-v2 strong{color:var(--lp-navy)!important}

html[data-lp-theme="cream"] :is(.section.dark,.section.deep,.pricing-section,.founder-section,.final-section,.trial-v5-section,.recovery-strip-section,.seo-section--dark){
  color:var(--lp-ink)!important;
  border-color:#dbc7a6!important;
  background:
    radial-gradient(circle at 10% 0%,rgba(197,154,84,.11),transparent 24%),
    linear-gradient(145deg,#f7edde,#ead9be)!important;
}
html[data-lp-theme="cream"] :is(.section.dark,.section.deep,.pricing-section,.founder-section,.final-section,.trial-v5-section,.recovery-strip-section,.seo-section--dark) :is(h1,h2,h3,h4){color:var(--lp-navy)!important}
html[data-lp-theme="cream"] :is(.section.dark,.section.deep,.pricing-section,.founder-section,.final-section,.trial-v5-section,.recovery-strip-section,.seo-section--dark) :is(p,li,small){color:#596b77!important}

html[data-lp-theme="cream"] .page-hero,
html[data-lp-theme="cream"] .seo-hero,
html[data-lp-theme="cream"] .seo-product-hero{
  color:var(--lp-ink)!important;
  border-color:#d9c49f!important;
  background:
    radial-gradient(circle at 15% 0,rgba(185,137,61,.13),transparent 28%),
    linear-gradient(135deg,#FFFCF6,#efe1ca)!important;
}
html[data-lp-theme="cream"] :is(.page-hero,.seo-hero,.seo-product-hero) :is(h1,h2,h3){color:var(--lp-navy)!important}
html[data-lp-theme="cream"] :is(.page-hero,.seo-hero,.seo-product-hero) p{color:#60717c!important}
html[data-lp-theme="cream"] .breadcrumbs,
html[data-lp-theme="cream"] .seo-breadcrumb{color:#7c6c58!important}

/* Dark editorial/content cards become warm light cards; image/media frames are not selected. */
html[data-lp-theme="cream"] :is(.command-stage,.command-copy,.founder-card,.founder-v2 .founder-copy,.compare-col.new,.plan.featured,.plan.plan-year,.lp-plan-card--annual,.final-cta,.final-cta-v2,.support-panel.dark,.seo-dark-card,.seo-cta-band,.recovery-strip,.pricing-page .plan.featured){
  color:var(--lp-ink)!important;
  border-color:#cfb98f!important;
  background:linear-gradient(145deg,#FFFCF6,#ead8b9)!important;
  box-shadow:var(--lp-cream-shadow)!important;
}
html[data-lp-theme="cream"] :is(.command-copy,.founder-card,.founder-v2 .founder-copy,.compare-col.new,.plan.featured,.plan.plan-year,.lp-plan-card--annual,.final-cta,.final-cta-v2,.support-panel.dark,.seo-dark-card,.seo-cta-band,.recovery-strip) :is(h2,h3,h4,strong,b){color:var(--lp-navy)!important}
html[data-lp-theme="cream"] :is(.command-copy,.founder-card,.founder-v2 .founder-copy,.compare-col.new,.plan.featured,.plan.plan-year,.lp-plan-card--annual,.final-cta,.final-cta-v2,.support-panel.dark,.seo-dark-card,.seo-cta-band,.recovery-strip) :is(p,li,small,span){color:#5d6e79!important}
html[data-lp-theme="cream"] .lp-plan-card--annual .lp-plan-ribbon,
html[data-lp-theme="cream"] .discount-ribbon,
html[data-lp-theme="cream"] .plan-ribbon{color:#163048!important}

/* Founder photo/card media itself stays untouched; only its identity caption surface is lightened. */
html[data-lp-theme="cream"] .founder-identity{
  color:var(--lp-ink)!important;
  border-color:#cdb78e!important;
  background:linear-gradient(145deg,#f3e5ce,#e6d2b1)!important;
}
html[data-lp-theme="cream"] .founder-identity :is(strong,b){color:var(--lp-navy)!important}
html[data-lp-theme="cream"] .founder-identity :is(span,small){color:#5f6f78!important}

/* Standard public surfaces */
html[data-lp-theme="cream"] :is(.section.light,.section.warm,.section--white,.section--cream,.seo-section,.seo-section--sand,.detail-card,.problem-card,.card,.metric,.post,.article-aside,.contact-panel,.legal-index,.legal-document,.lp-card){
  border-color:#ddcdb2;
}
html[data-lp-theme="cream"] :is(.detail-card,.problem-card,.card,.metric,.post,.article-aside,.contact-panel,.legal-index,.legal-document,.lp-card){
  background:var(--lp-cream-surface)!important;
  box-shadow:0 12px 34px rgba(75,56,31,.07)!important;
}
html[data-lp-theme="cream"] .section.light,
html[data-lp-theme="cream"] .section--white,
html[data-lp-theme="cream"] .seo-section{background:#FFFCF6!important}
html[data-lp-theme="cream"] .section.warm,
html[data-lp-theme="cream"] .section--cream,
html[data-lp-theme="cream"] .seo-section--sand{background:#efe1cc!important}

/* Footer stays fully light in cream mode. */
html[data-lp-theme="cream"] .site-footer{
  color:#5a6974!important;
  border-color:#d2bea0!important;
  background:linear-gradient(180deg,#eadbc3,#e3cfad)!important;
}
html[data-lp-theme="cream"] .site-footer :is(h4,strong,b){color:var(--lp-navy)!important}
html[data-lp-theme="cream"] .site-footer a{color:#294b61!important}
html[data-lp-theme="cream"] .site-footer a:hover{color:#966c2b!important}
html[data-lp-theme="cream"] .footer-bottom{border-color:rgba(78,58,31,.14)!important}

/* ──────────────────────────────────────────────────────────────
   3. Legal tools — light workbench, preserved dimensional artwork.
   ────────────────────────────────────────────────────────────── */
html[data-lp-theme="cream"] .tools-page{
  --lt-text:#183247;
  --lt-muted:#647580;
  --lt-line:rgba(80,61,36,.16);
  color:#183247!important;
  background:
    radial-gradient(circle at 82% 5%,rgba(184,135,57,.13),transparent 25%),
    #F6F1E7!important;
}
html[data-lp-theme="cream"] .tools-page .site-header{background:rgba(255,250,241,.95)!important}
html[data-lp-theme="cream"] .tools-hero{
  color:var(--lp-ink)!important;
  background:linear-gradient(145deg,#FFFCF6,#eadbc2)!important;
}
html[data-lp-theme="cream"] .tools-hero :is(h1,h2,h3,b,strong){color:var(--lp-navy)!important}
html[data-lp-theme="cream"] .tools-hero :is(p,li,small){color:#5c6d78!important}
html[data-lp-theme="cream"] .tools-index{
  color:var(--lp-ink)!important;
  background:linear-gradient(180deg,#ecddc5,#e4d0af)!important;
  box-shadow:0 0 0 100vmax #e8d6ba!important;
}
html[data-lp-theme="cream"] .tools-index-head :is(h2,h3,b){color:var(--lp-navy)!important}
html[data-lp-theme="cream"] .tools-index-head p{color:#62727c!important}
html[data-lp-theme="cream"] .tools-card,
html[data-lp-theme="cream"] .tools-card:hover,
html[data-lp-theme="cream"] .tools-card:focus-visible,
html[data-lp-theme="cream"] .tools-card.is-selected{
  color:var(--lp-ink)!important;
  border-color:#d1b989!important;
  background:linear-gradient(145deg,#FFFCF6,#f0e2cb)!important;
  box-shadow:0 15px 36px rgba(74,55,31,.10)!important;
}
html[data-lp-theme="cream"] .tools-card b{color:var(--lp-navy)!important;text-shadow:none!important}
html[data-lp-theme="cream"] .calculators-shell{
  color:var(--lp-ink)!important;
  border-color:#d0bd9f!important;
  background:linear-gradient(145deg,#fffaf2,#e9ddca)!important;
  box-shadow:0 24px 60px rgba(71,53,31,.10)!important;
}
html[data-lp-theme="cream"] .calculator-panel{
  color:var(--lp-ink)!important;
  border-color:#d9c7a9!important;
  background:rgba(255,250,241,.72)!important;
}
html[data-lp-theme="cream"] .calculator-head{color:var(--lp-navy)!important;border-color:#ddccb1!important}
html[data-lp-theme="cream"] .calculator-form{
  color:var(--lp-ink)!important;
  border-color:#d2bd98!important;
  background:linear-gradient(145deg,#f1e3cc,#e6d3b5)!important;
  box-shadow:0 14px 35px rgba(75,55,30,.08)!important;
}
html[data-lp-theme="cream"] .calc-field :is(label,legend,strong,b){color:var(--lp-navy)!important}
html[data-lp-theme="cream"] .calc-field :is(small,.calc-help){color:#64747e!important}
html[data-lp-theme="cream"] .calc-field input,
html[data-lp-theme="cream"] .calc-field select{
  color:#193247!important;
  border-color:#cdbb9c!important;
  background:#fffaf2!important;
}
html[data-lp-theme="cream"] .calc-field option{color:#193247!important;background:#fffaf2!important}
html[data-lp-theme="cream"] .calc-choice{
  color:#405a6b!important;
  border-color:#d1c1a7!important;
  background:rgba(255,250,241,.76)!important;
}
html[data-lp-theme="cream"] .calc-choice.is-selected{
  color:#17344a!important;
  border-color:#c89846!important;
  background:linear-gradient(145deg,#f6e3b8,#e5c47d)!important;
  box-shadow:0 8px 20px rgba(143,98,31,.12)!important;
}
html[data-lp-theme="cream"] .calc-result{
  color:#193247!important;
  border-color:#d6c4a6!important;
  background:#fffaf2!important;
}
html[data-lp-theme="cream"] .calculators-nav button{color:#4e6270!important;border-color:#dacbb2!important;background:#f8efdf!important}
html[data-lp-theme="cream"] .calculators-nav button.is-active{color:#17344a!important;border-color:#b88631!important;background:linear-gradient(145deg,#f2d996,#d4ad61)!important}

/* ──────────────────────────────────────────────────────────────
   4. Academy — content light, phone/media artwork preserved.
   ────────────────────────────────────────────────────────────── */
html[data-lp-theme="cream"] .academy-page,
html[data-lp-theme="cream"] body.academy-page{background:var(--lp-cream-bg)!important;color:var(--lp-ink)!important}
html[data-lp-theme="cream"] .academy-hero,
html[data-lp-theme="cream"] .lesson-hero{
  color:var(--lp-ink)!important;
  background:
    radial-gradient(circle at 82% 16%,rgba(188,143,70,.14),transparent 27%),
    linear-gradient(145deg,#FFFCF6,#eadbc2)!important;
}
html[data-lp-theme="cream"] :is(.academy-hero,.lesson-hero) :is(h1,h2,h3,strong,b){color:var(--lp-navy)!important}
html[data-lp-theme="cream"] :is(.academy-hero,.lesson-hero) :is(p,li,small,.academy-text-link){color:#566b79!important}
html[data-lp-theme="cream"] .academy-method{
  color:var(--lp-ink)!important;
  background:linear-gradient(145deg,#f2e4cf,#e6d2b2)!important;
}
html[data-lp-theme="cream"] .academy-method :is(h2,h3,strong,b){color:var(--lp-navy)!important}
html[data-lp-theme="cream"] .academy-method :is(p,small){color:#5d6e78!important}
html[data-lp-theme="cream"] :is(.academy-card,.method-card,.lesson-copy,.lesson-next,.tip,.privacy-note){
  color:var(--lp-ink)!important;
  border-color:#d9c7a8!important;
  background:#FFFCF6!important;
  box-shadow:0 12px 32px rgba(70,53,31,.07)!important;
}
html[data-lp-theme="cream"] :is(.academy-card,.method-card,.lesson-copy,.lesson-next,.tip) :is(h2,h3,strong,b){color:var(--lp-navy)!important}
html[data-lp-theme="cream"] .academy-filters button{color:#415968!important;border-color:#d7c6aa!important;background:#F8F1E5!important}
html[data-lp-theme="cream"] .academy-filters button:hover,
html[data-lp-theme="cream"] .academy-filters button.is-active{color:#fff8eb!important;border-color:#173f5c!important;background:#173f5c!important}

/* ──────────────────────────────────────────────────────────────
   5. Checkout / payment-result / purchase-recovery visual surfaces.
   Business logic stays untouched.
   ────────────────────────────────────────────────────────────── */
html[data-lp-theme="cream"] :is(.lp-checkout-v7,.lp-receipt-section,.recovery-page,.pr3-main){
  color:var(--lp-ink)!important;
  background:var(--lp-cream-bg)!important;
}
html[data-lp-theme="cream"] :is(.lp-checkout-stage,.lp-stage-body,.lp-plan-card,.lp-review-card,.lp-receipt-card,.lp-recovery-panel,.pr3-panel,.lp-recovery-step,.lp-download-callout){
  color:var(--lp-ink)!important;
  border-color:#d8c5a4!important;
  background:#FFFCF6!important;
  box-shadow:0 12px 34px rgba(70,52,29,.07)!important;
}
html[data-lp-theme="cream"] :is(.lp-checkout-stage,.lp-plan-card,.lp-review-card,.lp-receipt-card,.lp-recovery-panel,.lp-recovery-step) :is(h2,h3,h4,strong,b){color:var(--lp-navy)!important}
html[data-lp-theme="cream"] :is(.lp-checkout-stage,.lp-plan-card,.lp-review-card,.lp-receipt-card,.lp-recovery-panel,.lp-recovery-step) :is(p,small,span){color:#5c6e7a!important}
html[data-lp-theme="cream"] .lp-stage-cream{background:#f1e2ca!important}
html[data-lp-theme="cream"] .lp-plan-card:has(input:checked),
html[data-lp-theme="cream"] .checkout-card .plan-card:has(input:checked){
  color:#17344a!important;
  border-color:#be8d39!important;
  background:linear-gradient(145deg,#f5e2b7,#e1bf79)!important;
  box-shadow:0 0 0 4px rgba(185,137,61,.14),0 16px 36px rgba(87,60,24,.10)!important;
}
html[data-lp-theme="cream"] :is(.lp-checkout-v7,.recovery-page) input,
html[data-lp-theme="cream"] :is(.lp-checkout-v7,.recovery-page) select,
html[data-lp-theme="cream"] :is(.lp-checkout-v7,.recovery-page) textarea{
  color:#19364b!important;
  border-color:#d1bea0!important;
  background:#fffdf8!important;
}

/* ──────────────────────────────────────────────────────────────
   6. Support / legal / blog / content readability
   ────────────────────────────────────────────────────────────── */
html[data-lp-theme="cream"] :is(.support-page,.legal-page,.article,.blog-page){background:var(--lp-cream-bg)!important;color:var(--lp-ink)!important}
html[data-lp-theme="cream"] :is(.support-channel-card,.support-ticket-card,.support-history,.support-workspace,.support-mode-card,.support-recovery-quick,.support-diagnostic-hero,.profile-official-card,.profile-credential,.profile-principle,.seo-card){
  color:var(--lp-ink)!important;
  border-color:#d8c5a6!important;
  background:#FFFCF6!important;
  box-shadow:0 12px 34px rgba(69,51,29,.07)!important;
}
html[data-lp-theme="cream"] :is(.support-channel-card,.support-ticket-card,.support-workspace,.support-mode-card,.support-diagnostic-hero,.profile-official-card,.profile-credential,.profile-principle,.seo-card) :is(h2,h3,h4,strong,b){color:var(--lp-navy)!important}
html[data-lp-theme="cream"] .legal-section{border-color:#ddccb1!important}
html[data-lp-theme="cream"] .legal-section h2{color:var(--lp-navy)!important}
html[data-lp-theme="cream"] .article :is(h1,h2,h3),
html[data-lp-theme="cream"] .post :is(h2,h3){color:var(--lp-navy)!important}

/* ──────────────────────────────────────────────────────────────
   7. Admin — cream work area + navy navigation accent.
   Reports and forms stay semantically distinct.
   ────────────────────────────────────────────────────────────── */
html[data-lp-theme="cream"] body:has(#shell),
html[data-lp-theme="cream"] body:has(.gate){
  --bg:#f1e5d2;
  --bg-soft:#f8f0e3;
  --panel:#FFFCF6;
  --panel-2:#f4e7d3;
  --panel-3:#ead9bc;
  --line:rgba(94,69,37,.16);
  --line-strong:rgba(94,69,37,.28);
  --text:#17344a;
  --muted:#627482;
  --subtle:#7a838a;
  background:#f1e5d2!important;
  color:#17344a!important;
}
html[data-lp-theme="cream"] #shell .main{
  background:
    radial-gradient(circle at 92% 0,rgba(190,146,70,.10),transparent 24%),
    #f1e5d2!important;
}
html[data-lp-theme="cream"] #shell .topbar{
  color:#17344a!important;
  border-color:#d6c29f!important;
  background:rgba(255,250,241,.90)!important;
  box-shadow:0 8px 24px rgba(73,52,27,.05)!important;
}
html[data-lp-theme="cream"] #shell .topbar :is(h1,h2,b,strong){color:#15253D!important}
html[data-lp-theme="cream"] #shell .topbar :is(span,p,small){color:#647580!important}
/* Sidebar intentionally remains navy: it is a navigation accent, not the page surface. */
html[data-lp-theme="cream"] #shell .side{
  border-color:rgba(240,213,158,.15)!important;
  background:linear-gradient(180deg,#123650,#0b263d)!important;
}
html[data-lp-theme="cream"] #shell .side nav button{color:#c5d0d7!important}
html[data-lp-theme="cream"] #shell .side nav button:hover{color:#fff8e9!important;background:rgba(255,250,235,.07)!important}
html[data-lp-theme="cream"] #shell .side nav button.is-active{color:#f3d89d!important;background:linear-gradient(90deg,rgba(218,177,100,.17),rgba(218,177,100,.04))!important}

html[data-lp-theme="cream"] #shell .view>.card:not(.action-card):not(.danger-zone):not(.discount-studio):not(#adminAccessCreateCard),
html[data-lp-theme="cream"] #shell .dashboard-grid>.card,
html[data-lp-theme="cream"] #shell .insight-card,
html[data-lp-theme="cream"] #shell .storage-card,
html[data-lp-theme="cream"] #shell .support-tech-list-card,
html[data-lp-theme="cream"] #shell .support-tech-detail-card,
html[data-lp-theme="cream"] #shell .compliance-card{
  color:#17344a!important;
  border-color:#d7c39e!important;
  background:linear-gradient(145deg,#FFFCF6,#f2e3ca)!important;
  box-shadow:0 13px 32px rgba(73,52,27,.08)!important;
}
html[data-lp-theme="cream"] #shell :is(.section-intro,.card-head) :is(h1,h2,h3){color:#15253D!important}
html[data-lp-theme="cream"] #shell :is(.section-intro,.card-head) p{color:#627482!important}
html[data-lp-theme="cream"] #shell :is(input,select,textarea){
  color:#17344a!important;
  border-color:#d5c19e!important;
  background:#fffdf8!important;
}
html[data-lp-theme="cream"] #shell :is(input,textarea)::placeholder{color:#879098!important}
html[data-lp-theme="cream"] #shell .btn-secondary,
html[data-lp-theme="cream"] #shell .icon-btn{
  color:#173c55!important;
  border-color:#d3bf9d!important;
  background:#f8efdf!important;
}
/* Keep destructive/primary actions semantically strong. */
html[data-lp-theme="cream"] #shell .btn-primary{color:#112b40!important}
html[data-lp-theme="cream"] #shell .btn-danger{color:#fff!important}

/* Admin login: primary form light, illustration side remains navy as a bounded visual accent. */
html[data-lp-theme="cream"] .gate{
  background:#f1e5d2!important;
}
html[data-lp-theme="cream"] .gate-card{
  color:#17344a!important;
  border-color:#d5c09e!important;
  background:#FFFCF6!important;
}
html[data-lp-theme="cream"] .gate-card :is(h1,h2,h3,strong,b,label){color:#17344a!important}
html[data-lp-theme="cream"] .gate-card :is(p,span,small,.gate-note,.gate-status){color:#627482!important}
html[data-lp-theme="cream"] .gate-card input{
  color:#17344a!important;
  border-color:#d2bd99!important;
  background:#fffdf8!important;
}
/* Analytics command/report area was partly dark in the base theme; cream mode makes the report surface light. */
html[data-lp-theme="cream"] #view-siteanalytics{
  color:#17344a!important;
  border-color:#d4bd95!important;
  background:linear-gradient(145deg,#f7eddc,#e7d4b5)!important;
  box-shadow:0 20px 54px rgba(69,49,25,.10)!important;
}
html[data-lp-theme="cream"] #view-siteanalytics .analytics-command-header{
  color:#17344a!important;
  border-color:#d4bd95!important;
  background:linear-gradient(135deg,#FFFCF6,#ead8b9)!important;
}
html[data-lp-theme="cream"] #view-siteanalytics .analytics-command-copy h2{color:#15253D!important}
html[data-lp-theme="cream"] #view-siteanalytics .analytics-command-copy>p,
html[data-lp-theme="cream"] #view-siteanalytics .analytics-period span{color:#607481!important}
html[data-lp-theme="cream"] #view-siteanalytics .analytics-trust-row span{color:#1c655f!important;border-color:#a8d1c8!important;background:#e4f0ea!important}
html[data-lp-theme="cream"] #view-siteanalytics .analytics-period select{color:#17344a!important;border-color:#d0bd9c!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] #view-siteanalytics .analytics-kpis .kpi,
html[data-lp-theme="cream"] #view-siteanalytics .card:not(.analytics-surface-cream){
  color:#17344a!important;
  border-color:#d7c39f!important;
  background:linear-gradient(145deg,#FFFCF6,#ecddc4)!important;
  box-shadow:0 13px 34px rgba(68,49,26,.08)!important;
}
html[data-lp-theme="cream"] #view-siteanalytics .analytics-kpis .kpi :is(b,strong),
html[data-lp-theme="cream"] #view-siteanalytics .card-head h2{color:#173b54!important}
html[data-lp-theme="cream"] #view-siteanalytics .analytics-kpis .kpi :is(span,small),
html[data-lp-theme="cream"] #view-siteanalytics .card-head p,
html[data-lp-theme="cream"] #view-siteanalytics .analytics-legend{color:#607481!important}

/* ──────────────────────────────────────────────────────────────
   8. Homepage theme picker
   ────────────────────────────────────────────────────────────── */
.lp-theme-picker{
  position:fixed;z-index:1400;left:20px;bottom:20px;
  display:flex;align-items:center;gap:5px;padding:6px;
  border:1px solid rgba(17,47,73,.16);border-radius:16px;
  background:rgba(255,250,241,.94);box-shadow:0 14px 38px rgba(20,35,46,.14);backdrop-filter:blur(16px);
  direction:rtl;font-family:"Vazirmatn",Tahoma,Arial,sans-serif;
}
.lp-theme-picker__label{padding:0 7px;color:#6a7175;font-size:.7rem;font-weight:800;white-space:nowrap}
.lp-theme-picker button{
  min-height:36px;padding:7px 11px;border:1px solid transparent;border-radius:11px;
  color:#405566;background:transparent;font:inherit;font-size:.7rem;font-weight:850;cursor:pointer;transition:.18s ease;
}
.lp-theme-picker button:hover{background:#f1e4cf;color:#173b55}
.lp-theme-picker button[aria-pressed="true"]{
  color:#fff9eb;border-color:#173b55;background:linear-gradient(145deg,#204d69,#12344f);box-shadow:0 6px 16px rgba(18,52,79,.16)
}
.lp-theme-picker button[data-lp-theme-value="cream"][aria-pressed="true"]{
  color:#17344a;border-color:#c59a53;background:linear-gradient(145deg,#f4dfaf,#dfbd79)
}
@media(max-width:720px){
  .lp-theme-picker{left:10px;bottom:82px;padding:5px;border-radius:14px}
  .lp-theme-picker__label{display:none}
  .lp-theme-picker button{min-height:34px;padding:6px 9px;font-size:.66rem}
}
@media(prefers-reduced-motion:reduce){.lp-theme-picker button{transition:none}}


/* ========================================================================
   R02 REFINEMENT — WARM IVORY + DEEP NAVY + RESTRAINED GOLD
   Goal: light-first visual system with component-level contrast correction.
   Layout, media, iconography, OTP/payment flows and business logic untouched.
   ======================================================================== */
html[data-lp-theme="cream"]{
  --lp-ivory:#F6F1E7;
  --lp-ivory-2:#FAF6EE;
  --lp-surface:#FFFCF6;
  --lp-surface-soft:#F2EADD;
  --lp-surface-strong:#E9DDCA;
  --lp-navy:#15253D;
  --lp-navy-2:#213A58;
  --lp-navy-3:#31506D;
  --lp-text:#20252D;
  --lp-text-2:#5F646A;
  --lp-text-3:#74716C;
  --lp-gold:#B58A3A;
  --lp-gold-dark:#8A6624;
  --lp-gold-soft:#D9BD7A;
  --lp-border:#DED5C5;
  --lp-success:#4D725D;
  --lp-danger:#A63D36;
  --lp-info:#31506D;
  --lp-shadow-soft:0 12px 34px rgba(41,34,24,.07);
  --lp-shadow-card:0 18px 50px rgba(41,34,24,.09);
}

/* Global typography correction: pale gold/white copy from the dark theme must
   never remain on an ivory surface. Decorative gold is separated from text gold. */
html[data-lp-theme="cream"] body{background:var(--lp-ivory)!important;color:var(--lp-text)!important}
html[data-lp-theme="cream"] :is(h1,h2,h3,h4,h5,h6){color:var(--lp-navy)!important}
html[data-lp-theme="cream"] :is(p,li,dd,dt,label){color:inherit}
html[data-lp-theme="cream"] .gold,
html[data-lp-theme="cream"] :is(.eyebrow,.kicker,.seo-kicker,.li-kicker){color:var(--lp-gold-dark)!important}
html[data-lp-theme="cream"] a:not(.btn):not(.seo-btn):not(.li-inline-link){text-decoration-color:rgba(21,37,61,.28)}

/* Main buttons: navy is primary; gold becomes an accent rather than a large
   yellow surface. This keeps the light theme premium and legible. */
html[data-lp-theme="cream"] :is(.btn.primary,.lp-btn-primary,.seo-btn--gold){
  color:#fff!important;
  border-color:#15253D!important;
  background:linear-gradient(145deg,#213A58,#15253D)!important;
  box-shadow:0 10px 25px rgba(21,37,61,.16)!important;
}
html[data-lp-theme="cream"] :is(.btn.primary,.lp-btn-primary,.seo-btn--gold):hover{
  border-color:#213A58!important;background:linear-gradient(145deg,#294765,#172B46)!important;
}
html[data-lp-theme="cream"] :is(.btn.secondary,.btn--outline,.seo-btn--ghost,.lp-btn-secondary){
  color:#15253D!important;border-color:#D5C8B5!important;background:#FFFCF6!important;
  box-shadow:0 5px 18px rgba(41,34,24,.04)!important;
}
html[data-lp-theme="cream"] :is(.btn.secondary,.btn--outline,.seo-btn--ghost,.lp-btn-secondary):hover{
  border-color:#BFAF96!important;background:#F8F1E5!important;
}
html[data-lp-theme="cream"] .btn--gold{
  color:#15253D!important;border-color:#D0AF6C!important;
  background:linear-gradient(145deg,#E6CD96,#D9BD7A)!important;
}
html[data-lp-theme="cream"] .btn.darkline{color:#15253D!important;border-color:#C8BCA8!important;background:rgba(255,252,246,.78)!important}

/* Header / shell */
html[data-lp-theme="cream"] .site-header{
  background:rgba(255,252,246,.94)!important;border-color:rgba(73,60,43,.12)!important;
  box-shadow:0 8px 30px rgba(42,35,25,.055)!important;
}
html[data-lp-theme="cream"] .site-header :is(.brand,.brand strong,.nav a,.menu-btn){color:#15253D!important}
html[data-lp-theme="cream"] .site-header .brand small{color:#74716C!important}
html[data-lp-theme="cream"] .site-header .nav a:hover,
html[data-lp-theme="cream"] .site-header .nav a[aria-current="page"]{color:#8A6624!important}

/* Homepage hero and editorial light surfaces */
html[data-lp-theme="cream"] .hero.hero-v2{
  background:
    radial-gradient(circle at 78% 13%,rgba(181,138,58,.12),transparent 25%),
    radial-gradient(circle at 6% 0%,rgba(33,58,88,.055),transparent 28%),
    linear-gradient(135deg,#FFFCF6 0%,#F6F1E7 58%,#EEE4D5 100%)!important;
}
html[data-lp-theme="cream"] .hero.hero-v2 :is(h1,h1 em,strong,b){color:#15253D!important}
html[data-lp-theme="cream"] .hero.hero-v2 :is(.hero-lead,.hero-proof,p){color:#5F646A!important}
html[data-lp-theme="cream"] .hero.hero-v2 .eyebrow{color:#8A6624!important}
html[data-lp-theme="cream"] .trust-band-v2{background:#E9DDCA!important;border-color:#D7C9B4!important;color:#20252D!important}
html[data-lp-theme="cream"] .trust-band-v2 :is(h2,strong,b){color:#15253D!important}
html[data-lp-theme="cream"] .editorial :is(h2,h3){color:#15253D!important}
html[data-lp-theme="cream"] .editorial :is(p,.hook-lead){color:#5F646A!important}
html[data-lp-theme="cream"] .editorial-list article>span{color:#8A6624!important}

/* Any section deliberately lightened from the dark theme gets a complete
   typography reset, including legacy classes named light/r03-light-*. */
html[data-lp-theme="cream"] :is(.section.dark,.section.deep,.pricing-section,.founder-section,.final-section,.trial-v5-section,.recovery-strip-section,.seo-section--dark){
  color:#20252D!important;border-color:#D9CDBA!important;
  background:
    radial-gradient(circle at 12% 0%,rgba(181,138,58,.08),transparent 25%),
    linear-gradient(145deg,#FAF6EE,#EEE4D5)!important;
}
html[data-lp-theme="cream"] :is(.section.dark,.section.deep,.pricing-section,.founder-section,.final-section,.trial-v5-section,.recovery-strip-section,.seo-section--dark)
:is(h1,h2,h3,h4,h5,strong,b,.r03-light-title){color:#15253D!important}
html[data-lp-theme="cream"] :is(.section.dark,.section.deep,.pricing-section,.founder-section,.final-section,.trial-v5-section,.recovery-strip-section,.seo-section--dark)
:is(p,li,small,.r03-light-copy){color:#5F646A!important}
html[data-lp-theme="cream"] :is(.section.dark,.section.deep,.pricing-section,.founder-section,.final-section,.trial-v5-section,.recovery-strip-section,.seo-section--dark)
:is(.eyebrow,.eyebrow.light,.gold,.seo-kicker){color:#8A6624!important}
html[data-lp-theme="cream"] .seo-section--dark .seo-proof span{
  color:#31506D!important;border-color:#D7C8B0!important;background:rgba(255,252,246,.72)!important;
}

/* Page heroes */
html[data-lp-theme="cream"] :is(.page-hero,.seo-hero,.seo-product-hero){
  color:#20252D!important;border-color:#DCCFB9!important;
  background:radial-gradient(circle at 16% 0,rgba(181,138,58,.10),transparent 27%),linear-gradient(135deg,#FFFCF6,#F0E7D8)!important;
}
html[data-lp-theme="cream"] :is(.page-hero,.seo-hero,.seo-product-hero) :is(h1,h2,h3,strong,b){color:#15253D!important}
html[data-lp-theme="cream"] :is(.page-hero,.seo-hero,.seo-product-hero) :is(p,.r03-light-copy){color:#5F646A!important}
html[data-lp-theme="cream"] :is(.page-hero,.seo-hero,.seo-product-hero) :is(.eyebrow,.seo-kicker,.gold){color:#8A6624!important}
html[data-lp-theme="cream"] :is(.breadcrumbs,.seo-breadcrumb){color:#74716C!important}
html[data-lp-theme="cream"] :is(.breadcrumbs,.seo-breadcrumb) a{color:#31506D!important}

/* Reusable warm-white cards. Text color is explicitly reset because many
   legacy cards inherited white/cream from a dark parent. */
html[data-lp-theme="cream"] :is(.detail-card,.problem-card,.card,.metric,.post,.article-aside,.contact-panel,.legal-index,.legal-document,.lp-card,.seo-card,.profile-credential,.profile-principle){
  color:#20252D!important;border-color:#DED5C5!important;background:#FFFCF6!important;box-shadow:var(--lp-shadow-soft)!important;
}
html[data-lp-theme="cream"] :is(.detail-card,.problem-card,.card,.metric,.post,.article-aside,.contact-panel,.legal-index,.legal-document,.lp-card,.seo-card,.profile-credential,.profile-principle)
:is(h2,h3,h4,strong,b){color:#15253D!important}
html[data-lp-theme="cream"] :is(.detail-card,.problem-card,.card,.metric,.post,.article-aside,.contact-panel,.legal-index,.legal-document,.lp-card,.seo-card,.profile-credential,.profile-principle)
:is(p,li,small){color:#5F646A!important}

/* Homepage Legal Intelligence: convert the large dark block itself to ivory,
   while keeping image/phone frames untouched. */
html[data-lp-theme="cream"] .li-showcase{
  color:#20252D!important;
  background:radial-gradient(circle at 15% 12%,rgba(181,138,58,.10),transparent 31%),linear-gradient(180deg,#F6F1E7,#EEE4D5)!important;
}
html[data-lp-theme="cream"] .li-showcase:before{border-color:rgba(181,138,58,.14)!important;box-shadow:0 0 0 90px rgba(181,138,58,.02),0 0 0 180px rgba(181,138,58,.012)!important}
html[data-lp-theme="cream"] .li-suite-head :is(h2,strong){color:#15253D!important}
html[data-lp-theme="cream"] .li-suite-head p{color:#5F646A!important}
html[data-lp-theme="cream"] .li-badge{color:#8A6624!important;border-color:#D7C39C!important;background:#F8F1E5!important}
html[data-lp-theme="cream"] :is(.li-primary-card,.li-mini-card){
  color:#20252D!important;border-color:#D8CBB6!important;background:#FFFCF6!important;box-shadow:var(--lp-shadow-card)!important;
}
html[data-lp-theme="cream"] :is(.li-primary-card,.li-mini-card) :is(h3,strong,b){color:#15253D!important}
html[data-lp-theme="cream"] :is(.li-primary-card,.li-mini-card) :is(p,.li-hook,.li-desc){color:#5F646A!important}
html[data-lp-theme="cream"] .li-inline-link{color:#8A6624!important;text-decoration-color:rgba(138,102,36,.35)!important}
html[data-lp-theme="cream"] .li-float-note{color:#F6F1E7!important;border-color:rgba(217,189,122,.25)!important;background:rgba(21,37,61,.94)!important}
html[data-lp-theme="cream"] .li-float-note :is(small,b){color:inherit!important}

/* Homepage legal-tools gateway: large dark section becomes a light workbench. */
html[data-lp-theme="cream"] .legal-tools-home{
  color:#20252D!important;border-color:#D9CCB8!important;
  background:linear-gradient(180deg,#F2EADD,#EAE0D2)!important;
}
html[data-lp-theme="cream"] .legal-tools-home:before{border-color:rgba(181,138,58,.15)!important;box-shadow:0 0 0 80px rgba(181,138,58,.025),0 0 0 160px rgba(181,138,58,.012)!important}
html[data-lp-theme="cream"] .legal-tools-home :is(.section-title,h2,h3,strong,b){color:#15253D!important}
html[data-lp-theme="cream"] .legal-tools-home :is(.section-lead,p){color:#5F646A!important}
html[data-lp-theme="cream"] .legal-tools-home .eyebrow{color:#8A6624!important}
html[data-lp-theme="cream"] .legal-tools-home-list a{
  border-color:#D8CCBA!important;background:rgba(255,252,246,.82)!important;box-shadow:0 7px 22px rgba(41,34,24,.04)!important;
}
html[data-lp-theme="cream"] .legal-tools-home-list a:hover{border-color:#C8AA6C!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .legal-tools-home-list span{color:#15253D!important}
html[data-lp-theme="cream"] .legal-tools-home-list small,
html[data-lp-theme="cream"] .legal-tools-home-actions>span{color:#5F646A!important}
html[data-lp-theme="cream"] .legal-tools-home-visual{
  border-color:#D4C2A5!important;background:radial-gradient(circle at 50% 44%,rgba(181,138,58,.13),rgba(181,138,58,.025) 35%,rgba(255,252,246,.72) 70%)!important;
  box-shadow:0 26px 70px rgba(41,34,24,.10)!important;
}
html[data-lp-theme="cream"] .legal-tools-home-orbit{border-color:rgba(181,138,58,.26)!important;box-shadow:0 0 0 58px rgba(181,138,58,.035),0 0 0 116px rgba(181,138,58,.018)!important}
html[data-lp-theme="cream"] .legal-tools-home-badge{color:#F6F1E7!important;border-color:rgba(217,189,122,.22)!important;background:rgba(21,37,61,.92)!important;box-shadow:0 12px 28px rgba(21,37,61,.14)!important}

/* Founder profile: no full-width dark zones in light mode. Portrait/image is not touched. */
html[data-lp-theme="cream"] .founder-profile-hero{
  color:#20252D!important;background:radial-gradient(circle at 85% 10%,rgba(181,138,58,.11),transparent 26%),linear-gradient(145deg,#FFFCF6,#EFE6D9)!important;
}
html[data-lp-theme="cream"] .founder-profile-hero :is(h1,h2,h3,.founder-profile-title,.founder-profile-lead strong){color:#15253D!important}
html[data-lp-theme="cream"] .founder-profile-hero :is(p,.founder-profile-lead,.founder-profile-role){color:#5F646A!important}
html[data-lp-theme="cream"] .founder-profile-kicker{color:#8A6624!important}
html[data-lp-theme="cream"] .profile-proof{color:#20252D!important;background:#EEE4D5!important}
html[data-lp-theme="cream"] .profile-proof :is(h2,h3,strong,b){color:#15253D!important}
html[data-lp-theme="cream"] .profile-proof :is(p,li){color:#5F646A!important}
html[data-lp-theme="cream"] .profile-proof .eyebrow{color:#8A6624!important}
html[data-lp-theme="cream"] .profile-official-card{color:#20252D!important;border-color:#D7C8B1!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .profile-principle span{color:#8A6624!important}

/* Security / trust center */
html[data-lp-theme="cream"] .trust-center{
  color:#20252D!important;background:radial-gradient(circle at 85% 30%,rgba(77,114,93,.08),transparent 26%),linear-gradient(135deg,#F0E8DC,#E8E0D4)!important;
}
html[data-lp-theme="cream"] .trust-center-copy .eyebrow{color:#4D725D!important}
html[data-lp-theme="cream"] .trust-center-copy h2{color:#15253D!important}
html[data-lp-theme="cream"] .trust-center-copy p{color:#5F646A!important}
html[data-lp-theme="cream"] .trust-center-cards article{border-color:#D4C9B9!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .trust-center-cards span{color:#4D725D!important}
html[data-lp-theme="cream"] .trust-center-cards b{color:#15253D!important}
html[data-lp-theme="cream"] .trust-center-cards p{color:#5F646A!important}

/* Academy — both the legacy academy and RC6 lesson families. */
html[data-lp-theme="cream"] :is(.academy-page,.academy-rc6,.lesson-real){background:#F6F1E7!important;color:#20252D!important}
html[data-lp-theme="cream"] :is(.academy-hero,.lesson-hero,.lesson-real .lesson-real-hero){
  color:#20252D!important;background:radial-gradient(circle at 82% 16%,rgba(181,138,58,.10),transparent 28%),linear-gradient(145deg,#FFFCF6,#EFE5D6)!important;
}
html[data-lp-theme="cream"] :is(.academy-hero,.lesson-hero,.lesson-real .lesson-real-hero) :is(h1,h2,h3,strong,b){color:#15253D!important}
html[data-lp-theme="cream"] :is(.academy-hero,.lesson-hero,.lesson-real .lesson-real-hero) :is(p,li,small,.academy-text-link){color:#5F646A!important}
html[data-lp-theme="cream"] :is(.academy-hero,.lesson-hero,.lesson-real .lesson-real-hero) :is(.kicker,.eyebrow){color:#8A6624!important}
html[data-lp-theme="cream"] :is(.lesson-card,.academy-card,.method-card,.lesson-copy,.lesson-next,.tip,.privacy-note){
  color:#20252D!important;border-color:#DED5C5!important;background:#FFFCF6!important;box-shadow:var(--lp-shadow-soft)!important;
}
html[data-lp-theme="cream"] :is(.lesson-card,.academy-card,.method-card,.lesson-copy,.lesson-next,.tip,.privacy-note) :is(h2,h3,h4,strong,b){color:#15253D!important}
html[data-lp-theme="cream"] :is(.lesson-card,.academy-card,.method-card,.lesson-copy,.lesson-next,.tip,.privacy-note) :is(p,li,small){color:#5F646A!important}
html[data-lp-theme="cream"] .lesson-real .lesson-next a:first-child{color:#fff!important;background:#15253D!important;border-color:#15253D!important}
html[data-lp-theme="cream"] .lesson-real .lesson-next a:last-child{color:#8A6624!important}

/* Legal tools. Main portal, tool cards and calculators are all light; selected
   controls use a pale-gold fill with navy copy. */
html[data-lp-theme="cream"] .tools-page{--lt-text:#20252D;--lt-muted:#5F646A;--lt-line:rgba(67,55,39,.16);background:#F6F1E7!important;color:#20252D!important}
html[data-lp-theme="cream"] .tools-hero{background:linear-gradient(145deg,#FFFCF6,#EFE5D6)!important;color:#20252D!important}
html[data-lp-theme="cream"] .tools-hero :is(h1,h2,h3,b,strong){color:#15253D!important}
html[data-lp-theme="cream"] .tools-hero :is(p,li,small){color:#5F646A!important}
html[data-lp-theme="cream"] .tools-free{color:#4D725D!important;border-color:#BFD0C5!important;background:#E8EFEA!important}
html[data-lp-theme="cream"] .tools-index{color:#20252D!important;background:linear-gradient(180deg,#F0E7D8,#E9DDCA)!important;box-shadow:0 0 0 100vmax #EDE3D4!important}
html[data-lp-theme="cream"] .tools-card{color:#20252D!important;border-color:#D8CBB7!important;background:#FFFCF6!important;box-shadow:var(--lp-shadow-soft)!important}
html[data-lp-theme="cream"] .tools-card :is(b,strong,h3){color:#15253D!important;text-shadow:none!important}
html[data-lp-theme="cream"] .tools-card :is(p,small,span){color:#5F646A!important}
html[data-lp-theme="cream"] .tools-card:hover,
html[data-lp-theme="cream"] .tools-card:focus-visible,
html[data-lp-theme="cream"] .tools-card.is-selected{border-color:#B9985C!important;background:#FAF3E7!important}
html[data-lp-theme="cream"] .calculators-shell{color:#20252D!important;border-color:#D8CBB8!important;background:#FFFCF6!important;box-shadow:var(--lp-shadow-card)!important}
html[data-lp-theme="cream"] .calculator-panel{color:#20252D!important;border-color:#DED5C5!important;background:#FAF6EE!important}
html[data-lp-theme="cream"] .calculator-head{color:#15253D!important;border-color:#DED5C5!important}
html[data-lp-theme="cream"] .calculator-form{color:#20252D!important;border-color:#D8C9B1!important;background:#F2EADD!important;box-shadow:var(--lp-shadow-soft)!important}
html[data-lp-theme="cream"] .calc-field :is(label,legend,strong,b){color:#15253D!important}
html[data-lp-theme="cream"] .calc-field :is(small,.calc-help){color:#5F646A!important}
html[data-lp-theme="cream"] .calc-field :is(input,select,textarea){color:#20252D!important;border-color:#D4C7B4!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .calc-field option{color:#20252D!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .calc-choice{color:#31506D!important;border-color:#D9CDBC!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .calc-choice.is-selected{color:#15253D!important;border-color:#B58A3A!important;background:#EFE0BE!important;box-shadow:0 8px 20px rgba(138,102,36,.10)!important}
html[data-lp-theme="cream"] .calc-result{color:#20252D!important;border-color:#D7CBB9!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .calc-result :is(h3,strong,b){color:#15253D!important}
html[data-lp-theme="cream"] .calc-result :is(p,small,span){color:#5F646A!important}
html[data-lp-theme="cream"] .calculators-nav button{color:#5F646A!important;border-color:#DED5C5!important;background:#FAF6EE!important}
html[data-lp-theme="cream"] .calculators-nav button.is-active{color:#fff!important;border-color:#15253D!important;background:#15253D!important}

/* Court Finder is part of the legal-tool family but has its own palette. */
html[data-lp-theme="cream"] .court-hero{color:#20252D!important;background:linear-gradient(145deg,#FFFCF6,#EFE5D6)!important}
html[data-lp-theme="cream"] .court-hero h1{color:#15253D!important}
html[data-lp-theme="cream"] .court-hero h1 strong{color:#8A6624!important}
html[data-lp-theme="cream"] .court-hero p{color:#5F646A!important}
html[data-lp-theme="cream"] .court-panel,
html[data-lp-theme="cream"] .court-aside-card{border-color:#DED5C5!important;background:#FFFCF6!important;box-shadow:var(--lp-shadow-soft)!important}
html[data-lp-theme="cream"] .court-district.is-active{color:#fff!important;border-color:#15253D!important;background:#15253D!important}
html[data-lp-theme="cream"] .court-result{color:#F6F1E7!important;border-color:rgba(217,189,122,.22)!important;background:linear-gradient(145deg,#213A58,#15253D)!important}
html[data-lp-theme="cream"] .court-result :is(h3,strong,b){color:#fff!important}
html[data-lp-theme="cream"] .court-result :is(.court-result-label){color:#D9BD7A!important}
html[data-lp-theme="cream"] .court-result :is(.court-result-coverage,.court-result-reason){color:#DDE3E8!important}

/* Checkout / payment / recovery. Keep a dark navy featured annual card as a
   bounded accent; all surrounding surfaces remain light. */
html[data-lp-theme="cream"] :is(.lp-checkout-v7,.lp-receipt-section,.recovery-page,.pr3-main){color:#20252D!important;background:#F6F1E7!important}
html[data-lp-theme="cream"] :is(.lp-checkout-stage,.lp-stage-body,.lp-review-card,.lp-receipt-card,.lp-recovery-panel,.pr3-panel,.lp-recovery-step,.lp-download-callout){
  color:#20252D!important;border-color:#DED5C5!important;background:#FFFCF6!important;box-shadow:var(--lp-shadow-soft)!important;
}
html[data-lp-theme="cream"] :is(.lp-checkout-stage,.lp-review-card,.lp-receipt-card,.lp-recovery-panel,.lp-recovery-step) :is(h2,h3,h4,strong,b){color:#15253D!important}
html[data-lp-theme="cream"] :is(.lp-checkout-stage,.lp-review-card,.lp-receipt-card,.lp-recovery-panel,.lp-recovery-step) :is(p,small,span,label){color:#5F646A!important}
html[data-lp-theme="cream"] .lp-stage-cream{background:#F0E7D8!important}
html[data-lp-theme="cream"] .lp-plan-card--six{color:#20252D!important;border-color:#DED5C5!important;background:#FFFCF6!important;box-shadow:var(--lp-shadow-soft)!important}
html[data-lp-theme="cream"] .lp-plan-card--six :is(.lp-plan-title,h3,strong,b){color:#15253D!important}
html[data-lp-theme="cream"] .lp-plan-card--six :is(.lp-plan-desc,.lp-plan-price span,.lp-plan-features li){color:#5F646A!important}
html[data-lp-theme="cream"] .lp-plan-card--annual{
  color:#F6F1E7!important;border-color:rgba(217,189,122,.42)!important;
  background:radial-gradient(circle at 10% 4%,rgba(217,189,122,.13),transparent 13rem),linear-gradient(145deg,#213A58,#15253D 74%)!important;
  box-shadow:0 24px 60px rgba(21,37,61,.18)!important;
}
html[data-lp-theme="cream"] .lp-plan-card--annual :is(.lp-plan-title,.lp-plan-head h3,strong,b){color:#fff!important}
html[data-lp-theme="cream"] .lp-plan-card--annual :is(.lp-plan-desc,.lp-price-main span,.lp-plan-features li){color:#E2E6EA!important}
html[data-lp-theme="cream"] .lp-plan-card--annual :is(.lp-plan-tag,.lp-plan-old){color:#D9BD7A!important}
html[data-lp-theme="cream"] .lp-plan-card--annual .lp-saving{color:#15253D!important;background:#D9BD7A!important}
html[data-lp-theme="cream"] .lp-plan-card--annual .btn--gold{color:#15253D!important;background:#D9BD7A!important;border-color:#D9BD7A!important}
html[data-lp-theme="cream"] :is(.lp-checkout-v7,.recovery-page) :is(input,select,textarea){color:#20252D!important;border-color:#D5C8B6!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .lp-consent{color:#4F555B!important}
html[data-lp-theme="cream"] .lp-status-good{color:#4D725D!important}
html[data-lp-theme="cream"] :is(.lp-trainee-policy,.lp-trainee-status){color:#31506D!important;border-color:#D7C8AF!important;background:#F8F1E5!important}
html[data-lp-theme="cream"] .lp-trainee-status__eyebrow{color:#8A6624!important}

/* Receipt header may remain navy as a compact identity strip. */
html[data-lp-theme="cream"] .lp-receipt-head{color:#fff!important;background:linear-gradient(145deg,#213A58,#15253D)!important}
html[data-lp-theme="cream"] .lp-receipt-head :is(h1,h2,h3,strong,b){color:#fff!important}
html[data-lp-theme="cream"] .lp-receipt-head :is(p,small,span){color:#E3E7EA!important}

/* Support page itself becomes light. Floating support widget is also converted
   so opening it does not suddenly switch the user back to a dark theme. */
html[data-lp-theme="cream"] .support-page{color:#20252D!important;background:radial-gradient(circle at 82% 5%,rgba(49,80,109,.06),transparent 25%),radial-gradient(circle at 12% 45%,rgba(181,138,58,.07),transparent 28%),#F6F1E7!important}
html[data-lp-theme="cream"] .support-hero h1{color:#15253D!important}
html[data-lp-theme="cream"] .support-hero h1 em{color:#8A6624!important}
html[data-lp-theme="cream"] .support-hero-copy>span{color:#8A6624!important;border-color:#D8C39C!important;background:#F8F1E5!important}
html[data-lp-theme="cream"] .support-hero p{color:#5F646A!important}
html[data-lp-theme="cream"] .support-assurance i{color:#31506D!important;border-color:#D8CDBD!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] :is(.support-channel-card,.support-ticket-card,.support-history,.support-workspace,.support-mode-card,.support-recovery-quick,.support-diagnostic-hero){
  color:#20252D!important;border-color:#DED5C5!important;background:#FFFCF6!important;box-shadow:var(--lp-shadow-soft)!important;
}
html[data-lp-theme="cream"] :is(.support-channel-card,.support-ticket-card,.support-history,.support-workspace,.support-mode-card,.support-recovery-quick,.support-diagnostic-hero) :is(h2,h3,h4,strong,b){color:#15253D!important}
html[data-lp-theme="cream"] :is(.support-channel-card,.support-ticket-card,.support-history,.support-workspace,.support-mode-card,.support-recovery-quick,.support-diagnostic-hero) :is(p,li,small,span){color:#5F646A!important}
html[data-lp-theme="cream"] .support-diagnostic-copy h2{color:#15253D!important}
html[data-lp-theme="cream"] :is(.support-field input,.support-field select,.support-field textarea){color:#20252D!important;border-color:#D5C8B6!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .support-consent{color:#4F555B!important}

html[data-lp-theme="cream"] .lp-support-launcher,
html[data-lp-theme="cream"] .lp-ticket-launcher{
  color:#15253D!important;border-color:#CDB984!important;background:linear-gradient(145deg,#FFFCF6,#EEE4D5)!important;
  box-shadow:0 15px 38px rgba(41,34,24,.14)!important;
}
html[data-lp-theme="cream"] .lp-support-launcher-icon,
html[data-lp-theme="cream"] .lp-ticket-launcher>span{color:#15253D!important;background:linear-gradient(145deg,#E9D39F,#D9BD7A)!important}
html[data-lp-theme="cream"] .lp-support-launcher-copy small{color:#4D725D!important}
html[data-lp-theme="cream"] .lp-support-panel{
  --sp-text:#20252D;--sp-muted:#5F646A;--sp-line:rgba(67,55,39,.15);--sp-good:#4D725D;
  color:#20252D!important;border-color:#D7C5A7!important;background:linear-gradient(160deg,#FFFCF6,#F0E7D8 72%)!important;
  box-shadow:0 28px 74px rgba(41,34,24,.18)!important;
}
html[data-lp-theme="cream"] .lp-support-head{border-color:#DED5C5!important;background:linear-gradient(90deg,rgba(181,138,58,.07),transparent)!important}
html[data-lp-theme="cream"] .lp-support-avatar{color:#8A6624!important;border-color:#D3BC8D!important;background:#F5EAD8!important}
html[data-lp-theme="cream"] .lp-support-head-copy strong{color:#15253D!important}
html[data-lp-theme="cream"] .lp-support-close{color:#15253D!important;border-color:#D8CDBD!important;background:#FAF6EE!important}
html[data-lp-theme="cream"] .lp-support-tabs{border-color:#DED5C5!important;background:#F4ECE0!important}
html[data-lp-theme="cream"] .lp-support-tab{color:#5F646A!important}
html[data-lp-theme="cream"] .lp-support-tab.is-active{color:#fff!important;background:#15253D!important}
html[data-lp-theme="cream"] .lp-support-tab--ticket span{color:#8A6624!important;border-color:#D8C39C!important;background:#F8F1E5!important}
html[data-lp-theme="cream"] .lp-support-tab--ticket.is-active span{color:#15253D!important;background:#D9BD7A!important}
html[data-lp-theme="cream"] .lp-message{color:#20252D!important;border-color:#DDD2C2!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .lp-message--user{color:#20252D!important;border-color:#D6BE8B!important;background:#F3E7CF!important}
html[data-lp-theme="cream"] .lp-message time{color:#74716C!important}
html[data-lp-theme="cream"] .lp-quick-reply{color:#31506D!important;border-color:#D8C7A9!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .lp-quick-reply:hover{color:#15253D!important;border-color:#B58A3A!important;background:#F8F1E5!important}
html[data-lp-theme="cream"] .lp-support-composer{border-color:#DED5C5!important;background:#F2EADD!important}
html[data-lp-theme="cream"] .lp-support-composer textarea,
html[data-lp-theme="cream"] .lp-mini-ticket :is(input,select,textarea){color:#20252D!important;border-color:#D4C7B4!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .lp-mini-ticket label{color:#31506D!important}
html[data-lp-theme="cream"] .lp-mini-ticket option{color:#20252D!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .lp-support-warning{color:#74716C!important}

/* Blog, legal and article copy */
html[data-lp-theme="cream"] :is(.article,.blog-page,.legal-page){background:#F6F1E7!important;color:#20252D!important}
html[data-lp-theme="cream"] .article :is(h1,h2,h3,h4),
html[data-lp-theme="cream"] .post :is(h2,h3,h4),
html[data-lp-theme="cream"] .legal-document :is(h1,h2,h3,h4){color:#15253D!important}
html[data-lp-theme="cream"] .article :is(p,li,blockquote),
html[data-lp-theme="cream"] .post :is(p,li),
html[data-lp-theme="cream"] .legal-document :is(p,li){color:#4F555B!important}
html[data-lp-theme="cream"] .article-note{color:#31506D!important;border-color:#D5C5AA!important;background:#F3EADB!important}

/* Pricing cards: one featured navy card is allowed as hierarchy, but no broad
   page section is dark. */
html[data-lp-theme="cream"] .plan:not(.featured){color:#20252D!important;border-color:#DED5C5!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .plan:not(.featured) :is(h3,strong,b){color:#15253D!important}
html[data-lp-theme="cream"] .plan:not(.featured) :is(p,li,small){color:#5F646A!important}
html[data-lp-theme="cream"] .plan.featured,
html[data-lp-theme="cream"] .plan.plan-year{
  color:#F6F1E7!important;border-color:rgba(217,189,122,.42)!important;background:linear-gradient(145deg,#213A58,#15253D)!important;
}
html[data-lp-theme="cream"] :is(.plan.featured,.plan.plan-year) :is(h2,h3,h4,strong,b){color:#fff!important}
html[data-lp-theme="cream"] :is(.plan.featured,.plan.plan-year) :is(p,li,small){color:#E2E6EA!important}
html[data-lp-theme="cream"] :is(.plan.featured,.plan.plan-year) .gold{color:#D9BD7A!important}

/* Admin — ivory work area + navy sidebar. Explicit copy correction prevents
   formerly pale labels from disappearing inside newly light cards. */
html[data-lp-theme="cream"] body:has(#shell),
html[data-lp-theme="cream"] body:has(.gate){
  --bg:#F2EADD;--bg-soft:#F8F1E5;--panel:#FFFCF6;--panel-2:#F2EADD;--panel-3:#E9DDCA;
  --line:rgba(67,55,39,.15);--line-strong:rgba(67,55,39,.26);--text:#20252D;--muted:#5F646A;--subtle:#74716C;
  background:#F2EADD!important;color:#20252D!important;
}
html[data-lp-theme="cream"] #shell .main{background:radial-gradient(circle at 92% 0,rgba(181,138,58,.07),transparent 24%),#F2EADD!important}
html[data-lp-theme="cream"] #shell .topbar{color:#20252D!important;border-color:#D8CAB5!important;background:rgba(255,252,246,.92)!important}
html[data-lp-theme="cream"] #shell .topbar :is(h1,h2,strong,b){color:#15253D!important}
html[data-lp-theme="cream"] #shell .topbar :is(p,span,small){color:#5F646A!important}
html[data-lp-theme="cream"] #shell .side{background:linear-gradient(180deg,#213A58,#15253D)!important;border-color:rgba(217,189,122,.16)!important}
html[data-lp-theme="cream"] #shell .side nav button{color:#CCD4DC!important}
html[data-lp-theme="cream"] #shell .side nav button:hover{color:#fff!important;background:rgba(255,255,255,.06)!important}
html[data-lp-theme="cream"] #shell .side nav button.is-active{color:#D9BD7A!important;background:linear-gradient(90deg,rgba(217,189,122,.15),rgba(217,189,122,.035))!important}
html[data-lp-theme="cream"] #shell :is(.card,.insight-card,.storage-card,.support-tech-list-card,.support-tech-detail-card,.compliance-card){
  color:#20252D!important;border-color:#DED5C5!important;background:#FFFCF6!important;box-shadow:var(--lp-shadow-soft)!important;
}
html[data-lp-theme="cream"] #shell :is(.card,.insight-card,.storage-card,.support-tech-list-card,.support-tech-detail-card,.compliance-card) :is(h1,h2,h3,h4,strong,b){color:#15253D!important}
html[data-lp-theme="cream"] #shell :is(.card,.insight-card,.storage-card,.support-tech-list-card,.support-tech-detail-card,.compliance-card) :is(p,li,small,label,span){color:#5F646A!important}
html[data-lp-theme="cream"] #shell :is(input,select,textarea){color:#20252D!important;border-color:#D5C8B6!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] #shell :is(input,textarea)::placeholder{color:#85817A!important}
html[data-lp-theme="cream"] #shell .btn-primary{color:#fff!important;border-color:#15253D!important;background:#15253D!important}
html[data-lp-theme="cream"] #shell :is(.btn-secondary,.icon-btn){color:#15253D!important;border-color:#D6C9B5!important;background:#FAF6EE!important}
html[data-lp-theme="cream"] #shell .btn-danger{color:#fff!important;background:#A63D36!important}
html[data-lp-theme="cream"] .gate{background:#F2EADD!important}
html[data-lp-theme="cream"] .gate-card{color:#20252D!important;border-color:#D7C8B2!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .gate-card :is(h1,h2,h3,strong,b,label){color:#15253D!important}
html[data-lp-theme="cream"] .gate-card :is(p,span,small,.gate-note,.gate-status){color:#5F646A!important}
html[data-lp-theme="cream"] .gate-card input{color:#20252D!important;border-color:#D5C8B6!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] #view-siteanalytics{color:#20252D!important;border-color:#D6C4A6!important;background:linear-gradient(145deg,#FAF6EE,#E9DDCA)!important}
html[data-lp-theme="cream"] #view-siteanalytics .analytics-command-header{color:#20252D!important;border-color:#D6C4A6!important;background:linear-gradient(135deg,#FFFCF6,#EEE4D5)!important}
html[data-lp-theme="cream"] #view-siteanalytics .analytics-command-copy h2{color:#15253D!important}
html[data-lp-theme="cream"] #view-siteanalytics :is(.analytics-command-copy>p,.analytics-period span,.analytics-legend){color:#5F646A!important}
html[data-lp-theme="cream"] #view-siteanalytics .analytics-trust-row span{color:#4D725D!important;border-color:#BFD0C5!important;background:#E8EFEA!important}

/* Footer: a light footer with enough hierarchy, not a washed-out cream block. */
html[data-lp-theme="cream"] .site-footer{
  color:#5F646A!important;border-color:#D1C3AE!important;background:linear-gradient(180deg,#EEE4D5,#E5D9C7)!important;
}
html[data-lp-theme="cream"] .site-footer :is(.brand,.brand strong,h4,strong,b){color:#15253D!important}
html[data-lp-theme="cream"] .site-footer :is(p,small,span){color:#66625B!important}
html[data-lp-theme="cream"] .site-footer a{color:#31506D!important}
html[data-lp-theme="cream"] .site-footer a:hover{color:#8A6624!important}
html[data-lp-theme="cream"] .footer-bottom{border-color:rgba(67,55,39,.13)!important}

/* Semantic states */
html[data-lp-theme="cream"] :is(.notice--error,.error,.form-error,[aria-invalid="true"] + .field-error){color:#A63D36!important}
html[data-lp-theme="cream"] :is(.success,.notice--success,.form-success){color:#4D725D!important}
html[data-lp-theme="cream"] :focus-visible{outline-color:#B58A3A!important}

/* Theme picker — compact, light and brand-coherent. */
.lp-theme-picker{border-color:#D7C8B2;background:rgba(255,252,246,.96);box-shadow:0 14px 38px rgba(41,34,24,.14)}
.lp-theme-picker__label{color:#74716C}
.lp-theme-picker button{color:#31506D}
.lp-theme-picker button:hover{background:#F2EADD;color:#15253D}
.lp-theme-picker button[aria-pressed="true"]{color:#fff;border-color:#15253D;background:#15253D;box-shadow:0 6px 16px rgba(21,37,61,.16)}
.lp-theme-picker button[data-lp-theme-value="cream"][aria-pressed="true"]{color:#15253D;border-color:#C9AB6D;background:linear-gradient(145deg,#E9D6AA,#D9BD7A)}

/* R02.1 — uncovered component audit */
html[data-lp-theme="cream"] .academy-proof{color:#5F646A!important}
html[data-lp-theme="cream"] .academy-proof b{color:#15253D!important}
html[data-lp-theme="cream"] .lesson-real .real-caption{color:#8A6624!important;background:#F8F1E5!important;border-color:#D7C49E!important}
html[data-lp-theme="cream"] .seo-step-grid article>span{color:#8A6624!important}
html[data-lp-theme="cream"] .seo-tool-note{color:#20252D!important;border-color:#D6C8B3!important;background:#F2EADD!important}
html[data-lp-theme="cream"] .seo-tool-note b{color:#15253D!important}
html[data-lp-theme="cream"] .seo-tool-note p{color:#5F646A!important}
html[data-lp-theme="cream"] .case-management-page .section--white{color:#20252D!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .case-management-page .seo-related-grid a{color:#20252D!important;border-color:#DED5C5!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .case-management-page .seo-related-grid a b{color:#15253D!important}
html[data-lp-theme="cream"] .case-management-page .seo-related-grid a span{color:#5F646A!important}
html[data-lp-theme="cream"] .case-management-page .seo-related-grid a:is(.is-spotlight,:hover,:focus-visible){border-color:#B58A3A!important;background:#F8F1E5!important}
html[data-lp-theme="cream"] .case-management-page .seo-related-grid a:is(.is-spotlight,:hover,:focus-visible) b{color:#8A6624!important}
html[data-lp-theme="cream"] .case-management-page .seo-related-grid a:is(.is-spotlight,:hover,:focus-visible) span{color:#31506D!important}
html[data-lp-theme="cream"] .seo-route-section .seo-route-card{color:#20252D!important;border-color:#DED5C5!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .seo-route-section .seo-route-card :is(b,strong){color:#15253D!important}
html[data-lp-theme="cream"] .seo-route-section .seo-route-card :is(span,small){color:#5F646A!important}
html[data-lp-theme="cream"] .seo-route-section .seo-route-card:is(.is-spotlight,:hover,:focus-visible){border-color:#B58A3A!important;background:#F8F1E5!important}
html[data-lp-theme="cream"] .seo-route-section .seo-route-card:is(.is-spotlight,:hover,:focus-visible) small{color:#8A6624!important}

html[data-lp-theme="cream"] .tools-safety article{color:#20252D!important;border-color:#D8CDBD!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .tools-safety b{color:#8A6624!important}
html[data-lp-theme="cream"] .tools-safety p{color:#5F646A!important}
html[data-lp-theme="cream"] .tools-footer{color:#74716C!important;border-color:#D8CDBD!important}
html[data-lp-theme="cream"] .tools-portal-badge{color:#31506D!important;border-color:#D7C7AC!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .calculator-code{color:#8A6624!important}
html[data-lp-theme="cream"] .calc-field--membership .calc-choice i{color:#8A6624!important}

/* Trial form: the section was lightened, so the form itself must follow. */
html[data-lp-theme="cream"] .trial-v5-form{color:#20252D!important;border-color:#D6C6AE!important;background:#FFFCF6!important;box-shadow:var(--lp-shadow-card)!important}
html[data-lp-theme="cream"] .trial-v5-copy p,
html[data-lp-theme="cream"] .trial-v5-points{color:#5F646A!important}
html[data-lp-theme="cream"] .trial-v5-points li:before{color:#4D725D!important}
html[data-lp-theme="cream"] .trial-v5-field label{color:#15253D!important}
html[data-lp-theme="cream"] .trial-v5-field label small{color:#74716C!important}
html[data-lp-theme="cream"] .trial-v5-field input{color:#20252D!important;border-color:#D4C7B4!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .trial-v5-consent{color:#5F646A!important}
html[data-lp-theme="cream"] .trial-v5-result{color:#8A6624!important}
html[data-lp-theme="cream"] .trial-v5-result.is-error{color:#A63D36!important}
html[data-lp-theme="cream"] .trial-v5-note{color:#74716C!important}

/* Recovery strip / founder copy */
html[data-lp-theme="cream"] .recovery-copy h2{color:#15253D!important}
html[data-lp-theme="cream"] .recovery-copy p{color:#5F646A!important}
html[data-lp-theme="cream"] .recovery-copy p strong{color:#8A6624!important}
html[data-lp-theme="cream"] .recovery-copy .eyebrow{color:#8A6624!important}
html[data-lp-theme="cream"] .founder-story-home p{color:#5F646A!important}
html[data-lp-theme="cream"] .founder-signature{border-color:#D8C8AF!important}
html[data-lp-theme="cream"] .founder-signature strong{color:#15253D!important}
html[data-lp-theme="cream"] .founder-signature span{color:#5F646A!important}

/* Pricing bridge / disclosure */
html[data-lp-theme="cream"] .pricing-trial-bridge{color:#31506D!important;border-color:#D7C9B3!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .pricing-trial-bridge strong{color:#15253D!important}
html[data-lp-theme="cream"] .pricing-disclosure{color:#5F646A!important}
html[data-lp-theme="cream"] .saving-line{color:#8A6624!important}

/* Feature / tool orbital decorations. Orbit remains branded; floating text cards
   become light to avoid isolated dark-theme islands. */
html[data-lp-theme="cream"] .tool-mini{color:#20252D!important;border-color:#D4BF91!important;background:rgba(255,252,246,.95)!important;box-shadow:0 16px 36px rgba(41,34,24,.12)!important}
html[data-lp-theme="cream"] .tool-mini b{color:#8A6624!important}
html[data-lp-theme="cream"] .tool-mini small{color:#5F646A!important}
html[data-lp-theme="cream"] .li-feature-card--primary,
html[data-lp-theme="cream"] .li-tools-feature-card{color:#20252D!important;border-color:#D8CBB6!important;background:#FFFCF6!important;box-shadow:var(--lp-shadow-card)!important}
html[data-lp-theme="cream"] :is(.li-feature-card--primary,.li-tools-feature-card) :is(h2,h3,strong,b){color:#15253D!important}
html[data-lp-theme="cream"] :is(.li-feature-card--primary,.li-tools-feature-card) :is(p,li,small){color:#5F646A!important}
html[data-lp-theme="cream"] .li-feature-card--primary .li-card-link{color:#8A6624!important}

/* Founder badges and official chips */
html[data-lp-theme="cream"] .profile-badges span{color:#31506D!important;border-color:#D8CBB8!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .profile-official-card .seal,
html[data-lp-theme="cream"] .profile-ethos-box .mark{color:#8A6624!important}
html[data-lp-theme="cream"] .profile-portrait-caption strong{color:#fff!important}

/* Support-page secondary surfaces */
html[data-lp-theme="cream"] .support-orb-core{color:#8A6624!important;border-color:#D3BE91!important;background:radial-gradient(circle at 35% 30%,#FFFCF6,#E9DDCA 74%)!important;box-shadow:0 22px 55px rgba(41,34,24,.11)!important}
html[data-lp-theme="cream"] .support-presets button{color:#31506D!important;border-color:#D8CBB7!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .support-presets button:hover{color:#15253D!important;border-color:#B58A3A!important;background:#F8F1E5!important}
html[data-lp-theme="cream"] .support-presets button span{color:#74716C!important}
html[data-lp-theme="cream"] .support-priority span{color:#31506D!important;border-color:#D8CBB7!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .support-priority span small{color:#74716C!important}
html[data-lp-theme="cream"] .support-priority input:checked+span{color:#15253D!important;border-color:#B58A3A!important;background:#F1E2C2!important}
html[data-lp-theme="cream"] .support-channel-icon{color:#8A6624!important;background:#F4E9D7!important;border-color:#D4BE90!important}
html[data-lp-theme="cream"] .support-alternatives{color:#20252D!important;border-color:#DED5C5!important;background:#F2EADD!important}
html[data-lp-theme="cream"] .support-alternatives-mark,
html[data-lp-theme="cream"] .support-recovery-symbol{color:#8A6624!important;border-color:#D4BE90!important;background:#F8F1E5!important}
html[data-lp-theme="cream"] .support-alternatives nav a{color:#20252D!important;border-color:#D8CDBD!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .support-alternatives nav a b{color:#15253D!important}
html[data-lp-theme="cream"] .support-alternatives nav a small{color:#5F646A!important}
html[data-lp-theme="cream"] .support-context-advice{color:#20252D!important;border-color:#D1C7B9!important;background:#EEF3EF!important}
html[data-lp-theme="cream"] .support-context-advice b{color:#4D725D!important}
html[data-lp-theme="cream"] .support-context-advice p{color:#5F646A!important}
html[data-lp-theme="cream"] .support-context-advice span{color:#4D725D!important}
html[data-lp-theme="cream"] .support-diagnostic-steps li{color:#31506D!important;border-color:#D8CDBD!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .support-diagnostic-copy p b,
html[data-lp-theme="cream"] .support-form-result b,
html[data-lp-theme="cream"] .support-recovery-quick b{color:#8A6624!important}
html[data-lp-theme="cream"] .support-privacy-note{border-color:#BFD0C5!important;background:#E8EFEA!important}
html[data-lp-theme="cream"] .support-privacy-note b{color:#4D725D!important}
html[data-lp-theme="cream"] .support-privacy-note span{color:#4F5C55!important}
html[data-lp-theme="cream"] .support-tech-hint{color:#4D725D!important}

/* Checkout step indicators and platform icons keep navy/white semantic contrast. */
html[data-lp-theme="cream"] .lp-checkout-step{color:#5F646A!important}
html[data-lp-theme="cream"] .lp-checkout-step.is-active{color:#fff!important;background:#15253D!important;border-color:#15253D!important}
html[data-lp-theme="cream"] .lp-checkout-step.is-done b,
html[data-lp-theme="cream"] .lp-platform-icon,
html[data-lp-theme="cream"] .lp-recovery-points em:before,
html[data-lp-theme="cream"] .lp-panel-title--success>span i{color:#fff!important;background:#4D725D!important}
html[data-lp-theme="cream"] .lp-recovery-icon{color:#8A6624!important;background:#F8F1E5!important;border-color:#D4BE90!important}
html[data-lp-theme="cream"] .lp-trainee-policy-badge{color:#8A6624!important;background:#F8F1E5!important;border-color:#D4BE90!important}

/* Receipt inner accents */
html[data-lp-theme="cream"] .lp-download-attention{color:#20252D!important;border-color:#D5C49F!important;background:#F3E8D4!important}
html[data-lp-theme="cream"] .lp-download-attention :is(h3,strong,b){color:#15253D!important}
html[data-lp-theme="cream"] .lp-receipt-title h1{color:#fff!important}

/* Homepage signal cards remain bounded navy/glass accents by design. */
html[data-lp-theme="cream"] .signal-card{color:#F6F1E7!important;background:rgba(21,37,61,.92)!important;border-color:rgba(217,189,122,.22)!important}
html[data-lp-theme="cream"] .signal-card b{color:#fff!important}
html[data-lp-theme="cream"] .signal-card small{color:#D9BD7A!important}

/* Mobile sticky CTA is intentionally a compact navy action bar, not a theme surface. */
html[data-lp-theme="cream"] .mobile-sticky-cta{color:#E5E9EC!important;background:rgba(21,37,61,.97)!important;border-color:rgba(217,189,122,.18)!important}
html[data-lp-theme="cream"] .mobile-sticky-cta b{color:#D9BD7A!important}

/* R02.2 — final text/surface edge cases from selector audit */
html[data-lp-theme="cream"] .final-cta p{color:#5F646A!important}
html[data-lp-theme="cream"] .trust-row-v2 h2,
html[data-lp-theme="cream"] .trust-row-v2 h2 strong{color:#15253D!important}
html[data-lp-theme="cream"] .command-item h3{color:#15253D!important}
html[data-lp-theme="cream"] .command-item p{color:#5F646A!important}
html[data-lp-theme="cream"] .li-primary-copy h3{color:#15253D!important}
html[data-lp-theme="cream"] .li-primary-copy .li-hook{color:#5F646A!important}
html[data-lp-theme="cream"] .court-hero-proof span{color:#31506D!important;border-color:#D8CBB7!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .court-address-row button{color:#fff!important;background:#15253D!important}
html[data-lp-theme="cream"] .support-academy-help{color:#20252D!important;border-color:#D2C8B9!important;background:#EEF3EF!important}
html[data-lp-theme="cream"] .support-academy-help :is(h2,h3,strong,b){color:#15253D!important}
html[data-lp-theme="cream"] .support-academy-help :is(p,small,span){color:#5F646A!important}
html[data-lp-theme="cream"] .support-academy-help nav a{color:#31506D!important;border-color:#D8CDBD!important;background:#FFFCF6!important}
html[data-lp-theme="cream"] .support-academy-help nav a:is(:hover,:focus-visible),
html[data-lp-theme="cream"] .support-academy-all{color:#8A6624!important}
html[data-lp-theme="cream"] .referral-reward-tag{color:#F6F1E7!important;background:rgba(21,37,61,.92)!important;border-color:rgba(217,189,122,.22)!important}
html[data-lp-theme="cream"] .form-consent{color:#5F646A!important}
html[data-lp-theme="cream"] .form-status.is-error{color:#A63D36!important}
html[data-lp-theme="cream"] .seo-section--dark .seo-head .seo-kicker{color:#8A6624!important}
html[data-lp-theme="cream"] .seo-section--dark .seo-head h2{color:#15253D!important}
html[data-lp-theme="cream"] .seo-bullets b{color:#8A6624!important}
html[data-lp-theme="cream"] .seo-card-icon{color:#8A6624!important}
html[data-lp-theme="cream"] .plan.plan-six .btn.secondary{color:#15253D!important;background:#FFFCF6!important;border-color:#D6C9B6!important}
html[data-lp-theme="cream"] .plan.plan-year .price{color:#D9BD7A!important}
html[data-lp-theme="cream"] .lp-stepper span.is-done{color:#fff!important;background:#4D725D!important}
html[data-lp-theme="cream"] .lp-recovery-action .btn{color:#fff!important;background:#15253D!important;border-color:#15253D!important}


/* ========================================================================
   LEGALPLUS WARM IVORY R03 — PREMIUM CONTRAST & COMPONENT REMEDIATION
   Review build 2026-09-28
   ------------------------------------------------------------------------
   Scope is visual-only: palette, text/surface contrast, visual states.
   No layout geometry, content, images, icons, OTP, payment, API, routing,
   authentication, business logic or data flow is changed by this layer.
   ======================================================================== */
html[data-lp-theme="cream"]{
  --r03-bg:#F6F1E7;
  --r03-bg-soft:#F2EADD;
  --r03-surface:#FFFDF8;
  --r03-surface-2:#FAF6EE;
  --r03-surface-3:#EEE4D5;
  --r03-navy:#15253D;
  --r03-navy-2:#213A58;
  --r03-navy-3:#31506D;
  --r03-ink:#20252D;
  --r03-copy:#59636B;
  --r03-muted:#74716C;
  --r03-gold:#B58A3A;
  --r03-gold-deep:#76531A;
  --r03-gold-soft:#D9BD7A;
  --r03-line:#DED5C5;
  --r03-line-strong:#CDBD9F;
  --r03-success:#4D725D;
  --r03-success-bg:#E8EFEA;
  --r03-danger:#A63D36;
  --r03-info-bg:#EEF2F4;
  --r03-shadow:0 16px 44px rgba(43,35,24,.085);
  --r03-shadow-deep:0 24px 64px rgba(21,37,61,.16);
}

/* ---------- Global semantic text rules on LIGHT surfaces ---------- */
html[data-lp-theme="cream"] body{background:var(--r03-bg)!important;color:var(--r03-ink)!important}
html[data-lp-theme="cream"] :is(.section-title,.page-hero h1,.seo-head h2,.seo-hero h1,.support-hero h1){color:var(--r03-navy)!important}
html[data-lp-theme="cream"] :is(.eyebrow,.seo-kicker,.kicker){color:var(--r03-gold-deep)!important}
html[data-lp-theme="cream"] :is(.section-lead,.hook-lead){color:var(--r03-copy)!important}
html[data-lp-theme="cream"] .gold{color:var(--r03-gold-deep)!important}

/* ---------- Branded bounded DARK accents: explicit on-dark typography ---------- */
html[data-lp-theme="cream"] :is(
  .li-float-note,.legal-tools-home-badge,.signal-card,
  .r05-contract-foot>div,.r05-contract-verify,
  .mobile-sticky-cta,.court-result
){
  color:#F8F4EC!important;
  background:linear-gradient(145deg,#213A58,#15253D)!important;
  border-color:rgba(217,189,122,.28)!important;
}
html[data-lp-theme="cream"] :is(.li-float-note,.legal-tools-home-badge,.signal-card,.r05-contract-foot>div,.r05-contract-verify,.mobile-sticky-cta,.court-result)
:is(h1,h2,h3,h4,strong,b){color:#FFFFFF!important}
html[data-lp-theme="cream"] :is(.li-float-note,.legal-tools-home-badge,.signal-card,.r05-contract-foot>div,.r05-contract-verify,.mobile-sticky-cta,.court-result)
:is(p,small,span,code){color:#E1E7EB!important}
html[data-lp-theme="cream"] .li-float-note small{color:#CFD8DE!important}
html[data-lp-theme="cream"] .li-float-note b{color:#FFFFFF!important}
html[data-lp-theme="cream"] .legal-tools-home-badge{color:#F8F4EC!important}
html[data-lp-theme="cream"] .signal-card small,
html[data-lp-theme="cream"] .mobile-sticky-cta b,
html[data-lp-theme="cream"] .court-result-label{color:var(--r03-gold-soft)!important}

/* ---------- Founder / editorial: remove pale legacy copy on ivory ---------- */
html[data-lp-theme="cream"] .founder-v2 .founder-copy,
html[data-lp-theme="cream"] .founder-story-home,
html[data-lp-theme="cream"] .founder-copy{
  color:var(--r03-ink)!important;
  border-color:var(--r03-line)!important;
  background:linear-gradient(145deg,var(--r03-surface),#F4E9D9)!important;
  box-shadow:var(--r03-shadow)!important;
}
html[data-lp-theme="cream"] :is(.founder-v2 .founder-copy,.founder-story-home,.founder-copy) :is(h2,h3,strong,b){color:var(--r03-navy)!important}
html[data-lp-theme="cream"] :is(.founder-v2 .founder-copy,.founder-story-home,.founder-copy) p{color:var(--r03-copy)!important}
html[data-lp-theme="cream"] :is(.founder-v2 .founder-copy,.founder-story-home,.founder-copy) blockquote{
  color:#344654!important;
  border-color:var(--r03-gold)!important;
  background:rgba(255,253,248,.34)!important;
  text-shadow:none!important;
}
html[data-lp-theme="cream"] .founder-signature strong{color:var(--r03-navy)!important}
html[data-lp-theme="cream"] .founder-signature span{color:var(--r03-copy)!important}
html[data-lp-theme="cream"] .founder-identity{background:linear-gradient(145deg,#F1E4CF,#E7D3B3)!important}
html[data-lp-theme="cream"] .founder-identity :is(strong,strong a){color:var(--r03-navy)!important}
html[data-lp-theme="cream"] .founder-identity :is(span,.founder-identity-link){color:#53626B!important}

/* ---------- Homepage command / legal intelligence / legal tools gateway ---------- */
html[data-lp-theme="cream"] :is(.command-stage,.command-copy,.li-primary-card,.li-mini-card,.li-feature-card--primary,.li-tools-feature-card){
  color:var(--r03-ink)!important;
  border-color:var(--r03-line)!important;
}
html[data-lp-theme="cream"] :is(.command-copy,.li-primary-card,.li-mini-card,.li-feature-card--primary,.li-tools-feature-card){background:var(--r03-surface)!important}
html[data-lp-theme="cream"] :is(.command-copy,.li-primary-card,.li-mini-card,.li-feature-card--primary,.li-tools-feature-card) :is(h2,h3,h4,strong,b){color:var(--r03-navy)!important}
html[data-lp-theme="cream"] :is(.command-copy,.li-primary-card,.li-mini-card,.li-feature-card--primary,.li-tools-feature-card) :is(p,small,.li-hook,.li-desc){color:var(--r03-copy)!important}
html[data-lp-theme="cream"] .editorial-sticky>.eyebrow{color:var(--r03-gold-deep)!important}
html[data-lp-theme="cream"] .editorial-list article>span{color:var(--r03-gold-deep)!important}

/* ---------- Private attorney contract mock: contract stays parchment,
   evidence/footer stays navy and every nested label gets correct on-dark copy. ---------- */
html[data-lp-theme="cream"] .r05-contract-sheet{
  color:#193247!important;
  background:linear-gradient(180deg,#FFFDF8 0%,#F1E1C5 100%)!important;
  border-color:#D8B973!important;
  box-shadow:0 30px 74px rgba(46,36,23,.18),inset 0 1px rgba(255,255,255,.82)!important;
}
html[data-lp-theme="cream"] .r05-contract-head small{color:#765E37!important}
html[data-lp-theme="cream"] .r05-contract-head b{color:#15253D!important}
html[data-lp-theme="cream"] .r05-contract-status{color:#596A76!important}
html[data-lp-theme="cream"] .r05-contract-parties small{color:#75694F!important}
html[data-lp-theme="cream"] .r05-contract-parties b{color:#193247!important}
html[data-lp-theme="cream"] .r05-contract-clause span{color:#725A31!important}
html[data-lp-theme="cream"] .r05-contract-signature small{color:#655B4A!important}
html[data-lp-theme="cream"] .r05-contract-foot>div small{color:#CBD5DC!important}
html[data-lp-theme="cream"] .r05-contract-foot>div code,
html[data-lp-theme="cream"] .r05-contract-foot>div b{color:#FFFFFF!important}
html[data-lp-theme="cream"] .r05-contract-foot>div:first-child small{color:var(--r03-gold-soft)!important}
html[data-lp-theme="cream"] .r05-contract-foot>div:first-child code{color:#E4EBEF!important}
html[data-lp-theme="cream"] .r05-contract-verify b{color:var(--r03-gold-soft)!important}
html[data-lp-theme="cream"] .r05-contract-verify small{color:#D5DEE4!important}
html[data-lp-theme="cream"] .r05-contract-verify>span{color:var(--r03-navy)!important;background:linear-gradient(145deg,#E8CC8C,#C79B49)!important}
html[data-lp-theme="cream"] .r03-contract-hero .seo-proof span{
  color:#31506D!important;
  background:rgba(255,253,248,.92)!important;
  border-color:#D8CBB6!important;
}

/* ---------- Legal tools: cards light; selected controls and tabs unmistakable ---------- */
html[data-lp-theme="cream"] .tools-card{
  color:var(--r03-ink)!important;
  background:var(--r03-surface)!important;
  border-color:var(--r03-line)!important;
}
html[data-lp-theme="cream"] .tools-card :is(h2,h3,strong,b){color:var(--r03-navy)!important}
html[data-lp-theme="cream"] .tools-card :is(p,small,span){color:var(--r03-copy)!important}
html[data-lp-theme="cream"] .calculators-nav button{
  color:#4E5D68!important;background:#FAF6EE!important;border-color:#DDD2C2!important;
}
html[data-lp-theme="cream"] .calculators-nav button.is-active{
  color:#FFFFFF!important;background:linear-gradient(145deg,#213A58,#15253D)!important;border-color:#15253D!important;
}
html[data-lp-theme="cream"] .calculators-nav button.is-active :is(span,b,strong){color:#FFFFFF!important}
html[data-lp-theme="cream"] .calc-choice{
  color:#405667!important;background:#FFFDF8!important;border-color:#D8CDBD!important;
}
html[data-lp-theme="cream"] .calc-choice :is(b,strong,span){color:inherit!important}
html[data-lp-theme="cream"] .calc-choice.is-selected,
html[data-lp-theme="cream"] .calc-choice:has(input:checked){
  color:var(--r03-navy)!important;background:#EFE0BE!important;border-color:#B58A3A!important;
  box-shadow:0 0 0 3px rgba(181,138,58,.10)!important;
}
html[data-lp-theme="cream"] .calc-field--membership .calc-choice i{color:var(--r03-gold-deep)!important}
html[data-lp-theme="cream"] .legal-tools-home-badge :is(span,b,strong,small){color:inherit!important}

/* ---------- Pricing: a deliberate navy premium card + clean ivory standard card ---------- */
html[data-lp-theme="cream"] :is(.pricing-section,.pricing-page) .pricing-grid .plan.plan-six{
  color:var(--r03-ink)!important;
  background:var(--r03-surface)!important;
  border-color:var(--r03-line)!important;
  box-shadow:var(--r03-shadow)!important;
}
html[data-lp-theme="cream"] :is(.pricing-section,.pricing-page) .pricing-grid .plan.plan-six :is(h3,.price,.price b,strong,b){color:var(--r03-navy)!important}
html[data-lp-theme="cream"] :is(.pricing-section,.pricing-page) .pricing-grid .plan.plan-six :is(small,li,.old-price){color:var(--r03-copy)!important}
html[data-lp-theme="cream"] :is(.pricing-section,.pricing-page) .pricing-grid .plan.plan-six .badge{color:#664B1C!important;background:#EEE2CD!important}
html[data-lp-theme="cream"] :is(.pricing-section,.pricing-page) .pricing-grid .plan.plan-year,
html[data-lp-theme="cream"] :is(.pricing-section,.pricing-page) .pricing-grid .plan.featured.plan-year{
  color:#F7F3EC!important;
  background:radial-gradient(circle at 14% 0,rgba(217,189,122,.12),transparent 30%),linear-gradient(145deg,#213A58,#15253D 72%)!important;
  border-color:rgba(217,189,122,.48)!important;
  box-shadow:var(--r03-shadow-deep)!important;
}
html[data-lp-theme="cream"] :is(.pricing-section,.pricing-page) .pricing-grid :is(.plan.plan-year,.plan.featured.plan-year) :is(h2,h3,h4,strong,b,.price,.price b){color:#FFFFFF!important}
html[data-lp-theme="cream"] :is(.pricing-section,.pricing-page) .pricing-grid :is(.plan.plan-year,.plan.featured.plan-year) :is(p,li,small,.old-price){color:#DDE5EA!important}
html[data-lp-theme="cream"] :is(.pricing-section,.pricing-page) .pricing-grid :is(.plan.plan-year,.plan.featured.plan-year) .price small{color:#E4E9ED!important}
html[data-lp-theme="cream"] :is(.pricing-section,.pricing-page) .pricing-grid :is(.plan.plan-year,.plan.featured.plan-year) .badge{
  color:#F1D89E!important;background:rgba(217,189,122,.10)!important;border-color:rgba(217,189,122,.30)!important;
}
html[data-lp-theme="cream"] :is(.pricing-section,.pricing-page) .pricing-grid :is(.plan.plan-year,.plan.featured.plan-year) .saving-line,
html[data-lp-theme="cream"] :is(.pricing-section,.pricing-page) .pricing-grid :is(.plan.plan-year,.plan.featured.plan-year) .gold{color:#E7C984!important}
html[data-lp-theme="cream"] :is(.pricing-section,.pricing-page) .pricing-grid :is(.plan.plan-year,.plan.featured.plan-year) .btn.primary{
  color:var(--r03-navy)!important;background:linear-gradient(145deg,#E8CF95,#D2AD62)!important;border-color:#D2AD62!important;
}
html[data-lp-theme="cream"] .discount-ribbon{color:var(--r03-navy)!important;background:linear-gradient(135deg,#F0D795,#CFA552)!important}
html[data-lp-theme="cream"] .pricing-trial-bridge{color:#415564!important;background:var(--r03-surface)!important;border-color:var(--r03-line)!important}
html[data-lp-theme="cream"] .pricing-trial-bridge strong{color:var(--r03-navy)!important}
html[data-lp-theme="cream"] .pricing-disclosure{color:var(--r03-copy)!important}

/* ---------- Recovery strip: light surface with a navy identity action ---------- */
html[data-lp-theme="cream"] .recovery-strip-section{background:#F1E8DA!important;border-color:#DED0BA!important}
html[data-lp-theme="cream"] .recovery-strip{
  color:var(--r03-ink)!important;
  background:linear-gradient(145deg,#FFFDF8,#F0E3CF)!important;
  border-color:#D7C4A4!important;
  box-shadow:var(--r03-shadow)!important;
}
html[data-lp-theme="cream"] .recovery-strip :is(h2,h3,strong,b){color:var(--r03-navy)!important}
html[data-lp-theme="cream"] .recovery-strip :is(p,small,span){color:var(--r03-copy)!important}
html[data-lp-theme="cream"] .recovery-strip .eyebrow{color:var(--r03-gold-deep)!important}
html[data-lp-theme="cream"] .recovery-icon{color:var(--r03-gold-deep)!important;background:#F4E8D2!important;border-color:#D5BE8F!important}
html[data-lp-theme="cream"] .recovery-primary{color:#FFFFFF!important;background:var(--r03-navy)!important;border-color:var(--r03-navy)!important}

/* ---------- Checkout: selected plan must never inherit pale legacy copy ---------- */
html[data-lp-theme="cream"] .lp-checkout-v7 .lp-platform-notice{
  color:#334754!important;background:#F7F2E9!important;border-color:#D7CBB8!important;
}
html[data-lp-theme="cream"] .lp-checkout-v7 .lp-platform-notice b{color:var(--r03-navy)!important}
html[data-lp-theme="cream"] .lp-checkout-v7 .lp-platform-icon{
  color:#FFFFFF!important;background:var(--r03-success)!important;border-color:var(--r03-success)!important;
}
html[data-lp-theme="cream"] .lp-checkout-v7 .lp-trainee-policy{
  color:#334754!important;background:#F8F1E5!important;border-color:#D6C4A1!important;
}
html[data-lp-theme="cream"] .lp-checkout-v7 .lp-trainee-policy strong{color:#76531A!important}
html[data-lp-theme="cream"] .lp-checkout-v7 .lp-trainee-policy p{color:#465C6A!important}
html[data-lp-theme="cream"] .lp-checkout-v7 .lp-trainee-policy p b{color:var(--r03-navy)!important}
html[data-lp-theme="cream"] .lp-checkout-v7 .lp-trainee-policy-badge{
  color:#F4D990!important;background:var(--r03-navy)!important;border-color:var(--r03-navy)!important;
}
html[data-lp-theme="cream"] .lp-checkout-v7 .lp-plan-card--six{
  color:var(--r03-ink)!important;background:var(--r03-surface)!important;border-color:var(--r03-line)!important;
}
html[data-lp-theme="cream"] .lp-checkout-v7 .lp-plan-card--annual{
  color:#F7F3EC!important;
  background:radial-gradient(circle at 10% 4%,rgba(217,189,122,.13),transparent 13rem),linear-gradient(145deg,#213A58,#15253D 74%)!important;
  border-color:rgba(217,189,122,.48)!important;
  box-shadow:var(--r03-shadow-deep)!important;
}
html[data-lp-theme="cream"] .lp-checkout-v7 .lp-plan-card--annual :is(.lp-plan-title,.lp-plan-price b,.new-price,strong,b){color:#FFFFFF!important}
html[data-lp-theme="cream"] .lp-checkout-v7 .lp-plan-card--annual :is(.lp-plan-desc,.lp-plan-price small,.lp-plan-old,li){color:#DDE5EA!important}
html[data-lp-theme="cream"] .lp-checkout-v7 .lp-plan-card--annual :is(.lp-plan-tag,.saving){color:#E7C984!important}
html[data-lp-theme="cream"] .lp-checkout-v7 .lp-plan-card--annual .lp-plan-old .old-price{color:#DDE5EA!important}
html[data-lp-theme="cream"] .lp-checkout-v7 .lp-plan-card--annual .lp-plan-ribbon{color:var(--r03-navy)!important;background:linear-gradient(135deg,#F0D795,#CFA552)!important}
html[data-lp-theme="cream"] .lp-checkout-v7 .lp-plan-card:has(input:checked){box-shadow:0 0 0 4px rgba(181,138,58,.16),var(--r03-shadow-deep)!important}
html[data-lp-theme="cream"] .lp-checkout-v7 .lp-plan-card--six:has(input:checked){background:#F4E8D2!important;border-color:#B58A3A!important}
html[data-lp-theme="cream"] .lp-checkout-v7 :is(.lp-consent,.lp-consent span){color:#4B5963!important}
html[data-lp-theme="cream"] .lp-checkout-v7 .lp-consent a{color:#31506D!important;text-decoration-color:#B58A3A!important}
html[data-lp-theme="cream"] .lp-checkout-v7 .lp-secure-notes span{color:#4D725D!important}

/* ---------- Support main page: cards, buttons, consent and technical notes ---------- */
html[data-lp-theme="cream"] .support-page-header{
  color:var(--r03-ink)!important;background:rgba(255,253,248,.94)!important;border-color:#DED5C5!important;
}
html[data-lp-theme="cream"] .support-page-brand :is(strong,b){color:var(--r03-navy)!important}
html[data-lp-theme="cream"] .support-page-brand small{color:var(--r03-muted)!important}
html[data-lp-theme="cream"] .support-page-nav a{color:#415767!important}
html[data-lp-theme="cream"] .support-page-nav a:is(:hover,[aria-current]){color:var(--r03-gold-deep)!important}
html[data-lp-theme="cream"] :is(.lp-support-demo-card,.support-channel-card,.support-mode-card,.support-ticket-card,.support-history){
  color:var(--r03-ink)!important;background:var(--r03-surface)!important;border-color:var(--r03-line)!important;box-shadow:var(--r03-shadow)!important;
}
html[data-lp-theme="cream"] :is(.lp-support-demo-card,.support-channel-card,.support-mode-card,.support-ticket-card,.support-history) :is(h2,h3,h4,strong,b){color:var(--r03-navy)!important}
html[data-lp-theme="cream"] :is(.lp-support-demo-card,.support-channel-card,.support-mode-card,.support-ticket-card,.support-history) :is(p,small,span){color:var(--r03-copy)!important}
html[data-lp-theme="cream"] .support-channel-card button,
html[data-lp-theme="cream"] .support-channel-card>b,
html[data-lp-theme="cream"] .support-submit,
html[data-lp-theme="cream"] .support-diagnostic-cta{
  color:#FFFFFF!important;background:linear-gradient(145deg,#213A58,#15253D)!important;border-color:#15253D!important;box-shadow:0 10px 26px rgba(21,37,61,.14)!important;
}
html[data-lp-theme="cream"] .support-channel-card button:hover,
html[data-lp-theme="cream"] .support-channel-card:hover>b,
html[data-lp-theme="cream"] .support-submit:hover,
html[data-lp-theme="cream"] .support-diagnostic-cta:hover{color:#FFFFFF!important;background:#213A58!important}
html[data-lp-theme="cream"] .support-ticket-head>span{
  color:#31506D!important;background:#EEF2F4!important;border-color:#CBD6DC!important;
}
html[data-lp-theme="cream"] .support-form-progress b{color:#596A76!important}
html[data-lp-theme="cream"] .support-form-progress>span{background:#E7DED0!important}
html[data-lp-theme="cream"] .support-form-progress i{background:linear-gradient(90deg,#B58A3A,#D9BD7A)!important}
html[data-lp-theme="cream"] .support-field label{color:#334A5A!important}
html[data-lp-theme="cream"] .support-field :is(input,select,textarea){
  color:var(--r03-ink)!important;background:var(--r03-surface)!important;border-color:#D4C9B8!important;
}
html[data-lp-theme="cream"] .support-field :is(input,textarea)::placeholder{color:#7D868C!important;opacity:1!important}
html[data-lp-theme="cream"] .support-field option{color:var(--r03-ink)!important;background:var(--r03-surface)!important}
html[data-lp-theme="cream"] .support-field--technical{background:#F3F7F4!important;border-color:#C8D8CF!important}
html[data-lp-theme="cream"] .support-tech-hint{color:#4D725D!important}
html[data-lp-theme="cream"] .support-privacy-note{color:#334E42!important;background:var(--r03-success-bg)!important;border-color:#BCD0C3!important}
html[data-lp-theme="cream"] .support-privacy-note b{color:#365F4B!important}
html[data-lp-theme="cream"] .support-privacy-note span{color:#4E5F56!important}
html[data-lp-theme="cream"] .support-consent{
  color:#334A5A!important;background:#F4EFE7!important;border:1px solid #D7CBB9!important;
}
html[data-lp-theme="cream"] .support-consent span{color:#334A5A!important}
html[data-lp-theme="cream"] .support-consent input{accent-color:var(--r03-navy)!important}
html[data-lp-theme="cream"] .support-priority span{color:#536673!important;background:#FFFDF8!important;border-color:#D8CDBD!important}
html[data-lp-theme="cream"] .support-priority span b{color:var(--r03-navy)!important}
html[data-lp-theme="cream"] .support-priority span small{color:var(--r03-muted)!important}
html[data-lp-theme="cream"] .support-priority input:checked+span{color:var(--r03-navy)!important;background:#EFE0BE!important;border-color:#B58A3A!important}

/* ---------- Support floating widget: fully LIGHT, not a dark-theme island ---------- */
html[data-lp-theme="cream"] .lp-support-panel{
  --sp-text:var(--r03-ink);--sp-muted:var(--r03-copy);--sp-line:rgba(83,67,44,.16);--sp-good:var(--r03-success);
  color:var(--r03-ink)!important;background:linear-gradient(160deg,#FFFDF8,#F2EADD 76%)!important;border-color:#D6C4A5!important;
}
html[data-lp-theme="cream"] .lp-support-head{background:linear-gradient(90deg,#F2E8D8,transparent)!important;border-color:#DED5C5!important}
html[data-lp-theme="cream"] .lp-support-head-copy strong{color:var(--r03-navy)!important}
html[data-lp-theme="cream"] .lp-support-status{color:var(--r03-success)!important}
html[data-lp-theme="cream"] .lp-support-avatar{color:var(--r03-gold-deep)!important;background:#F4E8D2!important;border-color:#D5BE8F!important}
html[data-lp-theme="cream"] .lp-support-close{color:var(--r03-navy)!important;background:var(--r03-surface)!important;border-color:#D8CDBD!important}
html[data-lp-theme="cream"] .lp-support-tabs{background:#EFE7DA!important;border-color:#DED5C5!important}
html[data-lp-theme="cream"] .lp-support-tab{color:#66717A!important}
html[data-lp-theme="cream"] .lp-support-tab.is-active{color:#FFFFFF!important;background:var(--r03-navy)!important}
html[data-lp-theme="cream"] .lp-support-tab--ticket.is-active span{color:var(--r03-navy)!important;background:var(--r03-gold-soft)!important;border-color:var(--r03-gold-soft)!important}
html[data-lp-theme="cream"] .lp-message{color:#334754!important;background:#FFFDF8!important;border-color:#D8CDBD!important}
html[data-lp-theme="cream"] .lp-message--user{color:#334754!important;background:#F1E3C9!important;border-color:#D2B980!important}
html[data-lp-theme="cream"] .lp-message time{color:#737D84!important}
html[data-lp-theme="cream"] .lp-quick-reply{color:#31506D!important;background:#FFFDF8!important;border-color:#D7C9B4!important}
html[data-lp-theme="cream"] .lp-support-composer{background:#EEE5D7!important;border-color:#D9CFBF!important}
html[data-lp-theme="cream"] .lp-support-composer textarea,
html[data-lp-theme="cream"] .lp-mini-ticket :is(input,select,textarea){color:var(--r03-ink)!important;background:#FFFDF8!important;border-color:#D4C8B5!important}
html[data-lp-theme="cream"] .lp-mini-ticket label{color:#354C5C!important}
html[data-lp-theme="cream"] .lp-mini-ticket button,
html[data-lp-theme="cream"] .lp-support-send{color:#FFFFFF!important;background:var(--r03-navy)!important;border-color:var(--r03-navy)!important}
html[data-lp-theme="cream"] .lp-support-warning{color:#747D83!important}

/* ---------- SEO / feature / article cards that were previously dark ---------- */
html[data-lp-theme="cream"] .seo-dark-card,
html[data-lp-theme="cream"] .seo-cta-band,
html[data-lp-theme="cream"] .r03-legal-note,
html[data-lp-theme="cream"] .r03-evidence-panel{
  color:var(--r03-ink)!important;background:var(--r03-surface)!important;border-color:var(--r03-line)!important;box-shadow:var(--r03-shadow)!important;
}
html[data-lp-theme="cream"] :is(.seo-dark-card,.seo-cta-band,.r03-legal-note,.r03-evidence-panel) :is(h2,h3,h4,strong,b){color:var(--r03-navy)!important}
html[data-lp-theme="cream"] :is(.seo-dark-card,.seo-cta-band,.r03-legal-note,.r03-evidence-panel) :is(p,li,small,span){color:var(--r03-copy)!important}
html[data-lp-theme="cream"] .seo-dark-card .seo-kicker,
html[data-lp-theme="cream"] .r03-legal-note .seo-kicker,
html[data-lp-theme="cream"] .r03-evidence-panel .seo-kicker{color:var(--r03-gold-deep)!important}

/* ---------- Generic form and card safety net on light surfaces ---------- */
html[data-lp-theme="cream"] :is(.contact-panel,.form-card,.legal-document,.article-aside,.metric,.post,.academy-card,.problem-card,.tool-card){
  color:var(--r03-ink)!important;background:var(--r03-surface)!important;border-color:var(--r03-line)!important;
}
html[data-lp-theme="cream"] :is(.contact-panel,.form-card,.legal-document,.article-aside,.metric,.post,.academy-card,.problem-card,.tool-card) :is(h1,h2,h3,h4,strong,b){color:var(--r03-navy)!important}
html[data-lp-theme="cream"] :is(.contact-panel,.form-card,.legal-document,.article-aside,.metric,.post,.academy-card,.problem-card,.tool-card) :is(p,small,span,li){color:var(--r03-copy)!important}
html[data-lp-theme="cream"] :is(.field,.trial-v5-field) label{color:#334A5A!important}
html[data-lp-theme="cream"] :is(.field,.trial-v5-field) :is(input,select,textarea){color:var(--r03-ink)!important;background:var(--r03-surface)!important;border-color:#D4C9B8!important}
html[data-lp-theme="cream"] :is(.field,.trial-v5-field) :is(input,textarea)::placeholder{color:#80878B!important;opacity:1!important}
html[data-lp-theme="cream"] .form-consent{color:#4D5962!important}

/* ---------- Admin: keep navy sidebar; ensure every light card owns dark copy ---------- */
html[data-lp-theme="cream"] #shell :is(.card,.insight-card,.storage-card,.support-tech-list-card,.support-tech-detail-card,.compliance-card){background:var(--r03-surface)!important;border-color:var(--r03-line)!important}
html[data-lp-theme="cream"] #shell :is(.card,.insight-card,.storage-card,.support-tech-list-card,.support-tech-detail-card,.compliance-card) :is(h1,h2,h3,h4,strong,b){color:var(--r03-navy)!important}
html[data-lp-theme="cream"] #shell :is(.card,.insight-card,.storage-card,.support-tech-list-card,.support-tech-detail-card,.compliance-card) :is(p,li,small,label,span){color:var(--r03-copy)!important}
html[data-lp-theme="cream"] #shell .side :is(strong,b,h1,h2,h3){color:#FFFFFF!important}
html[data-lp-theme="cream"] #shell .side :is(p,small,span){color:#CBD5DC!important}
html[data-lp-theme="cream"] #shell .side nav button.is-active{color:#F0D69B!important}

/* ---------- Responsive / anti-breakage visual guards ----------
   No desktop grid/geometry is changed. These only keep theme UI readable and
   prevent the floating theme selector from covering mobile CTAs. ---------- */
@media(max-width:700px){
  .lp-theme-picker{left:10px!important;bottom:calc(86px + env(safe-area-inset-bottom))!important;max-width:calc(100vw - 20px)!important}
  .lp-theme-picker button{white-space:nowrap!important}
  html[data-lp-theme="cream"] :is(.li-float-note,.legal-tools-home-badge,.signal-card){text-shadow:none!important}
}
@media(max-width:390px){
  .lp-theme-picker{left:8px!important;bottom:calc(82px + env(safe-area-inset-bottom))!important;max-width:calc(100vw - 16px)!important}
}
@media(prefers-reduced-motion:reduce){
  html[data-lp-theme="cream"] :is(.btn,.support-channel-card button,.support-submit,.lp-theme-picker button){transition:none!important}
}

/* ---------- R03.1 targeted trust / light-surface contrast hardening ---------- */
html[data-lp-theme="cream"] .trust-band-v2 .trust-label{
  color:#6F501D!important;
  background:rgba(255,253,248,.48)!important;
  border:1px solid rgba(181,138,58,.22)!important;
  border-radius:999px!important;
  padding:.42rem .72rem!important;
  letter-spacing:0!important;
}
html[data-lp-theme="cream"] .trust-band-v2 h2{color:var(--r03-navy)!important}
html[data-lp-theme="cream"] .trust-band-v2 h2 strong{color:#314A63!important}
html[data-lp-theme="cream"] .founder-story-home .btn.text{color:#6F501D!important}
html[data-lp-theme="cream"] .founder-story-home .btn.text:hover{color:var(--r03-navy)!important}

/* ---------- R03.2 checkout authority layer ----------
   The earlier compatibility layer uses a high-specificity :is(...) selector.
   These rules intentionally outrank it so premium cards keep semantic on-dark/on-light contrast. */
html[data-lp-theme="cream"] body .lp-checkout-v7 .lp-plan-card.lp-plan-card--annual{
  color:#F7F3EC!important;
  background:radial-gradient(circle at 10% 4%,rgba(217,189,122,.13),transparent 13rem),linear-gradient(145deg,#213A58,#15253D 74%)!important;
  border-color:rgba(217,189,122,.48)!important;
  box-shadow:var(--r03-shadow-deep)!important;
}
html[data-lp-theme="cream"] body .lp-checkout-v7 .lp-plan-card.lp-plan-card--annual :is(.lp-plan-title,.lp-plan-price b,.new-price,strong,b){color:#FFFFFF!important}
html[data-lp-theme="cream"] body .lp-checkout-v7 .lp-plan-card.lp-plan-card--annual :is(.lp-plan-desc,.lp-plan-price small,.lp-plan-old,li){color:#DDE5EA!important}
html[data-lp-theme="cream"] body .lp-checkout-v7 .lp-plan-card.lp-plan-card--annual :is(.lp-plan-tag,.saving){color:#F0D18A!important}
html[data-lp-theme="cream"] body .lp-checkout-v7 .lp-plan-card.lp-plan-card--annual .lp-plan-ribbon{
  color:var(--r03-navy)!important;background:linear-gradient(135deg,#F0D795,#CFA552)!important;
}
html[data-lp-theme="cream"] body .lp-checkout-v7 .lp-plan-card.lp-plan-card--six{
  color:var(--r03-ink)!important;background:var(--r03-surface)!important;border-color:var(--r03-line)!important;
}
html[data-lp-theme="cream"] body .lp-checkout-v7 .lp-plan-card.lp-plan-card--six:has(input:checked){
  color:var(--r03-ink)!important;background:#F4E8D2!important;border-color:#B58A3A!important;
}
html[data-lp-theme="cream"] body .lp-checkout-v7 .lp-plan-card.lp-plan-card--six :is(.lp-plan-title,.lp-plan-price b,.new-price,strong,b){color:var(--r03-navy)!important}
html[data-lp-theme="cream"] body .lp-checkout-v7 .lp-plan-card.lp-plan-card--six :is(.lp-plan-desc,.lp-plan-price small,li){color:#4F5F6A!important}

/* ---------- R03.3 accessibility contrast sweep ----------
   Final semantic hardening found by computed-style audit across all public pages. */
html[data-lp-theme="cream"] body .seo-related-grid a span{color:#56636B!important}
html[data-lp-theme="cream"] body .seo-related-grid a p{color:#56636B!important}
html[data-lp-theme="cream"] body .seo-step-grid article>span{
  color:#F0D18A!important;background:#15253D!important;border-color:#15253D!important;
}
html[data-lp-theme="cream"] body .profile-official-card .seal{
  color:#F0D18A!important;background:#15253D!important;
}
html[data-lp-theme="cream"] body .seo-guide-card .tag,
html[data-lp-theme="cream"] body .academy-card .tag{color:#76531A!important}
html[data-lp-theme="cream"] body .blog-card time,
html[data-lp-theme="cream"] body .post time{color:#596872!important}
html[data-lp-theme="cream"] body .lp-checkout-v7 .lp-plan-card.lp-plan-card--six .lp-plan-tag{
  color:#173A42!important;background:#DCEBE5!important;border-color:#BFD4CB!important;
}
html[data-lp-theme="cream"] body .lp-survey-header-label{color:#76531A!important}
html[data-lp-theme="cream"] body .calc-reset{color:#52636F!important;background:#FFFDF8!important;border-color:#D3C8B8!important}
html[data-lp-theme="cream"] body .calc-reset:disabled{color:#687781!important;opacity:1!important}
html[data-lp-theme="cream"] body .compare-label{color:#73511A!important}
html[data-lp-theme="cream"] body .security-copy small,
html[data-lp-theme="cream"] body .session-copy small{color:#56636B!important}
html[data-lp-theme="cream"] body a.btn.text{color:#6D4E1D!important}
html[data-lp-theme="cream"] body a.btn.text:hover{color:#15253D!important}
html[data-lp-theme="cream"] body .faq-answer{color:#56636B!important}
html[data-lp-theme="cream"] body .section-intro{color:#56636B!important}
html[data-lp-theme="cream"] body .legal-effective,
html[data-lp-theme="cream"] body .legal-effective time{color:#4F5962!important}
html[data-lp-theme="cream"] body .r03-contract-hero .seo-kicker{color:#76531A!important}
html[data-lp-theme="cream"] body .r03-contract-hero .seo-shell>.breadcrumbs,
html[data-lp-theme="cream"] body .r03-contract-hero .breadcrumbs{color:#59636B!important}
html[data-lp-theme="cream"] body .court-helper{color:#566875!important}
html[data-lp-theme="cream"] body .support-alternatives small{color:#56636B!important}
html[data-lp-theme="cream"] body .support-alternatives-hours{
  color:#365F4B!important;background:#E7EFEA!important;border-color:#BDD0C4!important;
}
html[data-lp-theme="cream"] body .support-channel-card small{color:#59636B!important}
html[data-lp-theme="cream"] body .support-mode-card small{color:#59636B!important}
html[data-lp-theme="cream"] body .pr3-eyebrow,
html[data-lp-theme="cream"] body .pr3-main .eyebrow{color:#76531A!important}
html[data-lp-theme="cream"] body .pr3-main a:not(.btn){color:#684A1B!important}
html[data-lp-theme="cream"] body .pr3-main .muted,
html[data-lp-theme="cream"] body .pr3-main small{color:#59636B!important}
html[data-lp-theme="cream"] body video{color:#DDE5EA!important}
html[data-lp-theme="cream"] body .seo-proof-list span{color:#56636B!important}
html[data-lp-theme="cream"] body .seo-how p,
html[data-lp-theme="cream"] body .seo-intent-section p{color:#56636B!important}

/* ---------- R03.4 final contrast authority for legacy high-specificity components ---------- */
html[data-lp-theme="cream"] body .seo-story .seo-bullets div b,
html[data-lp-theme="cream"] body .r03-contract-hero .seo-bullets div b{
  color:#F2D58F!important;
}
html[data-lp-theme="cream"] body .profile-principle>span{
  color:#F2D58F!important;background:#15253D!important;
}
html[data-lp-theme="cream"] body .profile-official-card .seal{color:#F2D58F!important}
html[data-lp-theme="cream"] body .academy-rc6 .lesson-card-copy>span,
html[data-lp-theme="cream"] body .academy-rc6 .lesson-card-copy .tag{color:#76531A!important}
html[data-lp-theme="cream"] body .academy-rc6 .section-head p{color:#56636B!important}
html[data-lp-theme="cream"] body .site-header .lp-survey-header-label{color:#76531A!important}
html[data-lp-theme="cream"] body .seo-hero .seo-shell{color:#56636B!important}
html[data-lp-theme="cream"] body .seo-hero .seo-shell .seo-kicker{color:#76531A!important}
html[data-lp-theme="cream"] body .compare-col.old li{color:#4D5D68!important}
html[data-lp-theme="cream"] body #teaser .split-heading p{color:#56636B!important}
html[data-lp-theme="cream"] body .security-points small{color:#56636B!important}
html[data-lp-theme="cream"] body .calculator-code{color:#76531A!important}
html[data-lp-theme="cream"] body .tools-free i{color:#365F4B!important}
html[data-lp-theme="cream"] body .recovery-page .pr3-breadcrumb,
html[data-lp-theme="cream"] body .recovery-page .pr3-breadcrumb span{color:#59636B!important}
html[data-lp-theme="cream"] body .recovery-page .pr3-breadcrumb strong{color:#684A1B!important}
html[data-lp-theme="cream"] body .recovery-page .pr3-help-head span{color:#684A1B!important}
html[data-lp-theme="cream"] body .recovery-page .pr3-support span{color:#56636B!important}
html[data-lp-theme="cream"] body .support-page .support-priority small{color:#56636B!important}
html[data-lp-theme="cream"] body .soft .eyebrow,
html[data-lp-theme="cream"] body .warm .eyebrow{color:#76531A!important}

/* ---------- R03.5 close remaining computed-contrast exceptions ---------- */
html[data-lp-theme="cream"] body.founder-profile-page main#main .profile-proof .profile-proof-copy .eyebrow{color:#76531A!important}
html[data-lp-theme="cream"] body.founder-profile-page main#main .profile-official-card .profile-official-link span{color:#684A1B!important}
html[data-lp-theme="cream"] body main section.seo-hero .seo-shell.seo-shell{color:#4F5E67!important}
html[data-lp-theme="cream"] body.recovery-page main.pr3-main section.pr3-hero .pr3-breadcrumb span{color:#56636B!important}
html[data-lp-theme="cream"] body.recovery-page main.pr3-main section.pr3-hero .pr3-breadcrumb strong{color:#684A1B!important}
html[data-lp-theme="cream"] body.recovery-page main.pr3-main section.pr3-help .pr3-help-head span{color:#684A1B!important}
html[data-lp-theme="cream"] body.recovery-page main.pr3-main section.pr3-help .pr3-support span{color:#56636B!important}
html[data-lp-theme="cream"] body .support-page .support-ticket-card .support-priority label span small{color:#56636B!important}
html[data-lp-theme="cream"] body main section.seo-hero .seo-shell.seo-hero-grid>div:first-child{color:#4F5E67!important}
html[data-lp-theme="cream"] body main .support-ticket-card .support-ticket-form .support-priority label span small{color:#56636B!important}

/* ---------- R03.6 checkout promo-chip readability + mobile wrap guard ---------- */
html[data-lp-theme="cream"] body .lp-checkout-v7 .lp-plan-card.lp-plan-card--annual .lp-plan-tag{
  color:#15253D!important;
  background:linear-gradient(145deg,#F8E5AE,#DDBA68)!important;
  border-color:rgba(255,239,190,.72)!important;
  text-shadow:none!important;
}
@media(max-width:700px){
  html[data-lp-theme="cream"] body .lp-checkout-v7 .lp-plan-card.lp-plan-card--annual .lp-plan-tag{
    white-space:nowrap!important;
    font-size:.69rem!important;
    padding:7px 9px!important;
  }
}
@media(max-width:700px){
  html[data-lp-theme="cream"] body .lp-checkout-v7 .lp-plan-card.lp-plan-card--annual .lp-plan-tag{
    white-space:normal!important;
    max-width:96px!important;
    min-width:0!important;
    font-size:.64rem!important;
    line-height:1.45!important;
    text-align:center!important;
    padding:6px 7px!important;
  }
}

/* ---------- R03.7 ultra-narrow phone overflow guard ----------
   Only decorative circles are resized; content/layout geometry is untouched. */
@media(max-width:340px){
  html[data-lp-theme="cream"] .product-stage-v2 .stage-orbit,
  html[data-lp-theme="cream"] .r05-contract-stage .r05-contract-glow{
    width:calc(100vw - 10px)!important;
    height:calc(100vw - 10px)!important;
  }
}

/* ---------- R03.8 final breadcrumb + support hierarchy authority ---------- */
html[data-lp-theme="cream"] body .seo-breadcrumb .seo-shell{
  color:#4F5E67!important;
}
html[data-lp-theme="cream"] body .seo-breadcrumb .seo-shell a{
  color:#31506D!important;
}
html[data-lp-theme="cream"] body .support-workspace .support-ticket-card .support-ticket-form .support-priority label span small{
  color:#56636B!important;
}

/* ---------- R03.9 dark-accent descendant authority ----------
   Legacy broad light-surface heading rules had higher specificity than the
   bounded dark accent components. Keep all typography explicitly on-dark. */
html[data-lp-theme="cream"] body main section.hero.hero-v2 .product-stage.product-stage-v2 .signal-card b{
  color:#FFFFFF!important;
}
html[data-lp-theme="cream"] body main section.hero.hero-v2 .product-stage.product-stage-v2 .signal-card small{
  color:#F0D18A!important;
}
html[data-lp-theme="cream"] body main section.legal-tools-home .legal-tools-home-visual b.legal-tools-home-badge{
  color:#F8F4EC!important;
}

/* ---------- R03.10 gradient-aware semantic contrast sweep ----------
   Final color authority for light gradients and bounded dark accents discovered
   during real computed-style audit across all 51 pages. Layout is untouched. */

/* Breadcrumbs and page-hero metadata on warm light hero surfaces */
html[data-lp-theme="cream"] body .page-hero .breadcrumbs,
html[data-lp-theme="cream"] body .page-hero .breadcrumbs span{
  color:#56636B!important;
}
html[data-lp-theme="cream"] body .page-hero .breadcrumbs a{
  color:#31506D!important;
}
html[data-lp-theme="cream"] body .page-hero .post-meta :is(time,span){
  color:#684A1B!important;
}

/* Main navigation selected item: gold surface requires navy copy */
html[data-lp-theme="cream"] body .site-header .nav a.active{
  color:#15253D!important;
}

/* Home hero proof / command / comparison: no pale copy on ivory */
html[data-lp-theme="cream"] body main .hero.hero-v2 .hero-proof span{
  color:#4F5E67!important;
}
html[data-lp-theme="cream"] body main .hero.hero-v2 .hero-proof span b{
  color:#15253D!important;
}
html[data-lp-theme="cream"] body main .command-copy .command-item>span,
html[data-lp-theme="cream"] body main .compare-col.new :is(.compare-label,li){
  color:#4F5E67!important;
}
html[data-lp-theme="cream"] body main .command-product .product-caption{
  color:#DDE5EA!important;
}
html[data-lp-theme="cream"] body main #legal-intelligence .li-kicker,
html[data-lp-theme="cream"] body main #legal-tools-home .eyebrow{
  color:#76531A!important;
}

/* Floating dark notes: explicit on-dark descendants beat legacy light-surface rules */
html[data-lp-theme="cream"] body main #legal-intelligence .li-primary-visual .li-float-note small{
  color:#D7E0E6!important;
}
html[data-lp-theme="cream"] body main #legal-intelligence .li-primary-visual .li-float-note b{
  color:#FFFFFF!important;
}

/* Contract evidence blocks: every descendant follows its actual surface */
html[data-lp-theme="cream"] body main .r05-contract-stage .r05-contract-foot>div small,
html[data-lp-theme="cream"] body main .r05-contract-stage .r05-contract-verify>div small{
  color:#DDE5EA!important;
}
html[data-lp-theme="cream"] body main .r05-contract-stage .r05-contract-foot>div b,
html[data-lp-theme="cream"] body main .r05-contract-stage .r05-contract-verify>div b{
  color:#FFFFFF!important;
}
html[data-lp-theme="cream"] body main .r05-contract-stage .r05-contract-verify>span{
  color:#15253D!important;
}

/* Founder editorial surfaces */
html[data-lp-theme="cream"] body .founder-card .founder-number{
  color:#76531A!important;
}
html[data-lp-theme="cream"] body .founder-card .founder-identity span,
html[data-lp-theme="cream"] body .founder-story-home .founder-signature span{
  color:#4F5E67!important;
}
html[data-lp-theme="cream"] body .founder-story-home .eyebrow,
html[data-lp-theme="cream"] body .recovery-strip .eyebrow,
html[data-lp-theme="cream"] body .final-cta .eyebrow{
  color:#76531A!important;
}
html[data-lp-theme="cream"] body .founder-profile-hero .profile-latin-name{
  color:#4F5E67!important;
}

/* Academy hero and lesson metadata were inherited from their former dark skin */
html[data-lp-theme="cream"] body .lesson-real-hero .crumbs{
  color:#56636B!important;
}
html[data-lp-theme="cream"] body .lesson-real-hero .crumbs span{
  color:#56636B!important;
}
html[data-lp-theme="cream"] body .lesson-real-hero .crumbs a{
  color:#684A1B!important;
}
html[data-lp-theme="cream"] body .lesson-real-hero .lesson-meta span{
  color:#31506D!important;
}
html[data-lp-theme="cream"] body .academy-hero .academy-proof span{
  color:#4F5E67!important;
}

/* SEO proof chips and CTA/support copy on light premium gradients */
html[data-lp-theme="cream"] body .seo-hero .seo-proof span{
  color:#31506D!important;
}
html[data-lp-theme="cream"] body .seo-cta-band p,
html[data-lp-theme="cream"] body .final-cta p{
  color:#4F5E67!important;
}

/* Legal-tools gateway: dark icon tiles require bright gold, light copy needs stronger slate */
html[data-lp-theme="cream"] body .tools-index .tools-index-head p{
  color:#4F5E67!important;
}
html[data-lp-theme="cream"] body .r04-tools-gateway .seo-card .seo-card-icon{
  color:#F2D58F!important;
}
html[data-lp-theme="cream"] body .court-panel-head p{
  color:#4F5E67!important;
}

/* Referral / recovery details */
html[data-lp-theme="cream"] body #referral-reward .referral-reward-note small{
  color:#56636B!important;
}
html[data-lp-theme="cream"] body .lp-checkout-recovery.lp-recovery-premium .lp-recovery-kicker{
  color:#76531A!important;
}
html[data-lp-theme="cream"] body .lp-checkout-recovery.lp-recovery-premium .lp-recovery-action small{
  color:#56636B!important;
}
html[data-lp-theme="cream"] body .pr3-trust article>span{
  color:#684A1B!important;
}
html[data-lp-theme="cream"] body .lp-recovery-panel .lp-stepper span.is-active small{
  color:#15253D!important;
}

/* Checkout progress head is a bounded navy surface */
html[data-lp-theme="cream"] body .lp-checkout-v7 .lp-progress-head #progressTitle{
  color:#FFFFFF!important;
}

/* Admin sign-in/visual panel remains branded navy */
html[data-lp-theme="cream"] body #gate .gate-visual .visual-copy p{
  color:#DDE5EA!important;
}

/* ---------- R03.11 last high-specificity contrast closure ---------- */
html[data-lp-theme="cream"] body header.site-header .lp-shell nav.nav>a.active{
  color:#15253D!important;
}
html[data-lp-theme="cream"] body main .container.final-cta p,
html[data-lp-theme="cream"] body main .seo-cta-band p{
  color:#455762!important;
}
html[data-lp-theme="cream"] body main .recovery-strip.recovery-strip--rc3 .recovery-copy .eyebrow{
  color:#684A1B!important;
}
html[data-lp-theme="cream"] body .lp-progress-head #progressTitle{
  color:#FFFFFF!important;
}
html[data-lp-theme="cream"] body main .r05-contract-stage .r05-contract-sheet .r05-contract-foot>div>small,
html[data-lp-theme="cream"] body main .r05-contract-stage .r05-contract-verify>div>small{
  color:#DDE5EA!important;
}
html[data-lp-theme="cream"] body main .r05-contract-stage .r05-contract-sheet .r05-contract-foot>div>b,
html[data-lp-theme="cream"] body main .r05-contract-stage .r05-contract-verify>div>b{
  color:#FFFFFF!important;
}
html[data-lp-theme="cream"] body main .r05-contract-stage .r05-contract-verify>span{
  color:#15253D!important;
}

/* ---------- R03.12 specificity closure for legacy selectors ---------- */
html[data-lp-theme="cream"] body header.site-header div.lp-shell nav.nav>a[aria-current="page"]{
  color:#15253D!important;
}
html[data-lp-theme="cream"] body main div.seo-feature-split div.contract-stage.r05-contract-stage>div.r05-contract-verify>div>b{
  color:#FFFFFF!important;
}
html[data-lp-theme="cream"] body main div.seo-feature-split div.contract-stage.r05-contract-stage>div.r05-contract-verify>div>small{
  color:#DDE5EA!important;
}
html[data-lp-theme="cream"] body main div.seo-feature-split div.contract-stage.r05-contract-stage>div.r05-contract-verify>span{
  color:#15253D!important;
}
html[data-lp-theme="cream"] body main section.section.founder-section .founder-copy.founder-story-home>span.eyebrow{
  color:#684A1B!important;
}
html[data-lp-theme="cream"] body main div.container.final-cta>div>p,
html[data-lp-theme="cream"] body main div.seo-cta-band>p{
  color:#455762!important;
}

/* ---------- R03.13 close :is() specificity inherited from R02 compatibility ---------- */
html[data-lp-theme="cream"] body main .seo-section .seo-shell .seo-cta-band.seo-cta-band p{
  color:#455762!important;
}
html[data-lp-theme="cream"] body main section.final-section .container.final-cta.final-cta-v2 span.eyebrow.light{
  color:#684A1B!important;
}

/* ---------- R03.14 final premium contrast closure ----------
   Explicitly closes the remaining gradient-aware contrast findings. No geometry,
   media, routing or application behavior is changed. */
html[data-lp-theme="cream"] body main .r03-contract-hero .seo-bullets div>b{
  color:#F4D58F!important;
}
html[data-lp-theme="cream"] body main .r03-contract-hero .seo-kicker,
html[data-lp-theme="cream"] body main .seo-head .seo-kicker,
html[data-lp-theme="cream"] body main .seo-kicker,
html[data-lp-theme="cream"] body main .eyebrow{
  color:#76531A!important;
}
html[data-lp-theme="cream"] body .calculator-head .calculator-code{
  color:#76531A!important;
}
html[data-lp-theme="cream"] body.recovery-page .pr3-help a span,
html[data-lp-theme="cream"] body.recovery-page .pr3-help a>span,
html[data-lp-theme="cream"] body.recovery-page .pr3-help a{
  color:#31506D!important;
}
html[data-lp-theme="cream"] body .founder-profile-hero :is(.eyebrow,.profile-eyebrow),
html[data-lp-theme="cream"] body .founder-card .founder-number{
  color:#76531A!important;
}
html[data-lp-theme="cream"] body .founder-card .founder-number:is([data-dark],.on-dark),
html[data-lp-theme="cream"] body .founder-profile-hero .profile-steps span{
  color:#F0D79B!important;
}
html[data-lp-theme="cream"] body .academy-page .academy-card>span,
html[data-lp-theme="cream"] body .academy-page .academy-card .academy-card-kicker,
html[data-lp-theme="cream"] body .academy-page .academy-category-label{
  color:#76531A!important;
}
html[data-lp-theme="cream"] body .academy-page :is(.academy-intro p,.academy-copy p,.academy-lead){
  color:#4F5E67!important;
}
html[data-lp-theme="cream"] body .lp-survey-header-label{
  color:#684A1B!important;
}
html[data-lp-theme="cream"] body main .compare-col.old li,
html[data-lp-theme="cream"] body main .compare-col.new li,
html[data-lp-theme="cream"] body main .problem-list li{
  color:#455762!important;
}
html[data-lp-theme="cream"] body main .teaser-copy p,
html[data-lp-theme="cream"] body main .teaser-v2 p{
  color:#455762!important;
}
html[data-lp-theme="cream"] body main .trust-card small,
html[data-lp-theme="cream"] body main .security-proof small,
html[data-lp-theme="cream"] body main .proof-card small{
  color:#4F5E67!important;
}
html[data-lp-theme="cream"] body .tools-page .calculator-code{
  color:#76531A!important;
}
html[data-lp-theme="cream"] body .tools-page .success :is(i,.check,.status-icon),
html[data-lp-theme="cream"] body .tools-page .calc-result.success i{
  color:#365F4B!important;
}
html[data-lp-theme="cream"] body .recovery-page .pr3-support strong,
html[data-lp-theme="cream"] body .recovery-page .pr3-support b{
  color:#76531A!important;
}
html[data-lp-theme="cream"] body .recovery-page .pr3-support span{
  color:#4F5E67!important;
}
html[data-lp-theme="cream"] body .support-page :is(.support-channel-card,.support-mode-card) small{
  color:#4F5E67!important;
}

/* Founder numbered chips are navy surfaces in the profile page. */
html[data-lp-theme="cream"] body .founder-profile-hero :is(.profile-step,.profile-number,.story-number) :is(span,b,strong),
html[data-lp-theme="cream"] body .founder-profile-hero :is(.profile-step,.profile-number,.story-number){
  color:#F0D79B!important;
}

/* Theme chooser is intentionally only on Home. Keep it clear of the fixed mobile CTA. */
@media(max-width:720px){
  html[data-lp-theme="cream"] body .lp-theme-picker{
    bottom:88px!important;
    max-width:calc(100vw - 24px)!important;
  }
  html[data-lp-theme="cream"] body:has(.mobile-sticky-cta){
    padding-bottom:86px!important;
  }
}

/* ========================================================================
   LEGALPLUS WARM IVORY PREMIUM R04 — FINAL VISUAL AUTHORITY
   2026-09-29
   Scope is deliberately restricted to the theme layer: palette, contrast,
   component state colors and the theme selector. No product layout, media,
   routes, OTP/payment/session/API or business logic is changed here.
   ======================================================================== */
html[data-lp-theme="cream"]{
  --r04-bg:#F6F1E7;
  --r04-surface:#FFFCF6;
  --r04-surface-soft:#F3EBDD;
  --r04-navy:#15253D;
  --r04-navy-2:#213A58;
  --r04-copy:#52616C;
  --r04-muted:#70777C;
  --r04-gold:#B58A3A;
  --r04-gold-deep:#76531A;
  --r04-gold-light:#F0D18A;
  --r04-line:#D9CEBD;
}

/* 1) Founder badge: it sits on a light photo-card, therefore it must be a
   crisp bounded dark accent, not a muddy low-contrast grey/gold pill. */
html[data-lp-theme="cream"] body .founder-photo-card .founder-number,
html[data-lp-theme="cream"] body .founder-number{
  color:var(--r04-gold-light)!important;
  background:linear-gradient(145deg,#213A58,#15253D)!important;
  border-color:rgba(217,189,122,.42)!important;
  box-shadow:0 8px 22px rgba(21,37,61,.14)!important;
  text-shadow:none!important;
  opacity:1!important;
}

/* 2) Commerce promo pair: both cards intentionally remain branded navy.
   Every nested textual token is therefore explicitly ON-DARK. This closes
   the inherited light-surface heading rules that caused navy-on-navy copy. */
html[data-lp-theme="cream"] body .admin-r06-commerce-addons :is(.admin-r06-trainee-offer,.admin-r06-ios-soon){
  color:#F8F4EC!important;
  background:radial-gradient(circle at 50% 10%,rgba(217,189,122,.10),transparent 34%),linear-gradient(145deg,#17364F,#0F293E 76%)!important;
  border-color:rgba(217,189,122,.46)!important;
  box-shadow:0 18px 42px rgba(21,37,61,.16)!important;
}
html[data-lp-theme="cream"] body .admin-r06-commerce-addons :is(.admin-r06-trainee-offer,.admin-r06-ios-soon) strong{
  color:#FFFFFF!important;
  text-shadow:none!important;
  opacity:1!important;
}
html[data-lp-theme="cream"] body .admin-r06-commerce-addons .admin-r06-ios-soon p{
  color:#DCE4E9!important;
  text-shadow:none!important;
  opacity:1!important;
}
html[data-lp-theme="cream"] body .admin-r06-commerce-addons .admin-r06-offer-number,
html[data-lp-theme="cream"] body .admin-r06-commerce-addons .admin-r06-offer-number :is(b,span){
  color:#F0D18A!important;
  text-shadow:none!important;
  opacity:1!important;
}
html[data-lp-theme="cream"] body .admin-r06-commerce-addons :is(.admin-r06-offer-label,.admin-r06-offer-badge){
  color:#15253D!important;
  background:linear-gradient(145deg,#F4D98F,#DDB65E)!important;
  border:1px solid rgba(255,248,225,.44)!important;
  text-shadow:none!important;
  opacity:1!important;
}
html[data-lp-theme="cream"] body .admin-r06-commerce-addons .admin-r06-limited{
  color:#15253D!important;
  background:linear-gradient(135deg,#F5D991,#D9AF55)!important;
  border-color:rgba(255,249,229,.58)!important;
  text-shadow:none!important;
}

/* 3) Professional membership selector in legal-tools / attorney-fee flow.
   Existing monograms are kept (no new iconography or assets); only clarity,
   contrast and visual hierarchy are corrected. */
html[data-lp-theme="cream"] body .calc-field--membership .calc-choice{
  color:#314554!important;
  background:#FFFDF8!important;
  border-color:#D7CCBC!important;
  box-shadow:0 5px 14px rgba(41,34,24,.045)!important;
}
html[data-lp-theme="cream"] body .calc-field--membership .calc-choice :is(span,b,strong){color:inherit!important}
html[data-lp-theme="cream"] body .calc-field--membership .calc-choice i{
  color:#FFF9EC!important;
  background:linear-gradient(145deg,#244761,#152F47)!important;
  border-color:rgba(217,189,122,.56)!important;
  box-shadow:0 4px 10px rgba(21,37,61,.16),inset 0 1px rgba(255,255,255,.16)!important;
  text-shadow:none!important;
}
html[data-lp-theme="cream"] body .calc-field--membership .calc-choice[data-choice-value="bar"] i::after,
html[data-lp-theme="cream"] body .calc-field--membership .calc-choice[data-choice-value="center"] i::after{
  color:#F3D58E!important;
  font-size:.86rem!important;
  font-weight:950!important;
  line-height:1!important;
  opacity:1!important;
  text-shadow:none!important;
}
html[data-lp-theme="cream"] body .calc-field--membership .calc-choice:is(.is-selected,:has(input:checked)){
  color:#15253D!important;
  background:linear-gradient(145deg,#F6EAD1,#EEDBB6)!important;
  border-color:#B58A3A!important;
  box-shadow:0 0 0 3px rgba(181,138,58,.10),0 7px 18px rgba(70,53,30,.07)!important;
}
html[data-lp-theme="cream"] body .calc-field--membership .calc-choice:is(.is-selected,:has(input:checked)) i{
  color:#15253D!important;
  background:linear-gradient(145deg,#F3D98F,#D8AF58)!important;
  border-color:#C99B44!important;
  box-shadow:0 4px 10px rgba(138,102,36,.16)!important;
}
html[data-lp-theme="cream"] body .calc-field--membership .calc-choice:is(.is-selected,:has(input:checked)) i::after{
  color:#15253D!important;
}
html[data-lp-theme="cream"] body .calc-field--membership .calc-choice:hover{
  color:#15253D!important;
  border-color:#C9B58F!important;
  background:#FAF4E9!important;
}

/* 4) Defensive on-dark semantics for bounded navy UI islands. This list is
   intentionally specific; it does not globally recolor arbitrary content. */
html[data-lp-theme="cream"] body :is(
  .admin-r06-trainee-offer,.admin-r06-ios-soon,
  .li-float-note,.legal-tools-home-badge,.signal-card,
  .r05-contract-foot>div,.r05-contract-verify,.court-result
) :is(h1,h2,h3,h4,h5,h6,strong,b){color:#FFFFFF!important}
html[data-lp-theme="cream"] body :is(
  .admin-r06-trainee-offer,.admin-r06-ios-soon,
  .li-float-note,.legal-tools-home-badge,.signal-card,
  .r05-contract-foot>div,.r05-contract-verify,.court-result
) :is(p,small,code){color:#DCE4E9!important}

/* 5) Theme chooser terminology is explicit: Dark / Light. Geometry is kept
   unchanged; only final visual polish and state contrast are authoritative. */
.lp-theme-picker{
  border-color:#D7C8B2!important;
  background:rgba(255,252,246,.97)!important;
  box-shadow:0 14px 38px rgba(41,34,24,.14)!important;
}
.lp-theme-picker button[aria-pressed="true"]{
  color:#FFFFFF!important;
  border-color:#15253D!important;
  background:linear-gradient(145deg,#213A58,#15253D)!important;
}
.lp-theme-picker button[data-lp-theme-value="cream"][aria-pressed="true"]{
  color:#15253D!important;
  border-color:#C6A45F!important;
  background:linear-gradient(145deg,#F1D99D,#D9BD7A)!important;
}

/* 6) Responsive hardening for the only component whose visual emphasis was
   altered in R04. No grids or page geometry are rewritten. */
@media(max-width:760px){
  html[data-lp-theme="cream"] body .calc-field--membership .calc-choice[data-choice-value="bar"] i::after,
  html[data-lp-theme="cream"] body .calc-field--membership .calc-choice[data-choice-value="center"] i::after{
    font-size:.84rem!important;
  }
  html[data-lp-theme="cream"] body .admin-r06-commerce-addons :is(.admin-r06-trainee-offer,.admin-r06-ios-soon){
    box-shadow:0 14px 32px rgba(21,37,61,.14)!important;
  }
}


/* ========================================================================
   R04.1 — THEME CHOOSER PLACEMENT + INVERSE-SURFACE POLISH
   User-visible refinement only. The chooser now lives in the hero flow,
   directly below the primary 30-day CTA area and above the phone stage on
   mobile. It is no longer fixed to the viewport edge.
   ======================================================================== */
.lp-theme-picker{
  position:static!important;
  z-index:auto!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  width:max-content!important;
  max-width:100%!important;
  margin:16px 0 0!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  padding:7px!important;
  border-radius:16px!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  direction:rtl!important;
}

/* Dark/classic site -> light chooser surface. */
html:not([data-lp-theme="cream"]) .lp-theme-picker{
  background:#FFFCF6!important;
  border:1px solid rgba(181,138,58,.30)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.16)!important;
}
html:not([data-lp-theme="cream"]) .lp-theme-picker__label{
  color:#15253D!important;
}
html:not([data-lp-theme="cream"]) .lp-theme-picker button{
  color:#31506D!important;
  background:transparent!important;
}
html:not([data-lp-theme="cream"]) .lp-theme-picker button:hover{
  color:#15253D!important;
  background:#F2EADD!important;
}
html:not([data-lp-theme="cream"]) .lp-theme-picker button[data-lp-theme-value="classic"][aria-pressed="true"]{
  color:#15253D!important;
  border-color:#C9A55C!important;
  background:linear-gradient(145deg,#F1D99D,#D9BD7A)!important;
  box-shadow:0 5px 14px rgba(181,138,58,.16)!important;
}

/* Light/ivory site -> deep navy chooser surface. */
html[data-lp-theme="cream"] .lp-theme-picker{
  background:linear-gradient(145deg,#213A58,#15253D)!important;
  border:1px solid rgba(217,189,122,.42)!important;
  box-shadow:0 10px 26px rgba(21,37,61,.18)!important;
}
html[data-lp-theme="cream"] .lp-theme-picker__label{
  color:#F8F3E9!important;
}
html[data-lp-theme="cream"] .lp-theme-picker button{
  color:#E6EDF1!important;
  background:transparent!important;
}
html[data-lp-theme="cream"] .lp-theme-picker button:hover{
  color:#FFFFFF!important;
  background:rgba(255,255,255,.08)!important;
}
html[data-lp-theme="cream"] .lp-theme-picker button[data-lp-theme-value="cream"][aria-pressed="true"]{
  color:#15253D!important;
  border-color:#E5C776!important;
  background:linear-gradient(145deg,#F4DFA8,#D9BD7A)!important;
  box-shadow:0 5px 14px rgba(0,0,0,.16)!important;
}

/* On the hero this remains visually subordinate to the CTA and never competes
   with the phone/product artwork. */
.hero.hero-v2 .hero-copy>.lp-theme-picker{
  align-self:flex-start!important;
}

@media(max-width:720px){
  .hero.hero-v2 .hero-copy>.lp-theme-picker{
    margin-top:14px!important;
    margin-bottom:12px!important;
    align-self:center!important;
    justify-content:center!important;
  }
  .lp-theme-picker{
    width:auto!important;
    max-width:calc(100vw - 36px)!important;
    padding:6px!important;
    border-radius:14px!important;
  }
  .lp-theme-picker__label{
    display:inline-block!important;
    padding:0 6px!important;
    font-size:.68rem!important;
  }
  .lp-theme-picker button{
    min-height:36px!important;
    padding:7px 10px!important;
    font-size:.68rem!important;
  }
}

@media(max-width:360px){
  .lp-theme-picker__label{display:none!important}
  .lp-theme-picker button{padding-inline:12px!important}
}


/* R04.2 mobile placement: immediately after the 30-day Trial CTA. */
@media(max-width:720px){
  .hero.hero-v2 .hero-actions>.lp-theme-picker{
    width:max-content!important;
    max-width:100%!important;
    justify-self:center!important;
    margin:2px auto 2px!important;
  }
}

/* ========================================================================
   R04.3 — TARGETED FINAL CLOSURE FROM USER VISUAL REVIEW
   Only the explicitly reviewed visual components are touched here.
   ======================================================================== */

/* Pricing commerce cards live inside .pricing-section, whose light-theme
   typography reset has intentionally high specificity. These selectors are
   even more specific so dark branded cards retain true on-dark semantics. */
html[data-lp-theme="cream"] body main .pricing-section .admin-r06-commerce-addons .admin-r06-trainee-offer strong,
html[data-lp-theme="cream"] body main .pricing-section .admin-r06-commerce-addons .admin-r06-ios-soon strong{
  color:#FFFFFF!important;
  opacity:1!important;
  text-shadow:none!important;
}
html[data-lp-theme="cream"] body main .pricing-section .admin-r06-commerce-addons .admin-r06-ios-soon p{
  color:#DCE4E9!important;
  opacity:1!important;
}
html[data-lp-theme="cream"] body main .pricing-section .admin-r06-commerce-addons .admin-r06-offer-number,
html[data-lp-theme="cream"] body main .pricing-section .admin-r06-commerce-addons .admin-r06-offer-number b,
html[data-lp-theme="cream"] body main .pricing-section .admin-r06-commerce-addons .admin-r06-offer-number span{
  color:#F0D18A!important;
  opacity:1!important;
  text-shadow:none!important;
}

/* Founder badge: preserve the existing card/photo/layout, but make its role
   label unmistakably legible on the ivory composition. */
html[data-lp-theme="cream"] body main .founder-section .founder-photo-card .founder-number{
  color:#F4DFA8!important;
  background:linear-gradient(145deg,#213A58,#15253D)!important;
  border:1px solid rgba(217,189,122,.46)!important;
  box-shadow:0 8px 22px rgba(21,37,61,.14)!important;
  opacity:1!important;
  text-shadow:none!important;
}

/* Professional-membership monograms are the existing UI marks (no new asset).
   Increase optical size/contrast so کانون / مرکز are immediately distinguishable. */
html[data-lp-theme="cream"] body.tools-page .calc-field--membership .calc-choice{
  grid-template-columns:40px minmax(0,1fr)!important;
  min-height:58px!important;
}
html[data-lp-theme="cream"] body.tools-page .calc-field--membership .calc-choice i{
  width:38px!important;
  height:38px!important;
  border:1px solid rgba(217,189,122,.66)!important;
  border-radius:11px!important;
}
html[data-lp-theme="cream"] body.tools-page .calc-field--membership .calc-choice[data-choice-value="bar"] i::after,
html[data-lp-theme="cream"] body.tools-page .calc-field--membership .calc-choice[data-choice-value="center"] i::after{
  display:block!important;
  color:#F3D58E!important;
  font-size:1rem!important;
  font-weight:1000!important;
  line-height:1!important;
  opacity:1!important;
  text-shadow:none!important;
}
html[data-lp-theme="cream"] body.tools-page .calc-field--membership .calc-choice:is(.is-selected,:has(input:checked)) i::after{
  color:#15253D!important;
}

@media(max-width:760px){
  html[data-lp-theme="cream"] body.tools-page .calc-field--membership .calc-choice{
    grid-template-columns:38px minmax(0,1fr)!important;
    min-height:56px!important;
  }
  html[data-lp-theme="cream"] body.tools-page .calc-field--membership .calc-choice i{
    width:36px!important;
    height:36px!important;
  }
  html[data-lp-theme="cream"] body.tools-page .calc-field--membership .calc-choice[data-choice-value="bar"] i::after,
  html[data-lp-theme="cream"] body.tools-page .calc-field--membership .calc-choice[data-choice-value="center"] i::after{
    font-size:.94rem!important;
  }
}


/* ========================================================================
   R04.4 — USER-REQUESTED MICRO-CORRECTIONS ONLY
   Scope is deliberately narrow:
   1) gold professional-proof card in the light theme,
   2) theme selector moved above the phone/product stage,
   3) exact centering of the existing ک / م membership monograms.
   No page layout, media, OTP/payment logic, images or existing application JS
   is changed by this block.
   ======================================================================== */

/* 1) "ساخته‌شده توسط وکیل، برای وکیل" — true premium gold surface in light theme. */
html[data-lp-theme="cream"] body main .hero.hero-v2 .hero-proof span:nth-child(3){
  color:#1B2C42!important;
  border-color:#C69A42!important;
  background:
    radial-gradient(circle at 50% 0,rgba(255,248,216,.52),transparent 58%),
    linear-gradient(145deg,#F0D58F 0%,#E1BC63 52%,#D4A84B 100%)!important;
  box-shadow:
    0 15px 34px rgba(122,88,30,.16),
    0 0 0 3px rgba(181,138,58,.08),
    inset 0 1px rgba(255,255,255,.48)!important;
}
html[data-lp-theme="cream"] body main .hero.hero-v2 .hero-proof span:nth-child(3),
html[data-lp-theme="cream"] body main .hero.hero-v2 .hero-proof span:nth-child(3) b{
  color:#15253D!important;
  opacity:1!important;
  text-shadow:none!important;
}
html[data-lp-theme="cream"] body main .hero.hero-v2 .hero-proof span:nth-child(3)::before{
  color:#17344A!important;
}

/* 2) Theme selector — anchored to the phone/product column, below the header
      Trial/Support controls and above the phone. It is intentionally absolute
      so the existing hero geometry does not reflow. */
.hero.hero-v2 .product-stage-v2 > .lp-theme-picker.lp-theme-picker--stage{
  position:absolute!important;
  z-index:12!important;
  top:18px!important;
  left:-16px!important;
  right:auto!important;
  bottom:auto!important;
  margin:0!important;
  width:max-content!important;
  max-width:min(94%,360px)!important;
  transform:none!important;
  direction:rtl!important;
  border-radius:17px!important;
  backdrop-filter:blur(14px)!important;
  -webkit-backdrop-filter:blur(14px)!important;
}

/* Light/ivory site => selector itself is deep navy, as requested. */
html[data-lp-theme="cream"] .hero.hero-v2 .product-stage-v2 > .lp-theme-picker{
  color:#FFF9ED!important;
  border:1px solid rgba(217,189,122,.62)!important;
  border-left:4px solid #D9BD7A!important;
  background:linear-gradient(145deg,rgba(31,58,82,.98),rgba(18,39,61,.98))!important;
  box-shadow:0 16px 34px rgba(21,37,61,.20),inset 0 1px rgba(255,255,255,.08)!important;
}
html[data-lp-theme="cream"] .hero.hero-v2 .product-stage-v2 > .lp-theme-picker .lp-theme-picker__label,
html[data-lp-theme="cream"] .hero.hero-v2 .product-stage-v2 > .lp-theme-picker button{
  color:#F7EFE2!important;
}
html[data-lp-theme="cream"] .hero.hero-v2 .product-stage-v2 > .lp-theme-picker button:hover{
  color:#FFFFFF!important;
  background:rgba(255,255,255,.09)!important;
}
html[data-lp-theme="cream"] .hero.hero-v2 .product-stage-v2 > .lp-theme-picker button[data-lp-theme-value="cream"][aria-pressed="true"]{
  color:#15253D!important;
  border-color:#E7C977!important;
  background:linear-gradient(145deg,#F1D995,#DDBA62)!important;
  box-shadow:0 6px 16px rgba(0,0,0,.16)!important;
}

/* Original navy site => selector becomes a light ivory card. */
html:not([data-lp-theme="cream"]) .hero.hero-v2 .product-stage-v2 > .lp-theme-picker{
  color:#15253D!important;
  border:1px solid rgba(214,199,174,.96)!important;
  border-left:4px solid #C9A85F!important;
  background:rgba(255,251,243,.97)!important;
  box-shadow:0 16px 34px rgba(0,0,0,.20),inset 0 1px rgba(255,255,255,.82)!important;
}
html:not([data-lp-theme="cream"]) .hero.hero-v2 .product-stage-v2 > .lp-theme-picker .lp-theme-picker__label,
html:not([data-lp-theme="cream"]) .hero.hero-v2 .product-stage-v2 > .lp-theme-picker button{
  color:#243A4E!important;
}
html:not([data-lp-theme="cream"]) .hero.hero-v2 .product-stage-v2 > .lp-theme-picker button:hover{
  color:#15253D!important;
  background:#F2E8D7!important;
}
html:not([data-lp-theme="cream"]) .hero.hero-v2 .product-stage-v2 > .lp-theme-picker button[data-lp-theme-value="classic"][aria-pressed="true"]{
  color:#FFF9ED!important;
  border-color:#15253D!important;
  background:linear-gradient(145deg,#213A58,#15253D)!important;
  box-shadow:0 6px 16px rgba(21,37,61,.16)!important;
}

/* Tablet / stacked hero: keep it above the phone and centered in the product column. */
@media(max-width:1020px){
  .hero.hero-v2 .product-stage-v2 > .lp-theme-picker.lp-theme-picker--stage{
    top:12px!important;
    left:50%!important;
    transform:translateX(-50%)!important;
  }
}

/* Phone: never clip or cause horizontal overflow. The control remains above the
   handset with safe gutters and does not cover the phone or signal cards. */
@media(max-width:720px){
  .hero.hero-v2 .product-stage-v2 > .lp-theme-picker.lp-theme-picker--stage{
    top:8px!important;
    left:50%!important;
    right:auto!important;
    width:max-content!important;
    max-width:calc(100% - 24px)!important;
    transform:translateX(-50%)!important;
    padding:6px!important;
    border-radius:15px!important;
  }
  .hero.hero-v2 .product-stage-v2 > .lp-theme-picker .lp-theme-picker__label{
    display:inline-block!important;
    padding-inline:6px!important;
    font-size:.68rem!important;
  }
  .hero.hero-v2 .product-stage-v2 > .lp-theme-picker button{
    min-height:36px!important;
    padding:7px 10px!important;
    font-size:.68rem!important;
  }
}
@media(max-width:360px){
  .hero.hero-v2 .product-stage-v2 > .lp-theme-picker .lp-theme-picker__label{display:none!important}
  .hero.hero-v2 .product-stage-v2 > .lp-theme-picker button{padding-inline:12px!important}
}

/* 3) Membership monograms — preserve the existing marks, but center their glyph
      box exactly in both axes so ک / م no longer sit high or off-side. */
html[data-lp-theme="cream"] body.tools-page .calc-field--membership .calc-choice i,
html:not([data-lp-theme="cream"]) body.tools-page .calc-field--membership .calc-choice i{
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  overflow:hidden!important;
  line-height:1!important;
  text-align:center!important;
}
html[data-lp-theme="cream"] body.tools-page .calc-field--membership .calc-choice[data-choice-value="bar"] i::after,
html[data-lp-theme="cream"] body.tools-page .calc-field--membership .calc-choice[data-choice-value="center"] i::after,
html:not([data-lp-theme="cream"]) body.tools-page .calc-field--membership .calc-choice[data-choice-value="bar"] i::after,
html:not([data-lp-theme="cream"]) body.tools-page .calc-field--membership .calc-choice[data-choice-value="center"] i::after{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  position:static!important;
  line-height:1!important;
  text-align:center!important;
  font-family:"Vazirmatn",Tahoma,Arial,sans-serif!important;
  transform:none!important;
  box-sizing:border-box!important;
}
html[data-lp-theme="cream"] body.tools-page .calc-field--membership .calc-choice i{
  width:40px!important;
  height:40px!important;
}
html[data-lp-theme="cream"] body.tools-page .calc-field--membership .calc-choice[data-choice-value="bar"] i::after,
html[data-lp-theme="cream"] body.tools-page .calc-field--membership .calc-choice[data-choice-value="center"] i::after{
  font-size:1rem!important;
  font-weight:950!important;
}
@media(max-width:760px){
  html[data-lp-theme="cream"] body.tools-page .calc-field--membership .calc-choice i{
    width:38px!important;
    height:38px!important;
  }
  html[data-lp-theme="cream"] body.tools-page .calc-field--membership .calc-choice[data-choice-value="bar"] i::after,
  html[data-lp-theme="cream"] body.tools-page .calc-field--membership .calc-choice[data-choice-value="center"] i::after{
    font-size:.96rem!important;
  }
}


/* ========================================================================
   R04.6 — HOMEPAGE THEME SELECTOR POSITION ONLY
   User-approved location: outer left edge of the hero, directly below the
   header Trial/Support controls and above the phone. The selector's intrinsic
   dimensions are preserved exactly; only its mounting/position and responsive
   safe-area behavior are changed.
   ======================================================================== */
.hero.hero-v2 > .lp-theme-picker.lp-theme-picker--hero-edge{
  position:absolute!important;
  z-index:25!important;
  top:42px!important;
  left:28px!important;
  right:auto!important;
  bottom:auto!important;
  margin:0!important;
  width:max-content!important;
  max-width:calc(100% - 56px)!important;
  transform:none!important;
  direction:rtl!important;
}

/* Light/ivory site => selector remains deep navy. */
html[data-lp-theme="cream"] .hero.hero-v2 > .lp-theme-picker.lp-theme-picker--hero-edge{
  color:#FFF9ED!important;
  border:1px solid rgba(217,189,122,.62)!important;
  border-left:4px solid #D9BD7A!important;
  background:linear-gradient(145deg,rgba(31,58,82,.98),rgba(18,39,61,.98))!important;
  box-shadow:0 16px 34px rgba(21,37,61,.20),inset 0 1px rgba(255,255,255,.08)!important;
}
html[data-lp-theme="cream"] .hero.hero-v2 > .lp-theme-picker.lp-theme-picker--hero-edge .lp-theme-picker__label,
html[data-lp-theme="cream"] .hero.hero-v2 > .lp-theme-picker.lp-theme-picker--hero-edge button{color:#F7EFE2!important}
html[data-lp-theme="cream"] .hero.hero-v2 > .lp-theme-picker.lp-theme-picker--hero-edge button:hover{
  color:#FFFFFF!important;background:rgba(255,255,255,.09)!important
}
html[data-lp-theme="cream"] .hero.hero-v2 > .lp-theme-picker.lp-theme-picker--hero-edge button[data-lp-theme-value="cream"][aria-pressed="true"]{
  color:#15253D!important;border-color:#E7C977!important;
  background:linear-gradient(145deg,#F1D995,#DDBA62)!important;
  box-shadow:0 6px 16px rgba(0,0,0,.16)!important
}

/* Original navy site => selector remains an ivory card. */
html:not([data-lp-theme="cream"]) .hero.hero-v2 > .lp-theme-picker.lp-theme-picker--hero-edge{
  color:#15253D!important;
  border:1px solid rgba(214,199,174,.96)!important;
  border-left:4px solid #C9A85F!important;
  background:rgba(255,251,243,.97)!important;
  box-shadow:0 16px 34px rgba(0,0,0,.20),inset 0 1px rgba(255,255,255,.82)!important;
}
html:not([data-lp-theme="cream"]) .hero.hero-v2 > .lp-theme-picker.lp-theme-picker--hero-edge .lp-theme-picker__label,
html:not([data-lp-theme="cream"]) .hero.hero-v2 > .lp-theme-picker.lp-theme-picker--hero-edge button{color:#243A4E!important}
html:not([data-lp-theme="cream"]) .hero.hero-v2 > .lp-theme-picker.lp-theme-picker--hero-edge button:hover{
  color:#15253D!important;background:#F2E8D7!important
}
html:not([data-lp-theme="cream"]) .hero.hero-v2 > .lp-theme-picker.lp-theme-picker--hero-edge button[data-lp-theme-value="classic"][aria-pressed="true"]{
  color:#FFF9ED!important;border-color:#15253D!important;
  background:linear-gradient(145deg,#213A58,#15253D)!important;
  box-shadow:0 6px 16px rgba(21,37,61,.16)!important
}

/* Stacked/tablet hero: reserve only the space required by the same-size card,
   so it never overlaps hero copy. */
@media(max-width:1020px){
  .hero.hero-v2 > .lp-theme-picker.lp-theme-picker--hero-edge{
    top:16px!important;
    left:18px!important;
    max-width:calc(100% - 36px)!important;
  }
  .hero.hero-v2 .container.hero-grid{padding-top:92px!important}
}

/* Mobile: retain exactly the same selector dimensions; only use safer gutters. */
@media(max-width:720px){
  .hero.hero-v2 > .lp-theme-picker.lp-theme-picker--hero-edge{
    top:12px!important;
    left:12px!important;
    max-width:calc(100% - 24px)!important;
    padding:6px!important;
    border-radius:16px!important;
  }
  .hero.hero-v2 > .lp-theme-picker.lp-theme-picker--hero-edge .lp-theme-picker__label{
    display:inline-block!important;
    padding:0 7px!important;
    font-size:.7rem!important;
  }
  .hero.hero-v2 > .lp-theme-picker.lp-theme-picker--hero-edge button{
    min-height:36px!important;
    padding:7px 11px!important;
    font-size:.7rem!important;
  }
  .hero.hero-v2 .container.hero-grid{padding-top:86px!important}
}


/* ========================================================================
   R04.7 — THEME SELECTOR LEFT-EDGE ARTIFACT FIX
   User-visible correction only: in the light/ivory theme the selector itself
   remains navy, but the unintended 4px gold strip on its far-left edge is
   normalized to the same 1px border weight as the rest of the control.
   Geometry, labels, active-button styling and all other site surfaces stay
   unchanged.
   ======================================================================== */
html[data-lp-theme="cream"] .hero.hero-v2 > .lp-theme-picker.lp-theme-picker--hero-edge{
  border-left-width:1px!important;
}

/* ========================================================================
   R04.8.1 — THEME SELECTOR LEFT-EDGE ARTIFACT FIX (CLASSIC + CREAM)
   Normalize the far-left border to the same 1px weight in both themes.
   No geometry, typography, active-state, layout or business logic changes.
   ======================================================================== */
html[data-lp-theme="cream"] .hero.hero-v2 > .lp-theme-picker.lp-theme-picker--hero-edge,
html:not([data-lp-theme="cream"]) .hero.hero-v2 > .lp-theme-picker.lp-theme-picker--hero-edge{
  border-left-width:1px!important;
}
