@import url('/athrty-layout-tokens-176100.css?v=176100');
/* ATHRTY CORE / X-LAYOUT-176100 — explicit first-party routes only.
   Existing home composition owns its own rail; this extends the same geometry. */
body:has(>main.shell) main.shell,
body:has(.cx-header) .cx-container,
body:has(.pc-hero) .pc-wrap,
body:has(.af241-hero) .af241-container{
 box-sizing:border-box!important;
 width:min(var(--ath-layout-max),calc(100% - var(--ath-layout-inset) - var(--ath-layout-inset)))!important;
 max-width:var(--ath-layout-max)!important;
 margin-inline:auto!important;
}
body:has(>main.shell) main.shell{padding-inline:0!important}
body:has(.cx-header) .cx-container{padding-inline:0!important}
body:has(.pc-hero) .pc-wrap{padding-inline:0!important}
body:has(.af241-hero) .af241-container{padding-inline:0!important}
body.athrty-network-standalone #network-main{
 box-sizing:border-box!important;
 padding-inline:max(var(--ath-layout-inset),calc((100vw - var(--ath-layout-max)) / 2))!important;
}
body.athrty-network-standalone #network-main .net-login{
 width:100%!important;max-width:var(--ath-layout-max)!important;
 margin-inline:auto!important;padding-inline:0!important;
}
/* Network inset is owned by the first-party standalone network-main shell. */
/* This route has its own page rail; do not add #main padding twice. */
body.xgenesis-shell:has(#main > :is(.x5-config,.x5-about,.xauth-studio-gateway,.x500-workspace-gate)) #main{
 padding-inline:0!important;
}
body.xgenesis-shell #main > :is(.x5-config,.x5-about,.xauth-studio-gateway,.x500-workspace-gate){
 box-sizing:border-box!important;
 width:min(var(--ath-layout-max),calc(100% - 2 * var(--ath-layout-inset)))!important;
 max-width:var(--ath-layout-max)!important;margin-inline:auto!important;
 min-width:0;
}
/* Let Academy's authenticated left rail remain governed by its own shell. */
body.academy-core #academy-content :is(.academy-hero,.academy-next),
body:has(.cx-header) main :is(.cx-offering,.ath-catalog-destination),
body:has(.pc-hero) main :is(.pc-package-card,.ath-product-card) {
 border-radius:var(--ath-layout-card-radius)!important;
}
body:has(.cx-header) main :is(.cx-offering-grid,.ath-catalog-destinations),
body:has(.pc-hero) main :is(.pc-package-grid,.pc-product-grid){
 column-gap:var(--ath-layout-gap)!important;row-gap:var(--ath-layout-gap)!important;
}
body:has(>main.shell) main.shell :is(h1,h2),
body:has(.cx-header) main :is(h1,h2),
body:has(.pc-hero) main :is(h1,h2),
body:has(.af241-hero) main :is(h1,h2){
 min-width:0;text-wrap:balance;overflow-wrap:normal;
}
body:has(>main.shell) main.shell :is(a,button):focus-visible,
body:has(.cx-header) main :is(a,button):focus-visible,
body:has(.pc-hero) main :is(a,button):focus-visible,
body:has(.af241-hero) main :is(a,button):focus-visible{
 outline:2px solid var(--ath-layout-focus)!important;outline-offset:3px!important;
}
@media(max-width:750px){
 body:has(.cx-header) main :is(.cx-hero-layout,.cx-section-head),
 body:has(.pc-hero) main .pc-hero-grid{min-width:0}
 body:has(.af241-hero) .af241-container{min-width:0}
 body:has(>main.shell) main.shell :is(.service,.cta){max-width:100%}
}