.chhabi-chatbot{--brand:#c1652b;position:fixed;right:22px;bottom:22px;z-index:999999;width:370px;max-width:calc(100vw - 20px);height:560px;max-height:78vh;display:flex;flex-direction:column;overflow:hidden;border:1px solid #dedbd4;border-radius:12px;background:#fff;box-shadow:0 12px 40px rgba(22,33,31,.24);color:#16211f;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;box-sizing:border-box}
.chhabi-chatbot--bottom-left{right:auto;left:22px}.chhabi-chatbot.is-collapsed{width:60px;height:60px;overflow:visible;border:0;border-radius:50%;background:transparent;box-shadow:none}
.chhabi-chatbot__launcher{position:absolute;right:0;bottom:0;width:60px;height:60px;padding:0;border:0;border-radius:50%;background:var(--chhabi-launcher-color,#c1652b);box-shadow:0 6px 20px rgba(0,0,0,.25);cursor:pointer}
.chhabi-chatbot__launcher::before{content:"";position:absolute;inset:17px 15px 18px;border:2px solid #fff;border-radius:50%}.chhabi-chatbot__launcher::after{content:"";position:absolute;left:18px;bottom:15px;width:8px;height:8px;border-left:2px solid #fff;transform:rotate(-28deg)}
.chhabi-chatbot:not(.is-collapsed) .chhabi-chatbot__launcher{display:none}.chhabi-chatbot__badge{position:absolute;right:0;top:0;min-width:18px;height:18px;padding:0 4px;border:2px solid #fff;border-radius:9px;background:#d84537;color:#fff;font:700 10px/14px system-ui}
.chhabi-chatbot__greeting{position:absolute;right:70px;bottom:9px;width:max-content;max-width:min(240px,calc(100vw - 100px));padding:9px 12px;border:1px solid #dedbd4;border-radius:8px;background:#fff;color:#16211f;box-shadow:0 5px 18px rgba(0,0,0,.14);white-space:normal;overflow-wrap:anywhere;text-align:left}
.chhabi-chatbot__header{display:flex;align-items:center;justify-content:space-between;flex:0 0 auto;min-height:62px;padding:11px 14px;background:var(--brand);color:#fff}.chhabi-chatbot__header>span{display:grid;line-height:1.2}.chhabi-chatbot__header strong{font-size:15px}.chhabi-chatbot__header small{margin-top:2px;font-size:11px;font-weight:400;opacity:.86}.chhabi-chatbot__header-actions{display:flex;gap:3px}.chhabi-chatbot__clear,.chhabi-chatbot__close{width:32px;height:32px;padding:0;border:0;background:transparent;color:#fff;font-size:20px;cursor:pointer}.chhabi-chatbot__clear:hover{transform:rotate(-25deg)}
.chhabi-chatbot__messages{display:flex;flex:1 1 auto;min-width:0;min-height:90px;flex-direction:column;gap:9px;overflow-x:hidden;overflow-y:auto;padding:14px;background:#f7f6f3}.chhabi-chatbot__message{align-self:flex-start;max-width:86%;padding:9px 12px;border:1px solid #e4e1da;border-radius:12px 12px 12px 3px;background:#fff;color:#27332f;font-size:13.5px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;box-sizing:border-box}.chhabi-chatbot__message.user{align-self:flex-end;border-color:var(--brand);border-radius:12px 12px 3px 12px;background:var(--brand);color:#fff}
.chhabi-chatbot__choices{display:flex;flex:0 0 auto;min-width:0;max-height:44vh;flex-direction:column;gap:6px;overflow-x:hidden;overflow-y:auto;padding:10px 12px;border-top:1px solid #e9e7e1;background:#fff}.chhabi-chatbot__choices button{display:block;width:100%;min-width:0;min-height:40px;height:auto;padding:9px 12px;border:1px solid #d8d4cb;border-radius:8px;background:#fff;color:#1c1f1e;font:500 13.5px/1.35 inherit;text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:pointer}.chhabi-chatbot__choices button:hover,.chhabi-chatbot__choices button:focus{border-color:var(--brand);background:#fdf3ec;color:#1c1f1e}.chhabi-chatbot__choices .chhabi-chatbot__primary,.chhabi-chatbot__form .chhabi-chatbot__submit{border-color:var(--brand);background:var(--brand);color:#fff;text-align:center;font-weight:650}.chhabi-chatbot__choices .chhabi-chatbot__primary:hover,.chhabi-chatbot__form .chhabi-chatbot__submit:hover{background:#a3541f;color:#fff}.chhabi-chatbot__choices .chhabi-chatbot__back{min-height:28px;padding:2px 0;border:0;background:transparent;color:#8a5e42;font-size:12px;font-weight:650}.chhabi-chatbot__choices .chhabi-chatbot__back:hover{background:transparent;text-decoration:underline}
.chhabi-chatbot__textarea,.chhabi-chatbot__form input,.chhabi-chatbot__form textarea{width:100%;min-height:42px;box-sizing:border-box;padding:8px 10px;border:1px solid #d8d4cb;border-radius:7px;background:#fff;color:#16211f;font:400 13.5px/1.4 inherit}.chhabi-chatbot__textarea{min-height:72px;resize:vertical}.chhabi-chatbot__form{display:grid;gap:10px;width:100%;margin:0;padding:0}.chhabi-chatbot__form-heading{padding-bottom:9px;border-bottom:1px solid #e9e7e1}.chhabi-chatbot__form-heading strong,.chhabi-chatbot__form-heading span{display:block}.chhabi-chatbot__form-heading strong{font-size:15px;color:#27332f}.chhabi-chatbot__form-heading span{margin-top:2px;font-size:11px;color:#7b877e}.chhabi-chatbot__form label{display:grid;gap:4px;margin:0;color:#4d5850;font-size:12px;font-weight:650}.chhabi-chatbot__form textarea{min-height:70px;resize:vertical}.chhabi-chatbot__error{color:#b3402c;font-size:12px}.chhabi-chatbot__footer{display:flex;justify-content:space-between;gap:8px;flex:0 0 auto;padding:8px 12px;border-top:1px solid #e9e7e1;background:#fff;color:#6b665e;font-size:10.5px}.chhabi-chatbot__footer a{color:var(--brand);font-weight:650;text-decoration:none}
.chhabi-chatbot.is-collapsed .chhabi-chatbot__header,.chhabi-chatbot.is-collapsed .chhabi-chatbot__messages,.chhabi-chatbot.is-collapsed .chhabi-chatbot__choices,.chhabi-chatbot.is-collapsed .chhabi-chatbot__footer{display:none}
@media(max-width:480px){.chhabi-chatbot{right:10px;bottom:86px;left:10px;width:auto;height:min(620px,calc(100dvh - 110px));max-height:none}.chhabi-chatbot--bottom-left{right:10px;left:10px}.chhabi-chatbot.is-collapsed{right:16px;bottom:18px;left:auto;width:56px;height:56px}.chhabi-chatbot__launcher{width:56px;height:56px}.chhabi-chatbot__choices{max-height:46vh}.chhabi-chatbot__footer{font-size:10px}}

.chhabi-chatbot__greeting[hidden],.chhabi-chatbot__badge[hidden]{display:none!important}

/* Isolate chatbot states from theme button colours */
.chhabi-chatbot .chhabi-chatbot__greeting,
.chhabi-chatbot .chhabi-chatbot__greeting:hover,
.chhabi-chatbot .chhabi-chatbot__greeting:focus,
.chhabi-chatbot .chhabi-chatbot__greeting:active{
  border-color:#dedbd4!important;
  background:#fff!important;
  color:#16211f!important;
}
.chhabi-chatbot .chhabi-chatbot__launcher,
.chhabi-chatbot .chhabi-chatbot__launcher:hover,
.chhabi-chatbot .chhabi-chatbot__launcher:focus,
.chhabi-chatbot .chhabi-chatbot__launcher:active{
  border-color:transparent!important;
  background:var(--chhabi-launcher-color,#c1652b)!important;
}
.chhabi-chatbot .chhabi-chatbot__clear,
.chhabi-chatbot .chhabi-chatbot__clear:hover,
.chhabi-chatbot .chhabi-chatbot__clear:focus,
.chhabi-chatbot .chhabi-chatbot__close,
.chhabi-chatbot .chhabi-chatbot__close:hover,
.chhabi-chatbot .chhabi-chatbot__close:focus{
  border-color:transparent!important;
  background:transparent!important;
  color:#fff!important;
}
.chhabi-chatbot .chhabi-chatbot__choices>button:not(.chhabi-chatbot__primary):not(.chhabi-chatbot__back),
.chhabi-chatbot .chhabi-chatbot__choices>button:not(.chhabi-chatbot__primary):not(.chhabi-chatbot__back):hover,
.chhabi-chatbot .chhabi-chatbot__choices>button:not(.chhabi-chatbot__primary):not(.chhabi-chatbot__back):focus{
  border-color:#d8d4cb!important;
  background:#fff!important;
  color:#1c1f1e!important;
}
.chhabi-chatbot .chhabi-chatbot__choices>button:not(.chhabi-chatbot__primary):not(.chhabi-chatbot__back):hover,
.chhabi-chatbot .chhabi-chatbot__choices>button:not(.chhabi-chatbot__primary):not(.chhabi-chatbot__back):focus{
  border-color:#c1652b!important;
  background:#fdf3ec!important;
}
.chhabi-chatbot .chhabi-chatbot__primary,
.chhabi-chatbot .chhabi-chatbot__primary:hover,
.chhabi-chatbot .chhabi-chatbot__primary:focus,
.chhabi-chatbot .chhabi-chatbot__submit,
.chhabi-chatbot .chhabi-chatbot__submit:hover,
.chhabi-chatbot .chhabi-chatbot__submit:focus{
  border-color:#c1652b!important;
  background:#c1652b!important;
  color:#fff!important;
}
.chhabi-chatbot .chhabi-chatbot__primary:hover,
.chhabi-chatbot .chhabi-chatbot__primary:focus,
.chhabi-chatbot .chhabi-chatbot__submit:hover,
.chhabi-chatbot .chhabi-chatbot__submit:focus{background:#a3541f!important}
.chhabi-chatbot .chhabi-chatbot__back,
.chhabi-chatbot .chhabi-chatbot__back:hover,
.chhabi-chatbot .chhabi-chatbot__back:focus{
  border-color:transparent!important;
  background:transparent!important;
  color:#8a5e42!important;
}
.chhabi-chatbot .chhabi-chatbot__footer a,
.chhabi-chatbot .chhabi-chatbot__footer a:hover,
.chhabi-chatbot .chhabi-chatbot__footer a:focus{color:#c1652b!important}
/* Balanced contact footer */
.chhabi-chatbot .chhabi-chatbot__footer{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  padding:9px 12px;
  border-top:1px solid #e9e7e1;
  background:#f7f6f3;
}
.chhabi-chatbot .chhabi-chatbot__footer a,
.chhabi-chatbot .chhabi-chatbot__footer a:hover,
.chhabi-chatbot .chhabi-chatbot__footer a:focus{
  display:grid;
  gap:1px;
  min-width:0;
  padding:5px 8px;
  border:1px solid #dedbd4;
  border-radius:7px;
  background:#fff!important;
  color:#16211f!important;
  text-align:center;
  text-decoration:none;
}
.chhabi-chatbot .chhabi-chatbot__footer a:hover,
.chhabi-chatbot .chhabi-chatbot__footer a:focus{
  border-color:#c1652b;
}
.chhabi-chatbot .chhabi-chatbot__footer span{
  color:#6b665e;
  font-size:10px;
  font-weight:500;
  line-height:1.2;
}
.chhabi-chatbot .chhabi-chatbot__footer strong{
  color:#c1652b;
  font-size:11.5px;
  font-weight:700;
  line-height:1.3;
  white-space:nowrap;
}
/* Full-screen mobile conversation */
@media(max-width:480px){
  .chhabi-chatbot:not(.is-collapsed),
  .chhabi-chatbot--bottom-left:not(.is-collapsed){
    position:fixed;
    inset:0;
    width:100%;
    max-width:none;
    height:100dvh;
    max-height:100dvh;
    border:0;
    border-radius:0;
    box-shadow:none;
  }
  .chhabi-chatbot:not(.is-collapsed) .chhabi-chatbot__header{
    padding-top:max(11px,env(safe-area-inset-top));
  }
  .chhabi-chatbot:not(.is-collapsed) .chhabi-chatbot__footer{
    padding-bottom:max(9px,env(safe-area-inset-bottom));
  }
}
/* Chhabi industrial conversation theme */
.chhabi-chatbot{
  --chhabi-navy:#164d7f;
  --chhabi-navy-dark:#0f385f;
  --chhabi-orange:#f58220;
  --chhabi-ink:#20384b;
  --chhabi-soft:#eef4f8;
  width:390px;
  height:600px;
  border:1px solid #cbd8e2;
  border-radius:10px;
  box-shadow:0 18px 55px rgba(15,56,95,.24),0 3px 10px rgba(32,56,75,.1);
}
.chhabi-chatbot__header{
  position:relative;
  min-height:72px;
  padding:12px 14px 12px 62px;
  border-bottom:3px solid var(--chhabi-orange);
  background:var(--chhabi-navy);
}
.chhabi-chatbot__header::before{
  position:absolute;
  left:15px;
  top:14px;
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border:2px solid rgba(255,255,255,.72);
  border-radius:50%;
  background:#fff;
  color:var(--chhabi-navy);
  content:"CE";
  font-size:10px;
  font-weight:800;
}
.chhabi-chatbot__header::after{
  position:absolute;
  left:43px;
  top:43px;
  width:9px;
  height:9px;
  border:2px solid var(--chhabi-navy);
  border-radius:50%;
  background:#55b982;
  content:"";
}
.chhabi-chatbot__header strong{font-size:16px;letter-spacing:0}
.chhabi-chatbot__header small{font-size:11.5px;color:#dceaf4;opacity:1}
.chhabi-chatbot__messages{
  gap:12px;
  padding:18px 16px 12px 52px;
  background-color:#f4f7f9;
  background-image:linear-gradient(rgba(22,77,127,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(22,77,127,.035) 1px,transparent 1px);
  background-size:24px 24px;
}
.chhabi-chatbot__message{
  position:relative;
  padding:10px 13px;
  border:1px solid #d9e3ea;
  border-radius:4px 13px 13px 13px;
  background:#fff;
  color:var(--chhabi-ink);
  box-shadow:0 3px 10px rgba(32,56,75,.07);
  animation:chhabi-message-in .22s ease-out both;
}
.chhabi-chatbot__message:not(.user)::before{
  position:absolute;
  top:0;
  left:-36px;
  display:grid;
  place-items:center;
  width:26px;
  height:26px;
  border-radius:50%;
  background:var(--chhabi-navy);
  color:#fff;
  content:"CE";
  font-size:8px;
  font-weight:800;
  box-shadow:0 2px 5px rgba(15,56,95,.18);
}
.chhabi-chatbot__message.user{
  border:0;
  border-radius:13px 4px 13px 13px;
  background:var(--chhabi-navy);
  box-shadow:0 3px 10px rgba(15,56,95,.16);
}
.chhabi-chatbot__choices{
  gap:7px;
  padding:12px 14px 14px;
  border-top:1px solid #dce5eb;
  background:#fff;
}
.chhabi-chatbot .chhabi-chatbot__choices>button:not(.chhabi-chatbot__primary):not(.chhabi-chatbot__back){
  position:relative;
  min-height:42px;
  padding:9px 36px 9px 13px;
  border-color:#c9d5de!important;
  border-radius:7px;
  background:#fff!important;
  color:var(--chhabi-ink)!important;
  font-weight:600;
  box-shadow:0 1px 2px rgba(32,56,75,.04);
  transition:transform .14s ease,border-color .14s ease,background-color .14s ease;
}
.chhabi-chatbot .chhabi-chatbot__choices>button:not(.chhabi-chatbot__primary):not(.chhabi-chatbot__back)::after{
  position:absolute;
  right:13px;
  top:50%;
  color:#7f98aa;
  content:"›";
  font-size:20px;
  line-height:1;
  transform:translateY(-52%);
}
.chhabi-chatbot .chhabi-chatbot__choices>button:not(.chhabi-chatbot__primary):not(.chhabi-chatbot__back):hover,
.chhabi-chatbot .chhabi-chatbot__choices>button:not(.chhabi-chatbot__primary):not(.chhabi-chatbot__back):focus{
  border-color:var(--chhabi-orange)!important;
  background:#fff8f2!important;
  transform:translateX(3px);
}
.chhabi-chatbot .chhabi-chatbot__choices>button:not(.chhabi-chatbot__primary):not(.chhabi-chatbot__back):hover::after,
.chhabi-chatbot .chhabi-chatbot__choices>button:not(.chhabi-chatbot__primary):not(.chhabi-chatbot__back):focus::after{color:var(--chhabi-orange)}
.chhabi-chatbot .chhabi-chatbot__primary,
.chhabi-chatbot .chhabi-chatbot__submit{
  min-height:44px;
  border-color:var(--chhabi-orange)!important;
  border-radius:7px;
  background:var(--chhabi-orange)!important;
  box-shadow:0 4px 12px rgba(245,130,32,.2);
  font-weight:700;
  text-align:center;
}
.chhabi-chatbot .chhabi-chatbot__primary::after{display:none}
.chhabi-chatbot .chhabi-chatbot__primary:hover,
.chhabi-chatbot .chhabi-chatbot__primary:focus,
.chhabi-chatbot .chhabi-chatbot__submit:hover,
.chhabi-chatbot .chhabi-chatbot__submit:focus{background:#d96d13!important;transform:none}
.chhabi-chatbot .chhabi-chatbot__back{color:var(--chhabi-navy)!important}
.chhabi-chatbot__form-heading strong{color:var(--chhabi-navy);font-size:16px}
.chhabi-chatbot__form input:focus,
.chhabi-chatbot__form textarea:focus,
.chhabi-chatbot__textarea:focus{
  border-color:var(--chhabi-navy);
  outline:0;
  box-shadow:0 0 0 3px rgba(22,77,127,.12);
}
.chhabi-chatbot .chhabi-chatbot__footer{border-top:3px solid var(--chhabi-orange);background:#f4f7f9}
.chhabi-chatbot .chhabi-chatbot__footer a,
.chhabi-chatbot .chhabi-chatbot__footer a:hover,
.chhabi-chatbot .chhabi-chatbot__footer a:focus{border-color:#cbd8e2;background:#fff!important}
.chhabi-chatbot .chhabi-chatbot__footer a:hover,
.chhabi-chatbot .chhabi-chatbot__footer a:focus{border-color:var(--chhabi-navy)}
.chhabi-chatbot .chhabi-chatbot__footer strong{color:var(--chhabi-navy)}
@keyframes chhabi-message-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){
  .chhabi-chatbot__message{animation:none}
  .chhabi-chatbot .chhabi-chatbot__choices>button{transition:none!important}
}
@media(max-width:480px){
  .chhabi-chatbot:not(.is-collapsed){width:100%;height:100dvh}
  .chhabi-chatbot__header{min-height:68px;padding-left:60px}
  .chhabi-chatbot__messages{padding:16px 14px 10px 48px}
  .chhabi-chatbot__choices{padding:11px 12px 13px}
}