:root {
  --bg: #08111b;
  --panel: #122033;
  --line: #2b3b52;
  --text: #e7edf4;
  --muted: #95a6bb;
  --accent: #5fd1a5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top right, #17314d, var(--bg) 55%);
  color: var(--text);
}

.wrap {
  width: min(1080px, 94vw);
  margin: 24px auto 40px;
}

.top h1 {
  margin: 6px 0;
  font-size: 1.8rem;
}

.back {
  color: var(--accent);
  text-decoration: none;
}

.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.toolbar a,
.toolbar button {
  border: 1px solid var(--line);
  background: #0d1929;
  color: var(--text);
  border-radius: 8px;
  padding: 8px 12px;
  text-decoration: none;
  cursor: pointer;
}

.panel {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in oklab, var(--panel) 92%, black);
  padding: 14px;
}

.panel h2 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: #0f1c2d;
}

.k {
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 5px;
}

.v {
  font-size: 1.2rem;
  font-weight: 600;
}

pre {
  margin: 0;
  font-size: 0.82rem;
  color: #cad8e8;
  overflow: auto;
}

.topology {
  display: grid;
  gap: 12px;
}

.net-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0d1a2a;
  padding: 10px;
}

.net-head {
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent);
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
}

.asset-node {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #102136;
  padding: 8px;
}

.asset-name {
  font-weight: 700;
  margin-bottom: 6px;
}

.asset-kv {
  font-size: 0.83rem;
  color: #c5d4e5;
}

.asset-empty {
  font-size: 0.9rem;
  color: var(--muted);
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 8px;
  text-align: left;
  font-size: 0.85rem;
}

th {
  color: var(--muted);
}
