/* V46: keep desktop copy, actions and metrics in document flow so translated
   text and short laptop viewports cannot collide with fixed percentage offsets. */
@media(min-width:701px){
 html:root[lang] body #tmLayeredHome{display:grid!important;grid-template-columns:minmax(0,46.5vw) minmax(0,1fr)!important;grid-template-rows:auto auto minmax(0,1fr)!important;row-gap:32px!important;column-gap:0!important;padding:clamp(112px,16.4vh,158px) 6.4% 36px!important;min-height:100svh!important;height:auto!important;max-height:none!important;box-sizing:border-box!important;align-items:start!important}
 html:root[lang][dir="rtl"] body #tmLayeredHome{direction:ltr!important;grid-template-columns:minmax(0,41.5vw) minmax(0,1fr)!important;padding-inline:5.4%!important}
 html:root[lang] body #tmLayeredHome .home-copy{position:relative!important;grid-column:1!important;grid-row:1!important;inset:auto!important;width:100%!important;min-width:0!important;margin:0!important}
 html:root[lang] body #tmLayeredHome .home-metrics{position:relative!important;grid-column:1!important;grid-row:2!important;inset:auto!important;width:100%!important;min-width:0!important;margin:0!important;align-self:start!important}
 html:root[lang] body #tmLayeredHome .home-tagline{position:relative!important;grid-column:1!important;grid-row:3!important;inset:auto!important;margin:0!important;align-self:end!important}
}

/* Localized, compact hero stat notifications. */
html:root[lang] body #tmLayeredHome [data-home-lang]{display:none!important}
html:root[lang^="en"] body #tmLayeredHome [data-home-lang="en"],
html:root[lang^="fr"] body #tmLayeredHome [data-home-lang="fr"],
html:root[lang^="ar"] body #tmLayeredHome [data-home-lang="ar"]{display:inline!important}
html:root[lang] body #tmLayeredHome .home-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important}
html:root[lang] body #tmLayeredHome .home-metrics>div{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:100%!important;min-width:0!important;padding:14px 10px!important;border:1px solid #dfb6ff26!important;border-radius:16px!important;background:linear-gradient(140deg,#2f203c88,#100e1dc9)!important;backdrop-filter:blur(10px);box-shadow:0 8px 24px #00000026,inset 0 1px 0 #ffffff08;text-align:center!important;animation:tmStatNotify .6s ease both}
html:root[lang] body #tmLayeredHome .home-metrics>div:nth-child(2){animation-delay:.12s}
html:root[lang] body #tmLayeredHome .home-metrics>div:nth-child(3){animation-delay:.24s}
html:root[lang] body #tmLayeredHome .home-metrics strong{display:block!important;font-size:clamp(20px,1.7vw,27px)!important;line-height:1.15!important;direction:ltr!important;unicode-bidi:isolate!important;margin:0!important;color:#fff!important}
html:root[lang] body #tmLayeredHome .home-metrics span{font-size:10px!important;line-height:1.6!important;letter-spacing:.025em!important;white-space:normal!important;text-transform:none!important;margin:0!important;color:#ddd4e8!important}
html:root[lang^="ar"] body #tmLayeredHome .home-metrics span{letter-spacing:0!important;line-height:1.8!important}
@keyframes tmStatNotify{from{opacity:0;translate:0 9px}to{opacity:1;translate:0 0}}
@media(max-width:700px){html:root[lang] body #tmLayeredHome .home-metrics{gap:7px!important}html:root[lang] body #tmLayeredHome .home-metrics>div{padding:12px 5px!important;border-radius:13px!important}html:root[lang] body #tmLayeredHome .home-metrics span{font-size:9px!important}}
@media(prefers-reduced-motion:reduce){html:root[lang] body #tmLayeredHome .home-metrics>div{animation:none!important}}
