/* Layout guard — keeps content inside the 1370px column.
   2026-11-08.

   Why this file exists: several product pages have a `<section class="section">`
   whose content is split — the first half is wrapped in `.shell`, then content
   continues *after* that wrapper (a stray empty `<h2>`, a QC line and a row of
   four cards). Those tail blocks therefore render at the full viewport width and
   start 275px to the left of everything else.

   The rule constrains only *direct children* of `section.section` that are not
   themselves `.shell`. Because it never touches `.shell` or anything inside it,
   content that is already wrapped is not shrunk twice (that trap was hit once
   with `.pd-block`).

   Verified against all 37 pages with an over-wide block: fixes 24, leaves the
   document height unchanged, and reduces nothing on the pages it does not match. */

main > section.section > :not(.shell):not(script):not(style) {
  max-width: min(1370px, 92%);
  margin-left: auto;
  margin-right: auto;
}

/* the same defect in the two "app" style pages, where the band sits in a plain
   div directly under <main> */
main > div.layout-band > :not(.shell) {
  max-width: min(1370px, 92%);
  margin-left: auto;
  margin-right: auto;
}
