 
/* This if for reddit toggle  */

.reddit-row { display:flex; align-items:center; gap:14px; margin-top:14px; flex-wrap:wrap; }
.reddit-toggle { display:flex; align-items:center; gap:9px; cursor:pointer; font-size:11px; font-family:'Space Mono',monospace; color:var(--muted); user-select:none; }
.reddit-toggle input { display:none; }
.reddit-track { width:36px; height:18px; background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.15); border-radius:9px; position:relative; transition:background 0.2s; flex-shrink:0; }
.reddit-track::after { content:''; position:absolute; width:12px; height:12px; background:#64748b; border-radius:50%; top:2px; left:2px; transition:transform 0.2s, background 0.2s; }
.reddit-toggle input:checked + .reddit-track { background:rgba(255,69,0,0.2); border-color:rgba(255,69,0,0.5); }
.reddit-toggle input:checked + .reddit-track::after { transform:translateX(18px); background:#ff4500; }
.pulse-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
@media(max-width:640px){ .pulse-grid { grid-template-columns:1fr; } }
.pulse-bar-bg { height:4px; background:rgba(255,255,255,0.08); border-radius:2px; overflow:hidden; margin-top:4px; }
.pulse-bar-fill { height:100%; border-radius:2px; transition:width 0.8s cubic-bezier(.4,0,.2,1); }


  /* reddit toggle */
  
  :root {
    --bg: #070910;
    --surface: #0d1117;
    --surface2: #131924;
    --border: #1e2a3a;
    --accent: #00e5ff;
    --accent2: #7c3aed;
    --accent3: #f59e0b;
    --danger: #ef4444;
    --success: #10b981;
    --text: #e2e8f0;
    --muted: #64748b;
    --dim: #334155;
    --glow: rgba(0,229,255,0.15);
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    background-image:
      radial-gradient(ellipse at 20% 0%, rgba(124,58,237,0.08) 0%, transparent 60%),
      radial-gradient(ellipse at 80% 100%, rgba(0,229,255,0.06) 0%, transparent 60%);
  }

  /* ── GRID NOISE TEXTURE ── */
  body::before {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M60 0v60M0 60h60' stroke='%231e2a3a' stroke-width='0.5' opacity='0.4'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 0;
  }

  /* ── LAYOUT ── */
  .app { position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; padding: 0 24px 80px; }

  /* ── HEADER ── */
  header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 28px 0 24px;
    border-bottom: 1px solid var(--border);
  }
  .logo {
    display: flex; align-items: center; gap: 12px;
    font-size: 22px; font-weight: 800; letter-spacing: 0.08em;
    color: var(--accent);
    text-shadow: 0 0 30px rgba(0,229,255,0.5);
  }
  .logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
  }
  .tagline { font-size: 11px; color: var(--muted); font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; letter-spacing: 0.1em; margin-top: 3px; }
  .header-right { display: flex; align-items: center; gap: 16px; }
  .api-status {
    display: flex; align-items: center; gap: 7px;
    font-size: 11px; font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: var(--muted);
  }
  .status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
  .status-dot.live { background: var(--success); box-shadow: 0 0 8px var(--success); animation: pulse 2s infinite; }

  @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.5} }
  @keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }
  @keyframes slideIn { from{opacity:0;transform:translateX(-12px)} to{opacity:1;transform:translateX(0)} }
  @keyframes scanline { from{transform:translateY(-100%)} to{transform:translateY(100vh)} }
  @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
  @keyframes shimmer { from{background-position:-200% center} to{background-position:200% center} }
  @keyframes growBar { from{width:0} to{width:var(--w)} }

  /* ── SECTIONS ── */
  .section { margin-top: 40px; animation: fadeUp 0.5s ease both; }
  .section-label {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 10px; letter-spacing: 0.2em; color: var(--accent);
    text-transform: uppercase; margin-bottom: 16px;
    display: flex; align-items: center; gap: 10px;
  }
  .section-label::after { content:''; flex:1; height:1px; background:var(--border); }

  /* ── CARDS ── */
  .card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: border-color 0.2s;
  }
  .card:hover { border-color: var(--dim); }

  /* ── API CONFIG ── */
  .config-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  @media(max-width:640px){ .config-grid{grid-template-columns:1fr;} }
  .field-group { display: flex; flex-direction: column; gap: 8px; }
  .field-label { font-size: 11px; font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: var(--muted); letter-spacing: 0.12em; }
  .field-input {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text);
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
  }
  .field-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--glow); }
  textarea.field-input { resize: vertical; min-height: 90px; }

  /* ── SCENARIO ── */
  .scenario-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
  @media(max-width:768px){ .scenario-grid{grid-template-columns:1fr;} }

  /* ── AGENTS GRID ── */
  .agents-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
  .agents-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
  .agent-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px;
    position: relative;
    overflow: hidden;
    transition: all 0.2s;
    cursor: default;
  }
  .agent-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--agent-color, var(--accent)), transparent);
  }
  .agent-card:hover { border-color: var(--agent-color, var(--accent)); transform: translateY(-2px); }
  .agent-card.speaking { border-color: var(--agent-color, var(--accent)); box-shadow: 0 0 20px rgba(0,229,255,0.1); }
  .agent-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
  .agent-avatar {
    width: 42px; height: 42px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
    background: var(--surface);
  }
  .agent-meta { flex: 1; min-width: 0; }
  .agent-name { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .agent-role { font-size: 11px; color: var(--muted); font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin-top: 2px; }
  .agent-badge {
    font-size: 9px; font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 2px 8px; border-radius: 20px; border: 1px solid;
    white-space: nowrap;
  }
  .agent-persona { font-size: 12px; color: var(--muted); line-height: 1.5; margin-bottom: 10px; }
  .agent-tags { display: flex; flex-wrap: wrap; gap: 5px; }
  .tag {
    font-size: 10px; font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 3px 8px; border-radius: 4px;
    background: var(--surface); border: 1px solid var(--border);
    color: var(--muted);
  }
  .agent-mood {
    display: flex; align-items: center; gap: 8px;
    margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border);
    font-size: 11px; color: var(--muted); font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  .mood-bar-bg { flex: 1; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
  .mood-bar-fill { height: 100%; border-radius: 2px; background: var(--agent-color, var(--accent)); width: 50%; transition: width 0.5s ease; }

  /* ── BUTTONS ── */
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border-radius: 8px; border: none;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: all 0.2s; white-space: nowrap;
  }
  .btn-primary {
    background: linear-gradient(135deg, var(--accent), #0099cc);
    color: #000;
    box-shadow: 0 0 20px rgba(0,229,255,0.3);
  }
  .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 30px rgba(0,229,255,0.5); }
  .btn-primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
  .btn-ghost {
    background: transparent; border: 1px solid var(--border);
    color: var(--muted);
  }
  .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
  .btn-sm { padding: 7px 14px; font-size: 12px; }
  .btn-danger { background: transparent; border: 1px solid var(--danger); color: var(--danger); }
  .btn-danger:hover { background: var(--danger); color: #fff; }

  /* ── SIMULATION ARENA ── */
  .arena { display: grid; grid-template-columns: 1fr 360px; gap: 20px; }
  @media(max-width:900px){ .arena{grid-template-columns:1fr;} }
  .debate-feed {
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
    height: 520px; overflow-y: auto; padding: 20px;
    display: flex; flex-direction: column; gap: 14px;
    scroll-behavior: smooth;
  }
  .debate-feed::-webkit-scrollbar { width: 4px; }
  .debate-feed::-webkit-scrollbar-track { background: transparent; }
  .debate-feed::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

  .message-bubble {
    display: flex; gap: 12px; animation: slideIn 0.3s ease both;
  }
  .msg-avatar {
    width: 34px; height: 34px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; flex-shrink: 0; margin-top: 2px;
    background: var(--surface2);
  }
  .msg-body { flex: 1; min-width: 0; }
  .msg-header { display: flex; align-items: baseline; gap: 10px; margin-bottom: 5px; }
  .msg-name { font-size: 13px; font-weight: 700; }
  .msg-time { font-size: 10px; color: var(--muted); font-family: 'Space Mono', monospace; }
  .msg-type {
    font-size: 9px; font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; padding: 1px 6px;
    border-radius: 3px; border: 1px solid; color: inherit;
  }
  .msg-content {
    font-size: 13px; line-height: 1.65; color: #cbd5e1;
    background: var(--surface2); padding: 12px 14px; border-radius: 8px;
    border-left: 2px solid var(--agent-color, var(--border));
  }

  .system-msg {
    text-align: center; font-size: 11px; font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--muted); padding: 6px 0;
    display: flex; align-items: center; gap: 8px;
  }
  .system-msg::before, .system-msg::after { content:''; flex:1; height:1px; background:var(--border); }

  /* TYPING INDICATOR */
  .typing { display: flex; gap: 4px; align-items: center; padding: 12px 14px; }
  .typing-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--muted); animation: typingDot 1.2s infinite;
  }
  .typing-dot:nth-child(2){ animation-delay:0.2s; }
  .typing-dot:nth-child(3){ animation-delay:0.4s; }
  @keyframes typingDot { 0%,80%,100%{transform:scale(0.8);opacity:0.4} 40%{transform:scale(1);opacity:1} }

  /* ── SIDEBAR ── */
  .sidebar { display: flex; flex-direction: column; gap: 16px; }

  /* PROGRESS */
  .progress-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
  .progress-title { font-size: 12px; font-family: 'Space Mono', monospace; color: var(--muted); margin-bottom: 14px; letter-spacing: 0.1em; }
  .phase-list { display: flex; flex-direction: column; gap: 8px; }
  .phase-item { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
  .phase-item.active { color: var(--accent); }
  .phase-item.done { color: var(--success); }
  .phase-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); flex-shrink: 0; }
  .phase-item.active .phase-dot { background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: pulse 1.5s infinite; }
  .phase-item.done .phase-dot { background: var(--success); }

  /* OPINION TRACKER */
  .opinion-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
  .opinion-item { margin-bottom: 14px; }
  .opinion-agent { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; font-size: 12px; }
  .opinion-score {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-size: 13px; font-weight: 700;
  }
  .opinion-bar-bg { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
  .opinion-bar-fill { height: 100%; border-radius: 3px; transition: width 0.6s ease; }

  /* ── REPORT ── */
  .report-section { animation: fadeUp 0.6s ease both; }
  .report-header {
    background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(0,229,255,0.1));
    border: 1px solid var(--border); border-radius: 12px; padding: 28px 32px;
    margin-bottom: 20px;
    position: relative; overflow: hidden;
  }
  .report-header::before {
    content: 'SIMULATION REPORT';
    position: absolute; right: 32px; top: 50%; transform: translateY(-50%);
    font-size: 80px; font-weight: 800; color: rgba(255,255,255,0.03);
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; letter-spacing: -0.05em;
    pointer-events: none;
  }
  .report-title { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
  .report-meta { font-size: 12px; color: var(--muted); font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
  .report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
  @media(max-width:768px){ .report-grid{grid-template-columns:1fr;} }
  .report-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
  .report-card-title { font-size: 11px; font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: var(--accent); letter-spacing: 0.15em; margin-bottom: 14px; }
  .outcome-bar { margin-bottom: 10px; }
  .outcome-label { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 5px; }
  .outcome-pct { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-weight: 700; }
  .outcome-track { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
  .outcome-fill {
    height: 100%; border-radius: 4px;
    background: linear-gradient(90deg, var(--accent2), var(--accent));
    animation: growBar 1s ease both;
  }
  .key-findings { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .key-findings li { display: flex; gap: 10px; font-size: 13px; line-height: 1.5; color: #cbd5e1; }
  .finding-bullet { color: var(--accent); flex-shrink: 0; margin-top: 1px; }
  .blind-spots { display: flex; flex-direction: column; gap: 10px; }
  .blind-spot {
    background: rgba(239,68,68,0.07); border: 1px solid rgba(239,68,68,0.2);
    border-radius: 8px; padding: 12px 14px; font-size: 12px; color: #fca5a5; line-height: 1.5;
    display: flex; gap: 10px; align-items: flex-start;
  }
  .consensus-block {
    background: rgba(16,185,129,0.07); border: 1px solid rgba(16,185,129,0.2);
    border-radius: 8px; padding: 16px; font-size: 13px; color: #6ee7b7; line-height: 1.7;
    margin-bottom: 16px;
  }
  .agent-verdict {
    display: flex; align-items: center; gap: 12px; padding: 10px 0;
    border-bottom: 1px solid var(--border);
  }
  .agent-verdict:last-child { border-bottom: none; }
  .verdict-stance {
    font-size: 10px; font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; padding: 3px 8px; border-radius: 4px;
    white-space: nowrap;
  }
  .stance-for { background: rgba(16,185,129,0.15); color: var(--success); }
  .stance-against { background: rgba(239,68,68,0.15); color: var(--danger); }
  .stance-neutral { background: rgba(100,116,139,0.15); color: var(--muted); }
  .stance-conflicted { background: rgba(245,158,11,0.15); color: var(--accent3); }

  .disclaimer {
    background: rgba(245,158,11,0.07); border: 1px solid rgba(245,158,11,0.2);
    border-radius: 10px; padding: 16px 20px; font-size: 12px; color: #fcd34d;
    line-height: 1.6; display: flex; gap: 12px; align-items: flex-start;
  }

  /* ── EMPTY STATE ── */
  .empty-state {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    height: 100%; gap: 12px; color: var(--muted); text-align: center;
    padding: 40px;
  }
  .empty-icon { font-size: 40px; opacity: 0.3; }
  .empty-text { font-size: 13px; line-height: 1.6; max-width: 240px; }

  /* ── TOAST ── */
  #toast {
    position: fixed; bottom: 30px; right: 30px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px; padding: 14px 20px;
    font-size: 13px; color: var(--text);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    transform: translateY(20px); opacity: 0;
    transition: all 0.3s; z-index: 9999;
    display: flex; align-items: center; gap: 10px;
    max-width: 320px;
  }
  #toast.show { transform: translateY(0); opacity: 1; }
  #toast.error { border-color: var(--danger); }
  #toast.success { border-color: var(--success); }

  /* ── SCROLLBAR ── */
  ::-webkit-scrollbar { width: 5px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

  /* ── RESPONSIVE ── */
  @media(max-width:480px){
    .agents-grid { grid-template-columns: 1fr; }
    .report-header::before { display: none; }
    .report-title { font-size: 18px; }
  }

  .hidden { display: none !important; }
  .spinning { animation: spin 1s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }

  select.field-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

/* ═══════════════════════════════════════════════════════
   NEO4J KNOWLEDGE GRAPH
   ═══════════════════════════════════════════════════════ */
.neo4j-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 18px;
  background: rgba(0,0,0,0.4);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap; gap: 8px;
}
.neo4j-stats-bar {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  font-size: 11px; font-family: 'Space Mono', monospace;
}
.neo4j-stat {
  color: var(--muted);
}
.neo4j-stat strong { color: var(--text); }
.neo4j-ctrl {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
  font-family: 'Space Mono', monospace;
  font-size: 12px; padding: 4px 10px; border-radius: 5px;
  cursor: pointer; transition: all 0.15s; white-space: nowrap;
}
.neo4j-ctrl:hover { background: rgba(255,255,255,0.1); color: var(--text); }
.neo4j-legend-bar {
  display: flex; flex-wrap: wrap; gap: 0;
  padding: 7px 18px;
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid var(--border);
}
.neo4j-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-family: 'Space Mono', monospace;
  color: var(--tc, var(--muted));
  padding: 2px 10px 2px 0; margin-right: 6px;
  cursor: default; user-select: none;
}
.neo4j-workspace {
  display: flex; position: relative;
}
.neo4j-canvas {
  flex: 1; height: 640px;
  background: radial-gradient(ellipse at 25% 25%, #1a2540 0%, #0d1117 65%);
}
.neo4j-detail {
  width: 292px; flex-shrink: 0;
  border-left: 1px solid var(--border);
  background: var(--surface);
  overflow-y: auto; max-height: 640px;
  position: relative;
  animation: slideInRight 0.2s ease both;
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}
.neo4j-detail-close {
  position: absolute; top: 10px; right: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted); font-size: 12px;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px; cursor: pointer; transition: all 0.15s;
}
.neo4j-detail-close:hover { color: var(--text); background: rgba(255,255,255,0.12); }
.neo4j-status-bar {
  padding: 7px 18px;
  font-size: 10px; color: var(--muted);
  font-family: 'Space Mono', monospace;
  background: rgba(0,0,0,0.3);
  border-top: 1px solid var(--border);
  text-align: center; letter-spacing: 0.06em;
}
.neo4j-prop-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.05); gap: 8px;
}
.neo4j-prop-key {
  font-size: 10px; color: var(--muted); font-family: 'Space Mono', monospace; flex-shrink: 0;
}
.neo4j-prop-val {
  font-size: 11px; color: var(--text); text-align: right; line-height: 1.4;
}
.neo4j-rel-item {
  display: flex; align-items: center; gap: 7px;
  padding: 4px 0; font-size: 11px;
}
.neo4j-rel-type {
  font-size: 9px; font-family: 'Space Mono', monospace;
  padding: 2px 6px; border-radius: 3px; flex-shrink: 0;
  border: 1px solid transparent;
}
 