/* A stable product frame, with source → criterion → result motion. */
.v9-engine-explorer.is-previewing .v9-engine-panel header{min-height:190px}
.v9-engine-explorer.is-previewing .v9-engine-preview{padding:23px 25px 20px;min-height:0}
.engine-motion-scene{margin:20px 0 22px;contain:layout}
.em-inputs{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.em-source{display:flex;gap:12px;align-items:center;padding:14px;background:#fff;border:1px solid #dde4ee;border-radius:5px;min-height:76px;box-sizing:border-box}
.em-source>img{width:25px;height:25px;object-fit:contain;flex:none}
.em-source>img.em-photo{width:58px;height:46px;object-fit:cover;border-radius:3px}
.em-source strong,.em-rule strong{display:block;font-size:12px;font-weight:600;color:#172342;line-height:1.6}
.em-source span,.em-rule span{display:block;font-size:11px;color:#60718a;line-height:1.65;margin-top:3px}
.em-transit{height:2px;margin:12px 18px;background:#e0e6ef;overflow:hidden;position:relative}
.em-transit i{position:absolute;left:0;top:0;width:18%;height:100%;background:#f47840;opacity:0;box-shadow:0 0 8px #fc8b54}
.em-rule{display:flex;align-items:center;gap:12px;background:#f0f4fa;border:1px solid #dbe3ef;border-radius:5px;padding:13px 16px;min-height:75px;box-sizing:border-box}
.em-rule>img{width:23px;height:23px;flex:none}
.em-steps{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.em-step{padding:7px 5px;border-radius:3px;font-size:10px;line-height:1.65;color:#66748d;display:flex;gap:7px;align-items:baseline}
.em-step>span{font:9px/1.5 ui-monospace,monospace;color:#ad522c;flex:none}
.v9-engine-explorer .v9-engine-preview h4{min-height:0;margin-top:20px;font-size:24px}
.v9-engine-explorer .v9-engine-preview>p{min-height:0}
.v9-engine-explorer .v9-preview-decision{min-height:0;border-radius:3px;padding-bottom:6px}
.v9-engine-explorer .v9-engine-panel footer .v9-engine-expand{display:inline-block;border:0;border-bottom:1px solid #8c9ab4;padding:5px 0;background:none;color:#fff;font:inherit;cursor:pointer;text-align:left}
.v9-engine-nav button{transition:background-color 220ms ease,color 220ms ease}
@media(max-width:1100px) and (min-width:761px){.em-source{padding:10px;gap:8px}.em-source>img.em-photo{width:43px;height:40px}.em-steps{gap:3px}.em-step{display:block}.em-step>span{display:block;margin-bottom:3px}.v9-engine-explorer.is-previewing .v9-engine-panel header{min-height:215px}}
@media(max-width:760px){.v9-engine-explorer.is-previewing .v9-engine-panel header{min-height:0}.v9-engine-explorer.is-previewing .v9-engine-preview{padding:18px 14px;margin-top:20px}.em-inputs{grid-template-columns:1fr;gap:8px}.em-source{padding:11px;min-height:63px}.em-steps{grid-template-columns:1fr;gap:3px}.em-step{padding:5px}.em-source strong,.em-rule strong{font-size:12px}.em-source span,.em-rule span{font-size:11px}.v9-engine-explorer .v9-engine-preview h4{font-size:22px}.engine-motion-scene{margin-bottom:20px}.v9-engine-explorer .v9-engine-preview small{line-height:1.7}.is-previewing .v9-engine-expand{min-height:44px}}
@media(prefers-reduced-motion:reduce){.em-transit i{display:none}.v9-engine-nav button{transition:none}}
