:root{--mvx-accent:#40B5AD;--mvx-dark:#071523}
.mvx-chat{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;position:fixed;z-index:99999;bottom:var(--mvx-offset-y,22px);right:var(--mvx-offset-x,22px)}
.mvx-pos-bottom-right{right:var(--mvx-offset-x,22px);bottom:var(--mvx-offset-y,22px)}
.mvx-pos-bottom-left{left:var(--mvx-offset-x,22px);bottom:var(--mvx-offset-y,22px)}
.mvx-pos-top-right{right:var(--mvx-offset-x,22px);top:var(--mvx-offset-y,22px)}
.mvx-pos-top-left{left:var(--mvx-offset-x,22px);top:var(--mvx-offset-y,22px)}
.mvx-pos-center-right{right:var(--mvx-offset-x,22px);top:50%;transform:translateY(-50%)}
.mvx-pos-center-left{left:var(--mvx-offset-x,22px);top:50%;transform:translateY(-50%)}
.mvx-chat-launch{border:1px solid #18384c;background:linear-gradient(135deg,var(--mvx-dark),#123249);color:#fff;padding:14px 19px;border-radius:999px;box-shadow:0 18px 45px #07152335;display:flex;gap:10px;align-items:center;font-weight:800;cursor:pointer;min-height:50px}
.mvx-chat-launch:hover{transform:translateY(-1px)}
.mvx-dot{width:9px;height:9px;background:var(--mvx-accent);border-radius:50%;display:inline-block;box-shadow:0 0 0 4px #40b5ad22}
.mvx-chat-panel{width:410px;max-width:calc(100vw - 28px);background:#fff;color:#111;border-radius:24px;box-shadow:0 28px 80px #07152338;overflow:hidden;margin-top:12px;border:1px solid #dce7eb}
.mvx-chat-panel[aria-hidden=true]{display:none}
.mvx-chat-embedded{position:relative!important;inset:auto!important;transform:none!important}
.mvx-chat-head{display:flex;align-items:center;gap:12px;padding:18px 20px;background:linear-gradient(135deg,var(--mvx-dark),#123249);color:#fff}
.mvx-avatar{width:42px;height:42px;border-radius:14px;background:var(--mvx-accent);color:#06201f;display:grid;place-items:center;font-weight:900}
.mvx-head-copy{display:flex;flex-direction:column;flex:1;min-width:0}.mvx-head-copy strong{font-size:15px}.mvx-head-copy span{font-size:11px;opacity:.72}
.mvx-chat-close{background:none;border:0;color:#fff;font-size:27px;cursor:pointer;min-width:42px;min-height:42px}
.mvx-chat-body{padding:18px}.mvx-welcome-copy{color:#263942;line-height:1.6;margin-top:0}
.mvx-start-form{display:grid;gap:11px}.mvx-start-form label{font-size:12px;font-weight:800;color:#111;display:grid;gap:6px}
.mvx-start-form input,.mvx-start-form select,.mvx-chat textarea{width:100%;box-sizing:border-box;border:1px solid #ccdce2;border-radius:12px;padding:12px;background:#fff;color:#111;font-size:16px}
.mvx-start-form input:focus,.mvx-start-form select:focus,.mvx-chat textarea:focus{outline:2px solid #40b5ad55;border-color:var(--mvx-accent)}
.mvx-start-form button,.mvx-send{border:0;background:var(--mvx-accent);color:#052222;border-radius:12px;padding:13px 16px;font-weight:900;cursor:pointer;min-height:46px}
.mvx-consent{display:flex!important;grid-template-columns:auto 1fr;align-items:center;gap:8px!important;font-weight:600!important}.mvx-consent input{width:auto}
.mvx-form-status{font-size:12px;line-height:1.4;min-height:18px}.mvx-form-status.error{color:#b42318}.mvx-form-status.good{color:#116149}
.mvx-routing-status{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:12px;background:#f1f8f7;color:#17353a;font-size:12px;font-weight:750;margin-bottom:10px}
.mvx-messages{height:310px;overflow:auto;background:#f5f8f9;padding:12px;border-radius:16px;border:1px solid #e4ecef}
.mvx-msg{max-width:86%;padding:11px 13px;border-radius:14px;margin:8px 0;background:#fff;border:1px solid #e7eef0;box-shadow:0 3px 12px #07152308}
.mvx-msg.agent{margin-left:auto;background:#e8fbf8}.mvx-msg.assistant{background:#eef5ff;border-color:#d9e6f5}.mvx-msg p{margin:5px 0;white-space:pre-wrap;line-height:1.5}.mvx-msg small{font-size:10px;color:#73828c}
.mvx-composer{margin-top:12px}.mvx-composer-row{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:7px}
.mvx-quick{border:1px solid #d2e0e5;background:#fff;color:#111;border-radius:999px;padding:8px 10px;font-size:11px;cursor:pointer}.mvx-send{margin-left:auto}
.mvx-chat-actions{text-align:right;margin-top:8px}.mvx-close-session{border:0;background:none;color:#52656d;text-decoration:underline;cursor:pointer;font-size:11px}
.mvx-rating{margin-top:12px;text-align:center;padding:12px;background:#f7fafb;border-radius:12px}.mvx-rating button{border:0;background:none;color:#eab308;font-size:25px;cursor:pointer}
.mvx-chat-foot{padding:11px 18px;background:#f3f7f8;color:#61747d;font-size:11px;border-top:1px solid #e5ecef}
@media(max-width:520px){
 .mvx-chat{left:10px;right:10px;bottom:10px;top:auto;transform:none}
 .mvx-mobile-top{top:10px;bottom:auto}.mvx-chat-panel{width:auto;max-width:none}
 .mvx-chat-launch{width:100%;justify-content:center}.mvx-messages{height:260px}
}

.mvx-privacy-note{display:block;font-size:10px;line-height:1.45;color:#66777f;margin-top:-4px}
.mvx-chat-launch{transition:transform .18s ease,box-shadow .18s ease}.mvx-chat-launch:focus-visible,.mvx-chat-close:focus-visible,.mvx-start-form button:focus-visible,.mvx-send:focus-visible,.mvx-quick:focus-visible{outline:3px solid rgba(64,181,173,.35);outline-offset:2px}
.mvx-chat-launch::after{content:"";width:7px;height:7px;border-radius:50%;background:#54d37d;margin-left:2px}
.mvx-chat-panel{backdrop-filter:blur(12px)}
.mvx-chat-body{background:linear-gradient(#fff,#fbfdfd)}
.mvx-routing-status{border:1px solid #dceceb}
.mvx-routing-status .mvx-dot{flex:0 0 auto}
.mvx-msg.visitor{background:#fff}
.mvx-msg.agent{border-color:#bfe9e3}
.mvx-msg.assistant{border-color:#d5e3f5}
.mvx-composer textarea{min-height:74px;resize:vertical}
.mvx-send[disabled],.mvx-start-form button[disabled]{opacity:.55;cursor:not-allowed}
.mvx-form-status{padding-top:2px}
@media(prefers-reduced-motion:reduce){.mvx-chat-launch,.mvx-chat-launch:hover{transition:none;transform:none}}



/* Movixit v6.2.2 viewport-safe frontend */
.mvx-chat-panel{
  width:380px;
  max-width:calc(100vw - 24px);
}
.mvx-chat-body{
  overflow-y:auto;
  max-height:calc(100vh - 210px);
}
.mvx-messages{
  height:240px;
  max-height:32vh;
}
.mvx-chat-foot{padding:8px 14px}

/* Never allow a top-positioned chat to begin outside the viewport. */
.mvx-pos-top-left,
.mvx-pos-top-right{
  top:max(10px,var(--mvx-offset-y,22px));
  bottom:auto;
}
.mvx-pos-top-left .mvx-chat-panel,
.mvx-pos-top-right .mvx-chat-panel{
  margin-top:8px;
  max-height:calc(100vh - max(10px,var(--mvx-offset-y,22px)) - 20px);
}
.mvx-pos-top-left .mvx-chat-body,
.mvx-pos-top-right .mvx-chat-body{
  max-height:calc(100vh - 240px);
}

/* Bottom-positioned chat stays fully contained above the task/browser edge. */
.mvx-pos-bottom-left,
.mvx-pos-bottom-right{
  bottom:max(10px,var(--mvx-offset-y,22px));
  top:auto;
}
.mvx-pos-bottom-left .mvx-chat-panel,
.mvx-pos-bottom-right .mvx-chat-panel{
  max-height:calc(100vh - max(10px,var(--mvx-offset-y,22px)) - 20px);
  overflow:hidden;
}
.mvx-pos-bottom-left .mvx-chat-body,
.mvx-pos-bottom-right .mvx-chat-body{
  max-height:calc(100vh - 240px);
}

/* Center positions are vertically contained. */
.mvx-pos-center-left,
.mvx-pos-center-right{
  top:50%;
  max-height:calc(100vh - 20px);
}
.mvx-pos-center-left .mvx-chat-panel,
.mvx-pos-center-right .mvx-chat-panel{
  max-height:calc(100vh - 20px);
  overflow:hidden;
}
.mvx-pos-center-left .mvx-chat-body,
.mvx-pos-center-right .mvx-chat-body{
  max-height:calc(100vh - 240px);
}

@media(max-width:768px){
  .mvx-chat{
    left:10px;
    right:10px;
    max-width:none;
  }
  .mvx-chat-panel{
    width:auto;
    max-width:none;
    border-radius:18px;
  }
  .mvx-chat-head{padding:10px 12px}
  .mvx-avatar{width:36px;height:36px;border-radius:11px}
  .mvx-chat-body{padding:12px}
  .mvx-messages{height:220px;max-height:34vh}
  .mvx-start-form{gap:8px}
  .mvx-start-form input,.mvx-start-form select,.mvx-chat textarea{padding:10px}
  .mvx-start-form button,.mvx-send{min-height:42px;padding:10px 13px}
  .mvx-chat-foot{padding:7px 12px}
  .mvx-pos-top-left,.mvx-pos-top-right,.mvx-mobile-top{
    top:8px;bottom:auto;
  }
  .mvx-pos-bottom-left,.mvx-pos-bottom-right{
    bottom:8px;top:auto;
  }
}
@media(max-height:700px) and (min-width:769px){
  .mvx-chat-panel{max-height:calc(100vh - 28px);border-radius:18px}
  .mvx-chat-head{padding:10px 14px}
  .mvx-chat-body{padding:12px;max-height:calc(100vh - 150px)}
  .mvx-messages{height:190px;max-height:28vh}
}
@media(prefers-reduced-motion:reduce){
  .mvx-chat-launch,.mvx-chat-launch:hover{transition:none;transform:none}
}

/* Movixit v6.2.3 — official brand logo only */
.mvx-brand-logo{display:block;object-fit:contain;object-position:center}
.mvx-launch-logo{width:28px;height:28px;flex:0 0 28px}
.mvx-header-logo{width:34px;height:34px;flex:0 0 34px}
.mvx-avatar{overflow:hidden;background:#071523!important;border:1px solid #40B5AD44}
@media(max-width:768px){.mvx-launch-logo{width:25px;height:25px;flex-basis:25px}.mvx-header-logo{width:30px;height:30px;flex-basis:30px}}
