.chat{flex-direction:column;height:calc(100vh - 62px);display:flex}.chat-log{flex:1;padding-right:6px;overflow-y:auto}.chat-empty{text-align:left}.chat-turn{border-bottom:1px solid var(--border);grid-template-columns:84px 1fr;gap:16px;padding:16px 0;display:grid}.chat-turn:last-of-type{border-bottom:none}.chat-who{letter-spacing:.06em;text-transform:uppercase;color:var(--text3);padding-top:2px;font-size:11px;font-weight:600}.chat-you .chat-who{color:var(--text2)}.chat-assistant .chat-who{color:var(--accent)}.chat-text{color:var(--text);font-size:14px;line-height:1.7}.chat-text p+p{margin-top:12px}.chat-you .chat-text{color:var(--text2)}.chat-failed .chat-text{color:var(--A)}.chat-cite{color:var(--accent);white-space:nowrap;font-size:12px}.chat-pending .chat-text{color:var(--text3);align-items:center;gap:10px;display:flex}.chat-dot{background:var(--accent);border-radius:50%;width:8px;height:8px;animation:1.2s ease-in-out infinite chat-pulse}@keyframes chat-pulse{0%,to{opacity:.25}50%{opacity:1}}.chat-note{color:var(--text3);padding:10px 0 6px;font-size:11px}.chat-composer{padding-bottom:16px;display:flex;position:relative}.chat-input{border:1px solid var(--border2);border-radius:var(--radius-sm);background:var(--surface);max-height:200px;color:var(--text);font-family:var(--font-sans);resize:none;flex:1;padding:12px 50px 12px 14px;font-size:14px;line-height:1.5;overflow-y:auto}.chat-input:focus{border-color:var(--accent);outline:none}.chat-input:disabled{background:var(--surface2);color:var(--text3)}.chat-send{border:1px solid var(--border2);border-radius:var(--radius-sm);background:var(--surface2);width:30px;height:30px;color:var(--text3);cursor:pointer;justify-content:center;align-items:center;padding:0;transition:all .15s;display:flex;position:absolute;bottom:24px;right:8px}.chat-send:hover{background:var(--surface3);border-color:var(--accent);color:var(--text)}.chat-send:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.chat-send:disabled{opacity:.45;cursor:default}.chat-send:disabled:hover{background:var(--surface2);border-color:var(--border2);color:var(--text3)}.icon-enter{stroke-width:1.9px;width:15px;height:15px}.chat-spent{border:1px solid var(--border2);border-radius:var(--radius-sm);background:var(--surface2);color:var(--text3);text-align:center;margin-bottom:16px;padding:12px 14px;font-size:14px}@media (max-width:700px){.chat-turn{grid-template-columns:1fr;gap:6px}}
