/* TEX039 CRM 2.73.57 — Branch cash workspaces
   Dedicated owner for cash_branches overview/detail. Finance calculations are unchanged. */
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-overview,
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-workspace{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-system-status{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;margin:0 0 14px;border:1px solid #d9e3ef;border-radius:14px;background:#fff}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-system-status>div{display:flex;align-items:center;gap:10px;min-width:0}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-system-status>div>span{font-size:18px;color:#16a34a;line-height:1}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-system-status.is-error>div>span{color:#dc2626}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-system-status strong,.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-system-status small{display:block}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-system-status small{margin-top:3px;color:#6b7280}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-overview__head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 14px}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-overview__head span,.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-workspace__title span,.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-section-head>div>span{display:block;color:#667085;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-overview__head h2,.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-workspace__title h2{margin:3px 0 0;font-size:24px;line-height:1.1}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-overview__head p{margin:5px 0 0;color:#667085}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-overview__kpis{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:12px;margin-bottom:16px}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-overview__kpis>div{padding:15px 16px;border:1px solid #dbe4ef;border-radius:14px;background:#fff;min-width:0}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-overview__kpis>div.is-primary{border-color:#a9c3ff;background:#f7faff;box-shadow:inset 3px 0 0 #2563eb}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-overview__kpis span{display:block;color:#667085;font-size:11px;font-weight:700}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-overview__kpis strong{display:block;margin-top:6px;font-size:24px;line-height:1.05;font-variant-numeric:tabular-nums}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-overview__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-card{display:flex;flex-direction:column;min-width:0;padding:16px;border:1px solid #dbe4ef;border-radius:16px;background:#fff;box-shadow:0 4px 14px rgba(15,23,42,.045)}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-card[data-state="error"]{border-color:#fecaca;background:#fffafa}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-card[data-state="warning"]{border-color:#fde68a;background:#fffdf7}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-card__head{display:flex;align-items:center;gap:10px}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-card__index{display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:#edf4ff;color:#1d4ed8;font-weight:800}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-card__head h3{margin:0;font-size:16px}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-card__head small{display:flex;align-items:center;gap:5px;margin-top:3px;color:#667085}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-card__head small i{display:block;width:7px;height:7px;border-radius:50%;background:#16a34a}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-card[data-state="error"] .er-branch-cash-card__head small i{background:#dc2626}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-card[data-state="warning"] .er-branch-cash-card__head small i{background:#d97706}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-card__balance{display:block;margin:18px 0 14px;font-size:28px;line-height:1;font-variant-numeric:tabular-nums}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-card__today{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-card__today>span{padding:9px 10px;border-radius:10px;background:#f8fafc;min-width:0}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-card__today small,.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-card__today b{display:block}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-card__today small{color:#667085;font-size:10px}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-card__today b{margin-top:3px;font-size:13px;font-variant-numeric:tabular-nums}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-card__open{width:100%;margin-top:auto}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-workspace__nav{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;margin-bottom:14px}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-workspace__title{text-align:center;min-width:0}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-hero{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(0,1.6fr);gap:12px;margin-bottom:14px}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-hero__balance,.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-hero__stats,.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-transfer,.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-staff{border:1px solid #dbe4ef;border-radius:16px;background:#fff}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-hero__balance{padding:18px;border-color:#b6cbff;background:#f7faff;box-shadow:inset 3px 0 0 #2563eb}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-hero__balance>span,.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-hero__balance>strong,.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-hero__balance>small{display:block}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-hero__balance>span{color:#667085;font-size:11px;font-weight:700}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-hero__balance>strong{margin:7px 0;font-size:32px;line-height:1;font-variant-numeric:tabular-nums}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-hero__balance>small{color:#667085}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-hero__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:hidden}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-hero__stats>div{padding:17px 16px;border-right:1px solid #e6ebf2;min-width:0}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-hero__stats>div:last-child{border-right:0}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-hero__stats span,.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-hero__stats strong{display:block}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-hero__stats span{color:#667085;font-size:10px;font-weight:700}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-hero__stats strong{margin-top:7px;font-size:18px;line-height:1.15;overflow-wrap:anywhere}
.er-app .er-view[data-er-view="cash_branches"] .is-positive{color:#067647}.er-app .er-view[data-er-view="cash_branches"] .is-negative{color:#b42318}.er-app .er-view[data-er-view="cash_branches"] .is-error{color:#b42318}.er-app .er-view[data-er-view="cash_branches"] .is-warning{color:#b54708}.er-app .er-view[data-er-view="cash_branches"] .is-ok{color:#067647}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-alert{display:flex;align-items:center;gap:10px;padding:11px 13px;margin-bottom:14px;border:1px solid #f3c3bd;border-radius:12px;background:#fff7f6;color:#7a271a}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-alert.is-warning{border-color:#f5d98b;background:#fffaf0;color:#7a4b00}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-alert>span{flex:1}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-transfer{padding:16px;margin-bottom:12px}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:12px}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-section-head h3{margin:3px 0 0;font-size:18px}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-section-head p{margin:4px 0 0;color:#667085}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-section-head>strong{font-size:20px;text-align:right;white-space:nowrap}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-section-head>strong small{display:block;margin-top:3px;color:#667085;font-size:10px;font-weight:600}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-transfer__form{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;gap:8px;align-items:center}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-transfer__form input{width:100%;min-width:0;height:40px}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-transfer__after{margin-top:9px;color:#667085;font-size:12px}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-transfer__after strong{color:#111827}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-actions .er-btn{width:100%;min-width:0}
.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-staff{overflow:hidden}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-staff>summary{padding:13px 15px;cursor:pointer;font-weight:800;list-style:none}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-staff>summary::-webkit-details-marker{display:none}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-staff[open]>summary{border-bottom:1px solid #e6ebf2}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-staff>.er-cash-unified-section-head,.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-staff>.er-cash-month-employees{margin:0;padding:14px 15px}
@media(max-width:1200px){.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-overview__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-hero{grid-template-columns:1fr}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-hero__stats{min-height:86px}}
@media(max-width:760px){.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-system-status{align-items:flex-start}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-overview__kpis,.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-overview__grid{grid-template-columns:1fr}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-workspace__nav{grid-template-columns:1fr auto}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-workspace__title{grid-column:1/-1;grid-row:1;text-align:left}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-workspace__nav>[data-er-action="cash_branches_overview"]{grid-row:2}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-workspace__nav>[data-er-action="finance_launch_master_open"]{grid-row:2}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-hero__stats{grid-template-columns:1fr}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-hero__stats>div{border-right:0;border-bottom:1px solid #e6ebf2}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-hero__stats>div:last-child{border-bottom:0}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-transfer__form{grid-template-columns:1fr 1fr}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-transfer__form input{grid-column:1/-1}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-actions{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-card__today,.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-actions,.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-transfer__form{grid-template-columns:1fr}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-transfer__form input{grid-column:auto}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-card__balance{font-size:24px}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-hero__balance>strong{font-size:28px}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-section-head{display:block}.er-app .er-view[data-er-view="cash_branches"] .er-branch-cash-section-head>strong{text-align:left;display:block;margin-top:10px}}
