/* AIMC readability guard - 9 Nov 2026 (JARVIS).
   Text always takes the colour of the NEAREST background, so no font ever clashes with what it sits on. */
@scope (.am-light,.am-formcard,.bg-ivory,.bg-white,.bg-alabaster,.bg-brand-white,.bg-brand-grey,.bg-gray-50,.bg-gray-100,.bg-gray-200,.bg-blue-50,.bg-blue-100,.bg-green-50,.bg-green-100,.bg-indigo-50,.bg-orange-50,.bg-orange-100,.bg-purple-50,.bg-purple-100,.bg-red-50,.bg-red-100,.bg-yellow-50,.bg-yellow-100,.bg-violet-100,.bg-pink-100,.bg-emerald-100,.bg-ivory\/60,.bg-white\/80,.bg-white\/90,.bg-\[\#F7F5EF\]) to (.bg-navy,.bg-sovereign-navy,.bg-sovereign-deep,.bg-sovereign-deep\/95,.bg-deep-navy,.bg-brand-navy,.bg-panel-navy,.bg-mayfair-black,.bg-mayfair-black\/80,.bg-mayfair-charcoal,.bg-mayfair-charcoal\/80,.bg-mayfair-slate,.bg-black,.bg-black\/70,.bg-black\/80,.bg-gray-900,.bg-\[\#000B18\],.bg-\[\#081422\],.bg-\[\#0A1A2F\],.bg-\[\#0a1828\],.bg-\[\#0d1f35\],.bg-\[\#0d1f35\]\/95,.bg-\[\#12263F\]) {
  h1,h2,h3,h5,p,li,dt,dd,td,th,summary,label,blockquote,figcaption{color:#0B1A36}
  h4,h6,.text-emerald{color:#7A5C1E !important}
  .text-slate,.text-slate-500,label{color:#3F4A5C !important}
  .text-white\/85,.text-white\/70,.text-white\/60{color:#2B3A58 !important}
  label a{color:#0A1733;text-decoration:underline}
  .am-eyebrow{color:#7A5C1E !important}
  .text-gray-400,.text-gray-300{color:#4B5563 !important}
  .text-brand-green,.text-green-500,.text-green-400,.text-emerald-500,.text-emerald-400{color:#047857 !important}
}
@scope (.bg-navy,.bg-sovereign-navy,.bg-sovereign-deep,.bg-sovereign-deep\/95,.bg-deep-navy,.bg-brand-navy,.bg-panel-navy,.bg-mayfair-black,.bg-mayfair-black\/80,.bg-mayfair-charcoal,.bg-mayfair-charcoal\/80,.bg-mayfair-slate,.bg-black,.bg-black\/70,.bg-black\/80,.bg-gray-900,.bg-\[\#000B18\],.bg-\[\#081422\],.bg-\[\#0A1A2F\],.bg-\[\#0a1828\],.bg-\[\#0d1f35\],.bg-\[\#0d1f35\]\/95,.bg-\[\#12263F\]) to (.am-light,.am-formcard,.bg-ivory,.bg-white,.bg-alabaster,.bg-brand-white,.bg-brand-grey,.bg-gray-50,.bg-gray-100,.bg-gray-200,.bg-blue-50,.bg-blue-100,.bg-green-50,.bg-green-100,.bg-indigo-50,.bg-orange-50,.bg-orange-100,.bg-purple-50,.bg-purple-100,.bg-red-50,.bg-red-100,.bg-yellow-50,.bg-yellow-100,.bg-violet-100,.bg-pink-100,.bg-emerald-100,.bg-ivory\/60,.bg-white\/80,.bg-white\/90,.bg-\[\#F7F5EF\]) {
  .text-slate,.text-slate-500{color:rgba(244,240,230,.82) !important}
  h4,h6,.text-emerald{color:#C9A24B}
}

/* Legacy service-page buttons and badges (9 Nov audit): white text on bright green/amber was 2.1-2.5:1 */
.bg-brand-green{background-color:#047857 !important}
.hover\:bg-green-600:hover,.bg-brand-green:hover{background-color:#065F46 !important}
.bg-brand-amber{background-color:#B45309 !important}

/* Chat panel subtitle ("Ask us anything") was 2.6:1 on the panel's navy header */
[class*="concierge"] .flex-shrink-0 p.text-xs{color:rgba(244,240,230,.75) !important}
