:root{--primary-color: #3b82f6;--primary-hover: #2563eb;--secondary-color: #f97316;--secondary-light: #fed7aa;--text-primary: #111827;--text-secondary: #6b7280;--text-muted: #9ca3af;--bg-primary: #ffffff;--bg-secondary: #f9fafb;--bg-tertiary: #f3f4f6;--border-color: #e5e7eb;--border-light: #f3f4f6;--success-color: #10b981;--error-color: #ef4444;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--radius-sm: .375rem;--radius-md: .5rem;--radius-lg: .75rem;--radius-xl: 1rem;--radius-2xl: 1.5rem}html{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:var(--text-primary);background-color:var(--bg-secondary);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}body{margin:0;min-width:320px;min-height:100vh}#root{height:100vh;width:100vw}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border-color);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}.flex{display:flex}.flex-column{flex-direction:column}.flex-1{flex:1}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.align-center{align-items:center}.text-center{text-align:center}.text-right{text-align:right}.hidden{display:none}@media (max-width: 768px){.md-hidden{display:none}.md-flex{display:flex}}.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-md);font-size:.875rem;font-weight:500;transition:all .2s ease;cursor:pointer;border:none;text-decoration:none;outline:none}.btn:focus-visible{outline:2px solid var(--primary-color);outline-offset:2px}.btn:disabled{opacity:.6;cursor:not-allowed}@keyframes bounce{0%,20%,53%,80%,to{transform:translateZ(0)}40%,43%{transform:translate3d(0,-8px,0)}70%{transform:translate3d(0,-4px,0)}90%{transform:translate3d(0,-2px,0)}}.animate-bounce{animation:bounce 1.4s infinite}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.animate-fade-in{animation:fadeIn .3s ease-out}.navbar{width:100%;height:70px;background:#24293a;position:fixed;top:0;left:0;z-index:1000;box-shadow:0 1px 3px #0000001a;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,sans-serif}.navbar-content{height:100%;max-width:1400px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:0 2rem}.navbar-brand h1{color:#fff;font-size:1.5rem;font-weight:600;margin:0;letter-spacing:-.025em}.navbar-items{display:flex;align-items:center;gap:.5rem;flex:1;justify-content:center}.navbar-item{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:transparent;border:1px solid rgba(255,255,255,.1);border-radius:6px;color:#fff;cursor:pointer;transition:all .2s ease;font-size:.875rem;font-weight:500;text-decoration:none}.navbar-item:hover{background:#ffffff1a;border-color:#fff3;transform:translateY(-1px)}.navbar-item.active{background:#4a5568;border-color:#4a5568;box-shadow:0 1px 3px #0000001a}.navbar-item span{font-weight:500;color:#fff}.navbar-actions{display:flex;align-items:center;gap:.5rem}.new-chat-btn{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#4a5568;border:1px solid #4a5568;border-radius:6px;color:#fff;cursor:pointer;transition:all .2s ease;font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em}.new-chat-btn:hover{background:#718096;border-color:#718096;transform:translateY(-1px);box-shadow:0 2px 6px #00000026}.new-chat-btn:focus,.navbar-item:focus{outline:2px solid #4299e1;outline-offset:2px}.navbar-item svg,.new-chat-btn svg{width:1rem;height:1rem;color:#fff}.icon-btn{background:transparent;border:none;color:#a0aec0;cursor:pointer;padding:8px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .2s}.icon-btn:hover{background:#ffffff1a;color:#fff}@media (max-width: 1024px){.navbar-content{padding:0 1.5rem}}@media (max-width: 768px){.navbar-content{padding:0 1rem}.navbar-brand h1{font-size:1.25rem}.navbar-items{gap:.25rem}.navbar-item{padding:.5rem .75rem;font-size:.8rem}.navbar-item span,.new-chat-btn span{display:none}.new-chat-btn{padding:.5rem;font-size:.8rem}}@media (max-width: 480px){.navbar-content{padding:0 .75rem}.navbar-brand h1{font-size:1.125rem}.navbar-items{gap:.125rem}.navbar-item{padding:.375rem .5rem;font-size:.75rem}.new-chat-btn{padding:.375rem}.navbar-item svg,.new-chat-btn svg{width:.875rem;height:.875rem}}.navbar-item.loading{opacity:.6;cursor:not-allowed}.navbar-item.loading:hover{transform:none;background:transparent}.navbar-item{position:relative}.navbar-item.active:after{content:"";position:absolute;bottom:-1px;left:50%;transform:translate(-50%);width:24px;height:2px;background:#fff;border-radius:1px}.navbar-item,.new-chat-btn{will-change:transform}@media (prefers-contrast: high){.navbar{border-bottom-width:2px}.navbar-item,.new-chat-btn{border-width:2px}.navbar-item.active{background:#fff;color:#2d3748}.navbar-item.active span{color:#2d3748}.navbar-item.active svg{color:#2d3748}}@media (prefers-reduced-motion: reduce){.navbar-item,.new-chat-btn{transition:none}.navbar-item:hover,.new-chat-btn:hover{transform:none}}*{box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.notifications-container{position:relative}.notification-bell{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:transparent;border:1px solid rgba(255,255,255,.1);border-radius:6px;color:#fff;cursor:pointer;transition:all .2s ease;font-size:.875rem;font-weight:500;text-decoration:none}.notification-bell:hover{background:#ffffff1a;border-color:#fff3;transform:translateY(-1px)}.notification-bell:active{transform:translateY(0)}.notification-bell:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.notification-badge{position:absolute;top:-6px;right:-6px;background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;font-size:11px;font-weight:700;padding:3px 7px;border-radius:12px;min-width:20px;text-align:center;border:2px solid #ffffff;box-shadow:0 2px 4px #ef44444d;animation:pulse 2s infinite}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.notifications-dropdown{position:fixed;top:60px;right:0;width:420px;height:calc(100vh - 60px);background:linear-gradient(to bottom,#fff,#f9fafb);box-shadow:-4px 0 24px #0000001f,-2px 0 8px #00000014;z-index:1000;display:flex;flex-direction:column;animation:slideInRight .4s cubic-bezier(.4,0,.2,1)}@keyframes slideInRight{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.notifications-header{padding:24px 24px 20px;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;background:#fff}.header-content{display:flex;align-items:center;gap:12px}.header-icon{color:#3b82f6}.notifications-title{margin:0;font-size:20px;font-weight:700;color:#111827;letter-spacing:-.02em}.mark-all-read-btn{display:flex;align-items:center;gap:6px;background:transparent;border:1px solid #e5e7eb;color:#6b7280;font-size:13px;font-weight:600;cursor:pointer;padding:8px 14px;border-radius:8px;transition:all .2s ease;white-space:nowrap}.mark-all-read-btn:hover{background:#f3f4f6;border-color:#d1d5db;color:#374151;transform:translateY(-1px)}.mark-all-read-btn:active{transform:translateY(0)}.search-container{position:relative;padding:16px 24px;border-bottom:1px solid #e5e7eb;flex-shrink:0;background:#fff}.search-icon{position:absolute;left:40px;top:50%;transform:translateY(-50%);color:#9ca3af;pointer-events:none}.search-input{width:100%;padding:12px 14px 12px 42px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;color:#111827;font-size:14px;outline:none;transition:all .2s ease}.search-input:focus{background:#fff;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.search-input::placeholder{color:#9ca3af}.filters-container{display:flex;gap:8px;padding:16px 24px;border-bottom:1px solid #e5e7eb;flex-shrink:0;background:#fff;overflow-x:hidden}.filter-button{display:flex;align-items:center;gap:8px;padding:10px 16px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;color:#6b7280;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap;flex:1;justify-content:center}.filter-button:hover{background:#f3f4f6;border-color:#d1d5db;transform:translateY(-1px)}.filter-button.active{background:linear-gradient(135deg,#eff6ff,#dbeafe);color:#2563eb;border-color:#3b82f6;box-shadow:0 2px 4px #3b82f61a}.filter-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.notifications-list{flex:1;overflow-y:auto;overflow-x:hidden;min-height:0}.notifications-list::-webkit-scrollbar{width:6px}.notifications-list::-webkit-scrollbar-track{background:transparent}.notifications-list::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.notifications-list::-webkit-scrollbar-thumb:hover{background:#9ca3af}.notification-item{display:flex;gap:14px;padding:18px 24px;border-bottom:1px solid #f3f4f6;transition:all .2s ease;cursor:pointer;position:relative;background:#fff}.notification-item:hover{background:#f9fafb;transform:translate(-2px)}.notification-item.unread{background:linear-gradient(90deg,#eff6ff,#fff)}.notification-item.unread:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#3b82f6,#2563eb);border-radius:0 2px 2px 0}.notification-avatar{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 2px 4px #0000000f}.notification-avatar[data-severity=error]{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#dc2626}.notification-avatar[data-severity=warning]{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#d97706}.notification-avatar[data-severity=success]{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#059669}.notification-avatar[data-severity=info]{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#2563eb}.notification-content{flex:1;min-width:0}.notification-title{font-size:14px;font-weight:600;color:#111827;margin-bottom:6px;line-height:1.4;letter-spacing:-.01em}.notification-subtitle{font-size:13px;color:#6b7280;line-height:1.5;margin-bottom:10px}.notification-footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.notification-time{font-size:12px;color:#9ca3af;font-weight:500}.action-button{background:transparent;border:none;color:#3b82f6;font-size:12px;font-weight:600;cursor:pointer;padding:0;text-align:left;transition:color .2s ease}.action-button:hover{color:#2563eb;text-decoration:underline}.close-button{background:transparent;border:none;color:#9ca3af;cursor:pointer;padding:4px;border-radius:6px;display:flex;align-items:center;justify-content:center;transition:all .2s ease;flex-shrink:0;opacity:.7}.notification-item:hover .close-button{opacity:1}.close-button:hover{background:#f3f4f6;color:#6b7280;transform:scale(1.1)}.empty-state{padding:80px 32px;text-align:center;color:#6b7280;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px}.empty-icon{color:#d1d5db;margin-bottom:16px}.error-icon{color:#ef4444;margin-bottom:16px}.empty-text{margin:0 0 8px;font-size:16px;font-weight:600;color:#374151}.empty-subtext{margin:0;font-size:14px;color:#9ca3af}.error-text{margin:0;font-size:14px;font-weight:500;color:#ef4444}.notifications-footer{padding:20px 14px;border-top:1px solid #e5e7eb;flex-shrink:0;background:#fff}.settings-button{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;padding:14px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;color:#6b7280;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease}.settings-button:hover{background:#f9fafb;border-color:#d1d5db;color:#374151;transform:translateY(-1px);box-shadow:0 2px 4px #0000000d}.settings-button:active{transform:translateY(0)}.notification-actions{display:flex;gap:4px;align-items:center}.mark-read-button{padding:4px;border:none;background:transparent;color:#10b981;cursor:pointer;border-radius:4px;display:flex;align-items:center;justify-content:center;transition:background-color .2s}.mark-read-button:hover{background-color:#10b9811a}@media (max-width: 768px){.notifications-dropdown{width:100%}}.user-profile-container{position:relative;z-index:100}.user-profile-btn{display:flex;align-items:center;gap:.5rem;background:#2c3446;border:1px solid #3d4657;border-radius:8px;padding:.5rem .75rem;cursor:pointer;transition:none;color:#fff}.user-profile-btn:focus{outline:2px solid #4299e1;outline-offset:2px}.user-profile-btn .user-name-display{font-size:1rem;font-weight:400;color:#fff;display:none}@media (min-width: 640px){.user-profile-btn .user-name-display{display:block}}.chevron-icon{transition:transform .2s ease;color:#ffffffb3;flex-shrink:0;width:16px;height:16px}.chevron-icon.open{transform:rotate(180deg)}.user-profile-dropdown{position:absolute;top:calc(100% + 12px);right:0;width:340px;background:#fff;border-radius:12px;box-shadow:0 10px 40px #00000026,0 4px 16px #0000001a;overflow:hidden;z-index:1000;animation:slideDown .2s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.user-info-card{padding:.625rem .75rem;border-bottom:1px solid #e5e7eb;background:#fff}.user-profile-avatar-wrapper{display:flex;align-items:center;gap:.75rem}.user-avatar-large{width:45px;height:45px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:600;color:#fff;background:#adc765;flex-shrink:0}.user-info-text{flex:1;min-width:0}.user-name{font-size:.875rem;font-weight:500;color:#1f2937;margin-bottom:.125rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-email{font-size:.75rem;color:#6b7280;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-role-badge{display:none}.user-profile-menu{padding:.5rem;background:#fff;max-height:400px;overflow-y:auto}.user-profile-menu::-webkit-scrollbar{width:8px}.user-profile-menu::-webkit-scrollbar-track{background:#f9fafb}.user-profile-menu::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:4px}.user-profile-menu::-webkit-scrollbar-thumb:hover{background:#9ca3af}.menu-section{margin-bottom:.5rem}.menu-section:last-child{margin-bottom:0}.menu-section-title{font-size:.6875rem;font-weight:600;color:#9ca3af;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.375rem;padding:.5rem .75rem .25rem}.profile-menu-item{width:100%;display:flex;align-items:center;gap:.75rem;padding:.625rem .75rem;background:transparent;border:1px solid transparent;border-radius:6px;color:#374151;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;text-align:left;margin-bottom:.25rem}.profile-menu-item:last-child{margin-bottom:0}.profile-menu-item:hover{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border-color:#bae6fd;transform:translate(3px)}.profile-menu-item:active{transform:translate(1px)}.menu-item-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:#f3f4f6;border-radius:6px;flex-shrink:0;transition:all .2s ease}.profile-menu-item:hover .menu-item-icon{background:#fff;transform:scale(1.03)}.menu-item-icon svg{color:#6b7280;width:16px;height:16px}.profile-menu-item:hover .menu-item-icon svg{color:#0284c7}.menu-item-content{flex:1;min-width:0}.menu-item-title{font-weight:500;color:#1f2937;margin-bottom:.125rem}.menu-item-subtitle{font-size:.75rem;color:#6b7280;font-weight:400}.profile-menu-item.logout{border-top:1px solid #e5e7eb;margin-top:.5rem;padding-top:.75rem;border-radius:0}.profile-menu-item.logout:hover{background:#fef2f2;border-color:transparent}.profile-menu-item.logout .menu-item-icon{background:#fee2e2}.profile-menu-item.logout:hover .menu-item-icon{background:#fecaca}.profile-menu-item.logout .menu-item-icon svg{color:#ef4444}.profile-menu-item.logout .menu-item-title{color:#ef4444}@media (max-width: 768px){.user-profile-dropdown{width:calc(100vw - 2rem);max-width:340px;right:0}}@media (max-width: 480px){.user-profile-btn{padding:.375rem .5rem;gap:.375rem}.user-avatar{width:28px;height:28px;font-size:.6875rem}.chevron-icon{display:none}.user-profile-dropdown{width:calc(100vw - 1rem);right:-140px}.user-info-card{padding:1rem}.user-profile-avatar-wrapper{gap:.625rem}.user-avatar-large{width:44px;height:44px;font-size:1rem}.user-name{font-size:.9375rem}.user-email{font-size:.8125rem}.user-profile-menu{padding:.375rem}.profile-menu-item{padding:.5rem .625rem;font-size:.8125rem}.menu-item-icon{width:28px;height:28px}}@media (prefers-reduced-motion: reduce){.user-profile-dropdown,.profile-menu-item,.chevron-icon,.user-avatar{animation:none;transition-duration:.01ms}}.profile-menu-item:focus-visible{outline:2px solid #4299e1;outline-offset:2px}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f8fafc}.app{min-height:100vh;display:flex;flex-direction:column}.main-content{flex:1;width:100%;padding-left:0;padding-right:0;margin-left:20px;margin-right:20px}.main-content:not(:has(.chat-interface)){margin-top:60px;padding:0;max-width:100%;margin-left:auto;margin-right:auto}.main-content:has(.chat-interface){padding:0;margin:0;background:#fff;height:100vh}@media (max-width: 768px){.main-content:not(:has(.chat-interface)){padding:0;margin-top:60px}}
