html[data-theme] #dashboardView .nas-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #101d30;
}
html[data-theme="day"] #dashboardView .nas-panel { background: #cee5f8; }
#dashboardView .nas-film {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
html:not([data-theme="day"]) .nas-film {
  background: #0c1829 url("orbit.webp") center top / 100% auto no-repeat;
}
@media (min-width:2250px) {
  html:not([data-theme="day"]) .nas-film { background-image:url("orbit-wide.webp"); }
}
@media (max-width:700px) {
  html:not([data-theme="day"]) .nas-film { background-image:url("orbit-mobile.webp"); }
}
.nas-film :is(canvas,video) {
  position:absolute;
  inset:0 0 auto;
  width:100%;
  height:clamp(245px,26vw,540px);
  object-fit:cover;
  object-position:center top;
  visibility:hidden;
}
html:not([data-theme="day"]) .nas-film[data-renderer="globe"] canvas,
html:not([data-theme="day"]) .nas-film[data-renderer="video"] video { visibility:visible; }
/* The orbit, its posters and fallback movies have their horizon apex at 58%.
   Crop the left edge so the remaining 84% is centered on that point. */
html:not([data-theme="day"]) #dashboardView .nas-film {
  --orbit-crop-width: calc(100% / .84);
  background-size: var(--orbit-crop-width) auto;
  background-position: right top;
}
html:not([data-theme="day"]) #dashboardView .nas-film :is(canvas, video) {
  inset-inline: auto 0;
  width: var(--orbit-crop-width);
  max-width: none;
  object-position: 58% top;
}
.nas-film .sky {
  --repeat-width: max(2500px, 100vw);
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(100% + var(--repeat-width));
  display: none;
  background-color: #82b6df;
  background-repeat: repeat-x;
  background-size: var(--repeat-width) auto;
  background-position: 0 49%;
}
html[data-theme="day"] .nas-film .sky {
  display: block;
  background-image: url("sky.webp");
  animation: nas-clouds 280s linear infinite;
}
@keyframes nas-clouds { to { transform: translateX(calc(-1 * var(--repeat-width))); } }
html[data-theme="day"] .nas-film[data-playing="false"] .sky { animation-play-state: paused; }
.nas-film::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #081222c7, transparent 36%, transparent 84%, #07122150),
              linear-gradient(0deg, #0c1727b3, transparent 55%);
}
html[data-theme="day"] .nas-film::after {
  background: linear-gradient(90deg, #eef8fff2, #e6f4ffd0 10%, #e3f3ff46 27%, transparent 47%),
              linear-gradient(0deg, #d3e8fa8a, transparent 62%);
}
body:not(.is-pro-page) .workspace-header-actions > .dashboard-checks {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .15rem .8rem;
  font-variant-numeric: tabular-nums;
}
.dashboard-checks .checks-label { font-weight: 650; }
.dashboard-checks .check-source { white-space: nowrap; }
#dashboardView .nas-panel .panel-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  min-height: clamp(118px, 9.8vw, 175px);
}
#dashboardView .nas-panel .nas-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .15rem .75rem;
  width: fit-content;
  margin-top: .35rem;
  color: #e5eff8;
  font-size: .82rem;
}
#dashboardView .nas-caption a {
  color: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .2em;
}
html[data-theme="day"] #dashboardView .nas-caption { color: #153854; }
#dashboardView .nas-caption #nas-status-message.error {
  border-radius: .3rem;
  padding: .12rem .4rem;
  background: #452432;
  color: #ffe2e7;
}
html[data-theme="day"] #dashboardView .nas-caption #nas-status-message.error {
  background: #ffedf0;
  color: #80253a;
}
#dashboardView .motion-control {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid #718698;
  border-radius: 7px;
  color: #f4f8ff;
  background: #132538;
  cursor: pointer;
}
html[data-theme="day"] #dashboardView .motion-control {
  border-color: #9ab4c9;
  color: #174465;
  background: #f2f8ff;
}
.motion-control:focus-visible { outline: 3px solid #278bed; outline-offset: 2px; }
.motion-control svg { width: .95rem; height: .95rem; fill: currentColor; }
@media (max-width: 700px) {
  body:not(.is-pro-page) .workspace-header-actions > .dashboard-checks {
    flex: 1 1 0;
    display: grid;
    justify-content: start;
    line-height: 1.3;
  }
  .dashboard-checks .checks-label { display: none; }
  #dashboardView .nas-panel .panel-heading { gap: .65rem; }
  .nas-film :is(canvas,video) { height: 300px; }
  .nas-film .sky {
    --repeat-width: 3600px;
    background-position: 0 0;
    mask-image: linear-gradient(black 0 320px, transparent 630px);
  }
}

html[data-theme="day"] body:not(.is-pro-page) .workspace-header-shell .workspace-header-actions > .dashboard-checks,
html[data-theme="day"] body:not(.is-pro-page) .workspace-header-shell .dashboard-checks span {
  color: #3a536b;
}
html[data-theme="day"] body:not(.is-pro-page) .workspace-header-shell .dashboard-checks :is(#update-time, #nas-last-checked) {
  color: #162f48;
  font-weight: 650;
}
