/* Only the explicit dots-to-result comparison uses these stages. */
.cr-motion-stage{position:relative;display:grid;place-items:center;width:100%;height:100%;min-height:0;overflow:hidden;background:#fff}
.cr-motion-stage :is(.cr-motion-fallback,.cr-motion-dots,.cr-motion-canvas){grid-area:1/1;max-width:100%;max-height:100%}
.cr-motion-fallback{width:100%;height:100%;display:grid;place-items:center}
.cr-motion-fallback :is(img,svg){display:block;width:100%;height:100%;object-fit:contain}
.cr-motion-fallback .cr-motion-end-poster{display:none}
.cr-motion-stage[data-motion-state="fallback"] .cr-motion-start-poster{display:none}
.cr-motion-stage[data-motion-state="fallback"] .cr-motion-end-poster{display:block}
.cr-motion-dots{display:none;width:100%;height:100%}
.cr-motion-dots circle[fill="#0030fd"]{fill:var(--nx-material-accent,var(--nx-light-blue-0030fd,#0030fd))}
@media(forced-colors:active){.cr-motion-dots circle[fill="#0030fd"]{fill:CanvasText}}
.cr-motion-canvas{display:block;visibility:hidden}
.cr-motion-stage[data-motion-state="loading"] .cr-motion-fallback,.cr-motion-stage[data-motion-state="ready"] :is(.cr-motion-fallback,.cr-motion-dots){display:none}
.cr-motion-stage[data-motion-state="loading"] .cr-motion-dots{display:block}
.cr-motion-stage[data-motion-state="ready"] .cr-motion-canvas{visibility:visible}
.cr-motion-root .cr-card-list{grid-template-rows:none;align-items:start}
.cr-motion-root .cr-card{display:block;grid-row:auto}
.cr-motion-root .cr-card-link{display:flex;grid-row:auto;grid-template-rows:none;gap:0}
.cr-motion-root .cr-card-title,.cr-motion-root .cr-description{margin-bottom:24px}
.cr-motion-root .cr-card-visual{height:240px;flex:none;padding:0 10px;margin-bottom:24px;background:#fff;border:1px solid #e1e5ed;opacity:1;visibility:visible}
.cr-motion-root .cr-visual-art{position:absolute;left:10px;right:10px;top:0;width:auto;height:100%;transform:none}
.cr-motion-root :is(.cr-visual-art,.cr-preview-caption){opacity:1}
.cr-motion-root .cr-visual-art svg{max-height:none}
/* Keep the recognizable preview visible while its local renderer loads. */
.cr-motion-root .cr-motion-stage[data-motion-state="loading"] .cr-motion-fallback{display:grid}
.cr-motion-root .cr-motion-stage[data-motion-state="loading"] .cr-motion-dots{display:none}
.cr-motion-dialog .cr-motion-stage[data-motion-state="loading"] .cr-motion-fallback{display:grid}
.cr-motion-dialog .cr-motion-stage[data-motion-state="loading"] .cr-motion-dots{display:none}
.cr-motion-root .cr-motion-active :is(.cr-visual-art,.cr-preview-caption){opacity:1}
.cr-motion-root .cr-motion-active .cr-preview-rest{opacity:0}
.cr-motion-dialog.cr-service-tiles{width:min(1040px,calc(100% - 32px));max-width:1040px;height:min(760px,calc(100dvh - 32px));scrollbar-gutter:stable;overflow-x:hidden}
.cr-motion-dialog .cr-detail-visual{background:#fff;max-width:none!important;padding:0}
.cr-motion-dialog .cr-detail-layout{align-items:start}
.cr-motion-dialog .cr-motion-stage{height:340px}
.cr-motion-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:16px;border-top:1px solid var(--cr-line);margin-top:16px}
.cr-motion-controls p,.cr-detail-visual>[data-motion-status]{font-size:11px;line-height:1.6;color:var(--cr-muted)}
.cr-motion-controls button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:4px 0;border:0;background:transparent;color:var(--cr-blue);font-size:12px;cursor:pointer;flex-shrink:0}
.cr-motion-controls button:focus-visible{outline:2px solid var(--cr-blue);outline-offset:4px}
.cr-motion-controls button span{font-size:23px}
.cr-detail-visual:has(.cr-motion-stage){background:#fff}
.cr-detail-visual>.cr-motion-stage{height:340px}
.cr-motion-dialog .cr-detail-uses{margin-top:24px;padding-left:20px;font-size:15px;line-height:1.7;color:var(--cr-muted);max-width:52ch}
.cr-motion-dialog .cr-detail-uses li+li{margin-top:10px}
.cr-motion-root .cr-detail-key,.cr-motion-dialog .cr-detail-key{color:inherit;font-weight:650}
@media(min-width:64rem){.cr-motion-dialog.cr-service-tiles .cr-detail-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr);gap:32px}.cr-motion-dialog .cr-motion-stage{height:440px}}
@media(max-width:420px){.cr-motion-dialog .cr-motion-stage,.cr-detail-visual>.cr-motion-stage{height:280px}.cr-motion-controls{align-items:flex-start;gap:12px}.cr-motion-controls p{max-width:20ch}}
@media(prefers-reduced-motion:reduce){.cr-motion-root *,.cr-motion-dialog *{animation:none!important;transition:none!important}.cr-motion-fallback .cr-motion-start-poster{display:none}.cr-motion-fallback .cr-motion-end-poster{display:block}}

/* Static AI loading glyphs follow the site's explicit theme, like the canvas.
   These two fallback assets are monochrome; coloured brand artwork is unchanged. */
@media (forced-colors: none) {
 :root[data-nexin-theme="dark"] .cr-ai-ready image:is([href$="/chatgpt.svg"],[href$="/gemini.svg"],[href$="/grok.svg"]) {filter:invert(1)}
}
