:root{--bg: #f5f7fb;--surface: #ffffff;--text: #1a1a2e;--text-muted: #6b7280;--primary: #4f46e5;--primary-hover: #4338ca;--border: #e5e7eb;--user-bubble: #4f46e5;--assistant-bubble: #f3f4f6;--shadow: 0 1px 3px rgba(0,0,0,.08)}[data-theme=dark]{--bg: #0f172a;--surface: #1e293b;--text: #f1f5f9;--text-muted: #94a3b8;--primary: #818cf8;--primary-hover: #a5b4fc;--border: #334155;--user-bubble: #4f46e5;--assistant-bubble: #334155;--shadow: 0 1px 3px rgba(0,0,0,.3)}*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;background:var(--bg);color:var(--text);line-height:1.5;transition:background .2s,color .2s}a{color:var(--primary);text-decoration:none}button{cursor:pointer;font-family:inherit}input,textarea{font-family:inherit}.markdown p{margin-bottom:.6em}.markdown ul,.markdown ol{margin-left:1.2em;margin-bottom:.6em}.markdown code{background:#00000014;padding:.15em .4em;border-radius:4px;font-size:.9em}[data-theme=dark] .markdown code{background:#ffffff1a}.markdown pre{background:#0000000f;padding:.8em;border-radius:8px;overflow-x:auto;margin-bottom:.6em}[data-theme=dark] .markdown pre{background:#0000004d}.markdown a{text-decoration:underline}
