.maki-chat-launcher{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:1600;
  display:flex;
  align-items:center;
  gap:10px;
}

.maki-chat-label{
  background:#244A9B;
  color:#fff;
  padding:10px 14px;
  border-radius:999px;
  font-size:.92rem;
  font-weight:800;
  box-shadow:0 14px 30px rgba(36,74,155,.18);
}

.maki-chat-fab{
  width:74px;
  height:74px;
  border:none;
  border-radius:50%;
  overflow:hidden;
  cursor:pointer;
  background:linear-gradient(135deg,#FFE15B 0%, #FFBF57 45%, #FF9A45 100%);
  box-shadow:0 20px 40px rgba(255,167,48,.24);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
}

.maki-chat-fab img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.maki-chat-panel{
  position:fixed;
  right:22px;
  bottom:110px;
  width:380px;
  max-width:calc(100vw - 24px);
  background:#fff;
  border:1px solid rgba(36,74,155,.10);
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 30px 60px rgba(36,74,155,.16);
  z-index:1650;
  opacity:0;
  visibility:hidden;
  transform:translateY(20px);
  transition:.25s ease;
}

.maki-chat-panel.open{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.maki-chat-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px 18px;
  background:linear-gradient(135deg,#244A9B 0%, #4A6EC0 100%);
}

.maki-chat-top-left{
  display:flex;
  align-items:center;
  gap:12px;
}

.maki-chat-top-left img{
  width:52px;
  height:52px;
  border-radius:50%;
  object-fit:cover;
  background:#fff;
}

.maki-chat-top-left strong{
  display:block;
  color:#fff;
  font-size:1rem;
  font-weight:800;
}

.maki-chat-top-left span{
  display:block;
  color:#EDF3FF;
  font-size:.86rem;
}

.maki-chat-close{
  border:none;
  background:transparent;
  color:#fff;
  font-size:2rem;
  line-height:1;
  cursor:pointer;
}

.maki-chat-messages{
  padding:18px;
  max-height:360px;
  overflow-y:auto;
  background:#fff;
}

.maki-chat-message{
  max-width:88%;
  padding:14px 16px;
  border-radius:18px;
  margin-bottom:14px;
  font-size:.98rem;
  line-height:1.55;
}

.maki-chat-message.bot{
  background:rgba(36,74,155,.08);
  color:#1D3E82;
}

.maki-chat-message.user{
  margin-left:auto;
  background:#244A9B;
  color:#fff;
}

.maki-chat-form{
  display:flex;
  gap:10px;
  padding:0 18px 18px;
}

.maki-chat-form input{
  flex:1;
  min-height:48px;
  border:1px solid rgba(36,74,155,.12);
  border-radius:14px;
  padding:0 14px;
  font:inherit;
  color:#22304C;
}

.maki-chat-form input:focus{
  outline:none;
  border-color:rgba(36,74,155,.30);
  box-shadow:0 0 0 4px rgba(36,74,155,.08);
}

.maki-chat-form button{
  min-width:96px;
  border:none;
  border-radius:14px;
  padding:0 16px;
  font:inherit;
  font-weight:800;
  color:#26314A;
  background:linear-gradient(135deg,#FFE15B 0%, #FFBF57 45%, #FF9A45 100%);
  cursor:pointer;
}

@media (max-width:640px){
  .maki-chat-launcher{
    right:12px;
    bottom:12px;
  }

  .maki-chat-panel{
    right:12px;
    bottom:98px;
    width:calc(100vw - 24px);
  }

  .maki-chat-label{
    display:none;
  }
}