/* Pair text with the actual panel surface, including legacy fixed-color panels. */
html body.glw-v5.glw-colorful .home-collab-card :is(.feature-number,.linkish),
html body.glw-v5.glw-colorful .home-hero-copy .trust-row > span {
  color: var(--cw-green) !important;
  -webkit-text-fill-color: currentColor !important;
}
html body.glw-v5.glw-colorful #main-content .final-cta {
  background: var(--cw-mint) !important;
  color: var(--cw-text) !important;
}
html body.glw-v5.glw-colorful #main-content .final-cta :is(h2,.subtitle) {
  color: var(--cw-text) !important;
  -webkit-text-fill-color: currentColor !important;
}
html body.glw-v5.glw-colorful :is(.final-cta,.card) .eyebrow {
  color: var(--cw-green) !important;
  -webkit-text-fill-color: currentColor !important;
}
html body.glw-v5.glw-colorful :is(.hero-actions,.final-cta,.glw-chat-form) .btn.primary {
  background: #23574b !important;
  color: #fff !important;
  -webkit-text-fill-color: currentColor !important;
}
html body.glw-v5.glw-colorful .social-native-header h3 {
  color: #263547 !important;
  -webkit-text-fill-color: currentColor !important;
}
html body.glw-v5.glw-colorful .card.collab-terms-public .collab-separation-note {
  color: #16483c !important;
  -webkit-text-fill-color: currentColor !important;
}
html body.glw-v5.glw-colorful .skip-link:focus {
  background: var(--cw-paper) !important;
  color: var(--cw-text) !important;
}
html body.glw-v5.glw-colorful .sidebar .admin-nav-group a.active {
  background: var(--cw-mint) !important;
  color: var(--cw-text) !important;
}

/* Keep copy readable independently of the artwork and its editable accent. */
html body.glw-v5.glw-colorful.landing #main-content .hero-reel-slide {
  --reel-copy-bg: #f8f1fa;
  --reel-copy-ink: #25354b;
  --reel-copy-accent: #174e41;
}
html.light body.glw-v5.glw-colorful.landing #main-content .reel-assignment { --reel-copy-bg: #fbe9e1; }
html.light body.glw-v5.glw-colorful.landing #main-content .reel-payment { --reel-copy-bg: #e7f0f9; }
html.light body.glw-v5.glw-colorful.landing #main-content .reel-collab { --reel-copy-bg: #f8e7ee; }
html.light body.glw-v5.glw-colorful.landing #main-content .reel-puzzle { --reel-copy-bg: #efe9f8; }
html.light body.glw-v5.glw-colorful.landing #main-content .reel-low { --reel-copy-bg: #e6f2e9; }
html:not(.light) body.glw-v5.glw-colorful.landing #main-content .hero-reel-slide {
  --reel-copy-bg: #202a38;
  --reel-copy-ink: #f8fafc;
  --reel-copy-accent: #c9efdf;
}
html body.glw-v5.glw-colorful.landing #main-content .hero-reel .reel-copy {
  background: var(--reel-copy-bg) !important;
  color: var(--reel-copy-ink) !important;
  padding-block-start: 18px;
}
html body.glw-v5.glw-colorful.landing #main-content .hero-reel .reel-copy :is(h2,.reel-urdu,.reel-description) {
  background: none !important;
  color: var(--reel-copy-ink) !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}
html body.glw-v5.glw-colorful.landing #main-content .hero-reel .reel-copy :is(.reel-kicker,.reel-link) {
  color: var(--reel-copy-accent) !important;
  -webkit-text-fill-color: currentColor !important;
}
html body.glw-v5.glw-colorful.landing #main-content .hero-reel .reel-method-line > span {
  background: #193a34 !important;
  color: #fff !important;
  -webkit-text-fill-color: currentColor !important;
}
