/* ==========================================================================
   NETWORK STATUS SECTIONS — status/servers, analytics/*
   (templates/pages/status-*.php) and the row of section links on every status page.
   ========================================================================== */
.nsx-sections { margin-bottom: 28px; }
.nss { --ok: #16a34a; --down: #dc2626; --warn: #d97706; min-width: 0; }
.nss .nsx-h1 { margin-top: 6px; }
.nss-lead { max-width: 680px; margin: 12px 0 24px; font-size: 17px; line-height: 1.55; color: var(--muted); }
.nss-lead a, .nss-foot a, .nss-card a { color: var(--accent); }
.nss-foot { margin: 28px 0 0; font-size: 14px; color: var(--muted); }
.nss-empty { padding: 28px 0; color: var(--muted); }
.nss-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.nss-card { padding: 18px 20px; border: 1px solid var(--rule); background: var(--bg, transparent); min-width: 0; }
.nss-card h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 18px; font-weight: 500; color: var(--ink); }
.nss-card h2 small { font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.nss-card h2 i { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex: none; }
.nss-card.is-down h2 i { background: var(--down); }
.nss-card p { margin: 0; font-size: 14px; color: var(--muted); }
.nss-card .nss-state { margin-top: 10px; color: var(--ink); }
.nss-card.is-own { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.nss-search { display: flex; gap: 8px; max-width: 520px; margin: 0 0 20px; }
.nss-search input { flex: 1; min-width: 0; min-height: 42px; padding: 0 12px; font: inherit; font-size: 15px; color: var(--ink); background: var(--field-bg, transparent); border: 1px solid var(--rule); border-radius: 0; }
.nss-search input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.nss-table-wrap { overflow-x: auto; }
.nss-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.nss-table th { padding: 8px 10px; text-align: left; font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--rule); }
.nss-table td { padding: 11px 10px; border-bottom: 1px solid var(--rule); color: var(--ink); vertical-align: middle; }
.nss-table code { font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--accent); }
.nss-pill { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: color-mix(in srgb, var(--muted) 14%, transparent); color: var(--muted); white-space: nowrap; }
.nss-pill.is-running { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.nss-pill.is-offline { background: color-mix(in srgb, var(--down) 12%, transparent); color: var(--down); }
.nss-pill.is-starting, .nss-pill.is-installing { background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); }
.mega small { font-size: 11px; color: var(--muted); }
@media (max-width: 640px) {
  .nss-hide-s { display: none; }
  .nss-lead { font-size: 15.5px; }
}

/* Analytics → Validator status: one block per blockchain */
.nss-chain { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--rule); }
.nss-chain h2 { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 22px; font-weight: 600; margin: 0 0 10px; }
.nss-chain h2 small { font-size: 12px; letter-spacing: .12em; opacity: .7; font-weight: 500; }
.nss-chain-link { margin-left: auto; font-size: 14px; font-weight: 500; }
.nss-chain .nss-empty { margin: 0; }
