/* Network monitoring – public/net.js (colours from the theme variables, so light and dark both work) */
.net-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.net-k { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.net-k span { display: block; color: var(--muted); font-size: 13px; }
.net-k b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.net-k.bad b { color: var(--bad); }
.net-h { margin: 22px 0 10px; font-size: 20px; }
tr.net-off td:first-child { box-shadow: inset 3px 0 0 var(--bad); }
dialog.dmodal.net-wide { width: min(860px, calc(100vw - 32px)); }
.net-pc { display: grid; gap: 6px; }
.net-pc h3 { margin: 8px 0 2px; font-size: 16px; }
.net-prow { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 10px; align-items: center; padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; }
.net-prow[hidden] { display: none; }
.net-prow label.check { margin: 0; min-width: 0; }
.net-prow input:not([type=checkbox]) { width: 100%; }
@media (max-width: 720px) {
  .net-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .net-prow { grid-template-columns: 1fr; }
}
/* status words: the theme's own green / red (desk.css uses lighter tones made for the dark NOC) */
.net-t .nst.good { color: var(--ok); } .net-t .nst.critical, .net-t .nst.critical b { color: var(--bad); }
/* phones: the table scrolls inside its card (never the whole page); dates and addresses stay on one line */
.net-t:not(.mini) td:not(:first-child) { white-space: nowrap; }
.net-facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 6px 0 10px; font-size: 14px; }
.net-facts .nst.good { color: var(--ok); }
