.demo-main { position: relative; overflow: hidden; }
.motion-panel {
  position: absolute; right: 0; top: 0; bottom: 28px; z-index: 4;
  width: 310px; max-width: 90%; padding: 0 17px;
  border-left: 1px solid #e7e9ef; background: #fff;
  box-shadow: -14px 0 35px -18px #28375535;
  pointer-events: none; opacity: 0;
}
.motion-panel-head { height: 45px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #f0f1f4; margin: 0 -17px 16px; padding: 0 17px; }
.motion-panel-head img { width: 17px; height: 17px; }
.motion-panel-head strong { font-size: 12px; font-weight: 500; }
.motion-panel-head small { margin-left: auto; font-size: 9px; color: #a0a5af; }
.motion-question { padding: 10px; border: 1px solid #e9edf4; border-radius: 8px; background: #f7f9fd; font-size: 12px; line-height: 1.8; margin-bottom: 12px; }
.motion-label { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #808798; margin-bottom: 12px; }
.motion-label .demo-icon { color: #768bb0; width: 13px; }
.motion-step { display: flex; align-items: center; gap: 8px; height: 24px; font-size: 10px; color: #7d8595; }
.motion-step .step-node { display: grid; place-items: center; width: 14px; height: 14px; border: 1px solid #dde3ec; border-radius: 50%; color: #709a83; font: 9px 'Orbit Sans',sans-serif; }
.motion-step.done { color: #566575; }
.motion-step.done .step-node { background: #eff7f2; border-color: #dcece2; }
.motion-step.active { color: #46566f; }
.motion-step.active .step-node, .motion-apply.applying .apply-node { border: 1.5px solid #e0e6ee; border-top-color: #6f86ab; border-right-color: #6f86ab; }
.motion-sources { display: flex; gap: 5px; margin: 10px 0 15px; }
.motion-sources span { padding: 3px 6px; border: 1px solid #e9ecf1; border-radius: 4px; font-size: 9px; color: #8a909c; }
.motion-result { border: 1px solid #e6eaf0; border-radius: 8px; padding: 13px; }
.motion-result h2 { font-size: 12px; line-height: 1.6; font-weight: 500; margin: 0 0 10px; }
.motion-result p { font-size: 10px; line-height: 1.8; color: #858c99; margin: 3px 0 0; }
.motion-result b { font-weight: 500; color: #4c5668; }
.result-caption { display: flex; justify-content: space-between; font-size: 9px; color: #9299a5; margin-bottom: 8px; }
.result-record { font-size: 10px; padding: 5px 0; border-top: 1px solid #f1f3f6; }
.result-action { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 9px; padding-top: 10px; border-top: 1px solid #edf0f4; }
.result-provenance { font-size: 9px; color: #9aa1ad; }
.motion-apply { display: flex; align-items: center; gap: 5px; color: #50627c; height: 25px; font-size: 10px; }
.apply-node { display: none; width: 12px; height: 12px; border-radius: 50%; font-style: normal; text-align: center; }
.motion-apply.applying .apply-node, .motion-apply.applied .apply-node { display: inline-block; }
.motion-apply.applying .apply-arrow, .motion-apply.applied .apply-arrow { display: none; }
.motion-apply.applied { color: #628c76; }
.typing-text { position: relative; display: block; }
.typing-size { visibility: hidden; }
.typing-ink { position: absolute; inset: 0; }
.is-typing .typing-ink::after { content: ''; display: inline-block; width: 1px; height: 1em; margin-left: 2px; background: #8290a6; vertical-align: -.12em; }
.motion-complete { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: #628c76; font-size: 9px; }
.motion-complete i { font-style: normal; }
.motion-footer { position: absolute; bottom: 16px; left: 17px; right: 17px; height: 34px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #edf0f4; padding: 0 10px; border-radius: 6px; color: #a5abb6; font-size: 10px; }
.demo-table tr.motion-selected > td { background: #f2f6ff; }
.demo-table tr.motion-selected .demo-checkbox { background: #487ffc; border-color: #487ffc; position: relative; }
.demo-table tr.motion-selected .demo-checkbox::after { content: ''; position: absolute; width: 5px; height: 3px; border-left: 1px solid white; border-bottom: 1px solid white; transform: rotate(-45deg); left: 2px; top: 2px; }
.ask-orbit.motion-active { background: #eff4ff; border-color: #c7d8f8; color: #3f6dac; }
.motion-updated { color: #4c8467 !important; }
.demo-table tr.motion-updated-row > td { background: #f6faf8; }
.motion-playback { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; color: #8992a3; font-size: 10px; width: 100%; }
.motion-track { width: 64px; height: 2px; background: #dfe4ed; overflow: hidden; }
.motion-track i { display: block; width: 100%; height: 100%; background: #889bbf; transform-origin: left; }
.motion-playback button { cursor: pointer; border: 0; padding: 5px 0; background: none; color: #69768b; font-size: 10px; }
.motion-stage-name { min-width: 120px; }
.motion-playback button:focus-visible { outline: 2px solid #879ecb; outline-offset: 3px; }
.motion-playback[hidden] { display: none; }
@media (max-width: 600px) {
  .demo-main { overflow: visible; }
  .motion-panel { position: relative; inset: auto; z-index: auto; width: 100%; max-width: none; min-height: 0; padding: 0 12px 58px; border-left: 0; border-top: 1px solid #e7e9ef; box-shadow: none; opacity: 1 !important; transform: none !important; }
  .motion-panel-head { margin-inline: -12px; padding-inline: 12px; }
  .motion-footer { left: 12px; right: 12px; bottom: 12px; }
  .motion-playback { gap: 10px; }
}
