/* The long-range box on both analytics pages (static/js/analytics_long_range.js):
   the "large data load" confirm, then "Loading 3 of 7…" with Cancel. In the
   page, above the charts; the rest of the page stays usable. */
.nh-lr-host { margin: 0.75rem 0; }
.nh-lr-host[hidden] { display: none; }
.nh-lr {
  border: 1px solid #fcd34d;
  background: #fffbeb;
  color: #78350f;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}
.nh-lr--progress {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
}
.nh-lr__title { font-weight: 700; margin: 0 0 0.25rem; }
.nh-lr__body { margin: 0 0 0.6rem; max-width: 60rem; }
.nh-lr__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.nh-lr__btn {
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  border-radius: 0.375rem;
  padding: 0.35rem 0.8rem;
  font: inherit;
  cursor: pointer;
  min-height: 2.25rem;
}
.nh-lr__btn--primary { background: #b45309; border-color: #b45309; color: #fff; }
.nh-lr__btn:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.nh-lr__check { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; }
.nh-lr__progress { font-weight: 600; }
.nh-lr__bar { flex: 1 1 8rem; max-width: 16rem; height: 0.6rem; }
body.dark-mode .nh-lr { background: #3a2a0a; border-color: #92400e; color: #fde68a; }
body.dark-mode .nh-lr--progress { background: #0f1f3a; border-color: #1e40af; color: #bfdbfe; }
body.dark-mode .nh-lr__btn--primary { background: #d97706; border-color: #d97706; color: #111; }
/* The note a thinned chart carries on the advanced page (under the chart). */
.nh-thin-note { font-size: 0.75rem; color: #6b7280; margin: 0.25rem 0 0; }
body.dark-mode .nh-thin-note { color: #a0aec0; }
