


 
.kp2-tabs .page-tabs.seg:has(> [data-tab-btn="kas"]) button[role="tab"] { font-size: clamp(12px, 3.7vw, 1rem); letter-spacing: 0; }

 
.kk-saldo { gap: var(--space-3); }
.kk-saldo .bill__amt.is-minus { color: var(--c-loss); }
.kk-saldo__bln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
.kk-saldo__bln span { display: flex; flex-direction: column; gap: 2px; padding: var(--space-2) var(--space-3); background: var(--x-chip); min-width: 0; }
.kk-saldo__bln small { font-size: var(--text-xs); color: var(--x-muted); }
.kk-saldo__bln b { font-family: var(--font-sport); font-style: italic; font-weight: 800; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kk-saldo .is-in, .kk-row.is-in .kk-row__amt { color: var(--c-win); }
.kk-saldo .is-out, .kk-row.is-out .kk-row__amt { color: var(--c-loss); }
.kk-saldo__act { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: var(--space-2); }
.kk-saldo__act .btn { min-width: 0; padding-inline: 10px; gap: 6px; }
.kk-saldo__act .btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kk-saldo .hint { margin: 0; }

 
.kk-sec + .kk-sec, .kk-sec + .bill, .kk-sec + .kk-kunci { margin-top: var(--space-2); }
.kk-ajuan { display: flex; flex-direction: column; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.kk-aj { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "av main amt" "act act act"; align-items: center; gap: var(--space-2) var(--space-3);
  padding: var(--space-3); background: var(--x-card); box-shadow: inset 4px 0 0 var(--x-lime), inset 0 0 0 1px var(--x-line); --xg-c: var(--x-line); --xg-t: 1px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); border-image: linear-gradient(45deg, transparent calc(100% - 8.49px - var(--xg-t)), var(--xg-c) calc(100% - 8.49px - var(--xg-t)), var(--xg-c) calc(100% - 8.49px), transparent calc(100% - 8.49px)) 12 / 12px; }
.kk-aj.is-minta { grid-template-areas: "av main act"; grid-template-columns: auto minmax(0, 1fr) auto; }
.kk-aj > .avatar { grid-area: av; }
.kk-aj__main { grid-area: main; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kk-aj__main > b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kk-aj__main small { font-size: var(--text-xs); line-height: 1.35; }
.kk-aj__beda { display: inline-flex; align-items: center; gap: 4px; color: var(--c-loss); font-weight: 700; }
.kk-aj__amt { grid-area: amt; font-family: var(--font-sport); font-style: italic; font-weight: 800; font-size: 1rem; white-space: nowrap; }
.kk-aj__act { grid-area: act; display: flex; align-items: center; justify-content: flex-end; gap: var(--space-2); flex-wrap: wrap; }
.kk-aj__act > :first-child { margin-right: auto; }
.kk-aj.is-minta .kk-aj__act > :first-child { margin-right: 0; }
.kk-aj__tanpa { font-size: var(--text-xs); color: var(--x-muted); }
@media (max-width: 400px) { .kk-aj.is-minta { grid-template-areas: "av main" "act act"; grid-template-columns: auto minmax(0, 1fr); } }

 
.kk-kunci { display: flex; gap: var(--space-3); align-items: flex-start; }
.kk-kunci > .ic { flex: none; width: 28px; height: 28px; color: var(--x-muted); margin-top: 2px; }
.kk-kunci__isi { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); min-width: 0; }
.kk-kunci__isi p { margin: 0; }

 
 
.kk-qris, .kk-iur { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: start; gap: var(--space-2) var(--space-3); }
.kk-qris > .kk-qris__thumb, .kk-qris > .kk-qris__ic, .kk-iur > .kk-qris__thumb, .kk-iur > .kk-qris__ic { grid-row: span 2; }
.kk-qris > .btn, .kk-iur > .btn { grid-column: 2; justify-self: start; }
.kk-qris .paym__main small { line-height: 1.35; }
.kk-qris__thumb { flex: none; display: block; width: 56px; height: 56px; padding: 3px; border-width: 0; border-style: none; background: #fff; cursor: zoom-in; overflow: hidden; }
span.kk-qris__thumb { cursor: default; }
.kk-qris__thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.kk-qris__thumb.is-gagal { background: var(--x-chip); }
.kk-qris__ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; background: var(--x-chip); color: var(--x-muted); }
.kk-qris__ic .ic { width: 24px; height: 24px; }
.kk-gq { margin-bottom: var(--space-3); }

 
.kk-row { grid-template-columns: 32px minmax(0, 1fr) auto; grid-template-areas: "ic main amt" "ic main act"; row-gap: 2px; }
.kk-row__ic { grid-area: ic; display: grid; place-items: center; width: 32px; height: 32px; background: var(--x-chip); color: var(--x-muted); }
.kk-row.is-in .kk-row__ic { color: var(--c-win); }
.kk-row.is-out .kk-row__ic { color: var(--c-loss); }
.kk-row .due-row__main { grid-area: main; }
.kk-row__amt { grid-area: amt; justify-self: end; }
.kk-row__act { grid-area: act; justify-self: end; display: flex; gap: 2px; }
.kk-row__act:empty { display: none; }
.kk-row__act .btn-icon { width: 32px; height: 32px; min-height: 32px; padding: 0; }
@media (max-width: 479px) { .kk-row { grid-template-columns: 30px minmax(0, 1fr) auto; } .kk-row__ic { width: 30px; height: 30px; } }

 
.kk-intro { display: flex; flex-direction: column; gap: var(--space-3); }
.kk-intro__ic { display: grid; place-items: center; width: 52px; height: 52px; background: var(--x-lime); color: var(--x-lime-ink); clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.kk-intro__ic .ic { width: 28px; height: 28px; }
.kk-intro h2 { margin: 0; font-family: var(--font-sport); font-style: italic; font-weight: 800; font-size: 1.125rem; text-transform: uppercase; color: var(--x-ink); }
.kk-intro__list { display: flex; flex-direction: column; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.kk-intro__list li { display: flex; align-items: flex-start; gap: var(--space-2); line-height: 1.4; }
.kk-intro__list .ic { flex: none; margin-top: 2px; color: var(--c-win); }
.kk-intro .hint { margin: 0; }

 
.kk-lihat { position: relative; display: grid; place-items: center; min-height: 200px; background: #fff; padding: var(--space-3); }
.kk-lihat img { display: block; max-width: 100%; max-height: min(70dvh, 560px); object-fit: contain; }
.kk-lihat__gagal { display: none; color: #444; }
.is-gagal > .kk-lihat__gagal { display: block; }
.is-gagal > img { display: none; }
.kk-lihat__nama { margin: var(--space-2) 0 0; text-align: center; font-weight: 700; }

 
.kk-rp { position: relative; }
.kk-rp > span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--x-muted); font-weight: 700; pointer-events: none; }
.kk-rp .input { padding-left: 40px; font-weight: 700; font-variant-numeric: tabular-nums; }
.kk-pilih { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.kk-pilih__prev { width: 72px; height: 72px; padding: 3px; background: #fff; box-shadow: inset 0 0 0 1px var(--x-line); --xg-c: var(--x-line); --xg-t: 1px; }
.kk-pilih__prev img { display: block; width: 100%; height: 100%; object-fit: contain; }
.kk-pilih__act { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.kk-pilih__act label.btn { cursor: pointer; }
.kk-atur .field, .kk-catat .field { gap: var(--space-2); }
.kk-sw { align-items: flex-start; }
.kk-sw > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.kk-sw small { color: var(--c-muted); font-size: var(--text-xs); line-height: 1.35; }
.kk-fs { border-width: 0; border-style: none; margin: 0; padding: 0; min-width: 0; }
.kk-opsi { display: flex; flex-direction: column; gap: var(--space-2); }
.kk-opt { position: relative; display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3); background: var(--x-chip); cursor: pointer; }
.kk-opt input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--x-lime); }
.kk-opt:has(input:checked) { box-shadow: inset 4px 0 0 var(--x-lime), inset 0 0 0 1px var(--x-lime); --xg-c: var(--x-lime); --xg-t: 1px; }
.kk-opt:has(input:focus-visible) { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.kk-opt__isi { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kk-opt__isi small { color: var(--c-muted); font-size: var(--text-xs); line-height: 1.35; }
.kk-izin { display: flex; flex-direction: column; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.kk-izin li { display: flex; align-items: center; gap: var(--space-2); }
.kk-izin b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kk-jenis, .kk-cara { width: 100%; }
.kk-jenis button, .kk-cara button { flex: 1; justify-content: center; }
.kk-kat { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.kk-chip { min-height: 36px; padding: 6px 12px; border-width: 0; border-style: none; background: var(--x-chip); color: var(--x-chip-ink, var(--c-ink)); font: inherit; font-size: var(--text-sm); font-weight: 700; cursor: pointer;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.kk-chip[aria-pressed="true"] { background: var(--x-lime); color: var(--x-lime-ink); }
.kk-chip:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; }

 
.kk-bayar__amt { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.kk-bayar__amt b { font-family: var(--font-sport); font-style: italic; font-weight: 800; font-size: clamp(1.625rem, 6.67vw, 1.9375rem); line-height: 1; color: var(--x-ink); }
.kk-bayar__qr { position: relative; display: grid; place-items: center; justify-self: center; align-self: center; width: min(100%, 280px); aspect-ratio: 1; margin: 0 auto; padding: 8px; border-width: 0; border-style: none;
  background: #fff; box-shadow: 0 0 0 1px var(--x-line), 0 10px 26px rgb(0 0 0 / 0.14); cursor: zoom-in; }
.kk-bayar__qr img { display: block; width: 100%; height: 100%; object-fit: contain; }
.kk-bayar__nama { margin: 0; text-align: center; font-weight: 800; }
.kk-bayar__alat { display: flex; justify-content: center; }
.kk-bayar .hint { margin: 0; text-align: center; }
.kk-bayar__lapor { padding-top: var(--space-3); border-top: 1px solid var(--x-line); }
.kk-bayar__lapor h3 { margin: 0; }
.kk-ban { display: flex; align-items: flex-start; gap: var(--space-2); margin: 0; padding: var(--space-2) var(--space-3); font-size: var(--text-sm); line-height: 1.4; background: var(--x-chip); }
.kk-ban .ic { flex: none; margin-top: 2px; }
.kk-ban.is-tunggu { box-shadow: inset 4px 0 0 var(--x-lime); }
.kk-ban.is-tolak { box-shadow: inset 4px 0 0 var(--c-loss); }
.kk-ban.is-tolak .ic { color: var(--c-loss); }
.kk-ban.is-lunas { box-shadow: inset 4px 0 0 var(--c-win); }
.kk-ban.is-lunas .ic { color: var(--c-win); }
.kk-iur .paym__main small { line-height: 1.35; }
.kk-iur.is-tolak { box-shadow: inset 4px 0 0 var(--c-loss); }
[data-kk-iuran] + .paym, [data-kk-iuran]:not([hidden]) { margin-bottom: 0; }
