:root{--primary-blue: #1E40AF;--accent-blue: #3B82F6;--slate-bg: #F3F4F6;--text-gray: #374151;--dark-sidebar: #1E293B;--success-green: #10B981;--warning-amber: #F59E0B;--error-red: #EF4444;font-family:Inter,system-ui,-apple-system,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{margin:0;padding:0;box-sizing:border-box}body{background-color:var(--slate-bg);color:var(--text-gray);font-size:16px;line-height:1.6}#root{width:100%;min-height:100vh}.container{max-width:1280px;margin:0 auto;padding:0 1rem}.btn{padding:.625rem 1.25rem;border-radius:.5rem;font-weight:600;font-size:.9375rem;border:none;cursor:pointer;transition:all .2s;font-family:inherit}.btn-primary{background-color:var(--accent-blue);color:#fff}.btn-primary:hover{background-color:var(--primary-blue)}.btn-secondary{background-color:transparent;color:var(--accent-blue);border:1px solid var(--accent-blue)}.btn-secondary:hover{background-color:var(--accent-blue);color:#fff}.card{background:#fff;border-radius:.75rem;padding:1.5rem;box-shadow:0 1px 3px #0000001a}input{width:100%;padding:.75rem;border:1px solid #D1D5DB;border-radius:.5rem;font-size:.9375rem;font-family:inherit;color:var(--text-gray)}input:focus{outline:none;border-color:var(--accent-blue);box-shadow:0 0 0 3px #3b82f61a}label{display:block;margin-bottom:.5rem;font-weight:500;color:var(--text-gray)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:focus-visible{outline:2px solid var(--accent-blue);outline-offset:2px}button:focus:not(:focus-visible),a:focus:not(:focus-visible),select:focus:not(:focus-visible),input:focus:not(:focus-visible){outline:none}.toast-container{position:fixed;top:1.5rem;right:1.5rem;display:flex;flex-direction:column;gap:.5rem;z-index:9999;pointer-events:none}.toast{display:flex;align-items:center;gap:.75rem;padding:.875rem 1rem;border-radius:.5rem;box-shadow:0 4px 12px #00000026;min-width:300px;max-width:420px;pointer-events:auto;animation:toast-in .3s ease-out}.toast-success{background:#ecfdf5;border:1px solid #A7F3D0;color:#065f46}.toast-error{background:#fef2f2;border:1px solid #FECACA;color:#991b1b}.toast-warning{background:#fffbeb;border:1px solid #FDE68A;color:#92400e}.toast-info{background:#eff6ff;border:1px solid #BFDBFE;color:#1e40af}.toast-icon{flex-shrink:0}.toast-message{flex:1;font-size:.875rem;font-weight:500;line-height:1.4}.toast-dismiss{flex-shrink:0;background:transparent;border:none;cursor:pointer;padding:.25rem;border-radius:.25rem;color:inherit;opacity:.6;transition:opacity .2s}.toast-dismiss:hover{opacity:1}@keyframes toast-in{0%{opacity:0;transform:translate(1rem)}to{opacity:1;transform:translate(0)}}@media(max-width:640px){.toast-container{left:.75rem;right:.75rem;top:.75rem}.toast{min-width:0;max-width:none}}.error-boundary{display:flex;align-items:center;justify-content:center;min-height:100vh;background-color:var(--slate-bg);padding:2rem}.error-boundary-card{background:#fff;border-radius:.75rem;padding:3rem;box-shadow:0 1px 3px #0000001a;text-align:center;max-width:480px;width:100%}.error-boundary-icon{width:56px;height:56px;border-radius:50%;background:#fee2e2;color:var(--error-red);display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;margin:0 auto 1.5rem}.error-boundary-card h1{font-size:1.5rem;font-weight:700;color:var(--text-gray);margin-bottom:.5rem}.error-boundary-card p{font-size:.9375rem;color:#6b7280;margin-bottom:1.5rem}.error-boundary-details{background:#f9fafb;border:1px solid #E5E7EB;border-radius:.5rem;padding:1rem;font-size:.8125rem;color:var(--error-red);text-align:left;overflow-x:auto;margin-bottom:1.5rem;white-space:pre-wrap;word-break:break-word}.error-boundary-actions{display:flex;gap:.75rem;justify-content:center}@media(max-width:480px){.error-boundary{padding:1rem}.error-boundary-card{padding:1.75rem}.error-boundary-card h1{font-size:1.25rem}.error-boundary-actions{flex-direction:column}.error-boundary-actions .btn{width:100%}}.loading-spinner-container{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:2rem}.loading-spinner-container.full-page{min-height:100vh;background-color:var(--slate-bg)}.loading-spinner{border-radius:50%;border:3px solid #E5E7EB;border-top-color:var(--accent-blue);animation:spin .8s linear infinite}.spinner-sm{width:20px;height:20px;border-width:2px}.spinner-md{width:36px;height:36px}.spinner-lg{width:48px;height:48px;border-width:4px}.loading-message{font-size:.9375rem;color:#6b7280;font-weight:500}@keyframes spin{to{transform:rotate(360deg)}}.skip-to-content{position:absolute;left:-9999px;top:0;z-index:9999;padding:.75rem 1.5rem;background:var(--accent-blue);color:#fff;font-weight:600;text-decoration:none;border-radius:0 0 .5rem}.skip-to-content:focus{left:0}.dashboard-layout{display:flex;height:100vh;overflow:hidden}.sidebar{width:260px;background-color:var(--dark-sidebar);display:flex;flex-direction:column;color:#fff;flex-shrink:0}.sidebar-header{padding:1.5rem 1.25rem;border-bottom:1px solid rgba(255,255,255,.1);display:flex;align-items:center;justify-content:space-between}.sidebar-close{display:none;background:none;border:none;color:#ffffffb3;cursor:pointer;padding:.25rem;border-radius:.25rem}.sidebar-close:hover{color:#fff}.sidebar-logo{display:flex;align-items:center;gap:.75rem}.sidebar-brand{font-size:1.25rem;font-weight:700}.sidebar-nav{flex:1;padding:1.5rem 0}.nav-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1.25rem;color:#ffffffb3;text-decoration:none;transition:all .2s;border-left:3px solid transparent}.nav-item:hover{background-color:#ffffff0d;color:#fff}.nav-item.active{background-color:#3b82f626;color:#fff;border-left-color:var(--accent-blue)}.sidebar-footer{padding:1.25rem;border-top:1px solid rgba(255,255,255,.1)}.organization-badge{display:flex;align-items:center;gap:.75rem}.org-avatar{width:40px;height:40px;border-radius:.5rem;background:var(--accent-blue);display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.875rem}.org-info{flex:1}.org-name{font-weight:600;font-size:.9375rem}.org-status{font-size:.8125rem;color:#fff9;text-transform:capitalize}.org-avatar-empty{background:#ffffff26;color:#fff6}.skeleton-avatar{background:#ffffff1a;animation:skeleton-pulse 1.5s infinite}.skeleton-org-name{width:100px;height:.875rem;margin-bottom:.375rem;border-radius:.25rem}.skeleton-org-status{width:60px;height:.75rem;border-radius:.25rem}.sidebar-footer .skeleton{background:#ffffff1a;animation:skeleton-pulse 1.5s infinite}@keyframes skeleton-pulse{0%,to{opacity:1}50%{opacity:.4}}.main-content{flex:1;overflow-y:auto;background-color:var(--slate-bg);padding:2rem}.dashboard-header{margin-bottom:2rem;display:flex;justify-content:space-between;align-items:center}.header-left{display:flex;align-items:center;gap:.75rem}.hamburger-btn{display:none;background:none;border:none;color:var(--text-gray);cursor:pointer;padding:.375rem;border-radius:.375rem}.hamburger-btn:hover{background:#f3f4f6}.dashboard-header h1{font-size:2rem;font-weight:700;color:var(--text-gray)}.sidebar-backdrop{display:none}.header-actions{display:flex;align-items:center;gap:1rem}.user-greeting{font-size:.9375rem;color:#6b7280;font-weight:500}.logout-button{display:flex;align-items:center;gap:.5rem;padding:.625rem 1.25rem;background:transparent;border:1px solid #E5E7EB;border-radius:.5rem;color:var(--text-gray);font-size:.9375rem;font-weight:500;cursor:pointer;transition:all .2s;font-family:inherit}.logout-button:hover{background:#f9fafb;border-color:#dc2626;color:#dc2626}.search-section{margin-bottom:2rem}.search-bar{display:flex;align-items:center;gap:.75rem;padding:.875rem 1rem;background:#f9fafb;border:1px solid #E5E7EB;border-radius:.5rem;margin-bottom:1rem}.search-bar input{flex:1;border:none;background:transparent;font-size:.9375rem;padding:0}.search-bar input:focus{box-shadow:none;border:none}.example-queries{display:flex;gap:.75rem;flex-wrap:wrap}.example-query{padding:.5rem 1rem;background:transparent;border:1px solid #E5E7EB;border-radius:.5rem;font-size:.875rem;color:var(--text-gray);cursor:pointer;transition:all .2s;font-family:inherit}.example-query:hover{border-color:var(--accent-blue);color:var(--accent-blue);background:#3b82f60d}.example-query:disabled{opacity:.5;cursor:not-allowed}.search-submit{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:36px;height:36px;background:var(--accent-blue);color:#fff;border:none;border-radius:.375rem;cursor:pointer;transition:background .2s}.search-submit:hover{background:var(--primary-blue)}.search-submit:disabled{background:#d1d5db;cursor:not-allowed}.search-history{margin-top:1rem;padding-top:1rem;border-top:1px solid #E5E7EB}.search-history-title{font-size:.8125rem;font-weight:600;color:#9ca3af;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem}.search-history-list{display:flex;flex-direction:column;gap:.25rem}.search-history-item{display:flex;align-items:center;gap:.5rem;padding:.5rem .625rem;background:transparent;border:none;border-radius:.375rem;font-size:.875rem;color:var(--text-gray);cursor:pointer;transition:background .15s;font-family:inherit;text-align:left}.search-history-item:hover{background:#f3f4f6}.search-history-item:disabled{opacity:.5;cursor:not-allowed}.search-history-item span:first-of-type{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-history-time{flex-shrink:0;font-size:.75rem;color:#9ca3af}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-bottom:2rem}@media(max-width:768px){.stats-grid{grid-template-columns:1fr}}.stat-card{display:flex;align-items:center;gap:1rem}.stat-icon-wrapper{flex-shrink:0;width:48px;height:48px;border-radius:.625rem;display:flex;align-items:center;justify-content:center}.stat-icon-blue{background:#dbeafe;color:var(--accent-blue)}.stat-icon-green{background:#d1fae5;color:var(--success-green)}.stat-icon-purple{background:#ede9fe;color:#8b5cf6}.stat-info{flex:1;min-width:0}.stat-value{font-size:1.75rem;font-weight:700;color:var(--text-gray);line-height:1.2}.stat-label{font-size:.875rem;color:#6b7280;font-weight:500}.stat-sub{font-size:.75rem;color:#9ca3af;margin-top:.125rem}.skeleton-stat-icon{background:#e5e7eb;animation:skeleton-shimmer 1.5s infinite}.skeleton-stat-value{width:48px;height:1.5rem;margin-bottom:.375rem}.skeleton-stat-label{width:100px;height:.875rem}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}@media(max-width:1024px){.dashboard-grid{grid-template-columns:1fr}}.card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.card-header h2{font-size:1.125rem;font-weight:600;color:var(--text-gray)}.live-badge{padding:.25rem .625rem;background:var(--success-green);color:#fff;font-size:.75rem;font-weight:600;border-radius:.375rem}.activity-list{display:flex;flex-direction:column;gap:1rem}.activity-item{padding:1rem;background:#f9fafb;border-radius:.5rem;border-left:4px solid}.activity-item.activity-blue{border-left-color:var(--accent-blue)}.activity-item.activity-green{border-left-color:var(--success-green)}.activity-item.activity-purple{border-left-color:#8b5cf6}.activity-content h3{font-size:.9375rem;font-weight:600;color:var(--text-gray);margin-bottom:.25rem}.activity-content p{font-size:.875rem;color:#6b7280;margin-bottom:.5rem}.activity-time{font-size:.8125rem;color:#9ca3af}.suggestions-list{display:flex;flex-direction:column;gap:1rem}.suggestion-item{display:flex;gap:1rem;padding:1rem;border-radius:.5rem}.suggestion-icon{flex-shrink:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.suggestion-content{flex:1}.suggestion-content h3{font-size:.9375rem;font-weight:600;margin-bottom:.25rem}.suggestion-content p{font-size:.875rem;margin-bottom:.75rem}.suggestion-action{background:transparent;border:none;font-weight:600;font-size:.875rem;text-decoration:underline;cursor:pointer;padding:0;font-family:inherit}.suggestion-action:hover{opacity:.8}.activity-skeleton{border-left-color:#e5e7eb!important}.skeleton{background:linear-gradient(90deg,#e5e7eb 25%,#f3f4f6,#e5e7eb 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s infinite;border-radius:.25rem}.skeleton-title{width:60%;height:1rem;margin-bottom:.5rem}.skeleton-text{width:85%;height:.875rem;margin-bottom:.5rem}.skeleton-time{width:30%;height:.75rem}@keyframes skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.activity-empty{padding:2rem 1rem;text-align:center}.activity-empty p{font-size:.9375rem;color:#9ca3af}@media(max-width:768px){.sidebar{position:fixed;top:0;left:0;bottom:0;z-index:8000;transform:translate(-100%);transition:transform .25s ease}.sidebar-open{transform:translate(0)}.sidebar-close{display:flex}.sidebar-backdrop{display:block;position:fixed;inset:0;background:#0006;z-index:7999}.hamburger-btn{display:flex}.main-content{padding:1rem}.dashboard-header{margin-bottom:1.25rem}.dashboard-header h1{font-size:1.5rem}.user-greeting,.logout-button span{display:none}.logout-button{padding:.5rem}.search-section{margin-bottom:1.25rem}.stats-grid{gap:1rem;margin-bottom:1.25rem}.dashboard-grid{gap:1rem}}@media(max-width:480px){.example-queries{gap:.5rem}.example-query{padding:.375rem .75rem;font-size:.8125rem}}
