/* Fluxxify website agent: launcher button and chat panel. Indigo, white and orange only. */
/* Sits above Netlify's "Powered by Netlify" badge, which Netlify pins to the bottom-right corner. */
.fx-agent{--fx-indigo:#15095e;--fx-indigo-2:#2d1d79;--fx-orange:#eb702f;--fx-orange-deep:#c4541e;--fx-line:#d9d6ee;--fx-muted:#5a5480;position:fixed;right:20px;bottom:84px;z-index:60;font-family:SpaceGrotesk,Arial,sans-serif}
.fx-agent *{box-sizing:border-box}
.fx-launch{display:flex;align-items:center;gap:10px;border:0;border-radius:30px;padding:13px 18px 13px 14px;background:var(--fx-indigo);color:#fff;font:inherit;font-size:14px;font-weight:600;cursor:pointer;box-shadow:0 12px 30px #15095e40;transition:transform .2s}
.fx-launch:hover{transform:translateY(-2px)}
.fx-launch:focus-visible,.fx-panel button:focus-visible,.fx-panel a:focus-visible,.fx-panel textarea:focus-visible{outline:3px solid var(--fx-orange);outline-offset:2px}
.fx-launch-dot{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--fx-orange)}
.fx-launch-dot svg{width:17px;height:17px}
.fx-agent.is-open .fx-launch{display:none}
.fx-panel{display:none;width:380px;max-width:calc(100vw - 32px);height:560px;max-height:calc(100vh - 104px);background:#fff;border-radius:2px 20px 2px 20px;box-shadow:0 22px 60px #15095e45;flex-direction:column;overflow:hidden;border:1px solid var(--fx-line)}
.fx-agent.is-open .fx-panel{display:flex}
.fx-head{display:flex;align-items:center;gap:12px;padding:16px 16px 14px;background:radial-gradient(ellipse at 90% 0,#3b2a9e,transparent 60%),var(--fx-indigo);color:#fff}
.fx-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--fx-orange);flex-shrink:0}
.fx-avatar svg{width:20px;height:20px}
.fx-head b{display:block;font-size:15px}
.fx-head small{display:block;font-size:11px;color:#d9d5f5;margin-top:2px}
.fx-close{margin-left:auto;background:#ffffff1a;border:0;color:#fff;width:32px;height:32px;border-radius:8px;font-size:20px;line-height:1;cursor:pointer}
.fx-close:hover{background:#ffffff33}
.fx-log{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;background:#f6f7fa}
.fx-msg{max-width:86%;padding:10px 13px;border-radius:14px;font-size:14px;line-height:1.5;word-wrap:break-word;white-space:normal}
.fx-msg a{color:inherit;text-decoration:underline;text-underline-offset:2px;word-break:break-all}
.fx-bot{align-self:flex-start;background:#fff;color:var(--fx-indigo);border:1px solid var(--fx-line);border-bottom-left-radius:4px}
.fx-bot a{color:var(--fx-orange-deep)}
.fx-user{align-self:flex-end;background:var(--fx-indigo);color:#fff;border-bottom-right-radius:4px}
.fx-book{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;background:var(--fx-orange);color:#fff;text-decoration:none;font-size:13px;font-weight:700;padding:10px 14px;border-radius:8px}
.fx-book:hover{background:var(--fx-orange-deep)}
.fx-typing{align-self:flex-start;display:flex;gap:4px;padding:12px 14px;background:#fff;border:1px solid var(--fx-line);border-radius:14px}
.fx-typing i{width:6px;height:6px;border-radius:50%;background:var(--fx-muted);animation:fx-blink 1s infinite}
.fx-typing i:nth-child(2){animation-delay:.15s}.fx-typing i:nth-child(3){animation-delay:.3s}
@keyframes fx-blink{0%,80%,100%{opacity:.25}40%{opacity:1}}
.fx-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 16px 10px;background:#f6f7fa}
.fx-chip{border:1px solid var(--fx-line);background:#fff;color:var(--fx-indigo);font:inherit;font-size:12px;padding:7px 11px;border-radius:20px;cursor:pointer}
.fx-chip:hover{border-color:var(--fx-indigo)}
.fx-form{display:flex;gap:8px;padding:12px;border-top:1px solid var(--fx-line);background:#fff}
.fx-form textarea{flex:1;resize:none;border:1px solid var(--fx-line);border-radius:10px;padding:10px 12px;font:inherit;font-size:14px;color:var(--fx-indigo);height:44px;max-height:110px}
.fx-send{border:0;border-radius:10px;background:var(--fx-orange);color:#fff;width:44px;flex-shrink:0;cursor:pointer;display:grid;place-items:center}
.fx-send:disabled{opacity:.5;cursor:default}
.fx-send svg{width:18px;height:18px}
.fx-note{padding:0 14px 10px;font-size:10px;line-height:1.4;color:var(--fx-muted);background:#fff}
@media(max-width:590px){.fx-agent{right:12px;bottom:72px}.fx-agent.is-open{left:0;right:0;bottom:64px}.fx-panel{width:100%;max-width:100%;height:80vh;max-height:calc(100vh - 80px);border-radius:18px}.fx-launch-text{display:none}.fx-launch{padding:12px}}
@media(prefers-reduced-motion:reduce){.fx-launch,.fx-typing i{transition:none;animation:none}}
