/* Shared case-study canvas. The homepage and embedded product scenes are untouched. */
body.sober-case {
  --case-reading-width:min(1280px,calc(100% - 44px));
  --case-reading-gutter:max(22px,calc((100% - 1280px)/2));
  --case-reading-line:#dfe4ea;
  --case-reading-ink:#26343d;
  background:#fff!important;
}
body.sober-case > main {background:#fff!important}
/* Align complete sections; text columns retain their own reading measure. */
body.sober-case:is(.v105-malakoff-humanis,.v105-cetelem) .v105-case-hero {
  padding-inline:var(--case-reading-gutter)!important;
}
body.sober-case .mh2-container,
body.sober-case .v105-case-body,
body.sober-case.case-apphalt main > .wrap,
body.sober-case .v105-case-exits,
body.sober-case .c129-source-appendix {
  width:var(--case-reading-width)!important;max-width:1280px!important;margin-inline:auto!important;
}
body.sober-case .mh2-chapter {padding-inline:var(--case-reading-gutter)!important;background:#fff!important}
body.sober-case .mh2-chapter > .mh2-container {width:100%!important}
body.sober-case.at97-detail #main {width:var(--case-reading-width);max-width:1280px;margin-inline:auto;padding-inline:0}
body.sober-case.at97-detail #main > :is(section,div),
body.sober-case.at97-detail .v138-allianz-research,
body.sober-case.at97-detail .v105-case-exits {
  width:100%!important;max-width:none!important;margin-inline:0!important;
}
body.sober-case :is(.ux148-story,.ux142-board,.c151-next-screens,.c143-partners,.c152-security) {
  width:100%!important;max-width:none!important;margin-inline:0!important;
}
/* White chapter surfaces, with brand accents kept on icons and active states. */
body.sober-case :is(.ux148-story,.ux148-story-body,.ux142-board,.mh159-flowmap,
 .mhv135-panel,.c143-partners,.c143-partners__hero,.c143-workshop,
 .case-settings-proof,.app159-proof-card,.case-delivery,.case-proof-chain>article),
body.sober-case .mh2-case .mh2-takeaways>div,
body.sober-case .mh2-case .mh2-decision-pair>div,
body.sober-case .v147-case-index:not(.is-floating)>a.v147-nav-item {
  background:#fff!important;background-image:none!important;
}
body.sober-case :is(.ux148-story,.ux142-board,.mh159-flowmap,.app159-proof-card),
body.sober-case .mh2-case .mh2-takeaways>div {
  border-color:var(--case-reading-line)!important;
  box-shadow:0 8px 28px #182b4210!important;
  border-radius:20px;
}
body.sober-case .ux148-story-body {padding:clamp(20px,3vw,36px)}
body.sober-case .ux148-story {margin-block:32px}
body.sober-case .ux148-annotation {background:#fff;border-style:solid}
/* Use the portfolio's text face for labels, not a technical monospace face. */
body.sober-case :is(.mh159-flowmap span,.app159-proof-eyebrow) {
  font-family:var(--sans,Arial,sans-serif)!important;
  font-size:11px;font-weight:700;letter-spacing:.045em;line-height:1.45;
}
body.sober-case :is(.mhv12-friction-map h3,.at123-case-steps h3) {
  font:600 clamp(21px,1.8vw,26px)/1.2 var(--sans,Arial,sans-serif);
  letter-spacing:-.025em;
}
body.sober-case .mhv12-friction-map article {padding:24px;border-color:var(--case-reading-line);box-shadow:0 6px 20px #182b4208}
body.sober-case .mhv12-friction-map article p {line-height:1.6}
body.sober-case .mh2-case .mh2-takeaways {gap:16px}
body.sober-case .mh2-case .mh2-takeaways>div {padding:26px;min-height:0}
body.sober-case .mh2-case .mh2-conclusion-lead {max-width:68ch}
body.sober-case .case-proof-chain>article {border:1px solid var(--case-reading-line);border-radius:16px}
@media(max-width:740px) {
  body.sober-case :is(.ux148-story,.ux142-board,.mh159-flowmap,.app159-proof-card) {border-radius:16px}
  body.sober-case .mhv12-friction-map article,
  body.sober-case .mh2-case .mh2-takeaways>div {padding:20px}
  body.sober-case .ux148-story {margin-block:24px}
}
@media(forced-colors:active) {
  body.sober-case :is(.ux148-story,.ux142-board,.mh159-flowmap,.app159-proof-card) {border-color:CanvasText!important;box-shadow:none!important}
}
/* Hero containers already sit inside the shared outer gutter. */
body.sober-case .mh2-hero > .mh2-container {width:100%!important}
body.sober-case .mh2-case .mh2-decision-pair {width:100%;max-width:none}
body.sober-case .mhv12-friction-map article {display:flex;flex-direction:column;align-items:flex-start}
body.sober-case .mhv12-friction-map article>p {margin-bottom:18px}
body.sober-case .mhv12-friction-map article>div {width:100%;margin-top:auto}
body.sober-case .at146-contribution {background:#fff;border-color:var(--case-reading-line)}
