.rk-chat-markdown{overflow-wrap:anywhere;min-width:0}.rk-chat-markdown>:first-child,.rk-chat-markdown>:first-child>:first-child{margin-top:0}.rk-chat-markdown>:last-child,.rk-chat-markdown>:last-child>:last-child{margin-bottom:0}.rk-chat-markdown p,.rk-chat-markdown blockquote,.rk-chat-markdown pre,.rk-chat-markdown table,.rk-chat-markdown ul,.rk-chat-markdown ol{margin:.65em 0}.rk-chat-markdown h1,.rk-chat-markdown h2,.rk-chat-markdown h3,.rk-chat-markdown h4,.rk-chat-markdown h5,.rk-chat-markdown h6{color:var(--foreground);margin:.9em 0 .35em;font-weight:650;line-height:1.25}.rk-chat-markdown h1{font-size:1.35em}.rk-chat-markdown h2{font-size:1.2em}.rk-chat-markdown h3,.rk-chat-markdown h4,.rk-chat-markdown h5,.rk-chat-markdown h6{font-size:1.05em}.rk-chat-markdown ul,.rk-chat-markdown ol{padding-left:1.45em}.rk-chat-markdown ul{list-style:outside}.rk-chat-markdown ol{list-style:decimal}.rk-chat-markdown li+li{margin-top:.25em}.rk-chat-markdown li>p{margin:.2em 0}.rk-chat-markdown .contains-task-list,.rk-chat-markdown .task-list-item{list-style:none}.rk-chat-markdown .contains-task-list{padding-left:0}.rk-chat-markdown a{color:var(--link);text-decoration:underline;-webkit-text-decoration-color:color-mix(in srgb, var(--link) 55%, transparent);text-decoration-color:color-mix(in srgb, var(--link) 55%, transparent);text-underline-offset:.15em}.rk-chat-markdown code{border:1px solid var(--border);background:var(--muted);color:var(--foreground);direction:ltr;unicode-bidi:isolate;border-radius:.35em;padding:.08em .32em;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.88em}.rk-chat-markdown pre{border:1px solid var(--border);background:var(--card);max-width:100%;color:var(--foreground);direction:ltr;unicode-bidi:isolate;border-radius:.75em;padding:.8em .9em;overflow-x:auto}.rk-chat-markdown pre code{white-space:pre;background:0 0;border:0;padding:0;font-size:.84em}.rk-chat-markdown-pre-wrap{margin:.65em 0;position:relative}.rk-chat-markdown .rk-chat-markdown-pre-wrap pre{margin:0}.rk-chat-markdown-copy{border:1px solid var(--border);background:var(--muted);width:1.75em;height:1.75em;color:var(--muted-foreground);opacity:0;cursor:pointer;border-radius:.4em;justify-content:center;align-items:center;transition:opacity .12s;display:flex;position:absolute;top:.5em;right:.5em}.rk-chat-markdown-pre-wrap:hover .rk-chat-markdown-copy,.rk-chat-markdown-copy:focus-visible{opacity:1}.rk-chat-markdown-copy:hover{background:var(--accent);color:var(--foreground)}.rk-chat-markdown blockquote{border-left:3px solid var(--border);color:var(--muted-foreground);padding-left:.85em}.rk-chat-markdown table{border-collapse:collapse;max-width:100%;font-size:.92em;display:block;overflow-x:auto}.rk-chat-markdown th,.rk-chat-markdown td{border:1px solid var(--border);text-align:left;overflow-wrap:break-word;padding:.4em .6em}.rk-chat-markdown th{background:var(--muted);color:var(--foreground);font-weight:600}.rk-chat-markdown hr{border:0;border-top:1px solid var(--border);margin:.9em 0}.rk-chat-markdown img{border-radius:.65em;max-width:100%;height:auto;margin:.65em 0;display:block}.rk-chat-markdown input[type=checkbox]{accent-color:var(--primary);margin-right:.4em}.rk-chat-markdown-streaming{padding-right:.8em;position:relative}.rk-chat-markdown-cursor{background:var(--muted-foreground);border-radius:999px;width:.16em;height:1em;animation:1s steps(2,jump-none) infinite rkMarkdownCursor;position:absolute;bottom:.24em;right:0}@keyframes rkMarkdownCursor{50%{opacity:0}}
