/* The four anchors come from MAQUA Brand Identity B36. Interpolated tones are a digital adaptation. */
.path-unit[style*="--topic-rgb"],
.math-path[style*="--topic-rgb"] {
  background: linear-gradient(180deg, rgba(var(--topic-rgb), .13), rgba(var(--topic-next-rgb), .13));
  border-radius: 22px;
}
.unit-banner[style*="--topic-rgb"],
.math-path[style*="--topic-rgb"] .math-unit {
  background: rgb(var(--topic-rgb));
  color: #111;
}
.unit-banner[style*="--topic-rgb"] { transition: background-color .45s ease; }
.unit-banner[style*="--topic-rgb"]::after { border-color: rgba(255,255,255,.38); }
.math-path[style*="--topic-rgb"] .math-unit :is(h1,p,small) { color: #111; }
.path-unit[style*="--topic-rgb"] .path-stop:not(.future) {
  --node-color: rgba(var(--topic-rgb), .42);
  --node-shadow: rgba(var(--topic-rgb), .7);
  --node-ink: #192d31;
}
.path-unit[style*="--topic-rgb"] .path-stop.current {
  --node-color: rgb(var(--topic-rgb));
  --node-shadow: rgba(var(--topic-rgb), .8);
  --node-ink: #111;
}
.path-unit[style*="--topic-rgb"] .path-stop.complete {
  --node-color: rgba(var(--topic-rgb), .75);
  --node-shadow: rgb(var(--topic-rgb));
  --node-ink: #111;
}
.path-unit[style*="--topic-rgb"] .path-stop:not(.future) .path-node::before { background: rgba(255,255,255,.3); }
.math-path[style*="--topic-rgb"] .math-node:not(:disabled) {
  background: rgb(var(--topic-rgb));
  box-shadow: 0 7px rgba(var(--topic-rgb), .7);
  color: #111;
}
.math-path[style*="--topic-rgb"] .math-node.is-complete:not(:disabled) { background: rgba(var(--topic-rgb), .7); }
.math-path[style*="--topic-rgb"] .math-path-row small { color: inherit; }
[data-theme="dark"] .path-unit[style*="--topic-rgb"],
[data-theme="dark"] .math-path[style*="--topic-rgb"] {
  background: linear-gradient(180deg, rgba(var(--topic-rgb), .16), rgba(var(--topic-next-rgb), .16));
}
@media (prefers-reduced-motion: reduce) { .unit-banner[style*="--topic-rgb"] { transition: none; } }
