.motion-scene {
  --ms-red: #be2945;
  --ms-ink: #343530;
  --ms-chalk: #eef0eb;
  --ms-sage: #dce2d4;
  --ms-pink: #efd9e1;
  position: relative;
  width: 100%;
  margin: 0;
  color: var(--ms-ink);
  font-family: Onest, Arial, sans-serif;
  background: var(--ms-chalk);
  isolation: isolate;
}
.ms-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 21px 26px 0;
  font-size: 12px;
  line-height: 1.5;
  color: #5a5c54;
}
.ms-meta > span:last-child {
  text-align: right;
}
.ms-canvas {
  position: relative;
}
.ms-canvas > svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.ms-canvas .ms-mobile {
  display: none;
}
.ms-canvas text {
  font-family: Onest, Arial, sans-serif;
  fill: var(--ms-ink);
}
.ms-canvas .ms-note {
  font-size: 13px;
  font-weight: 400;
  fill: #5a5c54;
}
.ms-canvas .ms-label {
  font-size: 15px;
  font-weight: 600;
}
.ms-canvas .ms-body {
  font-size: 16px;
}
.ms-canvas .ms-bold {
  font-weight: 600;
}
.ms-canvas .ms-title-small {
  font-family: Syne, Arial, sans-serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.4px;
}
.ms-canvas .ms-inverse-note {
  font-size: 13px;
  fill: #dce2d4;
}
.ms-canvas .ms-inverse-title {
  font-family: Syne, Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
  fill: #eef0eb;
  letter-spacing: -0.5px;
}
.ms-paper {
  fill: #fff;
  stroke: #b5bbaa;
  stroke-width: 1.25;
}
.ms-paper-shadow {
  fill: #dce2d4;
}
.ms-record-paper {
  fill: #fff;
  stroke: #343530;
  stroke-width: 1.25;
}
.ms-record-shadow {
  fill: #cbd2c1;
}
.ms-fold {
  fill: #eef0eb;
  stroke: #b5bbaa;
  stroke-width: 1.25;
}
.ms-icon {
  fill: none;
  stroke: #343530;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ms-hairline {
  fill: none;
  stroke: #c0c6b9;
  stroke-width: 1;
}
.ms-evidence-highlight {
  fill: #efd9e1;
}
.ms-field-highlight {
  fill: #eef0eb;
}
.ms-route,
.ms-route-progress,
.ms-review-path,
.ms-update-path,
.ms-return-path {
  fill: none;
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.ms-route {
  stroke: #a8af9f;
}
.ms-route-progress {
  stroke: #be2945;
  stroke-dasharray: 14 240;
  opacity: 0;
}
.ms-review-path {
  stroke: #343530;
  stroke-dasharray: 3 5;
}
.ms-update-path,
.ms-return-path {
  stroke: #be2945;
  stroke-dasharray: 4 5;
}
.ms-packet {
  opacity: 0;
}
.ms-approved {
  opacity: 1;
  transform-box: fill-box;
  transform-origin: center;
}
.ms-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 9px 26px 18px;
  font-size: 12px;
  line-height: 1.5;
  color: #5a5c54;
}
.ms-caption > span {
  max-width: 74%;
}
.ms-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: transparent;
  border: 1px solid #b5bbaa;
  border-radius: 3px;
  color: #343530;
  font: inherit;
  padding: 7px 10px;
  cursor: pointer;
  flex-shrink: 0;
  min-height: 44px;
  min-width: 72px;
}
.ms-toggle[hidden] {
  display: none;
}
.ms-toggle svg {
  width: 10px;
  height: 10px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.ms-play-symbol {
  display: none;
}
.ms-toggle[aria-pressed="true"] .ms-pause-symbol {
  display: none;
}
.ms-toggle[aria-pressed="true"] .ms-play-symbol {
  display: block;
}
.ms-toggle:focus-visible {
  outline: 2px solid #be2945;
  outline-offset: 4px;
}
.motion-scene[data-enhanced] .ms-stage {
  transition: filter 0.5s ease;
}
.motion-scene[data-phase="source"] .ms-source .ms-paper,
.motion-scene[data-phase="enrich"] .ms-source .ms-paper {
  stroke: #be2945;
  stroke-width: 2;
}
.motion-scene[data-phase="enrich"] .ms-evidence-highlight {
  fill: #e9bac7;
}
.motion-scene[data-phase="save"] .ms-field-highlight,
.motion-scene[data-phase="update"] .ms-field-highlight {
  fill: #dce2d4;
}
.motion-scene[data-phase="review"] .ms-approved {
  animation: ms-approve 1.5s ease both;
}
.motion-scene[data-phase="review"] .ms-review-arm {
  animation: ms-review 1.5s ease both;
  transform-origin: 45px 60px;
}
.motion-scene[data-phase="update"] .ms-update {
  animation: ms-update 1s ease both;
}
.motion-scene[data-paused] * {
  animation-play-state: paused !important;
}
.motion-scene[data-phase="update"] .ms-update-path,
.motion-scene[data-phase="update"] .ms-return-path {
  stroke-width: 2.5;
}
.motion-scene-support .ms-caption {
  padding-top: 0;
}
@keyframes ms-approve {
  0%,
  35% {
    opacity: 0.15;
    transform: scale(0.7);
  }
  65%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes ms-review {
  0%,
  100% {
    transform: rotate(0deg);
  }
  45% {
    transform: rotate(-12deg);
  }
}
@keyframes ms-update {
  0% {
    transform: translateY(7px);
  }
  100% {
    transform: translateY(0);
  }
}
@media (max-width: 1100px) and (min-width: 801px) {
  .ms-meta {
    padding-inline: 18px;
    font-size: 11px;
  }
  .ms-caption {
    padding-inline: 18px;
    font-size: 11px;
  }
  .ms-caption > span {
    max-width: 65%;
  }
  .ms-canvas .ms-desktop {
    display: none;
  }
  .ms-canvas .ms-mobile {
    display: block;
    width: min(100%, 350px);
    margin: auto;
  }
  .motion-scene .ms-mobile .ms-note {
    font-size: 14px;
  }
}
@media (max-width: 600px) {
  .ms-canvas .ms-desktop {
    display: none;
  }
  .ms-canvas .ms-mobile {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: auto;
  }
  .ms-meta {
    padding: 16px 16px 0;
    font-size: 11px;
    gap: 8px;
  }
  .ms-caption {
    padding: 3px 16px 16px;
    font-size: 11px;
    align-items: flex-end;
  }
  .ms-caption > span {
    max-width: 65%;
  }
  .ms-toggle {
    font-size: 11px;
    padding: 7px 9px;
  }
  .motion-scene .ms-mobile .ms-note {
    font-size: 14px;
  }
  .motion-scene .ms-mobile .ms-label {
    font-size: 14px;
  }
  .motion-scene .ms-mobile .ms-body {
    font-size: 15px;
  }
  .motion-scene .ms-mobile .ms-title-small {
    font-size: 20px;
  }
  .motion-scene .ms-mobile .ms-inverse-title {
    font-size: 21px;
  }
  .motion-scene-support .ms-mobile .ms-note {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .motion-scene * {
    animation: none !important;
    transition: none !important;
  }
  .motion-scene .ms-packet,
  .motion-scene .ms-route-progress {
    display: none;
  }
  .motion-scene .ms-toggle {
    display: none;
  }
}
