.gkac{font:400 14px/1.8 Vazirmatn,Tahoma,sans-serif;color:#242424}
.gkac-inline{max-width:760px;margin:20px auto}
.gkac-box{display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid #ececec;border-radius:16px;overflow:hidden;box-shadow:0 4px 18px rgba(0,0,0,.06)}
.gkac-head{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#e2231a;color:#fff;font-weight:700}
.gkac-close{width:30px;height:30px;border:0;border-radius:50%;background:rgba(255,255,255,.2);color:#fff;font-size:22px;line-height:1;cursor:pointer}
.gkac-close:hover{background:rgba(255,255,255,.35)}
.gkac-close:focus-visible{outline:2px solid #fff;outline-offset:2px}
.gkac-msgs{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;background:#fafafa}
.gkac-m{max-width:85%;padding:9px 13px;border-radius:14px;white-space:pre-wrap;word-break:break-word}
.gkac-m a{color:#b81a13;text-decoration:underline}
.gkac-bot{align-self:flex-start;background:#fff;border:1px solid #ececec}
.gkac-user{align-self:flex-end;background:#e2231a;color:#fff}
.gkac-typing{opacity:.6}
.gkac-form{display:flex;gap:8px;padding:10px;border-top:1px solid #ececec}
.gkac-in{flex:1;min-width:0;height:42px;padding:0 12px;border:1px solid #ececec;border-radius:10px;font:inherit;font-size:16px;background:#fff}
.gkac-send{height:42px;padding:0 18px;border:0;border-radius:10px;background:#e2231a;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.gkac-send:disabled{opacity:.5;cursor:wait}
.gkac-note{padding:0 10px 8px;font-size:11px;color:#6b6b6b;text-align:center}
.gkac-float{position:fixed;bottom:20px;right:16px;left:auto;top:auto;z-index:9998}
.gkac-float .gkac-fab{display:flex;align-items:center;gap:8px;height:48px;padding:0 18px 0 16px;border:0;border-radius:999px;background:linear-gradient(135deg,#e2231a,#ff5a4f);color:#fff;font:700 13px/1 Vazirmatn,Tahoma,sans-serif;cursor:pointer;box-shadow:0 6px 18px rgba(226,35,26,.35);transition:transform .15s,box-shadow .15s}
.gkac-float .gkac-fab:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(226,35,26,.45)}
.gkac-float .gkac-fab:focus-visible{outline:3px solid #fff;outline-offset:-5px}
.gkac-ico{flex:none;animation:gkac-pulse 2.4s ease-in-out infinite}
@keyframes gkac-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.15)}}
@media(prefers-reduced-motion:reduce){.gkac-ico{animation:none}}
.gkac-float .gkac-box{position:absolute;bottom:58px;right:0;left:auto;width:min(380px,calc(100vw - 32px));height:min(500px,calc(100vh - 120px))}
.gkac-float .gkac-box[hidden]{display:none}
@media(max-width:767px){.gkac-float{bottom:76px;right:10px}.gkac-float .gkac-fab{height:42px;font-size:12px;padding:0 14px 0 12px}.gkac-float .gkac-box{width:calc(100vw - 20px);height:calc(100vh - 200px)}}

.gkac-lock{overflow:hidden}
@media(max-width:767px){
.gkac-float.gkac-open .gkac-fab{display:none}
.gkac-float.gkac-open .gkac-box{position:fixed;top:var(--gkac-top,0);left:0;right:0;bottom:auto;width:100%;height:var(--gkac-h,100dvh);border-radius:0;border:0;z-index:99999}
.gkac-float.gkac-open .gkac-note{display:none}
}
