/* v58 / Kaio: diffuse violet light over navy and paper. Background-only layer. */
body[data-case-atmosphere]{--at-light-x:100%;--at-light-y:0%;--at-shadow-x:0%}
body[data-case-atmosphere] [data-atmosphere-phase="1"]{--at-light-x:0%;--at-light-y:24%;--at-shadow-x:100%}
body[data-case-atmosphere] [data-atmosphere-phase="2"]{--at-light-x:100%;--at-light-y:70%;--at-shadow-x:0%}
body.editorial-v23[data-case-atmosphere] :is(.case-hero,.case-chapter[data-qa-tone="dark"],.case-endlinks){
 background-color:#080f2d!important;
 background-image:radial-gradient(ellipse 72% 680px at var(--at-light-x) var(--at-light-y),rgba(119,71,164,.34),transparent 75%),radial-gradient(ellipse 65% 550px at var(--at-shadow-x) 82%,rgba(1,5,20,.75),transparent 80%),linear-gradient(145deg,#10142f 0%,#18132e 46%,#080f2d 100%)!important;
 background-repeat:no-repeat!important;
}
body.editorial-v23[data-case-atmosphere] .case-hero{background-image:radial-gradient(ellipse 75% 650px at 100% 12%,rgba(145,97,194,.38),transparent 76%),radial-gradient(ellipse 70% 700px at 5% 75%,rgba(2,5,20,.8),transparent 80%),linear-gradient(155deg,#18162f,#080f2d 75%)!important}
body.editorial-v23[data-case-atmosphere] .case-chapter[data-qa-tone="light"]{
 background-color:#fbfaf3!important;
 background-image:radial-gradient(ellipse 72% 620px at var(--at-light-x) var(--at-light-y),rgba(186,163,243,.33),transparent 78%),radial-gradient(ellipse 60% 520px at var(--at-shadow-x) 86%,rgba(255,255,255,.9),transparent 80%),linear-gradient(135deg,#fbfaf3,#eeeaf4 55%,#fbfaf3)!important;
 background-repeat:no-repeat!important;
}
body.editorial-v23[data-case-atmosphere] .chapter-conclusion[data-qa-tone="light"]{background-image:radial-gradient(ellipse 85% 420px at 95% 0%,rgba(255,255,255,.65),transparent 80%),linear-gradient(135deg,#d3c2f4,#e9e1f6 60%,#cdb9ef)!important}
body.editorial-v23[data-case-atmosphere] :is(.delivery-quick-read,.compensa-quick-read,.consul-quick-read,.velocity-quick-read,.case-index,.delivery-index){background-color:#080f2d!important;background-image:radial-gradient(ellipse 65% 460px at 100% 30%,rgba(106,67,148,.24),transparent 80%),linear-gradient(120deg,#080f2d,#15132e)!important}
@media(max-width:1023px){
 body.editorial-v23[data-case-atmosphere] .case-chapter[data-qa-tone="dark"]{background-image:radial-gradient(ellipse 130% 600px at var(--at-light-x) var(--at-light-y),rgba(119,71,164,.28),transparent 78%),radial-gradient(ellipse 100% 500px at var(--at-shadow-x) 84%,rgba(1,5,20,.65),transparent 80%),linear-gradient(145deg,#10142f,#17132d 45%,#080f2d)!important}
}
@media(forced-colors:active){body[data-case-atmosphere] [data-atmosphere-phase],body[data-case-atmosphere] [class$="-quick-read"]{background-image:none!important}}
/* v59: native editorial ink on light surfaces is the portfolio purple. */
body.editorial-v23[data-case-atmosphere] .case-chapter[data-qa-tone="light"]{
 --qa-text:var(--purple);--qa-body:var(--purple);--qa-accent:var(--purple);--ink-muted:var(--purple);color:var(--purple)!important;
}
body.editorial-v23[data-case-atmosphere] .case-chapter[data-qa-tone="light"] :is(p,h1,h2,h3,h4,h5,h6,figcaption,td,th,dt,dd):not(.case-chapter [data-qa-tone="dark"] *){color:var(--purple)!important}
body.editorial-v23[data-case-atmosphere] .case-chapter[data-qa-tone="light"] :is(p,h1,h2,h3,h4,h5,h6,td,th) :is(span,strong,b):not(.case-chapter [data-qa-tone="dark"] *){color:inherit!important}
/* Remove flat backing only from native light panels, never from source images. */
body.editorial-v23[data-case-atmosphere] .case-chapter [data-name^="Carrossel"][data-qa-tone="light"],
body.editorial-v23[data-case-atmosphere] .case-chapter [data-qa-tone="light"] .carousel-slide,
body.editorial-v23[data-case-atmosphere] .case-chapter [data-qa-tone="light"] .dl-main-result{background:transparent!important}
/* Dark inset panels retain their readable theme, with the same diffuse atmosphere. */
body.editorial-v23[data-case-atmosphere] .case-chapter [data-name^="Carrossel"][data-qa-tone="dark"]{background-color:var(--navy)!important;background-image:radial-gradient(ellipse at 100% 0%,rgba(106,67,148,.24),transparent 75%),linear-gradient(145deg,#121832,#080f2d)!important}
/* Keep the approved hover exception above editorial ink. */
body.editorial-v23[data-case-atmosphere] .case-chapter :is(a[href],button:not(:disabled)):hover p{color:inherit!important}
/* Original palette: navy depth, purple light, restrained red reflected light. */
body.editorial-v23[data-case-atmosphere] .case-chapter[data-qa-tone="dark"][data-atmosphere-phase="1"]{
 background-image:radial-gradient(ellipse 80% 650px at 0% 20%,rgba(77,22,132,.40),transparent 78%),radial-gradient(ellipse 48% 520px at 100% 65%,rgba(185,63,56,.17),transparent 78%),linear-gradient(145deg,#080f2d,#121b3c 50%,#080f2d)!important;
}
body.editorial-v23[data-case-atmosphere] .case-chapter[data-qa-tone="dark"][data-atmosphere-phase="2"]{
 background-image:radial-gradient(ellipse 68% 650px at 100% 10%,rgba(162,103,245,.25),transparent 78%),radial-gradient(ellipse 52% 520px at 0% 80%,rgba(185,63,56,.16),transparent 80%),linear-gradient(140deg,#121b3c,#080f2d 70%)!important;
}
body.editorial-v23[data-case-atmosphere] .case-chapter[data-qa-tone="light"]:not(.chapter-conclusion){
 background-image:radial-gradient(ellipse 72% 620px at var(--at-light-x) var(--at-light-y),rgba(186,163,243,.30),transparent 78%),radial-gradient(ellipse 56% 560px at var(--at-shadow-x) 75%,rgba(185,63,56,.075),transparent 80%),linear-gradient(135deg,#fbfaf3,#eeeaf4 55%,#fbfaf3)!important;
}
