/*
 * Lapisan "mewah" panel (dimuat paling akhir; hapus tautannya di admin.html untuk kembali ke tampilan lama).
 * Bahasa visual: navy dalam (logo) / ungu malam (tema Malam) + aksen EMAS CHAMPAGNE, huruf serif untuk judul & angka besar,
 * bayangan berlapis yang lembut, garis rambut emas, ruang lega. Emas dipakai hemat: penanda aktif, garis tipis, cincin indikator.
 */
:root {
  --emas: #C9A45C; --emas-2: #E9D7A6; --emas-3: #8E6E33;
  --emas-grad: linear-gradient(135deg, #F1E2B8 0%, #D3B072 42%, #A8823F 100%);
  --emas-garis: linear-gradient(90deg, transparent, rgba(233, 215, 166, .85) 30%, rgba(201, 164, 92, .95) 50%, rgba(233, 215, 166, .85) 70%, transparent);
  /* angka & judul: sans modern (huruf panel sendiri), bukan serif */
  --serif: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mw-bayang: 0 1px 2px rgba(11, 30, 45, .05), 0 14px 34px -10px rgba(11, 30, 45, .14);
  --mw-bayang-hover: 0 2px 4px rgba(11, 30, 45, .06), 0 22px 44px -12px rgba(11, 30, 45, .2);
  --mw-r: 18px;
  --mw-navy: linear-gradient(135deg, #07141F 0%, #0B1E2D 38%, #123247 72%, #0E5E73 100%);
}
html[data-tema="malam"][data-theme="dark"] {
  --mw-bayang: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -12px rgba(0, 0, 0, .55);
  --mw-bayang-hover: 0 2px 4px rgba(0, 0, 0, .35), 0 24px 48px -12px rgba(0, 0, 0, .65);
  --mw-navy: linear-gradient(135deg, #0B0A18 0%, #17132E 45%, #2A1D57 100%);
}

/* ---------- Latar & kartu ---------- */
html[data-tema="logo"]:not([data-theme="dark"]) body {
  background:
    radial-gradient(1200px 520px at 100% -10%, rgba(201, 164, 92, .10), transparent 60%),
    radial-gradient(900px 480px at -10% 110%, rgba(14, 116, 144, .08), transparent 60%),
    linear-gradient(165deg, #F4F6F8 0%, #E9EEF2 55%, #E2E9EE 100%) fixed !important;
}
html[data-tema="logo"]:not([data-theme="dark"]) .card,
html[data-tema="logo"]:not([data-theme="dark"]) #v-home .card,
html[data-tema="logo"]:not([data-theme="dark"]) .dk3,
html[data-tema="logo"]:not([data-theme="dark"]) .keu-dash-c,
html[data-tema="logo"]:not([data-theme="dark"]) .keu-kol {
  border: 1px solid rgba(15, 34, 51, .07) !important; box-shadow: var(--mw-bayang) !important; border-radius: var(--mw-r) !important;
}
html[data-tema="malam"][data-theme="dark"] .card, html[data-tema="malam"][data-theme="dark"] .dk3 { box-shadow: var(--mw-bayang) !important; border-radius: var(--mw-r) !important; }
.card, .dk3 { transition: box-shadow .3s ease, transform .3s ease; }
@media (hover: hover) { #v-home .card:hover, #v-keu .keu-dash-c:hover { box-shadow: var(--mw-bayang-hover) !important; } }

/* judul kartu: tegas & rapi */
.card h3, .keu-h4, .home-sec-h h3, .lk-card-h h3, .lk-list-h h3 { font-weight: 700 !important; letter-spacing: -.005em; }

/* ---------- Sidebar: penanda aktif emas ---------- */
.shell .nav-item.on { position: relative; }
.shell .nav-item.on::before {
  content: ""; position: absolute; left: -2px; top: 22%; bottom: 22%; width: 3px; border-radius: 3px;
  background: var(--emas-grad); box-shadow: 0 0 10px rgba(201, 164, 92, .55);
}
html[data-tema="logo"]:not([data-theme="dark"]) .shell .nav-item.on {
  background: linear-gradient(135deg, #0E6A82 0%, #0E7490 55%, #138BA8 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(233, 215, 166, .28), 0 10px 22px -6px rgba(8, 145, 178, .45) !important;
}
html[data-tema="malam"][data-theme="dark"] .shell .nav-item.on { box-shadow: inset 0 0 0 1px rgba(233, 215, 166, .25), 0 10px 22px -6px rgba(124, 58, 237, .5) !important; }
.shell .nav-sec { color: rgba(233, 215, 166, .62) !important; letter-spacing: .2em !important; }
.shell .nav-sec::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(233, 215, 166, .3), transparent); }

/* ---------- Hero halaman: navy dalam + garis rambut emas + judul serif ---------- */
#v-home .home-hero, .bil-hero, .keu-hero, .keu-hero-baru, .lk-hero, .hs-hero, .chat-hero { position: relative; }
#v-home .home-hero { background: var(--mw-navy) !important; box-shadow: 0 24px 50px -18px rgba(7, 20, 31, .55) !important; }
#v-home .home-hero::after, .bil-hero::before, .keu-hero-baru::after, .lk-hero .lk-gw::after {
  content: ""; position: absolute; left: 6%; right: 6%; bottom: 0; height: 1px; background: var(--emas-garis); opacity: .7; pointer-events: none;
}
#v-home .hh-t h2 { font-family: var(--serif) !important; font-weight: 700 !important; letter-spacing: -.025em; font-size: clamp(24px, 2.4vw, 32px) !important; }
#v-home .hh-kicker { color: var(--emas-2) !important; letter-spacing: .22em !important; font-size: 11px !important; }
#v-home .hh-sub { color: rgba(230, 244, 250, .72) !important; }

/* ---------- Angka besar: serif, angka sejajar ---------- */
.dk-fx .fx-angka b, .keu-hc-v, .indi-v b, #v-home .kpi-v, .lk-stat b, .hs-kpi b, .bil-k b {
  font-family: var(--serif) !important; font-variant-numeric: tabular-nums; letter-spacing: -.025em !important;
}
.dk-fx .fx-angka b { font-weight: 700 !important; }

/* ---------- Pita Indikator bisnis (Dashboard): modern, hidup, tenang ---------- */
.indi {
  position: relative; overflow: hidden; border-radius: 24px; padding: 18px 18px 18px; margin: 0 0 16px;
  background: var(--mw-navy); color: #EAF4F8; box-shadow: 0 24px 50px -20px rgba(7, 20, 31, .6); isolation: isolate;
}
.indi::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--emas-garis); opacity: .8; }
.indi::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -300px; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(201, 164, 92, .18), transparent 62%); animation: indiNafas 9s ease-in-out infinite; }
@keyframes indiNafas { 0%, 100% { transform: translate(0, 0) scale(1); opacity: .9; } 50% { transform: translate(-40px, 30px) scale(1.08); opacity: 1; } }
.indi-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.indi-hk { display: flex; align-items: baseline; gap: 10px; }
.indi-k { font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--emas-2); }
.indi-per { font-size: 12px; font-weight: 600; color: rgba(234, 244, 248, .62); }
.indi-live { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; color: rgba(234, 244, 248, .8); padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.indi-live i { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: indiLive 1.8s ease-out infinite; }
@keyframes indiLive { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); } 70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.indi-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.indi-t {
  position: relative; min-width: 0; text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 12px; border-radius: 18px; cursor: pointer;
  color: inherit; font: inherit; background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .35s, background .35s, box-shadow .35s;
  animation: indiMasuk .6s cubic-bezier(.2, .8, .2, 1) both;
}
.indi-t:nth-child(2) { animation-delay: .05s; } .indi-t:nth-child(3) { animation-delay: .1s; } .indi-t:nth-child(4) { animation-delay: .15s; } .indi-t:nth-child(5) { animation-delay: .2s; } .indi-t:nth-child(6) { animation-delay: .25s; }
@keyframes indiMasuk { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.indi-t:hover { transform: translateY(-3px); border-color: rgba(233, 215, 166, .38); background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04)); box-shadow: 0 18px 34px -16px rgba(0, 0, 0, .6), 0 0 0 1px rgba(233, 215, 166, .12), 0 0 28px -6px rgba(201, 164, 92, .35); }
.indi-t:focus-visible { outline: 2px solid var(--emas); outline-offset: 2px; }
.indi-a { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; }
.indi-l { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 11.5px; font-weight: 600; color: rgba(234, 244, 248, .78); }
.indi-l span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.indi-ic { flex: none; width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; color: #0B1E2D; background: var(--emas-grad); box-shadow: 0 6px 14px -4px rgba(201, 164, 92, .55), inset 0 1px 0 rgba(255, 255, 255, .5); }
.indi-v { display: block; font-size: clamp(19px, 1.55vw, 25px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; color: #FFFFFF; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.indi-s { font-size: 10.5px; line-height: 1.4; color: rgba(234, 244, 248, .58); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.indi-sw { position: relative; height: 32px; margin: 2px -2px 0; }
.indi-spark { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.indi-spark .garis { stroke-dasharray: 1; stroke-dashoffset: 0; animation: indiGaris 1.3s .25s cubic-bezier(.4, 0, .2, 1) backwards; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .25)); }
.indi-spark .area { opacity: 1; animation: indiArea .8s .9s ease backwards; }
/* keadaan normal selalu terlihat; animasi hanya hiasan (panel mematikan animasi setelah dibuka: html.statis) */
@keyframes indiArea { from { opacity: 0; } to { opacity: 1; } }
.indi-dot { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--w), 0 0 10px var(--w); opacity: 1; animation: indiArea .3s 1.4s backwards, indiDenyut 2.4s 1.7s ease-in-out infinite; }
@keyframes indiDenyut { 0%, 100% { box-shadow: 0 0 0 2px var(--w), 0 0 6px var(--w); } 50% { box-shadow: 0 0 0 3px var(--w), 0 0 16px var(--w); } }
.indi-chip { flex: none; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 99px; letter-spacing: .01em; }
.indi-chip.naik { color: #86EFAC; background: rgba(34, 197, 94, .16); }
.indi-chip.turun { color: #FCA5A5; background: rgba(239, 68, 68, .16); }
.indi-chip.datar { color: rgba(234, 244, 248, .6); background: rgba(255, 255, 255, .07); }
.indi-t.baik::after, .indi-t.waspada::after, .indi-t.buruk::after { content: ""; position: absolute; left: 16px; right: 16px; top: -1px; height: 2px; border-radius: 2px; }
.indi-t.baik::after { background: linear-gradient(90deg, transparent, #22C55E, transparent); }
.indi-t.waspada::after { background: linear-gradient(90deg, transparent, #F59E0B, transparent); }
.indi-t.buruk::after { background: linear-gradient(90deg, transparent, #EF4444, transparent); }
.indi-t.buruk .indi-v { color: #FECACA; }
@media (max-width: 1280px) { .indi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .indi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .indi { padding: 14px; border-radius: 20px; } .indi-s { white-space: normal; } .indi-live { font-size: 10px; } }
@media (prefers-reduced-motion: reduce) {
  .indi::after, .indi-live i, .indi-t, .indi-dot { animation: none !important; }
  .indi-spark .garis { animation: none; stroke-dashoffset: 0; } .indi-spark .area, .indi-dot { animation: none; opacity: 1; }
}

/* ---------- Tombol utama: kilau halus ---------- */
.bbtn.primer, .btn:not(.ghost):not(.sm), .lk-go { position: relative; overflow: hidden; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .bbtn.primer::after, .lk-go::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%); background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transition: transform .7s ease; pointer-events: none; }
  .bbtn.primer:hover::after, .lk-go:hover::after { transform: translateX(120%); }
}

/* ---------- Detail kecil yang membuat terasa premium ---------- */
::selection { background: rgba(201, 164, 92, .35); }
.view { scroll-behavior: smooth; }
html[data-tema="logo"]:not([data-theme="dark"]) .main ::-webkit-scrollbar-thumb { background: rgba(15, 34, 51, .18); border-radius: 99px; }

/* ---------- Grafik & batang mengikuti palet (tanpa ungu di tema Logo) ---------- */
html[data-tema="logo"] .pk-bar i { background: linear-gradient(90deg, #0E7490 0%, #2A8FA6 55%, #C9A45C 100%) !important; }
html[data-tema="malam"] .pk-bar i { background: linear-gradient(90deg, #7C3AED 0%, #A78BFA 60%, #E0C07A 100%) !important; }
html[data-tema="logo"] .rs-n { fill: #0B1E2D; font-family: var(--serif); font-weight: 700; }
html[data-tema="malam"] .rs-n { font-family: var(--serif); font-weight: 700; }

/* Hotspot: aksen ikon & cincin kartu angka seragam emas (bukan warna-warni) */
.hs-hero .hs-k { --acc: #D3B072 !important; }
.hs-hero .hs-k-ic { background: var(--emas-grad) !important; color: #0B1E2D !important; }
.hs-hero .hs-kv { font-family: var(--serif) !important; font-variant-numeric: lining-nums tabular-nums; }

/* ---------- Dashboard: lalu lintas pelanggan yang menghasilkan uang (menggantikan kartu & grafik chat) ---------- */
#v-home #pelDash, #v-home #pelCharts { display: none !important; }
.trf { display: grid; gap: 16px; margin-bottom: 16px; }
.trf-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.trf-k {
  position: relative; min-width: 0; text-align: left; font: inherit; color: var(--ink); cursor: pointer;
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 14px; border-radius: var(--mw-r);
  background: #FFFFFF; border: 1px solid rgba(15, 34, 51, .07); box-shadow: var(--mw-bayang); transition: box-shadow .3s, transform .3s;
}
.trf-k:hover { box-shadow: var(--mw-bayang-hover); transform: translateY(-2px); }
.trf-k:focus-visible { outline: 2px solid var(--emas); outline-offset: 2px; }
.trf-l { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trf-v { font-family: var(--serif); font-size: clamp(18px, 1.5vw, 23px); font-weight: 700; font-variant-numeric: lining-nums tabular-nums; color: #0B1E2D; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trf-s { font-size: 11.5px; color: var(--muted); min-height: 1.4em; }
.trf-k em { display: block; height: 4px; margin-top: 6px; border-radius: 4px; background: rgba(15, 34, 51, .07); overflow: hidden; }
.trf-k em i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #0E7490, #C9A45C); transition: width .8s ease; }
.trf-k.baik em i { background: linear-gradient(90deg, #0B7A3E, #34D399); }
.trf-k.waspada em i { background: linear-gradient(90deg, #B45309, #F5B547); }
.trf-k.buruk em i { background: linear-gradient(90deg, #B42318, #F87171); }
.trf-k.buruk .trf-v { color: #B42318; }
.trf-k::before { content: ""; position: absolute; left: 16px; right: 16px; top: 0; height: 1px; background: var(--emas-garis); opacity: .55; }

.trf-charts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trf-c { padding: 16px 18px !important; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.trf-ch h3 { margin: 0; font-size: 14px; }
.trf-ch small { font-size: 11.5px; color: var(--muted); }
.trf-donat { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: center; }
.trf-donat svg { width: 120px; height: 120px; transform: rotate(-90deg); }
.trf-donat svg text { transform: rotate(90deg); transform-origin: 60px 60px; }
.trf-donat circle { fill: none; stroke-width: 13; }
.trf-donat .jalur { stroke: rgba(15, 34, 51, .06); }
.trf-donat .seg { stroke-linecap: butt; transition: stroke-dasharray .8s ease; }
.trf-dn { font-family: var(--serif); font-size: 20px; font-weight: 700; fill: #0B1E2D; }
.trf-dl { font-size: 8.5px; fill: var(--muted); }
.trf-leg { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.trf-leg li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; column-gap: 8px; align-items: center; font-size: 12.5px; }
.trf-leg li i { width: 10px; height: 10px; border-radius: 3px; }
.trf-leg li b { font-variant-numeric: tabular-nums; }
.trf-leg li small { grid-column: 2 / -1; font-size: 11px; color: var(--muted); }
.trf-leg li.kosong { display: block; color: var(--muted); }
.trf-hari { width: 100%; height: 150px; }
.trf-hari rect { fill: rgba(14, 116, 144, .45); }
.trf-hari rect.nol { fill: rgba(15, 34, 51, .08); }
.trf-hari rect.kini { fill: #C9A45C; }
.trf-ax { font-size: 8px; fill: var(--muted); }
.trf-pk { display: grid; gap: 10px; }
.trf-pk-r { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; row-gap: 3px; align-items: baseline; }
.trf-pk-r span { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trf-pk-r b { font-family: var(--serif); font-size: 14px; font-variant-numeric: lining-nums tabular-nums; color: #0B1E2D; }
.trf-pk-r small { grid-column: 1 / -1; font-size: 11px; color: var(--muted); }
.trf-pk-r em { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: rgba(15, 34, 51, .06); overflow: hidden; }
.trf-pk-r em i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #0E7490, #2A8FA6 60%, #C9A45C); }

/* Malam */
html[data-theme="dark"] .trf-k { background: #1E1E2F; border-color: #2E2E42; color: #F1F5F9; }
html[data-theme="dark"] .trf-v, html[data-theme="dark"] .trf-pk-r b { color: #F8FAFC; }
html[data-theme="dark"] .trf-dn { fill: #F8FAFC; }
html[data-theme="dark"] .trf-k em, html[data-theme="dark"] .trf-pk-r em, html[data-theme="dark"] .trf-donat .jalur { background: rgba(255, 255, 255, .08); stroke: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .trf-hari rect { fill: rgba(167, 139, 250, .55); }
html[data-theme="dark"] .trf-hari rect.nol { fill: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .trf-hari rect.kini { fill: #E0C07A; }
html[data-theme="dark"] .trf-k em i, html[data-theme="dark"] .trf-pk-r em i { background: linear-gradient(90deg, #7C3AED, #A78BFA 60%, #E0C07A); }
html[data-theme="dark"] .trf-k.buruk .trf-v { color: #F87171; }

@media (max-width: 1280px) { .trf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .trf-charts { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .trf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .trf-k { padding: 12px; } .trf-l { white-space: normal; } .trf-donat { grid-template-columns: 100px minmax(0, 1fr); } .trf-donat svg { width: 100px; height: 100px; } }

/* ---------- Gerak halus grafik lalu lintas pembayaran ---------- */
@media (prefers-reduced-motion: no-preference) {
  .trf-k { animation: indiMasuk .55s cubic-bezier(.2, .8, .2, 1) both; }
  .trf-k:nth-child(2) { animation-delay: .04s; } .trf-k:nth-child(3) { animation-delay: .08s; } .trf-k:nth-child(4) { animation-delay: .12s; } .trf-k:nth-child(5) { animation-delay: .16s; } .trf-k:nth-child(6) { animation-delay: .2s; }
  .trf-hari rect { transform-box: fill-box; transform-origin: 50% 100%; animation: trfTumbuh .7s cubic-bezier(.2, .8, .2, 1) both; }
  .trf-pk-r em i { transform-origin: 0 50%; animation: trfLebar .9s cubic-bezier(.2, .8, .2, 1) both; }
  .trf-k em i { transform-origin: 0 50%; animation: trfLebar .9s .2s cubic-bezier(.2, .8, .2, 1) both; }
  .trf-donat .seg { animation: trfMuncul .8s ease both; }
  .trf-hari rect.kini { animation: trfTumbuh .7s cubic-bezier(.2, .8, .2, 1) both, trfKini 2.4s 1s ease-in-out infinite; }
}
@keyframes trfTumbuh { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes trfLebar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes trfMuncul { from { opacity: 0; } to { opacity: 1; } }
@keyframes trfKini { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.trf-v { font-weight: 700 !important; letter-spacing: -.03em; }
.trf-k:hover { box-shadow: var(--mw-bayang-hover), 0 0 0 1px rgba(201, 164, 92, .25); }
.indi-b { display: flex; align-items: center; gap: 6px; min-width: 0; }
.indi-b .indi-s { min-width: 0; }
.indi-l span { white-space: normal !important; line-height: 1.25; }

/* ---------- Kartu KPI penagihan (menggantikan Cara bayar) ---------- */
.kpi-wrap { position: relative; display: grid; gap: 10px; }
.kpi-skor { position: absolute; top: -46px; right: 0; display: flex; align-items: baseline; gap: 6px; padding: 4px 10px; border-radius: 99px; background: linear-gradient(135deg, rgba(201, 164, 92, .16), rgba(14, 116, 144, .1)); border: 1px solid rgba(201, 164, 92, .35); }
.kpi-skor b { font-size: 14px; font-weight: 800; color: #8E6E33; font-variant-numeric: tabular-nums; }
.kpi-skor span { font-size: 10.5px; color: var(--muted); }
.kpi-list { display: grid; gap: 9px; }
.kpi-r { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; column-gap: 10px; row-gap: 5px; align-items: center; }
.kpi-dot { width: 9px; height: 9px; border-radius: 50%; background: #94A3B8; box-shadow: 0 0 0 3px rgba(148, 163, 184, .18); }
.kpi-r.ok .kpi-dot { background: #16A34A; box-shadow: 0 0 0 3px rgba(22, 163, 74, .16); }
.kpi-r.dekat .kpi-dot { background: #F59E0B; box-shadow: 0 0 0 3px rgba(245, 158, 11, .18); }
.kpi-r.bawah .kpi-dot { background: #DC2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, .16); }
.kpi-r.info .kpi-dot { background: var(--emas); box-shadow: 0 0 0 3px rgba(201, 164, 92, .2); }
.kpi-n { min-width: 0; display: flex; flex-direction: column; }
.kpi-n span { font-size: 12.5px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-n small { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-r > b { font-size: 14px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #0B1E2D; white-space: nowrap; }
.kpi-r.bawah > b { color: #B42318; }
.kpi-r > em { grid-column: 2 / -1; height: 5px; border-radius: 5px; background: rgba(15, 34, 51, .07); overflow: hidden; }
.kpi-r > em i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #0E7490, #C9A45C); }
.kpi-r.ok > em i { background: linear-gradient(90deg, #15803D, #4ADE80); }
.kpi-r.dekat > em i { background: linear-gradient(90deg, #B45309, #FBBF24); }
.kpi-r.bawah > em i { background: linear-gradient(90deg, #B42318, #F87171); }
html[data-theme="dark"] .kpi-r > b { color: #F8FAFC; }
html[data-theme="dark"] .kpi-r.bawah > b { color: #F87171; }
html[data-theme="dark"] .kpi-r > em { background: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .kpi-skor b { color: #E9D7A6; }
@media (prefers-reduced-motion: no-preference) { .kpi-r > em i { transform-origin: 0 50%; animation: trfLebar .9s cubic-bezier(.2, .8, .2, 1) both; } }

/* ---------- Identitas adzkalabs.id (Titik Sinyal) di sidebar, menggantikan logo burung hantu ---------- */
.shell .brand { align-items: center !important; gap: 12px !important; padding: 14px 12px 12px !important; margin: 0 2px 6px !important; }
.shell .brand .logo { width: 46px !important; height: 46px !important; flex: none; background: url("/brand/adzkalabs-simbol-gelap.svg") center / contain no-repeat !important; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .35)) !important; }
.shell .brand .brand-t { display: block !important; min-width: 0; }
.shell .brand b.wm { display: flex !important; align-items: flex-end; font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif !important; font-weight: 600 !important; font-size: 22px !important; letter-spacing: -.035em !important; line-height: 1 !important; text-transform: none !important; color: #FFFFFF !important; background: none !important; -webkit-text-fill-color: #FFFFFF !important; }
.shell .brand .wm-sinyal { flex: none; margin: 0 1px 2px 2px; fill: none; }
.shell .brand .wm-sinyal circle { fill: #D8B977; }
.shell .brand .wm-sinyal path { stroke: #D8B977; stroke-width: 4; stroke-linecap: round; fill: none; }
.shell .brand .wm-sinyal path.jauh { stroke-opacity: .5; }
.shell .brand .wm-id { color: #5FD0F5; }
.shell .brand small { color: rgba(233, 215, 166, .72) !important; font-size: 10.5px !important; letter-spacing: .08em !important; margin-top: 5px !important; text-transform: uppercase; }
/* menu diperkecil: hanya simbol */
.shell.nav-mini .brand .logo { display: block !important; width: 38px !important; height: 38px !important; }
.shell.nav-mini .brand .brand-t { display: none !important; }
/* susunan bertumpuk & di tengah: simbol di atas, wordmark di bawah (sidebar sempit) */
.shell:not(.nav-mini) .brand { flex-direction: column !important; justify-content: center !important; text-align: center; gap: 10px !important; padding: 16px 8px 14px !important; }
.shell:not(.nav-mini) .brand .logo { width: 52px !important; height: 52px !important; }
.shell:not(.nav-mini) .brand b.wm { justify-content: center; font-size: 21px !important; }
.shell:not(.nav-mini) .brand small { margin-top: 6px !important; }

/* ---------- Label versi: kapsul kecil di sebelah tombol perkecil menu ---------- */
.nav-tog-row { align-items: center; gap: 8px; }
.nav-tog-row .nav-ver-pil {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; margin: 0; border-radius: 99px; cursor: pointer;
  font: inherit; font-size: 11px; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums;
  color: var(--ft-fg, #E6F4FA); background: rgba(255, 255, 255, .06); border: 1px solid rgba(233, 215, 166, .22);
  transition: background .2s, border-color .2s;
}
.nav-tog-row .nav-ver-pil:hover { background: rgba(255, 255, 255, .11); border-color: rgba(233, 215, 166, .45); }
.nav-tog-row .nav-ver-pil:focus-visible { outline: 2px solid var(--emas); outline-offset: 2px; }
.nav-tog-row .nav-ver-pil i { width: 7px; height: 7px; border-radius: 50%; background: #94A3B8; flex: none; }
.nav-tog-row .nav-ver-pil i.terbaru { background: #3DDC84; box-shadow: 0 0 6px rgba(61, 220, 132, .7); }
.nav-tog-row .nav-ver-pil i.menunggu { background: #E8A33D; box-shadow: 0 0 6px rgba(232, 163, 61, .7); }
.nav-tog-row .nav-ver-pil i.gagal { background: #F0646A; box-shadow: 0 0 6px rgba(240, 100, 106, .7); }
.shell.nav-mini .nav-tog-row .nav-ver-pil { display: none; }
