/* ===== DIAGNOSTICS PAGE =====
   Shell + content typography come from legal.css + theme.css (same as the legal
   / settings pages). This only styles the performance table and its traffic
   lights. The .dg-dot colours are counter-inverted in light mode by theme.css. */

.diag { margin: 1.1rem 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,0.12); }

/* section grouping */
.diag-group {
  margin: 2.6rem 0 0.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c6cad0;
}
.diag-note { margin: 0.3rem 0 0 !important; font-size: 0.82rem; color: #8a8e96; }
.diag-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.78rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.diag dt {
  flex: none;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a8e96;
}
.diag dd {
  margin: 0;
  text-align: right;
  font-size: 0.9rem;
  color: #dfe2e6;
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}
/* value + traffic-light marker */
.diag dd.dg { display: flex; align-items: center; justify-content: flex-end; gap: 0.6rem; }
.dg-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #6f747d; }
.dg.good .dg-dot { background: #3fb950; }   /* green  */
.dg.ok   .dg-dot { background: #d29922; }   /* amber  */
.dg.poor .dg-dot { background: #f85149; }   /* red    */
.dg-val { color: #dfe2e6; }

.diag-foot { margin-top: 2.4rem !important; }
