/**
 * Kill cream/amber leftovers; keep live .org blue gradients.
 */

:root,
body.crystal-site,
body.automation-premium {
  --accent: #095cff !important;
  --blue: #095cff !important;
  --blue-2: #4c3bff !important;
  --orange: #ff7a00 !important;
  --brown: #154ff3 !important;
  --canvas: #f8faff !important;
  --ice: #f4f7ff !important;
  --ink: #09142c !important;
  --muted: #5d6b86 !important;
}

/* Flatten amber page washes that app.css may still paint */
body.crystal-site [style*="255, 165, 0"],
body.crystal-site [style*="#ffa500"],
body.crystal-site [style*="#855400"] {
  /* inline styles rare; class overrides win elsewhere */
}

/* Replace solid amber CTAs that slip through Tailwind */
body.crystal-site .bg-\[\#ffa500\],
body.crystal-site .bg-\[\#855400\],
body.crystal-site .bg-\[\#c47a00\],
body.automation-premium .bg-\[\#ffa500\],
body.automation-premium .bg-\[\#855400\] {
  background: linear-gradient(110deg, #075cff, #4d38ff) !important;
  color: #fff !important;
}

body.crystal-site .from-\[\#ffa500\],
body.crystal-site .to-\[\#ff7a00\],
body.crystal-site .via-\[\#ffa500\] {
  --tw-gradient-from: #075cff !important;
  --tw-gradient-to: #4d38ff !important;
  --tw-gradient-stops: #075cff, #4d38ff !important;
}

/* Soft wash = blue wash */
body.crystal-site .bg-soft-wash,
body.automation-premium .bg-soft-wash {
  background-color: rgba(9, 92, 255, 0.1) !important;
}

body.crystal-site .bg-\[\#f9f9f7\],
body.crystal-site .bg-\[\#f4f4f2\],
body.crystal-site .bg-\[\#fdfdfb\],
body.automation-premium .bg-\[\#f9f9f7\] {
  background-color: #f8faff !important;
}

body.crystal-site .text-\[\#1a1c1b\],
body.crystal-site .text-\[\#534433\],
body.automation-premium .text-\[\#1a1c1b\],
body.automation-premium .text-\[\#534433\] {
  color: #09142c !important;
}

body.crystal-site .text-\[\#534433\] {
  color: #5d6b86 !important;
}

/* Material icon default accent */
body.crystal-site .text-primary-container .material-symbols-outlined,
body.crystal-site .material-symbols-outlined.text-primary-container {
  color: #095cff !important;
}
