/* Shared THX geometry. The original Home is the reference (1320 / 48 / 40 / 28).
   Applies only to THX roots, not to the library module. Reading widths and story
   scene composition remain local to each component. */
body{--thx-shell:min(1320px,calc(100% - 48px));--thx-shell-gutter:24px}
@media(max-width:1050px){body{--thx-shell:calc(100% - 40px);--thx-shell-gutter:20px}}
@media(max-width:700px){body{--thx-shell:calc(100% - 28px);--thx-shell-gutter:14px}}
/* Native templates already occupy the full page: remove legacy Divi viewport breakout. */
body.thx-native-original :is(#thx-root,#thx-start-root,#thx-pricing-root,#thx-contact-root){left:auto;width:100%;margin-left:0;--container:var(--thx-shell)}
body #thx-home-header{--hh-container:var(--thx-shell)}
body #thx-global-footer .thx-gf-container{width:var(--thx-shell)}
body.thx-native-original #main-content.thx-ordinary{padding-inline:max(var(--thx-shell-gutter),calc((100% - 1320px)/2))}
body.thx-ai-page .thx-ai .ai-wrap,body.thx-ai-page .thx-guide .guide{width:var(--thx-shell);margin-inline:auto}
body.thx-ai-page .thx-ai .ai-policy-full{max-width:none}
