/* Numerish Localization360 responsive & RTL presentation, 2026-11-22 */
.ns-topbar .ns-prefbar{min-width:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ns-topbar .ns-prefbar label{min-width:0;flex:0 1 auto;display:inline-flex;align-items:center}
/* Existing site CSS orders screen mode ahead of language; prioritize the language switcher. */
.ns-topbar .ns-prefbar>label:nth-of-type(1){order:1}
.ns-topbar .ns-prefbar>label:nth-of-type(2){order:2}
.ns-topbar .ns-prefbar>label:nth-of-type(3){order:3}
.ns-topbar .ns-prefbar select{max-width:100%;min-height:34px;border-radius:8px;padding:5px 29px 5px 11px;font-size:12px;text-overflow:ellipsis;color:#f5f7fb;background-color:#0b1d2d;border:1px solid #52677c}
.ns-topbar .ns-prefbar select:focus-visible{outline:3px solid #ff77b0;outline-offset:2px}
.ns-topbar #nsLanguage{min-width:146px;max-width:205px}
.ns-topbar #nsCurrency{min-width:92px}
.ns-topbar #nsTheme{min-width:89px}
.ns-topbar .ns-prefbar option{color:#17212b;background:#fff}
.ns-locale-status:not([hidden]){display:block;flex:1 0 100%;font-size:11px;line-height:1.5;color:#ffcfdf;padding:6px 8px;border-inline-start:3px solid #ff0066;background:rgba(255,255,255,.07);border-radius:4px}
.ns-locale-status[hidden]{display:none!important}
html[dir="rtl"] .ns-topbar-row,html[dir="rtl"] .ns-prefbar,html[dir="rtl"] .ns-navlinks,html[dir="rtl"] .ns-footer-grid{direction:rtl}
html[dir="rtl"] .ns-prefbar select{direction:rtl;text-align:start}
html[dir="rtl"] .ns-prefbar #nsCurrency,html[dir="rtl"] [data-currency],html[dir="rtl"] .ns-brand,html[dir="rtl"] .ns-copyright{direction:ltr;unicode-bidi:isolate}
html[dir="rtl"] .ns-prefbar select{padding:5px 11px 5px 29px}
html[dir="rtl"] main input[type="email"],html[dir="rtl"] main input[type="tel"],html[dir="rtl"] main input[type="url"],html[dir="rtl"] main [data-money]{direction:ltr;unicode-bidi:isolate}
html[dir="rtl"] .ns-topbar-tools{min-width:0}
@media(max-width:1180px){
  .ns-topbar .ns-prefbar{gap:6px}
  .ns-topbar #nsLanguage{min-width:126px}
  .ns-topbar .ns-prefbar select{font-size:11px}
}
@media(max-width:900px){
  .ns-topbar .ns-prefbar{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr) minmax(0,.95fr);gap:7px}
  .ns-topbar .ns-prefbar label{width:100%;min-width:0;display:block}
  .ns-topbar .ns-prefbar select,.ns-topbar #nsLanguage,.ns-topbar #nsCurrency,.ns-topbar #nsTheme{width:100%;max-width:100%;min-width:0;min-height:38px}
  .ns-topbar .ns-locale-status{grid-column:1/-1}
}
@media(max-width:480px){
  .ns-topbar .ns-prefbar{grid-template-columns:minmax(0,1fr) minmax(0,1.7fr) minmax(0,.9fr);gap:5px}
  .ns-topbar .ns-prefbar select{padding-inline:6px;font-size:10px;min-height:38px}
  .ns-topbar-row{min-width:0}
}

@media(max-width:560px){
  .ns-topbar .ns-topbar-cta{display:flex;align-items:center;width:100%;max-width:100%;min-width:0;gap:5px}
  .ns-topbar .ns-topbar-cta>.ns-prof-network-top{min-width:0;flex:0 1 95px}
  .ns-topbar .ns-topbar-cta>.ns-topbar-demo{flex:1 1 auto;min-width:0;max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;letter-spacing:0;padding:6px 5px}
  .ns-topbar .ns-topbar-cta>.ns-topbar-search{flex:0 0 36px;min-width:36px;max-width:36px}
}


/* Localization360 R2: Never mirror or resize the visual page skeleton.
   Document dir retains correct screen-reader language semantics, while
   text runs use Unicode bidi and containers retain the original layout. */
html[dir="rtl"] #siteHeader .ns-topbar-row,
html[dir="rtl"] #siteHeader .ns-topbar-tools,
html[dir="rtl"] #siteHeader .ns-prefbar,
html[dir="rtl"] #siteHeader .ns-nav,
html[dir="rtl"] #siteHeader .ns-navlinks,
html[dir="rtl"] #siteFooter,
html[dir="rtl"] #siteFooter .ns-footer-grid,
html[dir="rtl"] main,
html[dir="rtl"] #ne-landing{direction:ltr!important}
html[dir="rtl"] main :is(h1,h2,h3,h4,h5,h6,p,li,small,blockquote),
html[dir="rtl"] #siteHeader :is(a,button,span),
html[dir="rtl"] #siteFooter :is(a,p,small){unicode-bidi:plaintext}
html[dir="rtl"] #siteHeader #nsLanguage{direction:rtl;text-align:start}
html[dir="rtl"] #siteHeader #nsCurrency{direction:ltr;text-align:start}
html[dir="rtl"] #siteHeader #nsTheme{direction:ltr;text-align:start}
html[data-locale]:not([data-locale="en"]) main :is(h1,h2,h3,h4,h5,h6,p,li,small){
  overflow-wrap:break-word;
  word-break:normal;
  hyphens:auto;
}
html[data-locale]:not([data-locale="en"]) main :is(h1,h2,h3){text-wrap:balance}
#nsLocaleStatus{display:none!important}
@media(min-width:901px){
  #siteHeader .ns-nav{min-height:78px}
  #siteHeader #nsNavLinks>.ns-navitem>.ns-nav-trigger,
  #siteHeader #nsNavLinks>a{white-space:nowrap!important}
}
@media(max-width:900px){
  #siteHeader .ns-nav{min-height:68px}
  #siteHeader .ns-navlinks :is(a,button){min-width:0;overflow-wrap:anywhere}
}

/* Locale URL runtime: fixed component geometry and zero progress placeholders.
   Text can wrap within original cards, but cards/grid/screen layout never mirrors. */
html[data-numerish-localized] #nsLocaleStatus,
html[data-numerish-localized] .ns-locale-status{display:none!important}
html[data-numerish-localized] #siteHeader .ns-prefbar{min-width:0}
html[data-numerish-localized] #siteHeader .ns-navitem,
html[data-numerish-localized] #siteHeader .ns-nav-trigger{min-width:0;max-width:100%}
html[data-numerish-localized] #siteHeader .ns-nav-trigger{
 overflow:hidden;white-space:nowrap!important;text-overflow:ellipsis;
}
html[data-numerish-localized] #siteHeader .ns-topbar-demo{
 max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
html[data-numerish-localized] #siteHeader .ns-topbar-tools{
 min-width:0;max-width:100%;
}
html[data-numerish-localized] main :is(.card,.grid,.panel,.ns-card){
 min-width:0;max-width:100%;
}
html[data-numerish-localized] main :is(h1,h2,h3,h4,h5,h6,p,li,small,span){
 overflow-wrap:break-word;word-break:normal;
}
html[data-numerish-localized] main :is(h1,h2,h3){
 text-wrap:balance;hyphens:auto;
}
@media(max-width:900px){
 html[data-numerish-localized] #siteHeader .ns-navlinks{width:100%;min-width:0}
 html[data-numerish-localized] #siteHeader .ns-navlinks :is(a,button){max-width:100%}
}

/* Keep header geometry stable until JS chrome is localized. */
html[data-numerish-localized]:not([data-numerish-ready]) #siteHeader{
 visibility:hidden;
}

/* WCAG 2.2: inline legal/privacy links must not be identifiable by color alone. */
html[data-numerish-localized] body[data-page-key="pricing"] p a[href$="privacy-policy.html"]{
  text-decoration-line:underline!important;
  text-underline-offset:3px!important;
  text-decoration-thickness:2px!important;
  font-weight:650!important;
}
html[data-numerish-localized] body[data-page-key="pricing"] p a[href$="privacy-policy.html"]:focus-visible{
  outline:3px solid currentColor!important;
  outline-offset:3px;
}

/* Locale-page pricing CTA: meet WCAG small-text contrast while retaining magenta branding. */
html[data-numerish-localized][data-theme="light"] body[data-page-key="pricing"] #centralPricing .ph-card[data-sku-type="plan"] > .ph-actions > .primary.btn{
 background:#ba004b!important;
 background-color:#ba004b!important;
 color:#fff!important;
}
html[data-numerish-localized][data-theme="light"] body[data-page-key="pricing"] #centralPricing .ph-card[data-sku-type="plan"] > .ph-actions > .primary.btn:hover{
 background:#98003d!important;
 background-color:#98003d!important;
}
