/* Kensington Chat - dymek (chmurka) prawy dolny rog */
#kg-chat-toggle{position:fixed;right:20px;bottom:20px;width:56px;height:56px;border:none;border-radius:50%;
  background:#1f6f50;color:#fff;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.25);z-index:99999;
  display:flex;align-items:center;justify-content:center;transition:transform .15s}
#kg-chat-toggle:hover{transform:scale(1.06)}

#kg-chat-panel{position:fixed;right:20px;bottom:88px;width:360px;max-width:calc(100vw - 32px);height:520px;
  max-height:calc(100vh - 120px);background:#fff;border-radius:14px;box-shadow:0 10px 40px rgba(0,0,0,.28);
  z-index:99999;display:flex;flex-direction:column;overflow:hidden;font-family:system-ui,Arial,sans-serif}

#kg-chat-head{background:#1f6f50;color:#fff;padding:12px 14px;font-weight:600;display:flex;
  align-items:center;justify-content:space-between}
#kg-chat-close{background:none;border:none;color:#fff;font-size:22px;line-height:1;cursor:pointer}

#kg-chat-msgs{flex:1;overflow-y:auto;padding:14px;background:#f6f7f8;display:flex;flex-direction:column;gap:8px}
.kg-msg{max-width:85%;padding:9px 12px;border-radius:12px;font-size:14px;line-height:1.4;word-wrap:break-word}
.kg-user{align-self:flex-end;background:#1f6f50;color:#fff;border-bottom-right-radius:3px}
.kg-bot{align-self:flex-start;background:#fff;color:#1a1a1a;border:1px solid #e3e3e3;border-bottom-left-radius:3px}
.kg-typing{opacity:.6;font-style:italic}
.kg-src{margin-top:6px;font-size:11px;color:#666;border-top:1px solid #eee;padding-top:4px}

#kg-chat-form{display:flex;border-top:1px solid #e3e3e3;background:#fff}
#kg-chat-input{flex:1;border:none;padding:12px 14px;font-size:14px;outline:none}
#kg-chat-form button{border:none;background:#1f6f50;color:#fff;padding:0 16px;cursor:pointer;font-weight:600}
#kg-chat-ts{padding:0 8px}

@media(max-width:480px){#kg-chat-panel{right:8px;left:8px;width:auto;bottom:84px}}
