[data-wd-demo="scoped-agent-memory"] .mem-meter {
  width: 84px;
  height: 6px;
  border-radius: 999px;
  background: #111316;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}

[data-wd-demo="scoped-agent-memory"] .mem-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #0d6efd, #0dcaf0);
}

[data-wd-demo="scoped-agent-memory"] .mem-w5 { width: 50%; }
[data-wd-demo="scoped-agent-memory"] .mem-w6 { width: 60%; }
[data-wd-demo="scoped-agent-memory"] .mem-w7 { width: 70%; }
[data-wd-demo="scoped-agent-memory"] .mem-w8 { width: 80%; }
[data-wd-demo="scoped-agent-memory"] .mem-w9 { width: 90%; }

[data-wd-demo="scoped-agent-memory"] .wd-table td {
  white-space: normal;
}

[data-wd-demo="scoped-agent-memory"] tr.is-private td:first-child {
  box-shadow: inset 3px 0 0 #ffc107;
}

[data-wd-demo="scoped-agent-memory"] .mem-graph {
  width: 100%;
  height: auto;
  display: block;
}

[data-wd-demo="scoped-agent-memory"] .mem-graph text {
  fill: #e9ecef;
  font-size: 13px;
  font-family: var(--font, Inter, sans-serif);
}

[data-wd-demo="scoped-agent-memory"] .mem-graph .mem-score {
  fill: #8bb9fe;
  font-size: 12px;
}

[data-wd-demo="scoped-agent-memory"] .mem-graph line {
  stroke: #0dcaf0;
  stroke-width: 2;
}

[data-wd-demo="scoped-agent-memory"] .mem-graph circle {
  fill: #23272b;
  stroke: #0d6efd;
  stroke-width: 2;
}

[data-wd-demo="scoped-agent-memory"] .mem-graph .is-alone circle {
  stroke: #8f979e;
}

[data-wd-demo="scoped-agent-memory"] .mem-graph .is-picked circle {
  stroke: #4ade80;
  stroke-width: 3;
}

[data-wd-demo="scoped-agent-memory"] .mem-graph g {
  cursor: pointer;
}

[data-wd-demo="scoped-agent-memory"] .mem-hit {
  border-left: 3px solid #0dcaf0;
}

[data-wd-demo="scoped-agent-memory"] .mem-hit.is-private {
  border-left-color: #ffc107;
}
