/* RC5: themed ribbon bookmarks, ambient star, readable continuous glass,
   restore the three-slot carousel contract overridden by R3 theme CSS. */
html[data-theme][data-vega-accent] .vega211-r7-backdrop .vega211-r7-star-wave{
 animation:vega005-rc5-wave 9s ease-in-out infinite!important;
 animation-delay:calc(var(--r7-phase) * -.19s)!important;
 animation-play-state:running!important;transform-box:view-box!important;transform-origin:500px 500px!important;
}
@keyframes vega005-rc5-wave{0%,100%{transform:scale(.96)}50%{transform:scale(calc(var(--r7-spread) + .12))}}
/* Gentle ambient motion remains available on Windows with reduced motion;
   explicit pause is available in the palette dialog and persisted locally. */
@media(prefers-reduced-motion:reduce){
 html[data-theme][data-vega-accent] .vega211-r7-backdrop .vega211-r7-star-wave{animation:vega005-rc5-gentle 15s ease-in-out infinite!important;animation-delay:calc(var(--r7-phase) * -.22s)!important;transform:scale(1)!important;}
}
@keyframes vega005-rc5-gentle{0%,100%{transform:scale(.98)}50%{transform:scale(1.07)}}
/* An important transform from RC4's reduced-motion rule would suppress CSS
   keyframes. Revert that rule by using an animated individual scale property
   on this group instead when reduced motion is requested. */
@media(prefers-reduced-motion:reduce){
 html[data-theme][data-vega-accent] .vega211-r7-backdrop .vega211-r7-star-wave{animation-name:vega005-rc5-gentle-scale!important;transform:none!important;}
}
@keyframes vega005-rc5-gentle-scale{0%,100%{scale:.98}50%{scale:1.07}}
html[data-vega-star-motion="off"][data-theme][data-vega-accent] .vega211-r7-backdrop .vega211-r7-star-wave{animation:none!important;transform:none!important;scale:1!important;}
.vega005-motion-toggle{display:block;width:100%;margin:10px 0 0;padding:9px 12px;border-radius:8px;border:1px solid currentColor;background:transparent;color:inherit;font:inherit;cursor:pointer;text-align:left;}
/* The main sheet is not #app: a filter on #app would trap the fixed header. */
html[data-theme][data-vega-accent] #app>#main{
 position:relative!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;
 -webkit-backdrop-filter:blur(18px) saturate(1.12)!important;backdrop-filter:blur(18px) saturate(1.12)!important;
 background:linear-gradient(135deg,rgba(15,22,34,.83),rgba(15,20,29,.74) 55%,rgba(25,23,35,.82))!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
}
html[data-theme="light"][data-vega-accent] #app>#main{
 background:linear-gradient(135deg,rgba(250,247,239,.86),rgba(242,236,224,.78) 55%,rgba(255,251,244,.84))!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.6)!important;
}
/* One full-height glass layer. Keep the original inner panels and their contrast. */
@media(prefers-reduced-transparency:reduce){html[data-theme="dark"][data-vega-accent] #app>#main{background:#141b27!important;backdrop-filter:none!important}html[data-theme="light"][data-vega-accent] #app>#main{background:#f7f1e6!important;backdrop-filter:none!important}}
/* Fabric ribbon silhouette: pointed swallowtail on the free left end;
   theme accent blended into each network's identifiable base colour. */
html[data-theme][data-vega-accent] .site-sticky-shell .vega005-social-tabs>a.top-icon-link{
 --ribbon-accent:var(--vega211-accent,#498cc8);
 position:relative!important;isolation:isolate;border:0!important;border-radius:0!important;
 background:transparent!important;box-shadow:none!important;overflow:visible!important;
 filter:drop-shadow(-2px 4px 3px rgba(0,0,0,.32))!important;
 text-shadow:0 1px 2px #0009!important;color:white!important;
}
html[data-theme][data-vega-accent] .site-sticky-shell .vega005-social-tabs>a.top-icon-link::before{
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 clip-path:polygon(0 0,100% 0,100% 100%,0 100%,15% 50%);
 background:linear-gradient(180deg,#ffffff35,transparent 24%,#00000016 79%,#00000047),linear-gradient(100deg,color-mix(in srgb,var(--tab-dark) 55%,var(--ribbon-accent)),color-mix(in srgb,var(--tab-light) 60%,var(--ribbon-accent)) 56%,color-mix(in srgb,var(--tab-dark) 70%,var(--ribbon-accent)));
}
html[data-theme][data-vega-accent] .site-sticky-shell .vega005-social-tabs>a.top-icon-link::after{
 content:"";position:absolute;right:0;top:0;bottom:0;width:5px;z-index:-1;pointer-events:none;background:linear-gradient(90deg,transparent,#0005);
}
html[data-theme][data-vega-accent] .site-sticky-shell .vega005-social-tabs>a.top-icon-link:hover{filter:drop-shadow(-3px 5px 4px #0005) brightness(1.12)!important;}
@media(min-width:761px){
 html[data-theme][data-vega-accent] .site-sticky-shell .vega005-social-tabs{gap:9px!important;}
 html[data-theme][data-vega-accent] .site-sticky-shell .vega005-social-tabs>a.top-icon-link{padding:0 3px 0 10px!important;gap:3px!important;height:46px!important;}
}
@media(max-width:760px){
 html[data-theme][data-vega-accent] .site-sticky-shell .vega005-social-tabs>a.top-icon-link{padding:0 7px 0 13px!important;}
}
/* All three slides share a common stage rather than entering document flow.
   Keep neighbour previews inside the clipped viewport; buttons remain above it. */
html[data-theme][data-vega-accent] #main .hero-three-stack .hero-stage{position:relative!important;display:block!important;height:390px!important;min-height:390px!important;}
html[data-theme][data-vega-accent] #main .hero-three-stack .hero-slide{position:absolute!important;top:0!important;left:50%!important;height:100%!important;min-height:0!important;max-height:none!important;box-sizing:border-box!important;margin:0!important;}
html[data-theme][data-vega-accent] #main .hero-three-stack .hero-slide[hidden]{display:none!important;}
html[data-theme][data-vega-accent] #main .hero-three-stack .hero-slide:not(.active){pointer-events:none!important;}
html[data-theme][data-vega-accent] #main .hero-three-stack .hero-team-tabs{position:relative!important;margin-top:8px!important;margin-bottom:0!important;}
html[data-theme][data-vega-accent] #main .hero-three-stack .hero-nav-arrow{z-index:12!important;}
@media(max-width:900px){html[data-theme][data-vega-accent] #main .hero-three-stack .hero-stage{height:420px!important;min-height:420px!important;}}
@media(max-width:680px){html[data-theme][data-vega-accent] #main .hero-three-stack .hero-stage{height:540px!important;min-height:540px!important;}html[data-theme][data-vega-accent] #main .hero-three-stack .hero-slide{grid-template-columns:1fr!important;grid-template-rows:minmax(0,1fr) auto!important;}html[data-theme][data-vega-accent] #main .hero-three-stack .hero-copy{padding:18px 24px 8px!important;min-height:0!important;}}
/* Close the transparent seam before the footer; keep the content flow intact. */
html[data-theme][data-vega-accent] #app>#main{display:flow-root!important;margin-bottom:0!important;padding-bottom:16px!important;}
html[data-theme="dark"][data-vega-accent] #app>#main{background:linear-gradient(135deg,rgba(15,22,34,.76),rgba(15,20,29,.66) 55%,rgba(25,23,35,.75))!important;}
html[data-theme="dark"][data-vega-accent] #main .hero-three-stack .hero-team-tab.active{background:linear-gradient(120deg,rgba(var(--vega211-rgb),.28),rgba(var(--vega211-rgb),.10))!important;color:#fff!important;}
html[data-theme="dark"][data-vega-accent] #main .hero-three-stack .hero-team-tab.active :is(strong,small){color:#fff!important;text-shadow:none!important;}
@media(prefers-reduced-transparency:reduce){html[data-theme="dark"][data-vega-accent] #app>#main{background:#141b27!important;}}
