/* 1.9.31.5.9.44: consistent outer alignment, without widening reading/print content. */
@media screen{
  :root{--uf-shell-max:1480px;--uf-edge:32px;--uf-panel-radius:28px}
  html{overflow-y:scroll;scrollbar-gutter:stable}
  html body{box-sizing:border-box;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
  html body>.shell{box-sizing:border-box;width:100%!important;max-width:var(--uf-shell-max)!important;margin-inline:auto!important;margin-top:0!important;padding-inline:var(--uf-edge)!important;border-radius:var(--uf-panel-radius)!important}
  html body>.shell>.uf-global-header{box-sizing:border-box;width:100%!important;max-width:none!important;margin:12px 0 0!important;border-radius:var(--uf-panel-radius)!important}
  html body>.uf-global-header{box-sizing:border-box;width:calc(100% - var(--uf-edge) - var(--uf-edge))!important;max-width:calc(var(--uf-shell-max) - var(--uf-edge) - var(--uf-edge))!important;margin:12px auto 0!important;border-radius:var(--uf-panel-radius)!important}
  html body>.uf-document-finder,html body>main.wrap,html body>main.shell,
  html body>.hero-band,html body>.calc-wrap,html body>.calc-info,html body>.sig-wrap,html body>.sig-info,
  html body>.uf-money-guide,html body>.uf-diy-guide,html body>.uf-digital-guide,html body>.uf-collections,
  html body>.uf-partner-placement,html body>section.hero,html body>#builderView{
    box-sizing:border-box;width:calc(100% - var(--uf-edge) - var(--uf-edge))!important;
    max-width:calc(var(--uf-shell-max) - var(--uf-edge) - var(--uf-edge))!important;margin-inline:auto!important
  }
  html body>main.shell{padding-inline:0!important}
  html body>.topbar>.topbar-inner{box-sizing:border-box;width:100%!important;max-width:var(--uf-shell-max)!important;padding-inline:var(--uf-edge)!important;margin-inline:auto!important}
  html body>#builderView>.builder-layout,html body>#builderView>.builder-topbar{width:100%!important;max-width:none!important;box-sizing:border-box}
  html body .uf-document-finder,html body .collection-hero,html body .academy-hero,html body .everyday-hero,
  html body .hero-band,html body .premium-category,html body .uf-collections{border-radius:var(--uf-panel-radius)!important}
  html body.premium-ambient main{animation:none!important}
}
@media screen and (max-width:700px){:root{--uf-edge:16px;--uf-panel-radius:24px}}

/* 1.9.31.5.9.46 — contain the global footer inside the shared site shell. */
@media screen{
  html body > .site-footer{
    box-sizing:border-box;
    width:calc(100% - var(--uf-edge) - var(--uf-edge)) !important;
    max-width:calc(var(--uf-shell-max) - var(--uf-edge) - var(--uf-edge)) !important;
    margin-left:auto !important;
    margin-right:auto !important;
    overflow:hidden;
    border-radius:0 0 var(--uf-panel-radius) var(--uf-panel-radius) !important;
  }
  html body > .site-footer > .site-footer-inner{
    box-sizing:border-box;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:18px 24px !important;
  }
  html body.home-page > .site-footer{
    margin-top:0 !important;
  }
  html body.home-page > .shell{
    border-radius:var(--uf-panel-radius) var(--uf-panel-radius) 0 0 !important;
  }
}


/* 1.9.31.5.9.47 — homepage footer is structurally inside the main rounded shell. */
@media screen{
  html body.home-page > .shell{
    border-radius:var(--uf-panel-radius)!important;
    overflow:hidden;
    padding-bottom:0!important;
  }
  html body.home-page > .shell > .site-footer{
    box-sizing:border-box;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    border:0!important;
    border-top:1px solid rgba(30,55,80,.08)!important;
    border-radius:0!important;
    background:transparent!important;
    backdrop-filter:none!important;
  }
  html body.home-page > .shell > .site-footer > .site-footer-inner{
    box-sizing:border-box;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:18px 28px 20px!important;
  }
}
