/* Public, finite product demonstrations. Full editing tools live in the dashboard. */
.motion-showcase{color:#24313d;min-width:0;scroll-margin-top:88px}
.ms-intro{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin:2px 0 24px}
.ms-eyebrow{font-size:10px;letter-spacing:.09em;font-weight:600;color:#62717e}
.ms-intro h2{font-size:clamp(24px,3vw,36px);margin:8px 0;line-height:1.14!important}
.ms-intro p{font-size:13px;line-height:1.65;margin:0;max-width:650px}
.ms-example{padding:6px 10px;border:1px solid #d5dfe5;border-radius:20px;white-space:nowrap;font-size:10px;color:#657684}
.cp-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:20px}
.demo-app .cp-products button{padding:10px 14px;border:1px solid #dce3e7;background:#fff;border-radius:8px;display:flex;align-items:center;gap:12px;text-align:left;min-width:0}
.cp-products button[aria-pressed=true]{border-color:#536b7d;background:#edf2f6}
.cp-products img{width:44px;height:44px;object-fit:cover;border-radius:5px}
.cp-products b,.cp-products small{display:block}.cp-products b{font-size:12px;letter-spacing:.04em}.cp-products small{font-size:11px;color:#667786;margin-top:3px}.cp-products button>span:last-child{margin-left:auto}
.ms-window{border:1px solid #cfdbe3;border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 18px 42px -22px #24313d40}
.ms-windowbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 16px;background:#eaf0f4;border-bottom:1px solid #d4dfe6;font-size:11px;min-height:51px}
.ms-windowbar>div{display:flex;align-items:center;gap:12px;min-width:0}.ms-windowbar b{font-weight:550}.ms-brandmark{color:#d15929;font-size:19px}.ms-muted{color:#697d8a;font-size:10px}.ms-run-state{font-size:10px;color:#506679;white-space:nowrap}
.cp-workspace{display:grid;grid-template-columns:165px minmax(0,1fr) 220px;height:470px;overflow:hidden}
.ms-panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 13px;font-size:10px;border-bottom:1px solid #e0e7ec;min-height:43px;color:#687b88}.ms-panel-title b{font-weight:500;color:#24313d}
.cp-rail{display:flex;flex-direction:column;min-height:0;background:#f7f9fa;border-right:1px solid #dce3e7}.cp-queue{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bac8d2 transparent;min-height:0;padding:5px;flex:1}
.cp-job{display:flex;align-items:center;gap:8px;padding:8px 5px;border:1px solid transparent;border-radius:4px;font-size:9px;font-variant-numeric:tabular-nums}.cp-job img{width:26px;height:32px;object-fit:contain;opacity:.23}.cp-job span{flex:1}.cp-job small{display:block;font-size:8px;color:#788a96;margin-top:3px}.cp-job i{font-style:normal;color:#637b8d}.cp-job[data-ready=true] img{opacity:1}.cp-job[data-active=true]{background:#fff0e6;border-color:#efc0a8}.cp-job[data-active=true] i{color:#b94e20}.cp-rail-note{padding:12px 15px;border-top:1px solid #dce3e7;font-size:10px;line-height:1.65;color:#85939d}
.cp-art-space{display:flex;flex-direction:column;min-width:0;min-height:0;background:#f0f4f6}.cp-art-space>.ms-panel-title{background:#fafcfd;flex-shrink:0}.cp-art-scroll{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#aabcc9 transparent;padding:17px;background-image:radial-gradient(#cdd7df .7px,transparent .7px);background-size:14px 14px;flex:1}
.cp-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px 12px}
.demo-app .cp-card{border:1px solid #dbe3e8;border-radius:5px;background:#fff;min-width:0;padding:0;overflow:hidden;text-align:left;transition:box-shadow .2s}
.cp-card[aria-disabled=true]{cursor:progress}.cp-card[data-ready=true]:hover{box-shadow:0 0 0 2px #e96b31}
.cp-art{height:170px;padding:7px;background:#e8eef2;position:relative;overflow:hidden;display:grid;place-items:center}.cp-art>img{width:100%;height:100%;object-fit:contain;min-height:0;opacity:0;transform:translateY(10px) scale(.97);transition:opacity .55s,transform .65s}.cp-card[data-ready=true] img{opacity:1;transform:none}
.cp-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;color:#a0b1bd;background:#e8eef2}.cp-placeholder i{font-size:26px;font-style:normal;font-weight:300}.cp-placeholder small{font-size:8px}.cp-card[data-active=true] .cp-placeholder{background:linear-gradient(120deg,#e8eef2 20%,#fff 48%,#e8eef2 70%);background-size:220% 100%;animation:cp-shimmer 1.4s linear infinite}.cp-card[data-ready=true] .cp-placeholder{display:none}
.cp-caption{display:flex;align-items:center;gap:8px;padding:8px;font-size:9px;font-variant-numeric:tabular-nums}.cp-caption small{font-size:8px;color:#80909d}.cp-caption b{margin-left:auto;font-weight:400;color:#6b7c89}
.cp-agent{position:absolute;left:8px;right:8px;bottom:10px;display:none;background:#d66b3b;color:#fff;max-width:145px;width:max-content;border-radius:4px;padding:5px 7px;font-size:8px;box-shadow:0 2px 8px #24313d24;white-space:nowrap}.cp-card[data-active=true] .cp-agent{display:block;animation:cp-agent 2s ease-in-out infinite}.cp-card:nth-child(2n) .cp-agent{background:#396c97}
.cp-team{border-left:1px solid #dce3e7;background:#fbfcfd;min-width:0}.ms-worker{display:flex;gap:10px;padding:16px 13px;align-items:flex-start;border-bottom:1px solid #e7edf1}.ms-avatar{width:28px;height:28px;display:grid;place-items:center;flex-shrink:0;font-size:9px;border-radius:8px;background:#ffecdF;color:#9d4c25}.worker-1{background:#e1edf8;color:#30658c}.worker-2{background:#ede7f5;color:#78599b}.ms-worker b{display:block;font-size:10px;font-weight:500}.ms-worker small{display:block;font-size:9px;color:#7b8c97;margin:3px 0 7px}.ms-worker-state{font-size:8px;color:#8a99a4}.ms-worker[data-active=true] .ms-worker-state{color:#b4572c}.ms-worker[data-active=true] .ms-avatar{box-shadow:0 0 0 3px #e9eef2;animation:ms-pulse 2s ease-in-out infinite}.cp-review{padding:24px 16px}.cp-review>b{display:block;margin:8px 0;font-size:13px;font-weight:500}.cp-review p{font-size:11px;line-height:1.7;margin-bottom:14px}.cp-review>span:last-child{display:block;font-size:9px;color:#9b5a3b}
.ms-controls{display:flex;gap:12px;align-items:center;padding:14px 16px;border-top:1px solid #d8e1e8;background:white}.ms-process{flex:1;max-width:500px;min-width:80px;margin-right:auto}.ms-process>span{font-size:10px;display:block;margin-bottom:7px}.ms-progress{height:3px;background:#e7edf1;overflow:hidden;border-radius:4px}.ms-progress>i{display:block;width:0;height:100%;background:#e46a36}
.demo-app .ms-pause,.demo-app .ms-render{border:1px solid #d4dfe6;border-radius:5px;padding:10px 13px;font-size:11px;min-height:42px;white-space:nowrap}.demo-app .ms-render{background:#e86d37;border-color:#e86d37;color:#23170f;font-weight:550}.ms-stages{display:flex;gap:22px;padding:10px 16px;font-size:8px;border-top:1px solid #e6ecf0;background:#f8fafb;color:#82929d}.ms-stages [data-active=true]{color:#aa4d24}.ms-disclaimer{font-size:10px!important;line-height:1.7;margin:16px 0 0;color:#71818d!important}.ms-live{position:absolute!important;width:1px;height:1px;padding:0!important;margin:-1px!important;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.creative-preview dialog{max-width:min(90vw,820px);width:820px;max-height:92dvh;border:1px solid #ccd8e0;border-radius:12px;padding:20px;color:#24313d;background:#f7f9fa}.creative-preview dialog::backdrop{background:#182736b8;backdrop-filter:blur(4px)}.creative-preview dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.creative-preview dialog h3{font-size:17px;margin:0}.creative-preview dialog button{border:1px solid #cedbe3;padding:10px 14px;min-height:44px;border-radius:5px;font-size:12px}.cp-full{display:block;width:auto;height:auto;max-height:65dvh;max-width:100%;object-fit:contain;margin:20px auto}.creative-preview dialog nav{display:flex;align-items:center;justify-content:center;gap:20px;font-size:12px}
.demo-creative-tabs{display:flex;gap:6px;margin:0 0 24px;overflow:auto;border-bottom:1px solid #dce3e7;padding-bottom:12px}.demo-creative-tabs button{padding:10px 14px!important;font-size:12px!important;min-height:44px;white-space:nowrap;border-radius:5px}.demo-creative-tabs button[aria-current=page]{background:#eaf0f4;color:#24313d}.demo-language-note{max-width:1480px;padding:0 24px;margin:0 auto 20px;font-size:13px;color:#627381}
@keyframes cp-shimmer{to{background-position:-220% 0}}@keyframes cp-agent{50%{transform:translate(3px,-5px)}}@keyframes ms-pulse{50%{box-shadow:0 0 0 5px #e9eef2}}
.motion-showcase[data-playing=false] *{animation-play-state:paused!important}
@media(min-width:1500px){.cp-art{height:205px}.cp-workspace{height:540px}}
@media(max-width:1150px){.cp-workspace{grid-template-columns:142px minmax(0,1fr) 185px}.cp-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ms-worker{padding:14px 10px;gap:8px}.ms-worker b{font-size:9px}.ms-muted{display:none}}
@media(max-width:900px){.cp-workspace{grid-template-columns:130px minmax(0,1fr)}.cp-team{display:none}.ms-intro{flex-direction:column;gap:10px}.ms-example{align-self:flex-start}.ms-stages{gap:16px}.cp-art{height:190px}}
@media(max-width:600px){.cp-products{gap:6px;margin-bottom:14px}.demo-app .cp-products button{padding:8px;gap:6px;flex-direction:column;align-items:flex-start}.cp-products img{width:36px;height:36px}.cp-products button>span:last-child{display:none}.cp-products b{font-size:10px}.cp-products small{font-size:9px}.cp-workspace{display:block;height:410px}.cp-rail{display:none}.cp-art-space{height:100%}.cp-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cp-art{height:185px}.cp-art-scroll{padding:12px}.ms-windowbar{padding:10px 12px;gap:6px;align-items:flex-start;flex-direction:column}.ms-windowbar>div{gap:8px}.ms-run-state{font-size:9px;padding-left:25px}.ms-controls{flex-wrap:wrap;gap:8px;padding:12px}.ms-process{flex-basis:100%;max-width:none}.demo-app .ms-render{flex:1}.ms-pause{flex:1}.ms-stages{gap:6px;justify-content:space-between;padding:10px 12px}.ms-stages span{font-size:0}.ms-stages span:before{content:attr(data-stage-number);font-size:10px}.ms-stages span[data-active=true]{font-size:9px}.ms-stages span[data-active=true]:before{display:none}.cp-full{max-height:60dvh}.creative-preview dialog{padding:12px}.creative-preview dialog h3{font-size:13px}.cp-art-space>.ms-panel-title{font-size:9px}.cp-art-space>.ms-panel-title>span:first-child{max-width:77%}.ms-intro h2{font-size:27px}}
@media(max-width:360px){.cp-art{height:157px}.cp-caption{gap:5px}.cp-art-scroll{padding:8px}.cp-agent{font-size:7px;left:3px;right:3px;padding:4px}.ms-stages span[data-active=true]{font-size:8px}}
@media(prefers-reduced-motion:reduce){.motion-showcase *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.cp-rail-note{flex-shrink:0}.cp-rail>.ms-panel-title{flex-shrink:0}
.cp-workspace{grid-template-rows:minmax(0,1fr)}.cp-team{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.cp-team .ms-worker{padding-block:12px}.cp-review{padding:16px}

.cp-card .cp-agent[data-role=review]{background:#806094}.cp-card .cp-agent[data-role=text]{background:#396c97}.cp-card .cp-agent[data-role=image]{background:#d66b3b}
