/* PALUX 568: phone composer; desktop controls retain their existing layout. */
.palux-mobile-control568{display:none}
@media(max-width:700px){
 .palux-compact-composer568 #paluxChatTypingIndicator[hidden],.palux-compact-composer568 #paluxChatTypingIndicator:empty{display:none!important;min-height:0!important;padding:0!important}
 .chat-mobile-page.mobile-conversation-open .palux-compact-composer568{padding:8px 10px max(8px,env(safe-area-inset-bottom))!important;overflow:visible!important;position:relative!important;box-shadow:none!important}
 .chat-mobile-page.mobile-conversation-open .palux-compact-composer568 .chat-input-row{display:grid!important;grid-template-columns:40px minmax(0,1fr) 34px 40px!important;grid-template-rows:auto auto!important;column-gap:5px!important;row-gap:0!important;align-items:end!important;padding:0!important;border:0!important;background:transparent!important;min-width:0!important}
 .chat-mobile-page.mobile-conversation-open .palux-compact-composer568 #channelMessageInput{grid-column:2!important;grid-row:2!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:44px!important;max-height:132px!important;font-size:16px!important;line-height:22px!important;padding:10px 12px!important;border:1px solid var(--line,#dfe3e9)!important;border-radius:23px!important;background:var(--panel,#fff)!important;box-shadow:none!important;transition:none!important}
 .chat-mobile-page.mobile-conversation-open .palux-compact-composer568 #channelMessageInput::placeholder{color:var(--muted,#8b939f);opacity:.85}
 .chat-mobile-page.mobile-conversation-open .palux-compact-composer568 .palux-mobile-control568{display:grid!important;place-items:center!important;grid-row:2!important;align-self:end!important;width:40px!important;height:44px!important;min-width:0!important;min-height:44px!important;padding:7px!important;margin:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:var(--text,#172033)!important;cursor:pointer;touch-action:manipulation}
 .palux-mobile-control568 svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 .chat-mobile-page.mobile-conversation-open .palux-compact-composer568 .palux-more568{grid-column:1!important}
 .chat-mobile-page.mobile-conversation-open .palux-compact-composer568 .palux-camera568{grid-column:3!important;width:34px!important;padding:5px!important}
 .chat-mobile-page.mobile-conversation-open .palux-compact-composer568 .palux-mic568{grid-column:4!important;color:var(--text,#172033)!important}
 .chat-mobile-page.mobile-conversation-open .palux-compact-composer568 .chat-send-btn{display:none!important;grid-column:4!important;grid-row:2!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;align-self:center!important;margin:0!important;padding:0!important;font-size:20px!important;box-shadow:none!important}
 .chat-mobile-page.mobile-conversation-open .palux-compact-composer568.palux-has-message568:not(.palux-recording568) .chat-send-btn{display:grid!important;place-items:center!important}
 .chat-mobile-page.mobile-conversation-open .palux-compact-composer568.palux-has-message568:not(.palux-recording568) .palux-mic568,
 .chat-mobile-page.mobile-conversation-open .palux-compact-composer568.palux-has-message568 .palux-camera568{display:none!important}
 .chat-mobile-page.mobile-conversation-open .palux-compact-composer568.palux-has-message568 #channelMessageInput{grid-column:2 / 4!important}
 .chat-mobile-page.mobile-conversation-open .palux-compact-composer568 .chat-tool-row{display:none!important;grid-column:1/-1!important;grid-row:1!important;min-width:0!important;padding:0!important;margin:0!important}
 .chat-mobile-page.mobile-conversation-open .palux-compact-composer568.palux-tools-open568 .chat-input-row{row-gap:8px!important}
 .chat-mobile-page.mobile-conversation-open .palux-compact-composer568.palux-tools-open568 .chat-tool-row{display:flex!important;flex-wrap:wrap!important;gap:6px!important;align-items:center!important}
 .chat-mobile-page.mobile-conversation-open .palux-compact-composer568 .chat-tool-row .chat-tool-btn{display:flex!important;align-items:center!important;gap:6px!important;width:auto!important;height:44px!important;padding:6px 10px!important;border-radius:14px!important;font-size:17px!important;background:rgba(120,130,150,.07)!important}
 .chat-mobile-page.mobile-conversation-open .palux-compact-composer568 .chat-tool-row .chat-tool-btn::after{content:attr(title);font-size:11px;font-weight:500}
 .chat-mobile-page.mobile-conversation-open .palux-compact-composer568 #voiceRecordBtn{display:none!important}
 .chat-mobile-page.mobile-conversation-open .palux-compact-composer568.palux-recording568 .palux-mic568{color:#c94b4b!important;background:rgba(201,75,75,.10)!important}
 .palux-compact-composer568.palux-recording568 .palux-mic568 svg{display:none}
 .palux-compact-composer568.palux-recording568 .palux-mic568::before{content:"";width:14px;height:14px;border-radius:3px;background:currentColor}
 .chat-mobile-page.mobile-conversation-open .palux-compact-composer568.palux-recording568 .chat-composer-footer{display:block!important;margin:5px 0 0!important;padding:0 5px!important;font-size:11px!important}
 .palux-compact-composer568.palux-recording568 .chat-composer-footer>span:first-child{display:none}
 .chat-mobile-page.mobile-conversation-open .palux-compact-composer568 .emoji-picker{bottom:calc(100% + 4px)!important;left:8px!important;right:8px!important;max-height:min(240px,calc(var(--palux-chat-visible-height,100dvh) / 2))!important}
 .palux-compact-composer568 .palux-mobile-control568:focus-visible{outline:2px solid #b59640;outline-offset:1px}
}
