.fab{position:fixed;bottom:2rem;right:2rem;width:56px;height:56px;border-radius:50%;background:#f59e0b;color:#fff;border:none;cursor:pointer;box-shadow:0 4px 12px #f59e0b66;display:flex;align-items:center;justify-content:center;transition:all .2s ease;z-index:1000}.fab:hover{background:#d97706;transform:scale(1.05);box-shadow:0 6px 16px #f59e0b80}.fab:active{transform:scale(.95)}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:2000;animation:fadeIn .2s ease}.modal-content{background:#fff;border-radius:8px;width:90%;max-width:600px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d;animation:slideUp .3s ease}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e5e5e5}.modal-header h2{font-size:1.5rem;font-weight:600;color:#1a1a1a}.capture-form{padding:1.5rem}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#333;font-size:.9rem}.form-group input,.form-group textarea{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;font-family:inherit;transition:border-color .2s}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b1a}.form-group textarea{resize:vertical;min-height:100px}.detected-chips{margin-top:.5rem;display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.chips-label{font-size:.85rem;color:#666}.chip-preview{display:inline-block;padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:500;color:#fff;text-transform:capitalize}.form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem}.btn-primary,.btn-secondary{padding:.75rem 1.5rem;border:none;border-radius:4px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-primary{background:#f59e0b;color:#fff}.btn-primary:hover:not(:disabled){background:#d97706}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-secondary{background:#f5f5f5;color:#333}.btn-secondary:hover{background:#e5e5e5}.form-hint{margin-top:1rem;text-align:center;color:#999}.form-hint small{font-size:.85rem}.label-with-action{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.template-toggle{padding:.5rem 1rem;border:1px solid #e5e5e5;background:#fff;border-radius:6px;cursor:pointer;font-size:.85rem;font-weight:500;transition:all .2s}.template-toggle:hover{border-color:#f59e0b;background:#fef3c7}.templates-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem;margin-bottom:1rem;padding:1rem;background:#f9fafb;border-radius:6px;border:1px solid #e5e5e5}.template-btn{display:flex;flex-direction:column;align-items:flex-start;padding:.75rem;border:1px solid #e5e5e5;background:#fff;border-radius:6px;cursor:pointer;text-align:left;transition:all .2s}.template-btn:hover{border-color:#f59e0b;background:#fef3c7;transform:translateY(-2px);box-shadow:0 2px 8px #0000001a}.template-btn strong{color:#1a1a1a;margin-bottom:.25rem;font-size:.9rem}.template-preview{color:#666;font-size:.75rem;line-height:1.3}.smart-suggestions{margin:1rem 0;padding:1rem;background:#f0f9ff;border:1px solid #0EA5E9;border-radius:8px}.suggestions-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem;color:#0284c7;font-size:.9rem}.suggestions-icon{font-size:1.2rem}.suggestions-list{display:flex;flex-direction:column;gap:.5rem}.suggestion-card{background:#fff;padding:.75rem;border-radius:6px;border:1px solid #bae6fd;transition:all .2s}.suggestion-card:hover{border-color:#0ea5e9;box-shadow:0 2px 8px #0ea5e933}.suggestion-info{display:flex;flex-direction:column;gap:.25rem}.suggestion-title{font-weight:600;color:#1a1a1a;font-size:.9rem}.suggestion-reason{color:#666;font-size:.8rem;font-style:italic}.suggestion-meta{display:flex;gap:.75rem;font-size:.75rem}.suggestion-type{padding:.2rem .5rem;background:#0ea5e9;color:#fff;border-radius:4px;text-transform:capitalize}.suggestion-confidence{color:#0284c7;font-weight:500}.suggestions-loading{display:flex;align-items:center;gap:.5rem;padding:.75rem;background:#f9fafb;border-radius:6px;margin:1rem 0}.loading-dot{width:6px;height:6px;background:#0ea5e9;border-radius:50%;animation:bounce 1.4s infinite ease-in-out both}.loading-dot:nth-child(1){animation-delay:-.32s}.loading-dot:nth-child(2){animation-delay:-.16s}@keyframes bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.suggestions-loading small{color:#666;margin-left:.5rem}.ai-generate-btn{padding:.5rem 1rem;border:1px solid #8B5CF6;background:#fff;color:#8b5cf6;border-radius:6px;cursor:pointer;font-size:.85rem;font-weight:500;transition:all .2s}.ai-generate-btn:hover:not(:disabled){background:#8b5cf6;color:#fff}.ai-generate-btn:disabled{opacity:.5;cursor:not-allowed}.note-card{position:relative;background:#fff;border-radius:8px;padding:1.5rem;box-shadow:0 2px 4px #0000001a;transition:all .2s;border-left:4px solid #e5e5e5}.note-card__decision-memory{position:absolute;top:1rem;right:1rem;z-index:10;cursor:pointer}.note-card:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.note-card:active{transform:translateY(0)}.note-header{margin-bottom:1rem}.note-title-section{margin-bottom:.75rem}.note-title{font-size:1.25rem;font-weight:600;color:#1a1a1a;margin-bottom:.5rem}.note-meta{display:flex;gap:1rem;font-size:.85rem;color:#666}.note-type{text-transform:capitalize;font-weight:500}.note-date{color:#999}.note-chips{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.5rem}.chip{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:500;color:#fff;text-transform:capitalize}.note-content{margin-bottom:1rem;line-height:1.6;color:#333}.note-content p{margin:0}.note-applies-when{margin-top:1rem;padding:.75rem;background:#f9fafb;border-radius:4px;font-size:.9rem;color:#666;border-left:3px solid #F59E0B}.note-applies-when strong{color:#333}.note-tags{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:1rem}.tag{display:inline-block;padding:.25rem .5rem;background:#f5f5f5;border-radius:4px;font-size:.85rem;color:#666}.note-footer{margin-top:1rem;padding-top:1rem;border-top:1px solid #e5e5e5;font-size:.85rem;color:#999}.note-source{display:flex;align-items:center;gap:.5rem}.note-source a{color:#f59e0b;text-decoration:none}.note-source a:hover{text-decoration:underline}.decision-memory-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .3s cubic-bezier(.4,0,.2,1);padding:6px;border-radius:8px;background:#f1f5f9fa;backdrop-filter:blur(10px) saturate(180%);-webkit-backdrop-filter:blur(10px) saturate(180%);border:1.5px solid rgba(0,0,0,.2);box-shadow:0 3px 8px #0000001f,0 1px 4px #0000001a;opacity:1}.decision-memory-icon--interactive{cursor:pointer}.decision-memory-icon--interactive:focus{outline:2px solid currentColor;outline-offset:2px;border-radius:2px}.decision-memory-icon--default{opacity:1;background:#f1f5f9fa;border-color:#00000038;box-shadow:0 3px 8px #00000024,0 1px 4px #0000001f}.decision-memory-icon--active{opacity:.9;background:#ffffffb3;border-color:#00000014;box-shadow:0 2px 4px #00000014,0 1px 2px #0000001f}.decision-memory-icon--attention{opacity:.95;background:#fff5ebbf;border-color:#f59e0b33;box-shadow:0 2px 6px #f59e0b26,0 1px 3px #f59e0b33}.decision-memory-icon--loading{opacity:.8}.decision-memory-icon--panel-open{opacity:1;transform:scale(1.03);background:#3b82f61a;border-color:#3b82f633;box-shadow:0 4px 12px #3b82f626,0 2px 6px #3b82f633}.decision-memory-icon--hover{opacity:1;transform:translateY(-1px);background:#ffffffd9;backdrop-filter:blur(12px) saturate(200%);-webkit-backdrop-filter:blur(12px) saturate(200%);border-color:#0000001a;box-shadow:0 4px 8px #0000001a,0 2px 4px #00000026}.decision-memory-icon:active{transform:translateY(0) scale(.97);background:#ffffffe6;box-shadow:0 1px 2px #0000001a;transition:all .1s cubic-bezier(.4,0,.2,1)}.decision-memory-icon__svg{display:block;width:100%;height:100%}.decision-memory-icon__line{transition:stroke .2s ease-out,stroke-width .2s ease-out,stroke-opacity .2s ease-out}.decision-memory-icon__line--loading{animation:decision-memory-shimmer 1s ease-in-out infinite}@keyframes decision-memory-shimmer{0%,to{opacity:.5}50%{opacity:1}}.decision-memory-icon__line--attention{animation:decision-memory-pulse 2s ease-in-out infinite}@keyframes decision-memory-pulse{0%,to{opacity:.8}50%{opacity:1}}.decision-memory-icon__anchor{transition:fill .2s ease-out,fill-opacity .2s ease-out}.decision-memory-icon__tooltip{position:absolute;bottom:100%;left:50%;transform:translate(-50%);margin-bottom:6px;padding:4px 8px;background:#000000bf;color:#fffffff2;font-size:11px;font-weight:500;white-space:nowrap;border-radius:4px;pointer-events:none;z-index:1000;opacity:0;animation:decision-memory-tooltip-fade-in .15s ease-out forwards}.decision-memory-icon__tooltip:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border:4px solid transparent;border-top-color:#000000bf}@keyframes decision-memory-tooltip-fade-in{0%{opacity:0;transform:translate(-50%) translateY(4px)}to{opacity:1;transform:translate(-50%) translateY(0)}}@media (prefers-reduced-motion: reduce){.decision-memory-icon,.decision-memory-icon__line,.decision-memory-icon__anchor{transition:none;animation:none}.decision-memory-icon--hover{transform:none}.decision-memory-icon:active{transform:scale(.95)}}.decision-memory-panel__backdrop{position:fixed;top:0;left:0;right:0;bottom:0;background:#0003;z-index:999;animation:decision-memory-backdrop-fade-in .2s ease-out}@keyframes decision-memory-backdrop-fade-in{0%{opacity:0}to{opacity:1}}.decision-memory-panel{position:fixed;top:0;bottom:0;width:400px;max-width:90vw;background:#fff;box-shadow:-2px 0 8px #00000026;z-index:1000;display:flex;flex-direction:column;transform:translate(100%);transition:transform .3s ease-out}.decision-memory-panel--right{right:0;transform:translate(100%)}.decision-memory-panel--left{left:0;transform:translate(-100%)}.decision-memory-panel--open.decision-memory-panel--right,.decision-memory-panel--open.decision-memory-panel--left{transform:translate(0)}.decision-memory-panel__header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #E5E7EB}.decision-memory-panel__title{margin:0;font-size:16px;font-weight:600;color:#111827}.decision-memory-panel__close{background:none;border:none;font-size:24px;line-height:1;color:#6b7280;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s ease-out,color .2s ease-out}.decision-memory-panel__close:hover{background:#f3f4f6;color:#111827}.decision-memory-panel__close:active{background:#e5e7eb}.decision-memory-panel__content{flex:1;padding:20px;overflow-y:auto}.decision-memory-panel__label{display:block;font-size:14px;font-weight:500;color:#374151;margin-bottom:8px}.decision-memory-panel__textarea{width:100%;padding:12px;border:1px solid #D1D5DB;border-radius:6px;font-size:14px;font-family:inherit;line-height:1.5;color:#111827;resize:vertical;min-height:120px;transition:border-color .2s ease-out,box-shadow .2s ease-out}.decision-memory-panel__textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.decision-memory-panel__textarea::placeholder{color:#9ca3af}.decision-memory-panel__hint{margin-top:8px;margin-bottom:20px;padding:8px 12px;background:#f3f4f6;border-radius:4px;border-left:3px solid #3B82F6}.decision-memory-panel__hint small{display:block;font-size:12px;color:#6b7280;line-height:1.4}.decision-memory-panel__date-input{width:100%;padding:8px 12px;border:1px solid #D1D5DB;border-radius:6px;font-size:14px;font-family:inherit;color:#111827;transition:border-color .2s ease-out,box-shadow .2s ease-out}.decision-memory-panel__date-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.decision-memory-panel__footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:16px 20px;border-top:1px solid #E5E7EB;background:#f9fafb}.decision-memory-panel__button{padding:8px 16px;font-size:14px;font-weight:500;border-radius:6px;border:1px solid transparent;cursor:pointer;transition:background-color .2s ease-out,border-color .2s ease-out,color .2s ease-out}.decision-memory-panel__button--cancel{background:#fff;border-color:#d1d5db;color:#374151}.decision-memory-panel__button--cancel:hover{background:#f9fafb;border-color:#9ca3af}.decision-memory-panel__button--cancel:active{background:#f3f4f6}.decision-memory-panel__button--save{background:#3b82f6;color:#fff}.decision-memory-panel__button--save:hover:not(:disabled){background:#2563eb}.decision-memory-panel__button--save:active:not(:disabled){background:#1d4ed8}.decision-memory-panel__button--save:disabled{background:#d1d5db;color:#9ca3af;cursor:not-allowed}@media (prefers-reduced-motion: reduce){.decision-memory-panel,.decision-memory-panel__backdrop{transition:none;animation:none}.decision-memory-panel--open{transform:translate(0)}}@media (max-width: 480px){.decision-memory-panel{width:100%;max-width:100%}}.timeline-view{width:100%}.timeline-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.timeline-header h2{font-size:1.5rem;font-weight:600;color:#1a1a1a}.refresh-btn{padding:.5rem 1rem;background:#f5f5f5;border:1px solid #ddd;border-radius:4px;cursor:pointer;font-size:.9rem;transition:all .2s}.refresh-btn:hover{background:#e5e5e5}.timeline-list{display:flex;flex-direction:column;gap:1.5rem}.timeline-empty{text-align:center;padding:4rem 2rem;color:#666}.empty-icon{font-size:4rem;margin-bottom:1rem}.timeline-empty h3{font-size:1.5rem;margin-bottom:.5rem;color:#333}.timeline-empty p{font-size:1rem;color:#999}.note-detail-modal{background:#fff;border-radius:8px;width:90%;max-width:700px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d;animation:slideUp .3s ease}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e5e5e5;position:sticky;top:0;background:#fff;z-index:10}.modal-header h2{font-size:1.5rem;font-weight:600;color:#1a1a1a;margin:0}.modal-close{background:none;border:none;font-size:2rem;color:#666;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background .2s}.modal-close:hover{background:#f5f5f5}.note-detail-content{padding:1.5rem}.detail-section{margin-bottom:1.5rem}.detail-section label{display:block;font-size:.85rem;font-weight:600;color:#666;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.5rem}.detail-section h3{font-size:1.25rem;font-weight:600;color:#1a1a1a;margin:0}.note-content-text{font-size:.95rem;line-height:1.5;color:#333;white-space:pre-wrap;margin:0}.note-content-text .jira-comment{margin-bottom:.5rem}.note-content-text .jira-comment-header{font-size:.8rem;color:#6b7280;margin-bottom:2px}.detail-row{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.note-type-badge,.status-badge{display:inline-block;padding:.25rem .75rem;border-radius:12px;font-size:.85rem;font-weight:500;text-transform:capitalize}.note-type-badge{background:#d4a574;color:#78350f}.status-badge{background:#10b981;color:#fff}.chips-list,.tags-list{display:flex;gap:.5rem;flex-wrap:wrap}.chip-badge{display:inline-flex;align-items:center;gap:.25rem;padding:.5rem 1rem;border-radius:16px;font-size:.85rem;font-weight:500;color:#fff;text-transform:capitalize}.tag-badge{display:inline-block;padding:.5rem 1rem;background:#f5f5f5;border-radius:16px;font-size:.85rem;color:#666}.applies-when-text{padding:.75rem;background:#f9fafb;border-radius:4px;border-left:3px solid #F59E0B;margin:0;color:#666}.reaffirm-section{margin-top:2rem;padding-top:2rem;border-top:2px solid #e5e5e5}.reaffirm-buttons{display:flex;gap:1rem;margin-top:1rem}.btn-reaffirm-yes,.btn-reaffirm-no{flex:1;padding:.75rem 1.5rem;border:none;border-radius:4px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-reaffirm-yes{background:#10b981;color:#fff}.btn-reaffirm-yes:hover:not(:disabled){background:#059669}.btn-reaffirm-no{background:#f5f5f5;color:#333}.btn-reaffirm-no:hover:not(:disabled){background:#e5e5e5}.btn-reaffirm-yes:disabled,.btn-reaffirm-no:disabled{opacity:.5;cursor:not-allowed}.outcome-section{margin-top:.5rem}.outcome-row{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:.5rem 0 .75rem}.outcome-latest{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.outcome-label{color:#666;font-size:.9rem;font-weight:500}.outcome-badge{display:inline-flex;align-items:center;gap:.4rem;padding:.35rem .65rem;border-radius:999px;font-size:.85rem;font-weight:600;border:1px solid #e5e5e5;background:#f9fafb;color:#111827}.outcome-badge.outcome-worked{background:#10b981;border-color:#059669;color:#fff}.outcome-badge.outcome-partial{background:#f59e0b;border-color:#d97706;color:#fff}.outcome-badge.outcome-didnt{background:#ef4444;border-color:#dc2626;color:#fff}.outcome-badge.outcome-unknown{background:#f3f4f6;border-color:#d1d5db;color:#374151}.outcome-input-row{margin:.75rem 0}.outcome-note-input{width:100%;padding:.65rem .75rem;border-radius:8px;border:1px solid #e5e5e5;background:#fff;font-size:.95rem}.outcome-note-input:focus{outline:none;border-color:#0ea5e9;box-shadow:0 0 0 3px #0ea5e926}.outcome-buttons{display:flex;gap:.75rem;flex-wrap:wrap}.btn-outcome{padding:.65rem .9rem;border-radius:8px;border:1px solid #e5e5e5;background:#fff;font-weight:600;cursor:pointer;transition:all .2s;color:#374151}.btn-outcome-worked{border-color:#10b981;color:#10b981}.btn-outcome-partial{border-color:#f59e0b;color:#f59e0b}.btn-outcome-didnt{border-color:#ef4444;color:#ef4444}.btn-outcome:hover:not(:disabled){transform:translateY(-1px)}.btn-outcome:disabled{opacity:.6;cursor:not-allowed}.btn-outcome-worked:hover:not(:disabled){border-color:#059669;background:#10b981;color:#fff}.btn-outcome-partial:hover:not(:disabled){border-color:#d97706;background:#f59e0b;color:#fff}.btn-outcome-didnt:hover:not(:disabled){border-color:#dc2626;background:#ef4444;color:#fff}.outcome-hint{margin-top:.75rem;font-size:.85rem;color:#6b7280}.tension-view{padding:2rem;max-width:1200px;margin:0 auto}.tension-header{margin-bottom:2rem;display:flex;justify-content:space-between;align-items:flex-start}.detect-btn{padding:.5rem 1rem;border:2px solid #6366F1;background:#fff;color:#6366f1;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.detect-btn:hover:not(:disabled){background:#6366f1;color:#fff}.detect-btn:disabled{opacity:.6;cursor:not-allowed}.tension-header h2{font-size:2rem;margin-bottom:.5rem;color:#1a1a1a}.tension-subtitle{color:#666;font-size:.95rem}.tension-filters{display:flex;gap:.75rem;margin-bottom:2rem;flex-wrap:wrap}.tension-assignment-filters{display:flex;align-items:center;gap:.5rem;margin-top:-1rem;margin-bottom:2rem;flex-wrap:wrap}.filter-label{font-size:.85rem;color:#6b7280;font-weight:700}.filter-btn{padding:.5rem 1rem;border:2px solid #e5e5e5;background:#fff;border-radius:8px;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .2s}.filter-btn-compact{padding:.35rem .75rem;font-size:.85rem}.filter-btn:hover{border-color:#f59e0b;background:#fef3c7}.filter-btn.active{border-color:#f59e0b;background:#f59e0b;color:#fff}.tension-loading{text-align:center;padding:3rem;color:#666}.tension-empty{text-align:center;padding:4rem 2rem}.tension-empty .empty-icon{font-size:4rem;margin-bottom:1rem}.tension-empty h3{font-size:1.5rem;color:#1a1a1a;margin-bottom:.5rem}.tension-empty p{color:#666}.tension-list{display:flex;flex-direction:column;gap:1rem}.tension-item{display:flex;gap:1rem;padding:1.5rem;background:#fff;border-radius:8px;border-left:4px solid #e5e5e5;box-shadow:0 2px 4px #0000001a;transition:all .2s}.tension-item:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.tension-severity-high{border-left-color:#ef4444;background:#fef2f2}.tension-severity-medium{border-left-color:#f59e0b;background:#fffbeb}.tension-severity-low{border-left-color:#0ea5e9;background:#f0f9ff}.tension-icon{font-size:2rem;flex-shrink:0}.tension-content{flex:1}.tension-title{font-size:1.1rem;font-weight:600;color:#1a1a1a;margin-bottom:.5rem}.tension-description{color:#666;margin-bottom:.75rem;font-size:.9rem}.tension-note-ref{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.note-link{color:#f59e0b;cursor:pointer;font-size:.85rem;font-weight:500;text-decoration:none;padding:.25rem .5rem;border-radius:4px;background:#f59e0b1a;transition:all .2s}.note-link:hover{background:#f59e0b33;text-decoration:underline}.separator{color:#999;font-size:.85rem}.tension-action{display:flex;align-items:center;flex-shrink:0}.action-label{font-size:.85rem;color:#666;font-style:italic}.tension-assignee{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;justify-content:flex-end;margin-left:.75rem}.assignee-editor{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;justify-content:flex-end}.assignee-input{padding:.35rem .6rem;border-radius:8px;border:1px solid #E5E7EB;min-width:180px;font-size:.9rem}.assignee-input:focus{outline:none;border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b26}.assignee-pill{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .6rem;border-radius:999px;background:#f3f4f6;border:1px solid #E5E7EB;color:#374151;font-size:.85rem;font-weight:600}.assign-btn{padding:.35rem .6rem;border-radius:8px;border:1px solid #F59E0B;background:#fef3c7;color:#92400e;cursor:pointer;font-weight:700;font-size:.85rem;transition:all .15s}.assign-btn:hover{background:#fde68a}.assign-btn.subtle{border-color:#e5e7eb;background:#fff;color:#6b7280}.assign-btn.subtle:hover{background:#f3f4f6}@media (max-width: 768px){.tension-view{padding:1rem}.tension-item,.tension-filters{flex-direction:column}.filter-btn{width:100%}}.context-snapshot{padding:2rem;max-width:1200px;margin:0 auto}.snapshot-header{margin-bottom:2rem}.snapshot-header h2{font-size:2rem;margin-bottom:.5rem;color:#1a1a1a}.snapshot-subtitle{color:#666;font-size:.95rem}.snapshot-loading,.snapshot-error{text-align:center;padding:3rem;color:#666}.snapshot-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:2rem}.stat-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;text-align:center;transition:all .2s}.stat-card.highlight{border:2px solid #F59E0B;background:#fef3c7}.stat-card.highlight .stat-value{color:#92400e}.stat-value{font-size:2.5rem;font-weight:700;color:#f59e0b;margin-bottom:.5rem}.stat-label{color:#666;font-size:.9rem;font-weight:500}.snapshot-section{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:2rem}.snapshot-section h3{font-size:1.25rem;color:#1a1a1a;margin-bottom:1rem}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.group-selector{display:flex;gap:.5rem}.group-btn{padding:.5rem 1rem;border:2px solid #e5e5e5;background:#fff;border-radius:6px;cursor:pointer;font-size:.85rem;font-weight:500;transition:all .2s}.group-btn:hover{border-color:#f59e0b}.group-btn.active{border-color:#f59e0b;background:#f59e0b;color:#fff}.health-bars{display:flex;flex-direction:column;gap:1rem}.health-bar{display:grid;grid-template-columns:180px 1fr 60px;align-items:center;gap:1rem}.health-label{display:flex;align-items:center;gap:.5rem;font-size:.9rem;color:#666}.health-icon{font-size:1.2rem}.health-progress{height:24px;background:#f5f5f5;border-radius:12px;overflow:hidden}.health-fill{height:100%;transition:width .3s ease}.health-fill.excellent{background:linear-gradient(90deg,#10b981,#34d399)}.health-fill.good{background:linear-gradient(90deg,#0ea5e9,#38bdf8)}.health-fill.fair{background:linear-gradient(90deg,#f59e0b,#fbbf24)}.health-fill.poor{background:linear-gradient(90deg,#ef4444,#f87171)}.health-fill.outcome-worked{background:linear-gradient(90deg,#10b981,#34d399)}.health-fill.outcome-partial{background:linear-gradient(90deg,#f59e0b,#fbbf24)}.health-fill.outcome-didnt{background:linear-gradient(90deg,#ef4444,#f87171)}.health-fill.outcome-unrated{background:linear-gradient(90deg,#9ca3af,#d1d5db)}.health-count{text-align:right;font-weight:600;color:#1a1a1a}.category-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem}.category-card{display:flex;align-items:center;gap:1rem;padding:1rem;background:#f9fafb;border-radius:8px;border:1px solid #e5e5e5;transition:all .2s}.category-card.clickable{cursor:pointer}.category-card:hover{background:#f3f4f6;border-color:#f59e0b;transform:translateY(-2px);box-shadow:0 4px 8px #0000001a}.category-icon{width:48px;height:48px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;flex-shrink:0}.category-info{flex:1}.category-name{font-weight:600;color:#1a1a1a;text-transform:capitalize;margin-bottom:.25rem}.category-stats{display:flex;gap:.75rem;font-size:.85rem}.category-count{color:#666}.category-percentage{color:#f59e0b;font-weight:600}.category-summary{display:flex;flex-direction:column;gap:1rem}.category-summary-content{display:flex;flex-wrap:wrap;gap:1rem}.category-summary-item{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#f9fafb;border-radius:6px;border:1px solid #e5e5e5}.category-summary-label{color:#666;font-size:.9rem;text-transform:capitalize}.category-summary-count{color:#1a1a1a;font-weight:600;font-size:.9rem}.category-summary-hint{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:#f0f9ff;border-left:3px solid #3B82F6;border-radius:4px;font-size:.85rem;color:#1e40af}.hint-icon{font-size:1rem}.hint-text{font-style:italic}.recent-list{display:flex;flex-direction:column;gap:.5rem}.recent-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;background:#f9fafb;border-radius:6px;cursor:pointer;transition:all .2s}.recent-item:hover{background:#f3f4f6;transform:translate(4px)}.recent-title{font-weight:500;color:#1a1a1a}.recent-item.clickable{cursor:pointer}.recent-content{flex:1}.recent-meta{display:flex;gap:.75rem;margin-top:.25rem;font-size:.8rem}.recent-type{color:#666;text-transform:capitalize}.recent-health{font-weight:500}.recent-date{color:#999;font-size:.85rem;white-space:nowrap}.empty-state{text-align:center;padding:2rem;color:#999;font-style:italic}.insights-list{display:flex;flex-direction:column;gap:.75rem}.insight-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;border-radius:6px;border-left:3px solid}.insight-item.insight-success{background:#d1fae5;border-color:#10b981;color:#065f46}.insight-item.insight-warning{background:#fef3c7;border-color:#f59e0b;color:#92400e}.insight-item.insight-action{background:#dbeafe;border-color:#3b82f6;color:#1e40af}.insight-item.insight-info{background:#f3f4f6;border-color:#6b7280;color:#374151}.insight-icon{font-size:1.2rem}.insight-text{flex:1;font-size:.9rem}.attention-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem}.attention-card{background:#fef3c7;border:1px solid #F59E0B;border-radius:8px;padding:1rem}.attention-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem;font-weight:600;color:#92400e}.attention-icon{font-size:1.2rem}.attention-list{display:flex;flex-direction:column;gap:.5rem}.attention-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem .75rem;background:#fff;border-radius:4px;cursor:pointer;transition:all .2s}.attention-item:hover{background:#fef3c7;transform:translate(4px)}.attention-note-title{flex:1;font-size:.9rem;color:#1a1a1a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attention-note-health{font-weight:600;color:#ef4444;font-size:.85rem;margin-left:.5rem}.attention-more{text-align:center;padding:.5rem;color:#92400e;font-size:.85rem;font-style:italic}@media (max-width: 768px){.context-snapshot{padding:1rem}.snapshot-stats{grid-template-columns:repeat(2,1fr)}.health-bar{grid-template-columns:1fr;gap:.5rem}.health-count{text-align:left}.category-grid{grid-template-columns:1fr}.section-header{flex-direction:column;align-items:flex-start;gap:1rem}.group-selector{width:100%;flex-direction:column}.group-btn{width:100%}}.ai-chat-panel{position:fixed;right:2rem;bottom:2rem;width:400px;max-height:600px;background:#fff;border-radius:12px;box-shadow:0 10px 40px #0003;display:flex;flex-direction:column;z-index:1500;animation:slideIn .3s ease}@keyframes slideIn{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.chat-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid #e5e5e5;background:linear-gradient(135deg,#f59e0b,#f97316);border-radius:12px 12px 0 0}.chat-title{display:flex;align-items:center;gap:.5rem}.chat-icon{font-size:1.5rem}.chat-title h3{margin:0;color:#fff;font-size:1.1rem}.chat-close{background:none;border:none;color:#fff;font-size:2rem;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background .2s}.chat-close:hover{background:#fff3}.chat-messages{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:1rem;max-height:400px}.message{display:flex;max-width:85%;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.message.user{align-self:flex-end}.message.assistant{align-self:flex-start}.message-content{padding:.75rem 1rem;border-radius:12px;line-height:1.5;white-space:pre-wrap}.message.user .message-content{background:#f59e0b;color:#fff;border-bottom-right-radius:4px}.message.assistant .message-content{background:#f3f4f6;color:#1a1a1a;border-bottom-left-radius:4px}.message-content.typing{display:flex;gap:.25rem;padding:1rem}.typing span{width:8px;height:8px;border-radius:50%;background:#999;animation:typing 1.4s infinite}.typing span:nth-child(2){animation-delay:.2s}.typing span:nth-child(3){animation-delay:.4s}.relevant-notes{margin-top:.75rem;padding-top:.75rem;border-top:1px solid #e5e5e5}.notes-label{font-size:.85rem;color:#666;margin-bottom:.5rem;font-weight:500}.notes-list{display:flex;flex-direction:column;gap:.25rem}.note-ref{display:flex;align-items:center;gap:.5rem;font-size:.8rem}.note-type{padding:.125rem .5rem;background:#f59e0b;color:#fff;border-radius:4px;font-weight:500;text-transform:capitalize}.note-title{color:#666}.chat-actions{padding:.75rem 1rem;border-top:1px solid #e5e5e5;display:flex;justify-content:center}.insight-btn{padding:.5rem 1rem;border:1px solid #e5e5e5;background:#fff;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .2s}.insight-btn:hover:not(:disabled){border-color:#f59e0b;background:#fef3c7}.insight-btn:disabled{opacity:.5;cursor:not-allowed}.chat-input-form{display:flex;gap:.5rem;padding:1rem;border-top:1px solid #e5e5e5}.chat-input-form input{flex:1;padding:.75rem;border:1px solid #e5e5e5;border-radius:8px;font-size:.95rem}.chat-input-form input:focus{outline:none;border-color:#f59e0b}.chat-input-form button{padding:.75rem 1.5rem;background:#f59e0b;color:#fff;border:none;border-radius:8px;cursor:pointer;font-weight:500;transition:background .2s}.chat-input-form button:hover:not(:disabled){background:#d97706}.chat-input-form button:disabled{opacity:.5;cursor:not-allowed}@media (max-width: 768px){.ai-chat-panel{right:1rem;bottom:1rem;width:calc(100% - 2rem);max-height:500px}}.semantic-search{padding:2rem;max-width:1200px;margin:0 auto}.search-header{margin-bottom:2rem}.search-header h2{font-size:2rem;margin-bottom:.5rem;color:#1a1a1a}.search-subtitle{color:#666;font-size:.95rem}.search-form{margin-bottom:2rem}.search-input-container{display:flex;gap:.75rem;margin-bottom:1rem;position:relative}.search-input{flex:1;padding:1rem 1.5rem;border:2px solid #e5e5e5;border-radius:12px;font-size:1rem;transition:all .2s}.search-input:focus{outline:none;border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b1a}.search-btn{padding:1rem 2rem;background:#f59e0b;color:#fff;border:none;border-radius:12px;font-weight:600;cursor:pointer;transition:background .2s}.search-btn:hover:not(:disabled){background:#d97706}.search-btn:disabled{opacity:.5;cursor:not-allowed}.filter-toggle-btn{padding:1rem 1.5rem;border:2px solid #e5e5e5;background:#fff;border-radius:12px;cursor:pointer;font-weight:500;transition:all .2s}.filter-toggle-btn:hover{border-color:#f59e0b;background:#fef3c7}.filter-toggle-btn.active{border-color:#f59e0b;background:#f59e0b;color:#fff}.suggestions-dropdown{position:absolute;top:100%;left:0;right:220px;background:#fff;border:1px solid #e5e5e5;border-radius:8px;box-shadow:0 4px 12px #0000001a;z-index:100;margin-top:.5rem;max-height:300px;overflow-y:auto}.suggestion-item{padding:.75rem 1rem;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:background .2s}.suggestion-item:hover{background:#f9fafb}.suggestion-icon{font-size:1rem}.filters-panel{background:#f9fafb;border:1px solid #e5e5e5;border-radius:12px;padding:1.5rem;margin-top:1rem;animation:slideDown .3s ease}.filter-section{margin-bottom:1.5rem}.filter-section label{display:block;font-weight:600;margin-bottom:.75rem;color:#1a1a1a}.chip-filters{display:flex;flex-wrap:wrap;gap:.5rem}.chip-filter-btn{padding:.5rem 1rem;border:1px solid #e5e5e5;background:#fff;border-radius:8px;cursor:pointer;font-size:.85rem;text-transform:capitalize;transition:all .2s}.chip-filter-btn:hover{border-color:#f59e0b;background:#fef3c7}.chip-filter-btn.active{border-color:#f59e0b;background:#f59e0b;color:#fff}.filter-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:1rem}.filter-group{display:flex;flex-direction:column;gap:.5rem}.filter-group label{font-weight:500;color:#666;font-size:.9rem}.filter-group select,.filter-group input[type=date]{padding:.75rem;border:1px solid #e5e5e5;border-radius:8px;font-size:.95rem}.range-inputs{display:flex;gap:1rem}.range-inputs input[type=range]{flex:1}.filter-actions{display:flex;justify-content:flex-end;margin-top:1rem}.clear-filters-btn{padding:.75rem 1.5rem;border:1px solid #e5e5e5;background:#fff;border-radius:8px;cursor:pointer;font-weight:500;transition:all .2s}.clear-filters-btn:hover{border-color:#ef4444;background:#fee2e2;color:#ef4444}.popular-queries{background:#fff;padding:1.5rem;border-radius:12px;box-shadow:0 2px 4px #0000001a}.popular-queries h3{font-size:1.1rem;margin-bottom:1rem;color:#1a1a1a}.query-tags{display:flex;flex-wrap:wrap;gap:.5rem}.query-tag{padding:.5rem 1rem;background:#f3f4f6;border:1px solid #e5e5e5;border-radius:8px;cursor:pointer;font-size:.9rem;transition:all .2s}.query-tag:hover{border-color:#f59e0b;background:#fef3c7}.search-loading{text-align:center;padding:4rem 2rem}.loading-spinner{width:48px;height:48px;border:4px solid #f3f4f6;border-top-color:#f59e0b;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 1rem}@keyframes spin{to{transform:rotate(360deg)}}.search-results{margin-top:2rem}.results-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #e5e5e5}.results-header h3{font-size:1.25rem;color:#1a1a1a}.search-method{padding:.5rem 1rem;background:#f3f4f6;border-radius:8px;font-size:.85rem;font-weight:500;color:#666}.no-results{text-align:center;padding:4rem 2rem}.no-results-icon{font-size:4rem;margin-bottom:1rem}.no-results h3{font-size:1.5rem;color:#1a1a1a;margin-bottom:.5rem}.no-results p{color:#666}.results-list{display:flex;flex-direction:column;gap:1rem}.result-item{position:relative}.relevance-indicator{position:absolute;left:0;top:0;bottom:0;width:4px;background:#f3f4f6;border-radius:4px 0 0 4px;overflow:hidden}.relevance-bar{height:100%;background:linear-gradient(180deg,#f59e0b,#f97316);transition:width .3s ease}@media (max-width: 768px){.semantic-search{padding:1rem}.search-input-container{flex-direction:column}.suggestions-dropdown{right:0}.filter-row{grid-template-columns:1fr}.chip-filters{max-height:200px;overflow-y:auto}}.saved-views-section{background:#fff;padding:1.5rem;border-radius:12px;box-shadow:0 2px 4px #0000001a;margin-bottom:2rem}.saved-views-section h3{font-size:1.1rem;margin-bottom:1rem;color:#1a1a1a}.saved-views-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem}.saved-view-card{text-align:left;padding:1rem;background:#f9fafb;border:1px solid #e5e5e5;border-radius:8px;cursor:pointer;transition:all .2s}.saved-view-card:hover{border-color:#f59e0b;background:#fef3c7;transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.view-name{font-weight:600;color:#1a1a1a;margin-bottom:.25rem}.view-description{font-size:.85rem;color:#666}.save-view-btn{padding:.75rem 1.5rem;border:1px solid #10B981;background:#fff;color:#10b981;border-radius:8px;cursor:pointer;font-weight:500;transition:all .2s}.save-view-btn:hover{background:#10b981;color:#fff}.save-dialog-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:2000}.save-dialog{background:#fff;padding:2rem;border-radius:12px;width:90%;max-width:400px;box-shadow:0 20px 60px #0000004d}.save-dialog h3{margin-bottom:1rem;color:#1a1a1a}.save-dialog input{width:100%;padding:.75rem;border:1px solid #e5e5e5;border-radius:8px;font-size:1rem;margin-bottom:1rem}.save-dialog-actions{display:flex;gap:.75rem;justify-content:flex-end}.save-dialog-actions button{padding:.75rem 1.5rem;border:none;border-radius:8px;cursor:pointer;font-weight:500;transition:all .2s}.save-dialog-actions button:first-child{background:#f3f4f6;color:#666}.save-dialog-actions button:first-child:hover{background:#e5e7eb}.save-dialog-actions button:last-child{background:#10b981;color:#fff}.save-dialog-actions button:last-child:hover:not(:disabled){background:#059669}.save-dialog-actions button:disabled{opacity:.5;cursor:not-allowed}.notification-center{position:relative}.notification-bell{position:relative;background:none;border:none;font-size:1.5rem;cursor:pointer;padding:.5rem;border-radius:50%;transition:background .2s}.notification-bell:hover{background:#0000000d}.notification-bell.has-notifications{animation:ring 2s ease-in-out infinite}@keyframes ring{0%,to{transform:rotate(0)}10%,30%{transform:rotate(-10deg)}20%,40%{transform:rotate(10deg)}}.notification-badge{position:absolute;top:0;right:0;background:#ef4444;color:#fff;font-size:.7rem;font-weight:700;padding:.2rem .4rem;border-radius:10px;min-width:18px;text-align:center}.notification-dropdown{position:absolute;top:calc(100% + .5rem);right:0;width:400px;max-height:600px;background:#fff;border-radius:12px;box-shadow:0 10px 40px #0003;z-index:1000;display:flex;flex-direction:column;animation:slideDown .2s ease}.notification-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid #e5e5e5}.notification-header h3{margin:0;font-size:1.1rem;color:#1a1a1a}.mark-all-read-btn{padding:.5rem 1rem;border:none;background:#f3f4f6;border-radius:6px;cursor:pointer;font-size:.85rem;font-weight:500;color:#666;transition:all .2s}.mark-all-read-btn:hover:not(:disabled){background:#e5e7eb;color:#1a1a1a}.mark-all-read-btn:disabled{opacity:.5;cursor:not-allowed}.notification-list{flex:1;overflow-y:auto;max-height:500px}.no-notifications{padding:3rem 2rem;text-align:center}.no-notifications-icon{font-size:3rem;margin-bottom:.5rem}.no-notifications p{margin:0;font-weight:600;color:#1a1a1a;margin-bottom:.25rem}.no-notifications small{color:#666;font-size:.85rem}.notification-item{display:flex;align-items:flex-start;gap:1rem;padding:1rem 1.5rem;border-bottom:1px solid #f3f4f6;cursor:pointer;transition:background .2s}.notification-item:hover{background:#f9fafb}.notification-item:last-child{border-bottom:none}.notification-priority-high{background:#fef2f2;border-left:3px solid #EF4444}.notification-priority-high:hover{background:#fee2e2}.notification-priority-medium{border-left:3px solid #F59E0B}.notification-priority-low{border-left:3px solid #0EA5E9}.notification-icon{font-size:1.5rem;flex-shrink:0}.notification-content{flex:1;min-width:0}.notification-title{font-weight:600;color:#1a1a1a;margin-bottom:.25rem;font-size:.95rem}.notification-message{color:#666;font-size:.85rem;line-height:1.4;margin-bottom:.5rem}.notification-time{color:#999;font-size:.75rem}.notification-dismiss{flex-shrink:0;background:none;border:none;font-size:1.5rem;color:#999;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s}.notification-dismiss:hover{background:#f3f4f6;color:#1a1a1a}@media (max-width: 768px){.notification-dropdown{position:fixed;top:60px;right:0;left:0;width:100%;max-width:100%;border-radius:0;max-height:calc(100vh - 60px)}}.avatar-chat{position:fixed;bottom:2rem;right:2rem;width:450px;max-height:700px;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column;z-index:2000;animation:slideUp .3s ease}.avatar-chat-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:1px solid #e5e5e5;background:linear-gradient(135deg,#8b5cf6,#6366f1);border-radius:16px 16px 0 0;color:#fff}.avatar-header-info{display:flex;align-items:center;gap:1rem}.avatar-icon{font-size:2rem;width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:#fff3;border-radius:12px}.avatar-header-info h3{margin:0;font-size:1.1rem;font-weight:600;color:#fff}.avatar-subtitle{margin:.25rem 0 0;font-size:.85rem;opacity:.9;color:#fff}.avatar-header-actions{display:flex;gap:.5rem}.btn-clear,.btn-close{background:#fff3;border:none;color:#fff;width:32px;height:32px;border-radius:8px;cursor:pointer;font-size:1.2rem;display:flex;align-items:center;justify-content:center;transition:background .2s}.btn-clear:hover,.btn-close:hover{background:#ffffff4d}.avatar-messages{flex:1;overflow-y:auto;padding:1.5rem;display:flex;flex-direction:column;gap:1rem;background:#f9fafb;min-height:300px;max-height:400px}.message{display:flex;flex-direction:column}.message-user{align-items:flex-end}.message-avatar{align-items:flex-start}.message-content{display:flex;align-items:flex-start;gap:.75rem;max-width:85%}.message-user .message-content{flex-direction:row-reverse;margin-left:auto}.message-avatar .message-avatar{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#8b5cf6,#6366f1);border-radius:50%;font-size:1.2rem;flex-shrink:0}.message-bubble{padding:.75rem 1rem;border-radius:12px;position:relative}.message-user .message-bubble{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border-bottom-right-radius:4px}.message-avatar .message-bubble{background:#fff;color:#1a1a1a;border:1px solid #e5e5e5;border-bottom-left-radius:4px;box-shadow:0 2px 4px #0000000d}.message-text{font-size:.95rem;line-height:1.5;white-space:pre-wrap;word-wrap:break-word}.message-time{font-size:.75rem;opacity:.7;margin-top:.25rem}.typing-indicator{display:flex;gap:.25rem;padding:.5rem 0}.typing-indicator span{width:8px;height:8px;background:#8b5cf6;border-radius:50%;animation:typing 1.4s infinite}.typing-indicator span:nth-child(2){animation-delay:.2s}.typing-indicator span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{transform:translateY(0);opacity:.7}30%{transform:translateY(-10px);opacity:1}}.avatar-input-form{display:flex;gap:.5rem;padding:1rem 1.5rem;border-top:1px solid #e5e5e5;background:#fff}.avatar-input{flex:1;padding:.75rem 1rem;border:1px solid #e5e5e5;border-radius:12px;font-size:.95rem;font-family:inherit;outline:none;transition:border-color .2s}.avatar-input:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf61a}.avatar-input:disabled{background:#f3f4f6;cursor:not-allowed}.btn-send{padding:.75rem 1.25rem;background:linear-gradient(135deg,#8b5cf6,#6366f1);color:#fff;border:none;border-radius:12px;font-size:1.2rem;cursor:pointer;transition:transform .2s,opacity .2s;display:flex;align-items:center;justify-content:center;min-width:48px}.btn-send:hover:not(:disabled){transform:scale(1.05)}.btn-send:disabled{opacity:.5;cursor:not-allowed}.avatar-suggestions{padding:1rem 1.5rem;border-top:1px solid #e5e5e5;background:#f9fafb;border-radius:0 0 16px 16px}.suggestions-label{font-size:.85rem;color:#666;margin:0 0 .75rem;font-weight:500}.suggestion-chips{display:flex;flex-wrap:wrap;gap:.5rem}.suggestion-chip{padding:.5rem .75rem;background:#fff;border:1px solid #e5e5e5;border-radius:20px;font-size:.85rem;color:#666;cursor:pointer;transition:all .2s}.suggestion-chip:hover{border-color:#8b5cf6;background:#f3f4f6;color:#8b5cf6}@media (max-width: 768px){.avatar-chat{width:calc(100vw - 2rem);right:1rem;bottom:1rem;max-height:calc(100vh - 2rem)}.avatar-messages{max-height:300px}}.graph-view{padding:2rem;max-width:1400px;margin:0 auto}.graph-header{margin-bottom:1.5rem}.graph-header h2{font-size:2rem;margin-bottom:.5rem;color:#1a1a1a}.graph-subtitle{color:#666;font-size:.95rem}.graph-loading{text-align:center;padding:4rem;color:#666;font-size:1.1rem}.graph-controls{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1rem;flex-wrap:wrap}.controls-left{display:flex;gap:.75rem;align-items:center;flex:1}.controls-right{display:flex;gap:.75rem}.graph-search-input{padding:.75rem 1rem;border:1px solid #e5e5e5;border-radius:8px;font-size:.95rem;min-width:200px;flex:1;max-width:300px}.graph-search-input:focus{outline:none;border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b1a}.control-btn.active{background:#fef3c7;border-color:#f59e0b}.focus-btn{background:#fef3c7;border-color:#f59e0b;color:#92400e}.graph-filters-panel{background:#fff;border-radius:8px;padding:1rem;margin-bottom:1rem;border:1px solid #e5e5e5}.filter-group{margin-bottom:1rem}.filter-group:last-child{margin-bottom:0}.filter-group label{display:block;margin-bottom:.5rem;font-weight:600;color:#1a1a1a;font-size:.9rem}.filter-chips{display:flex;gap:.5rem;flex-wrap:wrap}.filter-chip{padding:.5rem 1rem;border:1px solid #e5e5e5;background:#fff;border-radius:20px;cursor:pointer;font-size:.85rem;transition:all .2s;text-transform:capitalize}.filter-chip:hover{border-color:#f59e0b;background:#fef3c7}.filter-chip.active{background:#f59e0b;color:#fff;border-color:#f59e0b}.graph-stats{display:flex;gap:1.5rem;padding:1rem;background:#fff;border-radius:8px;margin-bottom:1rem;flex-wrap:wrap}.stat-item{display:flex;flex-direction:column;align-items:center;gap:.25rem}.stat-value{font-size:1.5rem;font-weight:700;color:#f59e0b}.stat-label{font-size:.85rem;color:#666;text-align:center;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.control-btn{padding:.75rem 1.5rem;border:1px solid #e5e5e5;background:#fff;border-radius:8px;cursor:pointer;font-weight:500;transition:all .2s}.control-btn:hover{border-color:#f59e0b;background:#fef3c7}.graph-legend{display:flex;gap:2rem;padding:1rem;background:#fff;border-radius:8px;margin-bottom:1rem;font-size:.9rem;flex-wrap:wrap}.legend-section{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.legend-section strong{color:#1a1a1a}.legend-item{display:flex;align-items:center;gap:.5rem;color:#666}.legend-dot{width:12px;height:12px;border-radius:50%;border:2px solid #fff}.legend-line{width:20px;height:3px;border-radius:2px}.graph-container{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;overflow:hidden;position:relative}.graph-svg{display:block;background:#fafafa;width:100%;height:100%}.graph-tooltip{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.node{transition:all .2s}.node:hover{filter:brightness(1.2)}.edge{transition:opacity .2s}.edge:hover{opacity:1!important;stroke-width:3!important}.node-info-panel{position:fixed;bottom:2rem;right:2rem;background:#fff;padding:1.5rem;border-radius:12px;box-shadow:0 10px 40px #0003;max-width:300px;z-index:100;animation:slideUp .3s ease}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.node-info-panel h4{margin:0 0 1rem;color:#1a1a1a;font-size:1.1rem}.node-info-panel p{margin:.5rem 0;color:#666;font-size:.9rem}.node-info-panel .panel-actions{display:flex;gap:.5rem;margin-top:1rem}.node-info-panel button{padding:.5rem 1rem;background:#f59e0b;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:500;flex:1}.node-info-panel button:hover{background:#d97706}.edge-info-panel{position:fixed;bottom:2rem;right:2rem;background:#fff;padding:1.5rem;border-radius:12px;box-shadow:0 10px 40px #0003;max-width:300px;z-index:100;animation:slideUp .3s ease}.edge-info-panel h4{margin:0 0 1rem;color:#1a1a1a;font-size:1.1rem}.edge-info-panel p{margin:.5rem 0;color:#666;font-size:.9rem}.edge-info-panel button{margin-top:1rem;padding:.5rem 1rem;background:#f59e0b;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:500;width:100%}.edge-info-panel button:hover{background:#d97706}.graph-empty{text-align:center;padding:4rem;color:#666}.welcome-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:1000;display:flex;align-items:center;justify-content:center;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.welcome-card{background:#fff;border-radius:16px;padding:2rem;max-width:500px;box-shadow:0 20px 60px #0000004d;position:relative;animation:slideUp .3s ease}.welcome-close{position:absolute;top:1rem;right:1rem;background:none;border:none;font-size:1.5rem;cursor:pointer;color:#666;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s}.welcome-close:hover{background:#f3f4f6;color:#1a1a1a}.welcome-card h3{margin:0 0 .5rem;color:#1a1a1a;font-size:1.5rem}.welcome-card>p{color:#666;margin-bottom:1.5rem}.welcome-tips{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem}.tip-item{padding:.75rem;background:#fef3c7;border-radius:8px;border-left:3px solid #F59E0B;font-size:.9rem;color:#92400e}.tip-item strong{color:#78350f}.welcome-dismiss{width:100%;padding:.75rem;background:#f59e0b;color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.welcome-dismiss:hover{background:#d97706}.view-mode-selector{display:flex;gap:.5rem;border:1px solid #e5e5e5;border-radius:8px;padding:2px;background:#f9fafb}.view-mode-btn{padding:.5rem 1rem;border:none;background:transparent;border-radius:6px;cursor:pointer;font-weight:500;font-size:.9rem;transition:all .2s;color:#666}.view-mode-btn:hover{background:#fef3c7;color:#92400e}.view-mode-btn.active{background:#f59e0b;color:#fff}.stat-item.clickable{cursor:pointer;padding:.5rem;border-radius:6px;transition:all .2s}.stat-item.clickable:hover{background:#fef3c7}.action-item{display:flex;align-items:center;justify-content:center}.action-btn{padding:.5rem 1rem;background:#10b981;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:500;font-size:.85rem;transition:all .2s}.action-btn:hover{background:#059669}@media (max-width: 768px){.graph-view{padding:1rem}.graph-legend{flex-direction:column;gap:.75rem}.legend-section{flex-direction:column;align-items:flex-start}.node-info-panel{right:1rem;left:1rem;max-width:none}}.timeline-viz{padding:2rem;max-width:1400px;margin:0 auto}.timeline-header{margin-bottom:1.5rem}.timeline-header h2{font-size:2rem;margin-bottom:.5rem;color:#1a1a1a}.timeline-subtitle{color:#666;font-size:.95rem}.timeline-loading{text-align:center;padding:4rem;color:#666}.timeline-controls{display:flex;flex-wrap:wrap;gap:2rem;padding:1.5rem;background:#fff;border-radius:12px;margin-bottom:1.5rem;box-shadow:0 2px 4px #0000000d}.control-group{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.control-group label{font-weight:600;color:#1a1a1a;font-size:.9rem}.button-group{display:flex;gap:.5rem}.group-btn,.view-btn{padding:.5rem 1rem;border:1px solid #e5e5e5;background:#fff;border-radius:6px;cursor:pointer;font-size:.85rem;font-weight:500;transition:all .2s}.group-btn:hover,.view-btn:hover{border-color:#f59e0b;background:#fef3c7}.group-btn.active,.view-btn.active{border-color:#f59e0b;background:#f59e0b;color:#fff}.control-group input[type=date]{padding:.5rem;border:1px solid #e5e5e5;border-radius:6px;font-size:.85rem}.chart-container{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 2px 8px #0000001a;margin-bottom:1.5rem}.custom-tooltip{background:#fff;padding:1rem;border:1px solid #e5e5e5;border-radius:8px;box-shadow:0 4px 12px #00000026}.tooltip-period{font-weight:600;color:#1a1a1a;margin-bottom:.5rem;font-size:.95rem}.tooltip-count{color:#f59e0b;margin-bottom:.5rem}.tooltip-breakdown{margin-top:.5rem;padding-top:.5rem;border-top:1px solid #e5e5e5}.tooltip-type{font-size:.85rem;color:#666;margin:.25rem 0;text-transform:capitalize}.timeline-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.stat-card{background:#fff;padding:1.5rem;border-radius:12px;box-shadow:0 2px 4px #0000000d;text-align:center}.stat-label{color:#666;font-size:.85rem;margin-bottom:.5rem;font-weight:500}.stat-value{color:#1a1a1a;font-size:2rem;font-weight:700;color:#f59e0b}.no-data{text-align:center;padding:4rem;color:#666}@media (max-width: 768px){.timeline-viz{padding:1rem}.timeline-controls{flex-direction:column;gap:1rem}.control-group{width:100%;flex-direction:column;align-items:flex-start}.button-group{width:100%}.group-btn,.view-btn{flex:1}}.health-trends{padding:2rem;max-width:1400px;margin:0 auto}.trends-header{margin-bottom:1.5rem}.trends-header h2{font-size:2rem;margin-bottom:.5rem;color:#1a1a1a}.trends-subtitle{color:#666;font-size:.95rem}.trends-loading{text-align:center;padding:4rem;color:#666}.chip-selector{background:#fff;padding:1.5rem;border-radius:12px;margin-bottom:1.5rem;box-shadow:0 2px 4px #0000000d}.chip-selector label{font-weight:600;color:#1a1a1a;margin-right:1rem}.chip-buttons{display:flex;gap:.5rem;margin-top:.75rem;flex-wrap:wrap}.chip-btn{padding:.5rem 1rem;border:1px solid #e5e5e5;background:#fff;border-radius:8px;cursor:pointer;font-size:.85rem;text-transform:capitalize;transition:all .2s}.chip-btn:hover{border-color:#f59e0b;background:#fef3c7}.chip-btn.active{border-color:#f59e0b;background:#f59e0b;color:#fff}.health-distribution{background:#fff;padding:1.5rem;border-radius:12px;margin-bottom:1.5rem;box-shadow:0 2px 4px #0000000d}.health-distribution h3{margin-bottom:1rem;color:#1a1a1a;font-size:1.1rem}.distribution-bars{display:flex;flex-direction:column;gap:1rem}.dist-bar{display:flex;flex-direction:column;gap:.5rem}.dist-label{display:flex;justify-content:space-between;font-size:.9rem;color:#666}.dist-count{font-weight:600;color:#1a1a1a}.dist-progress{height:24px;background:#f3f4f6;border-radius:12px;overflow:hidden}.dist-fill{height:100%;transition:width .3s ease}.dist-fill.excellent{background:linear-gradient(90deg,#10b981,#34d399)}.dist-fill.good{background:linear-gradient(90deg,#0ea5e9,#38bdf8)}.dist-fill.fair{background:linear-gradient(90deg,#f59e0b,#fbbf24)}.dist-fill.poor{background:linear-gradient(90deg,#ef4444,#f87171)}.chart-section{background:#fff;padding:1.5rem;border-radius:12px;box-shadow:0 2px 4px #0000000d}.chart-section h3{margin-bottom:1rem;color:#1a1a1a;font-size:1.1rem}.health-tooltip{background:#fff;padding:1rem;border:1px solid #e5e5e5;border-radius:8px;box-shadow:0 4px 12px #00000026}.tooltip-date{font-weight:600;color:#1a1a1a;margin-bottom:.25rem}.tooltip-health{color:#f59e0b;margin:.25rem 0}.tooltip-count{color:#666;font-size:.85rem;margin-top:.25rem}.no-data{text-align:center;padding:3rem;color:#666}@media (max-width: 768px){.health-trends{padding:1rem}.chip-buttons{flex-direction:column}.chip-btn{width:100%}}.webhook-activity{width:100%}.webhook-activity-header{margin-bottom:1.5rem}.webhook-activity-header h2{font-size:1.5rem;font-weight:600;color:#1a1a1a;margin-bottom:.25rem}.webhook-activity-subtitle{color:#666;font-size:.9rem;margin-bottom:1rem}.webhook-activity-toolbar{display:flex;align-items:center;gap:1rem}.webhook-activity-select{padding:.5rem .75rem;border:1px solid #e5e5e5;border-radius:6px;font-size:.95rem;background:#fff}.webhook-activity-refresh{padding:.5rem 1rem;border:2px solid #e5e5e5;border-radius:8px;background:#fff;font-size:.95rem;cursor:pointer;font-weight:500}.webhook-activity-refresh:hover{border-color:#f59e0b;background:#fef3c7}.webhook-activity-loading,.webhook-activity-error,.webhook-activity-empty{padding:2rem;text-align:center;color:#666;background:#f9f9f9;border-radius:8px}.webhook-activity-error{color:#b91c1c;background:#fef2f2}.webhook-activity-table-wrap{overflow-x:auto;border:1px solid #e5e5e5;border-radius:8px;background:#fff}.webhook-activity-table{width:100%;border-collapse:collapse;font-size:.9rem}.webhook-activity-table th,.webhook-activity-table td{padding:.6rem .75rem;text-align:left;border-bottom:1px solid #eee}.webhook-activity-table th{background:#f5f5f5;font-weight:600;color:#374151}.webhook-activity-table tbody tr:hover{background:#fafafa}.webhook-source-badge{display:inline-block;padding:.2rem .5rem;border-radius:4px;font-size:.8rem;font-weight:500;background:#e5e7eb;color:#374151}.webhook-summary{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.webhook-error{max-width:180px;font-size:.85rem;color:#b91c1c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-settings{max-width:1100px;margin:0 auto;padding:2.5rem 2rem 4rem;min-height:60vh;background:linear-gradient(165deg,#f8f9fc,#f0f2f8 45%,#eef0f6);border-radius:24px;position:relative}.admin-settings:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:24px;padding:1px;background:linear-gradient(145deg,#ffffffd9,#fff3);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}.admin-settings h2{font-size:1.875rem;font-weight:600;letter-spacing:-.03em;margin-bottom:.25rem;color:#0f0f12}.admin-settings h3{font-size:.6875rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#8e8e96;margin-bottom:1.25rem;margin-top:2.5rem;padding-bottom:.5rem;border-bottom:1px solid rgba(0,0,0,.06)}.admin-settings h3:first-of-type{margin-top:0}.admin-settings-loading{color:#86868b;margin-top:1rem;font-size:.9375rem}.admin-settings-error{color:#bf4800;margin-top:1rem;font-size:.9375rem}.admin-section{margin-bottom:2rem}.admin-integrations-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem}.integration-card{background:linear-gradient(180deg,#fff,#fafbfd);border:1px solid rgba(255,255,255,.9);border-radius:20px;padding:1.5rem 1.75rem;box-shadow:0 1px #ffffffe6 inset,0 2px 4px #00000008,0 8px 24px #0000000d,0 16px 48px #0000000a;transition:transform .28s cubic-bezier(.34,1.2,.64,1),box-shadow .28s ease,border-color .2s ease}.integration-card:hover{transform:translateY(-4px);box-shadow:0 1px #fffffff2 inset,0 6px 16px #0000000d,0 20px 44px #00000014,0 32px 72px #0000000d;border-color:#fff}.integration-card-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.integration-card-logo{width:28px;height:28px;border-radius:6px;object-fit:contain;flex-shrink:0;background:#fff;padding:2px;box-sizing:border-box}.integration-card-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.integration-card-dot.status-connected{background:linear-gradient(145deg,#34d399,#10b981);box-shadow:0 0 0 1px #34d39966,0 0 14px #10b9814d}.integration-card-dot.status-configured{background:#ff9f0a;box-shadow:0 0 0 1px #ff9f0a59}.integration-card-dot.status-error{background:#ff453a;box-shadow:0 0 0 1px #ff453a59}.integration-card-dot.status-not-configured,.integration-card-dot.status-pending{background:#ff9f0a;box-shadow:0 0 0 1px #ff9f0a4d}.integration-card-name{font-size:1.125rem;font-weight:600;letter-spacing:-.02em;margin:0;color:#0f0f12}.integration-card-body{font-size:.875rem;color:#6e6e73}.integration-card-status{margin:0 0 .5rem;color:#6e6e73;font-size:.8125rem;font-weight:500}.integration-card-activity{margin:0 0 .75rem;color:#28a745;font-weight:600;font-size:.8125rem;letter-spacing:.01em}.integration-card-webhook{margin-bottom:.875rem}.integration-card-webhook label{display:block;margin-bottom:.5rem;color:#8e8e93;font-size:.6875rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.integration-card-webhook-row{display:flex;gap:.5rem;align-items:center}.integration-card-webhook-input{flex:1;padding:.625rem .875rem;border:1px solid #e5e5ea;border-radius:12px;font-size:.8125rem;font-family:ui-monospace,SF Mono,Monaco,monospace;background:#f8f9fc;color:#0c0c0e;transition:border-color .2s ease,background .2s ease,box-shadow .2s ease}.integration-card-webhook-input:focus{outline:none;border-color:#0a84ff;background:#fff;box-shadow:0 0 0 3px #0a84ff26}.integration-card-copy-btn{padding:.5rem 1rem;border:1px solid #e5e5ea;background:#fff;border-radius:12px;font-size:.8125rem;font-weight:500;color:#0c0c0e;cursor:pointer;white-space:nowrap;transition:background .2s ease,border-color .2s ease,color .2s ease}.integration-card-copy-btn:hover{background:#f5f5f7;border-color:#d2d2d7}.integration-card-test-btn{display:block;width:100%;margin-bottom:.75rem;padding:.625rem 1.25rem;border:none;background:linear-gradient(180deg,#0a84ff,#06d);color:#fff;border-radius:12px;font-size:.875rem;font-weight:600;letter-spacing:.01em;cursor:pointer;box-shadow:0 2px 8px #0a84ff40;transition:transform .15s ease,box-shadow .2s ease,background .2s ease}.integration-card-test-btn:hover:not(:disabled){background:linear-gradient(180deg,#409cff,#0a84ff);box-shadow:0 4px 14px #0a84ff59;transform:translateY(-1px)}.integration-card-test-btn:disabled{opacity:.5;cursor:not-allowed;background:#c7c7cc;box-shadow:none}.integration-card-test-result{margin:.5rem 0 0;font-size:.8125rem;font-weight:500}.integration-card-test-result--success{color:#059669}.integration-card-test-result--error{color:#dc2626}.integration-card-guide-toggle{display:block;width:100%;padding:.5rem 0;border:none;background:none;color:#0a84ff;font-size:.8125rem;font-weight:500;cursor:pointer;text-align:left;transition:color .2s ease}.integration-card-guide-toggle:hover{color:#06d}.integration-card-guide{margin:1rem 0 0;padding-left:1.25rem;color:#6e6e73;font-size:.8125rem;line-height:1.65;border-top:1px solid rgba(0,0,0,.06);padding-top:1rem}.integration-card-guide li{margin-bottom:.5rem}.admin-system-card{background:linear-gradient(180deg,#fff,#fcfcfd);border:1px solid rgba(255,255,255,.8);border-radius:20px;padding:1.5rem 1.75rem;max-width:440px;box-shadow:0 1px #ffffffe6 inset,0 2px 4px #00000008,0 8px 24px #0000000d;transition:box-shadow .25s ease}.admin-system-card:hover{box-shadow:0 1px #fffffff2 inset,0 4px 12px #0000000a,0 16px 32px #0000000f}.admin-system-card p{margin:0 0 .75rem;font-size:.9375rem;color:#0c0c0e;line-height:1.5}.admin-system-card p:last-child{margin-bottom:0}.status-connected{color:#28a745;font-weight:600}.status-configured{color:#e68600;font-weight:500}.status-error{color:#ff453a;font-weight:500}.status-not-configured,.status-pending{color:#8e8e93;font-weight:500}.admin-nudge{background:linear-gradient(180deg,#e8f4ff,#f0f7ff);border:1px solid rgba(10,132,255,.25);border-radius:20px;padding:1.25rem 1.5rem;margin-bottom:2rem;box-shadow:0 2px 8px #0000000a}.admin-nudge-content{max-width:560px}.admin-nudge-title{font-size:1.125rem;font-weight:600;margin:0 0 .5rem;color:#0f0f12}.admin-nudge-body{font-size:.9375rem;color:#3a3a3c;line-height:1.5;margin:0 0 1rem}.admin-nudge-actions{display:flex;gap:.75rem;align-items:center}.admin-nudge-cta{padding:.5rem 1.25rem;border:none;background:linear-gradient(180deg,#0a84ff,#06d);color:#fff;border-radius:12px;font-size:.875rem;font-weight:600;cursor:pointer;transition:background .2s ease,transform .15s ease}.admin-nudge-cta:hover{background:linear-gradient(180deg,#409cff,#0a84ff);transform:translateY(-1px)}.admin-nudge-dismiss{padding:.5rem .75rem;border:none;background:none;color:#6e6e73;font-size:.8125rem;cursor:pointer;transition:color .2s ease}.admin-nudge-dismiss:hover{color:#0c0c0e}.admin-people-intro{font-size:.9375rem;color:#3a3a3c;line-height:1.5;margin:0 0 1rem;max-width:560px}.admin-tier-help{margin-bottom:1.25rem}.admin-tier-help-toggle{padding:.5rem 0;border:none;background:none;color:#0a84ff;font-size:.8125rem;font-weight:600;cursor:pointer;text-align:left;transition:color .2s ease}.admin-tier-help-toggle:hover{color:#06d}.admin-tier-help-content{margin-top:.75rem;padding:1rem 1.25rem;background:#f8f9fc;border-radius:12px;border:1px solid rgba(0,0,0,.06)}.admin-tier-help-content ul{margin:0;padding-left:1.25rem;font-size:.875rem;color:#3a3a3c;line-height:1.6}.admin-tier-help-content li{margin-bottom:.5rem}.admin-people-table-wrap{overflow-x:auto;margin-bottom:1rem;border-radius:16px;border:1px solid rgba(0,0,0,.06);background:linear-gradient(180deg,#fff,#fcfcfd);box-shadow:0 2px 4px #00000008}.admin-people-table{width:100%;border-collapse:collapse;font-size:.875rem}.admin-people-table th,.admin-people-table td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid rgba(0,0,0,.06)}.admin-people-table th{font-weight:600;color:#8e8e96;font-size:.6875rem;letter-spacing:.08em;text-transform:uppercase}.admin-people-table td{color:#0c0c0e}.admin-people-table tbody tr:last-child td{border-bottom:none}.admin-role-select{padding:.5rem .75rem;border:1px solid #e5e5ea;border-radius:10px;font-size:.8125rem;background:#fff;color:#0c0c0e;min-width:140px;cursor:pointer;transition:border-color .2s ease}.admin-role-select:hover,.admin-role-select:focus{outline:none;border-color:#0a84ff}.admin-people-actions{display:flex;gap:.75rem;align-items:center;margin-bottom:.5rem}.admin-people-save{padding:.5rem 1.25rem;border:none;background:linear-gradient(180deg,#0a84ff,#06d);color:#fff;border-radius:12px;font-size:.875rem;font-weight:600;cursor:pointer;transition:background .2s ease}.admin-people-save:hover:not(:disabled){background:linear-gradient(180deg,#409cff,#0a84ff)}.admin-people-save:disabled{opacity:.7;cursor:not-allowed}.admin-people-cancel{padding:.5rem 1rem;border:1px solid #e5e5ea;background:#fff;color:#0c0c0e;border-radius:12px;font-size:.875rem;cursor:pointer;transition:background .2s ease,border-color .2s ease}.admin-people-cancel:hover:not(:disabled){background:#f5f5f7;border-color:#d2d2d7}.admin-people-success{font-size:.875rem;color:#059669;font-weight:500;margin:0}.app{min-height:100vh;display:flex;flex-direction:column}.app-header{background:#fff;padding:2rem;border-bottom:1px solid #e5e5e5;box-shadow:0 2px 4px #0000000d}.header-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.app-header h1{font-size:2rem;font-weight:600;color:#1a1a1a;margin-bottom:.5rem}.subtitle{color:#666;font-size:1rem}.app-main{flex:1;padding:2rem;max-width:1200px;width:100%;margin:0 auto}.loading{text-align:center;padding:3rem;color:#666}.app-nav{display:flex;gap:1rem;margin-top:1.5rem}.nav-btn{padding:.75rem 1.5rem;border:2px solid #e5e5e5;background:#fff;border-radius:8px;cursor:pointer;font-size:1rem;font-weight:500;transition:all .2s;color:#666}.nav-btn:hover{border-color:#f59e0b;background:#fef3c7;color:#1a1a1a}.nav-btn.active{border-color:#f59e0b;background:#f59e0b;color:#fff}.nav-btn.ai-btn{margin-left:auto;border-color:#8b5cf6}.nav-btn.ai-btn:hover{border-color:#8b5cf6;background:#ede9fe}.nav-btn.avatar-btn{border-color:#10b981}.nav-btn.avatar-btn:hover{border-color:#10b981;background:#d1fae5}.nav-btn.avatar-btn.active{background:#10b981;border-color:#10b981;color:#fff;box-shadow:0 2px 8px #10b9814d}.vis-menu-container{position:relative}.nav-btn.vis-btn{border-color:#06b6d4}.nav-btn.vis-btn:hover{border-color:#06b6d4;background:#cffafe}.vis-dropdown{position:absolute;top:calc(100% + .5rem);left:0;background:#fff;border:1px solid #e5e5e5;border-radius:8px;box-shadow:0 10px 40px #00000026;z-index:100;min-width:220px;animation:slideDown .2s ease}.vis-dropdown button{display:block;width:100%;padding:.75rem 1rem;border:none;background:none;text-align:left;cursor:pointer;font-size:.95rem;transition:background .2s}.vis-dropdown button:hover{background:#f9fafb}.vis-dropdown button:first-child{border-radius:8px 8px 0 0}.vis-dropdown button:last-child{border-radius:0 0 8px 8px}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.header-actions{display:flex;align-items:center;gap:1rem}.user-info{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:#475569}.logout-btn{padding:.25rem .6rem;border:1px solid #cbd5e1;background:#fff;border-radius:6px;font-size:.8rem;color:#64748b;cursor:pointer;transition:all .15s}.logout-btn:hover{background:#f1f5f9;color:#334155;border-color:#94a3b8}@media (max-width: 768px){.app-nav{flex-direction:column}.nav-btn{width:100%}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f5f5f5;color:#333}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}
