/* Sustained presentation motion. No random or continuously changing data. */
.cockpit-atmosphere,.ambient-spectrum,.core-satellite,.persistent-trend-flow{display:none;pointer-events:none}
.cockpit-motion-on .cockpit-atmosphere{display:block;position:fixed;inset:43px 0 0 174px;overflow:hidden;z-index:0;isolation:isolate;pointer-events:none}
.cockpit-motion-on .main>.topbar,.cockpit-motion-on .main>.content{position:relative;z-index:1}
.ambient-aurora{position:absolute;width:65%;height:50%;border-radius:50%;opacity:.65;will-change:transform;pointer-events:none}
.aurora-a{left:0;top:-18%;background:radial-gradient(ellipse,#167abe3b,transparent 68%);animation:ambient-drift-a 18s ease-in-out infinite alternate}
.aurora-b{right:-20%;top:20%;background:radial-gradient(ellipse,#24cfc421,transparent 65%);animation:ambient-drift-b 24s ease-in-out infinite alternate}
.ambient-horizon{position:absolute;inset:0;background:linear-gradient(transparent 0%,#36c8e40b 48%,#53d8fc26 50%,transparent 52%);height:150px;animation:ambient-horizon 16s linear infinite;opacity:.5}
.ambient-particle{position:absolute;left:var(--px);top:var(--py);width:3px;height:3px;border-radius:50%;background:#69dafa;box-shadow:0 0 9px #4fcdfa88;animation:ambient-particle var(--flight) linear var(--phase) infinite;opacity:0}
.ambient-particle:nth-child(3n){width:2px;height:2px;background:#8e9cf0}.ambient-particle:nth-child(5n){width:2px;height:10px;border-radius:2px;background:linear-gradient(transparent,#6adeef);box-shadow:none}
.cockpit-motion-on .cockpit-title{padding-bottom:16px}
.cockpit-motion-on .ambient-spectrum{display:flex;position:absolute;bottom:0;left:50%;transform:translateX(-50%);gap:4px;align-items:center;height:15px;opacity:.65}
.ambient-spectrum i{width:2px;height:var(--level);border-radius:2px;background:linear-gradient(#b1f7ff,#329cbf);box-shadow:0 0 6px #41cce942;animation:ambient-spectrum 2.8s ease-in-out var(--phase) infinite;transform-origin:center}
.cockpit-motion-on .core-network{opacity:1}
.cockpit-motion-on .core-network .net-track{stroke:#56abc8;opacity:.4}
.cockpit-motion-on .core-network .net-flow{stroke:#9af3ff;stroke-width:1.5;stroke-dasharray:14 110;opacity:.9;animation:ambient-network 4.8s linear infinite}
.cockpit-motion-on .core-network .net-flow:nth-child(2n){animation-duration:6.4s;animation-delay:-2s;animation-direction:reverse}
.cockpit-motion-on .core-network .net-halo{stroke:#6edcf4;animation:ambient-halo 3.8s ease-out infinite;transform-box:fill-box;transform-origin:center}
.cockpit-motion-on .core-network .net-halo:nth-of-type(4n+1){animation-delay:-1.9s}
.cockpit-motion-on .core-orbit:before{border-top-color:#88ecffc4;border-bottom-color:#51d8f649;animation-duration:10s}
.cockpit-motion-on .core-orbit:after{border-color:#4dd5f54d;animation-duration:24s}
.cockpit-motion-on .core-satellite{display:block;position:absolute;inset:-17px;border-radius:50%;animation:ambient-orbit 8s linear infinite}
.cockpit-motion-on .core-satellite i{position:absolute;top:-3px;left:50%;width:7px;height:7px;border-radius:50%;background:#d8fbff;box-shadow:0 0 6px #b9faff,0 0 18px #45d3ff,0 0 32px #45d3ff88}
.cockpit-motion-on .satellite-b{inset:-36px;animation-duration:13s;animation-direction:reverse;animation-delay:-4s}
.cockpit-motion-on .satellite-b i{width:5px;height:5px;background:#8cfff3;box-shadow:0 0 8px #3ce0d7,0 0 18px #3ce0d777}
/* A moving edge highlight is visible even when no pointer is over a card. */
.president-cockpit.cockpit-motion-on .panel:before{width:25%;height:2px;background:linear-gradient(90deg,transparent,#53cdec88,#b8f3ff,#53cdec55,transparent);box-shadow:0 0 10px #4ccdf566;animation:ambient-edge 7s linear var(--loop-phase,0s) infinite}
.president-cockpit.cockpit-motion-on .cockpit-core:before{width:35%;height:2px;animation-duration:5s;background:linear-gradient(90deg,transparent,#a7f5ff,transparent)}
.cockpit-motion-on .cockpit-kpis .metric:after{background:linear-gradient(110deg,transparent 30%,#83dcff16 46%,#b1efff25 50%,transparent 64%);animation:ambient-card-sweep 9s ease-in-out var(--loop-phase,0s) infinite}
.cockpit-motion-on :is(.hbar-track,.cost-track,.dept-track)>span{position:relative;overflow:hidden}
.cockpit-motion-on :is(.hbar-track,.cost-track,.dept-track)>span:after{content:"";position:absolute;inset:0;width:50%;background:linear-gradient(90deg,transparent,#c4f9ff99,transparent);animation:ambient-bar-flow 4.8s linear var(--loop-phase,0s) infinite}
.cockpit-motion-on .hbar-row:nth-child(2n) .hbar-track>span:after{animation-delay:-1.6s}.cockpit-motion-on .hbar-row:nth-child(3n) .hbar-track>span:after{animation-delay:-3.2s}
.cockpit-motion-on .dept-track:first-child>span:after{opacity:.35;animation-duration:7s}
.cockpit-motion-on .persistent-trend-flow{display:block;fill:none;stroke:#c6fbff;stroke-linecap:round;pointer-events:none;animation:ambient-trend 6s linear infinite}
.cockpit-motion-on .flow-trail{stroke-width:3;stroke-dasharray:3 97;filter:drop-shadow(0 0 4px #3addff);opacity:.7}
.cockpit-motion-on .flow-point{stroke-width:5;stroke-dasharray:.15 99.85;filter:drop-shadow(0 0 6px #7ceeff)}
.cockpit-motion-on .cockpit-title-rule i:after{animation-duration:3.5s}
.cockpit-motion-on .cockpit-signal-strip:after{height:2px;animation-duration:7s;background:linear-gradient(90deg,transparent,#67e4f7aa,transparent)}
.cockpit-motion-on .topic-card .eyebrow{position:relative;padding-left:10px}
.cockpit-motion-on .topic-card .eyebrow:before{content:"";position:absolute;left:0;top:3px;width:3px;height:3px;border-radius:50%;background:#75e8ff;box-shadow:0 0 5px #61dfff;animation:ambient-marker 3s ease-in-out var(--loop-phase,0s) infinite}
/* Keep long-lived effects suspended for offscreen panels and inactive tabs. */
.cockpit-motion-on :is(.panel,.metric,.topic-card):not(.ambient-in-view):before,.cockpit-motion-on :is(.panel,.metric,.topic-card):not(.ambient-in-view):after,
.cockpit-motion-on .panel:not(.ambient-in-view) :is(.persistent-trend-flow,.core-satellite,.net-flow,.net-node,.net-halo),
.cockpit-motion-on .panel:not(.ambient-in-view) .core-orbit:before,.cockpit-motion-on .panel:not(.ambient-in-view) .core-orbit:after,
.cockpit-motion-on .panel:not(.ambient-in-view) :is(.hbar-track,.cost-track,.dept-track)>span:after{animation-play-state:paused}
@keyframes ambient-drift-a{from{transform:translate(-12%,0) scale(.9)}to{transform:translate(45%,25%) scale(1.2)}}
@keyframes ambient-drift-b{from{transform:translate(0,-10%)}to{transform:translate(-50%,45%)}}
@keyframes ambient-horizon{from{transform:translateY(-180px)}to{transform:translateY(110vh)}}
@keyframes ambient-particle{0%{opacity:0;transform:translate(0,80px)}15%{opacity:.55}80%{opacity:.4}100%{opacity:0;transform:translate(var(--drift),-220px)}}
@keyframes ambient-spectrum{0%,100%{transform:scaleY(.3);opacity:.4}45%{transform:scaleY(1);opacity:1}70%{transform:scaleY(.6);opacity:.65}}
@keyframes ambient-network{from{stroke-dashoffset:124}to{stroke-dashoffset:0}}
@keyframes ambient-halo{0%{transform:scale(.6);opacity:.8}85%,100%{transform:scale(1.9);opacity:0}}
@keyframes ambient-orbit{from{transform:rotate(0)}to{transform:rotate(360deg)}}
@keyframes ambient-edge{from{transform:translateX(-110%)}to{transform:translateX(510%)}}
@keyframes ambient-card-sweep{0%,35%{transform:translateX(-130%)}80%,100%{transform:translateX(130%)}}
@keyframes ambient-bar-flow{from{transform:translateX(-110%)}to{transform:translateX(310%)}}
@keyframes ambient-trend{0%{stroke-dashoffset:100;opacity:0}5%{opacity:1}93%{opacity:1}100%{stroke-dashoffset:0;opacity:0}}
@keyframes ambient-marker{0%,100%{opacity:.35;box-shadow:0 0 3px #61dfff}50%{opacity:1;box-shadow:0 0 8px #61dfff}}
@media(min-width:1700px){.cockpit-motion-on .cockpit-atmosphere{left:184px}}
@media(max-width:1350px){.cockpit-motion-on .cockpit-atmosphere{left:158px}}
:fullscreen .cockpit-motion-on .cockpit-atmosphere{inset:0}
@media(prefers-reduced-motion:reduce){.cockpit-atmosphere,.ambient-spectrum,.core-satellite,.persistent-trend-flow{display:none!important}.president-cockpit *,.president-cockpit *:before,.president-cockpit *:after{animation:none!important;transition:none!important}}
@media print{.cockpit-atmosphere,.ambient-spectrum,.core-satellite,.persistent-trend-flow{display:none!important}.president-cockpit *,.president-cockpit *:before,.president-cockpit *:after{animation:none!important;transition:none!important}}
