/* Secondary access stays next to the story copy, without competing with it. */
body.sober-home .scene183-study-link{position:absolute;z-index:25;display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:10px 13px;box-sizing:border-box;color:inherit;font:500 13px/1.35 var(--sans,Arial,sans-serif);text-decoration:none;border:1px solid color-mix(in srgb,currentColor 28%,transparent);border-radius:9px;background:color-mix(in srgb,currentColor 4%,transparent);pointer-events:auto;white-space:nowrap;}
body.sober-home .scene183-study-link[hidden]{display:none!important}
body.sober-home .scene183-study-link svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;flex:none}
body.sober-home .scene183-study-link:hover{background:color-mix(in srgb,currentColor 9%,transparent);border-color:color-mix(in srgb,currentColor 45%,transparent)}
body.sober-home .scene183-study-link:focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:3px}
body.sober-home #interface-en-contexte .scene183-study-link{color:var(--c183-link-color,#214331)}
@media(max-width:800px){body.sober-home .scene183-study-link{font-size:13px}}
@media(max-width:800px) and (max-height:720px) and (orientation:portrait){
 body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-stage-inner{row-gap:46px}
}
/* Clip the scene without letting focus pan its contents horizontally in Safari. */
@supports(overflow:clip){body.sober-home #interface-en-contexte .c103-scene-sticky{overflow:clip}}
@media(max-width:800px){
 body.sober-home #interface-en-contexte .story-navigation .story-vertical-rail{width:44px}
 body.sober-home #interface-en-contexte .story-navigation .story-vertical-rail button[data-workshop-jump]::before{left:32px}
 body.sober-home #interface-en-contexte .story-navigation .story-vertical-rail button[data-workshop-jump][aria-current]::before{left:31.5px}
}

/* The in-scene link replaces the large end card; reading mode keeps its access. */
body.sober-home :is(#malakoff-experience,#interface-en-contexte,#allianz-trade-pay,#apphalt-produit).has-scene-study-access .story-next-panel--compact{display:none!important}

/* v187: reserve a real touch target between story copy and the illustration. */
body.sober-home .project-brief .project-contribution{font-size:18px;line-height:1.55}
@media(max-width:800px){
 body.sober-home .project-brief .project-contribution{font-size:16px;line-height:1.55}
 body.sober-home #allianz-trade-pay[data-at84-ready] .at84-stage-inner{row-gap:70px}
 body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-stage-inner{row-gap:72px}
}
@media(max-width:1100px){body.sober-home #malakoff-experience .mh3-main{row-gap:64px}}

/* v188: desktop stories share the page's existing 1280px editorial grid. */
@media(min-width:1101px){
 body.sober-home #malakoff-experience .mh3-stage{padding-inline:max(var(--sober-gutter),calc((100% - var(--sober-width))/2))}
 body.sober-home #malakoff-experience .mh3-main{width:100%;max-width:var(--sober-width);margin-inline:auto}
 body.sober-home #allianz-trade-pay[data-at125] .at84-stage-inner,
 body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-stage-inner{width:min(var(--sober-width),calc(100% - 2*var(--sober-gutter)));max-width:var(--sober-width);margin-inline:auto;padding-inline:0}
}
@media(max-width:360px){body.sober-home #malakoff-experience .mh3-main{row-gap:84px}}
