:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--accent:#e11d2a;--accent-soft:#fbe9ea;--accent-ink:#c61a25;--bg:#f1efec;--ink:#141210;--sidebar-bg:#fbf9f6;--line:#e8e4df;--line-strong:#e2ddd7;--muted:#5c554e;--muted-soft:#4f4943;--online:#16a34a;--radius-pill:999px}*{box-sizing:border-box}html,body{height:100%}body{background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;font-size:15px;line-height:1.5}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;font-family:inherit}a{color:inherit;text-decoration:none}code,pre{font-family:Cascadia Code,SFMono-Regular,Consolas,Liberation Mono,monospace}.app{background:var(--bg);min-height:100vh;color:var(--ink);flex-wrap:wrap;display:flex}.sidebar{box-sizing:border-box;background:var(--sidebar-bg);border-right:1px solid var(--line);flex-direction:column;flex:272px;gap:24px;max-width:272px;min-height:100vh;padding:20px 16px;display:flex}.brand{align-items:flex-start;gap:4px;padding:4px 8px;display:flex}.brand-name{letter-spacing:-.04em;color:var(--accent);font-size:30px;font-weight:800;line-height:1}.brand-suffix{color:var(--muted);letter-spacing:.04em;font-size:11px;font-weight:600}.new-chat{border-radius:var(--radius-pill);background:var(--ink);color:#fff;border:0;justify-content:center;align-items:center;gap:8px;height:46px;font-size:15px;font-weight:600;display:flex}.new-chat:hover{background:#000}.nav{flex-direction:column;gap:4px;display:flex}.nav-item{height:46px;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;padding:0 14px;font-size:15px;font-weight:600;display:flex}.nav-item.active{background:var(--accent-soft);color:var(--accent-ink)}.sidebar-spacer{flex-grow:1}.status-chip{background:var(--bg);color:var(--muted-soft);border-radius:12px;align-items:center;gap:10px;padding:12px 14px;font-size:13px;display:flex}.status-dot{border-radius:var(--radius-pill);background:var(--online);flex:none;width:8px;height:8px}.main{flex-direction:column;flex:999 520px;min-width:0;height:100vh;max-height:100vh;display:flex}.topbar{background:var(--sidebar-bg);border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:20px 32px;display:flex}.online{color:var(--muted-soft);align-items:center;gap:8px;font-size:13px;font-weight:500;display:flex}.topbar h1{letter-spacing:-.02em;margin:2px 0 0;font-size:22px;font-weight:800}.pill{border-radius:var(--radius-pill);border:1px solid var(--line-strong);color:#2b2723;background:#fff;align-items:center;gap:8px;height:38px;padding:0 16px;font-size:13px;font-weight:600;display:flex}.hero{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:32px;padding:32px;display:flex;overflow-y:auto}.hero-greeting{align-items:flex-start;gap:14px;width:100%;max-width:680px;display:flex}.suggestions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;max-width:680px;display:grid}.suggestion{border:1px solid var(--line);text-align:left;color:var(--ink);background:#fff;border-radius:18px;flex-direction:column;gap:4px;padding:16px 18px;display:flex}.suggestion:hover{border-color:var(--line-strong);box-shadow:0 6px 18px #1412100f}.suggestion-title{font-size:14px;font-weight:700}.suggestion-hint{color:var(--muted);font-size:13px}.chat-log{flex:1;padding:28px 32px 8px;overflow-y:auto}.chat-log-inner{flex-direction:column;gap:22px;max-width:760px;margin:0 auto;display:flex}.message{align-items:flex-start;gap:12px;display:flex}.message.user{justify-content:flex-end}.message-body{flex-direction:column;gap:6px;min-width:0;max-width:min(100%,620px);display:flex}.message.user .message-body{align-items:flex-end}.avatar{border-radius:var(--radius-pill);background:var(--accent);color:#fff;flex:none;justify-content:center;align-items:center;width:38px;height:38px;font-size:15px;font-weight:800;display:flex}.bubble{overflow-wrap:anywhere;padding:14px 18px;font-size:16px;line-height:1.55}.assistant-bubble{border:1px solid var(--line);background:#fff;border-radius:4px 20px 20px}.user-bubble{background:var(--accent);color:#fff;border-radius:20px 4px 20px 20px}.message-meta{color:var(--muted);font-size:12px}.message-prose p{margin:0 0 10px}.message-prose p:last-child{margin-bottom:0}.message-prose h3,.message-prose h4,.prose-heading{margin:14px 0 6px;font-size:16px;font-weight:700;line-height:1.35}.message-prose h3:first-child,.message-prose h4:first-child{margin-top:0}.message-prose ul,.message-prose ol{margin:0 0 10px;padding-left:20px}.message-prose li{margin:2px 0}.prose-lead{font-weight:600}.inline-code{background:#14121012;border-radius:6px;padding:1px 5px;font-size:.92em}.user-bubble .inline-code{background:#ffffff38}.message-code{background:var(--ink);color:#f7f5f2;border-radius:14px;margin:10px 0;padding:14px 16px;font-size:13px;line-height:1.5;overflow-x:auto}.message-divider{border:0;border-top:1px solid var(--line);margin:12px 0}.thinking-row{align-items:center;gap:10px;display:flex}.thinking-hint{color:var(--muted);margin:0;font-size:15px}.typing-dots{align-items:center;gap:4px;display:inline-flex}.typing-dots span{border-radius:var(--radius-pill);background:var(--muted);width:6px;height:6px;animation:1.2s ease-in-out infinite typing}.typing-dots span:nth-child(2){animation-delay:.15s}.typing-dots span:nth-child(3){animation-delay:.3s}@keyframes typing{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.composer-area{flex-direction:column;align-items:center;gap:10px;padding:8px 32px 28px;display:flex}.composer{box-sizing:border-box;border:1px solid var(--line-strong);background:#fff;border-radius:28px;align-items:flex-end;gap:12px;width:100%;max-width:760px;padding:12px 12px 12px 22px;display:flex;box-shadow:0 8px 28px #14121014}.composer textarea{resize:none;min-width:0;color:var(--ink);background:0 0;border:0;outline:none;flex:1;max-height:220px;padding:8px 0;font-size:16px;line-height:1.5}.composer textarea::placeholder{color:#8d857d}.send{border-radius:var(--radius-pill);background:var(--accent);color:#fff;border:0;flex:none;justify-content:center;align-items:center;width:46px;height:46px;display:flex}.send:disabled{opacity:.6;cursor:default}.composer-note{color:var(--muted);margin:0;font-size:12px}@media (max-width:900px){.app{flex-direction:column;height:100dvh;overflow:hidden}.sidebar{border-right:0;border-bottom:1px solid var(--line);flex-flow:wrap;flex:none;align-items:center;gap:10px;max-width:none;min-height:auto;padding:12px 16px}.brand{padding:0}.sidebar-spacer{display:none}.nav{flex-direction:row}.nav-item{height:40px}.new-chat{height:40px;padding:0 16px}.status-chip{margin-left:auto;padding:8px 12px}.main{flex:auto;height:auto;min-height:0;max-height:none}.topbar{padding:14px 16px}.hero,.chat-log{padding:20px 16px}.suggestions{grid-template-columns:1fr}.composer-area{padding:8px 16px 18px}}
