/* au-system.css - Aurora UI system baseline interaction & utility styles */

/* ─── Button interaction states ─── */
.au-hov {
  transition: border-color var(--wm-duration-fast) ease, box-shadow var(--wm-duration-fast) ease, background var(--wm-duration-fast) ease, opacity var(--wm-duration-fast) ease;
}

.au-hov:hover {
  border-color: var(--au-hair);
}

.au-press {
  transition: all var(--wm-duration-instant) ease;
}

.au-press:active {
  transform: scale(0.98);
}

.au-press:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ─── Spacing utilities ─── */
.au-mt-div {
  display: block;
  height: 1px;
  width: 1px;
  transition: opacity var(--wm-duration-med) ease, transform var(--wm-duration-med) ease;
}

.au-mt-btn {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: all var(--wm-duration-fast) ease;
}

.au-mt-aurora {
  transition: color var(--wm-duration-fast) ease, opacity var(--wm-duration-fast) ease, transform var(--wm-duration-fast) ease;
}

.au-mt-slash {
  transition: stroke-dashoffset var(--wm-duration-med) ease, opacity var(--wm-duration-med) ease;
}

/* ─── Spin animation ─── */
@keyframes au-spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ─── Breathe animation ─── */
@keyframes au-breathe {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Soft perimeter glow for status pills (handover load, etc.) */
@keyframes wm-glow-pill-pulse {
  0%, 100% {
    box-shadow:
      0 0 22px -6px var(--au-glow),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
  50% {
    box-shadow:
      0 0 36px -2px var(--au-glow),
      0 0 56px -14px var(--au-glow),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
}

.wm-glow-pill {
  animation: wm-glow-pill-pulse 2.8s ease-in-out infinite;
}

[data-motion="calm"] .wm-glow-pill {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .wm-glow-pill {
    animation: none;
  }
}

/* ─── Reveal animation ─── */
@keyframes au-reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wm-scene-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wm-handoff-flash {
  0% { opacity: 0; }
  12% { opacity: 1; }
  100% { opacity: 0; }
}

/* Entrance only while .wm-scene-entering is present. Cleared after animationend
   (same pattern as Reveal / .au-reveal) so the opacity+transform compositor layer
   does not permanently block backdrop-filter on Glass descendants. */
.wm-scene-root.wm-scene-entering {
  animation: wm-scene-enter 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
}

[data-motion="calm"] .wm-scene-root.wm-scene-entering {
  animation-duration: 0.01ms !important;
  animation-delay: 0s !important;
}

/* ─── HQ operating shell: chrome stays, body crossfades ─── */
.wm-operating-shell__chrome {
  flex-shrink: 0;
  position: relative;
  z-index: 6;
  isolation: isolate;
}

/* Growth: Spine hangs from viewport top as a chip; SceneDock stays normal below */
.wm-operating-shell__chrome--growth-chip.is-collapsed .wm-spine-hover-zone,
.wm-growth-chrome.is-collapsed .wm-spine-hover-zone {
  display: flex;
  justify-content: center;
}

.wm-spine--compact.wm-spine--collapsed .wm-spine-pill.is-collapsed {
  position: relative;
  isolation: isolate;
  justify-content: center;
  min-height: 0;
}

/* Soft underglow so the chip reads as emerging from the top edge */
.wm-spine--compact.wm-spine--collapsed .wm-spine-pill.is-collapsed::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -14px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, var(--au-accent, #59bfff) 55%, transparent) 0%,
    color-mix(in srgb, var(--au-accent, #59bfff) 22%, transparent) 45%,
    transparent 72%
  );
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

.wm-spine-slot {
  flex-shrink: 0;
  white-space: nowrap;
}

.wm-operating-shell__command {
  flex-shrink: 0;
  position: relative;
  z-index: 6;
}

.wm-shell-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  will-change: opacity, transform;
}

.wm-shell-body--idle {
  opacity: 1;
  transform: none;
}

.wm-shell-body--exit {
  animation: wm-shell-body-out 0.28s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.wm-shell-body--enter {
  animation: wm-shell-body-in 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.wm-shell-body--exit.wm-shell-body--fwd {
  animation-name: wm-shell-body-out-fwd;
}

.wm-shell-body--exit.wm-shell-body--back {
  animation-name: wm-shell-body-out-back;
}

.wm-shell-body--enter.wm-shell-body--fwd {
  animation-name: wm-shell-body-in-fwd;
}

.wm-shell-body--enter.wm-shell-body--back {
  animation-name: wm-shell-body-in-back;
}

@keyframes wm-shell-body-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-10px); }
}

@keyframes wm-shell-body-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes wm-shell-body-out-fwd {
  from { opacity: 1; transform: translate3d(0, 0, 0); }
  to { opacity: 0; transform: translate3d(-18px, 6px, 0); }
}

@keyframes wm-shell-body-out-back {
  from { opacity: 1; transform: translate3d(0, 0, 0); }
  to { opacity: 0; transform: translate3d(18px, 6px, 0); }
}

@keyframes wm-shell-body-in-fwd {
  from { opacity: 0; transform: translate3d(22px, 12px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes wm-shell-body-in-back {
  from { opacity: 0; transform: translate3d(-22px, 12px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.wm-shell-body-fallback {
  flex: 1;
  min-height: 42vh;
}

/* Spine metrics morph when HQ chrome updates between views */
.wm-spine-metrics__inner--out {
  opacity: 0;
  transform: translateY(5px);
}

.wm-spine-metrics__inner--in {
  opacity: 1;
  transform: translateY(0);
}

/* Growth compact spine: chip ↔ full nav morph */
.wm-spine-pill {
  will-change: padding, gap, box-shadow;
}
.wm-spine-pill.is-compact.is-collapsed {
  cursor: default;
}
.wm-spine-pill.is-compact.is-collapsed::-webkit-scrollbar {
  display: none;
}
.wm-spine-context {
  flex-shrink: 0;
}

:root[data-motion="calm"] .wm-spine-metrics,
:root[data-motion="calm"] .wm-spine-metrics__inner,
:root[data-motion="calm"] .wm-spine-slot {
  transition-duration: 0.12s !important;
}

:root[data-motion="calm"] .wm-spine-metrics__inner--out {
  transform: none;
}

:root[data-motion="calm"] .wm-spine,
:root[data-motion="calm"] .wm-spine-pill,
:root[data-motion="calm"] .wm-spine-context,
:root[data-motion="calm"] .wm-spine-spacer,
:root[data-motion="calm"] .wm-spine-slot {
  transition-duration: 0.16s !important;
}

:root[data-motion="calm"] .wm-shell-body--exit {
  animation-duration: 0.12s !important;
  animation-name: au-fade-out-soft;
}

:root[data-motion="calm"] .wm-shell-body--enter {
  animation-duration: 0.14s !important;
  animation-name: au-reveal;
}

.wm-handoff-flash {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, color-mix(in srgb, var(--au-accent, #59bfff) 14%, transparent), transparent 70%);
  animation: wm-handoff-flash 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

[data-motion="calm"] .wm-handoff-flash {
  display: none;
}

/* ─── Shiny CTA button ─── */
.lab-button {
  appearance: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 12px;
  transition: all var(--wm-duration-med) ease;
  position: relative;
  overflow: hidden;
}

.lab-button.primary {
  background: var(--shiny-cta-bg, #000);
  color: var(--shiny-cta-fg, #fff);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lab-button.primary:hover {
  background: var(--shiny-cta-bg-subtle, #1a1818);
  box-shadow: 0 0 24px var(--shiny-cta-highlight, #2D7CC9);
}

.lab-button.primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.lab-button.btn-lg {
  padding: 14px 28px;
  font-size: 14px;
  letter-spacing: 0.05em;
}

/* ─── Ghost button ─── */
.lab-ghost {
  appearance: none;
  background: transparent;
  border: 1px solid currentColor;
  cursor: pointer;
  font-weight: 500;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  transition: all var(--wm-duration-fast) ease;
}

.lab-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* ─── Glow button ─── */
.lab-glow {
  appearance: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 10px;
  transition: all var(--wm-duration-med) ease;
  padding: 10px 20px;
  font-size: 12px;
}

.lab-glow.big {
  padding: 12px 24px;
  font-size: 13px;
}

/* ─── Input focus states ─── */
input:focus,
textarea:focus,
[contenteditable]:focus {
  outline: none;
}

/* ─── Scrollbar styling ─── */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(128, 128, 160, 0.25);
  border-radius: 6px;
  border: 3px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(128, 128, 160, 0.4);
  background-clip: content-box;
}

/* Never allow drag-to-resize on text areas app-wide */
textarea {
  resize: none !important;
}

/* ─── Global tooltip ─── */
.wm-global-tooltip {
  position: fixed;
  max-width: 280px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(16, 18, 34, 0.82);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(99, 102, 241, 0.28);
  box-shadow: 0 8px 28px -8px rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.92);
  font-family: Montserrat, sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  pointer-events: none;
  z-index: var(--wm-z-tooltip, 10005);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.wm-global-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.wm-global-tooltip--editable {
  pointer-events: auto;
  max-width: min(320px, calc(100vw - 24px));
  padding: 8px;
  text-align: left;
  z-index: calc(var(--wm-z-tooltip, 10005) + 20);
}

.wm-global-tooltip--editable textarea {
  display: block;
  width: 100%;
  min-height: 88px;
  max-height: 180px;
  margin: 0;
  padding: 2px 4px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  overflow-y: auto;
  outline: none;
  box-sizing: border-box;
}

.wm-global-tooltip--editable textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

[data-wm-theme="light"] .wm-global-tooltip {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(37, 99, 235, 0.22);
  color: rgba(22, 24, 33, 0.9);
  box-shadow: 0 8px 28px -8px rgba(0, 0, 0, 0.18);
}

[data-wm-theme="light"] .wm-global-tooltip--editable textarea::placeholder {
  color: rgba(22, 24, 33, 0.38);
}

/* ─── Build Sprint gate rail ─── */
.wm-sprint-rail {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 0 12px;
}

.wm-sprint-rail__step-wrap,
.wm-sprint-rail__step {
  min-width: 0;
}

.wm-sprint-rail__step-btn {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  border-radius: 10px;
  transition: transform 0.2s ease;
}

.wm-sprint-rail__step-btn--active {
  cursor: default;
}

.wm-sprint-rail__step-btn:not(.wm-sprint-rail__step-btn--active):hover .wm-sprint-rail__surface {
  filter: brightness(1.1);
}

.wm-sprint-rail__step-btn:not(.wm-sprint-rail__step-btn--active):hover .wm-sprint-rail__halo {
  opacity: 0.75;
}

.wm-sprint-rail__step-btn:not(.wm-sprint-rail__step-btn--active):active {
  transform: scale(0.97);
}

.wm-sprint-rail__step-btn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--sr-accent, #59BFFF) 65%, transparent);
  outline-offset: 4px;
}

.wm-sprint-rail__step--active {
  cursor: default;
}

.wm-sprint-rail__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.wm-sprint-rail__node {
  position: relative;
  flex-shrink: 0;
  border: none;
  background: transparent;
}

.wm-sprint-rail__halo {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, color-mix(in srgb, var(--sr-accent, #59BFFF) 28%, transparent) 0%, transparent 68%);
  transition: opacity 0.55s ease;
}

.wm-sprint-rail__node--done .wm-sprint-rail__halo {
  opacity: 1;
}

.wm-sprint-rail__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}

.wm-sprint-rail__node--done .wm-sprint-rail__ring {
  opacity: 1;
  padding: 1px;
  background: conic-gradient(
    from 210deg at 50% 50%,
    rgba(255, 255, 255, 0.92) 0deg,
    color-mix(in srgb, var(--sr-accent, #59BFFF) 88%, #fff 12%) 28deg,
    color-mix(in srgb, var(--sr-accent, #59BFFF) 55%, transparent) 110deg,
    color-mix(in srgb, var(--sr-accent-deep, #136df4) 35%, transparent) 200deg,
    color-mix(in srgb, var(--sr-accent, #59BFFF) 50%, transparent) 285deg,
    rgba(255, 255, 255, 0.78) 340deg
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--sr-accent, #59BFFF) 45%, transparent));
}

.wm-sprint-rail__surface {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 24%, transparent 42%),
    radial-gradient(circle at 50% 62%, rgba(0, 0, 0, 0.42) 0%, transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(10, 16, 34, 0.96) 0%, rgba(4, 7, 16, 0.99) 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    inset 0 -10px 18px rgba(0, 0, 0, 0.38);
  transition: color 0.45s ease, box-shadow 0.45s ease, background 0.45s ease;
}

.wm-sprint-rail__icon {
  display: block;
  opacity: 0.92;
}

.wm-sprint-rail__node--active .wm-sprint-rail__surface,
.wm-sprint-rail__node--review .wm-sprint-rail__surface {
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.08) 0%, transparent 38%),
    radial-gradient(circle at 50% 50%, rgba(8, 12, 26, 0.88) 0%, rgba(4, 7, 14, 0.96) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.wm-sprint-rail__node--future .wm-sprint-rail__surface {
  color: rgba(255, 255, 255, 0.32);
  background: radial-gradient(circle at 50% 50%, rgba(8, 12, 24, 0.55) 0%, rgba(4, 7, 14, 0.72) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.wm-sprint-rail__node--current {
  animation: au-pop 0.5s cubic-bezier(0.33, 1, 0.68, 1) both;
}

/* Destination gate pulse during Continue handoff - chrome stays, body fades. */
@keyframes wm-sprint-incoming-halo {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@keyframes wm-sprint-incoming-ring {
  0% {
    opacity: 0.55;
    transform: rotate(0deg) scale(1);
  }
  55% {
    opacity: 1;
    transform: rotate(180deg) scale(1.06);
  }
  100% {
    opacity: 0.7;
    transform: rotate(360deg) scale(1);
  }
}

@keyframes wm-sprint-incoming-flare {
  0% {
    opacity: 0;
    transform: scale(0.55);
  }
  35% {
    opacity: 0.85;
    transform: scale(1.15);
  }
  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

.wm-sprint-rail__incoming-flare {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--sr-accent, #59BFFF) 45%, transparent) 0%,
    transparent 70%
  );
}

.wm-sprint-rail__node--incoming {
  animation: au-pop 0.55s cubic-bezier(0.33, 1, 0.68, 1) both;
}

.wm-sprint-rail__node--incoming .wm-sprint-rail__halo {
  opacity: 1;
  animation: wm-sprint-incoming-halo 1.35s ease-in-out infinite;
}

.wm-sprint-rail__node--incoming .wm-sprint-rail__ring {
  opacity: 1;
  padding: 1px;
  background: conic-gradient(
    from 210deg at 50% 50%,
    rgba(255, 255, 255, 0.95) 0deg,
    color-mix(in srgb, var(--sr-accent, #59BFFF) 90%, #fff 10%) 40deg,
    color-mix(in srgb, var(--sr-accent, #59BFFF) 40%, transparent) 140deg,
    color-mix(in srgb, var(--sr-accent-deep, #136df4) 55%, transparent) 220deg,
    color-mix(in srgb, var(--sr-accent, #59BFFF) 70%, transparent) 300deg,
    rgba(255, 255, 255, 0.85) 340deg
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--sr-accent, #59BFFF) 55%, transparent));
  animation: wm-sprint-incoming-ring 1.6s linear infinite;
}

.wm-sprint-rail__node--incoming .wm-sprint-rail__incoming-flare {
  animation: wm-sprint-incoming-flare 1.35s ease-out infinite;
}

.wm-sprint-rail__node--incoming .wm-sprint-rail__surface {
  color: rgba(255, 255, 255, 0.98);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.14),
    inset 0 -10px 18px rgba(0, 0, 0, 0.34),
    0 0 22px -4px color-mix(in srgb, var(--sr-accent, #59BFFF) 55%, transparent);
}

[data-motion="calm"] .wm-sprint-rail__node--incoming .wm-sprint-rail__halo,
[data-motion="calm"] .wm-sprint-rail__node--incoming .wm-sprint-rail__ring,
[data-motion="calm"] .wm-sprint-rail__node--incoming .wm-sprint-rail__incoming-flare {
  animation: none;
}

[data-motion="calm"] .wm-sprint-rail__node--incoming .wm-sprint-rail__halo,
[data-motion="calm"] .wm-sprint-rail__node--incoming .wm-sprint-rail__ring {
  opacity: 1;
}

.wm-sprint-rail__badge {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 8px Montserrat, sans-serif;
  line-height: 1;
  box-shadow: 0 0 10px -2px color-mix(in srgb, var(--sr-badge, var(--sr-accent, #59BFFF)) 55%, transparent);
}

.wm-sprint-rail__badge--check {
  background: var(--sr-badge, #136df4);
  color: #fff;
}

.wm-sprint-rail__badge--source {
  background: var(--sr-badge, #59BFFF);
  color: #08101f;
  font-size: 7px;
}

.wm-sprint-rail__badge--pending {
  background: rgba(108, 118, 140, 0.95);
  color: #fff;
  font-size: 9px;
  box-shadow: none;
}

.wm-sprint-rail__badge--alert {
  background: #ef4444;
  color: #fff;
  font-size: 9px;
}

.wm-sprint-rail__badge--review {
  background: rgba(6, 10, 22, 0.9);
  border: 1px solid var(--sr-accent, #59BFFF);
  color: var(--sr-accent, #59BFFF);
  font-size: 7px;
  box-shadow: none;
}

.wm-sprint-rail__label {
  font: 600 9px Montserrat, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(148, 158, 184, 0.72);
  text-align: center;
  max-width: 76px;
  line-height: 1.25;
  transition: color 0.45s ease;
}

.wm-sprint-rail__label--done {
  color: rgba(148, 158, 184, 0.82);
}

.wm-sprint-rail__label--active {
  color: rgba(255, 255, 255, 0.98);
  font-weight: 700;
}

.wm-sprint-rail__label--work {
  color: color-mix(in srgb, var(--sr-accent, #59BFFF) 88%, #fff);
  font-weight: 700;
}

.wm-sprint-rail__connector {
  position: relative;
  width: clamp(18px, 3.2vw, 44px);
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wm-sprint-rail--compact .wm-sprint-rail__connector {
  height: 44px;
  width: clamp(14px, 3vw, 34px);
}

.wm-sprint-rail__connector-line {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.55s ease, box-shadow 0.55s ease;
}

.wm-sprint-rail__connector-spark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  transform: rotate(45deg);
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.55s ease, box-shadow 0.55s ease;
}

.wm-sprint-rail__connector--lit .wm-sprint-rail__connector-line {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--sr-accent, #59BFFF) 20%, transparent),
    color-mix(in srgb, var(--sr-accent, #59BFFF) 85%, #fff 15%),
    color-mix(in srgb, var(--sr-accent, #59BFFF) 20%, transparent)
  );
  box-shadow: 0 0 8px color-mix(in srgb, var(--sr-accent, #59BFFF) 35%, transparent);
}

.wm-sprint-rail__connector--lit .wm-sprint-rail__connector-spark {
  background: color-mix(in srgb, var(--sr-accent, #59BFFF) 90%, #fff 10%);
  box-shadow:
    0 0 6px color-mix(in srgb, var(--sr-accent, #59BFFF) 70%, transparent),
    0 0 14px color-mix(in srgb, var(--sr-accent, #59BFFF) 40%, transparent);
}

.wm-sprint-rail--compact .wm-sprint-rail__label {
  font-size: 8px;
  max-width: 64px;
}

/* Light mode: invert dark spheres → soft light orbs with ink icons */
[data-wm-theme="light"] .wm-sprint-rail__surface {
  color: rgba(15, 23, 42, 0.82);
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.35) 24%, transparent 42%),
    radial-gradient(circle at 50% 62%, rgba(37, 99, 235, 0.08) 0%, transparent 55%),
    radial-gradient(circle at 50% 50%, #eef3fb 0%, #dce6f4 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    inset 0 -8px 16px rgba(15, 23, 42, 0.08),
    0 2px 10px rgba(15, 23, 42, 0.08);
}

[data-wm-theme="light"] .wm-sprint-rail__node--active .wm-sprint-rail__surface,
[data-wm-theme="light"] .wm-sprint-rail__node--review .wm-sprint-rail__surface {
  color: rgba(15, 23, 42, 0.92);
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.9) 0%, transparent 38%),
    radial-gradient(circle at 50% 50%, #e4ecf8 0%, #cfdced 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 2px 12px rgba(15, 23, 42, 0.1);
}

[data-wm-theme="light"] .wm-sprint-rail__node--future .wm-sprint-rail__surface {
  color: rgba(15, 23, 42, 0.38);
  background: radial-gradient(circle at 50% 50%, #f4f7fb 0%, #e8eef6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

[data-wm-theme="light"] .wm-sprint-rail__node--incoming .wm-sprint-rail__surface {
  color: rgba(15, 23, 42, 0.95);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    inset 0 -8px 16px rgba(15, 23, 42, 0.06),
    0 0 22px -4px color-mix(in srgb, var(--sr-accent, #59BFFF) 45%, transparent);
}

[data-wm-theme="light"] .wm-sprint-rail__node--done .wm-sprint-rail__ring {
  background: conic-gradient(
    from 210deg at 50% 50%,
    rgba(15, 23, 42, 0.18) 0deg,
    color-mix(in srgb, var(--sr-accent, #59BFFF) 88%, #fff 12%) 28deg,
    color-mix(in srgb, var(--sr-accent, #59BFFF) 55%, transparent) 110deg,
    color-mix(in srgb, var(--sr-accent-deep, #136df4) 35%, transparent) 200deg,
    color-mix(in srgb, var(--sr-accent, #59BFFF) 50%, transparent) 285deg,
    rgba(15, 23, 42, 0.12) 340deg
  );
}

[data-wm-theme="light"] .wm-sprint-rail__label {
  color: rgba(15, 23, 42, 0.48);
}

[data-wm-theme="light"] .wm-sprint-rail__label--done {
  color: rgba(15, 23, 42, 0.55);
}

[data-wm-theme="light"] .wm-sprint-rail__label--active {
  color: rgba(15, 23, 42, 0.92);
}

[data-wm-theme="light"] .wm-sprint-rail__connector-line {
  background: rgba(15, 23, 42, 0.1);
}

[data-wm-theme="light"] .wm-sprint-rail__connector-spark {
  background: rgba(15, 23, 42, 0.14);
}

[data-wm-theme="light"] .wm-sprint-rail__badge--review {
  background: rgba(255, 255, 255, 0.92);
}

[data-wm-theme="light"] .wm-sprint-rail__step-btn:not(.wm-sprint-rail__step-btn--active):hover .wm-sprint-rail__surface {
  filter: brightness(0.97);
}

/* ─── Sprint stack tiles (taglines, deliverables) ─── */
.wm-stack-tile .wm-glass-surface {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.wm-stack-tile .wm-glass-surface::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    var(--stack-tile-accent, #34d399) 0%,
    color-mix(in srgb, var(--stack-tile-accent, #34d399) 28%, transparent) 100%
  );
  box-shadow: 0 0 10px color-mix(in srgb, var(--stack-tile-accent, #34d399) 35%, transparent);
  pointer-events: none;
}

.wm-stack-tile__body {
  flex: 1;
  min-width: 0;
  padding: 13px 14px 12px 14px;
}

.wm-stack-tile--removable .wm-stack-tile__body {
  padding-right: 22px;
}

.wm-stack-tile__body .wm-editline {
  padding: 2px 0;
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1.48;
  letter-spacing: -0.01em;
}

.wm-stack-tile__remove {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 2;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: none;
  background: transparent;
  color: var(--stack-tile-dim, rgba(255, 255, 255, 0.38));
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition:
    opacity var(--wm-duration-fast) ease,
    background var(--wm-duration-fast) ease,
    color var(--wm-duration-fast) ease;
}

.wm-stack-tile:hover .wm-stack-tile__remove,
.wm-stack-tile:focus-within .wm-stack-tile__remove {
  opacity: 1;
}

.wm-stack-tile__remove:hover {
  background: color-mix(in srgb, var(--stack-tile-danger, #f87171) 16%, transparent);
  color: var(--stack-tile-danger, #f87171);
}

.wm-stack-tile__remove:focus-visible {
  opacity: 1;
  outline: 2px solid color-mix(in srgb, var(--stack-tile-accent, #34d399) 55%, transparent);
  outline-offset: 1px;
}

.wm-stack-add {
  min-height: 72px;
  border-radius: 12px;
  border: 1px dashed var(--stack-tile-hair, rgba(255, 255, 255, 0.12));
  background: transparent;
  cursor: pointer;
  font: 600 12px Montserrat, sans-serif;
  color: var(--stack-tile-accent2, #136df4);
  transition:
    border-color var(--wm-duration-fast) ease,
    background var(--wm-duration-fast) ease,
    transform var(--wm-duration-fast) ease;
}

.wm-stack-add:hover {
  border-color: color-mix(in srgb, var(--stack-tile-accent2, #136df4) 45%, transparent);
  background: color-mix(in srgb, var(--stack-tile-accent2, #136df4) 5%, transparent);
}

/* ─── Automation spec card (wm-automation-spec.jsx) ─── */
.wm-automation-spec.card-outer[data-hot="1"]::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 19px;
  padding: 1.3px;
  background: conic-gradient(
    from var(--au-angle, 0deg),
    transparent 0%,
    var(--wm-as-accent, #59bfff) 10%,
    var(--wm-as-accent2, #8ed8ff) 22%,
    transparent 36%,
    transparent 55%,
    var(--wm-as-accent2, #8ed8ff) 68%,
    transparent 82%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: au-rotring 5s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.wm-automation-spec.card-outer {
  position: relative;
}

.wm-automation-spec .stbadge[data-st="draft"],
.wm-automation-spec .stbadge[data-st="paused"],
.wm-automation-spec .stbadge[data-st="discarded"] {
  color: var(--wm-as-dim, rgba(255, 255, 255, 0.52));
}

.wm-automation-spec .stbadge[data-st="testing"] {
  color: var(--wm-as-accent, #59bfff);
}

.wm-automation-spec .stbadge[data-st="awaiting_approval"] {
  color: var(--wm-as-warn, #fbbf24);
}

.wm-automation-spec .stbadge[data-st="active"] {
  color: var(--wm-as-good, rgb(52, 211, 153));
}

.wm-automation-spec .stbadge[data-st="failed"] {
  color: var(--wm-as-danger, #ef4444);
}

.wm-automation-spec .stbadge[data-st="draft"] .stdot,
.wm-automation-spec .stbadge[data-st="paused"] .stdot,
.wm-automation-spec .stbadge[data-st="discarded"] .stdot {
  background: var(--wm-as-dim, rgba(255, 255, 255, 0.52));
}

.wm-automation-spec .stbadge[data-st="testing"] .stdot {
  background: var(--wm-as-accent, #59bfff);
  box-shadow: 0 0 9px var(--wm-as-accent, #59bfff);
}

.wm-automation-spec .stbadge[data-st="awaiting_approval"] .stdot {
  background: var(--wm-as-warn, #fbbf24);
  box-shadow: 0 0 9px var(--wm-as-warn, #fbbf24);
}

.wm-automation-spec .stbadge[data-st="active"] .stdot {
  background: var(--wm-as-good, rgb(52, 211, 153));
  box-shadow: 0 0 9px var(--wm-as-good, rgb(52, 211, 153));
}

.wm-automation-spec .stbadge[data-st="failed"] .stdot {
  background: var(--wm-as-danger, #ef4444);
}

.wm-automation-spec .trbadge[data-tr="ok"] {
  color: var(--wm-as-good, rgb(52, 211, 153));
}

.wm-automation-spec .trbadge[data-tr="fail"] {
  color: var(--wm-as-danger, #ef4444);
}

/* ─── Proposal deck - one decision card at a time, dealt off a stack ─── */
.wm-deck__stage {
  --wm-deck-glow-gutter: 36px;
  position: relative;
  /* content-box so ±gutter padding expands the clip area around a full-width card,
     instead of eating into the card. */
  box-sizing: content-box;
  width: 100%;
  transition: height 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  /* cards fly past the stack edge - clip sideways so a card in flight can never
     widen the page, while shadows and the release bloom still bleed vertically.
     Hot Glass glow is 0 0 36px -6px (~30px bleed). overflow-clip-margin alone is
     unreliable across browsers, so the gutter keeps the glow inside the clip box
     without letting fly-off cards expand the page. */
  overflow-x: clip;
  overflow-y: visible;
  overflow-clip-margin: 40px;
  padding-inline: var(--wm-deck-glow-gutter);
  margin-inline: calc(var(--wm-deck-glow-gutter) * -1);
}

.wm-deck__ghost {
  position: absolute;
  left: var(--wm-deck-glow-gutter);
  right: var(--wm-deck-glow-gutter);
  top: 0;
  height: 100%;
  border-radius: 14px;
  pointer-events: none;
  border: 1px solid var(--wm-deck-ghost-hair, rgba(89, 191, 255, 0.28));
  background: var(--wm-deck-ghost-bg, rgba(22, 26, 48, 0.4));
  backdrop-filter: blur(calc(14px * var(--blur-opacity, 1))) saturate(130%);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.95);
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.42s ease;
}

.wm-deck__live,
.wm-deck__outgoing {
  position: relative;
  z-index: 2;
}

.wm-deck__outgoing {
  position: absolute;
  left: var(--wm-deck-glow-gutter);
  right: var(--wm-deck-glow-gutter);
  top: 0;
  pointer-events: none;
  z-index: 3;
}

@keyframes wm-deck-out-keep {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  18% {
    transform: translate3d(0, -6px, 0) rotate(0.6deg) scale(1.012);
  }
  100% {
    opacity: 0;
    transform: translate3d(46%, -16%, 0) rotate(4.5deg) scale(0.9);
  }
}

@keyframes wm-deck-out-redo {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  18% {
    transform: translate3d(0, -4px, 0) rotate(-0.6deg) scale(1.008);
  }
  100% {
    opacity: 0;
    transform: translate3d(-42%, 12%, 0) rotate(-4.5deg) scale(0.9);
  }
}

@keyframes wm-deck-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 13px, 0) scale(0.955);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes wm-deck-back-in {
  0% {
    opacity: 0;
    transform: translate3d(0, -9px, 0) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.wm-deck__outgoing[data-dir="keep"] {
  animation: wm-deck-out-keep 0.46s cubic-bezier(0.4, 0.02, 0.55, 1) both;
}

.wm-deck__outgoing[data-dir="redo"] {
  animation: wm-deck-out-redo 0.46s cubic-bezier(0.4, 0.02, 0.55, 1) both;
}

.wm-deck__live[data-enter="forward"] {
  animation: wm-deck-in 0.44s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.wm-deck__live[data-enter="back"] {
  animation: wm-deck-back-in 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* release bloom - one soft pulse behind the stack as a card is put down */
@keyframes wm-deck-bloom {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

.wm-deck__bloom {
  position: absolute;
  inset: -18% 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(28px);
  animation: wm-deck-bloom 0.72s ease-out both;
}

/* pip rail - a frosted glass channel with a slow traveling light ray behind the
   segments, so "how many decisions are left" reads as part of the Aurora system
   rather than a plain progress bar. */
.wm-deck__pip-track {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 14px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--wm-deck-ghost-bg, rgba(22, 26, 48, 0.72)) 55%, transparent), color-mix(in srgb, var(--wm-deck-wash, rgba(255, 255, 255, 0.04)) 70%, transparent));
  border: 1px solid var(--wm-deck-hair, rgba(89, 191, 255, 0.12));
  backdrop-filter: blur(calc(12px * var(--blur-opacity, 1))) saturate(140%);
  -webkit-backdrop-filter: blur(calc(12px * var(--blur-opacity, 1))) saturate(140%);
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.wm-deck__pip-track-sheen {
  position: absolute;
  inset: -60% -10%;
  background: linear-gradient(100deg, transparent 42%, color-mix(in srgb, var(--wm-deck-accent, #59bfff) 60%, transparent) 50%, transparent 58%);
  opacity: 0.55;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: wm-deck-track-sheen 6.5s ease-in-out infinite;
}

@keyframes wm-deck-track-sheen {
  0% { transform: translateX(-140%); }
  55%, 100% { transform: translateX(140%); }
}

.wm-deck__pip {
  position: relative;
  z-index: 1;
  height: 4px;
  flex: 1 1 0;
  min-width: 10px;
  border-radius: 999px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.08);
  transition:
    background 0.4s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
}

.wm-deck__pip:disabled {
  cursor: default;
}

.wm-deck__pip[data-st="kept"] {
  background: var(--wm-deck-grad, linear-gradient(110deg, #8ed8ff, #59bfff));
  box-shadow: 0 0 7px -1px var(--wm-deck-glow, rgba(89, 191, 255, 0.3));
}

.wm-deck__pip[data-st="redo"] {
  background: color-mix(in srgb, #d99a3b 55%, transparent);
}

.wm-deck__pip[data-live="1"] {
  transform: scaleY(2.2);
  background: linear-gradient(90deg, var(--wm-deck-accent, #59bfff), var(--wm-deck-accent2, #8ed8ff));
  box-shadow:
    0 0 14px 0px var(--wm-deck-glow, rgba(89, 191, 255, 0.3)),
    0 0 3px 0.5px rgba(255, 255, 255, 0.55);
  animation: wm-deck-pip-pulse 2.4s ease-in-out infinite;
}

@keyframes wm-deck-pip-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.35); }
}

.wm-deck__pip[data-live="1"][data-st="redo"] {
  background: linear-gradient(90deg, #d99a3b, #e8b577);
  box-shadow: 0 0 14px 0px rgba(217, 154, 59, 0.55), 0 0 3px 0.5px rgba(255, 255, 255, 0.4);
}

.wm-deck__pip:hover:not(:disabled) {
  transform: scaleY(2);
}

[data-motion="calm"] .wm-deck__pip-track-sheen {
  display: none;
}

[data-motion="calm"] .wm-deck__pip[data-live="1"] {
  animation: none;
}

/* action bar */
.wm-deck-keep {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  border: none;
  border-radius: 10px;
  padding: 9px 15px;
  font: 600 11.5px Montserrat, sans-serif;
  letter-spacing: 0.02em;
  color: var(--wm-deck-on-grad, #0a0a14);
  background: var(--wm-deck-grad, linear-gradient(110deg, #8ed8ff, #59bfff));
  box-shadow: 0 0 20px -8px var(--wm-deck-glow, rgba(89, 191, 255, 0.3));
  transition:
    box-shadow 0.24s ease,
    transform 0.16s ease,
    filter 0.24s ease;
}

.wm-deck-keep:hover {
  box-shadow: 0 0 26px -5px var(--wm-deck-glow, rgba(89, 191, 255, 0.3));
  filter: saturate(1.12);
}

.wm-deck-keep:active {
  transform: translateY(1px);
}

.wm-deck-keep__chev {
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.wm-deck-keep:hover .wm-deck-keep__chev {
  transform: translateX(2px);
}

.wm-deck-keep__key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 15px;
  padding: 0 3px;
  border-radius: 4px;
  font-size: 9px;
  line-height: 1;
  opacity: 0.62;
  border: 1px solid currentColor;
}

.wm-deck-redo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 34px;
  padding: 0 9px;
  cursor: pointer;
  border-radius: 10px;
  background: transparent;
  color: var(--wm-deck-dim, rgba(255, 255, 255, 0.42));
  border: 1px solid var(--wm-deck-hair, rgba(89, 191, 255, 0.12));
  font: 600 10.5px Montserrat, sans-serif;
  transition:
    color 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.wm-deck-redo:hover {
  color: #d99a3b;
  border-color: color-mix(in srgb, #d99a3b 42%, transparent);
  background: color-mix(in srgb, #d99a3b 10%, transparent);
}

.wm-deck-redo__label {
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition:
    max-width 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease,
    margin-left 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.wm-deck-redo:hover .wm-deck-redo__label,
.wm-deck-redo:focus-visible .wm-deck-redo__label {
  max-width: 56px;
  opacity: 1;
  margin-left: 6px;
}

/* summary ledger */
.wm-deck-row {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding: 9px 11px;
  border-radius: 11px;
  background: transparent;
  border: 1px solid transparent;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.wm-deck-row:hover {
  background: var(--wm-deck-wash, rgba(255, 255, 255, 0.04));
  border-color: var(--wm-deck-hair, rgba(89, 191, 255, 0.12));
}

/* calm motion - collapse the choreography to a plain crossfade */
:root[data-motion="calm"] .wm-deck__outgoing[data-dir],
:root[data-motion="calm"] .wm-deck__live[data-enter] {
  animation-duration: 0.14s;
  animation-timing-function: ease;
}

:root[data-motion="calm"] .wm-deck__outgoing[data-dir="keep"],
:root[data-motion="calm"] .wm-deck__outgoing[data-dir="redo"] {
  animation-name: au-fade-out-soft;
}

:root[data-motion="calm"] .wm-deck__bloom {
  display: none;
}

/* ─── Decision card "why" hint ─── */
.wm-why-hint {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  padding: 0;
  margin: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
  border: 1px solid color-mix(in srgb, var(--wm-color-accent, #59BFFF) 28%, transparent);
  background:
    radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--wm-color-accent2, #8ED8FF) 22%, transparent), transparent 55%),
    color-mix(in srgb, var(--wm-color-accent, #59BFFF) 10%, rgba(16, 18, 34, 0.55));
  color: color-mix(in srgb, var(--wm-color-accent2, #8ED8FF) 78%, #fff);
  box-shadow:
    0 0 0 1px color-mix(in srgb, #fff 4%, transparent) inset,
    0 4px 14px -8px var(--wm-color-accent-glow, rgba(89, 191, 255, 0.3));
  transition:
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.22s ease,
    background 0.18s ease;
}

.wm-why-hint__mark {
  font-family: Inconsolata, ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  transform: translateY(0.5px);
}

.wm-why-hint:hover,
.wm-why-hint:focus-visible {
  outline: none;
  transform: translateY(-1px) scale(1.06);
  border-color: color-mix(in srgb, var(--wm-color-accent, #59BFFF) 55%, transparent);
  color: #fff;
  background:
    radial-gradient(circle at 35% 28%, color-mix(in srgb, var(--wm-color-accent2, #8ED8FF) 38%, transparent), transparent 60%),
    color-mix(in srgb, var(--wm-color-accent, #59BFFF) 28%, rgba(16, 18, 34, 0.72));
  box-shadow:
    0 0 0 1px color-mix(in srgb, #fff 8%, transparent) inset,
    0 0 18px -4px var(--wm-color-accent-glow, rgba(89, 191, 255, 0.3));
}

.wm-why-hint:focus-visible {
  box-shadow:
    0 0 0 2px var(--wm-color-focus-ring, rgba(89, 191, 255, 0.3)),
    0 0 18px -4px var(--wm-color-accent-glow, rgba(89, 191, 255, 0.3));
}

[data-wm-theme="light"] .wm-why-hint {
  background:
    radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--wm-color-accent, #59BFFF) 16%, transparent), transparent 55%),
    rgba(255, 255, 255, 0.88);
  color: color-mix(in srgb, var(--wm-color-accent, #59BFFF) 82%, #0a0a14);
  border-color: color-mix(in srgb, var(--wm-color-accent, #59BFFF) 32%, transparent);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7) inset,
    0 4px 12px -6px var(--wm-color-accent-glow, rgba(89, 191, 255, 0.22));
}

[data-wm-theme="light"] .wm-why-hint:hover,
[data-wm-theme="light"] .wm-why-hint:focus-visible {
  color: var(--wm-color-accent, #59BFFF);
  background:
    radial-gradient(circle at 35% 28%, color-mix(in srgb, var(--wm-color-accent2, #8ED8FF) 22%, transparent), transparent 60%),
    #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.9) inset,
    0 0 16px -4px var(--wm-color-accent-glow, rgba(89, 191, 255, 0.22));
}

:root[data-motion="calm"] .wm-why-hint:hover,
:root[data-motion="calm"] .wm-why-hint:focus-visible {
  transform: none;
}

@keyframes au-fade-out-soft {
  to {
    opacity: 0;
  }
}

/* ─── Gap-fill section pills + invalid field pulse ─── */
@keyframes wm-gap-pill-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

@keyframes wm-gap-pill-arrive {
  0% { transform: scale(0.96); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes wm-gap-q-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

@keyframes wm-gap-q-approve {
  0% { box-shadow: 0 0 0 0 transparent; }
  45% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--wm-good, #34d399) 22%, transparent), 0 0 36px -8px color-mix(in srgb, var(--wm-good, #34d399) 70%, transparent); }
  100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--wm-good, #34d399) 14%, transparent), 0 0 28px -12px color-mix(in srgb, var(--wm-good, #34d399) 55%, transparent); }
}

.wm-gap-pill--just-done {
  animation: wm-gap-pill-pop 0.45s ease;
}

.wm-gap-pill--active {
  animation: wm-gap-pill-arrive 0.4s ease;
}

.wm-gap-q--invalid {
  animation: wm-gap-q-shake 0.35s ease;
}

.wm-gap-q--approved {
  animation: wm-gap-q-approve 0.55s ease;
}

.wm-gap-pill--nav {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  line-height: inherit;
}

.wm-gap-pill--nav:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--wm-accent, #136df4) 70%, transparent);
  outline-offset: 2px;
}

:root[data-motion="calm"] .wm-gap-pill--just-done,
:root[data-motion="calm"] .wm-gap-pill--active,
:root[data-motion="calm"] .wm-gap-q--invalid,
:root[data-motion="calm"] .wm-gap-q--approved {
  animation: none;
}

/* ─── Command-area AI markdown (Aurora chat prose) ─── */
.wm-md {
  display: flex;
  flex-direction: column;
  gap: 0.72em;
  color: var(--wm-md-mut, var(--wm-color-text-muted));
  font: 400 13.5px/1.65 Montserrat, system-ui, sans-serif;
  letter-spacing: 0.005em;
  white-space: normal;
  word-break: break-word;
}

.wm-md > :first-child { margin-top: 0; }
.wm-md > :last-child { margin-bottom: 0; }

.wm-md-p {
  margin: 0;
  color: var(--wm-md-mut, var(--wm-color-text-muted));
}

.wm-md-strong {
  color: var(--wm-md-ink, var(--wm-color-text));
  font-weight: 700;
  letter-spacing: -0.01em;
}

.wm-md-em {
  font-style: italic;
  color: color-mix(in srgb, var(--wm-md-ink, var(--wm-color-text)) 78%, var(--wm-md-accent, var(--wm-color-accent)));
}

.wm-md-strong.wm-md-em {
  color: var(--wm-md-ink, var(--wm-color-text));
}

.wm-md-del {
  color: var(--wm-md-dim, var(--wm-color-text-dim));
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.wm-md-code {
  font-family: Inconsolata, ui-monospace, monospace;
  font-size: 0.92em;
  font-weight: 500;
  color: var(--wm-md-ink, var(--wm-color-text));
  background: color-mix(in srgb, var(--wm-md-accent, var(--wm-color-accent)) 12%, var(--wm-md-wash, rgba(255,255,255,0.04)));
  border: 1px solid color-mix(in srgb, var(--wm-md-accent, var(--wm-color-accent)) 22%, transparent);
  border-radius: 6px;
  padding: 0.12em 0.42em;
}

.wm-md-a {
  color: var(--wm-md-accent, var(--wm-color-accent));
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size var(--wm-duration-fast) var(--wm-ease-out), color var(--wm-duration-fast) ease;
}

.wm-md-a:hover {
  color: var(--wm-md-accent2, var(--wm-color-accent2));
  background-size: 100% 1px;
}

.wm-md-h {
  margin: 0.15em 0 0;
  color: var(--wm-md-ink, var(--wm-color-text));
  font-family: "Larken", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.wm-md-h1 { font-size: 1.28em; }
.wm-md-h2 { font-size: 1.12em; }
.wm-md-h3 {
  font-size: 0.72em;
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wm-md-accent, var(--wm-color-accent));
}

.wm-md-list {
  list-style: none;
  margin: 0.1em 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55em;
}

.wm-md-li {
  position: relative;
  display: grid;
  grid-template-columns: 1.55em 1fr;
  gap: 0.55em;
  align-items: start;
  margin: 0;
  padding: 0;
}

.wm-md-ul .wm-md-li {
  grid-template-columns: 0.85em 1fr;
}

.wm-md-ul .wm-md-li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 0.55em;
  border-radius: 999px;
  background: var(--wm-md-accent, var(--wm-color-accent));
  box-shadow: 0 0 10px -1px var(--wm-md-glow, var(--wm-color-accent-glow));
  justify-self: center;
}

.wm-md-idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45em;
  height: 1.45em;
  margin-top: 0.08em;
  border-radius: 999px;
  font: 700 10px/1 Montserrat, system-ui, sans-serif;
  letter-spacing: 0.02em;
  color: var(--wm-md-accent, var(--wm-color-accent));
  background: color-mix(in srgb, var(--wm-md-accent, var(--wm-color-accent)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--wm-md-accent, var(--wm-color-accent)) 28%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.wm-md-li-body {
  min-width: 0;
  color: var(--wm-md-mut, var(--wm-color-text-muted));
  line-height: 1.6;
}

.wm-md-bq {
  margin: 0.15em 0;
  padding: 0.7em 0.95em 0.7em 1em;
  border-left: 2px solid var(--wm-md-accent, var(--wm-color-accent));
  border-radius: 0 12px 12px 0;
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--wm-md-accent, var(--wm-color-accent)) 10%, transparent),
      color-mix(in srgb, var(--wm-md-wash, rgba(255,255,255,0.04)) 70%, transparent));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.wm-md-bq-line {
  margin: 0;
  font-style: italic;
  color: color-mix(in srgb, var(--wm-md-ink, var(--wm-color-text)) 82%, var(--wm-md-accent, var(--wm-color-accent)));
  line-height: 1.55;
}

.wm-md-bq-line + .wm-md-bq-line { margin-top: 0.35em; }

.wm-md-pre {
  margin: 0.1em 0;
  padding: 0.85em 1em;
  overflow-x: auto;
  border-radius: 12px;
  background: color-mix(in srgb, var(--wm-md-glass, rgba(22,26,48,0.72)) 88%, #000);
  border: 1px solid var(--wm-md-hair, var(--wm-color-border));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.wm-md-pre code {
  font-family: Inconsolata, ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.55;
  color: var(--wm-md-ink, var(--wm-color-text));
  white-space: pre;
}

.wm-md-hr {
  border: none;
  height: 1px;
  margin: 0.35em 0;
  background: linear-gradient(90deg,
    transparent,
    color-mix(in srgb, var(--wm-md-accent, var(--wm-color-accent)) 55%, transparent),
    transparent);
}

.wm-md-caret {
  display: inline-block;
  width: 2px;
  height: 0.95em;
  margin-left: 2px;
  vertical-align: -0.12em;
  border-radius: 1px;
  background: var(--wm-md-accent, var(--wm-color-accent));
  box-shadow: 0 0 10px var(--wm-md-glow, var(--wm-color-accent-glow));
  animation: wm-md-caret 1.05s var(--wm-ease-out) infinite;
}

@keyframes wm-md-caret {
  0%, 45% { opacity: 1; }
  55%, 100% { opacity: 0.15; }
}

:root[data-motion="calm"] .wm-md-caret {
  animation: none;
  opacity: 0.7;
}

@keyframes wm-stripe-nudge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .wm-global-tooltip {
    transition-duration: 0.01ms !important;
  }
}

/* ─── The Slate - refill signature moment (WS-27) ─── */
.wm-slate-evidence {
  transition: max-height 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.wm-slate-exit,
.wm-slate-arrive,
.wm-slate-promote {
  will-change: opacity;
}

@media (prefers-reduced-motion: no-preference) {
  .wm-slate-exit {
    animation: wm-slate-exit 420ms cubic-bezier(0.4, 0, 0.6, 1) forwards;
  }

  .wm-slate-arrive {
    animation: wm-slate-arrive 520ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
    position: relative;
    overflow: hidden;
  }

  .wm-slate-arrive::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(19, 109, 244, 0.4), transparent);
    opacity: 0.4;
    transform: translateX(-100%);
    animation: wm-slate-sweep 700ms cubic-bezier(0.2, 0.7, 0.2, 1) 1 forwards;
  }

  .wm-slate-promote {
    animation: wm-slate-promote 380ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .wm-slate-receipt {
    animation: wm-slate-receipt 500ms cubic-bezier(0.4, 0, 0.6, 1) 180ms both;
  }

  .wm-slate-thinking {
    position: relative;
    overflow: hidden;
  }

  .wm-slate-thinking::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(19, 109, 244, 0.13), transparent);
    background-size: 200% 100%;
    animation: wm-slate-shimmer 1.6s linear infinite;
  }

  .wm-slate-seat {
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
}

@keyframes wm-slate-exit {
  0% {
    transform: none;
    opacity: 1;
    filter: blur(0);
    max-height: 600px;
  }
  62% {
    transform: scale(0.97) translateY(-6px);
    opacity: 0;
    filter: blur(3px);
    max-height: 600px;
  }
  100% {
    transform: scale(0.97) translateY(-6px);
    opacity: 0;
    filter: blur(3px);
    max-height: 0;
    margin: 0;
    padding: 0;
  }
}

@keyframes wm-slate-arrive {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}

@keyframes wm-slate-sweep {
  to {
    transform: translateX(200%);
  }
}

@keyframes wm-slate-promote {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes wm-slate-receipt {
  from {
    transform: none;
    opacity: 1;
  }
  to {
    transform: translateY(220px) scale(0.6);
    opacity: 0;
  }
}

@keyframes wm-slate-shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wm-slate-exit {
    opacity: 0;
    transition: opacity 120ms linear;
  }

  .wm-slate-arrive {
    animation: none;
    opacity: 1;
  }

  .wm-slate-arrive::after,
  .wm-slate-thinking::before {
    content: none;
  }

  .wm-slate-receipt {
    display: none;
  }
}

@keyframes wm-add-tool-drift {
  from { background-position: 0% 40%, 100% 0%, 0 0; }
  to { background-position: 12% 60%, 80% 20%, 0 0; }
}

.wm-add-tool-card {
  position: relative;
  min-height: 164px;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  text-align: left;
  cursor: pointer;
  color: inherit;
  border: 1px solid rgba(19, 109, 244, 0.28);
  background:
    radial-gradient(120% 90% at 8% -10%, rgba(19, 109, 244, 0.55), transparent 58%),
    radial-gradient(90% 80% at 110% 120%, rgba(34, 211, 238, 0.22), transparent 52%),
    linear-gradient(165deg, rgba(12, 18, 42, 0.92), rgba(4, 5, 12, 0.88));
  background-size: 140% 140%, 120% 120%, 100% 100%;
  animation: wm-add-tool-drift 14s ease-in-out infinite alternate;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 40px -28px rgba(19, 109, 244, 0.55);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), border-color 180ms ease;
}

.wm-add-tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.wm-add-tool-card::after {
  content: "";
  position: absolute;
  inset: -40% auto auto -20%;
  width: 70%;
  height: 70%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 68%);
}

.wm-add-tool-card:hover,
.wm-add-tool-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.45);
  outline: none;
}

.wm-add-tool-card.is-open {
  cursor: default;
  transform: none;
}

.wm-add-tool-card > * {
  position: relative;
  z-index: 1;
}

.wm-add-tool-plus {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e8eefc;
  font: 500 22px Larken, serif;
  line-height: 1;
}

.wm-toolkit-search {
  margin-top: 10px;
  padding: 22px 22px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(19, 109, 244, 0.12), transparent 60%),
    rgba(8, 13, 31, 0.55);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.wm-toolkit-search-input {
  width: 100%;
  margin-top: 12px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 5, 12, 0.55);
  color: inherit;
  font: 400 15px Inconsolata, ui-monospace, monospace;
  outline: none;
}

.wm-toolkit-search-input:focus {
  border-color: rgba(19, 109, 244, 0.7);
  box-shadow: 0 0 0 3px rgba(19, 109, 244, 0.18);
}

.wm-toolkit-hit {
  width: 100%;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.wm-toolkit-hit:hover,
.wm-toolkit-hit:focus-visible {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .wm-add-tool-card,
  .wm-add-tool-card:hover {
    transform: none;
    animation: none;
  }
}

/* ─── Handover close - the two things that keep running ─── */
/* Two lanes, not two cards: a hairline splits them, nothing boxes them in. */
.wm-nm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  width: 100%;
  text-align: left;
}

.wm-nm-rule {
  display: block;
  height: 1px;
  width: 100%;
  background-image: linear-gradient(90deg, transparent, var(--wm-nm-hair), transparent);
}

@media (min-width: 800px) {
  .wm-nm-grid {
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
    align-items: stretch;
    gap: 38px;
  }

  .wm-nm-rule {
    height: 100%;
    width: 1px;
    background-image: linear-gradient(180deg, transparent, var(--wm-nm-hair) 22%, var(--wm-nm-hair) 78%, transparent);
  }
}

.wm-nm {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  appearance: none;
}

.wm-nm:focus-visible {
  outline: 2px solid var(--wm-nm-accent, currentColor);
  outline-offset: 8px;
  border-radius: 6px;
}

.wm-nm-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
}

.wm-nm-tick {
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  border-radius: 1px;
  transform: rotate(45deg);
}

.wm-nm-eyebrow-rule {
  flex: 1;
  height: 1px;
  min-width: 0;
}

.wm-nm-visual {
  display: block;
  width: 100%;
  margin-bottom: 5px;
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

.wm-nm:hover .wm-nm-visual,
.wm-nm:focus-visible .wm-nm-visual {
  transform: translateY(-5px);
}

.wm-nm-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 9px 15px 9px 17px;
  border-radius: 999px;
  border: 1px solid;
  font: 600 12px Montserrat, sans-serif;
  letter-spacing: 0.01em;
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.wm-nm:hover .wm-nm-cta {
  background: color-mix(in srgb, var(--wm-nm-accent) 13%, transparent);
  border-color: color-mix(in srgb, var(--wm-nm-accent) 62%, transparent) !important;
}

.wm-nm-arrow {
  display: inline-block;
  font: 600 13px Montserrat, sans-serif;
  transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}

.wm-nm:hover .wm-nm-arrow {
  transform: translateX(4px);
}

/* Growth: the week filling with posts */
.wm-nm-post {
  animation: wm-nm-post-in 0.75s cubic-bezier(0.2, 0.85, 0.25, 1) both;
}

@keyframes wm-nm-post-in {
  from { opacity: 0; transform: translateY(16px) scale(0.82); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.wm-nm-slot {
  animation: wm-nm-slot-in 0.5s ease both;
}

@keyframes wm-nm-slot-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.wm-nm-sheen {
  animation: wm-nm-sheen 5.2s cubic-bezier(0.45, 0, 0.2, 1) 1.6s infinite;
}

@keyframes wm-nm-sheen {
  0% { transform: translateX(-130%); opacity: 0; }
  14% { opacity: 0.9; }
  52% { opacity: 0.9; }
  70%, 100% { transform: translateX(130%); opacity: 0; }
}

/* Automations: the loop that keeps firing */
.wm-nm-pulse {
  animation: wm-nm-pulse 4.6s linear infinite;
}

@keyframes wm-nm-pulse {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -100; }
}

.wm-nm-node-glow {
  animation: wm-nm-node-glow 4.6s linear infinite;
}

@keyframes wm-nm-node-glow {
  0% { opacity: 0.85; }
  14% { opacity: 0; }
  100% { opacity: 0; }
}
