/* === /network PAGE === */
/* BEAD NOC & monitoring transparency artifact. Self-contained under .net-*
   prefixes so a future change to security.css / grants.css does not
   silently affect this page. Most layout reuses the existing .sec-*
   primitives (hero, section, spec-table, incident-card, cta) declared in
   security.css — only the page-specific additions are declared here. */

.network-page { padding-top: 80px; }

/* Inline link accent — used in prose links pointing at sister BEAD pages. */
.link-accent {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dashed rgba(10,191,156,0.5);
  padding-bottom: 0;
  transition: color 0.15s, border-color 0.15s;
}
.link-accent:hover { color: var(--fg); border-bottom-color: var(--fg); }

/* === LIVE UPTIME CALLOUT === */
.net-uptime-callout {
  background: linear-gradient(160deg, #070E0A 0%, #07090E 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px 48px;
  margin-bottom: 32px;
  position: relative;
}
.net-uptime-callout-val {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 7vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 14px;
}
.net-uptime-callout-pct {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.5em;
  vertical-align: top;
  margin-left: 4px;
  color: var(--accent);
  opacity: 0.85;
}
.net-uptime-callout-label {
  font-size: 15px;
  color: var(--fg);
  font-weight: 500;
  margin-bottom: 14px;
}
.net-uptime-callout-links {
  font-size: 13px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.net-uptime-callout-divider { color: var(--fg-dim); }
.net-uptime-callout-meta { color: var(--fg-dim); font-size: 12px; }
.net-uptime-callout-time {
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* === ESCALATION TIER GRID === */
.net-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.net-tier-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.net-tier-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.net-tier-scope {
  font-size: 14px;
  color: var(--fg);
  line-height: 1.55;
  font-weight: 500;
}
.net-tier-spec {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.net-tier-sla {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.6;
  font-weight: 300;
  margin: 0;
  padding: 14px 16px;
  background: rgba(10,191,156,0.04);
  border-left: 2px solid var(--accent);
  border-radius: 0 6px 6px 0;
}

/* === ARCHITECTURE SUMMARY ACTIONS === */
.net-architecture-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .net-tier-grid { grid-template-columns: 1fr; }
  .net-uptime-callout { padding: 32px 28px; }
  .net-architecture-actions { flex-direction: column; align-items: stretch; }
}
@media (max-width: 600px) {
  .net-uptime-callout-val { font-size: 48px; }
}

/* === PRINT STYLESHEET SUPPLEMENT ===
   The primary @media print rules live in security.css and hide .nav,
   .footer, .sec-hero-actions, .sec-btn-print, .sec-btn-secondary,
   .sec-cta-actions, and .sec-cta-print — same approach as /grants and
   /security. The rules below are a small page-specific supplement so
   the BEAD §6 PDF export from /network renders the uptime callout
   cleanly and keeps the tier grid readable when printed at letter size. */
@media print {
  .net-uptime-callout {
    background: #f5f5f5 !important;
    border: 1px solid #ccc !important;
    padding: 20pt 24pt !important;
  }
  .net-uptime-callout-val,
  .net-uptime-callout-pct { color: #111 !important; }
  .net-uptime-callout-label,
  .net-uptime-callout-links,
  .net-uptime-callout-time { color: #333 !important; }
  .net-tier-card {
    background: #fafafa !important;
    border-color: #ccc !important;
    page-break-inside: avoid;
  }
  .net-tier-sla {
    background: #f5f5f5 !important;
    border-left-color: #555 !important;
  }
  .link-accent { color: #111 !important; border-bottom-color: #888 !important; }
}
