
/* P177 — global visual language isolation and cleanup */
html:not([dir="rtl"]) [data-lang="ar"],
html:not([dir="rtl"]) .lang-ar,
body:not(.tynixa-rtl) [data-lang="ar"],
body:not(.tynixa-rtl) .lang-ar{
  display:none!important;
}
html[dir="rtl"] [data-lang="en"],
html[dir="rtl"] .lang-en,
body.tynixa-rtl [data-lang="en"],
body.tynixa-rtl .lang-en{
  display:none!important;
}
html[dir="rtl"] [data-lang="ar"],
html[dir="rtl"] .lang-ar,
body.tynixa-rtl [data-lang="ar"],
body.tynixa-rtl .lang-ar{
  display:initial!important;
}

/* Keep old localization/governance blocks available in source but not visually noisy. */
.p171-bilingual-panel,
.p172-service-panel,
.p173-language-governance{
  display:none!important;
}

/* A single subtle replacement notice when needed */
.p177-visual-clean-notice{
  max-width:1180px;
  margin:18px auto;
  padding:14px 18px;
  border:1px solid #ccfbf1;
  background:#f0fdfa;
  color:#115e59;
  border-radius:18px;
  font-weight:750;
  line-height:1.55;
}
.p177-visual-clean-notice strong{font-weight:950}
html[dir="rtl"] .p177-visual-clean-notice{direction:rtl;text-align:right}

/* Make language controls cleaner across P174 pages */
.p174-lang, .p176-lang{white-space:nowrap}
.p174-lang button, .p176-lang button{min-width:44px}

/* Reduce duplicate old switch visibility if any survived */
.p171-lang-switch{display:none!important}
