.ns-page { --ns-muted: #9baabb; --ns-border: #2b394c; color: #e4eaf2; }
.ns-page header, .ns-heading, .ns-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.ns-page header { margin-bottom:20px; }
.ns-page h2, .ns-page h3, .ns-page p { margin:0; }
.ns-page h2 { font-size:25px; letter-spacing:-.6px; }
.ns-page h3 { font-size:15px; }
.ns-page .ns-subtitle, .ns-page small, .ns-muted { color:var(--ns-muted); font-size:12px; line-height:1.6; }
.ns-page .ns-subtitle { margin-top:5px; }
.ns-page button, .ns-page select { width:auto; min-height:38px; padding:8px 13px; border:1px solid var(--ns-border); background:#15202d; color:#e4eaf2; border-radius:7px; font:inherit; font-size:12px; }
.ns-page button { cursor:pointer; }
.ns-page button:disabled { opacity:.6; cursor:wait; }
.ns-page :focus-visible { outline:2px solid #71a6ff; outline-offset:3px; }
.ns-notice { border:1px solid var(--ns-border); border-left:3px solid #73a7ef; background:#141e2b; padding:13px 16px; border-radius:8px; font-size:12px; line-height:1.7; margin-bottom:18px; }
.ns-notice.ns-warning { border-left-color:#efb34c; color:#f5d492; }
.ns-notice.ns-error { border-left-color:#fa7474; color:#ffb4b4; }
.ns-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:16px 0; }
.ns-card { border:1px solid var(--ns-border); background:#111b27; border-radius:9px; padding:17px; min-width:0; }
.ns-metric { display:block; font-size:25px; font-weight:700; font-variant-numeric:tabular-nums; margin:8px 0; }
.ns-unit { font-size:12px; color:var(--ns-muted); font-weight:400; }
.ns-badge { display:inline-flex; align-items:center; gap:6px; padding:5px 9px; border:1px solid #42536c; border-radius:5px; font-size:11px; font-weight:600; color:#c5d7ef; white-space:nowrap; }
.ns-badge::before { content:''; width:6px; height:6px; border-radius:50%; background:currentColor; }
.ns-badge.suspected, .ns-badge.active { color:#ffa56b; border-color:#855434; background:#2e211c; }
.ns-badge.observing { color:#8cceb6; border-color:#386354; }
.ns-badge.stale, .ns-badge.unavailable, .ns-badge.interrupted { color:#dfbd86; border-color:#6a583e; }
.ns-charts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:16px 0; }
.ns-chart { width:100%; height:150px; margin:12px 0 0; display:block; }
.ns-chart path { fill:none; stroke:#70a8ff; stroke-width:2; vector-effect:non-scaling-stroke; }
.ns-chart line { stroke:var(--ns-border); stroke-width:1; }
.ns-axis { display:flex; justify-content:space-between; font-size:10px; color:var(--ns-muted); }
.ns-empty { padding:24px 8px; color:var(--ns-muted); text-align:center; font-size:13px; line-height:1.7; }
.ns-table-wrap { overflow:auto; margin-top:12px; }
.ns-page table { width:100%; border-collapse:collapse; white-space:nowrap; font-size:12px; }
.ns-page th { font-size:10px; text-align:left; color:var(--ns-muted); text-transform:uppercase; letter-spacing:.6px; }
.ns-page th, .ns-page td { padding:12px 10px; border-bottom:1px solid var(--ns-border); }
.ns-page td:first-child, .ns-page th:first-child { padding-left:0; }
.ns-page td:last-child, .ns-page th:last-child { padding-right:0; }
.ns-page tbody tr:last-child td { border-bottom:0; }
.ns-page .ns-footnote { margin-top:12px; }
.ns-source-search { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:15px; font-size:12px; }
.ns-source-search input { width:250px; max-width:100%; min-height:38px; padding:8px 12px; border:1px solid var(--ns-border); border-radius:7px; background:#15202d; color:#e4eaf2; }
.ns-sources { margin:16px 0; }
.ns-ip { color:#9dc3ff; font-family:ui-monospace,monospace; }
.ns-ban-summary { margin-top:12px; padding:12px; border:1px solid #855434; border-radius:7px; color:#ffc18c; background:#2e211c; font-size:12px; line-height:1.8; overflow-wrap:anywhere; }
html[data-color-mode="light"] .ns-page, body[data-color-mode="light"] .ns-page { --ns-muted:#58687c; --ns-border:#d5deea; color:#202d40; }
html[data-color-mode="light"] .ns-card, html[data-color-mode="light"] .ns-notice { background:#f8fafc; }
@media(max-width:900px) { .ns-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:620px) { .ns-charts { grid-template-columns:1fr; } .ns-metric { font-size:21px; } .ns-card { padding:13px; } .ns-page select { max-width:100%; } }
