
/* MANIK TRADING — shared site shell v2.10 / candidate v2.68
   Single source for header, hamburger menu, language switch, footer and back-to-top.
   Page content styles remain page-specific. */
:root{
  --shell-purple:#6e3c96;
  --shell-purple-dark:#2a2340;
  --shell-gold:#c9a227;
  --shell-gold-light:#f5d76e;
}
html{scroll-padding-top:104px}
body.site-shell-v1{margin:0;overflow-x:hidden}
body.site-shell-v1.menu-open{overflow:hidden}

/* Header */
body.site-shell-v1 #header{
  position:fixed!important;
  inset:0 0 auto 0!important;
  z-index:1000!important;
  box-sizing:border-box!important;
  padding:22px 40px!important;
  color:var(--shell-purple-dark)!important;
  background:#fff!important;
  box-shadow:0 4px 20px rgba(0,0,0,.08)!important;
  transition:background .3s ease,box-shadow .3s ease,color .3s ease!important;
}
body.site-shell-v1.site-shell-home #header:not(.scrolled):not(.is-scrolled){
  color:#fff!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.site-shell-v1 #header .header-inner{
  max-width:1200px!important;
  margin:0 auto!important;
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
}
body.site-shell-v1 #header .header-row1{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
}
html[lang="fa"] body.site-shell-v1 #header .header-row1{direction:rtl!important}
html[lang="en"] body.site-shell-v1 #header .header-row1{direction:ltr!important}
body.site-shell-v1 #header .header-row2{display:none!important}

body.site-shell-v1 #header .logo{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  color:var(--shell-purple-dark)!important;
  text-decoration:none!important;
  font-weight:800!important;
  letter-spacing:1px!important;
  white-space:nowrap!important;
}
body.site-shell-v1 #header .logo img{
  width:auto!important;
  height:54px!important;
  display:block!important;
  object-fit:contain!important;
}
body.site-shell-v1 #header .logo .logo-white{display:none!important}
body.site-shell-v1 #header .logo .logo-dark{display:block!important}
body.site-shell-v1.site-shell-home #header:not(.scrolled):not(.is-scrolled) .logo{color:#fff!important}
body.site-shell-v1.site-shell-home #header:not(.scrolled):not(.is-scrolled) .logo .logo-white{display:block!important}
body.site-shell-v1.site-shell-home #header:not(.scrolled):not(.is-scrolled) .logo .logo-dark{display:none!important}

body.site-shell-v1 #header .lang-toggle{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
}
body.site-shell-v1 #header .lang-toggle button{
  appearance:none!important;
  border:0!important;
  background:transparent!important;
  color:inherit!important;
  font-family:inherit!important;
  font-size:15px!important;
  font-weight:700!important;
  line-height:1.4!important;
  opacity:.8!important;
  padding:2px 3px!important;
  cursor:pointer!important;
}
body.site-shell-v1 #header .lang-toggle button:hover,
body.site-shell-v1 #header .lang-toggle button.active{
  opacity:1!important;
  text-decoration:underline!important;
}
body.site-shell-v1 #header .lang-toggle .sep{opacity:.55!important}

/* Hamburger */
body.site-shell-v1 #header .hamburger{
  box-sizing:content-box!important;
  display:flex!important;
  flex-direction:column!important;
  gap:5px!important;
  cursor:pointer!important;
  padding:8px!important;
  border-radius:8px!important;
  transition:background .2s!important;
}
body.site-shell-v1 #header .hamburger:hover{background:rgba(0,0,0,.06)!important}
body.site-shell-v1.site-shell-home #header:not(.scrolled):not(.is-scrolled) .hamburger:hover{
  background:rgba(255,255,255,.15)!important;
}
body.site-shell-v1 #header .hamburger span{
  display:block!important;
  width:26px!important;
  height:3px!important;
  background:var(--shell-purple-dark)!important;
  border-radius:3px!important;
  transition:.3s!important;
}
body.site-shell-v1.site-shell-home #header:not(.scrolled):not(.is-scrolled) .hamburger span{
  background:#fff!important;
}
body.site-shell-v1 #header .hamburger.active span:nth-child(1){transform:translateY(8px) rotate(45deg)!important}
body.site-shell-v1 #header .hamburger.active span:nth-child(2){opacity:0!important}
body.site-shell-v1 #header .hamburger.active span:nth-child(3){transform:translateY(-8px) rotate(-45deg)!important}

/* Dropdown menu */
body.site-shell-v1 #header .dropdown-nav{
  display:none!important;
  position:absolute!important;
  top:100%!important;
  right:0!important;
  width:250px!important;
  min-width:250px!important;
  max-width:calc(100vw - 24px)!important;
  max-height:calc(100vh - 110px)!important;
  padding:8px 0 10px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-width:none!important;
  background:rgba(42,35,64,.98)!important;
  backdrop-filter:blur(12px)!important;
  border-radius:0 0 16px 16px!important;
  box-shadow:0 16px 40px rgba(0,0,0,.35)!important;
  z-index:1001!important;
}
body.site-shell-v1 #header .dropdown-nav::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
body.site-shell-v1 #header .dropdown-nav.open{display:block!important}
/* v2.12 — readable staggered entrance: motion retained without an empty-looking panel */
body.site-shell-v1 #header .dropdown-nav > .menu-item{
  opacity:.72;
  transform:translateX(6px);
}
html[dir="ltr"] body.site-shell-v1 #header .dropdown-nav > .menu-item{
  transform:translateX(-6px);
}
body.site-shell-v1 #header .dropdown-nav.open > .menu-item{
  animation:shellMenuItemIn .18s cubic-bezier(.22,1,.36,1) forwards!important;
}
body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(1){animation-delay:0s!important}
body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(2){animation-delay:.012s!important}
body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(3){animation-delay:.024s!important}
body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(4){animation-delay:.036s!important}
body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(5){animation-delay:.048s!important}
body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(6){animation-delay:.060s!important}
body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(7){animation-delay:.072s!important}
body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(8){animation-delay:.084s!important}
body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(9){animation-delay:.096s!important}
body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(10){animation-delay:.108s!important}
body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(11){animation-delay:.120s!important}
body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(12){animation-delay:.132s!important}
body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(13){animation-delay:.144s!important}
body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(14){animation-delay:.156s!important}

body.site-shell-v1 #header .dropdown-nav .menu-link,
body.site-shell-v1 #header .dropdown-nav .menu-toggle{
  box-sizing:border-box!important;
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  padding:12px 18px!important;
  color:#fff!important;
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
  text-decoration:none!important;
  font-family:inherit!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.55!important;
  text-align:start!important;
  cursor:pointer!important;
}
body.site-shell-v1 #header .dropdown-nav .menu-link:hover,
body.site-shell-v1 #header .dropdown-nav .menu-toggle:hover,
body.site-shell-v1 #header .dropdown-nav .menu-link:focus-visible,
body.site-shell-v1 #header .dropdown-nav .menu-toggle:focus-visible{
  background:rgba(110,60,150,.58)!important;
  outline:none!important;
}
body.site-shell-v1 #header .menu-chevron{
  flex:0 0 auto!important;
  color:var(--shell-gold)!important;
  font-size:12px!important;
  transition:transform .22s ease!important;
}
body.site-shell-v1 #header .menu-toggle[aria-expanded="true"] .menu-chevron{
  transform:rotate(180deg)!important;
}
body.site-shell-v1 #header .menu-submenu{
  display:none!important;
  padding:3px 0 5px!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
  background:rgba(255,255,255,.025)!important;
}
body.site-shell-v1 #header .menu-submenu.open{display:block!important}
body.site-shell-v1 #header .menu-submenu a,
body.site-shell-v1 #header .menu-submenu .future-link{
  box-sizing:border-box!important;
  width:100%!important;
  display:block!important;
  opacity:.72;
  transform:translateX(4px);
  padding:9px 18px 9px 32px!important;
  border:0!important;
  color:rgba(255,255,255,.92)!important;
  background:transparent!important;
  text-decoration:none!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.55!important;
}
html[dir="rtl"] body.site-shell-v1 #header .menu-submenu a,
html[dir="rtl"] body.site-shell-v1 #header .menu-submenu .future-link{
  padding:9px 32px 9px 18px!important;
}
html[dir="ltr"] body.site-shell-v1 #header .menu-submenu a,
html[dir="ltr"] body.site-shell-v1 #header .menu-submenu .future-link{
  transform:translateX(-4px);
}
body.site-shell-v1 #header .menu-submenu.open a,
body.site-shell-v1 #header .menu-submenu.open .future-link{
  animation:shellSubmenuItemIn .16s cubic-bezier(.22,1,.36,1) forwards!important;
}
body.site-shell-v1 #header .menu-submenu.open > :nth-child(1){animation-delay:0s!important}
body.site-shell-v1 #header .menu-submenu.open > :nth-child(2){animation-delay:.012s!important}
body.site-shell-v1 #header .menu-submenu.open > :nth-child(3){animation-delay:.024s!important}
body.site-shell-v1 #header .menu-submenu.open > :nth-child(4){animation-delay:.036s!important}
body.site-shell-v1 #header .menu-submenu.open > :nth-child(5){animation-delay:.048s!important}
body.site-shell-v1 #header .menu-submenu.open > :nth-child(6){animation-delay:.060s!important}
body.site-shell-v1 #header .menu-submenu.open > :nth-child(7){animation-delay:.072s!important}
body.site-shell-v1 #header .menu-submenu.open > :nth-child(8){animation-delay:.084s!important}
body.site-shell-v1 #header .menu-submenu.open > :nth-child(9){animation-delay:.096s!important}
body.site-shell-v1 #header .menu-submenu.open > :nth-child(10){animation-delay:.108s!important}
body.site-shell-v1 #header .menu-submenu a:hover,
body.site-shell-v1 #header .menu-submenu a:focus-visible{
  background:rgba(255,255,255,.08)!important;
  outline:none!important;
}
body.site-shell-v1 #header .menu-coming{
  color:var(--shell-gold)!important;
  font-size:10px!important;
  font-weight:700!important;
  opacity:.85!important;
  margin-inline-start:5px!important;
}
body.site-shell-v1 #header .dropdown-nav .lang-row{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  margin-top:7px!important;
  padding:9px 8px 2px!important;
  border-top:1px solid rgba(201,162,39,.35)!important;
}
body.site-shell-v1 #header .dropdown-nav .lang-row a{
  display:inline-block!important;
  opacity:1!important;
  transform:none!important;
  animation:none!important;
  padding:6px 8px!important;
  border:0!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:700!important;
  text-decoration:none!important;
}
body.site-shell-v1 #header .dropdown-nav .lang-row a:hover{
  background:rgba(110,60,150,.58)!important;
  border-radius:8px!important;
}
body.site-shell-v1 #header .lang-sep{color:rgba(255,255,255,.35)!important}

/* Shared language visibility */
html[lang="fa"] body.site-shell-v1 .quote-fa{display:block}
html[lang="fa"] body.site-shell-v1 .quote-en{display:none}
html[lang="en"] body.site-shell-v1 .quote-fa{display:none}
html[lang="en"] body.site-shell-v1 .quote-en{display:block}
body.site-shell-v1 #header .quote-fa,
body.site-shell-v1 #header .quote-en{width:auto}

/* Footer */
body.site-shell-v1 .site-footer{
  box-sizing:border-box!important;
  width:100%!important;
  margin:0!important;
  padding:34px 22px!important;
  color:#fff!important;
  background:var(--shell-purple-dark)!important;
  text-align:initial!important;
  font-weight:400!important;
}
body.site-shell-v1 .site-footer .footer-grid{
  max-width:1120px!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:1fr 1px 1.42fr 116px!important;
  gap:28px!important;
  align-items:center!important;
  direction:ltr!important;
}
body.site-shell-v1 .site-footer .footer-brand{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  min-width:0!important;
  padding:4px!important;
  color:#fff!important;
  text-decoration:none!important;
  border-radius:10px!important;
}
body.site-shell-v1 .site-footer .footer-brand:hover,
body.site-shell-v1 .site-footer .footer-brand:focus-visible{
  background:rgba(255,255,255,.06)!important;
  transform:translateY(-1px)!important;
  outline:none!important;
}
body.site-shell-v1 .site-footer .footer-brand img{
  width:58px!important;
  height:58px!important;
  object-fit:contain!important;
}
body.site-shell-v1 .site-footer .footer-brand strong{
  color:#fff!important;
  font-family:inherit!important;
  font-size:19px!important;
  font-weight:800!important;
  letter-spacing:1px!important;
  white-space:nowrap!important;
}
body.site-shell-v1 .site-footer .footer-separator{
  width:1px!important;
  height:154px!important;
  background:rgba(201,162,39,.62)!important;
}
body.site-shell-v1 .site-footer .footer-contacts{
  display:grid!important;
  grid-template-rows:repeat(5,minmax(30px,auto))!important;
  gap:5px!important;
}
body.site-shell-v1 .site-footer .footer-contact{
  box-sizing:border-box!important;
  min-height:30px!important;
  display:grid!important;
  align-items:center!important;
  padding:4px 7px!important;
  margin:0 -7px!important;
  color:#fff!important;
  text-decoration:none!important;
  border-radius:8px!important;
  font-size:13px!important;
  line-height:1.55!important;
}
body.site-shell-v1 .site-footer .footer-contact:hover,
body.site-shell-v1 .site-footer .footer-contact:focus-visible{
  background:rgba(255,255,255,.08)!important;
  outline:none!important;
}
body.site-shell-v1 .site-footer .footer-icon{
  width:19px!important;
  height:19px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:var(--shell-gold-light)!important;
}
body.site-shell-v1 .site-footer .footer-icon svg{
  width:18px!important;
  height:18px!important;
  display:block!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body.site-shell-v1 .site-footer .footer-icon .footer-icon-dot{
  fill:currentColor!important;
  stroke:none!important;
}
body.site-shell-v1 .site-footer .footer-label{
  color:var(--shell-gold-light)!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
body.site-shell-v1 .site-footer .footer-value{
  min-width:0!important;
  color:#fff!important;
  overflow-wrap:anywhere!important;
}
body.site-shell-v1 .site-footer .footer-ltr{
  direction:ltr!important;
  unicode-bidi:isolate!important;
  text-align:left!important;
  white-space:nowrap!important;
  display:inline-block!important;
}
body.site-shell-v1 .site-footer .footer-qr{text-align:center!important}
body.site-shell-v1 .site-footer .footer-qr a{
  display:inline-block!important;
  border-radius:9px!important;
  text-decoration:none!important;
}
body.site-shell-v1 .site-footer .footer-qr a:hover,
body.site-shell-v1 .site-footer .footer-qr a:focus-visible{
  transform:translateY(-2px)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.22)!important;
  outline:none!important;
}
body.site-shell-v1 .site-footer .footer-qr img{
  box-sizing:content-box!important;
  width:100px!important;
  height:100px!important;
  display:block!important;
  margin:auto!important;
  padding:5px!important;
  background:#fff!important;
  border-radius:8px!important;
}
body.site-shell-v1 .site-footer .footer-qr small{
  display:block!important;
  margin-top:5px!important;
  color:rgba(255,255,255,.72)!important;
  font-size:10px!important;
}
body.site-shell-v1 .site-footer .footer-bottom{
  max-width:1120px!important;
  margin:24px auto 0!important;
  padding-top:14px!important;
  border-top:1px solid rgba(255,255,255,.12)!important;
  color:rgba(255,255,255,.72)!important;
  text-align:center!important;
  font-size:12px!important;
}
html[lang="fa"] body.site-shell-v1 .site-footer .footer-contacts{direction:rtl!important;text-align:right!important}
html[lang="fa"] body.site-shell-v1 .site-footer .footer-contact{
  grid-template-columns:minmax(0,1fr) 76px 22px!important;
  grid-template-areas:"value label icon"!important;
  column-gap:10px!important;
  direction:ltr!important;
}
html[lang="fa"] body.site-shell-v1 .site-footer .footer-icon{grid-area:icon!important;justify-self:center!important}
html[lang="fa"] body.site-shell-v1 .site-footer .footer-label{grid-area:label!important;text-align:right!important;direction:rtl!important}
html[lang="fa"] body.site-shell-v1 .site-footer .footer-value{grid-area:value!important;justify-self:start!important;width:100%!important;text-align:left!important}
html[lang="fa"] body.site-shell-v1 .site-footer .footer-address{direction:rtl!important;unicode-bidi:plaintext!important;text-align:left!important;white-space:nowrap!important}
html[lang="en"] body.site-shell-v1 .site-footer .footer-contacts{direction:ltr!important;text-align:left!important}
html[lang="en"] body.site-shell-v1 .site-footer .footer-contact{
  grid-template-columns:22px 76px minmax(0,1fr)!important;
  grid-template-areas:"icon label value"!important;
  column-gap:10px!important;
  direction:ltr!important;
}
html[lang="en"] body.site-shell-v1 .site-footer .footer-icon{grid-area:icon!important;justify-self:center!important}
html[lang="en"] body.site-shell-v1 .site-footer .footer-label{grid-area:label!important;text-align:left!important}
html[lang="en"] body.site-shell-v1 .site-footer .footer-value{grid-area:value!important;text-align:left!important}

/* Back to top */
body.site-shell-v1 #backToTop{
  position:fixed!important;
  left:28px!important;
  right:auto!important;
  bottom:28px!important;
  z-index:9999!important;
  box-sizing:border-box!important;
  width:54px!important;
  height:54px!important;
  display:none;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  border:2px solid var(--shell-gold)!important;
  border-radius:50%!important;
  background:var(--shell-purple)!important;
  color:var(--shell-gold)!important;
  font-size:24px!important;
  font-weight:800!important;
  line-height:1!important;
  cursor:pointer!important;
  box-shadow:0 4px 14px rgba(0,0,0,.25)!important;
}
body.site-shell-v1 #backToTop.is-visible{display:flex!important}
body.site-shell-v1 #backToTop:hover{transform:translateY(-3px)!important;background:#7d47a8!important}

@media(max-width:900px){
  html{scroll-padding-top:76px}
  body.site-shell-v1 #header{padding:12px 16px!important}
  body.site-shell-v1 #header .header-inner{gap:4px!important}
  body.site-shell-v1 #header .header-row1{gap:8px!important}
  body.site-shell-v1 #header .logo{gap:7px!important}
  body.site-shell-v1 #header .logo img{height:34px!important}
  body.site-shell-v1 #header .logo span{font-size:13px!important}
  body.site-shell-v1 #header .lang-toggle{gap:5px!important}
  body.site-shell-v1 #header .lang-toggle button{font-size:12px!important}
  body.site-shell-v1 #header .dropdown-nav{max-height:calc(100vh - 72px)!important}
}
@media(max-width:760px){
  body.site-shell-v1 .site-footer .footer-grid{
    grid-template-columns:1fr!important;
    gap:18px!important;
    text-align:center!important;
  }
  body.site-shell-v1 .site-footer .footer-brand{justify-content:center!important}
  body.site-shell-v1 .site-footer .footer-separator{width:100%!important;height:1px!important}
  body.site-shell-v1 .site-footer .footer-qr{order:4!important}
  html[lang="fa"] body.site-shell-v1 .site-footer .footer-contact{
    grid-template-columns:minmax(0,1fr) 72px 22px!important;
  }
  html[lang="en"] body.site-shell-v1 .site-footer .footer-contact{
    grid-template-columns:22px 72px minmax(0,1fr)!important;
  }
  html[lang="fa"] body.site-shell-v1 .site-footer .footer-address,
  html[lang="en"] body.site-shell-v1 .site-footer .footer-address{white-space:normal!important}
  body.site-shell-v1 #backToTop{left:18px!important;bottom:18px!important;width:50px!important;height:50px!important}
}
@keyframes shellMenuItemIn{to{opacity:1;transform:translateX(0)}}
@keyframes shellSubmenuItemIn{to{opacity:1;transform:translateX(0)}}

@media (prefers-reduced-motion: reduce){
  body.site-shell-v1 #header .dropdown-nav.open > .menu-item,
  body.site-shell-v1 #header .menu-submenu.open > a,
  body.site-shell-v1 #header .menu-submenu.open > .future-link{
    opacity:1!important;
    transform:none!important;
    animation:none!important;
  }
}


/* v2.7 corrections — menu anchoring, visible animation and unified brand wordmark */
body.site-shell-v1 #header .brand-wordmark,
body.site-shell-v1 .site-footer .brand-wordmark{
  font-family:inherit!important;
  font-weight:800!important;
  letter-spacing:1px!important;
  line-height:1.2!important;
}
html[dir="rtl"] body.site-shell-v1 #header .dropdown-nav{
  left:0!important;
  right:auto!important;
}
html[dir="ltr"] body.site-shell-v1 #header .dropdown-nav{
  right:0!important;
  left:auto!important;
}
body.site-shell-v1 #header .dropdown-nav.open > .menu-item,
body.site-shell-v1 #header .menu-submenu.open > a,
body.site-shell-v1 #header .menu-submenu.open > .future-link{
  visibility:visible!important;
}

@media(max-width:340px){
  body.site-shell-v1 #header{padding:10px 10px!important}
  body.site-shell-v1 #header .header-row1{gap:4px!important}
  body.site-shell-v1 #header .logo{gap:4px!important}
  body.site-shell-v1 #header .logo img{height:30px!important}
  body.site-shell-v1 #header .logo .brand-wordmark{font-size:10px!important;letter-spacing:.5px!important}
  body.site-shell-v1 #header .header-row1 > div{gap:6px!important}
  body.site-shell-v1 #header .lang-toggle{gap:2px!important}
  body.site-shell-v1 #header .lang-toggle button{font-size:10px!important;padding:1px 2px!important}
  body.site-shell-v1 #header .hamburger{padding:6px!important}
  body.site-shell-v1 #header .hamburger span{width:24px!important}
  body.site-shell-v1 #header .dropdown-nav{max-width:calc(100vw - 20px)!important}
}


/* v2.13 — future architecture items stay visible without active 404 links */
#dropdown-nav a.menu-unavailable {
  opacity: .58;
  cursor: default !important;
  pointer-events: none;
}
#dropdown-nav a.menu-unavailable:hover,
#dropdown-nav a.menu-unavailable:focus {
  transform: none !important;
  background: transparent !important;
}
a.content-unavailable {
  cursor: default !important;
  pointer-events: none;
}

/* v2.16 - shared file action buttons
   Matches the approved home-page resource button pattern. */
body.site-shell-v1 .file-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  white-space:nowrap;
  direction:inherit;
}
body.site-shell-v1 .file-actions .file-action{
  display:block;
  max-width:100%;
  box-sizing:border-box;
  color:var(--shell-purple-dark);
  text-decoration:none;
  font-family:inherit;
  font-weight:800;
  font-size:12px;
  line-height:normal;
  border:1px solid rgba(42,35,64,.34);
  padding:9px 14px;
  border-radius:4px;
  background:transparent;
}
body.site-shell-v1 .file-actions .file-action-primary{
  background:var(--shell-gold-light);
  border-color:var(--shell-gold-light);
  color:var(--shell-purple-dark);
}
body.site-shell-v1 .file-actions .file-action:hover{
  transform:translateY(-1px);
}

/* NIKTRD v2.45 — scoped FAQ component */
.niktrd-faq-v245{
  margin:14px 0 0;
  border-top:1px solid var(--v16-line,rgba(110,60,150,.16));
}
.niktrd-faq-v245 details{
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid var(--v16-line,rgba(110,60,150,.16))!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.niktrd-faq-v245 summary{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  width:100%;
  padding:15px 2px;
  color:var(--v16-purple-dark,#2a2340)!important;
  font:inherit;
  font-weight:760;
  line-height:1.75;
  cursor:pointer;
  list-style:none;
  text-align:start;
}
.niktrd-faq-v245 summary::-webkit-details-marker{display:none}
.niktrd-faq-v245 summary::after{
  content:"+";
  flex:0 0 auto;
  color:var(--v16-purple,#6e3c96);
  font-size:20px;
  font-weight:700;
  line-height:1;
}
.niktrd-faq-v245 details[open] summary::after{content:"−"}
.niktrd-faq-v245 details>p,
.niktrd-faq-v245 details>.faq-answer-v245{
  margin:0!important;
  padding:0 2px 16px!important;
  color:inherit;
  line-height:1.95;
  text-align:justify;
}
#en-content .niktrd-faq-v245 details>p,
#en-content .niktrd-faq-v245 details>.faq-answer-v245{text-align:justify}
@media (max-width:680px){
  .niktrd-faq-v245 summary{padding:13px 0;gap:12px;font-size:14px}
  .niktrd-faq-v245 details>p,
  .niktrd-faq-v245 details>.faq-answer-v245{padding:0 0 14px!important;font-size:14px}
}

/* NIKTRD v2.45 — compact numbered editorial steps */
body.niktrd-internal-v16 :is(#fa-content,#en-content) .editorial-steps.editorial-steps-v245{
  width:min(100%,920px)!important;
  max-width:920px!important;
  margin-inline:auto!important;
}
body.niktrd-internal-v16 :is(#fa-content,#en-content) .editorial-steps.editorial-steps-v245 .editorial-step{
  counter-increment:niktrd-step-v245;
  display:grid!important;
  grid-template-columns:max-content fit-content(270px) minmax(0,1fr)!important;
  align-items:center!important;
  column-gap:18px!important;
  row-gap:0!important;
  min-height:0!important;
  padding:13px 0!important;
  margin:0!important;
  border:0!important;
  border-bottom:1px solid var(--v16-line,rgba(110,60,150,.14))!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
}
body.niktrd-internal-v16 :is(#fa-content,#en-content) .editorial-steps.editorial-steps-v245{counter-reset:niktrd-step-v245}
body.niktrd-internal-v16 :is(#fa-content,#en-content) .editorial-steps.editorial-steps-v245 .editorial-step::before{
  content:counter(niktrd-step-v245,decimal-leading-zero);
  position:static!important;
  inset:auto!important;
  width:auto!important;
  height:auto!important;
  display:block!important;
  color:var(--v16-gold,#c9a227)!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  font-weight:800!important;
  line-height:1!important;
}
body.niktrd-internal-v16 :is(#fa-content,#en-content) .editorial-steps.editorial-steps-v245 .editorial-step>div{display:contents!important}
body.niktrd-internal-v16 :is(#fa-content,#en-content) .editorial-steps.editorial-steps-v245 .editorial-step strong{
  margin:0!important;
  max-width:270px!important;
  line-height:1.7!important;
  align-self:center!important;
}
body.niktrd-internal-v16 :is(#fa-content,#en-content) .editorial-steps.editorial-steps-v245 .editorial-step p{
  margin:0!important;
  padding:0!important;
  min-width:0!important;
  line-height:1.8!important;
  align-self:center!important;
  text-align:start!important;
}
@media (max-width:760px){
  body.niktrd-internal-v16 :is(#fa-content,#en-content) .editorial-steps.editorial-steps-v245 .editorial-step{
    grid-template-columns:max-content minmax(0,1fr)!important;
    column-gap:12px!important;
    row-gap:6px!important;
    padding:12px 0!important;
  }
  body.niktrd-internal-v16 :is(#fa-content,#en-content) .editorial-steps.editorial-steps-v245 .editorial-step strong{max-width:none!important}
  /* Legacy direct-child description rows keep column 2. Structured A03 rows use a nested content wrapper and are hardened below. */
  body.niktrd-internal-v16 :is(#fa-content,#en-content) .editorial-steps.editorial-steps-v245 .editorial-step>p{grid-column:2!important}

  /* NIKTRD v2.63 — Global A03 structured-checklist mobile SSOT.
     Number stays in the narrow first column; title and description stack in one flexible content column. */
  body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card .editorial-steps-v245:not(.niktrd-checklist-atomic-v249) > .editorial-step > div{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:3px!important;
    align-items:start!important;
    min-width:0!important;
  }
  body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card .editorial-steps-v245:not(.niktrd-checklist-atomic-v249) > .editorial-step > div > strong,
  body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card .editorial-steps-v245:not(.niktrd-checklist-atomic-v249) > .editorial-step > div > p{
    grid-column:1 / -1!important;
    grid-row:auto!important;
    justify-self:stretch!important;
    min-width:0!important;
    width:auto!important;
  }
}

/* NIKTRD v2.45 — deterministic two-column TOC */
body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-toc .toc-columns-v245{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:34px!important;
}
body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-toc ol.toc-column-v245{
  columns:auto!important;
  column-gap:0!important;
  list-style:none!important;
  padding:0!important;
  margin:0!important;
}
body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-toc ol.toc-column-v245 li:last-child{
  border-bottom:0!important;
}
@media (max-width:720px){
  body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-toc .toc-columns-v245{grid-template-columns:1fr!important;gap:0!important}
  body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-toc ol.toc-column-v245:first-child li:last-child{border-bottom:1px solid var(--v16-line,rgba(110,60,150,.14))!important}
}

/* NIKTRD v2.46 — repair Persian/English step counters */
html body.niktrd-internal-v17 #fa-content .redesign-v15 .editorial-steps.editorial-steps-v245 .editorial-step::before{
  content:counter(niktrd-step-v245,niktrd-persian-leading-zero)!important;
  direction:rtl!important;
  unicode-bidi:isolate!important;
}
html body.niktrd-internal-v17 #en-content .redesign-v15 .editorial-steps.editorial-steps-v245 .editorial-step::before{
  content:counter(niktrd-step-v245,decimal-leading-zero)!important;
  direction:ltr!important;
  unicode-bidi:isolate!important;
}

/* NIKTRD v2.75 — balanced split directories.
   The directory occupies the full split height, but content rows stay near their
   natural/optimal height. Any surplus height is absorbed by an empty final grid
   track instead of stretching every row. The next section owns the sole bottom
   separator, so the last directory row has no duplicate border. */
@media (min-width:821px){
  html body.niktrd-internal-v16 :is(#fa-content,#en-content) .editorial-split.v275-balanced-directory{
    align-items:stretch!important;
  }
  html body.niktrd-internal-v16 :is(#fa-content,#en-content) .editorial-split.v275-balanced-directory>.editorial-lead{
    align-self:start!important;
  }
  html body.niktrd-internal-v16 :is(#fa-content,#en-content) .editorial-split.v275-balanced-directory>.editorial-directory{
    --v275-row-floor:58px;
    display:grid!important;
    align-self:stretch!important;
    align-content:stretch!important;
    height:auto!important;
    margin-bottom:0!important;
  }
  html body.niktrd-internal-v16 :is(#fa-content,#en-content) .editorial-split.v275-balanced-directory.v275-rows-2>.editorial-directory{
    --v275-row-floor:64px;
    grid-template-rows:repeat(2,minmax(var(--v275-row-floor),max-content)) minmax(0,1fr)!important;
  }
  html body.niktrd-internal-v16 :is(#fa-content,#en-content) .editorial-split.v275-balanced-directory.v275-rows-4>.editorial-directory{
    --v275-row-floor:58px;
    grid-template-rows:repeat(4,minmax(var(--v275-row-floor),max-content)) minmax(0,1fr)!important;
  }
  html body.niktrd-internal-v16 :is(#fa-content,#en-content) .editorial-split.v275-balanced-directory.v275-rows-5>.editorial-directory{
    --v275-row-floor:54px;
    grid-template-rows:repeat(5,minmax(var(--v275-row-floor),max-content)) minmax(0,1fr)!important;
  }
  html body.niktrd-internal-v16 :is(#fa-content,#en-content) .editorial-split.v275-balanced-directory>.editorial-directory>.editorial-option-v16{
    min-height:var(--v275-row-floor)!important;
    height:auto!important;
    align-content:center!important;
    align-items:center!important;
  }
  html body.niktrd-internal-v16 :is(#fa-content,#en-content) .editorial-split.v275-balanced-directory>.editorial-directory>.editorial-option-v16:last-child{
    border-bottom:0!important;
  }
}
@media (max-width:820px){
  html body.niktrd-internal-v16 :is(#fa-content,#en-content) .editorial-split.v275-balanced-directory>.editorial-directory{
    display:block!important;
    height:auto!important;
    margin-bottom:18px!important;
  }
  html body.niktrd-internal-v16 :is(#fa-content,#en-content) .editorial-split.v275-balanced-directory>.editorial-directory>.editorial-option-v16{
    height:auto!important;
    min-height:0!important;
  }
  html body.niktrd-internal-v16 :is(#fa-content,#en-content) .editorial-split.v275-balanced-directory>.editorial-directory>.editorial-option-v16:last-child{
    border-bottom:1px solid var(--v16-line)!important;
  }
}

/* NIKTRD v2.46 — explicit, testable step numbers; disables legacy pseudo-counter output */
html body.niktrd-internal-v17 :is(#fa-content,#en-content) .redesign-v15 .editorial-steps.editorial-steps-v245 .editorial-step::before{
  content:none!important;
  display:none!important;
}
html body.niktrd-internal-v16 :is(#fa-content,#en-content) .editorial-steps.editorial-steps-v245 .editorial-step-number-v246{
  display:block!important;
  position:static!important;
  width:auto!important;
  height:auto!important;
  color:var(--v16-gold,#c9a227)!important;
  font-weight:800!important;
  line-height:1!important;
  direction:ltr!important;
  unicode-bidi:isolate!important;
  align-self:center!important;
}



/* Materials taxonomy labels / technical inline notation */
.menu-subsection-label-v266{
  padding:10px 24px 5px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.35px;
  color:#c9a227;
  opacity:.95;
  border-top:1px solid rgba(255,255,255,.08);
}
.taxonomy-block-v266{margin:12px 0 22px;}
.taxonomy-block-v266 h3{font-size:15px;margin:18px 0 7px;color:#2a2340;}
.formula-v266{direction:ltr;unicode-bidi:isolate;display:inline-block;font-family:"Space Grotesk",Arial,sans-serif;font-weight:600;white-space:nowrap;}
.compact-note-v266{font-size:14px;line-height:1.9;color:#444;}
@media(max-width:760px){
  
  
  
}



/* v2.68 — current MANIK visual language + desktop hover fly-out navigation */
body.site-shell-v1 #header .header-row1 > div:last-child{position:relative!important;}
body.site-shell-v1 #header .site-search-trigger-v268{
  box-sizing:border-box!important;width:42px!important;height:42px!important;display:grid!important;place-items:center!important;
  padding:0!important;border:0!important;border-radius:9px!important;background:transparent!important;color:inherit!important;cursor:pointer!important;transition:background .2s ease!important;
}
body.site-shell-v1 #header .site-search-trigger-v268 svg{width:21px!important;height:21px!important;display:block!important;}
body.site-shell-v1 #header .site-search-trigger-v268:hover,body.site-shell-v1 #header .site-search-trigger-v268:focus-visible{background:rgba(0,0,0,.06)!important;outline:none!important;}
body.site-shell-v1.site-shell-home #header:not(.scrolled):not(.is-scrolled) .site-search-trigger-v268:hover,
body.site-shell-v1.site-shell-home #header:not(.scrolled):not(.is-scrolled) .site-search-trigger-v268:focus-visible{background:rgba(255,255,255,.15)!important;}
body.site-shell-v1 #header .menu-anchor-v268{position:relative!important;}
body.site-shell-v1 #header .dropdown-nav{
  width:336px!important;min-width:336px!important;max-width:calc(100vw - 24px)!important;
  overflow-y:auto!important;overflow-x:hidden!important;padding:0!important;
  background:rgba(42,35,64,.97)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;
  border-radius:0 0 16px 16px!important;box-shadow:0 16px 40px rgba(0,0,0,.35)!important;
}
body.site-shell-v1 #header .dropdown-nav > .menu-item{opacity:0;transform:translateX(30px);}
html[dir="ltr"] body.site-shell-v1 #header .dropdown-nav > .menu-item{transform:translateX(-30px);}
body.site-shell-v1 #header .dropdown-nav.open > .menu-item{animation:shellMenuItemInV268 .35s ease forwards!important;}
body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(1){animation-delay:.04s!important}body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(2){animation-delay:.08s!important}body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(3){animation-delay:.12s!important}body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(4){animation-delay:.16s!important}body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(5){animation-delay:.20s!important}body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(6){animation-delay:.24s!important}body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(7){animation-delay:.28s!important}body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(8){animation-delay:.32s!important}body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(9){animation-delay:.36s!important}body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(10){animation-delay:.40s!important}body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(11){animation-delay:.44s!important}body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(12){animation-delay:.48s!important}body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(13){animation-delay:.52s!important}body.site-shell-v1 #header .dropdown-nav.open > .menu-item:nth-child(14){animation-delay:.56s!important}
@keyframes shellMenuItemInV268{to{opacity:1;transform:translateX(0)}}
body.site-shell-v1 #header .dropdown-nav .menu-link,body.site-shell-v1 #header .dropdown-nav .menu-toggle,body.site-shell-v1 #header .dropdown-nav .menu-action{
  width:100%!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
  padding:13px 20px!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.08)!important;background:transparent!important;color:#fff!important;
  font-family:inherit!important;font-size:14.5px!important;font-weight:600!important;line-height:1.5!important;text-decoration:none!important;text-align:start!important;cursor:pointer!important;transition:background .2s ease!important;
}
body.site-shell-v1 #header .dropdown-nav .menu-link:hover,body.site-shell-v1 #header .dropdown-nav .menu-toggle:hover,body.site-shell-v1 #header .dropdown-nav .menu-action:hover,
body.site-shell-v1 #header .dropdown-nav .menu-link:focus-visible,body.site-shell-v1 #header .dropdown-nav .menu-toggle:focus-visible,body.site-shell-v1 #header .dropdown-nav .menu-action:focus-visible,
body.site-shell-v1 #header .dropdown-nav .menu-flyout-active-v268{background:rgba(110,60,150,.60)!important;outline:none!important;}
body.site-shell-v1 #header .menu-label{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;}
body.site-shell-v1 #header .menu-icon{width:19px!important;min-width:19px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:16px!important;line-height:1!important;}
body.site-shell-v1 #header .menu-text{min-width:0!important;}
body.site-shell-v1 #header .menu-chevron{flex:0 0 auto!important;color:rgba(255,255,255,.72)!important;font-size:20px!important;line-height:1!important;transform:none!important;transition:color .18s ease!important;}
html[dir="rtl"] body.site-shell-v1 #header .menu-chevron{transform:scaleX(-1)!important;}
body.site-shell-v1 #header .menu-toggle[aria-expanded="true"] .menu-chevron,body.site-shell-v1 #header .menu-branch-toggle[aria-expanded="true"] .menu-chevron{color:var(--shell-gold-light,#f5d76e)!important;}
body.site-shell-v1 #header .menu-quote-v268{background:rgba(201,162,39,.15)!important;}
body.site-shell-v1 #header .menu-quote-v268:hover,body.site-shell-v1 #header .menu-quote-v268:focus-visible{background:rgba(201,162,39,.25)!important;}
body.site-shell-v1 #header .search-menu-item-v268 .menu-icon{color:var(--shell-gold-light,#f5d76e)!important;}

/* Desktop fly-outs. Panels are real DOM siblings and can therefore nest without fake indentation. */
body.site-shell-v1 #header .menu-submenu{
  box-sizing:border-box!important;position:fixed!important;inset:auto!important;z-index:1004!important;display:none!important;width:276px!important;min-width:276px!important;max-width:calc(100vw - 20px)!important;
  max-height:calc(100vh - 24px)!important;padding:0!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:none!important;
  border:0!important;border-radius:14px!important;background:rgba(42,35,64,.97)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;box-shadow:0 16px 40px rgba(0,0,0,.35)!important;
  opacity:1!important;transform:none!important;transition:none!important;
}
body.site-shell-v1 #header .menu-submenu::-webkit-scrollbar{display:none!important;width:0!important;height:0!important;}
body.site-shell-v1 #header .menu-submenu.open{display:block!important;transform:none!important;}
body.site-shell-v1 #header .menu-flyout-title-v268{padding:12px 20px 8px!important;color:var(--shell-gold,#c9a227)!important;font-size:12px!important;font-weight:800!important;letter-spacing:.25px!important;border-bottom:1px solid rgba(255,255,255,.08)!important;}
body.site-shell-v1 #header .menu-submenu a,body.site-shell-v1 #header .menu-submenu .future-link,body.site-shell-v1 #header .menu-branch-toggle{
  box-sizing:border-box!important;width:100%!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;
  padding:13px 20px!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.08)!important;background:transparent!important;color:#fff!important;
  opacity:0;transform:translateX(18px);text-decoration:none!important;font-family:inherit!important;font-size:14.1px!important;font-weight:600!important;line-height:1.5!important;text-align:start!important;cursor:pointer!important;
}
html[dir="ltr"] body.site-shell-v1 #header .menu-submenu a,html[dir="ltr"] body.site-shell-v1 #header .menu-submenu .future-link,html[dir="ltr"] body.site-shell-v1 #header .menu-branch-toggle{transform:translateX(-18px);}
body.site-shell-v1 #header .menu-submenu.open > a,body.site-shell-v1 #header .menu-submenu.open > .future-link,body.site-shell-v1 #header .menu-submenu.open > .menu-branch-toggle{animation:shellFlyItemInV268 .28s ease forwards!important;}
body.site-shell-v1 #header .menu-submenu.open > :nth-child(2){animation-delay:.025s!important}body.site-shell-v1 #header .menu-submenu.open > :nth-child(3){animation-delay:.055s!important}body.site-shell-v1 #header .menu-submenu.open > :nth-child(4){animation-delay:.085s!important}body.site-shell-v1 #header .menu-submenu.open > :nth-child(5){animation-delay:.115s!important}body.site-shell-v1 #header .menu-submenu.open > :nth-child(6){animation-delay:.145s!important}body.site-shell-v1 #header .menu-submenu.open > :nth-child(7){animation-delay:.175s!important}body.site-shell-v1 #header .menu-submenu.open > :nth-child(8){animation-delay:.205s!important}body.site-shell-v1 #header .menu-submenu.open > :nth-child(9){animation-delay:.235s!important}body.site-shell-v1 #header .menu-submenu.open > :nth-child(10){animation-delay:.265s!important}body.site-shell-v1 #header .menu-submenu.open > :nth-child(11){animation-delay:.295s!important}body.site-shell-v1 #header .menu-submenu.open > :nth-child(12){animation-delay:.325s!important}
@keyframes shellFlyItemInV268{to{opacity:1;transform:translateX(0)}}
body.site-shell-v1 #header .menu-submenu a:hover,body.site-shell-v1 #header .menu-submenu a:focus-visible,body.site-shell-v1 #header .menu-branch-toggle:hover,body.site-shell-v1 #header .menu-branch-toggle:focus-visible,body.site-shell-v1 #header .menu-submenu .menu-flyout-active-v268{background:rgba(110,60,150,.60)!important;outline:none!important;}
body.site-shell-v1 #header .menu-subsection-label-v266{padding:13px 20px 6px!important;color:var(--shell-gold,#c9a227)!important;font-size:11.5px!important;font-weight:800!important;letter-spacing:.3px!important;opacity:.95!important;border-top:1px solid rgba(255,255,255,.07)!important;}
body.site-shell-v1 #header .menu-subsection-label-v266 + a{border-top:0!important;}

/* Search overlay — same component from the header icon or hamburger Search row. */
body.site-shell-v1 #header .site-search-backdrop-v268{display:none!important;position:fixed!important;inset:0!important;z-index:1090!important;background:rgba(18,13,29,.16)!important;backdrop-filter:blur(1.5px)!important;-webkit-backdrop-filter:blur(1.5px)!important;}
body.site-shell-v1 #header .site-search-backdrop-v268.open{display:block!important;}
body.site-shell-v1 #header .site-search-panel-v268{display:none!important;position:fixed!important;padding:0!important;z-index:1100!important;width:min(720px,calc(100vw - 32px))!important;max-width:720px!important;color:#fff!important;background:rgba(42,35,64,.985)!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:18px!important;box-shadow:0 24px 65px rgba(0,0,0,.38)!important;overflow:hidden!important;}
body.site-shell-v1 #header .site-search-panel-v268.open{display:block!important;animation:shellSearchDropV268 .22s cubic-bezier(.22,1,.36,1)!important;}
@keyframes shellSearchDropV268{from{opacity:0;transform:translateY(-8px) scale(.985)}to{opacity:1;transform:none}}
body.site-shell-v1 #header .site-search-head-v268{padding:16px!important;display:flex!important;gap:10px!important;align-items:center!important;border-bottom:1px solid rgba(255,255,255,.08)!important;}
body.site-shell-v1 #header .site-search-field-v268{flex:1!important;min-width:0!important;display:flex!important;align-items:center!important;gap:10px!important;background:#fff!important;border-radius:13px!important;padding:0 14px!important;box-shadow:inset 0 0 0 1px rgba(42,35,64,.08)!important;}
body.site-shell-v1 #header .site-search-field-v268 svg{width:20px!important;height:20px!important;color:var(--shell-purple,#6e3c96)!important;flex:0 0 20px!important;}
body.site-shell-v1 #header #site-search-input{width:100%!important;height:48px!important;border:0!important;outline:0!important;background:transparent!important;color:var(--shell-purple-dark,#2a2340)!important;font-family:inherit!important;font-size:15px!important;font-weight:600!important;text-align:start!important;unicode-bidi:plaintext!important;}
body.site-shell-v1 #header .site-search-close-v268{width:42px!important;height:42px!important;flex:0 0 42px!important;border:0!important;border-radius:10px!important;background:rgba(255,255,255,.08)!important;color:#fff!important;cursor:pointer!important;font-size:22px!important;line-height:1!important;}
body.site-shell-v1 #header .site-search-close-v268:hover,body.site-shell-v1 #header .site-search-close-v268:focus-visible{background:rgba(110,60,150,.65)!important;outline:none!important;}
body.site-shell-v1 #header .site-search-body-v268{max-height:min(520px,calc(100vh - 180px))!important;overflow:auto!important;scrollbar-width:thin!important;}
body.site-shell-v1 #header .site-search-empty-v268{padding:22px 20px!important;color:rgba(255,255,255,.78)!important;font-size:13.5px!important;line-height:1.9!important;}
body.site-shell-v1 #header .site-search-suggestion-v268{display:block!important;padding:13px 18px!important;color:#fff!important;text-decoration:none!important;border-bottom:1px solid rgba(255,255,255,.07)!important;transition:background .16s ease!important;}
body.site-shell-v1 #header .site-search-suggestion-v268:hover,body.site-shell-v1 #header .site-search-suggestion-v268:focus-visible,body.site-shell-v1 #header .site-search-suggestion-v268.active{background:rgba(110,60,150,.58)!important;outline:none!important;}
body.site-shell-v1 #header .site-search-sug-top-v268{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;}
body.site-shell-v1 #header .site-search-sug-title-v268{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;font-size:14.2px!important;font-weight:800!important;line-height:1.55!important;}
body.site-shell-v1 #header .site-search-sug-cat-v268{flex:0 0 auto!important;color:var(--shell-gold-light,#f5d76e)!important;font-size:10.5px!important;font-weight:700!important;opacity:.9!important;white-space:nowrap!important;}
body.site-shell-v1 #header .site-search-sug-desc-v268{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;margin-top:4px!important;color:rgba(255,255,255,.70)!important;font-size:12.2px!important;line-height:1.7!important;}
body.site-shell-v1 #header .site-search-view-all-v268{width:100%!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:14px 18px!important;border:0!important;background:rgba(201,162,39,.12)!important;color:#fff!important;font-family:inherit!important;font-size:13px!important;font-weight:800!important;cursor:pointer!important;text-align:start!important;}
body.site-shell-v1 #header .site-search-view-all-v268:hover,body.site-shell-v1 #header .site-search-view-all-v268:focus-visible{background:rgba(201,162,39,.22)!important;outline:none!important;}

/* Search results page */
body.site-shell-v1.site-search-document-v302{font-family:"Vazirmatn",Tahoma,sans-serif;}
body.site-shell-v1 .site-search-page-v268{max-width:980px;margin:0 auto;padding:128px 20px 70px;}
body.site-shell-v1 .site-search-page-v268 h1{font-size:32px;line-height:1.4;color:#2a2340;margin:0 0 12px;}
body.site-shell-v1 .site-search-page-lead-v268{color:#666;line-height:1.9;margin:0 0 24px;}
body.site-shell-v1 .site-search-page-field-v268{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid rgba(110,60,150,.20);border-radius:15px;padding:0 16px;box-shadow:0 10px 28px rgba(42,35,64,.08);}
body.site-shell-v1 .site-search-page-field-v268 input{width:100%;height:54px;border:0;outline:0;background:transparent;font-family:inherit;font-size:16px;font-weight:600;color:#2a2340;unicode-bidi:plaintext;text-align:start;}
body.site-shell-v1 .site-search-page-count-v268{margin:18px 2px;color:#777;font-size:13px;font-weight:700;}
body.site-shell-v1 .site-search-result-v268{display:block;background:#fff;border:1px solid rgba(110,60,150,.13);border-radius:14px;padding:18px 20px;margin:0 0 12px;text-decoration:none;box-shadow:0 7px 20px rgba(42,35,64,.055);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;}
body.site-shell-v1 .site-search-result-v268:hover{transform:translateY(-2px);border-color:rgba(201,162,39,.55);box-shadow:0 12px 28px rgba(42,35,64,.10);}
body.site-shell-v1 .site-search-result-v268 small{display:block;color:#8b6d15;font-size:11px;font-weight:800;margin-bottom:5px;}
body.site-shell-v1 .site-search-result-v268 h2{font-size:18px!important;line-height:1.55!important;margin:0 0 6px!important;color:#2a2340!important;display:block!important;}
body.site-shell-v1 .site-search-result-v268 h2::after{display:none!important;content:none!important;}
body.site-shell-v1 .site-search-result-v268 p{margin:0;color:#62606a;font-size:13.5px;line-height:1.8;}
body.site-shell-v1 :is(#fa-content,#en-content) .niktrd-context-link-v302{color:#1769aa;font-weight:700;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;}
body.site-shell-v1 :is(#fa-content,#en-content) .niktrd-context-link-v302:hover,
body.site-shell-v1 :is(#fa-content,#en-content) .niktrd-context-link-v302:focus-visible{color:#0f4f86;text-decoration-thickness:2px;outline:none;}


@media(max-width:520px){
  body.site-shell-v1 #header{padding:10px 10px!important;}
  body.site-shell-v1 #header .header-row1{gap:5px!important;}
  body.site-shell-v1 #header .logo{gap:4px!important;min-width:0!important;}
  body.site-shell-v1 #header .logo img{height:30px!important;}
  body.site-shell-v1 #header .logo .brand-wordmark{font-size:10.5px!important;letter-spacing:.5px!important;}
  body.site-shell-v1 #header .header-row1 > div:last-child{gap:6px!important;flex:0 0 auto!important;}
  body.site-shell-v1 #header .lang-toggle{gap:2px!important;}
  body.site-shell-v1 #header .lang-toggle button{font-size:10px!important;padding:1px 2px!important;}
  body.site-shell-v1 #header .site-search-trigger-v268{width:34px!important;height:34px!important;border-radius:8px!important;}
  body.site-shell-v1 #header .site-search-trigger-v268 svg{width:18px!important;height:18px!important;}
  body.site-shell-v1 #header .hamburger{padding:5px!important;}
  body.site-shell-v1 #header .hamburger span{width:23px!important;}
}
@media(max-width:900px){
  body.site-shell-v1 #header .dropdown-nav{width:min(276px,calc(100vw - 24px))!important;min-width:0!important;}
  body.site-shell-v1 #header .menu-submenu{position:static!important;inset:auto!important;width:100%!important;min-width:0!important;max-width:none!important;max-height:none!important;border-radius:0!important;box-shadow:none!important;background:rgba(20,15,34,.52)!important;overflow:visible!important;}
  body.site-shell-v1 #header .menu-submenu.open{display:block!important;}
  body.site-shell-v1 #header .menu-submenu a,body.site-shell-v1 #header .menu-submenu .future-link,body.site-shell-v1 #header .menu-branch-toggle{padding:12px 20px!important;font-size:13.5px!important;opacity:1!important;transform:none!important;animation:none!important;}
  body.site-shell-v1 #header .menu-flyout-title-v268{padding:10px 20px 7px!important;}
  body.site-shell-v1 #header .menu-subsection-label-v266{padding:12px 20px 5px!important;}
  body.site-shell-v1 #header .site-search-panel-v268{width:calc(100vw - 20px)!important;max-width:none!important;border-radius:15px!important;}
  body.site-shell-v1 #header .site-search-sug-top-v268{display:block!important;}
  body.site-shell-v1 #header .site-search-sug-cat-v268{display:block!important;margin-top:3px!important;white-space:normal!important;}
  body.site-shell-v1 .site-search-page-v268{padding:105px 14px 50px;}
  body.site-shell-v1 .site-search-page-v268 h1{font-size:26px;}
}

/* v2.67 — technical tables stay one line and scroll horizontally */
body.site-shell-v1 :is(#fa-content,#en-content) :is(.table-wrap,.table-frame-v16,.comparison-table,.niktrd-table-wrap-v251){
  display:block!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;
}
body.site-shell-v1 :is(#fa-content,#en-content) :is(.table-wrap,.table-frame-v16,.comparison-table,.niktrd-table-wrap-v251) table{
  width:max-content!important;min-width:100%!important;table-layout:auto!important;margin-inline:auto!important;
}
body.site-shell-v1 :is(#fa-content,#en-content) :is(.table-wrap,.table-frame-v16,.comparison-table,.niktrd-table-wrap-v251) table :is(th,td){
  white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;
}


/* NIKTRD v2.69 — atomic checklist mobile containment */
@media(max-width:760px){
  body.niktrd-internal-v16 :is(#fa-content,#en-content) .niktrd-checklist-atomic-v249 .editorial-step{
    grid-template-columns:26px minmax(0,1fr)!important;
  }
  body.niktrd-internal-v16 :is(#fa-content,#en-content) .niktrd-checklist-atomic-v249 .editorial-step-number-v246{
    grid-column:1!important;
  }
  body.niktrd-internal-v16 :is(#fa-content,#en-content) .niktrd-checklist-atomic-v249 .niktrd-checklist-text-v250{
    grid-column:2!important;
    min-width:0!important;
    width:auto!important;
    overflow-wrap:break-word!important;
  }
}

/* NIKTRD v2.81 — compact-mobile 320px containment and search overflow hotfix.
   Page-level horizontal panning is never intentional; technical tables keep
   their own horizontal-scroll wrappers from v2.67. */
@media(max-width:340px){
  html{
    max-width:100%!important;
    overflow-x:clip!important;
  }
  body.site-shell-v1{
    margin:0!important;
    max-width:100%!important;
    overflow-x:clip!important;
  }

  body.site-shell-v1 :where(main,article,section,aside,form,fieldset,#fa-content,#en-content,.fa,.en){
    box-sizing:border-box!important;
    min-width:0!important;
    max-width:100%!important;
  }
  body.site-shell-v1 :where(h1,h2,h3,h4,p,li,summary,label,figcaption){
    min-width:0!important;
    max-width:100%!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
  body.site-shell-v1 :where(img,video,canvas,iframe){max-width:100%!important;}
  body.site-shell-v1 :where(.grid,.std-grid,.articles-grid){
    min-width:0!important;
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.site-shell-v1 :where(.card,.std-card,.article-link-card,.article-card,.editorial-split,.editorial-option-v16,.niktrd-related-v251,.niktrd-faq-v245 details){
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  /* Homepage: long bilingual headings and editorial rows must wrap inside 320px. */
  body.site-shell-home section,
  body.site-shell-home .op-section,
  body.site-shell-home .quote-section,
  body.site-shell-home .about-section,
  body.site-shell-home .contact-section{
    box-sizing:border-box!important;
    max-width:100%!important;
  }
  body.site-shell-home .hero{box-sizing:border-box!important;padding-inline:14px!important;}
  body.site-shell-home .hero :is(h1,.hero-title){
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    font-size:30px!important;
    letter-spacing:.8px!important;
    line-height:1.25!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
  }
  body.site-shell-home .hero-sub :is(.line1,.line2){
    display:block!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  body.site-shell-home .op-title-line{
    flex-wrap:wrap!important;
    gap:5px 10px!important;
    max-width:100%!important;
  }
  body.site-shell-home .op-title-line .op-kicker,
  body.site-shell-home .op-engineering-lead .op-title-line .op-kicker{
    flex:0 1 auto!important;
    max-width:100%!important;
    white-space:normal!important;
  }
  body.site-shell-home .op-title-line .op-section-title,
  body.site-shell-home .op-engineering-lead .op-title-line .op-section-title{
    flex:1 1 100%!important;
    width:100%!important;
    max-width:100%!important;
  }
  body.site-shell-home :is(.product-family-links,.standards-family-index){min-width:0!important;}
  body.site-shell-home :is(.product-family-links a,.standards-family-index a){
    min-width:0!important;
    max-width:100%!important;
    overflow-wrap:anywhere!important;
  }
  body.site-shell-home .op-directory-row{grid-template-columns:minmax(0,1fr) 18px!important;min-width:0!important;}
  body.site-shell-home .op-directory-row span{min-width:0!important;max-width:100%!important;}
  body.site-shell-home .op-selection-copy{inset-inline:18px!important;}
  body.site-shell-home :is(.op-selection-list,.op-knowledge-body,.op-knowledge-list){padding-inline:18px!important;}
  body.site-shell-home .op-resource-row{grid-template-columns:minmax(0,1fr)!important;gap:8px!important;}
  body.site-shell-home .op-resource-row :is(.op-resource-code,h3,p,.op-resource-actions){grid-column:1!important;min-width:0!important;}
  body.site-shell-home .op-resource-actions{flex-wrap:wrap!important;white-space:normal!important;}
  body.site-shell-home .mnk-contact-wrap,
  body.site-shell-home .mnk-hero,
  body.site-shell-home .mnk-actions,
  body.site-shell-home .mnk-row,
  body.site-shell-home .mnk-txt{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
  body.site-shell-home .mnk-hero{padding:28px 18px!important;}
  body.site-shell-home .mnk-actions{padding:22px 14px!important;}
  body.site-shell-home .mnk-row{padding:13px 12px!important;gap:10px!important;}
  body.site-shell-home .mnk-val{max-width:100%!important;overflow-wrap:anywhere!important;}
}
/* v2.84 — downloadable reference-table toolbar */
.niktrd-table-tools-v284{display:flex;align-items:center;justify-content:space-between;gap:7px;width:fit-content;max-width:100%;margin:4px 0 8px;margin-inline-start:auto;padding:3px 5px;border:1px solid rgba(201,162,39,.42);border-radius:7px;background:#fff;position:relative;z-index:4;box-sizing:border-box}.niktrd-table-tools-source-v284{display:flex;align-items:center;gap:5px;min-width:0;font-size:9px;line-height:1.2;color:#6a665e}.niktrd-table-tools-label-v284{font-weight:800;color:#745e18;white-space:nowrap}.niktrd-table-download-v284{position:relative;flex:0 0 auto}.niktrd-table-download-v284 summary{list-style:none;display:inline-flex;align-items:center;gap:4px;min-height:24px;padding:2px 6px;border:1px solid rgba(201,162,39,.82);border-radius:6px;background:#fff;color:#2a2340;font:700 9.5px/1.15 inherit;cursor:pointer;box-shadow:0 1px 3px rgba(42,35,64,.04);transition:background .18s ease,border-color .18s ease,transform .18s ease}.niktrd-table-download-v284 summary::-webkit-details-marker{display:none}.niktrd-table-download-v284 summary:hover{background:#fff9e9;border-color:#a98210;transform:translateY(-1px)}.niktrd-download-icon-v284{display:inline-grid;place-items:center;width:13px;height:13px;border-radius:50%;background:#fff;color:#9d7a08;border:1px solid #c9a227;font-size:9px;font-weight:900;line-height:1}.niktrd-table-download-menu-v284{position:absolute;inset-inline-end:0;top:calc(100% + 4px);min-width:158px;padding:4px;background:#fff;border:1px solid rgba(201,162,39,.42);border-radius:7px;box-shadow:0 10px 24px rgba(42,35,64,.12);z-index:50}.niktrd-table-download-menu-v284 a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 7px;border-radius:5px;text-decoration:none;color:#2a2340}.niktrd-table-download-menu-v284 a:hover{background:#fff9e9}.niktrd-table-download-menu-v284 strong{color:#745e18}.niktrd-table-download-menu-v284 span{font-size:8.5px;color:#777;white-space:nowrap}@media(max-width:540px){.niktrd-table-tools-v284{width:fit-content;max-width:100%;align-items:center;gap:5px;padding:3px 4px}.niktrd-table-tools-source-v284{font-size:8px;gap:3px}.niktrd-table-download-v284 summary{min-height:23px;padding:2px 5px;font-size:9px}.niktrd-table-download-menu-v284{min-width:152px}}

/* v2.87 — download table interaction/accessibility */
.niktrd-table-tools-v284{isolation:isolate}.niktrd-table-download-v284[open]>summary{background:#fff9e9;border-color:#a98210}.niktrd-table-download-menu-v284 a[href$=".pdf"]::after{content:"↗";font-size:9px;color:#9d7a08}.niktrd-table-download-menu-v284 a[href$=".xlsx"]::after{content:"↓";font-size:9px;color:#9d7a08}

/* v2.89 contextual internal-reference links */
body.site-shell-v1 .niktrd-inline-reference-link-v289{color:#1769aa!important;text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:2px!important;font-weight:inherit!important;}
body.site-shell-v1 .niktrd-inline-reference-link-v289:hover{color:#0f4f86!important;}

/* NIKTRD v2.92 — regression fixes and Persian editorial presentation */
.niktrd-faq-v245 summary>.niktrd-faq-question-v292{display:block;flex:1 1 auto;min-width:0;max-width:100%;}
html body.site-shell-v1 #fa-content :is(.key-answer,.note,.warning,.editorial-note,.key-note,.v230-note){text-align:justify!important;text-align-last:auto!important;}
html body.site-shell-v1 #fa-content :is(.key-answer,.note,.warning,.editorial-note,.key-note,.v230-note) :is(p,span){text-align:justify!important;text-align-last:auto!important;}
html body.site-shell-v1 #fa-content h1 .niktrd-title-main-v292,html body.site-shell-v1 #fa-content h1 .niktrd-title-sub-v292{display:block;}
html body.site-shell-v1 #fa-content h1 .niktrd-title-sub-v292{font-size:.95em;font-weight:700;line-height:1.28;margin-top:3px;direction:ltr;unicode-bidi:isolate;text-align:right;text-align-last:right;}
@media (min-width:901px){html body.site-shell-v1 :is(#fa-content,#en-content) .niktrd-tech-spec-line-v292{white-space:nowrap!important;font-size:12.7px!important;line-height:1.65!important;letter-spacing:-.08px!important;overflow:visible!important;}}
@media (max-width:900px){html body.site-shell-v1 :is(#fa-content,#en-content) .niktrd-tech-spec-line-v292{white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;}}

/* v2.95 — Active Pending P-02/P-09/P-10 */
.niktrd-ltr-parenthetical-v299,.niktrd-chemical-formula-v299{direction:ltr!important;unicode-bidi:isolate!important;display:inline-block!important;white-space:nowrap!important;text-align:left!important}
.niktrd-ltr-parenthetical-long-v299{direction:ltr!important;unicode-bidi:isolate!important;display:inline-block!important;max-width:100%;text-align:left!important}
.niktrd-chemical-formula-v299{font-variant-numeric:lining-nums}
.niktrd-psl-analysis-v299{margin:clamp(28px,5vw,52px) 0;padding:clamp(16px,2.5vw,26px);border:1px solid #e3d6b9;border-radius:20px;background:linear-gradient(180deg,#fffdf8 0,#fff 100%);box-shadow:0 16px 42px rgba(54,43,24,.07)}
.niktrd-analysis-heading-v299{border-inline-start:4px solid #c79218;padding-inline-start:15px;margin-bottom:16px}.niktrd-analysis-heading-v299 p,.niktrd-comparison-intro-v299{text-align:justify}.niktrd-analysis-kicker-v299{display:block;color:#8d6507;font-size:.78rem;font-weight:800;letter-spacing:.045em;margin-bottom:5px}
.niktrd-status-legend-v299{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 14px}.niktrd-status-legend-v299 span,.niktrd-decision-matrix-v299 td>span{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:4px 9px;font-size:.76rem;font-weight:800;line-height:1.25;white-space:nowrap;margin:1px 2px}
.status-body-v299{background:#e6f3eb;color:#21633e;border:1px solid #b8dbc6}.status-sr-v299{background:#fff3cf;color:#775500;border:1px solid #e8cf82}.status-removed-v299{background:#fbe9e5;color:#873e32;border:1px solid #e8bcb4}
.niktrd-decision-wrap-v299{position:relative;overflow:auto;max-width:100%;border:1px solid #d9c89f;border-radius:14px;background:#fff;scrollbar-color:#c79218 #f4efe4;box-shadow:inset -18px 0 24px -26px rgba(0,0,0,.55)}
.niktrd-decision-wrap-v299:focus-visible{outline:3px solid rgba(23,139,136,.25);outline-offset:3px}.niktrd-decision-matrix-v299{border-collapse:separate;border-spacing:0;min-width:1050px;width:100%;table-layout:fixed;font-size:.86rem}.niktrd-decision-matrix-v299 .col-topic-ref-v296{width:24%}.niktrd-decision-matrix-v299 .col-status-v296{width:14%}.niktrd-decision-matrix-v299 .col-current-v296{width:20%}.niktrd-decision-matrix-v299 .col-scope-v296{width:16%}.niktrd-decision-matrix-v299 .col-action-v296{width:26%}
.niktrd-decision-matrix-v299 th,.niktrd-decision-matrix-v299 td{padding:12px 11px;border-inline-end:1px solid #e7dfcd;border-bottom:1px solid #e7dfcd;vertical-align:middle}.niktrd-decision-matrix-v299 thead tr:first-child th{background:#2b2a28;color:#fff;border-color:#5a5347;font-weight:800;text-align:center}.niktrd-decision-matrix-v299 tbody tr:nth-child(even) td,.niktrd-decision-matrix-v299 tbody tr:nth-child(even)>th{background:#fcfaf6}.niktrd-decision-matrix-v299 tbody>tr>th.control-topic-v296{background:#fffaf0;text-align:start;white-space:normal}.niktrd-decision-matrix-v299 .control-topic-v296 strong{display:block}.niktrd-decision-matrix-v299 .control-topic-v296 small{display:block;margin-top:5px;color:#746650;font-weight:650;line-height:1.45}.niktrd-decision-matrix-v299 .code-v299{direction:ltr;unicode-bidi:isolate;text-align:center;white-space:normal;font-family:"Space Grotesk",sans-serif;font-weight:700}
.niktrd-decision-matrix-v299 th,.niktrd-decision-matrix-v299 td{position:static;inset-inline-start:auto}.niktrd-analysis-disclaimer-v299{margin:14px 0 0;padding:12px 14px;border-radius:11px;background:#f7f3ea;color:#4f493f;font-size:.9rem;text-align:justify}
@media(max-width:620px){.niktrd-psl-analysis-v299{padding:12px;border-radius:16px}.niktrd-decision-wrap-v299:after{content:"↔";position:sticky;inset-inline-end:8px;bottom:8px;display:inline-grid;place-items:center;width:32px;height:28px;border-radius:9px;background:#2b2a28;color:#fff;opacity:.78;pointer-events:none}.niktrd-decision-matrix-v299{font-size:.8rem}.niktrd-analysis-heading-v299 p,.niktrd-comparison-intro-v299{text-align:start}}

/* v2.97 - P-21: bounded site-search overlay and isolated scrolling */
html.site-search-locked-v297,body.site-search-locked-v297{overscroll-behavior:none!important}
body.site-shell-v1 #header .site-search-backdrop-v268{overscroll-behavior:none!important;touch-action:none!important}
body.site-shell-v1 #header .site-search-panel-v268.open{display:flex!important;flex-direction:column!important;min-height:0!important;max-height:var(--site-search-max-height-v297,calc(100dvh - 24px))!important}
body.site-shell-v1 #header .site-search-head-v268{flex:0 0 auto!important}
body.site-shell-v1 #header .site-search-body-v268{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;touch-action:pan-y!important;scrollbar-gutter:stable!important;-webkit-overflow-scrolling:touch!important}



/* v2.98 - measured search panel and column-consistent technical tables */
body.site-shell-v1 #header .site-search-panel-v268{
  box-sizing:border-box!important;
  contain:layout paint!important;
}
body.site-shell-v1 #header .site-search-panel-v268.open{
  height:var(--site-search-height-v298,auto)!important;
  max-height:var(--site-search-height-v298,calc(100dvh - 32px))!important;
}
body.site-shell-v1 #header .site-search-body-v268{
  box-sizing:border-box!important;
  height:var(--site-search-body-height-v298,auto)!important;
  max-height:var(--site-search-body-height-v298,none)!important;
  overflow-y:auto!important;
  overscroll-behavior-y:contain!important;
}
.niktrd-psl-reference-v298{margin:24px 0 30px}
.niktrd-psl-heading-v298{margin:0 0 15px;padding-inline-start:14px;border-inline-start:3px solid #c79218}
.niktrd-psl-heading-v298 h2{margin:0 0 8px;color:#292826;font-size:clamp(1.35rem,2.4vw,1.8rem);line-height:1.55}
.niktrd-psl-heading-v298 p{margin:0;color:#57534d;line-height:2;text-align:justify}
.niktrd-psl-table-wrap-v298{overflow:auto;max-width:100%;border-top:3px solid #c79218;scrollbar-color:#c79218 #f4efe4}
.niktrd-psl-table-v298{width:100%;min-width:980px;border-collapse:collapse;table-layout:fixed;background:#fff;color:#2c2b29;font-size:.84rem;line-height:1.75}
.niktrd-psl-table-v298 col:nth-child(1){width:21%}.niktrd-psl-table-v298 col:nth-child(2){width:21%}.niktrd-psl-table-v298 col:nth-child(3){width:25%}.niktrd-psl-table-v298 col:nth-child(4){width:33%}
.niktrd-psl-table-v298 th,.niktrd-psl-table-v298 td{padding:12px 13px;border:1px solid #d9d4c9;vertical-align:top;text-align:start!important;position:static!important;color:#2c2b29!important}
.niktrd-psl-table-v298 thead th{background:#f3efe5;color:#292826!important;font-weight:850}
.niktrd-psl-table-v298 tbody th{background:#fbfaf7;color:#2c2b29!important;font-weight:850}
.niktrd-psl-table-v298 tbody tr:nth-child(even)>*{background:#fcfbf8}
.niktrd-psl-table-v298 .niktrd-psl-annex-v298,.niktrd-psl-table-v298 .niktrd-psl-ref-v298{display:block;margin-top:4px;direction:ltr;unicode-bidi:isolate;text-align:left;font-family:"Space Grotesk",Arial,sans-serif;font-size:.78rem;font-weight:700;color:#665d4b}
.niktrd-psl-table-v298 .niktrd-psl-change-v298{display:block;margin-bottom:3px;font-weight:850;color:#72530a}
.niktrd-psl-note-v298{margin:12px 0 0;padding-top:10px;border-top:1px solid #d9d4c9;color:#625d54;font-size:.84rem;line-height:1.9;text-align:justify}
@media(max-width:620px){.niktrd-psl-reference-v298{margin:18px 0 24px}.niktrd-psl-heading-v298 p,.niktrd-psl-note-v298{text-align:start}.niktrd-psl-table-v298{font-size:.8rem}}


/* v3.01 — Contact / WhatsApp / compact-inline release closure */
body.site-shell-v1 .site-footer .footer-whatsapp .footer-whatsapp-icon{color:#25D366!important;}
body.site-shell-v1 .site-footer .footer-whatsapp .footer-whatsapp-icon svg{fill:currentColor!important;stroke:none!important;}
body.site-shell-v1 .site-footer .footer-whatsapp:hover,
body.site-shell-v1 .site-footer .footer-whatsapp:focus-visible{background:rgba(37,211,102,.12)!important;}
@media(max-width:420px){
  html body.site-shell-v1 :is(#fa-content,#en-content) .niktrd-ltr-parenthetical-v299{
    display:inline!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
  html body.site-shell-v1 :is(#fa-content,#en-content) .niktrd-chemical-formula-v299{
    display:inline!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
}

/* v3.05 API 5CT PSL local corrections: keep global H2/table policy untouched. */
body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card .niktrd-psl-heading-v298 > h2.niktrd-compact-heading-v249{
  margin:0 0 8px!important;
}
body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card .niktrd-psl-reference-v298{
  margin-top:24px!important;
}
body.niktrd-internal-v16 :is(#fa-content,#en-content) .niktrd-psl-table-wrap-v298{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch;
}
body.niktrd-internal-v16 :is(#fa-content,#en-content) .niktrd-psl-table-wrap-v298 > table.niktrd-psl-table-v298{
  width:max-content!important;
  min-width:1320px!important;
  table-layout:auto!important;
}
body.niktrd-internal-v16 :is(#fa-content,#en-content) .niktrd-psl-table-v298 col{
  width:auto!important;
}
body.niktrd-internal-v16 :is(#fa-content,#en-content) .niktrd-psl-table-v298 :is(th,td){
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
@media(max-width:620px){
  body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card .niktrd-psl-reference-v298{
    margin-top:18px!important;
  }
  body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card .niktrd-psl-heading-v298 > h2.niktrd-compact-heading-v249{
    margin-top:0!important;
  }
}

/* v3.05 scoped editorial CTA for technical/content pages. Profile CTA is intentionally excluded. */
.article-cta.niktrd-article-cta-v305{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:18px!important;
  margin-top:28px!important;
  padding:17px 20px!important;
  background:#fbfaf7!important;
  color:#2a2340!important;
  border:1px solid rgba(201,162,39,.30)!important;
  border-inline-start:3px solid #c9a227!important;
  border-radius:12px!important;
  box-shadow:none!important;
  text-align:start!important;
}
#fa-content .article-cta.niktrd-article-cta-v305 p{
  margin:0!important;
  color:#2a2340!important;
  line-height:1.95!important;
  text-align:justify!important;
  text-align-last:right!important;
}
#en-content .article-cta.niktrd-article-cta-v305 p{
  margin:0!important;
  color:#2a2340!important;
  line-height:1.8!important;
  text-align:left!important;
  text-align-last:auto!important;
}
.article-cta.niktrd-article-cta-v305 a{
  display:inline-block!important;
  margin:0!important;
  padding:10px 20px!important;
  background:#2a2340!important;
  color:#fff!important;
  border:1px solid #c9a227!important;
  border-radius:11px!important;
  font-weight:800!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  transition:background .2s ease!important;
}
.article-cta.niktrd-article-cta-v305 a:hover{
  background:#3a3155!important;
  transform:none!important;
}
@media(max-width:620px){
  .article-cta.niktrd-article-cta-v305{
    grid-template-columns:1fr!important;
    gap:12px!important;
    padding:15px 16px!important;
  }
  .article-cta.niktrd-article-cta-v305 a{
    width:100%!important;
    box-sizing:border-box!important;
    text-align:center!important;
  }
}


/* v3.07 — API 5CT PSL surgical geometry repair. Scoped to the PSL section only. */
body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card .key-answer.niktrd-psl-prelude-v306{
  margin-bottom:19px!important;
}
body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card .niktrd-psl-reference-v298{
  margin-top:0!important;
  padding-top:0!important;
  padding-inline:0!important;
  padding-bottom:0!important;
}
body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card .niktrd-psl-heading-v298{
  padding-inline-start:0!important;
  border-inline-start:0!important;
}
/* The v3.06 pseudo-element extended 10px outside the article edge. Remove that local
   vertical accent; the existing heading underline remains the section accent. */
body.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card .niktrd-psl-heading-v298::before{
  content:none!important;
  display:none!important;
}
@media(max-width:620px){
  body.niktrd-internal-v16 #fa-content .article-card .niktrd-psl-heading-v298 p,
  body.niktrd-internal-v16 #fa-content .article-card .niktrd-psl-note-v298{
    text-align:right!important;
    text-align-last:auto!important;
    text-justify:auto!important;
    word-spacing:normal!important;
  }
  body.niktrd-internal-v16 #en-content .article-card .niktrd-psl-heading-v298 p,
  body.niktrd-internal-v16 #en-content .article-card .niktrd-psl-note-v298{
    text-align:left!important;
    text-align-last:auto!important;
    text-justify:auto!important;
    word-spacing:normal!important;
  }
}

/* v3.09 — scoped Related Pages hover continuity + Persian inline-link underline readability. */
html body.site-shell-v1.niktrd-internal-v16 :is(#fa-content,#en-content) .niktrd-related-v251 .niktrd-related-links-v251>a{display:inline!important;}
body.site-shell-v1 :is(#fa-content,#en-content) .niktrd-related-links-v251 a :is(.niktrd-ltr-parenthetical-v299,.niktrd-ltr-token-v296,.niktrd-eng-value-v291){display:inline!important;}
body.site-shell-v1 :is(#fa-content,#en-content) .niktrd-related-links-v251 a:hover{
  text-decoration-line:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:3px!important;
  text-decoration-skip-ink:auto!important;
}
body.site-shell-v1 #fa-content article.article-card :is(p,li) a:not(.niktrd-context-link-v302):not(.niktrd-inline-reference-link-v289){
  text-decoration-thickness:1px;
  text-underline-position:under;
  text-underline-offset:.16em;
  text-decoration-skip-ink:auto;
}


/* v3.12 — Knowledge Center grouping, pipe-testing hub, contextual article-link consistency */


body.site-shell-v1 :is(#fa-content,#en-content) article.article-card :is(p,li) a:not(.niktrd-context-link-v302){
  color:#1769aa!important;text-decoration-line:underline!important;text-decoration-thickness:1px!important;
  text-underline-offset:.16em!important;text-decoration-skip-ink:auto!important;text-underline-position:under;font-weight:inherit;
}
body.site-shell-v1 :is(#fa-content,#en-content) article.article-card :is(p,li) a:not(.niktrd-context-link-v302):visited{color:#1769aa!important}
body.site-shell-v1 :is(#fa-content,#en-content) article.article-card :is(p,li) a:not(.niktrd-context-link-v302):hover{color:#0f4f86!important}






@media (max-width:760px){}


/* v3.13 27-pending locked hub/menu hierarchy repair */
body.site-shell-v1 #header #menu-knowledge > .menu-branch-toggle{
  font-weight:800!important;
  letter-spacing:.01em!important;
}
body.site-shell-v1 #header #menu-knowledge > .menu-branch-toggle[aria-expanded="true"],
body.site-shell-v1 #header #menu-knowledge > .menu-branch-toggle.menu-flyout-active-v268{
  background:rgba(201,162,39,.14)!important;
  box-shadow:inset -3px 0 0 rgba(201,162,39,.78)!important;
}
/* Nested Knowledge panels are portalled to #header on desktop, so target their
   stable data-parent-panel rather than relying on DOM ancestry. */
body.site-shell-v1 #header .menu-submenu-nested[data-parent-panel="menu-knowledge"]{
  background:linear-gradient(180deg,rgba(67,50,88,.985),rgba(53,41,75,.985))!important;
  border-inline-start:2px solid rgba(201,162,39,.48)!important;
}
body.site-shell-v1 #header .menu-submenu-nested[data-parent-panel="menu-knowledge"] > a{
  padding-inline-start:32px!important;
  font-size:13.3px!important;
  font-weight:600!important;
}
body.site-shell-v1 #header .menu-submenu-nested[data-parent-panel="menu-knowledge"] > .menu-flyout-title-v268{
  padding-inline-start:18px!important;
  font-size:11.6px!important;
  font-weight:800!important;
  color:rgba(245,215,110,.92)!important;
  background:rgba(255,255,255,.025)!important;
  border-bottom:1px solid rgba(201,162,39,.22)!important;
}
body.niktrd-internal-v16 :is(#fa-content,#en-content) .redesign-v15 .niktrd-hub-directory-v313 > a.editorial-row > strong{
  color:#1769aa!important;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
body.niktrd-internal-v16 :is(#fa-content,#en-content) .redesign-v15 .niktrd-hub-directory-v313 > a.editorial-row:hover > strong,
body.niktrd-internal-v16 :is(#fa-content,#en-content) .redesign-v15 .niktrd-hub-directory-v313 > a.editorial-row:focus-visible > strong{
  color:#0f4f86!important;
  text-decoration-thickness:2px;
}
@media (min-width:901px){
  .redesign-v15 .heat-treatment-hub-v313 > .editorial-row{
    grid-template-columns:minmax(205px,.68fr) minmax(0,1.32fr) 20px;
  }
}
@media (max-width:900px){
  body.site-shell-v1 #header .menu-submenu-nested[data-parent-panel="menu-knowledge"] > a{
    padding-inline-start:34px!important;
  }
}


/* NIKTRD v3.15 — SITEWIDE V7 NAV PROMOTION / controlled pending
   Promote the approved Home V7 navigation into the shared shell.
   Desktop is click-only. Mobile is Terminal-inspired full-screen drill-in. */
#nik-desktop-nav{display:none;align-items:center;justify-content:center;gap:3px;min-width:0;flex:1;margin:0 20px;}
#nik-desktop-nav>button,
#nik-desktop-nav>.nik-desktop-home{
  appearance:none;border:0;background:transparent;color:var(--shell-purple-dark,#2a2340);cursor:pointer;text-decoration:none;
  font:800 14px/1.2 "Vazirmatn","Segoe UI",Tahoma,sans-serif;padding:10px 11px;border-radius:9px;
  display:flex;align-items:center;gap:7px;white-space:nowrap;transition:background .2s ease,color .2s ease;
}
#nik-desktop-nav>button:hover,#nik-desktop-nav>button:focus-visible,#nik-desktop-nav>button[aria-expanded="true"],
#nik-desktop-nav>.nik-desktop-home:hover,#nik-desktop-nav>.nik-desktop-home:focus-visible{
  background:rgba(110,60,150,.08);color:var(--shell-purple,#6e3c96);outline:none;
}
.nik-home-glyph{font-size:15px;line-height:1;}
#nik-mega-panel{
  position:absolute;top:100%;left:50%;transform:translate(-50%,-10px);width:min(1240px,calc(100vw - 40px));
  max-height:var(--nik-mega-available-height,calc(100vh - 132px));overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;
  background:rgba(255,255,255,.988);color:var(--shell-purple-dark,#2a2340);border-top:3px solid var(--shell-gold,#c9a227);
  box-shadow:0 28px 70px rgba(25,18,38,.22);border-radius:0 0 14px 14px;opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .22s ease,transform .32s cubic-bezier(.16,1,.3,1),visibility 0s linear .32s;padding:28px 32px 34px;box-sizing:border-box;z-index:1004;
}
#nik-mega-panel.open{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0);transition-delay:0s;}
.nik-mega-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:26px 34px;align-items:start;}
.nik-mega-col{min-width:0;}
.nik-mega-col h3{margin:0 0 8px;padding-bottom:10px;border-bottom:2px solid rgba(201,162,39,.62);color:#21192d;font-size:20px!important;font-weight:900!important;line-height:1.45;}
.nik-mega-col a{display:block;text-decoration:none;color:#554c61;font-size:14px!important;font-weight:650;line-height:1.55;padding:7px 0;border-bottom:1px solid rgba(42,35,64,.07);transition:color .18s ease,padding .18s ease;}
.nik-mega-col a:hover,.nik-mega-col a:focus-visible{color:var(--shell-purple,#6e3c96);padding-inline-start:4px;outline:none;}
.nik-mega-col .quote-fa,.nik-mega-col .quote-en{width:auto!important;}
@media(min-width:1021px){
  body.site-shell-v1 #nik-desktop-nav{display:flex!important;}
  body.site-shell-v1 #header .menu-anchor-v268{display:none!important;}
  body.site-shell-v1 #header .header-row1{position:relative!important;}
}
@media(min-width:1021px) and (max-width:1280px){
  #nik-desktop-nav{gap:1px;margin-inline:10px;}
  #nik-desktop-nav>button,#nik-desktop-nav>.nik-desktop-home{font-size:12.5px;padding:9px 7px;}
}

@media(max-width:1020px){
  body.menu-open{overflow:hidden!important;}
  body.site-shell-v1 #nik-desktop-nav,body.site-shell-v1 #nik-mega-panel{display:none!important;}
  body.site-shell-v1 #header .menu-anchor-v268{display:block!important;}
  body.site-shell-v1 #header #dropdown-nav.open{
    position:fixed!important;inset:0!important;width:100vw!important;min-width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;
    padding:92px clamp(18px,5vw,34px) 28px!important;margin:0!important;box-sizing:border-box!important;
    background:linear-gradient(155deg,#191421 0%,#241b31 47%,#2f2142 100%)!important;color:#fff!important;
    border:0!important;border-radius:0!important;box-shadow:none!important;overflow-y:auto!important;overscroll-behavior:contain;
    z-index:2147482000!important;animation:nikTerminalMenuInSharedV315 .48s cubic-bezier(.16,1,.3,1) both!important;
  }
  @keyframes nikTerminalMenuInSharedV315{from{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:none}}
  body.site-shell-v1 #header #dropdown-nav.open>.menu-item{
    min-height:56px!important;padding:10px 2px!important;margin:0!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.13)!important;
    border-radius:0!important;background:transparent!important;color:#fff!important;box-shadow:none!important;
  }
  body.site-shell-v1 #header #dropdown-nav.open>.menu-item>.menu-label{width:100%!important;display:flex!important;align-items:center!important;gap:12px!important;}
  body.site-shell-v1 #header #dropdown-nav.open>.menu-item>.menu-label .menu-icon{opacity:.52!important;font-size:15px!important;min-width:22px!important;}
  body.site-shell-v1 #header #dropdown-nav.open>.menu-item>.menu-label .menu-text{font-size:clamp(17px,4.8vw,21px)!important;font-weight:780!important;letter-spacing:-.01em!important;}
  body.site-shell-v1 #header #dropdown-nav.open>.menu-toggle .menu-chevron{font-size:22px!important;color:var(--shell-gold-light,#f5d76e)!important;}
  body.site-shell-v1 #header #dropdown-nav.open>.lang-row{border-bottom:0!important;padding-top:18px!important;font-size:14px!important;}
  body.site-shell-v1 #header #dropdown-nav.open .menu-submenu,
  body.site-shell-v1 #header #dropdown-nav.open .menu-submenu-nested{display:none!important;}
  body.site-shell-v1 #header #dropdown-nav.open .menu-submenu.nik-mobile-panel-active,
  body.site-shell-v1 #header #dropdown-nav.open .menu-submenu-nested.nik-mobile-panel-active{
    display:block!important;position:fixed!important;inset:0!important;width:100vw!important;min-width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;
    padding:84px clamp(18px,5vw,34px) 28px!important;margin:0!important;box-sizing:border-box!important;overflow-y:auto!important;overscroll-behavior:contain;
    background:linear-gradient(155deg,#191421 0%,#241b31 47%,#2f2142 100%)!important;color:#fff!important;
    border:0!important;border-radius:0!important;box-shadow:none!important;z-index:2147482050!important;
    animation:nikTerminalPanelInSharedV315 .34s cubic-bezier(.16,1,.3,1) both!important;
  }
  @keyframes nikTerminalPanelInSharedV315{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:none}}
  html[dir="rtl"] body.site-shell-v1 #header #dropdown-nav.open .menu-submenu.nik-mobile-panel-active,
  html[dir="rtl"] body.site-shell-v1 #header #dropdown-nav.open .menu-submenu-nested.nik-mobile-panel-active{animation-name:nikTerminalPanelInSharedRtlV315!important;}
  @keyframes nikTerminalPanelInSharedRtlV315{from{opacity:0;transform:translateX(-18px)}to{opacity:1;transform:none}}
  body.site-shell-v1 #header #dropdown-nav.open .nik-mobile-back{
    width:100%!important;display:flex!important;align-items:center!important;gap:10px!important;margin:0 0 18px!important;padding:0 0 14px!important;
    border:0!important;border-bottom:1px solid rgba(255,255,255,.16)!important;background:transparent!important;color:var(--shell-gold-light,#f5d76e)!important;
    font:750 14px/1.4 "Vazirmatn",Tahoma,sans-serif!important;cursor:pointer!important;text-align:start!important;
  }
  body.site-shell-v1 #header #dropdown-nav.open .nik-mobile-back-arrow{font-size:20px!important;line-height:1!important;}
  html[dir="rtl"] body.site-shell-v1 #header #dropdown-nav.open .nik-mobile-back-arrow{transform:scaleX(-1);}
  body.site-shell-v1 #header #dropdown-nav.open .menu-flyout-title-v268{
    display:block!important;margin:0 0 16px!important;padding:0 0 14px!important;border-bottom:2px solid rgba(201,162,39,.64)!important;
    color:#fff!important;font-size:clamp(20px,5.8vw,26px)!important;font-weight:850!important;line-height:1.45!important;background:transparent!important;
  }
  body.site-shell-v1 #header #dropdown-nav.open .nik-mobile-panel-active>a,
  body.site-shell-v1 #header #dropdown-nav.open .nik-mobile-panel-active>.menu-branch-toggle{
    display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;min-height:50px!important;
    padding:11px 2px!important;margin:0!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.11)!important;border-radius:0!important;
    color:rgba(255,255,255,.88)!important;background:transparent!important;box-shadow:none!important;text-decoration:none!important;
    font:650 15px/1.55 "Vazirmatn",Tahoma,sans-serif!important;text-align:start!important;
  }
  body.site-shell-v1 #header #dropdown-nav.open .nik-mobile-panel-active>.menu-branch-toggle{font-weight:780!important;color:#fff!important;}
  body.site-shell-v1 #header #dropdown-nav.open .nik-mobile-panel-active>.menu-branch-toggle .menu-chevron{color:var(--shell-gold-light,#f5d76e)!important;}
  body.site-shell-v1 #header #hamburger{position:relative!important;z-index:2147482200!important;}
}
@media(prefers-reduced-motion:reduce){
  body.site-shell-v1 #header #dropdown-nav.open,
  body.site-shell-v1 #header #dropdown-nav.open .nik-mobile-panel-active{animation:none!important;}
}


/* MOBILE-HAMBURGER-LIGHT-THEME-P01 — keep V7 drill-in behavior, switch only mobile/tablet palette */
@media(max-width:1020px){
  body.site-shell-v1 #header #dropdown-nav.open,
  body.site-shell-v1 #header #dropdown-nav.open .menu-submenu.nik-mobile-panel-active,
  body.site-shell-v1 #header #dropdown-nav.open .menu-submenu-nested.nik-mobile-panel-active{
    background:linear-gradient(155deg,#fbfaf7 0%,#ffffff 48%,#f7f3fb 100%)!important;color:#2a2340!important;
    backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;
  }
  body.site-shell-v1 #header #dropdown-nav.open>.menu-item{
    color:#2a2340!important;border-bottom-color:rgba(42,35,64,.12)!important;background:transparent!important;
  }
  body.site-shell-v1 #header #dropdown-nav.open>.menu-item>.menu-label .menu-icon{color:#6e3c96!important;opacity:.68!important}
  body.site-shell-v1 #header #dropdown-nav.open>.menu-item>.menu-label .menu-text{color:#2a2340!important}
  body.site-shell-v1 #header #dropdown-nav.open>.menu-toggle .menu-chevron,
  body.site-shell-v1 #header #dropdown-nav.open .nik-mobile-panel-active>.menu-branch-toggle .menu-chevron{color:#a77b00!important}
  body.site-shell-v1 #header #dropdown-nav.open>.menu-item:hover,
  body.site-shell-v1 #header #dropdown-nav.open>.menu-item:focus-visible,
  body.site-shell-v1 #header #dropdown-nav.open>.menu-item[aria-expanded="true"]{background:rgba(110,60,150,.065)!important}
  body.site-shell-v1 #header #dropdown-nav.open .nik-mobile-back{color:#6e3c96!important;border-bottom-color:rgba(42,35,64,.14)!important}
  body.site-shell-v1 #header #dropdown-nav.open .menu-flyout-title-v268{color:#2a2340!important;border-bottom-color:rgba(201,162,39,.72)!important}
  body.site-shell-v1 #header #dropdown-nav.open .nik-mobile-panel-active>a,
  body.site-shell-v1 #header #dropdown-nav.open .nik-mobile-panel-active>.menu-branch-toggle{
    color:#40374b!important;border-bottom-color:rgba(42,35,64,.105)!important;background:transparent!important;
  }
  body.site-shell-v1 #header #dropdown-nav.open .nik-mobile-panel-active>.menu-branch-toggle{color:#2a2340!important}
  body.site-shell-v1 #header #dropdown-nav.open .nik-mobile-panel-active>a:hover,
  body.site-shell-v1 #header #dropdown-nav.open .nik-mobile-panel-active>a:focus-visible,
  body.site-shell-v1 #header #dropdown-nav.open .nik-mobile-panel-active>.menu-branch-toggle:hover,
  body.site-shell-v1 #header #dropdown-nav.open .nik-mobile-panel-active>.menu-branch-toggle:focus-visible{background:rgba(110,60,150,.06)!important;color:#6e3c96!important}
  body.site-shell-v1 #header #dropdown-nav.open .menu-quote-v268{background:rgba(201,162,39,.11)!important;color:#2a2340!important}
  body.site-shell-v1 #header #dropdown-nav.open .search-menu-item-v268 .menu-icon{color:#a77b00!important}
  body.site-shell-v1.menu-open #header #hamburger span{background:#2a2340!important}
}

/* NIKTRD v3.15 — SITEWIDE-MOBILE-EDITORIAL-RUNTIME-REMEDIATION-20260821 */
@media(max-width:1020px){
  body.site-shell-v1.menu-open #header #hamburger{
    position:fixed!important;inset-block-start:14px!important;inset-inline-end:14px!important;
    width:44px!important;height:44px!important;padding:10px!important;border:1px solid rgba(42,35,64,.14)!important;
    border-radius:50%!important;background:#fff!important;box-shadow:0 8px 24px rgba(42,35,64,.16)!important;
  }
  body.site-shell-v1.menu-open #header #hamburger span{background:#2a2340!important}
}
@media(max-width:760px){
  body.site-shell-v1 :is(#fa-content,#en-content) :is(h1,h2,h3,h4){max-width:100%!important;min-width:0;overflow-wrap:anywhere;word-break:normal;hyphens:auto}
  body.site-shell-v1 #fa-content :is(h1,h2,h3,h4){direction:rtl;unicode-bidi:plaintext;text-align:right!important}
  body.site-shell-v1 #en-content :is(h1,h2,h3,h4){direction:ltr;unicode-bidi:plaintext;text-align:left!important}
  body.site-shell-v1 :is(#fa-content,#en-content) h1{font-size:clamp(1.62rem,7.2vw,2.12rem)!important;line-height:1.42!important}
  body.site-shell-v1 :is(#fa-content,#en-content) h2{font-size:clamp(1.28rem,5.6vw,1.72rem)!important;line-height:1.5!important}
  body.site-shell-v1 :is(#fa-content,#en-content) h3{font-size:clamp(1.08rem,4.7vw,1.38rem)!important;line-height:1.55!important}
  body.site-shell-v1 .niktrd-table-source-v283{display:block!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.75!important}
  html[lang="fa"] body.site-shell-v1 .niktrd-table-source-v283{direction:rtl!important;unicode-bidi:plaintext!important;text-align:right!important}
  html[lang="en"] body.site-shell-v1 .niktrd-table-source-v283{direction:ltr!important;unicode-bidi:plaintext!important;text-align:left!important}
  body.site-shell-v1 .niktrd-table-source-v283 :is(a,bdi,span[dir="ltr"]){direction:ltr!important;unicode-bidi:isolate!important}
  body.site-shell-v1 #fa-content .editorial-row>span{text-align:justify!important;text-align-last:right!important}
  body.site-shell-v1 #en-content .editorial-row>span{text-align:justify!important;text-align-last:left!important}
}
body.site-shell-v1 :is(#engineering-paths .op-section-title,.fa-selection-guide h2,section[id*="selection"] .editorial-title-line h2){font-weight:800!important}

/* NIKTRD v3.15 — FINAL ROOT MOBILE REMEDIATION — 2026-08-22
   Scope: shared-shell menu state, mixed RTL/LTR typography, source lines,
   internal-link role consistency, short editorial rows and mobile control safety. */
@media(max-width:1020px){
  /* Shared Shell is the only mobile-menu palette/state owner. */
  html body.site-shell-v1 #header #dropdown-nav.open,
  html body.site-shell-v1 #header #dropdown-nav.open .menu-submenu.nik-mobile-panel-active,
  html body.site-shell-v1 #header #dropdown-nav.open .menu-submenu-nested.nik-mobile-panel-active{
    background:linear-gradient(155deg,#fbfaf7 0%,#ffffff 48%,#f7f3fb 100%)!important;
    color:#2a2340!important;
  }
  /* Menu is the highest interactive state: floating utilities may not cover it. */
  html body.site-shell-v1.menu-open #backToTop,
  html body.site-shell-v1.menu-open .crisp-client,
  html body.site-shell-v1.menu-open [class*="crisp"]{
    opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  }
}

/* P12 — one underline contract per internal-link role. */
html body.site-shell-v1.niktrd-internal-v16 :is(#fa-content,#en-content) .article-toc a{
  color:#1769aa!important;
  text-decoration-line:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:.16em!important;
  text-underline-position:under!important;
  text-decoration-skip-ink:auto!important;
}
html body.site-shell-v1.niktrd-internal-v16 :is(#fa-content,#en-content) .article-toc a :is(.niktrd-ltr-parenthetical-v299,.niktrd-ltr-token-v296,.niktrd-eng-value-v291,bdi,span){
  text-decoration:inherit!important;
}
html body.site-shell-v1.niktrd-internal-v16 :is(#fa-content,#en-content) .article-toc a .niktrd-ltr-parenthetical-v299{display:inline!important;}

@media(max-width:760px){
  /* P09/P10 — parenthetical LTR tokens are atomic on narrow RTL prose/headings.
     Remove the v3.01 anywhere-break behavior that created orphan parentheses. */
  html body.site-shell-v1 :is(#fa-content,#en-content) .niktrd-ltr-parenthetical-v299{
    direction:ltr!important;unicode-bidi:isolate!important;
    display:inline-block!important;white-space:nowrap!important;
    overflow-wrap:normal!important;word-break:keep-all!important;hyphens:none!important;
    max-width:none!important;text-align:left!important;word-spacing:normal!important;
  }
  html body.site-shell-v1 #fa-content :is(h1,h2,h3,h4) .niktrd-ltr-parenthetical-v299{
    font-size:.90em!important;line-height:1.35!important;vertical-align:baseline!important;
  }
  html body.site-shell-v1 #fa-content :is(h1,h2,h3,h4) .niktrd-long-parenthetical-v315{
    display:block!important;width:100%!important;max-width:100%!important;
    margin-top:.16em!important;font-size:clamp(12px,4.15vw,16px)!important;
    line-height:1.45!important;white-space:nowrap!important;text-align:right!important;
  }

  /* P06 — source lines keep RTL sentence flow while LTR citations stay atomic. */
  html[lang="fa"] body.site-shell-v1 .niktrd-table-source-v283{
    direction:rtl!important;unicode-bidi:isolate!important;text-align:right!important;
    text-align-last:auto!important;word-spacing:normal!important;
    white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;
    line-height:1.85!important;
  }
  html[lang="en"] body.site-shell-v1 .niktrd-table-source-v283{
    direction:ltr!important;unicode-bidi:isolate!important;text-align:left!important;
    text-align-last:auto!important;word-spacing:normal!important;
    white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;
  }
  html body.site-shell-v1 .niktrd-table-source-v283 .niktrd-ltr-parenthetical-v299{
    font-size:.93em!important;white-space:nowrap!important;
  }

  /* P08 — short editorial/list copy is not paragraph prose; do not justify it. */
  html[lang="fa"] body.site-shell-v1 #fa-content .editorial-row>span,
  html[lang="fa"] body.site-shell-v1 #fa-content :is(.editorial-option-v16,.technical-parameter-row-v283)>span{
    text-align:right!important;text-align-last:auto!important;text-justify:auto!important;word-spacing:normal!important;
  }
  html[lang="en"] body.site-shell-v1 #en-content .editorial-row>span,
  html[lang="en"] body.site-shell-v1 #en-content :is(.editorial-option-v16,.technical-parameter-row-v283)>span{
    text-align:left!important;text-align-last:auto!important;text-justify:auto!important;word-spacing:normal!important;
  }

  /* EN-STANDARDS P02 — compact adoption rows stack cleanly on narrow screens. */
  html body.site-shell-v1 :is(#fa-content,#en-content) .en-national-adoption-v315 .v241-balanced-split{
    display:block!important;width:100%!important;max-width:100%!important;
  }
  html body.site-shell-v1 :is(#fa-content,#en-content) .en-national-adoption-v315 .editorial-lead{margin-bottom:18px!important;}
  html body.site-shell-v1 :is(#fa-content,#en-content) .en-national-adoption-v315 .editorial-directory{width:100%!important;max-width:100%!important;}
  html body.site-shell-v1 :is(#fa-content,#en-content) .en-national-adoption-v315 .editorial-row{
    position:relative!important;display:block!important;width:100%!important;max-width:100%!important;
    padding:11px 24px 11px 0!important;min-height:0!important;box-sizing:border-box!important;
  }
  html[dir="ltr"] body.site-shell-v1 #en-content .en-national-adoption-v315 .editorial-row{padding:11px 0 11px 24px!important;}
  html body.site-shell-v1 :is(#fa-content,#en-content) .en-national-adoption-v315 .editorial-row>strong,
  html body.site-shell-v1 :is(#fa-content,#en-content) .en-national-adoption-v315 .editorial-row>span{display:block!important;width:100%!important;max-width:100%!important;}
  html body.site-shell-v1 :is(#fa-content,#en-content) .en-national-adoption-v315 .editorial-row>strong{margin-bottom:4px!important;}
  html[lang="fa"] body.site-shell-v1 #fa-content .en-national-adoption-v315 .editorial-row>:is(strong,span){text-align:right!important;}
  html[lang="en"] body.site-shell-v1 #en-content .en-national-adoption-v315 .editorial-row>:is(strong,span){text-align:left!important;}
  html body.site-shell-v1 :is(#fa-content,#en-content) .en-national-adoption-v315 .editorial-row>b[aria-hidden="true"]{
    position:absolute!important;inset-block-start:12px!important;inset-inline-end:2px!important;width:auto!important;
  }

  /* P11 — compact the shell-owned control on narrow screens; menu-open hide is above. */
  html body.site-shell-v1 #backToTop{
    left:9px!important;bottom:max(10px,env(safe-area-inset-bottom))!important;
    width:42px!important;height:42px!important;font-size:19px!important;border-width:1.5px!important;
    box-shadow:0 3px 10px rgba(0,0,0,.20)!important;
  }
}
/* NIKTRD v3.15 — ROOT-CAUSE CONSOLIDATION R1 — 2026-08-23
   Natural mobile prose, RTL table start, stable floating utilities, light-menu
   effective background, and bilingual containment. */
@media(max-width:1020px){
  /* Effective background-color is explicit so render audits do not mistake the
     approved light gradient for a transparent/dark menu. */
  html body.site-shell-v1 #header #dropdown-nav.open,
  html body.site-shell-v1 #header #dropdown-nav.open .menu-submenu.nik-mobile-panel-active,
  html body.site-shell-v1 #header #dropdown-nav.open .menu-submenu-nested.nik-mobile-panel-active{
    background-color:#fff!important;
  }
  html body.site-shell-v1 #header #dropdown-nav.open>.lang-row{
    margin-top:18px!important;padding:16px 6px max(18px,env(safe-area-inset-bottom))!important;
    border-top-color:rgba(201,162,39,.48)!important;
  }
  html body.site-shell-v1 #header #dropdown-nav.open>.lang-row a{color:#2a2340!important;opacity:1!important;}
  html body.site-shell-v1 #header #dropdown-nav.open>.lang-row a:hover,
  html body.site-shell-v1 #header #dropdown-nav.open>.lang-row a:focus-visible{color:#6e3c96!important;background:rgba(110,60,150,.07)!important;}
  html body.site-shell-v1 #header #dropdown-nav.open .lang-sep{color:rgba(42,35,64,.34)!important;}
}
@media(max-width:760px){
  /* Mobile is too narrow for full justification. Keep desktop editorial
     justification, but use natural reading alignment on phones. */
  html[lang="fa"] body.site-shell-v1 #fa-content :is(p,li,dd,.lead,.niktrd-prose-v295,.niktrd-section-intro-v295,.editorial-intro-v289,.table-note,.key-note,.editorial-note,.tech-row p,.process-row p,.editorial-row>span,.technical-parameter-row-v283>span){
    direction:rtl!important;unicode-bidi:plaintext!important;text-align:right!important;text-align-last:auto!important;text-justify:auto!important;word-spacing:normal!important;
  }
  html[lang="en"] body.site-shell-v1 #en-content :is(p,li,dd,.lead,.niktrd-prose-v295,.niktrd-section-intro-v295,.editorial-intro-v289,.table-note,.key-note,.editorial-note,.tech-row p,.process-row p,.editorial-row>span,.technical-parameter-row-v283>span){
    direction:ltr!important;unicode-bidi:plaintext!important;text-align:left!important;text-align-last:auto!important;text-justify:auto!important;word-spacing:normal!important;
  }
  /* Short technical tokens stay atomic; longer parenthetical phrases may wrap
     naturally in prose. Headings use the dedicated long-parenthetical class. */
  html body.site-shell-v1 :is(#fa-content,#en-content) :is(.niktrd-ltr-token-v296,.niktrd-eng-value-v291,bdi[dir="ltr"]){direction:ltr!important;unicode-bidi:isolate!important;word-spacing:normal!important;}
  html body.site-shell-v1 :is(#fa-content,#en-content) :is(p,li,dd,.lead,.niktrd-prose-v295,.niktrd-section-intro-v295,.editorial-note,.key-note,.table-note) .niktrd-ltr-parenthetical-v299{
    display:inline!important;white-space:normal!important;direction:ltr!important;unicode-bidi:isolate!important;word-spacing:normal!important;
  }
  html body.site-shell-v1 #fa-content :is(h1,h2,h3,h4) .niktrd-long-parenthetical-v315{
    display:block!important;width:100%!important;max-width:100%!important;margin-top:.14em!important;
    white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;text-align:right!important;
  }
  /* Reserve a real lower safe area so the final content cannot end underneath
     the two floating utilities. */
  html body.site-shell-v1.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card{padding-bottom:max(92px,calc(72px + env(safe-area-inset-bottom)))!important;}
/* RTL technical tables open from the logical first column; EN remains LTR. */
  html[lang="fa"] body.site-shell-v1 #fa-content :is(.table-wrap,.table-frame-v16,.comparison-table,.niktrd-table-wrap-v251){direction:rtl!important;}
  html[lang="fa"] body.site-shell-v1 #fa-content :is(.table-wrap,.table-frame-v16,.comparison-table,.niktrd-table-wrap-v251)>table{direction:rtl!important;margin-right:0!important;margin-left:auto!important;}
  html[lang="en"] body.site-shell-v1 #en-content :is(.table-wrap,.table-frame-v16,.comparison-table,.niktrd-table-wrap-v251){direction:ltr!important;}
}

/* NIKTRD v3.15 — FINAL 11-PENDING ROOT REMEDIATION — 2026-08-23
   P08R/P10R/P11/P13/P14 shared acceptance contracts. */
@media(max-width:760px){
  /* P08R — natural mobile reading alignment; desktop/tablet editorial alignment is untouched. */
  html[lang="fa"] body.site-shell-v1 #fa-content :is(p,li,dd,.lead,.niktrd-prose-v295,.niktrd-section-intro-v295,.editorial-intro-v289,.table-note,.key-note,.editorial-note,.editorial-row>span,.technical-parameter-row-v283>span){
    direction:rtl!important;unicode-bidi:plaintext!important;text-align:right!important;text-align-last:auto!important;text-justify:auto!important;word-spacing:normal!important;
  }
  html[lang="en"] body.site-shell-v1 #en-content :is(p,li,dd,.lead,.niktrd-prose-v295,.niktrd-section-intro-v295,.editorial-intro-v289,.table-note,.key-note,.editorial-note,.editorial-row>span,.technical-parameter-row-v283>span){
    direction:ltr!important;unicode-bidi:plaintext!important;text-align:left!important;text-align-last:auto!important;text-justify:auto!important;word-spacing:normal!important;
  }

  /* P10R — technical LTR islands stay isolated inside RTL prose/headings. */
  html body.site-shell-v1 :is(#fa-content,#en-content) :is(.niktrd-ltr-token-v296,.niktrd-eng-value-v291,.niktrd-ltr-parenthetical-v299,bdi[dir="ltr"],[data-niktrd-tech-island="ltr"]){
    direction:ltr!important;unicode-bidi:isolate!important;word-spacing:normal!important;
  }

  /* P11 — reserve physical room for stable floating utilities. They are suppressed
     only while a real overlay is active, never because content happens to pass behind them. */
  html body.site-shell-v1.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card{
    padding-bottom:max(96px,calc(74px + env(safe-area-inset-bottom)))!important;
  }
  html body.site-shell-v1.niktrd-overlay-active-v316 #backToTop,
  html body.site-shell-v1.niktrd-overlay-active-v316 .crisp-client,
  html body.site-shell-v1.niktrd-overlay-active-v316 [class*="crisp"]{
    opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  }

  /* P13 — light-theme close control: preserve a 44px hit target without the white orb. */
  html body.site-shell-v1.menu-open #hamburger{
    width:44px!important;height:44px!important;padding:10px!important;
    border-color:transparent!important;border-radius:0!important;
    background:transparent!important;box-shadow:none!important;
  }

  /* P14 R7 contract — 2/3-column tables obey the same site-wide technical-table SSOT:
     single-line centered cells; intrinsic table width; horizontal scrolling belongs to the wrapper. */
  html body.site-shell-v1 :is(#fa-content,#en-content) :is(.table-wrap,.table-frame-v16,.niktrd-table-wrap-v251)>table:is([data-columns="2"],[data-columns="3"]){
    width:max-content!important;min-width:100%!important;max-width:none!important;table-layout:auto!important;
  }
  html body.site-shell-v1 :is(#fa-content,#en-content) :is(.table-wrap,.table-frame-v16,.niktrd-table-wrap-v251)>table:is([data-columns="2"],[data-columns="3"]) :is(th,td),
  html body.site-shell-v1 :is(#fa-content,#en-content) :is(.table-wrap,.table-frame-v16,.niktrd-table-wrap-v251)>table:is([data-columns="2"],[data-columns="3"]) :is(th,td) *{
    text-align:center!important;text-align-last:center!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;max-width:none!important;
  }
}
/* END FINAL 11-PENDING ROOT REMEDIATION */


/* NIKTRD v3.15 — R6 RECOVERY CONTRACT — 2026-08-24
   Rebuilt from R1. Preserve established behavior; repair only confirmed regressions. */

/* SSOT: all technical tables are centered, single-line, and scroll inside their own wrapper. */
html body.site-shell-v1 :is(#fa-content,#en-content)
:is(.table-wrap,.table-frame-v16,.comparison-table,.niktrd-table-wrap-v251,.niktrd-psl-table-wrap-v298){
  display:block!important;width:100%!important;max-width:100%!important;
  overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;
  overscroll-behavior-inline:contain!important;
}
html body.site-shell-v1 :is(#fa-content,#en-content)
:is(.table-wrap,.table-frame-v16,.comparison-table,.niktrd-table-wrap-v251,.niktrd-psl-table-wrap-v298)>table{
  width:max-content!important;min-width:100%!important;max-width:none!important;
  table-layout:auto!important;margin-inline:auto!important;
}
html body.site-shell-v1 :is(#fa-content,#en-content) table :is(th,td),
html body.site-shell-v1 :is(#fa-content,#en-content) table :is(th,td) *{
  text-align:center!important;text-align-last:center!important;
  white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;
}

/* Mixed RTL/LTR headings: paragraph base direction stays language-owned; technical islands remain isolated. */
html[lang="fa"] body.site-shell-v1 #fa-content :is(h1,h2,h3,h4){
  direction:rtl!important;unicode-bidi:isolate!important;text-align:right!important;
  overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;
}
html[lang="en"] body.site-shell-v1 #en-content :is(h1,h2,h3,h4){
  direction:ltr!important;unicode-bidi:isolate!important;text-align:left!important;
  overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;
}
html body.site-shell-v1 :is(#fa-content,#en-content)
:is(bdi[dir="ltr"],.niktrd-ltr-token-v296,.niktrd-eng-value-v291,[data-niktrd-tech-island="ltr"]){
  direction:ltr!important;unicode-bidi:isolate!important;
}

/* Long LTR parentheticals in prose/callouts may wrap naturally instead of escaping their container. */
@media(max-width:760px){
  html body.site-shell-v1 #fa-content :is(p,li,dd,.lead,.warning,.key-answer,.editorial-note,.table-note,.niktrd-checklist-text-v250,.article-cta)
  .niktrd-ltr-parenthetical-v299,
  html body.site-shell-v1 #en-content :is(p,li,dd,.lead,.warning,.key-answer,.editorial-note,.table-note,.niktrd-checklist-text-v250,.article-cta)
  .niktrd-ltr-parenthetical-v299{
    display:inline!important;max-width:100%!important;white-space:normal!important;
    overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;
    direction:ltr!important;unicode-bidi:isolate!important;
  }
  html[lang="fa"] body.site-shell-v1 #fa-content :is(p,li,dd,.lead,.warning,.key-answer,.editorial-note,.table-note,.niktrd-checklist-text-v250,.article-cta){
    text-align:right!important;text-align-last:auto!important;text-justify:auto!important;word-spacing:normal!important;
  }
  html[lang="en"] body.site-shell-v1 #en-content :is(p,li,dd,.lead,.warning,.key-answer,.editorial-note,.table-note,.niktrd-checklist-text-v250,.article-cta){
    text-align:left!important;text-align-last:auto!important;text-justify:auto!important;word-spacing:normal!important;
  }
}

/* Inline-link underline continuity: technical islands must stay inline inside a decorated link. */
html body.site-shell-v1 :is(#fa-content,#en-content) a
:is(bdi,.niktrd-ltr-token-v296,.niktrd-eng-value-v291,.niktrd-ltr-parenthetical-v299,[data-niktrd-tech-island="ltr"]){
  display:inline!important;text-decoration:inherit!important;
}

/* Editorial micro-marker contract: marker is visually coupled to the bold/title label, never row-centered. */
html body.site-shell-v1.niktrd-internal-v16 :is(#fa-content,#en-content)
:is(.editorial-option-v16,.tech-row,.process-row){
  display:grid!important;grid-template-columns:10px fit-content(280px) minmax(0,1fr)!important;
  column-gap:7px!important;row-gap:5px!important;align-items:start!important;
}
html body.site-shell-v1.niktrd-internal-v16 :is(#fa-content,#en-content)
:is(.editorial-option-v16,.tech-row,.process-row)::before{
  content:""!important;display:block!important;width:9px!important;height:2px!important;
  background:#c9a227!important;grid-column:1!important;grid-row:1!important;
  align-self:start!important;justify-self:start!important;margin-top:.72em!important;
  position:static!important;inset:auto!important;transform:none!important;
}
html body.site-shell-v1.niktrd-internal-v16 :is(#fa-content,#en-content)
:is(.editorial-option-v16,.tech-row,.process-row)>:is(strong,h3){
  grid-column:2!important;grid-row:1!important;align-self:start!important;
  margin-top:0!important;margin-bottom:0!important;
}
html body.site-shell-v1.niktrd-internal-v16 :is(#fa-content,#en-content)
:is(.editorial-option-v16,.tech-row,.process-row)>:is(p,span){
  grid-column:3!important;grid-row:1!important;align-self:start!important;
  margin-top:0!important;margin-bottom:0!important;
}
@media(max-width:760px){
  html body.site-shell-v1.niktrd-internal-v16 :is(#fa-content,#en-content)
  :is(.editorial-option-v16,.tech-row,.process-row){
    grid-template-columns:10px minmax(0,1fr)!important;column-gap:7px!important;row-gap:5px!important;
  }
  html body.site-shell-v1.niktrd-internal-v16 :is(#fa-content,#en-content)
  :is(.editorial-option-v16,.tech-row,.process-row)>:is(strong,h3){grid-column:2!important;grid-row:1!important;}
  html body.site-shell-v1.niktrd-internal-v16 :is(#fa-content,#en-content)
  :is(.editorial-option-v16,.tech-row,.process-row)>:is(p,span){grid-column:2!important;grid-row:2!important;}
}

/* Mobile hamburger: same geometry before/after open, transparent plate, visible non-shrinking X strokes. */
@media(max-width:1020px){
  html body.site-shell-v1.menu-open #header #hamburger{
    position:fixed!important;top:var(--nik-hamb-top,12px)!important;left:var(--nik-hamb-left,12px)!important;
    right:auto!important;bottom:auto!important;inset-inline:auto!important;inset-block:auto!important;
    width:var(--nik-hamb-width,33px)!important;height:var(--nik-hamb-height,29px)!important;
    min-width:0!important;min-height:0!important;padding:var(--nik-hamb-pad-y,5px) var(--nik-hamb-pad-x,5px)!important;
    box-sizing:border-box!important;border:0!important;border-radius:8px!important;background:transparent!important;
    box-shadow:none!important;outline:none!important;z-index:2147482200!important;
  }
  html body.site-shell-v1.menu-open #header #hamburger:hover,
  html body.site-shell-v1.menu-open #header #hamburger:focus,
  html body.site-shell-v1.menu-open #header #hamburger:focus-visible{background:transparent!important;box-shadow:none!important;}
  html body.site-shell-v1 #header #hamburger span{flex:0 0 3px!important;min-height:3px!important;max-height:3px!important;}
}

/* Keep internal mobile chat available; reserve lower reading space. */
@media(max-width:760px){
  html body.site-shell-v1.niktrd-internal-v16 :is(#fa-content,#en-content) .article-card{
    padding-bottom:max(132px,calc(108px + env(safe-area-inset-bottom)))!important;
  }
  html body.site-shell-v1.niktrd-internal-v16:not(.menu-open):not(.niktrd-overlay-active-v316)
  :is(.crisp-client,#crisp-chatbox,[class*="crisp"]){
    visibility:visible!important;pointer-events:auto!important;
  }
}

/* R6 submenu remains in its original DOM so header-dependent styling is preserved. */
@media(max-width:1020px){
  html body.site-shell-v1 #header #dropdown-nav.open .menu-submenu.nik-mobile-panel-active,
  html body.site-shell-v1 #header #dropdown-nav.open .menu-submenu-nested.nik-mobile-panel-active{
    top:0!important;left:0!important;right:0!important;bottom:0!important;
    width:100vw!important;min-width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;
  }
}
/* END R6 RECOVERY CONTRACT */

/* R6 API directory heading contract */
.niktrd-api-directory-heading-v320{display:block!important;min-width:0!important;}
.niktrd-api-directory-main-v320{display:block!important;color:inherit!important;}
.niktrd-api-directory-sub-v320{display:block!important;margin-top:2px!important;font-size:.88em!important;font-weight:650!important;direction:ltr!important;unicode-bidi:isolate!important;color:inherit!important;}

/* R6 selection-row gold marker uses first-line alignment too. */
html body.site-shell-v1.niktrd-internal-v16 #fa-content .fa-selection-row,
html body.site-shell-v1.niktrd-internal-v16 #en-content .selection-guide-v238>li{
  display:grid!important;grid-template-columns:10px minmax(0,1fr)!important;gap:7px!important;align-items:start!important;
}
html body.site-shell-v1.niktrd-internal-v16 #fa-content .fa-selection-row::before,
html body.site-shell-v1.niktrd-internal-v16 #en-content .selection-guide-v238>li::before{
  content:""!important;display:block!important;width:9px!important;height:2px!important;background:#c9a227!important;
  align-self:start!important;justify-self:start!important;margin-top:.72em!important;position:static!important;transform:none!important;
}
html body.site-shell-v1.niktrd-internal-v16 #fa-content .fa-selection-line{grid-column:2!important;grid-row:1!important;margin:0!important;}

/* R6 hamburger geometry correction: keep the control in its original header slot when it becomes X. */
@media(max-width:1020px){
  html body.site-shell-v1.menu-open #header #hamburger{
    position:relative!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
    inset:auto!important;inset-inline:auto!important;inset-block:auto!important;
    width:33px!important;height:29px!important;min-width:33px!important;min-height:29px!important;
    padding:5px!important;box-sizing:border-box!important;
    border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;transform:none!important;
    flex:0 0 auto!important;z-index:2147482200!important;
  }
  html body.site-shell-v1.menu-open #header #hamburger span{height:3px!important;min-height:3px!important;max-height:3px!important;flex:0 0 3px!important;}
}

/* R7 API directory bilingual-heading geometry — FA subtitle remains LTR but shares the Persian heading's right edge. */
html[lang="fa"] body.site-shell-v1 #fa-content .niktrd-api-directory-heading-v320{
  display:block!important;width:100%!important;min-width:0!important;justify-self:stretch!important;direction:rtl!important;text-align:right!important;text-align-last:right!important;
}
html[lang="fa"] body.site-shell-v1 #fa-content .niktrd-api-directory-main-v320{
  display:block!important;width:100%!important;direction:rtl!important;unicode-bidi:isolate!important;text-align:right!important;text-align-last:right!important;color:inherit!important;
}
html[lang="fa"] body.site-shell-v1 #fa-content .niktrd-api-directory-sub-v320{
  display:block!important;width:100%!important;margin-top:2px!important;font-size:.88em!important;font-weight:650!important;
  direction:ltr!important;unicode-bidi:isolate!important;text-align:right!important;text-align-last:right!important;color:inherit!important;
}

/* TOC marker clearance: reserve the marker column before English link text. */
html body.site-shell-v1.niktrd-internal-v16 #en-content .article-toc li{
  padding-inline:14px 0!important;
}
