* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; background: #0f1115; color: #e9eef5; }

.topbar {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: #0b0d10;
}
.brand { font-weight: 700; letter-spacing: 0.3px; }
.meta { display: flex; gap: 12px; align-items: center; }
#search {
  width: 260px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #e9eef5;
  outline: none;
}
#search::placeholder { color: rgba(233,238,245,0.5); }

.layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  height: calc(100vh - 56px);
}
.graph { position: relative; border-right: 1px solid rgba(255,255,255,0.08); }
#cy { width: 100%; height: 100%; }
.hint {
  position: absolute;
  left: 12px; bottom: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 12px;
}

.panel { padding: 16px; overflow: auto; }
.panel h2 { margin: 0 0 10px 0; font-size: 18px; }
.panelBody { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 12px; }

table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 8px 6px; border-bottom: 1px solid rgba(255,255,255,0.08); vertical-align: top; }
th { text-align: left; color: rgba(233,238,245,0.8); font-weight: 600; }
.small { color: rgba(233,238,245,0.7); font-size: 12px; }

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  font-size: 12px;
}
