/* CPILL1: floating composer; preserve existing send, attachment and sticker handlers. */
body.staff-chat-active .staff-chat-page footer.staff-chat-composer{direction:rtl!important;align-items:center!important;gap:8px!important;padding:8px 10px calc(12px + env(safe-area-inset-bottom,0px))!important;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;min-height:0!important;height:auto!important;box-sizing:border-box!important}
body.staff-chat-active .staff-chat-page .staff-chat-composer .staff-chat-input-shell{display:flex!important;direction:ltr!important;align-items:center!important;flex:1 1 0%!important;min-width:0!important;min-height:44px!important;height:auto!important;padding:0 8px!important;border-radius:28px!important;border:1px solid rgba(255,255,255,.8)!important;background:rgba(235,250,253,.76)!important;backdrop-filter:blur(14px);box-shadow:none!important;box-sizing:border-box!important}
body.staff-chat-active .staff-chat-page .staff-chat-composer textarea.staff-chat-input{order:1!important;flex:1 1 0%!important;width:0!important;min-width:0!important;min-height:34px!important;max-height:120px!important;padding:6px 8px!important;line-height:22px!important;font-size:16px!important;font-weight:400!important;direction:rtl!important;text-align:right!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;resize:none!important;box-sizing:border-box!important}
body.staff-chat-active .staff-chat-page .staff-chat-composer .staff-chat-icon.sticker{order:0!important;flex:0 0 32px!important;width:32px!important;height:32px!important;padding:4px!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.staff-chat-active .staff-chat-page .staff-chat-composer .staff-chat-round{order:0!important;flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:10px!important;border-radius:50%!important;border:1px solid rgba(255,255,255,.8)!important;box-shadow:none!important;box-sizing:border-box!important}
body.staff-chat-active .staff-chat-page .staff-chat-composer .staff-chat-round.is-attach{background:rgba(235,250,253,.76)!important;backdrop-filter:blur(14px)}
body.staff-chat-active .staff-chat-page .staff-chat-composer .staff-chat-round svg{width:24px!important;height:24px!important}

/* CO1: no full-width clipping ledge behind the capsule. */
body.staff-chat-active .staff-chat-page:not(.ai-training-page){--co1-composer-height:64px;--co1-reply-height:0px;position:relative!important}
body.staff-chat-active .staff-chat-page:not(.ai-training-page)>footer.staff-chat-composer{position:absolute!important;inset:auto 0 0 0!important;width:100%!important;z-index:20!important;pointer-events:none!important;background:transparent!important;background-image:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
body.staff-chat-active .staff-chat-page:not(.ai-training-page)>footer.staff-chat-composer::before,body.staff-chat-active .staff-chat-page:not(.ai-training-page)>footer.staff-chat-composer::after{content:none!important;display:none!important}
body.staff-chat-active .staff-chat-page:not(.ai-training-page)>footer.staff-chat-composer>*{pointer-events:auto}
body.staff-chat-active .staff-chat-page:not(.ai-training-page)>[data-staff-reply-host]{position:absolute!important;inset:auto 0 var(--co1-composer-height) 0!important;z-index:21;pointer-events:none;background:transparent!important}
body.staff-chat-active .staff-chat-page:not(.ai-training-page)>[data-staff-reply-host]>*{pointer-events:auto}
body.staff-chat-active .staff-chat-page:not(.ai-training-page)>.staff-chat-body{padding-bottom:calc(var(--co1-composer-height) + var(--co1-reply-height) + 12px)!important;scroll-padding-bottom:calc(var(--co1-composer-height) + var(--co1-reply-height) + 12px)!important;box-sizing:border-box!important}
