#fc-root{--fc-accent:#3D5AFE;--fc-ink:#0E1424;--fc-muted:#5B6375;--fc-line:#E6E8EE;--fc-soft:#F6F7FA;position:fixed;bottom:20px;right:20px;z-index:2147483000;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.5;color:var(--fc-ink);text-align:left;-webkit-font-smoothing:antialiased}
#fc-root.fc-left{right:auto;left:20px}
#fc-root *,#fc-root *::before,#fc-root *::after{box-sizing:border-box}
#fc-root button,#fc-root input,#fc-root textarea{font-family:inherit;letter-spacing:normal;text-transform:none;margin:0}
#fc-root button{cursor:pointer;min-height:0;line-height:1.2}
#fc-root svg{display:block;flex:none}
#fc-root a{color:inherit}
#fc-root .fc-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* launcher */
#fc-root .fc-launcher{width:64px;height:64px;border-radius:50%;border:3px solid #fff;background:var(--fc-accent);color:#fff;box-shadow:0 10px 28px -6px rgba(14,20,36,.55),0 0 0 6px rgba(255,255,255,.18),0 0 26px 2px var(--fc-glow,rgba(61,90,254,.55));display:flex;align-items:center;justify-content:center;position:relative;padding:0;transition:transform .25s cubic-bezier(.34,1.56,.64,1),box-shadow .25s;opacity:0;transform:scale(.4) translateY(20px)}
#fc-root.fc-ready .fc-launcher{opacity:1;transform:none;transition:transform .55s cubic-bezier(.34,1.56,.64,1),opacity .3s,box-shadow .25s}
#fc-root.fc-ready .fc-launcher:hover{transform:translateY(-3px) scale(1.06)}
#fc-root .fc-launcher svg{transition:transform .3s ease}
#fc-root .fc-launcher:hover svg{transform:rotate(-10deg)}
#fc-root .fc-launcher::before{content:"";position:absolute;inset:-3px;border-radius:50%;border:3px solid var(--fc-accent);opacity:0;pointer-events:none}
#fc-root.fc-pulse .fc-launcher::before{animation:fcRing 2.2s ease-out infinite}
#fc-root.fc-pulse .fc-launcher{animation:fcNudge 4.4s ease-in-out infinite}
#fc-root .fc-live-dot{position:absolute;bottom:1px;right:1px;width:14px;height:14px;border-radius:50%;background:#22C55E;border:2.5px solid #fff;display:none}
#fc-root .fc-live-dot.fc-on{display:block}
#fc-root.fc-open .fc-live-dot{display:none}
#fc-root .fc-launcher:focus-visible{outline:3px solid var(--fc-accent);outline-offset:3px}
#fc-root .fc-badge{position:absolute;top:-5px;right:-5px;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#F59E0B;color:var(--fc-ink);font-size:12px;font-weight:700;display:none;align-items:center;justify-content:center;border:2px solid #fff}
#fc-root .fc-badge.fc-on{display:flex}
#fc-root .fc-teaser{position:absolute;bottom:84px;right:0;width:290px;background:#fff;border-radius:18px 18px 6px 18px;box-shadow:0 16px 44px -8px rgba(14,20,36,.45);display:none;border:1px solid #E6E8EE}
#fc-root .fc-teaser-open{border:0;background:transparent;padding:14px 40px 14px 16px;display:flex;flex-direction:column;gap:4px;text-align:left;color:var(--fc-ink);font-size:14px;line-height:1.45;width:100%}
#fc-root .fc-teaser-x{position:absolute;top:4px;right:4px;width:32px;height:32px;border:0;border-radius:50%;background:transparent;color:#8A92A6;display:flex;align-items:center;justify-content:center;padding:0}
#fc-root .fc-teaser-x:hover{background:#F1F3F8;color:var(--fc-ink)}
#fc-root.fc-left .fc-teaser{right:auto;left:0;border-radius:18px 18px 18px 6px}
#fc-root .fc-teaser.fc-on{display:block;animation:fcPop .4s cubic-bezier(.34,1.56,.64,1)}
#fc-root .fc-teaser-who{font-size:12px;font-weight:600;color:var(--fc-muted)}
#fc-root .fc-teaser-text{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

/* panel */
#fc-root .fc-panel{position:absolute;bottom:80px;right:0;width:404px;max-width:calc(100vw - 32px);height:680px;max-height:calc(100vh - 110px);background:#fff;border-radius:24px;box-shadow:0 1px 2px rgba(14,20,36,.06),0 24px 64px -12px rgba(14,20,36,.32);display:flex;flex-direction:column;overflow:hidden;opacity:0;visibility:hidden;transform:translateY(14px) scale(.98);transform-origin:bottom right;transition:opacity .22s ease,transform .22s ease,visibility .22s}
#fc-root.fc-left .fc-panel{right:auto;left:0;transform-origin:bottom left}
#fc-root.fc-open .fc-panel{opacity:1;visibility:visible;transform:none}

#fc-root .fc-head{background:var(--fc-ink);color:#fff;padding:18px 18px 18px;display:flex;flex-direction:column;gap:16px;flex:none}
#fc-root .fc-head-row{display:flex;align-items:center;gap:12px}
#fc-root .fc-logo{width:44px;height:44px;border-radius:14px;background:var(--fc-accent);display:flex;align-items:center;justify-content:center;font-family:"Inter Tight",Inter,sans-serif;font-weight:700;font-size:16px;color:#fff;flex:none}
#fc-root .fc-head-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
#fc-root .fc-title{font-family:"Inter Tight",Inter,sans-serif;font-weight:700;font-size:17px;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#fc-root .fc-sub{font-size:13px;line-height:1.3;color:#C7CCDA;display:flex;align-items:center;gap:6px;overflow:hidden}
#fc-root .fc-sub span:last-child{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#fc-root .fc-dot{width:7px;height:7px;border-radius:50%;background:#94A3B8;flex:none}
#fc-root .fc-dot.fc-live{background:#34D399}
#fc-root .fc-icon-btn{width:44px;height:44px;border-radius:12px;border:0;background:rgba(255,255,255,.08);color:#fff;display:flex;align-items:center;justify-content:center;padding:0;flex:none}
#fc-root .fc-icon-btn:hover{background:rgba(255,255,255,.14)}
#fc-root .fc-lang{font-size:12px;font-weight:700;letter-spacing:.06em}
#fc-root .fc-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#fc-root .fc-hl{background:rgba(255,255,255,.07);border:0;border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:2px;color:#fff;text-align:left;text-decoration:none;min-height:44px}
#fc-root .fc-hl:hover{background:rgba(255,255,255,.13)}
#fc-root .fc-hl small{font-size:10.5px;color:#AEB5C7;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#fc-root .fc-hl span{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#fc-root.fc-compact .fc-highlights{display:none}

#fc-root .fc-body{flex:1;overflow-y:auto;background:var(--fc-soft);padding:18px 16px 10px;display:flex;flex-direction:column;gap:10px;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
#fc-root .fc-chip-day{align-self:center;font-size:12px;color:var(--fc-muted);background:#fff;border:1px solid var(--fc-line);border-radius:999px;padding:3px 12px}
#fc-root .fc-row{display:flex;gap:10px;align-items:flex-end;max-width:92%;animation:fcIn .22s ease}
#fc-root .fc-av{width:28px;height:28px;border-radius:9px;background:var(--fc-ink);color:#fff;display:flex;align-items:center;justify-content:center;flex:none;font-size:11px;font-weight:700}
#fc-root .fc-av.fc-human{border-radius:50%;background:#E8ECFF;color:#2A3FC7}
#fc-root .fc-av.fc-ghost{visibility:hidden}
#fc-root .fc-col{display:flex;flex-direction:column;gap:4px;min-width:0}
#fc-root .fc-who{font-size:11px;font-weight:600;color:var(--fc-muted)}
#fc-root .fc-bubble{margin:0;background:#fff;border:1px solid var(--fc-line);border-radius:18px 18px 18px 6px;padding:10px 14px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.5}
#fc-root .fc-bubble a{color:var(--fc-accent);text-decoration:underline}
#fc-root .fc-me{align-self:flex-end;max-width:80%;display:flex;flex-direction:column;align-items:flex-end;gap:3px;animation:fcIn .22s ease}
#fc-root .fc-me .fc-bubble{background:var(--fc-accent);border-color:transparent;color:#fff;border-radius:18px 18px 6px 18px}
#fc-root .fc-me .fc-bubble a{color:#fff}
#fc-root .fc-time{font-size:11px;color:#8A92A6;padding:0 4px}
#fc-root .fc-divider{align-self:center;display:flex;align-items:center;gap:8px;font-size:12px;color:var(--fc-muted);padding:4px 0;text-align:center}
#fc-root .fc-divider::before,#fc-root .fc-divider::after{content:"";width:22px;height:1px;background:#D5D9E3}

#fc-root .fc-card{background:#fff;border:1px solid var(--fc-line);border-radius:16px;overflow:hidden;width:280px;max-width:100%}
#fc-root .fc-card-img{height:120px;background:var(--fc-ink) center/cover no-repeat}
#fc-root .fc-card-img.fc-noimg{background-image:radial-gradient(circle at 20% 30%,var(--fc-accent) 0 14px,transparent 15px),radial-gradient(circle at 50% 64%,#F59E0B 0 18px,transparent 19px),radial-gradient(circle at 80% 34%,#EC4899 0 12px,transparent 13px)}
#fc-root .fc-card-body{padding:12px 14px 14px;display:flex;flex-direction:column;gap:8px}
#fc-root .fc-card-top{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
#fc-root .fc-card-name{font-family:"Inter Tight",Inter,sans-serif;font-weight:700;font-size:15px}
#fc-root .fc-card-price{font-size:13px;font-weight:600;color:var(--fc-accent)}
#fc-root .fc-card-desc{font-size:13px;color:var(--fc-muted)}
#fc-root .fc-card-cta{display:flex;align-items:center;justify-content:center;gap:8px;height:44px;border-radius:12px;background:var(--fc-ink);color:#fff!important;font-size:14px;font-weight:600;text-decoration:none!important}

#fc-root .fc-chips{display:flex;flex-wrap:wrap;gap:8px;padding-left:38px}
#fc-root .fc-chip{min-height:36px;border-radius:999px;border:1px solid #D5D9E3;background:#fff;padding:0 14px;font-size:13px;font-weight:500;color:var(--fc-ink);display:inline-flex;align-items:center;gap:6px}
#fc-root .fc-chip:hover{border-color:var(--fc-ink)}
#fc-root .fc-chip.fc-human-chip{border-color:var(--fc-accent);color:var(--fc-accent);font-weight:600}

#fc-root .fc-typing{display:flex;align-items:center;gap:5px;padding:6px 0 6px 38px}
#fc-root .fc-typing span{width:7px;height:7px;border-radius:50%;background:#8A92A6;animation:fcBlink 1.2s infinite}
#fc-root .fc-typing span:nth-child(2){animation-delay:.2s}
#fc-root .fc-typing span:nth-child(3){animation-delay:.4s}

#fc-root .fc-form-card{background:#fff;border:1px solid var(--fc-line);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:10px}
#fc-root .fc-form-card p{margin:0;font-size:13px;color:var(--fc-muted)}
#fc-root .fc-input{width:100%;height:44px;border:1px solid #D5D9E3;border-radius:12px;padding:0 12px;font-size:16px;color:var(--fc-ink);background:#fff;outline:none;box-shadow:none}
#fc-root .fc-input:focus{border-color:var(--fc-accent)}
#fc-root .fc-btn{height:44px;border:0;border-radius:12px;background:var(--fc-ink);color:#fff;font-size:14px;font-weight:600;padding:0 16px}
#fc-root .fc-err{color:#B42318;font-size:13px}

#fc-root .fc-composer{flex:none;padding:10px 12px 8px;background:#fff;border-top:1px solid #EEF0F4;display:flex;flex-direction:column;gap:6px;margin:0}
#fc-root .fc-field{display:flex;align-items:flex-end;gap:8px;border:1px solid #D5D9E3;border-radius:16px;padding:5px 5px 5px 14px;transition:border-color .15s}
#fc-root .fc-field:focus-within{border-color:var(--fc-accent)}
#fc-root .fc-field textarea{flex:1;min-width:0;border:0;outline:none;resize:none;background:transparent;font-size:16px;line-height:1.4;color:var(--fc-ink);padding:10px 0;max-height:120px;box-shadow:none;height:auto}
#fc-root .fc-send{width:44px;height:44px;border:0;border-radius:12px;background:var(--fc-accent);color:#fff;display:flex;align-items:center;justify-content:center;padding:0;flex:none;transition:opacity .15s}
#fc-root .fc-send:disabled{opacity:.45}
#fc-root .fc-foot{display:flex;justify-content:center;align-items:center;gap:6px;font-size:11px;color:var(--fc-muted);text-align:center}
#fc-root .fc-hidden{display:none!important}
#fc-root .fc-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}

@keyframes fcRing{0%{opacity:.7;transform:scale(1)}100%{opacity:0;transform:scale(1.55)}}
@keyframes fcNudge{0%,86%,100%{transform:none}89%{transform:rotate(-9deg) scale(1.05)}92%{transform:rotate(8deg) scale(1.05)}95%{transform:rotate(-4deg)}}
@keyframes fcPop{from{opacity:0;transform:translateY(10px) scale(.92)}to{opacity:1;transform:none}}
@keyframes fcBlink{0%,80%,100%{opacity:.25}40%{opacity:1}}
@keyframes fcIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){#fc-root *,#fc-root *::before{animation:none!important;transition:none!important}#fc-root .fc-launcher{opacity:1;transform:none}}

@media (max-width:520px){
  #fc-root{bottom:16px;right:16px}
  #fc-root.fc-left{left:16px}
  #fc-root.fc-open .fc-launcher,#fc-root.fc-open .fc-teaser{display:none}
  #fc-root .fc-panel,#fc-root.fc-left .fc-panel{position:fixed;top:0;left:0;right:0;bottom:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;border-radius:0}
  #fc-root .fc-head{padding-top:max(18px,env(safe-area-inset-top))}
  #fc-root .fc-composer{padding-bottom:max(10px,env(safe-area-inset-bottom))}
}
