/* AeroPublic Admin motion stability v3.6.4
   Post-v3.6.3 override. No change to MQTT, API, chart data or fan logic. */
@media (hover:hover) and (pointer:fine) {
  /* Older clay.css applies translateY on cards while WAAPI reveals them.
     Keep premium glow/depth, but do not move interactive telemetry surfaces. */
  body.ap37-unified :is(.stat-card,.summary-card,.device-card,.settings-card,
      .chart-card,.ap36-panel,.ap36-preview,.ap-notification-panel):hover {
    transform:none!important;
  }
  /* Relay controls must never shift under the pointer during a command. */
  body.ap37-unified :is(.device-fan-btns .fan-btn,.fan-btn-group .fan-btn):hover {
    transform:none!important;
  }
}
body.ap37-unified :is(.stat-card,.summary-card,.device-card,.settings-card,
    .chart-card,.ap36-panel,.ap36-preview,.ap-notification-panel) {
  transition:box-shadow .24s cubic-bezier(.22,1,.36,1),
    border-color .24s ease!important;
}
body.ap37-unified :is(.sidebar-nav .nav-item,.ap36-tab,.device-fan-btns .fan-btn) {
  transition:background-color .18s ease,box-shadow .2s ease,
    border-color .18s ease,color .18s ease!important;
}
/* Never hide an Admin pane as a prerequisite for running JavaScript. */
body.ap37-unified .reveal,
body.ap37-unified .reveal.is-visible,
body.ap37-unified .stagger-children > * {
  opacity:1!important;
}
/* Reduced-motion overrides apply to the saved preference as well as OS setting. */
html[data-reduced-motion="true"] body.ap37-unified *,
html[data-reduced-motion="true"] body.ap37-unified *::before,
html[data-reduced-motion="true"] body.ap37-unified *::after {
  animation:none!important;
  transition:none!important;
  scroll-behavior:auto!important;
}
@media (prefers-reduced-motion: reduce) {
  body.ap37-unified *,body.ap37-unified *::before,body.ap37-unified *::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}
