.xp-foresight-visual{background:#07182d;border:1px solid #294861;padding:18px;color:#fff;box-shadow:0 24px 58px #10263a26}
.xp-visual-header{display:flex;align-items:center;justify-content:space-between;padding:3px 2px 15px;color:#a9bdcd;font-size:12px;letter-spacing:.11em}
.xp-visual-header b{color:#ff9a51;font-size:12px}
.xp-foresight-visual img{display:block;width:100%;height:auto;border:1px solid #31516b}
.xp-signal-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin-top:12px}
.xp-signal-strip span{padding:9px 5px;text-align:center;border:1px solid #31516b;color:#c7d4de;font-size:10px;letter-spacing:.07em}

/* Foresight signal-flow motion */
.xp-visual-header button{border:0;border-bottom:1px solid var(--orange);padding:3px 0;background:transparent;color:#ff9a51;font:inherit;font-size:12px;font-weight:500;letter-spacing:.11em}
.xp-foresight-motion{position:relative;aspect-ratio:16/9;overflow:hidden;border:1px solid #31516b;background:#06172a}
.xp-foresight-motion>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border:0}
.xp-foresight-motion>svg{position:absolute;inset:0;width:100%;height:100%}
.xp-fm-path{fill:none;stroke-width:2.8;stroke-linecap:round;stroke-dasharray:2 15;opacity:.55;animation:xpForesightStream 2.3s linear infinite}
.xp-fm-path.blue{stroke:#55b5ff}
.xp-fm-path.orange{stroke:var(--orange);animation-duration:2.8s}
.xp-fm-particle{filter:url(#xpForesightGlow)}
.xp-fm-orb{position:absolute;left:50%;top:50.5%;width:29%;aspect-ratio:1;transform:translate(-50%,-50%);border:1px solid #c4e8ff55;border-radius:50%;box-shadow:0 0 22px #5ab2ff2e,inset 0 0 30px #5ab2ff20;animation:xpForesightBreathe 3.8s ease-in-out infinite}
.xp-fm-orb::before{content:"";position:absolute;inset:19%;border-radius:50%;background:radial-gradient(circle,#97d7ff29,#459be50d 52%,transparent 72%);animation:xpForesightCore 2.7s ease-in-out infinite}
.xp-fm-status{position:absolute;z-index:3;display:flex;align-items:center;gap:8px;white-space:nowrap;padding:8px 10px;border:1px solid #98cff13b;background:#031324c9;color:#c7dfef;font-size:11px;line-height:1;letter-spacing:.13em;text-transform:uppercase;backdrop-filter:blur(8px);transition:left .7s cubic-bezier(.22,.8,.28,1),top .7s cubic-bezier(.22,.8,.28,1),transform .7s cubic-bezier(.22,.8,.28,1),border-color .35s ease}
.xp-fm-status>i{width:7px;height:7px;border-radius:50%;background:var(--orange);box-shadow:0 0 10px var(--orange);transition:background .35s ease,box-shadow .35s ease}
.xp-foresight-motion[data-stage="signals"] .xp-fm-status{left:5%;top:31%;transform:translateY(-50%)}
.xp-foresight-motion[data-stage="context"] .xp-fm-status{left:50%;top:26%;transform:translate(-50%,-50%);border-color:#6cbef575}
.xp-foresight-motion[data-stage="context"] .xp-fm-status>i{background:#55b5ff;box-shadow:0 0 10px #55b5ff}
.xp-foresight-motion[data-stage="action"] .xp-fm-status{left:82%;top:24%;transform:translate(-50%,-50%)}
.xp-fm-node{position:absolute;width:3.8%;aspect-ratio:1;transform:translate(-50%,-50%);border:1px solid #b4e1ff7a;border-radius:50%;box-shadow:0 0 9px #55b5ffb3;animation:xpForesightNode 4.8s ease-in-out infinite}
.xp-fm-node::after{content:"";position:absolute;inset:31%;border-radius:50%;background:#55b5ff;box-shadow:0 0 15px #55b5ff}
.xp-fm-node.n1{left:91%;top:35.5%;animation-delay:1.4s}
.xp-fm-node.n2{left:84.5%;top:48.5%;animation-delay:2.15s}
.xp-fm-node.n2::after{background:var(--orange);box-shadow:0 0 15px var(--orange)}
.xp-fm-node.n3{left:91.5%;top:61.5%;animation-delay:2.9s}
.xp-foresight-motion[data-paused="true"] *{animation-play-state:paused!important}
@keyframes xpForesightStream{to{stroke-dashoffset:-68}
}
@keyframes xpForesightBreathe{0%,100%{transform:translate(-50%,-50%) scale(.985);opacity:.66}
50%{transform:translate(-50%,-50%) scale(1.035);opacity:1}
}
@keyframes xpForesightCore{0%,100%{transform:scale(.84);opacity:.38}
50%{transform:scale(1.15);opacity:.88}
}
@keyframes xpForesightNode{0%,56%,100%{transform:translate(-50%,-50%) scale(.9);opacity:.5}
68%{transform:translate(-50%,-50%) scale(1.14);opacity:1}
}
@media(max-width:620px){.xp-visual-header{gap:12px}
.xp-visual-header span,.xp-visual-header button{font-size:10px}
.xp-fm-status{padding:6px 8px;font-size:9px}
.xp-foresight-motion[data-stage="signals"] .xp-fm-status{left:4%;top:30%}
.xp-foresight-motion[data-stage="context"] .xp-fm-status{left:50%;top:23%}
.xp-foresight-motion[data-stage="action"] .xp-fm-status{left:76%;top:20%}
}
@media(prefers-reduced-motion:reduce){.xp-fm-path,.xp-fm-orb,.xp-fm-orb::before,.xp-fm-node{animation:none}
.xp-fm-particle{display:none}
.xp-foresight-motion[data-user-motion="true"] .xp-fm-path{animation-name:xpForesightStream}
.xp-foresight-motion[data-user-motion="true"] .xp-fm-orb{animation-name:xpForesightBreathe}
.xp-foresight-motion[data-user-motion="true"] .xp-fm-orb::before{animation-name:xpForesightCore}
.xp-foresight-motion[data-user-motion="true"] .xp-fm-node{animation-name:xpForesightNode}
.xp-foresight-motion[data-user-motion="true"] .xp-fm-particle{display:block}
}

/* Fit the shared corporate component to the Foresight product-page frame. */
.thesis .xp-foresight-visual{border-radius:18px;max-width:100%;margin-top:36px;overflow:hidden}
.thesis .xp-visual-header{gap:16px;line-height:1.5}.thesis .xp-visual-header button{cursor:pointer;min-height:44px;flex-shrink:0}.thesis .xp-visual-header button:focus-visible{outline:2px solid #65c9ff;outline-offset:4px}
@media(max-width:620px){.thesis .xp-foresight-visual{padding:12px;border-radius:12px}.thesis .xp-visual-header{flex-wrap:wrap;padding-bottom:8px;gap:0 10px}.thesis .xp-signal-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.thesis .xp-signal-strip span{font-size:9px;padding:8px 4px}.thesis .xp-fm-status{font-size:7px;letter-spacing:.06em;padding:5px 6px;gap:5px}.thesis .xp-fm-status>i{width:5px;height:5px}}
