.atlas-widget-button{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;border:none;background:linear-gradient(135deg,#1a73e8,#0d47a1);box-shadow:0 4px 16px #1a73e866,0 2px 8px #00000026;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;position:relative;padding:0}.atlas-widget-button:hover{transform:scale(1.08);box-shadow:0 6px 24px #1a73e880,0 4px 12px #0003}.atlas-widget-button:active{transform:scale(.98)}.atlas-widget-button--pulse{animation:atlas-widget-pulse 1.5s ease-in-out infinite}@keyframes atlas-widget-pulse{0%,to{box-shadow:0 4px 16px #1a73e866,0 2px 8px #00000026}50%{box-shadow:0 4px 24px #1a73e8b3,0 2px 12px #0003,0 0 0 8px #1a73e833}}.atlas-widget-button__icon{width:40px;height:40px;object-fit:contain;border-radius:50%}.atlas-widget-button__badge{position:absolute;top:-4px;right:-4px;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#e53935;color:#fff;font-size:12px;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px #e5393566;animation:atlas-widget-badge-pop .3s ease}@keyframes atlas-widget-badge-pop{0%{transform:scale(0)}50%{transform:scale(1.2)}to{transform:scale(1)}}.atlas-widget-button__status{position:absolute;bottom:2px;right:2px;width:12px;height:12px;border-radius:50%;border:2px solid white}.atlas-widget-button__status--connected{background:#4caf50}.atlas-widget-button__status--disconnected{background:#9e9e9e}.atlas-widget-modal-overlay{position:fixed;inset:0;background:#0006;z-index:999999;pointer-events:auto;animation:atlas-widget-fade-in .2s ease}@keyframes atlas-widget-fade-in{0%{opacity:0}to{opacity:1}}.atlas-widget-modal{position:fixed;width:420px;height:600px;max-width:calc(100vw - 32px);max-height:calc(100vh - 100px);background:#fff;border-radius:16px;box-shadow:0 8px 32px #0003,0 4px 16px #0000001a;display:flex;flex-direction:column;overflow:hidden;z-index:1000000}.atlas-widget-modal--bottom-right{bottom:100px;right:24px;animation:atlas-widget-slide-in-from-right .3s ease}.atlas-widget-modal--bottom-left{bottom:100px;left:24px;animation:atlas-widget-slide-in-from-left .3s ease}.atlas-widget-modal--top-right{top:100px;right:24px;animation:atlas-widget-slide-in-from-right .3s ease}.atlas-widget-modal--top-left{top:100px;left:24px;animation:atlas-widget-slide-in-from-left .3s ease}.atlas-widget-modal--left{top:0;left:0;width:420px;max-width:90vw;height:100vh;max-height:100vh;border-radius:0;animation:atlas-widget-slide-in-left .3s ease}.atlas-widget-modal--right{top:0;right:0;width:420px;max-width:90vw;height:100vh;max-height:100vh;border-radius:0;animation:atlas-widget-slide-in-right .3s ease}@keyframes atlas-widget-slide-in-from-right{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}@keyframes atlas-widget-slide-in-from-left{0%{opacity:0;transform:translate(-100%)}to{opacity:1;transform:translate(0)}}.atlas-widget-modal__header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;background:linear-gradient(135deg,#1a73e8,#0d47a1);color:#fff}.atlas-widget-modal__title{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.atlas-widget-modal__logo{width:28px;height:28px;border-radius:50%;background:#fff;padding:2px}.atlas-widget-modal__close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:#ffffff26;border-radius:8px;color:#fff;cursor:pointer;transition:background .2s ease;padding:0}.atlas-widget-modal__close:hover{background:#ffffff40}.atlas-widget-modal__content{flex:1;overflow:hidden;background:#f5f5f5}.atlas-widget-toast{position:fixed;width:320px;max-width:calc(100vw - 48px);padding:16px;background:#fff;border-radius:12px;box-shadow:0 4px 20px #00000026,0 2px 8px #0000001a;display:flex;align-items:flex-start;gap:12px;cursor:pointer;z-index:999999;pointer-events:auto;animation:atlas-widget-toast-in .3s ease}.atlas-widget-toast--leaving{animation:atlas-widget-toast-out .3s ease forwards}.atlas-widget-toast--bottom-right{bottom:100px;right:24px}.atlas-widget-toast--bottom-left{bottom:100px;left:24px}.atlas-widget-toast--top-right{top:100px;right:24px}.atlas-widget-toast--top-left{top:100px;left:24px}@keyframes atlas-widget-toast-in{0%{opacity:0;transform:translateY(16px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes atlas-widget-toast-out{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-16px) scale(.95)}}.atlas-widget-toast__icon{flex-shrink:0;width:32px;height:32px;border-radius:50%;background:#e3f2fd;color:#1a73e8;display:flex;align-items:center;justify-content:center}.atlas-widget-toast__content{flex:1;min-width:0}.atlas-widget-toast__title{font-size:14px;font-weight:600;color:#1a1a1a;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.atlas-widget-toast__message{font-size:13px;color:#666;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.atlas-widget-toast__close{flex-shrink:0;width:24px;height:24px;border:none;background:transparent;color:#999;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background .2s ease,color .2s ease;padding:0}.atlas-widget-toast__close:hover{background:#f0f0f0;color:#666}.atlas-widget-chat{width:100%;height:100%;display:flex;flex-direction:column;background:linear-gradient(180deg,#f8f9fa,#fff)}.atlas-widget-chat__content{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:32px;text-align:center}.atlas-widget-chat__icon{margin-bottom:16px}.atlas-widget-chat__icon img{border-radius:16px;box-shadow:0 4px 12px #0000001a}.atlas-widget-chat__title{font-size:1.25rem;font-weight:600;color:#1a1a2e;margin:0 0 8px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.atlas-widget-chat__description{font-size:.9rem;color:#666;margin:0 0 24px;line-height:1.5;max-width:280px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.atlas-widget-chat__button{background:linear-gradient(135deg,#1a73e8,#0d47a1);color:#fff;padding:12px 24px;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.atlas-widget-chat__button:hover{transform:translateY(-2px);box-shadow:0 4px 16px #1a73e866}.atlas-widget-chat__button:active{transform:translateY(0)}.atlas-widget-chat__iframe,.atlas-widget-iframe{width:100%;height:100%;border:none;background:#fff}.atlas-widget-chat-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:16px;color:#666;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.atlas-widget-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;gap:16px;color:#666;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.atlas-widget-loading__spinner{width:32px;height:32px;border:3px solid #e0e0e0;border-top-color:#1a73e8;border-radius:50%;animation:atlas-widget-spin .8s linear infinite}@keyframes atlas-widget-spin{to{transform:rotate(360deg)}}.atlas-widget-auth-prompt{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;gap:16px;text-align:center;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.atlas-widget-auth-prompt p{margin:0;color:#666;font-size:14px}.atlas-widget-auth-button{padding:12px 24px;background:linear-gradient(135deg,#1a73e8,#0d47a1);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.atlas-widget-auth-button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #1a73e866}@media(max-width:480px){.atlas-widget-modal{width:100%;height:100%;max-width:100vw;max-height:100vh;border-radius:0;inset:0}.atlas-widget-modal--bottom-right,.atlas-widget-modal--bottom-left,.atlas-widget-modal--top-right,.atlas-widget-modal--top-left,.atlas-widget-modal--left,.atlas-widget-modal--right{inset:0;animation:atlas-widget-fade-in .2s ease}.atlas-widget-toast{left:16px;right:16px;width:auto}.atlas-widget-toast--bottom-right,.atlas-widget-toast--bottom-left{bottom:88px}.atlas-widget-toast--top-right,.atlas-widget-toast--top-left{top:88px}}
