/* v2.99.195 — Master dashboard SAPAAD: status LED only and aligned sales figures.
   Keeps the v194 four heading bars, two-column grid, amounts, and live status feed intact.
   The POS state text remains in the DOM for accessibility, but is visually suppressed. */
body.app-master .snapshot .bc-reference-master-v191 .sapaad-pos-half {
  position: relative !important;
}
body.app-master .snapshot .bc-reference-master-v191 .sapaad-pos-half > .sapaad-state {
  position: absolute !important;
  top: calc(var(--bc194-heading-height, 39px) + 10px) !important;
  right: 9px !important;
  left: auto !important;
  align-self: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  max-width: 14px !important;
  min-height: 14px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  letter-spacing: 0 !important;
  gap: 0 !important;
  overflow: visible !important;
  white-space: nowrap !important;
  z-index: 5 !important;
}
body.app-master .snapshot .bc-reference-master-v191 .sapaad-pos-half > .sapaad-state[hidden] {
  display: none !important;
}
body.app-master .snapshot .bc-reference-master-v191 .sapaad-pos-half > .sapaad-state > i {
  display: block !important;
  flex: none !important;
  width: 11px !important;
  height: 11px !important;
  border-radius: 50% !important;
  background: #de292d !important;
  box-shadow: 0 0 0 2px #fff9eb, 0 0 0 3px #d14d4d, 0 0 8px #d51c2eaa !important;
  animation: bc195-status-pulse 1.6s ease-in-out infinite !important;
}
body.app-master .snapshot .bc-reference-master-v191 .sapaad-pos-half > .sapaad-state.received > i {
  background: #0bc456 !important;
  box-shadow: 0 0 0 2px #fff9eb, 0 0 0 3px #40a66e, 0 0 8px #0cca65aa !important;
}
@keyframes bc195-status-pulse {
  0%, 100% { opacity: 1; filter: brightness(1); }
  50% { opacity: .38; filter: brightness(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  body.app-master .snapshot .bc-reference-master-v191 .sapaad-pos-half > .sapaad-state > i {
    animation: none !important;
    opacity: 1 !important;
  }
}
/* Amounts now follow the exact same flow and vertical spacing in both tiles.
   The LED is positioned out of the layout flow and cannot push POS sales down. */
body.app-master .snapshot .bc-reference-master-v191 .sapaad-outlet-half > strong[data-live-outlet-sale],
body.app-master .snapshot .bc-reference-master-v191 .sapaad-pos-half > strong[data-live-pos-sale] {
  margin: 2px 0 0 !important;
  align-self: stretch !important;
  flex: none !important;
  line-height: 1.14 !important;
}
@media (max-width: 355px) {
  body.app-master .snapshot .bc-reference-master-v191 .sapaad-pos-half > .sapaad-state {
    right: 5px !important;
  }
}
