*{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:linear-gradient(135deg,#0f1419,#1a1f2e);color:#e6edf3}code{font-family:Courier New,monospace}#root,.app{min-height:100vh}.header{background:linear-gradient(135deg,#161b22,#1c2128);border-bottom:1px solid #30363d;padding:1.5rem 2rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 4px 12px #0000004d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.header h1{font-size:1.75rem;font-weight:700;background:linear-gradient(135deg,#58a6ff,#79c0ff);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:-.02em}.header .status{font-size:.875rem;margin-top:.5rem;color:#8b949e;font-weight:500}.header .status.connected{color:#3fb950}.header .status.disconnected{color:#f85149}.logout-btn{padding:.625rem 1.25rem;background:linear-gradient(135deg,#21262d,#2d333b);border:1px solid #30363d;border-radius:8px;color:#e6edf3;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.logout-btn:hover{border-color:#58a6ff;box-shadow:0 0 12px #58a6ff4d;transform:translateY(-1px)}.main-content{padding:2rem;max-width:1600px;margin:0 auto}.search-bar{width:100%;padding:.875rem 1.125rem;background:linear-gradient(135deg,#0d1117,#161b22);border:1px solid #30363d;border-radius:10px;color:#e6edf3;font-size:.9375rem;transition:all .2s ease}.search-bar:focus{outline:none;border-color:#58a6ff;box-shadow:0 0 0 3px #58a6ff1a}.search-bar::placeholder{color:#6e7681}.connections-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(380px,1fr));gap:1.5rem;margin-top:1.5rem}.client-card{background:linear-gradient(135deg,#161b22,#1c2128);border:1px solid #30363d;border-radius:12px;padding:1.75rem;transition:all .3s cubic-bezier(.4,0,.2,1);cursor:pointer;position:relative;overflow:hidden}.client-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#58a6ff,#79c0ff);opacity:0;transition:opacity .3s ease}.client-card:hover:before{opacity:1}.client-card:hover{border-color:#58a6ff;box-shadow:0 8px 24px #58a6ff26;transform:translateY(-2px)}.client-card.selected{border-color:#58a6ff;background:linear-gradient(135deg,#1c2128,#22272e);box-shadow:0 8px 24px #58a6ff33}.client-card.selected:before{opacity:1}.client-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:1.25rem}.client-name{font-size:1.25rem;font-weight:700;color:#e6edf3;letter-spacing:-.01em}.client-status{display:inline-block;padding:.375rem .75rem;border-radius:16px;font-size:.75rem;font-weight:600;background:linear-gradient(135deg,#238636,#2ea043);color:#fff;box-shadow:0 2px 8px #2386364d}.client-info{display:grid;gap:.75rem;font-size:.875rem;color:#8b949e}.info-row{display:flex;justify-content:space-between;align-items:center}.info-label{color:#8b949e;font-weight:500}.info-value{color:#e6edf3;font-weight:600}.metrics-bar{margin-top:1.25rem;padding-top:1.25rem;border-top:1px solid #30363d}.metric{margin-bottom:1rem}.metric:last-child{margin-bottom:0}.metric-label{font-size:.8125rem;color:#8b949e;margin-bottom:.5rem;display:flex;justify-content:space-between;font-weight:600}.metric-bar{height:8px;background-color:#21262d;border-radius:4px;overflow:hidden;box-shadow:inset 0 1px 2px #0000004d}.metric-fill{height:100%;background:linear-gradient(90deg,#3fb950,#58a6ff);transition:width .5s cubic-bezier(.4,0,.2,1);border-radius:4px;box-shadow:0 0 8px #58a6ff80}.metric-fill.high{background:linear-gradient(90deg,#f85149,#ff7b72);box-shadow:0 0 8px #f8514980}.detail-view{background:linear-gradient(135deg,#161b22,#1c2128);border:1px solid #30363d;border-radius:16px;padding:2rem;margin-top:2rem;box-shadow:0 8px 32px #0006;animation:slideUp .3s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.detail-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:2px solid #30363d}.detail-title{font-size:1.5rem;font-weight:700;color:#e6edf3;letter-spacing:-.02em}.close-btn{background:linear-gradient(135deg,#21262d,#2d333b);border:1px solid #30363d;color:#8b949e;font-size:1.75rem;cursor:pointer;padding:.5rem .75rem;line-height:1;border-radius:8px;transition:all .2s ease}.close-btn:hover{color:#e6edf3;border-color:#58a6ff;background:linear-gradient(135deg,#2d333b,#373e47);transform:rotate(90deg)}.tabs{display:flex;gap:.5rem;margin-bottom:2rem;border-bottom:2px solid #30363d}.tab{background:none;border:none;color:#8b949e;padding:1rem 1.5rem;font-size:.9375rem;font-weight:600;cursor:pointer;border-bottom:3px solid transparent;transition:all .2s ease;position:relative}.tab:hover{color:#c9d1d9;background:#58a6ff0d}.tab.active{color:#58a6ff;border-bottom-color:#58a6ff}.tab-content{min-height:500px}.logs-header{display:flex;gap:1rem;margin-bottom:1rem;align-items:center}.logs-search{flex:1;padding:.75rem 1rem;background:#0d1117;border:1px solid #30363d;border-radius:8px;color:#e6edf3;font-size:.875rem;transition:all .2s ease}.logs-search:focus{outline:none;border-color:#58a6ff;box-shadow:0 0 0 3px #58a6ff1a}.logs-search::placeholder{color:#6e7681}.auto-scroll-toggle{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:#0d1117;border:1px solid #30363d;border-radius:8px;color:#e6edf3;font-size:.875rem;cursor:pointer;transition:all .2s ease;white-space:nowrap}.auto-scroll-toggle:hover{border-color:#58a6ff}.auto-scroll-toggle.active{background:#58a6ff1a;border-color:#58a6ff;color:#58a6ff}.logs-container{background:linear-gradient(135deg,#0d1117,#161b22);border:1px solid #30363d;border-radius:12px;padding:1.5rem;max-height:600px;overflow-y:auto;font-family:SF Mono,Monaco,Inconsolata,Fira Code,Courier New,monospace;font-size:.875rem;box-shadow:inset 0 2px 8px #0000004d;scroll-behavior:smooth}.log-entry{padding:.75rem;margin-bottom:.5rem;border-left:3px solid transparent;border-radius:4px;display:flex;gap:1rem;transition:all .2s ease;background:#161b224d}.log-entry:hover{background:#161b2299}.log-entry.info{border-left-color:#58a6ff}.log-entry.warning{border-left-color:#d29922}.log-entry.error{border-left-color:#f85149}.log-entry.debug{border-left-color:#bc8cff}.log-time{color:#6e7681;white-space:nowrap;font-weight:500}.log-level{color:#58a6ff;font-weight:700;min-width:60px;text-transform:uppercase;font-size:.75rem;letter-spacing:.05em}.log-level.warning{color:#d29922}.log-level.error{color:#f85149}.log-level.debug{color:#bc8cff}.log-message{color:#e6edf3;word-break:break-word;line-height:1.6}.empty-state{text-align:center;padding:4rem 2rem;color:#8b949e}.empty-state-icon{font-size:4rem;margin-bottom:1.5rem;opacity:.5}.empty-state h2{color:#c9d1d9;margin-bottom:.5rem;font-size:1.5rem}.chart-container{background:linear-gradient(135deg,#0d1117,#161b22);border:1px solid #30363d;border-radius:12px;padding:2rem;margin-bottom:1.5rem;box-shadow:0 4px 12px #0003}.chart-title{font-size:.875rem;color:#8b949e;margin-bottom:1.5rem;text-transform:uppercase;letter-spacing:.1em;font-weight:700}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.stat-card{background:#0d111799;border:1px solid #30363d;border-radius:8px;padding:1rem}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#0d1117;border-radius:5px}::-webkit-scrollbar-thumb{background:linear-gradient(135deg,#30363d,#484f58);border-radius:5px;transition:background .2s ease}::-webkit-scrollbar-thumb:hover{background:linear-gradient(135deg,#484f58,#6e7681)}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.client-card,.detail-view{animation:fadeIn .3s ease-out}.app-container{display:flex;min-height:100vh;background:linear-gradient(135deg,#0f1419,#1a1f2e)}.main-layout{flex:1;display:flex;flex-direction:column;min-width:0}.sidebar{width:240px;background:linear-gradient(180deg,#161b22,#1c2128);border-right:1px solid #30363d;display:flex;flex-direction:column;box-shadow:4px 0 12px #0000004d}.sidebar-header{padding:2rem 1.5rem;border-bottom:1px solid #30363d}.sidebar-logo{font-size:1.5rem;font-weight:700;background:linear-gradient(135deg,#58a6ff,#79c0ff);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.sidebar-subtitle{font-size:.75rem;color:#8b949e;margin-top:.25rem;letter-spacing:.05em;text-transform:uppercase}.sidebar-nav{flex:1;padding:1rem 0}.sidebar-item{display:flex;align-items:center;gap:.75rem;padding:.875rem 1.5rem;border:none;background:none;color:#8b949e;font-size:.9375rem;font-weight:500;cursor:pointer;transition:all .2s ease;width:100%;text-align:left;position:relative}.sidebar-item:hover{background:#58a6ff14;color:#c9d1d9}.sidebar-item.active{background:#58a6ff26;color:#58a6ff;border-left:3px solid #58a6ff}.sidebar-item-icon{font-size:1.125rem}.sidebar-item-label{flex:1}.sidebar-item-badge{background:#58a6ff;color:#0d1117;font-size:.75rem;font-weight:700;padding:.25rem .5rem;border-radius:12px;min-width:20px;text-align:center}.header-actions{display:flex;gap:1rem;align-items:center}.theme-toggle{padding:.625rem 1rem;background:linear-gradient(135deg,#21262d,#2d333b);border:1px solid #30363d;border-radius:8px;font-size:1.25rem;cursor:pointer;transition:all .2s ease}.theme-toggle:hover{border-color:#58a6ff;box-shadow:0 0 12px #58a6ff4d;transform:translateY(-1px)}.dashboard{padding:2rem;max-width:1400px}.dashboard-title{font-size:2rem;font-weight:700;color:#e6edf3;margin-bottom:2rem;letter-spacing:-.02em}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{background:linear-gradient(135deg,#161b22,#1c2128);border:1px solid #30363d;border-radius:12px;padding:1.75rem;display:flex;gap:1.25rem;align-items:flex-start;transition:all .3s ease}.stat-card:hover{border-color:#58a6ff;box-shadow:0 4px 16px #58a6ff26;transform:translateY(-2px)}.stat-icon{font-size:2.5rem;opacity:.8}.stat-content{flex:1}.stat-label{font-size:.875rem;color:#8b949e;font-weight:600;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem}.stat-value{font-size:2rem;font-weight:700;color:#e6edf3;line-height:1.2}.stat-subtitle{font-size:.8125rem;color:#6e7681;margin-top:.5rem}.highlight-card{background:linear-gradient(135deg,#161b22,#1c2128);border:1px solid #30363d;border-radius:12px;padding:1.5rem;margin-bottom:2rem}.highlight-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.highlight-icon{font-size:1.5rem}.highlight-title{font-size:.875rem;color:#8b949e;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.highlight-name{font-size:1.25rem;font-weight:700;color:#e6edf3;margin-bottom:.5rem}.highlight-details{display:flex;gap:.75rem;font-size:.875rem;color:#8b949e}.alerts-section{background:linear-gradient(135deg,#161b22,#1c2128);border:1px solid #30363d;border-radius:12px;padding:1.5rem}.alerts-title{font-size:1.125rem;font-weight:700;color:#e6edf3;margin-bottom:1rem}.alerts-list{display:flex;flex-direction:column;gap:.75rem}.alert-item{display:flex;align-items:center;gap:.75rem;padding:.875rem 1rem;background:#d299221a;border-left:3px solid #d29922;border-radius:6px;font-size:.9375rem;color:#e6edf3}.alert-item.alert-warning{background:#d299221a;border-left-color:#d29922}.alert-item.alert-critical{background:#f851491a;border-left-color:#f85149}.alert-dot{width:8px;height:8px;background:#d29922;border-radius:50%}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.5rem 2rem;background:linear-gradient(135deg,#161b22,#1c2128);border-bottom:1px solid #30363d;flex-wrap:wrap}.toolbar-left{display:flex;gap:.75rem;flex:1;flex-wrap:wrap}.toolbar-right{display:flex;gap:.75rem;align-items:center}.toolbar-search{flex:1;min-width:200px;padding:.75rem 1rem;background:#0d1117;border:1px solid #30363d;border-radius:8px;color:#e6edf3;font-size:.875rem;transition:all .2s ease}.toolbar-search:focus{outline:none;border-color:#58a6ff;box-shadow:0 0 0 3px #58a6ff1a}.toolbar-select{padding:.75rem 1rem;background:#0d1117;border:1px solid #30363d;border-radius:8px;color:#e6edf3;font-size:.875rem;cursor:pointer;transition:all .2s ease}.toolbar-select:focus{outline:none;border-color:#58a6ff;box-shadow:0 0 0 3px #58a6ff1a}.toolbar-select:hover{border-color:#58a6ff}.view-mode-toggle{display:flex;background:#0d1117;border:1px solid #30363d;border-radius:8px;overflow:hidden}.view-mode-btn{padding:.75rem 1rem;background:none;border:none;color:#8b949e;font-size:1.125rem;cursor:pointer;transition:all .2s ease}.view-mode-btn:hover{background:#58a6ff1a;color:#c9d1d9}.view-mode-btn.active{background:#58a6ff33;color:#58a6ff}.toolbar-btn{padding:.75rem 1.25rem;background:linear-gradient(135deg,#21262d,#2d333b);border:1px solid #30363d;border-radius:8px;color:#e6edf3;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.toolbar-btn:hover{border-color:#58a6ff;box-shadow:0 0 12px #58a6ff4d}.connections-list{display:flex;flex-direction:column;gap:1rem;padding:2rem}.client-card.list-view{display:flex;align-items:center;gap:2rem}.client-card.list-view .client-header{flex:1;margin-bottom:0}.client-card.list-view .client-info{display:flex;gap:2rem;flex:2}.client-card.list-view .info-row{flex-direction:row;gap:.5rem}.client-card.list-view .metrics-bar{flex:1;margin-top:0;padding-top:0;border-top:none}.client-header-right{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.alert-badges{display:flex;gap:.5rem;flex-wrap:wrap}.alert-badge{padding:.375rem .75rem;border-radius:16px;font-size:.75rem;font-weight:600;white-space:nowrap}.alert-badge-warning{background:#d2992226;color:#d29922;border:1px solid #d29922}.alert-badge-critical{background:#f8514926;color:#f85149;border:1px solid #f85149}.metric-fill.critical{background:linear-gradient(90deg,#f85149,#ff7b72);box-shadow:0 0 8px #f8514980}.side-panel-overlay{position:fixed;top:0;right:0;bottom:0;left:240px;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;animation:fadeIn .2s ease-out}.side-panel{position:absolute;top:0;right:0;bottom:0;width:min(600px,90%);background:linear-gradient(135deg,#161b22,#1c2128);border-left:1px solid #30363d;box-shadow:-4px 0 24px #0006;overflow-y:auto;animation:slideInRight .3s ease-out}@keyframes slideInRight{0%{transform:translate(100%)}to{transform:translate(0)}}.detail-view{background:transparent;border:none;border-radius:0;padding:0;margin:0;box-shadow:none;animation:none;height:100%;display:flex;flex-direction:column}.detail-view .detail-header{padding:2rem;background:linear-gradient(135deg,#0d1117,#161b22);border-bottom:2px solid #30363d;position:sticky;top:0;z-index:10}.detail-view .tab-content{flex:1;overflow-y:auto;padding:2rem}.logs-level-filter{padding:.75rem 1rem;background:#0d1117;border:1px solid #30363d;border-radius:8px;color:#e6edf3;font-size:.875rem;cursor:pointer;transition:all .2s ease}.logs-level-filter:focus{outline:none;border-color:#58a6ff;box-shadow:0 0 0 3px #58a6ff1a}.log-action-btn{padding:.75rem 1rem;background:#0d1117;border:1px solid #30363d;border-radius:8px;color:#e6edf3;font-size:1.125rem;cursor:pointer;transition:all .2s ease}.log-action-btn:hover{border-color:#58a6ff;background:#58a6ff1a}.metrics-controls{margin-bottom:2rem;padding:1.5rem;background:linear-gradient(135deg,#0d1117,#161b22);border:1px solid #30363d;border-radius:12px}.metrics-label{display:flex;align-items:center;gap:1rem;font-size:.9375rem;color:#e6edf3;font-weight:600}.metrics-time-selector{padding:.625rem 1rem;background:#0d1117;border:1px solid #30363d;border-radius:8px;color:#e6edf3;font-size:.875rem;cursor:pointer;transition:all .2s ease}.metrics-time-selector:focus{outline:none;border-color:#58a6ff;box-shadow:0 0 0 3px #58a6ff1a}.toast-container{position:fixed;top:2rem;right:2rem;z-index:10000;display:flex;flex-direction:column;gap:.75rem;pointer-events:none}.toast{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem;background:linear-gradient(135deg,#161b22,#1c2128);border:1px solid #30363d;border-radius:10px;box-shadow:0 8px 24px #0006;min-width:300px;pointer-events:auto;cursor:pointer;animation:toastSlideIn .3s ease-out}@keyframes toastSlideIn{0%{transform:translate(400px);opacity:0}to{transform:translate(0);opacity:1}}.toast-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;font-size:1rem;font-weight:700;flex-shrink:0}.toast-success .toast-icon{background:#3fb950;color:#fff}.toast-error .toast-icon{background:#f85149;color:#fff}.toast-warning .toast-icon{background:#d29922;color:#fff}.toast-info .toast-icon{background:#58a6ff;color:#fff}.toast-message{flex:1;color:#e6edf3;font-size:.9375rem;font-weight:500}.toast-close{background:none;border:none;color:#8b949e;font-size:1.5rem;cursor:pointer;line-height:1;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;transition:color .2s ease}.toast-close:hover{color:#e6edf3}.settings-view,.alerts-view{padding:2rem;max-width:800px}.settings-view h2,.alerts-view h2{font-size:2rem;font-weight:700;color:#e6edf3;margin-bottom:2rem}.settings-section{background:linear-gradient(135deg,#161b22,#1c2128);border:1px solid #30363d;border-radius:12px;padding:2rem;margin-bottom:1.5rem}.settings-section h3{font-size:1.25rem;font-weight:700;color:#e6edf3;margin-bottom:1.5rem}.settings-option{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;font-size:.9375rem;color:#e6edf3}.settings-option select{padding:.625rem 1rem;background:#0d1117;border:1px solid #30363d;border-radius:8px;color:#e6edf3;font-size:.875rem;cursor:pointer}.export-btn{padding:.875rem 1.5rem;background:linear-gradient(135deg,#21262d,#2d333b);border:1px solid #30363d;border-radius:8px;color:#e6edf3;font-size:.9375rem;font-weight:500;cursor:pointer;transition:all .2s ease;margin-right:1rem;margin-bottom:.5rem}.export-btn:hover{border-color:#58a6ff;box-shadow:0 0 12px #58a6ff4d}[data-theme=light]{--bg-primary: #ffffff;--bg-secondary: #f6f8fa;--bg-tertiary: #e1e4e8;--bg-hover: #f3f4f6;--border-color: #d0d7de;--border-light: #e1e4e8;--text-primary: #24292f;--text-secondary: #57606a;--text-tertiary: #6e7781;--text-muted: #8c959f;--accent-color: #0969da;--accent-hover: #0550ae;--shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);--shadow-md: 0 4px 12px rgba(0, 0, 0, .12);--shadow-lg: 0 8px 24px rgba(0, 0, 0, .15)}[data-theme=light] body{background:linear-gradient(135deg,#f6f8fa,#fff);color:var(--text-primary)}[data-theme=light] .main-content,[data-theme=light] .app-container{background:linear-gradient(135deg,#f6f8fa,#fff)}[data-theme=light] .sidebar{background:var(--bg-primary);border-right:1px solid var(--border-color);box-shadow:var(--shadow-sm)}[data-theme=light] .sidebar-logo{color:var(--text-primary)}[data-theme=light] .sidebar-subtitle{color:var(--text-muted)}[data-theme=light] .sidebar-item{color:var(--text-secondary)}[data-theme=light] .sidebar-item:hover{background:var(--bg-hover);color:var(--text-primary)}[data-theme=light] .sidebar-item.active{background:#0969da1a;color:var(--accent-color);border-left-color:var(--accent-color)}[data-theme=light] .sidebar-item-badge{background:var(--accent-color);color:#fff}[data-theme=light] .header,[data-theme=light] .toolbar{background:var(--bg-primary);border-color:var(--border-color);box-shadow:var(--shadow-sm)}[data-theme=light] .toolbar-search,[data-theme=light] .toolbar-select{background:var(--bg-secondary);border:1px solid var(--border-color);color:var(--text-primary)}[data-theme=light] .toolbar-search:focus,[data-theme=light] .toolbar-select:focus{border-color:var(--accent-color);background:var(--bg-primary);box-shadow:0 0 0 3px #0969da1a}[data-theme=light] .toolbar-search::placeholder{color:var(--text-muted)}[data-theme=light] .stat-card,[data-theme=light] .highlight-card,[data-theme=light] .chart-container,[data-theme=light] .settings-section,[data-theme=light] .client-card{background:var(--bg-primary);border:1px solid var(--border-color);box-shadow:var(--shadow-sm)}[data-theme=light] .client-card:hover{border-color:var(--accent-color);box-shadow:var(--shadow-md);transform:translateY(-2px)}[data-theme=light] .stat-label,[data-theme=light] .info-label{color:var(--text-secondary)}[data-theme=light] .stat-value,[data-theme=light] .info-value{color:var(--text-primary)}[data-theme=light] .alerts-section{background:var(--bg-secondary);border:1px solid var(--border-color)}[data-theme=light] .alert-badge{background:var(--bg-secondary);border:1px solid var(--border-color);color:var(--text-primary)}[data-theme=light] .alert-badge-warning{background:#fff8e1;border-color:#ffc107;color:#f57c00}[data-theme=light] .alert-badge-critical{background:#ffebee;border-color:#ef5350;color:#c62828}[data-theme=light] .side-panel-overlay{background:#0000004d}[data-theme=light] .side-panel{background:var(--bg-primary);border-left:1px solid var(--border-color);box-shadow:var(--shadow-lg)}[data-theme=light] .detail-view{background:var(--bg-primary);color:var(--text-primary)}[data-theme=light] .detail-header{background:var(--bg-secondary);border-bottom:1px solid var(--border-color)}[data-theme=light] .detail-title{color:var(--text-primary)}[data-theme=light] .close-btn,[data-theme=light] .expand-btn{color:var(--text-secondary);background:transparent}[data-theme=light] .close-btn:hover,[data-theme=light] .expand-btn:hover{color:var(--text-primary);background:var(--bg-hover)}[data-theme=light] .detail-tabs{background:var(--bg-secondary);border-bottom:1px solid var(--border-color)}[data-theme=light] .tab-button{color:var(--text-secondary);background:transparent;border:none}[data-theme=light] .tab-button:hover{color:var(--text-primary);background:var(--bg-hover)}[data-theme=light] .tab-button.active{color:var(--accent-color);border-bottom-color:var(--accent-color);background:transparent}[data-theme=light] .logs-container{background:var(--bg-secondary);border:1px solid var(--border-color)}[data-theme=light] .logs-header{background:var(--bg-primary);border-bottom:1px solid var(--border-color)}[data-theme=light] .logs-search,[data-theme=light] .logs-level-filter{background:var(--bg-secondary);border:1px solid var(--border-color);color:var(--text-primary)}[data-theme=light] .logs-search:focus,[data-theme=light] .logs-level-filter:focus{border-color:var(--accent-color);background:var(--bg-primary);box-shadow:0 0 0 3px #0969da1a}[data-theme=light] .log-action-btn{background:var(--bg-secondary);border:1px solid var(--border-color);color:var(--text-primary)}[data-theme=light] .log-action-btn:hover{background:var(--bg-hover);border-color:var(--accent-color);color:var(--accent-color)}[data-theme=light] .log-entry{background:var(--bg-primary);border-bottom:1px solid var(--border-light);color:var(--text-primary)}[data-theme=light] .log-entry:hover{background:var(--bg-hover)}[data-theme=light] .log-level{color:var(--text-secondary)}[data-theme=light] .log-level.info{color:#0969da}[data-theme=light] .log-level.warning{color:#f57c00}[data-theme=light] .log-level.error{color:#d32f2f}[data-theme=light] .metrics-time-selector{background:var(--bg-secondary);border:1px solid var(--border-color);color:var(--text-primary)}[data-theme=light] .metrics-time-selector:focus{border-color:var(--accent-color);background:var(--bg-primary);box-shadow:0 0 0 3px #0969da1a}[data-theme=light] .metric-bar{background-color:var(--bg-tertiary)}[data-theme=light] .metric-bar-fill{background:linear-gradient(90deg,#0969da,#0550ae)}[data-theme=light] .metric-bar-fill.high{background:linear-gradient(90deg,#f57c00,#ef6c00)}[data-theme=light] .metric-bar-fill.critical{background:linear-gradient(90deg,#d32f2f,#c62828)}[data-theme=light] .theme-toggle{background:var(--bg-secondary);border:1px solid var(--border-color);color:var(--text-primary)}[data-theme=light] .theme-toggle:hover{background:var(--bg-hover);border-color:var(--accent-color)}[data-theme=light] .view-mode-toggle{background:var(--bg-secondary);border:1px solid var(--border-color)}[data-theme=light] .view-mode-btn{background:transparent;color:var(--text-secondary);border:none}[data-theme=light] .view-mode-btn:hover{background:var(--bg-hover);color:var(--text-primary)}[data-theme=light] .view-mode-btn.active{background:var(--accent-color);color:#fff}[data-theme=light] .export-btn{background:var(--bg-primary);border:1px solid var(--border-color);color:var(--text-primary)}[data-theme=light] .export-btn:hover{background:var(--bg-hover);border-color:var(--accent-color);color:var(--accent-color)}[data-theme=light] .toast{background:var(--bg-primary);border:1px solid var(--border-color);box-shadow:var(--shadow-lg);color:var(--text-primary)}[data-theme=light] .toast-success{border-left:4px solid #2e7d32}[data-theme=light] .toast-success .toast-icon{color:#2e7d32}[data-theme=light] .toast-error{border-left:4px solid #d32f2f}[data-theme=light] .toast-error .toast-icon{color:#d32f2f}[data-theme=light] .toast-warning{border-left:4px solid #f57c00}[data-theme=light] .toast-warning .toast-icon{color:#f57c00}[data-theme=light] .toast-info{border-left:4px solid #0969da}[data-theme=light] .toast-info .toast-icon{color:#0969da}[data-theme=light] .toast-message{color:var(--text-primary)}[data-theme=light] .toast-close{color:var(--text-muted)}[data-theme=light] .toast-close:hover{color:var(--text-primary);background:var(--bg-hover)}[data-theme=light] .client-name{color:var(--text-primary)}[data-theme=light] .client-info{color:var(--text-secondary)}[data-theme=light] .client-status{background:linear-gradient(135deg,#2e7d32,#388e3c);color:#fff;box-shadow:0 2px 8px #2e7d324d}[data-theme=light] .metrics-bar{border-top-color:var(--border-color)}[data-theme=light] .chart-title,[data-theme=light] .empty-state{color:var(--text-secondary)}[data-theme=light] .empty-state h2{color:var(--text-primary)}[data-theme=light] .log-time{color:var(--text-muted)}[data-theme=light] .log-message{color:var(--text-primary)}[data-theme=light] .log-entry.info{border-left-color:#0969da}[data-theme=light] .log-entry.warning{border-left-color:#f57c00}[data-theme=light] .log-entry.error{border-left-color:#d32f2f}[data-theme=light] .log-entry.debug{border-left-color:#9c27b0}[data-theme=light] .log-level.debug{color:#9c27b0}[data-theme=light] .highlight-title,[data-theme=light] .highlight-value{color:var(--text-primary)}[data-theme=light] .highlight-subtitle{color:var(--text-muted)}[data-theme=light] .alert-item{background:var(--bg-secondary);border:1px solid var(--border-color)}[data-theme=light] .alert-item.warning{border-left:3px solid #f57c00;background:#fff8e1}[data-theme=light] .alert-item.critical{border-left:3px solid #d32f2f;background:#ffebee}[data-theme=light] .alert-message{color:var(--text-primary)}[data-theme=light] .alert-client{color:var(--text-secondary)}[data-theme=light] .settings-title,[data-theme=light] .setting-item,[data-theme=light] .setting-label{color:var(--text-primary)}[data-theme=light] .setting-description{color:var(--text-secondary)}[data-theme=light] .stat-subtitle,[data-theme=light] .stat-icon{color:var(--text-muted)}[data-theme=light] .tab-content{background:var(--bg-primary);color:var(--text-primary)}[data-theme=light] .logs-search::placeholder{color:var(--text-muted)}[data-theme=light] .toolbar-select option{background:var(--bg-primary);color:var(--text-primary)}[data-theme=light] .metric-label{color:var(--text-secondary)}[data-theme=light] .metric{color:var(--text-primary)}[data-theme=light] .status-active{color:#2e7d32}[data-theme=light] .status-inactive{color:#d32f2f}[data-theme=light] .connections-grid,[data-theme=light] .platform-text,[data-theme=light] .os-text,[data-theme=light] .uptime,[data-theme=light] .section-title,[data-theme=light] .page-title{color:var(--text-primary)}[data-theme=light] .client-card:active{border-color:var(--accent-color)}[data-theme=light] .detail-view .detail-header{background:var(--bg-secondary);border-bottom:1px solid var(--border-color)}.shortcuts-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn .2s ease-out}.shortcuts-modal{background:linear-gradient(135deg,#0d1117,#161b22);border:1px solid #30363d;border-radius:16px;padding:2rem;max-width:600px;width:90%;max-height:80vh;overflow-y:auto;box-shadow:0 20px 60px #00000080;animation:slideUp .3s ease-out}.shortcuts-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.shortcuts-header h2{color:#e6edf3;font-size:1.5rem;margin:0}.shortcuts-close{background:transparent;border:none;color:#8b949e;font-size:2rem;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .2s ease}.shortcuts-close:hover{background:#58a6ff1a;color:#58a6ff}.shortcuts-content{display:grid;gap:1.5rem}.shortcuts-section h3{color:#8b949e;font-size:.875rem;text-transform:uppercase;letter-spacing:.1em;margin:0 0 .75rem;font-weight:700}.shortcut-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem;background:#58a6ff0d;border-radius:8px;border:1px solid #30363d;transition:all .2s ease}.shortcut-item:hover{border-color:#58a6ff;background:#58a6ff1a}.shortcut-item kbd{background:#21262d;border:1px solid #30363d;border-radius:4px;padding:.25rem .5rem;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:.8125rem;color:#e6edf3;box-shadow:0 2px 4px #0003}.shortcut-item span:last-child{color:#e6edf3;font-size:.875rem}.activity-timeline{background:linear-gradient(135deg,#0d1117,#161b22);border:1px solid #30363d;border-radius:12px;padding:1.5rem;margin-bottom:1.5rem}.activity-title{color:#8b949e;font-size:.875rem;text-transform:uppercase;letter-spacing:.1em;margin:0 0 1rem;font-weight:700}.activity-list{display:flex;flex-direction:column;gap:.75rem;max-height:400px;overflow-y:auto}.activity-item{display:flex;gap:1rem;padding:1rem;background:#58a6ff08;border:1px solid #30363d;border-radius:8px;border-left-width:3px;transition:all .2s ease}.activity-item:hover{background:#58a6ff14}.activity-icon{font-size:1.25rem;flex-shrink:0}.activity-content{flex:1;min-width:0}.activity-message{color:#e6edf3;font-weight:500;margin-bottom:.25rem}.activity-meta{color:#8b949e;font-size:.8125rem}.activity-time{color:#8b949e}.activity-platform,.activity-duration{color:#6e7681}.activity-connect{border-left-color:#3fb950}.activity-disconnect{border-left-color:#f85149}.activity-alert{border-left-color:#d29922}.activity-error{border-left-color:#f85149}.activity-info{border-left-color:#58a6ff}.activity-loading,.activity-empty{text-align:center;padding:2rem;color:#8b949e}.alert-settings{background:linear-gradient(135deg,#0d1117,#161b22);border:1px solid #30363d;border-radius:12px;padding:2rem;margin-bottom:2rem}.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-top:1.5rem}.setting-group{background:#58a6ff08;border:1px solid #30363d;border-radius:8px;padding:1.5rem}.setting-group-title{color:#e6edf3;font-size:1.125rem;margin:0 0 1rem;font-weight:600}.setting-item{margin-bottom:1.5rem}.setting-item:last-child{margin-bottom:0}.setting-label{display:flex;flex-direction:column;gap:.25rem;color:#e6edf3;font-weight:500;margin-bottom:.5rem}.setting-help{color:#8b949e;font-size:.8125rem;font-weight:400}.setting-input-group{display:flex;align-items:center;gap:.5rem}.setting-input,.setting-select{flex:1;background:#0d1117;border:1px solid #30363d;border-radius:6px;padding:.75rem 1rem;color:#e6edf3;font-size:.9375rem;font-family:inherit;transition:all .2s ease}.setting-input:focus,.setting-select:focus{outline:none;border-color:#58a6ff;box-shadow:0 0 0 3px #58a6ff1a}.setting-unit{color:#8b949e;font-weight:600}.settings-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem}.settings-btn{padding:.75rem 1.5rem;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease;border:none}.settings-btn-primary{background:linear-gradient(135deg,#238636,#2ea043);color:#fff;box-shadow:0 2px 8px #2386364d}.settings-btn-primary:hover{box-shadow:0 4px 16px #23863666;transform:translateY(-1px)}.settings-btn-primary:disabled{opacity:.5;cursor:not-allowed}.settings-btn-secondary{background:transparent;color:#e6edf3;border:1px solid #30363d}.settings-btn-secondary:hover{border-color:#58a6ff;background:#58a6ff1a}.settings-message{padding:.75rem 1rem;border-radius:6px;margin-top:1rem;font-size:.875rem}.settings-message-success{background:#3fb9501a;border:1px solid #3fb950;color:#3fb950}.settings-message-error{background:#f851491a;border:1px solid #f85149;color:#f85149}.settings-divider{height:1px;background:linear-gradient(90deg,transparent,#30363d,transparent);margin:2rem 0}.settings-loading{text-align:center;padding:3rem;color:#8b949e}.client-tags{display:flex;flex-direction:column;gap:.75rem;margin-top:1rem}.tags-list{display:flex;flex-wrap:wrap;gap:.5rem}.tag{display:inline-flex;align-items:center;gap:.5rem;padding:.375rem .75rem;background:#58a6ff1a;border:1px solid #58a6ff;border-radius:16px;color:#58a6ff;font-size:.8125rem;font-weight:500;transition:all .2s ease}.tag:hover{background:#58a6ff33}.tag-remove{background:transparent;border:none;color:#58a6ff;font-size:1.25rem;cursor:pointer;padding:0;width:18px;height:18px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s ease}.tag-remove:hover{background:#58a6ff33}.tag-add-form{display:flex;gap:.5rem}.tag-input{flex:1;background:#0d1117;border:1px solid #30363d;border-radius:6px;padding:.5rem .75rem;color:#e6edf3;font-size:.875rem;transition:all .2s ease}.tag-input:focus{outline:none;border-color:#58a6ff;box-shadow:0 0 0 3px #58a6ff1a}.tag-add-btn{background:linear-gradient(135deg,#238636,#2ea043);border:none;border-radius:6px;color:#fff;width:36px;height:36px;font-size:1.25rem;cursor:pointer;transition:all .2s ease}.tag-add-btn:hover{box-shadow:0 0 12px #23863666}.tag-add-btn:disabled{opacity:.5;cursor:not-allowed}.chart-container{background:linear-gradient(135deg,#0d1117,#161b22);border:1px solid #30363d;border-radius:12px;padding:1.5rem;margin-bottom:1.5rem}.chart-header{margin-bottom:1rem}.chart-loading,.chart-error,.chart-empty{text-align:center;padding:3rem;color:#8b949e}.chart-error{color:#f85149}.spinner{border:3px solid #30363d;border-top:3px solid #58a6ff;border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite;margin:0 auto 1rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.dashboard-charts{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:1.5rem;margin-top:2rem}.dashboard-chart-item{min-height:350px}.help-btn{background:transparent;border:1px solid #30363d;border-radius:8px;padding:.5rem .75rem;color:#8b949e;font-size:1.125rem;cursor:pointer;transition:all .2s ease}.help-btn:hover{border-color:#58a6ff;color:#58a6ff;box-shadow:0 0 12px #58a6ff4d}.refresh-status{font-size:.875rem;padding:.25rem .5rem;border-radius:4px;transition:all .2s ease}.refresh-status.active{color:#3fb950}.refresh-status.paused{color:#d29922}[data-theme=light] .shortcuts-modal,[data-theme=light] .activity-timeline,[data-theme=light] .alert-settings,[data-theme=light] .chart-container{background:var(--bg-primary);border-color:var(--border-color);box-shadow:var(--shadow-md)}[data-theme=light] .shortcuts-header h2,[data-theme=light] .activity-message,[data-theme=light] .setting-group-title{color:var(--text-primary)}[data-theme=light] .shortcuts-section h3,[data-theme=light] .activity-title,[data-theme=light] .activity-time,[data-theme=light] .setting-help{color:var(--text-secondary)}[data-theme=light] .shortcut-item,[data-theme=light] .activity-item,[data-theme=light] .setting-group{background:var(--bg-secondary);border-color:var(--border-color)}[data-theme=light] .shortcut-item:hover,[data-theme=light] .activity-item:hover{background:var(--bg-hover);border-color:var(--accent-color)}[data-theme=light] .shortcut-item kbd{background:var(--bg-tertiary);border-color:var(--border-color);color:var(--text-primary)}[data-theme=light] .setting-input,[data-theme=light] .setting-select,[data-theme=light] .tag-input{background:var(--bg-secondary);border-color:var(--border-color);color:var(--text-primary)}[data-theme=light] .tag{background:#0969da1a;border-color:var(--accent-color);color:var(--accent-color)}[data-theme=light] .help-btn{border-color:var(--border-color);color:var(--text-secondary)}[data-theme=light] .help-btn:hover{border-color:var(--accent-color);color:var(--accent-color)}@media (max-width: 1024px){.sidebar{width:60px}.sidebar-logo,.sidebar-subtitle,.sidebar-item-label,.sidebar-item-badge{display:none}.side-panel-overlay{left:60px}.side-panel{width:min(500px,95%)}}@media (max-width: 768px){.toolbar{flex-direction:column;align-items:stretch}.toolbar-left,.toolbar-right{width:100%}.connections-grid,.stats-grid{grid-template-columns:1fr}.side-panel{width:100%}.toast-container{right:1rem;left:1rem}.toast{min-width:0}}.side-panel.wide{width:min(900px,90%)}.side-panel.fullscreen{width:100%;left:0}.side-panel-overlay.fullscreen{left:240px;right:0}.detail-header-actions{display:flex;gap:.75rem;align-items:center}.expand-btn{background:linear-gradient(135deg,#21262d,#2d333b);border:1px solid #30363d;color:#8b949e;font-size:1.5rem;cursor:pointer;padding:.5rem .75rem;line-height:1;border-radius:8px;transition:all .2s ease}.expand-btn:hover{color:#e6edf3;border-color:#58a6ff;background:linear-gradient(135deg,#2d333b,#373e47)}.side-panel.wide .logs-container,.side-panel.fullscreen .logs-container{max-height:700px}.side-panel.fullscreen .chart-container{max-width:1200px;margin:0 auto}@media (max-width: 1024px){.side-panel.fullscreen,.side-panel-overlay.fullscreen{left:60px}}@media (max-width: 768px){.side-panel.wide,.side-panel.fullscreen{width:100%;left:0}.side-panel-overlay.wide,.side-panel-overlay.fullscreen{left:0}}
