/* Compatibility register: E2-01 canvas; E2-02 heroes; E2-03 actions/type;
   E2-04 cards/CTA/footer. Retire these aliases when original UX wrappers acquire
   shared sg-* classes after QA. !important is restricted to existing legacy
   declarations with !important; original child CSS is preserved byte-for-byte.
   No selectors target diagram descendants, geometry, ring colours or labels. */
.sg-root,.sg-root #wrapper,.sg-root #main,.sg-root .page-wrapper{background:var(--sg-canvas)!important;color:var(--sg-ink)}
.sg-root .header-inner{background:#fff!important;border:1px solid var(--sg-border)!important;box-shadow:0 8px 28px rgba(11,31,65,.07)!important}
.sg-root .header-nav>li>a{font-family:Manrope,system-ui,sans-serif;font-size:14px!important;line-height:1.4!important;min-height:44px}
.sg-root #logo img{background:#fff;border-radius:12px}
.sg-root :is(.sge-hero-banner,.sge-fashion-hero){
 background:var(--sg-field)!important;border-radius:0!important;box-shadow:none!important;
 border:1px solid rgba(255,255,255,.12)!important;overflow:visible!important;
}
.sg-root .sge-hero-banner::before{
 content:'';position:absolute;right:2%;top:8%;width:min(42vw,560px);height:84%;
 background:url(assets/fire-watermark.svg) center/contain no-repeat;pointer-events:none;z-index:0;
}
.sg-root .sge-hero-banner .sge-hero-inner{box-sizing:border-box;width:100%!important;padding:64px 48px!important}
.sg-root .sge-hero-banner .sge-hero-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:40px!important;min-width:0}
.sg-root .sge-hero-banner .sge-hero-layout:not(.has-right){grid-template-columns:minmax(0,1fr)!important}
.sg-root .sge-hero-banner .sge-hero-copy{min-width:0!important;width:100%!important;max-width:680px!important}
.sg-root .sge-hero-banner .sge-hero-title{font-family:Manrope,system-ui,sans-serif!important;font-size:clamp(48px,4.15vw,60px)!important;line-height:1.08!important;letter-spacing:-.035em!important;font-weight:800!important;max-width:100%!important;overflow-wrap:break-word}
.sg-root .sge-hero-banner .sge-hero-title .gradient{background:linear-gradient(90deg,#8fd7f4,#35b5ea)!important;background-clip:text!important;-webkit-background-clip:text!important}
.sg-root .sge-hero-banner .sge-hero-text{font-size:18px!important;line-height:1.6!important;color:#d7e1f0!important;max-width:100%!important}
.sg-root .sge-hero-banner .sge-hero-pill{background:rgba(53,181,234,.14)!important;color:#d6f3ff!important;font-size:12px!important;line-height:1.25!important;border:1px solid rgba(53,181,234,.45)!important;box-shadow:none!important;white-space:normal!important;gap:10px}
.sg-root .sge-hero-banner .sge-hero-pill::before{content:'';display:block;flex:0 0 30px;width:30px;height:30px;background:#fff url(assets/engine-fire-mark.svg) center/24px auto no-repeat;border-radius:8px}
.sg-root .sge-hero-actions .button,.sg-root :is(.sge-btn-primary,.sge-btn-secondary,.sge-button-secondary-light){min-height:44px!important;height:auto!important;padding:12px 22px!important;font-size:14px!important;line-height:1.4!important;letter-spacing:0!important;text-transform:none!important;white-space:normal!important;text-align:center}
.sg-root .sge-hero-actions .button.primary,.sg-root .sge-btn-primary{background:#35b5ea!important;color:#0b1f41!important;box-shadow:none!important}
.sg-root .sge-hero-actions .button.secondary,.sg-root .sge-btn-secondary{background:transparent!important;border:1px solid rgba(255,255,255,.65)!important;color:#fff!important;box-shadow:none!important}
.sg-root :is(.sge-section-title-lg,.sge-section-title-xl){font-family:Manrope,system-ui,sans-serif!important;font-size:clamp(30px,3.4vw,42px)!important;line-height:1.15!important;letter-spacing:-.025em!important}
.sg-root :is(.sge-card,.sge-link-card,.sge-related-card-clean,.sge-comparison-route-card,.sge-fashion-card,.sge-benchmark-card):not(.sge-hero-right *){background:#fff!important;border:1px solid #dbe3f0!important;border-radius:18px!important;box-shadow:0 6px 20px rgba(11,31,65,.04)!important}
.sg-root :is(.sge-card,.sge-fashion-card,.sge-benchmark-card):not(a):not(.is-clickable):not(.sge-hero-right *):hover{transform:none!important}
.sg-root :is(.sge-card,.sge-link-card,.sge-related-card-clean,.sge-comparison-route-card,.sge-fashion-card,.sge-benchmark-card):not(.sge-hero-right *) h3{font-size:22px!important;line-height:1.25!important;color:#1a1f35!important}
.sg-root :is(.sge-card,.sge-link-card,.sge-related-card-clean,.sge-comparison-route-card,.sge-fashion-card,.sge-benchmark-card):not(.sge-hero-right *) p{font-size:16px!important;line-height:1.6!important;color:#475569!important}
.sg-root :is(.sge-wide-panel,.sge-wide-panel-soft){background:#f8fbfe!important;border-color:#dbe3f0!important;box-shadow:none!important}
.sg-root :is(.sge-research-page-cta,.sge-research-final-cta-box,.sge-final-cta-panel,.sge-framework-cta,.sge-cta-panel-dark,.sge-about-cta-panel,.sge-fashion-cta,.sge-ai-seo-hub-cta){background:linear-gradient(105deg,#0b1f41,#1c5c85)!important;border-radius:30px!important;box-shadow:none!important;color:#fff!important}
.sg-root .sge-footer-nav-section{background:#071633!important;color:#d7e1f0!important;border-radius:0!important}
.sg-root .sge-footer-nav{background:transparent!important;box-shadow:none!important;border-radius:0!important}
.sg-root .sge-footer-nav :is(h2,h3,h4){color:#fff!important}
.sg-root .sge-footer-nav :is(p,a,li){color:#d7e1f0!important}
.sg-root .sge-footer-nav a:hover{color:#8fd7f4!important;text-decoration:underline}
.sg-root .sge-footer-nav a:focus-visible{outline-color:#8fd7f4}
@media(max-width:1024px){.sg-root .sge-hero-banner .sge-hero-inner{padding:48px 32px!important}.sg-root .sge-hero-banner .sge-hero-layout{gap:24px!important}}
@media(max-width:849px){
 .sg-root .sge-hero-banner .sge-hero-layout.has-right,.sg-root .sge-hero-banner .sge-hero-layout{grid-template-columns:minmax(0,1fr)!important;gap:32px!important}
 .sg-root .sge-hero-banner .sge-hero-title{font-size:clamp(38px,6.2vw,48px)!important}
 .sg-root .sge-hero-banner .sge-hero-inner{padding:40px 24px!important}
 .sg-root .sge-hero-banner .sge-hero-right{min-width:0;max-width:100%;display:flex!important;overflow-x:auto;overflow-y:visible}
 .sg-root .sge-hero-banner .sge-hero-text{font-size:17px!important}
 .sg-root .sge-hero-banner::before{width:80%;height:60%;top:35%}
}
@media(max-width:549px){
 .sg-root .sge-hero-banner .sge-hero-inner{padding:32px 20px!important}
 .sg-root .sge-hero-banner .sge-hero-title{font-size:38px!important}
 .sg-root .sge-hero-banner .sge-hero-actions{width:100%;gap:12px!important}
 .sg-root .sge-hero-banner .sge-hero-actions .button{width:100%!important;margin:0!important}
 .sg-root .sge-global-header-ribbon-link{font-size:13px!important;line-height:1.3!important}
}
@media(prefers-reduced-transparency:reduce){.sg-root .sge-hero-banner .sge-hero-pill{background:#203e64!important}.sg-root .sge-hero-banner::before{display:none}}
@media(forced-colors:active){.sg-root .sge-hero-banner .sge-hero-title .gradient{background:none!important;color:CanvasText!important;-webkit-text-fill-color:CanvasText!important}.sg-root .sge-hero-banner::before{display:none}}
