
#upa100-root{
  --up-olive:#40544c;
  --up-sage:#88a090;
  --up-beige:#bfa99c;
  --up-cream:#fbf8f5;
  --up-ink:#2d332f;
  --up-muted:#6e786f;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:2147483000;
  color:var(--up-ink);
  line-height:1.4;
}
#upa100-root,
#upa100-root *{
  box-sizing:border-box;
}
#upa100-root button,
#upa100-root textarea{
  font-family:inherit;
}
#upa100-root .launcher-wrap{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
}
#upa100-root .launcher-prompt{
  background:#fff;
  color:#555d58;
  border:1px solid #e6e2dc;
  border-radius:999px;
  padding:10px 14px;
  font-size:12px;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
  box-shadow:0 10px 24px rgba(39,42,41,.12);
  opacity:0;
  visibility:hidden;
  transform:translateX(8px);
  transition:.22s ease;
  pointer-events:none;
}
#upa100-root .launcher-prompt.show{
  opacity:1;
  visibility:visible;
  transform:none;
}
#upa100-root .launcher{
  appearance:none;
  -webkit-appearance:none;
  position:relative;
  width:68px;
  height:68px;
  min-width:68px;
  padding:0;
  margin:0;
  border:4px solid #fff;
  border-radius:50%;
  background:#fff;
  overflow:hidden;
  cursor:pointer;
  box-shadow:0 18px 34px rgba(64,84,76,.18),0 0 0 2px rgba(191,169,156,.38);
  transition:transform .2s ease,box-shadow .2s ease;
}
#upa100-root .launcher:hover{
  transform:translateY(-3px);
  box-shadow:0 22px 38px rgba(64,84,76,.22),0 0 0 2px rgba(191,169,156,.5);
}
#upa100-root .launcher img,
#upa100-root .avatar img,
#upa100-root .mini img{
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  object-position:center 22%;
  margin:0;
  padding:0;
  border:0;
}
#upa100-root .launcher>i,
#upa100-root .avatar>i{
  position:absolute;
  top:2px;
  right:2px;
  width:15px;
  height:15px;
  border-radius:50%;
  background:#30d36c;
  border:3px solid #fff;
  box-shadow:0 0 0 4px rgba(48,211,108,.18);
  animation:upa100-blink 1.5s infinite;
  z-index:3;
}
@keyframes upa100-blink{
  0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(48,211,108,.24)}
  50%{opacity:.72;box-shadow:0 0 0 6px rgba(48,211,108,0)}
}
#upa100-root .panel{
  position:absolute;
  right:0;
  bottom:84px;
  width:min(385px,calc(100vw - 22px));
  height:min(680px,80vh);
  display:none;
  flex-direction:column;
  overflow:hidden;
  background:#fff;
  border:1px solid #e8e4dd;
  border-radius:26px;
  box-shadow:0 34px 80px rgba(38,44,41,.18);
}
#upa100-root .panel.open{
  display:flex;
  animation:upa100-open .24s ease-out;
}
@keyframes upa100-open{
  from{opacity:0;transform:translateY(12px) scale(.985)}
  to{opacity:1;transform:none}
}
#upa100-root .panel>header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:72px;
  padding:13px 16px;
  margin:0;
  color:#fff;
  background:linear-gradient(135deg,var(--up-olive),var(--up-sage));
  border:0;
  border-bottom:2px solid var(--up-beige);
}
#upa100-root .agent{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
}
#upa100-root .avatar{
  position:relative;
  width:48px;
  height:48px;
  min-width:48px;
  border-radius:50%;
  overflow:hidden;
  background:#fff;
  border:2px solid rgba(255,255,255,.98);
  box-shadow:0 0 0 2px rgba(191,169,156,.55);
}
#upa100-root .agent strong{
  display:block;
  margin:0;
  color:#fff;
  font-size:15px;
  font-weight:700;
  line-height:1.2;
}
#upa100-root .agent span{
  display:flex;
  align-items:center;
  gap:6px;
  margin-top:4px;
  color:#fff;
  font-size:11px;
  line-height:1.2;
  opacity:.9;
}
#upa100-root .agent span i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#30d36c;
  animation:upa100-blink 1.5s infinite;
}
#upa100-root .close{
  appearance:none;
  -webkit-appearance:none;
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  min-width:36px;
  padding:0;
  margin:0;
  border:1px solid rgba(255,255,255,.16);
  border-radius:11px;
  background:rgba(255,255,255,.15);
  color:#fff;
  cursor:pointer;
  box-shadow:none;
  line-height:0;
}
#upa100-root .close:hover{
  background:rgba(255,255,255,.23);
}
#upa100-root .close svg{
  display:block;
  width:16px;
  height:16px;
  stroke:currentColor;
  fill:none;
  stroke-width:2.2;
  stroke-linecap:round;
}
#upa100-root .messages{
  flex:1;
  min-height:0;
  overflow:auto;
  padding:16px 14px 10px;
  margin:0;
  background:linear-gradient(180deg,var(--up-cream),#fff);
  scrollbar-width:none;
}
#upa100-root .messages::-webkit-scrollbar{
  display:none;
}
#upa100-root .row{
  display:flex;
  flex-direction:column;
  margin:7px 0;
  padding:0;
  animation:upa100-msg .18s ease-out;
}
#upa100-root .row.user{
  align-items:flex-end;
}
@keyframes upa100-msg{
  from{opacity:0;transform:translateY(5px)}
  to{opacity:1;transform:none}
}
#upa100-root .agent-line{
  display:flex;
  align-items:flex-end;
  gap:7px;
  max-width:92%;
}
#upa100-root .mini{
  width:20px;
  height:20px;
  min-width:20px;
  border-radius:50%;
  overflow:hidden;
  border:1px solid #d7ded7;
  background:#fff;
}
#upa100-root .bubble{
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font-size:13px;
  line-height:1.42;
  padding:9px 12px;
  margin:0;
  border-radius:16px;
}
#upa100-root .bubble.assistant{
  max-width:82%;
  color:#2f3531;
  background:#fff;
  border:1px solid #e0e6e1;
  border-bottom-left-radius:6px;
  box-shadow:0 6px 18px rgba(33,39,37,.05);
}
#upa100-root .bubble.user{
  max-width:80%;
  color:#fff;
  background:linear-gradient(135deg,var(--up-sage),var(--up-olive));
  border-bottom-right-radius:6px;
  box-shadow:0 8px 18px rgba(64,84,76,.14);
}
#upa100-root .typing{
  display:flex;
  align-items:center;
  gap:8px;
}
#upa100-root .typing em{
  margin:0;
  color:#7e857f;
  font-size:10px;
  font-style:normal;
}
#upa100-root .dots{
  display:flex;
  gap:4px;
}
#upa100-root .dots i{
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--up-sage);
  animation:upa100-dots 1s infinite;
}
#upa100-root .dots i:nth-child(2){animation-delay:.16s}
#upa100-root .dots i:nth-child(3){animation-delay:.32s}
@keyframes upa100-dots{
  0%,60%,100%{opacity:.3;transform:none}
  30%{opacity:1;transform:translateY(-4px)}
}
#upa100-root .tools{
  display:flex;
  gap:6px;
  margin:4px 0 0 27px;
}
#upa100-root .tools button{
  appearance:none;
  -webkit-appearance:none;
  padding:0;
  margin:0;
  border:0;
  background:transparent;
  color:#898f8a;
  font-size:10px;
  line-height:1.2;
  cursor:pointer;
}
#upa100-root .chips{
  display:flex;
  gap:7px;
  overflow-x:auto;
  overflow-y:hidden;
  flex:none;
  padding:10px 12px 8px;
  margin:0;
  background:#fff;
  border-top:1px solid #eef1ee;
  scrollbar-width:none;
}
#upa100-root .chips::-webkit-scrollbar{
  display:none;
}
#upa100-root .chips button{
  appearance:none;
  -webkit-appearance:none;
  flex:none;
  white-space:nowrap;
  padding:8px 10px;
  margin:0;
  border:1px solid #d7e0d8;
  border-radius:999px;
  background:#fff;
  color:#5d665f;
  font-size:11px;
  font-weight:400;
  line-height:1;
  cursor:pointer;
  box-shadow:none;
}
#upa100-root .chips button:hover{
  border-color:var(--up-beige);
  color:var(--up-olive);
  background:#fff;
}
#upa100-root .panel>form{
  display:flex;
  align-items:flex-end;
  gap:8px;
  flex:none;
  padding:10px 12px;
  margin:0;
  background:#fff;
  border:0;
}
#upa100-root .input{
  flex:1;
  min-width:0;
  border:1px solid #d6ded7;
  border-radius:16px;
  background:#fff;
}
#upa100-root .input:focus-within{
  border-color:var(--up-sage);
  box-shadow:0 0 0 3px rgba(136,160,144,.15);
}
#upa100-root textarea{
  appearance:none;
  -webkit-appearance:none;
  display:block;
  width:100%;
  min-width:0;
  min-height:44px;
  max-height:88px;
  padding:11px 12px;
  margin:0;
  border:0!important;
  outline:0!important;
  border-radius:16px;
  box-shadow:none!important;
  background:transparent!important;
  color:#343a36;
  resize:none;
  overflow:hidden!important;
  scrollbar-width:none;
  font-size:13px;
  font-weight:400;
  line-height:1.35;
}
#upa100-root textarea::-webkit-scrollbar{
  display:none!important;
}
#upa100-root textarea::placeholder{
  color:#9aa09c;
  opacity:1;
}
#upa100-root .send{
  appearance:none;
  -webkit-appearance:none;
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  min-width:44px;
  padding:0;
  margin:0;
  border:0;
  border-radius:14px;
  background:linear-gradient(145deg,#ccb8ab,#b59e90);
  color:#fff;
  cursor:pointer;
  box-shadow:0 10px 18px rgba(191,169,156,.26);
  line-height:0;
}
#upa100-root .send:hover{
  filter:brightness(.97);
}
#upa100-root .send svg{
  display:block;
  width:18px;
  height:18px;
  fill:currentColor;
  stroke:none;
  transform:translateX(1px);
}
#upa100-root .chat-footer{
  flex:none;
  padding:0 10px 11px;
  margin:0;
  background:#fff;
  color:#90958f;
  text-align:center;
  font-size:10px;
  line-height:1.2;
}
#upa100-root .review-card{
  margin:12px 0 8px 27px;
  padding:13px;
  border:1px solid #e0e6e1;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 20px rgba(33,39,37,.06);
}
#upa100-root .review-title{
  color:var(--up-olive);
  font-size:14px;
  font-weight:800;
}
#upa100-root .review-sub{
  margin-top:2px;
  color:#7c827c;
  font-size:11px;
}
#upa100-root .stars{
  display:flex;
  gap:5px;
  margin:10px 0;
}
#upa100-root .stars button{
  appearance:none;
  -webkit-appearance:none;
  padding:0 1px;
  margin:0;
  border:0;
  background:transparent;
  color:#d6d7dc;
  font-size:24px;
  line-height:1;
  cursor:pointer;
}
#upa100-root .stars button.active{
  color:#c8ae9a;
}
#upa100-root .review-comment{
  width:100%;
  min-height:58px!important;
  max-height:90px!important;
  padding:9px 10px!important;
  border:1px solid #dee4de!important;
  border-radius:10px!important;
  background:#fff!important;
  font-size:12px!important;
}
#upa100-root .review-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-top:8px;
}
#upa100-root .review-actions button{
  appearance:none;
  -webkit-appearance:none;
  padding:7px 10px;
  margin:0;
  border-radius:9px;
  font-size:11px;
  font-weight:700;
  cursor:pointer;
}
#upa100-root .review-skip{
  border:0;
  background:transparent;
  color:#7c827c;
}
#upa100-root .review-submit{
  border:0;
  background:var(--up-olive);
  color:#fff;
}
#upa100-root .review-submit:disabled{
  opacity:.45;
}
#upa100-root .review-thanks{
  color:#2c7b52;
  font-size:12px;
  font-weight:700;
}
@media(max-width:540px){
  #upa100-root{
    right:12px;
    bottom:12px;
  }
  #upa100-root .launcher{
    width:62px;
    height:62px;
    min-width:62px;
  }
  #upa100-root .launcher-prompt{
    max-width:220px;
    padding:9px 12px;
    white-space:normal;
    font-size:11.5px;
    line-height:1.25;
  }
  #upa100-root .panel{
    position:fixed;
    inset:10px 10px 82px;
    width:auto;
    height:auto;
    border-radius:22px;
  }
}
