/* "Şəbəkə" səhifəsi (/sebeke, yalnız Admin və "network" səlahiyyəti) — bax js/network.js. Rənglər transkript bölməsi ilə eyni palitradadır.
   Sistem: boşluq şkalası 4/8/12/16/24, şrift şkalası 12/13/14/16/20/28, radius 8/12/16/pilləvarı, bir kölgə, bir kart üslubu; metriklər tabular-nums;
   status yalnız rənglə deyil — ikon/mətn/forma ilə də göstərilir; rəng yalnız istisna hallar üçündür (normal kart sakit qalır, xəbərdarlıq/problem
   yuxarı zolaq və rəngli nişan alır). Ton dəyişənləri (--t-*) .is-ok/.is-warn/.is-bad/.is-info/.is-idle siniflərindən gəlir. */

.net-app, .net-modal {
  --net-navy: #16345f; --net-navy2: #1f4f8f; --net-teal: #1e9bb8; --net-teal-ink: #0e7490;
  --net-line: #e3eaf2; --net-line-soft: #edf1f7; --net-soft: #5b6c84; --net-ink: #17283f; --net-surface: #f7f9fc;
  --net-ok: #0f6f43; --net-ok-solid: #1aa862; --net-ok-bg: #e7f6ee; --net-ok-line: #bfe6d2;
  --net-warn: #8a5200; --net-warn-solid: #e39a1e; --net-warn-bg: #fff3dc; --net-warn-line: #f2d9a6;
  --net-bad: #b3261e; --net-bad-solid: #d3382d; --net-bad-bg: #fdecea; --net-bad-line: #f4c3be;
  --net-info: #1f4f8f; --net-info-bg: #eef4fb; --net-info-line: #d5e3f3;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px;
  --fs-xs: 12px; --fs-sm: 13px; --fs-md: 14px; --fs-lg: 16px; --fs-xl: 20px; --fs-kpi: 28px;
  --net-shadow: 0 1px 2px rgba(16, 40, 72, 0.05), 0 8px 20px -12px rgba(16, 40, 72, 0.18);
  --net-num: var(--font-body, 'Inter'), system-ui, sans-serif;
}
.net-app { position: relative; display: block; color: var(--net-ink); font-size: var(--fs-md); }
.net-app [hidden], .net-modal [hidden] { display: none !important; }

/* ton dəyişənləri */
.net-app .is-ok { --t-fg: var(--net-ok); --t-bg: var(--net-ok-bg); --t-line: var(--net-ok-line); --t-solid: var(--net-ok-solid); }
.net-app .is-warn { --t-fg: var(--net-warn); --t-bg: var(--net-warn-bg); --t-line: var(--net-warn-line); --t-solid: var(--net-warn-solid); }
.net-app .is-bad { --t-fg: var(--net-bad); --t-bg: var(--net-bad-bg); --t-line: var(--net-bad-line); --t-solid: var(--net-bad-solid); }
.net-app .is-info { --t-fg: var(--net-info); --t-bg: var(--net-info-bg); --t-line: var(--net-info-line); --t-solid: #4f7fb8; }
.net-app .is-idle { --t-fg: #4a5b73; --t-bg: var(--net-info-bg); --t-line: var(--net-info-line); --t-solid: #8798b0; }

/* ümumi */
.net-ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* gizli (yalnız ekran oxuyucu) mətn: scroll konteynerindən kənara çıxıb səhifəni genişləndirməsin deyə .net-app daxilində position:relative var */
.net-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.net-nb { white-space: nowrap; }
.net-muted { color: var(--net-soft); font-size: 0.9em; }
.net-mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.9em; }
.net-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.net-eyebrow { margin: 0 0 var(--s1); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--net-soft); }
.net-app :focus-visible, .net-modal :focus-visible { outline: 2px solid var(--net-teal-ink); outline-offset: 2px; }
.net-link { border: 0; background: none; padding: 0; color: var(--net-navy2); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.net-link:hover { color: var(--net-navy); }

.net-tabs { display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0 0 var(--s4); }
.net-tab {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: 40px; padding: 0 var(--s4); border: 1px solid var(--net-line); background: #fff; color: var(--net-ink);
  border-radius: 999px; font: 600 var(--fs-md) var(--font-body); cursor: pointer; box-shadow: var(--net-shadow); transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.net-tab .net-ico { width: 16px; height: 16px; opacity: 0.85; }
.net-tab:hover { border-color: var(--net-navy2); }
.net-tab.is-active { background: var(--net-navy); border-color: var(--net-navy); color: #fff; }

.net-status { min-height: 1.3rem; margin: 0 0 var(--s3); font-size: var(--fs-md); color: var(--net-soft); }
.net-status:empty { display: none; }
.net-status.is-success { color: var(--net-ok); }
.net-status.is-error { color: var(--net-bad); }

/* nöqtə (əlaqə sətri, cihaz siyahısı): onlayn — dolu + halqa, oflayn — boş halqa (rəngdən başqa formada da seçilir) */
.net-dot { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #aab6c6; vertical-align: middle; }
.net-dot.is-on { background: var(--net-ok-solid); box-shadow: 0 0 0 3px rgba(26, 168, 98, 0.2); }
.net-dot.is-bad { background: var(--net-bad-solid); box-shadow: 0 0 0 3px rgba(211, 56, 45, 0.18); }
.net-dot.is-off { background: transparent; border: 2px solid #7f8fa5; }

/* bölmə başlığı: ikon + başlıq + solğun alt başlıq */
.net-sec-head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--s3); margin-bottom: var(--s4); }
.net-sec-ico { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--net-info-bg); color: var(--net-info); }
.net-sec-title { flex: 1 1 260px; min-width: 0; }
.net-sec-title h3 { margin: 0; font: 600 var(--fs-lg)/1.35 var(--font-display, inherit); color: var(--net-navy); }
.net-sec-title p { margin: 2px 0 0; font-size: var(--fs-sm); line-height: 1.45; }
.net-sec-title:not(:has(p)) { align-self: center; }
.net-sec-head > .net-muted:last-child { align-self: center; white-space: nowrap; }

/* kart sistemi: panel (böyük) */
.net-panel { padding: var(--s4) var(--s5) var(--s5); margin-bottom: var(--s4); border: 1px solid var(--net-line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--net-shadow); }
.net-panel p { margin: var(--s2) 0; line-height: 1.6; font-size: var(--fs-md); }
.net-panel .net-sec-title p { margin: 2px 0 0; }

/* ---------------------------------------------------------------- ümumi vəziyyət (hero) */
.net-hero {
  --h-solid: var(--t-solid, var(--net-line));
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4) var(--s5); overflow: hidden;
  padding: var(--s5); margin-bottom: var(--s4); border: 1px solid var(--t-line, var(--net-line)); border-radius: var(--r-lg);
  background: linear-gradient(100deg, var(--t-bg, #fff) 0%, #fff 62%); box-shadow: var(--net-shadow);
}
.net-hero.is-ok { --h-solid: #139156; }      /* ağ ikon üçün >= 3:1 */
.net-hero.is-warn { --h-solid: #c47800; }
.net-hero.is-idle { --h-solid: #64758d; }
.net-hero::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--h-solid); }
.net-hero-main { display: flex; align-items: center; gap: var(--s5); min-width: 0; }
.net-hero-ind {
  position: relative; display: grid; place-items: center; flex: none; width: 60px; height: 60px; margin-left: var(--s1); border-radius: 50%;
  background: var(--h-solid); color: #fff; box-shadow: 0 0 0 6px var(--t-bg);
}
.net-hero-ind .net-ico { width: 30px; height: 30px; stroke-width: 2.2; }
.net-hero.is-ok .net-hero-ind::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--h-solid); opacity: 0; animation: net-pulse 2.8s ease-out infinite; }
@keyframes net-pulse { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.45); opacity: 0; } }
.net-hero-text { min-width: 0; }
.net-hero-title { margin: 0; font: 700 clamp(1.4rem, 2.2vw, 1.65rem)/1.2 var(--font-display, inherit); color: var(--net-navy); }
.net-hero-sub { margin: var(--s1) 0 0; font-size: var(--fs-md); line-height: 1.55; color: var(--net-soft); }
.net-hero-chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s3) 0 0; padding: 0; list-style: none; }
.net-hero-chips .net-pill { padding: 5px 12px; font-size: var(--fs-sm); white-space: normal; border-radius: var(--r-md); text-align: left; }
.net-hero-stale { grid-column: 1 / -1; margin: 0; padding: var(--s2) var(--s3); border-radius: var(--r-sm); background: var(--net-warn-bg); color: var(--net-warn); font-size: var(--fs-sm); font-weight: 600; }
.net-hero.is-stale { background: #fff; border-color: var(--net-line); }
.net-hero.is-stale::before { background: #8798b0; }
.net-hero.is-stale .net-hero-ind { background: #8798b0; box-shadow: 0 0 0 6px #eef1f6; }
.net-hero.is-stale .net-hero-ind::after { display: none; }
.net-hero.is-stale .net-hero-title { color: var(--net-soft); }

/* yan blok: dar ekranda hero-nun alt zolağı, geniş ekranda sağda bölücü ilə */
.net-hero-side { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s3) var(--s5); padding-top: var(--s4); border-top: 1px solid var(--t-line, var(--net-line)); }
.net-hero-side:empty { display: none; }
.net-hero-meta { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); gap: var(--s2) var(--s5); margin: 0; }
.net-hero-meta > div { min-width: 0; }
.net-hero-meta dt { margin: 0 0 2px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--net-soft); }
.net-hero-meta dd { margin: 0; font-size: var(--fs-md); font-weight: 600; color: var(--net-ink); overflow-wrap: anywhere; }
.net-hero-meta dd .net-muted { font-weight: 500; }
.net-hero-updated { display: flex; align-items: center; gap: 6px; margin: 0 0 0 auto; font-size: var(--fs-xs); color: var(--net-soft); font-variant-numeric: tabular-nums; }
.net-hero-updated .net-ico { width: 14px; height: 14px; }

/* hero-dakı "naməlum" nişanı siyahıya aparır: sticky sayt başlığının altında qalmasın */
.net-list { scroll-margin-top: 96px; }

/* nişanlar */
.net-pill, .net-badge, .net-stat, .net-dur { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.net-pill { padding: 4px 10px; border: 1px solid var(--t-line); background: var(--t-bg); color: var(--t-fg); font-size: var(--fs-xs); }
.net-pill .net-ico { width: 14px; height: 14px; }
.net-pill--btn { font-family: var(--font-body); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.net-pill--btn:hover { border-color: var(--t-solid); }
.net-pill--btn .net-ico:last-child { width: 13px; height: 13px; margin-left: -2px; opacity: 0.7; }
.net-btn .net-ico { width: 15px; height: 15px; }
.net-state { display: inline-grid; place-items: center; margin-left: auto; color: var(--net-ok); }
.net-state .net-ico { width: 18px; height: 18px; }
.net-badge { padding: 3px 10px; background: #eef1f6; color: #4a5b73; font-size: var(--fs-xs); font-weight: 700; }
.net-badge .net-ico { width: 13px; height: 13px; }
.net-badge--ok { background: var(--net-ok-bg); color: var(--net-ok); }
.net-badge--warn { background: var(--net-warn-bg); color: var(--net-warn); }
.net-badge--bad { background: var(--net-bad-bg); color: var(--net-bad); }
.net-badge--info { background: var(--net-info-bg); color: var(--net-info); padding: 2px 8px; vertical-align: 1px; }
.net-badge--off { background: #eef1f6; color: #4a5b73; }

/* ---------------------------------------------------------------- göstərici kartları (iki qrup) */
.net-kpis { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5) var(--s4); margin-bottom: var(--s4); }
.net-group { display: flex; flex-direction: column; min-width: 0; }
.net-group-title { display: flex; align-items: center; gap: var(--s2); margin: 0 0 var(--s3); font: 700 var(--fs-xs)/1.2 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--net-soft); }
.net-group-title .net-ico { width: 16px; height: 16px; }
.net-kgrid { display: grid; flex: 1; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: var(--s3); }

.net-card {
  position: relative; display: flex; flex-direction: column; gap: var(--s2); min-width: 0; padding: var(--s4); overflow: hidden;
  border: 1px solid var(--net-line); border-radius: var(--r-md); background: #fff; box-shadow: var(--net-shadow);
}
/* rəng yalnız istisna üçündür: xəbərdarlıq/problem kartı yuxarı zolaq alır, normal kart sakit qalır (yalnız kiçik ✓ ikonu) */
.net-card.is-warn::before, .net-card.is-bad::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--t-solid); }
.net-card.is-bad { border-color: var(--net-bad-line); }
.net-card-head { display: flex; align-items: center; gap: var(--s2); min-height: 28px; min-width: 0; }
.net-card-ico { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: var(--r-sm); background: var(--t-bg, var(--net-info-bg)); color: var(--t-fg, var(--net-info)); }
.net-card.is-ok .net-card-ico, .net-card.is-stale .net-card-ico { background: var(--net-info-bg); color: var(--net-info); }
.net-card-ico .net-ico { width: 16px; height: 16px; }
.net-card-label { min-width: 0; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--net-soft); line-height: 1.3; }
.net-card-head .net-pill { margin-left: auto; padding: 2px 8px; }
.net-card-body { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s2); min-width: 0; }   /* wrap: konteyner sorğusu olmayan köhnə brauzerdə sparkline aşağı düşür */
.net-card-body > .net-pill, .net-card-body > .net-state { margin-left: auto; align-self: center; }
.net-card-value { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font: 700 var(--fs-kpi)/1.1 var(--net-num); letter-spacing: -0.02em; color: var(--net-navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.net-card-value small { margin-left: 2px; font: 500 var(--fs-sm) var(--font-body); letter-spacing: 0; color: var(--net-soft); }
.net-card-hint { margin-top: auto; font-size: var(--fs-sm); line-height: 1.4; color: var(--net-soft); overflow-wrap: anywhere; text-wrap: pretty; }
.net-meter { display: block; height: 4px; margin-top: 2px; border-radius: 2px; background: #edf1f7; overflow: hidden; }
.net-meter i { display: block; height: 100%; min-width: 0; border-radius: 2px; background: var(--t-solid, var(--net-navy2)); }
.net-meter--off i { background: #9aa7b9; }
/* köhnə məlumat (agent susub): dəyər solğun, sparkline boz, nişan yoxdur */
.net-card.is-stale .net-card-value { color: var(--net-soft); }
.net-card.is-stale .net-spark { color: #8392a8; }
.net-card.is-stale .net-spark-dot { display: none; }

.net-spark { flex: none; width: 88px; height: 32px; overflow: visible; }
.net-spark-line { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.net-spark-area { fill: currentColor; opacity: 0.07; stroke: none; }
.net-spark-dot { fill: none; stroke: currentColor; stroke-width: 5.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.net-spark--net { color: #1f4f8f; }
.net-spark--gw { color: #1e9bb8; }
.net-spark--speed { color: #4f7fb8; }

/* ---------------------------------------------------------------- canlı "Sürət" kartı (js/network.js, netLive*)
   Başlıqda sağda: vəziyyət nişanı (CANLI — nöqtə yanıb-sönür) + "Dayandır/Davam et" düyməsi; altda kiçik qrafik soldan sürüşür, nazik zolaq cari dəyər / yuxarı hədd.
   Dar kartda (konteyner sorğusu) əvvəl düymənin sözü, sonra nişanın sözü, sonra dekorativ ikon, ən dar halda nişan gizlənir — vəziyyət alt sətirdə mətnlə də yazılıb. */
.net-live-ctl { display: inline-flex; flex: none; align-items: center; gap: var(--s1); margin-left: auto; }
.net-live-tag { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 8px; border: 1px solid var(--t-line); border-radius: 999px; background: var(--t-bg); color: var(--t-fg); font: 700 11px/1.5 var(--font-body); letter-spacing: 0.07em; white-space: nowrap; }
.net-live-dot { box-sizing: border-box; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--t-solid); }
.net-live-tag.is-idle .net-live-dot { background: transparent; border: 2px solid var(--t-solid); }   /* qoşulur: boş halqa (canlı — dolu nöqtə) */
.net-live-tag.is-ok .net-live-dot { animation: net-live-blink 1.5s ease-in-out infinite; }
@keyframes net-live-blink { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(26, 168, 98, 0.45); } 55% { opacity: 0.35; box-shadow: 0 0 0 4px rgba(26, 168, 98, 0); } }
.net-live-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 28px; height: 28px; padding: 0 6px;
  border: 1px solid var(--net-line); border-radius: var(--r-sm); background: #fff; color: var(--net-soft); font: 600 var(--fs-xs) var(--font-body); cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.net-live-btn:hover { border-color: var(--net-navy2); background: var(--net-info-bg); color: var(--net-ink); }
.net-live-btn .net-ico { position: relative; width: 14px; height: 14px; }
.net-live-btn-t { white-space: nowrap; }
.net-spark--live { color: var(--net-navy2); background: linear-gradient(to top, var(--net-line) 0 1px, transparent 1px); }   /* qrafik dolana qədər də "zaman oxu" görünsün */
.net-meter--live i { width: 0; background: var(--net-navy2); transition: width 0.6s cubic-bezier(0.2, 0.7, 0.3, 1); }
/* "qoşulur" — saatlıq nəticə solğun qalır; "gözlənilir/alınmadı" — rəqəm son dəyərdə qalır, qrafik və zolaq solğunlaşır */
.net-card--speed.is-live-connecting .net-card-value, .net-card--speed.is-live-waiting .net-card-value, .net-card--speed.is-live-failed .net-card-value { color: var(--net-soft); }
.net-card--speed.is-live-connecting .net-spark, .net-card--speed.is-live-waiting .net-spark:not(.net-spark--live) { opacity: 0.45; }   /* "gözlənilir", canlı dəyər heç gəlməyib: saatlıq qrafik solğun */
.net-card--speed.is-live-waiting .net-spark--live, .net-card--speed.is-live-failed .net-spark--live { color: #8392a8; }
.net-card--speed.is-live-waiting .net-meter--live i, .net-card--speed.is-live-failed .net-meter--live i { background: #9aa7b9; }
.net-card--speed .net-live-note { display: block; }
.net-card--speed .net-live-note .net-link { font-size: inherit; }
.net-card--speed .net-live-sub { display: block; margin-top: 2px; }

/* ---------------------------------------------------------------- "İnternet əlaqəsi" */
.net-agent-line {
  display: flex; align-items: center; gap: var(--s3); padding: 10px var(--s4); margin-bottom: var(--s4); border: 1px solid var(--net-info-line); border-radius: var(--r-md);
  background: var(--net-info-bg); font-size: var(--fs-md); line-height: 1.5; color: var(--net-ink);
}
.net-agent-line.is-ok { background: var(--net-ok-bg); border-color: var(--net-ok-line); }
.net-agent-line.is-warn { background: var(--net-warn-bg); border-color: var(--net-warn-line); }
.net-agent-line.is-bad { background: var(--net-bad-bg); border-color: var(--net-bad-line); }
.net-agent-line.is-warn .net-dot { background: var(--net-warn-solid); box-shadow: 0 0 0 3px rgba(227, 154, 30, 0.2); }

/* göstəricilər tək bir səthdə (hər biri ayrı kölgəli kart deyil): hüceyrələr arasında nazik xətt */
.net-conn-cards { display: grid; grid-template-columns: 252px repeat(4, minmax(0, 1fr)); gap: 1px; margin-bottom: var(--s5); overflow: hidden; border: 1px solid var(--net-line); border-radius: var(--r-md); background: var(--net-line); }
.net-conn-cards:empty { display: none; }
.net-conn-cards .net-card, .net-conn-cards .net-card.is-bad { justify-content: center; padding: var(--s3) var(--s4); border: 0; border-radius: 0; box-shadow: none; }
.net-conn-cards .net-card::before { display: none; }
.net-conn-cards .net-card--ring { order: -1; }
.net-conn-cards .net-card-value { font-size: var(--fs-xl); }
.net-conn-cards .net-card-head { min-height: 20px; }
.net-card--text .net-card-value { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-lg); white-space: normal; overflow-wrap: anywhere; }
.net-conn-cards .net-card--text .net-card-value { font-size: var(--fs-xl); }
.net-card--text .net-card-value .net-ico { width: 20px; height: 20px; color: var(--t-solid, var(--net-soft)); }
.net-card--text.is-warn .net-card-value, .net-card--text.is-bad .net-card-value { color: var(--t-fg); }

/* həlqə kartı: sol — həlqə, sağ — başlıq + təxmini kəsilmə */
.net-card--ring { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: center; align-items: center; column-gap: var(--s4); row-gap: var(--s1); }
.net-card--ring .net-card-head { grid-column: 2; grid-row: 1; flex-direction: column; align-items: flex-start; align-self: end; gap: 6px; }
.net-card--ring .net-card-head .net-pill, .net-card--ring .net-card-head .net-state { margin-left: 0; }
.net-card--ring .net-card-hint { grid-column: 2; grid-row: 2; align-self: start; margin-top: 0; }
.net-ring-wrap { position: relative; grid-column: 1; grid-row: 1 / span 2; display: grid; place-items: center; width: 88px; height: 88px; }
.net-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.net-ring-bg { fill: none; stroke: #e8eef6; stroke-width: 9; }
.net-ring-fg { fill: none; stroke: var(--t-solid, var(--net-navy2)); stroke-width: 9; stroke-linecap: butt; }
.net-ring-wrap .net-card-value { position: relative; font-size: var(--fs-lg); }
.net-ring-wrap .net-card-value small { font-size: var(--fs-xs); }
.net-conn-cards .net-ring-wrap .net-card-value { font-size: var(--fs-lg); }

.net-conn-timeline { margin-bottom: var(--s5); }
.net-conn-sub { margin: 0 0 var(--s3); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--net-soft); }
.net-conn-nodata { flex: 1; align-self: center; text-align: center; font-size: var(--fs-sm); color: var(--net-soft); }

/* 24 saatlıq zolaq: 96 blok (15 dəqiqə), flex ilə panelə sığır */
.net-strip-wrap { position: relative; }
.net-strip { display: flex; gap: 1px; height: 32px; overflow: hidden; border-radius: var(--r-sm); background: #fff; touch-action: pan-y; }
.net-strip:focus { outline: none; }
.net-strip-cell { flex: 1 1 0; min-width: 0; background: #e3e9f1; }
.net-strip-cell.is-ok, .net-skey.is-ok { background: #1fb86b; }
.net-strip-cell.is-ok { opacity: 0.88; }
.net-strip-cell.is-mix, .net-skey.is-mix { background: #e8a33a; }
.net-strip-cell.is-mix-low { background: #f2cd88; }
.net-strip-cell.is-mix-high { background: #d9622b; }
/* tam kəsilmə: rəngdən başqa zolaqlı naxış da var (rəng korluğu) */
.net-strip-cell.is-bad, .net-skey.is-bad { background-color: var(--net-bad); background-image: repeating-linear-gradient(135deg, transparent 0 2px, rgba(0, 0, 0, 0.3) 2px 4px); }
.net-strip-cell:hover { opacity: 0.7; }
.net-strip-tip { position: absolute; bottom: calc(100% + 8px); left: 0; z-index: 3; transform: translateX(-50%); padding: 6px 10px; border-radius: var(--r-sm); background: var(--net-navy); color: #fff; font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; pointer-events: none; box-shadow: 0 10px 24px -10px rgba(16, 40, 72, 0.6); }
.net-strip-axis { position: relative; height: 24px; margin-top: 2px; font-size: var(--fs-xs); color: var(--net-soft); font-variant-numeric: tabular-nums; }
.net-tick { position: absolute; top: 0; padding-top: 9px; transform: translateX(-50%); white-space: nowrap; line-height: 1; }
.net-tick::before { content: ''; position: absolute; left: 50%; top: 0; width: 1px; height: 6px; background: #b7c3d3; }
.net-tick--end { right: 0; left: auto; transform: none; }
.net-tick--end::before { left: auto; right: 0; }
.net-skey { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; background: #e3e9f1; vertical-align: -1px; }

.net-legend { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s4); margin-top: var(--s2); font-size: var(--fs-sm); color: var(--net-soft); }
.net-lk { display: inline-flex; align-items: center; white-space: nowrap; }

/* kəsilmə tarixçəsi: .net-table-dan AYRI sinif */
.net-outages-wrap { position: relative; max-height: 25rem; overflow-y: auto; }
.net-outages { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0; }
.net-outages th { position: sticky; top: 0; z-index: 1; padding: 10px var(--s3); text-align: left; font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--net-soft); background: var(--net-surface); border-bottom: 1px solid var(--net-line); white-space: nowrap; }
.net-outages th:nth-child(1), .net-outages th:nth-child(2) { width: 190px; }
.net-outages td { height: 40px; padding: 6px var(--s3); border-bottom: 1px solid var(--net-line-soft); font-size: var(--fs-md); vertical-align: middle; white-space: nowrap; font-variant-numeric: tabular-nums; }
.net-outages tbody tr:last-child td { border-bottom: 0; }
.net-outages tr.is-open td { background: var(--net-bad-bg); }
.net-outages th:last-child { text-align: right; }
.net-yr { color: var(--net-soft); }
.net-dur { padding: 2px 10px; font-size: var(--fs-sm); background: #eef1f6; color: #4a5b73; }
.net-dur--mid { background: var(--net-warn-bg); color: var(--net-warn); }
.net-dur--high { background: var(--net-bad-bg); color: var(--net-bad); }
.net-durcell { display: grid; grid-template-columns: minmax(0, 1fr) 104px; align-items: center; gap: var(--s3); max-width: 600px; margin-left: auto; }
.net-durcell .net-dur { justify-self: end; }
.net-durbar { height: 6px; border-radius: 3px; background: #eef1f6; overflow: hidden; }
.net-durbar i { display: block; height: 100%; border-radius: 3px; background: #9aa7b9; }
.net-durbar--mid i { background: var(--net-warn-solid); }
.net-durbar--high i { background: var(--net-bad-solid); }
.net-panel .net-conn-note { display: flex; align-items: flex-start; gap: var(--s2); margin: var(--s3) 0 0; padding: 10px var(--s3); border: 1px solid var(--net-info-line); border-radius: var(--r-md); background: var(--net-info-bg); color: #4a5b73; font-size: var(--fs-sm); line-height: 1.5; }
.net-conn-note .net-ico { width: 16px; height: 16px; margin-top: 1px; color: var(--net-info); }
.net-conn-note span { min-width: 0; }

/* boş vəziyyət (cədvəl/qrafik): ikon + mətn */
.net-empty { padding: var(--s5) var(--s4); text-align: center; color: var(--net-soft); }
.net-empty-in { display: flex; flex-direction: column; align-items: center; gap: var(--s2); font-size: var(--fs-md); line-height: 1.5; }
.net-empty-in .net-ico { width: 28px; height: 28px; padding: 6px; box-sizing: content-box; border-radius: 50%; background: var(--net-info-bg); color: var(--net-info); }
.net-empty-in.is-ok .net-ico { background: var(--net-ok-bg); color: var(--net-ok); }
.net-empty--chart { padding: 3rem var(--s4); }

/* ---------------------------------------------------------------- qrafik */
.net-stats { display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: flex-end; align-items: center; margin-left: auto; max-width: 100%; }
.net-stat { padding: 4px 10px; background: #f0f4f9; color: var(--net-soft); font-size: var(--fs-xs); font-weight: 500; }
.net-stat b { color: var(--net-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.net-stat.is-warn { background: var(--net-warn-bg); color: var(--net-warn); }
.net-stat.is-warn b { color: var(--net-warn); }

.net-chartbox { --pl: 50px; --pr: 14px; --pt: 28px; --pb: 38px; --ph: 220px; position: relative; }
.net-plotwrap { position: relative; height: calc(var(--pt) + var(--ph) + var(--pb)); }
.net-plot { position: absolute; left: var(--pl); right: var(--pr); top: var(--pt); height: var(--ph); }
.net-svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }
.net-grid { stroke: #e6ecf4; stroke-width: 1; vector-effect: non-scaling-stroke; }
.net-grid--base { stroke: #c8d3e1; }
.net-grid--v { stroke: #eef2f8; stroke-dasharray: 2 4; }
.net-line { fill: none; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.net-line--net { stroke: #1f4f8f; stroke-width: 2.1; }
.net-line--gw { stroke: #1e9bb8; stroke-width: 2; }
.net-area { stroke: none; }
/* itki/kəsilmə zolaqları HTML-dir (en min. 3 px): sıx ölçmədə də nazik xəttə çevrilib itmir */
.net-bands { position: absolute; inset: 0; overflow: hidden; }
.net-band { position: absolute; top: 0; bottom: 0; min-width: 3px; }
.net-band--loss { background: rgba(227, 154, 30, 0.24); }
.net-band--out { background: rgba(211, 56, 45, 0.22); }
.net-ylab, .net-xlab, .net-xdate, .net-yunit { position: absolute; font: 500 var(--fs-xs)/1 var(--font-body); color: var(--net-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.net-ylab { right: calc(100% + 8px); transform: translateY(-50%); }
.net-yunit { right: calc(100% + 8px); top: -24px; font-weight: 600; }
.net-xlab { top: calc(100% + 9px); transform: translateX(-50%); }
.net-xdate { top: calc(100% + 22px); transform: translateX(-50%); font-weight: 600; }
.net-xlab--end { right: 0; left: auto; transform: none; }
/* skalanın yuxarısından çıxan nöqtə: ▲ + real dəyər */
.net-clip { position: absolute; top: -2px; z-index: 1; display: flex; flex-direction: column; align-items: center; transform: translate(-50%, -100%); font-size: var(--fs-xs); font-weight: 700; line-height: 1; color: var(--net-bad); font-variant-numeric: tabular-nums; pointer-events: none; }
.net-clip i { order: -1; width: 0; height: 0; margin-bottom: 2px; border-style: solid; border-width: 0 4px 6px; border-color: transparent transparent currentColor; }

.net-key { display: inline-block; flex: none; width: 16px; height: 4px; margin-right: 6px; border-radius: 2px; vertical-align: middle; }
.net-key--net { background: #1f4f8f; }
.net-key--gw { background: #1e9bb8; }
.net-key--loss { width: 10px; height: 10px; border-radius: 3px; background: rgba(227, 154, 30, 0.55); }
.net-key--out { width: 10px; height: 10px; border-radius: 3px; background: rgba(211, 56, 45, 0.5); }

/* kursor + tooltip qatı (netPaint ilə yenilənmir) */
.net-hit { position: absolute; left: var(--pl); right: var(--pr); top: var(--pt); height: var(--ph); z-index: 2; cursor: crosshair; touch-action: pan-y; border-radius: 4px; -webkit-tap-highlight-color: transparent; }
.net-hit:focus-visible { outline: 2px solid var(--net-teal-ink); outline-offset: 6px; }
.net-xh { position: absolute; inset: 0; pointer-events: none; }
.net-xh-line { position: absolute; top: -4px; bottom: 0; left: var(--x); width: 1px; background: #7f93ae; }
.net-xh-dot { position: absolute; left: var(--x); width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 1px 4px rgba(16, 40, 72, 0.4); }
.net-xh-dot--net { top: var(--yn); background: #1f4f8f; }
.net-xh-dot--gw { top: var(--yg); background: #1e9bb8; }
.net-xh[data-no-net] .net-xh-dot--net, .net-xh[data-no-gw] .net-xh-dot--gw { display: none; }
.net-tip {
  position: absolute; top: 6px; left: var(--x); z-index: 3; min-width: 176px; padding: 10px var(--s3); transform: translateX(14px);
  border: 1px solid var(--net-line); border-radius: var(--r-md); background: rgba(255, 255, 255, 0.98); box-shadow: 0 14px 30px -14px rgba(16, 40, 72, 0.45);
  font-size: var(--fs-sm); color: var(--net-ink); white-space: nowrap; font-variant-numeric: tabular-nums;
}
.net-xh[data-flip] .net-tip { transform: translateX(calc(-100% - 14px)); }
.net-tip-time { margin-bottom: 6px; font-weight: 700; color: var(--net-navy); }
.net-tip-row { display: flex; align-items: center; gap: 6px; padding: 2px 0; color: var(--net-soft); }
.net-tip-row .net-key { margin-right: 6px; }
.net-tip-row .net-key--loss, .net-tip-row .net-key--out { margin: 0 12px 0 0; }
.net-tip-row b { margin-left: auto; padding-left: var(--s3); color: var(--net-ink); }
.net-tip-row.is-bad b { color: var(--net-bad); }
.net-tip-note { width: 170px; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--net-line-soft); font-size: var(--fs-xs); line-height: 1.4; color: var(--net-soft); white-space: normal; }
.net-legend--chart { margin-top: var(--s1); padding-left: var(--pl, 0); }
.net-chart-note { display: flex; align-items: center; gap: var(--s2); margin: var(--s2) 0 0; padding-left: var(--pl, 0); font-size: var(--fs-sm); color: var(--net-soft); }
.net-panel .net-chart-note { margin: var(--s2) 0 0; padding-left: var(--pl, 0); line-height: 1.4; }
.net-chart-note .net-ico { width: 15px; height: 15px; color: var(--net-info); }

/* ---------------------------------------------------------------- cihaz siyahısı */
.net-listbar { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; margin-bottom: var(--s3); }
.net-searchbox { position: relative; flex: 1 1 280px; max-width: 400px; }
.net-searchbox .net-ico { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--net-soft); pointer-events: none; }
.net-search { width: 100%; min-height: 40px; padding: 0 var(--s3) 0 36px; border: 1px solid var(--net-line); border-radius: var(--r-md); background: #fff; font: 400 var(--fs-md) var(--font-body); color: var(--net-ink); }
.net-search::placeholder { color: #66768d; }
.net-search:focus, .net-field input:focus, .net-field textarea:focus { outline: 2px solid var(--net-teal-ink); outline-offset: 1px; border-color: var(--net-teal-ink); }
.net-chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.net-chip { min-height: 36px; padding: 0 14px; border: 1px solid var(--net-line); background: #fff; color: var(--net-ink); border-radius: 999px; font: 600 var(--fs-sm) var(--font-body); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.net-chip:hover { border-color: var(--net-navy2); background: var(--net-info-bg); }
.net-chip span { margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: #eef1f6; color: var(--net-soft); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.net-chip.is-active { background: var(--net-navy); border-color: var(--net-navy); color: #fff; }
.net-chip.is-active span { background: rgba(255, 255, 255, 0.2); color: #fff; }

.net-table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--net-line); border-radius: var(--r-md); background: #fff; }
.net-table { display: table; width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; font-size: var(--fs-md); }
.net-table th { padding: 10px var(--s3); text-align: left; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--net-soft); background: var(--net-surface); border-bottom: 1px solid var(--net-line); white-space: nowrap; }
.net-table:has(.net-empty) thead { display: none; }   /* boş siyahıda başlıqlar boş sətrin üstündə səpələnməsin */
.net-table td { padding: var(--s3); border-bottom: 1px solid var(--net-line-soft); vertical-align: middle; }
.net-table tbody tr:last-child td { border-bottom: 0; }
.net-table tbody tr { transition: background 0.15s; }
.net-table tbody tr:hover { background: #f5f9fd; }
.net-table tr.is-unknown td:first-child { box-shadow: inset 3px 0 0 var(--net-warn-solid); }
.net-table tr.is-offline .net-device strong { color: #55657c; }
.net-table tr.is-offline td { color: var(--net-soft); }
.net-table td.net-td-st { width: 28px; padding-right: 0; }
.net-actions { white-space: nowrap; text-align: right; }
.net-actions .net-x { margin-left: var(--s1); }
.net-device { min-width: 180px; overflow-wrap: anywhere; }
.net-device-sub { margin-top: 2px; }
.net-addr { white-space: nowrap; }
.net-addr .net-mono { font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.net-td-lat, .net-td-seen { white-space: nowrap; }
.net-td-tags { white-space: nowrap; }
.net-td-tags .net-badge + .net-badge { margin-left: 6px; }

.net-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; border: 1px solid var(--net-line); background: #fff; color: var(--net-ink); border-radius: var(--r-sm); padding: 0 14px; font: 600 var(--fs-sm) var(--font-body); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.net-btn:hover { border-color: var(--net-navy2); background: var(--net-info-bg); }
.net-btn--warn { border-color: var(--net-warn-line); background: var(--net-warn-bg); color: var(--net-warn); }
.net-btn--warn:hover { border-color: var(--net-warn-solid); background: #ffeac2; }
/* sətirdə redaktə: yalnız ikon (söz ekran oxuyucu üçündür), sətrin üstünə gələndə/fokusda çərçivə görünür */
.net-btn-t { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.net-btn--icon { width: 36px; padding: 0; border-color: transparent; background: transparent; color: var(--net-soft); }
.net-btn--icon .net-ico { width: 17px; height: 17px; }
.net-table tbody tr:hover .net-btn--icon, .net-btn--icon:focus-visible { border-color: var(--net-line); background: #fff; color: var(--net-ink); }
.net-x { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 0; background: none; color: var(--net-soft); padding: 0; cursor: pointer; border-radius: var(--r-sm); vertical-align: middle; }
.net-x .net-ico { width: 17px; height: 17px; }
.net-x:hover { color: var(--net-bad); background: var(--net-bad-bg); }

/* ---------------------------------------------------------------- agent sekməsi */
.net-key-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s2); }
.net-keybox { margin-top: var(--s4); padding: var(--s3) var(--s4); border: 1px dashed var(--net-warn-solid); border-radius: var(--r-md); background: #fffaf0; }
.net-keyrow { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.net-keyrow code { flex: 1 1 280px; padding: var(--s2) var(--s3); border-radius: var(--r-sm); background: #fff; border: 1px solid var(--net-line); word-break: break-all; font-size: var(--fs-md); }
.net-steps { margin: var(--s2) 0 var(--s2) 1.2rem; padding: 0; line-height: 1.6; font-size: var(--fs-md); }
.net-steps li { margin-bottom: var(--s3); }
.net-pre { margin: var(--s2) 0; padding: var(--s3) var(--s4); border-radius: var(--r-md); background: #0f2540; color: #e6f0fb; font: 400 var(--fs-sm) ui-monospace, "Cascadia Mono", Consolas, monospace; overflow-x: auto; white-space: pre-wrap; word-break: break-all; }

/* agent paketinin yüklənməsi (js/network.js, netPkg*): versiya sətri, ZIP düyməsi, fayl siyahısı. "Yüklənir" vəziyyəti yüklənmiş məzmun qədər yer tutur (is-pending) — səhifə tullanmır */
.net-pkg-body:focus-visible { outline: none; }
.net-pkg-body.is-pending { min-height: 288px; }
.net-pkg-ver { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-bottom: var(--s4); }
.net-pkg-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border: 1px solid var(--net-line); border-radius: 999px; background: var(--net-surface); color: var(--net-soft); font-size: var(--fs-sm); }
.net-pkg-chip b { color: var(--net-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.net-pkg-ver .net-pill { padding: 5px 12px; border-radius: var(--r-md); font-size: var(--fs-sm); white-space: normal; text-align: left; }
.net-pkg-zip { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); margin-bottom: var(--s4); }
.net-pkg-zip .btn-submit { align-self: auto; gap: var(--s2); }
.net-pkg-zip .btn-submit .net-ico { width: 18px; height: 18px; }
.net-pkg-files { margin: 0; padding: 0; list-style: none; overflow: hidden; border: 1px solid var(--net-line); border-radius: var(--r-md); }
.net-pkg-file { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s3); min-height: 56px; padding: var(--s3) var(--s4); }
.net-pkg-file + .net-pkg-file { border-top: 1px solid var(--net-line-soft); }
.net-pkg-file-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-sm); background: var(--net-info-bg); color: var(--net-info); }
.net-pkg-file-info { min-width: 0; }
.net-pkg-file-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px var(--s2); }
.net-pkg-file-name strong { font-weight: 600; overflow-wrap: anywhere; }
.net-panel .net-pkg-file-desc { margin: 2px 0 0; font-size: var(--fs-sm); line-height: 1.45; }
.net-pkg-file .net-btn { min-width: 108px; }
.net-pkg-state { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); border: 1px solid var(--net-info-line); border-radius: var(--r-md); background: var(--net-info-bg); font-size: var(--fs-md); }
.net-pkg-state.is-error { border-color: var(--net-bad-line); background: var(--net-bad-bg); }
.net-pkg-state.is-error > .net-ico { width: 22px; height: 22px; color: var(--net-bad); }
.net-pkg-state-t { flex: 1 1 220px; min-width: 0; }
.net-panel .net-pkg-state-t p { margin: 2px 0 0; font-size: var(--fs-sm); line-height: 1.45; overflow-wrap: anywhere; }
.net-pkg-spin { flex: none; width: 18px; height: 18px; border: 2px solid var(--net-info-line); border-top-color: var(--net-navy2); border-radius: 50%; animation: net-spin 0.8s linear infinite; }
.net-pkg-skel { display: grid; gap: 1px; margin-top: var(--s4); overflow: hidden; border: 1px solid var(--net-line); border-radius: var(--r-md); background: var(--net-line-soft); }
.net-pkg-skel i { display: block; height: 60px; background: linear-gradient(90deg, #f2f5f9 25%, #fafbfd 50%, #f2f5f9 75%) 0 0 / 200% 100%; animation: net-shimmer 1.4s linear infinite; }
@keyframes net-spin { to { transform: rotate(360deg); } }
@keyframes net-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) {
  .net-pkg-spin, .net-pkg-skel i { animation: none; }
}

/* quraşdırma addımları: nömrə qalın, "Əl ilə / Linux" yığılan bölmə */
.net-steps li::marker { font-weight: 700; color: var(--net-navy2); }
.net-more { margin-top: var(--s2); padding-top: var(--s2); border-top: 1px solid var(--net-line-soft); }
.net-more > summary { display: flex; align-items: center; gap: var(--s2); min-height: 40px; border-radius: var(--r-sm); color: var(--net-navy2); font-weight: 600; list-style: none; cursor: pointer; }
.net-more > summary::-webkit-details-marker { display: none; }
.net-more > summary:hover { color: var(--net-navy); }
.net-more > summary .net-ico { width: 16px; height: 16px; transition: transform 0.15s; }
.net-more[open] > summary .net-ico { transform: rotate(90deg); }
.net-more-body { padding: var(--s1) 0 0 var(--s5); }
.net-more-body .net-pre { margin-bottom: var(--s3); }

@media (max-width: 560px) {
  .net-pkg-body.is-pending { min-height: 560px; }
  .net-pkg-skel i { height: 128px; }
  .net-pkg-zip .btn-submit, .net-pkg-state .net-btn { width: 100%; }
  .net-pkg-file { grid-template-columns: auto minmax(0, 1fr); padding: var(--s3); }
  .net-pkg-file .net-btn { grid-column: 1 / -1; width: 100%; }
  .net-more-body { padding-left: 0; }
}

/* redaktə pəncərəsi (body-yə qoyulur) */
.net-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: var(--s4); background: rgba(10, 22, 40, 0.62); color: var(--net-ink); }
.net-modal[hidden] { display: none; }
.net-modal-card { width: min(480px, 100%); max-height: 94vh; overflow: auto; padding: var(--s5); border-radius: var(--r-lg); background: #fff; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6); }
.net-modal-card h3 { margin: 0 0 var(--s1); font-family: var(--font-display, inherit); color: var(--net-navy); }
.net-field { display: flex; flex-direction: column; gap: 6px; margin: var(--s3) 0; font-size: var(--fs-sm); font-weight: 600; color: #4a5b73; }
.net-field input, .net-field textarea { padding: 10px var(--s3); border: 1px solid var(--net-line); border-radius: var(--r-md); font: 400 var(--fs-md) var(--font-body); color: var(--net-ink); }
.net-check { display: flex; gap: var(--s2); align-items: center; margin: var(--s3) 0; font-size: var(--fs-md); cursor: pointer; }
.net-modal-actions { display: flex; gap: var(--s2); margin-top: var(--s4); }

/* ---------------------------------------------------------------- ekran enlərinə görə */
@media (min-width: 1280px) {
  /* geniş ekran: hero-nun sağında bölücü ilə yan blok */
  .net-hero { grid-template-columns: minmax(0, 1fr) auto; }
  .net-hero-side { flex-direction: column; align-items: flex-start; justify-content: center; padding: 0 0 0 var(--s5); border-top: 0; border-left: 1px solid var(--t-line, var(--net-line)); }
  .net-hero-meta { grid-template-columns: repeat(2, minmax(0, auto)); }
  .net-hero-updated { margin: 0; }
}

@media (min-width: 1100px) {
  .net-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .net-kgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* dar kartda (konteyner sorğusu): sparkline dəyərin altına keçir, nişanın mətni gizlənir (ikon + sr mətni qalır) */
.net-card { container: netcard / inline-size; }
.net-card--ring { container-type: normal; }
@container netcard (max-width: 205px) {
  .net-card-body:has(> .net-spark) { flex-direction: column; align-items: stretch; gap: 6px; }
  .net-spark { width: 100%; height: 26px; }
}
@container netcard (max-width: 180px) {
  .net-card-head .net-pill, .net-card-body > .net-pill { padding: 3px; }
  .net-card-head .net-pill-t, .net-card-body > .net-pill .net-pill-t { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* canlı kartın başlığı: kart nə qədər darsa, o qədər az element (etiket + düymə həmişə qalır) */
@container netcard (max-width: 299px) {
  .net-live-btn-t { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@container netcard (max-width: 229px) {
  .net-live-tag { padding: 5px; }
  .net-live-tag-t { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@container netcard (max-width: 175px) {
  /* dar kartda (telefon) alt sətir 1-2 sətirdir: "qoşulur" → "canlı" keçidində kart hündürlüyü dəyişməsin deyə 2 sətir yer saxlanır */
  .net-card--speed:is(.is-live-connecting, .is-live-live, .is-live-waiting, .is-live-failed) .net-card-hint { min-height: 2.8em; }
}
@container netcard (max-width: 147px) {
  /* telefonda (360 px → kart məzmunu ~138 px) dekorativ ikon gizlənir ki, vəziyyət nişanı (CANLI nöqtəsi, 20 px) qalsın */
  .net-card--speed .net-card-ico { display: none; }
}
@container netcard (max-width: 111px) {
  .net-live-tag { display: none; }
}

@media (max-width: 1099px) {
  .net-conn-cards { grid-template-columns: 224px minmax(0, 1fr) minmax(0, 1fr); }
  .net-conn-cards .net-card--ring { grid-row: span 2; }
}

@media (max-width: 899px) {
  .net-kgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* cihaz cədvəli kartlara çevrilir (üfüqi sürüşdürmə yoxdur): cədvəlin ən az eni ~920 px-dir, ona görə 1080 px və aşağıda; style.css-in .user-table { display: block } qaydasını da üstələyir */
@media (max-width: 1080px) {
  .net-list .net-table-wrap { overflow: visible; border: 0; background: transparent; }
  .net-table, .net-table tbody { display: block; }
  .net-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .net-table tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: var(--s3); }
  .net-table tbody tr {
    display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; grid-template-areas: "st dev tags" "st addr lat" "st seen act"; gap: 6px var(--s3); align-items: center;
    padding: var(--s3) var(--s4); border: 1px solid var(--net-line); border-radius: var(--r-md); background: #fff; box-shadow: var(--net-shadow);
  }
  .net-table tbody tr:hover { background: #fff; }
  .net-table tbody tr.is-unknown { box-shadow: inset 4px 0 0 var(--net-warn-solid), var(--net-shadow); }
  .net-table tr.is-unknown td:first-child { box-shadow: none; }
  .net-table td { display: block; padding: 0; border: 0; min-width: 0; }
  .net-table td.net-empty { grid-area: 1 / 1 / -1 / -1; padding: var(--s4); }
  .net-table tbody:has(.net-empty) { display: block; }
  .net-table tbody:has(.net-empty) tr { display: block; }
  .net-table td.net-td-st { grid-area: st; width: auto; align-self: start; padding-top: 5px; }
  .net-table td.net-td-dev { grid-area: dev; min-width: 0; overflow-wrap: anywhere; }
  .net-table td.net-td-tags { grid-area: tags; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; align-self: start; }
  .net-td-tags .net-badge + .net-badge { margin-left: 0; }
  .net-table td.net-td-addr { grid-area: addr; white-space: normal; overflow-wrap: anywhere; }
  .net-table td.net-td-lat { grid-area: lat; display: flex; flex-direction: column; align-items: flex-end; font-weight: 600; font-size: var(--fs-md); }
  .net-table td.net-td-seen { grid-area: seen; font-size: var(--fs-sm); }
  .net-table td.net-td-act { grid-area: act; display: flex; justify-content: flex-end; gap: var(--s1); }
  .net-td-lat::before { content: attr(data-label); color: var(--net-soft); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
  .net-td-seen::before { content: attr(data-label) ': '; color: var(--net-soft); font-size: var(--fs-sm); }
  .net-actions .net-x { margin-left: 0; }
  .net-btn--icon { width: 44px; min-height: 44px; border-color: var(--net-line); background: #fff; color: var(--net-ink); }   /* toxunmada "hover" yoxdur — çərçivə həmişə görünür */
  .net-x { width: 44px; height: 44px; }
}

@media (max-width: 720px) {
  .net-tab { flex: 1 1 auto; justify-content: center; min-height: 44px; }
  .net-panel { padding: var(--s3) var(--s3) var(--s4); border-radius: var(--r-md); }
  .net-sec-head { gap: var(--s2) var(--s3); margin-bottom: var(--s3); }
  .net-sec-ico { width: 32px; height: 32px; }
  .net-sec-head > .net-muted:last-child { flex: 1 0 100%; white-space: normal; }
  .net-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); margin-left: 0; flex: 1 0 100%; }
  .net-stat { justify-content: center; padding: 6px 8px; }
  .net-stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .net-yr { display: none; }

  .net-hero { padding: var(--s4); gap: var(--s3); }
  .net-hero-main { gap: var(--s3); align-items: flex-start; }
  .net-hero-ind { width: 48px; height: 48px; box-shadow: 0 0 0 5px var(--t-bg); }
  .net-hero-ind .net-ico { width: 24px; height: 24px; }
  .net-hero-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s4); width: 100%; }
  .net-hero-updated { margin: 0; }
  .net-hero .net-link { position: relative; }   /* toxunma hədəfi >= 44 px: sətir hündürlüyünü böyütmədən görünməz sahə ilə genişləndirilir */
  .net-hero .net-link::after { content: ''; position: absolute; left: -6px; right: -6px; top: -12px; bottom: -12px; }
  .net-card-hint { margin-top: 0; }   /* 2 sütunda kartlar bərabər hündürlükdədir: mətn yuxarıdan başlasın, boşluq ortada qalmasın */

  .net-kgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
  .net-card { padding: var(--s3); }
  .net-card-value { font-size: var(--fs-xl); }
  .net-card--text .net-card-value { font-size: var(--fs-lg); }
  .net-card-head { flex-wrap: nowrap; }
  .net-card-label { overflow: hidden; text-overflow: ellipsis; }
  /* toxunmada düymə >= 44 px: görünən çərçivə 28 px-lik ::before-dır, başlığın hündürlüyü artmasın deyə mənfi kənar boşluğu var.
     Düymə burada həmişə yalnız ikondur: söz kart enindən asılı olmayaraq gizlənir (700–720 px-də kart ~300–310 px-dir — konteyner sorğusu sözü göstərərdi,
     amma 44 px-lik düyməyə sığmazdı); etiket aria-label-dadır */
  .net-live-btn { width: 44px; height: 44px; margin: -8px -8px -8px 0; padding: 0; border: 0; background: none; }
  .net-live-btn-t { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); }
  .net-live-btn::before { content: ''; position: absolute; inset: 8px; border: 1px solid var(--net-line); border-radius: var(--r-sm); background: #fff; }
  .net-live-btn:hover { background: none; }
  .net-live-btn:hover::before { border-color: var(--net-navy2); background: var(--net-info-bg); }

  .net-conn-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .net-conn-cards .net-card--ring { grid-column: 1 / -1; grid-row: auto; }
  .net-conn-cards .net-card-value, .net-conn-cards .net-card--text .net-card-value { font-size: var(--fs-lg); }
  .net-conn .net-legend > span:first-child { flex: 1 1 100%; }
  .net-strip { height: 28px; }
  .net-outages th { padding: 8px var(--s2); letter-spacing: 0.02em; }
  .net-outages th:nth-child(1), .net-outages th:nth-child(2) { width: auto; }
  .net-outages td { height: 36px; padding: 6px var(--s2); font-size: var(--fs-sm); }
  .net-durbar { display: none; }
  .net-durcell { display: block; max-width: none; }
  .net-agent-line { padding: 10px var(--s3); }

  .net-chartbox { --pl: 38px; --pr: 10px; --ph: 180px; }
  .net-xlab.is-minor { display: none; }
  .net-tip { min-width: 150px; }
  .net-tip-note { width: 140px; }
  .net-legend--chart, .net-panel .net-chart-note { padding-left: 0; }

  .net-listbar { gap: var(--s2); }
  .net-searchbox { max-width: none; flex-basis: 100%; }
  .net-search { min-height: 44px; }
  .net-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .net-chip { min-height: 44px; padding: 0 var(--s4); }
  .net-btn { min-height: 44px; }
  .net-btn--warn { flex: 1 1 100%; }
  .net-table tbody { grid-template-columns: minmax(0, 1fr); }
  .net-field input, .net-field textarea { min-height: 44px; }
  .net-modal-actions > *, .net-key-actions > * { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .net-hero.is-ok .net-hero-ind::after { animation: none; display: none; }
  .net-live-tag.is-ok .net-live-dot { animation: none; }   /* canlı nişanı yanıb-sönmür (statik "CANLI") */
  .net-app *, .net-modal * { transition: none !important; }
}

/* ---------------------------------------------------------------- ayrıca səhifə (js/pages/sebeke.html, /sebeke) */
.netp-hero {
  position: relative; overflow: hidden; padding: 1.4rem 1.5rem 1.5rem; color: #fff;
  background: linear-gradient(120deg, var(--navy-deep, #061a33) 0%, var(--navy, #0b2a4a) 60%, #0a3a63 100%);
}
.netp-hero::after {
  content: ''; position: absolute; right: -6rem; top: -6rem; width: 22rem; height: 22rem; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(38, 210, 255, 0.22) 0%, rgba(38, 210, 255, 0) 70%);
}
.netp-hero-inner { position: relative; z-index: 1; max-width: 1760px; margin: 0 auto; }
.netp-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0 0 0.55rem; padding: 0; list-style: none; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
.netp-breadcrumb li + li::before { content: '/'; margin-right: 0.4rem; color: rgba(255, 255, 255, 0.4); }
.netp-breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.netp-breadcrumb a:hover { color: var(--cyan, #26d2ff); }
.netp-breadcrumb [aria-current] { color: #fff; font-weight: 600; }
.netp-hero-body { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1.5rem; }
.netp-hero h1 { margin: 0; font-family: var(--font-display, inherit); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.15; }
.netp-user { padding: 0.3rem 0.85rem; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-size: 0.85rem; color: rgba(255, 255, 255, 0.9); }
.netp-user:empty { display: none; }
/* Sağda səhifənin mənasını bildirən ikon (router + Wi-Fi) — MENTOREX-in sağdakı loqosu kimi; hesab adı başlığın altındadır */
.netp-hero-text { flex: 1 1 14rem; min-width: 0; }
.netp-hero-text .netp-user { display: inline-block; margin-top: 0.7rem; }
.netp-hero-text .netp-user:empty { display: none; }
.netp-hero-icon {
  --ico-acc: #26d2ff;
  position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 5.5rem; height: 5.5rem; border-radius: 1.4rem; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  box-shadow: 0 22px 44px -26px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.netp-hero-icon::before, .netp-hero-icon::after { content: ''; position: absolute; pointer-events: none; border: 1px solid rgba(255, 255, 255, 0.09); }
.netp-hero-icon::before { inset: -0.85rem; border-radius: 2.1rem; }
.netp-hero-icon::after { inset: -1.7rem; border-radius: 2.8rem; border-color: rgba(255, 255, 255, 0.05); }
.netp-hero-icon svg { width: 3.7rem; height: 3.7rem; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.netp-hero-icon .ico-acc { stroke: var(--ico-acc); }
.netp-hero-icon .ico-dot { fill: var(--ico-acc); stroke: none; }
.netp-main { max-width: 1760px; margin: 0 auto; padding: 1.25rem 1.25rem 2.5rem; }
/* iş sahəsinin öz kartları var — çərçivə içində çərçivə olmasın */
.netp-panel { padding: 0; border: 0; background: none; box-shadow: none; }
.netp-gate { max-width: 36rem; margin: 2rem auto; padding: 1.6rem 1.5rem; border: 1px solid #e3eaf2; border-radius: 1rem; background: #fff; text-align: center; }
.netp-gate[hidden] { display: none; }
.netp-gate h2 { margin: 0 0 0.6rem; }
.netp-gate-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: 1.1rem 0 0; }

@media (max-width: 700px) {
  .netp-hero { padding: 1.1rem 1rem 1.2rem; }
  .netp-hero-text { flex-basis: 8rem; }
  .netp-hero-icon { width: 3.75rem; height: 3.75rem; border-radius: 1rem; }
  .netp-hero-icon::before { inset: -0.55rem; border-radius: 1.5rem; }
  .netp-hero-icon::after { inset: -1.1rem; border-radius: 2rem; }
  .netp-hero-icon svg { width: 2.5rem; height: 2.5rem; }
  .netp-main { padding: 0.75rem 0.75rem 1.5rem; }
}
