/* A shared light temperature, with an independently composed image per task.
   Only the environment changes; document pixels and exported files never do. */
:root:has([data-public-surface="catalog"]) { --ny-public-art: url("images/20261023/public-catalog-day.ec98bd379b4e.webp"); }
:root:has([data-public-surface="explore"]) { --ny-public-art: url("images/20261023/daylight-atmosphere.fc26815d42ac.webp"); }
:root:has([data-public-surface="course"]) { --ny-public-art: url("images/20261023/public-course-day.dcaea847b564.webp"); }
:root:has([data-public-surface="reader"]) { --ny-public-art: url("images/20261023/public-reader-day.f8c8ef4fde29.webp"); }
:root:has([data-public-surface="blog"]) { --ny-public-art: url("images/20261023/public-blog-day.8223dab83c42.webp"); }
:root:has([data-public-surface="article"]) { --ny-public-art: url("images/20261023/public-article-day.ae2af3a9e586.webp"); }
:root:has([data-public-surface="pathways"]) { --ny-public-art: url("images/20261023/public-pathways-day.6bb7aa95d1a7.webp"); }
:root:has([data-public-surface="campus"]) { --ny-public-art: url("images/20261023/public-campus-day.8b6d38981fbc.webp"); }
:root:has([data-public-surface="contribute"]) { --ny-public-art: url("images/20261023/public-contribute-day.2639c93a3b7a.webp"); }
:root:has([data-public-surface="inbox"]) { --ny-public-art: url("images/20261023/public-inbox-day.569f94a9df3f.webp"); }
:root:has([data-public-surface="account"]) { --ny-public-art: url("images/20261023/public-account-day.e319828394ee.webp"); }
:root:has([data-public-surface="shelves"]) { --ny-public-art: url("images/20261023/public-shelves-day.6676b47daed1.webp"); }
:root:has([data-public-surface="history"]) { --ny-public-art: url("images/20261023/public-history-day.228d3158efe9.webp"); }
:root:has([data-public-surface="studio"]) { --ny-public-art: url("images/20261023/public-studio-day.38fc7f499cc8.webp"); }
:root:has([data-public-surface="writer"]) { --ny-public-art: url("images/20261023/public-writer-day.f222045a62e2.webp"); }
:root:has([data-public-surface="preview"]) { --ny-public-art: url("images/20261023/public-preview-day.ef6893c28055.webp"); }
:root:has([data-public-surface="versions"]) { --ny-public-art: url("images/20261023/public-versions-day.48857ef03dfd.webp"); }
:root:has([data-public-surface="home"]) {
  --ny-public-art: url("images/20261023/public-home-day-v2.ff89dbe5864c.webp");
  --ny-home-night-art: url("images/20261023/public-home-night-v2.2cc951170242.webp");
}
body:has([data-public-surface]):not([data-management-active]) > .site-ambient {
  display: block; opacity: 1; background: var(--ny-bg);
  mask-image: none; -webkit-mask-image: none; filter: none;
}
body:has([data-public-surface]):not([data-management-active]) > .site-ambient::before {
  content: ""; inset: 0; background: var(--ny-public-art) center / cover no-repeat;
  opacity: .15; filter: none; animation: none; transform: none;
}
html[data-theme="light"] body:has([data-public-surface]):not([data-management-active]) > .site-ambient {
  background: #eaf5f8 var(--ny-public-art) center / cover no-repeat;
}
html[data-theme="light"] body:has([data-public-surface]):not([data-management-active]) > .site-ambient::before { content: none; }
html:not([data-theme="light"]) body:has([data-public-surface="home"]):not([data-management-active]) > .site-ambient {
  background: #071e2d var(--ny-home-night-art) center / cover no-repeat;
}
html:not([data-theme="light"]) body:has([data-public-surface="home"]):not([data-management-active]) > .site-ambient::before { content: none; }
body:has([data-public-surface]):not([data-management-active]) > .site-ambient > *,
body:has([data-public-surface]):not([data-management-active]) > .site-ambient::after,
body:has([data-public-surface]):not([data-management-active]) > .ny-module-scene { display: none; }
[data-public-surface] { --ny-public-ease: cubic-bezier(.22,.8,.24,1); }
[data-public-surface] :is(a,button,input,select,textarea,summary):focus-visible { outline: 2px solid var(--ny-focus); outline-offset: 3px; }
@media (forced-colors:active), print {
  body:has([data-public-surface]):not([data-management-active]) > .site-ambient { display: none; }
}
