@layer components{.shell-chat-wrapper{display:grid;grid-template-columns:64px 320px minmax(0,1fr);grid-gap:var(--shell-spacing-xl);gap:var(--shell-spacing-xl);height:100%}.shell-chat-wrapper.shell-chat-wrapper-redesign{display:flex;gap:0}.shell-chat-wrapper.shell-chat-wrapper-redesign .shell-chat-sidebar{flex-shrink:0;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0}.shell-chat-wrapper.shell-chat-wrapper-redesign .shell-chat-panel{flex:1 1;min-width:0;border-left:none;border-top-left-radius:0;border-bottom-left-radius:0}.shell-chat-divider{width:4px;background:var(--shell-color-border);cursor:col-resize;flex-shrink:0;transition:background .15s ease;position:relative}.shell-chat-divider.dragging,.shell-chat-divider:hover{background:var(--shell-color-brand)}.shell-chat-divider:before{content:"";position:absolute;top:0;bottom:0;left:-4px;right:-4px}.shell-chat-wrapper.resizing{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:col-resize}.shell-chat-wrapper.resizing *{cursor:col-resize!important}@media (max-width:1024px){.shell-chat-wrapper{grid-template-columns:1fr}.shell-chat-nav{display:none}}.shell-chat-nav{background:var(--shell-color-surface);backdrop-filter:var(--shell-glass-blur);-webkit-backdrop-filter:var(--shell-glass-blur);border:1px solid var(--shell-glass-border);border-radius:var(--shell-radius-lg);padding:var(--shell-spacing-md) 0;display:flex;flex-direction:column;align-items:stretch;gap:var(--shell-spacing-xs);min-height:520px;box-shadow:var(--shell-shadow-md)}[data-theme=dark] .shell-chat-nav{background:var(--shell-color-surface);border-color:var(--shell-glass-border)}.shell-chat-nav-group{display:flex;flex-direction:column;gap:var(--shell-spacing-xs);padding:0 var(--shell-spacing-sm)}.shell-chat-nav-horizontal{display:flex;justify-content:space-around;align-items:center;padding:var(--shell-spacing-sm) var(--shell-spacing-md);gap:var(--shell-spacing-xs)}.shell-chat-nav-horizontal .shell-chat-nav-item{flex:1 1;max-width:64px}.shell-chat-nav-divider{height:1px;background:var(--shell-color-border);margin:var(--shell-spacing-sm) var(--shell-spacing-md)}.shell-chat-section-header{display:flex;align-items:center;justify-content:space-between;padding:0 var(--shell-spacing-md);margin-bottom:2px}.shell-chat-section-title{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--shell-color-text-muted)}.shell-chat-add-btn{display:flex;align-items:center;justify-content:center;width:22px;height:22px;border:none;background:transparent;border-radius:var(--shell-radius-sm);color:var(--shell-color-text-muted);cursor:pointer;transition:all var(--shell-transition-fast)}.shell-chat-add-btn:hover{background:var(--shell-surface-neutral-strong);color:var(--shell-color-text)}.shell-chat-add-btn:disabled{opacity:.5;cursor:not-allowed}.shell-chat-conversation-item{display:flex;align-items:center;gap:var(--shell-spacing-sm);padding:var(--shell-spacing-sm) var(--shell-spacing-md);border:none;background:transparent;color:var(--shell-color-text);font-size:.9rem;text-align:left;cursor:pointer;border-radius:var(--shell-radius-sm);transition:background var(--shell-transition-fast);width:100%}.shell-chat-conversation-item:hover{background:var(--shell-surface-neutral-soft)}.shell-chat-conversation-item.active{background:var(--shell-surface-brand-soft);color:var(--shell-color-brand)}.shell-chat-channel-hash{color:var(--shell-color-text-muted);font-weight:500}.shell-chat-conversation-name{flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shell-chat-conversation-name.muted{opacity:.6}.shell-chat-muted-icon,.shell-chat-tracking-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;opacity:.5;margin-left:2px}.shell-chat-muted-icon svg,.shell-chat-tracking-icon svg{width:12px;height:12px}.shell-chat-tracking-icon{color:var(--shell-color-primary);opacity:.7}.shell-chat-conversation-actions{margin-left:auto;display:flex;align-items:center;opacity:0;pointer-events:none;transition:opacity var(--shell-transition-fast)}.shell-chat-conversation-item.active .shell-chat-conversation-actions,.shell-chat-conversation-item:hover .shell-chat-conversation-actions{opacity:1;pointer-events:auto}.shell-chat-conversation-menu-btn{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:var(--shell-radius-full);border:none;background:transparent;color:var(--shell-color-text-muted);cursor:pointer;padding:0}.shell-chat-conversation-menu-btn:hover{background:var(--shell-surface-neutral-strong);color:var(--shell-color-text)}.shell-chat-online-indicator{width:8px;height:8px;border-radius:50%;background:var(--shell-color-positive);flex-shrink:0}.shell-chat-unread-badge{min-width:18px;padding:0 6px;height:18px;border-radius:999px;background:#ef4444;color:#fff;font-size:.7rem;font-weight:600;display:inline-flex;align-items:center;justify-content:center;margin-left:var(--shell-spacing-xs)}.shell-chat-unread-dot{background:var(--shell-color-brand)}.shell-chat-unread-dot,.shell-chat-unresponded-dot{width:8px;height:8px;border-radius:999px;flex-shrink:0;margin-left:var(--shell-spacing-xs)}.shell-chat-unresponded-dot{background:#3b82f6}.shell-chat-unresponded-list{max-height:280px;overflow-y:auto}.shell-chat-unresponded-item{flex-direction:column;align-items:stretch;gap:var(--shell-spacing-xs);padding:var(--shell-spacing-sm) var(--shell-spacing-md);text-align:left}.shell-chat-unresponded-item-header{display:flex;align-items:center;gap:var(--shell-spacing-sm)}.shell-chat-unresponded-item-icon{flex-shrink:0;color:var(--shell-color-text-muted);display:flex;align-items:center}.shell-chat-unresponded-item-label{font-weight:500;flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shell-chat-unresponded-item-time{font-size:.75rem;color:var(--shell-color-text-muted);flex-shrink:0}.shell-chat-unresponded-item-body{font-size:.85rem;color:var(--shell-color-text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.4}.shell-chat-unresponded-item-sender{font-weight:500;color:var(--shell-color-text)}.shell-chat-message-highlight{animation:shell-chat-highlight-fade 2s ease-out}@keyframes shell-chat-highlight-fade{0%{background:var(--shell-border-brand-soft)}to{background:transparent}}.shell-chat-list-empty{padding:var(--shell-spacing-sm) var(--shell-spacing-md);font-size:.85rem;color:var(--shell-color-text-muted);font-style:italic}.shell-chat-dm-list{flex:1 1;overflow-y:auto}.shell-chat-sidebar-footer{margin-top:auto;padding:var(--shell-spacing-md);border-top:1px solid var(--shell-color-border)}.shell-chat-settings-btn{display:flex;align-items:center;gap:var(--shell-spacing-sm);padding:var(--shell-spacing-sm) var(--shell-spacing-md);border:none;background:transparent;color:var(--shell-color-text-muted);font-size:.85rem;cursor:pointer;border-radius:var(--shell-radius-sm);width:100%;transition:all var(--shell-transition-fast)}.shell-chat-settings-btn:hover{background:var(--shell-surface-neutral-soft);color:var(--shell-color-text)}.shell-chat-sound-selector{position:relative}.shell-chat-sound-menu{position:absolute;bottom:100%;left:0;right:0;margin-bottom:var(--shell-spacing-xs);background:var(--shell-color-surface);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);box-shadow:var(--shell-shadow-lg);overflow:hidden;z-index:100}.shell-chat-sound-option{display:flex;align-items:center;justify-content:space-between;width:100%;padding:var(--shell-spacing-sm) var(--shell-spacing-md);border:none;background:transparent;color:var(--shell-color-text);font-size:.85rem;cursor:pointer;transition:background var(--shell-transition-fast)}.shell-chat-sound-option:hover{background:var(--shell-surface-neutral-soft)}.shell-chat-sound-option svg,.shell-chat-sound-option.active{color:var(--shell-color-brand)}.shell-chat-channel-context-overlay{position:fixed;inset:0;z-index:900}.shell-chat-channel-context-menu{position:absolute;min-width:240px;max-width:280px;background:#0b1120;border-radius:var(--shell-radius-lg);border:1px solid var(--shell-color-border);box-shadow:0 16px 40px rgba(0,0,0,.45);padding:4px 0;font-size:.85rem;color:var(--shell-color-text)}[data-theme=light] .shell-chat-channel-context-menu{background:#fff;box-shadow:0 16px 40px rgba(15,23,42,.15)}.shell-chat-channel-context-item{width:100%;padding:6px 12px;border:none;background:transparent;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:var(--shell-spacing-sm);cursor:pointer;color:inherit}.shell-chat-channel-context-item:hover{background:var(--shell-surface-neutral-soft)}.shell-chat-channel-context-item.active{background:var(--shell-surface-brand-weak)}.shell-chat-channel-context-item-body{display:flex;flex-direction:column;gap:2px}.shell-chat-channel-context-item-title{font-size:.85rem}.shell-chat-channel-context-item-subtitle{font-size:.75rem;color:var(--shell-color-text-muted)}.shell-chat-channel-context-item-with-submenu{position:relative}.shell-chat-channel-context-item-with-submenu .shell-chat-channel-context-item-arrow{opacity:.6}.shell-chat-channel-context-item-with-submenu.active,.shell-chat-channel-context-item-with-submenu:hover{background:var(--shell-surface-brand-soft)}.shell-chat-channel-context-item-arrow{font-size:.8rem}.shell-chat-channel-context-divider{margin:4px 0;border-top:1px solid var(--shell-color-border)}.shell-chat-channel-context-item-danger{color:var(--shell-color-negative)}.shell-chat-channel-context-submenu{position:absolute;min-width:260px;max-width:320px;background:#020617;border-radius:var(--shell-radius-lg);border:1px solid var(--shell-color-border);box-shadow:0 16px 40px rgba(0,0,0,.45);padding:8px 0;font-size:.85rem;color:var(--shell-color-text)}[data-theme=light] .shell-chat-channel-context-submenu{background:#fff;box-shadow:0 16px 40px rgba(15,23,42,.15)}.shell-chat-channel-context-submenu-header{padding:4px 14px 8px;border-bottom:1px solid var(--shell-color-border);display:flex;flex-direction:column;gap:2px}.shell-chat-channel-context-submenu-title{font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:var(--shell-color-text-muted)}.shell-chat-channel-context-submenu-channel{font-size:.9rem}.shell-chat-channel-context-submenu-item{width:100%;padding:6px 12px;border:none;background:transparent;text-align:left;display:flex;align-items:flex-start;gap:var(--shell-spacing-sm);cursor:pointer;color:inherit}.shell-chat-channel-context-submenu-item:hover{background:var(--shell-surface-neutral-soft)}.shell-chat-channel-context-submenu-item.active{background:var(--shell-surface-brand-soft)}.shell-chat-channel-context-submenu-check{width:16px;display:inline-flex;align-items:center;justify-content:center;font-size:.9rem}.shell-chat-channel-context-submenu-body{display:flex;flex-direction:column;gap:2px}.shell-chat-channel-context-submenu-item-title{font-size:.85rem}.shell-chat-channel-context-submenu-item-subtitle{font-size:.75rem;color:var(--shell-color-text-muted)}.shell-chat-channel-context-submenu-divider{margin:4px 0;border-top:1px solid var(--shell-color-border)}.shell-chat-channel-context-submenu-footer{padding:6px 14px;font-size:.75rem;color:var(--shell-color-text-muted)}.shell-chat-modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;z-index:1000}.shell-chat-modal{background:#1e293b;border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-lg);width:100%;max-width:420px;box-shadow:0 20px 40px rgba(0,0,0,.5)}[data-theme=light] .shell-chat-modal{background:#fff;box-shadow:0 20px 40px rgba(0,0,0,.15)}.shell-chat-modal-header{display:flex;align-items:center;justify-content:space-between;padding:var(--shell-spacing-lg);border-bottom:1px solid var(--shell-color-border)}.shell-chat-modal-header h3{margin:0;font-size:1.1rem}.shell-chat-modal-close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:transparent;color:var(--shell-color-text-muted);cursor:pointer;border-radius:var(--shell-radius-sm)}.shell-chat-modal-close:hover{background:var(--shell-surface-neutral-strong);color:var(--shell-color-text)}.shell-chat-modal-body{padding:var(--shell-spacing-lg);display:flex;flex-direction:column;gap:var(--shell-spacing-md)}.shell-chat-modal-body label{font-size:.85rem;font-weight:500;color:var(--shell-color-text-muted);margin-bottom:-.5rem}.shell-chat-modal-body .rich-text-input,.shell-chat-modal-body input{border:1px solid var(--shell-color-border);background:transparent;border-radius:var(--shell-radius-md);padding:var(--shell-spacing-sm) var(--shell-spacing-md);color:inherit;font-size:.95rem}.shell-chat-modal-body .rich-text-input:focus,.shell-chat-modal-body input:focus{outline:none;border-color:var(--shell-color-brand)}.shell-chat-modal-body .rich-text-input{min-height:72px}.shell-chat-modal-footer{display:flex;justify-content:flex-end;gap:var(--shell-spacing-sm);padding:var(--shell-spacing-md) var(--shell-spacing-lg);border-top:1px solid var(--shell-color-border)}.shell-chat-modal.shell-chat-modal-wide{max-width:560px}.shell-chat-modal-message-preview{background:var(--shell-surface-neutral-soft);border-radius:var(--shell-radius-md);padding:var(--shell-spacing-sm) var(--shell-spacing-md);margin-bottom:var(--shell-spacing-md);font-size:.9rem}.shell-chat-modal-message-preview strong{display:block;margin-bottom:4px;color:var(--shell-color-text)}.shell-chat-modal-message-preview p{margin:0;color:var(--shell-color-text-muted);white-space:pre-wrap;overflow:hidden;text-overflow:ellipsis}.shell-chat-modal-row{display:flex;gap:var(--shell-spacing-md);margin-top:var(--shell-spacing-sm)}.shell-chat-modal-field{flex:1 1;display:flex;flex-direction:column}.shell-chat-modal-field label{margin-bottom:4px}.shell-chat-flag-indicator{display:flex;align-items:center;gap:var(--shell-spacing-xs);padding:var(--shell-spacing-xs) var(--shell-spacing-sm);border-radius:var(--shell-radius-sm);font-size:.8rem;margin-bottom:var(--shell-spacing-xs)}.shell-chat-flag-indicator.flag-decision{background:rgba(239,68,68,.1);border:1px solid rgba(239,68,68,.3)}.shell-chat-flag-indicator.flag-urgent{background:rgba(249,115,22,.1);border:1px solid rgba(249,115,22,.3)}.shell-chat-flag-indicator.flag-tracking{background:var(--shell-surface-brand-weak);border:1px solid var(--shell-border-brand-soft)}.shell-chat-flag-indicator.flag-resolved{opacity:.6}.shell-chat-flag-icon{font-size:.75rem}.shell-chat-flag-label{color:var(--shell-color-text-muted)}.shell-chat-flag-actions{display:flex;gap:var(--shell-spacing-xs);margin-left:auto}.shell-chat-flag-btn{border:none;background:transparent;cursor:pointer;padding:2px 8px;font-size:.75rem;border-radius:var(--shell-radius-sm);font-weight:500;transition:background var(--shell-transition-fast)}.shell-chat-flag-btn.approve{color:#22c55e;background:rgba(34,197,94,.1)}.shell-chat-flag-btn.approve:hover{background:rgba(34,197,94,.2)}.shell-chat-flag-btn.deny{color:#ef4444;background:rgba(239,68,68,.1)}.shell-chat-flag-btn.deny:hover{background:rgba(239,68,68,.2)}.shell-chat-flag-btn.resolve{color:var(--shell-color-brand);background:var(--shell-surface-brand-weak)}.shell-chat-flag-btn.resolve:hover{background:var(--shell-surface-brand-strong)}.shell-chat-flag-remove{border:none;background:transparent;cursor:pointer;color:var(--shell-color-text-muted);font-size:1rem;padding:0 4px;opacity:.6;transition:opacity var(--shell-transition-fast)}.shell-chat-flag-remove:hover{opacity:1}.shell-chat-task-indicator{display:flex;align-items:center;gap:var(--shell-spacing-xs);padding:var(--shell-spacing-xs) var(--shell-spacing-sm);border-radius:var(--shell-radius-sm);font-size:.8rem;margin-bottom:var(--shell-spacing-xs);background:var(--shell-surface-brand-weak);border:1px solid var(--shell-border-brand-soft)}.shell-chat-task-icon{font-size:.75rem}.shell-chat-task-label{color:var(--shell-color-text-muted)}.shell-chat-action-menu-wrapper{position:relative}.shell-chat-action-menu{position:absolute;top:100%;right:0;background:#1e293b;border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);box-shadow:0 8px 24px rgba(0,0,0,.4);min-width:180px;z-index:100;overflow:hidden}.shell-chat-action-menu-item{display:block;width:100%;padding:var(--shell-spacing-sm) var(--shell-spacing-md);border:none;background:transparent;cursor:pointer;text-align:left;font-size:.875rem;color:var(--shell-color-text);transition:background var(--shell-transition-fast)}.shell-chat-action-menu-item:hover{background:var(--shell-surface-neutral-soft)}.shell-chat-action-menu-item.active{background:var(--shell-surface-brand-soft);color:var(--shell-color-primary)}.shell-chat-modal-divider{display:flex;align-items:center;gap:var(--shell-spacing-md);color:var(--shell-color-text-muted);font-size:.8rem}.shell-chat-modal-divider:after,.shell-chat-modal-divider:before{content:"";flex:1 1;height:1px;background:var(--shell-color-border)}.shell-chat-modal.shell-chat-channel-details-modal{max-width:680px;width:100%;display:flex;flex-direction:column;background:var(--shell-color-surface);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-lg);box-shadow:var(--shell-shadow-lg)}[data-theme=dark] .shell-chat-modal.shell-chat-channel-details-modal{background:var(--shell-color-surface-elevated)}.shell-chat-channel-details-header{display:flex;flex-direction:column;gap:4px}.shell-chat-channel-details-name{display:flex;align-items:center;gap:6px;font-size:1rem;font-weight:600;font-family:var(--shell-font-sans);color:var(--shell-color-text)}.shell-chat-channel-details-hash{color:var(--shell-color-brand);font-weight:500}.shell-chat-channel-details-meta{font-size:.8rem;color:var(--shell-color-text-muted)}.shell-chat-channel-details-tabs{display:flex;gap:0;padding:0 var(--shell-spacing-lg);border-bottom:1px solid var(--shell-color-border)}.shell-chat-channel-details-tab{border:none;background:transparent;padding:var(--shell-spacing-md) var(--shell-spacing-md);font-size:.875rem;font-family:var(--shell-font-sans);cursor:pointer;color:var(--shell-color-text-muted);position:relative;transition:color var(--shell-transition-fast)}.shell-chat-channel-details-tab:hover{color:var(--shell-color-text)}.shell-chat-channel-details-tab.active{color:var(--shell-color-text);font-weight:500}.shell-chat-channel-details-tab.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--shell-color-brand)}.shell-chat-channel-details-body{height:480px;overflow-y:auto;padding:var(--shell-spacing-xl)}.shell-chat-channel-details-body label{display:block;font-size:.8rem;font-weight:500;color:var(--shell-color-text-muted);margin-bottom:var(--shell-spacing-xs);text-transform:uppercase;letter-spacing:.03em}.shell-chat-channel-details-body .rich-text-input,.shell-chat-channel-details-body input,.shell-chat-channel-details-body textarea{width:100%;border:1px solid var(--shell-color-border);background:var(--shell-color-surface-alt);border-radius:var(--shell-radius-sm);padding:var(--shell-spacing-sm) var(--shell-spacing-md);color:var(--shell-color-text);font-size:.875rem;font-family:var(--shell-font-sans);transition:border-color var(--shell-transition-fast),box-shadow var(--shell-transition-fast)}[data-theme=dark] .shell-chat-channel-details-body .rich-text-input,[data-theme=dark] .shell-chat-channel-details-body input,[data-theme=dark] .shell-chat-channel-details-body textarea{background:hsla(0,0%,100%,.05)}.shell-chat-channel-details-body .rich-text-input:focus,.shell-chat-channel-details-body input:focus,.shell-chat-channel-details-body textarea:focus{outline:none;border-color:var(--shell-color-brand);box-shadow:0 0 0 3px var(--shell-surface-brand-weak)}.shell-chat-channel-details-body .rich-text-input,.shell-chat-channel-details-body textarea{resize:none;min-height:72px}.shell-chat-channel-details-body .rich-text-input[contenteditable=false],.shell-chat-channel-details-body input:disabled,.shell-chat-channel-details-body textarea:disabled{opacity:.6;cursor:not-allowed}.shell-chat-channel-details-field{margin-bottom:var(--shell-spacing-md)}.shell-chat-channel-details-meta-row{display:flex;gap:var(--shell-spacing-xl);margin-top:var(--shell-spacing-lg);padding-top:var(--shell-spacing-lg);border-top:1px solid var(--shell-color-border)}.shell-chat-channel-details-meta-item{flex:1 1}.shell-chat-channel-details-meta-label{font-size:.7rem;font-weight:500;text-transform:uppercase;letter-spacing:.05em;color:var(--shell-color-text-muted);margin-bottom:4px}.shell-chat-channel-details-meta-value{font-size:.875rem;color:var(--shell-color-text);word-break:break-all}.shell-chat-channel-details-meta-value.mono{font-family:var(--shell-font-mono);font-size:.75rem}.shell-chat-channel-details-search{margin-bottom:var(--shell-spacing-md)}.shell-chat-channel-details-members{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.shell-chat-channel-details-member{display:flex;align-items:center;justify-content:space-between;gap:var(--shell-spacing-md);padding:var(--shell-spacing-sm) 0;border-bottom:1px solid var(--shell-color-border)}.shell-chat-channel-details-member:last-child{border-bottom:none}.shell-chat-channel-details-member-main{flex:1 1;min-width:0}.shell-chat-channel-details-member-name{font-size:.875rem;font-weight:500;font-family:var(--shell-font-sans);color:var(--shell-color-text);display:flex;align-items:center;gap:8px}.shell-chat-channel-details-member-email{font-size:.8rem;color:var(--shell-color-text-muted);margin-top:2px}.shell-chat-channel-details-member-role{font-size:.7rem;text-transform:uppercase;letter-spacing:.03em;color:var(--shell-color-text-muted)}.shell-chat-channel-details-pill{padding:2px 6px;border-radius:var(--shell-radius-full);background:var(--shell-surface-brand-soft);color:var(--shell-color-brand);font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.02em}.shell-chat-channel-details-empty{font-size:.875rem;color:var(--shell-color-text-muted);text-align:center;padding:var(--shell-spacing-xl) 0}.shell-chat-channel-details-setting{padding:var(--shell-spacing-md) 0;border-bottom:1px solid var(--shell-color-border)}.shell-chat-channel-details-setting:last-child{border-bottom:none}.shell-chat-channel-details-setting-header{display:flex;align-items:center;justify-content:space-between;gap:var(--shell-spacing-md);margin-bottom:var(--shell-spacing-xs)}.shell-chat-channel-details-setting-title{font-size:.875rem;font-weight:500;color:var(--shell-color-text)}.shell-chat-channel-details-setting-value{font-size:.8rem;color:var(--shell-color-text-muted)}.shell-chat-channel-details-setting-value.mono{font-family:var(--shell-font-mono);font-size:.75rem}.shell-chat-channel-details-badge{display:inline-flex;align-items:center;padding:3px 10px;border-radius:var(--shell-radius-full);font-size:.7rem;font-weight:500;text-transform:uppercase;letter-spacing:.03em}.shell-chat-channel-details-badge.private{background:var(--shell-surface-brand-weak);color:var(--shell-color-brand)}.shell-chat-channel-details-badge.public{background:rgba(34,197,94,.12);color:var(--shell-color-positive)}.shell-chat-channel-details-danger{margin-top:var(--shell-spacing-lg);padding-top:var(--shell-spacing-lg);border-top:1px solid var(--shell-color-border)}.shell-chat-member-autocomplete{position:relative}.shell-chat-member-chips{display:flex;flex-wrap:wrap;gap:var(--shell-spacing-xs);margin-bottom:var(--shell-spacing-sm)}.shell-chat-member-chip{display:inline-flex;align-items:center;gap:var(--shell-spacing-xs);padding:4px 8px;background:var(--shell-surface-brand-strong);border:1px solid var(--shell-border-brand-soft);border-radius:var(--shell-radius-full);font-size:.85rem;color:var(--shell-color-text)}.shell-chat-member-chip-remove{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;padding:0;border:none;background:hsla(0,0%,100%,.2);border-radius:50%;color:inherit;font-size:14px;line-height:1;cursor:pointer;transition:background var(--shell-transition-fast)}.shell-chat-member-chip-remove:hover{background:hsla(0,0%,100%,.3)}.shell-chat-search-wrapper{position:relative}.shell-chat-member-suggestions{position:absolute;top:100%;left:0;right:0;margin-top:4px;background:#1e293b;border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);box-shadow:0 8px 24px rgba(0,0,0,.4);z-index:10;max-height:200px;overflow-y:auto}[data-theme=light] .shell-chat-member-suggestions{background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.15)}.shell-chat-member-suggestion{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:var(--shell-spacing-sm) var(--shell-spacing-md);border:none;background:transparent;color:var(--shell-color-text);text-align:left;cursor:pointer;transition:background var(--shell-transition-fast)}.shell-chat-member-suggestion:hover{background:var(--shell-surface-brand-soft)}.shell-chat-member-suggestion-name{font-weight:500;font-size:.9rem}.shell-chat-member-suggestion-email{font-size:.8rem;color:var(--shell-color-text-muted)}.shell-chat-nav-item{position:relative;border:none;background:transparent;border-radius:var(--shell-radius-full);padding:8px 6px;display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer;color:var(--shell-color-text-muted);font-size:.75rem}.shell-chat-nav-item-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:999px}.shell-chat-nav-item-label{line-height:1.2}.shell-chat-nav-badge{position:absolute;top:2px;right:2px;min-width:16px;height:16px;padding:0 4px;font-size:10px;font-weight:600;line-height:16px;text-align:center;background:#ef4444;color:#fff;border-radius:999px}.shell-chat-nav-item:hover .shell-chat-nav-item-icon{background:var(--shell-surface-neutral-strong)}.shell-chat-nav-item.active{color:var(--shell-color-brand)}.shell-chat-nav-item.active .shell-chat-nav-item-icon{background:var(--shell-surface-brand-active)}.shell-chat-sidebar{background:var(--shell-color-surface);backdrop-filter:var(--shell-glass-blur);-webkit-backdrop-filter:var(--shell-glass-blur);border:1px solid var(--shell-glass-border);border-radius:var(--shell-radius-lg);padding:var(--shell-spacing-xl);display:flex;flex-direction:column;gap:var(--shell-spacing-lg);min-height:520px;box-shadow:var(--shell-shadow-md)}[data-theme=dark] .shell-chat-sidebar{background:var(--shell-color-surface);border-color:var(--shell-glass-border)}.shell-chat-sidebar-header{display:flex;align-items:center;justify-content:space-between;gap:var(--shell-spacing-md)}.shell-chat-sidebar-header h3{margin:0;font-size:1.125rem}.shell-chat-sidebar-header p{margin:0;font-size:.85rem;color:var(--shell-color-text-muted)}.shell-chat-new{display:flex;flex-direction:column;gap:var(--shell-spacing-sm)}.shell-chat-new label{font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;color:var(--shell-color-text-muted)}.shell-chat-new input{border:1px solid var(--shell-color-border);background:transparent;border-radius:var(--shell-radius-md);padding:var(--shell-spacing-sm) var(--shell-spacing-md);color:inherit;font-size:.95rem}.shell-chat-conversation-list{flex:0 0 auto;display:flex;flex-direction:column;gap:var(--shell-spacing-sm)}.shell-chat-section-wrapper{margin-top:var(--shell-spacing-md)}.shell-chat-channel-section-header{display:flex;align-items:center;gap:var(--shell-spacing-xs);font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:var(--shell-color-text-muted);padding:4px 0;position:relative}.shell-chat-section-toggle{display:inline-flex;align-items:center;justify-content:center;border:none;background:transparent;color:inherit;cursor:pointer;padding:2px;border-radius:var(--shell-radius-sm)}.shell-chat-section-toggle:hover{background:var(--shell-surface-neutral-strong)}.shell-chat-channel-section-chevron{display:inline-flex;width:14px;height:14px;align-items:center;justify-content:center}.shell-chat-channel-section-chevron svg{width:10px;height:10px;transform:rotate(0deg);transition:transform var(--shell-transition-fast)}.shell-chat-channel-section-chevron.collapsed svg{transform:rotate(-90deg)}.shell-chat-section-name{flex:1 1;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.shell-chat-section-name-input{flex:1 1;border:1px solid var(--shell-color-brand);background:transparent;color:inherit;font-size:inherit;text-transform:uppercase;letter-spacing:inherit;padding:2px 4px;border-radius:var(--shell-radius-sm);outline:none}.shell-chat-section-actions{position:relative;margin-left:auto;opacity:0;transition:opacity var(--shell-transition-fast)}.shell-chat-channel-section-header:hover .shell-chat-section-actions{opacity:1}.shell-chat-section-menu-btn{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:none;background:transparent;color:var(--shell-color-text-muted);cursor:pointer;border-radius:var(--shell-radius-sm)}.shell-chat-section-menu-btn:hover{background:var(--shell-surface-neutral-strong);color:var(--shell-color-text)}.shell-chat-section-menu{position:absolute;top:100%;right:0;margin-top:4px;background:#1e293b;border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);box-shadow:0 8px 24px rgba(0,0,0,.4);z-index:50;min-width:120px;overflow:hidden}[data-theme=light] .shell-chat-section-menu{background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.15)}.shell-chat-section-menu button{display:flex;align-items:center;gap:var(--shell-spacing-sm);width:100%;padding:8px 12px;border:none;background:transparent;color:var(--shell-color-text);font-size:.85rem;text-transform:none;letter-spacing:normal;text-align:left;cursor:pointer}.shell-chat-section-menu button:hover{background:var(--shell-surface-brand-soft)}.shell-chat-section-menu button.destructive{color:var(--shell-color-negative)}.shell-chat-section-menu button.destructive:hover{background:rgba(239,68,68,.15)}.shell-chat-channel-section-drop{border-radius:var(--shell-radius-sm);padding-left:var(--shell-spacing-sm);min-height:32px}.shell-chat-channel-section-drop.drop-active{background:var(--shell-surface-brand-weak);min-height:40px}.shell-chat-add-menu-wrapper{position:relative}.shell-chat-add-menu{position:absolute;top:100%;right:0;margin-top:4px;background:#1e293b;border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);box-shadow:0 8px 24px rgba(0,0,0,.4);z-index:50;min-width:140px;overflow:hidden}[data-theme=light] .shell-chat-add-menu{background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.15)}.shell-chat-add-menu button{display:flex;align-items:center;gap:var(--shell-spacing-sm);width:100%;padding:8px 12px;border:none;background:transparent;color:var(--shell-color-text);font-size:.85rem;text-align:left;cursor:pointer}.shell-chat-add-menu button:hover{background:var(--shell-surface-brand-soft)}.shell-chat-conversation{border:1px solid transparent;border-radius:var(--shell-radius-md);padding:var(--shell-spacing-md);background:var(--shell-surface-neutral-weak);color:inherit;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:4px;transition:border var(--shell-transition-fast)}.shell-chat-conversation:hover{border-color:rgba(165,180,252,.5)}.shell-chat-conversation.active{border-color:var(--shell-color-brand);background:var(--shell-surface-brand-soft)}.shell-chat-conversation-title{font-weight:600;font-size:.95rem;display:flex;align-items:center;gap:.4rem}.shell-chat-conversation-meta{font-size:.8rem;color:var(--shell-color-text-muted)}.shell-chat-presence-dot{width:.55rem;height:.55rem;border-radius:999px;border:2px solid rgba(15,23,42,.7)}[data-theme=light] .shell-chat-presence-dot{border-color:var(--shell-border-neutral-strong)}.shell-chat-presence-dot.online{background:var(--shell-color-positive)}.shell-chat-presence-dot.offline{background:var(--shell-surface-neutral-strong)}.shell-chat-panel{min-height:520px}.shell-chat-main,.shell-chat-panel{height:100%;display:flex;flex-direction:column}.shell-chat-messages{flex:1 1;overflow-y:auto;display:flex;flex-direction:column;gap:2px;padding:var(--shell-spacing-md) 0}.shell-chat-empty{padding:var(--shell-spacing-xl);text-align:center;color:var(--shell-color-text-muted)}.shell-chat-message-row{display:flex;gap:var(--shell-spacing-md);padding:var(--shell-spacing-sm) var(--shell-spacing-md);position:relative;border-radius:var(--shell-radius-md);transition:background var(--shell-transition-fast)}.shell-chat-message-row:hover{background:var(--shell-surface-neutral-hint,rgba(var(--shell-color-neutral-rgb),.06))}.shell-chat-message-row.other-sender{background:rgba(var(--shell-color-neutral-rgb,148,163,184),.07)}.shell-chat-message-row.other-sender:hover{background:rgba(var(--shell-color-neutral-rgb,148,163,184),.11)}.shell-chat-message-row.other-sender+.shell-chat-message-row.other-sender{margin-top:-2px;border-top-left-radius:0;border-top-right-radius:0}.shell-chat-message-row.other-sender:has(+.shell-chat-message-row.other-sender){border-bottom-left-radius:0;border-bottom-right-radius:0}.shell-chat-avatar{width:36px;height:36px;border-radius:var(--shell-radius-md);background:linear-gradient(135deg,var(--shell-color-brand),#818cf8);display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.9rem;color:#fff;flex-shrink:0}.shell-chat-message-content{flex:1 1;min-width:0}.shell-chat-message-header{display:flex;align-items:baseline;gap:var(--shell-spacing-sm);margin-bottom:2px}.shell-chat-message-sender{font-weight:700;font-size:.95rem;color:var(--shell-color-text)}.shell-chat-message-time{font-size:.75rem;color:var(--shell-color-text-muted)}.shell-chat-message-body{white-space:pre-wrap;line-height:1.5;font-size:.95rem}.shell-chat-message-actions{display:flex;gap:2px;opacity:0;transition:opacity var(--shell-transition-fast);position:absolute;right:var(--shell-spacing-md);top:var(--shell-spacing-xs);background:var(--shell-color-bg-elevated);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);padding:2px}.shell-chat-message-row:hover .shell-chat-message-actions{opacity:1}.shell-chat-action-btn{border:none;background:transparent;cursor:pointer;padding:4px 6px;font-size:.85rem;border-radius:var(--shell-radius-sm);color:var(--shell-color-text-muted);transition:background var(--shell-transition-fast)}.shell-chat-action-btn:hover{background:var(--shell-surface-neutral-strong)}.shell-chat-typing-indicator{display:flex;align-items:center;gap:8px;padding:8px 16px;font-size:.85rem;color:var(--shell-color-text-muted);font-style:italic}.shell-chat-typing-indicator:before{content:"";display:inline-block;width:8px;height:8px;background:var(--shell-color-brand);border-radius:50%;animation:typing-pulse 1.4s ease-in-out infinite}@keyframes typing-pulse{0%,to{opacity:.3;transform:scale(.8)}50%{opacity:1;transform:scale(1)}}.shell-chat-activity{display:flex;flex-direction:column;gap:var(--shell-spacing-md)}.shell-chat-activity-header{display:flex;align-items:baseline;justify-content:space-between;gap:var(--shell-spacing-sm)}.shell-chat-activity-header h3{margin:0;font-size:1rem}.shell-chat-activity-count{font-size:.8rem;color:var(--shell-color-text-muted)}.shell-chat-mark-all-read{font-size:.75rem;color:var(--shell-color-primary);background:none;border:none;cursor:pointer;padding:2px 6px;border-radius:var(--shell-radius-sm);margin-left:auto}.shell-chat-mark-all-read:hover{background:var(--shell-surface-brand-weak);text-decoration:underline}.shell-chat-activity-list{display:flex;flex-direction:column;gap:var(--shell-spacing-sm)}.shell-chat-activity-item{width:100%;text-align:left;padding:var(--shell-spacing-sm) var(--shell-spacing-md);border-radius:var(--shell-radius-md);border:1px solid transparent;background:var(--shell-surface-neutral-weak);cursor:pointer;color:var(--shell-color-text)}.shell-chat-activity-item:hover{border-color:rgba(165,180,252,.6)}.shell-chat-activity-item-title{display:flex;justify-content:space-between;font-size:.8rem;margin-bottom:2px}.shell-chat-activity-item-meta{font-size:.75rem;color:var(--shell-color-text-muted);margin-bottom:4px}.shell-chat-activity-item-body{font-size:.9rem}.shell-chat-activity-item-body .shell-chat-gif{margin-top:4px;max-width:200px}.shell-chat-activity-item-body .shell-chat-gif img{border-radius:var(--shell-radius-sm)}.shell-chat-mention{color:var(--shell-color-brand);font-weight:500}.shell-chat-mention-picker{margin-top:var(--shell-spacing-sm);border-radius:var(--shell-radius-md);border:1px solid var(--shell-color-border);background:rgba(15,23,42,.9);max-height:200px;overflow-y:auto}[data-theme=light] .shell-chat-mention-picker{background:#fff}.shell-chat-visibility-toggle{display:inline-flex;gap:var(--shell-spacing-xs);margin-top:-.25rem}.shell-chat-visibility-option{border-radius:var(--shell-radius-full);border:1px solid var(--shell-color-border);background:transparent;padding:4px 10px;font-size:.8rem;cursor:pointer;color:var(--shell-color-text-muted)}.shell-chat-visibility-option.active{border-color:var(--shell-color-brand);background:var(--shell-surface-brand-soft);color:var(--shell-color-brand)}.shell-chat-mention-option{width:100%;text-align:left;padding:6px 10px;border:none;background:transparent;color:inherit;display:flex;flex-direction:column;gap:2px;cursor:pointer}.shell-chat-mention-option:hover{background:var(--shell-surface-brand-weak)}.shell-chat-mention-option-name{font-size:.85rem;font-weight:500}.shell-chat-mention-option-email{font-size:.75rem;color:var(--shell-color-text-muted)}.shell-chat-project-picker{margin-top:var(--shell-spacing-sm);border-radius:var(--shell-radius-md);border:1px solid var(--shell-color-border);background:rgba(15,23,42,.9);max-height:200px;overflow-y:auto}[data-theme=light] .shell-chat-project-picker{background:#fff}.shell-chat-project-option{width:100%;text-align:left;padding:8px 12px;border:none;background:transparent;color:inherit;display:flex;align-items:center;gap:8px;cursor:pointer}.shell-chat-project-option:hover{background:var(--shell-surface-brand-weak)}.shell-chat-project-option-icon{font-size:.9rem;font-weight:600;color:#10b981}.shell-chat-project-option-name{font-size:.85rem;font-weight:500;flex:1 1}.shell-chat-project-option-slug{font-size:.75rem;color:var(--shell-color-text-muted)}.shell-chat-slash-picker{margin-top:var(--shell-spacing-sm);border-radius:var(--shell-radius-md);border:1px solid var(--shell-color-border);background:rgba(15,23,42,.9);max-height:240px;overflow-y:auto}[data-theme=light] .shell-chat-slash-picker{background:#fff}.shell-chat-slash-option{width:100%;text-align:left;padding:8px 12px;border:none;background:transparent;color:inherit;display:flex;flex-direction:column;gap:2px;cursor:pointer}.shell-chat-slash-option.active,.shell-chat-slash-option:hover{background:var(--shell-surface-brand-weak)}.shell-chat-slash-option-name{font-size:.85rem;font-weight:600}.shell-chat-slash-option-desc{font-size:.75rem;color:var(--shell-color-text-muted)}.shell-chat-search{margin-bottom:0}.shell-chat-search input{width:100%;border-radius:var(--shell-radius-md);border:1px solid var(--shell-color-border);background:transparent;color:inherit;padding:6px 10px;font-size:.85rem}.shell-chat-search.shell-chat-search-condensed{min-width:220px}.shell-chat-files{flex:1 1;display:flex;flex-direction:column;gap:var(--shell-spacing-md);padding:var(--shell-spacing-lg);overflow-y:auto}.shell-chat-files-header{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:var(--shell-spacing-md)}.shell-chat-files-title h3{margin:0 0 4px;font-size:1.05rem}.shell-chat-files-title p{margin:0;color:var(--shell-color-text-muted);font-size:.9rem}.shell-chat-files-controls{display:flex;align-items:center;gap:var(--shell-spacing-sm);flex-wrap:wrap;justify-content:flex-end}.shell-chat-filter-group{display:inline-flex;align-items:center;gap:4px;padding:4px;border-radius:var(--shell-radius-full);border:1px solid var(--shell-color-border);background:var(--shell-color-bg-elevated)}.shell-chat-filter-chip{border:none;background:transparent;padding:6px 10px;border-radius:var(--shell-radius-full);color:var(--shell-color-text-muted);cursor:pointer;font-size:.85rem;transition:all var(--shell-transition-fast)}.shell-chat-filter-chip:hover{color:var(--shell-color-text);background:var(--shell-surface-neutral-soft)}.shell-chat-filter-chip.active{background:var(--shell-color-brand);color:#fff;box-shadow:0 8px 20px rgba(79,70,229,.25)}.shell-chat-select{border-radius:var(--shell-radius-md);padding:6px 10px;font-size:.85rem}.shell-chat-refresh-btn,.shell-chat-select{border:1px solid var(--shell-color-border);background:var(--shell-color-bg-elevated);color:inherit}.shell-chat-refresh-btn{padding:6px 12px;border-radius:var(--shell-radius-md);cursor:pointer;font-weight:600;transition:all var(--shell-transition-fast)}.shell-chat-refresh-btn:hover:not(:disabled){border-color:var(--shell-color-brand);color:var(--shell-color-brand);box-shadow:0 8px 20px rgba(79,70,229,.15)}.shell-chat-refresh-btn:disabled{opacity:.6;cursor:not-allowed}.shell-chat-files-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));grid-gap:var(--shell-spacing-md);gap:var(--shell-spacing-md)}.shell-chat-file-card{display:grid;grid-template-columns:64px 1fr;grid-gap:var(--shell-spacing-md);gap:var(--shell-spacing-md);padding:var(--shell-spacing-md);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-lg);background:var(--shell-color-bg-elevated);box-shadow:0 10px 30px rgba(15,23,42,.12)}[data-theme=light] .shell-chat-file-card{box-shadow:0 10px 30px rgba(15,23,42,.06)}.shell-chat-file-thumb{width:64px;height:64px;border-radius:var(--shell-radius-lg);background:linear-gradient(135deg,var(--shell-color-brand),#7c3aed);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.8rem;overflow:hidden;border:1px solid hsla(0,0%,100%,.15)}.shell-chat-file-thumb.image{background:rgba(79,70,229,.08);border-color:rgba(79,70,229,.25)}.shell-chat-file-thumb img{width:100%;height:100%;object-fit:cover;display:block}.shell-chat-file-ext{letter-spacing:.08em}.shell-chat-file-body{display:flex;flex-direction:column;gap:8px;min-width:0}.shell-chat-file-name{display:flex;align-items:center;gap:8px}.shell-chat-file-title{font-weight:600;font-size:.95rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.shell-chat-file-pill{padding:2px 8px;border-radius:var(--shell-radius-full);font-size:.75rem;background:var(--shell-surface-neutral-strong);color:var(--shell-color-text-muted)}.shell-chat-file-pill.image{background:rgba(79,70,229,.12);color:var(--shell-color-brand)}.shell-chat-file-pill.doc{background:rgba(14,165,233,.12);color:#0ea5e9}.shell-chat-file-meta{display:flex;flex-wrap:wrap;gap:6px;align-items:center;color:var(--shell-color-text-muted);font-size:.85rem}.shell-chat-file-meta-item{display:inline-flex;align-items:center;gap:4px}.shell-chat-file-meta-dot{opacity:.4}.shell-chat-file-actions{display:flex;gap:8px;flex-wrap:wrap}.shell-chat-file-action{border:1px solid var(--shell-color-border);background:transparent;color:inherit;padding:6px 12px;border-radius:var(--shell-radius-md);cursor:pointer;font-weight:600;transition:all var(--shell-transition-fast)}.shell-chat-file-action:hover{color:var(--shell-color-brand);border-color:var(--shell-color-brand);box-shadow:0 6px 16px rgba(79,70,229,.15)}.shell-chat-file-action.primary{background:var(--shell-color-brand);border-color:var(--shell-color-brand);color:#fff}.shell-chat-file-action.primary:hover{background:#4f46e5;border-color:#4f46e5}.shell-chat-file-action.danger{color:#dc2626;border-color:#dc2626}.shell-chat-file-action.danger:hover{background:#dc2626;color:#fff;border-color:#dc2626}.shell-chat-file-action.danger:disabled{opacity:.5;cursor:not-allowed}@media (max-width:640px){.shell-chat-files{padding:var(--shell-spacing-md)}.shell-chat-files-controls{justify-content:flex-start}.shell-chat-file-card{grid-template-columns:1fr}.shell-chat-file-thumb{width:100%;height:160px}.shell-chat-file-title{white-space:normal}}.shell-chat-section-subactions{display:flex;justify-content:flex-end;margin-bottom:var(--shell-spacing-xs)}.shell-chat-section-subactions button{border:none;background:transparent;color:var(--shell-color-text-muted);font-size:.75rem;cursor:pointer;padding:2px 4px}.shell-chat-section-subactions button:hover{color:var(--shell-color-text);text-decoration:underline}.shell-chat-reactions{display:flex;gap:4px;margin-top:4px;flex-wrap:wrap}.shell-chat-reaction{display:inline-flex;align-items:center;gap:4px;padding:2px 6px;border-radius:999px;border:1px solid var(--shell-border-neutral-strong);background:transparent;font-size:.75rem;cursor:pointer;color:inherit}.shell-chat-reaction.reacted{border-color:var(--shell-color-brand);background:var(--shell-surface-brand-soft)}.shell-chat-reaction-quick{position:absolute;bottom:-24px;right:0;display:inline-flex;gap:4px;padding:2px 6px;border-radius:999px;border:1px solid var(--shell-color-border);background:rgba(15,23,42,.9);opacity:0;pointer-events:none;transform:translateY(4px);transition:opacity var(--shell-transition-fast),transform var(--shell-transition-fast)}[data-theme=light] .shell-chat-reaction-quick{background:#fff}.shell-chat-message:hover .shell-chat-reaction-quick{opacity:1;pointer-events:auto;transform:translateY(0)}.shell-chat-reaction-quick-btn{border:none;background:transparent;cursor:pointer;font-size:.8rem}.shell-chat-composer-container{margin-top:auto;padding:var(--shell-spacing-md);position:relative}.shell-chat-composer-box{border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-lg);background:rgba(15,23,42,.3);overflow:hidden}[data-theme=light] .shell-chat-composer-box{background:rgba(241,245,249,.5)}.shell-chat-toolbar{display:flex;align-items:center;gap:2px;padding:var(--shell-spacing-xs) var(--shell-spacing-sm);border-bottom:1px solid var(--shell-color-border)}.shell-chat-toolbar-btn{display:flex;align-items:center;justify-content:center;width:35px;height:35px;border:none;background:transparent;border-radius:var(--shell-radius-sm);color:var(--shell-color-text-muted);cursor:pointer;transition:all var(--shell-transition-fast)}.shell-chat-toolbar-btn svg{width:18px;height:18px}.shell-chat-toolbar-btn:hover{background:var(--shell-surface-neutral-strong);color:var(--shell-color-text)}.shell-chat-attach-btn{box-shadow:0 4px 10px rgba(79,70,229,.15);border:1px solid rgba(79,70,229,.3);background:rgba(79,70,229,.08)}.shell-chat-attach-btn:hover{background:rgba(79,70,229,.15);color:var(--shell-color-brand)}.shell-chat-toolbar-btn.active{background:var(--shell-surface-brand-strong);color:var(--shell-color-brand)}.shell-chat-toolbar-btn:disabled{opacity:.4;cursor:not-allowed}.shell-chat-toolbar-divider{width:1px;height:20px;background:var(--shell-color-border);margin:0 var(--shell-spacing-xs)}.shell-chat-input{width:100%;min-height:66px;max-height:200px;border:none;background:transparent;color:inherit;padding:var(--shell-spacing-md) var(--shell-spacing-md);font-family:inherit;font-size:.95rem;line-height:1.5;outline:none}.shell-chat-input-rich:empty:before{content:attr(data-placeholder);color:var(--shell-color-text-muted)}.shell-chat-input-command-mode{background:rgba(139,92,246,.08);border-left:3px solid #8b5cf6;font-family:SF Mono,Monaco,Consolas,monospace}[data-theme=light] .shell-chat-input-command-mode{background:rgba(139,92,246,.06)}.shell-chat-qt-preview{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 12px;background:rgba(15,23,42,.5);border-top:1px solid var(--shell-color-border);font-family:SF Mono,Monaco,Consolas,monospace;font-size:.8rem}[data-theme=light] .shell-chat-qt-preview{background:rgba(241,245,249,.8)}.shell-chat-qt-preview-label{font-size:.7rem;font-weight:600;color:var(--shell-color-text-muted);text-transform:uppercase;letter-spacing:.5px}.shell-chat-qt-token{padding:2px 6px;border-radius:4px;font-weight:500}.shell-chat-qt-command{color:#a78bfa;background:rgba(167,139,250,.15)}.shell-chat-qt-type{color:#f59e0b;background:rgba(245,158,11,.15)}.shell-chat-qt-type-invalid{color:#ef4444;background:rgba(239,68,68,.15);text-decoration:line-through}.shell-chat-qt-assignee{color:#3b82f6;background:rgba(59,130,246,.15)}.shell-chat-qt-project{color:#10b981;background:rgba(16,185,129,.15)}.shell-chat-qt-title{color:var(--shell-color-text);background:transparent;font-weight:400}.shell-chat-qt-hint{font-size:.7rem;color:#ef4444;font-style:italic}.shell-chat-bottom-toolbar{display:flex;align-items:center;justify-content:space-between;padding:var(--shell-spacing-xs) var(--shell-spacing-sm);border-top:1px solid var(--shell-color-border)}.shell-chat-bottom-toolbar-left{display:flex;align-items:center;gap:2px}.shell-chat-send-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;border-radius:var(--shell-radius-md);color:var(--shell-color-text-muted);cursor:pointer;transition:all var(--shell-transition-fast)}.shell-chat-send-btn,.shell-chat-send-btn:hover:not(:disabled){background:var(--shell-surface-neutral-strong)}.shell-chat-send-btn.active{background:var(--shell-color-brand);color:#fff}.shell-chat-send-btn.active:hover:not(:disabled){background:#4f46e5}.shell-chat-send-btn:disabled{opacity:.5;cursor:not-allowed}.shell-chat-emoji-dropdown{position:absolute;bottom:100%;left:var(--shell-spacing-md);margin-bottom:var(--shell-spacing-sm);padding:var(--shell-spacing-sm);border-radius:var(--shell-radius-md);border:1px solid var(--shell-color-border);background:var(--shell-color-bg-elevated);box-shadow:0 4px 12px rgba(0,0,0,.15);display:flex;flex-wrap:wrap;gap:4px;max-width:240px;z-index:100}[data-theme=light] .shell-chat-emoji-dropdown{background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.1)}.shell-chat-emoji-dropdown button{border:none;background:transparent;cursor:pointer;font-size:1.25rem;padding:4px;border-radius:var(--shell-radius-sm);transition:background var(--shell-transition-fast)}.shell-chat-emoji-dropdown button:hover{background:var(--shell-surface-neutral-strong)}.shell-chat-emoji-mart-container{position:absolute;bottom:100%;left:var(--shell-spacing-md);margin-bottom:var(--shell-spacing-sm);z-index:100;border-radius:var(--shell-radius-lg);overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.25)}[data-theme=light] .shell-chat-emoji-mart-container{box-shadow:0 8px 24px rgba(0,0,0,.15)}.shell-chat-emoji-mart-container em-emoji-picker{--em-rgb-background:30,41,59;--em-rgb-input:51,65,85;--em-rgb-color:226,232,240}[data-theme=light] .shell-chat-emoji-mart-container em-emoji-picker{--em-rgb-background:255,255,255;--em-rgb-input:241,245,249;--em-rgb-color:30,41,59}.shell-chat-autocomplete{position:relative}.shell-chat-suggestions{position:absolute;top:100%;left:0;right:0;margin-top:4px;background:#1e293b;border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);box-shadow:0 8px 24px rgba(0,0,0,.4);z-index:10;max-height:240px;overflow-y:auto}[data-theme=light] .shell-chat-suggestions{background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.15)}.shell-chat-suggestion-item{display:flex;align-items:center;gap:var(--shell-spacing-sm);width:100%;padding:var(--shell-spacing-sm) var(--shell-spacing-md);border:none;background:transparent;color:var(--shell-color-text);text-align:left;cursor:pointer;transition:background var(--shell-transition-fast)}.shell-chat-suggestion-item.selected,.shell-chat-suggestion-item:hover{background:var(--shell-surface-brand-soft)}.shell-chat-suggestion-avatar{width:32px;height:32px;border-radius:var(--shell-radius-full);background:linear-gradient(135deg,var(--shell-color-brand),#818cf8);display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.85rem;color:#fff;flex-shrink:0}.shell-chat-suggestion-info{display:flex;flex-direction:column;gap:2px;min-width:0}.shell-chat-suggestion-name{font-weight:500;font-size:.9rem}.shell-chat-suggestion-email,.shell-chat-suggestion-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shell-chat-suggestion-email{font-size:.8rem;color:var(--shell-color-text-muted)}}.shell-chat-reply-indicator{display:flex;align-items:center;gap:var(--shell-spacing-sm);padding:var(--shell-spacing-sm) var(--shell-spacing-md);background:var(--shell-surface-brand-soft);border-radius:var(--shell-radius-md) var(--shell-radius-md) 0 0;border:1px solid var(--shell-color-border);border-bottom:none;font-size:.85rem;color:var(--shell-color-text-muted)}.shell-chat-reply-indicator-icon{font-size:1rem}.shell-chat-reply-indicator-text{flex:1 1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shell-chat-reply-indicator-cancel{width:20px;height:20px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;color:var(--shell-color-text-muted);font-size:1.2rem;cursor:pointer;border-radius:var(--shell-radius-sm);transition:all var(--shell-transition-fast)}.shell-chat-reply-indicator-cancel:hover{background:var(--shell-color-background-hover);color:var(--shell-color-text)}.shell-chat-reply-count{margin-left:var(--shell-spacing-sm);padding:2px 6px;border-radius:var(--shell-radius-sm);font-size:.75rem;font-weight:500}.shell-chat-action-btn.active,.shell-chat-reply-count{background:var(--shell-surface-brand-soft);color:var(--shell-color-brand)}@layer components{.shell-files{flex-direction:column;padding:var(--shell-spacing-xl);width:100%}.shell-files,.shell-files-header{display:flex;gap:var(--shell-spacing-lg)}.shell-files-header{align-items:flex-start;justify-content:space-between}.shell-files-title h1{margin:0 0 4px;font-size:1.5rem;font-weight:600;letter-spacing:-.02em}.shell-files-title p{margin:0;color:var(--shell-color-text-muted);font-size:.9rem}.shell-files-toolbar{display:flex;align-items:center;gap:var(--shell-spacing-md);padding:var(--shell-spacing-md);background:var(--shell-color-surface);backdrop-filter:var(--shell-glass-blur);-webkit-backdrop-filter:var(--shell-glass-blur);border:1px solid var(--shell-glass-border);border-radius:var(--shell-radius-lg);flex-wrap:wrap;box-shadow:var(--shell-shadow-md)}.shell-files-search{position:relative;flex:1 1;min-width:200px;max-width:320px}.shell-files-search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--shell-color-text-muted);pointer-events:none}.shell-files-search input{width:100%;padding:10px 12px 10px 38px;border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);background:var(--shell-color-surface-alt);color:var(--shell-color-text);font-size:.875rem;transition:all var(--shell-transition-fast)}.shell-files-search input:focus{outline:none;border-color:var(--shell-color-brand);box-shadow:0 0 0 3px var(--shell-surface-brand-soft)}.shell-files-search input::placeholder{color:var(--shell-color-text-muted)}.shell-files-filters{display:flex;align-items:center;gap:var(--shell-spacing-sm);flex-wrap:wrap}.shell-files-select{padding:8px 32px 8px 12px;border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);background:var(--shell-color-surface-alt);color:var(--shell-color-text);font-size:.875rem;cursor:pointer;transition:all var(--shell-transition-fast);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center}.shell-files-select:hover{border-color:var(--shell-color-border-strong)}.shell-files-select:focus{outline:none;border-color:var(--shell-color-brand);box-shadow:0 0 0 3px var(--shell-surface-brand-soft)}.shell-files-toggle{padding:8px 14px;border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-full);background:var(--shell-color-surface-alt);color:var(--shell-color-text-muted);font-size:.875rem;cursor:pointer;transition:all var(--shell-transition-fast)}.shell-files-toggle:hover{border-color:var(--shell-color-brand);color:var(--shell-color-text)}.shell-files-toggle.active{background:var(--shell-surface-brand-weak);border-color:var(--shell-color-brand);color:var(--shell-color-brand)}.shell-files-refresh{display:flex;align-items:center;gap:6px;padding:8px 14px;border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);background:var(--shell-color-surface-alt);color:var(--shell-color-text);font-size:.875rem;cursor:pointer;transition:all var(--shell-transition-fast)}.shell-files-refresh:hover:not(:disabled){border-color:var(--shell-color-brand);background:var(--shell-surface-brand-faint)}.shell-files-refresh:disabled{opacity:.6;cursor:not-allowed}.shell-files-refresh svg.spinning{animation:shell-spin 1s linear infinite}.shell-files-grid{display:flex;gap:var(--shell-spacing-lg);align-items:flex-start}.shell-files-list{flex:1.2 1;display:flex;flex-direction:column;gap:6px;min-width:0}.shell-files-list,.shell-files-preview{transition:flex .3s cubic-bezier(.4,0,.2,1);will-change:flex}.shell-files-preview{flex:1 1}.shell-files-row{width:100%;text-align:left;padding:var(--shell-spacing-md);border-radius:var(--shell-radius-md);border:1px solid var(--shell-glass-border);background:var(--shell-color-surface);backdrop-filter:var(--shell-glass-blur);-webkit-backdrop-filter:var(--shell-glass-blur);color:inherit;cursor:pointer;box-shadow:var(--shell-shadow-sm);transition:all var(--shell-transition-fast)}.shell-files-row:hover{border-color:var(--shell-color-brand);background:var(--shell-surface-brand-hint);transform:translateY(-2px);box-shadow:var(--shell-shadow-md)}.shell-files-row.active{border-color:var(--shell-color-brand);background:var(--shell-surface-brand-faint);box-shadow:var(--shell-shadow-brand)}.shell-files-row.disabled{opacity:.5;pointer-events:none}.shell-files-row-content{display:flex;align-items:center;gap:var(--shell-spacing-md)}.shell-files-thumbnail{width:48px;height:48px;flex-shrink:0;border-radius:var(--shell-radius-sm);overflow:hidden;display:flex;align-items:center;justify-content:center;background:var(--shell-color-surface-alt);border:1px solid var(--shell-color-border)}.shell-files-thumbnail-img{width:100%;height:100%;object-fit:cover}.shell-files-icon{width:36px;height:36px;border-radius:var(--shell-radius-sm);display:flex;align-items:center;justify-content:center;color:var(--shell-color-text-muted)}.shell-files-icon-image{background:rgba(236,72,153,.12);color:#ec4899}.shell-files-icon-pdf{background:rgba(239,68,68,.12);color:#ef4444}.shell-files-icon-video{background:rgba(168,85,247,.12);color:#a855f7}.shell-files-icon-audio,.shell-files-icon-spreadsheet{background:rgba(34,197,94,.12);color:#22c55e}.shell-files-icon-doc{background:rgba(59,130,246,.12);color:#3b82f6}.shell-files-icon-zip{background:rgba(234,179,8,.12);color:#eab308}.shell-files-icon-default{background:var(--shell-surface-neutral-soft);color:var(--shell-color-text-muted)}.shell-files-row-info{flex:1 1;min-width:0}.shell-files-row-main{display:flex;justify-content:space-between;align-items:center;gap:var(--shell-spacing-sm);flex-wrap:wrap}.shell-files-name{font-weight:600;font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:280px}.shell-files-tags{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.shell-files-pill{padding:3px 8px;border-radius:var(--shell-radius-full);font-size:.7rem;font-weight:500;background:var(--shell-surface-neutral-soft);color:var(--shell-color-text-muted);text-transform:uppercase;letter-spacing:.02em}.shell-files-pill-private{background:var(--shell-surface-brand-weak);color:var(--shell-color-brand)}.shell-files-row-meta{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:4px;color:var(--shell-color-text-muted);font-size:.8rem}.shell-files-dot{opacity:.3}.shell-files-row-viewers{flex-shrink:0}.shell-files-preview{position:-webkit-sticky;position:sticky;top:var(--shell-spacing-lg);min-height:480px;min-width:0}.shell-files-preview-panel{height:100%;display:flex;flex-direction:column;gap:var(--shell-spacing-md);padding:var(--shell-spacing-lg);background:var(--shell-color-surface);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-lg);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.shell-files-preview-header{display:flex;justify-content:space-between;gap:var(--shell-spacing-md);align-items:flex-start;flex-wrap:wrap}.shell-files-preview-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.shell-files-preview-title h3{margin:0;font-size:1.1rem;font-weight:600;letter-spacing:-.01em}.shell-files-preview-meta{margin:4px 0 0;color:var(--shell-color-text-muted);font-size:.85rem}.shell-files-preview-actions{display:flex;gap:8px;flex-wrap:wrap}.shell-files-tabs{display:inline-flex;gap:2px;border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-full);padding:3px;background:var(--shell-color-surface-alt)}.shell-files-tab{border:none;background:transparent;padding:8px 16px;border-radius:var(--shell-radius-full);color:var(--shell-color-text-muted);font-size:.85rem;font-weight:500;cursor:pointer;transition:all var(--shell-transition-fast)}.shell-files-tab:hover{color:var(--shell-color-text)}.shell-files-tab.active{background:var(--shell-gradient-brand);color:#fff;box-shadow:var(--shell-shadow-brand)}.shell-files-preview-body{position:relative;flex:1 1;border-radius:var(--shell-radius-md);background:var(--shell-color-surface-alt);display:flex;align-items:center;justify-content:center;padding:var(--shell-spacing-md);min-height:300px;overflow:hidden}.shell-files-preview-image{max-width:100%;max-height:400px;border-radius:var(--shell-radius-sm);box-shadow:var(--shell-shadow-lg);object-fit:contain}.shell-files-preview-frame{width:100%;height:100%;min-height:400px;border:none;border-radius:var(--shell-radius-sm);background:#fff}.shell-files-preview-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--shell-spacing-md);color:var(--shell-color-text-muted);text-align:center;padding:var(--shell-spacing-xl)}.shell-files-preview-placeholder svg{opacity:.4}.shell-files-preview-placeholder p{margin:0;font-size:.9rem}.shell-files-theater-toggle{position:absolute;bottom:var(--shell-spacing-md);left:var(--shell-spacing-md);width:36px;height:36px;border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-sm);background:var(--shell-color-surface);color:var(--shell-color-text-muted);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all var(--shell-transition-fast);opacity:.7}.shell-files-theater-toggle:hover{opacity:1;border-color:var(--shell-color-brand);color:var(--shell-color-brand);background:var(--shell-surface-brand-faint)}.shell-files-permissions{border-radius:var(--shell-radius-md);padding:var(--shell-spacing-lg);background:var(--shell-color-surface-alt);display:flex;flex-direction:column;gap:var(--shell-spacing-md)}.shell-files-permissions-header h4{margin:0 0 4px;font-size:.95rem;font-weight:600}.shell-files-permissions-header p{margin:0;color:var(--shell-color-text-muted);font-size:.85rem}.shell-files-viewer-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}.shell-files-viewer-pill{padding:4px 10px;border-radius:var(--shell-radius-full);background:var(--shell-surface-neutral-strong);border:1px solid var(--shell-color-border);font-size:.9rem}.shell-files-viewer-avatars{display:inline-flex;align-items:center}.shell-files-viewer-avatars .shell-files-avatar{margin-left:-6px;border:2px solid var(--shell-color-surface)}.shell-files-viewer-avatars .shell-files-avatar:first-child{margin-left:0}.shell-files-viewer-avatars-lg{gap:8px;flex-wrap:wrap}.shell-files-viewer-avatars-lg .shell-files-avatar{margin-left:0;width:36px;height:36px;font-size:.85rem}.shell-files-avatar{width:26px;height:26px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:.7rem;box-shadow:0 2px 6px rgba(0,0,0,.12);transition:transform var(--shell-transition-fast)}.shell-files-avatar:hover{transform:scale(1.1);z-index:1}.shell-files-avatar-more{background:var(--shell-color-surface-alt);color:var(--shell-color-text-muted);border:1px solid var(--shell-color-border);font-weight:500}@media (max-width:1100px){.shell-files-grid{flex-direction:column}.shell-files-list{flex:none;width:100%}.shell-files-preview{flex:none;width:100%;position:relative;top:0;order:-1}}@media (max-width:768px){.shell-files{padding:var(--shell-spacing-lg)}.shell-files-toolbar{flex-direction:column;align-items:stretch}.shell-files-search{max-width:none}.shell-files-filters{justify-content:flex-start}.shell-files-name{max-width:200px}}@media (max-width:480px){.shell-files{padding:var(--shell-spacing-md)}.shell-files-row-content{flex-wrap:wrap}.shell-files-row-viewers{width:100%;margin-top:var(--shell-spacing-sm)}}.shell-files.theater-mode .shell-files-list{flex:0 0 220px;overflow-y:auto}.shell-files.theater-mode .shell-files-preview{flex:1 1}.shell-files.theater-mode .shell-files-row{padding:var(--shell-spacing-sm) var(--shell-spacing-md)}.shell-files.theater-mode .shell-files-row-content{flex-direction:column;align-items:flex-start;gap:var(--shell-spacing-xs)}.shell-files.theater-mode .shell-files-thumbnail{width:32px;height:32px}.shell-files.theater-mode .shell-files-icon{width:24px;height:24px}.shell-files.theater-mode .shell-files-icon svg{width:14px;height:14px}.shell-files.theater-mode .shell-files-row-info{width:100%}.shell-files.theater-mode .shell-files-row-main{flex-direction:column;align-items:flex-start;gap:4px}.shell-files.theater-mode .shell-files-name{font-size:.8rem;max-width:160px}.shell-files.theater-mode .shell-files-row-meta,.shell-files.theater-mode .shell-files-row-viewers,.shell-files.theater-mode .shell-files-tags{display:none}.shell-files.theater-mode .shell-files-preview{min-height:auto}.shell-files.theater-mode .shell-files-preview-body{aspect-ratio:16/9;min-height:auto;max-height:none}.shell-files.theater-mode .shell-files-preview-image{max-width:100%;max-height:100%;object-fit:contain}.shell-files.theater-mode .shell-files-preview-frame{width:100%;height:100%;min-height:auto}.shell-files.theater-mode .shell-files-theater-toggle{opacity:1;background:var(--shell-color-brand);border-color:var(--shell-color-brand);color:#fff}.shell-files.theater-mode .shell-files-theater-toggle:hover{background:var(--shell-color-brand-hover);border-color:var(--shell-color-brand-hover);color:#fff}.shell-files-row{display:flex;align-items:center;gap:var(--shell-spacing-sm)}.shell-files-row.checked{background:var(--shell-surface-brand-weak);border-color:var(--shell-color-brand)}.shell-files-row-checkbox{flex-shrink:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;cursor:pointer;padding:0}.shell-files-row-checkbox:hover .shell-files-checkbox{border-color:var(--shell-color-brand)}.shell-files-row-content{flex:1 1;min-width:0;border:none;background:transparent;text-align:left;cursor:pointer;padding:0;color:inherit}.shell-files-checkbox{width:18px;height:18px;border:2px solid var(--shell-color-border-strong);border-radius:4px;display:flex;align-items:center;justify-content:center;background:var(--shell-color-surface);transition:all var(--shell-transition-fast)}.shell-files-checkbox.checked{background:var(--shell-color-brand);border-color:var(--shell-color-brand)}.shell-files-checkbox.checked svg{color:#fff}.shell-files-checkbox.indeterminate{background:var(--shell-color-brand);border-color:var(--shell-color-brand)}.shell-files-checkbox.indeterminate svg{color:#fff}.shell-files-bulk-bar{display:flex;align-items:center;justify-content:space-between;gap:var(--shell-spacing-lg);padding:var(--shell-spacing-sm) var(--shell-spacing-md);background:var(--shell-surface-brand-faint);border:1px solid var(--shell-color-brand);border-radius:var(--shell-radius-md);animation:shell-fade-in .15s ease-out}@keyframes shell-fade-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.shell-files-bulk-left{display:flex;align-items:center;gap:var(--shell-spacing-sm)}.shell-files-checkbox-all{display:flex;align-items:center;justify-content:center;border:none;background:transparent;cursor:pointer;padding:4px}.shell-files-bulk-count{font-size:.875rem;font-weight:500;color:var(--shell-color-brand)}.shell-files-bulk-clear{padding:4px 10px;border:none;background:transparent;color:var(--shell-color-text-muted);font-size:.8rem;cursor:pointer;border-radius:var(--shell-radius-sm);transition:all var(--shell-transition-fast)}.shell-files-bulk-clear:hover{background:var(--shell-surface-neutral-soft);color:var(--shell-color-text)}.shell-files-bulk-actions{display:flex;align-items:center;gap:var(--shell-spacing-sm);flex-wrap:wrap}.shell-files-bulk-action{display:flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);background:var(--shell-color-surface);color:var(--shell-color-text);font-size:.8rem;font-weight:500;cursor:pointer;transition:all var(--shell-transition-fast)}.shell-files-bulk-action:hover:not(:disabled){border-color:var(--shell-color-brand);background:var(--shell-surface-brand-faint)}.shell-files-bulk-action:disabled{opacity:.5;cursor:not-allowed}.shell-files-bulk-action.danger{color:var(--shell-color-danger);border-color:var(--shell-color-danger-border)}.shell-files-bulk-action.danger:hover:not(:disabled){background:var(--shell-surface-danger-soft);border-color:var(--shell-color-danger)}.shell-files-bulk-assign{display:flex;align-items:center;gap:6px}.shell-files-select-sm{padding:6px 28px 6px 10px;font-size:.8rem}.shell-files.theater-mode .shell-files-row-checkbox{display:none}@media (max-width:768px){.shell-files-bulk-bar{flex-direction:column;align-items:stretch;gap:var(--shell-spacing-sm)}.shell-files-bulk-actions,.shell-files-bulk-left{justify-content:flex-start}}}