.chat-interface{flex-direction:column;display:flex}.chat-header{background:var(--card);border-bottom:1px solid var(--border);padding:1rem 1.5rem}.header-content{justify-content:space-between;align-items:flex-start;display:flex}.header-actions{align-items:center;gap:1.5rem;display:flex}.title-area h1{color:var(--foreground);margin:0;font-size:1.25rem}.title-area p{color:var(--muted-foreground);margin:.25rem 0 0;font-size:.875rem}.clear-chat-button{border:1px solid var(--border);color:var(--muted-foreground);cursor:pointer;background:0 0;border-radius:6px;justify-content:center;align-items:center;padding:6px;transition:all .2s;display:flex}.clear-chat-button:hover:not(:disabled){background:var(--accent);color:var(--foreground);border-color:var(--border)}.clear-chat-button:disabled{opacity:.5;cursor:not-allowed}.messages-area{flex-direction:column;flex:1;gap:1rem;padding:.5rem 1.25rem .5rem .5rem;display:flex;overflow-y:auto}.loading-state{height:100%;color:var(--muted-foreground);flex-direction:column;justify-content:center;align-items:center;gap:1rem;display:flex}.animate-spin{animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.empty-state{height:100%;color:var(--muted-foreground);flex-direction:column;justify-content:center;align-items:center;gap:1rem;display:flex}.message-bubble{text-align:left;gap:.75rem;max-width:85%;display:flex}.message-bubble.user{flex-direction:row-reverse;align-self:flex-end}.message-bubble.assistant{align-self:flex-start}.avatar{background:var(--muted);width:32px;height:32px;color:var(--muted-foreground);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:flex}.user .avatar{background:var(--primary);color:var(--primary-foreground)}.content{border-radius:12px;padding:.75rem 1rem;font-size:.9375rem;line-height:1.5}.user .content{background:var(--primary);color:var(--primary-foreground);border-bottom-right-radius:2px}.assistant .content{background:var(--muted);color:var(--foreground);border-bottom-left-radius:2px}.text-block{white-space:pre-wrap}.tool-invocation{background:var(--card);border:1px solid var(--border);border-radius:8px;margin-top:.75rem;overflow:hidden}.tool-info{background:var(--accent);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:.5rem .75rem;font-size:.75rem;display:flex}.tool-name{color:var(--muted-foreground);align-items:center;gap:.5rem;font-weight:600;display:flex}.tool-status{color:var(--primary)}.tool-io{color:var(--card-foreground);padding:.75rem;font-family:monospace;font-size:.8rem}.tool-args,.tool-result{word-break:break-all;margin-bottom:.5rem}.tool-result{color:var(--card-foreground);border-top:1px dashed var(--border);flex-direction:column;padding-top:.5rem;display:flex}.input-area{background:var(--card);border-top:1px solid var(--border);gap:.75rem;padding:.5rem;display:flex}.input-area input{background:var(--background);border:1px solid var(--border);color:var(--foreground);border-radius:8px;flex:1;padding:.6rem 1rem;font-size:.9375rem}.input-area input:focus{border-color:var(--ring);outline:none}.input-area button{background:var(--primary);color:var(--primary-foreground);cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;width:40px;height:40px;transition:background .2s;display:flex}.input-area button:hover:not(:disabled){background:color-mix(in srgb, var(--primary) 88%, black)}.input-area button:disabled{background:var(--muted);cursor:not-allowed;color:var(--muted-foreground)}.success{color:var(--green)}.usage-container{color:var(--muted-foreground);font-size:.75rem}.usage-info{justify-content:space-between;gap:.5rem;margin-bottom:.1875rem;line-height:1.2;display:flex}.usage-bar-bg{background:var(--muted);border-radius:2px;width:100%;height:4px;overflow:hidden}.usage-bar-fill{background:var(--primary);height:100%;transition:width .3s}
