/* ===== CLASSIC THEME (visual only) =====
   Maps decorative colours (blue/purple/pink/teal/gradients...) to a calm neutral palette
   in popups and pages. Status colours (red / green / amber / yellow) keep their meaning.
   Not applied inside the campaigns table or the Gantt chart, where colours carry meaning. */

:is(.fixed.inset-0, .app-main) :is(.bg-blue-50, .bg-blue-100, .bg-indigo-50, .bg-indigo-100, .bg-purple-50, .bg-purple-100, .bg-violet-50, .bg-violet-100, .bg-pink-50, .bg-pink-100, .bg-fuchsia-50, .bg-fuchsia-100, .bg-cyan-50, .bg-cyan-100, .bg-teal-50, .bg-teal-100, .bg-sky-50, .bg-sky-100):not(:is(.desktop-table, #gantt-chart-container) *) { background-color: #f4f4f5 !important; }
:is(.fixed.inset-0, .app-main) :is(.bg-blue-200, .bg-blue-300, .bg-indigo-200, .bg-indigo-300, .bg-purple-200, .bg-purple-300, .bg-violet-200, .bg-violet-300, .bg-pink-200, .bg-pink-300, .bg-fuchsia-200, .bg-fuchsia-300, .bg-cyan-200, .bg-cyan-300, .bg-teal-200, .bg-teal-300, .bg-sky-200, .bg-sky-300):not(:is(.desktop-table, #gantt-chart-container) *) { background-color: #e4e4e7 !important; }
:is(.fixed.inset-0, .app-main) :is(.bg-blue-400, .bg-blue-500, .bg-blue-600, .bg-blue-700, .bg-blue-800, .bg-blue-900, .bg-indigo-400, .bg-indigo-500, .bg-indigo-600, .bg-indigo-700, .bg-indigo-800, .bg-indigo-900, .bg-purple-400, .bg-purple-500, .bg-purple-600, .bg-purple-700, .bg-purple-800, .bg-purple-900, .bg-violet-400, .bg-violet-500, .bg-violet-600, .bg-violet-700, .bg-violet-800, .bg-violet-900, .bg-pink-400, .bg-pink-500, .bg-pink-600, .bg-pink-700, .bg-pink-800, .bg-pink-900, .bg-fuchsia-400, .bg-fuchsia-500, .bg-fuchsia-600, .bg-fuchsia-700, .bg-fuchsia-800, .bg-fuchsia-900, .bg-cyan-400, .bg-cyan-500, .bg-cyan-600, .bg-cyan-700, .bg-cyan-800, .bg-cyan-900, .bg-teal-400, .bg-teal-500, .bg-teal-600, .bg-teal-700, .bg-teal-800, .bg-teal-900, .bg-sky-400, .bg-sky-500, .bg-sky-600, .bg-sky-700, .bg-sky-800, .bg-sky-900):not(:is(.desktop-table, #gantt-chart-container) *) { background-color: #18181b !important; color: #fff !important; }
:is(.fixed.inset-0, .app-main) :is(.hover\:bg-blue-50:hover, .hover\:bg-blue-100:hover, .hover\:bg-blue-200:hover, .hover\:bg-indigo-50:hover, .hover\:bg-indigo-100:hover, .hover\:bg-indigo-200:hover, .hover\:bg-purple-50:hover, .hover\:bg-purple-100:hover, .hover\:bg-purple-200:hover, .hover\:bg-violet-50:hover, .hover\:bg-violet-100:hover, .hover\:bg-violet-200:hover, .hover\:bg-pink-50:hover, .hover\:bg-pink-100:hover, .hover\:bg-pink-200:hover, .hover\:bg-fuchsia-50:hover, .hover\:bg-fuchsia-100:hover, .hover\:bg-fuchsia-200:hover, .hover\:bg-cyan-50:hover, .hover\:bg-cyan-100:hover, .hover\:bg-cyan-200:hover, .hover\:bg-teal-50:hover, .hover\:bg-teal-100:hover, .hover\:bg-teal-200:hover, .hover\:bg-sky-50:hover, .hover\:bg-sky-100:hover, .hover\:bg-sky-200:hover):not(:is(.desktop-table, #gantt-chart-container) *) { background-color: #e4e4e7 !important; }
:is(.fixed.inset-0, .app-main) :is(.hover\:bg-blue-500:hover, .hover\:bg-blue-600:hover, .hover\:bg-blue-700:hover, .hover\:bg-blue-800:hover, .hover\:bg-indigo-500:hover, .hover\:bg-indigo-600:hover, .hover\:bg-indigo-700:hover, .hover\:bg-indigo-800:hover, .hover\:bg-purple-500:hover, .hover\:bg-purple-600:hover, .hover\:bg-purple-700:hover, .hover\:bg-purple-800:hover, .hover\:bg-violet-500:hover, .hover\:bg-violet-600:hover, .hover\:bg-violet-700:hover, .hover\:bg-violet-800:hover, .hover\:bg-pink-500:hover, .hover\:bg-pink-600:hover, .hover\:bg-pink-700:hover, .hover\:bg-pink-800:hover, .hover\:bg-fuchsia-500:hover, .hover\:bg-fuchsia-600:hover, .hover\:bg-fuchsia-700:hover, .hover\:bg-fuchsia-800:hover, .hover\:bg-cyan-500:hover, .hover\:bg-cyan-600:hover, .hover\:bg-cyan-700:hover, .hover\:bg-cyan-800:hover, .hover\:bg-teal-500:hover, .hover\:bg-teal-600:hover, .hover\:bg-teal-700:hover, .hover\:bg-teal-800:hover, .hover\:bg-sky-500:hover, .hover\:bg-sky-600:hover, .hover\:bg-sky-700:hover, .hover\:bg-sky-800:hover):not(:is(.desktop-table, #gantt-chart-container) *) { background-color: #27272a !important; }
:is(.fixed.inset-0, .app-main) :is(.text-blue-400, .text-blue-500, .text-indigo-400, .text-indigo-500, .text-purple-400, .text-purple-500, .text-violet-400, .text-violet-500, .text-pink-400, .text-pink-500, .text-fuchsia-400, .text-fuchsia-500, .text-cyan-400, .text-cyan-500, .text-teal-400, .text-teal-500, .text-sky-400, .text-sky-500):not(:is(.desktop-table, #gantt-chart-container) *) { color: #71717a !important; }
:is(.fixed.inset-0, .app-main) :is(.text-blue-600, .text-blue-700, .text-blue-800, .text-blue-900, .text-indigo-600, .text-indigo-700, .text-indigo-800, .text-indigo-900, .text-purple-600, .text-purple-700, .text-purple-800, .text-purple-900, .text-violet-600, .text-violet-700, .text-violet-800, .text-violet-900, .text-pink-600, .text-pink-700, .text-pink-800, .text-pink-900, .text-fuchsia-600, .text-fuchsia-700, .text-fuchsia-800, .text-fuchsia-900, .text-cyan-600, .text-cyan-700, .text-cyan-800, .text-cyan-900, .text-teal-600, .text-teal-700, .text-teal-800, .text-teal-900, .text-sky-600, .text-sky-700, .text-sky-800, .text-sky-900):not(:is(.desktop-table, #gantt-chart-container) *) { color: #27272a !important; }
:is(.fixed.inset-0, .app-main) :is(.border-blue-100, .border-blue-200, .border-blue-300, .border-blue-400, .border-blue-500, .border-blue-600, .border-indigo-100, .border-indigo-200, .border-indigo-300, .border-indigo-400, .border-indigo-500, .border-indigo-600, .border-purple-100, .border-purple-200, .border-purple-300, .border-purple-400, .border-purple-500, .border-purple-600, .border-violet-100, .border-violet-200, .border-violet-300, .border-violet-400, .border-violet-500, .border-violet-600, .border-pink-100, .border-pink-200, .border-pink-300, .border-pink-400, .border-pink-500, .border-pink-600, .border-fuchsia-100, .border-fuchsia-200, .border-fuchsia-300, .border-fuchsia-400, .border-fuchsia-500, .border-fuchsia-600, .border-cyan-100, .border-cyan-200, .border-cyan-300, .border-cyan-400, .border-cyan-500, .border-cyan-600, .border-teal-100, .border-teal-200, .border-teal-300, .border-teal-400, .border-teal-500, .border-teal-600, .border-sky-100, .border-sky-200, .border-sky-300, .border-sky-400, .border-sky-500, .border-sky-600):not(:is(.desktop-table, #gantt-chart-container) *) { border-color: #e4e4e7 !important; }
:is(.fixed.inset-0, .app-main) :is(.bg-orange-50, .bg-orange-100):not(:is(.desktop-table, #gantt-chart-container) *) { background-color: #fffbeb !important; }
:is(.fixed.inset-0, .app-main) :is(.bg-orange-200, .bg-orange-300):not(:is(.desktop-table, #gantt-chart-container) *) { background-color: #fde68a !important; }
:is(.fixed.inset-0, .app-main) :is(.bg-orange-400, .bg-orange-500, .bg-orange-600, .bg-orange-700):not(:is(.desktop-table, #gantt-chart-container) *) { background-color: #b45309 !important; color: #fff !important; }
:is(.fixed.inset-0, .app-main) :is(.text-orange-500, .text-orange-600, .text-orange-700, .text-orange-800, .text-orange-900):not(:is(.desktop-table, #gantt-chart-container) *) { color: #b45309 !important; }
:is(.fixed.inset-0, .app-main) :is(.border-orange-100, .border-orange-200, .border-orange-300):not(:is(.desktop-table, #gantt-chart-container) *) { border-color: #fde68a !important; }
:is(.fixed.inset-0, .app-main) :is(.bg-green-50, .bg-emerald-50, .bg-yellow-50, .bg-lime-50, .bg-amber-50):not(:is(.desktop-table, #gantt-chart-container) *) { background-color: #fafafa !important; }
:is(.fixed.inset-0, .app-main) :is(.border-green-100, .border-green-200, .border-green-300, .border-emerald-100, .border-emerald-200, .border-emerald-300, .border-yellow-100, .border-yellow-200, .border-yellow-300, .border-lime-100, .border-lime-200, .border-lime-300, .border-amber-100, .border-amber-200, .border-amber-300):not(:is(.desktop-table, #gantt-chart-container) *) { border-color: #ececef !important; }
:is(.fixed.inset-0, .app-main) :is(.bg-green-500, .bg-green-600, .bg-green-700, .bg-emerald-500, .bg-emerald-600, .bg-emerald-700):not(:is(.desktop-table, #gantt-chart-container) *) { background-color: #18181b !important; color: #fff !important; }
:is(.fixed.inset-0, .app-main) :is(.hover\:bg-green-600:hover, .hover\:bg-green-700:hover, .hover\:bg-green-800:hover, .hover\:bg-emerald-600:hover, .hover\:bg-emerald-700:hover, .hover\:bg-emerald-800:hover):not(:is(.desktop-table, #gantt-chart-container) *) { background-color: #27272a !important; }
:is(.fixed.inset-0, .app-main) :is([class*="bg-gradient-to"]):not(:is(.desktop-table, #gantt-chart-container) *) { background-image: none !important; background-color: #fff !important; border: 1px solid #ececef !important; box-shadow: 0 1px 2px rgba(16,24,40,0.04) !important; }
:is(.fixed.inset-0, .app-main) :is([class*="bg-gradient-to"].text-white):not(:is(.desktop-table, #gantt-chart-container) *) { color: #18181b !important; }
:is(.fixed.inset-0, .app-main) :is([class*="bg-gradient-to"].text-white .opacity-90, [class*="bg-gradient-to"].text-white .opacity-80):not(:is(.desktop-table, #gantt-chart-container) *) { color: #71717a !important; opacity: 1 !important; }

/* Report results (inline-styled pieces) */
.rw-paper .rw-results div[style*="border-right"] { background: #fff !important; border: 1px solid #ececef !important; border-radius: 12px !important; }
.rw-paper .rw-results div[style*="border-right"] > div:last-child { color: #18181b !important; }
.rw-paper thead, .rw-paper thead tr, .rw-paper thead th { background: #fafafa !important; color: #52525b !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 600 !important; }
.rw-paper table { box-shadow: none !important; border: 1px solid #ececef; border-radius: 10px; overflow: hidden; }
.rw-paper tbody td { border-right: none !important; border-bottom: 1px solid #f1f1f3 !important; }
.rw-paper tfoot tr, .rw-paper tfoot td { background: #f4f4f5 !important; color: #18181b !important; }
.rw-paper .shadow-lg, .rw-paper .shadow-md { box-shadow: 0 1px 2px rgba(16,24,40,0.04) !important; }
.rw-paper h3, .rw-paper h4 { color: #18181b; }
