/* Use one title surface in public utility pages and the signed-in workspace. */
body.myalco-public.preview-content .captured-content > .public-resource > .public-resource-heading,
:where(div):has(> #app-header:not(:empty)) {
  --alco-title-ivory: color-mix(in srgb, #a74818 2%, #fff);
  --alco-title-light: color-mix(in srgb, #a74818 5%, #fff);
  --alco-title-peach: color-mix(in srgb, #a74818 12%, #fff);
  --alco-title-peach-strong: color-mix(in srgb, #a74818 17%, #fff);
  background: var(--alco-title-ivory) url("page-hero-facets-v4.svg") center / 100% 100% no-repeat;
  border-bottom: 0 !important;
  box-shadow: none;
  color: #171717;
}

@media (max-width: 640px) {
  body.myalco-public.preview-content .captured-content > .public-resource > .public-resource-heading,
  :where(div):has(> #app-header:not(:empty)) {
    background:
      linear-gradient(156deg, var(--alco-title-peach) 0%, var(--alco-title-peach-strong) 49%, transparent 49.3%) top right / 100% 240px no-repeat,
      linear-gradient(156deg, var(--alco-title-ivory) 0%, var(--alco-title-ivory) 64%, transparent 64.3%) top right / 100% 260px no-repeat,
      linear-gradient(180deg, var(--alco-title-light) 0, var(--alco-title-ivory) 290px);
  }
}

#app-header > header > :first-child {
  color: #171717;
  --ink-base: #171717;
  --ink-gray-6: #525252;
  --ink-gray-7: #404040;
  --ink-gray-8: #262626;
  --ink-gray-9: #171717;
}
