/* NVVNY shell: static visual effects, live business data.
 * Keep wallpaper, geometry, colours, selected states and hover feedback.
 * Never load this sheet in generated tailcard/video documents.
 */
html { scroll-behavior: auto !important; }

body[data-render-mode="static"],
body[data-render-mode="static"]::before,
body[data-render-mode="static"]::after,
body[data-render-mode="static"] *:not(.safe-cta),
body[data-render-mode="static"] *:not(.safe-cta)::before,
body[data-render-mode="static"] *:not(.safe-cta)::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

/* Live blur re-samples everything beneath a surface during every scroll.
 * Static translucent surfaces achieve the same hierarchy without that pass.
 */
body[data-render-mode="static"] *,
body[data-render-mode="static"] *::before,
body[data-render-mode="static"] *::after,
body[data-render-mode="static"] dialog::backdrop {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body[data-render-mode="static"] :is(.panel, .account-card, .site-admin-card, .user-admin-card, .report-controls) {
  background-color: rgba(255, 255, 255, .95);
}
body[data-render-mode="static"] .nav-menu-panel {
  background: linear-gradient(145deg, rgba(250, 251, 254, .99), rgba(242, 245, 251, .98));
}

/* Do not move a target away from the pointer, or animate large shadows.
 * Instant border/colour changes still indicate that the card is clickable.
 */
body[data-render-mode="static"] :is(.account-card, .apl-account-card, .site-selector-card) {
  box-shadow: 0 8px 24px rgba(35, 45, 70, .075) !important;
}
body[data-render-mode="static"] :is(.account-card, .apl-account-card, .site-selector-card):hover {
  transform: none !important;
  border-color: #889bdc !important;
  box-shadow: 0 8px 24px rgba(35, 45, 70, .075) !important;
}
body[data-render-mode="static"] :is(.btn, .site-search-submit, .tailcard-link):is(:hover, :active) {
  transform: none !important;
}
body[data-render-mode="static"] :is(.btn, .site-search-submit):hover {
  filter: none !important;
}

/* The refresh indication is text only: no flash/fade across a whole table. */
body[data-render-mode="static"] .live-fragment-updated { filter: none !important; }

@media print {
  body[data-render-mode="static"] .nav-menu-panel { background: #fff; }
}
