/* egg.com: one palette, one sheen/fade system, distinct content chapters. */
body.egg-visual-system{
 --egg-black:#111111;--egg-white:#FFFFFF;--egg-grey:#EDEDED;--egg-border:#D6D6D6;
 --egg-blue-sheen:linear-gradient(160deg,rgba(255,255,255,.16),rgba(255,255,255,0) 45%),linear-gradient(112deg,#16307A,#2A50C8 58%,#4C7DF0);
 --egg-yellow-sheen:linear-gradient(160deg,rgba(255,255,255,.42),rgba(255,255,255,.08) 38%,rgba(255,255,255,0) 60%),linear-gradient(112deg,#DDAA00,#FCCF00 55%,#FFE96A);
 --egg-feather:clamp(24px,4vw,56px);
 --egg-blue-band:linear-gradient(#FFFFFF,rgba(255,255,255,0) var(--egg-feather)),linear-gradient(rgba(255,255,255,0) calc(100% - var(--egg-feather)),#FFFFFF),var(--egg-blue-sheen);
 background:#FFFFFF;color:#111111;
}
/* Canonical sheen stops remain unchanged. Left-scaled blue gives white copy a safe reading field. */
body.egg-visual-system :is(.sheen-blue,.egg-site-nav-cta){background-color:#16307A;background-image:var(--egg-blue-sheen);background-size:160% 100%;background-position:left center;color:#FFFFFF}
body.egg-visual-system :is(.sheen-yellow,.pill-yellow){background-color:#FCCF00;background-image:var(--egg-yellow-sheen);color:#111111}
body.egg-visual-system :is(.egg-site-nav-link,.egg-site-nav-link:hover,.egg-site-epa-options a,.egg-site-epa-options a:hover){color:#111111}
body.egg-visual-system .egg-site-epa-options a:hover{background:#EDEDED}
body.egg-visual-system .egg-site-header :is(a,button):focus-visible{outline-color:#111111}
body.egg-visual-system main :is(p,h1,h2,h3,h4,li,dt,dd,figcaption,blockquote){color:inherit}
body.egg-visual-system main :is([class*="text-[#333"],[class*="text-[#555"],[class*="text-[#666"],[class*="text-white/"]){color:inherit}
body.egg-visual-system main a:not(.sheen-blue):not(.sheen-yellow):not(.egg-site-nav-cta){color:inherit}
body.egg-visual-system :is(.egg-home-page,.egg-sector-page){color:#111111}
/* Homepage: neutral introduction/pressures, colourful agreement, selective yellow, neutral sectors. */
body.egg-visual-system .egg-home-page main>section:first-child{--egg-surface:white;background:#FFFFFF;color:#111111}
body.egg-visual-system .egg-home-page main>section:nth-child(2){--egg-surface:grey;background:#EDEDED;color:#111111}
body.egg-visual-system .egg-home-page #who-we-are{--egg-surface:white;background:#FFFFFF;color:#111111}
body.egg-visual-system .egg-proposal-ownership{background:#EDEDED;border-color:#D6D6D6;color:#111111}
body.egg-visual-system .egg-home-page #agreement{--egg-surface:blue;background-color:#16307A;background-image:var(--egg-blue-band);background-size:100% 100%,100% 100%,160% 100%,160% 100%;background-position:left center;color:#FFFFFF}
body.egg-visual-system #agreement :is(.egg-proposal-description,.egg-proposal-pillar-copy>p,.egg-proposal-section-note){color:#FFFFFF}
body.egg-visual-system .egg-proposal-thread path{stroke:#FFFFFF;opacity:.45}
body.egg-visual-system .egg-home-page #energy-management{--egg-surface:white-yellow;background:#FFFFFF;color:#111111;border-bottom:0}
body.egg-visual-system #energy-management .egg-proposal-title-block{min-width:0;background-image:var(--egg-yellow-sheen);border-radius:20px;padding:32px;color:#111111}
body.egg-visual-system #energy-management h2{font-size:clamp(2.25rem,4.4vw,4.4rem)}
body.egg-visual-system .egg-home-page #sectors{--egg-surface:grey;background:#EDEDED;color:#111111}
body.egg-visual-system .egg-home-page #sectors article{background:#FFFFFF;border:1px solid #D6D6D6;border-radius:20px;padding:28px;min-width:0}
body.egg-visual-system .egg-home-page #sectors article>div{min-width:0}
/* The native enquiry form remains a white island, with its original behaviour untouched. */
body.egg-visual-system :is(.egg-home-page,.egg-sector-page) #contact-section{
 --egg-surface:blue;background-color:#16307A;background-image:var(--egg-blue-band);background-size:100% 100%,100% 100%,160% 100%,160% 100%;background-position:left center;color:#FFFFFF;
}
body.egg-visual-system :is(.egg-home-page,.egg-sector-page) #contact-section :is(h2,p){color:inherit}
body.egg-visual-system .egg-compact-contact-card{background:#FFFFFF;color:#111111;border:1px solid #D6D6D6}
body.egg-visual-system .egg-compact-contact-card :is(h2,p){color:#111111}
/* Sector pages: shared chapter rhythm, rather than retired sector/product colours. */
body.egg-visual-system .egg-sector-page main>section:first-child{--egg-surface:white;background:#FFFFFF;color:#111111}
body.egg-visual-system .egg-sector-page main>section:nth-child(2){--egg-surface:grey;background:#EDEDED;color:#111111}
body.egg-visual-system .egg-sector-page main>section:nth-child(3):not(#contact-section){--egg-surface:white;background:#FFFFFF;color:#111111}
body.egg-visual-system .egg-sector-page main>section:last-child{--egg-surface:white;background:#FFFFFF;color:#111111}
/* Case studies: source photos and white customer cards, differentiated chapter headings. */
body.egg-visual-system .egg-case-hero{background:#16307A;color:#FFFFFF}
body.egg-visual-system .egg-case-hero-shade{background:linear-gradient(160deg,rgba(255,255,255,.10),rgba(255,255,255,0) 45%),linear-gradient(112deg,rgba(22,48,122,.97),rgba(42,80,200,.72) 58%,rgba(76,125,240,.3));background-size:160% 100%}
body.egg-visual-system .egg-case-hero::after{content:"";position:absolute;inset:auto 0 0;height:var(--egg-feather);background:linear-gradient(rgba(255,255,255,0),#FFFFFF);pointer-events:none;z-index:-1}
body.egg-visual-system .egg-case-index{--egg-surface:white;background:#FFFFFF;color:#111111}
body.egg-visual-system .egg-case-sector-index{background:#EDEDED;border-radius:20px;padding:0 24px}
body.egg-visual-system .egg-case-sector-heading{border:1px solid #D6D6D6;border-radius:20px;padding:30px;min-width:0}
body.egg-visual-system #logistics .egg-case-sector-heading{--egg-surface:grey;background:#EDEDED;color:#111111}
body.egg-visual-system #public-sector .egg-case-sector-heading{--egg-surface:yellow;background-image:var(--egg-yellow-sheen);color:#111111}
body.egg-visual-system #retail .egg-case-sector-heading{--egg-surface:white;background:#FFFFFF;color:#111111}
body.egg-visual-system #manufacturing .egg-case-sector-heading{--egg-surface:blue;background-image:var(--egg-blue-sheen);background-size:160% 100%;color:#FFFFFF;border-color:transparent}
body.egg-visual-system .egg-case-sector-heading :is(h2,p){color:inherit}
body.egg-visual-system :is(.egg-case-card,.egg-case-dialog,.egg-case-detail){background:#FFFFFF;color:#111111}
body.egg-visual-system .egg-case-card-mark{background:#EDEDED}
body.egg-visual-system :is(.egg-case-film-label,.egg-case-kicker,.egg-case-chapters a,.egg-case-chapters a:hover,.egg-case-open,.egg-case-open:hover,.egg-case-source:hover){color:#111111}
body.egg-visual-system .egg-case-status{background:#FFFFFF;color:#111111;border-color:#D6D6D6}
body.egg-visual-system .egg-case-quote,body.egg-visual-system .egg-case-detail-cta{background:#EDEDED;color:#111111}
body.egg-visual-system .egg-case-detail-metrics{background-image:var(--egg-yellow-sheen);color:#111111}
body.egg-visual-system #conversation{--egg-surface:blue;background-color:#16307A;background-image:var(--egg-blue-band);background-size:100% 100%,100% 100%,160% 100%,160% 100%;background-position:left center;color:#FFFFFF}
body.egg-visual-system .egg-case-chapters a[aria-current=location]{border-color:#111111;color:#111111}
/* Managed Service: existing explanation, data and diagrams; neutral reading chapters with branded bands. */
body.egg-visual-system main#top.egg-managed-page{--black:#111111;--ink:#111111;--blue:#2A50C8;--grey:#EDEDED;color:#111111;background:#FFFFFF}
body.egg-visual-system main#top.egg-managed-page :is(#egg-managed-who,#egg-managed-blockers,#egg-managed-pricing,#egg-managed-terms,#egg-managed-faqs){--egg-surface:grey;background:#EDEDED!important;color:#111111!important}
body.egg-visual-system main#top.egg-managed-page :is(#egg-managed-overview,#egg-managed-how-it-works,#egg-managed-evc-example,#egg-managed-suitability){--egg-surface:white;background:#FFFFFF!important;color:#111111!important}
body.egg-visual-system main#top.egg-managed-page :is(#egg-managed-service,#egg-managed-risk,#egg-managed-contact){--egg-surface:blue;background-color:#16307A!important;background-image:var(--egg-blue-band)!important;background-size:100% 100%,100% 100%,160% 100%,160% 100%!important;background-position:left center!important;color:#FFFFFF!important;padding-top:80px;padding-bottom:80px}
body.egg-visual-system main#top.egg-managed-page :is(#egg-managed-service,#egg-managed-risk,#egg-managed-contact) :is(h2,p,li){color:inherit!important}
body.egg-visual-system main#top.egg-managed-page :is(#egg-managed-service,#egg-managed-risk,#egg-managed-contact) :is(.card,.risk-card,.callout){background:#FFFFFF!important;color:#111111!important;border-color:#D6D6D6!important}
body.egg-visual-system main#top.egg-managed-page :is(#egg-managed-service,#egg-managed-risk,#egg-managed-contact) :is(.card,.risk-card,.callout) :is(h3,p,li,span){color:#111111!important}
body.egg-visual-system main#top.egg-managed-page .yellow-card{background-image:var(--egg-yellow-sheen)!important;background-color:#FCCF00!important;color:#111111!important}
body.egg-visual-system main#top.egg-managed-page .yellow-card :is(p,h3,span){color:#111111!important}
body.egg-visual-system main#top.egg-managed-page :is(.term-card,.assumptions-table,.chart,.chart-heading,.chart-explanation,.chart-key){background:#FFFFFF;color:#111111}
body.egg-visual-system main#top.egg-managed-page .term-card:first-child{background-image:var(--egg-yellow-sheen)}
body.egg-visual-system main#top.egg-managed-page .chart{border:1px solid #D6D6D6;border-radius:20px;overflow:visible}
body.egg-visual-system main#top.egg-managed-page .chart-tooltip{background:#111111;color:#FFFFFF;font-size:16px}
body.egg-visual-system main#top.egg-managed-page .egg-managed-example-label{background-image:var(--egg-yellow-sheen);color:#111111;font-size:16px}
body.egg-visual-system main#top.egg-managed-page :is(.egg-managed-index-label,.egg-managed-chapter-number){font-size:16px;color:#111111;text-transform:none;letter-spacing:0}
body.egg-visual-system main#top.egg-managed-page :is(.egg-managed-desktop-index a,.egg-managed-mobile-index nav a){font-size:16px;color:#111111}
body.egg-visual-system main#top.egg-managed-page .egg-managed-desktop-index{background:#FFFFFF}
body.egg-visual-system main#top.egg-managed-page :is(.egg-managed-desktop-index a[aria-current],.egg-managed-mobile-index nav a[aria-current]){background:#EDEDED;color:#111111}
body.egg-visual-system main#top.egg-managed-page .egg-managed-bottom-cta{background:#FFFFFF;color:#111111}
body.egg-visual-system main#top.egg-managed-page :is(.egg-managed-chapter-controls button,.egg-managed-chapter-controls span){font-size:16px;color:#111111}
body.egg-visual-system main#top.egg-managed-page .intro-overlay{background:linear-gradient(160deg,rgba(255,255,255,.08),rgba(255,255,255,0) 45%),linear-gradient(112deg,rgba(22,48,122,.98),rgba(42,80,200,.8) 58%,rgba(76,125,240,.32));background-size:160% 100%}
body.egg-visual-system main#top.egg-managed-page .brand-intro{background:#16307A;color:#FFFFFF}
body.egg-visual-system main#top.egg-managed-page .brand-intro :is(h1,p){color:#FFFFFF}
body.egg-visual-system main#top.egg-managed-page .hero-stats{background-image:var(--egg-blue-sheen)!important;background-size:160% 100%!important;color:#FFFFFF}
body.egg-visual-system main#top.egg-managed-page .hero-stats :is(p,span,strong){color:#FFFFFF}
body.egg-visual-system main#top.egg-managed-page details{background:#FFFFFF;color:#111111;border:1px solid #D6D6D6;border-radius:16px;padding:20px}
body.egg-visual-system main#top.egg-managed-page details :is(summary,p){color:#111111}
body.egg-visual-system footer a{color:#111111}
@media(max-width:1199px){body.egg-visual-system #energy-management .egg-proposal-title-block{padding:24px}body.egg-visual-system #energy-management h2{font-size:clamp(2rem,4.2vw,3.5rem)}}
@media(max-width:1023px){body.egg-visual-system .egg-case-chapters a[aria-current=location]{background-image:var(--egg-yellow-sheen);color:#111111;border-color:#111111}body.egg-visual-system .egg-case-sector-heading{padding:24px}}
@media(max-width:760px){body.egg-visual-system{--egg-feather:24px}body.egg-visual-system #energy-management h2{font-size:clamp(2.25rem,10.2vw,3rem)}body.egg-visual-system .egg-home-page #sectors article{padding:20px}body.egg-visual-system .egg-case-sector-index{padding:0 12px}body.egg-visual-system main#top.egg-managed-page :is(#egg-managed-service,#egg-managed-risk,#egg-managed-contact){padding-top:64px;padding-bottom:64px}body.egg-visual-system main#top.egg-managed-page .egg-managed-chapter-controls{flex-wrap:wrap}body.egg-visual-system main#top.egg-managed-page .egg-managed-chapter-controls span{order:3;width:100%;text-align:center}}

body.egg-visual-system main#top.egg-managed-page #egg-managed-terms .term-card:first-child{background-color:#FCCF00!important;background-image:var(--egg-yellow-sheen)!important;color:#111111!important}
body.egg-visual-system main#top.egg-managed-page #egg-managed-terms .term-card:first-child :is(h3,p,span){color:#111111!important}
body.egg-visual-system #root>div>footer p{color:#111111}

body.egg-visual-system .egg-floating-contact5{background-image:var(--egg-blue-sheen)!important;background-size:160% 100%!important;background-position:left center!important;color:#FFFFFF!important}

/* Case Studies refinement: one shared blue/yellow family, not grey-led chapters. */
body.egg-visual-system .egg-case-sector-index{background-color:#16307A;background-image:var(--egg-blue-sheen);background-size:160% 100%;color:#FFFFFF}
body.egg-visual-system .egg-case-sector-index a{color:#FFFFFF;border-color:rgba(255,255,255,.45)}
body.egg-visual-system :is(#logistics,#retail) .egg-case-sector-heading{--egg-surface:blue;background-color:#16307A;background-image:var(--egg-blue-sheen);background-size:160% 100%;color:#FFFFFF;border-color:transparent}
body.egg-visual-system :is(#public-sector,#manufacturing) .egg-case-sector-heading{--egg-surface:yellow;background-image:var(--egg-yellow-sheen);background-size:100% 100%;color:#111111;border-color:transparent}
body.egg-visual-system .egg-case-card-mark{position:relative;background:#FFFFFF}
body.egg-visual-system .egg-case-card-mark::before{content:"";position:absolute;inset:0 0 auto;height:5px;background-image:var(--egg-blue-sheen)}
body.egg-visual-system .egg-case-card:nth-child(even) .egg-case-card-mark::before{background-image:var(--egg-yellow-sheen)}
body.egg-visual-system .egg-case-page .egg-case-chapters a[aria-current=location]{background-image:var(--egg-yellow-sheen);border-color:transparent;border-radius:12px;color:#111111}
body.egg-visual-system .egg-case-quote{background-image:var(--egg-yellow-sheen);color:#111111;border-left-color:#111111}
body.egg-visual-system .egg-case-detail-cta{background-color:#16307A;background-image:var(--egg-blue-sheen);background-size:160% 100%;color:#FFFFFF}
body.egg-visual-system .egg-case-detail-cta :is(h3,p){color:#FFFFFF}
