/* Shared content surfaces, 15 September 2026.
   Reference: homepage #faq .hp-faq-surface (1272px, 24px corners).
   Keep the page canvas white and contain the existing coloured content bands.
   Hero scenes, navigation, proof rows and existing inset panels keep their layouts. */
body:is([data-site-ui], [data-claim-design]) {
  background-color: #fff !important;
}

body:is([data-site-ui], [data-claim-design]) section:is(
  .bg-offwhite:not([data-home-polish]):not(#hub-closing-proof):not(.cl-stats),
  .cl-injuries, .cl-compensation, .cl-retained-process, .cl-related,
  .service-benefits, .service-faq,
  #claim-form[style*="linear-gradient"]
) {
  box-sizing: border-box;
  width: calc(100% - 48px) !important;
  max-width: 1272px !important;
  margin: 16px auto 32px !important;
  padding: 32px 24px !important;
  border: 0 !important;
  border-radius: 24px !important;
  /* Do not clip pinned stages, card shadows, focus rings or swipe rails. */
}

body:is([data-site-ui], [data-claim-design]) section:is(
  .bg-offwhite:not([data-home-polish]):not(#hub-closing-proof):not(.cl-stats),
  .cl-injuries, .cl-compensation, .cl-retained-process, .cl-related,
  .service-benefits, .service-faq,
  #claim-form[style*="linear-gradient"]
) > div:not(.pin-spacer) {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
  min-width: 0;
}

/* These disclosures already have their own contained panel. */
body[data-site-ui] section.service-important {
  background: #fff !important;
}
body[data-site-ui] .service-important-panel {
  background: #faf8f4;
}

@media (min-width: 1024px) {
  body:is([data-site-ui], [data-claim-design]) section:is(
    .bg-offwhite:not([data-home-polish]):not(#hub-closing-proof):not(.cl-stats),
    .cl-injuries, .cl-compensation, .cl-retained-process, .cl-related,
    .service-benefits, .service-faq,
    #claim-form[style*="linear-gradient"]
  ) {
    padding: 48px !important;
  }
}
