:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;min-width:320px;min-height:100vh}body:not(.embed-mode){display:flex;place-items:center}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.chatbot-container{position:fixed;bottom:1.5rem;right:1.5rem;z-index:9999;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}@media (max-width: 480px){.chatbot-container{bottom:1rem;right:1rem}}.chatbot-icon{background:linear-gradient(135deg,#46bde5,#46bde5);color:#fff;border:none;width:4rem;height:4rem;border-radius:50%;cursor:pointer;box-shadow:0 1px 5px #ffffffc5;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;justify-content:center;position:relative}@media (max-width: 480px){.chatbot-icon{width:3.5rem;height:3.5rem}}.chatbot-icon:hover{transform:scale(1.05) translateY(-2px);box-shadow:0 12px 40px #4f46e566}.chatbot-icon:active{transform:scale(.95)}.chatbot-window{width:min(400px,90vw);height:min(600px,80vh);background-color:#424141;border-radius:16px;display:flex;flex-direction:column;position:absolute;bottom:5rem;right:0;overflow:hidden;box-shadow:0 20px 60px #00000026,0 0 0 1px #0000000d;transition:all .3s cubic-bezier(.4,0,.2,1);border:1px solid rgba(255,255,255,.2)}@media (max-width: 480px){.chatbot-window{width:100vw;height:100vh;bottom:0;right:0;border-radius:0;position:fixed}}@media (min-width: 481px) and (max-width: 768px){.chatbot-window{width:min(420px,85vw);height:min(650px,85vh)}}@media (min-width: 769px){.chatbot-window.wide{width:min(500px,85vw);height:min(700px,85vh)}}.chatbot-header{background:linear-gradient(135deg,#6cc9e7,#6cc9e7);color:#fff;padding:1rem 1.25rem;display:flex;justify-content:space-between;align-items:center;border-radius:16px 16px 0 0;min-height:60px;box-sizing:border-box}@media (max-width: 480px){.chatbot-header{padding:1rem;border-radius:0}}.header-title{font-size:1.1rem;font-weight:400;margin:0;display:flex;align-items:center;gap:.5rem;font-family:Roboto,sans-serif}@media (max-width: 480px){.header-title{font-size:1rem}}.header-controls{display:flex;gap:.5rem;align-items:center}.header-button{background:#fff3;border:none;color:#fff;padding:.5rem;border-radius:8px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;width:36px;height:36px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transform:rotate(90deg)}@media (max-width: 480px){.header-button{width:32px;height:32px;padding:.375rem}}.header-button:hover{background:#ffffff4d}.chatbot-body{flex:1;display:flex;flex-direction:column;background:linear-gradient(to bottom,#f8fafc,#f1f5f9);position:relative;overflow:hidden}.chatbot-disclaimer{font-family:Montserrat,sans-serif;font-size:10px;color:#adadad;background:#fff;line-height:1.4;text-align:center}.message-container{flex:1;padding:1rem;display:flex;flex-direction:column;gap:1rem;overflow-y:auto;scroll-behavior:smooth}@media (max-width: 480px){.message-container{padding:.75rem;gap:.75rem}}.message{display:flex;align-items:flex-start;gap:.35rem;max-width:85%;animation:fadeInUp .3s ease-out}@keyframes fadeInUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 480px){.message{max-width:90%;gap:.5rem}}.user-message{align-self:flex-end;flex-direction:row-reverse}.bot-message{align-self:flex-start}.message-avatar{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 2px 8px #0000001a}@media (max-width: 480px){.message-avatar{width:28px;height:28px}}.user-avatar{background:linear-gradient(135deg,#46bde5,#46bde5);color:#fff}.bot-avatar{background-color:#fff;color:#6b7280;border:1px solid #e5e7eb}.message-bubble{padding:.5rem;border-radius:16px;font-size:.9rem;line-height:1.5;word-wrap:break-word;position:relative;box-shadow:0 2px 8px #0000000d}@media (max-width: 480px){.message-bubble{padding:.5rem;font-size:.85rem}}.user-bubble{background:linear-gradient(135deg,#46bde5,#46bde5);color:#fff;border-top-right-radius:4px}.bot-bubble{background-color:#fff;color:#374151;border:1px solid #e5e7eb;border-top-left-radius:4px}.typing-indicator{display:flex;gap:4px;align-items:center;padding:8px 0}.typing-indicator .dot{width:8px;height:8px;background-color:#9ca3af;border-radius:50%;animation:blink 1.2s infinite ease-in-out}.typing-indicator .dot:nth-child(2){animation-delay:.2s}.typing-indicator .dot:nth-child(3){animation-delay:.4s}@keyframes blink{0%,80%,to{opacity:.3}40%{opacity:1}}.message-bubble a{color:#2563eb;text-decoration:underline;font-weight:500;cursor:pointer;word-break:break-word}.user-bubble a{color:#e0e7ff}.chatbot-input{display:flex;align-items:flex-end;padding:.5rem 1rem .25rem;gap:.75rem;border-top:1px solid #e5e7eb;background-color:#fff;min-height:72px;box-sizing:border-box}@media (max-width: 480px){.chatbot-input{padding:.75rem;gap:.5rem;min-height:70px}}.input-field{flex:1;padding:.875rem 1rem;border:2px solid #e5e7eb;border-radius:12px;font-size:.9rem;outline:none;transition:all .2s ease;resize:none;min-height:20px;max-height:120px;font-family:inherit;line-height:1.5;background-color:#f9fafb;color:#374151}@media (max-width: 480px){.input-field{padding:.75rem;font-size:.85rem;max-height:100px}}.input-field:focus{border-color:#46bde5;box-shadow:0 0 0 3px #4f46e51a;background-color:#fff}.input-field::placeholder{color:#9ca3af}.send-button{background:linear-gradient(135deg,#46bde5,#46bde5);color:#fff;border:none;padding:.75rem;border-radius:12px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;min-width:48px;height:48px;box-shadow:0 2px 8px #4f46e533}@media (max-width: 480px){.send-button{min-width:44px;height:44px;padding:.625rem}}.send-button:hover:not(:disabled){transform:scale(1.05);box-shadow:0 4px 12px #4f46e54d}.send-button:active:not(:disabled){transform:scale(.95)}.send-button:disabled{background:#d1d5db;cursor:not-allowed;transform:none;box-shadow:none}.feedback-container{display:flex;justify-content:flex-end}.feedback-button{background:transparent;border:none;cursor:pointer;color:#9ca3af;padding:.1rem;border-radius:6px;transition:all .2s ease;display:flex;align-items:center;justify-content:center;width:28px;height:28px;font-size:.875rem;max-height:1vh}.feedback-button:hover{color:#46bde5;background-color:#4f46e514;transform:scale(1.05)}.feedback-form{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:.25rem;margin-top:.25rem;box-shadow:0 4px 20px #00000014;position:relative;min-width:280px;animation:slideInUp .3s ease-out}@keyframes slideInUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.feedback-stars{display:flex;justify-content:flex-start;gap:.125rem}.feedback-star{font-size:1.25rem;color:#cbd5e1;cursor:pointer;transition:all .15s ease;padding:.125rem;border-radius:2px}.feedback-star:hover{color:#fbbf24;transform:scale(1.1)}.feedback-star.active{color:#f59e0b}.feedback-form textarea{width:100%;min-height:2.25rem;max-height:4rem;background-color:#f8fafc;color:#334155;border:1.5px solid #e2e8f0;border-radius:8px;padding:.5rem .75rem;resize:none;font-family:inherit;font-size:.875rem;outline:none;transition:all .2s ease;line-height:1.4}.feedback-form textarea::placeholder{color:#94a3b8}.feedback-form textarea:focus{border-color:#46bde5;background-color:#fff;box-shadow:0 0 0 3px #4f46e514}.feedback-form button{background:linear-gradient(135deg,#46bde5,#6366f1);color:#fff;border:none;border-radius:8px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;min-width:40px;height:auto;padding:.5rem;font-size:1rem;box-shadow:0 2px 8px #4f46e533}.feedback-form button:hover:not(:disabled){background:linear-gradient(135deg,#3730a3,#4338ca);transform:translateY(-1px);box-shadow:0 4px 12px #4f46e54d}.feedback-form button:active:not(:disabled){transform:translateY(0)}.feedback-form button:disabled{background:#e2e8f0;color:#94a3b8;cursor:not-allowed;transform:none;box-shadow:none}.feedback-form.submitted{background:linear-gradient(135deg,#10b981,#059669);border:1px solid #059669;animation:successPulse .6s ease-out}.feedback-success{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;color:#fff;font-weight:500;font-size:14px}.success-icon{animation:checkmarkBounce .5s ease-out;filter:drop-shadow(0 1px 2px rgba(0,0,0,.2))}@keyframes successPulse{0%{transform:scale(1);box-shadow:0 0 #10b981b3}50%{transform:scale(1.02);box-shadow:0 0 0 8px #10b98133}to{transform:scale(1);box-shadow:0 0 #10b98100}}@keyframes checkmarkBounce{0%{transform:scale(0) rotate(0);opacity:0}50%{transform:scale(1.3) rotate(5deg);opacity:.8}to{transform:scale(1) rotate(0);opacity:1}}.loading-overlay{position:absolute;top:60px;left:0;right:0;bottom:80px;background:#fffffff2;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:10;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.loading-spinner{width:40px;height:40px;border:3px solid #f3f4f6;border-top:3px solid #46bde5;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading-overlay p{color:#6b7280;font-size:.9rem;margin:0}@media (min-width: 481px) and (max-width: 768px){.history-window{width:min(420px,85vw);height:calc(100vh - 8rem)}}@media (min-width: 769px){.history-window{width:min(500px,85vw);height:calc(100vh - 8rem)}}.history-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;color:#9ca3af}.history-empty svg{opacity:.5}.history-empty p{margin:0;font-size:1rem}.history-item{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1rem;transition:all .2s ease;box-shadow:0 1px 3px #0000000d}.history-item:hover{background:#fafafa;box-shadow:0 2px 8px #00000014;transform:translateY(-1px)}.history-item-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem;padding-bottom:.75rem;border-bottom:1px solid #e5e7eb}.history-item-icon{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.user-icon{background:linear-gradient(135deg,#46bde5,#46bde5);color:#fff}.bot-icon{background:#fff;color:#6b7280;border:1px solid #e5e7eb}.history-item-role{font-weight:600;font-size:.875rem;color:#374151}.history-item-time{margin-left:auto;font-size:.75rem;color:#9ca3af}.history-item-text{color:#4b5563;font-size:.9rem;line-height:1.6;word-wrap:break-word}.history-window-footer{padding:1rem 1.5rem;border-right:1px solid #e5e7eb;background:#46bde5;display:flex;justify-content:center}.history-window-header{padding:1.25rem 1.5rem;border-right:1px solid #e5e7eb;background:#46bde5;display:flex;justify-content:center}.clear-all-history{background:#fee2e2;color:#dc2626;border:1px solid #fecaca;padding:.75rem 1.5rem;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s ease;font-size:.875rem}.clear-all-history:hover:not(:disabled){background:#fecaca;border-color:#fca5a5}.clear-all-history:disabled{opacity:.5;cursor:not-allowed}@media (max-width: 480px){.history-close-button-absolute{top:1rem;right:1rem;width:36px;height:36px}.history-window-content{padding:3.5rem 1rem 1rem}.history-window-footer{padding:1rem}.history-item{padding:.75rem}}.message-container::-webkit-scrollbar{width:6px}.message-container::-webkit-scrollbar-track{background:transparent}.message-container::-webkit-scrollbar-thumb{background:#0003;border-radius:3px}.message-container::-webkit-scrollbar-thumb:hover{background:#0000004d}.analytics-panel{background:#fff;border-top:1px solid #e5e7eb;padding:1rem;font-size:.875rem}.analytics-panel h4{margin:0 0 .75rem;font-size:1rem;color:#1f2937}.analytics-panel>div{margin-bottom:.5rem;color:#4b5563}@media (prefers-reduced-motion: reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media (prefers-contrast: high){.chatbot-window{border:2px solid #000}.bot-bubble,.input-field{border-color:#000}}.history-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:10000}.history-window{position:fixed;top:0;right:0;bottom:0;max-width:28vw;height:100vh;background-color:#fff;display:flex;flex-direction:column;overflow-y:auto;z-index:10001;box-shadow:0 20px 60px #00000026,0 0 0 1px #0000000d;border-left:1px solid rgba(0,0,0,.08);animation:slideInFromRight .28s cubic-bezier(.2,.9,.25,1) both;border-radius:0}@media (min-width: 481px) and (max-width: 768px){.history-window{width:min(420px,85vw);height:100vh}}@media (min-width: 769px){.history-window{width:min(500px,85vw);height:100vh}}@media (max-width: 480px){.history-window{width:100vw;height:100vh;bottom:0;right:0;border-radius:0;position:fixed}}.history-close-button-absolute{position:absolute;top:1.25rem;left:1.25rem;background:#05966800;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .16s ease;box-shadow:0 2px 8px #0000001a;padding:0}.history-close-button-absolute:hover{background:#f3f4f6;color:#374151;transform:scale(1.05)}.history-window-content{flex:1;overflow-y:auto;padding:4rem 1.5rem 1.5rem;display:flex;flex-direction:column;gap:1rem;background:linear-gradient(to bottom,#f8fafc,#f1f5f9)}@keyframes slideInFromRight{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}.history-window-content::-webkit-scrollbar{width:8px}.history-window-content::-webkit-scrollbar-track{background:#f9fafb}.history-window-content::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:4px}.history-window-content::-webkit-scrollbar-thumb:hover{background:#9ca3af}
