:root{--chat-input-height:7rem;--chat-header-height:40px;--keyboard-height:0px}.mobile-chat-container{position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100dvh;overflow:hidden;display:flex;flex-direction:column;overscroll-behavior:none;max-height:100dvh;touch-action:pan-y;contain:layout style paint}@supports not (height:100dvh){.mobile-chat-container{height:100vh;height:calc(var(--vh, 1vh) * 100)}}.mobile-chat-messages{flex:1;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;position:relative;z-index:1}.mobile-chat-input,.mobile-chat-messages{padding-bottom:env(safe-area-inset-bottom)}.mobile-chat-input{flex-shrink:0;position:absolute;bottom:0;left:0;right:0;z-index:20;overflow:visible;touch-action:manipulation;pointer-events:auto}@supports (-webkit-touch-callout:none){.mobile-chat-container{transform:translateZ(0);-webkit-transform:translateZ(0)}.mobile-chat-input input,.mobile-chat-input textarea{font-size:16px!important}}.mobile-chat-container:has(input:focus),.mobile-chat-container:has(textarea:focus){height:100dvh}@media screen and (max-width:768px){.mobile-chat-container{min-height:100dvh;min-height:-webkit-fill-available}}.chat-send-button{touch-action:manipulation;-webkit-tap-highlight-color:transparent;min-width:44px;min-height:44px}.chat-send-button,.mobile-chat-input button{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.mobile-chat-messages{min-height:0;padding-bottom:calc(10rem + env(safe-area-inset-bottom, 0px))!important;transition:padding-top .5s ease-out}.mobile-chat-input{width:100%}@supports (-webkit-touch-callout:none){.mobile-chat-container{overscroll-behavior:none}.mobile-chat-messages{-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;touch-action:pan-y;scroll-behavior:smooth}.mobile-chat-input textarea{-webkit-overflow-scrolling:auto;touch-action:manipulation}}@media (max-height:500px){.mobile-chat-input .space-y-2>div:first-child{display:none}}.mobile-chat-input{padding-bottom:max(1rem,env(safe-area-inset-bottom))}.mobile-chat-container .fixed.bottom-36{bottom:calc(9rem + env(safe-area-inset-bottom))}.mobile-chat-container .fixed.right-4{right:max(1rem,env(safe-area-inset-right))}.mobile-chat-input textarea{will-change:height;contain:layout style;overflow-x:hidden}.mobile-chat-container>div[class*=absolute]{overflow:visible}.mobile-chat-input:has(textarea:focus){transition:none!important}.mobile-chat-input:has(textarea:focus) *{transition:none!important}