html,body,#root{min-height:100%}.chat-form__input{cursor:text}.msg-md{font-size:inherit;line-height:inherit;color:inherit}.msg-md>:first-child{margin-top:0}.msg-md>:last-child{margin-bottom:0}.msg-md p{margin:0 0 .65em}.msg-md p:last-child{margin-bottom:0}.msg-md ul,.msg-md ol{margin:.4em 0 .65em;padding-left:1.35em}.msg-md li{margin:.2em 0}.msg-md li>p{margin:.25em 0}.msg-md strong{font-weight:600}.msg-md a{color:var(--accent);cursor:pointer;text-underline-offset:2px;text-decoration:underline}.msg-md a:hover{color:var(--accent-light)}.msg-md code{background:var(--surface);border-radius:4px;padding:.1em .35em;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.92em}.msg-md pre{background:var(--surface);border-radius:8px;margin:.65em 0;padding:10px 12px;font-size:.88em;line-height:1.5;overflow-x:auto}.msg-md pre code{font-size:inherit;background:0 0;padding:0}.msg-md blockquote{border-left:3px solid var(--border);color:var(--text-secondary);margin:.5em 0;padding-left:.85em}.msg-md h1,.msg-md h2,.msg-md h3{margin:.75em 0 .4em;font-size:1.05em;font-weight:600;line-height:1.35}.msg-md h1:first-child,.msg-md h2:first-child,.msg-md h3:first-child{margin-top:0}.msg-md hr{border:none;border-top:1px solid var(--border-light);margin:.75em 0}.chat-header{border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;padding:16px 20px;display:flex;position:relative}.header-left{align-items:center;gap:6px;display:flex}.header-title{letter-spacing:.06em;color:#3d3d3d;font-family:DM Sans;font-size:20px;font-weight:700;line-height:1.2}.header-right{align-items:center;gap:4px;margin-left:auto;display:flex}.icon-btn{cursor:pointer;width:40px;height:40px;color:var(--text-secondary);background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;transition:background .15s,color .15s;display:flex}.icon-btn:hover{background:var(--surface);color:var(--text)}.icon-btn svg{width:18px;height:18px}.info-tooltip{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);color:var(--text-secondary);z-index:10;padding:14px 16px;font-size:13px;line-height:1.6;display:none;position:absolute;top:52px;left:20px;right:20px;box-shadow:0 4px 16px #0000000f}.info-tooltip.visible{animation:.2s tooltipIn;display:block}.info-tooltip:before{content:"";background:var(--bg);border-top:1px solid var(--border);border-left:1px solid var(--border);width:12px;height:12px;position:absolute;top:-7px;left:88px;transform:rotate(45deg)}@keyframes tooltipIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@keyframes avatarGradientShift{0%{background-position:0%}50%{background-position:100%}to{background-position:0%}}@media (width<=480px){.chat-header{padding:14px 16px}}.welcome{flex-direction:column;flex:1;justify-content:flex-end;padding-bottom:24px;display:flex}.welcome-avatar{background:linear-gradient(125deg,#2563eb,#3b65ef) 0 0/200% 200%;border-radius:50%;flex-shrink:0;align-self:flex-start;width:48px;height:48px;margin:0 auto 48px 0;animation:6s infinite avatarGradientShift}.welcome-heading{color:var(--text);letter-spacing:-.02em;opacity:0;margin-bottom:24px;font-size:26px;font-weight:600;line-height:1.3;animation:.5s .1s forwards staggerIn;transform:translateY(12px)}.welcome-suggestions{flex-direction:column;gap:0;display:flex}.suggestion-row{color:var(--text-secondary);cursor:pointer;text-align:left;border:none;border-top:1px solid var(--border-light);opacity:0;background:0 0;align-items:center;gap:12px;width:100%;padding:16px 0;font-family:inherit;font-size:16px;transition:color .15s;animation:.6s cubic-bezier(.16,1,.3,1) forwards staggerIn;display:flex;transform:translate3d(0,12px,0)}.suggestion-row:first-child{animation-delay:.35s}.suggestion-row:nth-child(2){animation-delay:.5s}.suggestion-row:nth-child(3){animation-delay:.65s}@keyframes botAvatarIn{0%{opacity:0;transform:scale(.88)}100%{opacity:1;transform:scale(1)}}@keyframes botContentIn{0%{opacity:0;transform:translate3d(0,18px,0)}100%{opacity:1;transform:translate3d(0,0,0)}}@keyframes staggerIn{0%{opacity:0;transform:translate3d(0,12px,0)}100%{opacity:1;transform:translate3d(0,0,0)}}.suggestion-row:last-child{border-bottom:1px solid var(--border-light)}.suggestion-row:hover{color:var(--text)}.suggestion-row svg{width:16px;height:16px;color:var(--text-muted);flex-shrink:0}@media (width<=480px){.welcome-heading{font-size:22px}.suggestion-row{padding:14px 0;font-size:16px}}.msg-row{gap:12px;display:flex}.msg-row.user{justify-content:flex-end;animation:.25s msgIn}.msg-row.bot{align-items:flex-start}.msg-row.bot .msg-avatar{opacity:0;transform:scale(.88);animation:.6s cubic-bezier(.16,1,.3,1) forwards botAvatarIn}.msg-row.bot .msg-content{opacity:0;transform:translate3d(0,18px,0);animation:.75s cubic-bezier(.16,1,.3,1) forwards botContentIn}.msg-row.bot .msg-bubble{opacity:1;transform:none;animation:none}@keyframes msgIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.msg-avatar{background:linear-gradient(125deg,#2563eb,#3b65ef) 0 0/200% 200%;border-radius:50%;flex-shrink:0;width:32px;height:32px;margin-top:2px;animation:6s infinite avatarGradientShift}.msg-content{max-width:80%}.msg-bubble{color:var(--text);font-size:16px;line-height:1.65}.msg-row.user .msg-bubble{background:var(--user-bubble);border-radius:18px 18px 4px;padding:12px 16px;font-size:16px}.msg-suggestions{flex-direction:column;gap:0;margin-top:16px;display:flex}.msg-suggestion-btn{color:var(--text-secondary);cursor:pointer;text-align:left;border:none;border-top:1px solid var(--border-light);opacity:0;background:0 0;align-items:center;gap:10px;width:100%;padding:12px 0;font-family:inherit;font-size:16px;transition:color .15s;animation:.6s cubic-bezier(.16,1,.3,1) forwards staggerIn;display:flex;transform:translate3d(0,12px,0)}.msg-suggestion-btn:first-child{animation-delay:.22s}.msg-suggestion-btn:nth-child(2){animation-delay:.34s}.msg-suggestion-btn:nth-child(3){animation-delay:.46s}.msg-suggestion-btn:last-child{border-bottom:1px solid var(--border-light)}.msg-suggestion-btn:hover{color:var(--text)}.msg-suggestion-btn svg{width:14px;height:14px;color:var(--text-muted);flex-shrink:0}.typing-row{border:none;outline:none;align-items:center;gap:12px;display:flex}.typing-row .msg-avatar{margin-top:0}.typing-dot-grid{box-shadow:none;background:0 0;border:0 solid #0000;outline:0;flex-shrink:0;grid-template-rows:repeat(2,5px);grid-template-columns:repeat(3,5px);justify-content:center;align-items:center;gap:4px;padding:0;display:grid}.typing-dot{background:var(--accent);opacity:.3;width:5px;height:5px;box-shadow:none;border:0 solid #0000;border-radius:50%;outline:0;animation:1.05s ease-in-out infinite dotShine}.typing-dot:first-child{animation-delay:0s}.typing-dot:nth-child(2){animation-delay:.12s}.typing-dot:nth-child(3){animation-delay:.24s}.typing-dot:nth-child(4){animation-delay:.36s}.typing-dot:nth-child(5){animation-delay:.48s}.typing-dot:nth-child(6){animation-delay:.6s}@keyframes dotShine{0%,to{opacity:.28;filter:brightness(.75);transform:scale(.92)}35%{opacity:1;filter:brightness(1.25);transform:scale(1.2)}70%{opacity:.45;filter:brightness(.95);transform:scale(1)}}@media (prefers-reduced-motion:reduce){.typing-dot{opacity:.65;animation:none}.welcome-heading,.suggestion-row,.msg-suggestion-btn,.msg-row.bot .msg-avatar,.msg-row.bot .msg-content,.msg-row.bot .msg-bubble{opacity:1;animation:none;transform:none}.welcome-avatar,.msg-avatar{background:linear-gradient(125deg,#2563eb,#3b65ef) 0 0/100% 100%!important;animation:none!important}}.chat-flow{flex-direction:column;gap:20px;padding-bottom:12px;display:flex}.form-wrap{flex-shrink:0;padding:16px 24px 24px}.chat-form{background:var(--surface);border:1px solid var(--border);box-shadow:none;border-radius:28px;align-items:center;gap:0;padding:4px 6px 4px 20px;transition:border-color .25s,box-shadow .25s,background .25s;display:flex}.chat-form:focus-within{border-color:var(--border);background:#fff;box-shadow:0 0 0 3px #3b65ef1f}.chat-form__input{color:var(--text);background:0 0;border:none;outline:none;flex:1;padding:10px 0;font-family:inherit;font-size:16px}.chat-form__input::placeholder{color:var(--text-muted)}.chat-form__send{cursor:not-allowed;width:40px;height:40px;color:var(--text-muted);background:var(--surface);border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;opacity:.35;transition:background .2s,color .2s,opacity .2s,box-shadow .2s;display:flex}.chat-form.has-text .chat-form__send:not(:disabled){color:#fff;background:#1a1a1a;opacity:1;cursor:pointer;box-shadow:0 2px 8px #0000002e}.chat-form.has-text .chat-form__send:not(:disabled):hover{background:#333;box-shadow:0 4px 12px #00000038}.chat-form.has-text .chat-form__send:not(:disabled):hover svg{transform:translateY(-2px)}.chat-form__send:disabled{opacity:.35;cursor:not-allowed;background:var(--surface);color:var(--text-muted)}.chat-form__send svg{width:18px;height:18px;transition:transform .2s cubic-bezier(.34,1.2,.64,1)}.error-msg{color:#e53e3e;text-align:center;padding:8px 20px 0;font-size:13px}@media (width<=480px){.form-wrap{padding:12px 16px 20px}}#messages{scroll-behavior:smooth;flex-direction:column;flex:1;min-height:0;padding:24px 24px 0;display:flex;overflow-y:auto}#messages::-webkit-scrollbar{width:4px}#messages::-webkit-scrollbar-track{background:0 0}#messages::-webkit-scrollbar-thumb{background:var(--border);border-radius:4px}@media (width<=480px){#messages{padding:20px 16px 0}}:root{--bg:#fff;--surface:#f8f8f8;--border:#e8e8e8;--border-light:#f0f0f0;--text:#1a1a1a;--text-secondary:#6b6b6b;--text-muted:#9a9a9a;--accent:#3b65ef;--accent-light:#5a80f5;--user-bubble:#f3f3f3;--radius:12px}*{box-sizing:border-box;margin:0;padding:0}html{background:#fff;height:100%}body{height:100%;color:var(--text);-webkit-font-smoothing:antialiased;background:#fff;flex-direction:column;font-family:DM Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.55;display:flex}#root{flex-direction:column;flex:1;min-height:0;display:flex}.info-tooltip strong{color:var(--text);font-weight:600}
.header-alpha{display:inline-flex;align-items:center;height:20px;padding:0 7px;margin-left:1px;border-radius:5px;background:rgba(118,118,128,.12);box-shadow:inset 0 0 0 .5px rgba(0,0,0,.06);color:rgba(60,60,67,.72);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",system-ui,sans-serif;font-size:11px;font-weight:500;line-height:1;letter-spacing:-.02em;text-transform:none}
