/* Bank accounts suite (/dashboard/bank-accounts/): accounts list, account page, stats, history, presets and the
   Deposit page, and the bank accounts card on the bank deposit page. Builds on /css/dash.css and /css/txlist.css
   (.ycp tokens). Chart colours are the validated dark categorical order. */
.bs { max-width: 1320px; }
.bs .dp-head { margin-bottom: 18px; }
.bs .dp-tabs { margin-bottom: 18px; }
.bs .dp-tabs .ct { font-size: 12px; color: var(--muted-2); font-weight: 500; }
.bs-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.bs-logo { flex: none; width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #CFC6FF; background: linear-gradient(135deg, rgba(155,123,255,.22), rgba(58,141,240,.14)); border: 1px solid #2E3150; }

/* Tiles */
.bs-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.bs-tile { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 15px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.bs-tile.lead { background: linear-gradient(135deg, rgba(155,123,255,.14), rgba(58,141,240,.07)), var(--surface); border-color: #2E3150; }
.bs-tile > span { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.bs-tile b { font-size: 23px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; color: var(--text); font-variant-numeric: tabular-nums; }
.bs-tile b .cur, .bs-tile b small { font-size: 14px; font-weight: 500; color: var(--text-2); }
.bs-tile small { font-size: 12px; color: var(--muted); display: block; line-height: 1.45; }
.bs-tile b small { display: inline; font-size: 14px; }
.bs-tile .up { color: var(--in); }
.bs-tile .meter { margin-top: 2px; }
.bs-tile .linkish { font-size: 12.5px; }

/* Meters */
.meter { height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 6px; background: #9085e9; }
.meter.warn i { background: #c98500; }
.meter.full i { background: #e66767; }
.lim { display: flex; flex-direction: column; gap: 6px; }
.lim + .lim { margin-top: 13px; }
.lim-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--text-2); }
.lim-top b { font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lim-top b small { font-weight: 400; color: var(--muted); font-size: 12px; }
.lim-sub { font-size: 11.5px; color: var(--muted-2); }

/* Layout */
.bs-split { display: grid; grid-template-columns: 212px minmax(0, 1fr); gap: 16px; align-items: start; }
.bs-main { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.bs-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bs-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bs .card { padding: 18px 20px; }
.bs .card-h { align-items: flex-start; }
.bs .card-h h3 { margin: 0; font-size: 15px; font-weight: 600; color: var(--text); }
.bs .card-h .sub { margin: 3px 0 0; font-size: 12.5px; color: var(--muted); }

/* Folder rail */
.rail { padding: 10px; }
.rail h4 { margin: 10px 10px 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); display: flex; align-items: center; justify-content: space-between; }
.rail h4 button { border: 0; background: none; color: var(--muted); padding: 0; display: inline-flex; }
.rail h4:first-child { margin-top: 4px; }
.rail a { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 10px; color: var(--text-2); font-size: 13.5px; }
.rail a:hover { background: var(--surface-2); }
.rail a.on { background: var(--surface-3); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(155,123,255,.45); }
.rail a .n { margin-left: auto; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rail a [data-icon] { color: var(--muted); }
.rail .sep { height: 1px; background: var(--line); margin: 8px 6px; }
.rail .tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 8px 8px; }

/* Toolbar */
.bs-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.bs-search { flex: 1; min-width: 220px; height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); font-size: 13.5px; }
.bs-search input { flex: 1; min-width: 0; border: 0; background: none; color: var(--text); font: inherit; outline: none; }
.bs-sel { height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); font-size: 13px; white-space: nowrap; }
.bs-sel .k { color: var(--muted); }
.bs-views { display: inline-flex; padding: 3px; gap: 2px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--surface); }
.bs-views span { width: 34px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; color: var(--muted); }
.bs-views span.on { background: var(--surface-3); color: #fff; }
.bulk { display: flex; align-items: center; gap: 8px; padding: 9px 10px 9px 14px; margin-bottom: 12px; border-radius: 13px; background: linear-gradient(90deg, rgba(155,123,255,.16), rgba(58,141,240,.08)); border: 1px solid #3A3570; font-size: 13.5px; color: var(--text); flex-wrap: wrap; }
.bulk b { font-weight: 600; margin-right: 6px; }
.bulk .btn { height: 32px; font-size: 12.5px; }
.bulk .x { margin-left: auto; }

/* Account table */
.acct-tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.acct-tbl th { text-align: left; padding: 0 12px 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); white-space: nowrap; }
.acct-tbl th.r, .acct-tbl td.r { text-align: right; }
.acct-tbl td { padding: 12px; border-top: 1px solid var(--line); vertical-align: middle; color: var(--text-2); }
.acct-tbl tr.sel td { background: rgba(155,123,255,.06); }
.acct-tbl tr.off td { opacity: .78; }
.acct-tbl td.chk, .acct-tbl th.chk { width: 22px; padding-right: 0; }
.acct-tbl .chk .cb { display: flex; }
.cb { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; }
.cb.on { background: #7E6CF2; border-color: #7E6CF2; color: #fff; }
.who { display: flex; align-items: center; gap: 11px; min-width: 0; }
.av { flex: none; width: 36px; height: 36px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--surface-3); color: var(--text-2); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.av.own { background: linear-gradient(135deg, rgba(155,123,255,.35), rgba(58,141,240,.25)); color: #fff; }
.av.lg { width: 56px; height: 56px; border-radius: 16px; font-size: 19px; }
.who-t { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.who-t b { font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; }
.who-t span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who-t .rn { color: var(--text-2); }
.star { color: #c98500; display: inline-flex; }
.stack { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.amt-cell { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.amt-cell b { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.amt-cell small { display: block; font-size: 11.5px; color: var(--muted-2); text-align: right; }
.lim-cell { min-width: 104px; }
.icon-btn.dep { color: #fff; border: 0; background: var(--grad); }
.lim-cell .t { white-space: nowrap; gap: 8px; display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-bottom: 5px; font-variant-numeric: tabular-nums; }
.lim-cell .t b { font-weight: 500; color: var(--text-2); }
.row-act { display: flex; gap: 6px; justify-content: flex-end; }
.icon-btn { width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; }
.tbl-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }

/* Badges: customer presets (name + one of eight tints) and our own system states */
.bdg { --t: #8A92A5; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; color: color-mix(in srgb, var(--t) 70%, #fff); background: color-mix(in srgb, var(--t) 16%, transparent); }
.bdg::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--t); }
.bdg.pick { padding-right: 6px; }
.bdg.pick::after { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .8; }
.st { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.st [data-icon] { display: inline-flex; }
.st.ok { color: var(--in); }
.st.wait { color: var(--hold); }
.st.open { color: var(--processing); }
.st.bad { color: #FF9A9A; }
.tg { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 7px; font-size: 11.5px; font-weight: 500; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line-2); white-space: nowrap; }
.tg::before { content: "#"; color: var(--muted-2); }
.tg.add { border-style: dashed; color: var(--muted); }
.tg.add::before { content: "+"; }
.tags-cell { display: flex; flex-wrap: wrap; gap: 5px; max-width: 190px; }
.fold { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-2); }

/* Charts */
.chart { position: relative; }
.chart svg { display: block; overflow: visible; }
.chart .ax { font-size: 11px; fill: var(--muted); font-family: 'YCP UI', Arial, sans-serif; font-variant-numeric: tabular-nums; }
.chart .ax.on { fill: var(--text); font-weight: 600; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 12.5px; color: var(--text-2); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 9px; height: 9px; border-radius: 3px; }
.legend .chipx { height: 28px; padding: 0 10px 0 9px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface-2); }
.legend .chipx.add { border-style: dashed; color: var(--muted); }
.tip { position: absolute; z-index: 5; min-width: 190px; padding: 10px 12px; border-radius: 11px; background: #0D1017; border: 1px solid var(--line-2); box-shadow: 0 12px 30px rgba(0,0,0,.45); pointer-events: none; font-size: 12.5px; }
.tip-h { margin-bottom: 6px; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; gap: 12px; }
.tip-row { display: flex; align-items: center; gap: 8px; padding: 2px 0; color: var(--muted); }
.tip-row i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.tip-row b { margin-left: auto; padding-left: 14px; color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tip-row.more { color: var(--muted-2); }
.donut-wrap { display: grid; grid-template-columns: 1fr; gap: 14px; justify-items: center; }
.donut-wrap > div { width: 100%; }
.split { display: flex; height: 12px; border-radius: 7px; overflow: hidden; gap: 2px; margin: 10px 0 12px; }
.split i { display: block; height: 100%; }
.kv { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); padding: 7px 0; }
.kv + .kv { border-top: 1px solid var(--line); }
.kv i { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.kv b { margin-left: auto; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.kv em { font-style: normal; color: var(--muted); font-size: 12px; margin-left: 6px; }

/* Ranking table */
.rank-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.rank-tbl th { text-align: left; padding: 0 10px 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); white-space: nowrap; }
.rank-tbl th.r, .rank-tbl td.r { text-align: right; }
.rank-tbl td { padding: 10px; border-top: 1px solid var(--line); color: var(--text-2); vertical-align: middle; font-variant-numeric: tabular-nums; }
.rank-tbl td b { color: var(--text); font-weight: 600; }
.share { display: flex; align-items: center; gap: 10px; min-width: 150px; }
.share .meter { flex: 1; }
.share span { width: 38px; text-align: right; font-size: 12px; color: var(--muted); }
.delta { font-size: 12px; white-space: nowrap; }
.delta.up { color: var(--in); }
.delta.down { color: #F5A3A3; }

/* Facts */
.fact { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.fact + .fact { border-top: 1px solid var(--line); }
.fact-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--surface-2); color: var(--text-2); }
.fact > div { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.fact span { font-size: 12px; color: var(--muted); }
.fact b { font-size: 14px; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fact b small { font-size: 12.5px; font-weight: 400; color: var(--muted); }

/* Account page */
.acct-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.acct-head h1 { margin: 0; font-family: "titles", sans-serif !important; font-weight: 400; font-size: 30px; color: #E4E8EF; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.acct-rn { margin: 4px 0 0; font-size: 15px; color: var(--text-2); }
.acct-meta { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; margin-top: 8px; font-size: 13px; color: var(--muted); }
.acct-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }
.acct-head .dp-head-a { margin-left: auto; align-self: flex-start; }
.org-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 13px; color: var(--muted); }
.org-row + .org-row { border-top: 1px solid var(--line); }
.org-row > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.notes-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.nt { padding: 11px 13px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.nt p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.nt small { display: flex; justify-content: space-between; margin-top: 7px; font-size: 11.5px; color: var(--muted-2); }
.nt.pin { border-color: #3A3570; background: linear-gradient(180deg, rgba(155,123,255,.08), rgba(155,123,255,0)), var(--surface-2); }
.nt-new { display: flex; flex-direction: column; gap: 8px; }
.ta { width: 100%; box-sizing: border-box; min-height: 74px; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; font-size: 13.5px; resize: vertical; }
.nt-new .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted-2); }
.tl { position: relative; display: flex; flex-direction: column; }
.tl-i { position: relative; display: flex; gap: 12px; padding: 0 0 14px; }
.tl-i::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 1.5px; background: var(--line-2); }
.tl-i:last-child::before { display: none; }
.tl-i:last-child { padding-bottom: 0; }
.tl-dot { flex: none; width: 28px; height: 28px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: var(--surface-2); color: var(--text-2); }
.tl-dot.ok { color: var(--in); background: rgba(61,214,140,.1); }
.tl-dot.v { color: #C9B8FF; background: rgba(155,123,255,.14); }
.tl-dot.bad { color: #FF9A9A; background: rgba(255,122,122,.1); }
.tl-t { min-width: 0; padding-top: 4px; font-size: 13px; color: var(--text-2); line-height: 1.45; }
.tl-t b { color: var(--text); font-weight: 600; }
.tl-t small { display: block; font-size: 11.5px; color: var(--muted-2); margin-top: 2px; }
.tx-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tx-tbl th { text-align: left; padding: 0 10px 9px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.tx-tbl th.r, .tx-tbl td.r { text-align: right; }
.tx-tbl td { padding: 10px; border-top: 1px solid var(--line); color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tx-tbl td b { color: var(--text); font-weight: 600; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 13px; background: var(--surface); border: 1px solid var(--line); }
.seg span { height: 30px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; border-radius: 9px; color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap; }
.seg span.on { color: #fff; background: var(--surface-3); box-shadow: inset 0 0 0 1.5px rgba(155,123,255,.55); }
.seg span em { font-style: normal; font-size: 11.5px; color: var(--muted-2); }
.card .seg { background: var(--bg); }
.bs-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.bs-controls > div { display: flex; gap: 10px; flex-wrap: wrap; }

/* Deposit */
.pick-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.pick { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 13px; border: 1px solid var(--line-2); background: var(--bg); }
.pick.on { border-color: #7E7BFF; background: linear-gradient(90deg, rgba(155,123,255,.12), rgba(58,141,240,.05)), var(--bg); box-shadow: 0 0 0 3px rgba(126,123,255,.14); }
.pick.dis { opacity: .55; }
.pick .left { margin-left: auto; text-align: right; font-size: 12px; color: var(--muted); white-space: nowrap; }
.pick .left b { display: block; font-size: 13.5px; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.radio { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); }
.pick.on .radio { border: 5px solid #8E7BFF; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { height: 30px; padding: 0 12px; border-radius: 9px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line-2); white-space: nowrap; }
.chip.on { color: #fff; border-color: #6F64D8; background: rgba(126,108,242,.22); }
.chip em { font-style: normal; color: var(--muted); font-size: 11.5px; }
.amount-box { display: flex; align-items: baseline; gap: 8px; padding: 14px 16px; border-radius: 14px; border: 1px solid #5E5AC8; background: var(--bg); box-shadow: 0 0 0 3px rgba(126,123,255,.12); }
.amount-box b { font-size: 34px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.amount-box span { font-size: 16px; color: var(--text-2); font-weight: 500; }
.amount-box .max { margin-left: auto; align-self: center; }
.left-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.left-grid > div { padding: 10px 11px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.left-grid span { font-size: 11.5px; color: var(--muted); }
.left-grid b { font-size: 14px; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.left-grid > div.tight { border-color: rgba(201,133,0,.45); }
.left-grid > div.tight b { color: #F5C66E; }
.left-grid small { font-size: 11px; color: var(--muted-2); }
.how2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.how2 .opt2 { display: flex; gap: 12px; padding: 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); }
.how2 .opt2.on { border-color: #7E7BFF; background: linear-gradient(90deg, rgba(155,123,255,.12), rgba(58,141,240,.05)), var(--bg); }
.how2 .opt2 b { display: block; font-size: 14px; color: var(--text); font-weight: 600; }
.how2 .opt2 span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.how2 .ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--surface-3); color: var(--text-2); }
.how2 .opt2.on .ic { background: var(--grad); color: #fff; }
.sum-from { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 13px; background: var(--surface-2); margin-bottom: 8px; }
.keep { display: flex; gap: 9px; padding: 11px 13px; margin: 12px 0; border-radius: 12px; font-size: 13px; line-height: 1.5; color: #F6DFB0; background: rgba(245,185,74,.08); border: 1px solid rgba(245,185,74,.25); }
.keep b { color: #fff; }
.sticky { position: sticky; top: 20px; }
.mini-tx { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 13px; color: var(--text-2); }
.mini-tx + .mini-tx { border-top: 1px solid var(--line); }
.mini-tx b { margin-left: auto; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }

/* History */
.why { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.why small { font-size: 12px; color: var(--muted); max-width: 260px; white-space: normal; line-height: 1.4; }

/* Presets */
.pre-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 13.5px; color: var(--text-2); }
.pre-row + .pre-row { border-top: 1px solid var(--line); }
.pre-row .grip { color: var(--muted-2); display: inline-flex; }
.pre-row .n { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.pre-row .icon-btn { width: 30px; height: 30px; }
.pre-row .lock { font-size: 11.5px; color: var(--muted-2); }
.sw { width: 34px; height: 20px; border-radius: 999px; background: var(--surface-3); position: relative; flex: none; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #8A92A5; }
.sw.on { background: #6F64D8; }
.sw.on::after { left: 17px; background: #fff; }
.tints { display: flex; gap: 6px; }
.tints i { width: 18px; height: 18px; border-radius: 50%; }
.tints i.on { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px #fff; }
.add-row { display: flex; gap: 8px; margin-top: 12px; }
.add-row .in { flex: 1; height: 36px; display: flex; align-items: center; padding: 0 12px; border-radius: 10px; border: 1px dashed var(--line-2); color: var(--muted); font-size: 13px; }

/* Dialog */
.scrim { position: fixed; inset: 0; z-index: 1010; background: rgba(5,7,10,.66); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 16px; }
.dlg { width: 520px; max-width: 100%; max-height: calc(100vh - 32px); overflow: auto; padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0,0,0,.55); box-sizing: border-box; }
.dlg h2 { margin: 0; font-size: 19px; font-weight: 600; color: var(--text); }
.dlg .lead { margin: 8px 0 16px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.dlg .lbl { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.dlg .chips { margin-bottom: 16px; }
.dlg .info { padding: 12px 14px; margin: 14px 0 18px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; line-height: 1.55; color: var(--text-2); }
.dlg .info li + li { margin-top: 4px; }
.dlg .info ul { margin: 0; padding-left: 18px; }
.dlg .acts { display: flex; justify-content: flex-end; gap: 10px; }

@media (max-width: 1180px) { .bs-tiles { grid-template-columns: 1fr 1fr; } .bs-row3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 750px) {
  .bs.dp { padding: 22px 14px 120px; }
  .bs .dp-head { flex-direction: column; align-items: stretch; }
  .bs .dp-head h1 { font-size: 26px; }
  .bs .dp-head .dp-head-a .btn:not(.primary) { display: none; }
  .bs .dp-head .dp-head-a .btn.primary { flex: 1; }
  .bs-logo { display: none; }
  .bs-tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .bs-tile { padding: 12px; }
  .bs-tile b { font-size: 18px; }
  .bs-split, .bs-main, .bs-row3, .dp-2 { grid-template-columns: minmax(0, 1fr); }
  .bs-split > *, .bs-main > * { min-width: 0; }
  .bs .card-h { flex-wrap: wrap; }
  .bs .card-h .card-h-r { margin-left: 0 !important; }
  .rail { display: none; }
  .m-folders { display: flex !important; }
  .bs-bar .bs-sel, .bs-bar .bs-views { display: none; }
  .acct-tbl thead { display: none; }
  .acct-tbl, .acct-tbl tbody { display: block; }
  .acct-tbl tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; padding: 12px 0; border-top: 1px solid var(--line); }
  .acct-tbl td { display: block; padding: 0; border: 0; }
  .acct-tbl td.chk, .acct-tbl td.m-hide { display: none; }
  .acct-tbl td.who-c { grid-column: 1; }
  .acct-tbl td.amt-c { grid-column: 2; grid-row: 1; }
  .acct-tbl td.st-c { grid-column: 1 / -1; }
  .acct-tbl td.st-c .stack { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .acct-tbl td.lim-c { grid-column: 1 / -1; }
  .amt-cell svg { display: none; }
  .bs .card { padding: 14px; }
  .acct-head { flex-wrap: wrap; }
  .acct-head h1 { font-size: 23px; }
  .acct-head .dp-head-a { margin-left: 0; width: 100%; }
  .acct-head .dp-head-a .btn.primary { flex: 1; }
  .left-grid { grid-template-columns: 1fr 1fr; }
  .how2 { grid-template-columns: 1fr; }
  .tx-tbl .m-hide, .rank-tbl .m-hide { display: none; }
  .bs-controls .bs-sel { display: none; }
  .seg { max-width: 100%; overflow-x: auto; }
}
.m-folders { display: none; gap: 6px; overflow-x: auto; margin-bottom: 12px; scrollbar-width: none; }

/* Deposited card: Months / One month / One week */
.chart .ax.off { fill: var(--muted-2); opacity: .55; }
.chart .hit { cursor: pointer; }
.seg span[data-view] { cursor: pointer; }
.bs-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.bs-nav b { min-width: 180px; text-align: center; color: var(--text); font-size: 15px; font-weight: 600; }
.bs-nav button.icon-btn { cursor: pointer; font: inherit; }
.bs-nav button.icon-btn[disabled] { opacity: .35; cursor: default; }
.bs-nav .linkish { cursor: pointer; margin-left: 6px; }
.bs-nav .sum { margin-left: auto; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.by-acct { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.by-acct h4 { margin: 0 0 2px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ba-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 92px 40px; gap: 14px; align-items: center; font-size: 13px; }
.ba-row .n { display: flex; align-items: center; gap: 9px; min-width: 0; color: var(--text); }
.ba-row .n > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ba-row .av { width: 26px; height: 26px; border-radius: 8px; font-size: 10.5px; }
.ba-row b { text-align: right; color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.ba-row em { text-align: right; font-style: normal; font-size: 12px; color: var(--muted); }

/* Without access */
.na-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px; align-items: center; padding: 26px; border-radius: 18px; border: 1px solid var(--line); background: radial-gradient(120% 140% at 100% 0%, rgba(144,133,233,.16), transparent 60%), var(--surface); margin-bottom: 14px; }
.na-hero h2 { margin: 6px 0 8px; font-family: "titles", sans-serif; font-weight: 400; font-size: 24px; color: var(--text); }
.na-hero > div > p { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.na-list { display: grid; gap: 12px; margin-bottom: 20px; }
.na-li { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); line-height: 1.45; }
.na-li b { display: block; color: var(--text); font-weight: 600; }
.na-li .fact-ic { flex: none; }
.na-acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.na-peek { position: relative; padding: 14px; border-radius: 15px; border: 1px solid var(--line-2); background: var(--bg); }
.na-peek .pick { pointer-events: none; }
.na-peek .pick + .pick { margin-top: 8px; }
.na-peek::after { content: ""; position: absolute; inset: 0; border-radius: 15px; background: linear-gradient(180deg, transparent 35%, var(--bg) 92%); }
.na-lock { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: var(--surface-3); color: var(--text); font-size: 12.5px; white-space: nowrap; border: 1px solid var(--line-2); }
.na-ask { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px; border-radius: 13px; border: 1px dashed var(--line-2); font-size: 13px; color: var(--muted); }
.na-ask b { display: block; color: var(--text); font-weight: 600; font-size: 13.5px; }
.na-ask .btn { margin-left: auto; flex: none; }
@media (max-width: 750px) {
  .ba-row { grid-template-columns: minmax(0, 1fr) auto; }
  .ba-row .meter, .ba-row em { display: none; }
  .bs-nav b { min-width: 0; flex: 1; }
  .bs-nav .sum { margin-left: 0; width: 100%; }
  .na-hero { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .na-ask { flex-wrap: wrap; }
  .na-ask .btn { margin-left: 0; }
}

/* Deposit limits, three designs (?limits=a|b|c) */
.lbar { flex: 1; min-width: 0; display: flex; height: 10px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.lbar i { display: block; height: 100%; flex: none; }
.lbar i.u { background: #9085e9; }
.lbar i.a { background: repeating-linear-gradient(135deg, #9085e9 0 2.5px, rgba(144,133,233,.32) 2.5px 6px); border-radius: 0 4px 4px 0; }
.lbar i.a.gap { margin-left: 2px; }
.lbar i:first-child { border-radius: 4px 0 0 4px; }
.lbar.warn i.u { background: #c98500; } .lbar.warn i.a { background: repeating-linear-gradient(135deg, #c98500 0 2.5px, rgba(201,133,0,.32) 2.5px 6px); }
.lbar.over i.u { background: #e66767; } .lbar.over i.a { background: repeating-linear-gradient(135deg, #e66767 0 2.5px, rgba(230,103,103,.32) 2.5px 6px); }
.l-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); }
.l-legend span { display: inline-flex; align-items: center; gap: 6px; }
.l-legend i { width: 14px; height: 8px; border-radius: 3px; }
.l-legend i.u { background: #9085e9; }
.l-legend i.a { background: repeating-linear-gradient(135deg, #9085e9 0 2px, rgba(144,133,233,.32) 2px 4.5px); }
.l-legend i.f { background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.l-legend.sm { margin-top: 10px; }
/* A: one bar per limit */
.lv-a { margin-top: 14px; padding: 14px; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--line); }
.lv-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.lv-h b { font-size: 13px; color: var(--text); font-weight: 600; }
.la-row { display: grid; grid-template-columns: 104px minmax(0, 1fr) 150px; gap: 14px; align-items: center; padding: 6px 0; font-size: 12.5px; }
.la-row .k { color: var(--text-2); }
.la-row .v { color: var(--muted); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.la-row .v b { color: var(--text); font-weight: 600; font-size: 13px; }
.la-row.all { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); grid-template-columns: 104px minmax(0, 1fr) 150px; }
.la-row.all .k small { display: block; font-size: 11px; color: var(--muted-2); }
/* B: rings */
.lv-b { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.lb-card { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--line); min-width: 0; }
.lb-card svg { flex: none; }
.lb-card.one { padding-left: 14px; }
.lb-card.one b { font-size: 18px; }
.lb-card > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lb-card span { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.lb-card b { font-size: 15px; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.lb-card small { font-size: 11px; color: var(--muted-2); white-space: nowrap; }
.lb-all { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); font-size: 12.5px; color: var(--text-2); }
.lb-all .lbar { height: 8px; }
.lb-all b { color: var(--text); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* C: one scale */
.lv-c { margin-top: 14px; padding: 14px 16px 12px; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--line); }
.lc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.lc-head > div span { display: block; font-size: 12px; color: var(--muted); }
.lc-head > div b { font-size: 20px; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.lc-why { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.lc-scale { position: relative; height: 112px; margin: 6px 6px 0; }
.lc-track { position: absolute; left: 0; right: 0; top: 50px; height: 12px; border-radius: 7px; background: var(--surface-3); }
.lc-track .fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 7px 4px 4px 7px; background: var(--grad); }
.lc-track .block { position: absolute; right: 0; top: 0; bottom: 0; border-radius: 0 7px 7px 0; background: repeating-linear-gradient(135deg, rgba(230,103,103,.38) 0 2px, transparent 2px 6px); }
.lc-track .stop { position: absolute; top: -6px; bottom: -6px; width: 2px; margin-left: -1px; background: #e66767; border-radius: 2px; }
.lc-track .knob { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(144,133,233,.45), 0 4px 10px rgba(0,0,0,.4); }
.lc-mark { position: absolute; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; font-size: 11px; color: var(--muted); white-space: nowrap; text-align: center; }
.lc-mark::after { content: ""; position: absolute; left: 50%; width: 1px; height: 9px; background: var(--line-2); }
.lc-mark.up { top: 4px; } .lc-mark.up::after { top: 34px; }
.lc-mark.dn { top: 70px; flex-direction: column-reverse; } .lc-mark.dn::after { bottom: 34px; }
.lc-mark b { font-size: 12.5px; color: var(--text-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.lc-mark.on span, .lc-mark.on b { color: #FF9C9C; }
.lc-ax { position: absolute; left: 0; right: 0; bottom: -2px; display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted-2); }
.lc-ax { display: none; }
.lc-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.lc-list > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.lc-list span { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-list b { font-size: 13.5px; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.lc-list small { font-size: 10.5px; color: var(--muted-2); }
@media (max-width: 750px) {
  .la-row, .la-row.all { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; }
  .la-row .lbar { grid-column: 1 / -1; grid-row: 2; }
  .lv-b { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lb-card { flex-direction: column; align-items: flex-start; padding: 10px 9px; }
  .lb-card.one { grid-column: 1 / -1; padding: 10px 12px; }
  .lb-card.one > div { flex-direction: row; align-items: baseline; gap: 8px; }
  .lb-card.one b { font-size: 16px; }
  .lb-card b { font-size: 14px; }
  .lb-card small { white-space: normal; }
  .lb-all { flex-wrap: wrap; } .lb-all .lbar { flex-basis: 100%; order: 3; }
  .lc-list { grid-template-columns: 1fr 1fr; }
  .lc-mark span { font-size: 10px; }
}

/* Live pages: buttons standing in for the mock-up's spans, forms, dialogs, the next step and the access card */
.bs .seg button, .ba .seg button, .dlg .seg button { height: 30px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 9px; background: none; color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap; }
.bs .seg button.on, .ba .seg button.on, .dlg .seg button.on { color: #fff; background: var(--surface-3); box-shadow: inset 0 0 0 1.5px rgba(155,123,255,.55); }
.bs .seg button em { font-style: normal; font-size: 11.5px; color: var(--muted-2); }
.bs button.chip { cursor: pointer; }
.bs button.tg { cursor: pointer; font-family: inherit; }
.bs button.tg.on { color: #fff; border-color: rgba(155,123,255,.55); background: var(--surface-3); }
.bs .tg-x { border: 0; background: none; padding: 0 0 0 4px; color: var(--muted-2); display: inline-flex; cursor: pointer; }
.bs .tg-x:hover { color: var(--text); }

.bs .add-row { flex-wrap: wrap; align-items: center; }
.bs .add-row input.in { flex: 1 1 180px; min-width: 0; }
.bs .add-row .tints { flex-wrap: wrap; }
@media (min-width: 751px) { .bs .acct-tbl td.who-c { max-width: 0; width: 100%; } }
.bs .tg .x { margin-left: 4px; color: var(--muted-2); display: inline-flex; }
.bs .rail a { cursor: pointer; }
.bs .bs-sel select { border: 0; background: none; color: var(--text); font: inherit; font-size: 13px; outline: none; appearance: none; cursor: pointer; padding-right: 2px; }
.bs .bs-sel select option { background: #151922; color: var(--text); }
.bs .cb { cursor: pointer; }
.bs .pick { cursor: pointer; width: 100%; text-align: left; color: inherit; font: inherit; }
.bs .pick:disabled { cursor: default; }
.bs .how2 .opt2 { cursor: pointer; width: 100%; text-align: left; color: inherit; font: inherit; }
.bs .sw { border: 0; padding: 0; cursor: pointer; }
.bs .acct-tbl tbody tr { cursor: pointer; }
.bs .acct-tbl tbody tr:hover td { background: rgba(255,255,255,.015); }
.bs .err, .ba .err { margin: 8px 0 0; font-size: 12.5px; color: #FF9A9A; line-height: 1.45; }
.bs .err:empty, .ba .err:empty { display: none; }
.bs .ok-line { margin: 8px 0 0; font-size: 12.5px; color: var(--in); }
.bs .ok-line:empty { display: none; }
.bs .loading { padding: 60px 0; text-align: center; color: var(--muted); font-size: 14px; }
.bs .page-err { padding: 40px 20px; text-align: center; color: var(--muted); }
.bs .page-err b { display: block; color: var(--text-2); margin-bottom: 6px; font-size: 15px; }
.dlg .field + .field { margin-top: 12px; }
.dlg .row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.dlg .row2 .field + .field { margin-top: 0; }
.dlg .seg button { cursor: pointer; font-family: inherit; }
.dlg .lbl.sk-route-l { display: block; margin: 16px 0 6px; }
.dlg .tick { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 13px; color: var(--text-2); line-height: 1.5; cursor: pointer; }
.dlg .tick input { margin-top: 3px; accent-color: #8E7BFF; }
.dlg .acts { margin-top: 18px; }
.dlg .code-in input { letter-spacing: .3em; font-size: 20px; text-align: center; font-family: 'YCP Mono', ui-monospace, monospace; }
.bs .next { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; margin-bottom: 14px; border-radius: 16px; border: 1px solid #2E3150; background: linear-gradient(135deg, rgba(155,123,255,.12), rgba(58,141,240,.05)), var(--surface); }
.bs .next.bad { border-color: rgba(255,122,122,.3); background: rgba(255,122,122,.05); }
.bs .next .fact-ic { flex: none; }
.bs .next h3 { margin: 0 0 4px; font-size: 15px; color: var(--text); }
.bs .next p { margin: 0; font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.bs .next .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.bs .next .acts .input { height: 40px; width: 170px; }
.bs .file-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); margin-top: 6px; }
.bs .nt .acts-s { display: inline-flex; gap: 10px; }
.bs .nt .acts-s button { border: 0; background: none; padding: 0; color: var(--muted); font-size: 12px; }
.bs .nt .acts-s button:hover { color: var(--text); }
.bs .org-row select { height: 32px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; font-size: 13px; }
.bs .tag-add { display: inline-flex; gap: 6px; }
.bs .tag-add.nick input { width: 170px; border-style: solid; font-size: 13px; height: 32px; border-radius: 10px; background: var(--bg); }
.bs .tag-add input { width: 110px; height: 26px; padding: 0 8px; border-radius: 8px; border: 1px dashed var(--line-2); background: none; color: var(--text); font: inherit; font-size: 12px; outline: none; }
.bs .add-row input.in { color: var(--text); background: none; font: inherit; font-size: 13px; outline: none; border-style: solid; }
.bs .pre-row input.ren { flex: 1; min-width: 0; height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; font-size: 13px; }
.bs .tints button { width: 18px; height: 18px; border-radius: 50%; border: 0; padding: 0; }
.bs .tints button.on { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px #fff; }
.bs .amount-box input { flex: 1; min-width: 0; border: 0; background: none; color: var(--text); font: inherit; font-size: 28px; font-weight: 600; outline: none; font-variant-numeric: tabular-nums; }
.bs .tip { pointer-events: none; }

/* The bank accounts card on the bank deposit page and the suite (asking for access, the reply, the fee) */
.ba { margin-top: 16px; }
.ba .ba-h { display: flex; gap: 12px; align-items: flex-start; }
.ba .ba-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #CFC6FF; background: rgba(155,123,255,.16); }
.ba h3 { margin: 0; font-size: 15.5px; font-weight: 600; color: var(--text); }
.ba p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.ba .fine { font-size: 12.5px; color: var(--muted); }
.ba .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; }
.ba .msgs { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.ba .msg { padding: 10px 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: 13px; line-height: 1.55; color: var(--text-2); }
.ba .msg.staff { border-color: #2E3150; background: rgba(155,123,255,.07); }
.ba .msg small { display: block; margin-bottom: 4px; font-size: 11.5px; color: var(--muted); }
.ba .msg p { margin: 0; font-size: 13px; }
.ba .msg p + p { margin-top: 6px; }
.ba .msg .files { margin-top: 6px; font-size: 12px; color: var(--muted); }
.ba .form { margin-top: 14px; }
.ba .form .row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.ba .form .input { height: 44px; }
.ba .form .num { width: 120px; }
.ba .ta { width: 100%; min-height: 84px; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; font-size: 13.5px; resize: vertical; }
.ba .file-list { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; font-size: 12.5px; color: var(--text-2); }
.ba .fee { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
.ba .fee b { font-size: 22px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.ba .fee span { font-size: 13px; color: var(--muted); }
.ba .pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; color: #B9AEFF; background: rgba(155,123,255,.14); margin-left: 8px; vertical-align: 2px; }
.ba .pill.warn { color: #F5B94A; background: rgba(245,185,74,.12); }
.ba .pill.ok { color: var(--in); background: rgba(61,214,140,.1); }
.ba .pill.bad { color: #FF9A9A; background: rgba(255,122,122,.1); }
@media (max-width: 750px) { .dlg .row2 { grid-template-columns: 1fr; } .bs .next { flex-direction: column; } }

/* The Bank accounts link under the balance on the bank deposit page */
.bk-bal .bk-suite { font-size: 12.5px; margin-top: 2px; }
.bk-bal .bk-suite[hidden] { display: none; }

/* Fixes found on the live pages: icons inside rows that style every span, and the limit cards in a narrow column */
.who-t .star, .who-t .star span { color: #c98500; }
.who-t .star svg { fill: currentColor; }
.how2 .opt2 .ic span { color: inherit; margin-top: 0; display: inline-flex; }
.how2 .opt2 span.ic { display: flex; margin-top: 0; color: var(--text-2); }
.how2 .opt2.on span.ic { color: #fff; }
@media (min-width: 751px) and (max-width: 1400px) {
  .lv-b { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lb-card.one { grid-column: 1 / -1; }
  .lb-card.one > div { flex-direction: row; align-items: baseline; gap: 8px; }
}
.who-t .star { flex: none; }
@media (max-width: 750px) { .bs .dp-head .dp-head-a .btn[data-act="add"] { display: inline-flex; flex: 1; justify-content: center; } }
