.ces-ai{position:fixed;right:76px;bottom:var(--ces-floating-bottom,18px);z-index:99990;font-family:inherit;color:#142637}
.ces-ai-launch{display:flex;align-items:center;gap:8px;border:0;border-radius:999px;background:#03717e;color:#fff;font-weight:850;font-size:15px;padding:12px 17px;box-shadow:0 12px 30px rgba(20,38,55,.19);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,opacity .15s ease}
.ces-ai-launch:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(20,38,55,.24)}
.ces-ai-launch__icon{width:19px;height:19px;display:block;fill:none;stroke:#ffb13b;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.ces-ai.is-open .ces-ai-launch{opacity:0;pointer-events:none;transform:translateY(6px)}
.ces-ai-panel{position:absolute;right:-58px;bottom:0;width:min(420px,calc(100vw - 24px));height:min(640px,calc(100dvh - 110px));display:flex;flex-direction:column;background:#fff;border:1px solid #d8e4e7;border-radius:22px;box-shadow:0 24px 65px rgba(20,38,55,.24);overflow:hidden}
.ces-ai-panel[hidden]{display:none}.ces-ai-head{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#0d5664;color:#fff;padding:13px 15px;flex:0 0 auto}.ces-ai-head__identity{display:flex;align-items:center;gap:10px;min-width:0}.ces-ai-head__mark{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:rgba(255,255,255,.12);color:#ffb13b}.ces-ai-head strong{display:block;font-size:15px;line-height:1.2}.ces-ai-head__identity>div>span{display:block;font-size:11px;opacity:.82;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ces-ai-head__actions{display:flex;align-items:center;gap:3px}.ces-ai-clear,.ces-ai-close{display:grid;place-items:center;border:0;background:transparent;color:#fff;cursor:pointer;border-radius:9px}.ces-ai-clear{width:34px;height:34px;font-size:18px}.ces-ai-close{width:36px;height:36px;font-size:27px;line-height:1}.ces-ai-clear:hover,.ces-ai-close:hover{background:rgba(255,255,255,.12)}
.ces-ai-messages{flex:1 1 auto;min-height:0;padding:15px 14px 8px;overflow:auto;background:#f7fafb;scrollbar-width:thin;scrollbar-color:#c7d9dd transparent}.ces-ai-msg{width:fit-content;max-width:86%;padding:10px 12px;border-radius:16px;margin:0 0 10px;font-size:14px;line-height:1.45;overflow-wrap:anywhere}.ces-ai-bot{background:#fff;border:1px solid #dce8ea;border-bottom-left-radius:6px}.ces-ai-user{max-width:74%;background:#03717e;color:#fff;margin-left:auto;border-bottom-right-radius:6px}.ces-ai-rich p{margin:0}.ces-ai-rich p+p{margin-top:8px}.ces-ai-rich ul{margin:8px 0 0;padding-left:19px}.ces-ai-rich li{margin:5px 0}.ces-ai-rich strong{font-weight:850;color:#112a3d}.ces-ai-bot a{color:#03717e;font-weight:800;text-decoration:none}.ces-ai-bot a:hover{text-decoration:underline}.ces-ai-typing{display:flex;align-items:center;gap:8px;min-width:150px}.ces-ai-typing__label{font-size:12.5px;color:#667b85}.ces-ai-typing__dots{display:inline-flex;align-items:center;gap:4px}.ces-ai-typing i{display:block;width:6px;height:6px;border-radius:50%;background:#8ca1aa;animation:cesAiDot 1.1s infinite ease-in-out}.ces-ai-typing i:nth-child(2){animation-delay:.15s}.ces-ai-typing i:nth-child(3){animation-delay:.3s}.ces-ai-error{border-color:#efd9d9;background:#fffafa}@keyframes cesAiDot{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-4px);opacity:1}}
.ces-ai-chips{display:flex;gap:7px;overflow-x:auto;overflow-y:hidden;padding:9px 12px;border-top:1px solid #edf1f2;background:#fff;flex:0 0 auto;scrollbar-width:none}.ces-ai-chips::-webkit-scrollbar{display:none}.ces-ai-chips button{flex:0 0 auto;border:1px solid #cce0e3;background:#f4fafb;color:#234872;border-radius:999px;padding:7px 10px;font-size:11.5px;font-weight:700;cursor:pointer;white-space:nowrap}.ces-ai-chips button:hover{background:#eaf7f8;border-color:#a8cdd2;color:#03717e}.ces-ai-chips button:disabled{opacity:.55;cursor:not-allowed}
.ces-ai-form{display:grid;grid-template-columns:minmax(0,1fr) 46px;gap:8px;padding:10px 12px 8px;background:#fff;flex:0 0 auto}.ces-ai-form textarea{resize:none;width:100%;min-height:44px;max-height:92px;overflow-y:auto;border:1px solid #cadadd;border-radius:13px;padding:11px 12px;font:inherit;font-size:14px;line-height:1.35;outline:none}.ces-ai-form textarea:focus{border-color:#03717e;box-shadow:0 0 0 3px rgba(3,113,126,.10)}.ces-ai-form button{width:46px;height:44px;align-self:end;border:0;background:#ff9900;color:#1c2f40;border-radius:13px;font-weight:900;font-size:17px;cursor:pointer}.ces-ai-form button:hover{filter:brightness(.97)}.ces-ai-form button:disabled{opacity:.55;cursor:not-allowed}
.ces-ai-human{display:flex;align-items:center;gap:10px;padding:2px 13px 8px;font-size:11.5px;flex:0 0 auto}.ces-ai-human span{color:#6c7e89}.ces-ai-human a{color:#03717e;font-weight:800;text-decoration:none}.ces-ai-safety{margin:0 13px 11px;color:#70828c;font-size:10.5px;line-height:1.4;flex:0 0 auto}.ces-ai-safety summary{cursor:pointer;width:max-content;font-weight:700}.ces-ai-safety p{margin:6px 0 0}.ces-ai .screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.ces-ai-chat-open .floating-actions,body.ces-ai-chat-open .back-to-top{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
@media(max-width:600px){.ces-ai{right:74px;bottom:var(--ces-floating-bottom,12px)}.ces-ai-launch{padding:11px 14px;font-size:14px}.ces-ai-panel{right:-58px;bottom:0;width:calc(100vw - 16px);height:min(720px,calc(100dvh - 64px));border-radius:20px}.ces-ai-head{padding:12px}.ces-ai-messages{padding:13px 11px 7px}.ces-ai-msg{max-width:88%;font-size:13.5px}.ces-ai-user{max-width:78%}.ces-ai-form{grid-template-columns:minmax(0,1fr) 44px;padding:9px 10px 7px}.ces-ai-form button{width:44px;height:43px}.ces-ai-human{padding-inline:11px}.ces-ai-safety{margin-inline:11px}}



/* v1.9 final mobile floating-control alignment */
@media (max-width:600px){
  .ces-ai{right:76px!important;bottom:var(--ces-floating-bottom,12px)!important}
  .ces-ai-launch{min-height:52px}
}


/* v1.11 - avoid covering forms/footer while keeping the launcher easy to reach. */
.ces-ai{transition:bottom .12s ease,right .12s ease}
.ces-ai.is-open{bottom:18px!important}
body.ces-page-contact-us .ces-ai:not(.is-open),
body.ces-page-payment-form .ces-ai:not(.is-open){
  right:18px!important;
  bottom:calc(var(--ces-floating-bottom,18px) + 60px)!important;
}
body.ces-page-contact-us .ces-ai:not(.is-open) .ces-ai-launch,
body.ces-page-payment-form .ces-ai:not(.is-open) .ces-ai-launch{
  width:52px;height:52px;min-height:52px;padding:0!important;justify-content:center;gap:0;font-size:0;border-radius:50%;
}
body.ces-page-contact-us .ces-ai:not(.is-open) .ces-ai-launch__icon,
body.ces-page-payment-form .ces-ai:not(.is-open) .ces-ai-launch__icon{width:22px;height:22px}
body.ces-page-contact-us .ces-ai-panel,
body.ces-page-payment-form .ces-ai-panel{right:0}
@media(max-width:600px){
  .ces-ai.is-open{right:12px!important;bottom:12px!important}
  body.ces-page-contact-us .ces-ai:not(.is-open),
  body.ces-page-payment-form .ces-ai:not(.is-open){right:12px!important;bottom:calc(var(--ces-floating-bottom,12px) + 58px)!important}
  body.ces-page-contact-us .ces-ai-panel,
  body.ces-page-payment-form .ces-ai-panel{right:0;width:calc(100vw - 24px)}
}

/* v1.12 - unified mobile floating rail.
   Closed CES AI sits between Back to top and WhatsApp on every page, using
   a compact circular launcher to avoid covering page CTAs and form content. */
@media (max-width:700px){
  #ces-ai-root.ces-ai:not(.is-open),
  body.ces-page-contact-us #ces-ai-root.ces-ai:not(.is-open),
  body.ces-page-payment-form #ces-ai-root.ces-ai:not(.is-open){
    right:12px!important;
    bottom:calc(var(--ces-floating-bottom,12px) + 62px)!important;
  }
  #ces-ai-root.ces-ai:not(.is-open) .ces-ai-launch,
  body.ces-page-contact-us #ces-ai-root.ces-ai:not(.is-open) .ces-ai-launch,
  body.ces-page-payment-form #ces-ai-root.ces-ai:not(.is-open) .ces-ai-launch{
    width:52px!important;
    height:52px!important;
    min-height:52px!important;
    padding:0!important;
    justify-content:center!important;
    gap:0!important;
    font-size:0!important;
    border-radius:50%!important;
  }
  #ces-ai-root.ces-ai:not(.is-open) .ces-ai-launch__icon{
    width:22px!important;
    height:22px!important;
  }
  #ces-ai-root.ces-ai.is-open{
    right:12px!important;
    bottom:12px!important;
  }
  #ces-ai-root.ces-ai.is-open .ces-ai-panel{
    right:0!important;
    width:calc(100vw - 24px)!important;
  }
}
