@layer components{.program-tree{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-md);padding:var(--shell-spacing-lg);color:var(--shell-color-text);box-shadow:var(--shell-shadow-md)}.program-tree-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--shell-spacing-lg);padding-bottom:var(--shell-spacing-md);border-bottom:1px solid var(--shell-color-border)}.program-tree-title{font-size:16px;font-weight:700;color:var(--shell-color-text);margin:0}.program-tree-content{gap:var(--shell-spacing-sm)}.program-tree-content,.program-tree-program{display:flex;flex-direction:column}.program-tree-program-header{display:flex;align-items:center;gap:var(--shell-spacing-md);padding:var(--shell-spacing-md) var(--shell-spacing-sm);background:transparent;border:none;cursor:pointer;width:100%;text-align:left;border-radius:var(--shell-radius-sm);transition:background var(--shell-transition-fast)}.program-tree-program-header:hover{background:rgba(var(--projects-color-accent-rgb),.08)}.program-tree-expand{color:var(--shell-color-text-muted);font-size:10px;width:14px;flex-shrink:0}.program-tree-program-name{font-weight:700;color:var(--shell-color-text);flex:1 1;min-width:0}.program-tree-progress{display:flex;align-items:center;gap:var(--shell-spacing-sm);flex-shrink:0}.program-tree-progress-bar{width:100px;height:8px;background:var(--shell-surface-neutral-strong);border-radius:4px;overflow:hidden}.program-tree-progress-fill{display:block;height:100%;background:linear-gradient(90deg,var(--projects-color-accent),var(--projects-status-active));border-radius:4px;transition:width var(--shell-transition-slow)}.program-tree-progress-text{font-size:12px;font-weight:600;color:var(--shell-color-text-muted);width:40px;text-align:right}.program-tree-health{padding:4px 10px;border-radius:var(--shell-radius-full);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.025em;flex-shrink:0}.program-tree-health.on-track{background:var(--projects-status-active-bg);color:var(--projects-status-active)}.program-tree-health.at-risk{background:var(--projects-status-warning-bg);color:var(--projects-status-warning)}.program-tree-health.complete{background:var(--projects-status-active-bg);color:var(--projects-status-active)}.program-tree-health.not-started{background:var(--shell-surface-neutral-strong);color:var(--shell-color-text-muted)}.program-tree-projects{display:flex;flex-direction:column;margin-left:28px;padding-left:var(--shell-spacing-md);border-left:1px solid var(--shell-color-border)}.program-tree-owner{display:flex;align-items:center;gap:var(--shell-spacing-sm);padding:6px 0;color:var(--shell-color-text-muted);font-size:13px}.program-tree-owner-label{font-weight:500}.program-tree-branch{color:var(--shell-color-text-muted);font-family:monospace;flex-shrink:0}.program-tree-project{display:flex;align-items:center;gap:var(--shell-spacing-sm);padding:var(--shell-spacing-sm) 4px;text-decoration:none;border-radius:var(--shell-radius-sm);transition:background var(--shell-transition-fast)}.program-tree-project:hover{background:rgba(var(--projects-color-accent-rgb),.08)}.program-tree-project.archived{opacity:.6}.program-tree-project.archived:hover{opacity:.8}.program-tree-status-icon{font-size:12px;width:16px;text-align:center;flex-shrink:0}.program-tree-status-icon.active,.program-tree-status-icon.completed{color:var(--projects-status-active)}.program-tree-status-icon.on_hold{color:var(--projects-status-warning)}.program-tree-status-icon.planning{color:var(--shell-color-text-muted)}.program-tree-project-name{color:var(--shell-color-text);font-weight:500;flex:1 1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.program-tree-status-label{font-size:11px;font-weight:600;font-family:monospace;flex-shrink:0}.program-tree-status-label.active,.program-tree-status-label.completed{color:var(--projects-status-active)}.program-tree-status-label.on_hold{color:var(--projects-status-warning)}.program-tree-status-label.planning{color:var(--shell-color-text-muted)}.program-tree-project-progress{font-size:14px;width:20px;text-align:center;flex-shrink:0}.program-tree-project-progress.active,.program-tree-project-progress.completed{color:var(--projects-status-active)}.program-tree-project-progress.on_hold{color:var(--projects-status-warning)}.program-tree-archived,.program-tree-project-progress.planning{color:var(--shell-color-text-muted)}.program-tree-archived{font-size:10px;font-weight:600;background:var(--shell-surface-neutral-strong);padding:2px 6px;border-radius:4px;text-transform:uppercase;letter-spacing:.025em}.program-tree-summary{display:flex;align-items:center;gap:var(--shell-spacing-sm);margin-left:28px;padding-left:var(--shell-spacing-md);padding-top:var(--shell-spacing-xs);padding-bottom:var(--shell-spacing-sm);border-left:1px solid var(--shell-color-border)}.program-tree-summary-text{color:var(--shell-color-text-muted);font-size:13px}.program-tree-ungrouped{margin-top:var(--shell-spacing-lg);padding-top:var(--shell-spacing-lg);border-top:1px solid var(--shell-color-border)}.program-tree-ungrouped-header{padding:var(--shell-spacing-sm)}.program-tree-ungrouped-title{font-weight:600;color:var(--shell-color-text-muted);font-size:13px;text-transform:uppercase;letter-spacing:.05em}.program-tree-empty{display:flex;align-items:center;gap:var(--shell-spacing-sm);padding:6px 4px}.program-tree-empty-text{color:var(--shell-color-text-muted);font-style:italic;font-size:13px}.program-tree-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 24px;text-align:center}.program-tree-empty-icon{font-size:32px;margin-bottom:var(--shell-spacing-md)}.program-tree-empty-title{font-weight:700;color:var(--shell-color-text);margin-bottom:var(--shell-spacing-xs)}.program-tree-empty-desc{color:var(--shell-color-text-muted);font-size:14px}.program-tree-legend{display:flex;align-items:center;gap:var(--shell-spacing-lg);flex-wrap:wrap;margin-top:var(--shell-spacing-lg);padding-top:var(--shell-spacing-md);border-top:1px solid var(--shell-color-border);font-size:12px;color:var(--shell-color-text-muted)}.program-tree-legend-title{font-weight:600;color:var(--shell-color-text-muted)}.program-tree-legend-item{display:flex;align-items:center;gap:var(--shell-spacing-xs)}[data-theme=light] .program-tree-health.complete,[data-theme=light] .program-tree-health.on-track{color:var(--shell-color-positive)}[data-theme=light] .program-tree-health.at-risk{color:#a16207}[data-theme=light] .program-tree-project-progress.active,[data-theme=light] .program-tree-project-progress.completed,[data-theme=light] .program-tree-status-icon.active,[data-theme=light] .program-tree-status-icon.completed,[data-theme=light] .program-tree-status-label.active,[data-theme=light] .program-tree-status-label.completed{color:var(--shell-color-positive)}[data-theme=light] .program-tree-project-progress.on_hold,[data-theme=light] .program-tree-status-icon.on_hold,[data-theme=light] .program-tree-status-label.on_hold{color:#a16207}.widget-library-overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.widget-library-modal{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);width:90%;max-width:560px;max-height:80vh;overflow:hidden;display:flex;flex-direction:column}.widget-library-header{display:flex;align-items:center;justify-content:space-between;padding:var(--shell-spacing-lg);border-bottom:1px solid var(--shell-color-border)}.widget-library-header h2{margin:0;font-size:1.25rem;font-weight:600;color:var(--shell-color-text)}.widget-library-close{width:32px;height:32px;border-radius:var(--shell-radius-sm);background:transparent;color:var(--shell-color-text-muted);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s ease}.widget-library-close:hover{background:var(--shell-color-border);color:var(--shell-color-text)}.widget-library-grid{display:flex;flex-direction:column;gap:2px;padding:var(--shell-spacing-sm);overflow-y:auto}.widget-library-item{display:flex;align-items:center;gap:var(--shell-spacing-md);padding:var(--shell-spacing-md);background:transparent;border:none;border-radius:var(--shell-radius-md);cursor:pointer;text-align:left;transition:all .15s ease;color:var(--shell-color-text)}.widget-library-item:hover{background:var(--shell-color-border)}.widget-library-item-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:var(--shell-color-brand);color:#fff;border-radius:var(--shell-radius-md);flex-shrink:0}.widget-library-item-info{display:flex;flex-direction:column;gap:2px;min-width:0}.widget-library-item-name{font-weight:600;font-size:.95rem;color:var(--shell-color-text)}.widget-library-item-description{font-size:.85rem;color:var(--shell-color-text-muted)}.widget-library-checkbox{width:20px;height:20px;border:2px solid var(--shell-color-border);border-radius:4px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .15s ease}.widget-library-checkbox.checked{background:var(--shell-color-brand);color:#fff}.widget-library-checkbox.checked,.widget-library-item:hover .widget-library-checkbox{border-color:var(--shell-color-brand)}.widget-library-item.selected{background:var(--shell-surface-brand-weak)}.widget-library-item.selected:hover{background:var(--shell-surface-brand-soft)}.widget-library-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)}.widget-library-cancel{padding:8px 16px;border-radius:var(--shell-radius-md);background:transparent;border:1px solid var(--shell-color-border);color:var(--shell-color-text-muted);font-size:.875rem;font-weight:500;cursor:pointer;transition:all .15s ease}.widget-library-cancel:hover{background:var(--shell-color-border);color:var(--shell-color-text)}.widget-library-add{padding:8px 20px;border-radius:var(--shell-radius-md);background:var(--shell-color-brand);border:none;color:#fff;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .15s ease}.widget-library-add:hover:not(:disabled){background:var(--shell-color-brand-hover,#4f46e5)}.widget-library-add:disabled{opacity:.5;cursor:not-allowed}.world-clock-widget{height:100%;display:flex;flex-direction:column;overflow:visible}.world-clock-widget .card-title{flex-shrink:0}.world-clock-settings-btn{margin-left:auto;padding:4px;background:transparent;border:none;color:var(--shell-color-text-muted);cursor:pointer;border-radius:4px;display:flex;align-items:center;justify-content:center;opacity:0;transition:all .15s ease}.world-clock-widget:hover .world-clock-settings-btn{opacity:1}.world-clock-settings-btn:hover{background:var(--shell-color-border);color:var(--shell-color-text)}.world-clock-content{flex:1 1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:8px 12px 12px;min-height:0;overflow:visible}.world-clock-content.compact{padding:4px 8px;gap:4px}.world-clock-compact{gap:8px;width:100%}.world-clock-compact,.world-clock-compact-primary{display:flex;flex-direction:column;align-items:center}.world-clock-compact-primary{gap:2px}.world-clock-compact-time{font-size:1.4rem;font-weight:600;color:var(--shell-color-text);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;line-height:1.1}.world-clock-compact-location{font-size:.75rem;font-weight:500;color:var(--shell-color-brand)}.world-clock-compact-secondary{display:flex;gap:16px;justify-content:center}.world-clock-compact-item{display:flex;flex-direction:column;align-items:center;gap:1px}.world-clock-compact-sec-time{font-size:.85rem;font-weight:500;color:var(--shell-color-text);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.world-clock-compact-sec-location{font-size:.65rem;font-weight:500;color:var(--shell-color-text-muted);text-transform:uppercase}.world-clock-content.horizontal{flex-direction:row;justify-content:space-evenly;align-items:center;gap:24px;padding:8px 16px}.world-clock-content.horizontal .world-clock-primary{flex-direction:row;gap:12px}.world-clock-content.horizontal .world-clock-primary-info{align-items:flex-start}.world-clock-content.horizontal .world-clock-primary-time{font-size:1.25rem}.world-clock-content.horizontal .world-clock-primary-location{font-size:.85rem}.world-clock-content.horizontal .world-clock-primary-date{font-size:.75rem}.world-clock-content.horizontal .world-clock-secondary{gap:12px;flex-direction:column}.world-clock-content.horizontal .world-clock-secondary-item{flex-direction:row;gap:8px}.world-clock-content.horizontal .world-clock-secondary-info{align-items:flex-start}.world-clock-content.horizontal .world-clock-secondary-time{font-size:.8rem}.world-clock-content.horizontal .world-clock-secondary-location{font-size:.65rem}.world-clock-primary{gap:8px}.world-clock-primary,.world-clock-primary-info{display:flex;flex-direction:column;align-items:center}.world-clock-primary-info{gap:2px}.world-clock-primary-time{font-size:1.5rem;font-weight:600;color:var(--shell-color-text);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.world-clock-primary-location{font-size:.95rem;font-weight:500;color:var(--shell-color-brand)}.world-clock-primary-date{font-size:.8rem;color:var(--shell-color-text-muted)}.world-clock-secondary{display:flex;gap:24px;justify-content:center;flex-wrap:wrap}.world-clock-secondary-item{display:flex;flex-direction:column;align-items:center;gap:4px}.world-clock-secondary-info{display:flex;flex-direction:column;align-items:center;gap:1px}.world-clock-secondary-time{font-size:.85rem;font-weight:500;color:var(--shell-color-text);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.world-clock-secondary-location{font-size:.7rem;font-weight:500;color:var(--shell-color-text-muted);text-transform:uppercase;letter-spacing:.5px}.world-clock-analog{display:block}.world-clock-settings-overlay{position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:1002;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.world-clock-settings-modal{position:fixed;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);width:340px;max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);overflow:hidden;z-index:1003;display:flex;flex-direction:column}.world-clock-settings-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--shell-color-border)}.world-clock-settings-header h3{margin:0;font-size:1.1rem;font-weight:600;color:var(--shell-color-text)}.world-clock-settings-close{padding:4px;background:transparent;border:none;color:var(--shell-color-text-muted);cursor:pointer;border-radius:4px;display:flex;align-items:center;justify-content:center;transition:all .15s ease}.world-clock-settings-close:hover{background:var(--shell-color-border);color:var(--shell-color-text)}.world-clock-settings-body{padding:16px;display:flex;flex-direction:column;gap:16px;flex:1 1;overflow-y:auto}.world-clock-settings-field{display:flex;flex-direction:column;gap:8px}.world-clock-settings-field label{font-size:.85rem;font-weight:500;color:var(--shell-color-text-muted)}.world-clock-settings-field select{padding:10px 12px;background:var(--shell-color-bg);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);color:var(--shell-color-text);font-size:.9rem;cursor:pointer;transition:border-color .15s ease}.world-clock-settings-field select:hover{border-color:var(--shell-color-brand)}.world-clock-settings-field select:focus{outline:none;border-color:var(--shell-color-brand);box-shadow:0 0 0 3px var(--shell-surface-brand-weak)}.world-clock-settings-secondary-row{display:flex;gap:8px;align-items:center}.world-clock-settings-secondary-row select{flex:1 1}.world-clock-settings-remove{padding:8px;background:transparent;border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);color:var(--shell-color-text-muted);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s ease}.world-clock-settings-remove:hover{background:rgba(239,68,68,.1);border-color:rgba(239,68,68,.3);color:#ef4444}.world-clock-settings-add{padding:10px;background:transparent;border:1px dashed var(--shell-color-border);border-radius:var(--shell-radius-md);color:var(--shell-color-text-muted);font-size:.85rem;cursor:pointer;transition:all .15s ease}.world-clock-settings-add:hover{border-color:var(--shell-color-brand);color:var(--shell-color-brand);background:var(--shell-surface-brand-hover)}.world-clock-settings-footer{display:flex;justify-content:flex-end;gap:8px;padding:16px 20px;border-top:1px solid var(--shell-color-border)}.world-clock-settings-cancel{padding:8px 16px;background:transparent;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}.world-clock-settings-cancel:hover{background:var(--shell-color-border);color:var(--shell-color-text)}.world-clock-settings-save{padding:8px 20px;background:var(--shell-color-brand);border:none;border-radius:var(--shell-radius-md);color:#fff;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .15s ease}.world-clock-settings-save:hover{background:var(--shell-color-brand-hover,#4f46e5)}.world-clock-zip-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.world-clock-zip-input{width:80px;flex-shrink:0;padding:8px 10px;background:var(--shell-color-bg);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);color:var(--shell-color-text);font-size:.85rem;font-family:inherit;transition:border-color .15s ease}.world-clock-zip-input:focus{outline:none;border-color:var(--shell-color-brand);box-shadow:0 0 0 3px var(--shell-surface-brand-weak)}}@layer components{.world-clock-zip-input::placeholder{color:var(--shell-color-text-muted)}.world-clock-zip-target{flex:1 1;min-width:100px;padding:8px 10px;background:var(--shell-color-bg);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);color:var(--shell-color-text);font-size:.8rem;cursor:pointer}.world-clock-zip-btn{padding:8px 12px;background:var(--shell-color-brand);border:none;border-radius:var(--shell-radius-md);color:#fff;font-size:.8rem;font-weight:500;cursor:pointer;white-space:nowrap;flex-shrink:0;transition:background .15s ease}.world-clock-zip-btn:hover{background:var(--shell-color-brand-hover,#4f46e5)}.world-clock-zip-error{color:#ef4444;font-size:.8rem;margin-top:4px}.world-clock-settings-divider{display:flex;align-items:center;gap:12px;margin:8px 0}.world-clock-settings-divider:after,.world-clock-settings-divider:before{content:"";flex:1 1;height:1px;background:var(--shell-color-border)}.world-clock-settings-divider span{font-size:.75rem;color:var(--shell-color-text-muted);text-transform:uppercase;letter-spacing:.5px}.world-clock-custom-label{font-weight:400;color:var(--shell-color-brand);font-size:.8rem}.world-clock-secondary-label{font-size:.75rem;color:var(--shell-color-brand);padding:2px 6px;background:var(--shell-surface-brand-weak);border-radius:4px;white-space:nowrap}.notes-widget{display:flex;flex-direction:column;height:100%}.notes-widget .shell-card-title{display:flex;align-items:center;gap:var(--shell-spacing-sm)}.notes-widget .shell-card-title svg{flex-shrink:0}.notes-add-btn{margin-left:auto;width:24px;height:24px;border-radius:var(--shell-radius-sm);background:transparent;color:var(--shell-color-text-muted);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s ease}.notes-add-btn:hover{background:var(--shell-color-brand);color:#fff}.notes-loading{padding:var(--shell-spacing-lg)}.notes-empty,.notes-loading{text-align:center;color:var(--shell-color-text-muted)}.notes-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--shell-spacing-xl);flex:1 1}.notes-empty p{margin:0 0 var(--shell-spacing-md)}.notes-create-btn{padding:var(--shell-spacing-sm) var(--shell-spacing-lg);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 .15s ease}.notes-create-btn:hover{background:var(--shell-color-brand-hover,#4f46e5)}.notes-list{flex:1 1;overflow-y:auto;gap:2px;padding:var(--shell-spacing-sm) 0}.notes-list,.notes-list-item{display:flex;flex-direction:column}.notes-list-item{gap:4px;padding:var(--shell-spacing-sm) var(--shell-spacing-md);background:transparent;border:none;border-radius:var(--shell-radius-sm);cursor:pointer;text-align:left;transition:all .15s ease;width:100%}.notes-list-item:hover{background:var(--shell-color-border)}.notes-list-item-header{display:flex;justify-content:space-between;align-items:center;gap:var(--shell-spacing-sm)}.notes-list-item-title{font-weight:500;font-size:.9rem;color:var(--shell-color-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notes-list-item-date{font-size:.75rem;color:var(--shell-color-text-muted);flex-shrink:0}.notes-list-item-preview{font-size:.8rem;color:var(--shell-color-text-muted);line-height:1.4;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.notes-list-item-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.notes-widget-editing{padding:0}.notes-editor-header{display:flex;align-items:center;gap:var(--shell-spacing-sm);padding:var(--shell-spacing-sm) var(--shell-spacing-md);border-bottom:1px solid var(--shell-color-border)}.notes-back-btn{display:flex;align-items:center;gap:4px;padding:var(--shell-spacing-xs) var(--shell-spacing-sm);background:transparent;color:var(--shell-color-text-muted);border:none;border-radius:var(--shell-radius-sm);font-size:.8rem;cursor:pointer;transition:all .15s ease}.notes-back-btn:hover{background:var(--shell-color-border);color:var(--shell-color-text)}.notes-editor-status{margin-left:auto;font-size:.75rem;color:var(--shell-color-text-muted)}.notes-delete-btn{width:28px;height:28px;border-radius:var(--shell-radius-sm);background:transparent;color:var(--shell-color-text-muted);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s ease}.notes-delete-btn:hover{background:rgba(239,68,68,.1);color:#ef4444}.notes-title-input{width:100%;padding:var(--shell-spacing-sm) var(--shell-spacing-md);background:transparent;border:none;border-bottom:1px solid var(--shell-color-border);font-size:1rem;font-weight:600;color:var(--shell-color-text);outline:none}}@layer components{.notes-title-input::placeholder{color:var(--shell-color-text-muted);font-weight:400}.notes-editor-wrapper{flex:1 1;overflow-y:auto;padding:var(--shell-spacing-md)}.notes-editor-content{outline:none;min-height:150px;font-size:.9rem;line-height:1.6;color:var(--shell-color-text)}.notes-editor-content p{margin:0 0 .75em}.notes-editor-content p:last-child{margin-bottom:0}.notes-editor-content h1,.notes-editor-content h2,.notes-editor-content h3{margin:1em 0 .5em;font-weight:600;line-height:1.3}.notes-editor-content h1{font-size:1.5em}.notes-editor-content h2{font-size:1.25em}.notes-editor-content h3{font-size:1.1em}.notes-editor-content ol,.notes-editor-content ul{margin:.5em 0;padding-left:1.5em}.notes-editor-content li{margin:.25em 0}.notes-editor-content blockquote{margin:.75em 0;padding-left:1em;border-left:3px solid var(--shell-color-border);color:var(--shell-color-text-muted)}.notes-editor-content code{background:var(--shell-surface-neutral-strong);padding:.1em .3em;border-radius:3px;font-family:monospace;font-size:.9em}.notes-editor-content pre{background:rgba(15,23,42,.6);color:var(--shell-color-text-inverse);padding:var(--shell-spacing-sm);border-radius:var(--shell-radius-sm);border:1px solid rgba(148,163,184,.25);overflow-x:auto;margin:.75em 0}[data-theme=light] .notes-editor-content pre{background:rgba(148,163,184,.18);color:var(--shell-color-text);border-color:rgba(148,163,184,.3)}.notes-editor-content pre code{background:none;padding:0;font-feature-settings:none;font-variant-ligatures:none;-moz-tab-size:2;tab-size:2}.notes-editor-content pre code .hljs-comment,.notes-editor-content pre code .hljs-quote{color:#94a3b8}.notes-editor-content pre code .hljs-keyword,.notes-editor-content pre code .hljs-literal,.notes-editor-content pre code .hljs-section,.notes-editor-content pre code .hljs-selector-tag,.notes-editor-content pre code .hljs-title{color:#7dd3fc}.notes-editor-content pre code .hljs-attribute,.notes-editor-content pre code .hljs-regexp,.notes-editor-content pre code .hljs-string,.notes-editor-content pre code .hljs-symbol{color:#86efac}.notes-editor-content pre code .hljs-built_in,.notes-editor-content pre code .hljs-number,.notes-editor-content pre code .hljs-type{color:#facc15}.notes-editor-content pre code .hljs-class,.notes-editor-content pre code .hljs-template-variable,.notes-editor-content pre code .hljs-variable{color:#fca5a5}.notes-editor-content pre code .hljs-attr,.notes-editor-content pre code .hljs-name,.notes-editor-content pre code .hljs-tag{color:#e2e8f0}[data-theme=light] .notes-editor-content pre code .hljs-comment,[data-theme=light] .notes-editor-content pre code .hljs-quote{color:#64748b}[data-theme=light] .notes-editor-content pre code .hljs-keyword,[data-theme=light] .notes-editor-content pre code .hljs-literal,[data-theme=light] .notes-editor-content pre code .hljs-section,[data-theme=light] .notes-editor-content pre code .hljs-selector-tag,[data-theme=light] .notes-editor-content pre code .hljs-title{color:#2563eb}[data-theme=light] .notes-editor-content pre code .hljs-attribute,[data-theme=light] .notes-editor-content pre code .hljs-regexp,[data-theme=light] .notes-editor-content pre code .hljs-string,[data-theme=light] .notes-editor-content pre code .hljs-symbol{color:#15803d}[data-theme=light] .notes-editor-content pre code .hljs-built_in,[data-theme=light] .notes-editor-content pre code .hljs-number,[data-theme=light] .notes-editor-content pre code .hljs-type{color:#b45309}[data-theme=light] .notes-editor-content pre code .hljs-class,[data-theme=light] .notes-editor-content pre code .hljs-template-variable,[data-theme=light] .notes-editor-content pre code .hljs-variable{color:#b91c1c}[data-theme=light] .notes-editor-content pre code .hljs-attr,[data-theme=light] .notes-editor-content pre code .hljs-name,[data-theme=light] .notes-editor-content pre code .hljs-tag{color:#1f2937}.notes-editor-content p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:var(--shell-color-text-muted);pointer-events:none;height:0}.mention{background:var(--shell-surface-brand-soft);color:var(--shell-color-brand);padding:.1em .3em;border-radius:3px;font-weight:500}.mention-popup{position:fixed;z-index:1100;background:var(--shell-color-surface);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);box-shadow:0 8px 24px rgba(0,0,0,.2);min-width:200px;max-width:320px;max-height:280px;overflow-y:auto}.mention-suggestions{padding:var(--shell-spacing-xs)}.mention-empty{padding:var(--shell-spacing-md);text-align:center;color:var(--shell-color-text-muted);font-size:.85rem}.mention-item{display:flex;align-items:center;gap:var(--shell-spacing-sm);width:100%;padding:var(--shell-spacing-sm);background:transparent;border:none;border-radius:var(--shell-radius-sm);cursor:pointer;text-align:left;transition:background .1s ease}.mention-item.selected,.mention-item:hover{background:var(--shell-color-border)}.mention-item-type{font-size:.65rem;text-transform:uppercase;font-weight:600;color:var(--shell-color-text-muted);background:var(--shell-surface-neutral-strong);padding:2px 6px;border-radius:3px;flex-shrink:0}.mention-item-name{font-size:.875rem;font-weight:500;color:var(--shell-color-text);flex:1 1}.mention-item-name,.mention-item-subtitle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mention-item-subtitle{font-size:.75rem;color:var(--shell-color-text-muted)}.notes-tags{display:flex;flex-wrap:wrap;gap:6px;padding:var(--shell-spacing-sm) var(--shell-spacing-md);border-top:1px solid var(--shell-color-border)}.notes-tag,.notes-tag-mini{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:.75rem;font-weight:500}.notes-tag{background:var(--shell-surface-brand-soft);color:var(--shell-color-brand)}.notes-tag-mini{padding:1px 6px;font-size:.65rem}.notes-tag-user{background:rgba(59,130,246,.15);color:#3b82f6}.notes-tag-company{background:rgba(16,185,129,.15);color:#10b981}.notes-tag-person{background:rgba(139,92,246,.15);color:#8b5cf6}.notes-tag-project{background:rgba(245,158,11,.15);color:#f59e0b}.notes-tag-task{background:rgba(236,72,153,.15);color:#ec4899}.notes-tag-custom{background:var(--shell-surface-neutral-strong)}.notes-tag-custom,.notes-tag-more{color:var(--shell-color-text-muted)}.notes-tag-more{background:var(--shell-surface-neutral-soft)}.pinned-chat-widget{display:flex;flex-direction:column;height:100%;overflow:hidden}.pinned-chat-header{display:flex;align-items:center;gap:8px;padding:var(--shell-spacing-sm) var(--shell-spacing-md);border-bottom:1px solid var(--shell-color-border);flex-shrink:0}.pinned-chat-header-icon{display:flex;align-items:center;justify-content:center;color:var(--shell-color-text-muted)}.pinned-chat-header-title{font-size:.875rem;font-weight:600;color:var(--shell-color-text);flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pinned-chat-header-settings{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;background:transparent;color:var(--shell-color-text-muted);cursor:pointer;border-radius:4px;transition:background .15s ease,color .15s ease}.pinned-chat-header-settings:hover{background:var(--shell-color-border);color:var(--shell-color-text)}.pinned-chat-messages{flex:1 1;overflow-y:auto;padding:var(--shell-spacing-sm) var(--shell-spacing-md);display:flex;flex-direction:column;gap:8px}.pinned-chat-message{display:flex;flex-direction:column;gap:2px}.pinned-chat-message-header{display:flex;align-items:baseline;gap:6px}.pinned-chat-message-author{font-size:.75rem;font-weight:600;color:var(--shell-color-text)}.pinned-chat-message-time{font-size:.65rem;color:var(--shell-color-text-muted)}.pinned-chat-message-content{font-size:.8rem;color:var(--shell-color-text);line-height:1.4;word-break:break-word}.pinned-chat-input-area{display:flex;align-items:center;gap:8px;padding:var(--shell-spacing-sm) var(--shell-spacing-md);border-top:1px solid var(--shell-color-border);flex-shrink:0}.pinned-chat-input{flex:1 1;padding:8px 12px;border:1px solid var(--shell-color-border);border-radius:6px;background:var(--shell-color-bg-secondary);color:var(--shell-color-text);font-size:.8rem;min-height:32px;max-height:80px;white-space:pre-wrap;overflow-y:auto;outline:none}.pinned-chat-input:focus{border-color:var(--shell-color-brand)}}@layer components{.pinned-chat-input::placeholder{color:var(--shell-color-text-muted)}.pinned-chat-input[contenteditable=true]:empty:before{content:attr(data-placeholder);color:var(--shell-color-text-muted);pointer-events:none}.pinned-chat-send{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:var(--shell-color-brand);color:#fff;border-radius:6px;cursor:pointer;transition:background .15s ease;flex-shrink:0}.pinned-chat-send:hover:not(:disabled){background:var(--shell-color-brand-hover,#5b5fc7)}.pinned-chat-send:disabled{opacity:.5;cursor:not-allowed}.pinned-chat-empty{flex:1 1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:var(--shell-spacing-lg);text-align:center}.pinned-chat-empty-icon{color:var(--shell-color-text-muted);opacity:.5}.pinned-chat-empty-text{font-size:.85rem;color:var(--shell-color-text-muted)}.pinned-chat-select-btn{padding:8px 16px;background:var(--shell-color-brand);color:#fff;border:none;border-radius:6px;font-size:.8rem;font-weight:500;cursor:pointer;transition:background .15s ease}.pinned-chat-select-btn:hover{background:var(--shell-color-brand-hover,#5b5fc7)}.conversation-picker-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:10000}.conversation-picker-modal{background:var(--shell-color-bg);border-radius:12px;width:90%;max-width:420px;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 20px 60px rgba(0,0,0,.3);border:1px solid var(--shell-color-border)}.conversation-picker-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}.conversation-picker-header h3{margin:0;font-size:1rem;font-weight:600;color:var(--shell-color-text)}.conversation-picker-close{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;background:transparent;color:var(--shell-color-text-muted);cursor:pointer;border-radius:4px;transition:background .15s ease}.conversation-picker-close:hover{background:var(--shell-color-border)}.conversation-picker-search{padding:var(--shell-spacing-sm) var(--shell-spacing-md);border-bottom:1px solid var(--shell-color-border);flex-shrink:0}.conversation-picker-search input{width:100%;padding:8px 12px;border:1px solid var(--shell-color-border);border-radius:6px;background:var(--shell-color-bg-secondary);color:var(--shell-color-text);font-size:.85rem;outline:none}.conversation-picker-search input:focus{border-color:var(--shell-color-brand)}.conversation-picker-search input::placeholder{color:var(--shell-color-text-muted)}.conversation-picker-list{flex:1 1;overflow-y:auto;padding:var(--shell-spacing-sm) 0}.conversation-picker-section{padding:var(--shell-spacing-xs) var(--shell-spacing-md)}.conversation-picker-section-title{font-size:.7rem;font-weight:600;text-transform:uppercase;color:var(--shell-color-text-muted);margin-bottom:6px}.conversation-picker-item{display:flex;align-items:center;gap:10px;padding:8px var(--shell-spacing-md);cursor:pointer;transition:background .15s ease;border:none;background:transparent;width:100%;text-align:left}.conversation-picker-item:hover{background:var(--shell-color-border)}.conversation-picker-item-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:6px;background:var(--shell-surface-brand-weak);color:var(--shell-color-brand);flex-shrink:0}.conversation-picker-item-icon.dm{background:rgba(16,185,129,.1);color:#10b981}.conversation-picker-item-info{flex:1 1;overflow:hidden}.conversation-picker-item-name{font-size:.85rem;font-weight:500;color:var(--shell-color-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-picker-item-description{font-size:.75rem;color:var(--shell-color-text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-picker-empty,.conversation-picker-loading{display:flex;align-items:center;justify-content:center;padding:var(--shell-spacing-xl);color:var(--shell-color-text-muted);font-size:.85rem}.pinned-chat-content{flex:1 1;display:flex;flex-direction:column;overflow:hidden}.pinned-chat-config-btn{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;background:transparent;color:var(--shell-color-text-muted);cursor:pointer;border-radius:4px;margin-left:auto;transition:background .15s ease,color .15s ease}.pinned-chat-config-btn:hover{background:var(--shell-color-border);color:var(--shell-color-text)}.pinned-chat-loading,.pinned-chat-no-messages{display:flex;align-items:center;justify-content:center;padding:var(--shell-spacing-lg);color:var(--shell-color-text-muted);font-size:.85rem;flex:1 1}.pinned-chat-message.own .pinned-chat-message-body{background:var(--shell-surface-brand-weak)}.pinned-chat-message-sender{font-size:.75rem;font-weight:600;color:var(--shell-color-text)}.pinned-chat-message-body{font-size:.8rem;color:var(--shell-color-text);line-height:1.4;word-break:break-word;white-space:pre-wrap;padding:4px 8px;border-radius:6px;background:var(--shell-color-bg-secondary)}.pinned-chat-composer{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:var(--shell-spacing-sm) var(--shell-spacing-md);border-top:1px solid var(--shell-color-border);flex-shrink:0}.pinned-chat-composer-row{display:flex;align-items:center;gap:8px}.pinned-chat-picker-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.3);z-index:10000}.pinned-chat-picker-modal{background:var(--shell-color-bg);border-radius:8px;width:280px;max-height:400px;display:flex;flex-direction:column;box-shadow:0 10px 40px rgba(0,0,0,.3);border:1px solid var(--shell-color-border);overflow:hidden}.pinned-chat-picker-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);flex-shrink:0}.pinned-chat-picker-header h3{margin:0;font-size:.875rem;font-weight:600;color:var(--shell-color-text)}.pinned-chat-picker-close{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;background:transparent;color:var(--shell-color-text-muted);cursor:pointer;border-radius:4px;transition:background .15s ease}.pinned-chat-picker-close:hover{background:var(--shell-color-border)}.pinned-chat-picker-search{padding:var(--shell-spacing-sm);border-bottom:1px solid var(--shell-color-border);flex-shrink:0}.pinned-chat-picker-search input{width:100%;padding:6px 10px;border:1px solid var(--shell-color-border);border-radius:4px;background:var(--shell-color-bg-secondary);color:var(--shell-color-text);font-size:.8rem;outline:none}.pinned-chat-picker-search input:focus{border-color:var(--shell-color-brand)}.pinned-chat-picker-list{flex:1 1;overflow-y:auto;padding:var(--shell-spacing-xs) 0}.pinned-chat-picker-section{padding:var(--shell-spacing-xs) var(--shell-spacing-sm);font-size:.65rem;font-weight:600;text-transform:uppercase;color:var(--shell-color-text-muted)}.pinned-chat-picker-item{display:flex;align-items:center;gap:8px;padding:6px var(--shell-spacing-sm);cursor:pointer;transition:background .15s ease;border:none;background:transparent;width:100%;text-align:left}.pinned-chat-picker-item:hover{background:var(--shell-color-border)}.pinned-chat-picker-icon{display:flex;align-items:center;justify-content:center;width:20px;color:var(--shell-color-text-muted);flex-shrink:0}.pinned-chat-picker-label{font-size:.8rem;color:var(--shell-color-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pinned-chat-picker-empty,.pinned-chat-picker-loading{display:flex;align-items:center;justify-content:center;padding:var(--shell-spacing-lg);color:var(--shell-color-text-muted);font-size:.8rem}.directories-page{display:flex;flex-direction:column;gap:16px;min-height:calc(100vh - 96px)}.directories-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:24px;background:linear-gradient(90deg,#0f172a,#1e293b);color:#e2e8f0;border-radius:12px}.directories-header h1{margin:6px 0;font-size:24px}.directories-kicker{text-transform:uppercase;letter-spacing:.08em;font-size:12px;color:#94a3b8}.directories-subtext{color:#cbd5e1;max-width:640px}.directories-actions{display:flex;gap:8px}.directories-tabs{display:inline-flex;gap:6px;padding:4px;background:#0f172a;border-radius:12px;border:1px solid #1f2937}.directories-tab{border:none;background:transparent;color:#94a3b8;padding:10px 18px;border-radius:10px;cursor:pointer;font-weight:600;transition:all .15s ease;display:flex;align-items:center;gap:8px}.directories-tab:hover{color:#e2e8f0}.directories-tab.active{background:#1f2937;color:#f8fafc}.directories-tab-count{font-size:12px;padding:2px 8px;border-radius:999px;background:hsla(0,0%,100%,.1)}.directories-tab.active .directories-tab-count{background:rgba(56,189,248,.2);color:#38bdf8}.directories-content{display:flex;gap:16px;flex:1 1 auto;align-items:stretch}.directories-list-panel{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:12px}.directories-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.directories-search{flex:1 1;min-width:200px;position:relative}.directories-search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--shell-color-text-muted);pointer-events:none;z-index:1}.directories-search-input{width:100%;padding:10px 12px 10px 38px;border-radius:var(--shell-radius-md);border:1px solid var(--shell-color-border);background:var(--shell-color-surface);color:var(--shell-color-text);font-size:14px;transition:border-color .15s ease}}@layer components{.directories-search-input::placeholder{color:var(--shell-color-text-muted)}.directories-search-input:focus{outline:none;border-color:var(--shell-color-border-focus)}.directories-list-card{padding:0!important;overflow:hidden}.directories-list-header{display:flex;align-items:center;justify-content:space-between;padding:16px;border-bottom:1px solid var(--shell-glass-border)}.directories-list-title{font-weight:700;color:var(--shell-color-text);font-size:14px}.directories-list{display:flex;flex-direction:column;max-height:none;overflow-y:auto}.directories-item{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--shell-glass-border);cursor:pointer;transition:background .15s ease}.directories-item:last-child{border-bottom:none}.directories-item:hover{background:rgba(99,102,241,.05)}.directories-item.selected{background:rgba(99,102,241,.1);border-left:3px solid var(--shell-color-brand);padding-left:13px}.directories-item-avatar{width:40px;height:40px;border-radius:10px;background:linear-gradient(135deg,#6366f1,#8b5cf6);display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;font-size:14px;flex-shrink:0}.directories-item-avatar.person{border-radius:50%;background:linear-gradient(135deg,#0ea5e9,#06b6d4)}.directories-item-avatar.employee{background:linear-gradient(135deg,#10b981,#059669)}.directories-item-info{flex:1 1;min-width:0}.directories-item-name{font-weight:600;color:var(--shell-color-text)}.directories-item-meta,.directories-item-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.directories-item-meta{font-size:13px;color:var(--shell-color-text-muted)}.directories-item-badges{display:flex;gap:6px;flex-shrink:0}.directories-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 24px;text-align:center;color:var(--shell-color-text-muted)}.directories-empty-icon{font-size:48px;margin-bottom:16px;opacity:.5}.directories-empty-title{font-weight:600;color:var(--shell-color-text);margin-bottom:4px}.directories-detail-panel{width:420px;flex-shrink:0;display:flex;flex-direction:column;gap:12px}.directories-detail-card{display:flex;flex-direction:column;gap:16px;flex:1 1 auto}.directories-detail-header{display:flex;align-items:flex-start;gap:16px}.directories-detail-avatar{width:56px;height:56px;border-radius:14px;background:linear-gradient(135deg,#6366f1,#8b5cf6);display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;font-size:20px;flex-shrink:0}.directories-detail-avatar.person{border-radius:50%;background:linear-gradient(135deg,#0ea5e9,#06b6d4)}.directories-detail-avatar.employee{background:linear-gradient(135deg,#10b981,#059669)}.directories-detail-title-area{flex:1 1;min-width:0}.directories-detail-name{font-size:18px;font-weight:700;color:var(--shell-color-text);margin-bottom:4px}.directories-detail-subtitle{font-size:13px;color:var(--shell-color-text-muted)}.directories-detail-badges{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}.directories-section{display:flex;flex-direction:column;gap:12px}.directories-section-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.directories-section-title{font-size:12px;font-weight:700;color:var(--shell-color-text-muted);text-transform:uppercase;letter-spacing:.05em}.directories-form{display:flex;flex-direction:column;gap:12px}.directories-field-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px}.category-multiselect{display:flex;flex-direction:column;gap:6px;position:relative}.category-multiselect-label{font-size:13px;font-weight:500;color:var(--shell-color-text-muted)}.category-multiselect-control{display:flex;align-items:center;gap:8px;min-height:38px;padding:6px 10px;border-radius:var(--shell-radius-md);border:1px solid var(--shell-color-border);background:var(--shell-color-surface);cursor:pointer;transition:border-color .15s ease}.category-multiselect-control:hover{border-color:var(--shell-color-border-focus)}.category-multiselect-control.open{border-color:var(--shell-color-brand)}.category-multiselect-tags{flex:1 1;display:flex;flex-wrap:wrap;gap:4px;min-width:0}.category-multiselect-placeholder{color:var(--shell-color-text-muted);font-size:14px}.category-multiselect-tag{display:inline-flex;align-items:center;gap:4px;padding:2px 6px 2px 8px;border-radius:999px;background:var(--shell-color-brand);color:#fff;font-size:12px;font-weight:500}.category-multiselect-tag-remove{display:flex;align-items:center;justify-content:center;width:16px;height:16px;padding:0;border:none;background:hsla(0,0%,100%,.2);border-radius:50%;cursor:pointer;color:#fff;transition:background .15s ease}.category-multiselect-tag-remove:hover{background:hsla(0,0%,100%,.35)}.category-multiselect-chevron{flex-shrink:0;color:var(--shell-color-text-muted);transition:transform .2s ease}.category-multiselect-control.open .category-multiselect-chevron{transform:rotate(180deg)}.category-multiselect-dropdown{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:50;max-height:240px;overflow:hidden;display:flex;flex-direction:column}[data-theme=light] .category-multiselect-dropdown{background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.15)}.category-multiselect-search{padding:10px 12px;border:none;border-bottom:1px solid var(--shell-color-border);background:inherit;color:var(--shell-color-text);font-size:13px;outline:none}.category-multiselect-search::placeholder{color:var(--shell-color-text-muted)}.category-multiselect-options{overflow-y:auto;max-height:180px}.category-multiselect-option{display:block;width:100%;padding:8px 12px;border:none;background:transparent;color:var(--shell-color-text);font-size:13px;text-align:left;cursor:pointer;transition:background .1s ease}.category-multiselect-option:hover{background:rgba(99,102,241,.1)}.category-multiselect-empty{padding:12px;text-align:center;color:var(--shell-color-text-muted);font-size:13px}.directories-associated-people{display:flex;flex-direction:column;gap:6px}.directories-associated-empty{font-size:13px;color:var(--shell-color-text-muted)}.directories-associated-person{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:8px 10px;border-radius:var(--shell-radius-md);border:1px solid var(--shell-color-border-subtle);background:var(--shell-color-surface-alt);cursor:pointer;text-align:left}.directories-associated-person-main{display:flex;flex-direction:column;gap:2px}.directories-associated-person-name{font-size:13px;font-weight:500;color:var(--shell-color-text)}.directories-associated-person-email{font-size:12px;color:var(--shell-color-text-muted)}.directories-checkbox-label{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--shell-color-text);cursor:pointer}.directories-checkbox-label input[type=checkbox]{width:16px;height:16px;accent-color:var(--shell-color-brand)}.directories-btn-row{display:flex;gap:8px;justify-content:flex-end}.directories-delete-btn{color:var(--shell-color-negative)!important;margin-right:auto}.directories-delete-btn:hover{background:rgba(239,68,68,.1)!important}.directories-delete-confirm-btn{background:var(--shell-color-negative)!important;border-color:var(--shell-color-negative)!important}.directories-delete-confirm-btn:hover:not(:disabled){background:#dc2626!important;border-color:#dc2626!important}.directories-alert{padding:12px 16px;border-radius:var(--shell-radius-md);font-size:13px;display:flex;align-items:center;gap:8px}.directories-alert.error{background:rgba(239,68,68,.15);color:var(--shell-color-negative);border:1px solid rgba(239,68,68,.3)}.directories-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:100}.directories-modal{max-width:480px;width:90%;display:flex;flex-direction:column;gap:16px}.directories-modal-title{font-size:18px;font-weight:700;color:var(--shell-color-text)}.directories-modal-subtitle{font-size:14px;color:var(--shell-color-text-muted);margin-top:-8px}.directories-loading{display:flex;align-items:center;justify-content:center;padding:48px;color:var(--shell-color-text-muted)}.directories-spinner{width:24px;height:24px;border:2px solid var(--shell-color-border);border-top-color:var(--shell-color-brand);border-radius:50%;animation:directories-spin .8s linear infinite;margin-right:12px}@keyframes directories-spin{to{transform:rotate(1turn)}}.directories-collapsible{border:1px solid var(--shell-glass-border);border-radius:var(--shell-radius-md);overflow:hidden;background:var(--shell-color-surface)}.directories-collapsible-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:var(--shell-color-surface-alt);cursor:pointer;transition:background .15s ease}.directories-collapsible-header:hover{background:var(--shell-color-surface-elevated)}.directories-collapsible-title{font-size:13px;font-weight:600;color:var(--shell-color-text)}.directories-collapsible-icon{color:var(--shell-color-text-muted);transition:transform .2s ease}.directories-collapsible.open .directories-collapsible-icon{transform:rotate(180deg)}.directories-collapsible-content{padding:16px}@media (max-width:900px){.directories-content{flex-direction:column}.directories-detail-panel{width:100%}}@media (max-width:600px){.directories-header{flex-direction:column}.directories-field-row{grid-template-columns:1fr}.directories-tabs{width:100%;justify-content:center}}[data-theme=light] .directories-header{background:linear-gradient(90deg,#e2e8f0,#f8fafc);color:#0f172a}[data-theme=light] .directories-kicker{color:#475569}[data-theme=light] .directories-subtext{color:#334155}[data-theme=light] .directories-tabs{background:#e2e8f0;border-color:#cbd5e1}[data-theme=light] .directories-tab{color:#475569}[data-theme=light] .directories-tab.active{background:#fff;color:#0f172a}[data-theme=light] .directories-tab-count{background:rgba(0,0,0,.08)}[data-theme=light] .directories-tab.active .directories-tab-count{background:rgba(14,165,233,.15);color:#0284c7}[data-theme=light] .directories-item:hover{background:rgba(99,102,241,.05)}[data-theme=light] .directories-item.selected{background:rgba(99,102,241,.1)}.calorie-widget{display:flex;flex-direction:column}.calorie-widget-body{display:flex;align-items:center;gap:var(--shell-spacing-md)}.calorie-error,.calorie-loading{display:flex;align-items:center;justify-content:center;flex:1 1;font-size:.85rem}.calorie-stats{display:flex;flex-direction:column;gap:4px;min-width:90px}.calorie-count{display:flex;align-items:baseline;gap:2px}.calorie-consumed{font-size:1.5rem;font-weight:700;color:var(--shell-color-brand)}.calorie-consumed.over{color:#ef4444}.calorie-budget,.calorie-separator{font-size:.85rem;color:var(--shell-color-text-muted)}.calorie-progress-bar{height:4px;background:var(--shell-color-border);border-radius:2px;overflow:hidden}.calorie-progress-fill{height:100%;background:var(--shell-color-brand);border-radius:2px;transition:width .3s ease}.calorie-progress-fill.over{background:#ef4444}.calorie-macros{display:flex;gap:6px;font-size:.65rem;color:var(--shell-color-text-muted)}.calorie-favorites{display:flex;gap:6px;flex:1 1;justify-content:flex-end}.calorie-fav{display:flex;flex-direction:column;align-items:center;justify-content:center;width:136px;height:68px;padding:6px;border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-sm);background:transparent;cursor:pointer;transition:all var(--shell-transition-fast)}.calorie-fav:hover:not(:disabled){background:var(--shell-surface-brand-weak);border-color:var(--shell-color-brand)}.calorie-fav:disabled{opacity:.5;cursor:not-allowed}.calorie-fav-cal{font-size:.9rem;font-weight:600;color:var(--shell-color-brand);line-height:1}.calorie-fav-name{font-size:.7rem;color:var(--shell-color-text-muted);text-align:center;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;margin-top:4px}.calorie-fav-empty{border-style:dashed;color:var(--shell-color-text-muted);font-size:1.25rem;font-weight:300}.calorie-fav-empty:hover{border-style:solid;color:var(--shell-color-brand)}.calorie-fav-add{background:var(--shell-color-brand);border-color:var(--shell-color-brand);color:#fff}.calorie-fav-add:hover:not(:disabled){background:var(--shell-color-brand);opacity:.9}.calorie-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}.calorie-settings-btn:hover{background:var(--shell-color-surface-elevated);color:var(--shell-color-brand)}.calorie-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.85);display:flex;align-items:center;justify-content:center;z-index:var(--shell-z-modal);padding:var(--shell-spacing-lg);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.calorie-modal{background:var(--shell-color-surface);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}.calorie-modal-wide{max-width:600px}.calorie-modal-small{max-width:320px}.calorie-modal-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)}.calorie-modal-header h3{margin:0;font-size:1rem;font-weight:600}.calorie-modal-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)}.calorie-modal-close:hover{background:var(--shell-color-surface-elevated)}.calorie-modal-search{padding:var(--shell-spacing-sm) var(--shell-spacing-lg);border-bottom:1px solid var(--shell-color-border)}.calorie-modal-search 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}.calorie-modal-search input:focus{outline:none;border-color:var(--shell-color-brand)}.calorie-modal-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-xs)}.calorie-modal-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--shell-spacing-sm);padding:var(--shell-spacing-xl);color:var(--shell-color-text-muted)}.calorie-modal-footer{padding:var(--shell-spacing-md) var(--shell-spacing-lg);border-top:1px solid var(--shell-color-border);display:flex;justify-content:flex-end;gap:var(--shell-spacing-sm)}.calorie-food-item{display:flex;align-items:center;justify-content:space-between;padding:var(--shell-spacing-sm) var(--shell-spacing-md);border:none;background:transparent;border-radius:var(--shell-radius-md);cursor:pointer;transition:background var(--shell-transition-fast);text-align:left;width:100%}.calorie-food-item:hover:not(:disabled){background:var(--shell-color-surface-elevated)}.calorie-food-item:disabled{opacity:.5;cursor:not-allowed}.calorie-food-info{display:flex;flex-direction:column;gap:2px}.calorie-food-name{font-size:.9rem;font-weight:500;color:var(--shell-color-text)}.calorie-food-serving{font-size:.75rem;color:var(--shell-color-text-muted)}.calorie-food-cal{font-size:.85rem;font-weight:600;color:var(--shell-color-brand)}.calorie-manage-item{display:flex;align-items:center;gap:var(--shell-spacing-sm);padding:var(--shell-spacing-sm);border-radius:var(--shell-radius-md)}.calorie-manage-item:hover{background:var(--shell-color-surface-elevated)}.calorie-manage-info{flex:1 1;display:flex;flex-direction:column;gap:2px;min-width:0}.calorie-manage-name{font-size:.9rem;font-weight:500}.calorie-manage-brand{font-weight:400;color:var(--shell-color-text-muted)}.calorie-manage-macros{font-size:.7rem;color:var(--shell-color-text-muted);line-height:1.4;word-break:break-word}.calorie-delete-btn,.calorie-edit-btn,.calorie-fav-btn{padding:6px;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}.calorie-fav-btn.active,.calorie-fav-btn:hover{color:#f59e0b}.calorie-edit-btn:hover{color:var(--shell-color-brand);background:var(--shell-surface-brand-weak)}.calorie-delete-btn:hover{color:#ef4444;background:rgba(239,68,68,.1)}.calorie-new-food-form{padding:var(--shell-spacing-md) var(--shell-spacing-lg);border-bottom:1px solid var(--shell-color-border)}.calorie-new-food-form h4{margin:0 0 var(--shell-spacing-sm);font-size:.85rem;font-weight:600;color:var(--shell-color-text-muted)}.calorie-form-row{display:flex;gap:var(--shell-spacing-sm);align-items:center;flex-wrap:wrap}.calorie-form-row+.calorie-form-row{margin-top:var(--shell-spacing-sm)}.calorie-input-name{flex:1 1;min-width:120px}.calorie-input-brand,.calorie-input-name{padding: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}.calorie-input-brand{width:100px}.calorie-input-small{width:80px;padding: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;text-align:center}.calorie-checkbox-label{display:flex;align-items:center;gap:4px;font-size:.8rem;color:var(--shell-color-text-muted);cursor:pointer}.calorie-checkbox-label input[type=checkbox]{accent-color:var(--shell-color-brand)}.calorie-edit-form,.calorie-settings-form{padding:var(--shell-spacing-lg);display:flex;flex-direction:column;gap:var(--shell-spacing-md)}.calorie-edit-form label,.calorie-settings-form label{display:flex;flex-direction:column;gap:var(--shell-spacing-xs);font-size:.85rem;color:var(--shell-color-text-muted)}.calorie-edit-form input,.calorie-settings-form input{padding:var(--shell-spacing-sm) 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:.9rem}.calorie-edit-form input:focus,.calorie-settings-form input:focus{outline:none;border-color:var(--shell-color-brand)}.calorie-edit-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));grid-gap:var(--shell-spacing-sm);gap:var(--shell-spacing-sm)}.calorie-btn-primary,.calorie-btn-secondary{padding:var(--shell-spacing-sm) var(--shell-spacing-md);border-radius:var(--shell-radius-md);font-size:.85rem;font-weight:500;cursor:pointer;transition:all var(--shell-transition-fast)}.calorie-btn-primary{background:var(--shell-color-brand);color:#fff;border:none}.calorie-btn-primary:hover:not(:disabled){opacity:.9}.calorie-btn-primary:disabled{opacity:.5;cursor:not-allowed}.calorie-btn-secondary{background:transparent;color:var(--shell-color-text-muted);border:1px solid var(--shell-color-border)}.calorie-btn-secondary:hover{background:var(--shell-color-surface-elevated);color:var(--shell-color-text)}.calorie-settings-tabs{display:flex;gap:0;border-bottom:1px solid var(--shell-color-border)}.calorie-tab{flex:1 1;padding:var(--shell-spacing-sm) var(--shell-spacing-md);background:transparent;color:var(--shell-color-text-muted);font-size:.85rem;font-weight:500;cursor:pointer;transition:all var(--shell-transition-fast);border:none;border-bottom:2px solid transparent;margin-bottom:-1px}.calorie-tab:hover{color:var(--shell-color-text);background:var(--shell-color-surface-elevated)}.calorie-tab.active{color:var(--shell-color-brand);border-bottom-color:var(--shell-color-brand)}.calorie-settings-section{margin-bottom:var(--shell-spacing-md)}.calorie-settings-section h4{margin:0 0 var(--shell-spacing-sm);font-size:.8rem;font-weight:600;color:var(--shell-color-text-muted);text-transform:uppercase;letter-spacing:.02em}.calorie-macro-goals{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:var(--shell-spacing-sm);gap:var(--shell-spacing-sm)}.calorie-macro-goals label{font-size:.8rem}.calorie-macro-goals input{width:100%}.calorie-library-tab{display:flex;flex-direction:column;max-height:60vh}.calorie-library-search{padding:var(--shell-spacing-sm) var(--shell-spacing-lg);border-bottom:1px solid var(--shell-color-border)}.calorie-library-search 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}.calorie-library-search input:focus{outline:none;border-color:var(--shell-color-brand)}.calorie-library-tab .calorie-modal-list{flex:1 1;min-height:150px}.calorie-library-tab .calorie-modal-footer{border-top:1px solid var(--shell-color-border)}.calorie-library-tab .calorie-new-food-form{border-bottom:1px solid var(--shell-color-border)}.intentions-widget{display:flex;flex-direction:column}.intentions-loading{padding:var(--shell-spacing-lg);font-size:.85rem}.intentions-edit-btn,.intentions-loading{display:flex;align-items:center;justify-content:center;color:var(--shell-color-text-muted)}.intentions-edit-btn{margin-left:auto;padding:4px;border:none;background:transparent;border-radius:var(--shell-radius-sm);cursor:pointer;transition:all var(--shell-transition-fast)}.intentions-edit-btn:hover{background:var(--shell-color-surface-elevated);color:var(--shell-color-brand)}.intentions-editor{display:flex;flex-direction:column;gap:var(--shell-spacing-sm);flex:1 1}.intentions-editor-wrapper{flex:1 1;min-height:120px;border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-md);overflow:hidden}.intentions-editor-content{padding:var(--shell-spacing-md);min-height:120px;font-size:.9rem;line-height:1.6;outline:none}.intentions-editor-content:focus{outline:none}.intentions-editor-content p{margin:0 0 .5em}.intentions-editor-content p:last-child{margin-bottom:0}.intentions-editor-content h1,.intentions-editor-content h2,.intentions-editor-content h3{margin:0 0 .5em;font-weight:600}.intentions-editor-content h1{font-size:1.25rem}.intentions-editor-content h2{font-size:1.1rem}.intentions-editor-content h3{font-size:1rem}.intentions-editor-content ol,.intentions-editor-content ul{margin:0 0 .5em;padding-left:1.5em}.intentions-editor-content li{margin-bottom:.25em}.intentions-editor-content strong{font-weight:600}.intentions-editor-content em{font-style:italic}.intentions-editor-content p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:var(--shell-color-text-muted);float:left;height:0;pointer-events:none}.intentions-actions{display:flex;justify-content:flex-end;gap:var(--shell-spacing-sm)}.intentions-cancel-btn,.intentions-save-btn{padding:var(--shell-spacing-xs) var(--shell-spacing-md);border-radius:var(--shell-radius-md);font-size:.85rem;font-weight:500;cursor:pointer;transition:all var(--shell-transition-fast)}.intentions-save-btn{background:var(--shell-color-brand);color:#fff;border:none}.intentions-save-btn:hover:not(:disabled){opacity:.9}.intentions-save-btn:disabled{opacity:.5;cursor:not-allowed}.intentions-cancel-btn{background:transparent;color:var(--shell-color-text-muted);border:1px solid var(--shell-color-border)}.intentions-cancel-btn:hover{background:var(--shell-color-surface-elevated);color:var(--shell-color-text)}.intentions-display{flex:1 1}.intentions-content{cursor:pointer;padding:var(--shell-spacing-sm);border-radius:var(--shell-radius-md);transition:background var(--shell-transition-fast)}.intentions-content:hover{background:var(--shell-color-surface-elevated)}.intentions-content .intentions-editor-content{padding:0;min-height:auto;font-size:.9rem;line-height:1.7;color:var(--shell-color-text)}.intentions-content .ProseMirror{outline:none;pointer-events:none}.intentions-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--shell-spacing-md);padding:var(--shell-spacing-xl);text-align:center;cursor:pointer;border:1px dashed var(--shell-color-border);border-radius:var(--shell-radius-md);transition:all var(--shell-transition-fast)}.intentions-empty:hover{border-color:var(--shell-color-brand);background:var(--shell-surface-brand-weak)}.intentions-empty p{margin:0;color:var(--shell-color-text-muted);font-size:.9rem;font-style:italic}.intentions-start-btn{padding:var(--shell-spacing-xs) var(--shell-spacing-md);background:var(--shell-color-brand);color:#fff;border:none;border-radius:var(--shell-radius-md);font-size:.85rem;font-weight:500;cursor:pointer;transition:opacity var(--shell-transition-fast)}.intentions-start-btn:hover{opacity:.9}.amazon-finance-container{display:flex;flex-direction:column;height:100%}.amazon-finance-toolbar{display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem;background:var(--shell-color-surface);border-bottom:1px solid var(--shell-color-border);border-radius:var(--shell-radius-lg) var(--shell-radius-lg) 0 0;flex-shrink:0}.amazon-finance-container .shell-persistent-iframe-container{flex:1 1;min-height:0}.amazon-finance-container .shell-embed-frame-full{border-radius:0 0 var(--shell-radius-lg) var(--shell-radius-lg)}.shell-embed-frame{width:100%;height:calc(100vh - 80px);border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-lg);background:var(--shell-color-surface-alt)}.shell-embed-container{display:flex;flex-direction:column;height:calc(100vh - var(--shell-spacing-2xl) * 2)}.shell-embed-header{display:flex;align-items:center;justify-content:space-between;padding-bottom:var(--shell-spacing-md);border-bottom:1px solid var(--shell-color-border);margin-bottom:var(--shell-spacing-md);flex-shrink:0}.shell-embed-header h1{margin:0;font-size:1.125rem;font-weight:600;letter-spacing:-.01em}.shell-embed-warning{font-size:.75rem;padding:4px 8px;border-radius:var(--shell-radius-sm);background:rgba(251,191,36,.15);color:var(--shell-color-warning)}.shell-persistent-iframe-container{width:100%;height:100%}.shell-embed-error,.shell-embed-frame-full{width:100%;height:100%;border:1px solid var(--shell-color-border);border-radius:var(--shell-radius-lg);background:var(--shell-color-surface-alt)}.shell-embed-error{display:flex;align-items:center;justify-content:center;color:var(--shell-color-text-muted)}.shell-embed-error p{text-align:center;max-width:400px;margin:0}.shell-home{width:100%}.shell-home-header{margin-bottom:var(--shell-spacing-2xl)}.shell-home-header h1{margin:0 0 var(--shell-spacing-sm);font-size:1.75rem;font-weight:700;letter-spacing:-.02em}.shell-home-header p{margin:0;color:var(--shell-color-text-muted)}.shell-home-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:var(--shell-spacing-lg);gap:var(--shell-spacing-lg)}}@layer components{@media (max-width:900px){.shell-home-grid{grid-template-columns:1fr}}}@layer legacy{.shell-sidebar{background:var(--shell-gradient-sidebar);border-right:1px solid var(--shell-color-border);padding:var(--shell-spacing-xl);display:flex;flex-direction:column;gap:var(--shell-spacing-xl);position:-webkit-sticky;position:sticky;top:0;height:100vh;overflow-y:auto}[data-theme=light] .shell-sidebar{background:linear-gradient(180deg,#f8fafc,#f1f5f9);border-right-color:var(--shell-color-border-strong)}.shell-brand{font-size:1.25rem;font-weight:700;letter-spacing:-.02em;color:var(--shell-color-text);align-items:center}.shell-brand,.shell-nav{display:flex;gap:var(--shell-spacing-sm)}.shell-nav{flex-direction:column;flex:1 1}.shell-nav-item{padding:var(--shell-spacing-md) var(--shell-spacing-lg);border-radius:var(--shell-radius-md);font-size:.875rem;font-weight:500;color:var(--shell-color-text-muted);transition:background var(--shell-transition-fast),color var(--shell-transition-fast),transform var(--shell-transition-fast);display:flex;align-items:center;gap:var(--shell-spacing-md)}.shell-nav-item:hover{background:var(--shell-surface-brand-faint);color:var(--shell-color-text)}[data-theme=light] .shell-nav-item:hover{background:var(--shell-surface-brand-weak)}.shell-nav-item.active{background:var(--shell-surface-brand-soft);color:var(--shell-color-brand);font-weight:600}.shell-nav-item.disabled{opacity:.5;cursor:not-allowed}.shell-sidebar-footer{margin-top:auto;padding-top:var(--shell-spacing-lg);border-top:1px solid var(--shell-color-border);display:flex;align-items:center;justify-content:space-between}.shell-chat-message{max-width:70%;background:var(--shell-surface-neutral-soft);border-radius:var(--shell-radius-lg);padding:var(--shell-spacing-sm) var(--shell-spacing-md);align-self:flex-start;position:relative}.shell-chat-message.mine{align-self:flex-end;background:var(--shell-surface-brand-strong)}.shell-chat-message-meta{display:flex;justify-content:space-between;font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;color:var(--shell-color-text-muted);margin-bottom:4px}.shell-chat-gif{display:inline-flex;flex-direction:column;gap:4px;max-width:260px}.shell-chat-gif img{border-radius:var(--shell-radius-md);display:block}.shell-chat-gif-attribution{font-size:.7rem;text-transform:uppercase;letter-spacing:.06em;color:var(--shell-color-text-muted)}.shell-chat-gif-preview{margin:var(--shell-spacing-md) 0;padding:var(--shell-spacing-md);border-radius:var(--shell-radius-md);border:1px solid var(--shell-color-border);background:rgba(15,23,42,.35)}[data-theme=light] .shell-chat-gif-preview{background:rgba(241,245,249,.85)}.shell-chat-gif-preview-header{display:flex;justify-content:space-between;font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;color:var(--shell-color-text-muted);margin-bottom:var(--shell-spacing-sm)}.shell-chat-gif-preview-body img{max-width:260px;width:100%;height:auto;border-radius:var(--shell-radius-md);display:block}.shell-chat-gif-preview-actions{display:flex;gap:var(--shell-spacing-sm);margin-top:var(--shell-spacing-sm)}.shell-chat-typing-indicator{margin-top:var(--shell-spacing-sm);font-size:.75rem;color:var(--shell-color-text-muted)}.shell-chat-composer-actions{margin-top:var(--shell-spacing-sm);display:flex;justify-content:space-between;align-items:center;gap:var(--shell-spacing-sm)}.shell-chat-emoji-button{border:1px solid var(--shell-color-border);background:transparent;border-radius:var(--shell-radius-full);padding:4px 10px;cursor:pointer}.shell-chat-emoji-picker{margin-top:var(--shell-spacing-sm);padding:6px 8px;border-radius:var(--shell-radius-md);border:1px solid var(--shell-color-border);background:rgba(15,23,42,.9);display:flex;flex-wrap:wrap;gap:4px}[data-theme=light] .shell-chat-emoji-picker{background:#fff}.shell-chat-emoji-picker button{border:none;background:transparent;cursor:pointer;font-size:1.1rem}.shell-chat-composer{border-top:1px solid var(--shell-color-border);padding-top:var(--shell-spacing-md);display:flex;flex-direction:column;gap:var(--shell-spacing-sm)}.shell-chat-composer textarea{width:100%;border-radius:var(--shell-radius-md);border:1px solid var(--shell-color-border);background:transparent;color:inherit;padding:var(--shell-spacing-md);font-family:inherit;resize:vertical}.dashboard-module-resize{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{opacity:1}.dashboard-module-resize:hover{background:var(--shell-color-brand);color:#fff;border-color:var(--shell-color-brand)}.dashboard-module-full{width:100%;flex:0 0 100%}.dashboard-module-half{width:calc(50% - var(--shell-spacing-lg) / 2);flex:0 0 calc(50% - var(--shell-spacing-lg) / 2)}.dashboard-module-third{width:calc(33.333% - var(--shell-spacing-lg) * 2 / 3);flex:0 0 calc(33.333% - var(--shell-spacing-lg) * 2 / 3)}@media (max-width:900px){.dashboard-module-half,.dashboard-module-third{width:100%;flex:0 0 100%}}}@layer base, components, utilities, legacy;