.bs-card,.bs-dialog{font-variant-numeric:tabular-nums}
.bs-sources{display:grid;gap:2px;margin-top:10px}
.bs-source{width:100%;display:grid;grid-template-columns:1fr auto 14px;align-items:center;text-align:left;gap:5px;padding:5px 4px;background:none;border:0;border-radius:4px;cursor:pointer;color:#1c684f;font:500 13px/1.45 inherit;font-family:inherit;font-size:13px;line-height:1.45}
.bs-source.bs-adjustment{color:#33579a}.bs-source strong{font-size:15px}.bs-source .vben-icon{width:14px;height:14px}.bs-source:hover:not(:disabled){background:#eef5f3}.bs-source.bs-adjustment:hover:not(:disabled){background:#eff3fa}.bs-source:disabled{cursor:default}.bs-source:focus-visible,.bs-dialog :focus-visible{outline:2px solid #2676c4;outline-offset:2px}
.bs-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;padding:0;max-width:calc(100vw - 24px);width:1000px;max-height:88vh;max-height:88dvh;overflow:auto;border:1px solid #d4dce5;border-radius:8px;background:white;color:#233045;box-shadow:0 20px 72px #16243536;font-family:inherit;font-size:14px}
.bs-dialog::backdrop{background:rgba(22,35,54,.43)}.bs-dialog *{box-sizing:border-box}.bs-dialog .bs-head,.bs-dialog .bs-foot,.bs-result-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.bs-head{padding:20px 24px 15px;border-bottom:1px solid #dce2e8}.bs-kicker{color:#556577;font-size:12px}.bs-head h2{margin:3px 0 0;font-size:21px;line-height:1.4;color:#19293c}.bs-close{border:0;border-radius:4px;width:36px;height:36px;background:none;color:#506074;font-size:25px;line-height:1;cursor:pointer}.bs-close:hover{background:#eef2f5}
.bs-form{padding:16px 24px;display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;background:#f7f9fb;border-bottom:1px solid #e0e6ed}.bs-form label{display:grid;gap:5px;flex:1 1 122px;font-weight:550;color:#4a596a;font-size:12px;min-width:0}.bs-form label:first-child{flex-basis:180px}.bs-form input,.bs-form select{width:100%;min-width:0;height:36px;border:1px solid #bac7d4;background:#fff;color:#243244;border-radius:4px;font:inherit;font-size:13px;padding:0 8px}.bs-form-actions,.bs-foot>div{display:flex;align-items:center;gap:8px}
.bs-output{padding:0 24px}.bs-result-head{padding:15px 0;color:#536173;font-size:13px}.bs-result-head strong{color:#22374a;font-size:17px}.bs-table-wrap{max-width:100%;overflow:auto;max-height:48vh}.bs-dialog table{border-collapse:collapse;text-align:left;width:100%;font-size:13px;min-width:650px}.bs-dialog th,.bs-dialog td{padding:10px 9px;border-bottom:1px solid #e3e9ee;color:#344359;overflow-wrap:anywhere;vertical-align:middle}.bs-dialog th{position:sticky;top:0;background:#f1f5f8;font-size:12px;white-space:nowrap;color:#4d5f73}.bs-dialog td strong{font-weight:600}.bs-dialog td small{display:block;font-size:11px;color:#59697d;margin-top:2px}.bs-dialog td:last-child{white-space:nowrap}.bs-dialog .bs-minus{color:#a3343d}.bs-dialog .bs-plus{color:#1c684f}.bs-state{margin:14px 0 24px;padding:22px 8px;text-align:center;color:#586778}.bs-note{color:#875014}.bs-foot{padding:13px 0;color:#536579;font-size:12px}.bs-dialog button:disabled{opacity:.55;cursor:default}
@media(max-width:600px){.bs-head,.bs-form{padding:13px}.bs-output{padding:0 13px}.bs-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.bs-dialog{max-height:94dvh}.bs-foot{flex-wrap:wrap}.bs-table-wrap{max-height:43vh}.bs-dialog table,.bs-dialog tbody,.bs-dialog tr{display:block;width:100%;min-width:0}.bs-dialog thead{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.bs-dialog tbody tr{padding:8px 0;border-top:1px solid #dce2e8}.bs-dialog td{display:grid;grid-template-columns:6.5em minmax(0,1fr);gap:7px;align-items:baseline;padding:3px 1px;border:0}.bs-dialog td::before{content:attr(data-label);font-size:12px;color:#556579}.bs-dialog td div{justify-self:end;text-align:right}.bs-dialog td:last-child{white-space:normal}.bs-dialog td small{display:inline;margin-left:6px}}

.bs-ledger{width:1120px}.bs-ledger .bs-head h2{letter-spacing:.015em}.bs-ledger-form{display:grid;grid-template-columns:minmax(165px,1.65fr) repeat(2,minmax(96px,.85fr)) repeat(2,minmax(130px,1fr)) auto;gap:12px}.bs-ledger-form .bs-form-actions{align-self:end}.bs-ledger-form .bs-form-actions button{white-space:nowrap}.bs-ledger .bs-validation{grid-column:1/-1;margin:0;color:#a3343d;font-weight:550}.bs-ledger .bs-ledger-summary>div{display:flex;align-items:center;gap:20px}.bs-ledger-summary span{white-space:nowrap}.bs-ledger-summary strong{font-variant-numeric:tabular-nums}.bs-ledger .bs-muted{color:#58697b}.bs-ledger th:nth-child(3),.bs-ledger th:nth-child(4),.bs-ledger td:nth-child(3),.bs-ledger td:nth-child(4){text-align:right}.bs-ledger td:first-child,.bs-ledger td:nth-child(3),.bs-ledger td:nth-child(4){white-space:nowrap}.bs-ledger td:last-child{white-space:normal;max-width:17em}.bs-ledger td small{max-width:26em}.bs-ledger .bs-table-wrap{scrollbar-gutter:stable}.bs-ledger td:nth-child(3){font-weight:650}
@media(max-width:1000px){.bs-ledger-form{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.bs-ledger-form{grid-template-columns:repeat(2,minmax(0,1fr))}.bs-ledger-form>label:first-child{grid-column:1/-1}.bs-ledger-form .bs-form-actions{justify-content:flex-end}.bs-ledger .bs-ledger-summary{align-items:flex-start;flex-wrap:wrap;gap:5px}.bs-ledger .bs-ledger-summary>div{gap:12px;flex-wrap:wrap}.bs-ledger td:last-child{max-width:none}.bs-ledger td:nth-child(3),.bs-ledger td:nth-child(4){text-align:left}.bs-ledger .bs-form-actions button,.bs-ledger select,.bs-ledger input{min-height:40px}}
.bs-ledger-member{display:inline-flex;gap:9px;align-items:center;text-align:left;max-width:100%}.bs-ledger-avatar{position:relative;display:inline-grid;place-items:center;flex:0 0 30px;width:30px;height:30px;overflow:hidden;border-radius:50%;background:#e5edf1;color:#405e71;font-size:13px;font-weight:650}.bs-ledger-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#e5edf1}.bs-ledger-member-name{min-width:0;overflow-wrap:anywhere}.bs-ledger .bs-ledger-member-name small{display:block;margin:1px 0 0}

/* Keep pressed labels legible inside the bean ledger with the desktop theme. */
body.vben-console .bs-card .bs-total small { color: #56677c; }
body.vben-console .bs-card .bs-total:active:not(:disabled) { background: #e0eaf4; }
body.vben-console .bs-ledger .btn.primary { color: #fff; background: #1664c3; border-color: #1664c3; }
body.vben-console .bs-ledger .btn.primary:hover:not(:disabled) { background: #1458a9; border-color: #1458a9; }
body.vben-console .bs-ledger .btn.primary:active:not(:disabled) { background: #104782; border-color: #104782; }
body.vben-console .bs-ledger .btn:not(.primary):hover:not(:disabled) { color: #324f72; background: #eef4fa; border-color: #a9bdd1; }
body.vben-console .bs-ledger .btn:not(.primary):active:not(:disabled) { color: #243e5d; background: #dce8f3; border-color: #8eaac2; }
