/* Flux AI assistant (blueprint tokens from blueprint.css / framework.css) */
.fxa { position: fixed; right: 18px; bottom: 18px; z-index: 300; font-family: var(--sans, Inter, sans-serif); }
.fxa-launch { display: flex; align-items: center; gap: 8px; background: rgba(100, 180, 255, 0.9); color: #0b1628; border: 0; border-radius: 999px; padding: 11px 18px; font: 600 14px var(--sans, Inter, sans-serif); cursor: pointer; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(100, 180, 255, 0.15); }
.fxa-launch:hover { background: rgba(120, 195, 255, 1); }
.fxa-open .fxa-launch { display: none; }
.fxa-panel { width: 360px; max-width: calc(100vw - 32px); height: 540px; max-height: calc(100vh - 36px); display: flex; flex-direction: column; background: #0d1b31; border: 1px solid var(--bp-line, rgba(100,180,255,.25)); border-radius: 10px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55); overflow: hidden; }
.fxa-panel[hidden] { display: none; }
.fxa-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 12px 14px; border-bottom: 1px dashed var(--bp-border, rgba(60,120,200,.2)); background: rgba(10, 25, 50, 0.9); }
.fxa-head b { font-family: var(--hand, cursive); font-size: 1.15rem; color: var(--bp-bright, #dcebff); font-weight: 400; }
.fxa-head small { display: block; font-family: var(--mono, monospace); font-size: 0.75rem; letter-spacing: .04em; color: var(--bp-muted, rgba(140,180,220,.78)); margin-top: 2px; }
.fxa-demo { margin-left: 8px; font-family: var(--mono, monospace); font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; color: #0b1628; background: var(--yellow, #fbbf24); border-radius: 3px; padding: 1px 6px; vertical-align: 3px; }
.fxa-x { background: none; border: 0; color: var(--bp-muted, #9fbad6); font-size: 22px; line-height: 1; cursor: pointer; padding: 0 2px; }
.fxa-x:hover { color: var(--bp-bright, #fff); }
.fxa-log { flex: 1; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(100,180,255,.35) transparent; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.fxa-msg p { margin: 0; font-size: 0.88rem; line-height: 1.5; }
.fxa-bot { align-self: flex-start; max-width: 88%; background: var(--bp-card, rgba(10,25,50,.7)); border: 1px solid var(--bp-border, rgba(60,120,200,.2)); border-radius: 8px 8px 8px 2px; padding: 9px 11px; color: var(--bp-text, #b4d2f0); }
.fxa-me { align-self: flex-end; max-width: 80%; background: rgba(100, 180, 255, 0.85); color: #0b1628; border-radius: 8px 8px 2px 8px; padding: 8px 11px; }
.fxa-links { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.fxa-links a { font-family: var(--mono, monospace); font-size: 0.75rem; color: var(--bp-accent, #64b4ff); text-decoration: none; }
.fxa-links a:hover { color: var(--bp-bright, #fff); text-decoration: underline; }
.fxa-typing span { display: inline-block; width: 6px; height: 6px; margin-right: 3px; border-radius: 50%; background: var(--bp-accent, #64b4ff); animation: fxa-dot 1s infinite; }
.fxa-typing span:nth-child(2) { animation-delay: .15s; } .fxa-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes fxa-dot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.fxa-chips[hidden] { display: none; }
.fxa-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 10px; }
.fxa-chips button { font-family: var(--mono, monospace); font-size: 0.75rem; color: var(--bp-text, #b4d2f0); background: transparent; border: 1px solid var(--bp-line, rgba(100,180,255,.25)); border-radius: 999px; padding: 5px 10px; cursor: pointer; }
.fxa-chips button:hover { border-color: var(--bp-accent, #64b4ff); color: var(--bp-bright, #fff); }
.fxa-form { display: flex; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--bp-border, rgba(60,120,200,.2)); }
.fxa-form input { flex: 1; background: rgba(5, 12, 24, 0.8); border: 1px solid var(--bp-border, rgba(60,120,200,.2)); border-radius: 6px; color: var(--bp-bright, #fff); padding: 9px 10px; font: 400 0.88rem var(--sans, Inter, sans-serif); }
.fxa-form input:focus { outline: 2px solid var(--bp-accent, #64b4ff); outline-offset: 0; border-color: transparent; }
.fxa-form button { background: rgba(100, 180, 255, 0.85); color: #0b1628; border: 0; border-radius: 6px; width: 40px; font-size: 18px; font-weight: 700; cursor: pointer; }
.fxa-human { display: block; text-align: center; font-family: var(--mono, monospace); font-size: 0.75rem; color: var(--bp-accent, #64b4ff); text-decoration: none; padding: 0 12px 11px; }
.fxa-human:hover { color: var(--bp-bright, #fff); }
.fxa-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 520px) { .fxa { right: 10px; bottom: 10px; left: 10px; display: flex; justify-content: flex-end; } .fxa-panel { width: 100%; height: 75vh; } }
@media (prefers-reduced-motion: reduce) { .fxa-typing span { animation: none; opacity: .6; } }
