/* One viewport, one position: never combine keyboard offset with bottom anchoring. */
@media(max-width:700px){
#sandraChatBox{top:var(--sandra-top,12px)!important;bottom:auto!important;left:12px!important;right:auto!important;width:calc(100% - 24px)!important;max-width:none!important;height:var(--sandra-height,calc(100dvh - 100px))!important;max-height:none!important;min-height:0!important;transform-origin:top center;overflow:hidden}
#sandraChatBox.open{transform:none!important}#sandraChatBox>div:first-child{padding:12px 14px}#sandraMessages{min-height:0!important;flex:1 1 0;overflow-y:auto;overscroll-behavior:contain;overflow-anchor:auto;-webkit-overflow-scrolling:touch}#sandraInput{font-size:16px!important;min-width:0;scroll-margin:0}#sandraChatBox>div:last-child{flex-shrink:0;padding:10px 12px; padding-bottom:max(10px,env(safe-area-inset-bottom))}
body.sandra-mobile-open{position:fixed!important;top:var(--sandra-page-top)!important;left:0;right:0;width:100%;overflow:hidden!important;overscroll-behavior:none}body.sandra-mobile-open #sandraTrigger,body.sandra-mobile-open>a.fixed{visibility:hidden}
#sandraChatBox.sandra-compact>div:nth-last-child(2){display:none}#sandraChatBox.sandra-compact>div:first-child{padding-block:8px}
}
