.server-note { font-size:12px; color:var(--muted); margin:12px 0; }
.server-warning { border:1px solid #8c52c055; background:#8c52c012; color:var(--kitty-text); border-radius:var(--kitty-arc);
  padding:12px 14px; font-size:12px; margin:0 0 16px; }
.server-charts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; margin-bottom:18px; }
.server-chart { border:1px solid var(--line); border-radius:var(--kitty-arc); background:linear-gradient(145deg,#2b2b2e,#262629);
  padding:16px 18px 14px; min-width:0; }
.server-chart header { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 12px; margin-bottom:10px; }
.server-chart h3 { margin:0; font-size:13px; }
.server-legend { display:flex; gap:12px; color:var(--kitty-label); font-size:11px; flex:1; }
.server-legend span,.server-tip span { display:inline-flex; align-items:center; gap:6px; }
.server-now { margin-left:auto; font-size:13px; color:var(--kitty-text); font-variant-numeric:tabular-nums; white-space:nowrap; }
.swatch-0,.swatch-1 { display:inline-block; width:10px; height:3px; border-radius:2px; background:#a25be1; }
.swatch-1 { background:#199e70; }
.server-plot { position:relative; height:150px; }
.server-plot svg { display:block; width:100%; height:100%; overflow:visible; touch-action:pan-y; }
.server-grid line { stroke:#ffffff0f; stroke-width:1; }
.server-area.area-0 { fill:#a25be11f; }
.server-area.area-1 { fill:none; }
.server-cursor { stroke:#ffffff40; stroke-width:1; }
.server-cursor.hidden,.server-dot.hidden { display:none; }
.server-axis { position:absolute; top:-2px; left:0; font-size:10px; color:var(--kitty-muted); pointer-events:none;
  font-variant-numeric:tabular-nums; }
.server-tip { position:absolute; top:6px; left:0; z-index:2; pointer-events:none; display:flex; flex-direction:column; gap:4px;
  padding:8px 10px; border-radius:8px; background:#18181a; border:1px solid #ffffff14; box-shadow:0 8px 24px #0008;
  font-size:11px; color:var(--kitty-label); white-space:nowrap; }
.server-tip small { color:var(--kitty-muted); }
.server-tip strong { color:var(--kitty-text); margin-left:8px; font-variant-numeric:tabular-nums; }
.server-table td { vertical-align:middle; padding:12px 14px; }
.server-table td small { display:block; margin-top:4px; color:var(--muted); font-size:11px; }
.server-table meter { width:100%; min-width:120px; height:8px; }
.server-section { margin:28px 0 12px; }
.server-group { margin-top:0; margin-bottom:13px; }
.server-group .panel-head { padding:12px 18px; }
.server-unit { display:grid; grid-template-columns:12px minmax(0,1fr) minmax(170px,auto) auto; gap:14px; align-items:center;
  padding:14px 18px; border-top:1px solid var(--line); }
.server-group .panel-head + .server-unit { border-top:0; }
.server-unit-copy strong,.server-unit-copy small { display:block; }
.server-unit-copy small { color:var(--muted); font-size:11px; margin-top:3px; }
.server-unit-copy p { margin:6px 0 0; font-size:11px; color:var(--kitty-muted); max-width:62ch; }
.server-unit-state small { display:block; margin-top:5px; color:var(--muted); font-size:11px; }
.server-unit-actions { display:flex; gap:8px; justify-content:flex-end; }
.server-unit-actions small { color:var(--kitty-muted); font-size:11px; }
.server-dot-state { width:9px; height:9px; border-radius:50%; background:var(--kitty-muted); }
.server-unit.state-success .server-dot-state { background:var(--kitty-accent); }
.server-unit.state-danger .server-dot-state { background:var(--danger); }
.server-unit.state-waiting .server-dot-state { background:var(--kitty-logo-body); }
.server-action.danger { color:var(--danger); }
.server-action:disabled { opacity:.4; cursor:not-allowed; }
.server-unit-copy small,.server-table .mono { overflow-wrap:anywhere; }
@media(max-width:900px){
  .server-charts { grid-template-columns:minmax(0,1fr); }
  .server-unit { grid-template-columns:12px minmax(0,1fr); }
  .server-unit-state,.server-unit-actions { grid-column:2; justify-content:flex-start; }
}
