/* Living-model radial — inherits your workspace CSS vars; only adds --lm-* fallbacks.
   Tune the three signal colors here in one place. */
:root {
  --lm-ok: #1D9E75;
  --lm-watch: #BA7517;
  --lm-alert: #A32D2D;
}

.lm-root { padding: 4px 0 8px; }

.lm-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 18px;
}
.lm-kicker {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted, #999);
}
.lm-company { font-size: 18px; font-weight: 500; color: var(--text-primary, #1a1a1a); }

.lm-toggle {
  display: inline-flex; border: 0.5px solid var(--border-strong, #ccc);
  border-radius: var(--radius, 8px); overflow: hidden;
}
.lm-lens-btn {
  border: none; background: transparent; padding: 7px 13px;
  font: inherit; font-size: 13px; cursor: pointer;
  color: var(--text-secondary, #6b6b6b);
}
.lm-lens-btn + .lm-lens-btn { border-left: 0.5px solid var(--border, #e2ded4); }
.lm-lens-btn.on {
  background: var(--surface-1, #efece4); color: var(--text-primary, #1a1a1a); font-weight: 500;
}

.lm-stage { width: 100%; max-width: 560px; margin: 0 auto; }
.lm-svg { width: 100%; height: auto; display: block; }

.lm-node { cursor: pointer; outline: none; }
.lm-node:focus-visible circle:first-child,
.lm-node:hover circle:first-child { stroke: var(--accent-cyan, #2a9d8f); }
.lm-ring { transition: stroke 0.2s ease; }
.lm-dot { transition: fill 0.25s ease; }

.lm-legend {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; flex-wrap: wrap; margin-top: 14px;
  font-size: 12px; color: var(--text-secondary, #6b6b6b);
}
.lm-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.lm-legend-dot { width: 9px; height: 9px; border-radius: 50%; }

.lm-note {
  text-align: center; font-size: 12px; color: var(--text-muted, #999);
  margin: 10px auto 0; max-width: 460px; line-height: 1.5;
}
