html,body{min-height:100%;background:#f6fbf8!important}body:before{content:"";inset:var(--header-h,76px) 0 0 0;z-index:-2;pointer-events:none;position:fixed;background:radial-gradient(900px 430px at 14% 6%,#15a35a38,#0000 62%),radial-gradient(760px 380px at 88% 8%,#2d7ff024,#0000 58%),linear-gradient(#ecf9f1 0%,#f7fbf8 46%,#fbfcfb 100%)!important}body:after{content:"";inset:var(--header-h,76px) 0 0 0;z-index:-1;pointer-events:none;background:linear-gradient(#ffffff1f,#ffffff6b);position:fixed}.brand-logo{flex-shrink:0!important;width:42px!important;max-width:42px!important;height:42px!important;max-height:42px!important;overflow:hidden!important}.brand-logo img{object-fit:contain!important;width:100%!important;max-width:42px!important;height:100%!important;max-height:42px!important}.chat-app{height:calc(100vh - var(--header-h,76px));height:calc(100dvh - var(--header-h,76px));flex-direction:column;width:100%;max-width:980px;margin:0 auto;padding:22px 24px 0;display:flex;overflow:hidden;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important}.chat-msgs{scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:var(--line) transparent;flex-direction:column;flex:1;gap:0;padding:8px 0;display:flex;overflow-y:auto;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important}.chat-msgs::-webkit-scrollbar{width:4px}.chat-msgs::-webkit-scrollbar-thumb{background:var(--line);border-radius:2px}.chat-msg{width:100%;max-width:700px;margin:0 auto;padding:12px 20px;font-size:.9rem;line-height:1.65}.chat-msg.user .chat-bubble{border-radius:14px 14px 4px;max-width:80%;margin-left:auto;padding:10px 16px;font-size:.88rem;line-height:1.5;background:var(--ink)!important;color:#fff!important}.chat-msg.bot{border-bottom:0!important}.chat-msg.bot .chat-body{line-height:1.65}.chat-typing-label{color:var(--ink-mute);margin-bottom:4px;font-size:.75rem;font-weight:500}.chat-typing-dots{gap:4px;padding:4px 0;display:flex}.chat-typing-dots span{background:var(--ink-soft);border-radius:50%;width:5px;height:5px;animation:1.3s ease-in-out infinite both chatDot}.chat-typing-dots span:first-child{animation-delay:-.28s}.chat-typing-dots span:nth-child(2){animation-delay:-.14s}@keyframes chatDot{0%,80%,to{opacity:.3;transform:scale(.35)}40%{opacity:1;transform:scale(1)}}.chat-msg a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--line-strong);font-weight:600}.chat-msg code{background:var(--surface-2);border-radius:4px;padding:1px 5px;font-family:monospace;font-size:.82rem}.chat-msg pre{background:var(--surface-2);border:1px solid var(--line);border-radius:8px;margin:8px 0;padding:12px;font-size:.8rem;overflow-x:auto}.chat-msg pre code{font-size:inherit;background:0 0;padding:0}.chat-input-bar{padding:8px 16px calc(8px + env(safe-area-inset-bottom,0px));flex-shrink:0;background:#fbfcfbb8!important;border:0!important}.chat-input-row{background:var(--surface);border-radius:20px;align-items:flex-end;gap:8px;max-width:700px;margin:0 auto;padding:6px 6px 6px 16px;transition:border-color .15s;display:flex;border:1px solid #dee3de8c!important;box-shadow:0 10px 28px #11150f0e!important}.chat-input-row:focus-within{border-color:var(--ink)}.chat-input-row textarea{color:var(--ink);resize:none;background:0 0;border:none;outline:none;flex:1;min-height:20px;max-height:100px;padding:5px 0;font-family:inherit;font-size:.9rem;line-height:1.5}.chat-input-row textarea::placeholder{color:var(--ink-mute)}.chat-send-btn{cursor:pointer;background:var(--ink);color:#fff;border:none;border-radius:10px;flex-shrink:0;place-items:center;width:34px;height:34px;transition:opacity .12s;display:grid}.chat-send-btn:hover{opacity:.8}.chat-send-btn:disabled{opacity:.3;cursor:not-allowed}.chat-send-btn svg{fill:#fff;width:16px;height:16px}@media (width<=640px){.chat-app{height:calc(100vh - var(--header-h,56px) - var(--bottom-nav-h,64px));height:calc(100dvh - var(--header-h,56px) - var(--bottom-nav-h,64px));padding:12px 12px 0}.chat-msg{padding:10px 14px}.chat-input-bar{padding:6px 12px calc(12px + env(safe-area-inset-bottom,0px))}}
