#app #tab-bank .bk-layout { display: flex; gap: 14px; flex: 1; min-height: 0; overflow: hidden; }

#app #tab-bank .bk-list-col { flex: 0 0 340px; width: 340px; display: flex; flex-direction: column; border: 1px solid var(--border-color); border-radius: 6px; background: var(--bg-surface); overflow: hidden; }
#app #tab-bank .bk-list-col .players-list-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border-bottom: 1px solid var(--border-color); }
#app #tab-bank .bk-list-col .players-list-title { flex: 1; font-size: 14px; font-weight: 650; color: var(--text-primary); }
#app #tab-bank .bk-list-col .players-list-search { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--border-color); border-top: 0; }
.bk-filters { margin: 0; gap: 5px; }
.bk-filters .pl-chip { padding: 4px 10px; font-size: 11.5px; text-transform: none; }
#app #tab-bank .bk-list-col .simple-list { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px; }
#app #tab-bank .bk-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid transparent; border-radius: 5px; background: none; cursor: pointer; }
#app #tab-bank .bk-row:hover { background: var(--staff-hover); border-color: var(--border-color); }
#app #tab-bank .bk-row.selected { background: var(--staff-selected); border-color: var(--border-color-strong); box-shadow: inset 3px 0 var(--pl-accent); }
.bk-row-ic { flex: 0 0 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--pl-accent); }
.bk-row-ic svg { width: 16px; height: 16px; }
.bk-row .grow { min-width: 0; }
.bk-row .simple-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-row .simple-meta { font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex: none; }
.bk-row-side b { font-size: 12.5px; color: var(--dx-green); font-variant-numeric: tabular-nums; }
.bk-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.bk-dot.active { background: var(--dx-green); }
.bk-dot.blocked { background: var(--dx-red); }
.bk-list-footer { padding: 10px 12px; border-top: 1px solid var(--border-color); }

#app #tab-bank .bk-empty { flex: 1; align-self: center; }

#app #tab-bank #bank-detail-wrap.bk-detail { display: flex; flex-direction: column; gap: 14px; flex: 1; min-width: 0; min-height: 0; }
#app #tab-bank #bank-detail-wrap.hidden { display: none !important; }

.bk-head { display: flex; align-items: stretch; gap: 16px; padding: 14px 16px; border: 1px solid var(--border-color); border-radius: 6px; background: var(--bg-surface); }

.bk-kpis { flex: 1; align-content: center; gap: 10px; }
.bk-kpis .rob-kpi { position: relative; padding: 10px 14px 10px 17px; background: rgba(0, 0, 0, .28); overflow: hidden; }
.bk-kpis .rob-kpi::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--pl-accent, var(--brand)); }
.bk-kpis .rob-kpi strong { font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--pl-accent, var(--text-primary)); }

#app #tab-bank .bk-nav { margin: 0; padding: 0; gap: 6px; background: none; border: 0; }
#app #tab-bank .bk-nav .sub-nav-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; }
.bk-nav .sub-nav-btn .ic svg { width: 14px; height: 14px; }
.bk-nav .count-badge { min-width: 18px; padding: 0 6px; font-size: 10.5px; }

.bk-main { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.bk-panel .scroll-area { flex: 1; min-height: 0; padding-right: 4px; }
#app #tab-bank .pl-card { position: relative; overflow: hidden; }
#app #tab-bank .pl-card::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 2px; background: var(--pl-accent, var(--brand)); opacity: .8; }
#app #tab-bank .rob-card-head .pl-tag { margin-left: auto; }
#app #tab-bank .rob-card .form-group label { font-size: 11px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); }
.bk-danger { border-color: rgba(255, 171, 176, .22) !important; background: rgba(255, 171, 176, .04) !important; }

.bk-tx { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.bk-tx:last-child { border-bottom: 0; }
.bk-tx-ic { flex: 0 0 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .06); color: var(--text-secondary); font-size: 14px; font-weight: 700; }
.bk-tx.in .bk-tx-ic { background: rgba(160, 219, 187, .12); color: var(--dx-green); }
.bk-tx.out .bk-tx-ic { background: rgba(255, 171, 176, .12); color: var(--dx-red); }
.bk-tx .grow { min-width: 0; }
.bk-tx-desc { font-size: 13px; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-tx-meta { margin-top: 2px; font-size: 11px; color: var(--text-muted); }
.bk-tx-amount { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--text-secondary); }
.bk-tx.in .bk-tx-amount { color: var(--dx-green); }
.bk-tx.out .bk-tx-amount { color: var(--dx-red); }

.bk-loan { padding: 12px 14px; margin-bottom: 8px; border: 1px solid var(--border-color); border-radius: 6px; background: rgba(0, 0, 0, .22); }
.bk-loan:last-child { margin-bottom: 0; }
.bk-loan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--text-primary); }
.bk-loan-bar { height: 8px; margin: 10px 0 8px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bk-loan-bar span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--dx-yellow), var(--dx-green)); }
.bk-loan-meta { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--text-muted); }
.bk-loan-meta b { color: var(--dx-yellow); font-variant-numeric: tabular-nums; }

#app #tab-bank .pcard-empty { padding: 14px 0; color: var(--text-muted); font-size: 12.5px; }

@media (max-width: 1500px) {
  #app #tab-bank .bk-list-col { flex-basis: 290px; width: 290px; }
  .bk-head { flex-wrap: wrap; }
  .bk-card-host { flex-basis: 100%; flex-direction: row; align-items: flex-end; }
  .bk-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #app #tab-bank .rob-grid-2 { grid-template-columns: 1fr; }
}

.bk-card-host { flex: none; display: flex; flex-direction: column; gap: 10px; }
.bk-card-caption { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.bk-card-caption b { min-width: 0; font-size: 13px; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-row-ic img { width: 100%; height: 100%; border-radius: 6px; background: #fff; object-fit: contain; padding: 2px; }
.bk-row-ic.checking { color: #6b93f7; }
.bk-row-ic.savings { color: #2cb5a6; }
.bk-row-ic.business { color: #94a3b8; }

.bkc { position: relative; width: 270px; aspect-ratio: 1.586; border-radius: 14px; padding: 16px 18px; color: #fff; overflow: hidden; display: flex; flex-direction: column; user-select: none; box-shadow: 0 18px 36px -14px rgba(15, 23, 42, .45); }
.bkc::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .22), transparent 55%), repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 9px); pointer-events: none; }
.bkc::after { content: ''; position: absolute; right: -60px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; border: 38px solid rgba(255, 255, 255, .06); pointer-events: none; }
.bkc.checking { background: linear-gradient(135deg, #3b6ef5 0%, #1e40af 55%, #172554 100%); }
.bkc.savings { background: linear-gradient(135deg, #0f9f90 0%, #0f6b62 55%, #0a403b 100%); }
.bkc.savings .bkc-brand b { color: #fde68a; }
.bkc.business { background: linear-gradient(135deg, #475569 0%, #1e293b 60%, #0f172a 100%); }
.bkc.blocked { filter: grayscale(.85) brightness(.8); }
.bkc-brand { display: flex; align-items: center; gap: 9px; position: relative; z-index: 1; min-width: 0; }
.bkc-brand b { font-size: 14px; font-weight: 800; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bkc-brand small { margin-left: auto; flex: none; font-size: 10px; font-weight: 700; letter-spacing: .14em; opacity: .8; text-transform: uppercase; }
.bkc-brand .soc { flex: none; width: 28px; height: 28px; border-radius: 7px; background: #fff; object-fit: contain; padding: 2px; }
.bkc-chip-row { display: flex; align-items: center; gap: 14px; margin-top: 12px; position: relative; z-index: 1; }
.bkc-emv { width: 36px; height: 27px; border-radius: 7px; background: linear-gradient(135deg, #f6dd9c, #caa257 45%, #f1d48a); position: relative; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.bkc-emv::before { content: ''; position: absolute; inset: 7px 0; border-top: 1px solid rgba(0, 0, 0, .25); border-bottom: 1px solid rgba(0, 0, 0, .25); }
.bkc-emv::after { content: ''; position: absolute; inset: 0 12px; border-left: 1px solid rgba(0, 0, 0, .25); border-right: 1px solid rgba(0, 0, 0, .25); }
.bkc-nfc { width: 20px; height: 20px; opacity: .85; }
.bkc-num { margin-top: auto; font-family: 'Consolas', 'Cascadia Mono', monospace; font-size: 15px; letter-spacing: .14em; position: relative; z-index: 1; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); white-space: nowrap; }
.bkc-foot { display: flex; align-items: flex-end; gap: 12px; margin-top: 10px; position: relative; z-index: 1; }
.bkc-foot small { display: block; font-size: 8px; letter-spacing: .14em; opacity: .7; text-transform: uppercase; }
.bkc-foot > div:first-child { min-width: 0; flex: 1; }
.bkc-foot b { display: block; margin-top: 2px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bkc-network { margin-left: auto; display: flex; }
.bkc-network i { width: 24px; height: 24px; border-radius: 50%; background: #eb001b; opacity: .95; }
.bkc-network i + i { background: #f79e1b; margin-left: -10px; mix-blend-mode: screen; }
.bkc-lock { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: rgba(15, 23, 42, .55); font-weight: 700; letter-spacing: .08em; font-size: 13px; }
