/* Compact account numbers on the left, monthly forms on the right. */
#adminPage .bank-workspace{--bank-sidebar-width:280px;display:grid;grid-template-columns:minmax(140px,var(--bank-sidebar-width)) 12px minmax(0,1fr);gap:12px;align-items:stretch;min-height:520px;}
#adminPage #processTrustHost .bank-workspace{display:block;min-height:0;}
#adminPage .bank-sidebar{border:0;padding:2px 0 24px;display:flex;flex-direction:column;gap:23px;min-width:0;}
#adminPage .bank-divider{cursor:col-resize;position:relative;touch-action:none;}
#adminPage .bank-divider::after{content:"";position:absolute;left:5px;top:0;bottom:0;width:2px;border-radius:2px;background:#9dafbd;}
#adminPage .bank-divider:hover::after{background:#27638f;width:4px;left:4px;}
#adminPage .bank-account-nav{display:flex;flex-direction:column;gap:5px;}
#adminPage .bank-sidebar .btn{width:100%;height:auto;min-height:44px;padding:10px;font-size:13px;font-weight:700;border:1px solid #c3d0db;background:#fff;color:#35556d;white-space:normal;overflow-wrap:anywhere;text-align:left;line-height:1.5;}
#adminPage .bank-sidebar .bank-recon-button{min-height:29px;padding:4px 10px;font-size:11px;background:#eef4f8;text-align:center;}
#adminPage .bank-sidebar [aria-current=page]{background:#27638f;color:white;border-color:#27638f;}
#adminPage .bank-main{min-width:0;}
/* Keep the #7552 form and its pointer coordinates on the same display scale. */
#adminPage .bank-main.bank-trust-main{zoom:var(--bank-display-scale,1);}
#adminPage .bank-account-title{font-size:21px;font-weight:700;line-height:1.4;margin:0 0 13px;color:#254b67;overflow-wrap:anywhere;}
#adminPage .bank-form-title{display:flex;align-items:center;gap:17px;flex-wrap:wrap;margin-bottom:15px;}
#adminPage .bank-form-title h3{font-size:15px;font-weight:600;margin:0;color:#4b6272;}
#adminPage .bank-month{display:flex;align-items:center;gap:8px;font-size:12px;}
#adminPage .bank-month input{height:33px;border:1px solid #b9cbd9;border-radius:3px;background:white;padding:4px 8px;text-align:center;}
#adminPage [data-bank-status]{font-size:12px;color:#426d53;margin-left:auto;max-width:500px;}
#adminPage .bank-tools{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 17px;}
#adminPage .bank-tools .btn:last-child{margin-left:auto;}
#adminPage .bank-form-heading{display:flex;align-items:center;gap:20px;margin-bottom:12px;flex-wrap:wrap;}
#adminPage .bank-save-note{font-size:11px;color:#6b7b88;}
#adminPage .bank-field{display:flex;align-items:center;gap:9px;min-width:0;font-size:12px;}
#adminPage .bank-field span{font-weight:600;}
#adminPage .bank-field input{height:33px;border:1px solid #b9cbd9;border-radius:3px;padding:6px 8px;min-width:0;width:190px;background:white;}
#adminPage input[data-bank-money]{text-align:center;font-variant-numeric:tabular-nums;}
#adminPage .bank-table-scroll{overflow:auto;border:1px solid #c7d4df;border-radius:4px;max-height:65vh;background:white;}
#adminPage .bank-table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px;table-layout:fixed;}
#adminPage .bank-table th{padding:9px 6px;background:#e8eff5;text-align:center;font-size:11px;color:#35556d;position:sticky;top:0;z-index:2;}
#adminPage .bank-table td{border-top:1px solid #e0e6eb;border-right:1px solid #e0e6eb;vertical-align:middle;padding:4px;background:#fff;}
#adminPage .bank-table td:last-child{border-right:0;}
#adminPage .bank-table input,#adminPage .bank-table textarea{display:block;width:100%;min-width:0;border:1px solid transparent;background:transparent;padding:7px 5px;font:12px Arial,sans-serif;color:#273c4b;line-height:1.45;border-radius:2px;resize:vertical;}
#adminPage .bank-table input:focus,#adminPage .bank-table textarea:focus{outline:2px solid #3b89bb;outline-offset:-1px;background:#fffef3;}
#adminPage .bank-table input[type=date]{text-align:center;font-size:11px;}
#adminPage .bank-journal{min-width:1275px;}
#adminPage .bank-journal.bank-journal-trust{width:1467px;min-width:1467px;}
#adminPage .bank-journal.bank-journal-general{width:100%;min-width:947px;}
#adminPage .bank-journal.bank-journal-rent{width:1340px;min-width:1340px;}
#adminPage .bank-journal.bank-journal-rent th{width:auto;}
#adminPage .bank-journal.bank-journal-trust th,#adminPage .bank-journal.bank-journal-general th{width:auto;}
#adminPage .bank-journal.bank-journal-trust th{background:#d8d8d8;color:#263d4c;}
#adminPage .bank-journal.bank-journal-general th{background:#e9eff3;}
#adminPage .bank-ending{margin-left:auto;font-size:13px;display:flex;gap:14px;align-items:center;}
#adminPage .bank-journal th:nth-child(1){width:40px;}
#adminPage .bank-journal th:nth-child(2){width:132px;}
#adminPage .bank-journal th:nth-child(3){width:170px;}
#adminPage .bank-journal th:nth-child(4),#adminPage .bank-journal th:nth-child(5){width:120px;}
#adminPage .bank-journal th:nth-child(6){width:143px;}
#adminPage .bank-journal th:nth-child(7){width:230px;}
#adminPage .bank-journal th:nth-child(8){width:150px;}
#adminPage .bank-journal th:nth-child(9){width:200px;}
#adminPage .bank-journal th:last-child{width:43px;}
#adminPage .bank-journal.bank-select-journal th:last-child{width:auto;}
#adminPage .bank-select-journal .bank-pick{width:38px;padding:4px 4px 4px 7px;text-align:left;}
#adminPage .bank-select-journal .bank-pick input[type=checkbox]{display:inline-block;width:16px;height:16px;margin:0;cursor:pointer;}
/* T52.6.91: SAVE / REFRESH status remains visible on every Accounting page. */
#adminPage .bank-number,#adminPage .bank-center{text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap;}
#adminPage .bank-table tfoot th,#adminPage .bank-table tfoot td{position:sticky;bottom:0;top:auto;background:#fff4bf;font-weight:700;height:42px;border-top:1px solid #e5d68d;z-index:2;}
#adminPage .bank-delete{min-width:25px!important;width:25px;padding:0!important;height:26px!important;border:0;color:#8a5151;background:transparent;font-size:20px!important;}
#adminPage .bank-row-actions{margin:10px 0 18px;}
#adminPage .bank-meta{display:flex;align-items:flex-end;gap:14px 23px;flex-wrap:wrap;margin:0 0 17px;}
#adminPage .bank-meta .bank-field{flex-direction:column;align-items:flex-start;}
#adminPage .bank-recon-section{margin:15px 0 0;border:1px solid #c7d4df;border-radius:4px;overflow:hidden;background:white;}
#adminPage .bank-recon-section h4{margin:0;padding:11px 13px;font-size:13px;font-weight:700;color:#35556d;background:#e8eff5;}
#adminPage .bank-recon-table th:nth-child(2){width:160px;}
#adminPage .bank-recon-table th:nth-child(3){width:42%;}
#adminPage .bank-recon-table th:last-child{width:44px;}
#adminPage .bank-explanation,#adminPage .bank-journal td:nth-child(9){background:#d9e8ad!important;}
#adminPage .bank-explanation textarea,#adminPage .bank-journal td:nth-child(9) textarea{background:transparent!important;}
#adminPage .bank-recon-help{margin:0 0 12px;padding:10px 12px;background:#d9e8ad;border:1px solid #b7cd75;color:#456030;font-size:12px;line-height:1.5;}
#adminPage .bank-section-footer{display:flex;justify-content:space-between;align-items:center;padding:8px 13px;background:#f5f8fa;gap:16px;}
#adminPage .bank-section-footer span{display:flex;align-items:center;gap:20px;font-size:12px;}
#adminPage .bank-section-footer strong{min-width:145px;text-align:center;font-variant-numeric:tabular-nums;}
#adminPage .bank-total{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#fff4bf;padding:13px 20px;font-size:13px;border:1px solid #e5d68d;margin:9px 0 21px;}
#adminPage .bank-total strong:last-child{min-width:145px;text-align:center;font-variant-numeric:tabular-nums;}
#adminPage .bank-signature{margin-top:25px;}
#adminPage .bank-note{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;margin-top:18px;}
#adminPage .bank-note textarea{width:100%;border:1px solid #b9cbd9;padding:10px;border-radius:3px;font:13px Arial,sans-serif;resize:vertical;}
#adminPage .bank-error{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0;}
#adminPage .bank-email-dialog{width:min(600px,94vw);border:1px solid #adbecb;border-radius:6px;padding:25px;color:#273c4b;max-height:90vh;overflow:auto;}
#adminPage .bank-email-dialog::backdrop{background:#182a3b66;}
#adminPage .bank-email-dialog h2{font-size:18px;margin:0 0 13px;}
#adminPage .bank-email-dialog p{line-height:1.6;}
#adminPage .bank-email-dialog label{display:flex;flex-direction:column;gap:5px;margin:12px 0;font-weight:600;font-size:12px;}
#adminPage .bank-email-dialog input,#adminPage .bank-email-dialog textarea{border:1px solid #b9cbd9;padding:9px;font:13px Arial,sans-serif;resize:vertical;}
#adminPage .bank-email-dialog>div{display:flex;gap:10px;justify-content:flex-end;margin-top:20px;}
#adminPage .bank-email-help{font-size:12px;color:#5b6f7d;}
#adminPage .bank-legacy{border-top:1px solid #c7d4df;margin-top:35px;padding-top:16px;}
#adminPage .bank-legacy>summary{cursor:pointer;color:#4b6578;font-size:12px;font-weight:700;margin-bottom:15px;}
@media(max-width:650px){#adminPage .bank-workspace{grid-template-columns:77px minmax(0,1fr);}#adminPage .bank-account-title{font-size:17px;}#adminPage .bank-form-title{gap:10px;}#adminPage [data-bank-status]{margin-left:0;width:100%;}#adminPage .bank-tools .btn:last-child{margin-left:0;}#adminPage .bank-meta .bank-field{width:100%;}#adminPage .bank-field input{max-width:100%;}#adminPage .bank-recon-table th:nth-child(2){width:95px;}#adminPage .bank-section-footer strong,#adminPage .bank-total strong:last-child{min-width:70px;}#adminPage .bank-section-footer{padding:8px;gap:8px;}#adminPage .bank-section-footer span{gap:6px;}}
@media(max-width:650px){#adminPage .bank-workspace{grid-template-columns:minmax(140px,min(var(--bank-sidebar-width),40vw)) 8px minmax(0,1fr);gap:7px;}#adminPage .bank-sidebar{padding-right:0;}#adminPage .bank-sidebar .btn{font-size:11px;padding:8px;}}

#adminPage .bank-row-actions{display:flex;align-items:center;gap:14px;margin-top:10px;}

/* #7552 journal row selection and resizable column boundaries. */
#adminPage .bank-trust-row-tools{flex-wrap:wrap;gap:8px;margin:0 0 10px;}
#adminPage .bank-journal.bank-enhanced th{width:auto;padding-right:12px;border-right:1px solid #bdc9d2;}
#adminPage .bank-journal.bank-enhanced .bank-pick{padding:4px;text-align:center;}
#adminPage .bank-enhanced input[type=checkbox]{display:inline-block;width:15px;min-width:15px;height:15px;padding:0;margin:0;cursor:pointer;}
#adminPage .bank-enhanced .bank-row-selected td{background:#eaf3fb;}
#adminPage .bank-enhanced .bank-active-row td{box-shadow:inset 0 -2px #91b6d0;}
#adminPage .bank-column-divider{position:absolute;right:0;top:0;bottom:0;width:9px;cursor:col-resize;touch-action:none;user-select:none;z-index:4;}
#adminPage .bank-column-divider::after{content:"";position:absolute;right:0;top:0;bottom:0;width:2px;background:#8b9dab;}
#adminPage .bank-column-divider:hover::after,#adminPage .bank-column-divider:focus-visible::after{width:3px;background:#27638f;}
#adminPage .bank-column-divider:focus-visible{outline:2px solid #27638f;outline-offset:-2px;}
/* #7544: first five former visible column widths reduced by half; seven data columns. */
#adminPage #bankGeneralSheet .sheet-table{font-size:11px;max-width:none;}
#adminPage #bankGeneralSheet .sheet-table :is(input,textarea){font:11px Arial,sans-serif;line-height:16px;padding:3px;width:100%;min-width:0;box-sizing:border-box;}
#adminPage #bankGeneralSheet .sheet-table textarea{display:block;border:0;border-radius:0;resize:vertical;min-height:32px;white-space:pre-wrap;overflow-wrap:anywhere;height:100%;}
#adminPage #bankGeneralSheet .sheet-table th input[data-sheet-header]{background:transparent;font-size:10px;height:auto;min-height:28px;font-weight:bold;text-overflow:clip;padding:2px;cursor:default;}
#adminPage #bankGeneralSheet .sheet-table .sheet-column-letter{display:block;font-size:10px;padding:2px 4px;color:#708590;}
#adminPage #bankGeneralSheet .sheet-table td.sheet-money input{font-size:10px;padding-left:7px!important;padding-right:7px!important;}
#adminPage #bankGeneralSheet .sheet-table .sheet-dollar{position:absolute;left:1px;top:50%;transform:translateY(-50%);font-size:10px;pointer-events:none;}
#adminPage #bankGeneralSheet .sheet-table th input[type=checkbox]{display:inline-block;width:14px;height:14px;min-height:14px;padding:0;margin:0;}
#adminPage #bankGeneralSheet .sheet-table tbody th:has(input[type=checkbox]){left:0;text-align:center!important;}
#adminPage #bankGeneralSheet .sheet-table tbody th:nth-child(2){left:32px;}
#adminPage #bankGeneralSheet .sheet-table td.sheet-selected{outline:1px solid #75a8cb;outline-offset:-1px;}
#adminPage #bankGeneralSheet .sheet-table td.sheet-current{box-shadow:inset 0 0 0 2px #21864e;}
#adminPage .sheet-column-divider{position:absolute;right:0;top:0;bottom:0;width:7px;border-right:2px solid #879eae;cursor:col-resize;touch-action:none;}
#adminPage #bankGeneralSheet .sheet-tools input[type=color]{width:30px;padding:2px;}
#adminPage .bank-general-totals{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;}
#adminPage .bank-general-totals>div{padding:8px 12px;border:1px solid #cbd7df;background:#f5f8fa;flex:1;min-width:145px;}
#adminPage .bank-general-totals span{display:block;font-size:11px;margin-bottom:5px;}
#adminPage .bank-general-totals strong{display:block;text-align:center;font-variant-numeric:tabular-nums;}

#adminPage #bankGeneralSheet .sheet-dollar{color:inherit;}

/* Match Payment's worksheet typography, row controls and cell spacing. */
#adminPage #bankGeneralSheet.bank-trust-sheet .sheet-table{font-size:12px;}
#adminPage #bankGeneralSheet.bank-trust-sheet .sheet-table td input{font:13px Arial,sans-serif;line-height:normal;padding:3px 5px;min-height:27px;}
#adminPage #bankGeneralSheet.bank-trust-sheet .sheet-table td textarea{font:12px Arial,sans-serif;line-height:16px;padding:4px;min-height:30px;}
#adminPage #bankGeneralSheet.bank-trust-sheet .sheet-table thead th{height:49px;}
#adminPage #bankGeneralSheet.bank-trust-sheet .sheet-table th input[data-sheet-header]{font-size:12px;line-height:normal;height:29px;min-height:29px;padding:4px 3px;}
#adminPage #bankGeneralSheet.bank-trust-sheet .sheet-table .sheet-column-letter{font-size:10px;padding:3px;}
#adminPage #bankGeneralSheet.bank-trust-sheet .sheet-table th input[type=checkbox]{width:15px;height:15px;min-height:15px;}
#adminPage #bankGeneralSheet.bank-trust-sheet .sheet-tools :is(button,select,input){font-size:11px;padding:4px 5px;}
