/* One outer alignment boundary for every part of the page. */
body{margin:0!important}
.toast:not(.show){visibility:hidden;pointer-events:none}
.xource-shell{width:calc(100% - 32px);max-width:1440px;margin:0 auto;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
.xource-shell>header,.xource-shell>.layout,.xource-shell>footer{width:100%;max-width:none;box-sizing:border-box}
.xource-shell .htop{display:grid!important;grid-template-columns:170px minmax(0,1fr) auto;gap:24px;padding:0!important}
.xource-shell .sbar{width:100%;min-width:0;max-width:none!important;margin:0;height:40px}
.sbar input{min-width:0;width:0}
.xource-shell .hright{display:flex!important;margin:0;justify-content:flex-end;min-width:0}
body:not(.ox-auth) #hr-out,body.ox-auth #hr-in{display:flex!important;flex-shrink:0}
body.ox-auth #hr-out,body:not(.ox-auth) #hr-in{display:none!important}
nav.ox-nav{width:100%;min-width:0;overflow:visible}
nav.ox-nav .nav-inner{min-width:0;overflow:hidden;flex:1}
nav.ox-nav .nav-inner::after{content:none!important;display:none!important}
nav.ox-nav .nl{flex-shrink:0}
nav.ox-nav .nl[hidden]{display:none!important}
.xource-shell>.layout{display:grid!important;grid-template-columns:240px minmax(0,1fr) 300px!important;gap:28px;padding:14px 0 24px;flex:1;align-content:start}
.xource-shell main#main{padding:0;min-width:0}
.xource-shell .ebody p{max-width:75ch;overflow-wrap:anywhere}
.xource-shell .ef{width:100%;box-sizing:border-box;justify-content:space-between}
.xource-shell .emeta{margin-left:auto}
.xource-shell .rsb{width:300px;min-width:0}
.xource-shell .oxford-banners{width:100%;gap:12px}
.xource-shell .oxford-banners img{width:calc(50% - 6px);height:auto;aspect-ratio:1;object-fit:contain}
.xource-shell .ox-banner-slot{width:100%}
footer.ox-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:auto;padding:20px 0!important;border:0!important;border-top:1px solid #d2ccc6!important;text-align:left}
footer.ox-footer .footlinks{display:flex;align-items:center;gap:14px;justify-content:flex-start;flex-wrap:nowrap;white-space:nowrap;margin:0}
footer.ox-footer .copy{margin:0!important;white-space:nowrap;line-height:1.5}
footer.ox-footer .ox-mob-only{display:none!important}
.footer-links-menu{display:none}
body:not(.lt) footer.ox-footer{border-top-color:#ffffff35!important}
.entry-list-clamped{position:relative}
.entry-list-clamped::after{content:"";position:absolute;bottom:0;left:0;right:0;height:2em;pointer-events:none;background:linear-gradient(transparent,var(--paper))}
body:not(.lt) .entry-list-clamped::after{background:linear-gradient(transparent,var(--night))}
@media(min-width:901px){#hr-out>.pill{display:inline-flex!important}.ox-mobile-auth{display:none!important}}
@media(max-width:1100px) and (min-width:901px){.xource-shell>.layout{gap:20px}.xource-shell .htop{gap:16px}.pill{padding-inline:10px}}
@media(max-width:900px){
  .xource-shell{width:calc(100% - 24px)}
  .xource-shell .se{margin-bottom:25px!important}
  .xource-shell .htop{grid-template-columns:40px minmax(0,1fr) auto;gap:8px}
  .xource-shell .logo{width:40px}
  .xource-shell .sbar{height:36px}
  .xource-shell .sbar input{padding-inline:10px!important}
  .xource-shell .sbar-go{padding-inline:10px}
  .xource-shell #hr-in{gap:0}
  .xource-shell .hnav{width:30px;height:30px;margin:0 2px}
  nav.ox-nav{overflow:hidden}
  nav.ox-nav .nav-inner{overflow-x:auto;scrollbar-width:none}
  .xource-shell>.layout{display:flex!important;flex-direction:column;gap:24px;padding:14px 0 24px}
  .xource-shell main#main{width:100%;padding:0}
  .xource-shell aside#sidebar{width:100%!important;padding:0!important}
  .xource-shell .rsb{display:none!important}
  .xource-shell .ef{gap:8px}
  footer.ox-footer{gap:8px;padding:16px 0!important;font-size:10px}
  footer.ox-footer>.footlinks{display:none}
  .footer-links-menu{display:block;position:relative}
  .footer-links-menu summary{cursor:pointer;color:var(--ox)}
  body:not(.lt) .footer-links-menu summary{color:white}
  .footer-links-menu .footer-menu-items{position:absolute;bottom:calc(100% + 8px);left:0;padding:12px;border:1px solid var(--input);background:var(--paper);border-radius:8px;min-width:150px;z-index:20;box-shadow:0 3px 15px #00214720}
  .footer-menu-items a{display:block;padding:6px 0;color:var(--ox)}
  body:not(.lt) .footer-menu-items{background:var(--night)}
  body:not(.lt) .footer-menu-items a{color:white}
}
