/* Owner direction: the official NA mark is always black in all five systems.
   Target only NA assets; provider and CRM logos retain their original colors. */
body[data-direction] img[src$="na-mark-black.svg"],
html[data-direction] body[data-design=atelier][data-finish=polished] #studyRoot img[data-na-mark="true"],
html[data-direction] body[data-design=atelier][data-finish=polished] #studyRoot img[src$="na-mark-black.svg"] {
  filter:none!important;
  mix-blend-mode:normal!important;
  opacity:1!important;
  object-fit:contain!important;
}

/* Keep the black shape readable on Harvey's dark application rail without
   changing the mark, label, icon dimensions or navigation geometry. */
body[data-direction=harvey] .features .ix-v-rail .ix-v-brand-mark {
  background:#f5f5ef!important;
  border-radius:5px!important;
  box-shadow:inset 0 0 0 1px #ffffff80!important;
}
html[data-direction=harvey] body[data-design=atelier][data-finish=polished] #studyRoot :is(.replica-rail-brand,.replica-rail-footer) img[data-na-mark="true"] {
  background:#f5f5ef!important;
  border-radius:3px!important;
  box-shadow:0 0 0 3px #f5f5ef!important;
}
