.gistai-typing-animation{display:flex;align-items:center;justify-content:center;padding:0 8px}.gistai-typing-animation .gistai-dot{display:inline-block;width:8px;height:8px;margin:0 2px;background-color:#8a8d9a;border-radius:50%;animation:gistai-dot-pulse 1.4s infinite ease-in-out both}.gistai-typing-animation .gistai-dot:nth-child(1){animation-delay:-.32s}.gistai-typing-animation .gistai-dot:nth-child(2){animation-delay:-.16s}@keyframes gistai-dot-pulse{0%,80%,to{transform:scale(.7);opacity:.6}40%{transform:scale(1);opacity:1}}.animate-spin{animation:spin 1s linear infinite!important}.gistai-panel p,.gistai-panel span,.gistai-panel div,.gistai-panel .text-primary,.gistai-panel .text-secondary,.gistai-panel .text-success,.gistai-panel .text-danger,.gistai-panel .text-warning,.gistai-panel .text-info,.gistai-panel .text-light,.gistai-panel .text-dark,.gistai-panel .text-muted{color:inherit!important}.gistai-trigger-button{z-index:2147483647!important;pointer-events:auto!important;cursor:pointer;box-shadow:0 4px 12px #00000026!important;border:none!important;border-radius:50%!important;width:48px;height:48px;display:flex;align-items:center;justify-content:center;transition:all .15s ease;background:#000!important;outline:none!important;position:fixed!important;isolation:isolate!important;color:#fff!important}.gistai-trigger-button svg:not([data-testid=chevron-down]){color:#fff!important;fill:#fff!important;stroke:#667eea!important}.gistai-trigger-button svg[data-testid=chevron-down]{color:#fff!important;fill:#fff!important;stroke:#fff!important}.gistai-custom-bot-avatar{width:100%!important;height:100%!important;border-radius:50%!important;-o-object-fit:cover!important;object-fit:cover!important;display:block!important;min-width:32px!important;min-height:32px!important;max-width:64px!important;max-height:64px!important}.dark .gistai-trigger-button{background:#000!important;border:none!important;box-shadow:0 4px 12px #00000040!important;color:#fff!important}.dark .gistai-trigger-button svg:not([data-testid=chevron-down]){color:#fff!important;fill:#fff!important;stroke:#667eea!important}.dark .gistai-trigger-button svg[data-testid=chevron-down]{color:#fff!important;fill:#fff!important;stroke:#fff!important}.gistai-trigger-button:hover{transform:scale(1.02);background:#1a1a1a!important;color:#fff!important}.gistai-trigger-button:hover svg:not([data-testid=chevron-down]){color:#fff!important;fill:#fff!important;stroke:#667eea!important}.gistai-trigger-button:hover svg[data-testid=chevron-down]{color:#fff!important;fill:#fff!important;stroke:#fff!important}.dark .gistai-trigger-button:hover svg:not([data-testid=chevron-down]){color:#fff!important;fill:#fff!important;stroke:#667eea!important}.dark .gistai-trigger-button:hover svg[data-testid=chevron-down]{color:#fff!important;fill:#fff!important;stroke:#fff!important}.gistai-loading-animation{animation:widgetLoadingAnimation 2s ease-in-out infinite}@keyframes widgetLoadingAnimation{0%,to{transform:scale(1);box-shadow:0 2px 8px #00000026,0 0 #9b87f566}25%{transform:scale(1.1);box-shadow:0 4px 16px #0003,0 0 0 8px #9b87f54d}50%{transform:scale(1.05);box-shadow:0 6px 20px #00000040,0 0 0 12px #9b87f533}75%{transform:scale(1.1);box-shadow:0 4px 16px #0003,0 0 0 8px #9b87f54d}}.gistai-panel{z-index:2147483646!important;background:#fff!important;color:#37352f!important;border-radius:12px;border:1px solid #e9e9e7;box-shadow:0 16px 70px #0000001f,0 4px 25px #00000012,0 2px 10px #0000000a;display:flex;flex-direction:column;animation:modernSlideIn .25s cubic-bezier(.2,0,.2,1);transform-origin:bottom right;overflow:hidden;position:fixed!important;isolation:isolate!important;pointer-events:auto!important}@keyframes modernSlideIn{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.gistai-panel-header{padding:16px 20px;border-bottom:1px solid #f1f1ef;display:flex;justify-content:space-between;align-items:center;position:sticky!important;top:0!important;z-index:100!important;flex-shrink:0;background:#fff!important}.gistai-panel-title{margin:0 0 0 40px;font-size:15px;font-weight:500;text-align:left;flex:1;color:#37352f!important;letter-spacing:-.01em}.gistai-close-button,.gistai-back-button{position:absolute;top:50%;transform:translateY(-50%);background:transparent!important;border:none;color:#9b9a97!important;cursor:pointer;padding:8px;border-radius:6px;display:flex;align-items:center;justify-content:center;transition:all .15s ease;width:32px;height:32px}.gistai-close-button{right:16px}.gistai-back-button{left:16px}.gistai-close-button:hover,.gistai-back-button:hover{background:#f7f6f3!important;color:#37352f!important}.gistai-content{flex-grow:1;padding:0 16px;overflow-y:auto;display:flex;flex-direction:column;justify-content:center;background:#fff!important;margin:0;box-sizing:border-box}.gistai-panel-footer{padding:16px;border-top:1px solid #f1f1ef;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;background:#fff!important;margin:0;box-sizing:border-box}.gistai-footer-text{font-size:11px;color:#9b9a97!important;text-align:center;flex:1;font-weight:400}.gistai-feedback-options{display:flex;flex-direction:column;gap:16px;width:100%;margin-top:4px;margin-bottom:4px;padding:8px 0}.gistai-option-button{background:#ffffffd9;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.2);border-radius:12px;padding:16px 20px;display:flex;flex-direction:row;align-items:center;gap:16px;cursor:pointer;transition:all .3s cubic-bezier(.16,1,.3,1);text-align:left;position:relative;overflow:hidden;box-shadow:0 2px 8px #00000014,0 1px 4px #0000000a,0 0 0 1px #0000000a,inset 0 1px #fffc}.gistai-option-button:hover{background:#fffffff2;border-color:#fff6;transform:translateY(-1px) scale(1.01);box-shadow:0 8px 24px #0000001f,0 4px 12px #0000000f,0 0 0 1px #0000000f,inset 0 1px #ffffffe6}.gistai-option-button:active{transform:translateY(0) scale(.99);transition:transform .1s ease;box-shadow:0 2px 8px #0000000f,inset 0 1px #fff9}.gistai-option-icon{width:auto;height:auto;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:transform .15s ease;background:none!important;border:none;padding:0}.gistai-option-icon.bug{color:#ef4444!important}.gistai-option-icon.idea{color:#3b82f6!important}.gistai-option-icon.feedback{color:#10b981!important}.gistai-option-button:hover .gistai-option-icon{transform:scale(1.1)}.gistai-option-title{font-size:16px;font-weight:500;color:#37352f;letter-spacing:-.01em;text-shadow:0 1px 2px rgba(255,255,255,.8)}.gistai-form{display:flex;flex-direction:column;gap:16px;height:100%;padding-bottom:8px;justify-content:flex-start}.gistai-form .gistai-textarea{flex-grow:1;min-height:81px;max-height:120px}.gistai-textarea{width:100%;resize:none;min-height:100px;padding:16px;font-size:15px;border:1px solid rgba(55,53,47,.16)!important;border-radius:8px;outline:none!important;transition:all .15s ease;background:#fff!important;color:#37352f!important;font-family:inherit;line-height:1.6;box-shadow:0 1px 2px #0000000a}.gistai-textarea:focus{border-color:#37352f4d!important;box-shadow:0 2px 4px #00000014!important;background:#fff!important}.gistai-textarea::-moz-placeholder{color:#37352f80!important}.gistai-textarea::placeholder{color:#37352f80!important}.gistai-input{width:100%;padding:12px 16px;font-size:15px;border:1px solid rgba(55,53,47,.16)!important;border-radius:8px;outline:none!important;transition:all .15s ease;background:#fff!important;color:#37352f!important;font-family:inherit;box-shadow:0 1px 2px #0000000a}.gistai-input:focus{border-color:#37352f4d!important;box-shadow:0 2px 4px #00000014!important;background:#fff!important}.gistai-input::-moz-placeholder{color:#37352f80!important}.gistai-input::placeholder{color:#37352f80!important}.gistai-submit-button{background:#37352f;color:#fff;border:none;border-radius:6px;padding:12px 20px;font-size:14px;font-weight:500;cursor:pointer;transition:all .15s ease;display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:4px;box-shadow:0 1px 3px #0000001f;letter-spacing:-.01em}.gistai-submit-button:hover:not(:disabled){background:#2f2d2a;transform:translateY(-1px);box-shadow:0 2px 6px #00000029}.gistai-submit-button:disabled{background:#37352f4d;cursor:not-allowed;opacity:.6;transform:none;box-shadow:none}.gistai-submit-button.is-submitting{background:#37352f;cursor:wait;transform:none}.gistai-submit-button.is-submitting svg{animation:spin 1s linear infinite}.gistai-submit-button.is-submitting svg{stroke:#fff;width:10px;height:10px;display:inline-block;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.gistai-success{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:23px 18px;gap:14px}.gistai-success-icon{width:60px;height:60px;background:#f7f6f3!important;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#37352f!important;animation:successPulse .6s cubic-bezier(.16,1,.3,1);box-shadow:none}@keyframes successPulse{0%{transform:scale(.8);opacity:.8}50%{transform:scale(1.1)}to{transform:scale(1);opacity:1}}.gistai-success-title{margin:0;font-size:17px;font-weight:600;color:#2d1b69;letter-spacing:-.01em}.gistai-success-message{margin:0;font-size:14px;color:#2d1b69b3;line-height:1.5}.gistai-screenshot-button{background:#9b87f514;border:1px solid rgba(155,135,245,.2);color:#2d1b69;border-radius:9px;padding:9px 11px;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s cubic-bezier(.16,1,.3,1);display:flex;align-items:center;gap:6px;box-shadow:0 2px 8px #9b87f51a}.gistai-screenshot-button:hover:not(:disabled){background:#9b87f526;border-color:#9b87f54d;transform:translateY(-1px);box-shadow:0 4px 12px #9b87f533}.gistai-screenshot-button:disabled{opacity:.5;cursor:not-allowed;transform:none}.gistai-roadmap-button{background:#3b82f614;border:1px solid rgba(59,130,246,.2);color:#1e3a8a;border-radius:9px;padding:9px 11px;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s cubic-bezier(.16,1,.3,1);display:flex;align-items:center;gap:6px;box-shadow:0 2px 8px #3b82f61a}.gistai-roadmap-button:hover:not(:disabled){background:#3b82f626;border-color:#3b82f64d;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f633}.gistai-roadmap-footer{margin-top:16px;padding-top:12px;border-top:1px solid rgba(0,0,0,.08);display:flex;justify-content:center}.gistai-roadmap-link{background:none;border:none;color:#6b7280;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:4px;padding:4px 8px;border-radius:6px}.gistai-roadmap-link:hover{color:#374151;background:#0000000a}.dark .gistai-roadmap-footer{border-top:1px solid rgba(255,255,255,.1)}.dark .gistai-roadmap-link{color:#9ca3af}.dark .gistai-roadmap-link:hover{color:#d1d5db;background:#ffffff0d}.dark .gistai-tabs{background:#fff!important;border-bottom:1px solid #f1f1ef}.gistai-screenshot-button svg.capturing{animation:pulse-opacity 1.5s ease-in-out infinite}@keyframes pulse-opacity{0%,to{opacity:1}50%{opacity:.4}}.gistai-screenshot-preview{margin-top:12px;border:1px solid rgba(155,135,245,.2);border-radius:12px;overflow:hidden;position:relative;box-shadow:0 4px 16px #9b87f51a}.gistai-screenshot-preview img{width:100%;height:auto;display:block}.gistai-remove-screenshot-button{position:absolute;top:8px;right:8px;background:#ef4444e6;color:#fff;border:none;border-radius:8px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s cubic-bezier(.16,1,.3,1);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.gistai-remove-screenshot-button:hover{background:#dc2626f2;transform:scale(1.1)}@keyframes shine-briefly{0%{box-shadow:0 0 #3b82f680}50%{box-shadow:0 0 0 4px #3b82f633}to{box-shadow:0 0 #3b82f600}}.group-hover\:animate-shine-briefly:hover{animation:shine-briefly 1s}.gistai-trigger-button.size-small{width:36px;height:36px}.gistai-trigger-button.size-large{width:56px;height:56px}.gistai-trigger-button.size-extra_large{width:64px;height:64px}@media (max-width: 768px){.gistai-panel{margin:12px!important;width:calc(100vw - 24px)!important;max-width:none!important;border-radius:16px;max-height:85vh!important;min-height:280px}.gistai-panel-header{padding:12px 16px 10px}.gistai-panel-title{font-size:16px}.gistai-close-button,.gistai-back-button{width:36px;height:36px;padding:8px}.gistai-content{padding:0 16px 12px}.gistai-tabs{margin:0 -16px;padding:0 16px}.gistai-tab{padding:16px 12px;font-size:13px;gap:8px}.gistai-option-button{padding:14px 16px;gap:12px}.gistai-option-icon{width:36px;height:36px}.gistai-option-title{font-size:15px}.gistai-textarea{min-height:90px;font-size:16px;padding:16px}.gistai-input{font-size:16px;padding:14px 16px}.gistai-submit-button{padding:16px 20px;font-size:15px;min-height:48px}.gistai-screenshot-button,.gistai-roadmap-button{padding:12px 14px;min-height:44px}.gistai-chat-input{font-size:16px;min-height:44px;padding:12px 16px}.gistai-chat-send{min-width:60px;height:48px;padding:12px 18px}.gistai-message-bubble{max-width:calc(100vw - 120px);font-size:15px;padding:12px 16px}.gistai-panel .gistai-user-message .gistai-message-bubble{background:linear-gradient(135deg,#9b87f5,#8b5cf6)!important;background-color:transparent!important;border:1px solid rgba(155,135,245,.3);border-radius:14px 14px 3px;color:#fff!important;box-shadow:0 4px 12px #9b87f540}.gistai-chat-footer{padding:16px}.gistai-chat-form{gap:8px}}@media (max-width: 480px){.gistai-panel{margin:8px!important;width:calc(100vw - 16px)!important;max-width:none!important;border-radius:14px;max-height:90vh!important;min-height:260px}.gistai-panel-header{padding:10px 14px 8px}.gistai-panel-title{font-size:15px}.gistai-close-button,.gistai-back-button{width:32px;height:32px;padding:6px}.gistai-close-button{right:14px}.gistai-back-button{left:14px}.gistai-content{padding:0 14px 10px}.gistai-tabs{margin:0 -14px;padding:0 14px}.gistai-tab{padding:14px 10px;font-size:12px;gap:6px}.gistai-option-button{padding:12px 14px;gap:10px}.gistai-option-icon{width:32px;height:32px}.gistai-option-title{font-size:14px}.gistai-textarea{min-height:90px;font-size:16px;padding:14px}.gistai-input{font-size:16px;padding:12px 14px}.gistai-submit-button{padding:14px 18px;font-size:14px;min-height:46px}.gistai-screenshot-button,.gistai-roadmap-button{padding:10px 12px;min-height:42px;font-size:11px}.gistai-form-footer{flex-direction:column;align-items:stretch;gap:8px}.gistai-form-actions{justify-content:center}.gistai-chat-content{min-height:240px;max-height:320px}.gistai-messages{padding:12px;gap:10px}.gistai-message-avatar{width:28px;height:28px;border-radius:6px;font-size:14px;background:transparent!important;color:#37352f!important}.gistai-panel .gistai-message-bubble{max-width:calc(100vw - 100px);font-size:14px;padding:10px 12px;border-radius:12px 12px 12px 2px}.gistai-panel .gistai-user-message .gistai-message-bubble{background:linear-gradient(135deg,#9b87f5,#8b5cf6)!important;border:1px solid rgba(155,135,245,.3);border-radius:12px 12px 2px;color:#fff!important;box-shadow:0 4px 12px #9b87f540}.gistai-chat-footer{padding:12px 14px}.gistai-chat-form{gap:6px}.gistai-chat-input{font-size:16px;min-height:40px;padding:10px 14px}.gistai-chat-send{min-width:56px;height:44px;padding:10px 16px}}@media (max-width: 375px){.gistai-panel{margin:6px!important;width:calc(100vw - 12px)!important;border-radius:12px;max-height:92vh!important}.gistai-panel-header{padding:8px 12px 6px}.gistai-panel-title{font-size:14px}.gistai-close-button,.gistai-back-button{width:28px;height:28px;padding:4px}.gistai-close-button{right:12px}.gistai-back-button{left:12px}.gistai-content{padding:0 12px 8px}.gistai-tabs{margin:0 -12px;padding:0 12px}.gistai-tab{padding:12px 8px;font-size:11px;gap:4px}.gistai-option-button{padding:10px 12px;gap:8px}.gistai-option-icon{width:28px;height:28px;border-radius:8px}.gistai-option-title{font-size:13px}.gistai-textarea{min-height:90px;padding:12px}.gistai-input{padding:10px 12px}.gistai-submit-button{padding:12px 16px;font-size:13px;min-height:44px}.gistai-chat-content{min-height:200px;max-height:280px}.gistai-messages{padding:10px;gap:8px}.gistai-panel .gistai-message-bubble{max-width:calc(100vw - 80px);font-size:13px;padding:8px 10px}.gistai-panel .gistai-user-message .gistai-message-bubble{background:linear-gradient(135deg,#9b87f5,#8b5cf6)!important;border:1px solid rgba(155,135,245,.3);border-radius:12px 12px 2px;color:#fff!important;box-shadow:0 4px 12px #9b87f540}.gistai-chat-footer{padding:10px 12px}.gistai-chat-input{min-height:36px;padding:8px 12px}.gistai-chat-send{min-width:50px;height:40px;padding:8px 14px}}@media (max-width: 320px){.gistai-panel{margin:4px!important;width:calc(100vw - 8px)!important;border-radius:10px;max-height:94vh!important}.gistai-panel-header{padding:6px 10px 4px}.gistai-panel-title{font-size:13px}.gistai-content{padding:0 10px 6px}.gistai-tabs{margin:0 -10px;padding:0 10px}.gistai-tab{padding:10px 6px;font-size:10px;gap:3px}.gistai-option-button{padding:8px 10px;gap:6px}.gistai-option-icon{width:24px;height:24px;border-radius:6px}.gistai-option-title{font-size:12px}.gistai-textarea{min-height:90px;padding:10px;font-size:15px}.gistai-input{padding:8px 10px;font-size:15px}.gistai-submit-button{padding:10px 14px;font-size:12px;min-height:40px}.gistai-chat-content{min-height:180px;max-height:240px}.gistai-messages{padding:8px;gap:6px}.gistai-message-avatar{width:24px;height:24px;border-radius:6px;font-size:12px;background:transparent!important;color:#37352f!important}.gistai-panel .gistai-message-bubble{max-width:calc(100vw - 60px);font-size:12px;padding:6px 8px;border-radius:10px 10px 10px 2px}.gistai-panel .gistai-user-message .gistai-message-bubble{background:linear-gradient(135deg,#9b87f5,#8b5cf6)!important;border:1px solid rgba(155,135,245,.3);border-radius:10px 10px 2px;color:#fff!important;box-shadow:0 4px 12px #9b87f540}.gistai-chat-footer{padding:8px 10px}.gistai-chat-input{min-height:32px;padding:6px 10px;font-size:15px}.gistai-chat-send{min-width:44px;height:36px;padding:6px 12px}}@media (min-width: 1200px){.gistai-panel{max-width:400px!important;width:min(380px,25vw)!important}.gistai-panel-header{max-width:100%;position:relative;display:flex;justify-content:space-between;align-items:center;padding:16px;margin:0;box-sizing:border-box}.gistai-panel-header.gistai-chat-specific-header{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:nowrap;padding:16px;margin:0;width:100%;box-sizing:border-box}.gistai-chat-resize-button{position:relative!important;pointer-events:auto!important;z-index:20!important;margin-left:0!important;margin-right:8px;min-width:32px;min-height:32px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.gistai-tab{pointer-events:auto!important;position:relative;z-index:15;min-height:44px;padding:16px 18px;flex:1;max-width:50%}.gistai-tabs{max-width:100%;overflow:visible;position:relative;z-index:15;margin:0;padding:0;justify-content:stretch;width:100%}.gistai-panel-header,.gistai-content,.gistai-chat-footer{overflow:visible!important;position:relative}}@media (min-width: 1600px){.gistai-panel{max-width:380px!important;width:min(360px,20vw)!important}.gistai-chat-resize-button{z-index:25!important;pointer-events:auto!important;position:relative!important}.gistai-tab{z-index:20!important;pointer-events:auto!important}}.gistai-tabs{display:flex;border-bottom:1px solid #f1f1ef;background:#fff!important;margin:0;padding:0;pointer-events:auto!important;position:sticky!important;top:0!important;z-index:100!important;width:100%;flex-shrink:0}.gistai-tab{flex:1;padding:16px 12px;background:transparent;border:none;color:#9b9a97!important;font-size:13px;font-weight:500;cursor:pointer;transition:all .15s ease;border-bottom:2px solid transparent;text-align:center;position:relative;letter-spacing:-.01em;display:flex;align-items:center;justify-content:center;gap:8px;pointer-events:auto!important;z-index:11;min-height:44px;max-width:50%;width:50%;box-sizing:border-box}.gistai-tab.active{color:#37352f!important;font-weight:600;border-bottom-color:#37352f;background:transparent}.gistai-tab:hover:not(.active){color:#37352f!important;background:#f7f6f3}.gistai-chat-content{display:flex;flex-direction:column;height:100%;min-height:300px;max-height:450px;background:#fff!important;border-radius:0;margin:0}.gistai-messages{flex-grow:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:16px;background:#fff!important;border-radius:0;min-height:0;max-height:none}.gistai-message{display:flex;gap:12px;align-items:flex-start;animation:messageSlideIn .3s cubic-bezier(.16,1,.3,1)}@keyframes messageSlideIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.gistai-user-message{flex-direction:row-reverse;align-self:flex-end}.gistai-message-avatar{width:32px;height:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#37352f!important;font-weight:500;font-size:16px;flex-shrink:0;background:transparent!important}.gistai-message-avatar:not(.gistai-has-custom-avatar){background:transparent!important;box-shadow:none}.gistai-user-message .gistai-message-avatar{background:transparent!important;color:#37352f!important;box-shadow:none}.gistai-message-avatar:has(.gistai-custom-bot-avatar),.gistai-message-avatar img.gistai-custom-bot-avatar{background:transparent!important;overflow:hidden!important}.gistai-message-avatar .gistai-custom-bot-avatar{position:relative!important;z-index:1!important}.gistai-panel .gistai-message-bubble{background:#f7f6f3!important;border:none;border-radius:18px 18px 18px 4px;padding:10px 14px;color:#37352f!important;line-height:1.5;font-size:14px;max-width:280px;word-wrap:break-word;box-shadow:none}.gistai-panel .gistai-message-bubble:not(.gistai-user-message .gistai-message-bubble) *,.gistai-panel .gistai-message-bubble:not(.gistai-user-message .gistai-message-bubble) p,.gistai-panel .gistai-message-bubble:not(.gistai-user-message .gistai-message-bubble) .gistai-paragraph,.gistai-panel .gistai-message-bubble:not(.gistai-user-message .gistai-message-bubble) p.gistai-paragraph,.gistai-panel .gistai-bot-message .gistai-message-bubble p,div.gistai-panel .gistai-message-bubble p,.gistai-panel .gistai-message .gistai-message-bubble p{color:#37352f!important}.gistai-panel p.gistai-paragraph{color:#37352f!important}.gistai-panel .gistai-user-message p.gistai-paragraph{color:#fff!important}.gistai-panel .gistai-user-message .gistai-message-bubble{background:#000!important;border:none;border-radius:18px 18px 4px;color:#fff!important;box-shadow:none}.gistai-panel .gistai-user-message .gistai-message-bubble *,.gistai-panel .gistai-user-message .gistai-message-bubble p,.gistai-panel .gistai-user-message .gistai-message-bubble .gistai-paragraph,.gistai-panel .gistai-user-message .gistai-message-bubble p.gistai-paragraph,.gistai-panel .gistai-message .gistai-user-message .gistai-message-bubble p,div.gistai-panel .gistai-user-message .gistai-message-bubble p{color:#fff!important}.gistai-chat-footer{padding:16px 20px;border-top:1px solid #f1f1ef;background:#fff!important;border-radius:0 0 12px 12px;position:sticky!important;bottom:0!important;z-index:100!important;flex-shrink:0}.gistai-chat-form{display:flex;gap:8px;align-items:flex-end;width:100%;background:#f7f6f3;border-radius:24px;padding:4px}.gistai-chat-input{flex:1;min-height:32px;max-height:120px;padding:8px 16px;border:none!important;border-radius:20px!important;resize:none;outline:none!important;font-size:14px;line-height:1.4;background:transparent!important;color:#37352f!important;transition:all .15s ease;font-family:inherit;width:100%}.gistai-chat-input::-moz-placeholder{color:#9b9a97!important}.gistai-chat-input::placeholder{color:#9b9a97!important}.gistai-chat-input:focus{border-color:transparent!important;box-shadow:none!important;background:#fff!important}.gistai-chat-send{background:#000!important;border:none;border-radius:18px;color:#fff;padding:8px;cursor:pointer;transition:all .15s ease;display:flex;align-items:center;justify-content:center;min-width:36px;height:36px;box-shadow:none;flex-shrink:0}.gistai-chat-send:hover:not(:disabled){background:#1a1a1a!important;transform:none;box-shadow:none}.gistai-chat-send:disabled{background:#9b9a97!important;cursor:not-allowed;opacity:.6;transform:none;box-shadow:none}.gistai-typing{display:flex;align-items:center;height:14px}.gistai-typing-animation{display:flex;align-items:center;height:14px;padding:8px 12px}.gistai-dot{display:inline-block;width:4px;height:4px;border-radius:50%;background-color:#6b7280;margin:0 1px;animation:dotTyping 1.5s infinite ease-in-out}.gistai-dot:nth-child(2){animation-delay:.2s}.gistai-dot:nth-child(3){animation-delay:.4s}@keyframes dotTyping{0%{transform:translateY(0)}25%{transform:translateY(-3px)}50%{transform:translateY(0)}}.gistai-chat-resize-button{background:transparent;border:none;padding:4px;cursor:pointer;color:inherit;opacity:.7;border-radius:4px;position:relative;pointer-events:auto!important;z-index:10}.gistai-chat-resize-button:hover{opacity:1;background-color:#0000000d}.dark .gistai-chat-resize-button:hover{background-color:#ffffff1a}.gistai-processing-wrapper{margin-top:2px;margin-bottom:2px;width:100%}.gistai-processing-step{font-size:12px;color:#4f46e5;margin-bottom:2px;display:flex;align-items:center;gap:4px}.gistai-processing-step svg{animation:spin 1s linear infinite;height:14px;width:14px}.gistai-progress-bar{height:4px;background-color:#e5e7eb;border-radius:2px;overflow:hidden;margin-bottom:2px}.gistai-progress-fill{height:100%;background-color:#4f46e5;transition:width .3s ease-in-out}.gistai-form-container{display:flex;flex-direction:column;height:100%}.gistai-form-content{flex-grow:1;display:flex;flex-direction:column;justify-content:flex-start;min-height:0;padding-top:16px}.gistai-form-footer{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:10px}.gistai-form-actions{display:flex;align-items:center;gap:8px}.gistai-screenshot-preview-small{position:relative;display:flex;align-items:center}.gistai-screenshot-preview-small img{width:24px;height:24px;border-radius:6px;border:1px solid rgba(155,135,245,.2);-o-object-fit:cover;object-fit:cover}.gistai-remove-screenshot-small{position:absolute;top:-4px;right:-4px;background:#ef4444e6;color:#fff;border:none;border-radius:50%;width:16px;height:16px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s cubic-bezier(.16,1,.3,1);font-size:8px}.gistai-remove-screenshot-small:hover{background:#dc2626f2;transform:scale(1.1)}.gistai-chat-history{display:flex;flex-direction:column;height:100%;background:#fff!important;border-radius:11px;overflow:hidden}.gistai-chat-history-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid rgba(155,135,245,.1);background:#fff!important}.gistai-chat-history-title{display:flex;align-items:center;gap:8px;font-weight:600;font-size:14px;color:#2d1b69!important}.gistai-chat-history-actions{display:flex;align-items:center;gap:4px}.gistai-clear-all-button,.gistai-close-history-button,.gistai-back-button{background:transparent;border:none;padding:6px;border-radius:6px;cursor:pointer;color:#6b7280!important;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.gistai-clear-all-button:hover,.gistai-close-history-button:hover,.gistai-back-button:hover{background:#9b87f51a!important;color:#9b87f5!important}.gistai-chat-history-scroll{flex:1;overflow-y:auto;background:#fff!important}.gistai-empty-history{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;text-align:center;color:#6b7280!important;background:#fff!important}.gistai-empty-icon{margin-bottom:12px;color:#d1d5db!important}.gistai-empty-history p{margin:4px 0;color:#6b7280!important}.gistai-empty-subtitle{font-size:12px;color:#9ca3af!important}.gistai-session-list{padding:8px;background:#fff!important}.gistai-session-item{display:flex;align-items:center;justify-content:space-between;padding:12px;border-radius:8px;margin-bottom:8px;cursor:pointer;border:1px solid rgba(155,135,245,.1);transition:all .2s ease;background:#fff!important}.gistai-session-item:hover{border-color:#9b87f533;background:#9b87f505!important}.gistai-session-content{flex:1;min-width:0}.gistai-session-title{font-weight:500;font-size:13px;color:#2d1b69!important;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gistai-session-meta{display:flex;align-items:center;gap:8px;font-size:11px;color:#6b7280!important}.gistai-session-count{color:#9ca3af!important}.gistai-session-delete{opacity:0;transition:opacity .2s ease;color:#ef4444!important;padding:4px;min-width:auto;height:auto}.gistai-session-item:hover .gistai-session-delete{opacity:1}.gistai-session-delete:hover{background:#ef44441a!important;color:#dc2626!important}.gistai-session-detail-title{font-weight:600;font-size:13px;color:#2d1b69!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;text-align:center}.gistai-chat-history-messages{flex:1;overflow-y:auto;background:#fff!important;max-height:200px}.gistai-message-list{padding:12px;display:flex;flex-direction:column;gap:12px;background:#fff!important}.gistai-history-message{display:flex;gap:8px}.gistai-history-message.gistai-user-message{flex-direction:row-reverse}.gistai-history-message .gistai-message-avatar{width:28px;height:28px;border-radius:6px;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:2px;background:transparent!important}.gistai-history-message.gistai-bot-message .gistai-message-avatar,.gistai-history-message.gistai-user-message .gistai-message-avatar{background:transparent!important;color:#37352f!important}.gistai-history-message .gistai-message-content{flex:1;min-width:0}.gistai-history-message .gistai-message-bubble{padding:8px 12px;border-radius:12px;font-size:13px;line-height:1.4;word-wrap:break-word;max-width:85%}.gistai-panel .gistai-history-message.gistai-bot-message .gistai-message-bubble{background:#9b87f50d!important;border:1px solid rgba(155,135,245,.1);color:#2d1b69!important;border-radius:12px 12px 12px 3px}.gistai-panel .gistai-history-message.gistai-user-message .gistai-message-bubble{background:linear-gradient(135deg,#9b87f5,#8b5cf6)!important;border:1px solid rgba(155,135,245,.3);color:#fff!important;border-radius:14px 14px 3px;box-shadow:0 4px 12px #9b87f540;margin-left:auto}.gistai-history-message .gistai-message-time{font-size:10px;color:#9ca3af!important;margin-top:4px}.gistai-history-message.gistai-user-message .gistai-message-time{text-align:right}@media (max-width: 768px){.gistai-chat-history-header{padding:10px 14px;background:#fff!important}.gistai-session-item{padding:10px;background:#fff!important}.gistai-session-title{font-size:12px;color:#2d1b69!important}.gistai-message-list{padding:10px;gap:10px;background:#fff!important}.gistai-history-message .gistai-message-bubble{font-size:12px;padding:6px 10px}.gistai-chat-history-scroll,.gistai-chat-history-messages{background:#fff!important}}.gistai-escalation-button{color:#fff!important;background-color:#3b82f6!important}.gistai-escalation-button:hover{background-color:#2563eb!important;color:#fff!important}.gistai-request-human-container{display:flex!important;justify-content:center!important;margin:12px 16px 8px!important}.gistai-request-human-button{background-color:#10b981!important;color:#fff!important;border:none!important;border-radius:20px!important;padding:10px 20px!important;font-size:13px!important;font-weight:500!important;cursor:pointer!important;transition:all .2s ease!important;box-shadow:0 2px 4px #10b98133!important}.gistai-request-human-button:hover{background-color:#059669!important;transform:translateY(-1px)!important;box-shadow:0 4px 8px #10b9814d!important}.gistai-queue-status{display:flex!important;justify-content:center!important;margin:12px 16px 8px!important}.gistai-queue-info{background-color:#f3f4f6!important;border:1px solid #e5e7eb!important;border-radius:12px!important;padding:12px 16px!important;max-width:90%!important;text-align:center!important}.gistai-queue-text{display:flex!important;flex-direction:column!important;gap:4px!important;font-size:13px!important;color:#6b7280!important;margin-bottom:8px!important}.gistai-queue-text span{display:block!important}.gistai-leave-queue-button{background-color:#ef4444!important;color:#fff!important;border:none!important;border-radius:16px!important;padding:6px 12px!important;font-size:11px!important;font-weight:500!important;cursor:pointer!important;transition:all .2s ease!important}.gistai-leave-queue-button:hover{background-color:#dc2626!important;transform:translateY(-1px)!important}@keyframes gistai-auto-open-glow{0%{transform:scale(1);filter:drop-shadow(0 0 0 rgba(124,58,237,0))}25%{transform:scale(1.1);filter:drop-shadow(0 0 30px rgba(124,58,237,.8))}50%{transform:scale(1.05);filter:drop-shadow(0 0 25px rgba(124,58,237,.6))}75%{transform:scale(1.08);filter:drop-shadow(0 0 20px rgba(124,58,237,.4))}to{transform:scale(1);filter:drop-shadow(0 0 0 rgba(124,58,237,0))}}@keyframes gistai-panel-auto-open{0%{opacity:0;transform:translateY(20px) scale(.95);filter:drop-shadow(0 0 0 rgba(124,58,237,0))}50%{opacity:.8;transform:translateY(-5px) scale(1.02);filter:drop-shadow(0 12px 40px rgba(124,58,237,.4))}to{opacity:1;transform:translateY(0) scale(1);filter:drop-shadow(0 8px 32px rgba(124,58,237,.3))}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.gistai-message-sender-name{font-weight:700!important;font-size:12px!important;color:#4f46e5!important;margin-bottom:4px!important;letter-spacing:.025em!important;text-transform:none!important;opacity:.9!important;line-height:1.2!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif!important}
