/* v2.99.196 — targeted Master KPI and Entry Compliance alignment.
   No changes to card order, dimensions, existing navigation, sales calculations or outlet pages. */
body.app-master .snapshot .bc-reference-master-v191 .sapaad-split-half > .sapaad-half-heading { position:relative!important; padding-right:22px!important; text-align:left!important; justify-content:flex-start!important; }
/* Both animated LEDs are now children of the title bars and are out of flex flow. */
body.app-master .snapshot .bc-reference-master-v191 .sapaad-split-half > .sapaad-half-heading > .sapaad-state,
body.app-master .snapshot .bc-reference-master-v191 .sapaad-split-half > .sapaad-half-heading > .bc196-outlet-led {
 position:absolute!important; top:50%!important; right:7px!important; left:auto!important; transform:translateY(-50%)!important;
 display:flex!important; align-items:center!important; justify-content:center!important;
 width:12px!important;height:12px!important;min-width:12px!important;max-width:12px!important;
 border:0!important;border-radius:50%!important;padding:0!important;margin:0!important;
 color:transparent!important;background:transparent!important;font-size:0!important;line-height:0!important;
 box-shadow:none!important;overflow:visible!important;z-index:5!important;
}
body.app-master .snapshot .bc-reference-master-v191 .sapaad-half-heading .sapaad-state[hidden]{display:none!important}
body.app-master .snapshot .bc-reference-master-v191 .sapaad-half-heading .sapaad-state>i,
body.app-master .snapshot .bc-reference-master-v191 .sapaad-half-heading .bc196-outlet-led>i{
 display:block!important;flex:none!important;width:10px!important;height:10px!important;
 border-radius:50%!important;background:#f02a35!important;
 box-shadow:0 0 0 2px #ffecca,0 0 8px 3px #ff344388!important;
 animation:bc196-pulse 1.5s ease-in-out infinite!important;
}
body.app-master .snapshot .bc-reference-master-v191 .sapaad-half-heading .sapaad-state.received>i,
body.app-master .snapshot .bc-reference-master-v191 .sapaad-half-heading .bc196-outlet-led.received>i{
 background:#1bdb55!important;box-shadow:0 0 0 2px #f3ffe9,0 0 9px 3px #0bef6488!important;
}
@keyframes bc196-pulse{0%,100%{opacity:1;filter:brightness(1)}50%{opacity:.37;filter:brightness(1.2)}}
/* Headings remain left aligned; monetary amounts and comparisons are centered. */
body.app-master .snapshot .bc-reference-master-v191 .sapaad-split-half>strong,
body.app-master .snapshot .bc-reference-master-v191 .sapaad-split-half>.sapaad-half-sub {
 display:block!important;align-self:stretch!important;width:100%!important;box-sizing:border-box!important;
 text-align:center!important;margin-left:auto!important;margin-right:auto!important;
}
body.app-master .snapshot .bc-reference-master-v191 .sapaad-split-half>strong,
body.app-master .snapshot .bc-reference-financial-pair>.metric.master-kpi-card>strong {
 font-family:Georgia,'Times New Roman',serif!important;font-variant-numeric:lining-nums tabular-nums!important;
 letter-spacing:-.038em!important;
}
body.app-master .snapshot .bc-reference-master-v191 .sapaad-split-half>.sapaad-half-sub .sales-change{max-width:100%!important;text-align:center!important}
body.app-master .snapshot .bc-reference-financial-pair>.metric.master-kpi-card>strong,
body.app-master .snapshot .bc-reference-financial-pair>.metric.master-kpi-card>small,
body.app-master .snapshot .bc-reference-financial-pair>.metric.master-kpi-card>.metric-detail-note {
 width:100%!important;box-sizing:border-box!important;text-align:center!important;
 margin-left:auto!important;margin-right:auto!important;
}
body.app-master .snapshot .bc-reference-financial-pair>.metric.master-kpi-card>span:not(.trend-badge){text-align:left!important;justify-content:flex-start!important}
/* Keep existing target bars the same width; their labels are centered, not the title bars. */
body.app-master .snapshot .bc-reference-master-v191 .summary-compliance>.compliance-tabs>button{
 position:relative!important;display:flex!important;flex-direction:column!important;
 align-items:center!important;justify-content:center!important;gap:5px!important;
 padding:8px 3px!important;text-align:center!important;
}
body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .compliance-tabs>button>i{display:none!important}
body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .compliance-tabs>button.completed>i{
 position:absolute!important;display:grid!important;place-items:center!important;
 top:6px!important;left:6px!important;transform:none!important;
 width:24px!important;height:24px!important;font-size:16px!important;
 border:2px solid #d8a843!important;border-radius:50%!important;
}
body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .compliance-tabs>button>b,
body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .compliance-tabs>button>small{
 display:block!important;align-self:center!important;grid-column:auto!important;grid-row:auto!important;
 width:100%!important;box-sizing:border-box!important;text-align:center!important;
 margin:0!important;padding:0!important;
}
body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .compliance-tabs>button>b{
 font-family:Georgia,'Times New Roman',serif!important;font-variant-numeric:tabular-nums!important;
 font-weight:900!important;line-height:1.05!important;
}
body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .compliance-tabs>button>small{
 font-family:Calibri,Arial,sans-serif!important;line-height:1.1!important;overflow-wrap:normal!important;
}
/* Live connection uses its existing polling engine: animate when healthy only. */
body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .live-state.bc196-live-active:before{
 animation:bc196-pulse 1.3s ease-in-out infinite!important;
}
@media(max-width:700px){
 body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .compliance-tabs>button.completed>i{
  width:15px!important;height:15px!important;font-size:11px!important;left:4px!important;top:4px!important;
 }
 body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .compliance-tabs>button{
  min-height:83px!important;padding:17px 2px 7px!important;gap:6px!important;
 }
 body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .compliance-tabs>button>b{font-size:clamp(21px,5.2vw,28px)!important;}
 body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .compliance-tabs>button>small{font-size:clamp(7px,1.9vw,9px)!important;}
}
@media(max-width:355px){
 body.app-master .snapshot .bc-reference-master-v191 .sapaad-split-half>.sapaad-half-heading{padding-right:16px!important;}
 body.app-master .snapshot .bc-reference-master-v191 .sapaad-split-half>.sapaad-half-heading>.sapaad-state,
 body.app-master .snapshot .bc-reference-master-v191 .sapaad-split-half>.sapaad-half-heading>.bc196-outlet-led{right:4px!important;}
 body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .compliance-tabs>button>small{font-size:6.8px!important;}
}
@media(prefers-reduced-motion:reduce){
 body.app-master .snapshot .bc-reference-master-v191 .sapaad-half-heading .sapaad-state>i,
 body.app-master .snapshot .bc-reference-master-v191 .sapaad-half-heading .bc196-outlet-led>i,
 body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .live-state.bc196-live-active:before{animation:none!important;opacity:1!important;}
}
