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}:root{--bg: #16171a;--fg: #e8e8e8;--muted: #9aa0aa;--line: #2c2e33;--accent: #6ea8fe;--error: #f08a8a;--field: #1f2024;color-scheme:dark}:root[data-theme=light]{--bg: #ffffff;--fg: #1a1a1a;--muted: #6b7280;--line: #e5e7eb;--accent: #2563eb;--error: #b91c1c;--field: #ffffff;color-scheme:light}*{box-sizing:border-box}html,body,#app{height:100%;margin:0}body{background:var(--bg);color:var(--fg);font:16px/1.5 system-ui,-apple-system,sans-serif}button,input,textarea{font:inherit;color:inherit}.boot{display:grid;place-items:center;height:100%;color:var(--muted)}.login{display:grid;place-items:center;height:100%;padding:1rem}.login-box{display:flex;flex-direction:column;gap:.75rem;width:min(22rem,100%)}.login-box h1{margin:0 0 .5rem;font-size:1.25rem;font-weight:600}.login-box input,.login-box button{padding:.7rem .8rem;border-radius:8px;border:1px solid var(--line);background:var(--field)}.login-box button{background:var(--accent);color:#fff;border-color:transparent;cursor:pointer}.login-box button:disabled{opacity:.5;cursor:default}.error{color:var(--error);margin:0;font-size:.9rem}.shell{display:flex;flex-direction:column;height:100%}.topbar{display:flex;align-items:center;justify-content:space-between;padding:.6rem 1rem;border-bottom:1px solid var(--line)}.brand{font-weight:600}.link{background:none;border:none;color:var(--muted);cursor:pointer;padding:.25rem}.topbar .title{font-weight:600;color:var(--muted)}.link.strong{color:var(--accent);font-weight:600}.historywrap{flex:1;display:flex;flex-direction:column;min-height:0}.searchbar{display:flex;gap:.5rem;padding:.6rem 1rem;border-bottom:1px solid var(--line)}.searchbar input{flex:1;padding:.5rem .7rem;border-radius:10px;border:1px solid var(--line);background:var(--field)}.searchbar select{padding:.5rem;border-radius:10px;border:1px solid var(--line);background:var(--field)}.history{flex:1;overflow-y:auto;display:flex;flex-direction:column}.snippet{font-size:.82rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.histitem{display:flex;flex-direction:column;align-items:flex-start;gap:.2rem;text-align:left;padding:.8rem 1rem;background:none;border:none;border-bottom:1px solid var(--line);cursor:pointer;color:inherit}.histitem:hover{background:var(--field)}.histtitle{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.histmeta{font-size:.8rem;color:var(--muted)}.empty{flex:1;display:grid;place-items:center;color:var(--muted)}.chatview{flex:1;display:flex;flex-direction:column;min-height:0}.messages{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:.75rem}.blank{margin:auto;color:var(--muted)}.msg{display:flex}.msg.user{justify-content:flex-end}.msg.assistant{justify-content:flex-start}.bubble{max-width:min(42rem,85%);padding:.6rem .85rem;border-radius:14px;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:anywhere}.msg.user .bubble{background:var(--accent);color:#fff;border-bottom-right-radius:4px}.msg.assistant .bubble{background:var(--field);border:1px solid var(--line);border-bottom-left-radius:4px}.md{white-space:normal}.md>:first-child{margin-top:0}.md>:last-child{margin-bottom:0}.md p,.md ul,.md ol,.md blockquote,.md table,.md pre{margin:.5em 0}.md h1,.md h2,.md h3,.md h4{margin:.8em 0 .4em;line-height:1.25}.md h1{font-size:1.3em}.md h2{font-size:1.15em}.md h3{font-size:1.05em}.md ul,.md ol{padding-left:1.4em}.md li{margin:.2em 0}.md a{color:var(--accent)}.md blockquote{margin-left:0;padding-left:.8em;border-left:3px solid var(--line);color:var(--muted)}.md hr{border:none;border-top:1px solid var(--line)}.md code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.88em;background:#7f7f7f2e;padding:.1em .35em;border-radius:4px}.md pre{background:#0d1117;border:1px solid var(--line);border-radius:8px;padding:.75em .85em;overflow-x:auto}.md pre code{background:none;padding:0;font-size:.85em;color:#e6edf3}.md table{border-collapse:collapse;display:block;overflow-x:auto}.md th,.md td{border:1px solid var(--line);padding:.3em .6em;text-align:left}.cursor{opacity:.5;animation:blink 1s steps(2,start) infinite}@keyframes blink{to{visibility:hidden}}.msg-error{color:var(--error);font-size:.9rem}.composer{display:flex;gap:.5rem;padding:.6rem;border-top:1px solid var(--line);padding-bottom:calc(.6rem + env(safe-area-inset-bottom))}.composer textarea{flex:1;resize:none;max-height:40vh;padding:.6rem .7rem;border-radius:10px;border:1px solid var(--line);background:var(--field)}.composer button{align-self:flex-end;padding:.6rem 1rem;border-radius:10px;border:none;background:var(--accent);color:#fff;cursor:pointer}.composer button:disabled{opacity:.5;cursor:default}
