:root{--primary-color: #6366f1;--primary-hover: #4f46e5;--bg-color: #f8fafc;--sidebar-bg: #ffffff;--border-color: #e2e8f0;--text-primary: #1e293b;--text-secondary: #64748b;--danger: #ef4444;--success: #22c55e;--warning: #f59e0b;--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)}*,*:before,*:after{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background-color:var(--bg-color);color:var(--text-primary);height:100vh;overflow:hidden;transition:background-color .3s ease,color .3s ease}body.dark-mode{--bg-color: #0f172a;--sidebar-bg: #1e293b;--border-color: #334155;--text-primary: #f1f5f9;--text-secondary: #94a3b8;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .3);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .3), 0 2px 4px -2px rgb(0 0 0 / .3);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .3), 0 4px 6px -4px rgb(0 0 0 / .3)}#root{height:100%}.app-container{display:flex;height:100%;width:100%}.sidebar{width:260px;background-color:var(--sidebar-bg);border-right:1px solid var(--border-color);display:flex;flex-direction:column;padding:20px;flex-shrink:0;box-shadow:var(--shadow-sm);z-index:1}.logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:1.2rem;margin-bottom:30px;color:var(--text-primary)}.logo-icon{width:32px;height:32px;background-color:var(--primary-color);color:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:700}.compose-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:12px;background-color:#fff;border:1px solid var(--border-color);border-radius:8px;font-weight:600;color:var(--text-primary);cursor:pointer;margin-bottom:20px;transition:all .2s;box-shadow:0 1px 2px #0000000d}.compose-btn:hover{background-color:#f8fafc;border-color:#cbd5e1;transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}body.dark-mode .compose-btn{background-color:#334155;color:#fff;border-color:#475569}body.dark-mode .compose-btn:hover{background-color:#475569;transform:translateY(-1px);box-shadow:0 2px 4px #0000004d}.nav-menu{display:flex;flex-direction:column;gap:5px;flex:1;overflow-y:auto;min-height:0}.nav-item{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:8px;color:var(--text-secondary);cursor:pointer;transition:all .2s}.nav-item:hover{background-color:#f1f5f9;color:var(--text-primary)}.nav-item.active{background-color:#e0e7ff;color:var(--primary-color);font-weight:500}.badge{margin-left:auto;background-color:#e0e7ff;color:var(--primary-color);padding:2px 8px;border-radius:12px;font-size:.75rem;font-weight:600}.nav-item.active .badge{background-color:var(--primary-color);color:#fff}.ai-promo{background:linear-gradient(135deg,#8b5cf6 0%,#6366f1 100%);border-radius:12px;padding:16px;color:#fff;margin-top:auto}.ai-promo-content{display:flex;gap:12px;margin-bottom:12px}.ai-icon-bg{background-color:#fff3;padding:8px;border-radius:8px;height:fit-content}.ai-text p{margin:4px 0 0;font-size:.8rem;opacity:.9}.open-chat-btn{width:100%;padding:8px;background-color:#fff3;border:none;border-radius:6px;color:#fff;font-size:.85rem;cursor:pointer;transition:background .2s}.open-chat-btn:hover{background-color:#ffffff4d}.email-list-pane{width:350px;background-color:var(--sidebar-bg);border-right:1px solid var(--border-color);display:flex;flex-direction:column;flex-shrink:0;box-shadow:var(--shadow-sm);z-index:1}.search-bar{padding:16px;border-bottom:1px solid var(--border-color);position:relative;background-color:var(--sidebar-bg)}.search-bar input{width:100%;padding:10px 10px 10px 36px;border:1px solid var(--border-color);border-radius:6px;background-color:var(--bg-color);color:var(--text-primary);font-size:.9rem;box-sizing:border-box;transition:border-color .2s,box-shadow .2s}.search-bar input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 2px #6366f11a}.search-icon{position:absolute;left:26px;top:50%;transform:translateY(-50%);color:var(--text-secondary)}body.dark-mode .search-bar{background-color:var(--sidebar-bg);border-color:var(--border-color)}body.dark-mode .search-bar input{background-color:var(--bg-color);color:var(--text-primary);border-color:var(--border-color)}.email-list{flex:1;overflow-y:auto;background-color:var(--sidebar-bg)}.email-item{padding:16px;border-bottom:1px solid var(--border-color);cursor:pointer;transition:background .2s;background-color:var(--sidebar-bg);display:flex;align-items:flex-start;gap:10px}.email-item:hover{background-color:var(--bg-color)}.email-item.selected{background-color:var(--bg-color);border-left:3px solid var(--primary-color)}body.dark-mode .email-item:hover{background-color:#334155}body.dark-mode .email-item.selected{background-color:#1e293b;border-left-color:var(--primary-color)}.email-item-header{display:flex;justify-content:space-between;margin-bottom:4px;font-size:.85rem}.sender-name{font-weight:600;color:var(--text-primary)}.email-time{color:var(--text-secondary);font-size:.75rem}.email-subject{font-weight:600;color:var(--text-primary);margin-bottom:4px;font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.email-snippet{color:var(--text-secondary);font-size:.85rem;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.4}.priority-badge{display:inline-block;font-size:.7rem;padding:2px 6px;border-radius:4px;margin-top:8px;font-weight:600}.priority-High{background-color:#fee2e2;color:#ef4444}.priority-Medium{background-color:#fef3c7;color:#d97706}.priority-Low{background-color:#e0f2fe;color:#0ea5e9}body.dark-mode .priority-High{background-color:#7f1d1d;color:#fca5a5}body.dark-mode .priority-Medium{background-color:#78350f;color:#fdba74}body.dark-mode .priority-Low{background-color:#0c4a6e;color:#7dd3fc}body.dark-mode .category-Work{background-color:#1e3a8a;color:#93c5fd}body.dark-mode .category-Personal{background-color:#831843;color:#f9a8d4}body.dark-mode .category-Finance{background-color:#14532d;color:#86efac}body.dark-mode .category-Newsletter{background-color:#374151;color:#d1d5db}body.dark-mode .reply-btn{background-color:#1e293b;color:#f1f5f9;border-color:#475569}body.dark-mode .reply-btn:hover{background-color:#334155}body.dark-mode .summarize-btn{background-color:#312e81;color:#a5b4fc}body.dark-mode .summarize-btn:hover{background-color:#3730a3}body.dark-mode .summarize-btn.active{background-color:var(--primary-color);color:#fff}body.dark-mode .nav-item.active{background-color:#312e81;color:#a5b4fc}body.dark-mode .nav-item:hover{background-color:#1e293b;color:#f1f5f9}body.dark-mode .email-date,body.dark-mode .sender-email,body.dark-mode .email-meta{color:#94a3b8}body.dark-mode .modal-header{background-color:#1e293b}body.dark-mode .ai-input-group{background-color:#1e293b;border-color:#334155}body.dark-mode .generate-btn{background-color:#334155;border-color:#475569;color:#e2e8f0}body.dark-mode .generate-btn:hover{background-color:#475569}body.dark-mode .attachment-item{background-color:#1e293b;border-color:#334155;color:#e2e8f0}body.dark-mode .attachment-item:hover{background-color:#334155}body.dark-mode .file-chip{background-color:#1e3a8a;color:#93c5fd}.email-detail-pane{flex:1;background-color:var(--bg-color);display:flex;flex-direction:column;overflow-y:auto;position:relative;box-shadow:var(--shadow-sm)}.detail-header{padding:16px 24px;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center;background-color:var(--bg-color);position:sticky;top:0;z-index:10}body.dark-mode .detail-header{border-bottom-color:#334155}.summarize-btn{display:flex;align-items:center;gap:8px;padding:8px 16px;background-color:#e0e7ff;color:var(--primary-color);border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:all .2s}.summarize-btn:hover{background-color:#c7d2fe}.summarize-btn.active{background-color:var(--primary-color);color:#fff}.detail-actions{display:flex;gap:16px;color:var(--text-secondary)}.detail-actions svg{cursor:pointer}.detail-actions svg:hover{color:var(--text-primary)}body.dark-mode .detail-actions button{color:var(--text-secondary)}body.dark-mode .detail-actions button:hover{color:var(--text-primary)}body.dark-mode .detail-actions svg{color:var(--text-secondary)}body.dark-mode .detail-actions svg:hover{color:var(--text-primary)}.summary-card{margin:24px 24px 0;padding:16px;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}body.dark-mode .summary-card{background-color:#1e293b;border-color:#334155}.summary-card h4{margin:0 0 8px;color:var(--primary-color);display:flex;align-items:center;gap:8px}.summary-card p{margin:0 0 12px;font-size:.95rem;line-height:1.5}.summary-reason{font-size:.85rem;color:var(--text-secondary);padding-top:8px;border-top:1px solid #e2e8f0}.email-content{padding:24px;max-width:800px}body.dark-mode .email-content{background-color:#0f172a}.email-title{font-size:1.5rem;margin:0 0 24px;color:var(--text-primary)}.sender-info{display:flex;gap:16px;margin-bottom:32px}.avatar{width:48px;height:48px;background-color:var(--primary-color);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.2rem;font-weight:600}.sender-details{flex:1}.sender-row{display:flex;align-items:baseline;gap:8px;margin-bottom:4px}.sender-name-large{font-weight:600;font-size:1rem;color:var(--text-primary)}.sender-email{color:var(--text-secondary);font-size:.9rem}.email-meta{font-size:.85rem;color:var(--text-secondary)}.email-date{color:var(--text-secondary);font-size:.85rem}.email-body{font-size:1rem;line-height:1.6;color:#334155;white-space:pre-wrap;margin-bottom:40px}body.dark-mode .email-body{color:#cbd5e1}.reply-actions{display:flex;gap:12px}.reply-btn{display:flex;align-items:center;gap:8px;padding:10px 20px;background-color:#fff;border:1px solid var(--border-color);border-radius:24px;color:var(--text-primary);font-weight:500;cursor:pointer;transition:all .2s}.reply-btn:hover{background-color:#f8fafc;transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.smart-reply-btn{display:flex;align-items:center;gap:8px;padding:10px 20px;background-color:var(--primary-color);border:none;border-radius:24px;color:#fff;font-weight:500;cursor:pointer;box-shadow:0 2px 4px #6366f14d;transition:all .2s}.smart-reply-btn:hover{background-color:var(--primary-hover);transform:translateY(-1px);box-shadow:0 4px 6px #6366f166}.smart-reply-btn:active{transform:translateY(0)}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:100}.compose-modal{background-color:#fff;width:600px;border-radius:12px;box-shadow:var(--shadow-lg);display:flex;flex-direction:column;overflow:hidden}body.dark-mode .modal-content,body.dark-mode .compose-modal{background-color:#1e293b;color:#fff;border-color:#334155}.modal-header{padding:16px 24px;background-color:#f8fafc;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center}body.dark-mode .modal-header{border-bottom-color:#334155}.modal-header h3{margin:0;font-size:1rem;color:var(--text-primary)}.modal-header button{background:none;border:none;font-size:1.5rem;cursor:pointer;color:var(--text-secondary)}.modal-body{padding:24px;display:flex;flex-direction:column;gap:16px}.modal-body input{padding:10px;border:1px solid var(--border-color);border-radius:6px;font-size:.95rem;background-color:var(--bg-color);color:var(--text-primary)}.modal-body input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 2px #6366f11a}.ai-input-group{display:flex;gap:8px;background-color:#f0f9ff;padding:12px;border-radius:8px;border:1px dashed #0ea5e9}.ai-instructions{flex:1;border:none;background:transparent;resize:none;font-family:inherit;font-size:.9rem;color:var(--text-primary)}.ai-instructions:focus{outline:none}.ai-instructions::placeholder{color:#0ea5e9;opacity:.7}.generate-btn{display:flex;align-items:center;gap:6px;padding:6px 12px;background-color:#fff;border:1px solid #0ea5e9;color:#0ea5e9;border-radius:6px;font-size:.85rem;font-weight:600;cursor:pointer;height:fit-content;align-self:center;transition:all .2s}.generate-btn:hover{background-color:#e0f2fe;transform:translateY(-1px);box-shadow:0 2px 4px #0ea5e933}.generate-btn:active{transform:translateY(0)}.email-body-input{min-height:200px;padding:12px;border:1px solid var(--border-color);border-radius:6px;resize:vertical;font-family:inherit;font-size:.95rem;background-color:var(--bg-color);color:var(--text-primary)}.email-body-input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 2px #6366f11a}.modal-footer{padding:16px 24px;border-top:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center}.send-btn{padding:8px 24px;background-color:var(--primary-color);color:#fff;border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:all .2s}.send-btn:hover{background-color:var(--primary-hover);transform:translateY(-1px);box-shadow:0 2px 4px #6366f14d}.send-btn:active{transform:translateY(0)}.attach-icon{color:var(--text-secondary);cursor:pointer}.fab-chat{position:fixed;bottom:30px;right:30px;width:56px;height:56px;background-color:#8b5cf6;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:var(--shadow-md);cursor:pointer;transition:transform .2s}.fab-chat:hover{transform:scale(1.05)}.fab-chat.fab-chat-teams{bottom:120px}.no-selection{display:flex;align-items:center;justify-content:center;height:100%;color:var(--text-secondary);font-size:1.1rem}.load-more-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px;background-color:#fff;border:none;border-top:1px solid var(--border-color);color:var(--primary-color);font-weight:600;cursor:pointer;transition:all .2s}.load-more-btn:hover{background-color:#f8fafc;color:var(--primary-hover)}body.dark-mode .load-more-btn{background-color:var(--sidebar-bg)}body.dark-mode .load-more-btn:hover{background-color:#334155}.attachments-section{margin-top:20px;padding-top:20px;border-top:1px solid var(--border-color)}.attachments-section h3{font-size:1rem;margin-bottom:12px;color:var(--text-primary)}.attachments-list{display:flex;flex-wrap:wrap;gap:10px}.attachment-item{display:flex;align-items:center;gap:8px;padding:8px 12px;background-color:#f1f5f9;border:1px solid var(--border-color);border-radius:6px;font-size:.9rem;cursor:pointer;transition:all .2s}.attachment-item:hover{background-color:#e2e8f0;transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.attachment-item:active{transform:translateY(0)}.download-icon{color:var(--text-secondary)}.file-upload-section{margin-top:10px}.selected-files{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.file-chip{background-color:#e0f2fe;color:#0284c7;padding:4px 8px;border-radius:4px;font-size:.8rem;font-weight:500}.category-badge{font-size:.7rem;padding:2px 6px;border-radius:4px;margin-left:8px;background-color:#e2e8f0;color:#475569}.category-Work{background-color:#dbeafe;color:#1e40af}.category-Personal{background-color:#fce7f3;color:#9d174d}.category-Finance{background-color:#dcfce7;color:#166534}.category-Newsletter{background-color:#f3f4f6;color:#374151}.nav-category-group{margin-left:12px;display:flex;flex-direction:column;gap:2px;margin-bottom:10px}.nav-item.sub-item{font-size:.9rem;padding:8px 12px}.category-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.suggested-replies{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}.reply-chip{padding:8px 16px;background-color:var(--bg-color);border:1px solid var(--border-color);border-radius:20px;cursor:pointer;font-size:.9rem;transition:all .2s;color:var(--text-primary)}.reply-chip:hover{background-color:var(--primary-color);color:#fff;border-color:var(--primary-color)}.email-actions-bar{display:flex;align-items:center;gap:10px;padding:10px;background-color:var(--primary-color);color:#fff;border-radius:8px;margin-bottom:10px}.email-item.unread{font-weight:700;background-color:#f8fafc}body.dark-mode .email-item.unread{background-color:#1e293b}.star-icon{color:#cbd5e1;cursor:pointer;transition:color .2s,transform .2s}.star-icon:hover{color:#f59e0b;transform:scale(1.1)}.star-icon.starred{color:#f59e0b;fill:#f59e0b}.checkbox-wrapper{display:flex;align-items:center;padding:0;margin-top:0;flex-shrink:0}.star-wrapper{display:flex;align-items:center;margin-top:0;flex-shrink:0}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}body.dark-mode ::-webkit-scrollbar-thumb{background:#475569}body.dark-mode ::-webkit-scrollbar-thumb:hover{background:#64748b}@keyframes slideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.chat-widget{position:fixed;bottom:100px;right:30px;width:350px;height:500px;background-color:#fff;border-radius:16px;box-shadow:var(--shadow-lg);display:flex;flex-direction:column;overflow:hidden;z-index:1000;border:1px solid var(--border-color);animation:slideIn .3s ease-out}body.dark-mode .chat-widget{background-color:#1e293b;border-color:#334155}.chat-header{padding:16px;background-color:var(--primary-color);color:#fff;display:flex;justify-content:space-between;align-items:center}.chat-header h3{margin:0;font-size:1.1rem;font-weight:600}.close-chat{background:none;border:none;color:#fff;font-size:1.5rem;cursor:pointer;padding:0;line-height:1;opacity:.8}.close-chat:hover{opacity:1}.chat-body{flex:1;overflow-y:auto;padding:16px;background-color:#f8fafc;display:flex;flex-direction:column}body.dark-mode .chat-body{background-color:#0f172a}.chat-messages{display:flex;flex-direction:column;gap:12px}.chat-message{display:flex;gap:8px;max-width:85%}.chat-message.user{align-self:flex-end;flex-direction:row-reverse}.chat-message.assistant{align-self:flex-start}.chat-message .avatar{width:32px;height:32px;font-size:.9rem;flex-shrink:0}.message-content{padding:10px 14px;border-radius:12px;font-size:.95rem;line-height:1.5;word-wrap:break-word}.chat-message.assistant .message-content{background-color:#fff;border:1px solid var(--border-color);border-top-left-radius:2px}body.dark-mode .chat-message.assistant .message-content{background-color:#1e293b;border-color:#334155;color:#e2e8f0}.chat-message.user .message-content{background-color:var(--primary-color);color:#fff;border-top-right-radius:2px}.chat-input{padding:12px;background-color:#fff;border-top:1px solid var(--border-color);display:flex;gap:8px}body.dark-mode .chat-input{background-color:#1e293b;border-color:#334155}.chat-input input{flex:1;padding:10px 14px;border:1px solid var(--border-color);border-radius:20px;font-size:.95rem;outline:none}body.dark-mode .chat-input input{background-color:#0f172a;border-color:#334155;color:#fff}.chat-input input:focus{border-color:var(--primary-color)}.send-message{background-color:var(--primary-color);color:#fff;border:none;border-radius:20px;padding:0 16px;font-weight:600;cursor:pointer;transition:background .2s}.send-message:hover{background-color:var(--primary-hover)}.theme-toggle{margin-top:10px;padding:12px 16px;cursor:pointer;display:flex;align-items:center;gap:12px;color:var(--text-secondary);border-radius:8px;transition:all .2s}.theme-toggle:hover{background-color:#0000000d;color:var(--text-primary)}body.dark-mode .theme-toggle:hover{background-color:#ffffff1a;color:#fff}.chat-message-content img{max-width:100%;height:auto;border-radius:8px;margin-top:8px}.ql-toolbar{border-color:var(--border-color)!important;background-color:var(--sidebar-bg);border-top-left-radius:6px;border-top-right-radius:6px}.ql-container{border-color:var(--border-color)!important;background-color:var(--sidebar-bg);color:var(--text-primary);font-family:inherit!important;font-size:inherit!important;border-bottom-left-radius:6px;border-bottom-right-radius:6px}.ql-editor{min-height:40px;max-height:150px;overflow-y:auto}.ql-editor.ql-blank:before{color:var(--text-secondary)!important;font-style:normal!important}body.dark-mode .ql-stroke{stroke:var(--text-secondary)!important}body.dark-mode .ql-fill{fill:var(--text-secondary)!important}body.dark-mode .ql-picker{color:var(--text-secondary)!important}body.dark-mode .ql-picker-options{background-color:var(--sidebar-bg)!important;border-color:var(--border-color)!important}.mobile-header{display:none;padding:15px;background-color:var(--sidebar-bg);border-bottom:1px solid var(--border-color);align-items:center;gap:15px;position:sticky;top:0;z-index:40}.mobile-overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;z-index:45}.mobile-close-btn{display:none;background:none;border:none;color:var(--text-secondary);cursor:pointer}@media (max-width: 768px){.app-container{flex-direction:column}.mobile-header{display:flex}.mobile-overlay{display:block}.sidebar{position:fixed;top:0;left:0;bottom:0;width:280px;z-index:50;transform:translate(-100%);transition:transform .3s ease;box-shadow:2px 0 8px #0000001a}.sidebar.mobile-open{transform:translate(0)}.mobile-close-btn{display:block}.email-list-pane,.email-detail-pane,.calendar-view,.teams-container{width:100%;height:calc(100vh - 60px)}.email-list-pane.hidden-mobile{display:none}.teams-container{flex-direction:column}.teams-list{width:100%!important;border-right:none;border-bottom:1px solid var(--border-color);height:40%!important}.teams-chat-area{height:60%!important}.teams-container.chat-active .teams-list{display:none}.teams-container.chat-active .teams-chat-area{height:100%!important;display:flex}}.mobile-back-btn{display:none;background:none;border:none;color:var(--text-primary);cursor:pointer;padding:0}@media (max-width: 768px){.mobile-back-btn{display:block}}.teams-message-group{display:flex;gap:12px;margin-bottom:16px;padding:0 20px}.teams-message-group.me{flex-direction:row-reverse}.teams-avatar{width:36px;height:36px;border-radius:50%;background-color:var(--primary-color);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.9rem;flex-shrink:0;box-shadow:var(--shadow-sm)}.teams-message-content-wrapper{display:flex;flex-direction:column;max-width:70%;gap:4px}.teams-message-group.me .teams-message-content-wrapper{align-items:flex-end}.teams-sender-name{font-size:.8rem;color:var(--text-secondary);margin-left:4px;margin-bottom:2px}.teams-message-bubble{padding:10px 16px;border-radius:12px;font-size:.95rem;line-height:1.5;position:relative;box-shadow:var(--shadow-sm);word-wrap:break-word}.teams-message-group:not(.me) .teams-message-bubble{background-color:#fff;border:1px solid var(--border-color);border-top-left-radius:4px}.teams-message-group.me .teams-message-bubble{background-color:var(--primary-color);color:#fff;border-top-right-radius:4px}body.dark-mode .teams-message-group:not(.me) .teams-message-bubble{background-color:#1e293b;border-color:#334155;color:#e2e8f0}.teams-message-actions{opacity:0;transition:opacity .2s;display:flex;gap:8px;margin-top:4px;padding:0 4px}.teams-message-group:hover .teams-message-actions{opacity:1}.teams-action-btn{background:none;border:none;cursor:pointer;padding:4px;border-radius:4px;color:var(--text-secondary);display:flex;align-items:center;transition:background-color .2s}.teams-action-btn:hover{background-color:#0000000d;color:var(--text-primary)}body.dark-mode .teams-action-btn:hover{background-color:#ffffff1a;color:#fff}.teams-reaction-menu{position:absolute;bottom:100%;background-color:var(--sidebar-bg);border:1px solid var(--border-color);border-radius:24px;padding:6px;display:flex;gap:4px;box-shadow:var(--shadow-md);z-index:20;margin-bottom:8px;animation:slideIn .2s ease-out}.teams-reaction-btn{background:none;border:none;cursor:pointer;font-size:1.2rem;padding:6px;border-radius:50%;transition:transform .2s,background-color .2s;line-height:1}.teams-reaction-btn:hover{transform:scale(1.2);background-color:#0000000d}.teams-reaction-btn.active{background-color:#6366f11a;border:1px solid var(--primary-color)}.teams-reactions-display{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.teams-reaction-pill{background-color:#fff;border:1px solid var(--border-color);border-radius:12px;padding:2px 8px;font-size:.75rem;display:flex;align-items:center;gap:4px;box-shadow:var(--shadow-sm)}body.dark-mode .teams-reaction-pill{background-color:#1e293b;border-color:#334155}.teams-input-area{padding:16px;background-color:var(--sidebar-bg);border-top:1px solid var(--border-color);display:flex;flex-direction:column;gap:12px}.teams-input-toolbar{display:flex;gap:12px;align-items:center}.teams-toolbar-btn{background:none;border:none;cursor:pointer;color:var(--text-secondary);padding:6px;border-radius:6px;transition:all .2s}.teams-toolbar-btn:hover{background-color:#0000000d;color:var(--text-primary)}body.dark-mode .teams-toolbar-btn:hover{background-color:#ffffff1a}.teams-reply-preview{padding:8px 12px;background-color:var(--bg-color);border-left:3px solid var(--primary-color);border-radius:4px;margin-bottom:8px;display:flex;justify-content:space-between;align-items:center;font-size:.85rem}.teams-reply-preview button{background:none;border:none;cursor:pointer;color:var(--text-secondary);font-size:1.2rem;padding:0 4px}.teams-editor-container{display:flex;gap:12px;align-items:flex-end}.teams-editor-wrapper{flex:1;border:1px solid var(--border-color);border-radius:8px;overflow:hidden;background-color:var(--bg-color);transition:border-color .2s}.teams-editor-wrapper:focus-within{border-color:var(--primary-color);box-shadow:0 0 0 2px #6366f11a}.teams-send-btn{background-color:var(--primary-color);color:#fff;border:none;border-radius:8px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .2s;flex-shrink:0}.teams-send-btn:hover{background-color:var(--primary-hover)}.teams-send-btn:disabled{background-color:var(--text-secondary);opacity:.5;cursor:not-allowed}.teams-list{width:300px;flex-shrink:0;border-right:1px solid var(--border-color);overflow-y:auto;background-color:var(--sidebar-bg);box-shadow:var(--shadow-sm);z-index:1}.teams-chat-area{flex:1;min-width:0;display:flex;flex-direction:column;background-color:var(--bg-color);box-shadow:var(--shadow-sm)}/*!
 * Quill Editor v1.3.7
 * https://quilljs.com/
 * Copyright (c) 2014, Jason Chen
 * Copyright (c) 2013, salesforce.com
 */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"•"}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"☑"}.ql-editor ul[data-checked=false]>li:before{content:"☐"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media (pointer: coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:#0003 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0px}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0px;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}.teams-container{flex:1;display:flex;height:100%;overflow:hidden;background-color:var(--bg-color)}.teams-sidebar{width:300px;border-right:1px solid var(--border-color);display:flex;flex-direction:column;background-color:var(--sidebar-bg);flex-shrink:0}.teams-sidebar-header{padding:16px;border-bottom:1px solid var(--border-color)}.teams-sidebar-header h3{margin:0 0 12px;color:var(--text-primary)}.teams-search-bar{display:flex;align-items:center;background-color:var(--bg-color);border:1px solid var(--border-color);border-radius:6px;padding:8px 12px;gap:8px}.teams-search-bar input{border:none;background:transparent;width:100%;outline:none;color:var(--text-primary)}.teams-chat-list{flex:1;overflow-y:auto}.teams-chat-item{padding:12px 16px;border-bottom:1px solid var(--border-color);cursor:pointer;transition:background-color .2s;border-left:3px solid transparent}.teams-chat-item:hover{background-color:var(--bg-color)}.teams-chat-item.active{background-color:var(--bg-color);border-left-color:var(--primary-color)}.teams-chat-name{font-weight:600;margin-bottom:4px;color:var(--text-primary)}.teams-chat-preview{font-size:.85rem;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.teams-chat-area{flex:1;display:flex;flex-direction:column;background-color:var(--bg-color);min-width:0;overflow:hidden}.teams-chat-header{padding:16px 24px;border-bottom:1px solid var(--border-color);background-color:var(--sidebar-bg);font-weight:600;color:var(--text-primary);display:flex;align-items:center;justify-content:space-between}.teams-chat-header-row{display:flex;justify-content:space-between;align-items:center;width:100%}.status-indicator{width:10px;height:10px;border-radius:50%;background-color:#ccc;border:2px solid var(--sidebar-bg);flex-shrink:0}.status-indicator.available,.status-indicator.availableidle{background-color:#10b981}.status-indicator.busy,.status-indicator.busyidle{background-color:#ef4444}.status-indicator.donotdisturb{background-color:#ef4444;border:2px solid var(--sidebar-bg);position:relative}.status-indicator.donotdisturb:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:6px;height:2px;background-color:#fff}.status-indicator.away,.status-indicator.berightback{background-color:#f59e0b}.status-indicator.offline,.status-indicator.presenceunknown{background-color:#9ca3af;border:2px solid #9ca3af;background-color:transparent}.teams-messages-container{flex:1;padding:24px;overflow-y:auto;display:flex;flex-direction:column;gap:16px;min-height:0}.teams-messages-container>:first-child{margin-top:auto}.teams-message{display:flex;gap:12px;max-width:80%}.teams-message.me{flex-direction:row-reverse;align-self:flex-end}.teams-message-avatar{width:32px;height:32px;border-radius:50%;background-color:#64748b;color:#fff;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:600;flex-shrink:0}.teams-message.me .teams-message-avatar{background-color:var(--primary-color)}.teams-message-content-wrapper{display:flex;flex-direction:column;min-width:0}.teams-message-info{display:flex;margin-bottom:4px;font-size:.75rem;color:var(--text-secondary)}.teams-message.me .teams-message-info{justify-content:flex-end}.teams-message-bubble{padding:10px 14px;border-radius:12px;background-color:var(--sidebar-bg);color:var(--text-primary);border:1px solid var(--border-color);box-shadow:var(--shadow-sm);word-wrap:break-word;overflow-wrap:break-word}.teams-message.me .teams-message-bubble{background-color:var(--primary-color);color:#fff;border:none}.teams-message-bubble p{margin:0}.teams-message-bubble img{max-width:100%;height:auto;border-radius:8px;display:block;margin-top:8px}.teams-input-area{padding:20px;border-top:1px solid var(--border-color);background-color:var(--bg-color);display:flex;flex-direction:column;width:100%;box-sizing:border-box;flex-shrink:0;position:relative}.teams-rich-editor{border:1px solid var(--border-color);border-radius:8px;background-color:var(--sidebar-bg);display:flex;flex-direction:column;overflow:hidden;box-shadow:var(--shadow-sm);transition:box-shadow .2s,border-color .2s}.teams-rich-editor:focus-within{border-color:var(--primary-color);box-shadow:0 0 0 2px #6366f11a}.teams-input{width:100%;padding:12px;border:none;resize:none;font-family:inherit;min-height:60px;background-color:transparent;color:var(--text-primary);box-sizing:border-box;outline:none;display:block}.teams-file-preview{padding:0 12px 8px;display:flex;gap:8px;flex-wrap:wrap}.teams-file-tag{font-size:.8rem;background:var(--bg-color);color:var(--primary-color);padding:4px 10px;border-radius:4px;border:1px solid var(--border-color)}.teams-editor-toolbar{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background-color:var(--bg-color);border-top:1px solid var(--border-color)}.teams-editor-tools{display:flex;align-items:center;gap:4px}.editor-btn{background:none;border:none;padding:6px;border-radius:4px;color:var(--text-secondary);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background-color .2s,color .2s}.editor-btn:hover{background-color:#0000000d;color:var(--text-primary)}.editor-divider{width:1px;height:20px;background-color:var(--border-color);margin:0 8px}.teams-empty-state{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--text-secondary)}.teams-connect-container{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;height:100%}.teams-connect-btn{padding:12px 24px;background-color:#4f46e5;color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:background-color .2s}.teams-connect-btn:hover{background-color:#4338ca}.teams-quill-editor{flex:1;display:flex;flex-direction:column}.teams-quill-editor .ql-container{border:none!important;font-family:inherit;font-size:.95rem;flex:1}.teams-quill-editor .ql-editor{min-height:60px;max-height:200px;padding:12px 16px;color:var(--text-primary);overflow-y:auto}.teams-quill-editor .ql-editor.ql-blank:before{color:var(--text-secondary);font-style:normal;left:16px}.teams-editor-toolbar.ql-toolbar{border:none!important;border-top:1px solid var(--border-color)!important;padding:8px 12px!important;background-color:var(--bg-color);border-radius:0 0 8px 8px;font-family:inherit;display:flex!important;justify-content:space-between!important;align-items:center!important}.teams-send-btn{padding:8px;border-radius:4px;background-color:transparent;color:var(--primary-color);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;margin-left:auto;flex-shrink:0;width:32px;height:32px}.teams-send-btn:hover:not(:disabled){background-color:var(--primary-color);color:#fff}.teams-send-btn:disabled{color:var(--text-secondary);opacity:.5;cursor:not-allowed;background-color:transparent}.teams-editor-tools button.ql-active{background-color:#6366f11a;color:var(--primary-color)}.teams-editor-tools button.ql-active svg{stroke:var(--primary-color)}.emoji-picker-popover{position:fixed;bottom:100px;right:50px;z-index:9999;background:var(--bg-color);border:1px solid var(--border-color);border-radius:12px;box-shadow:0 4px 20px #00000026;width:320px;overflow:hidden}.emoji-picker-header{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;border-bottom:1px solid var(--border-color);background-color:var(--sidebar-bg)}.emoji-picker-header span{font-weight:600;font-size:.9rem;color:var(--text-primary)}.close-emoji-btn{background:none;border:none;cursor:pointer;color:var(--text-secondary);padding:4px;border-radius:4px;display:flex;align-items:center;justify-content:center}.close-emoji-btn:hover{background-color:var(--hover-bg);color:var(--text-primary)}.gif-picker-popover{position:absolute;bottom:90px;right:40px;z-index:1000;background:var(--bg-color);border:1px solid var(--border-color);border-radius:12px;box-shadow:0 4px 20px #00000026;width:320px;height:350px;display:flex;flex-direction:column;overflow:hidden}.gif-picker-header{display:flex;justify-content:space-between;align-items:center;padding:10px;border-bottom:1px solid var(--border-color);background-color:var(--sidebar-bg);gap:8px}.gif-picker-header input{flex:1;border:1px solid var(--border-color);border-radius:6px;padding:6px 10px;background-color:var(--bg-color);color:var(--text-primary);outline:none;font-size:.9rem}.gif-picker-header input:focus{border-color:var(--primary-color)}.gif-grid{flex:1;overflow-y:auto;padding:10px;display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.gif-item{cursor:pointer;border-radius:4px;overflow:hidden;height:100px;background-color:#f1f5f9;display:flex;align-items:center;justify-content:center}.gif-item:hover{opacity:.8}.gif-item img{width:100%;height:100%;object-fit:cover}.gif-loading{display:flex;align-items:center;justify-content:center;height:100%;color:var(--text-secondary);font-size:.9rem}.teams-message-bubble-container{position:relative;display:flex;align-items:center}.teams-reaction-trigger{position:absolute;top:-12px;right:-10px;z-index:10;display:flex;gap:4px}.teams-message.me .teams-reaction-trigger{right:auto;left:-10px}.reaction-btn{background-color:var(--bg-color);border:1px solid var(--border-color);border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--text-secondary);box-shadow:var(--shadow-sm);transition:all .2s}.reaction-btn:hover{background-color:var(--sidebar-bg);color:var(--primary-color);transform:scale(1.1)}.teams-reaction-picker{position:absolute;top:-40px;left:50%;transform:translate(-50%);background-color:var(--sidebar-bg);border:1px solid var(--border-color);border-radius:20px;padding:4px 8px;display:flex;gap:4px;box-shadow:var(--shadow-md);z-index:20;white-space:nowrap}.teams-reaction-picker button{background:none;border:none;font-size:1.2rem;cursor:pointer;padding:2px 4px;border-radius:4px;transition:transform .2s}.teams-reaction-picker button:hover{transform:scale(1.3);background-color:var(--bg-color)}.teams-message-reactions{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px;justify-content:flex-start}.teams-message.me .teams-message-reactions{justify-content:flex-end}.reaction-pill{background-color:var(--bg-color);border:1px solid var(--border-color);border-radius:12px;padding:2px 6px;font-size:.75rem;display:flex;align-items:center;gap:4px;cursor:default}.reaction-count{color:var(--text-secondary);font-weight:600}.reaction-pill.active{background-color:var(--hover-color);border-color:var(--primary-color)}.reaction-pill:hover{background-color:var(--hover-color);border-color:var(--text-secondary)}.teams-message-edit-box{display:flex;flex-direction:column;gap:4px;min-width:200px}.teams-message-edit-box textarea{width:100%;min-height:60px;padding:8px;border:1px solid var(--border-color);border-radius:4px;background-color:var(--bg-color);color:var(--text-primary);font-family:inherit;resize:vertical}.teams-message-edit-actions{display:flex;justify-content:flex-end;gap:4px}.teams-message-edit-actions button{padding:4px;border-radius:4px;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center}.teams-reply-banner{background-color:var(--bg-color);border-bottom:1px solid var(--border-color);padding:8px 16px;display:flex;align-items:center;justify-content:space-between;font-size:.9rem;color:var(--text-secondary)}.teams-reply-banner .reply-info{display:flex;flex-direction:column;gap:2px;overflow:hidden}.teams-reply-banner .reply-label{font-weight:600;font-size:.8rem}.teams-reply-banner .reply-preview{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.85rem;opacity:.8}.teams-reply-banner .reply-preview *{margin:0;padding:0;display:inline}.close-reply-btn{background:none;border:none;cursor:pointer;color:var(--text-secondary);padding:4px;border-radius:50%}.close-reply-btn:hover{background-color:var(--hover-color);color:var(--text-primary)}.teams-message-reply-context{margin-bottom:4px;padding:4px 8px;border-left:3px solid var(--primary-color);background-color:#00000008;border-radius:0 4px 4px 0;cursor:pointer;font-size:.8rem;max-width:100%;opacity:.8;transition:opacity .2s}.teams-message-reply-context:hover{opacity:1;background-color:#0000000d}.teams-message.me .teams-message-reply-context{align-self:flex-end;border-left:none;border-right:3px solid var(--primary-color);border-radius:4px 0 0 4px;text-align:right}.teams-message-reply-context .reply-author{font-weight:600;display:block;margin-bottom:2px}.teams-message-reply-context .reply-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:300px}.teams-message-reply-context .reply-text *{margin:0;padding:0;display:inline}.admin-container{height:100%;padding:24px;overflow-y:auto;background-color:var(--bg-color);color:var(--text-primary)}.admin-wrapper{max-width:1200px;margin:0 auto}.admin-header{margin-bottom:32px}.admin-title{font-size:24px;font-weight:700;display:flex;align-items:center;gap:12px;color:var(--text-primary);margin:0}.admin-subtitle{color:var(--text-secondary);margin-top:8px;font-size:16px}.stats-grid{display:grid;grid-template-columns:repeat(1,1fr);gap:24px;margin-bottom:32px}@media (min-width: 768px){.stats-grid{grid-template-columns:repeat(3,1fr)}}.stat-card{background-color:var(--sidebar-bg);padding:24px;border-radius:12px;border:1px solid var(--border-color);box-shadow:var(--shadow-sm);display:flex;align-items:center;justify-content:space-between}.stat-info p:first-child{font-size:14px;font-weight:500;color:var(--text-secondary);margin:0 0 4px}.stat-info p:last-child{font-size:24px;font-weight:700;color:var(--text-primary);margin:0}.stat-icon{padding:12px;border-radius:50%;display:flex;align-items:center;justify-content:center}.stat-icon.blue{background-color:#3b82f61a;color:#3b82f6}.stat-icon.purple{background-color:#a855f71a;color:#a855f7}.stat-icon.green{background-color:#22c55e1a;color:#22c55e}.content-grid{display:grid;grid-template-columns:1fr;gap:24px}@media (min-width: 1024px){.content-grid{grid-template-columns:1fr 1fr}}.admin-card{background-color:var(--sidebar-bg);border-radius:12px;border:1px solid var(--border-color);box-shadow:var(--shadow-sm);padding:24px;height:fit-content}.card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.card-title{font-size:18px;font-weight:600;color:var(--text-primary);display:flex;align-items:center;gap:8px;margin:0}.form-label{display:block;font-size:14px;font-weight:500;color:var(--text-primary);margin-bottom:6px}.input-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--text-secondary);pointer-events:none}.form-input{width:100%;padding:10px 12px 10px 40px;border:1px solid var(--border-color);border-radius:8px;background-color:var(--bg-color);color:var(--text-primary);font-size:14px;box-sizing:border-box;transition:border-color .2s,box-shadow .2s}.form-input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 2px #6366f133}.btn-primary{width:100%;padding:10px 16px;background-color:var(--primary-color);color:#fff;border:none;border-radius:8px;font-weight:500;cursor:pointer;transition:background-color .2s;display:flex;align-items:center;justify-content:center;gap:8px}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.message-box{padding:12px;border-radius:8px;margin-bottom:16px;display:flex;align-items:center;gap:8px;font-size:14px}.message-box.success{background-color:#22c55e1a;color:var(--success)}.message-box.error{background-color:#ef44441a;color:var(--danger)}.refresh-btn{background:none;border:none;color:var(--text-secondary);cursor:pointer;padding:8px;border-radius:50%;transition:background-color .2s}.refresh-btn:hover{background-color:var(--bg-color)}.refresh-btn.spinning{animation:spin 1s linear infinite}.user-list{display:flex;flex-direction:column;gap:12px}.user-item{padding:16px;border:1px solid var(--border-color);border-radius:8px;background-color:var(--bg-color)}.user-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}.user-name{font-weight:500;color:var(--text-primary);margin:0}.user-email{font-size:13px;color:var(--text-secondary);margin:2px 0 0}.role-badge{padding:2px 8px;border-radius:12px;font-size:12px;font-weight:500}.role-badge.admin{background-color:#a855f71a;color:#a855f7}.role-badge.user{background-color:var(--border-color);color:var(--text-secondary)}.reset-btn{background:none;border:none;color:var(--primary-color);font-size:13px;cursor:pointer;display:flex;align-items:center;gap:4px;padding:0}.reset-btn:hover{text-decoration:underline}.reset-form{display:flex;gap:8px;margin-top:12px}.reset-input{flex:1;padding:6px 10px;border:1px solid var(--border-color);border-radius:6px;font-size:13px;background-color:var(--sidebar-bg);color:var(--text-primary)}.btn-sm{padding:6px 12px;border-radius:6px;font-size:13px;cursor:pointer;border:none}.btn-save{background-color:var(--primary-color);color:#fff}.btn-cancel{background-color:var(--border-color);color:var(--text-primary)}.reset-msg{font-size:12px;color:var(--success);margin-top:8px}.workflows-container{height:100%;padding:24px;overflow-y:auto;background-color:var(--bg-color);color:var(--text-primary)}.workflows-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.workflows-header h2{font-size:24px;font-weight:700;margin:0;color:var(--text-primary)}.btn-primary{background-color:var(--primary-color);color:#fff;padding:8px 16px;border-radius:8px;border:none;display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:500;transition:background-color .2s}.btn-primary:hover{background-color:var(--primary-hover)}.btn-secondary{background-color:transparent;color:var(--text-secondary);padding:8px 16px;border-radius:8px;border:1px solid var(--border-color);cursor:pointer;font-weight:500;transition:all .2s}.btn-secondary:hover{background-color:var(--bg-color);color:var(--text-primary)}.workflow-create-card{background-color:var(--sidebar-bg);padding:24px;border-radius:12px;box-shadow:var(--shadow-sm);border:1px solid var(--border-color);margin-bottom:24px}.workflow-create-header{font-size:18px;font-weight:600;margin-bottom:16px;color:var(--text-primary)}.form-group{margin-bottom:16px}.form-label{display:block;font-size:14px;font-weight:500;margin-bottom:6px;color:var(--text-primary)}.form-input,.form-select{width:100%;padding:8px 12px;border:1px solid var(--border-color);border-radius:6px;background-color:var(--bg-color);color:var(--text-primary);font-size:14px}.form-input:focus,.form-select:focus{outline:none;border-color:var(--primary-color)}.workflow-list{display:grid;gap:16px}.workflow-card{background-color:var(--sidebar-bg);padding:20px;border-radius:12px;border:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center;transition:box-shadow .2s}.workflow-card:hover{box-shadow:var(--shadow-md)}.workflow-info h3{margin:0 0 4px;font-size:16px;font-weight:600;color:var(--text-primary)}.workflow-details{font-size:14px;color:var(--text-secondary);display:flex;flex-direction:column;gap:4px}.workflow-actions{display:flex;gap:8px}.btn-icon{padding:8px;border-radius:6px;border:1px solid var(--border-color);background-color:transparent;color:var(--text-secondary);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.btn-icon:hover{background-color:var(--bg-color);color:var(--text-primary)}.btn-icon.delete:hover{background-color:#ef44441a;color:var(--danger);border-color:#ef444433}.btn-icon.active{color:var(--success);border-color:var(--success);background-color:#22c55e1a}.condition-row,.action-row{display:flex;gap:8px;margin-bottom:8px;align-items:center}.form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.login-container{min-height:100vh;display:flex;overflow:hidden;background-color:#0f172a;font-family:Inter,sans-serif}.login-left{display:none;position:relative;background-color:#0f172a;align-items:center;justify-content:center;overflow:hidden;width:50%}@media (min-width: 1024px){.login-left{display:flex}}.login-left-bg-gradient{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to bottom right,rgba(79,70,229,.2),rgba(147,51,234,.2),rgba(219,39,119,.2));z-index:0}.blob{position:absolute;border-radius:50%;mix-blend-mode:multiply;filter:blur(64px);opacity:.2;animation:blob 8s infinite}.blob-1{top:0;left:-1rem;width:24rem;height:24rem;background-color:#a855f7}.blob-2{top:0;right:-1rem;width:24rem;height:24rem;background-color:#6366f1;animation-delay:2s}.blob-3{bottom:-2rem;left:5rem;width:24rem;height:24rem;background-color:#ec4899;animation-delay:4s}.login-left-content{position:relative;z-index:10;width:100%;max-width:42rem;padding:0 3rem}.login-header{margin-bottom:3rem;animation:fade-in 1s ease-out}.login-logo-container{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}.login-logo-box{width:4rem;height:4rem;background:linear-gradient(to bottom right,#6366f1,#9333ea);border-radius:1rem;display:flex;align-items:center;justify-content:center;box-shadow:0 25px 50px -12px #6366f14d}.login-title{font-size:4.5rem;font-weight:900;color:transparent;background-clip:text;-webkit-background-clip:text;background-image:linear-gradient(to right,#ffffff,#c7d2fe,#ffffff);letter-spacing:-.05em;line-height:1}.login-subtitle{font-size:1.5rem;color:#c7d2fe;font-weight:300;letter-spacing:.025em}.feature-list{display:flex;flex-direction:column;gap:1.5rem;animation:slide-up .8s ease-out .2s both}.feature-item{display:flex;align-items:center;gap:1.5rem;padding:1.5rem;border-radius:1.5rem;background-color:#ffffff0d;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid rgba(255,255,255,.1);transition:all .5s;cursor:default}.feature-item:hover{background-color:#ffffff1a;transform:scale(1.05);box-shadow:0 25px 50px -12px #6366f133}.feature-icon-box{width:3.5rem;height:3.5rem;border-radius:1rem;background-color:#ffffff1a;display:flex;align-items:center;justify-content:center;transition:all .5s}.feature-item:hover .feature-icon-box{background-color:#6366f1;transform:rotate(6deg)}.feature-text h3{font-size:1.25rem;font-weight:700;color:#fff;margin-bottom:.25rem}.feature-text p{color:#94a3b8}.feature-item:hover .feature-text p{color:#cbd5e1}.particle{position:absolute;background-color:#fff6;border-radius:50%;filter:blur(4px);animation:float 3s ease-in-out infinite}.particle-1{top:2.5rem;right:2.5rem;width:1rem;height:1rem;animation-delay:1s}.particle-2{bottom:8rem;left:4rem;width:.75rem;height:.75rem;animation-delay:3s;background-color:#ffffff4d}.particle-3{top:33%;right:6rem;width:.5rem;height:.5rem;background-color:#ffffff80}.login-right{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem;background:linear-gradient(135deg,#0a0a0f 0%,#1a1a2e 25%,#16213e 50%,#1a1a2e 75%,#0a0a0f 100%);min-width:50%;position:relative}.grid-pattern{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(rgba(99,102,241,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(99,102,241,.1) 1px,transparent 1px);background-size:50px 50px;opacity:.3}.login-form-container{width:100%;max-width:28rem;position:relative;z-index:10;animation:slide-up .8s ease-out .2s both}.form-header{text-align:center;margin-bottom:2.5rem}.lock-icon-box{display:inline-flex;align-items:center;justify-content:center;width:4rem;height:4rem;background:linear-gradient(to bottom right,#9333ea,#db2777);border-radius:1rem;box-shadow:0 10px 15px -3px #581c8780;margin-bottom:1.25rem;animation:float 3s ease-in-out infinite}.welcome-text{font-size:3rem;font-weight:900;color:#fff;margin-bottom:1rem;letter-spacing:-.025em}.welcome-subtext{color:#94a3b8;font-size:1.125rem;font-weight:300}.login-form{display:flex;flex-direction:column;gap:1.5rem}.input-group{display:flex;flex-direction:column;gap:.5rem}.input-label{display:block;font-size:.875rem;font-weight:700;color:#cbd5e1;margin-left:.25rem;letter-spacing:.025em}.input-wrapper{position:relative}.input-icon{position:absolute;top:0;bottom:0;left:0;padding-left:1rem;display:flex;align-items:center;pointer-events:none;z-index:10;color:#64748b;transition:color .3s}.input-wrapper:hover .input-icon,.input-wrapper:focus-within .input-icon{color:#c084fc}.form-input{display:block;width:100%;padding:1rem 1rem 1rem 3rem;background-color:#1e293bcc;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border:2px solid rgba(51,65,85,.5);border-radius:1rem;color:#fff;font-size:1rem;font-weight:500;box-shadow:0 10px 40px #0000004d;transition:all .3s;box-sizing:border-box}.form-input::placeholder{color:#64748b}.form-input:focus{outline:none;border-color:#a855f7;box-shadow:0 0 0 4px #a855f780}.form-input:hover{border-color:#475569;background-color:#1e293b}.error-message{color:#fca5a5;font-size:.875rem;text-align:center;background-color:#ef44441a;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);padding:.75rem 1rem;border-radius:.75rem;border:2px solid rgba(239,68,68,.4);animation:shake .6s;box-shadow:0 10px 15px -3px #7f1d1d4d}.submit-button{width:100%;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:1.25rem 1.5rem;background:linear-gradient(to right,#9333ea,#db2777,#9333ea);background-size:200% 100%;color:#fff;font-weight:700;font-size:1.125rem;border-radius:1rem;border:none;cursor:pointer;transition:all .5s;box-shadow:0 25px 50px -12px #581c8799;animation:gradient-shift 3s ease infinite}.submit-button:hover{transform:scale(1.05) translateY(-4px);box-shadow:0 20px 25px -5px #a855f799}.submit-button:active{transform:scale(.95)}.submit-button:disabled{opacity:.5;cursor:not-allowed}.button-shine{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to right,transparent,rgba(255,255,255,.2),transparent);transform:translate(-100%);transition:transform 1s}.submit-button:hover .button-shine{transform:translate(100%)}.security-note{margin-top:2.5rem;text-align:center}.security-content{display:flex;align-items:center;justify-content:center;gap:.5rem;color:#64748b;font-size:.875rem}@keyframes blob{0%,to{transform:translate(0) scale(1)}33%{transform:translate(40px,-60px) scale(1.15)}66%{transform:translate(-30px,30px) scale(.9)}}@keyframes fade-in{0%{opacity:0;transform:translateY(-30px)}to{opacity:1;transform:translateY(0)}}@keyframes slide-up{0%{opacity:0;transform:translateY(40px)}to{opacity:1;transform:translateY(0)}}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-20px)}}@keyframes shake{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-8px)}20%,40%,60%,80%{transform:translate(8px)}}@keyframes gradient-shift{0%,to{background-position:0% 50%}50%{background-position:100% 50%}}.animate-spin{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
