:root{font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{flex-direction:column;width:100%;max-width:100%;min-height:100vh;margin:0 auto;display:flex}body{margin:0}:root{--bg-primary:#0b0f19;--bg-secondary:#151b2b;--bg-card:#1a2236;--bg-hover:#232d45;--border-color:#2a3650;--text-primary:#f1f5f9;--text-secondary:#94a3b8;--text-muted:#64748b;--accent-blue:#3b82f6;--accent-green:#10b981;--accent-amber:#f59e0b;--accent-red:#ef4444;--radius-sm:.5rem;--radius-md:.75rem;--radius-lg:1rem}*{box-sizing:border-box;margin:0;padding:0}html{font-size:20px}body{background:var(--bg-primary);color:var(--text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-height:100vh;font-family:Segoe UI,system-ui,-apple-system,sans-serif}.dashboard{flex-direction:column;max-width:1200px;min-height:100vh;margin:0 auto;padding:1.75rem;display:flex}.header{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;gap:1rem;margin-bottom:2rem;padding-bottom:1.75rem;animation:.6s both fadeSlideDown;display:flex}@keyframes fadeSlideDown{0%{opacity:0;transform:translateY(-16px)}to{opacity:1;transform:translateY(0)}}.header-left{flex-direction:column;gap:.5rem;display:flex}.header h1{color:var(--text-primary);font-size:2.25rem;font-weight:800;line-height:1.1}.header-subtitle{color:var(--text-muted);font-size:1.125rem;font-weight:500}.header-right{align-items:center;gap:1.25rem;display:flex}.status-btn{border:1px solid var(--border-color);background:var(--bg-card);color:var(--text-secondary);cursor:pointer;touch-action:manipulation;border-radius:9999px;align-items:center;gap:.625rem;min-height:52px;padding:.875rem 1.5rem;font-size:1.125rem;font-weight:700;transition:all .2s;display:flex}.status-btn:active{transform:scale(.96)}.status-btn.online{color:var(--accent-green);background:#10b9811a;border-color:#10b9814d}.status-btn.connecting{color:var(--accent-amber);background:#f59e0b1a;border-color:#f59e0b4d}.status-btn.offline{color:var(--accent-red);background:#ef44441a;border-color:#ef44444d}.status-dot{background:currentColor;border-radius:50%;width:14px;height:14px;animation:2s infinite pulse}.status-btn.connecting .status-dot{animation:.8s infinite pulse}.status-btn.offline .status-dot{opacity:.6;animation:none}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.85)}}.last-update{color:var(--text-muted);font-variant-numeric:tabular-nums;font-family:SF Mono,Monaco,monospace;font-size:1.0625rem}.stats-grid{flex:1;grid-template-columns:1fr;gap:1.75rem;display:grid}.stat-card{background:var(--bg-card);border-radius:var(--radius-lg);border:1px solid var(--border-color);flex-direction:column;gap:1.5rem;padding:2rem;animation:.6s cubic-bezier(.22,1,.36,1) both cardEnter;display:flex;position:relative;overflow:hidden}.stat-card:before{content:"";background:linear-gradient(90deg, var(--accent-blue), var(--accent-green));opacity:0;height:3px;transition:opacity .3s;position:absolute;top:0;left:0;right:0}.stat-card:hover:before,.stat-card:active:before{opacity:1}.stat-card.cpu{animation-delay:.1s}.stat-card.memory{animation-delay:.2s}.stat-card.uptime{animation-delay:.3s}@keyframes cardEnter{0%{opacity:0;transform:translateY(24px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.stat-main{flex-direction:column;gap:1.5rem;display:flex}.stat-header{align-items:center;gap:1.25rem;display:flex}.stat-icon{background:var(--bg-hover);border-radius:var(--radius-md);flex-shrink:0;justify-content:center;align-items:center;width:72px;height:72px;font-size:2.75rem;animation:4s ease-in-out infinite iconFloat;display:flex}@keyframes iconFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}.stat-header h2{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.05em;font-size:1.25rem;font-weight:700;line-height:1.3}.stat-sub{color:var(--text-muted);margin-top:.375rem;font-size:1.0625rem;line-height:1.3;display:block}.stat-value-row{justify-content:space-between;align-items:center;gap:1.5rem;display:flex}.stat-value{color:var(--text-primary);font-variant-numeric:tabular-nums;font-size:4rem;font-weight:900;line-height:1;animation:.4s cubic-bezier(.34,1.56,.64,1) both valuePop}@keyframes valuePop{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.stat-value.large{letter-spacing:-.01em;font-size:2.5rem;font-weight:800}.sparkline{flex-shrink:0}.progress-bar{background:var(--bg-hover);border-radius:8px;height:16px;position:relative;overflow:hidden}.progress-bar:after{content:"";background:linear-gradient(90deg,#0000,#ffffff26,#0000);width:100%;height:100%;animation:2.5s infinite barShimmer;position:absolute;top:0;left:-100%}@keyframes barShimmer{0%{left:-100%}to{left:200%}}.progress-fill{z-index:1;border-radius:8px;height:100%;transition:width .6s cubic-bezier(.4,0,.2,1);position:relative}.stat-footer{color:var(--text-muted);justify-content:space-between;align-items:center;font-size:1.125rem;font-weight:600;display:flex}.memory-breakdown{flex-direction:column;gap:1rem;display:flex}.memory-bar{background:var(--bg-hover);border-radius:7px;height:14px;overflow:hidden}.memory-used{background:linear-gradient(90deg, var(--accent-blue), #60a5fa);border-radius:7px;height:100%;transition:width .6s cubic-bezier(.4,0,.2,1)}.memory-legend{color:var(--text-muted);gap:2rem;font-size:1.0625rem;font-weight:600;display:flex}.memory-legend .dot{vertical-align:middle;border-radius:50%;width:12px;height:12px;margin-right:.5rem;display:inline-block}.memory-legend .dot.used{background:var(--accent-blue)}.memory-legend .dot.free{background:var(--text-muted)}.uptime-bar{margin-top:auto}.uptime-segments{gap:.875rem;display:flex}.uptime-segment{background:var(--bg-hover);border-radius:5px;flex:1;height:10px;animation:3s infinite shimmer;position:relative}.uptime-segment:after{content:"";background:linear-gradient(90deg,#0000,#3b82f666,#0000);border-radius:5px;animation:3s infinite shimmer;position:absolute;inset:0}@keyframes shimmer{0%{opacity:.3}50%{opacity:1}to{opacity:.3}}.uptime-unit{color:var(--text-muted);text-transform:uppercase;font-size:1rem;font-weight:700;position:absolute;top:16px;left:50%;transform:translate(-50%)}.processes-section{background:var(--bg-card);border-radius:var(--radius-lg);border:1px solid var(--border-color);margin-top:1.75rem;padding:2rem;animation:.6s cubic-bezier(.22,1,.36,1) .4s both cardEnter}.processes-header{flex-direction:column;gap:1.25rem;margin-bottom:1.75rem;display:flex}.processes-title-row{justify-content:space-between;align-items:center;display:flex}.processes-header h2{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.05em;font-size:1.375rem;font-weight:700}.process-count{color:var(--text-muted);background:var(--bg-hover);border-radius:9999px;padding:.5rem 1.125rem;font-size:1.0625rem;font-weight:700}.processes-controls{flex-direction:column;gap:1.25rem;display:flex}.search-box{background:var(--bg-hover);border:1px solid var(--border-color);border-radius:var(--radius-md);align-items:center;gap:.875rem;min-height:60px;padding:0 1.5rem;display:flex}.search-box svg{color:var(--text-muted);flex-shrink:0}.search-box input{color:var(--text-primary);background:0 0;border:none;outline:none;flex:1;min-width:0;font-size:1.1875rem}.search-box input::placeholder{color:var(--text-muted)}.search-clear{color:var(--text-muted);cursor:pointer;touch-action:manipulation;background:0 0;border:none;min-width:44px;min-height:44px;padding:.5rem;font-size:1.125rem}.process-tabs{gap:.875rem;display:flex}.tab{border:1px solid var(--border-color);color:var(--text-secondary);border-radius:var(--radius-md);cursor:pointer;touch-action:manipulation;background:0 0;flex:1;min-height:60px;padding:1rem 1.75rem;font-size:1.1875rem;font-weight:700;transition:all .25s}.tab:active{transform:scale(.97)}.tab:hover{background:var(--bg-hover)}.tab.active{background:var(--accent-blue);border-color:var(--accent-blue);color:#fff}.desktop-only{display:none}.processes-table-wrapper{-webkit-overflow-scrolling:touch;overflow-x:auto}.processes-table{border-collapse:collapse;width:100%;min-width:500px}.processes-table th,.processes-table td{text-align:left;border-bottom:1px solid var(--border-color);padding:1.125rem}.processes-table th{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;font-size:1rem;font-weight:700}.processes-table td{color:var(--text-primary);font-size:1.1875rem}.processes-table tbody tr{cursor:pointer;transition:background .15s}.processes-table tbody tr:hover{background:#3b82f614}.processes-table tbody tr:active{background:#3b82f626}.process-name{text-overflow:ellipsis;white-space:nowrap;max-width:200px;font-weight:600;overflow:hidden}.process-metric{flex-direction:column;gap:.5rem;display:flex}.mini-bar{background:var(--bg-hover);border-radius:4px;width:100px;height:8px;overflow:hidden}.mini-fill{border-radius:4px;height:100%;transition:width .5s}.process-detail-btn{background:var(--accent-blue);color:#fff;border-radius:var(--radius-sm);cursor:pointer;touch-action:manipulation;border:none;min-height:52px;padding:.875rem 1.5rem;font-size:1.0625rem;font-weight:700;transition:background .2s}.process-detail-btn:active{transform:scale(.95)}.process-detail-btn:hover{background:#2563eb}.mobile-only{display:flex}.processes-cards{flex-direction:column;gap:1.125rem}.process-card{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:var(--radius-md);cursor:pointer;touch-action:manipulation;padding:1.75rem;transition:all .2s;animation:.4s cubic-bezier(.22,1,.36,1) both cardSlideIn}.process-card:first-child{animation-delay:50ms}.process-card:nth-child(2){animation-delay:.1s}.process-card:nth-child(3){animation-delay:.15s}.process-card:nth-child(4){animation-delay:.2s}.process-card:nth-child(5){animation-delay:.25s}.process-card:nth-child(6){animation-delay:.3s}.process-card:nth-child(7){animation-delay:.35s}.process-card:nth-child(8){animation-delay:.4s}.process-card:nth-child(9){animation-delay:.45s}.process-card:nth-child(10){animation-delay:.5s}@keyframes cardSlideIn{0%{opacity:0;transform:translate(-16px)}to{opacity:1;transform:translate(0)}}.process-card:active{background:var(--bg-hover);transform:scale(.98)}.process-card-header{align-items:center;gap:1.125rem;margin-bottom:1.125rem;display:flex}.process-card-pid{color:var(--text-muted);background:var(--bg-hover);border-radius:9999px;padding:.375rem .875rem;font-family:SF Mono,Monaco,monospace;font-size:1.0625rem;font-weight:700}.process-card-name{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:1.375rem;font-weight:700;overflow:hidden}.process-card-metrics{grid-template-columns:1fr 1fr;gap:1.5rem;display:grid}.process-card-metric{flex-direction:column;gap:.5rem;display:flex}.metric-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;font-size:1.0625rem;font-weight:700}.metric-value{font-variant-numeric:tabular-nums;font-size:1.5rem;font-weight:800}.show-more-btn{background:var(--bg-hover);border:1px solid var(--border-color);border-radius:var(--radius-md);width:100%;color:var(--text-secondary);cursor:pointer;touch-action:manipulation;min-height:64px;margin-top:1.5rem;padding:1.125rem;font-size:1.1875rem;font-weight:700;transition:all .25s}.show-more-btn:active{background:var(--border-color);transform:scale(.99)}.footer{border-top:1px solid var(--border-color);text-align:center;flex-direction:column;gap:.5rem;margin-top:2.5rem;padding-top:1.75rem;animation:.6s .5s both fadeSlideUp;display:flex}@keyframes fadeSlideUp{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.footer p{color:var(--text-muted);font-size:1.125rem;font-weight:600}.footer-hint{color:var(--text-muted);opacity:.7;font-size:1rem}.modal-overlay{z-index:1000;-webkit-backdrop-filter:blur(4px);background:#000000bf;justify-content:center;align-items:flex-end;padding:0;animation:.2s fadeIn;display:flex;position:fixed;inset:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:var(--bg-card);border:1px solid var(--border-color);touch-action:pan-y;border-bottom:none;border-radius:1.5rem 1.5rem 0 0;width:100%;max-height:90vh;padding:2.5rem 2.5rem 3rem;animation:.35s cubic-bezier(.22,1,.36,1) modalSlideUp;position:relative;overflow-y:auto}@keyframes modalSlideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.modal-grab-handle{background:var(--text-muted);opacity:.5;cursor:grab;border-radius:3px;width:48px;height:6px;margin:0 auto 2rem;transition:opacity .2s}.modal-grab-handle:active{opacity:.9}.modal-close{background:var(--bg-hover);border:1px solid var(--border-color);color:var(--text-secondary);cursor:pointer;touch-action:manipulation;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;font-size:1.5rem;line-height:1;transition:all .2s;display:flex;position:absolute;top:2rem;right:2rem}.modal-close:active{background:var(--border-color);transform:scale(.9)}.modal-content h2{color:var(--text-primary);margin-bottom:2.5rem;padding-right:4rem;font-size:2rem;font-weight:800}.modal-details{flex-direction:column;gap:.25rem;display:flex}.detail-row{border-bottom:1px solid var(--border-color);background:var(--bg-secondary);border-radius:var(--radius-md);justify-content:space-between;align-items:center;margin-bottom:.75rem;padding:1.5rem 1.75rem;animation:.3s both detailRowIn;display:flex}.detail-row:first-child{animation-delay:50ms}.detail-row:nth-child(2){animation-delay:.1s}.detail-row:nth-child(3){animation-delay:.15s}.detail-row:nth-child(4){animation-delay:.2s}.detail-row:nth-child(5){animation-delay:.25s}@keyframes detailRowIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.detail-row:last-child{border-bottom:none}.detail-label{color:var(--text-muted);font-size:1.25rem;font-weight:700}.detail-value{color:var(--text-primary);font-variant-numeric:tabular-nums;font-size:1.375rem;font-weight:800}@media (width<=540px){html{font-size:22px}.dashboard{padding:1.5rem}.header h1{font-size:2rem}.stat-value{font-size:3.5rem}.stat-value.large{font-size:2rem}.stat-icon{width:64px;height:64px;font-size:2.25rem}.process-card{padding:1.5rem}.process-card-name{font-size:1.25rem}.modal-content{padding:2rem 2rem 2.5rem}.modal-content h2{font-size:1.75rem}.detail-row{padding:1.25rem 1.5rem}}@media (width>=640px){html{font-size:20px}.dashboard{padding:2.25rem}.header h1{font-size:2.5rem}.stats-grid{grid-template-columns:repeat(2,1fr);gap:2rem}.stat-card{padding:2.25rem}.stat-value{font-size:4.5rem}.stat-value.large{font-size:2.75rem}.processes-section{margin-top:2rem;padding:2.25rem}.processes-controls{flex-direction:row;justify-content:space-between;align-items:center}.search-box{flex:1;max-width:380px}.process-tabs,.tab{flex:none}.modal-overlay{align-items:center;padding:1.5rem}.modal-content{border:1px solid var(--border-color);border-radius:1.5rem;width:100%;max-width:600px;animation:.35s cubic-bezier(.22,1,.36,1) modalScaleIn}@keyframes modalScaleIn{0%{opacity:0;transform:scale(.9)translateY(20px)}to{opacity:1;transform:scale(1)translateY(0)}}}@media (width>=1024px){.dashboard{padding:2.75rem}.stats-grid{grid-template-columns:repeat(3,1fr)}.desktop-only{display:block}.mobile-only{display:none}.stat-value{font-size:5rem}.stat-value.large{font-size:3rem}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
