.bank-hub{width:min(1180px,96vw);max-width:none;max-height:94vh;padding:0;border:1px solid #dce5f0;border-radius:18px;color:#1d2b43;background:#fff;box-shadow:0 20px 70px #0c172a44}.bank-hub::backdrop{background:#0c172a66}.hub-head{display:flex;align-items:flex-start;justify-content:space-between;padding:24px 28px;border-bottom:1px solid #e0e8f2}.hub-head h2{font-size:26px;margin:5px 0}.hub-head p,.hub-welcome p{margin:7px 0;color:#607596}.hub-eyebrow{font-size:11px;letter-spacing:1px;font-weight:700;color:#3277e8}.hub-content{padding:24px 28px;overflow:auto;max-height:calc(94vh - 218px)}.hub-start{display:grid;grid-template-columns:1fr 1fr;gap:20px}.hub-drop{display:flex;flex-direction:column;justify-content:center;gap:10px;border:2px dashed #b9d1f6;border-radius:14px;padding:24px;background:#f4f8ff;cursor:pointer}.hub-drop b{color:#2768d9;font-size:18px}.hub-drop span,.hub-drop small{color:#5e7290}.hub-drop input{max-width:100%;margin-top:8px}.hub-inbox{border:1px solid #e0e8f2;border-radius:14px;padding:18px;min-width:0}.hub-inbox code{display:block;font-size:11px;overflow-wrap:anywhere;color:#687b98}.hub-line{display:flex;align-items:center;justify-content:space-between;gap:12px}.hub-line h3{margin:0;font-size:17px}.hub-inbox-row{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:12px}.hub-inbox-row span{overflow-wrap:anywhere;min-width:0}.hub-inbox-row small{display:block;color:#687b98}.hub-agent{margin:20px 0;background:#f6f8fc;padding:14px 18px;border-radius:10px}.hub-agent summary,.hub-file summary,.hub-file-review summary{cursor:pointer;font-weight:600}.hub-agent p{max-width:850px;line-height:1.5}.hub-agent textarea{width:100%;margin:12px 0;resize:vertical}.hub-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}.hub-fields label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#596e8c}.hub-fields .input,.hub-fields .select{width:100%;min-width:0;font-size:14px}.hub-file{margin:18px 0;padding:20px;border:1px solid #dce5f0;border-radius:12px}.hub-file>label{display:block;max-width:260px}.hub-file h4{margin-top:24px}.hub-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid #e0e8f2;background:#fff;border-radius:0 0 18px 18px;flex-wrap:wrap}.hub-footer>span{margin-right:auto;font-size:13px;color:#607596;max-width:280px}.hub-footer label{font-size:13px}.hub-result{background:#effaf6;border:1px solid #c5e9dc;border-radius:12px;padding:20px}.hub-warning{background:#fff8e8;border-color:#ead9aa}.hub-balances{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.hub-balances>div{display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid #e2e8ed;border-radius:9px;padding:14px}.hub-balances strong{font-size:20px}.hub-file-review{margin:20px 0}.hub-file-review>div{margin:8px 0}.hub-file-review>div>span{display:block;font-size:13px;color:#5e7290}.hub-table-wrap{overflow:auto;max-height:430px;border:1px solid #e0e8f2;margin-top:12px}.hub-table-wrap table{width:100%;min-width:680px;border-collapse:collapse}.hub-table-wrap td,.hub-table-wrap th{padding:10px;vertical-align:top;border-bottom:1px solid #e5ebf4;text-align:left}.hub-table-wrap td:last-child{min-width:210px}.hub-table-wrap select{max-width:300px}.hub-table-wrap th{background:#f3f7fc;font-size:12px}.hub-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid #bfd4f6;background:#edf4ff;border-radius:14px;padding:22px 24px;margin-bottom:24px}.hub-welcome h2{margin:5px 0;font-size:22px}.bank-lab-badge{font-size:10px;font-weight:700;color:#acd0ff;padding:5px 9px;border:1px solid #375878;border-radius:6px;letter-spacing:.5px;margin:0 16px}.bank-hub [hidden]{display:none!important}@media(max-width:760px){.hub-start,.hub-fields,.hub-balances{grid-template-columns:1fr}.hub-welcome{align-items:stretch;flex-direction:column;gap:12px}.hub-head,.hub-content{padding:16px}.hub-footer{padding:12px}.hub-footer>span{max-width:none;width:100%}.hub-content{max-height:calc(94vh - 275px)}.hub-head h2{font-size:22px}.bank-lab-badge{display:none}.hub-footer .btn{flex:1}.hub-file{padding:14px}.hub-line h3{overflow-wrap:anywhere;min-width:0}}
.hub-file-review{border:1px solid #e0e8f2;border-radius:10px;padding:14px}.hub-file-review>summary{padding:4px 0}.hub-file-review[open]>summary{margin-bottom:12px}.hub-footer>span.green{color:#009f78}.global-topbar .bank-lab-badge{order:0;margin-left:20px;margin-right:auto}.global-topbar .global-tools{order:1}@media(max-width:760px){.global-topbar .bank-lab-badge{display:block;font-size:8px;padding:4px;max-width:85px;margin:0 8px;line-height:1.4}}
.hub-agent{border:1px solid #c9dcf6;background:#f4f8ff;border-radius:12px;padding:18px;margin:16px 0}.hub-agent h3{margin:0 0 8px}.hub-agent p{font-size:13px;line-height:1.5}.hub-agent details{font-size:13px;margin-top:12px}

/* Available funds include the facility once; ledger details stay accessible. */
.account-funds-details{font-size:12px;min-width:210px;margin-top:7px;text-align:left}
.account-funds-details summary{cursor:pointer;color:#607491;font-weight:500}
.account-funds-details dl{margin:8px 0;display:grid;gap:6px}
.account-funds-details dl>div{display:flex;justify-content:space-between;gap:18px}
.account-funds-details dd{margin:0;font-weight:500;white-space:nowrap}
.account-funds-details dt{color:#607491}.account-funds-details p{max-width:340px}
.account-funds-value{display:flex;flex-direction:column;align-items:flex-end}.account-funds-value>small,.settings-funds>small{color:#607491;font-size:11px}
.settings-funds{display:flex;flex-direction:column;align-items:flex-start;min-width:0}.settings-account-row:has(.settings-funds){align-items:start}
.account-funds-form{border:1px solid #dce5f2;border-radius:10px;padding:12px}.account-funds-form legend{font-weight:600}
@media(max-width:700px){.settings-funds{grid-column:1/-1}.account-funds-details{min-width:0;width:100%}}

.hub-table-wrap td>small{display:block;margin-top:4px;color:#607491;line-height:1.4}.funds-as-of{display:block;margin-top:4px}

.settings-account-row:has(.settings-funds)>*{align-self:start}.settings-account-row:has(.settings-funds)>.settings-row-actions{padding-top:5px}

.hub-welcome[hidden]{display:none!important}.hub-inbox-row{flex-wrap:wrap}.hub-inbox-row>span{flex:1;min-width:180px}.hub-agent>.btn{margin:3px}.hub-agent>.small input{width:auto;margin:10px}.hub-head{position:static;background:#fff;color:#1d2b43;height:auto;min-height:0}.hub-head .btn{flex-shrink:0}
