:root{--mbbs-navy:#13264a;--mbbs-blue:#2f80ed;--mbbs-yellow:#f6c343;--mbbs-pink:#e91e63;--mbbs-bg:#f4f8fc;--mbbs-card:#fff;--mbbs-border:#e1e8f0;--mbbs-muted:#6d7b91;--mbbs-shadow:0 4px 18px rgba(20,44,78,.07);--mbbs-radius:12px}
.mbbs-app,.mbbs-login{max-width:1180px;margin:24px auto;padding:20px;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--mbbs-navy);box-sizing:border-box}.mbbs-login{max-width:430px}.mbbs-app *,.mbbs-login *{box-sizing:border-box}.mbbs-app h1,.mbbs-app h2,.mbbs-app h3{color:var(--mbbs-navy);line-height:1.2}.mbbs-app h1{font-size:30px;margin:0 0 8px}.mbbs-app h2{font-size:21px;margin:0 0 8px}.mbbs-app p{color:var(--mbbs-muted)}
.mbbs-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 0;border-bottom:1px solid var(--mbbs-border)}.mbbs-header strong{display:block;font-size:22px}.mbbs-header span{display:block;font-size:13px;color:var(--mbbs-muted)}.mbbs-header a,.mbbs-app a{color:#b0004f}.mbbs-main{padding:25px 0}.mbbs-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.mbbs-card,.mbbs-panel{background:var(--mbbs-card);border:1px solid var(--mbbs-border);border-radius:var(--mbbs-radius);padding:20px;box-shadow:var(--mbbs-shadow);margin:12px 0}.mbbs-card strong,.mbbs-card span{display:block}.mbbs-card span{margin-top:8px;color:var(--mbbs-muted)}
.mbbs-button,.mbbs-login input[type=submit]{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 16px;border-radius:8px;text-decoration:none;font-weight:700;border:1px solid #d8e0ea;background:#fff;color:var(--mbbs-navy);cursor:pointer;min-height:40px}.mbbs-button:hover{transform:translateY(-1px)}.mbbs-primary{background:var(--mbbs-pink);color:#fff!important;border-color:var(--mbbs-pink)}.mbbs-full-button{width:100%;margin-top:14px}.mbbs-small{padding:7px 10px;font-size:13px;min-height:34px}.mbbs-login form{margin-top:20px}.mbbs-login input[type=text],.mbbs-login input[type=password]{width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:8px}.mbbs-login-button{border:0;cursor:pointer;background:var(--mbbs-pink);color:#fff}.mbbs-error{margin:16px 0;padding:12px 14px;border-left:4px solid #d63638;background:#fff0f0;color:#7a1f21;border-radius:6px}.mbbs-success{margin:16px 0;padding:12px 14px;border-left:4px solid #168a4a;background:#effaf3;color:#155b35;border-radius:6px}
.mbbs-form label,.mbbs-card>form label{display:block;font-weight:650;margin:10px 0;color:var(--mbbs-navy)}.mbbs-form input[type=text],.mbbs-form input[type=number],.mbbs-form input[type=email],.mbbs-form input[type=date],.mbbs-form input[type=time],.mbbs-form select,.mbbs-form textarea,.mbbs-card>form input[type=text],.mbbs-card>form input[type=number],.mbbs-card>form input[type=email],.mbbs-card>form input[type=date],.mbbs-card>form input[type=time],.mbbs-card>form select,.mbbs-card>form textarea{display:block;width:100%;padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;margin-top:6px;font:inherit;background:#fff;color:#172b4d}.mbbs-form small,.mbbs-card small{display:block;font-weight:400;color:var(--mbbs-muted)}.mbbs-form textarea,.mbbs-card>form textarea{resize:vertical;min-height:90px}
.mbbs-table-wrap{overflow-x:auto;border:1px solid var(--mbbs-border);border-radius:10px}.mbbs-table{width:100%;border-collapse:collapse;min-width:760px;background:#fff}.mbbs-table th,.mbbs-table td{padding:11px 12px;border-bottom:1px solid #e9eef5;text-align:left;vertical-align:top}.mbbs-table th{background:#f7f9fc;color:#52627a;font-size:12px;text-transform:uppercase;letter-spacing:.03em}.mbbs-table tr:last-child td{border-bottom:0}.mbbs-table tr:hover td{background:#fbfdff}.mbbs-delete-link{display:inline-flex!important;margin-left:8px;color:#b0004f!important;font-weight:700!important;cursor:pointer!important}.mbbs-inline{display:inline}.mbbs-link-button{border:0;background:none;padding:7px 0;color:#b0004f;cursor:pointer;font:inherit}
.mbbs-section-head,.mbbs-panel-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.mbbs-muted{opacity:.7;margin:4px 0}.mbbs-batch-total{font-size:16px;white-space:nowrap}.mbbs-entry-table{min-width:1100px}.mbbs-entry-table input,.mbbs-entry-table select{width:100%;box-sizing:border-box;padding:9px;border:1px solid #cbd5e1;border-radius:7px;font:inherit}.mbbs-entry-table th,.mbbs-entry-table td{vertical-align:middle}.mbbs-remove-row{border:0;background:none;color:#b0004f;font-size:24px;line-height:1;cursor:pointer;padding:6px 10px}.mbbs-batch-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px;flex-wrap:wrap}
.mbbs-sale-customer-tools{display:flex;gap:8px;align-items:center;margin-bottom:8px}.mbbs-sale-customer-tools input{flex:1;min-width:0}.mbbs-sale-customer-tools .mbbs-button{white-space:nowrap}.mbbs-modal{position:fixed;inset:0;background:rgba(10,25,50,.52);display:flex;align-items:center;justify-content:center;padding:16px;z-index:99999}.mbbs-modal[hidden]{display:none}.mbbs-modal-card{width:min(480px,100%);background:#fff;border-radius:16px;padding:20px;box-shadow:0 20px 60px rgba(0,0,0,.2)}.mbbs-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.mbbs-modal-head h2{margin:0}.mbbs-modal-close{border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer}.mbbs-modal-card label{display:block;margin-top:14px}.mbbs-modal-card input{width:100%;box-sizing:border-box;margin-top:6px;padding:10px;border:1px solid #cbd5e1;border-radius:8px}.mbbs-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.mbbs-modal-msg{padding:10px;border-radius:8px;background:#fff3cd;margin:12px 0 0}.mbbs-modal-msg[hidden]{display:none}
/* v1.6.9 Admin Dashboard shell */
.mbbs-shell{max-width:1400px;margin:0 auto;min-height:720px;display:flex;background:var(--mbbs-bg);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--mbbs-navy)}.mbbs-sidebar{width:238px;flex:0 0 238px;background:#fff;border-right:1px solid var(--mbbs-border);display:flex;flex-direction:column;min-height:720px}.mbbs-sidebar-brand{display:flex;align-items:center;gap:10px;padding:22px 18px;border-bottom:1px solid #edf1f6}.mbbs-logo-mark{width:54px;height:54px;border-radius:16px;background:var(--mbbs-yellow);display:grid;place-items:center;color:#111;font-weight:900;font-size:17px;box-shadow:inset 0 -2px 0 rgba(0,0,0,.08)}.mbbs-sidebar-brand strong{display:block;font-size:19px}.mbbs-sidebar-brand span{display:block;font-size:11px;color:var(--mbbs-muted);margin-top:2px}.mbbs-nav{padding:14px 10px;display:flex;flex-direction:column;gap:4px}.mbbs-nav-item{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:9px;text-decoration:none!important;color:#344766!important;font-weight:650;font-size:14px}.mbbs-nav-item .dashicons{font-size:19px;width:20px;height:20px}.mbbs-nav-item:hover{background:#f1f6fd}.mbbs-nav-item.is-active{background:#dbeaff;color:#1769d2!important}.mbbs-sidebar-footer{margin-top:auto;padding:20px 18px;background:linear-gradient(180deg,#fff,#fff9e9);border-top:1px solid #edf1f6}.mbbs-bakery-note{font-family:cursive;font-size:19px;line-height:1.15;color:#172b4d}.mbbs-bakery-note span{color:#d81b48}.mbbs-content-wrap{min-width:0;flex:1}.mbbs-topbar{height:68px;background:#fff;border-bottom:1px solid var(--mbbs-border);display:flex;align-items:center;gap:10px;padding:0 22px;position:sticky;top:0;z-index:20}.mbbs-menu-toggle{display:none;border:0;background:transparent;color:var(--mbbs-navy);font-size:24px;cursor:pointer}.mbbs-topbar-spacer{flex:1}.mbbs-date-chip,.mbbs-user-chip{display:flex;align-items:center;gap:8px;border:1px solid var(--mbbs-border);border-radius:8px;padding:8px 11px;background:#fff;font-size:13px}.mbbs-date-chip .dashicons{font-size:17px}.mbbs-user-chip{border:0;padding:0 2px}.mbbs-user-chip strong,.mbbs-user-chip small{display:block}.mbbs-user-chip small{color:var(--mbbs-muted);font-size:11px}.mbbs-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#2f80ed;color:#fff;font-weight:800}.mbbs-logout-link{font-size:13px;text-decoration:none;color:#b0004f!important}.mbbs-dashboard-main{padding:22px 22px 34px}.mbbs-dashboard-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:18px}.mbbs-dashboard-intro h1{font-size:25px;margin:0}.mbbs-dashboard-intro p{margin:5px 0 0}.mbbs-tagline{font-family:cursive;font-size:18px;color:#394a66}.mbbs-tagline span{color:#d81b48}.mbbs-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:14px}.mbbs-kpi{display:flex;align-items:center;gap:12px;min-width:0;padding:14px;border-radius:10px;border:1px solid var(--mbbs-border);box-shadow:0 3px 12px rgba(20,44,78,.05)}.mbbs-kpi-icon{width:42px;height:42px;border-radius:50%;display:grid!important;place-items:center;font-size:20px!important;flex:0 0 42px}.mbbs-kpi strong{display:block;font-size:21px;line-height:1.1}.mbbs-kpi div span{display:block;font-size:12px;font-weight:700;margin-top:4px}.mbbs-kpi small{display:block;margin-top:3px;color:var(--mbbs-muted);font-size:10px}.kpi-sales{background:#effaf1}.kpi-sales .mbbs-kpi-icon{background:#d4f1d9;color:#168a4a}.kpi-expenses{background:#fff0f1}.kpi-expenses .mbbs-kpi-icon{background:#ffdfe3;color:#c92743}.kpi-surplus{background:#edf5ff}.kpi-surplus .mbbs-kpi-icon{background:#d7e8ff;color:#1769d2}.kpi-cash{background:#fff9e7}.kpi-cash .mbbs-kpi-icon{background:#ffedb5;color:#a06b00}.kpi-invest{background:#f5efff}.kpi-invest .mbbs-kpi-icon{background:#e5d8ff;color:#6b32c9}.mbbs-dashboard-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:14px}.mbbs-panel{margin:0;padding:16px}.mbbs-panel-head h2{font-size:18px;margin:0}.mbbs-panel-head p{font-size:12px;margin:4px 0 0}.mbbs-panel-head>a{font-size:12px;font-weight:700;text-decoration:none}.mbbs-summary-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:15px}.mbbs-summary-list>div{padding:13px;border:1px solid #edf1f6;border-radius:9px;background:#fbfdff}.mbbs-summary-list span{display:block;color:var(--mbbs-muted);font-size:12px}.mbbs-summary-list strong{display:block;margin-top:6px;font-size:18px}.mbbs-mini-stat{display:flex;align-items:center;gap:12px;padding:14px;border-radius:10px;background:#f8fbff;margin-top:15px}.mbbs-mini-stat>.dashicons{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#dbeaff;color:#1769d2;font-size:20px}.mbbs-mini-stat strong,.mbbs-mini-stat small{display:block}.mbbs-mini-stat strong{font-size:21px}.mbbs-mini-stat small{color:var(--mbbs-muted);margin-top:3px}.mbbs-quick-panel{margin-top:14px}.mbbs-quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.mbbs-quick-card{display:flex;align-items:center;gap:11px;padding:13px;border:1px solid var(--mbbs-border);border-radius:9px;text-decoration:none!important;background:#fff}.mbbs-quick-card:hover{background:#f8fbff}.mbbs-quick-icon{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#edf5ff;color:#1769d2;flex:0 0 40px}.mbbs-quick-card strong,.mbbs-quick-card small{display:block}.mbbs-quick-card strong{font-size:13px;color:var(--mbbs-navy)}.mbbs-quick-card small{font-size:11px;color:var(--mbbs-muted);margin-top:3px}
@media(max-width:1050px){.mbbs-kpi-grid{grid-template-columns:repeat(3,1fr)}.mbbs-quick-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.mbbs-shell{display:block}.mbbs-sidebar{position:fixed;left:-260px;top:0;bottom:0;width:250px;z-index:1000;transition:left .2s ease;box-shadow:0 10px 40px rgba(0,0,0,.15)}.mbbs-shell.is-menu-open .mbbs-sidebar{left:0}.mbbs-menu-toggle{display:block}.mbbs-topbar{padding:0 14px}.mbbs-dashboard-main{padding:16px}.mbbs-dashboard-intro{align-items:flex-start;flex-direction:column}.mbbs-tagline{display:none}.mbbs-kpi-grid{grid-template-columns:repeat(2,1fr)}.mbbs-dashboard-grid{grid-template-columns:1fr}.mbbs-quick-grid{grid-template-columns:1fr}.mbbs-app{margin:10px auto;padding:12px}.mbbs-header{align-items:flex-start;flex-direction:column}.mbbs-header>div:last-child{width:100%;display:flex;flex-wrap:wrap;gap:10px}.mbbs-grid{grid-template-columns:1fr}.mbbs-section-head,.mbbs-panel-head{align-items:flex-start;flex-direction:column}.mbbs-batch-total{width:100%}.mbbs-batch-actions{justify-content:stretch}.mbbs-batch-actions .mbbs-button{flex:1;text-align:center}.mbbs-sale-customer-tools{align-items:stretch;flex-direction:column}.mbbs-sale-customer-tools .mbbs-button{width:100%}}
@media(max-width:520px){.mbbs-kpi-grid{grid-template-columns:1fr}.mbbs-kpi strong{font-size:19px}.mbbs-date-chip{display:none}.mbbs-user-chip{margin-left:auto}.mbbs-dashboard-main h1{font-size:23px}.mbbs-summary-list{grid-template-columns:1fr}.mbbs-card,.mbbs-panel{padding:14px}.mbbs-button{width:auto}.mbbs-table{min-width:680px}.mbbs-modal-actions{flex-direction:column}.mbbs-modal-actions .mbbs-button{width:100%}}

/* v1.6.10: shared Admin sidebar on every Admin frontend page */
.mbbs-admin-shell{max-width:1400px;margin:0 auto;min-height:720px;display:flex;background:var(--mbbs-bg);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--mbbs-navy);position:relative}.mbbs-admin-main{min-width:0;flex:1}.mbbs-global-page-content{min-width:0}.mbbs-global-page-content>.mbbs-app{max-width:1180px;margin:0 auto;padding:20px 24px 34px}.mbbs-global-page-content>.mbbs-app>.mbbs-header{display:none}.mbbs-global-page-content>.mbbs-app>.mbbs-main{padding-top:24px}.mbbs-global-menu-toggle{display:none}.mbbs-sidebar-overlay{display:none}.mbbs-global-sidebar{min-height:720px;position:sticky;top:0;height:100vh;max-height:100vh;overflow-y:auto}.mbbs-admin-shell .mbbs-sidebar-footer{position:sticky;bottom:0}
@media(max-width:800px){.mbbs-admin-shell{display:block;min-height:100vh}.mbbs-global-sidebar{position:fixed;left:-270px;top:0;bottom:0;width:250px;min-height:100vh;height:100vh;z-index:1000;transition:left .2s ease;box-shadow:0 10px 40px rgba(0,0,0,.18)}.mbbs-admin-shell.is-menu-open .mbbs-global-sidebar{left:0}.mbbs-admin-shell.is-menu-open .mbbs-sidebar-overlay{display:block;position:fixed;inset:0;background:rgba(10,25,50,.35);border:0;padding:0;z-index:999}.mbbs-global-menu-toggle{display:block}.mbbs-global-topbar{padding:0 14px}.mbbs-global-topbar .mbbs-date-chip{display:none}.mbbs-global-topbar .mbbs-user-chip span:last-child{display:none}.mbbs-global-topbar .mbbs-logout-link{font-size:12px}.mbbs-global-page-content>.mbbs-app{padding:14px 12px 28px;margin:0}.mbbs-global-page-content>.mbbs-app>.mbbs-main{padding-top:16px}.mbbs-global-page-content>.mbbs-app h1{font-size:25px}.mbbs-global-page-content>.mbbs-app .mbbs-header{display:none}}


/* v1.6.11: hamburger is mobile-only; dashboard uses the shared admin shell */
.mbbs-global-menu-toggle{display:none !important;}
@media(max-width:800px){
  .mbbs-global-menu-toggle{display:inline-flex !important;align-items:center;justify-content:center;width:42px;height:42px;padding:0;flex:0 0 42px;}
  .mbbs-admin-shell .mbbs-sidebar-overlay{display:none;}
  .mbbs-admin-shell.is-menu-open .mbbs-sidebar-overlay{display:block;position:fixed;inset:0;background:rgba(10,25,50,.35);border:0;padding:0;z-index:999;}
}


/* v1.6.12: compact mobile UI and responsive table/card layout. Desktop is unchanged. */
@media (max-width:800px){
  .mbbs-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .mbbs-kpi{padding:10px;gap:8px;border-radius:9px}
  .mbbs-kpi-icon{width:34px;height:34px;flex-basis:34px;font-size:17px!important}
  .mbbs-kpi strong{font-size:17px}
  .mbbs-kpi div span{font-size:11px;margin-top:2px}
  .mbbs-kpi small{font-size:9px}
  .mbbs-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .mbbs-quick-card{padding:9px;gap:7px;min-width:0}
  .mbbs-quick-icon{width:32px;height:32px;flex-basis:32px}
  .mbbs-quick-card strong{font-size:11px}
  .mbbs-quick-card small{font-size:9px}
  .mbbs-dashboard-main{padding:12px}
  .mbbs-dashboard-intro h1{font-size:21px}
  .mbbs-dashboard-intro p{font-size:12px}
  .mbbs-card,.mbbs-panel{padding:12px}
  .mbbs-button{min-height:36px;padding:8px 12px;font-size:13px}
  .mbbs-form input[type=text],.mbbs-form input[type=number],.mbbs-form input[type=email],.mbbs-form input[type=date],.mbbs-form input[type=time],.mbbs-form select,.mbbs-form textarea,.mbbs-card>form input[type=text],.mbbs-card>form input[type=number],.mbbs-card>form input[type=email],.mbbs-card>form input[type=date],.mbbs-card>form input[type=time],.mbbs-card>form select,.mbbs-card>form textarea{padding:8px 10px}
  .mbbs-table-wrap{overflow:visible;border:0;border-radius:0}
  .mbbs-table,.mbbs-entry-table{display:block;width:100%;min-width:0!important;border-collapse:separate;border-spacing:0}
  .mbbs-table thead{display:none}
  .mbbs-table tbody,.mbbs-table tfoot{display:block;width:100%}
  .mbbs-table tbody tr{display:block;width:100%;margin:0 0 10px;padding:4px 0;border:1px solid var(--mbbs-border);border-radius:10px;background:#fff;box-shadow:0 2px 8px rgba(20,44,78,.04);overflow:hidden}
  .mbbs-table tbody tr:last-child{margin-bottom:0}
  .mbbs-table tbody td{display:grid;grid-template-columns:minmax(82px,30%) minmax(0,1fr);gap:8px;width:100%;padding:7px 9px;border-bottom:1px solid #edf1f6;font-size:12px;vertical-align:middle;overflow-wrap:anywhere;word-break:break-word}
  .mbbs-table tbody td:last-child{border-bottom:0}
  .mbbs-table tbody td::before{content:attr(data-label);font-weight:700;color:#52627a;min-width:0}
  .mbbs-table tbody td[data-label=""]{grid-template-columns:1fr}
  .mbbs-table tbody td[data-label=""]::before{display:none}
  .mbbs-table tbody td[colspan]{display:block}
  .mbbs-table tbody td[colspan]::before{display:none}
  .mbbs-table tbody td input,.mbbs-table tbody td select,.mbbs-table tbody td textarea{min-width:0;max-width:100%;width:100%;font-size:12px}
  .mbbs-table tbody td .mbbs-button{max-width:100%;width:auto}
  .mbbs-entry-table tbody td{padding:7px 8px}
  .mbbs-entry-table tbody td:first-child{font-size:11px}
  .mbbs-entry-table tbody td:last-child{justify-content:flex-start}
  .mbbs-table tfoot tr{display:block;margin-top:8px;border-top:1px solid var(--mbbs-border);background:#fff}
  .mbbs-table tfoot th,.mbbs-table tfoot td{display:inline-block;padding:8px;font-size:12px}
  .mbbs-entry-table tfoot th,.mbbs-entry-table tfoot td{display:inline-block}
  .mbbs-batch-actions{gap:8px}
  .mbbs-batch-actions .mbbs-button{min-width:0}
}
@media (max-width:520px){
  .mbbs-kpi{padding:8px}
  .mbbs-kpi strong{font-size:16px}
  .mbbs-kpi-icon{width:30px;height:30px;flex-basis:30px;font-size:15px!important}
  .mbbs-quick-card{padding:8px}
  .mbbs-quick-icon{width:28px;height:28px;flex-basis:28px}
  .mbbs-quick-card strong{font-size:10px}
  .mbbs-quick-card small{font-size:8px}
  .mbbs-table tbody td{grid-template-columns:minmax(72px,32%) minmax(0,1fr);padding:6px 8px;font-size:11px}
  .mbbs-entry-table tbody td input,.mbbs-entry-table tbody td select{font-size:11px}
  .mbbs-modal-card{padding:14px}
}

/* v1.6.13: redesigned Admin Dashboard based on approved mobile reference. */
.mbbs-dashboard-shell{background:#f3f7fb;max-width:1440px}
.mbbs-dashboard-topbar{height:58px;padding:0 24px;background:#fff}
.mbbs-dashboard-topbar .mbbs-logout-link{font-size:14px;font-weight:700}
.mbbs-dashboard-v2{padding:24px 26px 40px;background:#f3f7fb;min-height:calc(100vh - 58px)}
.mbbs-dashboard-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}
.mbbs-dashboard-title-row h1{margin:0;color:#13264a;font-size:29px;line-height:1.15}
.mbbs-dashboard-title-row p{margin:5px 0 0;color:#6d7b91;font-size:14px}
.mbbs-dashboard-date{font-size:13px;color:#52627a;background:#fff;border:1px solid #e1e8f0;border-radius:10px;padding:8px 12px}
.mbbs-dashboard-section{background:#fff;border:1px solid #e1e8f0;border-radius:18px;box-shadow:0 4px 18px rgba(20,44,78,.055);padding:17px;margin-bottom:15px;min-width:0}
.mbbs-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.mbbs-section-title h2{margin:0;color:#13264a;font-size:19px;line-height:1.2}
.mbbs-section-title span{color:#6d7b91;font-size:12px}
.mbbs-section-title a{color:#b0004f;text-decoration:none;font-size:12px;font-weight:700;white-space:nowrap}
.mbbs-dashboard-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.mbbs-dashboard-kpi,.mbbs-average-card{display:flex;align-items:center;gap:10px;border:1px solid #e7edf4;border-radius:13px;padding:12px;min-width:0}
.mbbs-dashboard-kpi>span,.mbbs-average-card>span{width:38px;height:38px;flex:0 0 38px;border-radius:50%;display:grid!important;place-items:center;font-size:18px!important}
.mbbs-dashboard-kpi small,.mbbs-average-card small{display:block;color:#52627a;font-size:11px;line-height:1.2}
.mbbs-dashboard-kpi strong,.mbbs-average-card strong{display:block;color:#13264a;font-size:21px;line-height:1.1;margin-top:4px}
.dash-blue{background:#edf7ff}.dash-blue>span,.avg-blue>span{background:#d8ecff;color:#1769d2}
.dash-pink{background:#fff0f5}.dash-pink>span,.avg-pink>span{background:#ffdce9;color:#c92767}
.dash-green{background:#edfbf4}.dash-green>span,.avg-green>span{background:#d5f4e3;color:#15945d}
.dash-purple{background:#f6f0ff}.dash-purple>span,.avg-purple>span{background:#e7dbff;color:#6b32c9}
.dash-yellow{background:#fff9e8}.dash-yellow>span{background:#ffecb6;color:#a06b00}
.mbbs-average-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.mbbs-average-card{background:#fafcff}
.mbbs-custom-range{display:flex;align-items:flex-end;gap:10px;margin:-2px 0 12px;padding:10px;border:1px dashed #dbe3ec;border-radius:12px;background:#fafcff}
.mbbs-custom-range label{margin:0;color:#52627a;font-size:11px;font-weight:700;flex:1}
.mbbs-custom-range input{display:block;width:100%;margin-top:5px;padding:8px;border:1px solid #cbd5e1;border-radius:8px;font:inherit}
.mbbs-period-pills{display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:flex-end}
.mbbs-period-pill{display:inline-flex;align-items:center;justify-content:center;min-width:43px;padding:6px 10px;border:1px solid #dce5ef;border-radius:999px;background:#fff;color:#52627a!important;text-decoration:none!important;font-size:11px;font-weight:700}
.mbbs-period-pill.is-selected{background:#d81b69;color:#fff!important;border-color:#d81b69}
.mbbs-account-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}
.mbbs-account-grid>div{border-radius:12px;padding:12px;background:#f7faff;border:1px solid #e7edf4;min-width:0}
.mbbs-account-grid>div:nth-child(1){background:#edfbf4}.mbbs-account-grid>div:nth-child(2){background:#edf7ff}.mbbs-account-grid>div:nth-child(3){background:#f6f0ff}.mbbs-account-grid>div:nth-child(4){background:#fff9e8}.mbbs-account-grid>div:nth-child(5){background:#fff0f5}.mbbs-account-grid>div:nth-child(6){background:#eef9fb}
.mbbs-account-grid small{display:block;color:#66758b;font-size:11px}.mbbs-account-grid strong{display:block;color:#13264a;font-size:19px;margin-top:4px}
.mbbs-trend-section{overflow:hidden}.mbbs-trend-legend{display:flex;gap:12px;flex-wrap:wrap}.mbbs-trend-legend span{font-size:11px;font-weight:700}.legend-sales{color:#1769d2!important}.legend-expenses{color:#c92767!important}.legend-surplus{color:#15945d!important}.mbbs-chart-wrap{width:100%;overflow:hidden;border-radius:12px;background:#fbfdff;border:1px solid #edf2f7}.mbbs-trend-chart{display:block;width:100%;height:250px;min-width:620px}
.mbbs-dashboard-two-col{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px;align-items:stretch}
.mbbs-dashboard-two-col>.mbbs-dashboard-section{margin-bottom:15px}
.mbbs-daily-cash-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.mbbs-daily-cash-grid>div{padding:11px;border-radius:11px;background:#f8fbff;border:1px solid #e7edf4}.mbbs-daily-cash-grid small{display:block;color:#6d7b91;font-size:10px}.mbbs-daily-cash-grid strong{display:block;color:#13264a;font-size:17px;margin-top:4px}
.mbbs-pending-alert,.mbbs-clear-alert{display:flex;align-items:center;gap:8px;margin-top:10px;padding:10px 12px;border-radius:10px;text-decoration:none!important;font-size:12px;font-weight:700}.mbbs-pending-alert{background:#fff4d6;color:#a26a00!important}.mbbs-pending-alert span:last-child{margin-left:auto}.mbbs-clear-alert{background:#edfbf4;color:#15945d}
.mbbs-dashboard-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mbbs-dashboard-action{display:flex;align-items:center;gap:9px;padding:10px;border-radius:11px;background:#f8fbff;border:1px solid #e7edf4;text-decoration:none!important;min-width:0}.mbbs-dashboard-action-icon{width:32px;height:32px;flex:0 0 32px;border-radius:50%;display:grid;place-items:center;background:#e7f1ff;color:#1769d2}.mbbs-dashboard-action strong,.mbbs-dashboard-action small{display:block}.mbbs-dashboard-action strong{font-size:12px;color:#13264a}.mbbs-dashboard-action small{font-size:9px;color:#6d7b91;margin-top:2px}
.mbbs-recent-list{display:flex;flex-direction:column}.mbbs-recent-item{display:flex;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid #edf2f7;min-width:0}.mbbs-recent-item:last-child{border-bottom:0}.mbbs-recent-icon{width:32px;height:32px;flex:0 0 32px;border-radius:50%;display:grid;place-items:center}.mbbs-recent-icon.is-positive{background:#e9f8ef;color:#15945d}.mbbs-recent-icon.is-negative{background:#fff0f5;color:#c92767}.mbbs-recent-item>div{min-width:0;flex:1}.mbbs-recent-item strong{display:block;font-size:11px;color:#13264a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mbbs-recent-item small{display:block;font-size:9px;color:#6d7b91;margin-top:2px}.mbbs-recent-item b{font-size:12px;white-space:nowrap}.amount-in{color:#15945d}.amount-out{color:#c92767}.mbbs-empty-state{padding:15px;text-align:center;color:#6d7b91;font-size:12px}
.mbbs-material-total{padding:10px 11px;border-radius:11px;background:#edf7ff;border:1px solid #e0ecf8;margin-bottom:7px}.mbbs-material-total small{display:block;color:#6d7b91;font-size:10px}.mbbs-material-total strong{display:block;color:#13264a;font-size:19px;margin-top:3px}.mbbs-material-row{display:flex;align-items:center;gap:9px;padding:8px 0;border-bottom:1px solid #edf2f7}.mbbs-material-row:last-child{border-bottom:0}.mbbs-material-row>.dashicons{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#f1f6fd;color:#1769d2}.mbbs-material-row>div{flex:1;min-width:0}.mbbs-material-row strong,.mbbs-material-row small{display:block}.mbbs-material-row strong{font-size:11px;color:#13264a}.mbbs-material-row small{font-size:9px;color:#6d7b91;margin-top:2px}.mbbs-material-row>b{font-size:11px;color:#13264a;white-space:nowrap}
@media(max-width:1150px){.mbbs-dashboard-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.mbbs-account-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mbbs-average-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){
  .mbbs-dashboard-shell{display:block;min-height:100vh}.mbbs-dashboard-shell .mbbs-global-sidebar{display:none}.mbbs-dashboard-shell .mbbs-sidebar-overlay{display:none!important}
  .mbbs-dashboard-topbar{height:54px;padding:0 16px}.mbbs-dashboard-v2{padding:12px 10px 28px;min-height:calc(100vh - 54px)}
  .mbbs-dashboard-title-row{align-items:flex-start;margin-bottom:10px}.mbbs-dashboard-title-row h1{font-size:21px}.mbbs-dashboard-title-row p{font-size:11px}.mbbs-dashboard-date{font-size:10px;padding:6px 8px;white-space:nowrap}
  .mbbs-dashboard-section{border-radius:14px;padding:12px;margin-bottom:10px}.mbbs-section-title{margin-bottom:9px}.mbbs-section-title h2{font-size:16px}.mbbs-section-title span,.mbbs-section-title a{font-size:10px}
  .mbbs-dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.mbbs-dashboard-kpi{padding:9px;gap:7px;border-radius:10px}.mbbs-dashboard-kpi>span,.mbbs-average-card>span{width:30px;height:30px;flex-basis:30px;font-size:14px!important}.mbbs-dashboard-kpi small,.mbbs-average-card small{font-size:9px}.mbbs-dashboard-kpi strong,.mbbs-average-card strong{font-size:16px;margin-top:3px}
  .mbbs-dashboard-kpi:last-child{grid-column:1/-1}.mbbs-average-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.mbbs-average-card{padding:9px;gap:7px;border-radius:10px}.mbbs-period-pills{justify-content:flex-start;width:100%;margin-top:4px}.mbbs-section-title:has(.mbbs-period-pills){align-items:flex-start;flex-direction:column}.mbbs-period-pill{min-width:37px;padding:5px 8px;font-size:9px}.mbbs-custom-range{flex-wrap:wrap}.mbbs-custom-range label{min-width:120px}.mbbs-custom-range .mbbs-button{flex:1}
  .mbbs-account-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.mbbs-account-grid>div{padding:9px;border-radius:10px}.mbbs-account-grid small{font-size:9px}.mbbs-account-grid strong{font-size:15px}
  .mbbs-trend-legend{gap:7px}.mbbs-trend-legend span{font-size:9px}.mbbs-trend-chart{height:180px;min-width:600px}.mbbs-chart-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .mbbs-dashboard-two-col{grid-template-columns:1fr;gap:0}.mbbs-daily-cash-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.mbbs-daily-cash-grid>div{padding:9px}.mbbs-daily-cash-grid small{font-size:9px}.mbbs-daily-cash-grid strong{font-size:15px}
  .mbbs-dashboard-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.mbbs-dashboard-action{padding:8px;gap:7px}.mbbs-dashboard-action-icon{width:28px;height:28px;flex-basis:28px}.mbbs-dashboard-action strong{font-size:10px}.mbbs-dashboard-action small{font-size:8px}
  .mbbs-recent-item{padding:7px 0}.mbbs-recent-icon{width:28px;height:28px;flex-basis:28px}.mbbs-recent-item strong{font-size:10px}.mbbs-recent-item small{font-size:8px}.mbbs-recent-item b{font-size:10px}.mbbs-material-row{padding:7px 0}.mbbs-material-row strong{font-size:10px}.mbbs-material-row small,.mbbs-material-row>b{font-size:8px}
}
@media(max-width:520px){.mbbs-dashboard-title-row{display:block}.mbbs-dashboard-date{display:inline-block;margin-top:6px}.mbbs-dashboard-kpi:last-child{grid-column:1/-1}.mbbs-dashboard-v2{padding-left:8px;padding-right:8px}.mbbs-dashboard-section{padding:10px}.mbbs-section-title h2{font-size:15px}.mbbs-dashboard-kpi strong,.mbbs-average-card strong{font-size:15px}.mbbs-account-grid strong{font-size:14px}}

/* v1.6.15 configurable dashboard cost list */
.mbbs-cost-list-section{margin-top:18px}.mbbs-cost-groups{display:grid;gap:10px}.mbbs-cost-group{border:1px solid #e4eaf1;border-radius:14px;background:#fff;overflow:hidden}.mbbs-cost-group summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:#f7f9fc}.mbbs-cost-group summary::-webkit-details-marker{display:none}.mbbs-cost-group summary:before{content:'+';font-weight:700;margin-right:10px;color:#6b7785}.mbbs-cost-group[open] summary:before{content:'−'}.mbbs-cost-group summary span{font-size:12px;color:#7a8795}.mbbs-cost-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.mbbs-cost-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border-top:1px solid #edf1f5}.mbbs-cost-item strong{display:block;font-size:14px;color:#172033}.mbbs-cost-item small{display:block;color:#7b8794;font-size:11px;margin-top:3px}.mbbs-cost-item>b{white-space:nowrap;font-size:15px;color:#172033}.mbbs-cost-item>b small{display:inline;margin-left:3px;font-size:11px;color:#7b8794}.mbbs-cost-item:nth-child(even){background:#fcfdff}
@media(max-width:767px){.mbbs-cost-items{grid-template-columns:1fr}.mbbs-cost-item{padding:11px 13px}.mbbs-cost-item strong{font-size:13px}.mbbs-cost-item>b{font-size:14px}.mbbs-cost-group summary{padding:12px 13px}}
/* v1.6.16 dashboard period selector and sales averages */
.mbbs-dashboard-period{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}.mbbs-dashboard-period-label{font-size:11px;font-weight:800;color:#52627a;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.mbbs-average-card.avg-cash{background:#fff9e8}.mbbs-average-card.avg-online{background:#eef7ff}
@media(max-width:800px){.mbbs-dashboard-period{width:100%;justify-content:flex-start;gap:5px}.mbbs-dashboard-period-label{width:100%;font-size:10px}.mbbs-dashboard-custom-range{margin-top:0}.mbbs-dashboard-title-row{gap:10px}}

/* v1.6.17 dashboard/mobile refinements */
.mbbs-top-quick-section{margin-bottom:12px}
.mbbs-top-quick-section .mbbs-dashboard-actions{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1050px){.mbbs-top-quick-section .mbbs-dashboard-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){
  #wpadminbar{display:none!important}
  html{margin-top:0!important}
  body.admin-bar{margin-top:0!important}
  .mbbs-dashboard-topbar{position:relative}
  .mbbs-dashboard-topbar .mbbs-global-menu-toggle{display:block!important;border:0;background:transparent;color:#13264a;font-size:24px;padding:4px 6px;cursor:pointer}
  .mbbs-dashboard-shell .mbbs-global-sidebar{display:flex}
  .mbbs-dashboard-shell .mbbs-sidebar-overlay{display:block;position:fixed;inset:0;background:rgba(10,25,45,.38);z-index:999;opacity:0;pointer-events:none;transition:opacity .2s ease}
  .mbbs-dashboard-shell.is-menu-open .mbbs-sidebar-overlay{opacity:1;pointer-events:auto}
  .mbbs-dashboard-title-row h1,.mbbs-dashboard-title-row p{display:none}
  .mbbs-dashboard-title-row{min-height:0}
  .mbbs-top-quick-section{margin-top:0}
  .mbbs-top-quick-section .mbbs-dashboard-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mbbs-cost-group{display:block}
}


/* v1.6.18: final mobile dashboard chrome cleanup and Previous Cash Sale UI support */
@media(max-width:800px){
  /* Hide the site's/theme header only when the ERP dashboard is present. */
  body:has(.mbbs-dashboard-shell) .site-header,
  body:has(.mbbs-dashboard-shell) #masthead,
  body:has(.mbbs-dashboard-shell) .wp-site-blocks > header,
  body:has(.mbbs-dashboard-shell) .wp-block-template-part:has(header),
  body:has(.mbbs-dashboard-shell) .entry-header,
  body:has(.mbbs-dashboard-shell) .page-header{
    display:none!important;
  }

  /* Hide only the large internal dashboard title, keep period/date controls. */
  .mbbs-dashboard-shell .mbbs-dashboard-title-row > div:first-child{
    display:none!important;
  }
  .mbbs-dashboard-shell .mbbs-dashboard-title-row{
    display:block!important;
    margin:0 0 10px!important;
  }
  .mbbs-dashboard-shell .mbbs-dashboard-title-row .mbbs-dashboard-period{
    width:100%!important;
  }
}

/* v1.6.23: mobile expense-entry redesign — compact table-like rows, no horizontal scrolling. */
.mbbs-mobile-row-top{display:none}
@media(max-width:800px){
  .mbbs-expense-batch .mbbs-table-wrap{overflow:visible!important;border:0;border-radius:0}
  .mbbs-expense-batch .mbbs-entry-table{display:block!important;width:100%!important;min-width:0!important;border-collapse:separate!important;border-spacing:0!important;background:transparent}
  .mbbs-expense-batch .mbbs-entry-table thead{display:none!important}
  .mbbs-expense-batch .mbbs-entry-table tbody{display:block!important;width:100%!important}
  .mbbs-expense-batch .mbbs-entry-table tbody tr.mbbs-expense-row,
  .mbbs-expense-batch .mbbs-entry-table tbody tr.mbbs-cash-row{display:block!important;width:100%!important;margin:0 0 9px!important;padding:0!important;border:1px solid #dfe7f0!important;border-radius:13px!important;background:#fff!important;box-shadow:0 2px 9px rgba(20,44,78,.05)!important;overflow:hidden!important}
  .mbbs-expense-batch .mbbs-entry-table tbody tr.is-expanded{border-color:#b9d7f8!important;box-shadow:0 3px 12px rgba(47,128,237,.09)!important}
  .mbbs-expense-batch .mbbs-entry-table td{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;overflow-wrap:anywhere!important;word-break:break-word!important}
  .mbbs-expense-batch .mbbs-entry-table td.mbbs-row-head{display:block!important;padding:0!important;border:0!important;background:#fff!important}
  .mbbs-expense-batch .mbbs-entry-table .mbbs-desktop-row-number{display:none!important}
  .mbbs-mobile-row-top{display:grid!important;grid-template-columns:30px minmax(0,1fr) auto 28px;align-items:center;gap:8px;padding:11px 10px;min-height:58px;cursor:pointer;touch-action:manipulation}
  .mbbs-mobile-row-number{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#edf5ff;color:#1769d2;font-weight:800;font-size:12px}
  .mbbs-mobile-row-summary{min-width:0}
  .mbbs-mobile-row-summary strong,.mbbs-mobile-row-summary small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .mbbs-mobile-row-summary strong{font-size:13px;color:#13264a}
  .mbbs-mobile-row-summary small{font-size:10px;color:#6d7b91;margin-top:2px}
  .mbbs-mobile-row-amount{font-size:13px;color:#13264a;white-space:nowrap}
  .mbbs-mobile-row-toggle{width:28px;height:28px;border:0;background:#f2f6fb;color:#52627a;border-radius:50%;font-size:18px;line-height:1;display:grid;place-items:center;padding:0;cursor:pointer}
  .mbbs-expense-batch .mbbs-entry-table tbody tr:not(.is-expanded) td:not(.mbbs-row-head){display:none!important}
  .mbbs-expense-batch .mbbs-entry-table tbody tr.is-expanded td:not(.mbbs-row-head){display:grid!important;grid-template-columns:minmax(78px,30%) minmax(0,1fr);align-items:center;gap:7px;padding:7px 10px!important;border-bottom:1px solid #edf1f6!important;text-align:left!important;font-size:11px!important;background:#fff!important}
  .mbbs-expense-batch .mbbs-entry-table tbody tr.is-expanded td:not(.mbbs-row-head)::before{content:attr(data-label);font-weight:700;color:#52627a;min-width:0}
  .mbbs-expense-batch .mbbs-entry-table tbody tr.is-expanded td.mbbs-row-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;padding:7px 10px!important;border-bottom:0!important}
  .mbbs-expense-batch .mbbs-entry-table tbody tr.is-expanded td.mbbs-row-actions::before{content:none!important}
  .mbbs-expense-batch .mbbs-entry-table tbody tr.is-expanded td input,
  .mbbs-expense-batch .mbbs-entry-table tbody tr.is-expanded td select,
  .mbbs-expense-batch .mbbs-entry-table tbody tr.is-expanded td textarea{width:100%!important;min-width:0!important;max-width:100%!important;font-size:12px!important;padding:8px 9px!important;margin:0!important;border:1px solid #cbd5e1!important;border-radius:8px!important;background:#fff!important;box-sizing:border-box!important}
  .mbbs-expense-batch .mbbs-entry-table tbody tr.is-expanded td .mbbs-remove-row{display:inline-flex!important;align-items:center;justify-content:center;width:36px;height:34px;padding:0!important;border:1px solid #ffd0d8!important;border-radius:8px!important;background:#fff5f7!important;color:#c92743!important;font-size:21px!important}
  .mbbs-expense-batch .mbbs-entry-table tbody tr.is-expanded td.mbbs-row-actions input[type="hidden"]{display:none!important}
  .mbbs-expense-batch .mbbs-entry-table tbody tr.is-expanded td.mbbs-row-actions{min-height:45px}
  .mbbs-expense-batch .mbbs-entry-table tbody tr.is-expanded td.mbbs-row-actions .mbbs-remove-row:after{content:'Remove';font-size:10px;font-weight:700;margin-left:5px}
  .mbbs-expense-batch .mbbs-entry-table tbody tr.is-expanded td.mbbs-row-actions .mbbs-remove-row{width:auto;padding:0 10px!important}
  .mbbs-expense-batch .mbbs-entry-table tbody tr.is-expanded td.mbbs-row-actions .mbbs-remove-row:before{content:'×';font-size:21px;line-height:1}
  .mbbs-expense-batch .mbbs-entry-table tbody tr.is-expanded td.mbbs-row-actions .mbbs-remove-row{font-size:0}
  .mbbs-expense-batch .mbbs-entry-table tbody tr.is-expanded td.mbbs-row-actions .mbbs-remove-row:after{font-size:10px}
  .mbbs-expense-batch .mbbs-entry-table tbody tr.is-expanded td.mbbs-row-actions .mbbs-remove-row:before{font-size:21px}
  .mbbs-expense-batch .mbbs-entry-table tbody tr.is-expanded td.mbbs-row-actions .mbbs-remove-row{gap:3px}
  .mbbs-expense-batch .mbbs-entry-table tbody tr.is-expanded td.mbbs-row-actions .mbbs-remove-row{display:inline-flex}
  .mbbs-expense-batch .mbbs-entry-table tbody tr.is-expanded td:last-child{border-bottom:0!important}
  .mbbs-expense-batch .mbbs-entry-table .mbbs-row-head + td{border-top:0!important}
  .mbbs-expense-batch .mbbs-batch-actions{display:grid!important;grid-template-columns:1fr 1.25fr;gap:8px;margin-top:10px}
  .mbbs-expense-batch .mbbs-batch-actions .mbbs-button{width:100%!important;min-height:44px;padding:10px 9px!important;font-size:12px}
  .mbbs-expense-batch .mbbs-batch-total{background:#edf5ff;border:1px solid #dceaf8;border-radius:10px;padding:9px 11px;margin-top:4px;font-size:12px}
  .mbbs-expense-batch .mbbs-section-head{gap:8px}
}
@media(max-width:520px){
  .mbbs-expense-batch .mbbs-card{padding:11px}
  .mbbs-mobile-row-top{grid-template-columns:28px minmax(0,1fr) auto 26px;gap:7px;padding:10px 8px}
  .mbbs-mobile-row-number{width:27px;height:27px;font-size:11px}
  .mbbs-mobile-row-summary strong{font-size:12px}
  .mbbs-mobile-row-summary small{font-size:9px}
  .mbbs-mobile-row-amount{font-size:12px}
  .mbbs-mobile-row-toggle{width:26px;height:26px;font-size:17px}
  .mbbs-expense-batch .mbbs-entry-table tbody tr.is-expanded td:not(.mbbs-row-head){grid-template-columns:minmax(72px,31%) minmax(0,1fr);padding:6px 8px!important;font-size:10px!important}
  .mbbs-expense-batch .mbbs-entry-table tbody tr.is-expanded td input,
  .mbbs-expense-batch .mbbs-entry-table tbody tr.is-expanded td select{font-size:11px!important;padding:7px 8px!important}
  .mbbs-expense-batch .mbbs-batch-actions{grid-template-columns:1fr}
}
