/*
 * Dalmia Computers — Adaptive Royal Light (Default) & Royal Dark Theme System (2026-10-31)
 * Owner Direction Q2=1:
 *   - Default (`html:not([data-dc-theme="dark"])`): Royal Light (#FDFEFF canvas, #FFFFFF / #F4F7FB surfaces,
 *     #0F172A / #1E293B / #334155 high-contrast ink, #3F51B5 Royal Indigo primary, #00CFE8 / #0E7490 Cyan accents).
 *     Every surface/text pair meets or exceeds WCAG 2.1 AA (>= 4.5:1).
 *   - Optional (`html[data-dc-theme="dark"]`): Preserves the deep Royal Dark (#070a26) luxury palette.
 */

:root,
html:not([data-dc-theme="dark"]) {
  --bg: #FDFEFF;
  --surface: #FFFFFF;
  --surface-2: #F4F7FB;
  --ink: #0F172A;
  --ink-secondary: #1E293B;
  --muted: #334155;
  --primary: #3F51B5;
  --primary-strong: #283593;
  --cyan-accent: #00CFE8;
  --cyan-ink: #0E7490;
  --border: rgba(15, 23, 42, 0.14);

  /* Remap dalmia-prime-dark-royal.css :root tokens in Light Mode */
  --dc-ice: #0F172A;
  --dc-cyan: #0E7490;
  --dc-indigo: #3F51B5;
  --dc-midnight: #FDFEFF;
  --dc-graphite: #F4F7FB;
  --dc-charcoal: #FFFFFF;
  --dc-silver: #334155;
  --dc-muted: #334155;
  --dc-line: rgba(15, 23, 42, 0.14);
  --dc-line-strong: #3F51B5;
  --dc-surface: #FFFFFF;
  --dc-surface-raised: #F4F7FB;
  --dc-surface-soft: #F8FAFC;
  --dc-cyan-soft: rgba(0, 207, 232, 0.12);
  --dc-indigo-soft: rgba(63, 81, 181, 0.10);
  --dc-shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --dc-shadow-md: 0 18px 42px rgba(15, 23, 42, 0.09);
  --dc-shadow-cyan: 0 12px 32px rgba(14, 116, 144, 0.14);

  --dp-ice: #FDFEFF;
  --dp-cyan: #0E7490;
  --dp-indigo: #3F51B5;
  --dp-navy: #0F172A;
  --dp-ink: #0F172A;
  --dp-text: #1E293B;
  --dp-muted: #334155;
  --dp-line: rgba(15, 23, 42, 0.14);
  --dp-card: #FFFFFF;

  --v3-ice: #FDFEFF;
  --v3-cyan: #0E7490;
  --v3-indigo: #3F51B5;
  --v3-navy: #0F172A;
  --v3-ink: #0F172A;
  --v3-muted: #334155;
  --v3-line: rgba(15, 23, 42, 0.14);
  --v3-card: #FFFFFF;
}

html[data-dc-theme="dark"] {
  --bg: #070a26;
  --surface: #101842;
  --surface-2: #172358;
  --ink: #f6f4ff;
  --ink-secondary: #e2e8f0;
  --muted: #c2cff0;
  --primary: #8234ff;
  --primary-strong: #6420e0;
  --cyan-accent: #16ddff;
  --cyan-ink: #5ce8ff;
  --border: rgba(141, 135, 244, 0.36);

  --dc-ice: #f7f4ff;
  --dc-cyan: #a2eef2;
  --dc-indigo: #b99cff;
  --dc-midnight: #0a0918;
  --dc-graphite: #100e25;
  --dc-charcoal: #191733;
  --dc-silver: #c5c1d7;
  --dc-muted: #c5c1d7;
  --dc-line: #514b71;
  --dc-line-strong: #b99cff;
  --dc-surface: rgba(25, 23, 51, 0.88);
  --dc-surface-raised: rgba(41, 35, 79, 0.96);
  --dc-surface-soft: rgba(16, 14, 37, 0.78);
  --dp-ink: #f7f4ff;
  --dp-muted: #c5c1d7;
  --v3-ink: #f7f4ff;
  --v3-muted: #c5c1d7;
  background-color: #070a26 !important;
  color-scheme: dark;
}

/* ============================================================================
 * HEADER THEME TOGGLE PILL BUTTON (Light & Dark Modes)
 * ============================================================================ */
.dc-theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 13px;
  border-radius: 999px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

html:not([data-dc-theme="dark"]) .dc-theme-toggle-btn {
  background: #F4F7FB !important;
  color: #0F172A !important;
  border: 1px solid rgba(63, 81, 181, 0.32) !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

html:not([data-dc-theme="dark"]) .dc-theme-toggle-btn:hover {
  background: #E8EEF8 !important;
  border-color: #3F51B5 !important;
  color: #283593 !important;
}

html[data-dc-theme="dark"] .dc-theme-toggle-btn {
  background: rgba(23, 35, 88, 0.92);
  color: #f6f4ff;
  border: 1px solid rgba(22, 221, 255, 0.44);
  box-shadow: 0 4px 14px rgba(2, 5, 20, 0.45);
}

html[data-dc-theme="dark"] .dc-theme-toggle-btn:hover {
  background: rgba(36, 52, 122, 0.96);
  border-color: #e8c280;
}

.dc-theme-toggle-btn:focus-visible {
  outline: 3px solid #3F51B5 !important;
  outline-offset: 2px !important;
}

html[data-dc-theme="dark"] .dc-theme-toggle-btn:focus-visible {
  outline: 3px solid #16ddff !important;
}

/* ============================================================================
 * MOBILE HEADER ANTI-OVERLAP FIX (320px / 360px / 390px — Light & Dark Modes)
 * Prevents `.dp-menu` from colliding with `.dcvo-brand` wordmark on compact Android/iOS screens.
 * ============================================================================ */
@media (max-width: 760px) {
  html body.dcvo-body .dcvo-header-inner,
  html body.dc-web-v2.dp-v3.dcvo-body .dcvo-header-inner {
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px 10px !important;
    padding: 8px 12px !important;
    min-height: 62px !important;
  }

  html body.dcvo-body .dp-header .dp-brand.dcvo-brand,
  html body.dc-web-v2.dp-v3.dcvo-body .dp-header .dp-brand.dcvo-brand {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 88px) !important;
    gap: 8px !important;
  }

  html body.dc-web-v2.dp-v3.dcvo-body .dp-header .dp-brand.dcvo-brand img {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
  }

  html body.dc-web-v2.dp-v3.dcvo-body .dcvo-brand-lockup .dcvo-brand-top {
    font-size: 17px !important;
    letter-spacing: 0.05em !important;
  }

  html body.dc-web-v2.dp-v3.dcvo-body .dcvo-brand-lockup strong {
    font-size: 12px !important;
    letter-spacing: 0.04em !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  html body.dc-web-v2.dp-v3.dcvo-body .dcvo-brand-lockup small {
    display: none !important;
  }

  html body.dc-web-v2.dp-v3.dcvo-body .dp-menu,
  html body.dcvo-body .dp-menu {
    margin-left: auto !important;
    flex: 0 0 auto !important;
    min-height: 40px !important;
    padding: 6px 12px !important;
    font-size: 13px !important;
  }

  html body.dcvo-body #dp-nav {
    width: 100%;
    order: 4;
    margin-left: 0 !important;
  }

  html body.dcvo-body .dp-header-actions.dcvo-header-actions {
    width: 100% !important;
    order: 3;
    justify-content: space-between !important;
    gap: 6px !important;
    padding-top: 6px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
  }

  html body.dcvo-body .dp-header-actions.dcvo-header-actions .dc-whatsapp-button {
    padding: 0 11px !important;
    min-height: 38px !important;
    font-size: 12px !important;
  }

  html body.dc-web-v2.dp-v3.dcvo-body .dcvo-icon-button {
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 6px 8px !important;
  }
}

/* ============================================================================
 * ROYAL LIGHT DEFAULT PALETTE (`html:not([data-dc-theme="dark"])`)
 * High-specificity overrides matching `violet-orbit-miracle.css` & `royal-subpage-orbit.css`
 * ============================================================================ */
html:not([data-dc-theme="dark"]),
html:not([data-dc-theme="dark"]):has(body.dcvo-body),
html:not([data-dc-theme="dark"]):has(body.dcvo-subpage) {
  background: #FDFEFF !important;
  color: #0F172A !important;
  color-scheme: light !important;
}

html:not([data-dc-theme="dark"]) body,
html:not([data-dc-theme="dark"]) body.dc-web-v2.dp-v3.dcvo-body,
html:not([data-dc-theme="dark"]) body.dcvo-body,
html:not([data-dc-theme="dark"]) body.dcvo-body.dcvo-subpage,
html:not([data-dc-theme="dark"]) body.dalmia-prime,
html:not([data-dc-theme="dark"]) body[data-dalmia-prime="true"],
html:not([data-dc-theme="dark"]) body[data-dc-archetype],
html:not([data-dc-theme="dark"]) body.ru-universe-body,
html:not([data-dc-theme="dark"]) body.ru-body {
  --dcvo-bg: #FDFEFF;
  --dcvo-panel: #FFFFFF;
  --dcvo-elevated: #F4F7FB;
  --dcvo-purple: #3F51B5;
  --dcvo-purple-deep: #283593;
  --dcvo-cyan: #0E7490;
  --dcvo-gold: #283593;
  --dcvo-text: #0F172A;
  --dcvo-muted: #334155;
  --dcvo-border: rgba(15, 23, 42, 0.14);
  --dcvo-sub-bg: #FDFEFF;
  --dcvo-sub-surface: #FFFFFF;
  --dcvo-sub-surface-glass: rgba(255, 255, 255, 0.96);
  --dcvo-sub-elevated: #F4F7FB;
  --dcvo-sub-violet: #3F51B5;
  --dcvo-sub-violet-bright: #283593;
  --dcvo-sub-cyan: #0E7490;
  --dcvo-sub-gold: #283593;
  --dcvo-sub-ink: #0F172A;
  --dcvo-sub-muted: #334155;
  --dcvo-sub-border: rgba(15, 23, 42, 0.14);
  --dcvo-sub-border-cyan: rgba(14, 116, 144, 0.28);
  --rn-bg: #FDFEFF;
  --rn-panel: #FFFFFF;
  --rn-line: rgba(15, 23, 42, 0.14);
  --rn-gold: #283593;
  --rn-ink: #0F172A;
  --rn-muted: #334155;
  background-color: #FDFEFF !important;
  background-image:
    radial-gradient(ellipse at 12% 0%, rgba(63, 81, 181, 0.06), transparent 44%),
    radial-gradient(ellipse at 88% 12%, rgba(0, 207, 232, 0.06), transparent 40%),
    linear-gradient(180deg, #FDFEFF 0%, #F7FAFF 52%, #FDFEFF 100%) !important;
  color: #0F172A !important;
  color-scheme: light !important;
}

html:not([data-dc-theme="dark"]) .dcvo-cosmic-backdrop,
html:not([data-dc-theme="dark"]) .dcvo-stars,
html:not([data-dc-theme="dark"]) body[data-dalmia-prime="true"]::before {
  opacity: 0.05 !important;
}

/* Topbars, Tickers & Sticky Navigation Headers (Beats `.dc-web-v2.dp-v3.dcvo-body` specificity!) */
html:not([data-dc-theme="dark"]) body.dc-web-v2.dp-v3.dcvo-body .dp-topbar.dcvo-topline,
html:not([data-dc-theme="dark"]) body.dcvo-body.dcvo-subpage .dp-topbar,
html:not([data-dc-theme="dark"]) .dp-topbar,
html:not([data-dc-theme="dark"]) .dc-topbar,
html:not([data-dc-theme="dark"]) .dcvo-topline {
  background: #F4F7FB !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12) !important;
  color: #1E293B !important;
}

html:not([data-dc-theme="dark"]) body.dcvo-body .dcvo-topline-tag {
  color: #283593 !important;
}

html:not([data-dc-theme="dark"]) body.dc-web-v2.dp-v3.dcvo-body .dc-topbar-links a,
html:not([data-dc-theme="dark"]) body.dcvo-body.dcvo-subpage .dp-topbar a,
html:not([data-dc-theme="dark"]) .dp-topbar a,
html:not([data-dc-theme="dark"]) .dcvo-topline a {
  color: #283593 !important;
  font-weight: 700;
}

html:not([data-dc-theme="dark"]) body.dc-web-v2.dp-v3.dcvo-body aside.dc-offer-ticker,
html:not([data-dc-theme="dark"]) aside.dc-offer-ticker,
html:not([data-dc-theme="dark"]) .dp-ticker {
  background: linear-gradient(90deg, #EEF2FF 0%, #E0F2FE 50%, #EEF2FF 100%) !important;
  border-bottom: 1px solid rgba(63, 81, 181, 0.2) !important;
  color: #0F172A !important;
}

html:not([data-dc-theme="dark"]) body.dc-web-v2.dp-v3.dcvo-body aside.dc-offer-ticker a,
html:not([data-dc-theme="dark"]) aside.dc-offer-ticker a {
  color: #283593 !important;
}

html:not([data-dc-theme="dark"]) body.dc-web-v2.dp-v3.dcvo-body header.dp-header.dcvo-header,
html:not([data-dc-theme="dark"]) body.dcvo-body.dcvo-subpage .dp-header,
html:not([data-dc-theme="dark"]) .dp-header,
html:not([data-dc-theme="dark"]) .dc-header,
html:not([data-dc-theme="dark"]) .dcvo-header,
html:not([data-dc-theme="dark"]) .ru-header,
html:not([data-dc-theme="dark"]) .ru-top,
html:not([data-dc-theme="dark"]) header.top {
  background: rgba(253, 254, 255, 0.97) !important;
  backdrop-filter: blur(14px) !important;
  border-top: 0 !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05) !important;
  color: #0F172A !important;
}

html:not([data-dc-theme="dark"]) body.dc-web-v2.dp-v3.dcvo-body .dp-header .dp-brand.dcvo-brand,
html:not([data-dc-theme="dark"]) body.dc-web-v2.dp-v3.dcvo-body .dcvo-brand-lockup .dcvo-brand-top,
html:not([data-dc-theme="dark"]) body.dcvo-body.dcvo-subpage .dp-brand strong,
html:not([data-dc-theme="dark"]) .dp-brand,
html:not([data-dc-theme="dark"]) .dp-brand strong,
html:not([data-dc-theme="dark"]) .dcvo-brand strong,
html:not([data-dc-theme="dark"]) .ru-brand,
html:not([data-dc-theme="dark"]) header.top .brand {
  color: #0F172A !important;
}

html:not([data-dc-theme="dark"]) body.dc-web-v2.dp-v3.dcvo-body .dcvo-brand-lockup strong {
  color: #3F51B5 !important;
}

html:not([data-dc-theme="dark"]) body.dc-web-v2.dp-v3.dcvo-body .dcvo-brand-lockup small,
html:not([data-dc-theme="dark"]) body.dcvo-body.dcvo-subpage .dp-brand small,
html:not([data-dc-theme="dark"]) .dp-brand small,
html:not([data-dc-theme="dark"]) .dcvo-brand small {
  color: #475569 !important;
}

html:not([data-dc-theme="dark"]) body.dc-web-v2.dp-v3.dcvo-body .dp-nav a,
html:not([data-dc-theme="dark"]) body.dc-web-v2.dp-v3.dcvo-body .dp-nav summary,
html:not([data-dc-theme="dark"]) body.dcvo-body.dcvo-subpage .dp-header .dp-nav a,
html:not([data-dc-theme="dark"]) .dp-header .dp-nav a,
html:not([data-dc-theme="dark"]) .dp-header .dp-nav summary,
html:not([data-dc-theme="dark"]) .dcvo-nav a,
html:not([data-dc-theme="dark"]) .dcvo-nav button,
html:not([data-dc-theme="dark"]) .ru-nav a:not(.ru-cta),
html:not([data-dc-theme="dark"]) .ru-links a,
html:not([data-dc-theme="dark"]) header.top .links a:not(.call) {
  color: #0F172A !important;
}

html:not([data-dc-theme="dark"]) body.dc-web-v2.dp-v3.dcvo-body .dp-nav a:hover,
html:not([data-dc-theme="dark"]) body.dc-web-v2.dp-v3.dcvo-body .dp-nav summary:hover,
html:not([data-dc-theme="dark"]) .dp-header .dp-nav a:hover {
  color: #283593 !important;
  background: rgba(63, 81, 181, 0.08) !important;
}

html:not([data-dc-theme="dark"]) body.dcvo-body .rn-nav-more > div,
html:not([data-dc-theme="dark"]) .dcvo-mega-panel,
html:not([data-dc-theme="dark"]) .dp-dropdown,
html:not([data-dc-theme="dark"]) .dcvo-drawer,
html:not([data-dc-theme="dark"]) .dp-nav.open {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid rgba(15, 23, 42, 0.14) !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12) !important;
}

html:not([data-dc-theme="dark"]) body.dc-web-v2.dp-v3.dcvo-body .dcvo-icon-button,
html:not([data-dc-theme="dark"]) body.dc-web-v2.dp-v3.dcvo-body .dp-menu,
html:not([data-dc-theme="dark"]) .dcvo-icon-button,
html:not([data-dc-theme="dark"]) .dp-menu,
html:not([data-dc-theme="dark"]) .dc-menu-button {
  background: #F4F7FB !important;
  color: #0F172A !important;
  border: 1px solid rgba(15, 23, 42, 0.18) !important;
}

html:not([data-dc-theme="dark"]) body.dc-web-v2.dp-v3.dcvo-body .dcvo-workspace-pill {
  background: #EEF2FF !important;
  color: #283593 !important;
  border: 1px solid rgba(63, 81, 181, 0.34) !important;
}

/* ============================================================================
 * HOMEPAGE ROYAL LIGHT HERO STAGE (`#home-hero.dcvo-hero`)
 * Crisp #FFFFFF -> #EEF2FF -> #ECFEFF luxury hero stage in Light Mode;
 * Deep cosmic #070d32 Violet Orbit remains untouched in `html[data-dc-theme="dark"]`!
 * ============================================================================ */
html:not([data-dc-theme="dark"]) body.dc-web-v2.dp-v3.dc-home-premier.dcvo-body #home-hero.dcvo-hero {
  background:
    radial-gradient(ellipse at 70% 38%, rgba(0, 207, 232, 0.14) 0%, transparent 44%),
    radial-gradient(ellipse at 86% 16%, rgba(63, 81, 181, 0.14) 0%, transparent 46%),
    linear-gradient(135deg, #FFFFFF 0%, #EEF2FF 52%, #ECFEFF 100%) !important;
  border-bottom: 1px solid rgba(63, 81, 181, 0.18) !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06) !important;
  color: #0F172A !important;
}

html:not([data-dc-theme="dark"]) body.dcvo-body #home-hero.dcvo-hero::before {
  opacity: 0.08 !important;
}

html:not([data-dc-theme="dark"]) body.dc-web-v2.dp-v3.dc-home-premier.dcvo-body #home-hero :is(h1, h2) {
  color: #0F172A !important;
  text-shadow: none !important;
}

html:not([data-dc-theme="dark"]) body.dc-web-v2.dp-v3.dc-home-premier.dcvo-body #home-hero :is(h1, h2) :is(span, em) {
  color: #3F51B5 !important;
  background: none !important;
  -webkit-text-fill-color: #3F51B5 !important;
}

html:not([data-dc-theme="dark"]) body.dcvo-body #home-hero .dcvo-eyebrow {
  color: #283593 !important;
}

html:not([data-dc-theme="dark"]) body.dcvo-body #home-hero :is(.dc-hero-lead, .rn-hero-context, p) {
  color: #1E293B !important;
}

html:not([data-dc-theme="dark"]) body.dcvo-body #home-hero .rn-hero-context a {
  color: #283593 !important;
  font-weight: 700;
  text-decoration: underline;
}

html:not([data-dc-theme="dark"]) body.dcvo-body #home-hero .dcvo-hero-trust span {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #0F172A !important;
  border: 1px solid rgba(63, 81, 181, 0.24) !important;
}

html:not([data-dc-theme="dark"]) body.dcvo-body #home-hero :is(.dcvo-ambassador-signature, .dcvo-hero-concierge) {
  background: rgba(255, 255, 255, 0.94) !important;
  color: #0F172A !important;
  border: 1px solid rgba(63, 81, 181, 0.28) !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1) !important;
}

html:not([data-dc-theme="dark"]) body.dcvo-body #home-hero :is(.dcvo-ambassador-signature span, .dcvo-hero-concierge strong) {
  color: #0F172A !important;
}

html:not([data-dc-theme="dark"]) body.dcvo-body #home-hero :is(.dcvo-ambassador-signature small, .dcvo-hero-concierge small) {
  color: #334155 !important;
}

html:not([data-dc-theme="dark"]) body.dcvo-body #home-hero .dcvo-hero-bottom {
  background: rgba(244, 247, 251, 0.94) !important;
  border-top: 1px solid rgba(63, 81, 181, 0.16) !important;
  color: #1E293B !important;
}

html:not([data-dc-theme="dark"]) body.dcvo-body #home-hero .dcvo-hero-bottom-label {
  color: #283593 !important;
}

/* ============================================================================
 * SUBPAGE HEROES, SECTIONS, CARDS, SLIDERS & INTAKE DESKS (WCAG AA >= 4.5:1)
 * Overrides `royal-subpage-orbit.css`, `dalmia-prime-dark-royal.css` & `dalmia-prime-global.css`
 * ============================================================================ */
html:not([data-dc-theme="dark"]) body.dcvo-body.dcvo-subpage :is(
  .dp-hero,
  .dc-hero,
  .dp-section.dp-dark,
  .dp-card,
  .dp-faq details,
  .dp-cta,
  .dc-card,
  .dc-catalog-hero,
  .dc-truth,
  .dc-list li,
  .product-card,
  .mobile-card,
  .catalog-hero,
  .filter-bar,
  .kh-article-hero,
  .kh-answer,
  .kh-inline-card,
  .kh-toc,
  .kh-callout,
  .kh-sources,
  .kh-related-grid a,
  .kh-editorial,
  .dc-intake-card,
  .dp-smart-form
),
html:not([data-dc-theme="dark"]) :is(
  .dp-hero,
  .dc-hero,
  .ru-hero,
  .hero,
  .dcvo-panel,
  .dcvo-solution,
  .dc-offer-card,
  .dc-path-card,
  .dp-card,
  .dc-card,
  .ru-card,
  .card,
  .panel,
  .product-card,
  .dcvo-subpage-shell,
  .dcvo-smart-salesman,
  .dc-home-smart-desk,
  .dc-intake-card,
  .dp-smart-form,
  .v7-studio,
  .dcvo-showcase-card,
  .dcvo-visual-card,
  .dcvo-category-tile,
  .dc-brand-card,
  .dcvo-trustindex-bar,
  .dcvo-subpage-ti-drawer,
  .dcvo-chapter-btn,
  .dcvo-tiya-shell,
  .dcvo-search-shell,
  .kh-card,
  .kh-article-hero,
  .dc-slide-panel,
  .dp-membership-band,
  .dp-cta,
  .dc-cta-band,
  .dc-membership-zone,
  .dc-band,
  .dp-experience-card--showroom
) {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05) !important;
}

html:not([data-dc-theme="dark"]) :is(
  .dp-hero,
  .dc-hero,
  .ru-hero,
  .dc-home-smart-desk,
  .dcvo-smart-salesman,
  .dcvo-subpage-concierge-banner,
  .dp-membership-band,
  .dp-cta,
  .dc-membership-zone
) {
  background: linear-gradient(145deg, #FFFFFF 0%, #EEF2FF 55%, #F0FDFA 100%) !important;
}

html:not([data-dc-theme="dark"]) :is(.dp-section:nth-of-type(even), .dc-section[data-tone="raised"], .dc-home-prime-experience > .dc-slider-section:nth-child(even)) {
  background: #F8FAFC !important;
  border-block: 1px solid rgba(15, 23, 42, 0.08) !important;
}

html:not([data-dc-theme="dark"]) .dcvo-logo-only-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.04) !important;
}

/* Typography Contrast Guarantee (Beats DALMIA_OAUTH_HERO_CONTRAST & royal-subpage-orbit!) */
html:not([data-dc-theme="dark"]) body.dalmia-prime :is(.dp-hero h1, .dp-hero h2, .dc-hero h1, .dc-hero h2),
html:not([data-dc-theme="dark"]) body[data-dalmia-prime="true"] :is(.dp-hero h1, .dp-hero h2, .dc-hero h1, .dc-hero h2),
html:not([data-dc-theme="dark"]) body.dcvo-body.dcvo-subpage :is(h1, h2, h3, h4, summary, dt, strong),
html:not([data-dc-theme="dark"]) :is(h1, h2, h3, h4, h5, h6, summary, legend, th, label),
html:not([data-dc-theme="dark"]) .dc-membership-zone :is(h2, label),
html:not([data-dc-theme="dark"]) .dp-experience-card--showroom h2 {
  color: #0F172A !important;
  text-shadow: none !important;
}

html:not([data-dc-theme="dark"]) body.dalmia-prime :is(.dp-hero p, .dc-hero p),
html:not([data-dc-theme="dark"]) body[data-dalmia-prime="true"] :is(.dp-hero p, .dc-hero p),
html:not([data-dc-theme="dark"]) body.dcvo-body.dcvo-subpage :is(p, li, dd, figcaption, small),
html:not([data-dc-theme="dark"]) :is(p, li, dd, td, figcaption),
html:not([data-dc-theme="dark"]) .dc-membership-zone p,
html:not([data-dc-theme="dark"]) .dp-experience-card--showroom p {
  color: #334155 !important;
}

html:not([data-dc-theme="dark"]) body.dcvo-body.dcvo-subpage :is(.dp-eyebrow, .kh-eyebrow, .dc-kicker, .dp-section-head > span, .dc-intake-kicker),
html:not([data-dc-theme="dark"]) :is(.dp-eyebrow, .dc-eyebrow, .rn-eyebrow, .dcvo-concierge-kicker, .dc-intake-kicker, .eyebrow, .ru-kicker, .dc-slide-kicker) {
  color: #283593 !important;
}

html:not([data-dc-theme="dark"]) body.dcvo-body .badge,
html:not([data-dc-theme="dark"]) body.dcvo-body .mobile-card-body .badge,
html:not([data-dc-theme="dark"]) :is(.badge, .dcvo-archetype-badge, .dcvo-ss-step-pill, .ru-badge, .ru-pill) {
  background: #EEF2FF !important;
  color: #1E293B !important;
  border: 1px solid rgba(63, 81, 181, 0.28) !important;
}

/* Accessible Text Links in Royal Light */
html:not([data-dc-theme="dark"]) :is(main, footer, .dc-home-smart-desk, .dcvo-subpage-shell) a:not([class*="btn"]):not([class*="button"]):not(.dp-primary):not(.dp-secondary):not(.dcvo-category-tile):not(.dcvo-logo-only-card):not(.dc-offer-card):not(.dc-path-card):not(.ru-cta) {
  color: #283593;
}

/* Buttons & Call-To-Action Controls (WCAG AA Verified) */
html:not([data-dc-theme="dark"]) :is(
  .dp-primary,
  .dc-button-primary,
  .dcvo-button-primary,
  .dcvo-button-blue,
  .dcvo-sub-btn-primary,
  .v7-btn-primary,
  .btn-gold,
  .ru-btn,
  .ru-cta,
  .ru-btn-gold
) {
  background: linear-gradient(135deg, #3F51B5 0%, #283593 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid #283593 !important;
  box-shadow: 0 6px 18px rgba(63, 81, 181, 0.22) !important;
}

html:not([data-dc-theme="dark"]) :is(.dp-primary, .dcvo-button-primary, .dcvo-sub-btn-primary, .ru-btn, .ru-cta) * {
  color: #FFFFFF !important;
}

html:not([data-dc-theme="dark"]) :is(.dcvo-button-cyan, .dcvo-sub-btn-cyan) {
  background: #00CFE8 !important;
  color: #082F49 !important;
  border: 1px solid #0E7490 !important;
  font-weight: 700 !important;
}

html:not([data-dc-theme="dark"]) body.dcvo-body.dcvo-subpage :is(.compare-btn, .mobile-btn:not(.primary)),
html:not([data-dc-theme="dark"]) :is(
  .dp-secondary,
  .dc-button-secondary,
  .dp-chip,
  .dcvo-button-outline,
  .dcvo-sub-btn-outline,
  .v7-btn-secondary,
  .dcvo-carousel-ctrl,
  .dc-slider-control,
  .btn-ghost,
  .ru-btn-outline,
  .ru-btn-ghost
) {
  background: #F4F7FB !important;
  color: #0F172A !important;
  border: 1px solid rgba(63, 81, 181, 0.28) !important;
}

/* Form Controls: Crisp #FFFFFF fill, #0F172A ink, #94A3B8 border, #3F51B5 focus ring */
html:not([data-dc-theme="dark"]) input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]),
html:not([data-dc-theme="dark"]) body.dcvo-body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]),
html:not([data-dc-theme="dark"]) body.dc-web-v2 input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]),
html:not([data-dc-theme="dark"]) textarea,
html:not([data-dc-theme="dark"]) body.dcvo-body textarea,
html:not([data-dc-theme="dark"]) select,
html:not([data-dc-theme="dark"]) body.dcvo-body select,
html:not([data-dc-theme="dark"]) body.dc-web-v2 select,
html:not([data-dc-theme="dark"]) body.dcvo-body select option,
html:not([data-dc-theme="dark"]) body.dc-web-v2 select option,
html:not([data-dc-theme="dark"]) body.dcvo-body select optgroup {
  background-color: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid #94A3B8 !important;
  color-scheme: light !important;
}

html:not([data-dc-theme="dark"]) input::placeholder,
html:not([data-dc-theme="dark"]) textarea::placeholder {
  color: #475569 !important;
  opacity: 1;
}

html:not([data-dc-theme="dark"]) :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid #3F51B5 !important;
  outline-offset: 2px !important;
}

/* Keep Cinema Video Stage & Before/After Comparison Stage Richly Contrasted */
html:not([data-dc-theme="dark"]) .dcvo-video-stage-wrap,
html:not([data-dc-theme="dark"]) .dcvo-ba-stage {
  background: #0F172A !important;
  color: #F8FAFC !important;
}

html:not([data-dc-theme="dark"]) .dcvo-ba-stage :is(h3, p, span),
html:not([data-dc-theme="dark"]) .dcvo-telemetry-overlay span {
  color: #F8FAFC !important;
}

/* Footers (Beats `html body.dc-web-v2.dp-v3.dcvo-body footer.dp-footer.dcvo-footer`!) */
html:not([data-dc-theme="dark"]) body.dc-web-v2.dp-v3.dcvo-body footer.dp-footer.dcvo-footer,
html:not([data-dc-theme="dark"]) .dp-footer,
html:not([data-dc-theme="dark"]) .dc-footer,
html:not([data-dc-theme="dark"]) .dcvo-footer,
html:not([data-dc-theme="dark"]) .ru-footer,
html:not([data-dc-theme="dark"]) .ru-foot,
html:not([data-dc-theme="dark"]) footer {
  background: #F4F7FB !important;
  color: #1E293B !important;
  border-top: 1px solid rgba(15, 23, 42, 0.12) !important;
}

html:not([data-dc-theme="dark"]) body.dc-web-v2.dp-v3.dcvo-body .dc-footer-column h2,
html:not([data-dc-theme="dark"]) body.dcvo-body .dc-google-disclosure summary {
  color: #0F172A !important;
}

html:not([data-dc-theme="dark"]) body.dcvo-body .dc-google-disclosure {
  background: #FFFFFF !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
}

html:not([data-dc-theme="dark"]) body.dc-web-v2.dp-v3.dcvo-body footer.dcvo-footer a,
html:not([data-dc-theme="dark"]) footer a,
html:not([data-dc-theme="dark"]) .dp-footer a,
html:not([data-dc-theme="dark"]) .dcvo-footer a {
  color: #283593 !important;
}

@media (prefers-reduced-motion: reduce) {
  .dc-theme-toggle-btn {
    transition: none !important;
  }
}

/* ============================================================================
 * LUCKY DRAW PRIME (/lucky-draw) ADAPTIVE LIGHT & DARK RULES
 * ============================================================================ */
.ld-review-independence-banner {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.ld-review-independence-kicker {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 4px;
}

html[data-dc-theme="dark"] .ld-review-independence-banner {
  background: rgba(16, 24, 66, 0.96);
  border: 2px solid #e8c280;
  color: #f6f4ff;
}

html[data-dc-theme="dark"] .ld-review-independence-kicker {
  color: #e8c280;
}

html:not([data-dc-theme="dark"]) .ld-review-independence-banner {
  background: #EEF2FF !important;
  border: 2px solid #3F51B5 !important;
  color: #0F172A !important;
}

html:not([data-dc-theme="dark"]) .ld-review-independence-kicker {
  color: #283593 !important;
}

html:not([data-dc-theme="dark"]) body.ld-page {
  --ld-ice: #0F172A;
  --ld-muted: #334155;
  --ld-cyan: #0E7490;
  --ld-line: rgba(15, 23, 42, 0.14);
  --ld-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  background: #FDFEFF !important;
  color: #0F172A !important;
}

html:not([data-dc-theme="dark"]) .ld-header {
  background: rgba(253, 254, 255, 0.96) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12) !important;
}

html:not([data-dc-theme="dark"]) :is(.ld-top, .ld-brand, .ld-nav a, .ld-btn:not(.primary), .ld-chip, .ld-lang button) {
  color: #0F172A !important;
}

html:not([data-dc-theme="dark"]) :is(.ld-nav a, .ld-btn:not(.primary), .ld-chip, .ld-lang button) {
  background: #F4F7FB !important;
  border: 1px solid rgba(63, 81, 181, 0.24) !important;
}

html:not([data-dc-theme="dark"]) .ld-btn.primary {
  background: linear-gradient(135deg, #3F51B5 0%, #283593 100%) !important;
  color: #FFFFFF !important;
}

html:not([data-dc-theme="dark"]) :is(.ld-hero-copy, .ld-hero-visual, .ld-panel, .ld-card, .ld-mechanic, .ld-ugc) {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05) !important;
}

html:not([data-dc-theme="dark"]) :is(.ld-live div, .ld-countdown div, .ld-badge) {
  background: #F4F7FB !important;
  color: #0F172A !important;
  border: 1px solid rgba(63, 81, 181, 0.22) !important;
}

html:not([data-dc-theme="dark"]) :is(.ld-hero p, .ld-field label, .ld-check, .ld-ugc p, .ld-feature-list span, .ld-footer, .ld-footer a) {
  color: #334155 !important;
}

/* ============================================================================
 * CAREER ATS WIZARD, CUSTOMER INTAKE CARDS & PORTAL NAV PILLS (WCAG AA >= 7:1)
 * ============================================================================ */
html:not([data-dc-theme="dark"]) .top-bar .nav-links a,
html:not([data-dc-theme="dark"]) .nav-links a {
  background: #F4F7FB !important;
  color: #0F172A !important;
  border: 1px solid rgba(63, 81, 181, 0.24) !important;
  border-radius: 999px;
}

html:not([data-dc-theme="dark"]) body[data-dalmia-prime="true"] :is(
  form.dc-intake-card,
  .ats-wizard-box,
  .dc-prefill-bar,
  .dp-smart-form
),
html:not([data-dc-theme="dark"]) :is(.ats-wizard-box, .dc-prefill-bar) {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid rgba(63, 81, 181, 0.24) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
}

html:not([data-dc-theme="dark"]) .ats-step-pill {
  background: #F4F7FB !important;
  color: #1E293B !important;
  border: 1px solid rgba(63, 81, 181, 0.28) !important;
}

html:not([data-dc-theme="dark"]) .ats-step-pill.active {
  background: #EEF2FF !important;
  color: #283593 !important;
  border-color: #3F51B5 !important;
}

html:not([data-dc-theme="dark"]) .ats-badge-bank {
  background: #EEF2FF !important;
  color: #283593 !important;
  border: 1px solid #3F51B5 !important;
}

html:not([data-dc-theme="dark"]) #atsApplyResult {
  color: #283593 !important;
}

/* High-specificity overrides for #home-hero lead, #dc-theme-toggle, .dp-chip, .dp-trust-row & .dc-intake-card select */
html:not([data-dc-theme="dark"]) #dc-theme-toggle.dc-theme-toggle-btn,
html:not([data-dc-theme="dark"]) body.dcvo-body #dc-theme-toggle.dc-theme-toggle-btn,
html:not([data-dc-theme="dark"]) body.dalmia-prime #dc-theme-toggle.dc-theme-toggle-btn {
  background: #F4F7FB !important;
  color: #0F172A !important;
  border: 1px solid rgba(63, 81, 181, 0.34) !important;
  font-weight: 700 !important;
}

html:not([data-dc-theme="dark"]) body.dc-web-v2.dp-v3.dc-home-premier.dcvo-body #home-hero :is(.dc-hero-lead, .rn-hero-context, p),
html:not([data-dc-theme="dark"]) body.dc-web-v2.dp-v3.dcvo-body #home-hero :is(.dc-hero-lead, .rn-hero-context, p) {
  color: #1E293B !important;
}

html:not([data-dc-theme="dark"]) body.dalmia-prime .dp-header :is(.dp-chip, a.dp-chip),
html:not([data-dc-theme="dark"]) body[data-dalmia-prime="true"] .dp-header :is(.dp-chip, a.dp-chip),
html:not([data-dc-theme="dark"]) body.dalmia-prime .dp-trust-row span,
html:not([data-dc-theme="dark"]) body[data-dalmia-prime="true"] .dp-trust-row span {
  background: #F4F7FB !important;
  color: #0F172A !important;
  border: 1px solid rgba(63, 81, 181, 0.28) !important;
}

html:not([data-dc-theme="dark"]) body[data-dalmia-prime="true"] form.dc-intake-card :is(select, input:not([type="checkbox"]):not([type="hidden"]), textarea),
html:not([data-dc-theme="dark"]) body.dalmia-prime.dp-v3 form.dc-intake-card :is(select, input:not([type="checkbox"]):not([type="hidden"]), textarea) {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid #94A3B8 !important;
  color-scheme: light !important;
}

html:not([data-dc-theme="dark"]) body[data-dalmia-prime="true"] :is(.dc-spf-bar, .dc-spf-bar label, .dc-spf-bar span) {
  color: #0F172A !important;
}

html[data-dc-theme="dark"] .ru-header,
html[data-dc-theme="dark"] body.dalmia-prime header.ru-header,
html[data-dc-theme="dark"] body[data-dalmia-prime="true"] header.ru-header {
  background: #101842 !important;
  border-bottom: 1px solid rgba(130, 52, 255, 0.48) !important;
  color: #f6f4ff !important;
}

html[data-dc-theme="dark"] body.dalmia-prime :is(.ru-brand, .ru-brand strong, .ru-brand div, .ru-nav a) {
  color: #f6f4ff !important;
}

html[data-dc-theme="dark"] .ru-field :is(input, select, textarea, option),
html[data-dc-theme="dark"] body.ru-body :is(input, select, textarea, option) {
  background-color: #070a26 !important;
  color: #f6f4ff !important;
  border: 1px solid rgba(130, 52, 255, 0.55) !important;
  color-scheme: dark !important;
}

/* ============================================================================
 * WCAG 2.1 AA ROYAL LIGHT COMPLETION (Zero-Failure Axe Verification — 2026-10-31)
 * Covers Smart Salesman Console, 3D Showcase Carousels, Smart Prefill Bars,
 * 2,353-Page Universe Hubs, V7 Membership/Referral Studios, 50K Social Hub,
 * Member Self-Service Portal, and Inline Prose Links (>= 7:1 AA/AAA Contrast).
 * ============================================================================ */

/* 1. Homepage Mini-Labels, Finder Hints, Tiya Meta Pill & Carousel Subtitles */
html:not([data-dc-theme="dark"]) :is(
  .dcvo-mini-label,
  #dcvo-finder-hint,
  .dp-cta span,
  .dp-cta > div > span,
  .dc-shortlist-autofill-note
) {
  color: #283593 !important;
}

html:not([data-dc-theme="dark"]) #dcvo-tiya-meta {
  background: #EEF2FF !important;
  color: #283593 !important;
  border: 1px solid rgba(63, 81, 181, 0.32) !important;
}

html:not([data-dc-theme="dark"]) :is(
  .dcvo-showcase-body strong,
  .dcvo-visual-meta strong,
  .dcvo-chapter-btn
) {
  color: #0F172A !important;
}

html:not([data-dc-theme="dark"]) :is(
  .dcvo-showcase-body span,
  .dcvo-showcase-body small,
  .dcvo-visual-meta span,
  .dcvo-visual-meta small,
  .dcvo-chapter-btn small
) {
  color: #1E293B !important;
}

/* 2. Smart Prefill Bar (.dc-spf-bar) Across All Intake Forms */
html:not([data-dc-theme="dark"]) :is(.dc-spf-bar, body .dc-spf-bar, body.dcvo-body .dc-spf-bar) {
  background: #EEF2FF !important;
  background-image: none !important;
  color: #0F172A !important;
  border: 1px solid rgba(63, 81, 181, 0.32) !important;
}

html:not([data-dc-theme="dark"]) :is(.dc-spf-bar, body .dc-spf-bar, body.dcvo-body .dc-spf-bar) :is(label, span, strong, small, p) {
  color: #0F172A !important;
}

html:not([data-dc-theme="dark"]) :is(.dc-spf-bar button, body .dc-spf-bar button) {
  background: #283593 !important;
  color: #FFFFFF !important;
  border: 1px solid #1E3A8A !important;
}

/* 3. 8-Step Smart Salesman Console, Honesty Cards, Calculators & Compare Drawer */
html:not([data-dc-theme="dark"]) :is(
  .dcvo-ss-question-card,
  .dcvo-ss-block,
  .dcvo-archetype-card,
  .dcvo-archetype-card.is-top-match,
  .dcvo-calc-card,
  .dcvo-ss-actions-bar,
  .dcvo-compare-drawer,
  .dcvo-showcase-carousel,
  .dcvo-trustindex-strip,
  .dcvo-before-after
) {
  background: #FFFFFF !important;
  background-image: none !important;
  color: #0F172A !important;
  border: 1px solid rgba(63, 81, 181, 0.24) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
}

html:not([data-dc-theme="dark"]) .dcvo-archetype-card.is-top-match {
  border: 2px solid #3F51B5 !important;
}

html:not([data-dc-theme="dark"]) :is(
  .dcvo-ss-option-btn:not([aria-pressed="true"]):not(.is-selected),
  .dcvo-honesty-list li,
  .dcvo-bundle-item,
  .dcvo-s13-governance-note,
  .dcvo-calc-output,
  .dcvo-ss-action-btn,
  .dcvo-ss-tiya-chip:not([aria-pressed="true"]),
  .dcvo-ss-tiya-answer,
  .dcvo-compare-slot
) {
  background: #F4F7FB !important;
  background-image: none !important;
  color: #0F172A !important;
  border-color: rgba(63, 81, 181, 0.28) !important;
}

html:not([data-dc-theme="dark"]) .dcvo-honesty-list li {
  border-left: 3px solid #3F51B5 !important;
}

html:not([data-dc-theme="dark"]) :is(
  .dcvo-ss-header h2,
  .dcvo-ss-question-card legend,
  .dcvo-ss-block-head h3,
  .dcvo-archetype-card h4,
  .dcvo-honesty-list li strong,
  .dcvo-ss-field-group label,
  .dcvo-calc-card h4,
  .dcvo-compare-slot h4
) {
  color: #0F172A !important;
}

html:not([data-dc-theme="dark"]) :is(
  .dcvo-ss-header p,
  .dcvo-ss-action-btn small,
  .dcvo-compare-slot p,
  .dcvo-compare-slot small
) {
  color: #1E293B !important;
}

html:not([data-dc-theme="dark"]) :is(
  .dcvo-archetype-spec,
  .dcvo-calc-output strong,
  .dcvo-ss-step-pill strong
) {
  color: #283593 !important;
}

html:not([data-dc-theme="dark"]) :is(
  .dcvo-ss-q-num,
  .dcvo-ss-option-btn[aria-pressed="true"],
  .dcvo-ss-option-btn.is-selected,
  .dcvo-ss-tiya-chip[aria-pressed="true"],
  .dcvo-chapter-btn[aria-selected="true"],
  .dcvo-chapter-btn.is-active,
  .compare-btn[aria-pressed="true"],
  [data-compare-item][aria-pressed="true"]
) {
  background: #283593 !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border-color: #1E3A8A !important;
}

html:not([data-dc-theme="dark"]) :is(
  .dcvo-ss-option-btn[aria-pressed="true"],
  .dcvo-ss-option-btn.is-selected,
  .dcvo-ss-tiya-chip[aria-pressed="true"],
  .dcvo-chapter-btn[aria-selected="true"],
  .dcvo-chapter-btn.is-active,
  .compare-btn[aria-pressed="true"],
  [data-compare-item][aria-pressed="true"]
) * {
  color: #FFFFFF !important;
}

/* 4-State Deterministic Compatibility Checker Alerts in Light Mode */
html:not([data-dc-theme="dark"]) .dcvo-compat-result[data-compat-state="VERIFIED_COMPATIBLE"] {
  background: #ECFDF5 !important;
  color: #064E3B !important;
  border-color: #059669 !important;
}
html:not([data-dc-theme="dark"]) .dcvo-compat-result[data-compat-state="VERIFIED_COMPATIBLE"] :is(.dcvo-compat-badge, strong, span, p) {
  color: #064E3B !important;
}
html:not([data-dc-theme="dark"]) .dcvo-compat-result[data-compat-state="VERIFIED_COMPATIBLE"] .dcvo-compat-badge {
  background: #D1FAE5 !important;
}

html:not([data-dc-theme="dark"]) .dcvo-compat-result[data-compat-state="VERIFIED_INCOMPATIBLE"] {
  background: #FFF1F2 !important;
  color: #881337 !important;
  border-color: #E11D48 !important;
}
html:not([data-dc-theme="dark"]) .dcvo-compat-result[data-compat-state="VERIFIED_INCOMPATIBLE"] :is(.dcvo-compat-badge, strong, span, p) {
  color: #881337 !important;
}
html:not([data-dc-theme="dark"]) .dcvo-compat-result[data-compat-state="VERIFIED_INCOMPATIBLE"] .dcvo-compat-badge {
  background: #FFE4E6 !important;
}

html:not([data-dc-theme="dark"]) .dcvo-compat-result[data-compat-state="UNKNOWN_REQUIRES_CHECK"] {
  background: #FFFBEB !important;
  color: #78350F !important;
  border-color: #D97706 !important;
}
html:not([data-dc-theme="dark"]) .dcvo-compat-result[data-compat-state="UNKNOWN_REQUIRES_CHECK"] :is(.dcvo-compat-badge, strong, span, p) {
  color: #78350F !important;
}
html:not([data-dc-theme="dark"]) .dcvo-compat-result[data-compat-state="UNKNOWN_REQUIRES_CHECK"] .dcvo-compat-badge {
  background: #FEF3C7 !important;
}

html:not([data-dc-theme="dark"]) .dcvo-compat-result[data-compat-state="NOT_APPLICABLE_WITH_REASON"] {
  background: #EFF6FF !important;
  color: #1E3A8A !important;
  border-color: #2563EB !important;
}
html:not([data-dc-theme="dark"]) .dcvo-compat-result[data-compat-state="NOT_APPLICABLE_WITH_REASON"] :is(.dcvo-compat-badge, strong, span, p) {
  color: #1E3A8A !important;
}
html:not([data-dc-theme="dark"]) .dcvo-compat-result[data-compat-state="NOT_APPLICABLE_WITH_REASON"] .dcvo-compat-badge {
  background: #DBEAFE !important;
}

/* Preserve High-Contrast Dark Cinema & Before/After Stage Inside Light Mode */
html:not([data-dc-theme="dark"]) :is(.dcvo-ba-stage, .dcvo-ba-after, .dcvo-ba-before) :is(h3, h4, p, span, strong, small),
html:not([data-dc-theme="dark"]) .dcvo-video-stage-wrap :is(.dcvo-telemetry-pill, .dcvo-telemetry-pill *) {
  color: #F8FAFC !important;
}
html:not([data-dc-theme="dark"]) .dcvo-video-stage-wrap .dcvo-telemetry-pill {
  background: #0F172A !important;
}

/* 4. 2,353-Page Royal Salesman Universe (/catalog-index, /catalog/*, /support/brands/*, /service-guides/*, /local-desk/*) */
html:not([data-dc-theme="dark"]) :is(.ru-links a.ru-cta-call, .ru-nav .ru-cta-call, .ru-btn-primary) {
  background: #283593 !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border: 1px solid #1E3A8A !important;
}

html:not([data-dc-theme="dark"]) :is(.ru-truth, .ru-form-card, .ru-faq details) {
  background: #FFFFFF !important;
  background-image: none !important;
  color: #0F172A !important;
  border: 1px solid rgba(63, 81, 181, 0.24) !important;
}

html:not([data-dc-theme="dark"]) :is(.ru-links-cloud a, .ru-btn-cyan, .ru-btn-outline) {
  background: #F4F7FB !important;
  background-image: none !important;
  color: #0F172A !important;
  border: 1px solid rgba(63, 81, 181, 0.28) !important;
}

html:not([data-dc-theme="dark"]) :is(.ru-crumbs, .ru-lead, .ru-card ul, .ru-card li, .ru-faq p, .ru-form-card p, .ru-form-card span, .ru-form-card label) {
  color: #1E293B !important;
}

html:not([data-dc-theme="dark"]) :is(.ru-crumbs a, .ru-card a[style], .ru-form-card a[style], .ru-foot a) {
  color: #1E3A8A !important;
  text-decoration: underline !important;
}

/* 5. /membership & /referral V7 Studios, Orbit Badges & Inline Style Overrides */
html:not([data-dc-theme="dark"]) :is(.dp-orbit-label, .dp-orbit-label.one, .dp-orbit-label.two, .dp-orbit-label.three) {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid #3F51B5 !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12) !important;
}

html:not([data-dc-theme="dark"]) :is(.v7-ref-banner, .v7-sim-shell, .v7-studio) {
  background: #FFFFFF !important;
  background-image: none !important;
  color: #0F172A !important;
  border: 1px solid rgba(63, 81, 181, 0.26) !important;
}

html:not([data-dc-theme="dark"]) :is(.v7-stat-card, .v7-rules-badges span, .v7-qr-preview, .v7-milestone-bar-track, .v7-ref-code-pill) {
  background: #F4F7FB !important;
  color: #0F172A !important;
  border: 1px solid rgba(63, 81, 181, 0.28) !important;
}

html:not([data-dc-theme="dark"]) .v7-btn {
  background: #283593 !important;
  color: #FFFFFF !important;
  border: 1px solid #1E3A8A !important;
}

html:not([data-dc-theme="dark"]) :is(
  .v7-sim-shell [style],
  .v7-ref-banner [style],
  .v7-studio [style],
  .v7-stat-card span,
  .v7-table td,
  #refKitStatus,
  #mileSummaryText
) {
  color: #0F172A !important;
}

html:not([data-dc-theme="dark"]) :is(.v7-stat-card strong, #mileCountVal) {
  color: #283593 !important;
}

html:not([data-dc-theme="dark"]) .v7-table th {
  background: #EEF2FF !important;
  color: #283593 !important;
}

html:not([data-dc-theme="dark"]) .v7-table td {
  background: #FFFFFF !important;
}

/* 6. /social-hub 50K Community Hub, 13-Gift Showcase, Rubric & Printable QR Studio */
html:not([data-dc-theme="dark"]) :is(.ro-topbar, .ro-header) {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12) !important;
}

html:not([data-dc-theme="dark"]) :is(.ro-topbar a, .ro-nav a, .ro-brand, .ro-brand strong) {
  color: #0F172A !important;
}

html:not([data-dc-theme="dark"]) :is(.ro-brand small, .ro-card h3) {
  color: #283593 !important;
}

html:not([data-dc-theme="dark"]) .ro-eyebrow {
  background: #EEF2FF !important;
  color: #283593 !important;
  border: 1px solid rgba(63, 81, 181, 0.32) !important;
}

html:not([data-dc-theme="dark"]) :is(.ro-hero, .ro-card, .ro-pose-frame) {
  background: #FFFFFF !important;
  background-image: none !important;
  color: #0F172A !important;
  border: 1px solid rgba(63, 81, 181, 0.24) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05) !important;
}

html:not([data-dc-theme="dark"]) :is(
  .ro-pose-caption,
  .ro-kpi-box,
  .ro-channel-card,
  .ro-prize-item,
  .ro-amoe-box,
  .ro-rubric-row,
  .ro-rubric-summary,
  .ro-scoreboard-table,
  .ro-qr-preview-box,
  .ro-check-pill,
  .ro-tp-pill:not([aria-pressed="true"]),
  .ro-btn-secondary
) {
  background: #F4F7FB !important;
  background-image: none !important;
  color: #0F172A !important;
  border: 1px solid rgba(63, 81, 181, 0.28) !important;
}

html:not([data-dc-theme="dark"]) :is(
  .ro-kpi-box span,
  .ro-channel-card span,
  .ro-contest-list,
  .ro-field label,
  .ro-rubric-row label,
  .ro-scoreboard-table td,
  .ro-card legend[style],
  .ro-card label[style],
  .ro-rubric-summary [style],
  .ro-footer,
  .ro-footer strong[style]
) {
  color: #0F172A !important;
}

html:not([data-dc-theme="dark"]) :is(
  .ro-kpi-box strong,
  .ro-channel-card strong,
  .ro-prize-item strong,
  .ro-footer a
) {
  color: #283593 !important;
}

html:not([data-dc-theme="dark"]) .ro-scoreboard-table th {
  background: #EEF2FF !important;
  color: #283593 !important;
}

html:not([data-dc-theme="dark"]) :is(.ro-btn-primary, .ro-tp-pill[aria-pressed="true"]) {
  background: #283593 !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border: 1px solid #1E3A8A !important;
}

html:not([data-dc-theme="dark"]) :is(.ro-btn-primary, .ro-tp-pill[aria-pressed="true"]) * {
  color: #FFFFFF !important;
}

/* 7. /portal/ Member Self-Service Portal Inline Style & Result-Box Overrides */
html:not([data-dc-theme="dark"]) :is(
  .brand-block .subtitle,
  .subtitle,
  .wallet-kpi span,
  .stage-step,
  .portal-breadcrumb
) {
  color: #334155 !important;
}

html:not([data-dc-theme="dark"]) :is(
  .result-box,
  .result-box [style],
  #walletUnlockStatus,
  #portalRedeemResult,
  #portalRedeemResult strong,
  .portal-breadcrumb span[style]
) {
  color: #0F172A !important;
}

html:not([data-dc-theme="dark"]) :is(
  .wallet-kpi strong,
  .wallet-kpi small,
  .pill-gold,
  .result-box h3[style],
  .result-box > strong[style],
  .result-box a,
  .footer-bar a,
  .portal-breadcrumb a[style]
) {
  color: #283593 !important;
}

html:not([data-dc-theme="dark"]) :is(.btn-primary, .stage-step.current) {
  background: #283593 !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border-color: #1E3A8A !important;
}

/* 8. WCAG 1.4.1 Distinguishable Inline Links in Prose (`link-in-text-block`) */
html:not([data-dc-theme="dark"]) :is(p, li, span, label, small, dd) > a:not([class*="btn"]):not([class*="button"]):not([class*="pill"]):not([class*="chip"]):not([class*="cta"]) {
  color: #1E3A8A !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

/* 9. Homepage & Subpage Footer Tagline / Brand Copy / Bottom Legal Strip Contrast */
html:not([data-dc-theme="dark"]) body.dcvo-body :is(
  .dcvo-footer-tagline,
  .dc-footer-brand p,
  .dc-footer-brand span,
  .dc-footer-bottom,
  .dc-footer-bottom span
) {
  color: #1E293B !important;
}

/* 10. Services-First Mode Notice Banner (`[data-services-first-notice]`) in Light Mode */
html:not([data-dc-theme="dark"]) [data-services-first-notice],
html:not([data-dc-theme="dark"]) body [data-services-first-notice],
html:not([data-dc-theme="dark"]) body.sovereign-violet [data-services-first-notice] {
  background: #EEF2FF !important;
  background-image: none !important;
  color: #0F172A !important;
  border: 1px solid rgba(63, 81, 181, 0.34) !important;
}

html:not([data-dc-theme="dark"]) [data-services-first-notice] a,
html:not([data-dc-theme="dark"]) body [data-services-first-notice] a {
  background: transparent !important;
  color: #1E3A8A !important;
  text-decoration: underline !important;
  font-weight: 700 !important;
}
