.network-diagnostics-debug-panel { --debug-accent: #71e5cf; }
.network-diagnostics-debug-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.network-diagnostics-debug-panel > header > div { display: grid; gap: 1px; }
.network-diagnostics-debug-panel > header button { width: 30px; height: 30px; padding: 0; border-radius: 9px; font-size: 20px; line-height: 1; }
.network-diagnostics-scroll { display: grid; gap: 10px; padding: 10px; }
.network-diagnostics-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.network-diagnostics-metric { display: grid; min-width: 0; gap: 2px; padding: 8px; border: 1px solid rgba(113, 229, 207, .14); border-radius: 9px; background: rgba(113, 229, 207, .055); }
.network-diagnostics-metric strong { overflow: hidden; color: #f7fffd; font-size: 13px; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.network-diagnostics-metric span { overflow: hidden; color: rgba(221, 246, 241, .57); font-size: 8px; letter-spacing: .04em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.network-diagnostics-chart,
.network-diagnostics-events,
.network-diagnostics-run { padding: 9px; border: 1px solid rgba(113, 229, 207, .13); border-radius: 10px; background: rgba(255, 255, 255, .025); }
.network-diagnostics-chart > div,
.network-diagnostics-events > header,
.network-diagnostics-run > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.network-diagnostics-chart strong,
.network-diagnostics-events strong,
.network-diagnostics-run strong { font-size: 11px; }
.network-diagnostics-chart span,
.network-diagnostics-events header span,
.network-diagnostics-run span { color: rgba(225, 247, 243, .58); font-size: 8px; }
.network-diagnostics-chart span i { display: inline-block; width: 7px; height: 2px; margin: 0 2px 2px 6px; background: #ffd06b; }
.network-diagnostics-chart span i + i { background: #72e4cf; }
.network-diagnostics-chart svg { display: block; width: 100%; height: 74px; margin-top: 7px; overflow: visible; }
.network-diagnostics-chart path { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: .45; }
.network-diagnostics-chart polyline { fill: none; stroke: #ffd06b; stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.network-diagnostics-chart polyline[data-network-line="loop"] { stroke: #72e4cf; }
.network-diagnostics-events ol { display: grid; gap: 8px; margin: 9px 0 0; padding: 0; list-style: none; }
.network-diagnostics-events li > div:first-child { display: flex; justify-content: space-between; gap: 8px; min-width: 0; }
.network-diagnostics-events li strong { overflow: hidden; color: #edfdf9; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.network-diagnostics-events li span { flex: 0 0 auto; color: rgba(236, 253, 249, .67); font-size: 8px; font-variant-numeric: tabular-nums; }
.network-diagnostics-event-track { height: 3px; margin-top: 4px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .07); }
.network-diagnostics-event-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #72e4cf, #ffd06b); }
.network-diagnostics-empty { color: rgba(236, 253, 249, .55); font-size: 9px; }
.network-diagnostics-conclusion { margin: 0; padding: 8px 9px; border-left: 2px solid #ffd06b; background: rgba(255, 208, 107, .055); color: #f7edd4; font-size: 9px; line-height: 1.4; }
.network-diagnostics-progress { height: 5px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .075); }
.network-diagnostics-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #72e4cf, #ffd06b); transition: width .2s linear; }
.network-diagnostics-actions { display: grid !important; grid-template-columns: 1.25fr .65fr 1fr .62fr; gap: 5px; margin-top: 8px; }
.network-diagnostics-actions button { min-width: 0; min-height: 31px; padding: 4px 6px; border-radius: 8px; font-size: 9px; font-weight: 800; }
.network-diagnostics-actions button:disabled { opacity: .38; }
.network-diagnostics-debug-panel > footer { color: rgba(231, 250, 246, .48); font-size: 8px; line-height: 1.3; }

@media (max-width: 620px) {
  .network-diagnostics-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .network-diagnostics-actions { grid-template-columns: 1fr 1fr; }
}
