/* Loaded last: supersedes the legacy zero-width flex textarea and iOS inset:0. */
body #lf-ig-send-tools[hidden],body:not([data-lf-composer-channel="instagram"]) #lf-ig-send-tools{display:none!important}
#lf-ig-send-tools svg{display:block;flex:none;pointer-events:none}
@media(max-width:767px){
 body[data-lf-mobile-conversation-view="chat"] .lf-mobile-conversation-layout.lf-mobile-conversation-layout{
  inset:auto!important;top:var(--lf75-top,0px)!important;left:0!important;right:0!important;bottom:auto!important;
  height:var(--lf75-height,100dvh)!important;max-height:var(--lf75-height,100dvh)!important;
  min-height:0!important;box-sizing:border-box!important;transform:none!important;
 }
 body[data-lf-mobile-conversation-view="chat"] .chat-area>.message-composer.lf-composer-2975{
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr)) 44px!important;
  grid-template-rows:auto auto auto!important;align-items:center!important;gap:6px!important;
  width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
  height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;
  padding:8px 10px max(8px,env(safe-area-inset-bottom,0px))!important;
 }
 body[data-lf-mobile-conversation-view="chat"] .message-composer.lf-composer-2975 #message-input{
  grid-column:1 / 6!important;grid-row:1!important;display:block!important;flex:none!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  min-height:44px!important;max-height:104px!important;box-sizing:border-box!important;
  font-size:16px!important;line-height:22px!important;padding:10px 12px!important;
  margin:0!important;resize:none!important;overflow-y:auto!important;word-break:normal!important;
 }
 body[data-lf-mobile-conversation-view="chat"] .message-composer.lf-composer-2975>button{
  display:inline-flex!important;visibility:visible!important;align-items:center!important;justify-content:center!important;
  width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;
  flex:none!important;padding:0!important;margin:0!important;font-size:23px!important;
  border-radius:12px!important;touch-action:manipulation;justify-self:center!important;
  grid-row:2!important;grid-column:var(--lf-tool-slot,1)!important;
 }
 body[data-lf-mobile-conversation-view="chat"] .message-composer.lf-composer-2975>#send-message{
  grid-column:6!important;grid-row:1!important;align-self:end!important;
 }
 body[data-lf-mobile-conversation-view="chat"] .message-composer.lf-composer-2975>#lf-ig-send-tools[hidden],
 body[data-lf-mobile-conversation-view="chat"] .message-composer.lf-composer-2975>button[hidden],
 body[data-lf-mobile-conversation-view="chat"]:not([data-lf-composer-channel="instagram"]) .message-composer.lf-composer-2975>#lf-ig-send-tools{display:none!important}
 body[data-lf-mobile-conversation-view="chat"] .message-composer.lf-composer-2975>.lf-field-counter{
  grid-column:1 / -1!important;grid-row:3!important;width:100%!important;margin:0!important;padding:0!important;
  font-size:0!important;line-height:12px!important;text-align:right!important;min-height:12px!important;
 }
 body[data-lf-mobile-conversation-view="chat"] .message-composer.lf-composer-2975>.lf-field-counter::before{
  content:attr(data-lf-compact);font-size:10px;color:#64748b;
 }
 body[data-lf-mobile-conversation-view="chat"] .message-composer.lf-composer-2975>div,
 body[data-lf-mobile-conversation-view="chat"] .message-composer.lf-composer-2975>.lf-ig-context{grid-column:1 / -1!important;max-width:100%!important;min-width:0!important}
 body[data-lf-mobile-conversation-view="chat"] .chat-area>.service-control{padding:6px 10px!important;gap:6px!important}
 body[data-lf-mobile-conversation-view="chat"] .service-control button{font-size:12px!important;min-height:36px!important;padding:6px 10px!important;white-space:normal!important}
 body[data-lf-mobile-conversation-view="chat"] .service-control{font-size:12px!important}
}
