.hlc-root{position:fixed;z-index:2147483000;bottom:92px;font-family:inherit;direction:rtl;pointer-events:auto}
.hlc-root,.hlc-root *{box-sizing:border-box}
.hlc-pos-right{right:22px}.hlc-pos-left{left:22px}
.hlc-launch{width:68px;height:68px;border:0;border-radius:50%;padding:0;background:#fff;box-shadow:0 14px 40px rgba(0,0,0,.28);cursor:pointer;position:relative;overflow:visible;display:block}
.hlc-launch img{width:100%;height:100%;object-fit:cover;border-radius:50%;border:3px solid #ff7a00}
.hlc-online{position:absolute;width:15px;height:15px;border-radius:50%;background:#22c55e;border:3px solid #fff;right:1px;bottom:5px}
.hlc-panel{position:absolute;bottom:82px;width:min(390px,calc(100vw - 24px));height:min(660px,calc(100vh - 145px));background:#f2f2f7;border:1px solid rgba(255,255,255,.5);border-radius:26px;overflow:hidden;box-shadow:0 24px 80px rgba(0,0,0,.3);display:flex;flex-direction:column}
.hlc-pos-right .hlc-panel{right:0}.hlc-pos-left .hlc-panel{left:0}
.hlc-panel[hidden]{display:none!important}.hlc-panel.is-open{display:flex}
.hlc-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;background:#0b1220;color:#fff}.hlc-agent{display:flex;align-items:center;gap:10px}.hlc-agent img{width:42px;height:42px;border-radius:50%;object-fit:cover;border:2px solid #ff8300}.hlc-agent strong,.hlc-agent small{display:block}.hlc-agent strong{font-size:15px}.hlc-agent small{color:#cbd5e1;font-size:11px;margin-top:2px}.hlc-close{border:0;background:rgba(255,255,255,.1);color:#fff;width:36px;height:36px;border-radius:50%;font-size:26px;cursor:pointer}.hlc-body{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.hlc-loading{margin:auto;color:#64748b}
.hlc-scroll{flex:1;overflow:auto;padding:14px;scroll-behavior:smooth}.hlc-intro{padding:14px;border-radius:18px;background:#fff;color:#334155;line-height:1.9;margin-bottom:12px}.hlc-form{display:grid;grid-template-columns:1fr 1fr;gap:9px}.hlc-form label{display:grid;gap:5px;color:#475569;font-size:12px;font-weight:700}.hlc-form .full{grid-column:1/-1}.hlc-form input{width:100%;box-sizing:border-box;background:#fff!important;color:#111827!important;border:1px solid #d7dbe2!important;border-radius:12px!important;padding:11px!important;outline:none}.hlc-form input:focus{border-color:#ff8300!important;box-shadow:0 0 0 3px rgba(255,131,0,.12)}.hlc-consent{display:flex!important;grid-column:1/-1!important;align-items:flex-start;gap:8px;font-weight:500!important;line-height:1.7}.hlc-consent input{width:auto!important;margin-top:4px}.hlc-btn{border:0;border-radius:13px;padding:11px 14px;background:#ff8300;color:#151515;font:inherit;font-weight:900;cursor:pointer}.hlc-form .hlc-btn{grid-column:1/-1}.hlc-otp{text-align:center}.hlc-otp input{font-size:26px;letter-spacing:8px;text-align:center;direction:ltr}.hlc-faq-title{font-weight:900;color:#111827;margin:14px 0 8px}.hlc-faqs{display:flex;flex-wrap:wrap;gap:7px}.hlc-faq{border:1px solid #dfe3ea;background:#fff;border-radius:999px;padding:8px 11px;color:#26313d;cursor:pointer;font:inherit;font-size:12px}.hlc-faq-answer{margin:9px 0;padding:11px 13px;border-radius:16px;background:#fff;color:#334155;line-height:1.8}
.hlc-messages{display:flex;flex-direction:column;gap:8px;padding-bottom:10px}.hlc-msg{max-width:82%;padding:10px 13px;border-radius:18px;line-height:1.85;box-shadow:0 1px 1px rgba(0,0,0,.05);word-break:break-word}.hlc-msg p{margin:0;font-size:14px}.hlc-msg small{display:block;font-size:10px;margin-top:4px;opacity:.55}.hlc-msg.is-visitor{align-self:flex-end;background:#0a84ff;color:#fff;border-bottom-right-radius:6px}.hlc-msg.is-ai{align-self:flex-start;background:#fff;color:#111827;border-bottom-left-radius:6px}.hlc-msg.is-admin{align-self:flex-start;background:#e7f7ee;color:#10291a;border-bottom-left-radius:6px}.hlc-msg.is-system{align-self:center;max-width:92%;background:transparent;color:#64748b;text-align:center;font-size:11px;box-shadow:none}.hlc-msg audio{max-width:100%;height:36px;margin-top:5px}
.hlc-composer{padding:9px 10px 11px;background:rgba(255,255,255,.92);border-top:1px solid #dde2e9;display:flex;align-items:flex-end;gap:7px}.hlc-composer textarea{flex:1;resize:none;min-height:42px;max-height:100px;border:1px solid #d5dae2!important;border-radius:18px!important;background:#fff!important;color:#111827!important;padding:10px 12px!important;box-sizing:border-box}.hlc-send,.hlc-mic,.hlc-human{border:0;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;cursor:pointer;font-size:18px}.hlc-send{background:#ff8300}.hlc-mic{background:#111827;color:#fff}.hlc-mic.is-recording{background:#ef4444;animation:hlcpulse 1s infinite}.hlc-human{background:#fff;border:1px solid #d5dae2}.hlc-recording{padding:7px 12px;background:#fee2e2;color:#991b1b;font-size:11px;text-align:center}.hlc-error{padding:9px 11px;border-radius:12px;background:#fff0f0;color:#b42318;margin:8px 0}.hlc-success{padding:9px 11px;border-radius:12px;background:#eafaf0;color:#067647;margin:8px 0}.hlc-privacy{font-size:10px;color:#64748b;margin-top:8px}.hlc-privacy a{color:#475569}
@keyframes hlcpulse{50%{transform:scale(.9)}}
@media(max-width:600px){.hlc-root{bottom:88px}.hlc-pos-right{right:12px}.hlc-pos-left{left:12px}.hlc-launch{width:58px;height:58px}.hlc-panel{position:fixed;left:8px!important;right:8px!important;bottom:78px;width:auto;height:min(690px,calc(100vh - 105px));border-radius:22px}.hlc-form{grid-template-columns:1fr}.hlc-form .full{grid-column:auto}.hlc-msg{max-width:88%}}
@media(min-width:601px){.hlc-root[data-desktop="no"]{display:none!important}}@media(max-width:600px){.hlc-root[data-mobile="no"]{display:none!important}}

/* 1.1.0 — viewport-safe concierge + explicit AI entry */
.hlc-panel{position:fixed!important;top:max(12px,env(safe-area-inset-top))!important;bottom:176px!important;height:auto!important;max-height:none!important;right:auto;left:auto}
.hlc-pos-right .hlc-panel{right:22px!important}.hlc-pos-left .hlc-panel{left:22px!important}
.hlc-ai-ready{display:flex;align-items:flex-start;gap:10px;padding:12px 13px;margin:0 0 11px;border-radius:16px;background:linear-gradient(135deg,#0b1220,#172033);color:#fff;box-shadow:0 8px 24px rgba(15,23,42,.10)}
.hlc-ai-ready>span{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:12px;background:#ff8300;color:#111827;font-size:18px;font-weight:900}.hlc-ai-ready b,.hlc-ai-ready small{display:block}.hlc-ai-ready b{font-size:13px}.hlc-ai-ready small{margin-top:4px;color:#cbd5e1;font-size:11px;line-height:1.8}.hlc-ai-ready.is-human>span{background:#fff;color:#111827}.hlc-human-cta{width:100%;border:1px solid #d7dce4;background:#fff;color:#111827;border-radius:13px;padding:10px 12px;margin:10px 0 12px;font:inherit;font-weight:900;cursor:pointer}.hlc-human-cta:hover{border-color:#ff8300}.hlc-faq-title{margin-top:4px}.hlc-panel .hlc-msg p{font-size:14px;line-height:1.9}
@media(max-width:600px){.hlc-panel{top:max(8px,env(safe-area-inset-top))!important;bottom:78px!important;left:8px!important;right:8px!important;width:auto!important;border-radius:22px}.hlc-ai-ready{padding:11px}.hlc-ai-ready small{font-size:10px}}

/* 1.3.0 — Gemini Live voice + RAG source links */
.hlc-inline-link{color:inherit;text-decoration:underline;text-underline-offset:3px;word-break:break-all}.hlc-msg.is-ai .hlc-inline-link,.hlc-msg.is-admin .hlc-inline-link{color:#075bb8}.hlc-msg.is-visitor .hlc-inline-link{color:#fff}
.hlc-live-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:11px 0 13px}.hlc-live-start{border:0;border-radius:14px;padding:11px 10px;background:#111827;color:#fff;font:inherit;font-size:12px;font-weight:900;cursor:pointer;box-shadow:0 7px 18px rgba(15,23,42,.12)}.hlc-live-start.is-translate{background:#fff;color:#172033;border:1px solid #d8dee8}.hlc-live-start:hover{transform:translateY(-1px)}
.hlc-live-screen{position:absolute;inset:0;z-index:20;display:flex;flex-direction:column;background:linear-gradient(180deg,#07111f 0%,#101827 54%,#f5f6fa 54%,#f5f6fa 100%);color:#fff;overflow:hidden}.hlc-live-top{display:grid;grid-template-columns:38px minmax(0,1fr) 14px;align-items:center;gap:10px;padding:14px;border-bottom:1px solid rgba(255,255,255,.08)}.hlc-live-top>div{min-width:0}.hlc-live-top b,.hlc-live-top small{display:block}.hlc-live-top b{font-size:15px}.hlc-live-top small{font-size:10px;color:#b9c5d5;margin-top:3px}.hlc-live-back{width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;font-size:24px;cursor:pointer}.hlc-live-dot{width:11px;height:11px;border-radius:50%;background:#f59e0b;box-shadow:0 0 0 5px rgba(245,158,11,.12)}
.hlc-live-lang{padding:10px 14px;background:rgba(255,255,255,.05);display:flex;align-items:center;justify-content:space-between;gap:8px}.hlc-live-lang label{font-size:11px;font-weight:800}.hlc-live-lang select{margin-inline-start:6px;border:1px solid rgba(255,255,255,.18);border-radius:9px;background:#111c2e;color:#fff;padding:5px 8px}.hlc-live-lang small{font-size:9px;color:#9fb0c5}
.hlc-live-visual{min-height:235px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:22px 16px;text-align:center}.hlc-live-wave{height:70px;display:flex;align-items:center;gap:7px;margin-bottom:17px}.hlc-live-wave i{display:block;width:7px;height:22px;border-radius:99px;background:linear-gradient(#ffb257,#ff7800);animation:hlcWave 1.15s ease-in-out infinite}.hlc-live-wave i:nth-child(2){height:42px;animation-delay:.1s}.hlc-live-wave i:nth-child(3){height:62px;animation-delay:.2s}.hlc-live-wave i:nth-child(4){height:38px;animation-delay:.3s}.hlc-live-wave i:nth-child(5){height:25px;animation-delay:.4s}@keyframes hlcWave{50%{transform:scaleY(.45);opacity:.6}}
.hlc-live-state{font-size:14px;color:#fff}.hlc-live-state.is-ready{color:#86efac}.hlc-live-state.is-error{color:#fecaca}.hlc-live-state.is-warn{color:#fde68a}.hlc-live-input,.hlc-live-output{max-width:94%;margin:9px 0 0;font-size:12px;line-height:1.85;color:#cbd5e1}.hlc-live-output{color:#fff;font-weight:700}
.hlc-live-sourcebox{flex:1;min-height:0;overflow:auto;padding:13px 14px;background:#f5f6fa;color:#111827}.hlc-live-sourcebox:empty:before{content:'در پاسخ‌های مربوط به سایت، لینک منابع RAG اینجا نمایش داده می‌شود.';display:block;text-align:center;color:#7b8492;font-size:10px;padding:22px 8px}.hlc-live-sourcebox>b{display:block;font-size:11px;margin-bottom:8px}.hlc-live-sourcebox>div{display:grid;gap:7px}.hlc-live-sourcebox a{display:block;padding:9px 11px;border-radius:11px;border:1px solid #dde2e9;background:#fff;color:#075bb8;text-decoration:none;font-size:11px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hlc-live-bottom{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 12px max(11px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e0e4eb}.hlc-live-bottom button{min-height:42px;border:0;border-radius:13px;font:inherit;font-size:12px;font-weight:900;cursor:pointer}.hlc-live-stop{background:#111827;color:#fff}.hlc-live-human{background:#ff8300;color:#17141d}
@media(max-width:600px){.hlc-live-actions{grid-template-columns:1fr}.hlc-live-screen{position:absolute}.hlc-live-visual{min-height:210px;padding:18px 12px}.hlc-live-lang{align-items:flex-start;flex-direction:column}.hlc-live-bottom{grid-template-columns:1fr}.hlc-live-sourcebox{padding-bottom:14px}}
.hlc-translate-launch{display:grid;grid-template-columns:92px 1fr;gap:6px}.hlc-translate-launch select{width:100%;border:1px solid #d8dee8;border-radius:12px;background:#fff;color:#172033;padding:7px;font:inherit;font-size:10px}.hlc-translate-launch .hlc-live-start{width:100%}@media(max-width:600px){.hlc-translate-launch{grid-template-columns:105px 1fr}}

/* 1.4.1 — readable AI typography + RTL/LTR link isolation */
.hlc-msg p strong{font-weight:900;color:inherit}.hlc-msg p .hlc-bullet{font-weight:900;color:#ff8300}
.hlc-inline-link{direction:ltr!important;unicode-bidi:isolate!important;display:inline-block;max-width:100%;overflow-wrap:anywhere;word-break:break-word;text-align:left;color:#0877d1;text-decoration:none;border-bottom:1px solid rgba(8,119,209,.28)}
.hlc-inline-link:hover{text-decoration:none;border-bottom-color:currentColor}


/* HLC 1.6.0 — Aisa floating orb + softer conversation UI */
.hlc-root{bottom:30px!important}
.hlc-launch{isolation:isolate;box-shadow:0 16px 42px rgba(15,23,42,.26),0 0 0 1px rgba(255,131,0,.16);transition:transform .25s ease,box-shadow .25s ease}
.hlc-launch:hover{transform:translateY(-4px) scale(1.035);box-shadow:0 22px 54px rgba(15,23,42,.3),0 0 30px rgba(255,131,0,.2)}
.hlc-launch:before{content:"";position:absolute;inset:-7px;border-radius:50%;z-index:0;background:conic-gradient(from 0deg,transparent 0 12%,rgba(255,131,0,.3) 23%,#ff8300 42%,#ffc266 55%,transparent 72% 100%);animation:hlcAisaHalo 3.2s linear infinite;filter:drop-shadow(0 0 8px rgba(255,131,0,.48));pointer-events:none}
.hlc-launch:after{content:"";position:absolute;inset:-12px;border:2px solid rgba(255,131,0,.18);border-radius:50%;z-index:-1;animation:hlcAisaPulse 2.4s ease-out infinite;pointer-events:none}
.hlc-launch img{position:relative;z-index:2;border-color:#ff8300!important;background:#fff}
.hlc-online{z-index:4}
@keyframes hlcAisaHalo{to{transform:rotate(360deg)}}
@keyframes hlcAisaPulse{0%{transform:scale(.88);opacity:.7}70%,100%{transform:scale(1.18);opacity:0}}
.hlc-panel{bottom:104px!important;border:1px solid rgba(148,163,184,.24)!important;box-shadow:0 28px 90px rgba(15,23,42,.26)!important}
.hlc-head{box-shadow:inset 0 -1px rgba(255,255,255,.07)}
.hlc-agent img{box-shadow:0 6px 18px rgba(255,131,0,.23);border:2px solid rgba(255,131,0,.75)}
.hlc-live-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
.hlc-live-start{border-radius:16px!important;box-shadow:0 9px 22px rgba(255,131,0,.16)!important;transition:transform .2s ease,box-shadow .2s ease!important}
.hlc-live-start:hover{transform:translateY(-2px);box-shadow:0 13px 28px rgba(255,131,0,.25)!important}
.hlc-composer button{transition:transform .18s ease,box-shadow .18s ease}
.hlc-composer button:hover{transform:translateY(-2px) scale(1.04)}
@media(max-width:600px){.hlc-root{bottom:22px!important}.hlc-panel{bottom:86px!important}.hlc-launch{width:58px;height:58px}}
@media(prefers-reduced-motion:reduce){.hlc-launch:before,.hlc-launch:after{animation:none!important}}

/* Academy lesson placement: circular launcher only. */
.hlc-root.hlc-academy-context{
  left:24px!important;right:auto!important;bottom:18px!important;
}
.hlc-root.hlc-academy-context .hlc-panel{left:24px!important;right:auto!important;bottom:96px!important}
.hlc-root.hlc-academy-context .hlc-launch{width:70px;height:70px}
@media(max-width:600px){
  .hlc-root.hlc-academy-context{left:14px!important;bottom:14px!important}
  .hlc-root.hlc-academy-context .hlc-launch{width:60px;height:60px}
  .hlc-root.hlc-academy-context .hlc-panel{left:8px!important;right:8px!important;bottom:78px!important}
}

/* HLC 1.7.0 — mobile safe-area, mode switcher and reading-friendly message history */
.hlc-mode-switcher{display:flex;align-items:flex-start;justify-content:center;gap:18px;padding:14px 10px 8px;border-bottom:1px solid rgba(148,163,184,.14);background:linear-gradient(180deg,#fff,rgba(248,250,252,.92));position:sticky;top:0;z-index:3;backdrop-filter:blur(14px)}
.hlc-mode-choice{appearance:none;border:0;background:transparent;padding:0;display:grid;justify-items:center;gap:5px;cursor:pointer;font:inherit;color:#64748b;min-width:64px;transition:transform .2s ease,color .2s ease}
.hlc-mode-choice:hover{transform:translateY(-2px)}.hlc-mode-choice small{font-size:10px;font-weight:900;max-width:84px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hlc-mode-orb{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;padding:3px;background:linear-gradient(145deg,#fff,#edf2f7);box-shadow:0 9px 20px rgba(15,23,42,.11),inset 0 1px 1px rgba(255,255,255,.9);border:2px solid transparent;transition:box-shadow .22s ease,border-color .22s ease,transform .22s ease}
.hlc-mode-orb img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}.hlc-mode-choice.is-active{color:#111827}.hlc-mode-choice.is-active .hlc-mode-orb{border-color:#ff8300;box-shadow:0 10px 24px rgba(255,131,0,.22),0 0 0 5px rgba(255,131,0,.10);transform:scale(1.04)}
.hlc-voice-orb{background:radial-gradient(circle at 32% 28%,#fff4d8 0 7%,#ffbf63 28%,#ff850b 62%,#dc6400 100%);display:flex;align-items:center;justify-content:center;gap:4px}.hlc-voice-orb i{display:block;width:4px;border-radius:99px;background:#fff;box-shadow:0 1px 4px rgba(73,34,0,.15);height:15px;animation:hlcVoiceMini 1.1s ease-in-out infinite}.hlc-voice-orb i:nth-child(2){height:26px;animation-delay:.12s}.hlc-voice-orb i:nth-child(3){height:18px;animation-delay:.24s}@keyframes hlcVoiceMini{50%{transform:scaleY(.55);opacity:.75}}
.hlc-scroll{scroll-behavior:smooth;overscroll-behavior:contain}.hlc-messages{scroll-margin-top:90px}.hlc-live-fallback{margin-top:18px;max-width:330px;padding:12px 14px;border:1px solid rgba(251,191,36,.28);background:rgba(255,251,235,.10);border-radius:15px;color:#fff}.hlc-live-fallback b,.hlc-live-fallback small{display:block}.hlc-live-fallback small{font-size:10px;line-height:1.8;color:#d7dee8;margin-top:5px}.hlc-live-fallback>div{display:flex;gap:7px;margin-top:9px}.hlc-live-fallback button{border:0;border-radius:10px;padding:8px 10px;font:inherit;font-size:10px;font-weight:900;cursor:pointer}.hlc-live-fallback button:first-child{background:#fff;color:#111827}.hlc-live-fallback button:last-child{background:#ff8300;color:#fff}
@media(max-width:600px){
  .hlc-root{bottom:94px!important}
  .hlc-root.hlc-academy-context{left:14px!important;bottom:100px!important}
  .hlc-panel,.hlc-root.hlc-academy-context .hlc-panel{bottom:98px!important}
  .hlc-mode-switcher{gap:12px;padding-top:11px}.hlc-mode-orb{width:48px;height:48px}.hlc-mode-choice{min-width:58px}.hlc-mode-choice small{font-size:9px}
}
@media(prefers-reduced-motion:reduce){.hlc-voice-orb i{animation:none!important}.hlc-mode-choice,.hlc-mode-orb{transition:none!important}}
/* 1.7.0 mobile bottom-nav clearance — final override */
@media(max-width:600px){
  .hlc-root{bottom:calc(112px + env(safe-area-inset-bottom))!important}
  .hlc-root.hlc-academy-context{left:14px!important;right:auto!important;bottom:calc(118px + env(safe-area-inset-bottom))!important}
}


/* Aisa 2.0 — iMessage transcript, context actions and strict voice lifecycle UI */
.hlc-msg{position:relative;min-width:64px;padding:9px 13px 8px;border-radius:20px;box-shadow:0 4px 14px rgba(15,23,42,.07)}
.hlc-msg-label{display:block;margin-bottom:3px;font-size:9px;font-weight:900;opacity:.66;letter-spacing:.01em}
.hlc-msg.is-visitor{align-self:flex-end;background:linear-gradient(145deg,#ff941f,#ff7200);color:#fff;border-bottom-right-radius:5px;box-shadow:0 8px 20px rgba(255,122,0,.18)}
.hlc-msg.is-ai{align-self:flex-start;background:#fff;color:#161922;border:1px solid #e4e6eb;border-bottom-left-radius:5px}
.hlc-msg.is-admin{align-self:flex-start;background:linear-gradient(145deg,#17141d,#2b2731);color:#fff;border-bottom-left-radius:5px}
.hlc-msg.is-system{min-width:0;background:transparent;border:0;box-shadow:none}.hlc-msg.is-system .hlc-msg-label{display:none}
.hlc-msg.is-ai:after,.hlc-msg.is-admin:after,.hlc-msg.is-visitor:after{content:"";position:absolute;bottom:0;width:9px;height:12px;background:inherit}
.hlc-msg.is-visitor:after{right:-3px;border-bottom-left-radius:10px}.hlc-msg.is-ai:after,.hlc-msg.is-admin:after{left:-3px;border-bottom-right-radius:10px}
.hlc-composer{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;align-items:end!important;padding:10px 11px max(11px,env(safe-area-inset-bottom))!important;gap:8px!important;background:rgba(255,255,255,.97)!important}
.hlc-composer textarea{min-height:44px!important;border-radius:19px!important;padding:11px 14px!important}
.hlc-composer .hlc-send{width:44px;height:44px;border-radius:50%;background:linear-gradient(145deg,#ff9c31,#ff7200);color:#151515;font-size:19px;box-shadow:0 7px 18px rgba(255,122,0,.24)}
.hlc-human,.hlc-mic,#hlc-rec-state{display:none!important}

.hlc-live-visual{justify-content:flex-start!important;min-height:0!important;flex:1!important;padding:17px 13px 12px!important;overflow:hidden}.hlc-live-wave{height:42px!important;margin-bottom:8px!important}.hlc-live-state{margin-bottom:8px}
.hlc-live-transcript{width:100%;flex:1;min-height:120px;overflow:auto;display:flex;flex-direction:column;gap:8px;padding:5px 3px 10px;scroll-behavior:smooth;overscroll-behavior:contain;text-align:initial}
.hlc-live-empty{margin:auto;color:#91a0b4;font-size:11px;text-align:center;padding:16px}
.hlc-live-bubble{position:relative;max-width:86%;padding:9px 12px;border-radius:18px;line-height:1.85;box-shadow:0 5px 18px rgba(0,0,0,.14);word-break:break-word;transition:opacity .15s ease}
.hlc-live-bubble>span{display:block;font-size:9px;font-weight:900;opacity:.65;margin-bottom:2px}.hlc-live-bubble p{margin:0;font-size:12px}
.hlc-live-bubble.is-user{align-self:flex-end;background:linear-gradient(145deg,#ff941f,#ff7200);color:#fff;border-bottom-right-radius:5px}
.hlc-live-bubble.is-aisa{align-self:flex-start;background:#fff;color:#161922;border-bottom-left-radius:5px}
.hlc-live-bubble:not(.is-final){outline:1px solid rgba(255,255,255,.14)}
.hlc-live-sourcebox{max-height:116px!important;overflow:auto!important;flex:0 0 auto!important}

.hlc-service-advisor{width:min(520px,100%);margin:18px auto 2px!important;padding:12px 16px!important;border:1px solid rgba(255,131,0,.24)!important;border-radius:18px!important;background:linear-gradient(135deg,#17141d,#29252f)!important;color:#fff!important;display:grid!important;grid-template-columns:48px 1fr!important;grid-template-rows:auto auto!important;column-gap:11px!important;text-align:right!important;font:inherit!important;cursor:pointer!important;box-shadow:0 16px 36px rgba(23,20,29,.13)!important}
.hlc-service-advisor>span{grid-row:1/3;display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:radial-gradient(circle at 32% 25%,#ffd49e,#ff8300 62%,#d95d00);font-size:23px;box-shadow:inset 0 1px 1px rgba(255,255,255,.5),0 8px 18px rgba(255,131,0,.22)}
.hlc-service-advisor>b{font-size:13px}.hlc-service-advisor>small{font-size:10px;color:#cbd5e1;line-height:1.7;margin-top:2px}.hlc-service-advisor:hover{transform:translateY(-2px)}

@media(max-width:600px){
 .hlc-msg{max-width:86%!important}.hlc-live-bubble{max-width:90%}.hlc-live-bottom{grid-template-columns:1fr 1fr!important}.hlc-live-bottom button{font-size:11px!important}
 .hlc-service-advisor{grid-template-columns:42px 1fr!important;padding:10px 12px!important}.hlc-service-advisor>span{width:40px;height:40px;font-size:20px}.hlc-service-advisor>b{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.hlc-live-transcript,.hlc-service-advisor{scroll-behavior:auto!important;transition:none!important}}


/* Aisa 2.0.1: compact RAG links and cleaner archived bubbles */
.hlc-msg.is-ai .hlc-inline-link,.hlc-msg.is-admin .hlc-inline-link{
 display:inline-flex!important;align-items:center;max-width:100%;margin:5px 3px 2px 0;padding:5px 9px;
 border:1px solid #d9e6f4!important;border-radius:999px;background:#f5f9fd;color:#0869b6!important;
 font-size:11px;font-weight:800;line-height:1.5;text-decoration:none!important;word-break:normal!important
}
.hlc-msg.is-ai .hlc-inline-link:before,.hlc-msg.is-admin .hlc-inline-link:before{content:"↗";margin-left:5px;font-size:10px}
.hlc-msg.is-ai p,.hlc-msg.is-admin p{white-space:normal}


/* Aisa 2.1.0 — qualification before paid AI usage */
.hlc-qualification{margin:12px 10px 16px;padding:14px;border:1px solid rgba(255,131,0,.2);border-radius:20px;background:linear-gradient(145deg,#fff,#fffaf5);box-shadow:0 14px 34px rgba(23,20,29,.08);display:grid;gap:10px}
.hlc-qual-aisa{display:grid;grid-template-columns:46px 1fr;gap:10px;align-items:center;padding-bottom:8px;border-bottom:1px solid #f0e9e2}.hlc-qual-aisa img{width:46px;height:46px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 4px rgba(255,131,0,.1)}.hlc-qual-aisa b{font-size:12px;color:#17141d}.hlc-qual-aisa p{margin:3px 0 0;font-size:10px;line-height:1.75;color:#68707d}
.hlc-qualification label{display:grid;gap:5px}.hlc-qualification label>span{font-size:10px;font-weight:900;color:#34313a}.hlc-qualification input,.hlc-qualification select{width:100%;min-height:40px;border:1px solid #dfe3e8;border-radius:12px;background:#fff;color:#17141d;padding:7px 10px;font:inherit;font-size:11px}.hlc-qual-save{border:0;border-radius:13px;min-height:43px;background:linear-gradient(135deg,#17141d,#2d2932);color:#fff;font:inherit;font-size:11px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(23,20,29,.16)}.hlc-qual-save:hover{background:linear-gradient(135deg,#ff8f17,#ff7200);color:#17141d}.hlc-qual-error{min-height:15px;color:#b42318;font-size:9px;text-align:center}


/* Aisa 2.4 — provider choice + optional profile */
.hlc-provider-title{display:block;font-size:11px;color:#3d3942;margin-bottom:7px}.hlc-provider-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.hlc-provider-card{position:relative!important;display:grid!important;grid-template-columns:42px 1fr!important;grid-template-rows:auto auto!important;column-gap:9px!important;align-items:center!important;padding:10px!important;border:1px solid #e2dee6;border-radius:16px;background:linear-gradient(145deg,#fff,#faf8fb);cursor:pointer;transition:.2s}.hlc-provider-card input{position:absolute!important;opacity:0!important}.hlc-provider-card:has(input:checked){border-color:#ff8300;background:#fff7ed;box-shadow:0 0 0 3px rgba(255,131,0,.09)}.hlc-provider-icon{grid-row:1/3;width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,#ffb25d,#ff8300 55%,#df6500);color:#fff;font-size:15px;font-weight:950;box-shadow:inset 0 1px 0 rgba(255,255,255,.72),inset 0 -7px 13px rgba(110,42,0,.15),0 8px 16px rgba(255,131,0,.19)}.hlc-provider-card b{font-size:11px;color:#17141d}.hlc-provider-card small{font-size:9px;line-height:1.6;color:#807985}.hlc-qualification{border-style:dashed}.hlc-qualification .hlc-qual-aisa p{margin-bottom:0}.hlc-qual-name-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.hlc-qual-actions{display:grid;grid-template-columns:1fr auto;gap:8px}.hlc-qual-skip{border:1px solid #e0dce3;border-radius:13px;background:#fff;color:#655e68;font:inherit;font-size:10px;font-weight:800;padding:8px 10px;cursor:pointer}@media(max-width:600px){.hlc-provider-grid,.hlc-qual-name-grid,.hlc-qual-actions{grid-template-columns:1fr}}
