#frh-cb{--frh:#1f6f43;position:fixed;right:20px;bottom:20px;z-index:2147483000;font:15px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:#1d2327}
#frh-cb *{box-sizing:border-box}
#frh-cb [hidden]{display:none!important}
#frh-cb .frh-bubble{width:62px;height:62px;border-radius:50%;border:0;background:var(--frh);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px rgba(0,0,0,.25);transition:transform .2s;margin-left:auto;padding:0}
#frh-cb .frh-bubble:hover{transform:scale(1.06)}
#frh-cb .frh-i-x,#frh-cb.frh-open .frh-i-chat{display:none}
#frh-cb.frh-open .frh-i-x{display:block}
#frh-cb .frh-teaser{position:absolute;right:0;bottom:76px;width:250px;background:#fff;border-radius:14px;padding:14px 30px 14px 14px;box-shadow:0 8px 28px rgba(0,0,0,.18);cursor:pointer;font-weight:600;animation:frhUp .35s ease}
#frh-cb .frh-teaser span{display:block}
#frh-cb .frh-tx{position:absolute;top:4px;right:6px;border:0;background:none;font-size:18px;color:#888;cursor:pointer;line-height:1;padding:4px}
#frh-cb .frh-win{position:absolute;right:0;bottom:76px;width:370px;height:560px;max-height:calc(100vh - 110px);background:#fff;border-radius:16px;box-shadow:0 12px 40px rgba(0,0,0,.25);display:flex;flex-direction:column;overflow:hidden;animation:frhUp .25s ease}
#frh-cb .frh-head{background:var(--frh);color:#fff;padding:14px;display:flex;align-items:center;gap:10px}
#frh-cb .frh-av{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;font-size:19px;flex:none}
#frh-cb .frh-ht{flex:1;min-width:0}
#frh-cb .frh-ht b{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#frh-cb .frh-ht small{opacity:.9;font-size:12px}
#frh-cb .frh-ht i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#4ade80;margin-right:5px}
#frh-cb .frh-hcall,#frh-cb .frh-close{color:#fff;background:rgba(255,255,255,.15);border:0;width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:20px;cursor:pointer;flex:none;padding:0}
#frh-cb .frh-msgs{flex:1;overflow-y:auto;padding:14px;background:#f4f6f5;display:flex;flex-direction:column;gap:8px}
#frh-cb .frh-m{max-width:85%;padding:9px 13px;border-radius:16px;word-wrap:break-word;animation:frhIn .2s ease}
#frh-cb .frh-b{background:#fff;align-self:flex-start;border-bottom-left-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.06)}
#frh-cb .frh-u{background:var(--frh);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
#frh-cb .frh-b a{color:var(--frh)}
#frh-cb .frh-b ul{margin:6px 0;padding-left:18px}
#frh-cb .frh-b li{margin:2px 0}
#frh-cb .frh-typing{display:flex;gap:4px;padding:12px 14px}
#frh-cb .frh-typing span{width:7px;height:7px;border-radius:50%;background:#aaa;animation:frhDot 1s infinite}
#frh-cb .frh-typing span:nth-child(2){animation-delay:.15s}
#frh-cb .frh-typing span:nth-child(3){animation-delay:.3s}
#frh-cb .frh-btns{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-start}
#frh-cb .frh-chip{border:1.5px solid var(--frh);color:var(--frh);background:#fff;border-radius:18px;padding:6px 12px;font:inherit;font-size:13.5px;cursor:pointer;text-decoration:none;line-height:1.3}
#frh-cb .frh-chip:hover{background:var(--frh);color:#fff}
#frh-cb .frh-form{display:flex;gap:8px;padding:10px;border-top:1px solid #e5e7eb;background:#fff;margin:0}
#frh-cb .frh-in{flex:1;border:1px solid #d1d5db;border-radius:22px;padding:10px 14px;font:inherit;font-size:16px;outline:none;min-width:0;background:#fff;color:#1d2327;height:auto;margin:0}
#frh-cb .frh-in:focus{border-color:var(--frh)}
#frh-cb .frh-send{width:42px;height:42px;border-radius:50%;border:0;background:var(--frh);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;flex:none;padding:0}
#frh-cb .frh-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
@keyframes frhUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes frhIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@keyframes frhDot{0%,80%,100%{opacity:.3}40%{opacity:1}}
@media (max-width:600px){
#frh-cb{right:14px;bottom:14px}
#frh-cb .frh-win{position:fixed;inset:auto 8px 86px 8px;width:auto;height:calc(100vh - 110px);height:calc(100dvh - 110px)}
#frh-cb .frh-teaser{width:220px}
}
