/* Motion never controls content visibility, layout, or access to a link. */
.motion-workflow-replay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 14px 0 0;
  padding: 6px 12px;
  border: 1px solid currentColor;
  border-radius: 5px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
  line-height: 1.3;
  cursor: pointer;
}
.motion-workflow-replay:disabled { opacity: .5; cursor: default; }
.motion-workflow-replay:focus-visible { outline: 3px solid #1674ce; outline-offset: 4px; }
.workflow-board .source-node, .workflow-board .agent-row, .workflow-board .decision-node,
.lcipl-page-visual li {
  transition: box-shadow 220ms ease, border-color 220ms ease;
}
.workflow-board .motion-stage-active, .lcipl-page-visual .motion-stage-active {
  box-shadow: 0 0 0 2px #b28c45, 0 5px 18px #98722b18;
  border-color: #b28c45;
}
.workflow-board .agent-row.motion-stage-active { border-radius: 8px; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .r3-btn, .button, .nav-cta {
    transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
  }
  .r3-btn:hover, .button:hover, .nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px #142c4414;
  }
  .v3-card, .card {
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  }
  .v3-card:hover, .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px #142c440d;
    border-color: #b28c45;
  }
  .v3-text-link, .text-link { transition: text-underline-offset 180ms ease; }
  .v3-text-link:hover, .text-link:hover { text-underline-offset: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .r3-btn:hover, .button:hover, .nav-cta:hover, .v3-card:hover, .card:hover { transform: none !important; }
  .motion-workflow-replay { display: none !important; }
}
