/* Follow-up to the immutable control patch: actual live caption findings.
   Color only. Preserve product swatch backgrounds, login, rail and dark viewers. */
#root#root :is(.text-orange-500,.text-orange-600,.text-orange-700,.text-amber-500,.text-amber-600,.text-amber-700):not(:where(.pp-brand-rail *, .pp-brand-login *, .pp-welcome-intro *, button.text-white,button.text-white *, .bg-gray-900 *, .bg-slate-900 *, .bg-gray-800 *, .bg-slate-800 *, .bg-black *)){
  color:#80500a!important;
}
#root#root :is(.text-teal-500,.text-teal-600,.text-emerald-500,.text-emerald-600,.text-green-500,.text-green-600):not(:where(.pp-brand-rail *, .pp-brand-login *, .pp-welcome-intro *, button.text-white,button.text-white *, .bg-gray-900 *, .bg-slate-900 *, .bg-gray-800 *, .bg-slate-800 *, .bg-black *)){
  color:#075e55!important;
}
/* Readable numeric pills on a selected control; do not recolor the control. */
#root#root button.text-white span.rounded-full.font-semibold[class~="bg-white/30"]:not(:where(.pp-brand-rail *, .pp-brand-login *)){
  background:#e3f3f0!important;color:#075e55!important;
}
#root#root :is(span,div).text-white:is(.bg-emerald-500,.bg-emerald-600,.bg-teal-500,.bg-teal-600):not(:where(.pp-brand-rail *, .pp-brand-login *, button *)){
  background:#086b65!important;color:#fff!important;
}
/* Real dark PO cards inside a white-converted outer gradient. */
#root#root .bg-gradient-to-br.from-indigo-50.via-white.to-violet-50 div.rounded-2xl.p-4.text-white:is(.bg-slate-900,.bg-indigo-600){color:#fff!important;}
#root#root .bg-gradient-to-br.from-indigo-50.via-white.to-violet-50 div.rounded-2xl.p-4.text-white:is(.bg-slate-900,.bg-indigo-600)>div{color:#fff!important;}
#root#root span.rounded-xl.bg-slate-900.text-white{color:#fff!important;}
/* Editable ink colors remain visible in tints and real dots; text uses safe ink. */
#root#root :is(span,div).font-bold[style*="color"][style*="background"]:not(:where(.pp-brand-rail *, .pp-brand-login *, .pp-welcome-intro *, .bg-gray-900 *, .bg-slate-900 *, .bg-gray-800 *, .bg-black *)){
  color:#435b5e!important;
}
#root#root :is(span.text-xs,span.font-semibold,div.font-bold[class~="text-[10px]"])[style*="color"]:not(:where(.pp-brand-rail *, .pp-brand-login *, .pp-welcome-intro *, .bg-gray-900 *, .bg-slate-900 *, .bg-gray-800 *, .bg-black *)){
  color:#435b5e!important;
}
#root#root button.text-left.p-4.rounded-2xl.border-2.bg-white div.text-xs.font-medium[style*="color"]{color:#075e55!important;}
#root#root button.text-sm.font-bold[style*="color"]:not(:where(.pp-brand-rail *, .pp-brand-login *, .pp-welcome-intro *)){color:#435b5e!important;}
/* Inline-gradient action controls are not utility bg-gradient classes. */
#root#root button.text-white.font-bold[style*="gradient"]:not(:disabled),#root#root button.pp-loss-primary{
  background:#086b65!important;color:#fff!important;
}
#root#root button.pp-loss-primary:hover:not(:disabled){background:#05514d!important;}
#root#root button.pp-loss-primary:disabled{background:#e6ebeb!important;color:#516363!important;opacity:1!important;}
/* Keep the actual dark quotation hero light; it is not a white utility card. */
#root#root section.rounded-3xl.p-5.text-white.shadow-xl[style*="gradient"]{color:#fff!important;}
#root#root section.rounded-3xl.p-5.text-white.shadow-xl[style*="gradient"] :is(.text-teal-200,.text-blue-100){color:#e3f3f0!important;}
/* Loss KPI value text only, not the icons, charts or colored surfaces. */
#root#root .pp-loss div.relative.overflow-hidden.rounded-2xl.p-4.shadow-sm.border>div.text-2xl.font-black.mt-1[style*="color"]{color:#152a2c!important;}
#root#root :is(label,a).text-white:is(.bg-emerald-500,.bg-emerald-600,.bg-teal-600){background:#086b65!important;color:#fff!important;}
/* Neutral unavailable buttons stay unavailable but their labels remain readable. */
#root#root button:disabled:not(:where(.pp-brand-rail *, .pp-brand-login *, .pp-welcome-intro *, button.w-full.aspect-square.rounded-md[style*="background"])){
  background:#e6ebeb!important;color:#516363!important;border-color:#bbc8c8!important;opacity:1!important;
}
#root#root button:disabled:not(:where(.pp-brand-rail *, .pp-brand-login *, .pp-welcome-intro *, button.w-full.aspect-square.rounded-md[style*="background"])) :is([class~="text-white"],[class~="text-white/80"]){color:#516363!important;}
