@layer components{.dashboard-container{width:100%}.dashboard-header{display:flex;justify-content:flex-end;margin-bottom:var(--shell-spacing-md)}.dashboard-customize-btn{display:flex;align-items:center;gap:6px;padding:8px 14px;background:var(--shell-color-surface);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);color:var(--shell-color-text-muted);font-size:.875rem;font-weight:500;cursor:pointer;transition:all .15s ease}.dashboard-customize-btn:hover{background:var(--shell-color-surface-alt);color:var(--shell-color-text);border-color:var(--shell-color-brand)}.dashboard-customize-btn.active{background:var(--shell-color-brand);border-color:var(--shell-color-brand);color:#fff}.dashboard-hidden-modules{display:flex;align-items:center;gap:12px;padding:12px 16px;margin-bottom:var(--shell-spacing-md);background:var(--shell-color-surface);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);flex-wrap:wrap}.dashboard-hidden-label{font-size:.813rem;font-weight:500;color:var(--shell-color-text-muted)}.dashboard-hidden-list{display:flex;flex-wrap:wrap;gap:8px}.dashboard-hidden-item{display:flex;align-items:center;gap:6px;padding:6px 12px;background:var(--shell-color-surface-alt);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-sm);color:var(--shell-color-text);font-size:.813rem;cursor:pointer;transition:all .15s ease}.dashboard-hidden-item:hover{border-color:var(--shell-color-brand);color:var(--shell-color-brand)}.dashboard-hidden-icon{display:flex;opacity:.6}.dashboard-grid{display:grid;grid-template-columns:repeat(6,1fr);grid-auto-rows:200px;grid-gap:var(--shell-spacing-lg);gap:var(--shell-spacing-lg);padding:8px;margin:-8px}.dashboard-drag-preview{background:var(--shell-surface-brand-soft);border:2px dashed var(--shell-color-brand);border-radius:var(--shell-radius-md);pointer-events:none;z-index:5}.dashboard-resize-handle{position:absolute;opacity:0;transition:opacity .15s ease;z-index:10;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dashboard-module:hover .dashboard-resize-handle{opacity:1}.dashboard-resize-right{top:0;right:0;bottom:12px;width:8px;cursor:ew-resize;background:linear-gradient(to left,var(--shell-surface-brand-strong),transparent)}.dashboard-resize-bottom{left:0;right:12px;bottom:0;height:8px;cursor:ns-resize;background:linear-gradient(to top,var(--shell-surface-brand-strong),transparent)}.dashboard-resize-corner{right:0;bottom:0;width:16px;height:16px;cursor:nwse-resize;background:var(--shell-surface-brand-strong);border-radius:0 0 var(--shell-radius-md) 0}.dashboard-resize-handle:hover{opacity:1}.dashboard-resize-corner:hover,.dashboard-resize-handle:hover{background:var(--shell-surface-brand-strong)}.dashboard-rows{display:flex;flex-direction:column;gap:var(--shell-spacing-lg);padding:8px;margin:-8px}.dashboard-row{position:relative}.dashboard-row-slots{display:flex;gap:var(--shell-spacing-lg);padding:16px;margin:-16px}.dashboard-slot{position:relative;min-height:120px;border-radius:var(--shell-radius-md);transition:background .15s ease,border-color .15s ease}.dashboard-slot-full{flex:0 0 100%;width:100%}.dashboard-slot-half{flex:0 0 calc(50% - var(--shell-spacing-lg) / 2);width:calc(50% - var(--shell-spacing-lg) / 2)}.dashboard-slot-third{flex:0 0 calc(33.333% - var(--shell-spacing-lg) * 2 / 3);width:calc(33.333% - var(--shell-spacing-lg) * 2 / 3)}.dashboard-slot-two-thirds{flex:0 0 calc(66.666% - var(--shell-spacing-lg) / 3);width:calc(66.666% - var(--shell-spacing-lg) / 3)}.dashboard-slot-empty{border:2px dashed var(--shell-color-border);background:transparent}.dashboard-slot-placeholder{display:flex;align-items:center;justify-content:center;height:100%;min-height:120px;color:var(--shell-color-text-muted);font-size:.875rem;opacity:0;transition:opacity .15s ease}.dashboard-slot-drop-target .dashboard-slot-placeholder,.dashboard-slot-empty:hover .dashboard-slot-placeholder{opacity:1}.dashboard-slot-drop-target{background:var(--shell-surface-brand-weak);border-color:var(--shell-color-brand)!important;border-style:solid!important}.dashboard-slot-dragging{opacity:.5}.dashboard-row-dropzone{position:absolute;left:0;right:0;height:8px;z-index:10;transition:background .15s ease}.dashboard-row-dropzone-top{top:-4px}.dashboard-row-dropzone-bottom{bottom:-4px}.dashboard-row-dropzone.active{background:var(--shell-color-brand);border-radius:4px}.dashboard-module{position:relative;display:flex;flex-direction:column;min-height:200px;transition:transform .15s ease,opacity .15s ease;border-radius:var(--shell-radius-md)}.dashboard-module.dragging{opacity:.5;transform:scale(.98)}.dashboard-module.resizing{cursor:ns-resize;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dashboard-module-content{flex:1 1;overflow:visible;min-height:0}.dashboard-module-content>.shell-widget{height:100%;display:flex;flex-direction:column}.dashboard-module-content>.shell-widget>:last-child{flex:1 1;overflow-y:auto;min-height:0}.dashboard-module-resize-width{position:absolute;top:8px;right:8px;padding:4px 8px;display:flex;align-items:center;justify-content:center;border-radius:4px;font-size:11px;font-weight:500;color:var(--shell-color-text-muted);background:#fff;border:1px solid var(--shell-color-border);cursor:pointer;z-index:10;opacity:0;transition:all .15s ease}.dashboard-module:hover .dashboard-module-resize-width{opacity:1}.dashboard-module-resize-width:hover{background:var(--shell-color-brand);color:#fff;border-color:var(--shell-color-brand)}.dashboard-module-resize-handle{position:absolute;bottom:0;left:0;right:0;height:12px;cursor:ns-resize;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .15s ease;z-index:10}.dashboard-module:hover .dashboard-module-resize-handle{opacity:1}.dashboard-module-resize-handle-grip{width:40px;height:4px;background:var(--shell-color-border);border-radius:2px;transition:background .15s ease}.dashboard-module-resize-handle:hover .dashboard-module-resize-handle-grip,.dashboard-module.resizing .dashboard-module-resize-handle-grip{background:var(--shell-color-brand)}.dashboard-loading{display:flex;align-items:center;justify-content:center;min-height:400px}.dashboard-loading-spinner{width:32px;height:32px;border:3px solid var(--shell-color-border);border-top-color:var(--shell-color-brand);border-radius:50%;animation:shell-spin .8s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.shell-dashboard{display:flex;flex-direction:column;height:100%;padding:var(--shell-spacing-lg);overflow-y:auto}.shell-dashboard-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--shell-spacing-lg)}.shell-dashboard-title{font-size:1.25rem;font-weight:600;color:var(--shell-color-text);margin:0}.shell-dashboard-actions{display:flex;gap:var(--shell-spacing-sm)}.shell-dashboard-edit-btn{padding:var(--shell-spacing-xs) var(--shell-spacing-md);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);background:transparent;color:var(--shell-color-text-secondary);font-size:.875rem;cursor:pointer;transition:all var(--shell-transition-fast)}.shell-dashboard-edit-btn:hover{background:var(--shell-color-surface-hover);color:var(--shell-color-text)}.shell-dashboard-edit-btn.active{background:var(--shell-color-brand);border-color:var(--shell-color-brand);color:#fff}.shell-dashboard-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));grid-gap:var(--shell-spacing-lg);gap:var(--shell-spacing-lg)}.shell-dashboard-module{background:var(--shell-color-surface);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-lg);display:flex;flex-direction:column;min-height:200px;max-height:400px;overflow:hidden}.shell-dashboard-module-pinned{max-height:450px}.shell-dashboard-module-header{display:flex;align-items:center;justify-content:space-between;padding:var(--shell-spacing-md);border-bottom:1px solid var(--shell-color-border);flex-shrink:0}.shell-dashboard-module-title{font-weight:600;font-size:.875rem;color:var(--shell-color-text);display:flex;align-items:center;gap:var(--shell-spacing-xs)}.shell-dashboard-module-title-link{background:none;border:none;padding:0;cursor:pointer;color:inherit}.shell-dashboard-module-title-link:hover{color:var(--shell-color-brand)}.shell-dashboard-module-remove{background:none;border:none;padding:var(--shell-spacing-xs);border-radius:var(--shell-radius-sm);cursor:pointer;color:var(--shell-color-text-secondary);display:flex;align-items:center;justify-content:center;transition:all var(--shell-transition-fast)}.shell-dashboard-module-remove:hover{background:rgba(239,68,68,.1);color:#ef4444}.shell-dashboard-module-content{flex:1 1;overflow-y:auto;padding:var(--shell-spacing-sm)}.shell-dashboard-add-module{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--shell-spacing-sm);min-height:200px;background:var(--shell-color-surface);border:2px dashed var(--shell-color-border);border-radius:var(--shell-radius-lg);cursor:pointer;color:var(--shell-color-text-secondary);transition:all var(--shell-transition-fast)}.shell-dashboard-add-module:hover{border-color:var(--shell-color-brand);color:var(--shell-color-brand);background:var(--shell-color-surface-hover)}.shell-dashboard-loading{display:flex;align-items:center;justify-content:center;height:200px;color:var(--shell-color-text-secondary)}.shell-add-module-modal{max-width:400px;width:90vw}.shell-add-module-options{display:flex;flex-direction:column;gap:var(--shell-spacing-sm)}.shell-add-module-option{display:flex;align-items:center;gap:var(--shell-spacing-md);padding:var(--shell-spacing-md);background:var(--shell-color-surface);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);cursor:pointer;text-align:left;transition:all var(--shell-transition-fast)}.shell-add-module-option:hover:not(.disabled){border-color:var(--shell-color-brand);background:var(--shell-color-surface-hover)}.shell-add-module-option.disabled{opacity:.6;cursor:not-allowed}.shell-add-module-option-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:var(--shell-color-surface-hover);border-radius:var(--shell-radius-md);color:var(--shell-color-brand)}.shell-add-module-option-text{display:flex;flex-direction:column;gap:2px;flex:1 1}.shell-add-module-option-label{font-weight:600;font-size:.875rem;color:var(--shell-color-text)}.shell-add-module-option-desc{font-size:.75rem;color:var(--shell-color-text-secondary)}.shell-add-module-option-badge{font-size:.625rem;padding:2px 6px;background:var(--shell-color-surface-hover);border-radius:var(--shell-radius-full);color:var(--shell-color-text-secondary)}.shell-add-module-conversations{display:flex;flex-direction:column;gap:var(--shell-spacing-sm)}.shell-add-module-search{width:100%;padding:var(--shell-spacing-sm) var(--shell-spacing-md);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:.875rem}.shell-add-module-search:focus{outline:none;border-color:var(--shell-color-brand)}.shell-add-module-conversation-list{display:flex;flex-direction:column;gap:var(--shell-spacing-xs);max-height:300px;overflow-y:auto}.shell-add-module-conversation{display:flex;align-items:center;gap:var(--shell-spacing-sm);padding:var(--shell-spacing-sm) var(--shell-spacing-md);background:transparent;border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);cursor:pointer;text-align:left;transition:all var(--shell-transition-fast)}.shell-add-module-conversation:hover{border-color:var(--shell-color-brand);background:var(--shell-color-surface-hover)}.shell-add-module-conversation-icon{display:flex;color:var(--shell-color-text-secondary)}.shell-add-module-conversation-label{font-size:.875rem;color:var(--shell-color-text)}.shell-add-module-empty{padding:var(--shell-spacing-lg);text-align:center}.shell-add-module-back,.shell-add-module-empty{color:var(--shell-color-text-secondary);font-size:.875rem}.shell-add-module-back{display:flex;align-items:center;gap:var(--shell-spacing-xs);padding:var(--shell-spacing-sm);background:transparent;border:none;cursor:pointer;margin-top:var(--shell-spacing-sm)}.shell-add-module-back:hover{color:var(--shell-color-text)}.dashboard-add-widget-fab{position:fixed;bottom:24px;right:24px;width:56px;height:56px;border-radius:50%;background:var(--shell-color-brand);color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(0,0,0,.3);transition:all .2s ease;z-index:100}.dashboard-add-widget-fab:hover{transform:scale(1.1);box-shadow:0 6px 16px rgba(0,0,0,.4)}.dashboard-add-widget-fab:active{transform:scale(.95)}.dashboard-add-widget-fab svg{display:block}.dashboard-module-remove{position:absolute;top:8px;right:8px;width:24px;height:24px;border-radius:var(--shell-radius-sm);background:rgba(239,68,68,.1);color:#ef4444;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;transition:all .15s ease;z-index:20}.dashboard-module:hover .dashboard-module-remove{opacity:1}.dashboard-module-remove:hover{background:#ef4444;color:#fff}.dashboard-drag-handle{position:absolute;top:0;left:0;right:0;height:24px;display:flex;align-items:center;justify-content:center;cursor:-webkit-grab;cursor:grab;color:var(--shell-color-text-muted);opacity:0;transition:opacity .15s ease,background .15s ease;z-index:15;border-radius:var(--shell-radius-md) var(--shell-radius-md) 0 0}.dashboard-module:hover .dashboard-drag-handle{opacity:1}.dashboard-drag-handle:hover{background:var(--shell-color-surface-alt);color:var(--shell-color-text)}.dashboard-drag-handle:active{cursor:-webkit-grabbing;cursor:grabbing}.shell-widget{min-height:200px}}@layer components{@keyframes widget-unread-pulse{0%{box-shadow:inset 0 0 0 0 rgba(var(--shell-color-brand-rgb),0),0 0 0 0 rgba(var(--shell-color-brand-rgb),0)}50%{box-shadow:inset 0 0 20px 0 rgba(var(--shell-color-brand-rgb),.08),0 0 15px 0 rgba(var(--shell-color-brand-rgb),.15)}to{box-shadow:inset 0 0 0 0 rgba(var(--shell-color-brand-rgb),0),0 0 0 0 rgba(var(--shell-color-brand-rgb),0)}}.shell-widget.has-unread{animation:widget-unread-pulse 2.5s ease-in-out infinite;position:relative;isolation:isolate}.shell-widget.has-unread .shell-card-title{position:relative}.shell-widget.has-unread:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:0;background:radial-gradient(circle at 20% 15%,rgba(var(--shell-color-brand-rgb),.14),transparent 55%),radial-gradient(circle at 85% 80%,rgba(var(--shell-color-brand-rgb),.1),transparent 55%);opacity:0;animation:widget-unread-bg 2.5s ease-in-out infinite}.shell-widget.has-unread>*{position:relative;z-index:1}@keyframes widget-unread-bg{0%,to{opacity:0}50%{opacity:1}}.shell-widget.has-unread .shell-card-title:after{content:"";position:absolute;top:50%;right:-8px;transform:translateY(-50%);width:8px;height:8px;background:var(--shell-color-brand);border-radius:50%;animation:widget-dot-pulse 2s ease-in-out infinite}@keyframes widget-dot-pulse{0%,to{opacity:1;transform:translateY(-50%) scale(1)}50%{opacity:.6;transform:translateY(-50%) scale(.85)}}.shell-widget-full{grid-column:1/-1}.shell-widget-icon{opacity:.7}.shell-widget-icon,.shell-widget-icon-link{display:inline-flex;margin-right:var(--shell-spacing-sm)}.shell-widget-icon-link{align-items:center;justify-content:center;padding:6px;border-radius:var(--shell-radius-sm);color:var(--shell-color-text-muted);background:transparent;transition:all var(--shell-transition-fast);cursor:pointer}.shell-widget-icon-link:hover{background:var(--shell-color-brand);color:#fff;transform:scale(1.1)}.shell-widget-icon-link:active{transform:scale(.95)}.shell-widget-icon-link svg{display:block}.shell-widget-badge{margin-left:auto;background:var(--shell-color-brand);color:#fff;font-size:.75rem;font-weight:600;padding:2px 8px;border-radius:999px}.shell-widget-badge-urgent{background:#f97316}.shell-widget-more{display:block;text-align:center;padding:var(--shell-spacing-sm);margin-top:var(--shell-spacing-sm);font-size:.85rem;color:var(--shell-color-brand);border-top:1px solid var(--shell-color-border)}.shell-widget-more:hover{text-decoration:underline}.shell-widget-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--shell-color-border);padding-top:var(--shell-spacing-sm);margin-top:var(--shell-spacing-sm)}.shell-widget-settings-link{font-size:.8rem;color:var(--shell-color-text-muted)}.shell-widget-settings-link:hover{color:var(--shell-color-brand)}.widget-remove-overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;z-index:1001;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.widget-remove-dialog{background:var(--shell-color-surface);border-radius:var(--shell-radius-lg);border:1px solid var(--shell-color-border);box-shadow:0 20px 40px rgba(0,0,0,.3);padding:var(--shell-spacing-xl);width:90%;max-width:400px;text-align:center}.widget-remove-dialog h3{margin:0 0 var(--shell-spacing-sm);font-size:1.125rem;font-weight:600;color:var(--shell-color-text)}.widget-remove-dialog p{margin:0 0 var(--shell-spacing-lg);font-size:.9rem;color:var(--shell-color-text-muted)}.widget-remove-actions{display:flex;gap:var(--shell-spacing-sm);justify-content:center}.widget-remove-cancel,.widget-remove-confirm{padding:var(--shell-spacing-sm) var(--shell-spacing-lg);border-radius:var(--shell-radius-md);font-size:.9rem;font-weight:500;cursor:pointer;transition:all .15s ease}.widget-remove-cancel{background:transparent;color:var(--shell-color-text-muted);border:1px solid var(--shell-color-border)}.widget-remove-cancel:hover{background:var(--shell-color-border);color:var(--shell-color-text)}.widget-remove-confirm{background:#ef4444;color:#fff;border:none}.widget-remove-confirm:hover{background:#dc2626}.shell-decision-list{list-style:none;margin:var(--shell-spacing-md) 0 0;padding:0;display:flex;flex-direction:column;gap:var(--shell-spacing-md)}.shell-decision-item{padding:var(--shell-spacing-sm);background:rgba(239,68,68,.05);border:1px solid rgba(239,68,68,.15);border-radius:var(--shell-radius-md)}.shell-decision-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.shell-decision-sender{font-weight:500;font-size:.9rem}.shell-decision-time{font-size:.75rem;color:var(--shell-color-text-muted)}.shell-decision-body{margin:0 0 var(--shell-spacing-sm);font-size:.85rem;color:var(--shell-color-text-muted);line-height:1.4}.shell-decision-actions{display:flex;gap:var(--shell-spacing-xs)}.shell-decision-btn{border:none;cursor:pointer;padding:4px 12px;font-size:.8rem;font-weight:500;border-radius:var(--shell-radius-sm);transition:background var(--shell-transition-fast)}.shell-decision-btn.approve{background:rgba(34,197,94,.15);color:#22c55e}.shell-decision-btn.approve:hover{background:rgba(34,197,94,.25)}.shell-decision-btn.deny{background:rgba(239,68,68,.15);color:#ef4444}.shell-decision-btn.deny:hover{background:rgba(239,68,68,.25)}.shell-decision-link{font-size:.8rem;color:var(--shell-color-text-muted);margin-left:auto}.shell-decision-link:hover{color:var(--shell-color-brand)}.shell-urgent-list{list-style:none;margin:var(--shell-spacing-md) 0 0;padding:0;display:flex;flex-direction:column;gap:var(--shell-spacing-md)}.shell-urgent-item{padding:var(--shell-spacing-sm);background:rgba(249,115,22,.05);border:1px solid rgba(249,115,22,.15);border-radius:var(--shell-radius-md)}.shell-urgent-item.urgent-critical{border-color:rgba(239,68,68,.4);background:rgba(239,68,68,.08)}.shell-urgent-item.urgent-high{border-color:rgba(249,115,22,.4)}.shell-urgent-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.shell-urgent-sender{font-weight:500;font-size:.9rem}.shell-urgent-time{font-size:.75rem;color:var(--shell-color-text-muted)}.shell-urgent-body{margin:0 0 var(--shell-spacing-sm);font-size:.85rem;color:var(--shell-color-text-muted);line-height:1.4}.shell-urgent-link{font-size:.8rem;color:var(--shell-color-brand)}.shell-unresponded-list{list-style:none;margin:var(--shell-spacing-md) 0 0;padding:0;display:flex;flex-direction:column;gap:var(--shell-spacing-xs)}.shell-unresponded-item{border-radius:var(--shell-radius-md);transition:background var(--shell-transition-fast)}.shell-unresponded-item:hover{background:var(--shell-surface-neutral-weak)}.shell-unresponded-item a{display:block;padding:var(--shell-spacing-sm)}.shell-unresponded-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2px}.shell-unresponded-name{font-weight:500;font-size:.9rem}.shell-unresponded-time{font-size:.75rem;color:var(--shell-color-text-muted)}.shell-unresponded-preview{margin:0;font-size:.85rem;color:var(--shell-color-text-muted);line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shell-settings-page{max-width:800px;margin:0 auto;padding:var(--shell-spacing-lg)}.shell-settings-header{display:flex;justify-content:space-between;align-items:flex-start;gap:var(--shell-spacing-lg);margin-bottom:var(--shell-spacing-xl)}.shell-settings-header h1{margin:0 0 var(--shell-spacing-xs);font-size:1.5rem}.shell-settings-error{background:rgba(239,68,68,.1);border:1px solid rgba(239,68,68,.3);color:#ef4444;padding:var(--shell-spacing-sm) var(--shell-spacing-md);border-radius:var(--shell-radius-md);font-size:.9rem}.shell-settings-card,.shell-settings-error{margin-bottom:var(--shell-spacing-lg)}.shell-settings-back{margin-top:var(--shell-spacing-xl)}.shell-settings-back a{color:var(--shell-color-text-muted);font-size:.9rem}.shell-settings-back a:hover{color:var(--shell-color-brand)}.shell-tracking-form{display:flex;flex-direction:column;gap:var(--shell-spacing-md);margin-top:var(--shell-spacing-md)}.shell-tracking-form-row{display:flex;flex-direction:column;gap:var(--shell-spacing-xs)}.shell-tracking-form-row label{font-weight:500;font-size:.9rem}.shell-tracking-form-row input{padding:var(--shell-spacing-sm) var(--shell-spacing-md);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);background:var(--shell-color-bg);color:var(--shell-color-text);font-size:.95rem}.shell-tracking-form-row input:focus{outline:none;border-color:var(--shell-color-brand)}.shell-tracking-form-row small{font-size:.8rem}.shell-tracking-type-toggle{display:flex;gap:var(--shell-spacing-xs)}.shell-tracking-type-toggle button{padding:var(--shell-spacing-sm) var(--shell-spacing-md);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);background:transparent;color:var(--shell-color-text-muted);cursor:pointer;font-size:.9rem;transition:all var(--shell-transition-fast)}.shell-tracking-type-toggle button:hover{border-color:var(--shell-color-brand)}.shell-tracking-type-toggle button.active{background:var(--shell-color-brand);border-color:var(--shell-color-brand);color:#fff}.shell-tracking-form-actions{display:flex;justify-content:flex-end;margin-top:var(--shell-spacing-sm)}.shell-tracking-empty{text-align:center;padding:var(--shell-spacing-xl)}.shell-tracking-list{list-style:none;margin:var(--shell-spacing-md) 0 0;padding:0;display:flex;flex-direction:column;gap:var(--shell-spacing-sm)}.shell-tracking-item{display:flex;justify-content:space-between;align-items:center;padding:var(--shell-spacing-sm) var(--shell-spacing-md);background:var(--shell-surface-neutral-hint,rgba(var(--shell-color-neutral-rgb),.05));border-radius:var(--shell-radius-md)}.shell-tracking-item-info{display:flex;flex-direction:column;gap:2px}.shell-tracking-item-name{font-weight:500}.shell-tracking-item-type{font-size:.8rem;color:var(--shell-color-text-muted)}.shell-tracking-item-actions{display:flex;align-items:center;gap:var(--shell-spacing-md)}.shell-tracking-toggle{position:relative;display:inline-block;width:40px;height:22px}.shell-tracking-toggle input{opacity:0;width:0;height:0}.shell-tracking-toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--shell-color-border);border-radius:22px;transition:background-color var(--shell-transition-fast)}.shell-tracking-toggle-slider:before{position:absolute;content:"";height:16px;width:16px;left:3px;bottom:3px;background-color:#fff;border-radius:50%;transition:transform var(--shell-transition-fast)}.shell-tracking-toggle input:checked+.shell-tracking-toggle-slider{background-color:var(--shell-color-brand)}.shell-tracking-toggle input:checked+.shell-tracking-toggle-slider:before{transform:translateX(18px)}.shell-tracking-delete{border:none;background:transparent;color:var(--shell-color-text-muted);font-size:1.25rem;cursor:pointer;padding:0;line-height:1;opacity:.6;transition:opacity var(--shell-transition-fast),color var(--shell-transition-fast)}.shell-tracking-delete:hover{opacity:1;color:#ef4444}.shell-task-list{list-style:none;margin:var(--shell-spacing-md) 0 0;padding:0;flex-direction:column}.shell-task-list,.shell-task-list li{display:flex;gap:var(--shell-spacing-sm)}.shell-task-list li{align-items:center;padding:var(--shell-spacing-sm) 0;font-size:.9rem;color:var(--shell-color-text)}.shell-task-list li.completed{color:var(--shell-color-text-muted);text-decoration:line-through}.shell-task-check{color:var(--shell-color-brand);font-size:.85rem}.tasks-widget-body{display:flex;flex-direction:column;flex:1 1;min-height:0}.tasks-widget-add-trigger{display:flex;align-items:center;gap:var(--shell-spacing-sm);width:100%;padding:var(--shell-spacing-sm) var(--shell-spacing-md);margin-bottom:var(--shell-spacing-sm);border:1px dashed var(--shell-color-border);border-radius:var(--shell-radius-md);background:transparent;color:var(--shell-color-text-muted);font-size:.85rem;cursor:pointer;transition:all var(--shell-transition-fast)}.tasks-widget-add-trigger:hover{border-color:var(--shell-color-brand);color:var(--shell-color-brand);background:var(--shell-surface-brand-hover)}.tasks-widget-add-icon{font-size:1.1rem;font-weight:300}.tasks-widget-add-form{display:flex;flex-direction:column;gap:var(--shell-spacing-sm);margin-bottom:var(--shell-spacing-sm)}.tasks-widget-input{width:100%;padding:var(--shell-spacing-sm) var(--shell-spacing-md);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:.9rem;outline:none;transition:border-color var(--shell-transition-fast)}.tasks-widget-input:focus{border-color:var(--shell-color-brand)}.tasks-widget-add-actions{display:flex;gap:var(--shell-spacing-sm)}.tasks-widget-btn{padding:var(--shell-spacing-xs) var(--shell-spacing-md);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-sm);background:var(--shell-color-surface);color:var(--shell-color-text);font-size:.8rem;cursor:pointer;transition:all var(--shell-transition-fast)}.tasks-widget-btn:hover:not(:disabled){background:var(--shell-color-surface-elevated)}.tasks-widget-btn:disabled{opacity:.5;cursor:not-allowed}.tasks-widget-btn.primary{background:var(--shell-color-brand);border-color:var(--shell-color-brand);color:#fff}.tasks-widget-btn.primary:hover:not(:disabled){background:var(--shell-color-brand-hover)}.tasks-widget-btn.small{padding:2px var(--shell-spacing-sm);font-size:.75rem}.tasks-widget-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;flex:1 1;overflow-y:auto}.tasks-widget-item{display:flex;align-items:center;gap:var(--shell-spacing-sm);padding:var(--shell-spacing-sm) 0;border-bottom:1px solid var(--shell-color-border)}.tasks-widget-item:last-child{border-bottom:none}.tasks-widget-item.completed .tasks-widget-title{color:var(--shell-color-text-muted);text-decoration:line-through}.tasks-widget-item.completed .tasks-widget-checkbox{color:var(--shell-color-positive)}.tasks-widget-checkbox{flex-shrink:0;padding:0;border:none;background:transparent;color:var(--shell-color-text-muted);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:color var(--shell-transition-fast)}.tasks-widget-checkbox:hover{color:var(--shell-color-brand)}.tasks-widget-title{flex:1 1;font-size:.9rem;color:var(--shell-color-text);cursor:pointer;padding:2px 4px;border-radius:var(--shell-radius-sm);transition:background var(--shell-transition-fast)}.tasks-widget-title:hover{background:var(--shell-color-surface-elevated)}.tasks-widget-open-full{flex-shrink:0;width:24px;height:24px;padding:0;border:none;background:transparent;color:var(--shell-color-text-muted);cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;transition:all var(--shell-transition-fast);border-radius:var(--shell-radius-sm);font-size:.85rem}.tasks-widget-item:hover .tasks-widget-open-full{opacity:1}.tasks-widget-open-full:hover{color:var(--shell-color-brand);background:var(--shell-surface-brand-weak)}.tasks-widget-delete{flex-shrink:0;padding:4px;border:none;background:transparent;color:var(--shell-color-text-muted);cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;transition:all var(--shell-transition-fast);border-radius:var(--shell-radius-sm)}.tasks-widget-item:hover .tasks-widget-delete{opacity:1}.tasks-widget-delete:hover{color:#ef4444;background:rgba(239,68,68,.1)}.tasks-widget-edit-row{display:flex;align-items:center;gap:var(--shell-spacing-sm);flex:1 1}.tasks-widget-edit-row .tasks-widget-input{flex:1 1;padding:4px var(--shell-spacing-sm);font-size:.85rem}.tasks-widget-edit-form{display:flex;flex-direction:column;gap:var(--shell-spacing-xs);flex:1 1;padding:var(--shell-spacing-xs) 0}.tasks-widget-edit-form .tasks-widget-input{padding:4px var(--shell-spacing-sm);font-size:.85rem}.tasks-widget-edit-meta{align-items:center}.tasks-widget-edit-actions,.tasks-widget-edit-meta{display:flex;gap:var(--shell-spacing-sm)}.tasks-widget-project-pill.readonly{cursor:default;opacity:.8}.tasks-widget-project-pill.readonly:hover{background:var(--shell-surface-brand-weak)}.tasks-widget-empty{text-align:center;padding:var(--shell-spacing-lg)}.tasks-widget-more{display:block;text-align:center;padding:var(--shell-spacing-sm);margin-top:auto;color:var(--shell-color-brand);font-size:.85rem;text-decoration:none}.tasks-widget-more:hover{text-decoration:underline}.tasks-widget-meta-row{display:flex;gap:var(--shell-spacing-sm);align-items:center}.tasks-widget-select{flex:1 1;min-width:0;padding:var(--shell-spacing-xs) var(--shell-spacing-sm);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-sm);background:var(--shell-color-surface);color:var(--shell-color-text);font-size:.8rem;outline:none;cursor:pointer;transition:border-color var(--shell-transition-fast)}.tasks-widget-select:focus{border-color:var(--shell-color-brand)}.tasks-widget-select:disabled{opacity:.5;cursor:not-allowed}.tasks-widget-date-input{padding:var(--shell-spacing-xs) var(--shell-spacing-sm);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-sm);background:var(--shell-color-surface);color:var(--shell-color-text);font-size:.8rem;outline:none;cursor:pointer;transition:border-color var(--shell-transition-fast)}.tasks-widget-date-input:focus{border-color:var(--shell-color-brand)}.tasks-widget-date-input:disabled{opacity:.5;cursor:not-allowed}.tasks-widget-content{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:2px}.tasks-widget-content .tasks-widget-title{flex:none}.tasks-widget-meta{display:flex;align-items:center;gap:var(--shell-spacing-xs);flex-wrap:wrap}.tasks-widget-project-pill{display:inline-flex;align-items:center;padding:1px 6px;font-size:.7rem;font-weight:500;background:var(--shell-surface-brand-weak);color:var(--shell-color-brand);border-radius:var(--shell-radius-sm);cursor:pointer;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:all var(--shell-transition-fast)}.tasks-widget-project-pill:hover{background:var(--shell-surface-brand-hover)}.tasks-widget-due{display:inline-flex;align-items:center;padding:1px 6px;font-size:.7rem;font-weight:500;border-radius:var(--shell-radius-sm);white-space:nowrap}.tasks-widget-due.overdue{background:rgba(239,68,68,.15);color:#ef4444}.tasks-widget-due.today{background:rgba(234,179,8,.15);color:#ca8a04}.tasks-widget-due.soon{background:rgba(234,179,8,.1);color:#ca8a04}.tasks-widget-due.normal,.tasks-widget-due.upcoming{background:var(--shell-color-surface-elevated);color:var(--shell-color-text-muted)}.tasks-widget-template-row{margin-top:var(--shell-spacing-xs)}.tasks-widget-sections{display:flex;flex-direction:column;flex:1 1;min-height:0;overflow-y:auto}.tasks-widget-section{display:flex;flex-direction:column;border-radius:var(--shell-radius-md);transition:background var(--shell-transition-fast)}.tasks-widget-section.drag-over{background:var(--shell-surface-brand-weak)}.tasks-widget-section-header{display:flex;align-items:center;justify-content:space-between;padding:var(--shell-spacing-xs) var(--shell-spacing-sm);margin-bottom:var(--shell-spacing-xs)}.tasks-widget-section-title{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--shell-color-brand)}.tasks-widget-section-count{font-size:.7rem;font-weight:500;color:var(--shell-color-text-muted);background:var(--shell-color-surface-elevated);padding:1px 6px;border-radius:10px}.tasks-widget-divider{display:flex;align-items:center;padding:var(--shell-spacing-sm) 0;margin:var(--shell-spacing-xs) 0}.tasks-widget-divider:after,.tasks-widget-divider:before{content:"";flex:1 1;height:1px;background:var(--shell-color-border)}.tasks-widget-divider span{padding:0 var(--shell-spacing-sm);font-size:.7rem;font-weight:500;text-transform:uppercase;letter-spacing:.05em;color:var(--shell-color-text-muted);white-space:nowrap}.tasks-widget-empty-zone{padding:var(--shell-spacing-md);text-align:center;color:var(--shell-color-text-muted);font-size:.8rem;font-style:italic;border:1px dashed var(--shell-color-border);border-radius:var(--shell-radius-md);margin:var(--shell-spacing-xs) 0}.tasks-widget-drag-handle{flex-shrink:0;padding:4px;border:none;background:transparent;color:var(--shell-color-text-muted);cursor:-webkit-grab;cursor:grab;display:flex;align-items:center;justify-content:center;opacity:0;transition:all var(--shell-transition-fast);border-radius:var(--shell-radius-sm)}.tasks-widget-item:hover .tasks-widget-drag-handle{opacity:.5}.tasks-widget-drag-handle:hover{opacity:1!important;color:var(--shell-color-brand);background:var(--shell-surface-brand-weak)}.tasks-widget-drag-handle:active{cursor:-webkit-grabbing;cursor:grabbing}.tasks-widget-item.dragging{opacity:.5;background:var(--shell-color-surface-elevated);border-radius:var(--shell-radius-md)}.tasks-widget-drag-preview{padding:var(--shell-spacing-sm) var(--shell-spacing-md);background:var(--shell-color-surface);border:1px solid var(--shell-color-brand);border-radius:var(--shell-radius-md);box-shadow:0 4px 12px rgba(0,0,0,.15);font-size:.9rem;color:var(--shell-color-text);max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-launch-grid{flex-wrap:wrap;align-content:center;gap:var(--shell-spacing-lg);flex:1 1;min-height:0;padding:var(--shell-spacing-md) 0}.quick-launch-empty,.quick-launch-grid{display:flex;justify-content:center;align-items:center}.quick-launch-empty{flex-direction:column;gap:var(--shell-spacing-sm);flex:1 1;text-align:center}.quick-launch-tile{display:flex;flex-direction:column;align-items:center;gap:var(--shell-spacing-xs);padding:var(--shell-spacing-sm);border-radius:var(--shell-radius-md);text-decoration:none;color:var(--shell-color-text);transition:all var(--shell-transition-fast)}.quick-launch-tile:hover{background:var(--shell-color-surface-elevated);transform:translateY(-2px)}.quick-launch-tile:hover .quick-launch-tile-icon{background:var(--shell-color-brand);color:#fff;transform:scale(1.05)}.quick-launch-tile-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:var(--shell-radius-md);background:var(--shell-surface-brand-weak);color:var(--shell-color-brand);transition:all var(--shell-transition-fast)}.quick-launch-tile-icon svg{width:24px;height:24px}.quick-launch-tile-label{font-size:.7rem;font-weight:500;text-align:center;line-height:1.2;max-width:64px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--shell-color-text-muted)}.quick-launch-settings-btn{margin-left:auto;padding:4px;border:none;background:transparent;color:var(--shell-color-text-muted);border-radius:var(--shell-radius-sm);cursor:pointer;transition:all var(--shell-transition-fast);display:flex;align-items:center;justify-content:center}.quick-launch-settings-btn:hover{background:var(--shell-color-surface-elevated);color:var(--shell-color-brand)}.quick-launch-settings-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:var(--shell-z-modal);padding:var(--shell-spacing-lg)}.quick-launch-settings-modal{background:var(--shell-color-surface);-webkit-backdrop-filter:var(--shell-glass-blur);backdrop-filter:var(--shell-glass-blur);border:1px solid var(--shell-glass-border);border-radius:var(--shell-radius-lg);box-shadow:var(--shell-shadow-lg);width:100%;max-width:400px;max-height:80vh;display:flex;flex-direction:column}.quick-launch-settings-header{display:flex;align-items:center;justify-content:space-between;padding:var(--shell-spacing-md) var(--shell-spacing-lg);border-bottom:1px solid var(--shell-color-border)}.quick-launch-settings-header h3{margin:0;font-size:1rem;font-weight:600}.quick-launch-settings-close{padding:4px 8px;border:none;background:transparent;font-size:1.5rem;line-height:1;cursor:pointer;color:var(--shell-color-text-muted);border-radius:var(--shell-radius-sm)}.quick-launch-settings-close:hover{background:var(--shell-color-surface-elevated)}.quick-launch-settings-desc{padding:var(--shell-spacing-sm) var(--shell-spacing-lg);margin:0;font-size:.85rem;color:var(--shell-color-text-muted)}.quick-launch-settings-list{flex:1 1;overflow-y:auto;padding:var(--shell-spacing-sm) var(--shell-spacing-lg);display:flex;flex-direction:column;gap:var(--shell-spacing-sm)}.quick-launch-settings-item{display:flex;align-items:center;gap:var(--shell-spacing-md);padding:var(--shell-spacing-sm);border-radius:var(--shell-radius-md);cursor:pointer;transition:background var(--shell-transition-fast)}.quick-launch-settings-item:hover{background:var(--shell-color-surface-elevated)}.quick-launch-settings-item input[type=checkbox]{width:18px;height:18px;accent-color:var(--shell-color-brand)}.quick-launch-settings-item-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:var(--shell-radius-sm);background:var(--shell-surface-brand-weak);color:var(--shell-color-brand);flex-shrink:0}.quick-launch-settings-item-icon svg{width:18px;height:18px}.quick-launch-settings-item-info{display:flex;flex-direction:column;gap:2px;min-width:0}.quick-launch-settings-item-name{font-size:.9rem;font-weight:500}.quick-launch-settings-item-desc{font-size:.75rem;color:var(--shell-color-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-launch-settings-footer{padding:var(--shell-spacing-md) var(--shell-spacing-lg);border-top:1px solid var(--shell-color-border);display:flex;justify-content:flex-end}.shell-activity-list{list-style:none;margin:var(--shell-spacing-md) 0 0;padding:0;display:flex;flex-direction:column;gap:var(--shell-spacing-sm)}.shell-activity-list li{display:flex;align-items:center;justify-content:space-between;padding:var(--shell-spacing-sm) 0;border-bottom:1px solid var(--shell-color-border);font-size:.9rem}.shell-activity-list li:last-child{border-bottom:none}.shell-activity-message{color:var(--shell-color-text)}.shell-activity-time{color:var(--shell-color-text-muted);font-size:.8rem}.shell-tasks-container{padding:var(--shell-spacing-lg);max-width:900px;margin:0 auto}.shell-tasks-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--shell-spacing-lg)}.shell-tasks-header-left{display:flex;align-items:baseline;gap:var(--shell-spacing-sm)}.shell-tasks-title{font-size:1.5rem;font-weight:600;color:var(--shell-color-text);margin:0}.shell-tasks-count{font-size:.875rem;color:var(--shell-color-text-muted)}.shell-tasks-add-btn{display:flex;align-items:center;gap:var(--shell-spacing-xs);padding:var(--shell-spacing-sm) var(--shell-spacing-md);background:var(--shell-color-brand);color:#fff;border:none;border-radius:var(--shell-radius-md);font-size:.875rem;font-weight:500;cursor:pointer;transition:background var(--shell-transition-fast),transform var(--shell-transition-fast)}.shell-tasks-add-btn:hover{background:var(--shell-color-brand-hover,#4f46e5);transform:translateY(-1px)}.shell-tasks-filters{display:flex;justify-content:space-between;align-items:center;gap:var(--shell-spacing-md);margin-bottom:var(--shell-spacing-md);flex-wrap:wrap}.shell-tasks-status-tabs{display:flex;gap:var(--shell-spacing-xs);background:var(--shell-surface-neutral-soft);padding:4px;border-radius:var(--shell-radius-md)}.shell-tasks-status-tab{display:flex;align-items:center;gap:var(--shell-spacing-xs);padding:var(--shell-spacing-xs) var(--shell-spacing-sm);background:transparent;border:none;border-radius:var(--shell-radius-sm);font-size:.8125rem;color:var(--shell-color-text-muted);cursor:pointer;transition:all var(--shell-transition-fast)}.shell-tasks-status-tab:hover{color:var(--shell-color-text)}.shell-tasks-status-tab.active{background:var(--shell-color-surface);color:var(--shell-color-text);box-shadow:0 1px 3px rgba(0,0,0,.1)}.shell-tasks-status-count{font-size:.75rem;padding:2px 6px;background:var(--shell-surface-neutral-strong);border-radius:10px;min-width:20px;text-align:center}.shell-tasks-status-tab.active .shell-tasks-status-count{background:var(--shell-color-brand);color:#fff}.shell-tasks-filters-right{display:flex;gap:var(--shell-spacing-sm);align-items:center}.shell-tasks-search{display:flex;align-items:center;gap:var(--shell-spacing-xs);padding:var(--shell-spacing-xs) var(--shell-spacing-sm);background:var(--shell-color-surface);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md)}.shell-tasks-search svg{color:var(--shell-color-text-muted);flex-shrink:0}.shell-tasks-search input{border:none;background:transparent;font-size:.875rem;color:var(--shell-color-text);width:160px;outline:none}}@layer components{.shell-tasks-search input::placeholder{color:var(--shell-color-text-muted)}.shell-tasks-sort{padding:var(--shell-spacing-xs) var(--shell-spacing-sm);background:var(--shell-color-surface);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);font-size:.875rem;color:var(--shell-color-text);cursor:pointer}.shell-tasks-error{display:flex;justify-content:space-between;align-items:center;padding:var(--shell-spacing-sm) var(--shell-spacing-md);background:#fef2f2;border:1px solid #fecaca;border-radius:var(--shell-radius-md);color:#dc2626;font-size:.875rem;margin-bottom:var(--shell-spacing-md)}.shell-tasks-error button{background:none;border:none;color:#dc2626;cursor:pointer;text-decoration:underline}.shell-tasks-list{display:flex;flex-direction:column;gap:var(--shell-spacing-sm)}.shell-tasks-empty,.shell-tasks-loading{text-align:center;padding:var(--shell-spacing-xl) var(--shell-spacing-md);color:var(--shell-color-text-muted)}.shell-tasks-empty-icon{margin-bottom:var(--shell-spacing-md);color:var(--shell-color-text-muted);opacity:.5}.shell-tasks-empty p{font-size:1rem;color:var(--shell-color-text);margin:0 0 var(--shell-spacing-xs)}.shell-tasks-empty span{font-size:.875rem;display:block;margin-bottom:var(--shell-spacing-md)}.shell-tasks-empty button{padding:var(--shell-spacing-sm) var(--shell-spacing-md);background:var(--shell-color-brand);color:#fff;border:none;border-radius:var(--shell-radius-md);font-size:.875rem;cursor:pointer}.shell-task-card{display:flex;align-items:flex-start;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);box-shadow:var(--shell-shadow-sm);transition:border-color var(--shell-transition-fast),box-shadow var(--shell-transition-fast),transform var(--shell-transition-fast)}.shell-task-card:hover{border-color:var(--shell-color-brand);box-shadow:var(--shell-shadow-md);transform:translateY(-1px)}.shell-task-card.completed{opacity:.6}.shell-task-card.completed .shell-task-title{text-decoration:line-through;color:var(--shell-color-text-muted)}.shell-task-checkbox{flex-shrink:0;padding-top:2px}.shell-task-checkbox input[type=checkbox]{width:20px;height:20px;accent-color:var(--shell-color-brand);cursor:pointer}.shell-task-content{flex:1 1;min-width:0;cursor:pointer}.shell-task-header{display:flex;justify-content:space-between;align-items:flex-start;gap:var(--shell-spacing-sm);margin-bottom:var(--shell-spacing-xs)}.shell-task-title{font-size:.9375rem;font-weight:500;color:var(--shell-color-text);word-break:break-word}.shell-task-badges{display:flex;gap:var(--shell-spacing-xs);flex-shrink:0}.shell-task-priority{font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;padding:2px 6px;border-radius:4px}.shell-task-priority.priority-low{background:#e2e8f0;color:#64748b}.shell-task-priority.priority-medium{background:#dbeafe;color:#2563eb}.shell-task-priority.priority-high{background:#ffedd5;color:#ea580c}.shell-task-priority.priority-urgent{background:#fee2e2;color:#dc2626}.shell-task-source{font-size:.6875rem;padding:2px 6px;background:#f3e8ff;color:#9333ea;border-radius:4px}.shell-task-description{font-size:.8125rem;color:var(--shell-color-text-muted);margin:0 0 var(--shell-spacing-sm);line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.shell-task-meta{display:flex;align-items:center;gap:var(--shell-spacing-md);font-size:.75rem}.shell-task-due{display:flex;align-items:center;gap:4px}.shell-task-due-normal{color:var(--shell-color-text-muted)}.shell-task-due-soon{color:#ea580c}.shell-task-due-today{color:#dc2626;font-weight:500}.shell-task-due-overdue{color:#dc2626;font-weight:600}.shell-task-status{padding:2px 8px;border-radius:10px;font-weight:500}.shell-task-status.status-open{background:#e0e7ff;color:#4f46e5}.shell-task-status.status-in_progress{background:#fef3c7;color:#d97706}.shell-task-status.status-blocked{background:#fee2e2;color:#dc2626}.shell-task-status.status-on_hold{background:#fef9c3;color:#ca8a04}.shell-task-status.status-done{background:#d1fae5;color:#059669}.shell-task-status.status-cancelled{background:#f1f5f9;color:#64748b}.shell-task-actions{display:flex;gap:var(--shell-spacing-xs);opacity:0;transition:opacity var(--shell-transition-fast)}.shell-task-card:hover .shell-task-actions{opacity:1}.shell-task-action-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:transparent;border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-sm);color:var(--shell-color-text-muted);cursor:pointer;transition:all var(--shell-transition-fast)}.shell-task-action-btn:hover{background:var(--shell-color-surface);color:var(--shell-color-text);border-color:var(--shell-color-text-muted)}.shell-task-action-btn.delete:hover{background:#fef2f2;color:#dc2626;border-color:#fecaca}.shell-tasks-modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:1000;padding:var(--shell-spacing-md)}.shell-tasks-modal{background:var(--shell-color-surface);border-radius:var(--shell-radius-lg);width:100%;max-width:500px;max-height:90vh;overflow-y:auto;box-shadow:0 25px 50px -12px rgba(0,0,0,.25)}.shell-tasks-modal-small{max-width:400px}.shell-tasks-modal-header{display:flex;justify-content:space-between;align-items:center;padding:var(--shell-spacing-md) var(--shell-spacing-lg);border-bottom:1px solid var(--shell-color-border)}.shell-tasks-modal-header h2{font-size:1.125rem;font-weight:600;color:var(--shell-color-text);margin:0}.shell-tasks-modal-close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:transparent;border:none;border-radius:var(--shell-radius-sm);color:var(--shell-color-text-muted);cursor:pointer;transition:all var(--shell-transition-fast)}.shell-tasks-modal-close:hover{background:var(--shell-surface-neutral-soft);color:var(--shell-color-text)}.shell-tasks-modal-body{padding:var(--shell-spacing-lg)}.shell-tasks-modal-body p{margin:0 0 var(--shell-spacing-sm);color:var(--shell-color-text)}.shell-tasks-delete-warning{color:var(--shell-color-text-muted)!important;font-size:.875rem}.shell-tasks-form-group{margin-bottom:var(--shell-spacing-md)}.shell-tasks-form-group label{display:block;font-size:.8125rem;font-weight:500;color:var(--shell-color-text-muted);margin-bottom:var(--shell-spacing-xs)}.shell-tasks-form-group input,.shell-tasks-form-group select,.shell-tasks-form-group textarea{width:100%;padding:var(--shell-spacing-sm);background:var(--shell-color-surface);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);font-size:.9375rem;color:var(--shell-color-text);transition:border-color var(--shell-transition-fast)}.shell-tasks-form-group input:focus,.shell-tasks-form-group select:focus,.shell-tasks-form-group textarea:focus{outline:none;border-color:var(--shell-color-brand)}.shell-tasks-form-group textarea{resize:vertical;min-height:80px}.shell-tasks-form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));grid-gap:var(--shell-spacing-md);gap:var(--shell-spacing-md)}.shell-tasks-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);background:var(--shell-surface-neutral-hairline,rgba(var(--shell-color-neutral-rgb),.03))}.shell-tasks-btn-danger,.shell-tasks-btn-primary,.shell-tasks-btn-secondary{padding:var(--shell-spacing-sm) var(--shell-spacing-md);border-radius:var(--shell-radius-md);font-size:.875rem;font-weight:500;cursor:pointer;transition:all var(--shell-transition-fast)}.shell-tasks-btn-primary{background:var(--shell-color-brand);color:#fff;border:none}.shell-tasks-btn-primary:hover:not(:disabled){background:var(--shell-color-brand-hover,#4f46e5)}.shell-tasks-btn-primary:disabled{opacity:.5;cursor:not-allowed}.shell-tasks-btn-secondary{background:transparent;color:var(--shell-color-text);border:1px solid var(--shell-color-border)}.shell-tasks-btn-secondary:hover{background:var(--shell-surface-neutral-soft)}.shell-tasks-btn-danger{background:#dc2626;color:#fff;border:none}.shell-tasks-btn-danger:hover{background:#b91c1c}.shell-task-inbox{background:linear-gradient(135deg,var(--shell-surface-brand-faint) 0,rgba(139,92,246,.08) 100%);backdrop-filter:var(--shell-glass-blur);-webkit-backdrop-filter:var(--shell-glass-blur);border:1px solid var(--shell-surface-brand-strong);border-radius:var(--shell-radius-lg);margin-bottom:var(--shell-spacing-xl);overflow:hidden;box-shadow:var(--shell-shadow-md)}.shell-task-inbox-header{display:flex;align-items:center;gap:var(--shell-spacing-sm);padding:var(--shell-spacing-md) var(--shell-spacing-lg);background:var(--shell-surface-brand-soft);border-bottom:1px solid var(--shell-surface-brand-strong)}.shell-task-inbox-header h2,.shell-task-inbox-header svg{color:var(--shell-color-brand)}.shell-task-inbox-header h2{margin:0;font-size:.9rem;font-weight:600}.shell-task-inbox-count{margin-left:auto;font-size:.75rem;padding:2px 10px;border-radius:var(--shell-radius-full);background:var(--shell-color-brand);color:#fff;font-weight:500}.shell-task-inbox-list{padding:var(--shell-spacing-sm)}.shell-task-inbox-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--shell-spacing-lg) var(--shell-spacing-md);text-align:center;color:var(--shell-color-text-muted)}.shell-task-inbox-empty svg{opacity:.4;margin-bottom:var(--shell-spacing-sm)}.shell-task-inbox-empty p{margin:0 0 var(--shell-spacing-xs);font-size:.875rem;font-weight:500;color:var(--shell-color-text-muted)}.shell-task-inbox-empty span{font-size:.75rem;opacity:.8}.shell-task-inbox-item{display:flex;flex-direction:column;gap:var(--shell-spacing-sm);padding:var(--shell-spacing-md);background:var(--shell-color-surface);border-radius:var(--shell-radius-md);margin-bottom:var(--shell-spacing-sm);border:1px solid var(--shell-color-border)}.shell-task-inbox-item:last-child{margin-bottom:0}.shell-task-inbox-content{flex:1 1;min-width:0}.shell-task-inbox-top{display:flex;align-items:center;flex-wrap:wrap;gap:var(--shell-spacing-sm);margin-bottom:var(--shell-spacing-xs)}.shell-task-inbox-title{font-weight:500;font-size:.9rem;color:var(--shell-color-text)}.shell-task-inbox-description{margin:0 0 var(--shell-spacing-xs);font-size:.813rem;color:var(--shell-color-text-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.shell-task-inbox-meta{display:flex;align-items:center;gap:var(--shell-spacing-md);font-size:.75rem}.shell-task-inbox-from{color:var(--shell-color-text-muted)}.shell-task-inbox-actions{display:flex;flex-wrap:wrap;gap:var(--shell-spacing-xs);padding-top:var(--shell-spacing-xs);border-top:1px solid var(--shell-color-border)}.shell-task-inbox-btn{display:flex;align-items:center;gap:var(--shell-spacing-xs);padding:6px 12px;border-radius:var(--shell-radius-md);font-size:.813rem;font-weight:500;cursor:pointer;transition:all var(--shell-transition-fast);border:none}.shell-task-inbox-btn.accept{background:rgba(34,197,94,.15);color:#22c55e}.shell-task-inbox-btn.accept:hover{background:rgba(34,197,94,.25)}.shell-task-inbox-btn.edit{background:var(--shell-color-surface-hover);color:var(--shell-color-text-muted)}.shell-task-inbox-btn.edit:hover{background:var(--shell-color-border);color:var(--shell-color-text)}.shell-task-inbox-btn.modify{background:rgba(59,130,246,.12);color:#3b82f6}.shell-task-inbox-btn.modify:hover{background:rgba(59,130,246,.2)}.shell-task-inbox-btn.clarify{background:rgba(168,85,247,.12);color:#a855f7}.shell-task-inbox-btn.clarify:hover{background:rgba(168,85,247,.2)}.shell-task-inbox-btn.decline{background:rgba(239,68,68,.1);color:#ef4444}.shell-task-inbox-btn.decline:hover{background:rgba(239,68,68,.18)}.shell-task-awaiting-badge{display:inline-flex;align-items:center;gap:4px;font-size:.7rem;padding:2px 8px;border-radius:var(--shell-radius-full);background:rgba(251,146,60,.15);color:#fb923c;font-weight:500;animation:shell-pulse 2s ease-in-out infinite}@keyframes shell-pulse{0%,to{opacity:1}50%{opacity:.6}}.shell-task-inbox-item.awaiting{border-left:3px solid #fb923c;background:rgba(251,146,60,.05)}.shell-task-assigned-badge{background:rgba(59,130,246,.15);color:#3b82f6}.shell-task-assigned-badge,.shell-task-pending-badge{font-size:.7rem;padding:2px 8px;border-radius:var(--shell-radius-full);font-weight:500}.shell-task-pending-badge{background:rgba(234,179,8,.15);color:#eab308}.shell-task-denied-badge{font-size:.7rem;padding:2px 8px;border-radius:var(--shell-radius-full);background:rgba(239,68,68,.15);color:#ef4444;font-weight:500}.shell-task-card.assigned-out{opacity:.8;border-left:3px solid #3b82f6}.shell-task-card.assigned-out .shell-task-checkbox input[type=checkbox]{cursor:not-allowed;opacity:.5}.shell-tasks-modal-medium{max-width:500px}.shell-inbox-task-preview{background:var(--shell-color-surface-hover);padding:var(--shell-spacing-md);border-radius:var(--shell-radius-md);margin-bottom:var(--shell-spacing-lg)}.shell-inbox-task-preview h3{margin:0 0 var(--shell-spacing-xs);font-size:1rem;color:var(--shell-color-text)}.shell-inbox-task-preview p{margin:0 0 var(--shell-spacing-sm);font-size:.875rem;color:var(--shell-color-text-muted)}.shell-inbox-task-meta{display:flex;align-items:center;gap:var(--shell-spacing-md);font-size:.75rem;color:var(--shell-color-text-muted)}.shell-inbox-actions-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:var(--shell-spacing-sm);gap:var(--shell-spacing-sm)}.shell-inbox-action-card{display:flex;flex-direction:column;align-items:center;gap:var(--shell-spacing-xs);padding:var(--shell-spacing-lg) var(--shell-spacing-md);border-radius:var(--shell-radius-md);border:1px solid var(--shell-color-border);background:var(--shell-color-surface);cursor:pointer;transition:all var(--shell-transition-fast)}.shell-inbox-action-card span{font-weight:500;font-size:.875rem}.shell-inbox-action-card small{font-size:.75rem;color:var(--shell-color-text-muted)}.shell-inbox-action-card.accept{border-color:rgba(34,197,94,.3)}.shell-inbox-action-card.accept:hover{background:rgba(34,197,94,.1);border-color:rgba(34,197,94,.5)}.shell-inbox-action-card.accept svg{color:#22c55e}.shell-inbox-action-card.edit{border-color:rgba(59,130,246,.3)}.shell-inbox-action-card.edit:hover{background:rgba(59,130,246,.1);border-color:rgba(59,130,246,.5)}.shell-inbox-action-card.edit svg{color:#3b82f6}.shell-inbox-action-card.clarify{border-color:rgba(234,179,8,.3)}.shell-inbox-action-card.clarify:hover{background:rgba(234,179,8,.1);border-color:rgba(234,179,8,.5)}.shell-inbox-action-card.clarify svg{color:#eab308}.shell-inbox-action-card.deny{border-color:rgba(239,68,68,.3)}.shell-inbox-action-card.deny:hover{background:rgba(239,68,68,.1);border-color:rgba(239,68,68,.5)}.shell-inbox-action-card.deny svg{color:#ef4444}.shell-clarify-modal{max-width:600px;height:70vh;display:flex;flex-direction:column}.shell-clarify-body{flex:1 1;display:flex;flex-direction:column;overflow:hidden}.shell-clarify-messages{flex:1 1;overflow-y:auto;padding:var(--shell-spacing-md);display:flex;flex-direction:column;gap:var(--shell-spacing-md)}.shell-clarify-empty,.shell-clarify-loading{text-align:center;color:var(--shell-color-text-muted);padding:var(--shell-spacing-xl)}.shell-clarify-message{max-width:80%;padding:var(--shell-spacing-sm) var(--shell-spacing-md);border-radius:var(--shell-radius-md)}.shell-clarify-message.mine{margin-left:auto;background:var(--shell-surface-brand-soft);border:1px solid var(--shell-border-brand-soft)}.shell-clarify-message.theirs{margin-right:auto;background:var(--shell-color-surface-hover);border:1px solid var(--shell-color-border)}.shell-clarify-message-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--shell-spacing-xs);font-size:.75rem}.shell-clarify-sender{font-weight:500;color:var(--shell-color-text)}.shell-clarify-time{color:var(--shell-color-text-muted)}.shell-clarify-message-body{font-size:.875rem;color:var(--shell-color-text);white-space:pre-wrap;word-break:break-word}.shell-clarify-input{padding:var(--shell-spacing-md);border-top:1px solid var(--shell-color-border);display:flex;gap:var(--shell-spacing-sm);align-items:flex-end}.shell-clarify-input .rich-text-input,.shell-clarify-input textarea{flex:1 1;background:var(--shell-color-surface);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);padding:var(--shell-spacing-sm);font-size:.875rem;color:var(--shell-color-text);resize:none;font-family:inherit}.shell-clarify-input .rich-text-input:focus,.shell-clarify-input textarea:focus{outline:none;border-color:var(--shell-color-brand)}.shell-clarify-send{display:flex;align-items:center;gap:var(--shell-spacing-xs);padding:var(--shell-spacing-sm) var(--shell-spacing-md);background:var(--shell-color-brand);color:#fff;border:none;border-radius:var(--shell-radius-md);font-size:.875rem;font-weight:500;cursor:pointer;transition:all var(--shell-transition-fast)}.shell-clarify-send:hover:not(:disabled){background:var(--shell-color-brand-hover)}.shell-clarify-send:disabled{opacity:.5;cursor:not-allowed}.shell-task-editor-modal{background:var(--shell-color-surface);border-radius:var(--shell-radius-xl);width:100%;max-width:640px;box-shadow:0 0 0 1px rgba(0,0,0,.1),0 20px 50px -10px rgba(0,0,0,.3),0 4px 12px rgba(0,0,0,.15);overflow:hidden}.shell-task-editor-title{width:100%;padding:var(--shell-spacing-lg) var(--shell-spacing-xl);padding-bottom:var(--shell-spacing-sm);border:none;background:transparent;font-size:1.5rem;font-weight:600;color:var(--shell-color-text);outline:none}.shell-task-editor-title::placeholder{color:var(--shell-color-text-muted);opacity:.6}.shell-task-editor-box{margin:0 var(--shell-spacing-xl);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-lg);background:rgba(15,23,42,.2);overflow:hidden}[data-theme=light] .shell-task-editor-box{background:rgba(241,245,249,.5)}.shell-task-editor-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);background:rgba(0,0,0,.1)}[data-theme=light] .shell-task-editor-toolbar{background:rgba(0,0,0,.03)}.shell-task-toolbar-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;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-task-toolbar-btn:hover{background:var(--shell-surface-neutral-strong);color:var(--shell-color-text)}.shell-task-toolbar-btn:active{background:var(--shell-surface-brand-strong);color:var(--shell-color-brand)}.shell-task-toolbar-divider{width:1px;height:18px;background:var(--shell-color-border);margin:0 var(--shell-spacing-xs)}.shell-task-editor-content{min-height:120px;max-height:300px;overflow-y:auto;padding:var(--shell-spacing-md);font-size:.9rem;line-height:1.6;color:var(--shell-color-text);outline:none}.shell-task-editor-content:empty:before{content:attr(data-placeholder);color:var(--shell-color-text-muted);opacity:.6}.shell-task-editor-content ol,.shell-task-editor-content ul{margin:.5em 0;padding-left:1.5em}.shell-task-editor-meta{display:flex;flex-wrap:wrap;gap:var(--shell-spacing-lg);padding:var(--shell-spacing-lg) var(--shell-spacing-xl);border-top:1px solid var(--shell-color-border);background:rgba(0,0,0,.03)}[data-theme=light] .shell-task-editor-meta{background:rgba(0,0,0,.02)}.shell-task-editor-field{display:flex;flex-direction:column;gap:var(--shell-spacing-xs);min-width:120px;flex:1 1;max-width:180px}.shell-task-editor-field label{display:flex;align-items:center;gap:var(--shell-spacing-xs);font-size:.75rem;font-weight:500;color:var(--shell-color-text-muted);text-transform:uppercase;letter-spacing:.05em}.shell-task-editor-field label svg{opacity:.7}.shell-task-editor-field input[type=datetime-local],.shell-task-editor-field select{padding:var(--shell-spacing-sm) var(--shell-spacing-md);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:.875rem;font-family:inherit;cursor:pointer;transition:all var(--shell-transition-fast)}.shell-task-editor-field input[type=datetime-local]:hover,.shell-task-editor-field select:hover{border-color:var(--shell-color-brand)}.shell-task-editor-field input[type=datetime-local]:focus,.shell-task-editor-field select:focus{outline:none;border-color:var(--shell-color-brand);box-shadow:0 0 0 3px var(--shell-surface-brand-soft)}.shell-task-editor-field select.priority-low{color:#64748b}.shell-task-editor-field select.priority-medium{color:#3b82f6}.shell-task-editor-field select.priority-high{color:#f97316}.shell-task-editor-field select.priority-urgent{color:#ef4444}.shell-task-editor-field select.status-open{color:#64748b}.shell-task-editor-field select.status-in_progress{color:#3b82f6}.shell-task-editor-field select.status-blocked{color:#ef4444}.shell-task-editor-field select.status-on_hold{color:#eab308}.shell-task-editor-field select.status-done{color:#22c55e}.shell-task-editor-field select.status-cancelled{color:#71717a}.shell-task-editor-footer{display:flex;justify-content:flex-end;gap:var(--shell-spacing-sm);padding:var(--shell-spacing-md) var(--shell-spacing-xl);border-top:1px solid var(--shell-color-border)}.shell-task-editor-cancel{padding:var(--shell-spacing-sm) var(--shell-spacing-lg);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);background:transparent;color:var(--shell-color-text-muted);font-size:.875rem;font-weight:500;cursor:pointer;transition:all var(--shell-transition-fast)}.shell-task-editor-cancel:hover{background:var(--shell-surface-neutral-soft);color:var(--shell-color-text)}.shell-task-editor-submit{display:flex;align-items:center;gap:var(--shell-spacing-xs);padding:var(--shell-spacing-sm) var(--shell-spacing-lg);border:none;border-radius:var(--shell-radius-md);background:var(--shell-color-brand);color:#fff;font-size:.875rem;font-weight:500;cursor:pointer;transition:all var(--shell-transition-fast)}.shell-task-editor-submit:hover:not(:disabled){background:var(--shell-color-brand-hover);transform:translateY(-1px)}.shell-task-editor-submit:disabled{opacity:.5;cursor:not-allowed}.shell-task-spinner{animation:shell-spin 1s linear infinite}.shell-task-editor-field-date{position:relative}.shell-calendar-trigger{display:flex;align-items:center;justify-content:space-between;gap:var(--shell-spacing-sm);width:100%;padding:var(--shell-spacing-sm) var(--shell-spacing-md);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:.875rem;font-family:inherit;cursor:pointer;transition:all var(--shell-transition-fast);text-align:left}.shell-calendar-trigger:focus,.shell-calendar-trigger:hover{border-color:var(--shell-color-brand)}.shell-calendar-trigger:focus{outline:none;box-shadow:0 0 0 3px var(--shell-surface-brand-soft)}.shell-calendar-trigger svg{flex-shrink:0;color:var(--shell-color-text-muted)}.shell-calendar-value{display:flex;align-items:center;gap:var(--shell-spacing-sm)}.shell-calendar-time{color:var(--shell-color-text-muted);font-size:.8rem}.shell-calendar-placeholder{color:var(--shell-color-text-muted);opacity:.7}.shell-calendar-picker{position:fixed;z-index:10000;min-width:300px;background:var(--shell-color-surface);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-lg);box-shadow:0 10px 40px -10px rgba(0,0,0,.3),0 4px 12px rgba(0,0,0,.1);overflow:hidden}[data-theme=light] .shell-calendar-picker{box-shadow:0 10px 40px -10px rgba(0,0,0,.15),0 4px 12px rgba(0,0,0,.08)}.shell-calendar-header{display:flex;align-items:center;justify-content:space-between;padding:var(--shell-spacing-md);border-bottom:1px solid var(--shell-color-border);background:rgba(0,0,0,.03)}[data-theme=light] .shell-calendar-header{background:rgba(0,0,0,.02)}.shell-calendar-month-year{font-weight:600;font-size:.9rem;color:var(--shell-color-text)}.shell-calendar-nav{display:flex;align-items:center;justify-content:center;width:32px;height:32px;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-calendar-nav:hover{background:var(--shell-surface-brand-weak);color:var(--shell-color-brand)}.shell-calendar-days-header{display:grid;grid-template-columns:repeat(7,1fr);padding:var(--shell-spacing-sm) var(--shell-spacing-md);grid-gap:2px;gap:2px;border-bottom:1px solid var(--shell-color-border)}.shell-calendar-day-name{text-align:center;font-size:.7rem;font-weight:600;color:var(--shell-color-text-muted);text-transform:uppercase;letter-spacing:.05em}.shell-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);padding:var(--shell-spacing-sm) var(--shell-spacing-md);grid-gap:4px;gap:4px}.shell-calendar-cell{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:none;background:transparent;border-radius:var(--shell-radius-full);font-size:.875rem;color:var(--shell-color-text);cursor:pointer;transition:all var(--shell-transition-fast)}.shell-calendar-cell:hover:not(.empty){background:var(--shell-surface-brand-soft);color:var(--shell-color-brand)}.shell-calendar-cell.empty{cursor:default}.shell-calendar-cell.today{font-weight:600;background:var(--shell-surface-brand-weak);color:var(--shell-color-brand)}.shell-calendar-cell.selected{background:var(--shell-color-brand);color:#fff;font-weight:600}.shell-calendar-cell.selected:hover{background:var(--shell-color-brand-hover);color:#fff}.shell-calendar-time-row{display:flex;align-items:center;justify-content:space-between;padding:var(--shell-spacing-sm) var(--shell-spacing-md);border-top:1px solid var(--shell-color-border);background:rgba(0,0,0,.02)}.shell-calendar-time-row label{display:flex;align-items:center;gap:var(--shell-spacing-xs);font-size:.8rem;font-weight:500;color:var(--shell-color-text-muted)}.shell-calendar-time-row input[type=time]{padding:var(--shell-spacing-xs) var(--shell-spacing-sm);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-sm);background:var(--shell-color-surface);color:var(--shell-color-text);font-size:.875rem;font-family:inherit}.shell-calendar-time-row input[type=time]:focus{outline:none;border-color:var(--shell-color-brand)}.shell-calendar-actions{display:flex;flex-wrap:wrap;gap:var(--shell-spacing-xs);padding:var(--shell-spacing-sm) var(--shell-spacing-md);padding-top:0}.shell-calendar-quick-btn{padding:var(--shell-spacing-xs) var(--shell-spacing-sm);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-sm);background:transparent;color:var(--shell-color-text-muted);font-size:.75rem;font-weight:500;cursor:pointer;transition:all var(--shell-transition-fast)}.shell-calendar-quick-btn:hover{background:var(--shell-surface-brand-weak);border-color:var(--shell-color-brand);color:var(--shell-color-brand)}.shell-calendar-clear-btn{padding:var(--shell-spacing-xs) var(--shell-spacing-sm);border:1px solid rgba(239,68,68,.3);border-radius:var(--shell-radius-sm);background:transparent;color:#ef4444;font-size:.75rem;font-weight:500;cursor:pointer;transition:all var(--shell-transition-fast);margin-left:auto}.shell-calendar-clear-btn:hover{background:rgba(239,68,68,.1);border-color:#ef4444}.shell-task-editor-template-row{display:flex;align-items:center;gap:var(--shell-spacing-md);padding:0 var(--shell-spacing-xl);padding-bottom:var(--shell-spacing-md)}.shell-task-editor-template-label{font-size:.75rem;font-weight:500;color:var(--shell-color-text-muted);text-transform:uppercase;letter-spacing:.05em}.shell-task-editor-checklist{margin:var(--shell-spacing-md) var(--shell-spacing-xl);margin-top:var(--shell-spacing-md);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-lg);background:rgba(15,23,42,.1);overflow:hidden}[data-theme=light] .shell-task-editor-checklist{background:rgba(241,245,249,.5)}.shell-task-editor-checklist-header{display:flex;align-items:center;justify-content:space-between;padding:var(--shell-spacing-sm) var(--shell-spacing-md);border-bottom:1px solid var(--shell-color-border);background:rgba(0,0,0,.05)}[data-theme=light] .shell-task-editor-checklist-header{background:rgba(0,0,0,.02)}.shell-task-editor-checklist-header span{font-size:.8rem;font-weight:600;color:var(--shell-color-text-muted);text-transform:uppercase;letter-spacing:.03em}.shell-task-editor-checklist-empty{padding:var(--shell-spacing-md);text-align:center;color:var(--shell-color-text-muted);font-size:.85rem;font-style:italic;margin:0}.shell-task-editor-checklist-list{list-style:none;margin:0;padding:0;max-height:200px;overflow-y:auto}.shell-task-editor-checklist-item{display:flex;align-items:center;justify-content:space-between;padding:var(--shell-spacing-sm) var(--shell-spacing-md);border-bottom:1px solid var(--shell-color-border);transition:background var(--shell-transition-fast)}.shell-task-editor-checklist-item:last-child{border-bottom:none}.shell-task-editor-checklist-item:hover{background:var(--shell-surface-brand-hover)}.shell-task-editor-checklist-item label{display:flex;align-items:center;gap:var(--shell-spacing-sm);flex:1 1;cursor:pointer}.shell-task-editor-checklist-item input[type=checkbox]{width:16px;height:16px;accent-color:var(--shell-color-brand);cursor:pointer}.shell-task-editor-checklist-title{font-size:.875rem;color:var(--shell-color-text)}.shell-task-editor-checklist-required{color:#ef4444;font-weight:600}.shell-task-editor-checklist-remove{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;background:transparent;color:var(--shell-color-text-muted);font-size:1.1rem;border-radius:var(--shell-radius-sm);cursor:pointer;opacity:0;transition:all var(--shell-transition-fast)}.shell-task-editor-checklist-item:hover .shell-task-editor-checklist-remove{opacity:1}.shell-task-editor-checklist-remove:hover{background:rgba(239,68,68,.1);color:#ef4444}.shell-task-editor-checklist-add{display:flex;align-items:center;gap:var(--shell-spacing-sm);padding:var(--shell-spacing-sm) var(--shell-spacing-md);background:rgba(0,0,0,.02);border-top:1px solid var(--shell-color-border)}[data-theme=light] .shell-task-editor-checklist-add{background:rgba(0,0,0,.01)}.shell-task-editor-checklist-input{flex:1 1;padding:var(--shell-spacing-xs) var(--shell-spacing-sm);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-sm);background:var(--shell-color-surface);color:var(--shell-color-text);font-size:.85rem;font-family:inherit}.shell-task-editor-checklist-input:focus{outline:none;border-color:var(--shell-color-brand);box-shadow:0 0 0 2px var(--shell-surface-brand-weak)}.shell-task-editor-checklist-input::placeholder{color:var(--shell-color-text-muted);opacity:.6}.shell-task-editor-checklist-add-btn{padding:var(--shell-spacing-xs) var(--shell-spacing-md);border:1px solid var(--shell-color-brand);border-radius:var(--shell-radius-sm);background:transparent;color:var(--shell-color-brand);font-size:.8rem;font-weight:500;cursor:pointer;transition:all var(--shell-transition-fast)}.shell-task-editor-checklist-add-btn:hover:not(:disabled){background:var(--shell-color-brand);color:#fff}.shell-task-editor-checklist-add-btn:disabled{opacity:.4;cursor:not-allowed}.shell-tips-banner{background:linear-gradient(135deg,var(--shell-surface-brand-faint),rgba(139,92,246,.08));border:1px solid var(--shell-surface-brand-strong);border-radius:var(--shell-radius-lg);padding:var(--shell-spacing-lg);margin-bottom:var(--shell-spacing-lg)}.shell-tips-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--shell-spacing-md)}.shell-tips-title{display:flex;align-items:center;gap:var(--shell-spacing-sm);font-weight:600;font-size:.95rem;color:var(--shell-color-brand)}.shell-tips-dismiss{background:transparent;border:none;color:var(--shell-color-text-muted);cursor:pointer;padding:4px;border-radius:var(--shell-radius-sm);transition:all var(--shell-transition-fast)}.shell-tips-dismiss:hover{background:var(--shell-surface-brand-weak);color:var(--shell-color-text)}.shell-tips-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));grid-gap:var(--shell-spacing-md);gap:var(--shell-spacing-md)}.shell-tips-item{display:flex;gap:var(--shell-spacing-sm);padding:var(--shell-spacing-sm);background:var(--shell-color-surface);border-radius:var(--shell-radius-md);border:1px solid var(--shell-color-border)}.shell-tips-icon{font-size:1.25rem;flex-shrink:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.shell-tips-item strong{display:block;font-size:.85rem;margin-bottom:2px;color:var(--shell-color-text)}.shell-tips-item p{margin:0;font-size:.8rem;color:var(--shell-color-text-muted);line-height:1.4}.shell-tips-item em{color:var(--shell-color-brand);font-style:normal;font-weight:500}}