.orb-container{position:static;display:flex;justify-content:center;align-items:center;z-index:40}@media (max-width:1023px){.orb-container{position:fixed;bottom:120px;left:50%;transform:translateX(-50%);pointer-events:none}}.orb{width:220px;height:220px;position:relative;display:grid;place-items:center;background:none;border:none;box-shadow:none;outline:none;overflow:visible;flex-shrink:0}@media (max-width:1024px){.orb{width:150px;height:150px}}@media (max-width:640px){.orb{width:120px;height:120px}}.orb-svg{width:100%;height:100%;animation:rotate 20s linear infinite;filter:drop-shadow(0 0 25px rgba(192,192,192,.8));background:none}@keyframes rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes breathe{0%,to{transform:scale(1);opacity:.85}50%{transform:scale(1.08);opacity:1}}@keyframes pulseGlow{0%,to{filter:drop-shadow(0 0 25px #C0C0C0)}50%{filter:drop-shadow(0 0 50px #C0C0C0)}}.orb-svg .main-ring{stroke:#fff;stroke-width:3;fill:none;opacity:.8;animation:breathe 5s ease-in-out infinite,pulseGlow 5s ease-in-out infinite}.orb-svg .halo-ring{stroke:#e5e7eb;stroke-width:3;opacity:.6;fill:none;animation:breathe 6s ease-in-out infinite,pulseGlow 6s ease-in-out infinite}.orb-svg .moving-node{fill:#fff;filter:drop-shadow(0 0 18px #e5e7eb);animation:breathe 3s ease-in-out infinite alternate,pulseGlow 3s ease-in-out infinite alternate}.orb-svg .link{stroke:#d1d5db;stroke-width:1.6;fill:none;opacity:.7;stroke-linecap:round;stroke-dasharray:6 8;animation:linkPulse 2.8s ease-in-out infinite}@keyframes linkPulse{0%,to{opacity:.5;stroke-width:1.2}50%{opacity:1;stroke-width:2}}.orb-svg .node{fill:#fff;stroke:#e5e7eb;stroke-width:.6;transform-box:fill-box;transform-origin:center;filter:drop-shadow(0 0 6px #d1d5db);animation:nodePulse 2.2s ease-in-out infinite}@keyframes nodePulse{0%,to{transform:scale(1);opacity:.7}50%{transform:scale(1.35);opacity:1}}.chat{display:flex;flex-direction:column;gap:12px;min-height:300px;max-height:60vh;overflow-y:auto;padding:12px;background:hsla(0,0%,96%,.3);border-left:2px solid #f5f5f5;scroll-behavior:smooth}.chat::-webkit-scrollbar{width:4px}.chat::-webkit-scrollbar-thumb{background:#9e9e9e;border-radius:2px}.msg{padding:12px 16px;margin:8px 0;border-radius:18px;line-height:1.5;max-width:80%;word-wrap:break-word;animation:fadeIn .3s ease-in}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.msg.agent{background:#000;color:#fff;align-self:flex-start;margin-right:auto;border-bottom-left-radius:4px}.msg.user{background:#e5e7eb;color:#374151;align-self:flex-end;margin-left:auto;border-bottom-right-radius:4px}.thinking-dots{display:flex;gap:4px;align-items:center}.thinking-dots span{width:8px;height:8px;background:#fff;border-radius:50%;animation:thinking 1.4s ease-in-out infinite both}.thinking-dots span:first-child{animation-delay:-.32s}.thinking-dots span:nth-child(2){animation-delay:-.16s}@keyframes thinking{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.input-wrap{position:relative;width:320px;background:#fff;border:2px solid #1e1e1e;border-radius:12px;padding:12px 16px;box-shadow:0 4px 12px rgba(0,0,0,.15);transition:all .3s ease}@media (max-width:640px){.input-wrap{width:calc(100vw - 32px);max-width:320px}}.input-wrap:hover{box-shadow:0 6px 16px rgba(0,0,0,.2);border-color:silver}.input-line{text-align:left;font-size:16px;color:#1e1e1e;position:relative;cursor:text;min-height:24px;outline:none;padding:0;background:transparent}.input-line:focus:after{display:none}.placeholder{position:absolute;inset:12px 16px;display:flex;align-items:flex-start;justify-content:flex-start;color:#9e9e9e;pointer-events:none;transition:opacity .25s ease}.chat-widget{position:fixed;bottom:24px;right:24px;width:420px;max-width:calc(100vw - 48px);background:#fff;border-radius:16px;box-shadow:0 8px 32px rgba(0,0,0,.15);z-index:9999;transition:all .3s cubic-bezier(.4,0,.2,1);overflow:hidden}@media (max-width:768px){.chat-widget{width:calc(100vw - 32px);right:16px;bottom:16px}}.chat-widget.maximized{height:700px;max-height:85vh}.chat-widget.minimized{height:auto;width:140px;border-radius:20px}.chat-widget.minimized .widget-header{flex-direction:column;align-items:center;justify-content:center;padding:20px;gap:12px}.chat-widget.minimized .widget-header>div:first-child{flex-direction:column;align-items:center;text-align:center;gap:6px}.chat-widget.minimized .widget-header .font-semibold{font-size:11px}.chat-widget.minimized .widget-header .text-xs{font-size:9px}.chat-widget.minimized .minimize-btn{position:absolute;top:8px;right:8px}.widget-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:linear-gradient(135deg,#1e1e1e,#2d2d2d);color:#fff;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-bottom:2px solid silver}.widget-header:hover{background:linear-gradient(135deg,#2d2d2d,#3d3d3d)}.widget-header .orb{width:50px;height:50px;transition:all .3s ease}.chat-widget.minimized .widget-header .orb{width:100px;height:100px}.minimize-btn{background:transparent;border:none;color:#fff;cursor:pointer;padding:4px;border-radius:4px;transition:background .2s;display:flex;align-items:center;justify-content:center}.minimize-btn:hover{background:hsla(0,0%,100%,.1)}.widget-body{display:flex;flex-direction:column;height:calc(100% - 74px);overflow:hidden}.chat-messages-container{flex:1;overflow-y:auto;padding:20px;background:#fafafa;max-height:calc(100% - 80px);scroll-behavior:smooth}.chat-messages-container::-webkit-scrollbar{width:6px}.chat-messages-container::-webkit-scrollbar-track{background:transparent}.chat-messages-container::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}.chat-messages-container::-webkit-scrollbar-thumb:hover{background:#999}.chat-messages-unified{display:flex;flex-direction:column;gap:12px;min-height:100%}.widget-input{position:relative;padding:12px 16px;border-top:1px solid #e5e5e5;background:#fff}.input-field{width:100%;min-height:20px;max-height:80px;overflow-y:auto;font-size:14px;line-height:1.5;color:#1e1e1e;outline:none;padding:8px 12px;border:2px solid #e5e5e5;border-radius:8px;transition:border-color .2s;background:#fafafa;cursor:text}.input-field:focus{border-color:silver;background:#fff}.input-field::-webkit-scrollbar{width:4px}.input-field::-webkit-scrollbar-thumb{background:#ccc;border-radius:2px}.input-placeholder{position:absolute;top:20px;left:28px;color:#999;font-size:14px;pointer-events:none;transition:opacity .2s}@media (max-width:480px){.chat-widget{width:calc(100vw - 16px);right:8px;bottom:8px}.widget-header{padding:12px 16px}.chat-container{padding:8px}.widget-input{padding:10px 12px}.input-field{font-size:13px}}