#barsam-chat-root{--blue:#1765f5;direction:rtl;font-family:inherit;position:fixed;z-index:999999;bottom:22px;right:22px;color:#17233d}#barsam-chat-root.barsam-position-left{right:auto;left:22px}#barsam-chat-root *{box-sizing:border-box}#barsam-chat-root button,#barsam-chat-root input,#barsam-chat-root textarea{font:inherit}#barsam-chat-root button{cursor:pointer}#barsam-chat-root button:disabled,#barsam-chat-root textarea:disabled{opacity:.55;cursor:not-allowed}#barsam-chat-root .barsam-launcher{border:0;border-radius:999px;background:linear-gradient(135deg,#287cff,#0752dd);color:#fff;box-shadow:0 9px 28px #1765f54d;display:flex;align-items:center;gap:10px;padding:13px 20px;min-height:58px;font-weight:700}#barsam-chat-root .barsam-launch-icon{width:31px;height:31px;border-radius:50%;background:#ffffff25;display:grid;place-items:center;font-size:22px}#barsam-chat-root .barsam-panel{display:none;position:absolute;bottom:72px;right:0;width:390px;height:min(620px,calc(100dvh - 115px));background:var(--bg);color:var(--fg);border:1px solid var(--line);border-radius:22px;box-shadow:0 20px 70px #13264b30;overflow:hidden;flex-direction:column}#barsam-chat-root.barsam-position-left .barsam-panel{right:auto;left:0}#barsam-chat-root .barsam-panel.is-visible{display:flex}#barsam-chat-root .barsam-panel[data-theme=light]{--bg:#fff;--fg:#17233d;--muted:#71809a;--line:#e6ebf5;--soft:#f4f7ff;--user:#e8f0ff;--bot:#f5f7fc;--input:#fff}#barsam-chat-root .barsam-panel[data-theme=ios]{--bg:rgba(247,250,255,.84);--fg:#17233d;--muted:#71809a;--line:rgba(255,255,255,.78);--soft:rgba(255,255,255,.58);--user:rgba(218,232,255,.82);--bot:rgba(255,255,255,.72);--input:rgba(255,255,255,.72);backdrop-filter:blur(24px) saturate(175%);-webkit-backdrop-filter:blur(24px) saturate(175%);border-color:rgb(255 255 255 / .85);box-shadow:0 22px 70px rgb(42 73 125 / .2)}#barsam-chat-root .barsam-panel[data-theme=ios] .barsam-header{background:linear-gradient(120deg,rgb(61 139 255 / .88),rgb(68 104 219 / .88))}#barsam-chat-root .barsam-panel[data-theme=ios] .barsam-bubble.bot{background:rgb(255 255 255 / .72);backdrop-filter:blur(12px)}#barsam-chat-root .barsam-panel[data-theme=ios] .barsam-faqs button{background:rgb(255 255 255 / .62);border-color:rgb(255 255 255 / .9);box-shadow:0 3px 12px rgb(50 80 130 / .05)}#barsam-chat-root .barsam-panel[data-theme=neon]{--bg:#080d19;--fg:#e9f7ff;--muted:#91a6bd;--line:#20364c;--soft:#101d30;--user:#102b45;--bot:#0d1929;--input:#0d1929;--blue:#00d9ff;background:radial-gradient(ellipse at 10% 0%,#112e4b 0%,#080d19 55%)}#barsam-chat-root .barsam-panel[data-theme=neon] .barsam-header{background:linear-gradient(115deg,#071629,#102d4a);border-bottom:1px solid #00d9ff55;box-shadow:0 4px 24px #00d9ff16}#barsam-chat-root .barsam-panel[data-theme=neon] .barsam-brandmark,#barsam-chat-root .barsam-panel[data-theme=neon] .barsam-avatar{color:#00e5ff;background:#00d9ff16;border:1px solid #00d9ff70;box-shadow:0 0 16px #00d9ff35}#barsam-chat-root .barsam-panel[data-theme=neon] .barsam-bubble.bot{border-color:#00d9ff45;box-shadow:0 0 18px #00d9ff0b}#barsam-chat-root .barsam-panel[data-theme=neon] .barsam-composer textarea{border-color:#00d9ff55;box-shadow:inset 0 0 14px #00d9ff09}#barsam-chat-root .barsam-panel[data-theme=neon] .barsam-composer button{background:linear-gradient(120deg,#00b8ff,#00e5c4);color:#04121d;box-shadow:0 0 18px #00d9ff40}#barsam-chat-root .barsam-panel[data-theme=dark]{--bg:#111a2b;--fg:#edf3ff;--muted:#9eacc4;--line:#293750;--soft:#1b2940;--user:#183b75;--bot:#1a2639;--input:#172338}#barsam-chat-root .barsam-header{height:72px;flex:none;display:flex;align-items:center;gap:11px;padding:13px 17px;background:linear-gradient(115deg,#1765f5,#0848bf);color:#fff}#barsam-chat-root .barsam-brandmark{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#ffffff20;font-size:25px}#barsam-chat-root .barsam-headtext{display:flex;flex-direction:column;gap:5px;flex:1}#barsam-chat-root .barsam-headtext strong{font-size:15px}#barsam-chat-root .barsam-headtext small{font-size:11px;color:#d8e6ff}#barsam-chat-root .barsam-headtext i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#32d69a;margin-left:5px}#barsam-chat-root .barsam-head-actions button{border:0;background:#ffffff18;color:#fff;border-radius:9px;width:32px;height:32px;font-size:19px}#barsam-chat-root .barsam-toolbar{padding:8px 12px;border-bottom:1px solid var(--line);background:var(--bg)}#barsam-chat-root .barsam-toolbar button{border:1px solid var(--line);background:var(--soft);color:var(--blue);padding:7px 11px;border-radius:9px;font-size:12px;font-weight:700}#barsam-chat-root .barsam-content{flex:1;min-height:0;display:flex;flex-direction:column;background:var(--bg)}#barsam-chat-root .barsam-welcome{overflow:auto;padding:20px;text-align:center}#barsam-chat-root .barsam-hero-icon{width:66px;height:66px;margin:0 auto 12px;border-radius:22px;background:linear-gradient(135deg,#287cff,#074bc9);color:#fff;display:grid;place-items:center;font-size:35px}#barsam-chat-root .barsam-welcome h3{font-size:17px;margin:0 0 8px;color:var(--fg)}#barsam-chat-root .barsam-welcome p{font-size:12px;color:var(--muted);margin:0 0 15px;line-height:1.8}#barsam-chat-root #barsam-start{text-align:right}#barsam-chat-root #barsam-start label{display:block;font-size:12px;margin-bottom:6px}#barsam-chat-root #barsam-start input{width:100%;height:48px;border:1px solid var(--line);background:var(--input);color:var(--fg);border-radius:13px;padding:0 14px;outline:none}#barsam-chat-root #barsam-start button{width:100%;margin-top:9px;height:46px;border:0;border-radius:13px;background:linear-gradient(110deg,#2678ff,#0752df);color:#fff;font-weight:700}#barsam-chat-root .barsam-error{color:#e14b58;font-size:11px;margin-top:6px}#barsam-chat-root .barsam-faq-title{font-weight:700;font-size:13px;margin:20px 0 10px}#barsam-chat-root .barsam-faqs{display:grid;grid-template-columns:1fr 1fr;gap:8px}#barsam-chat-root .barsam-faqs button{border:1px solid var(--line);border-radius:12px;background:var(--soft);color:var(--fg);font-size:11px;padding:8px;text-align:right;line-height:1.6}#barsam-chat-root .barsam-privacy{margin-top:17px;padding:11px;border-radius:12px;background:var(--soft);font-size:11px;color:var(--muted)}#barsam-chat-root .barsam-messages{flex:1;overflow:auto;padding:16px 13px;display:flex;flex-direction:column;gap:13px}#barsam-chat-root .barsam-row{display:flex;gap:8px;align-items:flex-end;max-width:100%}#barsam-chat-root .barsam-avatar{flex:none;width:28px;height:28px;border-radius:10px;background:linear-gradient(135deg,#287cff,#074bc9);color:#fff;display:grid;place-items:center}#barsam-chat-root .barsam-wrap{max-width:88%;min-width:0}#barsam-chat-root .barsam-bubble{padding:11px 13px;border-radius:16px;font-size:13px;line-height:1.9;overflow-wrap:anywhere}#barsam-chat-root .barsam-bubble.bot{background:var(--bot);border:1px solid var(--line);border-bottom-right-radius:5px}#barsam-chat-root .barsam-bubble.user{background:var(--user);border-bottom-left-radius:5px;max-width:88%}#barsam-chat-root .barsam-copy-space{height:34px;display:flex;align-items:flex-end;padding:0 4px 2px}#barsam-chat-root .barsam-copy{display:inline-flex;align-items:center;gap:5px;border:0;background:#fff0;color:var(--muted);font-size:10px;padding:3px 5px}#barsam-chat-root .barsam-copy svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}#barsam-chat-root .barsam-composer{display:flex;align-items:flex-end;gap:8px;padding:12px;border-top:1px solid var(--line);background:var(--bg)}#barsam-chat-root .barsam-composer textarea{resize:none;flex:1;max-height:100px;min-height:43px;border:1px solid var(--line);background:var(--input);color:var(--fg);border-radius:13px;padding:11px 12px;outline:none;font-size:13px}#barsam-chat-root .barsam-composer button{flex:none;min-width:78px;height:43px;border:0;border-radius:13px;background:var(--blue);color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 10px}#barsam-chat-root .barsam-send-icon{width:19px;height:19px;fill:currentColor;stroke:currentColor;stroke-width:.8;stroke-linecap:round;stroke-linejoin:round;transform:scaleX(-1)}#barsam-chat-root .barsam-empty{color:var(--muted);font-size:12px;text-align:center;padding:20px}@media(max-width:600px){#barsam-chat-root{right:12px;bottom:12px}#barsam-chat-root.barsam-position-left{right:auto;left:12px}#barsam-chat-root .barsam-launcher{min-height:54px;padding:10px 15px}#barsam-chat-root .barsam-panel,#barsam-chat-root.barsam-position-left .barsam-panel{position:fixed;inset:auto 8px 8px;width:auto;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:20px}#barsam-chat-root .barsam-header{height:68px}#barsam-chat-root .barsam-welcome{padding:18px 15px}}#barsam-chat-root .barsam-content,#barsam-chat-root .barsam-welcome,#barsam-chat-root .barsam-messages{scrollbar-width:thin;scrollbar-color:#b8c7dc #fff0}#barsam-chat-root .barsam-content::-webkit-scrollbar,#barsam-chat-root .barsam-welcome::-webkit-scrollbar,#barsam-chat-root .barsam-messages::-webkit-scrollbar{width:7px}#barsam-chat-root .barsam-content::-webkit-scrollbar-track,#barsam-chat-root .barsam-welcome::-webkit-scrollbar-track,#barsam-chat-root .barsam-messages::-webkit-scrollbar-track{background:#fff0}#barsam-chat-root .barsam-content::-webkit-scrollbar-thumb,#barsam-chat-root .barsam-welcome::-webkit-scrollbar-thumb,#barsam-chat-root .barsam-messages::-webkit-scrollbar-thumb{background:#b8c7dc;border-radius:20px;border:2px solid #fff0;background-clip:padding-box}#barsam-chat-root .barsam-panel[data-theme=dark] .barsam-content,#barsam-chat-root .barsam-panel[data-theme=dark] .barsam-welcome,#barsam-chat-root .barsam-panel[data-theme=dark] .barsam-messages,#barsam-chat-root .barsam-panel[data-theme=neon] .barsam-content,#barsam-chat-root .barsam-panel[data-theme=neon] .barsam-welcome,#barsam-chat-root .barsam-panel[data-theme=neon] .barsam-messages{scrollbar-color:#40536f #fff0}#barsam-chat-root .barsam-panel[data-theme=dark] .barsam-content::-webkit-scrollbar-thumb,#barsam-chat-root .barsam-panel[data-theme=dark] .barsam-welcome::-webkit-scrollbar-thumb,#barsam-chat-root .barsam-panel[data-theme=dark] .barsam-messages::-webkit-scrollbar-thumb,#barsam-chat-root .barsam-panel[data-theme=neon] .barsam-content::-webkit-scrollbar-thumb,#barsam-chat-root .barsam-panel[data-theme=neon] .barsam-welcome::-webkit-scrollbar-thumb,#barsam-chat-root .barsam-panel[data-theme=neon] .barsam-messages::-webkit-scrollbar-thumb{background:#40536f;border-color:#fff0}#barsam-chat-root .barsam-head-actions{display:flex;align-items:center;gap:3px}#barsam-chat-root .barsam-head-actions button{display:grid;place-items:center;line-height:1}#barsam-chat-root .barsam-row.user-row{direction:rtl;justify-content:flex-start}#barsam-chat-root .barsam-row.bot-row{direction:ltr;justify-content:flex-start}#barsam-chat-root .barsam-row.bot-row .barsam-wrap{direction:rtl;text-align:right}#barsam-chat-root .barsam-row.user-row .barsam-wrap{max-width:98%}#barsam-chat-root .barsam-bubble.user{max-width:100%;border-bottom-right-radius:5px;border-bottom-left-radius:16px}#barsam-chat-root .barsam-bubble.bot{border-bottom-left-radius:5px;border-bottom-right-radius:16px}#barsam-chat-root .barsam-row.user-row .barsam-wrap{max-width:98%}#barsam-chat-root .barsam-row.bot-row .barsam-wrap{max-width:88%}#barsam-chat-root .barsam-theme-moon{width:17px;height:17px;display:block;fill:currentColor;stroke:none;transform:rotate(3deg)}#barsam-chat-root .barsam-panel[data-theme=dark] .barsam-welcome p,#barsam-chat-root .barsam-panel[data-theme=neon] .barsam-welcome p{color:#e7eefb}#barsam-chat-root .barsam-panel[data-theme=dark] .barsam-error,#barsam-chat-root .barsam-panel[data-theme=neon] .barsam-error{color:#ffb8b8}#barsam-chat-root .barsam-head-actions button{padding:0;display:flex;align-items:center;justify-content:center;line-height:0;font-size:0}#barsam-chat-root .barsam-theme-moon,#barsam-chat-root .barsam-theme-sun{width:17px;height:17px;display:block;flex:none}#barsam-chat-root .barsam-theme-sun{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}#barsam-chat-root .barsam-minimize-icon{display:block;width:12px;height:2px;background:currentColor;border-radius:2px;flex:none}#barsam-chat-root .barsam-send-error{color:#e14b58;font-size:11px;padding:0 14px 6px;text-align:right}#barsam-chat-root .barsam-panel[data-theme=dark] .barsam-send-error,#barsam-chat-root .barsam-panel[data-theme=neon] .barsam-send-error{color:#ffb8b8}#barsam-chat-root .barsam-panel{display:flex;visibility:hidden;opacity:0;pointer-events:none;transform:translateY(12px) scale(.94);transform-origin:bottom right;transition:opacity .24s ease,transform .28s cubic-bezier(.2,.75,.25,1),visibility 0s linear .28s}#barsam-chat-root.barsam-position-left .barsam-panel{transform-origin:bottom left}#barsam-chat-root .barsam-panel.is-visible{visibility:visible;opacity:1;pointer-events:auto;transform:translateY(0) scale(1);transition:opacity .24s ease,transform .28s cubic-bezier(.2,.75,.25,1),visibility 0s}#barsam-chat-root .barsam-launcher .barsam-launch-icon{transform-origin:center}#barsam-chat-root:not(.is-open) .barsam-launcher .barsam-launch-icon{animation:barsam-launcher-pulse 2.8s ease-in-out infinite}@keyframes barsam-launcher-pulse{0%,100%{transform:scale(1);box-shadow:0 0 0 0 #fff0}50%{transform:scale(1.07);box-shadow:0 0 0 7px #ffffff16}}#barsam-chat-root .barsam-row.user-row{animation:barsam-message-from-right .32s cubic-bezier(.2,.75,.25,1) both}#barsam-chat-root .barsam-row.bot-row:not(.barsam-typing){animation:barsam-message-from-left .32s cubic-bezier(.2,.75,.25,1) both}@keyframes barsam-message-from-right{from{opacity:0;transform:translateX(22px)}to{opacity:1;transform:translateX(0)}}@keyframes barsam-message-from-left{from{opacity:0;transform:translateX(-22px)}to{opacity:1;transform:translateX(0)}}#barsam-chat-root .barsam-typing-dots{height:22px;display:flex;align-items:center;gap:5px;padding:0 3px}#barsam-chat-root .barsam-typing-dots i{width:6px;height:6px;border-radius:50%;background:var(--muted);animation:barsam-dot-bounce .9s ease-in-out infinite}#barsam-chat-root .barsam-typing-dots i:nth-child(2){animation-delay:.15s}#barsam-chat-root .barsam-typing-dots i:nth-child(3){animation-delay:.3s}@keyframes barsam-dot-bounce{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-5px);opacity:1}}#barsam-chat-root [data-action=theme].is-changing svg{animation:barsam-theme-switch .42s ease both}@keyframes barsam-theme-switch{0%{opacity:1;transform:rotate(0) scale(1)}45%{opacity:0;transform:rotate(100deg) scale(.55)}100%{opacity:1;transform:rotate(3deg) scale(1)}}#barsam-chat-root .barsam-copy svg{transition:transform .2s ease}#barsam-chat-root .barsam-copy.is-copied{color:#20b77a}#barsam-chat-root .barsam-copy.is-copied svg{animation:barsam-copy-check .28s ease both}@keyframes barsam-copy-check{from{opacity:0;transform:scale(.5) rotate(-25deg)}to{opacity:1;transform:scale(1) rotate(0)}}@media(prefers-reduced-motion:reduce){#barsam-chat-root *,#barsam-chat-root *::before,#barsam-chat-root *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}