.takion-chat-root{--band:#1a1028;--card:#fff;--ink:#1a1028;--ink-2:#4a3d5c;--muted:#8b7fa0;--line:#d4c8e8;--accent:#7b47e3;--accent-300:#c4a8f5;--accent-100:#ede5fa;--accent-900:#3b1a7e;color-scheme:light;display:contents}.takion-chat-root *{box-sizing:border-box}.takion-chat-root{color:var(--ink);margin:0;font-family:Poppins,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;position:relative}.takion-chat-root .page-hint{color:#c9bedb;max-width:320px;font-size:14px;position:fixed;bottom:24px;left:24px}.takion-chat-root .chat-launcher{z-index:60;cursor:pointer;background:conic-gradient(from 200deg,#c4a8f5,#7b47e3,#e0a6ff,#c4a8f5);border:0;border-radius:50%;width:84px;height:84px;padding:0;transition:transform .25s;animation:.6s cubic-bezier(.2,.7,.2,1) both chat-launcher-in;position:fixed;bottom:24px;right:24px;box-shadow:0 16px 40px -10px #7b47e399}.takion-chat-root .chat-launcher:hover{transform:scale(1.05)}.takion-chat-root .chat-launcher:focus-visible{outline:3px solid var(--accent-300);outline-offset:4px}.takion-chat-root .chat-launcher-inner{background:var(--accent-300);border-radius:50%;place-items:center;display:grid;position:absolute;inset:5px}.takion-chat-root .chat-launcher-inner svg{width:34px;height:34px;color:var(--ink)}.takion-chat-root .chat-launcher-badge{background:var(--ink);color:#fff;border:2px solid var(--band);border-radius:50%;place-items:center;width:26px;height:26px;font-size:13px;font-weight:700;display:grid;position:absolute;top:-2px;right:-2px}.takion-chat-root .chat-launcher.is-open{display:none}@keyframes chat-launcher-in{0%{opacity:0;transform:translateY(16px)scale(.9)}to{opacity:1;transform:none}}.takion-chat-root .launcher-bubble{z-index:65;cursor:pointer;max-width:240px;color:var(--ink);opacity:0;transform-origin:100% 100%;background:#fff;border-radius:16px 16px 4px;padding:12px 16px;font-size:14.5px;font-weight:500;line-height:1.4;animation:.6s cubic-bezier(.2,.9,.3,1.2) 1.2s forwards chat-bubble-in,3.2s ease-in-out 2s infinite chat-bubble-float;position:fixed;bottom:44px;right:124px;transform:translate(12px)scale(.92);box-shadow:0 16px 36px -14px #00000073}.takion-chat-root .launcher-bubble:after{content:"";border:7px solid #0000;border-left:9px solid #fff;border-right-width:0;position:absolute;bottom:12px;right:-7px}.takion-chat-root .launcher-bubble.hide{display:none}@keyframes chat-bubble-in{0%{opacity:0;transform:translate(12px)scale(.92)}to{opacity:1;transform:none}}@keyframes chat-bubble-float{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.takion-chat-root .chat-panel{z-index:70;background:var(--card);overscroll-behavior:contain;opacity:0;pointer-events:none;visibility:hidden;border-radius:24px;flex-direction:column;width:380px;height:600px;max-height:calc(100% - 48px);transition:opacity .35s,transform .35s cubic-bezier(.2,.7,.2,1),visibility .35s;display:flex;position:fixed;top:auto;bottom:24px;right:24px;overflow:hidden;transform:translateY(20px)scale(.98);box-shadow:0 40px 80px -30px #0009}.takion-chat-root .chat-panel.open{opacity:1;pointer-events:auto;visibility:visible;transform:none}.takion-chat-root .chat-head{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:16px 18px;display:flex}.takion-chat-root .chat-avatar{background:var(--accent);color:#fff;border-radius:50%;place-items:center;width:40px;height:40px;font-size:16px;font-weight:700;display:grid}.takion-chat-root .chat-title{font-size:15px;font-weight:600;line-height:1.2}.takion-chat-root .chat-status{color:var(--muted);align-items:center;gap:6px;font-size:12px;display:flex}.takion-chat-root .chat-status:before{content:"";background:#10b981;border-radius:50%;width:7px;height:7px;animation:2s ease-in-out infinite chat-dot-pulse}@keyframes chat-dot-pulse{0%,to{opacity:1}50%{opacity:.4}}.takion-chat-root .chat-close{border:1px solid var(--line);width:34px;height:34px;color:var(--ink-2);cursor:pointer;background:#fff;border-radius:50%;margin-left:auto;font-size:18px;line-height:1}.takion-chat-root .chat-close:hover{color:var(--accent);border-color:var(--accent-300)}.takion-chat-root .chat-progress{background:var(--accent-100);height:3px}.takion-chat-root .chat-progress span{background:var(--accent);width:0;height:100%;transition:width .5s cubic-bezier(.2,.7,.2,1);display:block}.takion-chat-root .chat-body{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--accent-300) transparent;background-color:#f4f0fb;background-image:radial-gradient(circle,#7b47e317 1.2px,#0000 1.2px);background-size:22px 22px;flex-direction:column;flex:1;gap:6px;padding:16px 14px;display:flex;overflow-y:auto}.takion-chat-root .chat-body::-webkit-scrollbar{width:6px}.takion-chat-root .chat-body::-webkit-scrollbar-thumb{background:var(--accent-300);border-radius:3px}.takion-chat-root .chat-body::-webkit-scrollbar-track{background:0 0}.takion-chat-root .chat-body::-webkit-scrollbar-button{display:none}.takion-chat-root .msg{word-wrap:break-word;border-radius:9px;max-width:82%;padding:7px 9px 4px 11px;font-size:14.5px;line-height:1.4;animation:.35s cubic-bezier(.2,.7,.2,1) both chat-msg-in;position:relative;box-shadow:0 1px 1px #1a10281f}.takion-chat-root .msg.bot{color:var(--ink);background:#fff;align-self:flex-start;margin-left:8px}.takion-chat-root .msg.bot:before{content:"";border-top:0 solid #0000;border-bottom:10px solid #0000;border-left:0 solid #0000;border-right:10px solid #fff;position:absolute;top:0;left:-8px}.takion-chat-root .msg.user{color:var(--ink);background:#e2d5fb;align-self:flex-end;margin-right:8px}.takion-chat-root .msg.user:after{content:"";border-top:0 solid #0000;border-bottom:10px solid #0000;border-left:10px solid #e2d5fb;border-right:0 solid #0000;position:absolute;top:0;right:-8px}.takion-chat-root .meta{color:var(--muted);justify-content:flex-end;align-items:center;gap:3px;margin-top:2px;font-size:11px;display:flex}.takion-chat-root .ticks{width:15px;height:11px;color:var(--accent)}.takion-chat-root .msg.chat-typing{align-items:center;gap:4px;padding:12px 14px;display:inline-flex}.takion-chat-root .msg.chat-typing i{background:var(--accent-300);border-radius:50%;width:7px;height:7px;animation:1s ease-in-out infinite chat-typing}.takion-chat-root .msg.chat-typing i:nth-child(2){animation-delay:.15s}.takion-chat-root .msg.chat-typing i:nth-child(3){animation-delay:.3s}@keyframes chat-typing{0%,to{opacity:.5;transform:translateY(0)}50%{opacity:1;transform:translateY(-4px)}}@keyframes chat-msg-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.takion-chat-root .chat-answers{background:#ede8f7;border-top:1px solid #ddd5ee;flex-direction:column;gap:6px;padding:8px 10px 10px;display:none}.takion-chat-root .chat-answers.show{display:flex}.takion-chat-root .opts{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.takion-chat-root .opt{border:1px solid var(--accent-300);color:var(--accent);font:inherit;cursor:pointer;background:#fff;border-radius:999px;padding:8px 14px;font-size:14px;font-weight:500;transition:background .2s,color .2s}.takion-chat-root .opt:hover,.takion-chat-root .opt:focus-visible{background:var(--accent);color:#fff;outline:none}.takion-chat-root .opt.is-selected{background:var(--accent);color:#fff}.takion-chat-root .composer{align-items:center;gap:8px;display:flex}.takion-chat-root .composer input{min-width:0;height:42px;font:inherit;color:var(--ink);background:#fff;border:0;border-radius:999px;outline:none;flex:1;padding:0 16px;font-size:14.5px;box-shadow:0 1px 1px #1a102814}.takion-chat-root .composer input::placeholder{color:var(--muted)}.takion-chat-root .composer button{background:var(--accent);color:#fff;cursor:pointer;border:0;border-radius:50%;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid}.takion-chat-root .composer button:hover{background:var(--accent-900)}.takion-chat-root .composer button svg{width:18px;height:18px}.takion-chat-root .hint-error{color:#dc2626;min-height:0;padding-left:8px;font-size:12px}.takion-chat-root .restart{border:1px solid var(--accent);color:var(--accent);font:inherit;cursor:pointer;background:0 0;border-radius:999px;align-self:center;padding:8px 16px;font-size:14px;font-weight:600}.takion-chat-root .restart:hover{background:var(--accent);color:#fff}@media (width<=480px){.takion-chat-root .chat-panel{border-radius:0;width:100%;height:auto;max-height:none;inset:0}.takion-chat-root .chat-launcher{width:60px;height:60px;bottom:74px;right:14px;box-shadow:0 10px 24px -8px #7b47e399}.takion-chat-root .chat-launcher-inner svg{width:26px;height:26px}.takion-chat-root .chat-launcher-badge{width:22px;height:22px;font-size:11px;top:-4px;right:-4px}.takion-chat-root .launcher-bubble{max-width:200px;padding:10px 13px;font-size:13.5px;bottom:84px;right:82px}}@media (prefers-reduced-motion:reduce){.takion-chat-root *{transition:none!important;animation:none!important}}body:has(#nav-toggle:checked) .takion-chat-root{display:none}
