#kmbc-root{--kmbc-primary:#0b4f8a;--kmbc-accent:#e30613;--kmbc-bg:#ffffff;--kmbc-soft:#f3f5f8;--kmbc-text:#1d2733;--kmbc-muted:#6b7684;--kmbc-border:#e2e6eb;
  position:fixed;bottom:var(--kmbc-bottom,20px);right:var(--kmbc-side,20px);z-index:2147483000;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.45;color:var(--kmbc-text)}
#kmbc-root.kmbc-left{right:auto;left:var(--kmbc-side,20px)}
#kmbc-root *{box-sizing:border-box}
#kmbc-root button{all:unset;box-sizing:border-box;cursor:pointer;font-family:inherit;line-height:1.2;text-transform:none;letter-spacing:normal;box-shadow:none;min-height:0;min-width:0}
#kmbc-root textarea{box-shadow:none;margin:0;text-transform:none}
#kmbc-root .kmbc-launcher{width:76px;height:76px;border-radius:50%;border:0;cursor:pointer;background:var(--kmbc-primary);color:#fff;box-shadow:0 6px 20px rgba(0,0,0,.22);display:flex;align-items:center;justify-content:center;transition:transform .15s}
#kmbc-root .kmbc-launcher:hover{transform:scale(1.06)}
#kmbc-root .kmbc-launcher svg{width:44px;height:44px;overflow:visible}
#kmbc-root.kmbc-open .kmbc-launcher svg{width:30px;height:30px}
#kmbc-root .kmbc-teaser{position:absolute;bottom:88px;right:0;background:#fff;color:var(--kmbc-text);padding:10px 14px;border-radius:12px;box-shadow:0 6px 20px rgba(0,0,0,.15);width:max-content;max-width:240px;font-size:14px;cursor:pointer}
#kmbc-root.kmbc-left .kmbc-teaser{right:auto;left:0}
#kmbc-root .kmbc-panel{position:absolute;bottom:90px;right:0;width:380px;height:600px;max-height:calc(100vh - var(--kmbc-bottom,20px) - 115px);background:var(--kmbc-bg);border-radius:16px;box-shadow:0 12px 40px rgba(0,0,0,.25);display:none;flex-direction:column;overflow:hidden}
#kmbc-root.kmbc-left .kmbc-panel{right:auto;left:0}
#kmbc-root.kmbc-open .kmbc-panel{display:flex}
#kmbc-root.kmbc-open .kmbc-teaser{display:none}
#kmbc-root .kmbc-head{background:var(--kmbc-primary);color:#fff;padding:12px 14px;display:flex;align-items:center;gap:10px}
#kmbc-root .kmbc-head img{height:34px;width:34px;object-fit:contain;background:#fff;border-radius:8px;padding:3px}
#kmbc-root .kmbc-head .kmbc-title{font-weight:600;font-size:15px;flex:1}
#kmbc-root .kmbc-head .kmbc-sub{font-size:12px;opacity:.85;font-weight:400}
#kmbc-root .kmbc-head button{background:transparent;border:0;color:#fff;cursor:pointer;padding:4px;opacity:.85;font-size:13px}
#kmbc-root .kmbc-head button:hover{opacity:1}
#kmbc-root .kmbc-test{background:#fff4ce;color:#6b5300;font-size:12px;padding:4px 12px;text-align:center}
#kmbc-root .kmbc-msgs{position:relative;flex:1;overflow-y:auto;padding:14px;background:var(--kmbc-soft);display:flex;flex-direction:column;gap:10px}
#kmbc-root .kmbc-msg{max-width:86%;padding:9px 13px;border-radius:14px;white-space:normal;word-wrap:break-word}
#kmbc-root .kmbc-msg p{margin:0 0 6px}#kmbc-root .kmbc-msg p:last-child{margin:0}
#kmbc-root .kmbc-msg ul,#kmbc-root .kmbc-msg ol{margin:4px 0 6px 18px;padding:0}
#kmbc-root .kmbc-msg a{color:var(--kmbc-primary);text-decoration:underline}
#kmbc-root .kmbc-bot{background:#fff;border:1px solid var(--kmbc-border);align-self:flex-start;border-bottom-left-radius:4px}
#kmbc-root .kmbc-user{background:var(--kmbc-primary);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
#kmbc-root .kmbc-user a{color:#fff}
#kmbc-root .kmbc-typing{display:inline-flex;gap:4px;padding:12px 14px}
#kmbc-root .kmbc-typing span{width:7px;height:7px;border-radius:50%;background:var(--kmbc-muted);animation:kmbc-b 1.2s infinite}
#kmbc-root .kmbc-typing span:nth-child(2){animation-delay:.2s}#kmbc-root .kmbc-typing span:nth-child(3){animation-delay:.4s}
@keyframes kmbc-b{0%,60%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
#kmbc-root .kmbc-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}
#kmbc-root .kmbc-chip{background:#fff;border:1px solid var(--kmbc-primary);color:var(--kmbc-primary);border-radius:16px;padding:6px 12px;font-size:13px;cursor:pointer}
#kmbc-root .kmbc-chip:hover{background:var(--kmbc-primary);color:#fff}
#kmbc-root .kmbc-form{display:flex;gap:8px;padding:10px;border-top:1px solid var(--kmbc-border);background:#fff}
#kmbc-root .kmbc-form textarea{flex:1;resize:none;border:1px solid var(--kmbc-border);border-radius:10px;padding:9px 11px;font:inherit;font-size:15px;max-height:110px;min-height:42px;outline:none;color:var(--kmbc-text);background:#fff}
#kmbc-root .kmbc-form textarea:focus{border-color:var(--kmbc-primary)}
#kmbc-root .kmbc-form button{background:var(--kmbc-accent);border:0;color:#fff;border-radius:10px;width:44px;cursor:pointer;display:flex;align-items:center;justify-content:center}
#kmbc-root .kmbc-form button:disabled{opacity:.5;cursor:default}
#kmbc-root .kmbc-foot{font-size:11px;color:var(--kmbc-muted);padding:0 12px 8px;background:#fff;text-align:center}
#kmbc-root .kmbc-foot a{color:var(--kmbc-muted)}
#kmbc-root.kmbc-hidden{display:none!important}
#kmbc-root .kmbc-dismiss{display:none}
@media (max-width:768px){
  #kmbc-root .kmbc-dismiss{display:flex!important;position:absolute;top:-8px;left:-8px;z-index:2;width:24px;height:24px;border-radius:50%!important;background:#fff!important;color:#444;border:1px solid #d0d4da!important;box-shadow:0 2px 6px rgba(0,0,0,.2);align-items:center;justify-content:center;padding:0!important}
  #kmbc-root .kmbc-dismiss svg{width:12px;height:12px}
  #kmbc-root.kmbc-left .kmbc-dismiss{left:auto;right:-8px}
  #kmbc-root.kmbc-open .kmbc-dismiss{display:none!important}
  #kmbc-root{bottom:var(--kmbc-bottom-m,20px);right:var(--kmbc-side-m,14px)}
  #kmbc-root.kmbc-left{right:auto;left:var(--kmbc-side-m,14px)}
  #kmbc-root .kmbc-panel{max-height:calc(100vh - var(--kmbc-bottom-m,20px) - 105px)}
}
@media (max-width:480px){
  #kmbc-root.kmbc-open .kmbc-panel{position:fixed;inset:0;width:100%;height:100%;max-height:none;border-radius:0}
  #kmbc-root.kmbc-open .kmbc-launcher{display:none}
  #kmbc-root .kmbc-launcher{width:66px;height:66px}
  #kmbc-root .kmbc-launcher svg{width:38px;height:38px}
  #kmbc-root .kmbc-teaser{bottom:78px}
  #kmbc-root .kmbc-form textarea{font-size:16px}
}
/* ochrana proti !important stylům šablony */
#kmbc-root .kmbc-launcher{background:var(--kmbc-primary)!important;border-radius:50%!important;border:0!important;padding:0!important}
#kmbc-root .kmbc-head button{background:transparent!important;border:0!important;padding:4px!important}
#kmbc-root .kmbc-form button{background:var(--kmbc-accent)!important;border:0!important;padding:0!important;border-radius:10px!important}
#kmbc-root .kmbc-chip{background:#fff!important;border:1px solid var(--kmbc-primary)!important;border-radius:16px!important;padding:6px 12px!important}
#kmbc-root .kmbc-chip:hover{background:var(--kmbc-primary)!important;color:#fff!important}
