
/* The cash and pool month ledgers are calendars 1,800px wide: on a phone that is a
   strip of numbers you drag sideways with the date scrolled out of sight. In a
   narrow Front Desk workspace each day becomes a card with every figure named.
   Container query, not a viewport one: the workspace is narrower at 1200px than
   at 768px. The table keeps its own display so a hidden sheet stays hidden; only
   the rows and cells are restacked. Labels are positional, so they are written
   per table and pinned by scripts/tests/ledger-phone-cards.test.js. */
@container bpops (max-width:720px){
 body #view-operationsmode [data-ops-panel="cash"] .bp-month-ledger-wrap,body #view-operationsmode .bp-pool-consolidated-wrap{max-height:none!important;overflow:visible!important;border:0!important;background:transparent!important;padding:0!important}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger{width:100%!important;min-width:0!important;border:0!important;border-spacing:0!important;font-size:13px!important;background:transparent!important}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger colgroup,body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger thead{display:none!important}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody{display:block!important}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody tr{display:grid!important;gap:0 12px;border:1px solid #cbd8e5;border-radius:12px;background:#fff;margin:0 0 10px;padding:10px 12px}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td{display:block!important;position:static!important;width:auto!important;min-width:0!important;height:auto!important;border:0!important;border-top:1px solid #eef2f6!important;padding:6px 0!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere;font-size:13px!important;line-height:1.35!important}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td::before{display:block;font-size:11px;line-height:1.3;color:#526c84;font-weight:500;text-transform:none;letter-spacing:0}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:empty{display:none!important}
 body #view-operationsmode table.bp-pool-consolidated-view{width:100%!important;min-width:0!important;border:0!important;border-spacing:0!important;font-size:13px!important;background:transparent!important}
 body #view-operationsmode table.bp-pool-consolidated-view colgroup,body #view-operationsmode table.bp-pool-consolidated-view thead{display:none!important}
 body #view-operationsmode table.bp-pool-consolidated-view tbody{display:block!important}
 body #view-operationsmode table.bp-pool-consolidated-view tbody tr{display:grid!important;gap:0 12px;border:1px solid #cbd8e5;border-radius:12px;background:#fff;margin:0 0 10px;padding:10px 12px}
 body #view-operationsmode table.bp-pool-consolidated-view tbody td{display:block!important;position:static!important;width:auto!important;min-width:0!important;height:auto!important;border:0!important;border-top:1px solid #eef2f6!important;padding:6px 0!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere;font-size:13px!important;line-height:1.35!important}
 body #view-operationsmode table.bp-pool-consolidated-view tbody td::before{display:block;font-size:11px;line-height:1.3;color:#526c84;font-weight:500;text-transform:none;letter-spacing:0}
 body #view-operationsmode table.bp-pool-consolidated-view tbody td:empty{display:none!important}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td{background:transparent!important}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody tr{grid-template-columns:repeat(2,minmax(0,1fr))}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody th{grid-column:1/-1;display:block!important;position:static!important;width:auto!important;text-align:left!important;font-size:15px!important;font-weight:600!important;background:transparent!important;border:0!important;padding:0 0 6px!important;color:#173b63}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody tr:not(:has(td:not(:empty)))::after{content:"No counts recorded";grid-column:1/-1;font-size:12px;color:#68778c}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td.bp-cash-ledger-value:empty::after{content:none!important}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(2)::before{content:"AM · In"}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(3)::before{content:"AM · Out"}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(4)::before{content:"AM · Prior variance"}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(5)::before{content:"AM · Variance"}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(6)::before{content:"AM · Counted by"}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(7)::before{content:"AM · Drop"}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(6),body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(7){grid-column:1/-1}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(8)::before{content:"PM · In"}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(9)::before{content:"PM · Out"}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(10)::before{content:"PM · Prior variance"}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(11)::before{content:"PM · Variance"}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(12)::before{content:"PM · Counted by"}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(13)::before{content:"PM · Drop"}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(12),body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(13){grid-column:1/-1}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(14)::before{content:"Night · In"}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(15)::before{content:"Night · Out"}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(16)::before{content:"Night · Prior variance"}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(17)::before{content:"Night · Variance"}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(18)::before{content:"Night · Counted by"}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(19)::before{content:"Night · Drop"}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(18),body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(19){grid-column:1/-1}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(20)::before{content:"Card receipts"}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(21)::before{content:"Paid out"}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(22)::before{content:"Notes"}
 body #view-operationsmode [data-ops-panel="cash"] .bp-cash-month-ledger tbody td:nth-child(22){grid-column:1/-1}
 body #view-operationsmode table.bp-pool-consolidated-view tbody tr{grid-template-columns:repeat(3,minmax(0,1fr))}
 body #view-operationsmode table.bp-pool-consolidated-view tbody tr td{background-clip:padding-box}
 body #view-operationsmode table.bp-pool-consolidated-view tbody td.bp-pc-date{grid-column:1/-1;font-size:15px!important;font-weight:600;border-top:0!important;padding:0 0 6px!important;background:transparent!important;color:#173b63}
 body #view-operationsmode table.bp-pool-consolidated-view tbody td.bp-pc-maint,body #view-operationsmode table.bp-pool-consolidated-view tbody td.bp-pc-safety,body #view-operationsmode table.bp-pool-consolidated-view tbody td.bp-pc-facility,body #view-operationsmode table.bp-pool-consolidated-view tbody td.bp-pc-remarks{grid-column:1/-1}
 body #view-operationsmode table.bp-pool-consolidated-view tbody td.bp-pc-test{padding:6px!important;border-radius:8px}
 body #view-operationsmode table.bp-pool-consolidated-view tbody td.bp-pc-maint::before{content:"Care / bathers"}
 body #view-operationsmode table.bp-pool-consolidated-view tbody td.bp-pc-test:nth-child(3)::before{content:"Test 1"}
 body #view-operationsmode table.bp-pool-consolidated-view tbody td.bp-pc-test:nth-child(4)::before{content:"Test 2"}
 body #view-operationsmode table.bp-pool-consolidated-view tbody td.bp-pc-test:nth-child(5)::before{content:"Test 3"}
 body #view-operationsmode table.bp-pool-consolidated-view tbody td.bp-pc-safety::before{content:"Safety"}
 body #view-operationsmode table.bp-pool-consolidated-view tbody td.bp-pc-facility::before{content:"Drain / gate"}
 body #view-operationsmode table.bp-pool-consolidated-view tbody td.bp-pc-remarks::before{content:"Remarks"}
}
