.chat-container{background:linear-gradient(135deg,#f0f9ff 0%,#fdf2ff 100%);flex-direction:column;min-height:100vh;display:flex}.chat-header{z-index:50;background:#fffffff2;border-bottom:1px solid #e5e7eb;padding:1rem 0;position:sticky;top:0}.header-content{justify-content:space-between;align-items:center;max-width:1200px;margin:0 auto;padding:0 1rem;display:flex}.header-left{align-items:center;gap:.75rem;display:flex}.back-button{color:#1d4ed8;background-color:#dbeafe;border-radius:50%;justify-content:center;align-items:center;width:2rem;height:2rem;font-size:1.125rem;transition:background-color .2s;display:flex}.back-button:hover{background-color:#bfdbfe}.header-titles{flex-direction:column;display:flex}.chat-title{color:#1f2937;align-items:center;gap:.5rem;margin:0;font-size:1.25rem;font-weight:700;display:flex}.title-icon{font-size:1.5rem}.chat-subtitle{color:#6b7280;margin:.25rem 0 0;font-size:.875rem}.clear-chat-button{color:#374151;cursor:pointer;background-color:#f3f4f6;border:1px solid #e5e7eb;border-radius:.75rem;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.875rem;font-weight:500;transition:all .2s;display:flex}.clear-chat-button:hover:not(:disabled){background-color:#e5e7eb}.clear-chat-button:disabled{opacity:.5;cursor:not-allowed}.button-icon{font-size:1rem}.button-text{font-size:.875rem}.chat-main{flex:1;width:100%;max-width:1200px;margin:0 auto;padding:1.5rem 1rem}.chat-layout{gap:1.5rem;height:100%;display:flex}.chat-sidebar{flex-direction:column;gap:1.5rem;width:20rem;display:flex}.sidebar-card{background-color:#fff;border-radius:1rem;padding:1.5rem;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.sidebar-title{color:#1f2937;align-items:center;gap:.5rem;margin:0 0 1rem;font-size:1rem;font-weight:600;display:flex}.sidebar-icon{font-size:1.25rem}.sidebar-list{margin:0;padding:0;list-style:none}.sidebar-item{color:#4b5563;align-items:flex-start;gap:.5rem;padding:.5rem 0;font-size:.875rem;display:flex}.sidebar-item:not(:last-child){border-bottom:1px solid #f3f4f6}.item-icon{color:#10b981;font-size:.875rem}.item-label{font-weight:500}.status-card{color:#fff;background:linear-gradient(135deg,#3b82f6,#8b5cf6);border-radius:1rem;padding:1.5rem;box-shadow:0 4px 6px -1px #0000001a}.status-title{margin:0 0 1rem;font-size:1rem;font-weight:600}.status-grid{flex-direction:column;gap:1rem;display:flex}.status-item{justify-content:space-between;align-items:center;display:flex}.status-label{opacity:.9;font-size:.875rem}.status-indicator{align-items:center;gap:.5rem;display:flex}.status-text{opacity:.9;font-size:.75rem}.chat-area{flex-direction:column;flex:1;display:flex}.chat-wrapper{background-color:#fff;border-radius:1rem;flex-direction:column;flex:1;display:flex;overflow:hidden;box-shadow:0 4px 6px -1px #0000001a}.messages-container{flex:1;padding:1.5rem;overflow-y:auto}.welcome-screen{text-align:center;flex-direction:column;justify-content:center;align-items:center;height:100%;padding:2rem 1rem;display:flex}.welcome-avatar{background:linear-gradient(135deg,#dbeafe,#ede9fe);border-radius:50%;justify-content:center;align-items:center;width:6rem;height:6rem;margin-bottom:1.5rem;display:flex}.welcome-title{color:#1f2937;margin:0 0 1rem;font-size:1.5rem;font-weight:700}.welcome-description{color:#6b7280;max-width:28rem;margin:0 0 2rem;line-height:1.6}.examples-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem;width:100%;max-width:42rem;margin-bottom:2rem;display:grid}.example-button{text-align:left;cursor:pointer;background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:.75rem;align-items:center;gap:.75rem;padding:.75rem 1rem;transition:all .2s;display:flex}.example-button:hover{background-color:#f3f4f6;border-color:#d1d5db;transform:translateY(-1px)}.example-icon{font-size:1.25rem}.example-text{color:#374151;font-size:.875rem;font-weight:500}.welcome-tips{flex-direction:column;gap:.5rem;display:flex}.tip{color:#6b7280;align-items:center;gap:.5rem;margin:0;font-size:.875rem;display:flex}.tip-icon{font-size:1rem}.tip:first-child .tip-icon{color:#3b82f6}.tip:nth-child(2) .tip-icon{color:#10b981}.messages-list{flex-direction:column;gap:1rem;display:flex}.message-wrapper{width:100%;display:flex}.message-wrapper.user{justify-content:flex-end}.message-wrapper.assistant{justify-content:flex-start}.message-bubble{border-radius:1rem;max-width:85%;padding:1rem;animation:.3s fadeIn;position:relative}.message-bubble.user{color:#fff;background:linear-gradient(135deg,#3b82f6,#1d4ed8);border-bottom-right-radius:.25rem}.message-bubble.assistant{color:#1f2937;background-color:#f9fafb;border:1px solid #e5e7eb;border-bottom-left-radius:.25rem}.message-header{justify-content:space-between;align-items:center;margin-bottom:.5rem;display:flex}.message-sender{align-items:center;gap:.5rem;display:flex}.sender-icon{font-size:.875rem}.sender-name{font-size:.875rem;font-weight:600}.message-mode{color:inherit;background-color:#0000001a;border-radius:.75rem;padding:.125rem .375rem;font-size:.75rem}.message-bubble.user .message-mode{background-color:#fff3}.message-time{opacity:.75;font-size:.75rem}.message-content{white-space:pre-wrap;word-break:break-word;line-height:1.5}.message-actions{justify-content:flex-end;margin-top:.75rem;display:flex}.listen-button{color:#1d4ed8;cursor:pointer;background-color:#dbeafe;border:none;border-radius:.75rem;align-items:center;gap:.375rem;padding:.375rem .75rem;font-size:.75rem;font-weight:500;transition:background-color .2s;display:flex}.listen-button:hover{background-color:#bfdbfe}.listen-button.active{color:#dc2626;background-color:#fee2e2}.listen-button.active:hover{background-color:#fecaca}.listen-icon{font-size:.875rem}.listen-text{font-size:.75rem}.typing-indicator{justify-content:flex-start;animation:.3s slideIn;display:flex}.typing-bubble{background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:1rem 1rem 1rem .25rem;max-width:85%;padding:1rem}.typing-content{align-items:center;gap:.75rem;display:flex}.typing-avatar{background:linear-gradient(135deg,#dbeafe,#ede9fe);border-radius:50%;justify-content:center;align-items:center;width:2rem;height:2rem;display:flex}.avatar-icon{font-size:1rem}.typing-info{flex-direction:column;gap:.25rem;display:flex}.typing-label{color:#374151;font-size:.875rem;font-weight:500}.typing-dots{gap:.25rem;display:flex}.typing-dot{background-color:#3b82f6;border-radius:50%;width:.375rem;height:.375rem;animation:1.4s ease-in-out infinite bounce}.typing-dot.dot-1{animation-delay:-.32s}.typing-dot.dot-2{animation-delay:-.16s}.typing-dot.dot-3{animation-delay:0s}.scroll-anchor{width:100%;height:1px}.input-area{border-top:1px solid #e5e7eb;padding:1rem}.input-group{gap:.75rem;margin-bottom:.75rem;display:flex}.chat-input{color:#1f2937;background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:.75rem;outline:none;flex:1;padding:.75rem 1rem;font-size:.875rem;transition:all .2s}.chat-input:focus{background-color:#fff;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.chat-input:disabled{opacity:.5;cursor:not-allowed}.input-buttons{gap:.5rem;display:flex}.mic-button,.send-button{cursor:pointer;border:none;border-radius:.75rem;justify-content:center;align-items:center;gap:.375rem;min-width:3rem;padding:.75rem;font-size:.875rem;font-weight:500;transition:all .2s;display:flex}.mic-button{color:#4b5563;background-color:#f3f4f6}.mic-button:hover:not(:disabled){background-color:#e5e7eb}.mic-button.active{color:#fff;background-color:#dc2626}.mic-button.active:hover:not(:disabled){background-color:#b91c1c}.mic-button:disabled,.send-button:disabled{opacity:.5;cursor:not-allowed}.mic-icon{font-size:1rem}.mic-icon.listening{animation:1s infinite pulse}.mic-text{font-size:.875rem}.send-button{color:#fff;background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.send-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.send-icon{font-size:1rem}.send-text{font-size:.875rem}.input-footer{justify-content:space-between;align-items:center;display:flex}.hint{color:#6b7280;align-items:center;gap:.375rem;font-size:.75rem;display:flex}.hint-icon{font-size:.875rem}.hint-text{font-size:.75rem}.mobile-clear-button{color:#374151;cursor:pointer;background-color:#f3f4f6;border:1px solid #e5e7eb;border-radius:.75rem;align-items:center;gap:.375rem;padding:.375rem .75rem;font-size:.75rem;font-weight:500;transition:all .2s;display:flex}.mobile-clear-button:hover:not(:disabled){background-color:#e5e7eb}.mobile-clear-button:disabled{opacity:.5;cursor:not-allowed}.clear-icon{font-size:.875rem}.clear-text{font-size:.75rem}.mobile-footer{background:#fffffff2;border-top:1px solid #e5e7eb;padding:.75rem 1rem;position:sticky;bottom:0}.footer-status{justify-content:space-around;align-items:center;display:flex}.status-item{align-items:center;gap:.375rem;display:flex}.status-dot{background-color:#d1d5db;border-radius:50%;width:.5rem;height:.5rem}.status-dot.listening{background-color:#10b981;animation:1s infinite pulse}.status-dot.loading{background-color:#f59e0b;animation:.6s infinite pulse}.status-dot.speaking{background-color:#3b82f6;animation:1s infinite pulse}.status-text{color:#4b5563;font-size:.75rem}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes slideIn{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}@keyframes bounce{0%,80%,to{opacity:.3;transform:scale(.6)}40%{opacity:1;transform:scale(1)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}@media (max-width:767px){.chat-main{padding:1rem}.chat-layout{flex-direction:column}.chat-sidebar{display:none}.chat-header{padding:.75rem 0}.header-content{padding:0 .75rem}.chat-title{font-size:1.125rem}.chat-subtitle{font-size:.75rem}.messages-container{padding:1rem}.message-bubble{max-width:90%}.examples-grid{grid-template-columns:1fr}.input-area{padding:.75rem}.input-group{gap:.5rem}.chat-input{padding:.625rem .75rem;font-size:.8125rem}.mic-button,.send-button{min-width:2.5rem;padding:.625rem}.footer-status{gap:1rem}}@media (min-width:768px) and (max-width:1023px){.chat-sidebar{width:16rem}.message-bubble{max-width:75%}}@media (min-width:1024px){.messages-container{padding:2rem}.message-bubble{max-width:70%}}
