.chat-widget-animated{transform-origin:bottom right;transition:opacity .22s ease,transform .22s cubic-bezier(.16,1,.3,1);opacity:0;transform:translateY(18px) scale(.94);will-change:opacity,transform}.chat-widget-visible{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}.chat-widget-hidden{opacity:0;transform:translateY(18px) scale(.94);pointer-events:none}.chat-widget-card{font-size:.86rem;max-width:min(calc(100vw - 2rem),640px);max-height:min(calc(100dvh - 5rem),680px)}.chat-widget-titlebar{min-height:48px;padding:.55rem .85rem}.chat-widget-titlebar h5{font-size:1.12rem;font-weight:700;line-height:1.15}.chat-widget-titlebar .btn{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;font-size:1rem}.chat-widget-titlebar .btn-close{width:.7rem;height:.7rem;padding:.45rem;background-size:.7rem}.chat-conversation-header{min-height:50px;padding:.5rem .7rem}.chat-conversation-header h6{font-size:.98rem;font-weight:700;line-height:1.15;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-conversation-header-button{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;font-size:.95rem}.chat-conversation-avatar{width:28px;height:28px;object-fit:cover}.chat-conversation-group-icon{font-size:1.15rem;line-height:1}.chat-message-list{padding:.65rem;gap:0}.chat-message-row{position:relative;animation:chat-message-enter .18s ease both;padding-top:2px}.chat-message-row:focus-within,.chat-message-row:hover{z-index:5}@keyframes chat-message-enter{0%{opacity:0;transform:translateY(6px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.chat-message-bubble-wrap{position:relative;max-width:min(76%,430px)}.chat-message-avatar,.chat-message-avatar-spacer{width:28px;height:28px}.chat-message-avatar{object-fit:cover;background:#eef2f6;border:1px solid rgba(15,23,42,.08)}.chat-message-bubble{max-width:100%;padding:.48rem .72rem;border-radius:.8rem;font-size:.88rem;line-height:1.32;word-break:break-word;overflow-wrap:anywhere;box-shadow:0 1px 1px rgba(15,23,42,.04)}.chat-message-bubble-own{border-bottom-right-radius:.5rem}.chat-message-bubble-other{border-bottom-left-radius:.5rem}.chat-message-theme-light .chat-message-bubble-own{background:#0d6efd;color:#ffffff}.chat-message-theme-light .chat-message-bubble-other{background:#f3f6f9;color:#20252c;border:1px solid #edf0f3}.chat-message-theme-dark .chat-message-bubble-own{background:#1f2328;color:#ffffff}.chat-message-theme-dark .chat-message-bubble-other{background:#3a4047;color:#f8f9fa}.chat-message-actions{position:absolute;top:-34px;opacity:0;pointer-events:none;transform:translateY(8px) scale(.96);transition:opacity .12s ease,transform .12s ease;z-index:30;white-space:nowrap}.chat-message-bubble-wrap-own .chat-message-actions{right:8px}.chat-message-bubble-wrap-other .chat-message-actions{left:8px}.chat-message-row:focus-within .chat-message-actions,.chat-message-row:hover .chat-message-actions{opacity:1;pointer-events:auto;transform:translateY(0) scale(1)}.chat-message-actions .btn{border:0;line-height:1;width:30px;height:26px;display:inline-flex;align-items:center;justify-content:center}.chat-message-actions .btn:hover{background-color:var(--bs-tertiary-bg)}.chat-message-action-group{background:var(--bs-body-bg);border-color:rgba(108,117,125,.28)}.chat-message-timestamp{max-height:0;opacity:0;overflow:hidden;pointer-events:none;font-size:.7rem;line-height:1.2;transform:translateY(-4px);transition:max-height .18s ease,opacity .12s ease,transform .12s ease}.chat-message-row:focus-within .chat-message-timestamp,.chat-message-row:hover .chat-message-timestamp{max-height:40px;opacity:1;transform:translateY(0)}.chat-reply-preview{border:0;border-left:3px solid var(--bs-primary);background:rgba(0,0,0,.08);color:inherit;max-width:320px;cursor:pointer;transition:background .12s ease}.chat-reply-preview:hover{background:rgba(0,0,0,.13)}.chat-reply-preview-own{background:rgba(255,255,255,.15)}.chat-reply-preview-own:hover{background:rgba(255,255,255,.22)}.chat-composer-shell{flex-shrink:0;overflow:visible;background:var(--bs-body-bg)}.chat-composer{flex-shrink:0;overflow:visible;padding:.5rem;gap:.3rem}.chat-composer-input-wrap{min-width:0}.chat-composer-input{min-height:34px;padding:.42rem .55rem;border-radius:.55rem;font-size:.82rem;line-height:1.25}.chat-composer-input::placeholder{color:#6c757d;opacity:1}.chat-composer-icon-btn,.chat-composer-send{width:30px;height:34px;min-width:30px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:.55rem;font-size:.9rem}.chat-composer-icon-btn-light{border:0;background:transparent;color:#3f4752}.chat-composer-icon-btn-light:focus-visible,.chat-composer-icon-btn-light:hover{background:#f1f4f8;color:#1f2933}.chat-composer .chat-composer-send.btn-primary{--bs-btn-bg:transparent;--bs-btn-border-color:transparent;--bs-btn-color:#3f4752;--bs-btn-hover-bg:#f1f4f8;--bs-btn-hover-border-color:#f1f4f8;--bs-btn-hover-color:#1f2933;--bs-btn-active-bg:#e8edf3;--bs-btn-active-border-color:#e8edf3;--bs-btn-active-color:#1f2933;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:transparent;--bs-btn-disabled-color:#a8b0ba;width:34px;min-width:34px;border:0;background:transparent;color:#3f4752}.chat-composer .chat-composer-send.btn-primary:focus-visible,.chat-composer .chat-composer-send.btn-primary:hover{background:#f1f4f8;color:#1f2933}.chat-composer .chat-composer-send.btn-primary:disabled{background:transparent;color:#a8b0ba;opacity:.65}.chat-floating-picker{position:fixed;width:294px;height:460px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);z-index:1300}.chat-floating-picker-panel{width:100%;height:100%}.chat-floating-picker-body{min-height:0;overflow-y:auto}.chat-gif-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.chat-gif-thumb{aspect-ratio:1/1;object-fit:cover}.chat-gif-category-row{scrollbar-width:thin}.chat-safety-notice{margin-inline:auto;max-width:260px;padding-block:.25rem}.chat-safety-notice>i{font-size:1.15rem;line-height:1}.chat-safety-notice p{font-size:.66rem;line-height:1.22;margin-bottom:0}.chat-message-jump-highlight{animation:chat-message-jump-highlight 1.15s ease}@keyframes chat-message-jump-highlight{0%{background:rgba(13,110,253,.22);border-radius:.75rem}to{background:transparent}}.emoji-picker-panel{animation:emoji-picker-in .16s cubic-bezier(.16,1,.3,1) both}@keyframes emoji-picker-in{0%{opacity:0;transform:translateY(10px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.emoji-category-btn{width:36px;height:36px;min-width:36px;min-height:36px;padding:0!important;font-size:1.2rem}.emoji-category-btn,.emoji-category-btn span{display:flex;align-items:center;justify-content:center;line-height:1}.emoji-category-btn:hover{transform:translateY(-1px)}.emoji-grid-scroll{min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.emoji-grid{display:grid;grid-template-columns:repeat(auto-fill,42px);justify-content:start;align-content:start;gap:4px;padding-bottom:8px}.emoji-grid-btn{width:42px;height:42px;min-width:42px;min-height:42px;padding:0!important;font-size:1.55rem;line-height:1;background:transparent;display:flex;align-items:center;justify-content:center}.emoji-grid-btn span{display:block;line-height:1;width:1em;text-align:center}.emoji-grid-btn:focus-visible,.emoji-grid-btn:hover{background-color:var(--bs-tertiary-bg);transform:scale(1.08)}.emoji-grid-btn:active{transform:scale(.96)}