/* WO29926 — readable contrast on ministry lanes (harness + human wince pass).
   Layered after visual-polish; preserves jawdrop aesthetic. */

/* ── Creation Portal homepage (light proclamation column) ── */
body.dancz-creation-portal-home .cp-kicker {
  color: rgba(22, 18, 10, 0.78) !important;
}

body.dancz-creation-portal-home .cp-headline span {
  color: #1a1510 !important;
}

body.dancz-creation-portal-home .cp-lede {
  color: rgba(22, 18, 10, 0.82) !important;
}

body.dancz-creation-portal-home .cp-honesty-note {
  color: rgba(22, 18, 10, 0.72) !important;
}

body.dancz-creation-portal-home .cp-cta-ghost {
  color: #1f1810 !important;
  border-color: rgba(26, 18, 4, 0.32) !important;
  background: rgba(255, 252, 240, 0.92) !important;
  box-shadow: 0 2px 12px rgba(26, 18, 4, 0.08);
}

body.dancz-creation-portal-home .cp-cta-ghost:hover {
  color: #0f0c08 !important;
  border-color: rgba(200, 148, 42, 0.55) !important;
  background: rgba(255, 248, 228, 0.98) !important;
}

body.dancz-creation-portal-home .cp-node {
  color: #1a1510 !important;
}

body.dancz-creation-portal-home .cp-node-label {
  color: #1a1510 !important;
  font-weight: 800;
  text-shadow:
    0 0 10px rgba(255, 252, 240, 0.98),
    0 1px 2px rgba(255, 252, 240, 0.92),
    0 0 2px rgba(255, 255, 255, 0.88),
    0 2px 8px rgba(26, 18, 4, 0.18);
}

body.dancz-creation-portal-home .cp-node.active,
body.dancz-creation-portal-home .cp-node:hover,
body.dancz-creation-portal-home .cp-node:focus-visible {
  color: #0f0c08 !important;
}

body.dancz-creation-portal-home .cp-node.active .cp-node-label,
body.dancz-creation-portal-home .cp-node:hover .cp-node-label,
body.dancz-creation-portal-home .cp-node:focus-visible .cp-node-label {
  color: #0f0c08 !important;
}

/* Harness samples anchor color on JS-built orbit nodes (color: inherit → --cp-ivory). */
body.dancz-creation-portal-home .cp-orbit-group a.cp-node,
.cp-page .cp-orbit-group a.cp-node {
  color: #1a1510 !important;
  -webkit-text-fill-color: #1a1510 !important;
}

body.dancz-creation-portal-home .cp-orbit-group a.cp-node .cp-node-label,
.cp-page .cp-orbit-group a.cp-node .cp-node-label {
  color: #1a1510 !important;
  -webkit-text-fill-color: #1a1510 !important;
}

body.dancz-creation-portal-home .cp-steward .cp-cta-ghost,
body.dancz-creation-portal-home .cp-steward .cp-steward-enter {
  color: #f5f0e4 !important;
  border-color: rgba(255, 247, 217, 0.28) !important;
  background: rgba(8, 12, 20, 0.42) !important;
}

/* ── Beta / Discord / RuachDavid lanes ── */
.dm-beta-home {
  --bh-muted: rgba(232, 242, 255, 0.88);
}

.dm-beta-home .dm-bh-subtitle,
.dm-beta-home .dm-bh-honesty,
.dm-beta-home .dm-bh-kicker {
  color: rgba(240, 248, 255, 0.92) !important;
}

.dm-beta-home .dm-bh-btn-secondary,
.dm-beta-home .dm-bh-btn-ghost {
  color: #f0f6ff !important;
  border-color: rgba(141, 231, 237, 0.45) !important;
}

.dm-beta-home .dm-bh-btn-primary,
.dm-beta-home a.dm-bh-btn-primary {
  background: #1a2470 !important;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

.dm-beta-home .dm-bh-path p,
.dm-beta-home .dm-bh-path h3,
.dm-beta-home .dm-bh-path strong,
.dm-beta-home .dm-bh-path-title,
.dm-beta-home .dm-bh-path-step,
.dm-beta-home .dm-bh-section-body,
.dm-beta-home .dm-bh-section-body p {
  color: #f5faff !important;
  -webkit-text-fill-color: #f5faff !important;
}

.rv-kicker,
.rv-boot-line,
.rv-proclamation .rv-lede,
.rv-console .rv-steward-kicker {
  color: rgba(232, 248, 255, 0.9) !important;
}

.rv-cta-ghost,
.rv-console .cp-cta-ghost {
  color: #f2f8ff !important;
  border-color: rgba(118, 212, 255, 0.42) !important;
}

.rmo-page .rmo-kicker,
.rmo-page .rmo-lede {
  color: rgba(240, 235, 255, 0.9) !important;
}

/* Discord beta lane */
.dm-discord-home .dm-db-kicker,
.dm-discord-home .dm-db-lede,
.dm-discord-home .dm-db-hero h1 + p {
  color: rgba(235, 245, 255, 0.9) !important;
}

/* ── Portal shell + Bible / chronology CTAs ── */
body.dancz-portal-site .ps-btn-primary,
body.dancz-portal-site .ps-btn,
body.dancz-portal-site .dm-hub-action-primary,
body.dancz-portal-site .dm-hub-action:not(.dm-hub-action-primary) {
  color: #1a1204 !important;
}

body.dancz-portal-site .ps-btn-ghost,
body.dancz-portal-site .dm-hub-action:not(.dm-hub-action-primary) {
  color: #f5f0e4 !important;
  border-color: rgba(240, 200, 90, 0.38) !important;
}

body.dancz-portal-site .ps-route-lede,
body.dancz-portal-site .ps-route-kicker,
body.dancz-portal-site .dm-hub-lede {
  color: rgba(232, 240, 255, 0.9) !important;
}

/* RuachDavid support lane */
.rv-support-home .rvs-kicker,
.rv-support-home .rvs-lede,
.rv-support-home .rvs-email {
  color: rgba(240, 248, 255, 0.92) !important;
}

@media (max-width: 720px) {
  body.dancz-creation-portal-home .cp-header-nav a {
    color: #1a1510 !important;
  }

  body.dancz-creation-portal-home .cp-header-nav a.is-active {
    color: #0f0c08 !important;
    background: rgba(245, 213, 107, 0.35);
  }
}

/* ── WO29926 shared route controls still failing contrast ── */
html body.dm-sitewide-codex .dm-hub-action:not(.dm-hub-action-primary),
html body.dm-sitewide-codex .dm-hub-mode:not(.is-active),
html body.dm-sitewide-codex .bl-study-boundary-actions .is-ghost {
  background: rgba(6, 15, 28, 0.9) !important;
  border-color: rgba(245, 213, 107, 0.5) !important;
  color: #f3f8ff !important;
  -webkit-text-fill-color: #f3f8ff !important;
  text-shadow: 0 1px 10px rgba(3, 9, 19, 0.34);
}

html body.dm-sitewide-codex .dm-hub-action:not(.dm-hub-action-primary):hover,
html body.dm-sitewide-codex .dm-hub-action:not(.dm-hub-action-primary):focus-visible,
html body.dm-sitewide-codex .dm-hub-mode:not(.is-active):hover,
html body.dm-sitewide-codex .dm-hub-mode:not(.is-active):focus-visible,
html body.dm-sitewide-codex .bl-study-boundary-actions .is-ghost:hover,
html body.dm-sitewide-codex .bl-study-boundary-actions .is-ghost:focus-visible {
  background: rgba(12, 33, 54, 0.94) !important;
  border-color: rgba(255, 231, 166, 0.72) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html body.dm-sitewide-codex .dm-card-link {
  color: #ffffff !important;
  text-decoration-color: rgba(255, 237, 178, 0.84) !important;
  text-shadow: 0 1px 4px rgba(3, 9, 19, 0.9), 0 1px 12px rgba(3, 9, 19, 0.38);
}

html body.dm-sitewide-codex .dm-card-link:hover,
html body.dm-sitewide-codex .dm-card-link:focus-visible {
  color: #ffffff !important;
  text-decoration-color: rgba(255, 255, 255, 0.88) !important;
}

body.dancz-creation-portal-home .cp-door-strip {
  padding: 1rem 1rem 0.95rem !important;
  border-radius: 0.9rem;
  background: rgba(5, 12, 22, 0.9) !important;
  border: 1px solid rgba(255, 231, 166, 0.18) !important;
  box-shadow: 0 20px 48px rgba(3, 9, 19, 0.3);
}

body.dancz-creation-portal-home .cp-door-strip-kicker {
  color: #fff0b8 !important;
  -webkit-text-fill-color: #fff0b8 !important;
  text-shadow: 0 1px 12px rgba(3, 9, 19, 0.52);
}

body.dancz-creation-portal-home .cp-door-card-label,
body.dancz-creation-portal-home .cp-door-card-state {
  color: #1a1510 !important;
  -webkit-text-fill-color: #1a1510 !important;
  text-shadow: none !important;
}

body.dancz-creation-portal-home .cp-door-strip-note {
  color: #eef7ff !important;
  -webkit-text-fill-color: #eef7ff !important;
  text-shadow: 0 1px 12px rgba(3, 9, 19, 0.52);
}

body.dancz-creation-portal-home .cp-door-card {
  background: rgba(255, 252, 240, 0.96) !important;
  border-color: rgba(26, 18, 4, 0.22) !important;
}

body.dancz-creation-portal-home .cp-door-card:hover,
body.dancz-creation-portal-home .cp-door-card:focus-visible {
  background: rgba(12, 33, 54, 0.92) !important;
  border-color: rgba(255, 231, 166, 0.56) !important;
}

html body.dm-sitewide-codex .bl-study-boundary-actions .is-primary,
html body.dm-sitewide-codex .dm-ra-btn-primary,
html body.dm-sitewide-codex .sn-btn-primary,
html body.dm-sitewide-codex .dm-rt-hero .links a.p,
html body.dm-sitewide-codex .dm-pa-btn-primary {
  color: #07110f !important;
  -webkit-text-fill-color: #07110f !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.26), 0 0 0 1px rgba(255, 236, 176, 0.18);
}

html body.dm-sitewide-codex .dm-ra-btn-outline,
html body.dm-sitewide-codex .sn-btn:not(.sn-btn-primary),
html body.dm-sitewide-codex .dm-rt-hero .links a.o,
html body.dm-sitewide-codex .dm-rt-ai-strip a,
html body.dm-sitewide-codex .dancz-professional-access-page .dm-pa-btn-outline,
html body.dm-sitewide-codex .dancz-professional-access-page .dm-home-cta-actions .dm-btn-outline {
  background: rgba(6, 15, 28, 0.9) !important;
  border-color: rgba(245, 213, 107, 0.48) !important;
  color: #f2f8ff !important;
  -webkit-text-fill-color: #f2f8ff !important;
  text-shadow: 0 1px 10px rgba(3, 9, 19, 0.34);
}

html body.dm-sitewide-codex .dm-ra-btn-outline:hover,
html body.dm-sitewide-codex .dm-ra-btn-outline:focus-visible,
html body.dm-sitewide-codex .sn-btn:not(.sn-btn-primary):hover,
html body.dm-sitewide-codex .sn-btn:not(.sn-btn-primary):focus-visible,
html body.dm-sitewide-codex .dm-rt-hero .links a.o:hover,
html body.dm-sitewide-codex .dm-rt-hero .links a.o:focus-visible,
html body.dm-sitewide-codex .dm-rt-ai-strip a:hover,
html body.dm-sitewide-codex .dm-rt-ai-strip a:focus-visible,
html body.dm-sitewide-codex .dancz-professional-access-page .dm-pa-btn-outline:hover,
html body.dm-sitewide-codex .dancz-professional-access-page .dm-pa-btn-outline:focus-visible,
html body.dm-sitewide-codex .dancz-professional-access-page .dm-home-cta-actions .dm-btn-outline:hover,
html body.dm-sitewide-codex .dancz-professional-access-page .dm-home-cta-actions .dm-btn-outline:focus-visible {
  background: rgba(12, 33, 54, 0.94) !important;
  border-color: rgba(255, 231, 166, 0.72) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.dm-beta-home .dm-bh-rule-label,
.dm-beta-home .dm-bh-path-num {
  color: #fff0b8 !important;
  -webkit-text-fill-color: #fff0b8 !important;
  text-shadow: 0 1px 10px rgba(3, 9, 19, 0.4);
}

.dm-beta-home .dm-bh-bug-eyebrow {
  color: #fff0b8 !important;
  -webkit-text-fill-color: #fff0b8 !important;
  text-shadow: 0 1px 10px rgba(3, 9, 19, 0.4);
}

.dm-beta-home .dm-bh-bug-inner h3,
.dm-beta-home .dm-bh-bug-inner p,
.dm-beta-home .dm-bh-bug-inner li {
  color: #f5faff !important;
  -webkit-text-fill-color: #f5faff !important;
  text-shadow: 0 1px 10px rgba(3, 9, 19, 0.34);
}

html body.dm-sitewide-codex .dm-rt-ai-strip a.is-live {
  background: rgba(7, 31, 23, 0.9) !important;
  border-color: rgba(142, 240, 200, 0.56) !important;
  color: #e4fff2 !important;
  -webkit-text-fill-color: #e4fff2 !important;
}

/* ── WO29926 root gold-primary readability (sitewide, not per-route) ── */

html body.dm-sitewide-codex .dm-header-actions a.dm-btn-primary,
html body.dm-sitewide-codex .dm-header-actions .dm-btn-primary,
html body.dm-sitewide-codex .dm-mobile-action-row a.dm-btn-primary,
html body.dm-sitewide-codex .dm-mobile-action-row .dm-btn-primary,
html body.dm-sitewide-codex .dm-header-actions a.dm-btn-primary *,
html body.dm-sitewide-codex .dm-mobile-action-row a.dm-btn-primary * {
  color: #101014 !important;
  -webkit-text-fill-color: #101014 !important;
  text-shadow: none !important;
  background: linear-gradient(135deg, #f5d983, #a66a19) !important;
  border-color: rgba(239, 210, 132, 0.58) !important;
}

body.dm-sitewide-codex .dm-btn-primary,
body.dm-sitewide-codex a.dm-btn-primary,
body.dm-sitewide-codex .dm-hub-action-primary,
body.dm-sitewide-codex a.dm-hub-action-primary,
body.dm-sitewide-codex .dm-rd-btn-primary,
body.dm-sitewide-codex .sn-btn-primary,
body.dm-sitewide-codex a.sn-btn-primary,
body.dm-sitewide-codex .dm-ra-btn-primary,
body.dm-sitewide-codex .dm-footer-action-row a.dm-btn-primary,
body.dm-sitewide-codex .dm-footer-action-row .dm-btn-primary,
body[class*="-lane-dedicated"] .dm-hub-action-primary,
body[class*="-lane-dedicated"] a.dm-hub-action-primary,
body[class*="-lane-dedicated"] .dm-btn-primary,
body[class*="-lane-dedicated"] a.dm-btn-primary,
body[class*="-lane-dedicated"] .sn-btn-primary,
body[class*="-lane-dedicated"] a.sn-btn-primary {
  color: #07110f !important;
  -webkit-text-fill-color: #07110f !important;
  background: linear-gradient(180deg, #f8da72, #c89525) !important;
  border-color: rgba(245, 213, 107, 0.72) !important;
  text-shadow: none !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.26), 0 0 0 1px rgba(255, 236, 176, 0.18) !important;
}

body.dm-sitewide-codex .dm-btn-primary:hover,
body.dm-sitewide-codex .dm-btn-primary:focus-visible,
body.dm-sitewide-codex .dm-hub-action-primary:hover,
body.dm-sitewide-codex .dm-hub-action-primary:focus-visible,
body.dm-sitewide-codex .sn-btn-primary:hover,
body.dm-sitewide-codex .sn-btn-primary:focus-visible,
body[class*="-lane-dedicated"] .dm-hub-action-primary:hover,
body[class*="-lane-dedicated"] .dm-hub-action-primary:focus-visible,
body[class*="-lane-dedicated"] .sn-btn-primary:hover,
body[class*="-lane-dedicated"] .sn-btn-primary:focus-visible {
  color: #03060d !important;
  -webkit-text-fill-color: #03060d !important;
}

body.dm-sitewide-codex .rv-cta-primary,
body.dm-sitewide-codex a.rv-cta-primary,
body.rv-lane-dedicated .rv-cta-primary,
body.rv-lane-dedicated a.rv-cta-primary {
  color: #01060f !important;
  -webkit-text-fill-color: #01060f !important;
  text-shadow: none !important;
}

body[class*="-lane-dedicated"] .dm-hub-action:not(.dm-hub-action-primary),
body[class*="-lane-dedicated"] .dm-hub-mode:not(.is-active),
body.bl-lane-dedicated .bl-study-boundary-actions .is-ghost {
  background: rgba(6, 15, 28, 0.9) !important;
  border-color: rgba(245, 213, 107, 0.5) !important;
  color: #f3f8ff !important;
  -webkit-text-fill-color: #f3f8ff !important;
  text-shadow: 0 1px 10px rgba(3, 9, 19, 0.34);
}

/* Sitewide ghost/outline buttons (e.g. ruachdavid-terms Support) */
html body.dm-sitewide-codex a.dm-btn-outline,
html body.dm-sitewide-codex .dm-btn-outline {
  background: rgba(6, 15, 28, 0.9) !important;
  border-color: rgba(245, 213, 107, 0.48) !important;
  color: #f2f8ff !important;
  -webkit-text-fill-color: #f2f8ff !important;
  text-shadow: 0 1px 10px rgba(3, 9, 19, 0.34);
}

html body.dm-sitewide-codex a.dm-btn-outline:hover,
html body.dm-sitewide-codex a.dm-btn-outline:focus-visible,
html body.dm-sitewide-codex .dm-btn-outline:hover,
html body.dm-sitewide-codex .dm-btn-outline:focus-visible {
  background: rgba(12, 33, 54, 0.94) !important;
  border-color: rgba(255, 231, 166, 0.72) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* ── WO29926 shared P2 cleanup: docks, journey strips, card links, and hub controls ── */

body.dancz-creation-portal-home .cp-door-card {
  color: #1a1510 !important;
  -webkit-text-fill-color: #1a1510 !important;
  text-shadow: none !important;
}

html body.dm-sitewide-codex .ps-route-dock {
  background: linear-gradient(180deg, rgba(2, 6, 12, 0.18), rgba(2, 6, 12, 0.98)) !important;
  border-top-color: rgba(255, 231, 166, 0.24) !important;
  box-shadow: 0 -16px 42px rgba(1, 5, 11, 0.32);
}

html body.dm-sitewide-codex .ps-route-dock-link {
  background: rgba(6, 15, 28, 0.96) !important;
  border-color: rgba(245, 213, 107, 0.42) !important;
  color: #f3f8ff !important;
  -webkit-text-fill-color: #f3f8ff !important;
  text-shadow: 0 1px 10px rgba(3, 9, 19, 0.4);
  box-shadow: 0 12px 28px rgba(1, 5, 11, 0.22);
}

html body.dm-sitewide-codex .ps-route-dock-link.is-active,
html body.dm-sitewide-codex .ps-route-dock-link:hover,
html body.dm-sitewide-codex .ps-route-dock-link:focus-visible {
  background: rgba(12, 33, 54, 0.98) !important;
  border-color: rgba(255, 231, 166, 0.7) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html body.dm-sitewide-codex .ps-compact-hub-journey {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  padding: 0.9rem 1rem 0.55rem;
  background: linear-gradient(180deg, rgba(2, 6, 12, 0.96), rgba(2, 6, 12, 0.88)) !important;
  border-bottom: 1px solid rgba(255, 231, 166, 0.16);
}

html body.dm-sitewide-codex .ps-compact-hub-journey-title {
  color: #fff0b8 !important;
  -webkit-text-fill-color: #fff0b8 !important;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(3, 9, 19, 0.42);
}

html body.dm-sitewide-codex .ps-compact-hub-journey-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.3rem;
  padding: 0 0.92rem;
  border-radius: 999px;
  background: rgba(6, 15, 28, 0.96) !important;
  border: 1px solid rgba(245, 213, 107, 0.42) !important;
  color: #f3f8ff !important;
  -webkit-text-fill-color: #f3f8ff !important;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.15;
  text-decoration: none !important;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(3, 9, 19, 0.4);
  box-shadow: 0 12px 28px rgba(1, 5, 11, 0.22);
}

html body.dm-sitewide-codex .ps-compact-hub-journey-link.is-active,
html body.dm-sitewide-codex .ps-compact-hub-journey-link:hover,
html body.dm-sitewide-codex .ps-compact-hub-journey-link:focus-visible {
  background: rgba(12, 33, 54, 0.98) !important;
  border-color: rgba(255, 231, 166, 0.72) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html body.dm-sitewide-codex .dm-hub-mode {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 0.92rem;
  background: rgba(6, 15, 28, 0.96) !important;
  border-color: rgba(245, 213, 107, 0.34) !important;
  color: #f3f8ff !important;
  -webkit-text-fill-color: #f3f8ff !important;
  text-shadow: 0 1px 10px rgba(3, 9, 19, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 30px rgba(1, 5, 11, 0.2);
}

html body.dm-sitewide-codex .dm-hub-mode.is-active,
html body.dm-sitewide-codex .dm-hub-mode:hover,
html body.dm-sitewide-codex .dm-hub-mode:focus-visible {
  background: linear-gradient(180deg, #f8da72, #c89525) !important;
  border-color: rgba(255, 231, 166, 0.76) !important;
  color: #07110f !important;
  -webkit-text-fill-color: #07110f !important;
  text-shadow: none !important;
}

html body.dm-sitewide-codex .dm-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: rgba(6, 15, 28, 0.96) !important;
  border: 1px solid rgba(245, 213, 107, 0.44) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none !important;
  text-shadow: 0 1px 10px rgba(3, 9, 19, 0.46);
  box-shadow: 0 12px 30px rgba(1, 5, 11, 0.22);
}

html body.dm-sitewide-codex .dm-card-link:hover,
html body.dm-sitewide-codex .dm-card-link:focus-visible {
  background: rgba(12, 33, 54, 0.98) !important;
  border-color: rgba(255, 231, 166, 0.72) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html body.dm-sitewide-codex .bl-study-boundary-actions .is-primary {
  background: linear-gradient(180deg, #f8da72, #c89525) !important;
  border: 1px solid rgba(245, 213, 107, 0.72) !important;
  color: #07110f !important;
  -webkit-text-fill-color: #07110f !important;
  text-shadow: none !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.26), 0 0 0 1px rgba(255, 236, 176, 0.18) !important;
}

html body.dm-sitewide-codex .dm-ra-btn-primary,
html body.dm-sitewide-codex .dm-ra-btn-outline,
html body.dm-sitewide-codex .sn-btn,
html body.dm-sitewide-codex .sn-shelf-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.76rem 1.18rem !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  line-height: 1.15 !important;
}

html body.dm-sitewide-codex .sn-top-nav a,
html body.dm-sitewide-codex .sn-child-door-strip a {
  background: rgba(6, 15, 28, 0.92) !important;
  border: 1px solid rgba(245, 213, 107, 0.32) !important;
  color: #f3f8ff !important;
  -webkit-text-fill-color: #f3f8ff !important;
  text-shadow: 0 1px 10px rgba(3, 9, 19, 0.38);
  box-shadow: 0 10px 24px rgba(1, 5, 11, 0.18);
}

html body.dm-sitewide-codex .sn-top-nav a:hover,
html body.dm-sitewide-codex .sn-top-nav a:focus-visible,
html body.dm-sitewide-codex .sn-child-door-strip a:hover,
html body.dm-sitewide-codex .sn-child-door-strip a:focus-visible,
html body.dm-sitewide-codex .sn-child-door-strip a[aria-current="page"] {
  background: rgba(12, 33, 54, 0.96) !important;
  border-color: rgba(255, 231, 166, 0.68) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Higher-specificity follow-through for lanes that still beat the shared layer. */

body.dancz-portal-site .ps-route-dock .ps-route-dock-link,
body.dancz-portal-site .ps-compact-hub-journey .ps-compact-hub-journey-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 2.3rem !important;
  padding: 0 0.92rem !important;
  border-radius: 999px !important;
  background: rgba(6, 15, 28, 0.96) !important;
  border: 1px solid rgba(245, 213, 107, 0.42) !important;
  color: #f3f8ff !important;
  -webkit-text-fill-color: #f3f8ff !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  line-height: 1.15 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  text-shadow: 0 1px 10px rgba(3, 9, 19, 0.4) !important;
  box-shadow: 0 12px 28px rgba(1, 5, 11, 0.22) !important;
}

body.dancz-portal-site .ps-route-dock .ps-route-dock-link.is-active,
body.dancz-portal-site .ps-route-dock .ps-route-dock-link:hover,
body.dancz-portal-site .ps-route-dock .ps-route-dock-link:focus-visible,
body.dancz-portal-site .ps-compact-hub-journey .ps-compact-hub-journey-link.is-active,
body.dancz-portal-site .ps-compact-hub-journey .ps-compact-hub-journey-link:hover,
body.dancz-portal-site .ps-compact-hub-journey .ps-compact-hub-journey-link:focus-visible {
  background: rgba(12, 33, 54, 0.98) !important;
  border-color: rgba(255, 231, 166, 0.72) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.dancz-portal-site .ps-compact-hub-journey .ps-compact-hub-journey-title {
  color: #fff0b8 !important;
  -webkit-text-fill-color: #fff0b8 !important;
  font-size: 0.62rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  text-shadow: 0 1px 10px rgba(3, 9, 19, 0.42) !important;
}

body.dm-sitewide-codex.dm-area-ryan .site-main .entry-content .dm-hub-modes .dm-hub-mode:not(.is-active),
body.dm-sitewide-codex.dm-area-ryan .site-main .entry-content .dm-hub-modes .dm-hub-mode:not(.is-active) * {
  color: #f3f8ff !important;
  -webkit-text-fill-color: #f3f8ff !important;
  text-shadow: 0 1px 10px rgba(3, 9, 19, 0.4) !important;
}

body.dm-sitewide-codex.dm-area-ryan .site-main .entry-content .dm-card-link,
body.dm-sitewide-codex.dm-area-daveai .site-main .entry-content .dancz-professional-access-page .dm-card-link,
body.dm-sitewide-codex.dm-area-apologist .site-main .entry-content .dm-card-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 2.4rem !important;
  padding: 0 0.95rem !important;
  border-radius: 999px !important;
  background: rgba(6, 15, 28, 0.96) !important;
  border: 1px solid rgba(245, 213, 107, 0.44) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none !important;
  text-shadow: 0 1px 10px rgba(3, 9, 19, 0.46) !important;
  box-shadow: 0 12px 30px rgba(1, 5, 11, 0.22) !important;
}

body.dm-sitewide-codex.dm-area-ryan .site-main .entry-content .dm-card-link:hover,
body.dm-sitewide-codex.dm-area-ryan .site-main .entry-content .dm-card-link:focus-visible,
body.dm-sitewide-codex.dm-area-daveai .site-main .entry-content .dancz-professional-access-page .dm-card-link:hover,
body.dm-sitewide-codex.dm-area-daveai .site-main .entry-content .dancz-professional-access-page .dm-card-link:focus-visible,
body.dm-sitewide-codex.dm-area-apologist .site-main .entry-content .dm-card-link:hover,
body.dm-sitewide-codex.dm-area-apologist .site-main .entry-content .dm-card-link:focus-visible {
  background: rgba(12, 33, 54, 0.98) !important;
  border-color: rgba(255, 231, 166, 0.72) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.dm-sitewide-codex.dm-area-apologist .site-main .entry-content .bl-study-boundary-actions .is-primary,
body.dm-sitewide-codex.dm-area-apologist .site-main .entry-content a.dm-ra-btn-primary,
body.dm-sitewide-codex.dm-area-sanctum .site-main .entry-content a.sn-btn-primary {
  background: linear-gradient(180deg, #f8da72, #c89525) !important;
  border: 1px solid rgba(245, 213, 107, 0.72) !important;
  color: #07110f !important;
  -webkit-text-fill-color: #07110f !important;
  text-shadow: none !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.26), 0 0 0 1px rgba(255, 236, 176, 0.18) !important;
}

body.dm-sitewide-codex.dm-area-apologist .site-main .entry-content a.dm-ra-btn-outline,
body.dm-sitewide-codex.dm-area-sanctum .site-main .entry-content a.sn-btn:not(.sn-btn-primary),
body.dm-sitewide-codex.dm-area-sanctum .site-main .entry-content .sn-shelf-link,
body.dm-sitewide-codex.dm-area-sanctum .site-main .entry-content .sn-top-nav a,
body.dm-sitewide-codex.dm-area-sanctum .site-main .entry-content .sn-child-door-strip a {
  background: rgba(6, 15, 28, 0.94) !important;
  border: 1px solid rgba(245, 213, 107, 0.42) !important;
  color: #f3f8ff !important;
  -webkit-text-fill-color: #f3f8ff !important;
  text-shadow: 0 1px 10px rgba(3, 9, 19, 0.4) !important;
  box-shadow: 0 12px 28px rgba(1, 5, 11, 0.22) !important;
}

/* WO29926 continue4 — /join-mission/ cream apply panel (codex dark shell made h3 ~1.17) */
body.dm-sitewide-codex .join-mission-page .dm-section-white .dm-form-shell,
body.dm-sitewide-codex.page-template-page-join-mission .dm-section-white .dm-form-shell {
  background: linear-gradient(180deg, rgba(255, 251, 244, 0.98), rgba(246, 236, 219, 0.92)) !important;
  border: 1px solid rgba(83, 48, 18, 0.18) !important;
  color: #1a1510 !important;
  box-shadow: 0 22px 48px rgba(62, 40, 19, 0.14) !important;
}

body.dm-sitewide-codex .join-mission-page .dm-section-white .dm-form-shell h3,
body.dm-sitewide-codex.page-template-page-join-mission .dm-section-white .dm-form-shell h3,
body.dm-sitewide-codex .join-mission-page .dm-section-white .dm-form-shell p,
body.dm-sitewide-codex.page-template-page-join-mission .dm-section-white .dm-form-shell p,
body.dm-sitewide-codex .join-mission-page .dm-section-white .dm-form-shell label,
body.dm-sitewide-codex.page-template-page-join-mission .dm-section-white .dm-form-shell label {
  color: #1a1510 !important;
  -webkit-text-fill-color: #1a1510 !important;
}
