.b2e-ai-launcher{position:fixed;right:1rem;bottom:1rem;z-index:80;display:flex;align-items:center;gap:.55rem;border:1px solid rgba(234,212,157,.55);border-radius:999px;padding:.78rem 1rem;background:#11271c;color:#fff8e8;box-shadow:0 14px 38px rgba(0,0,0,.3);font:700 .92rem/1 Arial,sans-serif;cursor:pointer}
.b2e-ai-launcher:hover{background:#1d4430}
.b2e-ai-launcher:focus-visible,.b2e-ai-panel button:focus-visible,.b2e-ai-panel textarea:focus-visible{outline:3px solid #d7b66a;outline-offset:3px}
.b2e-ai-spark{color:#e6c978;font-size:1.15rem}
.b2e-ai-panel{position:fixed;right:1rem;bottom:4.8rem;z-index:81;width:min(390px,calc(100vw - 2rem));height:min(610px,calc(100dvh - 6.8rem));padding:0!important;display:none;grid-template-rows:auto 1fr auto;background:#fffdf7;color:#151914;border:1px solid rgba(18,39,29,.2);border-radius:20px;overflow:hidden;box-shadow:0 24px 80px rgba(0,0,0,.34);font:15px/1.45 "Helvetica Neue",Arial,sans-serif}
.b2e-ai-panel.open{display:grid}
.b2e-ai-head{display:flex;align-items:center;gap:.75rem;padding:1rem;background:#10271c;color:#fff8e8}
.b2e-ai-head-copy{flex:1}
.b2e-ai-head strong{display:block;font:700 1.05rem/1.2 Georgia,serif}
.b2e-ai-head span{display:block;margin-top:.18rem;color:#d9dfd7;font-size:.75rem}
.b2e-ai-close{border:0;background:transparent;color:#fff8e8;font-size:1.6rem;line-height:1;padding:.25rem;cursor:pointer}
.b2e-ai-log{overflow:auto;padding:1rem;display:flex;flex-direction:column;gap:.75rem;scroll-behavior:smooth}
.b2e-ai-message{max-width:88%;padding:.72rem .82rem;border-radius:14px;white-space:pre-wrap;overflow-wrap:anywhere}
.b2e-ai-message.assistant{align-self:flex-start;background:#edf1ea;border-bottom-left-radius:4px}
.b2e-ai-message.user{align-self:flex-end;background:#173e2b;color:#fff;border-bottom-right-radius:4px}
.b2e-ai-message.error{align-self:flex-start;background:#fff0ea;color:#792e1d}
.b2e-ai-chips{display:flex;flex-wrap:wrap;gap:.42rem}
.b2e-ai-chip{border:1px solid #8ea18f;background:#fffdf7;color:#173e2b;border-radius:999px;padding:.46rem .68rem;font:700 .78rem/1.15 Arial,sans-serif;cursor:pointer}
.b2e-ai-estimate{align-self:flex-start;display:inline-block;background:#d2ae5f;color:#10150f!important;border-radius:9px;padding:.68rem .85rem;text-decoration:none;font-weight:800}
.b2e-ai-compose{border-top:1px solid #ddd8ca;padding:.72rem;background:#fff}
.b2e-ai-form{display:flex;gap:.5rem;align-items:flex-end}
.b2e-ai-form textarea{flex:1;resize:none;min-height:44px;max-height:110px;margin:0;padding:.68rem .75rem;border:1px solid #9ba49b;border-radius:10px;background:#fff;color:#151914;font:inherit}
.b2e-ai-send{min-height:44px;border:0;border-radius:10px;background:#173e2b;color:#fff;padding:.65rem .85rem;font-weight:800;cursor:pointer}
.b2e-ai-send[disabled]{opacity:.55;cursor:wait}
.b2e-ai-note{margin:.48rem 0 0;color:#657066;font-size:.69rem}
.b2e-ai-status{min-height:1em;margin:.35rem 0 0;color:#536057;font-size:.72rem}
.b2e-ai-panel[aria-busy=true] .b2e-ai-status::after{content:'Back 2 Eden is thinking…'}
@media(max-width:680px){.b2e-ai-launcher{bottom:5.4rem}.b2e-ai-panel{inset:.75rem .75rem 5rem;width:auto;height:auto;max-height:none;border-radius:16px}}
@media(prefers-reduced-motion:reduce){.b2e-ai-log{scroll-behavior:auto}}
