.chat-launch{z-index:1000;cursor:pointer;background:var(--coral-deep);color:#fff;font-family:var(--font-sans);border:none;border-radius:999px;padding:.85rem 1.35rem;font-size:.95rem;font-weight:600;transition:transform .18s,background .18s;position:fixed;bottom:1.25rem;right:1.25rem;box-shadow:0 8px 24px #00000038}.chat-launch:hover{background:#9e4527;transform:translateY(-2px)}.chat-panel{z-index:1000;background:var(--surface);border:1px solid var(--line);border-radius:18px;flex-direction:column;width:min(380px,100vw - 2.5rem);max-height:min(560px,100vh - 8rem);display:flex;position:fixed;bottom:5.25rem;right:1.25rem;overflow:hidden;box-shadow:0 18px 48px #00000042}.chat-head{background:var(--blue-deep);color:#eaf1f6;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1rem 1.1rem;display:flex}.chat-head .ch-title{font-family:var(--font-serif);font-size:1.05rem}.chat-head .ch-sub{color:#a9c6dd;margin-top:.15rem;font-size:.8rem}.chat-head .ch-close{cursor:pointer;color:#a9c6dd;background:0 0;border:none;padding:.2rem;font-size:1rem;line-height:1}.chat-head .ch-close:hover{color:#fff}.chat-log{flex-direction:column;flex:1;gap:.6rem;padding:1rem;display:flex;overflow-y:auto}.bubble{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:14px;max-width:85%;padding:.6rem .85rem;font-size:.9rem;line-height:1.45}.bubble.assistant{background:var(--blue-tint);color:var(--ink);border-bottom-left-radius:4px;align-self:flex-start}.bubble.user{background:var(--blue);color:#fff;border-bottom-right-radius:4px;align-self:flex-end}.bubble.typing{gap:.3rem;padding:.75rem .85rem;display:flex}.bubble.typing span{background:var(--blue);opacity:.45;border-radius:50%;width:6px;height:6px;animation:1.2s ease-in-out infinite chat-bounce}.bubble.typing span:nth-child(2){animation-delay:.15s}.bubble.typing span:nth-child(3){animation-delay:.3s}@keyframes chat-bounce{0%,60%,to{opacity:.45;transform:translateY(0)}30%{opacity:.9;transform:translateY(-4px)}}.chat-chips{flex-wrap:wrap;gap:.4rem;margin-top:.4rem;display:flex}.chat-chips button{cursor:pointer;border:1px solid var(--line);color:var(--blue);font-size:.8rem;font-family:var(--font-sans);background:0 0;border-radius:999px;padding:.35rem .7rem;transition:background .15s,border-color .15s}.chat-chips button:hover{background:var(--blue-tint);border-color:var(--blue)}.chat-input{border-top:1px solid var(--line);gap:.5rem;padding:.75rem;display:flex}.chat-input input{border:1px solid var(--line);min-width:0;font:inherit;color:var(--ink);background:#fff;border-radius:10px;flex:1;padding:.6rem .75rem;font-size:.9rem}.chat-input input:focus{outline:2px solid var(--blue);outline-offset:1px}.chat-input button{cursor:pointer;background:var(--blue);color:#fff;font-family:var(--font-sans);border:none;border-radius:10px;padding:.6rem 1rem;font-size:.88rem;font-weight:600}.chat-input button:disabled{opacity:.45;cursor:default}.chat-foot{color:var(--ink-soft);margin:0;padding:0 .95rem .8rem;font-size:.72rem;line-height:1.4}.chat-foot a{color:var(--blue)}@media (width<=560px){.chat-launch{padding:.75rem 1.1rem;font-size:.9rem;bottom:1rem;right:1rem}.chat-panel{width:auto;max-height:calc(100vh - 7rem);bottom:4.75rem;left:.75rem;right:.75rem}}@media (prefers-reduced-motion:reduce){.chat-launch{transition:none}.bubble.typing span{animation:none}}
