

.bk-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 0 8px; position: relative; z-index: 2; }
.bk-tab {
  display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 0;
  padding: 8px 4px 9px; border: 1px solid var(--rule); border-bottom: none; border-radius: 11px 11px 0 0;
  background: var(--sheet-3); color: var(--ink-3); font: inherit; cursor: pointer; transition: background .15s, color .15s;
}
.bk-tab b { font-size: 12.5px; font-weight: 700; font-stretch: 72%; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bk-tab i { font-style: normal; font-family: var(--mono); font-stretch: 78%; font-size: 10.5px; font-weight: 500; white-space: nowrap; }
.bk-tab i.neg { color: var(--keluar); }
.bk-tab .ws { display: none; }
@media (max-width: 480px) { .bk-tab .wl { display: none; } .bk-tab .ws { display: inline; } }
.bk-tab:hover:not(.on) { background: var(--sheet-2); color: var(--ink-2); }
.bk-tab.on { background: var(--sheet); color: var(--navy); margin-bottom: -1px; padding-bottom: 10px; box-shadow: 0 -4px 10px -8px rgba(19, 48, 107, .45); }
.bk-tab.on i { color: var(--ink-2); }
.bk-tab:focus-visible { outline-offset: -3px; }

.pb.pb-attached { position: relative; z-index: 1; }

.pb-sum { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 14px 10px; }
.pb-sum-l { min-width: 0; flex: 1; }
.pb-sum-label { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.pb-sum-v { font-family: var(--mono); font-stretch: 82%; font-variant-numeric: tabular-nums; font-size: clamp(21px, 6.2vw, 30px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; white-space: nowrap; margin-top: 2px; }
.pb-sum-v .cur { font-family: var(--font); font-stretch: 92%; font-size: .6em; font-weight: 700; color: var(--ink-3); margin-right: .25em; letter-spacing: 0; }
.pb-sum-v.neg { color: var(--keluar); }
.pb-sum .btn { flex-shrink: 0; }
.pb-link { margin-left: auto; background: none; border: none; color: var(--navy); font-size: 13px; font-weight: 700; cursor: pointer; padding: 6px 4px; border-radius: 6px; text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 3px; }
.pb-link:hover { text-decoration-color: var(--navy); }
.pb-io { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 14px 12px; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; background: var(--sheet); }
.pb-io > div { padding: 8px 10px; min-width: 0; }
.pb-io > div + div { border-left: 1px solid var(--rule); }
.pb-io span { display: block; font-size: 11px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.pb-io b { display: block; font-family: var(--mono); font-stretch: 80%; font-variant-numeric: tabular-nums; font-size: 12.5px; font-weight: 600; margin-top: 1px; overflow-wrap: anywhere; }
.pb-tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 14px 10px; flex-wrap: wrap; }

.txn-grid { display: flex; flex-direction: column; }
.txn-rail { display: none; }
@media (min-width: 1120px) {
  .txn-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
  .txn-main { min-width: 0; }
  .txn-rail { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 0; }
  .txn-rail > .sec { margin: 0; }
  .bk-tabs { grid-template-columns: repeat(5, minmax(0, 180px)); }
}
@media (min-width: 1600px) {
  .txn-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; }
}

.cat-wrap { padding: 4px 16px 14px; }
.cat-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; margin-top: 10px; }
.cat-name { display: flex; align-items: center; gap: 7px; color: var(--ink-2); font-weight: 600; min-width: 0; }
.cat-name i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; flex-shrink: 0; }
.cat-name em { font-style: normal; color: var(--ink-3); font-weight: 600; font-family: var(--mono); font-stretch: 80%; font-size: 11.5px; }
.cat-row b { font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.cat-bar { height: 5px; background: var(--sheet-3); border-radius: 3px; margin-top: 5px; overflow: hidden; }
.cat-bar > div { height: 100%; border-radius: 3px; }

.rail-link { color: var(--navy); font-size: 12.5px; font-weight: 700; text-decoration: none; text-transform: none; letter-spacing: 0; }
.rail-note { padding: 10px 16px 14px; font-size: 13px; color: var(--ink-2); }
.rail-note a { color: var(--navy); font-weight: 700; text-decoration: none; }

.plan-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 6px; background: var(--navy-tint); color: var(--navy); margin-left: 5px; vertical-align: 1px; }

.saldo-label { font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.arus-row { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; padding: 5px 0; }
.arus-row span { color: var(--ink-2); }
.arus-row b { font-weight: 600; white-space: nowrap; }
