.cw-widget{position:fixed;bottom:1.25rem;right:1.25rem;z-index:100}.cw-widget--hidden{display:none}.cw-hide{position:absolute;top:-7px;left:-7px;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#14141ceb;border:1px solid rgba(255,255,255,.16);color:#9292a6;cursor:pointer;padding:0;transition:background .2s,color .2s}.cw-hide:hover{background:#ffffff29;color:#f5f5fa}.cw-trigger{position:relative;width:50px;height:50px;border-radius:50%;border:none;background:linear-gradient(135deg,#25d366,#638aff,#8b5cf6);color:#08080c;cursor:grab;padding:0;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 22px -8px #638aff80;animation:cwFloat 4.5s ease-in-out infinite;transition:transform .2s;touch-action:none}.cw-trigger:active{cursor:grabbing}.cw-trigger__ping{position:absolute;inset:0;border-radius:50%;background:linear-gradient(135deg,#25d366,#638aff,#8b5cf6);z-index:-1;animation:cwPing 3.6s cubic-bezier(0,0,.2,1) infinite}.cw-trigger--used .cw-trigger__ping{display:none}@keyframes cwPing{0%{transform:scale(1);opacity:.4}80%,to{transform:scale(1.6);opacity:0}}.cw-trigger__dot{position:absolute;top:.2rem;right:.2rem;width:8px;height:8px;border-radius:50%;background:#25d366;border:2px solid #08080c;display:none}.cw-trigger--used:not(.cw-trigger--hidden) .cw-trigger__dot{display:block}.cw-trigger:hover{transform:scale(1.05)}.cw-trigger:active{transform:scale(.95)}@keyframes cwFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}.cw-trigger__open{width:21px;height:21px}.cw-teaser{position:fixed;bottom:5.4rem;right:1.25rem;z-index:99;max-width:238px;padding:.8rem 2.1rem .8rem .9rem;border-radius:1rem 1rem 1rem .25rem;border:1px solid rgba(255,255,255,.08);background:#0d0d1af2;backdrop-filter:blur(14px);box-shadow:0 16px 50px #00000080;cursor:pointer;animation:cwTeaserIn .38s cubic-bezier(.22,1,.36,1) both;transition:border-color .2s}.cw-teaser:hover{border-color:#4a9eff80}.cw-teaser__x{position:absolute;top:.35rem;right:.35rem;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#ffffff0f;border:0;color:#9292a6;cursor:pointer;padding:0;transition:background .2s,color .2s}.cw-teaser__x:hover{background:#ffffff29;color:#f5f5fa}@keyframes cwTeaserIn{0%{opacity:0;transform:scale(.92) translateY(14px)}to{opacity:1;transform:none}}.cw-teaser p{margin:0;font-size:.78125rem;line-height:1.45;color:#f5f5fa}.cw-teaser span{font-size:.71875rem;color:#25d366;font-weight:600}.cw-panel{position:fixed;bottom:1.5rem;right:1.5rem;z-index:99;width:380px;max-width:calc(100vw - 2rem);height:580px;max-height:calc(100dvh - 7rem);border-radius:1.5rem;border:1px solid rgba(255,255,255,.08);background:#0d0d1af2;backdrop-filter:blur(24px);display:none;flex-direction:column;overflow:hidden;box-shadow:0 24px 80px #0009}.cw-panel[aria-hidden=false]{display:flex;transform-origin:bottom right;animation:cwPanelIn .45s cubic-bezier(.22,1,.36,1) both}.cw-panel--closing{transform-origin:bottom right;animation:cwPanelOut .18s ease-in both}@keyframes cwPanelIn{0%{opacity:0;transform:scale(.9) translateY(18px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes cwPanelOut{0%{opacity:1;transform:scale(1) translateY(0)}to{opacity:0;transform:scale(.94) translateY(12px)}}.cw-header{display:flex;align-items:center;gap:.75rem;padding:.875rem 1rem;border-bottom:1px solid rgba(255,255,255,.06);background:linear-gradient(135deg,#06060a,#10101e)}.cw-header__ring{position:relative;padding:2px;border-radius:50%;flex-shrink:0;background:linear-gradient(135deg,#25d366,#638aff,#8b5cf6);box-shadow:0 4px 14px #638aff59}.cw-header__avatar{width:36px;height:36px;border-radius:50%;background:#06060a;color:#f5f5fa;font-weight:800;font-size:.75rem;font-family:var(--font-display, inherit);display:flex;align-items:center;justify-content:center}.cw-header__dot{position:absolute;right:-2px;bottom:-2px;width:10px;height:10px;border-radius:50%;background:#25d366;border:2px solid #06060a;animation:cwPulse 2.4s ease-in-out infinite}@keyframes cwPulse{0%,to{opacity:1}50%{opacity:.65;transform:scale(.92)}}.cw-header__info{min-width:0}.cw-header__title{font-size:.875rem;font-weight:600;color:#f5f5fa}.cw-header__sub{font-size:.6875rem;color:#25d366;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cw-header__acciones{margin-left:auto;display:flex;gap:.25rem}.cw-icon-btn{width:32px;height:32px;border-radius:.5rem;border:none;background:transparent;color:#9292a6;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:color .2s,background .2s}.cw-icon-btn:hover{color:#f5f5fa;background:#ffffff0d}.cw-messages{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:.75rem;background:radial-gradient(ellipse at top,rgba(99,138,255,.05),transparent 60%),#0003;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.15) transparent}.cw-messages::-webkit-scrollbar{width:5px}.cw-messages::-webkit-scrollbar-thumb{background:#ffffff26;border-radius:999px}.cw-msg{display:flex;align-items:flex-end;gap:.5rem;max-width:88%;animation:cwFeedIn .45s ease-out both}@keyframes cwFeedIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}.cw-msg--assistant{align-self:flex-start}.cw-msg--user{align-self:flex-end;flex-direction:row-reverse}.cw-avatar{width:28px;height:28px;border-radius:50%;flex-shrink:0;background:linear-gradient(135deg,#25d366,#638aff);color:#05270f;font-size:.5625rem;font-weight:800;font-family:var(--font-display, inherit);display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px #0006}.cw-bubble{padding:.625rem .875rem;border-radius:1rem;font-size:.8125rem;line-height:1.55;white-space:pre-line;overflow-wrap:anywhere}.cw-bubble strong{color:#f5f5fa;font-weight:600}.cw-bubble a{color:#638aff;text-decoration:underline;text-decoration-color:#638aff66;text-underline-offset:2px}.cw-line{display:block}.cw-blank{display:block;height:.5rem}.cw-bullet{display:inline-block;width:3px;height:3px;border-radius:50%;background:#638aff;margin-right:8px;vertical-align:middle}.cw-msg--assistant .cw-bubble{background:#15151f;border:1px solid rgba(255,255,255,.06);border-bottom-left-radius:.25rem;color:#a1a1aa;box-shadow:0 6px 18px #00000040}.cw-msg--user .cw-bubble{background:#25d366;color:#05270f;font-weight:500;border-bottom-right-radius:.25rem;box-shadow:0 4px 18px -6px #25d36680}.cw-msg--user .cw-bubble strong{color:#05270f}.cw-time{font-family:var(--font-mono);font-size:.5625rem;color:#9292a6;opacity:.6;margin-bottom:.1rem}.cw-typing .cw-bubble{display:flex;gap:6px;padding:.75rem 1rem}.cw-typing .cw-bubble span{width:6px;height:6px;border-radius:50%;background:#a1a1aa;opacity:.6;animation:cwBounce 1.1s ease-in-out infinite}.cw-typing .cw-bubble span:nth-child(2){animation-delay:.2s}.cw-typing .cw-bubble span:nth-child(3){animation-delay:.4s}@keyframes cwBounce{0%,to{opacity:.15}50%{opacity:1}}.cw-sug{display:flex;flex-direction:column;gap:.375rem;padding:.25rem .5rem .25rem 2.25rem;animation:cwFeedIn .45s ease-out both}.cw-sug[hidden]{display:none}.cw-chip{font-size:.75rem;padding:.375rem .75rem;border-radius:9999px;border:1px solid rgba(255,255,255,.06);background:#ffffff05;color:#a1a1aa;cursor:pointer;transition:all .2s;font:inherit;text-decoration:none;display:inline-flex;align-items:center;align-self:flex-start}.cw-chip:hover{border-color:#638aff80;background:#ffffff0d;color:#f5f5fa}.cw-chip--link{color:#638aff}.cw-chips__toggle{font-size:.6875rem;padding:.25rem .5rem;border-radius:9999px;border:none;background:transparent;color:#9292a6;cursor:pointer;transition:color .2s;font:inherit;align-self:flex-start}.cw-chips__toggle:hover{color:#f5f5fa}.cw-wa{padding:.5rem .75rem}.cw-wa a{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem .75rem;border-radius:.75rem;background:#25d3661a;color:#25d366;font-size:.75rem;font-weight:600;text-decoration:none;transition:background .2s}.cw-wa a:hover{background:#25d36633}.cw-input-area{display:flex;align-items:center;gap:.5rem;padding:.75rem;padding-bottom:max(.75rem,env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.06)}.cw-input{flex:1;padding:.375rem .875rem;border-radius:9999px;border:1px solid rgba(255,255,255,.06);background:#ffffff05;color:#f5f5fa;font-size:.8125rem;outline:none;font:inherit;transition:border-color .2s,box-shadow .2s}.cw-input:focus{border-color:#25d36699;box-shadow:0 0 0 3px #25d3661f}.cw-input::-moz-placeholder{color:#9292a680}.cw-input::placeholder{color:#9292a680}.cw-send{width:32px;height:32px;border-radius:50%;border:none;flex-shrink:0;background:#25d366;color:#05270f;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .2s,filter .2s}.cw-send:hover{transform:scale(1.05);filter:brightness(1.1)}.cw-send[disabled]{opacity:.4;cursor:not-allowed;transform:none}@media(max-width:480px){.cw-widget{bottom:4.6rem;right:.8rem}.cw-trigger{width:46px;height:46px}.cw-trigger__open{width:19px;height:19px}.cw-teaser{bottom:8.2rem;right:.8rem;max-width:196px}.cw-panel{left:.75rem;right:.75rem;bottom:4.6rem;width:auto;max-width:none;height:min(640px,calc(100dvh - 8.3rem));max-height:none}}@media(prefers-reduced-motion:reduce){.cw-trigger,.cw-trigger__ping{animation:none}.cw-trigger:hover,.cw-trigger:active{transform:none}}
