#mp-helpbot{position:fixed;right:22px;bottom:94px;z-index:10020;font-family:inherit;color:#172033}
#mp-helpbot *{box-sizing:border-box}
.mp-helpbot-launch{width:58px;height:58px;border:0;border-radius:50%;background:linear-gradient(135deg,#08aeea,#0879e8);color:#fff;box-shadow:0 8px 24px rgba(8,126,220,.34);font-size:23px;cursor:pointer;position:relative;display:flex;align-items:center;justify-content:center;transition:transform .18s,box-shadow .18s}
.mp-helpbot-mascot{width:100%;height:100%;object-fit:contain;display:block;border-radius:50%;filter:drop-shadow(0 2px 2px rgba(0,0,0,.12))}.mp-helpbot-launch{padding:0;overflow:visible;background:transparent;box-shadow:none}.mp-helpbot-launch:hover{transform:translateY(-2px);filter:drop-shadow(0 10px 14px rgba(8,126,220,.25))}
.mp-helpbot-launch-dot{position:absolute;width:11px;height:11px;border:2px solid #fff;border-radius:50%;background:#22c55e;right:2px;top:3px}
.mp-helpbot-panel{position:absolute;right:0;bottom:72px;width:min(370px,calc(100vw - 28px));height:min(570px,calc(100dvh - 145px));min-height:390px;background:#fff;border:1px solid #e4eaf1;border-radius:20px;box-shadow:0 18px 55px rgba(18,35,58,.22);overflow:hidden;display:flex;flex-direction:column}
.mp-helpbot-panel[hidden]{display:none!important}
.mp-helpbot-header{height:72px;flex:0 0 72px;padding:13px 15px;display:flex;align-items:center;gap:11px;background:linear-gradient(115deg,#087fe8,#08aeea);color:#fff}
.mp-helpbot-avatar{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;border-radius:50%;background:#fff;overflow:hidden;border:2px solid rgba(255,255,255,.7);box-shadow:0 2px 8px rgba(0,0,0,.12)}.mp-helpbot-avatar img{width:100%;height:100%;object-fit:contain;display:block}
.mp-helpbot-heading{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.mp-helpbot-heading strong{font-size:14px;line-height:1.2}.mp-helpbot-heading small{font-size:11px;opacity:.94}.mp-helpbot-online{display:inline-block;width:7px;height:7px;border-radius:50%;background:#6af0a0;margin-right:4px}
.mp-helpbot-close{width:34px;height:34px;border:0;border-radius:10px;background:rgba(255,255,255,.16);color:#fff;font-size:18px;cursor:pointer}
.mp-helpbot-messages{padding:16px 13px 8px;flex:1;overflow:auto;display:flex;flex-direction:column;gap:10px;background:#f7f9fc;scroll-behavior:smooth}
.mp-helpbot-msg{display:flex;max-width:91%;font-size:13px;line-height:1.48;overflow-wrap:anywhere}.mp-helpbot-msg span{display:block;padding:10px 12px;border-radius:14px;white-space:pre-line}
.mp-helpbot-msg.bot{align-self:flex-start}.mp-helpbot-msg.bot span{background:#fff;border:1px solid #e8edf4;border-top-left-radius:5px;color:#263449}
.mp-helpbot-msg.user{align-self:flex-end}.mp-helpbot-msg.user span{background:#087fe8;color:#fff;border-top-right-radius:5px}
.mp-helpbot-quick{padding:9px 12px 7px;display:flex;gap:7px;overflow-x:auto;background:#f7f9fc;scrollbar-width:thin}.mp-helpbot-quick button{white-space:nowrap;border:1px solid #dce7f3;background:#fff;color:#1767b4;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:700;cursor:pointer}
.mp-helpbot-member-links{display:flex;gap:7px;padding:8px 12px;background:#f7f9fc}.mp-helpbot-member-links a{flex:1;min-width:0;text-align:center;text-decoration:none;color:#536174;background:#fff;border:1px solid #e4eaf1;border-radius:9px;padding:8px 4px;font-size:11px;font-weight:700}.mp-helpbot-member-links a i{margin-right:3px;color:#087fe8}
.mp-helpbot-form{display:flex;gap:8px;padding:11px 12px;border-top:1px solid #e8edf4;background:#fff}.mp-helpbot-form input{flex:1;min-width:0;border:1px solid #dce4ee;border-radius:12px;padding:11px 12px;font:inherit;font-size:13px;outline:none}.mp-helpbot-form input:focus{border-color:#1689e8;box-shadow:0 0 0 3px rgba(22,137,232,.1)}.mp-helpbot-form button{width:42px;flex:0 0 42px;border:0;border-radius:12px;background:#087fe8;color:#fff;font-size:15px;cursor:pointer}
.mp-helpbot-note{text-align:center;padding:0 8px 9px;font-size:9px;color:#8a95a5;background:#fff}.mp-helpbot-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:600px){#mp-helpbot{right:13px;bottom:86px}.mp-helpbot-launch{width:54px;height:54px}.mp-helpbot-panel{position:fixed;right:8px;bottom:78px;width:calc(100vw - 16px);height:min(620px,calc(100dvh - 105px));min-height:360px;border-radius:18px}.mp-helpbot-header{height:66px;flex-basis:66px}}
@media(prefers-reduced-motion:reduce){.mp-helpbot-launch,.mp-helpbot-messages{transition:none;scroll-behavior:auto}}


/* MeetingPart AI premium launcher - v3 */
#mp-helpbot .mp-helpbot-launch{
  width:78px !important;
  height:78px !important;
  padding:5px !important;
  border:2px solid rgba(255,255,255,.98) !important;
  border-radius:50% !important;
  overflow:visible !important;
  background:linear-gradient(135deg,#00c6f7 0%,#087fe8 48%,#7b2ff7 100%) !important;
  box-shadow:0 0 0 4px rgba(8,174,234,.18),0 8px 24px rgba(8,126,220,.38),0 0 28px rgba(0,198,247,.34) !important;
  animation:mpAiFloatGlowV3 3s ease-in-out infinite;
}
#mp-helpbot .mp-helpbot-launch::before{
  content:"";
  position:absolute;
  inset:-7px;
  border-radius:50%;
  border:1px solid rgba(0,198,247,.65);
  box-shadow:0 0 16px rgba(0,198,247,.22);
  pointer-events:none;
}
#mp-helpbot .mp-helpbot-launch::after{
  content:"✦ AI Köməkçi";
  position:absolute;
  top:calc(100% + 7px);
  left:50%;
  transform:translateX(-50%);
  padding:7px 12px;
  white-space:nowrap;
  border:1px solid rgba(255,255,255,.95);
  border-radius:999px;
  background:linear-gradient(110deg,#087fe8,#4b35ed,#d81b91);
  color:#fff;
  font-weight:700;
  font-size:12px;
  line-height:1.15;
  box-shadow:0 5px 18px rgba(8,95,210,.3),0 0 12px rgba(0,198,247,.22);
  pointer-events:none;
}
#mp-helpbot .mp-helpbot-mascot{
  display:block;
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:50%;
  filter:drop-shadow(0 2px 3px rgba(0,0,0,.16));
}
#mp-helpbot .mp-helpbot-launch-dot{
  width:13px !important;
  height:13px !important;
  right:1px !important;
  top:2px !important;
  border:2px solid #fff !important;
  z-index:3;
}
#mp-helpbot .mp-helpbot-panel{z-index:10021}
@keyframes mpAiFloatGlowV3{
  0%,100%{box-shadow:0 0 0 3px rgba(8,174,234,.16),0 8px 24px rgba(8,126,220,.32),0 0 22px rgba(0,198,247,.25)}
  50%{box-shadow:0 0 0 5px rgba(8,174,234,.22),0 10px 28px rgba(8,126,220,.4),0 0 30px rgba(123,47,247,.3)}
}
@media(max-width:600px){
  #mp-helpbot{right:14px;bottom:94px}
  #mp-helpbot .mp-helpbot-launch{width:68px !important;height:68px !important}
  #mp-helpbot .mp-helpbot-launch::after{font-size:11px;padding:6px 10px;top:calc(100% + 5px)}
}
@media(prefers-reduced-motion:reduce){
  #mp-helpbot .mp-helpbot-launch{animation:none}
}

/* Desktop: keep the AI assistant fully inside the visible viewport */
@media (min-width: 601px) {
  #mp-helpbot .mp-helpbot-panel {
    position: fixed;
    right: 22px;
    /* Preserve the current top position while extending the panel to the bottom edge. */
    top: max(24px, calc(100dvh - 736px));
    bottom: 12px;
    width: min(390px, calc(100vw - 44px));
    height: auto;
    min-height: 0;
    max-height: none;
    border-radius: 18px;
  }
  #mp-helpbot .mp-helpbot-header {
    min-height: 72px;
    flex-shrink: 0;
  }
  #mp-helpbot .mp-helpbot-messages {
    min-height: 0;
    overscroll-behavior: contain;
  }
  #mp-helpbot .mp-helpbot-quick,
  #mp-helpbot .mp-helpbot-member-links,
  #mp-helpbot .mp-helpbot-form,
  #mp-helpbot .mp-helpbot-note {
    flex-shrink: 0;
  }
}


/* Premium chat polish v8 */
#mp-helpbot .mp-helpbot-panel{
  border:1px solid rgba(190,210,235,.8);
  border-radius:24px;
  box-shadow:0 24px 70px rgba(13,35,68,.24),0 4px 16px rgba(8,126,220,.10);
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  backdrop-filter:blur(18px);
}
#mp-helpbot .mp-helpbot-header{
  background:linear-gradient(115deg,#0879e8 0%,#079fe5 52%,#0bb8d3 100%);
  box-shadow:0 4px 18px rgba(8,126,220,.16);
}
#mp-helpbot .mp-helpbot-heading strong{letter-spacing:-.2px;font-weight:800}
#mp-helpbot .mp-helpbot-messages{
  padding:18px 15px 16px;
  scroll-behavior:smooth;
  scrollbar-width:thin;
  scrollbar-color:#c7d8ec transparent;
  background:
    radial-gradient(ellipse at top right,rgba(8,174,234,.055),transparent 48%),
    #f8faff;
}
#mp-helpbot .mp-helpbot-msg{margin:0 0 12px;animation:mpAiMsgIn .18s ease-out}
#mp-helpbot .mp-helpbot-msg span.mp-helpbot-bubble{
  display:inline-block;
  max-width:100%;
  white-space:normal;
  overflow-wrap:anywhere;
  line-height:1.62;
  font-size:14.5px;
  letter-spacing:.02px;
}
#mp-helpbot .mp-helpbot-msg.bot span.mp-helpbot-bubble{
  border:1px solid #e4ebf4;
  background:#fff;
  border-radius:5px 17px 17px 17px;
  box-shadow:0 3px 10px rgba(25,50,85,.035);
}
#mp-helpbot .mp-helpbot-msg.user span.mp-helpbot-bubble{
  border-radius:17px 5px 17px 17px;
  background:linear-gradient(135deg,#087fe8,#0871d8);
  box-shadow:0 5px 14px rgba(8,126,220,.17);
}
#mp-helpbot .mp-helpbot-bubble strong{font-weight:800}
#mp-helpbot .mp-helpbot-bubble em{font-style:italic}
#mp-helpbot .mp-helpbot-bubble del{opacity:.72}
#mp-helpbot .mp-helpbot-bubble code{
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:.91em;
  padding:2px 5px;
  border-radius:5px;
  background:#eef3fa;
  color:#1559a5;
}
#mp-helpbot .mp-helpbot-msg.user .mp-helpbot-bubble code{background:rgba(255,255,255,.17);color:#fff}
#mp-helpbot .mp-helpbot-bubble ul{margin:5px 0 7px;padding-left:21px}
#mp-helpbot .mp-helpbot-bubble li{padding-left:2px;margin:3px 0}
#mp-helpbot .mp-helpbot-quick{gap:8px;padding:10px 12px}
#mp-helpbot .mp-helpbot-quick button{
  border:1px solid #e1eaf5;
  box-shadow:0 2px 7px rgba(22,53,90,.035);
  transition:transform .15s,border-color .15s,box-shadow .15s;
}
#mp-helpbot .mp-helpbot-quick button:hover{transform:translateY(-1px);border-color:#9bc9f4;box-shadow:0 5px 13px rgba(8,126,220,.10)}
#mp-helpbot .mp-helpbot-form{
  padding:12px;
  background:rgba(255,255,255,.96);
  border-top:1px solid #e8eef6;
}
#mp-helpbot .mp-helpbot-input{
  border:1px solid #dbe6f3;
  box-shadow:inset 0 1px 2px rgba(17,40,70,.025);
}
#mp-helpbot .mp-helpbot-input:focus{border-color:#72bdf4;box-shadow:0 0 0 4px rgba(8,174,234,.11);outline:none}
@keyframes mpAiMsgIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){
  #mp-helpbot .mp-helpbot-panel{border-radius:22px}
  #mp-helpbot .mp-helpbot-messages{padding:14px 12px}
  #mp-helpbot .mp-helpbot-msg span.mp-helpbot-bubble{font-size:14px}
}
@media(prefers-reduced-motion:reduce){#mp-helpbot .mp-helpbot-msg{animation:none}}


/* AI quota packages */
#mp-helpbot .mp-helpbot-packages{
 display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 14px;padding:12px;
 background:#fff;border:1px solid #dce8f6;border-radius:16px;
 box-shadow:0 5px 18px rgba(22,53,90,.06);
}
#mp-helpbot .mp-helpbot-packages strong{width:100%;font-size:13px;color:#19385c;margin-bottom:2px}
#mp-helpbot .mp-helpbot-package-btn,#mp-helpbot .mp-helpbot-package-link{
 border:1px solid #b8d9f7;background:#eef7ff;color:#075db1;border-radius:12px;
 padding:9px 11px;font-weight:700;font-size:12px;cursor:pointer;
}
#mp-helpbot .mp-helpbot-package-btn:hover,#mp-helpbot .mp-helpbot-package-link:hover{background:#dceeff}
#mp-helpbot .mp-helpbot-package-btn:disabled{opacity:.6;cursor:wait}
#mp-helpbot .mp-helpbot-package-link{background:#fff;border-color:#d6e1ee;color:#43566d}

/* Keep font change limited to AI message text and input; preserve icon fonts and button layout. */
#mp-helpbot .mp-helpbot-msg span.mp-helpbot-bubble,
#mp-helpbot .mp-helpbot-input {
  font-family: Arial, Helvetica, sans-serif;
}


/* Plain, consistent message typography — scoped only to AI chat text. */
#mp-helpbot .mp-helpbot-msg {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
}
#mp-helpbot .mp-helpbot-msg .mp-helpbot-bubble {
  display: block;
  box-sizing: border-box;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #e4ebf4;
  border-radius: 5px 17px 17px 17px;
  background: #fff;
  color: #263449;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.55;
  letter-spacing: normal;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}
#mp-helpbot .mp-helpbot-msg.user .mp-helpbot-bubble {
  border-color: transparent;
  border-radius: 17px 5px 17px 17px;
  background: #087fe8;
  color: #fff;
}
/* Markdown emphasis must not make message text bold or italic. */
#mp-helpbot .mp-helpbot-bubble strong,
#mp-helpbot .mp-helpbot-bubble em,
#mp-helpbot .mp-helpbot-bubble del {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
}
#mp-helpbot .mp-helpbot-bubble code {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
}
#mp-helpbot .mp-helpbot-message-tools {
  display: flex;
  flex-wrap: wrap;
  margin-top: 7px;
}
#mp-helpbot .mp-helpbot-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
  padding: 7px 10px;
  border: 1px solid #dce7f3;
  border-radius: 999px;
  background: #fff;
  color: #1767b4;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}
#mp-helpbot #mp-helpbot-input {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
}
@media (max-width: 600px) {
  #mp-helpbot .mp-helpbot-msg .mp-helpbot-bubble { font-size: 14px; }
}


/* Copy action: place neatly below the AI message bubble, never beside it. */
#mp-helpbot .mp-helpbot-msg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
  max-width: 91%;
  min-width: 0;
}
#mp-helpbot .mp-helpbot-msg .mp-helpbot-bubble {
  display: block;
  width: auto;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}
#mp-helpbot .mp-helpbot-msg.user {
  align-self: flex-end;
  align-items: flex-end;
}
#mp-helpbot .mp-helpbot-msg.bot {
  align-self: flex-start;
  align-items: flex-start;
}
#mp-helpbot .mp-helpbot-message-tools {
  display: flex;
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  justify-content: flex-start;
  margin-top: 7px;
}
#mp-helpbot .mp-helpbot-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  max-width: 100%;
  min-width: 0;
  height: auto;
  min-height: 34px;
  padding: 7px 12px;
  margin: 0;
  border: 1px solid #dce7f3;
  border-radius: 999px;
  background: #fff;
  color: #1767b4;
  box-shadow: 0 2px 7px rgba(22,53,90,.07);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  writing-mode: horizontal-tb;
  transform: none;
  cursor: pointer;
}
#mp-helpbot .mp-helpbot-copy:hover {
  background: #f4f9ff;
  border-color: #b9d8f5;
}
#mp-helpbot .mp-helpbot-copy:focus-visible {
  outline: 2px solid #1689e8;
  outline-offset: 2px;
}
@media (max-width: 600px) {
  #mp-helpbot .mp-helpbot-msg { max-width: 94%; }
  #mp-helpbot .mp-helpbot-message-tools { margin-top: 6px; }
  #mp-helpbot .mp-helpbot-copy { min-height: 32px; padding: 6px 10px; }
}
