/* One document-scrolling canvas, using the current Global Commodities grid. */
html[data-bond-theme="light"]:has(link[data-frontier-background="shared"]),
html[data-frontier-background-theme="light"]:not([data-bond-theme]):has(link[data-frontier-background="shared"]),
html[data-bond-theme="light"]:has(link[data-frontier-background="shared"]) body,
html[data-frontier-background-theme="light"]:not([data-bond-theme]):has(link[data-frontier-background="shared"]) body{background-color:#f6f8fa!important}
html[data-bond-theme="dark"]:has(link[data-frontier-background="shared"]),
html[data-frontier-background-theme="dark"]:not([data-bond-theme]):has(link[data-frontier-background="shared"]),
html[data-bond-theme="dark"]:has(link[data-frontier-background="shared"]) body,
html[data-frontier-background-theme="dark"]:not([data-bond-theme]):has(link[data-frontier-background="shared"]) body{background-color:#0e1621!important}
html:has(link[data-frontier-background="shared"]) body{isolation:isolate}
html:has(link[data-frontier-background="shared"]) body::after{
  content:""!important;position:absolute!important;
  inset:0 auto auto var(--frontier-grid-left,var(--frontier-glow-left,0px))!important;
  width:var(--frontier-grid-width,var(--frontier-glow-width,100%))!important;height:100vh!important;
  z-index:-1!important;pointer-events:none!important;
  border:0!important;box-shadow:none!important;opacity:1!important;
  background:linear-gradient(rgba(9,62,88,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(9,62,88,.06) 1px,transparent 1px)!important;
  background-size:56px 56px!important;
  -webkit-mask-image:radial-gradient(ellipse at 30% 30%,#000 30%,transparent 75%)!important;
  mask-image:radial-gradient(ellipse at 30% 30%,#000 30%,transparent 75%)!important;
  clip-path:inset(var(--frontier-grid-clip,0px) 0 0)!important;
}
html[data-bond-theme="dark"]:has(link[data-frontier-background="shared"]) body::after,
html[data-frontier-background-theme="dark"]:not([data-bond-theme]):has(link[data-frontier-background="shared"]) body::after{
  background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px)!important;
}
/* Retire only the two known page-local copies of this decorative grid. */
html:has(link[data-frontier-background="shared"]) .home-frontier.home-about::before,
html:has(link[data-frontier-background="shared"]) #frontier-about .ab-hero::before{content:none!important;display:none!important}
/* These page-root paints used to carry the local grid and hide the shared one. */
html:has(link[data-frontier-background="shared"]) #frontier-about,
html:has(link[data-frontier-background="shared"]) #frontier-about .ab-hero,
html:has(link[data-frontier-background="shared"]) .home-frontier.home-about{background:transparent!important}
