.app{min-height:100vh}.main-layout{min-height:100vh;display:flex;flex-direction:column}.main-content{flex:1;padding:20px}.page-header{margin-bottom:24px}.page-header h1{font-size:1.75rem;font-weight:700;color:#111827}.page-header p{color:#6b7280;margin-top:4px}*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;background:#f5f5f5;color:#333}.container{max-width:1200px;margin:0 auto;padding:20px}.navbar{background:#fff;border-bottom:1px solid #e0e0e0;padding:0 20px;position:sticky;top:0;z-index:100}.nav-content{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;height:60px}.nav-brand{font-size:1.5rem;font-weight:700;color:#4f46e5;text-decoration:none}.nav-links{display:flex;align-items:center;gap:20px}.nav-link{color:#666;text-decoration:none;padding:8px 16px;border-radius:6px;transition:all .2s}.nav-link:hover{background:#f3f4f6;color:#4f46e5}.nav-link.active{background:#eef2ff;color:#4f46e5;font-weight:500}.card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 1px 3px #0000001a;margin-bottom:16px}.card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.card-title{font-size:1.25rem;font-weight:600}.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;border-radius:8px;border:none;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-primary{background:#4f46e5;color:#fff}.btn-primary:hover{background:#4338ca}.btn-secondary{background:#f3f4f6;color:#374151}.btn-secondary:hover{background:#e5e7eb}.btn-danger{background:#ef4444;color:#fff}.btn-danger:hover{background:#dc2626}.btn-sm{padding:6px 12px;font-size:.875rem}.form-group{margin-bottom:16px}.form-label{display:block;margin-bottom:6px;font-weight:500;color:#374151;font-size:.9rem}.form-input{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:8px;font-size:1rem;transition:border-color .2s}.form-input:focus{outline:none;border-color:#4f46e5}.contact-list{display:flex;flex-direction:column;gap:12px}.contact-item{display:flex;align-items:center;justify-content:space-between;padding:16px;background:#f9fafb;border-radius:10px;border:1px solid #e5e7eb}.contact-info h3{font-size:1rem;font-weight:600;color:#111827}.contact-info p{font-size:.875rem;color:#6b7280;margin-top:4px}.contact-actions{display:flex;gap:8px}.chat-container{display:flex;flex-direction:column;height:calc(100vh - 140px);min-height:500px}.chat-messages{flex:1;overflow-y:auto;padding:20px;background:#f9fafb;border-radius:12px 12px 0 0}.message{max-width:80%;margin-bottom:16px;padding:12px 16px;border-radius:12px;line-height:1.5}.message.user{background:#4f46e5;color:#fff;margin-left:auto;border-bottom-right-radius:4px}.message.assistant{background:#fff;color:#374151;border:1px solid #e5e7eb;border-bottom-left-radius:4px}.message-time{font-size:.75rem;opacity:.7;margin-top:4px}.chat-input-container{display:flex;gap:12px;padding:16px;background:#fff;border-top:1px solid #e5e7eb;border-radius:0 0 12px 12px}.chat-input{flex:1;padding:12px 16px;border:1px solid #d1d5db;border-radius:24px;font-size:1rem;resize:none;min-height:48px;max-height:120px}.chat-input:focus{outline:none;border-color:#4f46e5}.send-btn{width:48px;height:48px;border-radius:50%;background:#4f46e5;color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}.send-btn:hover{background:#4338ca}.send-btn:disabled{background:#9ca3af;cursor:not-allowed}.loading{display:flex;align-items:center;justify-content:center;padding:40px;color:#6b7280}.spinner{width:20px;height:20px;border:2px solid #e5e7eb;border-top-color:#4f46e5;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty-state{text-align:center;padding:60px 20px;color:#6b7280}.empty-state h3{font-size:1.125rem;font-weight:600;color:#374151;margin-bottom:8px}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2)}.auth-box{background:#fff;padding:40px;border-radius:16px;box-shadow:0 20px 25px -5px #0000001a;text-align:center;max-width:400px;width:90%}.auth-box h1{font-size:2rem;margin-bottom:8px;color:#111827}.auth-box p{color:#6b7280;margin-bottom:24px}.error{background:#fee2e2;color:#dc2626;padding:12px 16px;border-radius:8px;margin-bottom:16px}@media (max-width: 768px){.container{padding:12px}.nav-content{padding:0 12px}.chat-container{height:calc(100vh - 120px)}}
