/* Theme tokens are RGB triplets so Tailwind can apply opacity (e.g. border-line/10). */
:root,
:root[data-theme="dark"] {
  --c-ink: 16 20 17;
  --c-panel: 23 30 26;
  --c-sheet: 20 27 23;
  --c-well: 16 20 17;
  --c-chip: 36 48 40;
  --c-fg: 231 238 230;
  --c-soft: 213 224 216;
  --c-muted: 147 163 153;
  --c-line: 255 255 255;
  --c-sand: 230 211 176;
  --c-accent: 230 211 176;
  --c-on-accent: 26 24 20;
  --c-ok: 60 190 120;
  --c-warn: 226 179 64;
  --c-bad: 227 93 93;
  --c-ok-fg: 142 231 180;
  --c-warn-fg: 240 212 138;
  --c-bad-fg: 237 110 110;
  --c-ok-soft: 20 53 38;
  --c-warn-soft: 58 46 18;
  --c-map-pad: 26 36 32;
  --c-map-label: 244 247 242;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --c-ink: 244 242 236;
  --c-panel: 255 255 255;
  --c-sheet: 252 251 248;
  --c-well: 246 244 239;
  --c-chip: 228 236 229;
  --c-fg: 22 30 25;
  --c-soft: 55 66 59;
  --c-muted: 98 112 103;
  --c-line: 22 30 25;
  --c-sand: 138 100 32;
  --c-accent: 31 58 43;
  --c-on-accent: 247 243 234;
  --c-ok: 47 158 98;
  --c-warn: 201 146 24;
  --c-bad: 205 70 70;
  --c-ok-fg: 22 115 66;
  --c-warn-fg: 138 97 16;
  --c-bad-fg: 190 52 52;
  --c-ok-soft: 220 243 230;
  --c-warn-soft: 251 239 208;
  --c-map-pad: 232 237 230;
  --c-map-label: 29 42 34;
  color-scheme: light;
}

html,
body {
  background: rgb(var(--c-ink));
  color: rgb(var(--c-fg));
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

body {
  min-height: 100vh;
  background-image:
    radial-gradient(1200px 500px at 10% -10%, rgb(var(--c-ok) / 0.08), transparent 55%),
    radial-gradient(900px 400px at 100% 0%, rgb(var(--c-sand) / 0.06), transparent 50%);
  transition: background-color 0.2s ease, color 0.2s ease;
}

button,
input,
select {
  font: inherit;
}

.map-bleed {
  width: 100%;
  max-width: none;
}

.map-frame {
  position: relative;
  width: 100%;
}

.map-frame img,
.map-frame .vector-map {
  display: block;
  width: 100%;
  height: auto;
}

.map-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Hotspot colors stay fixed across themes: they sit on top of the drone photo. */
.hotspot {
  fill: rgba(60, 190, 120, 0.22);
  stroke: rgba(167, 240, 196, 0.9);
  stroke-width: 0.18;
  cursor: pointer;
  transition: fill 0.15s ease, stroke 0.15s ease;
}

.hotspot[data-kind="pond"] {
  stroke-width: 0.22;
}

.hotspot[data-status="NORMAL"] {
  fill: rgba(60, 190, 120, 0.28);
  stroke: #8ee7b4;
  filter: drop-shadow(0 0 0.4px rgba(60, 190, 120, 0.8));
}

.hotspot[data-status="NONE"] {
  fill: rgb(var(--c-line) / 0.08);
  stroke: rgb(var(--c-line) / 0.45);
}

.hotspot[data-status="WARNING"] {
  fill: rgba(226, 179, 64, 0.34);
  stroke: #f0d48a;
  filter: drop-shadow(0 0 0.6px rgba(226, 179, 64, 0.95));
}

.hotspot[data-status="CRITICAL"] {
  fill: rgba(227, 93, 93, 0.38);
  stroke: #ffb4b4;
  filter: drop-shadow(0 0 0.8px rgba(227, 93, 93, 1));
  animation: pulse-critical 1.6s ease-in-out infinite;
}

.hotspot.is-dim {
  opacity: 0.16;
  pointer-events: none;
  filter: none;
  animation: none;
}

.hotspot:hover,
.hotspot.is-active {
  fill: rgba(230, 211, 176, 0.42);
  stroke: #fff6e4;
}

:root[data-theme="light"] .vector-map .hotspot[data-status="NORMAL"] {
  stroke: rgb(var(--c-ok));
}

:root[data-theme="light"] .vector-map .hotspot[data-status="WARNING"] {
  stroke: rgb(var(--c-warn));
}

:root[data-theme="light"] .vector-map .hotspot[data-status="CRITICAL"] {
  stroke: rgb(var(--c-bad));
}

.vector-map .pad {
  fill: rgb(var(--c-map-pad));
}

.vector-map .road {
  fill: none;
  stroke: rgb(var(--c-sand) / 0.3);
  stroke-width: 1.2;
}

.vector-map .map-title {
  fill: rgb(var(--c-sand));
}

.vector-map .map-label {
  fill: rgb(var(--c-map-label));
}

.tip {
  position: fixed;
  z-index: 60;
  pointer-events: none;
  min-width: 180px;
  max-width: 240px;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgb(var(--c-fg));
  background: rgb(var(--c-panel) / 0.94);
  border: 1px solid rgb(var(--c-line) / 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

.drawer {
  transform: translateX(104%);
  transition: transform 0.28s ease;
}

.drawer.open {
  transform: none;
}

.gauge {
  --p: 0.5;
  --c: rgb(var(--c-ok));
}

.gauge svg {
  transform: rotate(-90deg);
}

.gauge .val {
  stroke: var(--c);
  stroke-dasharray: calc(var(--p) * 100) 100;
}

.drop-hot {
  outline: 1px dashed rgb(var(--c-sand) / 0.7);
  outline-offset: -8px;
  background: rgb(var(--c-sand) / 0.06);
}

/* Map editor */
.ed-body {
  height: 100vh;
  overflow: hidden;
}

.ed-viewport {
  position: relative;
  overflow: hidden;
  touch-action: none;
  background-color: rgb(var(--c-well));
  background-image:
    linear-gradient(45deg, rgb(var(--c-line) / 0.04) 25%, transparent 25%, transparent 75%, rgb(var(--c-line) / 0.04) 75%),
    linear-gradient(45deg, rgb(var(--c-line) / 0.04) 25%, transparent 25%, transparent 75%, rgb(var(--c-line) / 0.04) 75%);
  background-position: 0 0, 12px 12px;
  background-size: 24px 24px;
}

.ed-viewport.is-panning,
.ed-viewport.is-panning * {
  cursor: grabbing !important;
}

.ed-viewport.can-pan {
  cursor: grab;
}

.ed-viewport.drop-ready::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px dashed rgb(var(--c-sand) / 0.8);
  border-radius: 14px;
  pointer-events: none;
}

.ed-stage {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.ed-stage img {
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.ed-stage svg {
  position: absolute;
  inset: 0;
  overflow: visible;
}

.ed-item {
  cursor: move;
}

.ed-preview .ed-item {
  cursor: pointer;
}

.layout-frame {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: visible;
  background: rgb(var(--c-well));
  user-select: none;
}

.layout-frame > img {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .layout-frame {
    width: 66.667vw;
    border-radius: 1rem;
  }

  .layout-frame > img {
    border-radius: 1rem;
  }
}

.layout-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.layout-svg .ed-device {
  cursor: pointer;
  transition: filter 0.15s;
}

.layout-svg .ed-device:hover,
.layout-svg .ed-device.is-active {
  filter: brightness(1.15) drop-shadow(0 0 6px rgba(255, 255, 255, 0.45));
}

.layout-svg .ed-label {
  cursor: default;
  pointer-events: none;
}

.layout-svg.hide-areas .ed-area,
.layout-svg.hide-labels .ed-label,
.layout-svg.hide-labels .ed-device-label {
  display: none;
}

.ed-item text {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  paint-order: stroke;
  dominant-baseline: central;
  text-anchor: middle;
}

.ed-dot-halo {
  animation: ed-halo 2.2s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.ed-badge[data-status="offline"] {
  animation: ed-badge-pulse 2.4s ease-in-out infinite;
}

@keyframes ed-badge-pulse {
  50% {
    opacity: 0.55;
  }
}

.st-badge {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.st-badge.is-online {
  box-shadow: inset 0 0 0 1.5px rgb(var(--c-line) / 0.25);
}

.st-badge.is-stale {
  background: #e2b340;
  color: #1b1b1b;
}

.st-badge.is-off {
  color: var(--st);
}

.st-badge svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}

.ed-offline-pick svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

.ed-handle {
  fill: #fff;
  stroke: #1f6feb;
}

.ed-edge {
  stroke: transparent;
  fill: none;
}

.ed-handle-r,
.ed-handle-e,
.ed-handle-w,
.ed-edge-e,
.ed-edge-w {
  cursor: ew-resize;
}

.ed-handle-n,
.ed-handle-s,
.ed-edge-n,
.ed-edge-s {
  cursor: ns-resize;
}

.ed-handle-nw,
.ed-handle-se {
  cursor: nwse-resize;
}

.ed-handle-ne,
.ed-handle-sw {
  cursor: nesw-resize;
}

.ed-rotate {
  cursor: grab;
}

.ed-select-outline {
  fill: none;
  stroke: #1f6feb;
  pointer-events: none;
}

.ed-flash {
  animation: ed-flash 0.9s ease-out 2;
}

.ed-drag-ghost {
  position: fixed;
  left: -1000px;
  top: -1000px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: #1f6feb;
}

.ed-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgb(var(--c-line) / 0.18) transparent;
}

.ed-field input[type="text"],
.ed-field input[type="number"],
.ed-field select,
.ed-input {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgb(var(--c-line) / 0.12);
  background: rgb(var(--c-well));
  padding: 6px 8px;
  font-size: 12px;
  color: rgb(var(--c-fg));
  outline: none;
}

.ed-field input:focus,
.ed-field select:focus,
.ed-input:focus {
  border-color: rgb(var(--c-sand) / 0.6);
}

.ed-field input[type="range"] {
  width: 100%;
  accent-color: rgb(var(--c-sand));
}

.ed-field input[type="color"] {
  width: 32px;
  height: 28px;
  padding: 0;
  border: 1px solid rgb(var(--c-line) / 0.12);
  border-radius: 6px;
  background: transparent;
}

.ed-rule .ed-input,
.ed-rule select {
  background: rgb(var(--c-panel));
}

.ed-input.is-invalid,
.ed-input.is-invalid:focus {
  border-color: #e35d5d;
  box-shadow: 0 0 0 2px rgba(227, 93, 93, 0.18);
}

.ed-light {
  background: var(--light);
  box-shadow:
    inset 0 -3px 6px rgba(0, 0, 0, 0.25),
    0 0 0 3px rgb(var(--c-panel)),
    0 0 10px color-mix(in srgb, var(--light) 55%, transparent);
}

/* Device popup: shared by the editor preview and the portal map */
.map-pop {
  position: absolute;
  z-index: 20;
  width: 272px;
  border-radius: 14px;
  color: rgb(var(--c-fg));
  background: rgb(var(--c-panel) / 0.97);
  border: 1px solid rgb(var(--c-line) / 0.12);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
  font-size: 12px;
}

.map-pop.is-inline {
  position: relative;
  width: 100%;
  box-shadow: none;
}

.map-pop-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px 8px;
  border-bottom: 1px solid rgb(var(--c-line) / 0.08);
}

.map-pop-dot {
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 4px;
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgb(var(--c-line) / 0.06);
}

.map-pop-title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.map-pop-sub {
  overflow: hidden;
  color: rgb(var(--c-muted));
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.map-pop-chip {
  flex: none;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  color: var(--chip);
  background: color-mix(in srgb, var(--chip) 16%, transparent);
}

.map-pop-close {
  flex: none;
  margin: -2px -4px 0 0;
  padding: 2px;
  border-radius: 6px;
  color: rgb(var(--c-muted));
}

.map-pop-close:hover {
  color: rgb(var(--c-fg));
  background: rgb(var(--c-line) / 0.06);
}

.map-pop-close svg {
  width: 14px;
  height: 14px;
}

.map-pop-body {
  display: grid;
  gap: 2px;
  padding: 6px 8px;
}

.map-pop-row {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 8px;
}

.map-pop-row:nth-child(odd) {
  background: rgb(var(--c-line) / 0.03);
}

.map-pop-row svg {
  width: 14px;
  height: 14px;
  color: rgb(var(--c-sand));
}

.map-pop-label {
  overflow: hidden;
  color: rgb(var(--c-soft));
  white-space: nowrap;
  text-overflow: ellipsis;
}

.map-pop-value {
  max-width: 130px;
  overflow: hidden;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: right;
}

.map-pop-split {
  display: flex;
  align-items: stretch;
}

.map-pop-split > .map-pop-body,
.map-pop-split > .map-pop-empty {
  flex: 1;
  min-width: 0;
}

.map-pop-silo {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 40px;
  padding: 8px 12px 8px 2px;
}

.map-pop-silo-tank {
  position: relative;
  flex: 1;
  width: 18px;
  min-height: 72px;
  overflow: hidden;
  border: 1px solid rgb(var(--c-line) / 0.18);
  border-radius: 7px 7px 4px 4px;
  background: rgb(var(--c-line) / 0.05);
}

.map-pop-silo-tank > span {
  position: absolute;
  inset: auto 0 0;
  height: var(--fill);
  background: linear-gradient(to top, var(--silo), color-mix(in srgb, var(--silo) 70%, white));
  transition: height 0.4s ease;
}

.map-pop-silo-tank::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to top, transparent 0 calc(25% - 1px), rgb(var(--c-line) / 0.16) calc(25% - 1px) 25%);
  pointer-events: none;
}

.device-card-icon {
  display: grid;
  flex: none;
  place-items: center;
  color: var(--dc);
}

.device-card-icon svg {
  width: 18px;
  height: 18px;
}

:root[data-theme="light"] .device-card-icon {
  color: color-mix(in srgb, var(--dc) 70%, rgb(var(--c-fg)));
}

.device-card .map-pop-silo {
  width: 34px;
  padding: 0;
}

.device-card .map-pop-silo-tank {
  min-height: 48px;
}

.thermo {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 34px;
}

.thermo-glass {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
}

.thermo-tube {
  position: relative;
  flex: 1;
  width: 10px;
  min-height: 36px;
  margin-bottom: -4px;
  overflow: hidden;
  border: 1px solid rgb(var(--c-line) / 0.18);
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  background: rgb(var(--c-line) / 0.05);
}

.thermo-tube > span {
  position: absolute;
  inset: auto 0 0;
  height: calc(var(--fill) + 4px);
  background: var(--thermo);
  transition: height 0.4s ease;
}

.thermo-tube::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to top, transparent 0 calc(20% - 1px), rgb(var(--c-line) / 0.16) calc(20% - 1px) 20%);
  pointer-events: none;
}

.thermo-bulb {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1px solid color-mix(in srgb, var(--thermo) 60%, transparent);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--thermo) 60%, white), var(--thermo) 70%);
}

.thermo-val {
  color: var(--thermo);
  font-size: 10.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.map-pop-silo-pct {
  color: var(--silo);
  font-size: 10.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.map-pop-empty {
  padding: 12px;
  color: rgb(var(--c-muted));
  text-align: center;
}

.map-pop-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 9px;
  border-top: 1px solid rgb(var(--c-line) / 0.08);
  color: rgb(var(--c-muted));
  font-size: 10.5px;
}

.device-card.is-active {
  border-color: rgb(var(--c-sand) / 0.6);
  box-shadow: 0 0 0 1px rgb(var(--c-sand) / 0.35);
}

.device-card[data-status="offline"] {
  opacity: 0.45;
  filter: grayscale(1) brightness(0.6);
  transition: opacity 0.15s, filter 0.15s;
}

.device-card[data-status="offline"]:hover,
.device-card[data-status="offline"].is-active {
  opacity: 0.75;
  filter: grayscale(1) brightness(0.8);
}

.map-pop-detail {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  border: 1px solid rgb(var(--c-line) / 0.14);
  padding: 3px 9px;
  color: rgb(var(--c-fg));
  font-size: 11px;
  font-weight: 500;
}

.map-pop-detail:hover {
  border-color: rgb(var(--c-sand) / 0.6);
  background: rgb(var(--c-sand) / 0.1);
}

.map-pop-detail svg {
  width: 12px;
  height: 12px;
}

.log-table th,
.log-table td {
  white-space: nowrap;
  padding: 6px 10px;
  text-align: right;
}

.log-table th:first-child,
.log-table td:first-child {
  position: sticky;
  left: 0;
  text-align: left;
  background: rgb(var(--c-sheet));
}

.log-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgb(var(--c-sheet));
  font-weight: 500;
  color: rgb(var(--c-muted));
}

.log-table thead th:first-child {
  z-index: 2;
}

.log-table tbody tr {
  border-top: 1px solid rgb(var(--c-line) / 0.06);
}

/* flatpickr (log sheet date pickers) in the app's theme colours. */
.flatpickr-calendar {
  background: rgb(var(--c-panel));
  border: 1px solid rgb(var(--c-line) / 0.12);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.35);
  color: rgb(var(--c-fg));
  font-family: inherit;
}
.flatpickr-calendar.arrowTop::before,
.flatpickr-calendar.arrowTop::after {
  border-bottom-color: rgb(var(--c-panel));
}
.flatpickr-calendar.arrowBottom::before,
.flatpickr-calendar.arrowBottom::after {
  border-top-color: rgb(var(--c-panel));
}
.flatpickr-months .flatpickr-month,
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year,
span.flatpickr-weekday {
  background: transparent;
  color: rgb(var(--c-fg));
  fill: rgb(var(--c-fg));
}
.flatpickr-current-month {
  font-size: 14px;
}
.flatpickr-current-month .flatpickr-monthDropdown-months option {
  background: rgb(var(--c-panel));
  color: rgb(var(--c-fg));
}
span.flatpickr-weekday {
  color: rgb(var(--c-muted));
  font-weight: 500;
}
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  color: rgb(var(--c-soft));
  fill: rgb(var(--c-soft));
}
.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
  fill: rgb(var(--c-sand));
}
.flatpickr-day {
  color: rgb(var(--c-fg));
}
.flatpickr-day:hover,
.flatpickr-day:focus {
  background: rgb(var(--c-line) / 0.08);
  border-color: transparent;
}
.flatpickr-day.today {
  border-color: rgb(var(--c-sand) / 0.6);
}
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: rgb(var(--c-accent));
  border-color: rgb(var(--c-accent));
  color: rgb(var(--c-on-accent));
}
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  color: rgb(var(--c-muted) / 0.45);
}
.flatpickr-calendar.hasTime .flatpickr-time {
  border-top: 1px solid rgb(var(--c-line) / 0.1);
}
.flatpickr-time input,
.flatpickr-time .flatpickr-time-separator {
  color: rgb(var(--c-fg));
}
.flatpickr-time input:hover,
.flatpickr-time input:focus,
.numInputWrapper:hover {
  background: rgb(var(--c-line) / 0.06);
}
.numInputWrapper span.arrowUp::after {
  border-bottom-color: rgb(var(--c-soft));
}
.numInputWrapper span.arrowDown::after {
  border-top-color: rgb(var(--c-soft));
}

.map-pop-arrow {
  position: absolute;
  left: var(--ax, 50%);
  width: 12px;
  height: 12px;
  background: rgb(var(--c-panel));
  border: 1px solid rgb(var(--c-line) / 0.12);
  transform: translateX(-50%) rotate(45deg);
}

.map-pop[data-place="top"] .map-pop-arrow {
  bottom: -7px;
  border-top: 0;
  border-left: 0;
}

.map-pop[data-place="bottom"] .map-pop-arrow {
  top: -7px;
  border-bottom: 0;
  border-right: 0;
}

@keyframes ed-halo {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(2.4);
  }
}

@keyframes ed-flash {
  50% {
    opacity: 0.25;
  }
}

@keyframes pulse-critical {
  50% {
    fill: rgba(227, 93, 93, 0.62);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hotspot[data-status="CRITICAL"],
  .ed-dot-halo,
  .ed-badge,
  .ed-flash {
    animation: none;
  }
  .drawer,
  body {
    transition: none;
  }
}
