:root{--bit-livechat-navy:var(--navy,var(--blue-950,#071f3d));--bit-livechat-blue:var(--ocean,var(--blue-600,#0759dc));--bit-livechat-sky:var(--lagoon,var(--lagoon-100,#eaf6ff));--bit-livechat-line:var(--line,#cfe1e8);--bit-livechat-sun:var(--sun,var(--sun-500,#ffc400));--bit-livechat-shadow:var(--shadow-lg,0 24px 70px rgba(3,36,64,.24))}
.bit-livechat{position:fixed;right:24px;bottom:22px;z-index:1200;font-family:var(--font-body,Manrope,system-ui,sans-serif);color:var(--bit-livechat-navy)}
.bit-livechat[hidden],.bit-livechat [hidden]{display:none!important}
.bit-livechat-launcher{display:flex;align-items:center;gap:8px;min-width:58px;min-height:58px;padding:0 14px 0 4px;border:1px solid rgba(255,255,255,.7);border-radius:999px;background:linear-gradient(135deg,#fff,#eef8ff);box-shadow:0 12px 34px rgba(3,52,90,.22);color:var(--bit-livechat-navy);font:800 14px/1 var(--font-body,Manrope,system-ui,sans-serif);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}
.bit-livechat-launcher:hover{transform:translateY(-2px);box-shadow:0 16px 42px rgba(3,52,90,.28)}
.bit-livechat-launcher:focus-visible,.bit-livechat button:focus-visible,.bit-livechat a:focus-visible,.bit-livechat textarea:focus-visible,.bit-livechat input:focus-visible,.bit-livechat select:focus-visible{outline:3px solid var(--bit-livechat-sun);outline-offset:3px}
.bit-livechat-launcher img{display:block;width:50px;height:50px;object-fit:contain;filter:drop-shadow(0 5px 9px rgba(4,61,113,.2))}
.bit-livechat.is-open .bit-livechat-launcher{visibility:hidden;pointer-events:none}
.bit-livechat-invitation{position:absolute;right:0;bottom:72px;width:min(318px,calc(100vw - 32px));padding:18px 44px 17px 18px;border:1px solid var(--bit-livechat-line);border-radius:20px;background:#fff;box-shadow:var(--bit-livechat-shadow);animation:bit-livechat-rise .28s ease-out}
.bit-livechat-invitation:after{content:"";position:absolute;right:25px;bottom:-8px;width:16px;height:16px;border-right:1px solid var(--bit-livechat-line);border-bottom:1px solid var(--bit-livechat-line);background:#fff;transform:rotate(45deg)}
.bit-livechat-invitation strong{display:block;margin-bottom:4px;font-size:15px}
.bit-livechat-invitation p{margin:0 0 13px;color:#45667b;font-size:14px;line-height:1.45}
.bit-livechat-dismiss{position:absolute;top:6px;right:7px;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:#557387;font-size:23px;cursor:pointer}
.bit-livechat-accept{min-height:44px;padding:0 16px;border:0;border-radius:12px;background:var(--bit-livechat-blue);color:#fff;font-weight:800;cursor:pointer}
.bit-livechat-panel-host{position:absolute;right:0;bottom:0;width:min(430px,calc(100vw - 32px));height:min(640px,calc(100vh - 40px));min-height:min(560px,calc(100vh - 40px));overflow:hidden;border:1px solid rgba(255,255,255,.8);border-radius:26px;background:#fff;box-shadow:var(--bit-livechat-shadow);animation:bit-livechat-rise .25s ease-out}
.bit-livechat-panel-host>.bit-livechat-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:100%;height:100%;min-height:0;border:0;border-radius:inherit;box-shadow:none;overflow:hidden;background:#fff}
.bit-livechat-header{padding:13px 15px;border-bottom:1px solid var(--bit-livechat-line);background:linear-gradient(135deg,#f8fcff,#eaf6ff)}
.bit-livechat-header .bit-chat-identity{display:flex;align-items:center;gap:10px}
.bit-livechat-header .bit-avatar-shell{display:grid;place-items:center;width:48px;height:48px}
.bit-livechat-header .bit-avatar-shell img{width:48px;height:48px;object-fit:contain}
.bit-livechat-header .bit-chat-identity>span:last-child{display:grid;gap:2px}
.bit-livechat-header .bit-chat-identity strong{font-size:18px;line-height:1}
.bit-livechat-header .bit-chat-identity small{display:flex;align-items:center;gap:6px;color:#557387;font-size:11px}
.bit-livechat-header .bit-chat-identity i{width:7px;height:7px;border-radius:50%;background:#078769}
.bit-livechat-controls{display:flex;gap:4px;margin-left:auto}
.bit-livechat-controls button{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.74);color:var(--bit-livechat-navy);font-size:21px;cursor:pointer}
.bit-livechat-panel .bit-transcript{min-height:0;overflow:auto;padding:18px 16px 12px;scrollbar-width:thin;overscroll-behavior:contain}
.bit-livechat-panel .bit-message{max-width:92%;margin-bottom:14px}
.bit-livechat-panel .bit-message-assistant>img{display:none}
.bit-livechat-panel .bit-message-welcome{max-width:100%;padding:16px;border-radius:18px;background:var(--bit-livechat-sky)}
.bit-livechat-panel .bit-message-welcome h1{margin:3px 0 7px;font-size:21px;line-height:1.12}
.bit-livechat-panel .bit-message-welcome p{font-size:13px;line-height:1.48}
.bit-livechat-panel .bit-example{margin-bottom:0!important}
.bit-livechat-panel .bit-form{padding:11px 13px 12px;border-top:1px solid var(--bit-livechat-line);background:#fff}
.bit-livechat-panel .bit-query-row{display:flex;align-items:flex-end;gap:8px}
.bit-livechat-panel textarea{width:100%;min-height:48px;max-height:118px;resize:none;padding:13px 14px;border:1px solid #9fc4d7;border-radius:15px;color:var(--bit-livechat-navy);font:600 14px/1.4 var(--font-body,Manrope,system-ui,sans-serif)}
.bit-livechat-panel .bit-query-row>button{flex:0 0 auto;min-width:50px;min-height:48px;padding:0 13px;border:0;border-radius:15px;background:var(--bit-livechat-blue);color:#fff;font-weight:800;cursor:pointer}
.bit-livechat-panel .bit-query-row>button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
.bit-livechat-panel .bit-query-row>button span{display:none}
.bit-livechat-panel .bit-transparency{margin:7px 2px 0;color:#678194;font-size:10px;line-height:1.3}
.bit-livechat-loading,.bit-livechat-error{display:grid;place-content:center;gap:8px;width:100%;height:100%;padding:30px;text-align:center;background:#fff;color:var(--bit-livechat-navy)}
.bit-livechat-error p{max-width:290px;margin:0;color:#557387}
.bit-livechat-error button{justify-self:center;min-height:44px;padding:0 18px;border:0;border-radius:12px;background:var(--bit-livechat-blue);color:#fff;font-weight:800}
.bit-livechat-error a{justify-self:center;min-height:44px;padding:12px 10px;color:var(--bit-livechat-blue);font-weight:800}
body.bit-livechat-modal-open{overflow:hidden;touch-action:none}
@keyframes bit-livechat-rise{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
@media (max-width: 767px){
  .bit-livechat{right:16px;bottom:max(14px,env(safe-area-inset-bottom));z-index:2200}
  .bit-livechat-launcher{min-width:56px;min-height:56px;padding-right:12px}
  .bit-livechat-launcher img{width:48px;height:48px}
  .bit-livechat-invitation{position:fixed;right:14px;bottom:calc(82px + env(safe-area-inset-bottom));width:calc(100vw - 28px)}
  .bit-livechat-dismiss{width:44px;height:44px}
  .bit-livechat-panel-host{position:fixed;inset:0;width:100%;height:100dvh;min-height:100dvh;border:0;border-radius:0;animation:bit-livechat-mobile-in .24s ease-out}
  .bit-livechat-panel-host>.bit-livechat-panel{border-radius:0;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
  .bit-livechat-header{min-height:72px;padding:10px 12px}
  .bit-livechat-controls button{width:44px;height:44px}
  .bit-livechat-panel .bit-transcript{padding:16px 13px 10px}
  .bit-livechat-panel .bit-form{padding:10px 10px max(10px,env(safe-area-inset-bottom))}
  .bit-livechat-panel textarea{font-size:16px}
  @keyframes bit-livechat-mobile-in{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
}
@media (prefers-reduced-motion: reduce){.bit-livechat *{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
