/* tma-perf3.css — performance layer v3 (04 Dec 2026). Off switch: /tmp/tma_perf3_front_off */

/* Free / Pro: until the first messages answer, the "no messages" picture is a quiet placeholder of the
   same size (no jump, no false "empty inbox"). */
html.p3-wait #messageList > .empty-state > *{visibility:hidden}
html.p3-wait #messageList > .empty-state{
  background:linear-gradient(90deg,rgba(127,140,160,.10) 25%,rgba(127,140,160,.20) 37%,rgba(127,140,160,.10) 63%) 0 0/400% 100%;
  border-radius:14px;animation:p3-shimmer 1.3s ease-in-out infinite}
@keyframes p3-shimmer{0%{background-position:100% 0}100%{background-position:0 0}}
@media (prefers-reduced-motion:reduce){html.p3-wait #messageList > .empty-state{animation:none}}

/* Account pages: browser extensions that put an icon in e-mail / password boxes (an inline
   background-image) get ONE icon at the end of the field, never a repeated row of icons.
   Three #auth/#authView ids: stronger than the page's own "background:...!important" field rule (two ids). */
html[data-atelier-family=account] :is(#auth,#authView):is(#auth,#authView):is(#auth,#authView) input:is([type=email],[type=password],[type=text],:not([type])){
  background-repeat:no-repeat!important;background-size:18px 18px!important;background-position:right 12px center!important}
html[data-atelier-family=account] :is(#auth,#authView):is(#auth,#authView):is(#auth,#authView) input:is([type=email],[type=password],[type=text],:not([type])):dir(rtl){
  background-position:left 12px center!important}

/* SaaSHub badge: was an inline style (blocked by the account pages' Content-Security-Policy) */
img.tma-badge150{max-width:150px}

/* Arabic sign-in card */
html[data-atelier-family=account][data-site-language=ar] :is(#auth,#authView) .wm-auth-card[dir=rtl]{text-align:right}
