/* One local colour carrier. No body/html/header variables or media filters. */
@property --enterprise-tone-bg{syntax:"<color>";inherits:true;initial-value:#ffffff}
.enterprise-scene-shell[data-enterprise-tone]{
 --enterprise-tone-bg:var(--yc-light-canvas);
 --enterprise-tone-fg:var(--yc-light-text);
 --enterprise-tone-title:#000;
 --enterprise-tone-muted:var(--yc-light-secondary);
 --enterprise-tone-accent:var(--yc-light-primary);
 --enterprise-tone-line:var(--yc-light-divider);
 --enterprise-tone-node:#e2e5e9;
 --enterprise-tone-button-bg:var(--yc-light-surface);
 --enterprise-tone-button-fg:var(--yc-light-primary);
 --enterprise-tone-button-border:var(--yc-light-primary);
 background:var(--enterprise-tone-bg);
 transition:--enterprise-tone-bg var(--enterprise-tone-duration,450ms) var(--enterprise-tone-easing,cubic-bezier(.2,.65,.3,1));
}
.enterprise-scene-shell[data-enterprise-tone="deep"]{--enterprise-tone-bg:var(--enterprise-tone-deep,#0e1230)}
.enterprise-scene-shell[data-tone-initializing]{transition:none}
.enterprise-scene-shell[data-enterprise-tone] .enterprise-scene-stage,
.enterprise-scene-shell[data-enterprise-tone] .enterprise-section{background:var(--enterprise-tone-bg);color:var(--enterprise-tone-fg)}
.enterprise-scene-shell[data-enterprise-tone] .enterprise-trigger,
.enterprise-scene-shell[data-enterprise-tone] .enterprise-node{color:var(--enterprise-tone-muted);transition:none}
.enterprise-scene-shell[data-enterprise-tone] .enterprise-trigger>span:last-child{color:var(--enterprise-tone-title)}
.enterprise-scene-shell[data-enterprise-tone] .enterprise-item.is-active .enterprise-node{color:var(--enterprise-tone-accent)}
.enterprise-scene-shell[data-enterprise-tone] .enterprise-copy p,
.enterprise-scene-shell[data-enterprise-tone] .enterprise-copy dt{color:var(--enterprise-tone-muted)}
.enterprise-scene-shell[data-enterprise-tone] .enterprise-copy dd{color:var(--enterprise-tone-fg)}
.enterprise-scene-shell[data-enterprise-tone] .enterprise-item:not(:last-child)::before{background:var(--enterprise-tone-line)}
.enterprise-scene-shell[data-enterprise-tone] .node-track{stroke:var(--enterprise-tone-node)}
.enterprise-scene-shell[data-enterprise-tone] .node-ring{stroke:var(--enterprise-tone-accent);stroke-width:3px}
.enterprise-scene-shell[data-enterprise-tone] .enterprise-actions .text-link{color:var(--enterprise-tone-accent)}
.enterprise-scene-shell[data-enterprise-tone] .enterprise-pictures,
.enterprise-scene-shell[data-enterprise-tone] .enterprise-mobile-picture,
.enterprise-scene-shell[data-enterprise-tone] .world-map-layers{background:var(--enterprise-tone-bg)}
.enterprise-scene-shell[data-enterprise-tone] .world-map-layers>span{color:var(--enterprise-tone-fg)}
.enterprise-scene-shell[data-enterprise-tone] .enterprise-actions .btn{
 height:36px;min-height:36px;min-width:0;padding:0 18px;
 color:var(--enterprise-tone-button-fg);background:var(--enterprise-tone-button-bg);border-color:var(--enterprise-tone-button-border);
 transition:none;
}
.enterprise-scene-shell[data-enterprise-tone] .enterprise-actions .btn::after{background:var(--enterprise-tone-button-bg);transition:none}
.enterprise-scene-shell[data-enterprise-tone] .enterprise-actions .btn:hover,
.enterprise-scene-shell[data-enterprise-tone] .enterprise-actions .btn:focus-visible,
.enterprise-scene-shell[data-enterprise-tone] .enterprise-actions .btn:hover::after,
.enterprise-scene-shell[data-enterprise-tone] .enterprise-actions .btn:focus-visible::after{
 color:#fff;background:var(--yc-light-primary);border-color:var(--yc-light-primary);
}
/* Entry colour takes precedence over the ordinary module's small translation reveal. */
#app .enterprise-scene-shell[data-enterprise-tone] .enterprise-layout.scroll-reveal{opacity:1;transform:none;transition:none}
/* If the scene controller fails to load, use a complete light, normal-flow introduction. */
#app>.enterprise-section .enterprise-layout{grid-template-columns:1fr}
#app>.enterprise-section .enterprise-pictures{display:none}
#app>.enterprise-section .enterprise-mobile-picture{display:block;position:relative;height:auto;aspect-ratio:1.5;margin:12px 0 35px}
@media(prefers-reduced-motion:reduce){
 .enterprise-scene-shell[data-enterprise-tone]{--enterprise-tone-bg:var(--yc-light-canvas);transition:none}
}
.enterprise-scene-shell[data-enterprise-tone] .enterprise-actions .btn::before{display:none}
/* Keep small text readable at the polarity crossover, in the same style sample
   as the animated colour. The controller supplies a luminance fallback. */
@supports(color:contrast-color(white)){
 .enterprise-scene-shell[data-tone-moving]{
  --enterprise-tone-fg:contrast-color(var(--enterprise-tone-bg))!important;
  --enterprise-tone-muted:contrast-color(var(--enterprise-tone-bg))!important;
  --enterprise-tone-accent:contrast-color(var(--enterprise-tone-bg))!important;
  --enterprise-tone-button-bg:var(--yc-light-surface)!important;
  --enterprise-tone-button-fg:var(--yc-light-primary)!important;
  --enterprise-tone-button-border:var(--yc-light-primary)!important;
 }
}
