pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
  Theme: GitHub Dark
  Description: Dark theme as seen on github.com
  Author: github.com
  Maintainer: @Hirse
  Updated: 2021-05-15

  Outdated base version: https://github.com/primer/github-syntax-dark
  Current colors taken from GitHub's CSS
*/.hljs{color:#c9d1d9;background:#0d1117}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#ff7b72}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#d2a8ff}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#79c0ff}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#a5d6ff}.hljs-built_in,.hljs-symbol{color:#ffa657}.hljs-comment,.hljs-code,.hljs-formula{color:#8b949e}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#7ee787}.hljs-subst{color:#c9d1d9}.hljs-section{color:#1f6feb;font-weight:700}.hljs-bullet{color:#f2cc60}.hljs-emphasis{color:#c9d1d9;font-style:italic}.hljs-strong{color:#c9d1d9;font-weight:700}.hljs-addition{color:#aff5b4;background-color:#033a16}.hljs-deletion{color:#ffdcd7;background-color:#67060c}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden}body{color:#202124;background:#f6f7f9;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,textarea{font:inherit}button{cursor:pointer}.app-shell{display:grid;grid-template-columns:300px 1fr;width:100%;height:100dvh;min-height:0;overflow:hidden}.sidebar{display:flex;flex-direction:column;gap:16px;min-width:0;min-height:0;padding:18px;color:#f8fafc;background:#111827;border-right:1px solid rgba(255,255,255,.08)}.brand{display:flex;align-items:center;gap:12px}.brand-mark{display:grid;width:38px;height:38px;place-items:center;font-weight:800;color:#0f172a;background:#c7f9cc;border-radius:8px}.brand strong,.brand span{display:block}.brand strong{font-size:16px}.brand span{margin-top:3px;color:#9ca3af;font-size:12px}.new-chat{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:42px;color:#0f172a;font-weight:700;background:#c7f9cc;border:0;border-radius:8px}.new-chat span{font-size:20px;line-height:1}.session-list{display:flex;flex:1;flex-direction:column;gap:8px;overflow:auto}.session-item{position:relative;display:grid;grid-template-columns:1fr auto;gap:4px 10px;width:100%;padding:12px;color:#d1d5db;text-align:left;background:transparent;border:1px solid transparent;border-radius:8px}.session-item:hover,.session-item.active{background:#ffffff14;border-color:#ffffff1a}.session-title{min-width:0;overflow:hidden;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.session-time{color:#9ca3af;font-size:12px}.delete-session{grid-column:1 / -1;color:#fca5a5;font-size:12px}.chat-panel{display:grid;grid-template-rows:auto 1fr auto;min-width:0;min-height:0;height:100%;overflow:hidden}.topbar{display:flex;align-items:center;gap:14px;padding:18px 28px;background:#f6f7f9eb;border-bottom:1px solid #e5e7eb;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);min-height:0}.topbar h1{margin:0;font-size:18px;line-height:1.3}.topbar p{margin:4px 0 0;color:#6b7280;font-size:13px}.icon-button{display:grid;width:38px;height:38px;place-items:center;color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:8px}.mobile-only{display:none}.messages{min-height:0;padding:24px 28px;overflow-x:hidden;overflow-y:auto}.empty-state{max-width:680px;margin:10vh auto 0;padding:32px;text-align:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px}.empty-state h2{margin:0 0 10px;font-size:28px}.empty-state p{margin:0;color:#6b7280}.message{display:grid;grid-template-columns:38px minmax(0,1fr);gap:14px;max-width:920px;margin:0 auto 20px}.avatar{display:grid;width:38px;height:38px;place-items:center;color:#fff;font-size:13px;font-weight:800;background:#111827;border-radius:8px}.message.user .avatar{color:#102a1a;background:#c7f9cc}.message-body{min-width:0;padding:14px 16px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 12px 30px #0f172a0d}.message-meta{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:#6b7280;font-size:12px}.message-meta strong{color:#111827;font-size:13px}.copy-button{margin-left:auto;padding:4px 8px;color:#374151;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:6px}.copy-button.copied{color:#14532d;background:#dcfce7;border-color:#bbf7d0}.plain-text{margin:0;white-space:pre-wrap}.thinking{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:4px 0}.thinking span{width:8px;height:8px;background:#6b7280;border-radius:50%;animation:thinking-bounce 1.2s infinite ease-in-out}.thinking span:nth-child(2){animation-delay:.15s}.thinking span:nth-child(3){animation-delay:.3s}@keyframes thinking-bounce{0%,80%,to{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-5px)}}.markdown-body{line-height:1.75}.markdown-body>:first-child{margin-top:0}.markdown-body>:last-child{margin-bottom:0}.markdown-body pre{overflow:auto;padding:14px;border-radius:8px}.markdown-body code{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.92em}.markdown-body :not(pre)>code{padding:2px 5px;color:#0f172a;background:#eef2f7;border-radius:5px}.markdown-body blockquote{margin:12px 0;padding-left:12px;color:#4b5563;border-left:3px solid #c7f9cc}.markdown-body table{width:100%;border-collapse:collapse}.markdown-body th,.markdown-body td{padding:8px;border:1px solid #e5e7eb}.composer{flex-shrink:0;padding:16px 28px 22px;background:#f6f7f9f0;border-top:1px solid #e5e7eb}.input-wrap{display:grid;grid-template-columns:minmax(0,1fr) 88px;gap:12px;max-width:920px;margin:0 auto;padding:10px;background:#fff;border:1px solid #d1d5db;border-radius:8px;box-shadow:0 16px 36px #0f172a14}.input-wrap textarea{width:100%;min-height:48px;max-height:160px;padding:12px;resize:vertical;border:0;outline:0}.input-wrap button{color:#fff;font-weight:800;background:#111827;border:0;border-radius:8px}.input-wrap button:disabled{cursor:not-allowed;opacity:.55}.error-text{max-width:920px;margin:0 auto 10px;color:#b91c1c;font-size:13px}.sidebar-mask{display:none}@media(max-width:820px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;top:0;bottom:0;left:0;z-index:20;width:min(84vw,320px);transform:translate(-100%);transition:transform .2s ease}.sidebar.sidebar-open{transform:translate(0)}.sidebar-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;display:block;background:#0f172a73}.mobile-only{display:grid}.topbar,.messages,.composer{padding-right:16px;padding-left:16px}.topbar p{display:none}.message{grid-template-columns:32px minmax(0,1fr);gap:10px}.avatar{width:32px;height:32px}.message-body{padding:12px}.input-wrap{grid-template-columns:1fr}.input-wrap button{height:42px}}
