/* FAQ chat (shared by the tools pages and the aggregate page) */
.faqchat{margin:8px 0 0}
.faqchat .chat{display:none;background:#f5f5f7;border-radius:28px;padding:14px;max-width:820px}
.faqchat.live .chat{display:block}
.faqchat.live .faq-static{margin-top:14px}
.faqchat.live .faq-static>p{font-size:.86rem;color:#6e6e73;margin:0 0 6px}
.chat-head{display:flex;align-items:center;gap:12px;padding:4px 6px 12px}
.chat-head .av{width:44px;height:44px;border-radius:50%;flex:0 0 auto;box-shadow:0 4px 10px -4px rgba(0,0,0,.4)}
.chat-head b{display:block;font-size:1rem;color:#1d1d1f}.chat-head small{display:block;font-size:.78rem;color:#6e6e73}
.chat-log{background:#fff;border-radius:20px;padding:14px;min-height:220px;max-height:360px;overflow-y:auto;display:flex;flex-direction:column;gap:8px;scroll-behavior:smooth;overscroll-behavior:contain}
.bub{max-width:88%;padding:10px 14px;border-radius:18px;line-height:1.45;font-size:.97rem;animation:bubin .3s cubic-bezier(.2,1.4,.4,1);transform-origin:bottom left}
.bub.bot{align-self:flex-start;background:#f5f5f7;color:#1d1d1f;border-bottom-left-radius:6px}
.bub.me{align-self:flex-end;background:#067344;color:#fff;border-bottom-right-radius:6px;transform-origin:bottom right}
.bub a{color:#0066cc;text-decoration:underline}.bub.me a{color:#fff}
.bub.typing{display:flex;gap:5px;padding:14px 16px}
.bub.typing i{width:8px;height:8px;border-radius:50%;background:#8e8e93;animation:dot 1s infinite}
.bub.typing i:nth-child(2){animation-delay:.15s}.bub.typing i:nth-child(3){animation-delay:.3s}
@keyframes dot{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-6px);opacity:1}}
@keyframes bubin{from{transform:scale(.85) translateY(8px)}}
.qchips{display:flex;gap:8px;overflow-x:auto;padding:12px 2px 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.qchips::-webkit-scrollbar{display:none}
.qchip{flex:0 0 auto;font:inherit;font-size:.88rem;font-weight:600;padding:9px 14px;min-height:40px;border-radius:980px;border:1px solid #d2d2d7;background:#fff;color:#1d1d1f;cursor:pointer;max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:transform .1s,background .15s,border-color .15s}
.qchip:hover{border-color:#1d1d1f}.qchip:active{transform:scale(.96)}
.qchip.asked{background:#e3f8ea;border-color:#30d158;color:#0a5a30}
.chat-in{display:flex;gap:8px;padding-top:6px}
.chat-in input{flex:1;min-height:44px;border-radius:980px;border:1px solid #d2d2d7;background:#fff;padding:10px 16px;font:inherit;color:#1d1d1f}
.chat-in input:focus{outline:none;border-color:#067344;box-shadow:0 0 0 4px rgba(10,143,85,.18)}
.chat-in .btn{border-radius:980px}
@media(prefers-reduced-motion:reduce){.bub,.bub.typing i{animation:none}}
