.fx-ai-widget{position:fixed;right:22px;bottom:22px;z-index:90;display:grid;justify-items:end;gap:10px}.fx-ai-toggle{border:0;border-radius:30px;background:var(--blue);color:white;padding:13px 20px;font-weight:800;box-shadow:0 8px 30px #142d4730}.fx-ai-panel{background:white;width:min(360px,calc(100vw - 36px));border:1px solid var(--line);border-radius:20px;box-shadow:0 16px 60px #132d4933;overflow:hidden}.fx-ai-panel[hidden]{display:none}.fx-ai-head{display:flex;justify-content:space-between;align-items:center;background:var(--ink);color:white;padding:16px}.fx-ai-head button{background:transparent;color:white;font-size:25px}.fx-ai-messages{height:260px;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:9px}.fx-ai-bubble{background:var(--sky);padding:11px;border-radius:12px;white-space:pre-wrap;font-size:13px;overflow-wrap:anywhere}.fx-ai-bubble.own{background:var(--blue);color:white;align-self:end}.fx-ai-source{display:block;color:var(--blue);font-weight:700;margin-top:6px}.fx-ai-form{padding:12px;display:grid;gap:8px;border-top:1px solid var(--line)}.fx-ai-form textarea{width:100%;padding:9px;border:1px solid var(--line);border-radius:8px;resize:vertical;min-height:60px}.fx-ai-form small,.fx-ai-consent{font-size:11px;color:var(--muted)}.fx-copy h2,.fx-copy h3,.fx-copy h4{margin:22px 0 10px}.fx-copy p{margin:10px 0;line-height:1.8}.fx-copy ul,.fx-copy ol{padding-left:25px}@media(max-width:780px){.fx-ai-widget{bottom:75px;right:12px}}
.fx-category-image{height:95px;width:125px;max-width:100%;object-fit:contain;display:block;margin:0 auto 9px}.fx-ai-widget{gap:11px}.fx-ai-toggle{display:flex;align-items:center;gap:10px;background:linear-gradient(135deg,var(--blue),#1268a4);border:1px solid #fff4;min-height:49px;box-shadow:0 8px 25px #14395740}.fx-ai-panel{width:min(405px,calc(100vw - 32px));max-height:calc(100dvh - 100px);display:flex;flex-direction:column;border-radius:22px;box-shadow:0 16px 70px #11283f33}.fx-ai-panel[hidden]{display:none}.fx-ai-head{justify-content:flex-start;gap:11px;padding:15px;background:linear-gradient(135deg,#152436,#214664);flex-shrink:0}.fx-ai-avatar{width:44px;height:44px;background:#ffffff20;border:1px solid #ffffff25;border-radius:14px;display:grid;place-items:center}.fx-ai-title{min-width:0;flex:1}.fx-ai-title strong,.fx-ai-title small{display:block}.fx-ai-title small{font-size:11px;color:#cae1f3}.fx-ai-close{width:32px;height:32px;display:grid;place-items:center;border-radius:8px}.fx-ai-mode{display:flex;justify-content:space-between;align-items:center;padding:8px 13px;background:#f0f7fc;border-bottom:1px solid var(--line);gap:8px;font-size:11px}.fx-ai-status:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--blue);margin-right:6px}.fx-ai-mode-button,.fx-ai-clear{background:none;color:var(--blue);font-size:11px;font-weight:700;padding:6px}.fx-ai-choice{padding:11px 13px;background:#f8fbfe;border-bottom:1px solid var(--line);font-size:12px}.fx-ai-choice[hidden],.fx-ai-prompts[hidden]{display:none}.fx-ai-choice p{margin:4px 0 9px;color:var(--muted)}.fx-ai-choice-buttons{display:flex;gap:6px;flex-wrap:wrap}.fx-ai-choice-buttons .btn{font-size:11px;padding:8px 10px}.fx-ai-messages{height:260px;min-height:90px;flex:1 1 260px;background:linear-gradient(#fff,#f7fafc);gap:12px;padding:14px}.fx-ai-message{max-width:94%;align-self:flex-start}.fx-ai-message.own{align-self:flex-end;max-width:88%}.fx-ai-by{display:block;font-size:10px;color:var(--muted);margin:0 0 4px 3px}.fx-ai-bubble{border-radius:4px 14px 14px 14px;background:#edf5fb;line-height:1.6;padding:10px 12px}.fx-ai-message.own .fx-ai-bubble{background:var(--blue);color:white;border-radius:14px 4px 14px 14px}.fx-ai-answer-source{display:block;margin-top:8px;color:#516b7d;font-size:10px;font-weight:600}.fx-ai-prompts{display:flex;gap:5px;overflow:auto;padding:8px 12px;background:white;flex-shrink:0}.fx-ai-prompts button{white-space:nowrap;border:1px solid var(--line);border-radius:18px;padding:6px 10px;color:var(--blue);font-size:11px;background:white}.fx-ai-form{padding:10px 12px;gap:6px;flex-shrink:0}.fx-ai-form textarea{resize:none;min-height:48px;max-height:85px}.fx-ai-composer-actions{display:flex;justify-content:space-between;align-items:center;gap:8px}.fx-ai-send{padding:8px 16px;border-radius:9px;color:white;background:var(--blue);font-weight:700}.fx-ai-send:disabled{opacity:.5;cursor:not-allowed}.fx-ai-clear{align-self:center;padding:0 0 9px}.fx-ai-bubble.typing{animation:fxpulse 1.6s ease-in-out infinite}@keyframes fxpulse{50%{opacity:.55}}@media(max-width:780px){.fx-ai-panel{max-height:calc(100dvh - 140px)}.fx-ai-messages{flex-basis:180px}.fx-ai-choice{padding:8px 10px}.fx-ai-warning{font-size:10px}}@media(prefers-reduced-motion:reduce){.fx-ai-bubble.typing{animation:none}}
/* v0.6: ANPAZ-inspired robot launcher and airy chat layout. */
.fx-ai-widget .fx-ai-toggle{padding:7px 18px 7px 7px;gap:8px;min-height:56px;background:linear-gradient(135deg,#0874bb,#24b6cd);box-shadow:0 9px 26px #137ebc33}.fx-ai-toggle img{width:43px;height:43px;object-fit:contain;display:block;border-radius:50%;background:#ffffff22}.fx-ai-widget .fx-ai-head{background:linear-gradient(125deg,#103957,#118dcc 72%,#27bacb);padding:16px}.fx-ai-avatar img{width:100%;height:100%;object-fit:contain}.fx-ai-widget .fx-ai-avatar{width:47px;height:47px;background:#ffffff20;border:1px solid #ffffff3a;border-radius:15px}.fx-ai-widget .fx-ai-panel{border-radius:22px;box-shadow:0 20px 65px #18384b38;overflow:hidden}.fx-ai-widget .fx-ai-messages{background:linear-gradient(#f8fcff,#eff6fc)}.fx-ai-widget .fx-ai-bubble{background:white;border:1px solid #dbe9f2;color:#15354b;box-shadow:0 2px 6px #233f5510}.fx-ai-widget .own .fx-ai-bubble{background:linear-gradient(125deg,#087dc7,#20a6d4);color:white;border:0}.fx-ai-widget .fx-ai-prompts{flex-wrap:wrap;overflow:visible;gap:6px}.fx-ai-widget .fx-ai-prompts button{white-space:normal;text-align:left;line-height:1.35}.fx-ai-widget .fx-ai-warning{line-height:1.45;color:#576c7b}.fx-ai-widget .fx-ai-form textarea{outline:0;resize:none;min-height:53px}.fx-ai-widget .fx-ai-form textarea:focus{border-color:#1689db;box-shadow:0 0 0 3px #1689db15}.fx-ai-widget .fx-ai-send{background:linear-gradient(125deg,#0879c3,#1ab5cc)}.fx-ai-widget .fx-ai-mode{font-weight:650}.fx-ai-widget .fx-ai-toggle:focus-visible,.fx-ai-widget button:focus-visible{outline:3px solid #8bd3ff;outline-offset:2px}

.fx-ai-widget .fx-ai-prompts{flex:0 0 auto;max-height:100px;overflow-y:auto;overflow-x:hidden}.fx-ai-widget .fx-ai-mode-button{border:1px solid #bcd8e9;border-radius:8px;padding:5px 10px;background:white;color:#176b9d;font-size:11px;font-weight:750}.fx-ai-widget .fx-ai-clear{margin:4px auto 9px}.fx-ai-widget .fx-ai-head .fx-ai-close{border-radius:8px;background:#ffffff18;width:33px;height:33px}
