.juhui-ai{--juhui-ai-accent:#20201f;--juhui-ai-ivory:#f7f4ef;--juhui-ai-gold:#b49770;position:fixed;right:24px;bottom:24px;z-index:999999;font-family:"Noto Sans TC",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#272625;line-height:1.6}.juhui-ai *{box-sizing:border-box}.juhui-ai button,.juhui-ai textarea{font-family:inherit}.juhui-ai__launcher{appearance:none;border:1px solid rgba(255,255,255,.62);padding:0;width:68px;height:68px;min-width:68px;min-height:68px;border-radius:50%;display:grid;place-items:center;color:#fff;background:radial-gradient(circle at 32% 28%,#4b4843 0,#2b2a28 52%,#1f1f1e 100%);box-shadow:0 18px 46px rgba(18,18,18,.24),0 0 0 7px rgba(255,255,255,.42),inset 0 1px 0 rgba(255,255,255,.16);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);cursor:pointer;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.juhui-ai__launcher:hover{transform:translateY(-3px) scale(1.035);box-shadow:0 24px 56px rgba(18,18,18,.3),0 0 0 8px rgba(255,255,255,.5),inset 0 1px 0 rgba(255,255,255,.22);border-color:rgba(255,255,255,.82)}.juhui-ai__launcher-orb{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#d7c4a7,#9f815d);box-shadow:inset 0 1px 1px rgba(255,255,255,.55),0 8px 20px rgba(0,0,0,.22)}.juhui-ai__launcher-orb svg{width:26px;height:26px;fill:none;stroke:#fff;stroke-width:1.35}.juhui-ai__launcher-copy,.juhui-ai__launcher-arrow{display:none!important}.juhui-ai__panel{position:absolute;right:0;bottom:80px;width:410px;height:min(690px,calc(100vh - 128px));border-radius:28px;overflow:hidden;background:rgba(250,249,247,.98);border:1px solid rgba(45,42,38,.1);box-shadow:0 32px 90px rgba(22,21,19,.25);display:flex;flex-direction:column;opacity:0;transform:translateY(16px) scale(.975);transform-origin:bottom right;transition:opacity .22s ease,transform .22s ease;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}.juhui-ai__panel.is-open{opacity:1;transform:none}.juhui-ai__header{padding:20px 20px 16px;background:linear-gradient(145deg,#262523,#373430);color:#fff;display:flex;align-items:flex-start;justify-content:space-between;position:relative;overflow:hidden}.juhui-ai__header:after{content:"";position:absolute;width:170px;height:170px;border:1px solid rgba(255,255,255,.07);border-radius:50%;right:-70px;top:-105px;box-shadow:0 0 0 24px rgba(255,255,255,.025),0 0 0 48px rgba(255,255,255,.018)}.juhui-ai__brand{display:flex;align-items:center;gap:13px;position:relative;z-index:1}.juhui-ai__avatar{width:47px;height:47px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(145deg,#ceb999,#997a56);box-shadow:inset 0 1px 1px rgba(255,255,255,.45);font-size:20px}.juhui-ai__header-text{display:flex;flex-direction:column}.juhui-ai__header-text small{font-size:8px;letter-spacing:.18em;color:#cdbda6;margin-bottom:3px}.juhui-ai__header-text strong{font-size:15px;font-weight:600;letter-spacing:.02em}.juhui-ai__header-text span{font-size:11px;color:rgba(255,255,255,.62);margin-top:3px}.juhui-ai__header-text i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#86bb91;margin-right:5px;box-shadow:0 0 0 3px rgba(134,187,145,.1)}.juhui-ai__close{position:relative;z-index:2;appearance:none;border:0;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.08);cursor:pointer;transition:.2s}.juhui-ai__close:hover{background:rgba(255,255,255,.14);transform:rotate(5deg)}.juhui-ai__close svg{width:17px;height:17px;fill:none;stroke:#fff;stroke-width:1.6}.juhui-ai__intro{padding:17px 18px 15px;background:linear-gradient(180deg,#f1ece4,#f8f6f2);border-bottom:1px solid rgba(40,36,31,.07)}.juhui-ai__intro>span{font-size:10px;letter-spacing:.12em;color:#9a7b57;font-weight:700}.juhui-ai__intro p{font-size:12px;color:#69645e;margin:4px 0 12px}.juhui-ai__quick-actions{display:flex;gap:7px;overflow-x:auto;padding-bottom:1px;scrollbar-width:none}.juhui-ai__quick-actions::-webkit-scrollbar{display:none}.juhui-ai__quick-actions button{appearance:none;white-space:nowrap;border:1px solid rgba(135,111,81,.18);background:rgba(255,255,255,.82);color:#665c51;border-radius:999px;padding:7px 11px;font-size:11px;cursor:pointer;transition:.2s}.juhui-ai__quick-actions button:hover{background:#fff;border-color:rgba(135,111,81,.38);transform:translateY(-1px)}.juhui-ai__messages{flex:1;overflow-y:auto;padding:20px 17px;background:linear-gradient(180deg,#faf9f7,#f7f5f1);scrollbar-width:thin;scrollbar-color:#d8d2c9 transparent}.juhui-ai__message{display:flex;align-items:flex-end;gap:8px;margin-bottom:14px}.juhui-ai__message--user{justify-content:flex-end}.juhui-ai__message-mark{width:25px;height:25px;flex:0 0 25px;border-radius:9px;display:grid;place-items:center;background:#2c2b29;color:#d4b991;font-size:11px;box-shadow:0 4px 12px rgba(30,28,25,.12)}.juhui-ai__bubble{max-width:82%;padding:11px 13px;font-size:13.5px;line-height:1.7;word-break:break-word}.juhui-ai__message--assistant .juhui-ai__bubble{background:#fff;border:1px solid rgba(51,48,43,.08);border-radius:17px 17px 17px 5px;color:#4c4945;box-shadow:0 5px 18px rgba(37,34,29,.045)}.juhui-ai__message--user .juhui-ai__bubble{background:linear-gradient(145deg,#302f2d,#45413d);color:#fff;border-radius:17px 17px 5px 17px;box-shadow:0 8px 20px rgba(35,32,28,.14)}.juhui-ai__message.is-typing .juhui-ai__bubble{display:flex;gap:4px;align-items:center;min-height:39px}.juhui-ai__message.is-typing .juhui-ai__bubble span{width:5px;height:5px;border-radius:50%;background:#b4a38c;animation:juhuiDot 1.15s infinite ease-in-out}.juhui-ai__message.is-typing .juhui-ai__bubble span:nth-child(2){animation-delay:.15s}.juhui-ai__message.is-typing .juhui-ai__bubble span:nth-child(3){animation-delay:.3s}@keyframes juhuiDot{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-4px);opacity:1}}.juhui-ai__notice{display:flex;align-items:flex-start;gap:7px;padding:9px 16px;font-size:10.5px;color:#8b857e;background:#f9f7f4;border-top:1px solid rgba(43,40,35,.06)}.juhui-ai__notice span{width:16px;height:16px;flex:0 0 16px;border:1px solid #b9aa96;border-radius:50%;display:grid;place-items:center;font-size:9px;color:#9f8562}.juhui-ai__composer{display:flex;align-items:flex-end;gap:9px;padding:12px 13px 10px;background:#fff;border-top:1px solid rgba(43,40,35,.07)}.juhui-ai__composer textarea{display:block;width:100%;min-height:44px;max-height:112px;resize:none;border:1px solid #e2ddd6!important;border-radius:15px!important;padding:11px 13px!important;margin:0!important;background:#fbfaf8!important;color:#373431!important;font:inherit!important;font-size:13px!important;line-height:1.6!important;outline:none;box-shadow:none!important;transition:.2s}.juhui-ai__composer textarea:focus{border-color:#b7a184!important;background:#fff!important;box-shadow:0 0 0 3px rgba(183,161,132,.09)!important}.juhui-ai__composer textarea::placeholder{color:#a8a29b}.juhui-ai__composer button{appearance:none;border:0;width:44px;height:44px;border-radius:14px;background:linear-gradient(145deg,#2c2b29,#46413c);color:#fff;display:grid;place-items:center;cursor:pointer;flex:0 0 auto;box-shadow:0 7px 18px rgba(37,34,30,.16);transition:.2s}.juhui-ai__composer button:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(37,34,30,.21)}.juhui-ai__composer button svg{width:19px;height:19px;fill:none;stroke:#fff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.juhui-ai__composer button:disabled,.juhui-ai__composer textarea:disabled{opacity:.5;cursor:not-allowed}.juhui-ai__powered{text-align:center;background:#fff;padding:0 10px 9px;color:#bbb4ac;font-size:8.5px;letter-spacing:.06em}.juhui-ai__panel[hidden]{display:none!important}@media(max-width:600px){.juhui-ai{right:14px;bottom:14px}.juhui-ai__launcher{width:60px;height:60px;min-width:60px;min-height:60px;border-radius:50%;padding:0}.juhui-ai__launcher-orb{width:46px;height:46px;border-radius:50%}.juhui-ai__panel{position:fixed;left:10px;right:10px;bottom:78px;width:auto;height:min(78vh,690px);border-radius:24px}.juhui-ai__header{padding:17px 17px 14px}.juhui-ai__intro{padding:14px 15px}.juhui-ai__messages{padding:17px 14px}.juhui-ai__bubble{max-width:86%;font-size:13px}}@media(max-width:370px){.juhui-ai__panel{left:6px;right:6px;bottom:72px}.juhui-ai__quick-actions button{font-size:10px;padding:6px 9px}}
.juhui-ai__handoff{padding:10px 14px 0;background:#f9f7f4}.juhui-ai__handoff[hidden]{display:none!important}.juhui-ai__handoff button{width:100%;appearance:none;border:1px solid rgba(154,123,87,.24);background:#fff;color:#51483e;border-radius:14px;padding:10px 13px;font-size:12px;font-weight:600;cursor:pointer;transition:.2s;box-shadow:0 4px 14px rgba(37,34,29,.04)}.juhui-ai__handoff button:hover,.juhui-ai__handoff button.is-attention{border-color:#b49770;background:#fbf7f1;transform:translateY(-1px)}.juhui-ai__handoff button span{display:inline-grid;place-items:center;padding:2px 7px;margin-right:6px;border-radius:999px;background:#302f2d;color:#fff;font-size:9px;letter-spacing:.08em}.juhui-ai__message.is-degraded .juhui-ai__bubble{border-color:rgba(180,151,112,.28);background:#fffaf3}.juhui-ai__message.is-handoff .juhui-ai__bubble{background:#f7f1e8}.juhui-ai__launcher{outline:none!important}.juhui-ai__launcher:focus,.juhui-ai__launcher:focus-visible{outline:none!important}.juhui-ai__launcher:after{display:none!important}
/* V0.2.4: human portrait launcher, larger type, handoff summary card */
.juhui-ai__launcher{width:88px!important;height:88px!important;min-width:88px!important;min-height:88px!important;background:#fff!important;border:3px solid #fff!important;box-shadow:0 16px 38px rgba(34,29,24,.22),0 0 0 1px rgba(180,151,112,.28)!important;overflow:visible!important;position:relative!important}
.juhui-ai__launcher-orb{width:82px!important;height:82px!important;border-radius:50%!important;overflow:hidden!important;background:#efe5d5!important;box-shadow:none!important;display:block!important}
.juhui-ai__launcher-orb img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 24%!important;transform:scale(1.08);transform-origin:center top}
.juhui-ai__online-dot{position:absolute;right:3px;bottom:7px;width:16px;height:16px;border-radius:50%;background:#59bf79;border:3px solid #fff;box-shadow:0 2px 7px rgba(0,0,0,.16)}
.juhui-ai__bubble{font-size:15px!important;line-height:1.78!important}.juhui-ai__intro p{font-size:13.5px!important}.juhui-ai__quick-actions button{font-size:12.5px!important}.juhui-ai__notice{font-size:11.5px!important}.juhui-ai__composer textarea{font-size:14.5px!important}.juhui-ai__header-text strong{font-size:17px!important}.juhui-ai__header-text span{font-size:12px!important}.juhui-ai__handoff button{font-size:13.5px!important;padding:12px 14px!important}
.juhui-ai__handoff-card{margin:0 14px 10px;padding:14px;border:1px solid rgba(180,151,112,.24);border-radius:16px;background:#fffaf4;box-shadow:0 8px 22px rgba(40,34,28,.07)}.juhui-ai__handoff-card[hidden]{display:none!important}.juhui-ai__handoff-card-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.juhui-ai__handoff-card-head strong{font-size:14px;color:#433a31}.juhui-ai__handoff-card-head button{border:0;background:transparent;font-size:22px;line-height:1;cursor:pointer;color:#8e8174}.juhui-ai__handoff-card p{font-size:12px;color:#776d63;margin:6px 0 9px}.juhui-ai__handoff-card textarea{width:100%;height:112px;resize:none;border:1px solid #e4d8c9;border-radius:12px;background:#fff;padding:10px;font-size:12.5px;line-height:1.65;color:#51483f}.juhui-ai__handoff-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}.juhui-ai__handoff-actions button,.juhui-ai__handoff-actions a{display:flex;align-items:center;justify-content:center;text-decoration:none;border-radius:12px;padding:10px 8px;font-size:12.5px;font-weight:600;cursor:pointer}.juhui-ai__handoff-actions button{border:1px solid #d7c4ad;background:#fff;color:#5d5146}.juhui-ai__handoff-actions a{border:1px solid #292725;background:#292725;color:#fff}
@media(max-width:600px){.juhui-ai__launcher{width:78px!important;height:78px!important;min-width:78px!important;min-height:78px!important}.juhui-ai__launcher-orb{width:72px!important;height:72px!important}.juhui-ai__bubble{font-size:14.5px!important}.juhui-ai__panel{bottom:94px!important}}


/* V0.2.5 — portrait concierge launcher */
.juhui-ai__launcher{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:142px!important;
  height:154px!important;
  min-width:142px!important;
  min-height:154px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
  position:relative!important;
  display:block!important;
  cursor:pointer!important;
}
.juhui-ai__launcher:hover{
  transform:translateY(-4px)!important;
  box-shadow:none!important;
  border:0!important;
}
.juhui-ai__launcher-orb{
  position:absolute!important;
  left:50%!important;
  top:0!important;
  width:122px!important;
  height:124px!important;
  transform:translateX(-50%)!important;
  border-radius:50%!important;
  overflow:hidden!important;
  display:block!important;
  background:linear-gradient(145deg,#f4eadc,#e2c9a7)!important;
  border:2px solid rgba(218,188,146,.88)!important;
  box-shadow:0 16px 36px rgba(69,52,35,.18),0 0 0 5px rgba(255,255,255,.86)!important;
}
.juhui-ai__launcher-orb img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center center!important;
  transform:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.juhui-ai__online-dot{
  position:absolute!important;
  z-index:4!important;
  right:18px!important;
  top:92px!important;
  width:16px!important;
  height:16px!important;
  border-radius:50%!important;
  background:#55bf77!important;
  border:3px solid #fff!important;
  box-shadow:0 3px 9px rgba(26,74,39,.22)!important;
}
.juhui-ai__launcher-label{
  position:absolute!important;
  z-index:5!important;
  left:50%!important;
  bottom:0!important;
  transform:translateX(-50%)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  width:max-content!important;
  min-width:126px!important;
  height:36px!important;
  padding:0 15px!important;
  border-radius:999px!important;
  color:#f8ead5!important;
  background:linear-gradient(145deg,#252422,#35312d)!important;
  border:1px solid rgba(255,255,255,.14)!important;
  box-shadow:0 10px 24px rgba(24,21,18,.24)!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:650!important;
  letter-spacing:.04em!important;
  white-space:nowrap!important;
}
.juhui-ai__launcher-status{
  width:8px!important;
  height:8px!important;
  border-radius:50%!important;
  background:#65c983!important;
  box-shadow:0 0 0 3px rgba(101,201,131,.12)!important;
  flex:0 0 8px!important;
}
.juhui-ai__launcher:focus,
.juhui-ai__launcher:focus-visible{
  outline:none!important;
  border:0!important;
  box-shadow:none!important;
}
/* Keep the conversation type comfortably readable */
.juhui-ai__bubble{font-size:15.5px!important;line-height:1.8!important}
.juhui-ai__intro p{font-size:14px!important}
.juhui-ai__composer textarea{font-size:15px!important}
.juhui-ai__quick-actions button{font-size:13px!important}
@media(max-width:600px){
  .juhui-ai{right:12px;bottom:12px}
  .juhui-ai__launcher{width:122px!important;height:132px!important;min-width:122px!important;min-height:132px!important}
  .juhui-ai__launcher-orb{width:103px!important;height:105px!important}
  .juhui-ai__online-dot{right:15px!important;top:77px!important;width:14px!important;height:14px!important}
  .juhui-ai__launcher-label{height:33px!important;min-width:112px!important;padding:0 12px!important;font-size:12px!important}
  .juhui-ai__panel{bottom:144px!important}
  .juhui-ai__bubble{font-size:15px!important}
}
/* V0.3.0 — server-side handoff / lead saved UI */
.juhui-ai__lead-meta{display:flex;flex-direction:column;gap:2px;margin:10px 0;padding:11px 12px;border-radius:12px;background:#fff;border:1px solid #e5d9ca;color:#4b4239}.juhui-ai__lead-meta[hidden]{display:none!important}.juhui-ai__lead-meta strong{font-size:13.5px}.juhui-ai__lead-meta span{font-size:11.5px;color:#8a7d70}.juhui-ai__handoff-actions--single{grid-template-columns:1fr}.juhui-ai__handoff-actions--single a[hidden]{display:none!important}.juhui-ai__handoff-card p{font-size:13px!important;line-height:1.7!important}

/* V0.3.1 — spacious conversation viewport + refined concierge launcher */
.juhui-ai__panel{width:460px!important;height:min(780px,calc(100vh - 72px))!important;bottom:28px!important}
.juhui-ai__messages{min-height:0!important;flex:1 1 auto!important;padding:24px 20px!important}
.juhui-ai__intro{flex:0 0 auto!important}
.juhui-ai__handoff,.juhui-ai__notice,.juhui-ai__composer,.juhui-ai__powered{flex:0 0 auto!important}
.juhui-ai__launcher{width:150px!important;height:160px!important;min-width:150px!important;min-height:160px!important}
.juhui-ai__launcher-orb{width:128px!important;height:130px!important;background:#f4eadc!important;border:2px solid #d8b47f!important;box-shadow:0 15px 34px rgba(70,51,31,.16),0 0 0 4px rgba(255,255,255,.94)!important}
.juhui-ai__launcher-orb img{object-fit:cover!important;object-position:center 38%!important}
.juhui-ai__online-dot{right:17px!important;top:98px!important}
.juhui-ai__launcher-label{bottom:0!important;min-width:132px!important;height:38px!important;font-size:13.5px!important}
.juhui-ai__panel.is-open + .juhui-ai__launcher{opacity:0!important;pointer-events:none!important;transform:translateY(8px)!important}
@media(max-width:600px){
 .juhui-ai__panel{left:8px!important;right:8px!important;top:10px!important;bottom:10px!important;width:auto!important;height:auto!important;max-height:none!important;border-radius:24px!important}
 .juhui-ai__messages{padding:20px 16px!important}
 .juhui-ai__launcher{width:128px!important;height:138px!important;min-width:128px!important;min-height:138px!important}
 .juhui-ai__launcher-orb{width:108px!important;height:110px!important}
 .juhui-ai__online-dot{right:14px!important;top:82px!important}
 .juhui-ai__launcher-label{min-width:116px!important;height:34px!important;font-size:12px!important}
}
