:root{--sdfi-chat-purple: #7c3aed;--sdfi-chat-purple-light: #a78bfa;--sdfi-chat-purple-dark: #5b21b6;--sdfi-chat-bg: #0c0618;--sdfi-chat-panel: #14102a;--sdfi-chat-glass: rgba(255, 255, 255, .08);--sdfi-chat-text: #f8fafc;--sdfi-chat-muted: #94a3b8}.sdfi-chatbot-foot-link{margin:0;padding:0 .75rem .65rem;font-size:.75rem;text-align:center}.sdfi-chatbot-foot-link a{color:var(--sdfi-chat-purple-light)}.sdfi-chatbot{position:fixed;right:max(1.25rem,env(safe-area-inset-right,0px));bottom:max(1.25rem,env(safe-area-inset-bottom,0px));z-index:12300;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.sdfi-chatbot-launcher-wrap{display:flex;align-items:flex-end;gap:.5rem;justify-content:flex-end}.sdfi-chatbot-launcher{width:auto;height:auto;border:none;background:transparent;cursor:pointer;display:flex;align-items:flex-end;padding:0;transition:transform .2s ease,filter .2s ease}.sdfi-chatbot-launcher:hover{transform:scale(1.05) translateY(-4px);filter:drop-shadow(0 12px 28px rgba(124,58,237,.55))}.sdfi-chatbot-launcher .sdfi-chatbot-launcher-img{width:8.75rem;height:auto;max-height:9.5rem;object-fit:contain;filter:drop-shadow(0 8px 22px rgba(0,0,0,.35));animation:sdfi-chat-launcher-float 3s ease-in-out infinite}@keyframes sdfi-chat-launcher-float{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}.sdfi-chatbot-launcher-pill{display:inline-flex;align-items:center;gap:.4rem;padding:.55rem 1rem;border-radius:999px;border:1px solid rgba(167,139,250,.35);background:#0f0a1ed1;backdrop-filter:blur(12px);color:var(--sdfi-chat-text);font-size:.875rem;font-weight:600;cursor:pointer;transition:background .2s ease,border-color .2s ease;white-space:nowrap}.sdfi-chatbot-launcher-pill:hover{background:#7c3aed40;border-color:var(--sdfi-chat-purple-light)}.sdfi-chatbot.is-open .sdfi-chatbot-launcher-wrap{display:none}.sdfi-chatbot-panel{position:relative;display:none;width:min(620px,calc(100vw - 2.5rem));height:min(520px,calc(100vh - 2rem));border-radius:1rem;overflow:hidden;background:var(--sdfi-chat-bg);box-shadow:0 24px 60px #0009,0 0 0 1px #a78bfa40,inset 0 1px #ffffff0a;grid-template-columns:220px 1fr;animation:sdfi-chat-slide-up .3s ease;isolation:isolate}.sdfi-chatbot.is-open .sdfi-chatbot-panel{display:grid}@keyframes sdfi-chat-slide-up{0%{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.sdfi-chatbot-brand{position:relative;z-index:1;background:radial-gradient(ellipse 100% 80% at 50% 70%,rgba(124,58,237,.38) 0%,transparent 68%),linear-gradient(170deg,#221040,#120a24 55%,#0a0614);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1.25rem 1rem 1.5rem;text-align:center;border-right:1px solid rgba(167,139,250,.14);overflow:hidden}.sdfi-chatbot-brand:before{content:"";position:absolute;width:11rem;height:11rem;border-radius:50%;background:radial-gradient(circle,rgba(124,58,237,.4) 0%,transparent 70%);bottom:18%;left:50%;transform:translate(-50%);filter:blur(14px);pointer-events:none}.sdfi-chatbot-robot{position:relative;z-index:1;width:100%;margin-bottom:.75rem}.sdfi-chatbot-robot-hero{width:100%;max-width:13.5rem;height:auto;object-fit:contain;filter:drop-shadow(0 12px 28px rgba(124,58,237,.4));animation:sdfi-chat-float 3.5s ease-in-out infinite}@keyframes sdfi-chat-float{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.sdfi-chatbot-brand-title{position:relative;z-index:1;color:var(--sdfi-chat-text);font-size:.98rem;font-weight:700;line-height:1.4;margin:0}.sdfi-chatbot-brand-title span{display:block;color:var(--sdfi-chat-muted);font-size:.8rem;font-weight:400;margin-top:.35rem}.sdfi-chatbot-chat{position:relative;z-index:2;display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;background:var(--sdfi-chat-panel);overflow:hidden}.sdfi-chatbot-header{display:flex;align-items:center;justify-content:space-between;padding:.9rem 1rem;border-bottom:1px solid var(--sdfi-chat-glass);flex-shrink:0;background:#0003}.sdfi-chatbot-header-info{display:flex;align-items:center;gap:.65rem;min-width:0}.sdfi-chatbot-header-name{color:var(--sdfi-chat-text);font-weight:700;font-size:.92rem;margin:0}.sdfi-chatbot-header-status{display:flex;align-items:center;gap:.35rem;color:var(--sdfi-chat-muted);font-size:.72rem}.sdfi-chatbot-status-dot{width:.45rem;height:.45rem;border-radius:50%;background:#22c55e;box-shadow:0 0 6px #22c55eb3}.sdfi-chatbot-close,.sdfi-chatbot-header-close{width:2rem;height:2rem;border:none;border-radius:50%;background:#ffffff1a;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s,transform .15s;flex-shrink:0}.sdfi-chatbot-close:hover,.sdfi-chatbot-header-close:hover{background:#dc2626;transform:scale(1.05)}.sdfi-chatbot-avatar-img{width:2.15rem;height:2.15rem;border-radius:50%;object-fit:cover;object-position:center top;border:2px solid var(--sdfi-chat-purple);flex-shrink:0;background:#fff}.sdfi-chatbot-msg-avatar .sdfi-chatbot-avatar-img{width:1.75rem;height:1.75rem;border-width:1px}.sdfi-chatbot-scroll{flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:rgba(167,139,250,.45) transparent}.sdfi-chatbot-scroll::-webkit-scrollbar{width:5px}.sdfi-chatbot-scroll::-webkit-scrollbar-thumb{background:#a78bfa73;border-radius:999px}.sdfi-chatbot-scroll::-webkit-scrollbar-track{background:transparent}.sdfi-chatbot-messages{padding:.85rem 1rem .35rem;display:flex;flex-direction:column;gap:.65rem;flex-shrink:0}.sdfi-chatbot-scroll-anchor{height:1px;flex-shrink:0}.sdfi-chatbot-msg{display:flex;gap:.5rem;flex-shrink:0;animation:sdfi-chat-msg-in .25s ease}.sdfi-chatbot-msg--bot{align-self:flex-start;max-width:96%}.sdfi-chatbot-msg--user{align-self:flex-end;flex-direction:row-reverse;max-width:88%}@keyframes sdfi-chat-msg-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.sdfi-chatbot-msg-avatar,.sdfi-chatbot-msg-avatar-img,.sdfi-chatbot-msg--bot>.sdfi-chatbot-avatar-img,.sdfi-chatbot-messages img{width:1.75rem!important;height:1.75rem!important;max-width:1.75rem!important;max-height:1.75rem!important;border-radius:50%;object-fit:cover;object-position:center top;border:1px solid var(--sdfi-chat-purple);flex-shrink:0;margin-top:.1rem;background:#fff}@media(min-width:861px){.sdfi-chatbot-msg--bot>img,.sdfi-chatbot-msg--typing>img{display:none!important}.sdfi-chatbot-msg--bot{max-width:100%}}.sdfi-chatbot-msg-avatar{flex-shrink:0;margin-top:.1rem}.sdfi-chatbot-msg-bubble{padding:.75rem .95rem;border-radius:1rem;font-size:.84rem;line-height:1.5;word-break:break-word;white-space:pre-wrap}.sdfi-chatbot-msg--bot .sdfi-chatbot-msg-bubble{background:linear-gradient(135deg,#7c3aed73,#5b21b64d);border:1px solid rgba(167,139,250,.32);color:var(--sdfi-chat-text);border-bottom-left-radius:.2rem;white-space:pre-line}.sdfi-chatbot-link{color:#c4b5fd;font-weight:600;text-decoration:underline;text-underline-offset:2px}.sdfi-chatbot-link:hover{color:#ede9fe}.sdfi-chatbot-msg--user .sdfi-chatbot-msg-bubble{background:#ffffff1f;color:var(--sdfi-chat-text);border-bottom-right-radius:.2rem}.sdfi-chatbot-msg--typing .sdfi-chatbot-msg-bubble{display:flex;gap:.3rem;padding:.8rem .95rem}.sdfi-chatbot-typing-dot{width:.4rem;height:.4rem;border-radius:50%;background:var(--sdfi-chat-purple-light);animation:sdfi-chat-typing 1.2s ease-in-out infinite}.sdfi-chatbot-typing-dot:nth-child(2){animation-delay:.15s}.sdfi-chatbot-typing-dot:nth-child(3){animation-delay:.3s}@keyframes sdfi-chat-typing{0%,60%,to{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}.sdfi-chatbot-suggestions{display:flex;flex-direction:column;gap:.4rem;padding:.35rem 1rem .75rem;flex-shrink:0}.sdfi-chatbot-suggestion{display:flex;align-items:center;gap:.5rem;width:100%;padding:.55rem .75rem;border:1px solid rgba(167,139,250,.35);border-radius:.65rem;background:#ffffff0a;color:var(--sdfi-chat-text);font-size:.8125rem;font-weight:500;line-height:1.35;text-align:left;cursor:pointer;transition:background .15s,border-color .15s,transform .12s ease}.sdfi-chatbot-suggestion:hover{background:#7c3aed3d;border-color:var(--sdfi-chat-purple-light);transform:translateY(-1px)}.sdfi-chatbot-suggestion i{color:var(--sdfi-chat-purple-light);font-size:.95rem;flex-shrink:0;width:1.1rem;text-align:center}.sdfi-chatbot-input-wrap{display:flex;gap:.5rem;padding:.75rem 1rem .95rem;border-top:1px solid var(--sdfi-chat-glass);flex-shrink:0;background:#00000026}.sdfi-chatbot-input{flex:1;min-width:0;padding:.7rem 1rem;border:1px solid rgba(167,139,250,.25);border-radius:999px;background:#0006;color:var(--sdfi-chat-text);font-size:.84rem;outline:none}.sdfi-chatbot-input::placeholder{color:var(--sdfi-chat-muted)}.sdfi-chatbot-input:focus{border-color:var(--sdfi-chat-purple);box-shadow:0 0 0 2px #7c3aed33}.sdfi-chatbot-send{width:2.55rem;height:2.55rem;flex-shrink:0;border:none;border-radius:50%;background:linear-gradient(135deg,var(--sdfi-chat-purple) 0%,var(--sdfi-chat-purple-dark) 100%);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .15s,opacity .15s;box-shadow:0 4px 14px #7c3aed66}.sdfi-chatbot-send:hover:not(:disabled){transform:scale(1.05)}.sdfi-chatbot-send:disabled{opacity:.5;cursor:not-allowed}@media(max-width:860px){.sdfi-chatbot{right:max(.75rem,env(safe-area-inset-right,0px));bottom:max(.85rem,env(safe-area-inset-bottom,0px))}.sdfi-chatbot-launcher-pill{display:none}.sdfi-chatbot-launcher .sdfi-chatbot-launcher-img{width:6.5rem;max-height:7rem}.sdfi-chatbot.is-open:before{content:"";position:fixed;inset:0;background:#00000052;z-index:-1;pointer-events:auto}.sdfi-chatbot.is-open{inset:0;display:flex;align-items:flex-end;justify-content:flex-end;padding:0 max(.65rem,env(safe-area-inset-right,0px)) max(.65rem,env(safe-area-inset-bottom,0px)) max(.65rem,env(safe-area-inset-left,0px))}.sdfi-chatbot-brand{display:none}.sdfi-chatbot-panel{display:none;width:min(400px,calc(100vw - 1.3rem));height:min(580px,calc(100dvh - 5rem));max-height:78dvh;border-radius:1.15rem;grid-template-columns:1fr;box-shadow:0 16px 40px #00000080,0 0 0 1px #a78bfa40;animation:sdfi-chat-mobile-pop .28s cubic-bezier(.22,1,.36,1)}@keyframes sdfi-chat-mobile-pop{0%{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.sdfi-chatbot.is-open .sdfi-chatbot-panel{display:grid}}@media(max-width:575px){.sdfi-chatbot:not(.is-open){bottom:calc(4.65rem + env(safe-area-inset-bottom,0px));right:max(.65rem,env(safe-area-inset-right,0px))}.sdfi-chatbot.is-open{padding-bottom:calc(4.25rem + env(safe-area-inset-bottom,0px))}}@media(max-width:380px){.sdfi-chatbot-panel{width:min(320px,calc(100vw - 1rem));height:min(500px,calc(100dvh - 5.5rem));max-height:70dvh}.sdfi-chatbot-launcher .sdfi-chatbot-launcher-img{width:5.5rem;max-height:6rem}}
