/* v2.99.191 — Master dashboard reference-matched visuals ONLY.
   Existing API/data bindings, target mathematics, modal controls and outlet layout are untouched.
   Preserve existing six-column grid, full-width sales/compliance and paired financial footprints. */
body.app-master .snapshot .snapshot-grid.bc-reference-master-v191{
 --ref-maroon:#79001e;--ref-deep:#42000e;--ref-gold:#e8b642;--ref-cream:#fff7e9;--ref-ink:#510c1f;
 gap:12px!important;padding:9px!important;background:transparent!important;
 grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
body.app-master .snapshot .bc-reference-master-v191>.previous-day-sales.sapaad-split-card{
 grid-column:1/-1!important;grid-row:1!important;
 min-width:0!important;box-sizing:border-box!important;
 padding:0 13px 10px!important;gap:9px!important;
 display:flex!important;flex-direction:column!important;
 border:4px solid #e0a126!important;border-radius:25px!important;
 background:linear-gradient(145deg,#fffdfa 0%,#fff3db 67%,#fce9c6 100%)!important;
 box-shadow:inset 0 0 0 2px #fff8dc,0 5px 0 #bb7820,0 9px 18px #5b260b32!important;
 color:var(--ref-ink)!important;overflow:hidden;
}
body.app-master .bc-reference-master-v191 .sapaad-split-head{
 position:relative;display:flex!important;align-items:center!important;
 min-height:77px!important;margin:0 -13px!important;padding:10px 25px!important;
 background:linear-gradient(123deg,#690018 0%,#930322 53%,#470011 100%)!important;
 border-radius:19px 19px 46% 6% / 16px 16px 18px 10px;
 border-bottom:5px solid #efb436!important;box-shadow:0 3px 0 #fff4c0;
 color:#fff!important;gap:15px!important;overflow:hidden;
}
body.app-master .bc-reference-master-v191 .sapaad-split-calendar{
 width:58px!important;height:58px!important;border-radius:17px!important;flex:none!important;
 display:grid!important;place-items:center!important;background:linear-gradient(#fffdea,#ffe0a3 76%,#dba32f)!important;
 border:3px solid #f9c760!important;box-shadow:0 4px 0 #9d5e10,0 5px 9px #10000075,inset 0 0 0 2px #fff9e3!important;
 color:#8f001d!important;
}
body.app-master .bc-reference-master-v191 .sapaad-split-calendar svg{width:36px!important;height:36px!important}
body.app-master .bc-reference-master-v191 .sapaad-split-title{
 padding-left:14px;border-left:2px solid #ffdf88;z-index:2;position:relative;max-width:calc(100% - 75px);
}
body.app-master .bc-reference-master-v191 .sapaad-split-title b{
 font-family:Calibri,Arial,sans-serif!important;text-transform:none!important;letter-spacing:.007em!important;
 color:#fff!important;font-size:clamp(20px,3vw,36px)!important;font-weight:900!important;line-height:1.08!important;
}
body.app-master .bc-reference-master-v191 .sapaad-split-title small{
 font-family:Calibri,Arial,sans-serif!important;color:#ffe3a2!important;
 font-size:clamp(11px,1.35vw,18px)!important;font-weight:700!important;line-height:1.15!important;
}
body.app-master .bc-reference-growth{position:absolute;right:27px;top:8px;z-index:1;width:min(18%,145px);height:70px;color:#ffd262;pointer-events:none;opacity:.9}
body.app-master .bc-reference-growth svg{display:block;width:100%;height:100%}
body.app-master .bc-reference-master-v191 .sapaad-split-halves{
 flex:1!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 display:grid!important;gap:12px!important;padding:5px 0 1px!important;
}
body.app-master .bc-reference-master-v191 .sapaad-split-half{
 color:var(--ref-ink)!important;background:linear-gradient(140deg,#fffdf9,#fff8eb 65%,#fff0d4)!important;
 border:3px double #e0ad45!important;border-radius:22px!important;padding:11px 12px 13px!important;
 gap:9px!important;box-shadow:0 3px 0 #bb842d,0 7px 10px #7c381a32,inset 0 2px 0 #fff!important;
 min-height:0!important;justify-content:flex-start!important;overflow:hidden!important;
}
body.app-master .bc-reference-master-v191 .sapaad-split-half::before{display:none!important}
body.app-master .bc-reference-master-v191 .sapaad-half-heading{
 align-items:center!important;gap:7px!important;flex-wrap:wrap!important;
 display:flex!important;box-sizing:border-box!important;
 background:linear-gradient(175deg,#ac002e,#670015 65%,#3c000d)!important;
 border:2px solid #edb741!important;border-bottom:4px solid #b47818!important;border-radius:40px!important;
 box-shadow:0 3px 6px #480b1d45!important;color:#fff!important;
 padding:6px 13px 6px 8px!important;text-transform:uppercase!important;
 font-family:Calibri,Arial,sans-serif!important;font-size:clamp(10px,1.45vw,19px)!important;letter-spacing:.018em!important;
 font-weight:900!important;line-height:1.08!important;min-height:41px;
}
body.app-master .bc-reference-master-v191 .sapaad-half-icon{
 border:2px solid #fbd279!important;width:33px!important;height:33px!important;
 border-radius:50%!important;flex:none!important;color:#ffe091!important;background:transparent!important;
 font-size:22px!important;box-shadow:0 0 0 2px #820021!important;
}
body.app-master .bc-reference-master-v191 .sapaad-state{
 color:#75420d!important;background:linear-gradient(#fff1b5,#fbd477)!important;
 border:1px solid #d79513!important;border-radius:999px!important;
 font-size:clamp(9px,.9vw,13px)!important;letter-spacing:0!important;
 padding:3px 7px!important;text-transform:none!important;white-space:nowrap;
}
body.app-master .bc-reference-master-v191 .sapaad-state i{background:#ce7610!important}
body.app-master .bc-reference-master-v191 .sapaad-state.received{color:#086339!important;background:linear-gradient(#e2ffe2,#acf0c7)!important;border-color:#58a873!important}
body.app-master .bc-reference-master-v191 .sapaad-state.received i{background:#078d4b!important}
body.app-master .bc-reference-master-v191 .sapaad-split-half>strong{
 color:#670017!important;font-family:Georgia,'Times New Roman',serif!important;
 font-size:clamp(17px,3.3vw,44px)!important;font-weight:900!important;
 line-height:1.1!important;white-space:nowrap!important;overflow-wrap:normal!important;
 letter-spacing:-.035em!important;margin:1px 0!important;
}
body.app-master .bc-reference-master-v191 .sapaad-half-sub{margin:0!important;font-size:clamp(10px,1.2vw,14px)!important;color:#654233!important}
body.app-master .bc-reference-master-v191 .sales-change{
 background:linear-gradient(#fff2e7,#fbd6d4)!important;color:#8f092b!important;
 border-radius:12px!important;padding:7px 12px!important;font-weight:650!important;
 font-size:clamp(10px,1.12vw,15px)!important;margin:0!important;
}
body.app-master .bc-reference-master-v191 .sales-change.negative,body.app-master .bc-reference-master-v191 .sales-change.negative b{color:#b31534!important}
body.app-master .bc-reference-master-v191 .sales-change.positive,body.app-master .bc-reference-master-v191 .sales-change.positive b{color:#087544!important;background:#d1f6d5!important}
body.app-master .bc-reference-master-v191 .sapaad-split-half>small[data-live-pos-date]{
 color:#4c3024!important;font-weight:650!important;font-size:clamp(10px,1vw,13px)!important;
 padding-top:5px;border-top:1px solid #d8b475!important;
}
body.app-master .bc-reference-master-v191 .bc-sales-tap-hint{
 position:static!important;align-self:stretch!important;order:10!important;
 min-height:26px!important;margin-top:auto!important;
 background:linear-gradient(#b6083c,#770016 60%,#50000e)!important;
 border:2px solid #efbf58!important;border-bottom:3px solid #b7791b!important;
 border-radius:50px!important;box-shadow:0 3px 0 #995719,0 5px 8px #0003!important;
 justify-content:center!important;color:#fff!important;text-align:center!important;
 font-size:clamp(10px,1.2vw,15px)!important;padding:2px 7px!important;
}
body.app-master .bc-reference-master-v191 .bc-sales-tap-label{color:#fff!important;font-weight:900!important}
body.app-master .bc-reference-master-v191 .bc-sales-tap-arrow{color:#fff!important}
body.app-master .bc-reference-master-v191 .sapaad-mini-bars{right:14px;bottom:43px;opacity:.08}
body.app-master .bc-reference-master-v191 .sapaad-split-footer{
 padding:0 4px!important;min-height:0!important;display:flex;justify-content:flex-end!important;gap:12px!important;
 border:0!important;background:transparent!important;color:#7c0b27!important;
}
body.app-master .bc-reference-master-v191 .sapaad-split-footer>*{
 color:#8b0a2b!important;font-size:10px!important;text-decoration:none!important;padding:2px 4px!important;
 min-height:0!important;
}
/* Financial Analytics: keep the paired-card grid footprint, now with a shared reference banner. */
body.app-master .snapshot .bc-reference-master-v191>.bc-reference-financial-v191{
 grid-column:1/-1!important;grid-row:2!important;min-width:0!important;
 box-sizing:border-box!important;position:relative;overflow:hidden;
 display:flex;flex-direction:column;gap:8px;padding:0 11px 11px;
 background:linear-gradient(140deg,#fffdf7,#fff0d3)!important;
 border:4px solid #e0a126;border-radius:25px;
 box-shadow:inset 0 0 0 2px #fff8df,0 5px 0 #b67a1e,0 9px 18px #6b3b1130;
}
body.app-master .bc-reference-financial-head{
 position:relative;min-height:64px;display:flex;align-items:center;gap:14px;
 margin:0 -11px;padding:9px 24px;overflow:hidden;
 border-bottom:5px solid #e9b841;border-radius:19px 19px 45% 7% / 13px 13px 17px 12px;
 background:linear-gradient(120deg,#630014,#920321 56%,#45000b);
 color:white;font:900 clamp(20px,2.8vw,36px)/1.07 Calibri,Arial,sans-serif;
}
body.app-master .bc-reference-financial-head>span:nth-child(2){position:relative;z-index:2}
body.app-master .bc-finance-head-icon{
 display:grid;place-items:center;flex:none;width:48px;height:48px;
 border-radius:16px;border:3px solid #e8bb58;background:linear-gradient(#fff8d8,#eec05c);
 color:#88051f;box-shadow:0 4px 0 #b07b20,inset 0 1px 3px white;
}
body.app-master .bc-finance-head-icon svg{width:30px;height:30px}
body.app-master .bc-reference-finance-growth{top:3px;right:20px;width:min(17%,135px);height:62px}
body.app-master .bc-reference-financial-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;min-width:0;flex:1}
body.app-master .bc-reference-financial-pair:not(:has(>.breakeven)){grid-template-columns:minmax(0,1fr)}
body.app-master .snapshot .bc-reference-financial-pair>.metric.master-kpi-card{
 order:2;position:relative!important;min-width:0!important;
 background:linear-gradient(145deg,#fffefa 0%,#fff8ec 62%,#ffefcd 100%)!important;
 border:3px solid #e3b249!important;border-bottom:5px solid #c88a25!important;
 border-radius:21px!important;color:#67001b!important;
 box-shadow:inset 0 0 0 2px #fffdf0,0 4px 0 #bb7c25,0 7px 11px #4f110c2e!important;
 padding:58px 12px 10px!important;min-height:0!important;
 gap:5px!important;display:flex!important;flex-direction:column!important;
 justify-content:flex-start!important;text-align:left!important;
}
body.app-master .snapshot .bc-reference-financial-pair>.breakeven{order:1!important}
body.app-master .snapshot .bc-reference-financial-pair>.metric.master-kpi-card>span:not(.trend-badge){
 position:absolute!important;left:6px!important;right:6px!important;top:6px!important;
 min-height:39px;box-sizing:border-box;display:flex;align-items:center;
 padding:7px 8px 7px 51px!important;border-radius:38px;
 color:#fff!important;text-align:left!important;text-transform:uppercase!important;
 font:900 clamp(11px,1.6vw,22px)/1.1 Calibri,Arial,sans-serif!important;
 letter-spacing:.012em!important;background:linear-gradient(#a10231,#6a0019 65%,#46000c)!important;
 border:2px solid #dfab41!important;box-shadow:0 3px 0 #b67f23,0 4px 6px #41132948!important;
}
body.app-master .snapshot .bc-reference-financial-pair>.metric.master-kpi-card>.ui-icon{
 position:absolute!important;top:8px!important;left:12px!important;z-index:2;
 width:30px!important;height:30px!important;box-sizing:border-box!important;padding:4px!important;
 color:#ffe396!important;background:transparent!important;border:2px solid #f6d37b!important;
 border-radius:50%!important;box-shadow:0 0 0 2px #79001b!important;
}
body.app-master .snapshot .bc-reference-financial-pair>.metric.master-kpi-card>strong{
 color:#640015!important;font:900 clamp(18px,3.1vw,41px)/1.08 Georgia,serif!important;
 letter-spacing:-.045em!important;margin:0!important;white-space:nowrap!important;
 overflow-wrap:normal!important;min-height:0!important;
}
body.app-master .snapshot .bc-reference-financial-pair>.metric.master-kpi-card>small{
 color:#332a26!important;font:500 clamp(10px,1.35vw,17px)/1.3 Calibri,Arial,sans-serif!important;
 min-height:0!important;margin:0!important;
}
body.app-master .snapshot .bc-reference-financial-pair>.metric.master-kpi-card .target-progress{
 width:100%!important;height:13px!important;min-height:13px!important;
 border:2px solid #c49139!important;border-radius:15px!important;background:#fae7c6!important;
 box-shadow:inset 0 2px 5px #955b2040,0 2px 3px #ad7d2933!important;margin:6px 0!important;
}
body.app-master .snapshot .bc-reference-financial-pair>.metric.master-kpi-card .target-progress>i{
 background:linear-gradient(#b7ff57 0%,#16c72c 40%,#009b29 100%)!important;
 box-shadow:inset 0 2px 2px #ffffff99,inset 0 -3px 2px #066b18aa!important;border-radius:inherit!important;
}
body.app-master .snapshot .bc-reference-financial-pair>.metric.master-kpi-card>.metric-detail-note{
 color:#48332f!important;font-size:clamp(10px,1.13vw,15px)!important;
 margin:0!important;padding:7px 0!important;border-top:1px solid #d4b580!important;
}
body.app-master .snapshot .bc-reference-financial-pair>.metric.master-kpi-card>em{
 display:flex!important;align-items:center!important;justify-content:center!important;
 font:900 clamp(12px,1.3vw,18px)/1.2 Calibri,Arial,sans-serif!important;
 text-align:center!important;font-style:normal!important;
 color:#fff!important;background:linear-gradient(#b2083d,#75001a 62%,#43000e)!important;
 border:3px solid #e4b148!important;border-bottom:4px solid #b47a1c!important;
 border-radius:40px!important;box-shadow:0 3px 0 #b07821,0 5px 8px #32111d35!important;
 min-height:31px!important;padding:6px 9px!important;margin-top:auto!important;
 width:100%!important;box-sizing:border-box!important;align-self:stretch!important;max-width:none!important;
}
body.app-master .snapshot .bc-reference-financial-pair>.metric.master-kpi-card>em b{display:inline-block!important;background:none!important;color:#fff!important;box-shadow:none!important;margin-left:9px!important;width:auto!important;line-height:1!important;font-size:20px!important}
body.app-master .snapshot .bc-reference-master-v191>.summary-compliance{
 grid-column:1/-1!important;grid-row:3!important;
 box-sizing:border-box!important;margin:0!important;min-height:0!important;
 padding:0 12px 11px!important;position:relative!important;gap:8px!important;
 border:4px solid #e4b32b!important;border-radius:23px!important;
 background:linear-gradient(140deg,#fffefa,#fff4df 65%,#ffebc2)!important;
 color:#67001c!important;overflow:hidden;
 box-shadow:inset 0 0 0 2px #fffae5,0 4px 0 #bd8527,0 8px 14px #5b200b30!important;
}
body.app-master .snapshot .bc-reference-master-v191>.summary-compliance>span{
 display:flex!important;align-items:center!important;box-sizing:border-box!important;
 margin:0 -12px 0!important;min-height:58px!important;padding:9px 170px 9px 73px!important;
 color:#fff!important;letter-spacing:.02em!important;font:900 clamp(17px,2.5vw,32px)/1.05 Calibri,Arial,sans-serif!important;
 text-transform:uppercase!important;
 background:linear-gradient(120deg,#6e001b,#8e0327 70%,#460010)!important;
 border-bottom:5px solid #e9b743!important;border-radius:17px 17px 45% 5% / 12px 12px 13px 9px;
}
body.app-master .snapshot .bc-reference-master-v191>.summary-compliance>span:before{
 top:10px!important;left:18px!important;width:43px!important;height:43px!important;
 border:2px solid #edb74b!important;border-radius:14px!important;
 content:'▤'!important;background:linear-gradient(#fff8e6,#f3cb76)!important;
 box-shadow:0 3px 0 #a16d15!important;color:#8c1324!important;font-size:29px!important;
}
body.app-master .snapshot .bc-reference-master-v191>.summary-compliance>.compliance-live-bar{
 right:19px!important;top:12px!important;gap:8px!important;
}
body.app-master .bc-reference-master-v191 .summary-compliance .live-state{
 padding:7px 11px!important;border:2px solid #eebd5d!important;border-radius:30px!important;
 background:linear-gradient(#075322,#00832e)!important;color:#fff!important;
 box-shadow:0 3px 0 #7c5812!important;font-size:12px!important;
}
body.app-master .bc-reference-master-v191 .summary-compliance .live-state:before{background:#04ff2c!important;box-shadow:0 0 3px #8aff52!important}
body.app-master .bc-reference-master-v191 .summary-compliance .compliance-live-bar button{
 padding:7px 12px!important;background:#640019!important;color:#fff!important;
 border:2px solid #e9b74c!important;border-radius:30px!important;font-size:11px!important;
}
body.app-master .snapshot .bc-reference-master-v191 .summary-compliance>.compliance-tabs{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:9px!important;margin:7px 0 2px!important;width:100%!important;
}
body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .compliance-tabs>button{
 position:relative!important;display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;
 grid-template-rows:auto auto!important;align-items:center!important;gap:0 8px!important;
 padding:8px!important;min-height:70px!important;
 background:linear-gradient(135deg,#fffefa,#fff3d9)!important;color:#560012!important;
 border:3px double #ebb346!important;border-radius:18px!important;
 box-shadow:inset 0 0 0 1px #fffef3,0 3px 0 #ba8327,0 4px 6px #72341a26!important;
}
body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .compliance-tabs>button>i{
 grid-column:1!important;grid-row:1/3!important;display:grid!important;place-items:center!important;
 width:40px!important;height:40px!important;
 border:2px solid #d29b35!important;border-radius:50%!important;
 color:#fff!important;background:linear-gradient(#bc0029,#790019)!important;
 box-shadow:0 2px 3px #5b271a33!important;font-size:28px!important;
}
body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .compliance-tabs>button.completed>i{background:linear-gradient(#40ec42,#00821a)!important}
body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .compliance-tabs>button>b{
 grid-column:2!important;grid-row:1!important;align-self:end!important;
 font:900 clamp(20px,3.1vw,41px)/1 Calibri,Arial,sans-serif!important;
 text-align:left!important;color:#8b001a!important;
}
body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .compliance-tabs>button.completed>b{color:#086722!important}
body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .compliance-tabs>button.missed>b{color:#b6001c!important}
body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .compliance-tabs>button>small{
 grid-column:2!important;grid-row:2!important;align-self:start!important;
 color:#3a2b24!important;font:800 clamp(8px,1.15vw,15px)/1.08 Calibri,Arial,sans-serif!important;
 text-align:left!important;letter-spacing:0!important;
}
body.app-master .snapshot .bc-reference-master-v191 .summary-compliance>.compliance-view-all{
 width:100%!important;min-height:33px!important;box-sizing:border-box!important;
 justify-content:center!important;align-self:stretch!important;margin:3px 0 0!important;
 padding:5px 8px!important;color:#fff!important;
 background:linear-gradient(#bd0031,#710019 65%,#48000c)!important;
 border:3px solid #efbf52!important;border-bottom:4px solid #a8751e!important;
 border-radius:32px!important;box-shadow:0 3px 0 #b77a1c,0 5px 6px #531c1b33!important;
 font:900 clamp(12px,1.6vw,21px)/1.14 Calibri,Arial,sans-serif!important;
}
body.app-master .snapshot .bc-reference-master-v191 .summary-compliance>.compliance-view-all b{font-size:24px!important;margin-left:12px!important}
/* Keep controls usable and preserve the existing narrow-screen layout. */
@media(max-width:700px){
 body.app-master .snapshot .bc-reference-master-v191>.previous-day-sales.sapaad-split-card{padding:0 8px 9px!important;border-width:2px!important;border-radius:17px!important}
 body.app-master .bc-reference-master-v191 .sapaad-split-head{min-height:61px!important;margin:0 -8px!important;padding:8px 12px!important;gap:8px!important}
 body.app-master .bc-reference-master-v191 .sapaad-split-calendar{width:38px!important;height:38px!important;border-radius:11px!important;border-width:2px!important}
 body.app-master .bc-reference-master-v191 .sapaad-split-calendar svg{width:24px!important;height:24px!important}
 body.app-master .bc-reference-master-v191 .sapaad-split-title{padding-left:9px;max-width:calc(100% - 51px)}
 body.app-master .bc-reference-master-v191 .sapaad-split-title b{font-size:clamp(13px,3.7vw,23px)!important}
 body.app-master .bc-reference-master-v191 .sapaad-split-title small{font-size:clamp(9px,2.5vw,13px)!important}
 body.app-master .bc-reference-master-v191 .bc-reference-growth{width:64px;height:46px;top:6px;right:10px;opacity:.25}
 body.app-master .bc-reference-master-v191 .sapaad-split-halves{gap:8px!important;grid-template-columns:1fr!important;padding:2px 0!important}
 body.app-master .bc-reference-master-v191 .sapaad-split-half{gap:7px!important;padding:8px!important;border-width:2px!important;border-radius:15px!important}
 body.app-master .bc-reference-master-v191 .sapaad-half-heading{font-size:13px!important;min-height:36px!important;padding:5px 8px!important}
 body.app-master .bc-reference-master-v191 .sapaad-split-half>strong{font-size:clamp(18px,6vw,29px)!important}
 body.app-master .bc-reference-master-v191 .bc-sales-tap-hint{min-height:27px!important}
 body.app-master .bc-reference-financial-head{min-height:55px;padding:8px 12px;font-size:clamp(15px,4vw,24px)}
 body.app-master .bc-finance-head-icon{width:35px;height:35px;border-width:2px}
 body.app-master .bc-finance-head-icon svg{width:22px;height:22px}
 body.app-master .bc-reference-financial-pair{grid-template-columns:1fr!important;gap:10px!important}
 body.app-master .snapshot .bc-reference-financial-pair>.metric.master-kpi-card{padding:57px 10px 10px!important;gap:4px!important}
 body.app-master .snapshot .bc-reference-financial-pair>.metric.master-kpi-card>strong{font-size:clamp(22px,5.2vw,30px)!important}
 body.app-master .snapshot .bc-reference-financial-pair>.metric.master-kpi-card>span:not(.trend-badge){font-size:15px!important}
 body.app-master .snapshot .bc-reference-master-v191>.summary-compliance{padding:0 8px 9px!important;border-width:2px!important;border-radius:15px!important}
 body.app-master .snapshot .bc-reference-master-v191>.summary-compliance>span{margin:0 -8px!important;padding:9px 95px 9px 46px!important;min-height:46px!important;font-size:clamp(12px,3.6vw,19px)!important}
 body.app-master .snapshot .bc-reference-master-v191>.summary-compliance>span:before{top:9px!important;left:10px!important;width:29px!important;height:29px!important;font-size:20px!important}
 body.app-master .snapshot .bc-reference-master-v191>.summary-compliance>.compliance-live-bar{top:9px!important;right:8px!important;gap:4px!important}
 body.app-master .bc-reference-master-v191 .summary-compliance .live-state{font-size:9px!important;padding:5px 6px!important}
 body.app-master .bc-reference-master-v191 .summary-compliance .compliance-live-bar button{font-size:9px!important;padding:5px 6px!important}
 body.app-master .snapshot .bc-reference-master-v191 .summary-compliance>.compliance-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .compliance-tabs>button{grid-template-columns:34px 1fr!important;min-height:67px!important;padding:7px!important;border-width:2px!important}
 body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .compliance-tabs>button>i{width:31px!important;height:31px!important;font-size:20px!important}
 body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .compliance-tabs>button>b{font-size:27px!important}
 body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .compliance-tabs>button>small{font-size:10px!important}
}
@media(max-width:370px){
 body.app-master .snapshot .bc-reference-master-v191 .sapaad-half-heading{font-size:11px!important}
 body.app-master .snapshot .bc-reference-master-v191 .sapaad-state{font-size:9px!important}
 body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .compliance-tabs>button>small{font-size:8.5px!important}
}
@media(prefers-reduced-motion:reduce){body.app-master .bc-reference-master-v191 *{animation:none!important}}

/* The supplied desktop references use a 1536×864 section footprint for the first two
   and 1536×535 for Compliance. Match those proportions without forcing fixed pixels. */
@media(min-width:901px){
 body.app-master .snapshot .bc-reference-master-v191>.previous-day-sales.sapaad-split-card{aspect-ratio:1536/864}
 body.app-master .snapshot .bc-reference-master-v191>.bc-reference-financial-v191{aspect-ratio:1536/864}
 body.app-master .snapshot .bc-reference-master-v191>.summary-compliance{aspect-ratio:1536/535}
}
@media(min-width:901px){
 body.app-master .snapshot .bc-reference-master-v191>.summary-compliance>span{min-height:69px!important}
 body.app-master .snapshot .bc-reference-master-v191 .summary-compliance>.compliance-tabs{margin-top:11px!important}
 body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .compliance-tabs>button{min-height:95px!important}
 body.app-master .snapshot .bc-reference-master-v191 .summary-compliance .compliance-tabs>button>b{font-size:clamp(29px,3.3vw,43px)!important}
 body.app-master .snapshot .bc-reference-master-v191 .summary-compliance>.compliance-view-all{min-height:43px!important;margin-top:auto!important}
}
@media(min-width:701px){
 /* The POS state belongs next to the amount, as in the supplied reference. */
 body.app-master .bc-reference-master-v191 .sapaad-pos-half .sapaad-state{
  position:absolute!important;top:42%!important;right:12px!important;
  z-index:3!important;max-width:43%;justify-content:center;
 }
}
