/* BOOTIES v9.12.0 · Cash Report source-of-truth UI */
/* System payment icons: bigger and placed to the RIGHT of the amount where space is available. */
.v9117-pay-amount{display:inline-flex;align-items:center;justify-content:flex-end;flex-direction:row-reverse;gap:9px;white-space:nowrap;font-variant-numeric:tabular-nums}
.v9117-pay-amount .v9117-pay-icon{width:28px;height:28px;flex:0 0 28px;border-radius:8px}
.v9117-pay-amount .v9117-pay-icon svg{width:18px;height:18px}
.v9117-pay-label{gap:8px}
.v9117-pay-label .v9117-pay-icon{width:23px;height:23px;flex:0 0 23px;border-radius:7px}
.v9117-pay-label .v9117-pay-icon svg{width:15px;height:15px}
.v954-pay-split>div .v9117-pay-amount,.v9110-pay-split>div .v9117-pay-amount{width:100%;justify-content:space-between;margin-top:5px}
.v954-pay-split>div .v9117-pay-amount b,.v9110-pay-split>div .v9117-pay-amount b{font-size:14px;color:#40566c}
.v9110-revenue-row .v9117-pay-amount,.v9120-month-row .v9117-pay-amount{width:100%;justify-content:flex-start;flex-direction:row-reverse;gap:6px}
.v9110-revenue-row .v9117-pay-icon,.v9120-month-row .v9117-pay-icon{width:22px;height:22px;flex-basis:22px;border-radius:6px}
.v9110-revenue-row .v9117-pay-icon svg,.v9120-month-row .v9117-pay-icon svg{width:14px;height:14px}

/* Revenue: five concise Cash Report cards. */
.v9120-cash-report-overview{border-top:3px solid #0b7bd3}
.v9120-revenue-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:stretch}
.v9120-revenue-card{min-height:175px;height:100%;padding:15px;border-top-width:3px}
.v9120-revenue-card.received{border-top-color:#17865b}.v9120-revenue-card.bill{border-top-color:#2a71b5}.v9120-revenue-card.commission{border-top-color:#8a61c5}.v9120-revenue-card.expense{border-top-color:#b46c17}.v9120-revenue-card.cashsend{border-top-color:#0a8c68;background:#fbfffd}
.v9120-revenue-card .v9110-card-head{padding-bottom:11px}
.v9120-revenue-card .v9110-card-head span{font-size:13px}.v9120-revenue-card .v9110-card-head strong{font-size:21px}
.v9120-mini-check{display:grid;grid-template-columns:1fr auto;gap:7px 10px;margin-top:12px;padding-top:10px;border-top:1px solid #e8edf2;font-size:10.5px;color:#738398}
.v9120-mini-check b{color:#30485f}.v9120-mini-check .ok{color:#13825b}.v9120-mini-check .warn{color:#b05d18}
.v9120-cash-equation{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:auto;padding-top:12px;color:#607488;font-size:10.5px}.v9120-cash-equation i{font-style:normal;color:#9aa7b3}
.v9120-operating-cash{display:flex;align-items:center;gap:14px;margin-top:10px;padding:10px 12px;border:1px solid #dfe8e4;border-radius:9px;background:#f7fbf9}
.v9120-operating-cash span{font-size:10px;font-weight:850;letter-spacing:.05em;color:#718497}.v9120-operating-cash strong{font-size:17px;color:#0c7b58}.v9120-operating-cash small{margin-left:auto;color:#83919f;font-size:10px}

/* Daily Cash Report overview */
.v9120-gross-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:13px 0}
.v9120-gross-kpis article{min-height:105px;padding:13px 14px;border:1px solid #e1e7ed;border-radius:10px;background:#fafbfd;display:flex;flex-direction:column;justify-content:center}
.v9120-gross-kpis article>span{font-size:10px;font-weight:900;letter-spacing:.05em;color:#738397}.v9120-gross-kpis article>strong{display:block;margin-top:7px;font-size:20px;color:#22384d}
.v9120-gross-kpis article small{display:block;margin-top:4px;font-size:10px;color:#8795a4}
.v9120-gross-kpis .pr{background:#fff9ef;border-color:#efd9b5}.v9120-gross-kpis .pr strong{color:#a65d0b}
.v9120-gross-kpis .cash,.v9120-gross-kpis .send{background:#f0faf6;border-color:#cae7d8}.v9120-gross-kpis .cash strong,.v9120-gross-kpis .send strong{color:#117653}
.v9120-gross-kpis .transfer{background:#f3f8ff;border-color:#dbe7f5}.v9120-gross-kpis .card{background:#f7f5ff;border-color:#e2dcf7}
.v9120-gross-kpis .commission{border-top:3px solid #8a61c5}.v9120-gross-kpis .expense{border-top:3px solid #b46c17}
.v9120-gross-kpis .v9117-pay-amount{justify-content:space-between;width:100%;font-size:20px}
.v9120-reconcile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.v9120-detail-check{display:grid;gap:8px;padding:11px 12px;border-top:1px solid #e8edf2;background:#fafbfd}.v9120-detail-check span{display:flex;justify-content:space-between;gap:10px;font-size:10.5px;color:#718194}.v9120-detail-check b.ok{color:#14815c}.v9120-detail-check b.warn{color:#b05d18}

/* Monthly Cash Report overview */
.v9120-monthly{overflow:hidden}
.v9120-month-table{overflow-x:auto;border:1px solid #e2e8ee;border-radius:10px;margin-top:12px}
.v9120-month-columns,.v9120-month-row{display:grid;grid-template-columns:minmax(145px,1.25fr) repeat(8,minmax(112px,1fr));gap:10px;align-items:center;min-width:1120px;padding:10px 12px}
.v9120-month-columns{background:#f6f8fa;border-bottom:1px solid #e3e9ef;color:#738397;font-size:9.5px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}
.v9120-month-columns span:not(:first-child){text-align:right}
.v9120-month-row{border-bottom:1px solid #edf1f4;color:#40566b;font-size:11px}.v9120-month-row:last-child{border-bottom:0}
.v9120-month-row>span:first-child{display:flex;flex-direction:column;gap:2px}.v9120-month-row>span:first-child strong{color:#253b50}.v9120-month-row>span:first-child small{font-size:9.5px;color:#8996a4}
.v9120-month-row>b{text-align:right;font-weight:700}.v9120-month-row>b.pr{color:#a65d0b}.v9120-month-row>b.cash{color:#117653}
.v9120-month-total-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.v9120-month-total-kpis article{min-height:88px;padding:12px 13px;border:1px solid #e1e7ed;border-radius:9px;background:#fafbfd}
.v9120-month-total-kpis span{display:block;font-size:9.5px;font-weight:900;letter-spacing:.05em;color:#748598}.v9120-month-total-kpis strong{display:block;margin-top:7px;font-size:18px;color:#243a4f}
.v9120-month-total-kpis .pr{background:#fff9ef;border-color:#efd9b5}.v9120-month-total-kpis .pr strong{color:#a65d0b}.v9120-month-total-kpis .cash{background:#f0faf6;border-color:#cae7d8}.v9120-month-total-kpis .cash strong{color:#117653}
.v9120-month-total-kpis .v9117-pay-amount{justify-content:space-between;width:100%;font-size:18px}

/* Source reconciliation inside Expenses */
.v9120-source-reconcile{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}
.v9120-source-reconcile article{padding:12px 13px;border:1px solid #e2e8ee;border-radius:9px;background:#fafbfd}.v9120-source-reconcile span{display:block;font-size:10px;font-weight:850;color:#738397}.v9120-source-reconcile>b,.v9120-source-reconcile article>b{display:block;margin:5px 0;font-size:18px;color:#263c51}.v9120-source-reconcile small{font-size:10px;color:#8492a1}.v9120-source-reconcile .ok{color:#13815a}.v9120-source-reconcile .warn{color:#b05d18}
.v9120-staff-cost-note{margin-top:11px;padding:9px 10px;border-radius:8px;background:#f4f8fb;color:#6e8194;font-size:10.5px;line-height:1.45}

/* P&L source-policy emphasis */
.v9108-pnl-lines>div small{line-height:1.35}.v9108-pnl-rule{border-left:3px solid #0b7bd3}

/* Keep all three top Expense cards perfectly aligned even if category counts differ. */
.v9116-expense-cards{align-items:stretch!important}.v9116-expense-card{height:100%;display:flex!important;flex-direction:column}.v9116-expense-card .v9116-card-insight{flex:1}.v9116-expense-card .v964-card-upload-actions,.v9116-expense-card>.v954-add-btn{margin-top:auto}

@media(max-width:1350px){.v9120-revenue-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.v9120-revenue-card{min-height:160px}.v9120-month-total-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1080px){.v9120-reconcile-grid{grid-template-columns:1fr}.v9120-gross-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.v9120-operating-cash{align-items:flex-start;flex-wrap:wrap}.v9120-operating-cash small{width:100%;margin-left:0}}
@media(max-width:820px){.v9120-revenue-cards{grid-template-columns:1fr 1fr}.v9120-source-reconcile{grid-template-columns:1fr}.v9117-pay-amount .v9117-pay-icon{width:25px;height:25px;flex-basis:25px}.v9117-pay-amount .v9117-pay-icon svg{width:16px;height:16px}}
@media(max-width:560px){.v9120-revenue-cards,.v9120-gross-kpis,.v9120-month-total-kpis{grid-template-columns:1fr}.v9120-revenue-card{min-height:0}.v9120-month-columns,.v9120-month-row{min-width:1060px}.v9117-pay-amount{flex-direction:row-reverse}.v954-pay-split>div .v9117-pay-amount,.v9110-pay-split>div .v9117-pay-amount{justify-content:space-between}}
