/* RUMAHKU — tema v3 bergaya aplikasi perjalanan (biru cerah, kartu putih bersih).
   Lapisan tampilan di atas build v7.2; fitur & data tidak berubah. */

/* 1) Token warna */
@media (prefers-color-scheme: light) { :root:not([data-theme=dark]) {
  --bg:#f5f7fb; --surface:#ffffff; --surface-2:#f8f9fd; --line:#e7e8ec;
  --ink:#303135; --ink-2:#4b4d54; --muted:#71747d;
  --navy:#0064d2; --navy-2:#0a72e6; --on-navy:#ffffff; --on-navy-2:#d6e8ff;
  --accent:#007cff; --accent-ink:#0064d2; --accent-soft:#e7f2ff;
  --gold:#ffd500; --gold-ink:#8a6d00; --gold-soft:#fff6c7;
  --up:#00a651; --down:#e8202a; --down-soft:#fde8e8;
  --shadow:0 2px 8px rgb(3 18 26 / 0.08);
} }
:root[data-theme=light] {
  --bg:#f5f7fb; --surface:#ffffff; --surface-2:#f8f9fd; --line:#e7e8ec;
  --ink:#303135; --ink-2:#4b4d54; --muted:#71747d;
  --navy:#0064d2; --navy-2:#0a72e6; --on-navy:#ffffff; --on-navy-2:#d6e8ff;
  --accent:#007cff; --accent-ink:#0064d2; --accent-soft:#e7f2ff;
  --gold:#ffd500; --gold-ink:#8a6d00; --gold-soft:#fff6c7;
  --up:#00a651; --down:#e8202a; --down-soft:#fde8e8;
  --shadow:0 2px 8px rgb(3 18 26 / 0.08);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme=light]) {
  --bg:#0b1220; --surface:#121a2b; --surface-2:#182236; --line:#24304a;
  --navy:#0b4ea8; --navy-2:#1260c4; --accent:#3d9bff; --accent-ink:#7dbbff; --accent-soft:#15294a; --gold:#ffd84d;
} }
:root[data-theme=dark] {
  --bg:#0b1220; --surface:#121a2b; --surface-2:#182236; --line:#24304a;
  --navy:#0b4ea8; --navy-2:#1260c4; --accent:#3d9bff; --accent-ink:#7dbbff; --accent-soft:#15294a; --gold:#ffd84d;
}
:root { --r: 12px; --f-body: "Nunito Sans", "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --f-display: var(--f-body); }
body { background: var(--bg); font-family: var(--f-body); -webkit-font-smoothing: antialiased; }
.num, .sum-tile > b { font-variant-numeric: tabular-nums; }

/* 2) Menu samping putih, item aktif biru muda */
@media (min-width: 1024px) {
  .side { background: var(--surface); color: var(--ink); border-right: 1px solid var(--line); padding: 20px 12px; }
  .brand b { font-weight: 800; letter-spacing: 0.01em; font-size: 19px; color: var(--accent-ink); }
  .brand small { color: var(--muted); letter-spacing: 0.08em; }
  .navlink { color: var(--ink-2); font-weight: 600; font-size: 14.5px; border-radius: 8px; padding: 10px 12px; }
  .navlink:hover { background: var(--surface-2); color: var(--accent-ink); }
  .navlink[aria-current=page] { background: var(--accent-soft); color: var(--accent-ink); box-shadow: none; font-weight: 800; }
  .navsep { color: var(--muted); opacity: 1; }
}

/* 3) Bilah atas putih, bilah bawah putih dengan ikon aktif biru */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 1px 4px rgb(3 18 26 / 0.04); }
.topbar h1 { font-weight: 800; color: var(--ink); }
.iconbtn { border-radius: 8px; border-color: var(--line); background: var(--surface); }
.bnav { background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -2px 10px rgb(3 18 26 / 0.06); }
.bnav button[aria-current=page] { color: var(--accent); font-weight: 800; }
.bnav button[aria-current=page]::before { background: var(--accent) !important; }

/* 4) Kartu putih, sudut 12, bayangan tipis */
.card { background: var(--surface); border: 0; border-radius: 12px; box-shadow: var(--shadow); padding: 20px; }
.card-h h2, .h2 { font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: 0; }
.link { color: var(--accent); font-weight: 700; font-size: 14px; }
.btn { border-radius: 8px; font-weight: 700; }
.btn-p, .btn-a { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-p:hover, .btn-a:hover { background: var(--accent-ink); border-color: var(--accent-ink); opacity: 1; }
.chip { border-radius: 999px; border-color: var(--line); background: var(--surface); font-weight: 700; }
.chip.on, .chip[aria-pressed=true] { background: var(--accent-soft); color: var(--accent-ink); border-color: var(--accent); }
.seg { background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; }
.seg button { border-radius: 6px; font-weight: 700; }
.seg button[aria-pressed=true], .seg button.on, .seg button[aria-selected=true] { background: var(--surface); color: var(--accent-ink); box-shadow: 0 1px 3px rgb(3 18 26 / 0.12); }
input, select, textarea, .inp { border-radius: 8px !important; }
.grid-main, .grid-3 { gap: 16px; }
.fab { background: var(--accent); box-shadow: 0 8px 20px -6px rgb(0 124 255 / 0.55); }

/* 5) Kartu sapaan = pita biru langit + panel aksi putih */
.hero-wrap { padding-top: 0; }
.hx { border: 0; border-radius: 16px; overflow: hidden;
  background:
    radial-gradient(40% 70% at 18% 0%, rgb(255 255 255 / 0.22), transparent 70%),
    radial-gradient(35% 60% at 70% 10%, rgb(255 255 255 / 0.14), transparent 70%),
    linear-gradient(180deg, #2a8cff 0%, #0a72e6 48%, #0064d2 100%);
  box-shadow: 0 10px 30px -18px rgb(0 100 210 / 0.7); }
.hx::after, .hx:after { display: none; }
.hx-meta { color: rgb(255 255 255 / 0.85); }
.hx-time { color: var(--gold); }
.hx-greet { font-weight: 800; letter-spacing: -0.01em; color: #fff; }
.hx-doa { color: #fff6c7; }
.hx-actions { border-top: 0; margin-top: 18px; padding: 12px; background: #fff; border-radius: 12px; box-shadow: 0 4px 16px rgb(3 18 26 / 0.12); }
.hx-btn { box-shadow: none !important; border-radius: 8px; font-weight: 800; }
.hx-btn.in { background: #007cff; color: #fff; }
.hx-btn.in .hx-ic { background: rgb(255 255 255 / 0.2); color: #fff; }
.hx-btn.out { background: #e7f2ff; color: #0064d2; border: 0; }
.hx-btn.out .hx-ic { background: #fff; color: #0064d2; }
.hx-mur { background: #f8f9fd; border: 1px solid #e7e8ec; border-radius: 8px; color: #303135; }
.hx-mur.on { border-color: #007cff; background: #e7f2ff; }
.hx-mur .hm-sel small, .hx-mur .hm-t { color: #71747d; }
.hx-mur .hm-sel b { color: #303135; }
.hx-mur .hm-eq i { background: #007cff; }
.hm-play { background: #007cff; color: #fff; box-shadow: none; }
.hx-agenda { background: transparent; border-top: 0; padding-top: 6px; }
.hxa-title { color: #fff; }
.hxa-title .ic, .hxa-all { color: #fff; }
.hxa-item { background: #fff; border: 0; border-radius: 12px; color: #303135; box-shadow: 0 2px 8px rgb(3 18 26 / 0.1); }
.hxa-item:hover { background: #fff; transform: translateY(-1px); }
.hxa-date { background: #e7f2ff; border: 0; border-radius: 8px; }
.hxa-date b { color: #0064d2; }
.hxa-date small { color: #71747d; }
.hxa-txt b { color: #303135; font-weight: 800; }
.hxa-txt small { color: #71747d; }
.hxa-txt em { color: #303135; }
.hxa-txt em.now { color: #e8202a; }
.hxa-item.k-b .hxa-date { background: #fde8e8; }
.hxa-item.k-b .hxa-date b { color: #e8202a; }
.hxa-empty { color: rgb(255 255 255 / 0.85); }

/* 6) Ticker disembunyikan (isinya sama dengan kotak ringkasan) */
.ticker { display: none !important; }

/* 7) Kotak ringkasan: kartu-kartu terpisah ala daftar harga */
.sum4 { background: transparent; border: 0; gap: 12px; overflow: visible; }
.sum-tile { background: var(--surface) !important; border-radius: 12px; box-shadow: var(--shadow); padding: 14px 16px; }
.sum-tile > span { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.sum-tile > b { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.sum-tile small { color: var(--muted); }

/* 8) Halaman lain: kotak & tabel */
.q-table-wrap, .plan-card, .surah-item { border-radius: 12px; border-color: var(--line); box-shadow: var(--shadow); }
.pc-price b { color: #fff; }
.pc-count { background: #007cff; }
.ngaji-banner, .quran-hero, .qp { background: linear-gradient(180deg, #2a8cff 0%, #0064d2 100%) !important; border: 0 !important; }
.cal-card .cal button[aria-current=date] { background: var(--accent) !important; color: #fff !important; border-color: var(--accent) !important; }
.cal button[aria-pressed=true] { background: var(--accent); color: #fff; }
.connpill { color: var(--muted); }
@media (max-width: 559px) {
  .hx-actions { padding: 10px; gap: 8px; margin-top: 14px; }
  .hx-btn { font-size: 14px; gap: 8px; padding: 0 10px 0 6px; height: 46px; }
  .hx-ic { width: 30px; height: 30px; }
  .hx-mur { height: 48px; }
}

/* 9) Ikon warna di menu (ikon garis bawaan disembunyikan) */
.navlink[data-tk] > svg, .bnav > button[data-tk] > svg { display: none; }
.tk-ic { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--tk-bg); }
.tk-ic svg { width: 21px; height: 21px; display: block; }
.navlink .tk-ic { width: 30px; height: 30px; border-radius: 9px; }
.navlink[aria-current=page] .tk-ic { background: #fff; box-shadow: 0 1px 3px rgb(3 18 26 / 0.12); }
.bnav > button .tk-ic { width: 30px; height: 26px; background: transparent; }
.bnav > button[aria-current=page] .tk-ic { background: var(--tk-bg); }

/* 10) Menu cepat di Beranda — deretan ikon bulat dengan label di bawah */
.tk-tools {
  display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px;
  background: var(--surface); border-radius: 12px; box-shadow: var(--shadow); padding: 14px 10px;
}
.tk-tools button { display: grid; justify-items: center; gap: 7px; padding: 6px 2px; border: 0; background: none; border-radius: 10px; color: var(--ink); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.tk-tools button:hover { background: var(--surface-2); }
.tk-tools button:active { transform: scale(0.96); }
.tk-tools .tk-ic { width: 46px; height: 46px; border-radius: 14px; }
.tk-tools .tk-ic svg { width: 26px; height: 26px; }
.tk-tools span:last-child { white-space: nowrap; }
@media (max-width: 759px) {
  .tk-tools { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 10px; padding: 12px 6px; }
  .tk-tools .tk-ic { width: 44px; height: 44px; }
  .tk-tools button { font-size: 11.5px; }
}

/* 11) Beranda lebih ringkas: tanpa foto, tanpa keterangan tambahan */
.hx { --hx-photo: 0px !important; padding-right: 0 !important; }
.hx-baby, .hero-baby, .hero-spark { display: none !important; }
.hx-body, .hx-top, .hx-head { padding-right: var(--hx-pad, 18px) !important; }
.hx-top, .hx-head { padding-right: 0 !important; }
@media (min-width: 900px) { .hx-body { padding-right: 30px !important; min-height: 0 !important; } }
.hx-doa { margin-right: 0 !important; }
.hxa-txt small { display: none; }
.hxa-item:nth-child(n+3) { display: none; }
@media (min-width: 900px) { .hxa-list { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }

.sum-tile small, .sum-tile:has(> p) { display: none !important; }
@media (min-width: 900px) { .sum4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }

.cs-mini, .cs-compact .up { display: none !important; }
.cal-card > div:nth-child(2) { display: none !important; }
.cctv-mini .card-h p, .cctv-mini > div:last-child .muted { display: none !important; }
.grid-main .card:not(.cs-compact):not(.stats-mini):not(.cal-card):not(.cctv-mini) p { display: none; }
.hx-greet span { display: inline !important; }

/* 12) Menu cepat tersembunyi: muncul hanya saat tombol "Menu" diklik */
.tk-menu { display: grid; justify-items: center; gap: 10px; }
.tk-toggle {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 8px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink);
  font: inherit; font-size: 14px; font-weight: 800; box-shadow: var(--shadow); cursor: pointer;
}
.tk-toggle .tk-ic { width: 30px; height: 30px; border-radius: 999px; }
.tk-toggle .tk-ic svg { width: 18px; height: 18px; }
.tk-chev { transition: transform 0.2s; color: var(--muted); }
.tk-menu.open .tk-toggle { border-color: var(--accent); color: var(--accent-ink); }
.tk-menu.open .tk-chev { transform: rotate(180deg); }
.tk-menu .tk-tools { width: 100%; animation: tk-in 0.18s ease-out; }
.tk-menu .tk-tools[hidden] { display: none; }
@keyframes tk-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tk-menu .tk-tools { animation: none; } }

/* 13) Beranda hanya yang penting: kartu sapaan, saldo, pergerakan saldo, kalender.
   Statistik, Anggaran, dan CCTV tetap ada di menu masing-masing. */
.grid-main .stats-mini, .grid-main .cctv-mini,
.grid-main .card:not(.cs-compact):not(.stats-mini):not(.cal-card):not(.cctv-mini) { display: none !important; }
.hx-agenda { padding-bottom: 18px; }
.hx-top { min-height: 0 !important; }

/* 14) Doa Arab di kartu sapaan Beranda dihilangkan (permintaan pengguna) */
.hx-doa { display: none !important; }
.mark { box-shadow: none !important; border-radius: 10px !important; }

/* 15) Saldo Ayah + Saldo Ibu = Total Saldo */
.sum4 > .tk-ayah { order: 1; }
.sum4 > .tk-ibu { order: 2; }
.sum4 > .tk-total { order: 3; }
.sum4 > .sum-tile:not(.tk-ayah):not(.tk-ibu):not(.tk-total) { order: 4; }
.sum4 > .tk-total { background: linear-gradient(135deg, #e7f2ff, #ffffff) !important; box-shadow: inset 0 0 0 1px #b9dbff, var(--shadow); }
.sum4 > .tk-total > span { color: var(--accent-ink); font-weight: 800; }
.sum4 > .tk-total > b { color: var(--accent-ink); }
.tk-ibu { text-align: left; border: 0; font: inherit; color: var(--ink); cursor: pointer; }
@media (min-width: 900px) { .sum4 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; } }
@media (max-width: 899px) { .sum4 > .sum-tile.tk-total { grid-column: 1 / -1 !important; } }
.sum4 > .tk-total > .tk-cap { display: block; font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--muted); margin-top: 2px; line-height: 1.3; }

/* 16) Beranda bergaya aplikasi perjalanan (v11) */
:root { --tk-sky1: #3b82ec; --tk-sky2: #2c6fe0; --tk-deep: #2d5ec2; }
.tk-menu, .tk-tools { display: none !important; }
/* kepala: bilah atas jadi biru, judul diganti kotak cari, tombol bulat putih */
.tk-home-on .topbar { background: var(--tk-sky1) !important; border: 0 !important; box-shadow: none !important; }
.tk-home-on .topbar-in { gap: 10px !important; }
.tk-home-on .topbar h1, .tk-home-on .topbar .mark, .tk-home-on .topbar .connpill { display: none !important; }
.tk-home-on .topbar .iconbtn { width: 44px !important; height: 44px !important; border-radius: 999px !important; background: #fff !important; border: 0 !important; color: #1f6fe0 !important; box-shadow: 0 2px 8px rgb(8 40 110 / .18); flex: none; }
.tk-home-on .topbar .iconbtn[aria-label="Menu"] { order: 9; color: #303135 !important; }
.tk-search { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; background: #fff; border-radius: 999px; color: #9aa0ab; box-shadow: 0 2px 8px rgb(8 40 110 / .18); }
.tk-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 600 15px/1 'Nunito Sans', system-ui, sans-serif; color: #303135; }
.tk-search input::placeholder { color: #9aa0ab; }
.tk-search input::-webkit-search-cancel-button { display: none; }
.tk-sug { position: absolute; left: 0; right: 0; top: 50px; z-index: 60; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgb(8 40 110 / .22); padding: 6px; max-height: 320px; overflow: auto; }
.tk-sug button { display: block; width: 100%; text-align: left; padding: 11px 12px; border: 0; background: none; border-radius: 10px; font: 700 15px 'Nunito Sans', system-ui, sans-serif; color: #303135; cursor: pointer; }
.tk-sug button:hover, .tk-sug button:focus-visible { background: #e7f2ff; color: #0064d2; outline: 0; }
.tk-sug p { margin: 0; padding: 11px 12px; color: #71747d; font-size: 14px; }
/* blok biru utama */
.tk-home { position: relative; background: linear-gradient(180deg, var(--tk-sky1) 0%, var(--tk-sky2) 100%); border-radius: 0 0 30px 30px; padding: 14px 14px 18px; margin: -18px -14px 0; overflow: hidden; }
.tk-home::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 0 40%, rgb(255 255 255 / .07) 40% 41%, transparent 41% 60%, rgb(255 255 255 / .06) 60% 60.6%, transparent 60.6%); pointer-events: none; }
.tk-home > * { position: relative; }
.tk-big { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tk-big button { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px 12px; background: #fff; border: 0; border-radius: 16px; cursor: pointer; box-shadow: 0 2px 0 rgb(8 40 110 / .08); transition: transform .15s ease; }
.tk-big button:active { transform: scale(.97); }
.tk-big svg { width: 58px; height: 58px; }
.tk-big b { font: 800 13.5px/1.15 'Nunito Sans', system-ui, sans-serif; color: #1c1e22; letter-spacing: -.01em; text-align: center; }
.tk-row-wrap { position: relative; margin-top: 10px; padding-bottom: 30px; }
.tk-row { display: flex; gap: 4px; overflow-x: auto; scroll-snap-type: x proximity; background: #fff; border-radius: 18px; padding: 14px 8px 16px; scrollbar-width: none; }
.tk-row::-webkit-scrollbar { display: none; }
.tk-row button { flex: 0 0 76px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; background: none; cursor: pointer; padding: 0 2px; }
.tk-row svg { width: 50px; height: 50px; }
.tk-row span { font: 600 13px/1.2 'Nunito Sans', system-ui, sans-serif; color: #303135; text-align: center; }
.tk-home.all .tk-row { flex-wrap: wrap; justify-content: flex-start; overflow: visible; row-gap: 14px; }
.tk-home.all .tk-row button { flex-basis: calc(20% - 4px); }
.tk-all { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 30px; background: #fff; border: 0; border-radius: 0 0 24px 24px; font: 800 14.5px 'Nunito Sans', system-ui, sans-serif; color: #303135; cursor: pointer; display: grid; grid-template-columns: 7px 7px auto; grid-template-rows: 7px 7px; column-gap: 3px; row-gap: 3px; align-content: center; }
.tk-all i { display: block; width: 7px; height: 7px; border-radius: 50%; background: #007cff; }
.tk-all i:nth-of-type(3) { grid-column: 1; grid-row: 2; }
.tk-all i:nth-of-type(4) { grid-column: 2; grid-row: 2; }
.tk-all span { grid-column: 3; grid-row: 1 / 3; margin-left: 8px; }
.tk-all::before, .tk-all::after { content: ""; position: absolute; top: 0; width: 20px; height: 20px; background: radial-gradient(circle at 0 100%, transparent 19px, #fff 20px); }
.tk-all::before { left: -20px; background: radial-gradient(circle at 0 100%, transparent 19.5px, #fff 20px); transform: scaleY(-1); }
.tk-all::after { right: -20px; background: radial-gradient(circle at 100% 100%, transparent 19.5px, #fff 20px); transform: scaleY(-1); }
/* kartu saldo bergaya spanduk */
.tk-cards { display: flex; gap: 8px; margin: 16px -14px 0; padding: 0 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tk-cards::-webkit-scrollbar { display: none; }
.tk-card { flex: 0 0 158px; scroll-snap-align: center; }
.tk-card.c2 { flex-basis: 236px; }
.tk-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 124px; padding: 12px 8px 12px; border: 1.5px solid rgb(255 255 255 / .35); border-radius: 14px; color: #fff; text-align: center; cursor: pointer; overflow: hidden; }
.tk-card.c1 { background: linear-gradient(160deg, #1d4fae, #0e2f73); }
.tk-card.c2 { background: linear-gradient(160deg, #3f8cf3, #2365d8); }
.tk-card.c3 { background: linear-gradient(160deg, #6fb2ff, #2f78e6); }
.tk-card::before { content: ""; position: absolute; width: 140px; height: 140px; right: -60px; top: -70px; border-radius: 50%; background: rgb(255 255 255 / .1); }
.tk-card small { font: 700 13px 'Nunito Sans', system-ui, sans-serif; opacity: .92; }
.tk-card.c2 small { font: italic 800 17px 'Nunito Sans', system-ui, sans-serif; }
.tk-card b { font: 800 18px/1.1 'Nunito Sans', system-ui, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.tk-card.c2 b { font-size: 21px; }
.tk-mo { display: flex; flex-direction: column; font: 700 11px/1.35 'Nunito Sans', system-ui, sans-serif; opacity: .9; }
.tk-card em { margin-top: 6px; font: 800 12px 'Nunito Sans', system-ui, sans-serif; font-style: normal; padding: 6px 12px; border-radius: 8px; background: #1d4fae; color: #fff; border: 1px solid rgb(255 255 255 / .35); white-space: nowrap; }
.tk-card.c2 em { background: #ffd500; color: #2b2300; border: 0; }
.tk-card.c3 em { background: #1f63d1; }
.tk-tag { margin: 0 -14px; padding: 14px 16px; background: #e8eef9; color: #6b7280; font: 600 14.5px/1.3 'Nunito Sans', system-ui, sans-serif; text-align: center; }
/* Beranda: kotak ringkasan lama disembunyikan (angkanya dipakai di kartu), sapaan disembunyikan */
.tk-home-on .sum4 { display: none !important; }
.grid.gap-4:has(> .tk-home) { gap: 0 !important; }
.grid.gap-4:has(> .tk-home) > .grid-main { margin-top: 16px; }
.hero-wrap { margin: 0 -14px; }
.hero-wrap .hx { border-radius: 0 !important; background: var(--tk-deep) !important; box-shadow: none !important; padding-top: 20px !important; }
.hero-wrap .hx-head, .hero-wrap .hx-btn.in, .hero-wrap .hx-btn.out { display: none !important; }
.hero-wrap .hx-body::before { content: "Hari ini di rumah"; display: block; font: 800 22px/1.2 'Nunito Sans', system-ui, sans-serif; color: #fff; margin: 0 0 12px; letter-spacing: -.01em; }
.hero-wrap .hx-actions { grid-template-columns: 1fr !important; display: grid !important; }
.hero-wrap .hx-mur { grid-column: 1 / -1 !important; }
/* bilah bawah: ikon padat abu-abu, aktif biru, tombol Catat rata */
.bnav > button .tk-ic svg [fill^="#"] { fill: currentColor; opacity: .45; }
.bnav > button:not([aria-current=page]) { color: #9aa0ab !important; }
.bnav > button[aria-current=page] .tk-ic { background: transparent !important; }
.bnav > button[aria-current=page]::before { display: none !important; }
.bnav .bnav-add { color: #9aa0ab !important; }
.bnav .bnav-add > span { transform: none !important; margin: 0 auto 2px !important; width: 30px !important; height: 26px !important; border-radius: 9px !important; box-shadow: none !important; background: #007cff !important; color: #fff !important; display: grid !important; place-items: center; }
.bnav .bnav-add > span svg { width: 18px !important; height: 18px !important; }
@media (min-width: 1024px) {
  .tk-home { margin: 0; border-radius: 24px; padding: 18px 18px 20px; }
  .tk-tag, .hero-wrap { margin: 0; }
  .tk-tag { background: transparent; }
  .hero-wrap .hx { border-radius: 24px !important; }
  .tk-row { justify-content: space-between; }
  .tk-row-wrap { padding-bottom: 0; } .tk-all { display: none !important; }
  .tk-big svg { width: 64px; height: 64px; }
  .tk-big b { font-size: 17px; }
  .tk-cards { margin: 16px 0 0; padding: 0; overflow: visible; display: grid; grid-template-columns: 1fr 1.5fr 1fr; }
  .tk-card b { font-size: 21px; } .tk-card.c2 b { font-size: 28px; }
}
@media (max-width: 370px) { .tk-big b { font-size: 12px; } .tk-big svg { width: 50px; height: 50px; } .tk-card b { font-size: 14px; } .tk-card.c2 b { font-size: 18px; } }

/* 17) Rapikan tata letak HP, tablet, web (v12) */
:root { --tk-wx: 14px; --tk-wt: 18px; }
.tk-home { margin: calc(-1 * var(--tk-wt)) calc(-1 * var(--tk-wx)) 0; padding: 14px var(--tk-wx) 20px; }
.tk-tag { margin: 0 calc(-1 * var(--tk-wx)); }
.hero-wrap { margin: 0 calc(-1 * var(--tk-wx)); }
.tk-home-on .fab { display: none !important; }
/* kartu saldo: Total lebar penuh, Ayah & Ibu berdampingan */
.tk-cards { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 0 !important; padding: 0 !important; overflow: visible !important; }
.tk-card { min-height: 112px; padding: 14px 10px; }
.tk-card.c2 { grid-column: 1 / -1; grid-row: 1; min-height: 0; padding: 16px 14px; }
.tk-card.c2 .tk-mo { flex-direction: row; gap: 14px; }
.tk-card b { font-size: 17.5px; }
.tk-card.c2 b { font-size: 26px; }
.tk-card em { margin-top: 8px; }
/* bagian "Hari ini di rumah": judul + dua label kecil, tanpa bingkai ganda */
.hero-wrap .hx { padding: 22px var(--tk-wx) 22px !important; row-gap: 0 !important; }
.hero-wrap .hx::before { content: "Hari ini di rumah"; display: block; font: 800 21px/1.2 'Nunito Sans', system-ui, sans-serif; color: #fff; margin: 0 0 14px; letter-spacing: -.01em; grid-column: 1 / -1; }
.hero-wrap .hx-body::before { content: "Murottal"; display: block; font: 800 12.5px/1 'Nunito Sans', system-ui, sans-serif; text-transform: uppercase; letter-spacing: .05em; color: rgb(255 255 255 / .9); margin: 0 0 10px; }
.hero-wrap .hx-body { padding: 0 !important; }
.hero-wrap .hx-actions { background: transparent !important; box-shadow: none !important; padding: 0 !important; border: 0 !important; }
.hero-wrap .hx-mur { background: #fff !important; border: 0 !important; border-radius: 14px !important; min-height: 58px; padding: 0 16px 0 8px !important; }
.hero-wrap .hx-agenda { padding: 18px 0 0 !important; }
.hero-wrap .hxa-head { margin-bottom: 10px !important; }
.hero-wrap .hxa-item { border-radius: 14px !important; }
@media (max-width: 420px) { .tk-big button { padding: 12px 2px; } .tk-big b { font-size: 13px; letter-spacing: -.02em; } }
/* tablet & web */
@media (min-width: 600px) {
  .tk-big { gap: 12px; }
  .tk-big button { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 12px 14px; border-radius: 16px; }
  .tk-big svg { width: 48px !important; height: 48px !important; flex: none; }
  .tk-big b { font-size: 16px !important; text-align: left; }
  .tk-row-wrap { padding-bottom: 0; margin-top: 12px; }
  .tk-all { display: none !important; }
  .tk-row { overflow: visible; padding: 14px 6px; justify-content: space-between; }
  .tk-row button { flex: 1 1 0; min-width: 0; }
  .tk-row svg { width: 46px; height: 46px; }
  .tk-row span { font-size: 12.5px; }
  .tk-cards { grid-template-columns: 1fr 1.5fr 1fr; gap: 12px; }
  .tk-card.c2 { grid-column: auto; grid-row: auto; }
  .tk-card.c2 .tk-mo { flex-direction: column; gap: 0; }
  .tk-card { min-height: 132px; }
}
@media (min-width: 1024px) {
  .tk-home, .tk-tag, .hero-wrap { margin-left: 0 !important; margin-right: 0 !important; }
  .tk-home { margin-top: 0 !important; border-radius: 24px; padding: 18px; }
  .tk-tag { display: none; }
  .grid.gap-4:has(> .tk-home) > .hero-wrap { margin-top: 16px !important; }
  .tk-search { flex: 0 1 520px !important; margin-right: auto; }
  .hero-wrap .hx { border-radius: 24px !important; padding: 20px 22px 22px !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) !important; column-gap: 18px !important; align-items: start; }
  .hero-wrap .hx-agenda { padding: 0 !important; }
  .hero-wrap .hxa-head { min-height: 12.5px; }
  .tk-card b { font-size: 20px !important; } .tk-card.c2 b { font-size: 28px !important; }
}

/* 18) Murottal tidak ditampilkan di Beranda (permintaan pengguna 28 Nov 21.43); tetap ada di menu Ngaji */
.hero-wrap .hx-body { display: none !important; }
.hero-wrap .hx-agenda { padding: 0 !important; }
.hero-wrap .hx::before { content: "Agenda keluarga" !important; }
.hero-wrap .hxa-head .hxa-title { display: none !important; }
.hero-wrap .hxa-head { position: absolute; right: var(--tk-wx); top: 24px; margin: 0 !important; }
.hero-wrap .hx { position: relative; grid-template-columns: minmax(0, 1fr) !important; }
@media (min-width: 1024px) { .hero-wrap .hxa-head { right: 22px; top: 22px; } }
.hero-wrap .hxa-head { display: none !important; }

/* 19) CCTV: video rapi + peta lalu lintas langsung */
.cctv .card-h { align-items: center; gap: 12px; }
.cctv .card-h h2 { font-size: 17px !important; font-weight: 800 !important; }
.cctv-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px !important; overflow: hidden; background: #0e1a2b; }
.cctv-frame iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.tk-cam-off { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 20px 24px; color: #fff; background: linear-gradient(160deg, #1d4fae, #0e2f73); }
.tk-cam-off b { font: 800 17px 'Nunito Sans', system-ui, sans-serif; }
.tk-cam-off span { font: 600 13.5px/1.45 'Nunito Sans', system-ui, sans-serif; opacity: .9; max-width: 420px; }
.tk-lalin { padding: 18px !important; }
.tk-lalin-h h2 { margin: 0; font: 800 18px 'Nunito Sans', system-ui, sans-serif; color: var(--ink); }
.tk-lalin-h p { margin: 4px 0 12px; font: 600 13px/1.5 'Nunito Sans', system-ui, sans-serif; color: var(--muted); }
.tk-lalin-h i { display: inline-block; width: 18px; height: 5px; border-radius: 3px; margin: 0 5px 2px 8px; vertical-align: middle; }
.tk-lalin-h .lg-r { background: #e8202a; } .tk-lalin-h .lg-y { background: #ffb300; }
.tk-lalin-map { position: relative; height: 380px; border-radius: 14px; overflow: hidden; background: #e8eef9; }
.tk-lalin-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tk-lalin-btn { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.tk-lalin-btn a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: #e7f2ff; color: #0064d2; font: 800 14px 'Nunito Sans', system-ui, sans-serif; text-decoration: none; }
.tk-lalin-btn a small { font: 600 11.5px/1.3 'Nunito Sans', system-ui, sans-serif; color: #4a6fa5; }
.tk-lalin-btn a:hover { background: #d6e9ff; }
@media (max-width: 900px) { .tk-lalin-btn { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .tk-lalin { padding: 14px !important; } .tk-lalin-map { height: 300px; } }

/* 20) Pergerakan Saldo & Kalender senada dengan Beranda (v14) */
.grid-main .cs-compact, .grid-main .cal-card { border: 0 !important; border-radius: 20px !important; box-shadow: 0 1px 2px rgb(16 40 90 / .05), 0 8px 24px rgb(16 40 90 / .07) !important; padding: 20px !important; }
.tk-hic { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-right: 10px; vertical-align: middle; flex: none; }
.tk-hic svg { width: 38px; height: 38px; }
.cs-compact .card-h { align-items: center !important; gap: 10px; flex-wrap: wrap; }
.cs-compact .card-h h2 { display: flex; align-items: center; font: 800 18px/1.2 'Nunito Sans', system-ui, sans-serif !important; color: #1c1e22 !important; margin: 0 !important; }
.cs-compact .seg { background: #eef4ff !important; border: 0 !important; border-radius: 999px !important; padding: 4px !important; gap: 2px; box-shadow: none !important; }
.cs-compact .seg button { border-radius: 999px !important; padding: 7px 14px !important; font: 700 13px 'Nunito Sans', system-ui, sans-serif !important; color: #4a6fa5 !important; background: transparent !important; box-shadow: none !important; border: 0 !important; }
.cs-compact .seg button[aria-pressed=true] { background: #007cff !important; color: #fff !important; box-shadow: 0 2px 6px rgb(0 124 255 / .3) !important; }
.cs-compact .display.num { font: 800 28px/1.1 'Nunito Sans', system-ui, sans-serif !important; color: #0064d2 !important; letter-spacing: -.02em; }
.cs-compact .cs-wrap { margin-top: 6px; }
.cs-compact .cs-wrap svg g > rect, .cs-compact .cs-wrap svg g > line[stroke-width] { display: none; }
.cs-compact .cs-wrap svg line[stroke-dasharray] { stroke: #e6ecf5 !important; }
.cs-compact .cs-wrap svg text { fill: #8a93a3 !important; font: 600 11px 'Nunito Sans', system-ui, sans-serif !important; }
/* kalender */
.cal-card > div:first-child > .flex.items-center.justify-between { margin-bottom: 12px; }
.cal-card b.display { display: inline-flex; align-items: center; font: 800 18px/1 'Nunito Sans', system-ui, sans-serif !important; color: #1c1e22 !important; }
.cal-card .tk-hic-cal, .cal-card .tk-hic-cal svg { width: 32px; height: 32px; }
.cal-card .iconbtn { width: 36px !important; height: 36px !important; border-radius: 999px !important; background: #e7f2ff !important; border: 0 !important; color: #0064d2 !important; box-shadow: none !important; }
.cal-card .iconbtn:hover { background: #d6e9ff !important; }
.cal .wd { font: 800 11.5px 'Nunito Sans', system-ui, sans-serif !important; text-transform: uppercase; letter-spacing: .04em; color: #8a93a3 !important; padding-bottom: 6px; }
.cal .wd:nth-child(7) { color: #e8202a !important; }
.cal button { position: relative; width: 40px !important; height: 40px !important; min-height: 0 !important; padding: 0 !important; justify-self: center; border-radius: 999px !important; border: 0 !important; background: transparent; font: 700 14.5px 'Nunito Sans', system-ui, sans-serif !important; color: #303135; display: grid; place-items: center; transition: background .15s ease; }
.cal button:hover { background: #eef4ff !important; }
.cal > button:nth-child(7n) { color: #e8202a; }
.cal button[aria-pressed=true] { background: #007cff !important; color: #fff !important; box-shadow: 0 4px 10px rgb(0 124 255 / .35) !important; }
.cal button .dots { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); display: flex; gap: 2px; }
.cal button[aria-pressed=true] .dots i, .cal button[aria-pressed=true] .dots span { background: #fff !important; }
@media (min-width: 1024px) {
  .grid-main { align-items: stretch !important; }
  .grid-main > .side-stack { display: flex !important; flex-direction: column; }
  .grid-main > .side-stack > .cs-compact, .grid-main > .side-stack > .cal-card { flex: 1; }
  .cs-compact { display: flex !important; flex-direction: column; }
  .cs-compact .cs-wrap { flex: 1; display: flex; align-items: flex-end; }
  .cs-compact .cs-wrap svg { width: 100%; height: auto; }
}
/* 21) CCTV di jalur pulang */
.tk-jalur { margin-top: 16px; }
.tk-jalur h3 { margin: 0 0 10px; font: 800 15px 'Nunito Sans', system-ui, sans-serif; color: var(--ink); }
.tk-jalur h3 span { font-weight: 600; font-size: 12.5px; color: var(--muted); margin-left: 6px; }
.tk-jalur ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; counter-reset: j; }
.tk-jalur li { counter-increment: j; }
.tk-jalur li > a, .tk-jalur li > span { position: relative; display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 30px 10px 10px; border-radius: 12px; background: #f3f6fb; text-decoration: none; color: var(--ink); border: 1px solid #e3e9f3; }
.tk-jalur li > a:hover { background: #e7f2ff; border-color: #b9dbff; }
.tk-jalur li > *::before { content: counter(j); position: absolute; left: 10px; top: 8px; width: 18px; height: 18px; border-radius: 50%; background: #007cff; color: #fff; font: 800 11px/18px 'Nunito Sans', system-ui, sans-serif; text-align: center; }
.tk-jalur li:last-child > *::before { background: #00a651; }
.tk-jalur b { font: 700 12.5px/1.3 'Nunito Sans', system-ui, sans-serif; }
.tk-jalur small { font: 600 11px 'Nunito Sans', system-ui, sans-serif; color: #0064d2; }
.tk-jalur p { margin: 8px 0 0; font: 600 11.5px 'Nunito Sans', system-ui, sans-serif; color: var(--muted); }
@media (max-width: 900px) { .tk-jalur ol { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .tk-jalur ol { grid-template-columns: 1fr 1fr; } }
/* 22) Rumah & kantor */
.tk-lalin-tabs { display: inline-flex; gap: 2px; padding: 4px; margin-bottom: 10px; background: #eef4ff; border-radius: 999px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tk-lalin-tabs button { flex: none; border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; font: 700 13px 'Nunito Sans', system-ui, sans-serif; color: #4a6fa5; cursor: pointer; white-space: nowrap; }
.tk-lalin-tabs button[aria-selected=true] { background: #007cff; color: #fff; box-shadow: 0 2px 6px rgb(0 124 255 / .3); }
.tk-tempat { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.tk-tp { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 14px; border: 1px solid #e3e9f3; background: #fff; }
.tk-tp b { display: flex; align-items: center; gap: 8px; font: 800 14.5px 'Nunito Sans', system-ui, sans-serif; color: var(--ink); }
.tk-tp b::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #00a651; }
.tk-tp.kantor b::before { background: #007cff; }
.tk-tp span { font: 600 12px/1.4 'Nunito Sans', system-ui, sans-serif; color: var(--muted); }
.tk-tp div { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.tk-tp a { padding: 6px 12px; border-radius: 999px; background: #e7f2ff; color: #0064d2; font: 800 12.5px 'Nunito Sans', system-ui, sans-serif; text-decoration: none; }
.tk-tp a:hover { background: #d6e9ff; }
@media (max-width: 599px) { .tk-tempat { grid-template-columns: 1fr; } }

/* 23) Semua CCTV dalam satu kisi */
.tk-hide { display: none !important; }
.tk-cams { background: var(--surface); border-radius: 20px; padding: 18px; box-shadow: 0 1px 2px rgb(16 40 90 / .05), 0 8px 24px rgb(16 40 90 / .07); }
.tk-cams-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.tk-cams-h h2 { margin: 0; font: 800 18px 'Nunito Sans', system-ui, sans-serif; color: var(--ink); }
.tk-cams-h h2 span { display: block; font: 600 12.5px 'Nunito Sans', system-ui, sans-serif; color: var(--muted); margin-top: 2px; }
.tk-reload { border: 0; border-radius: 999px; padding: 8px 14px; background: #e7f2ff; color: #0064d2; font: 800 13px 'Nunito Sans', system-ui, sans-serif; cursor: pointer; }
.tk-reload:hover { background: #d6e9ff; }
.tk-cams-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tk-cam { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tk-cam.yt { grid-column: span 1; }
.tk-cam-t { display: flex; align-items: center; gap: 10px; }
.tk-cam-t i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #007cff; color: #fff; font: 800 12px/24px 'Nunito Sans', system-ui, sans-serif; text-align: center; font-style: normal; }
.tk-cam:last-child .tk-cam-t i { background: #00a651; }
.tk-cam-t div { flex: 1; min-width: 0; }
.tk-cam-t b { display: block; font: 800 14.5px/1.25 'Nunito Sans', system-ui, sans-serif; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-cam-t small { font: 600 12px 'Nunito Sans', system-ui, sans-serif; color: var(--muted); }
.tk-live { flex: none; font: 800 11px 'Nunito Sans', system-ui, sans-serif; font-style: normal; color: #e8202a; background: #ffe9ea; padding: 3px 8px; border-radius: 999px; }
.tk-live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #e8202a; margin-right: 5px; vertical-align: 1px; }
.tk-cam-v { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0e1a2b; }
.tk-cam-v iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tk-cam-wait { position: absolute; inset: 0; display: grid; place-items: center; color: #9fb3d1; font: 700 13px 'Nunito Sans', system-ui, sans-serif; }
.tk-cam.web .tk-cam-v { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 16px; text-align: center; text-decoration: none; color: #fff; background: radial-gradient(120% 90% at 50% 0%, #2f78e6, #0e2f73); }
.tk-cam.web .tk-cam-v:hover { filter: brightness(1.08); }
.tk-cam-ico { width: 46px; height: 46px; border-radius: 50%; background: rgb(255 255 255 / .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l10.5-6.5Z' fill='%23fff'/%3E%3C/svg%3E") center / 24px no-repeat; }
.tk-cam.web .tk-cam-v b { font: 800 14.5px 'Nunito Sans', system-ui, sans-serif; }
.tk-cam.web .tk-cam-v small { font: 600 11.5px/1.35 'Nunito Sans', system-ui, sans-serif; opacity: .8; max-width: 240px; }
.tk-cams + .tk-lalin { margin-top: 0; }
@media (min-width: 1100px) { .tk-cams-g { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .tk-cams { padding: 14px; } .tk-cams-g { grid-template-columns: 1fr; } }

/* 24) Halaman Peta Jalan */
.tk-page { display: none; }
.tk-page-on .main > .wrap > *:not(.tk-page) { display: none !important; }
.tk-page-on .tk-page { display: grid; gap: 16px; padding-bottom: 24px; }
.tk-pg-h { display: flex; align-items: center; gap: 12px; }
.tk-back { flex: none; width: 42px; height: 42px; border-radius: 999px; border: 0; background: #e7f2ff; color: #0064d2; display: grid; place-items: center; cursor: pointer; }
.tk-pg-h h1 { margin: 0; font: 800 24px/1.1 'Nunito Sans', system-ui, sans-serif; color: var(--ink); letter-spacing: -.01em; }
.tk-pg-h p { margin: 3px 0 0; font: 600 13.5px 'Nunito Sans', system-ui, sans-serif; color: var(--muted); }
.tk-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tk-mode button { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left; padding: 14px 16px; border-radius: 18px; border: 2px solid transparent; background: var(--surface); box-shadow: 0 1px 2px rgb(16 40 90 / .05), 0 6px 18px rgb(16 40 90 / .06); cursor: pointer; }
.tk-mode button .tk-mi { grid-row: 1 / 3; }
.tk-mode button .tk-mi svg { width: 52px; height: 52px; display: block; }
.tk-mode button b { font: 800 16.5px 'Nunito Sans', system-ui, sans-serif; color: var(--ink); }
.tk-mode button small { font: 600 12.5px 'Nunito Sans', system-ui, sans-serif; color: var(--muted); }
.tk-mode button[aria-selected=true] { border-color: #007cff; background: linear-gradient(135deg, #e7f2ff, #fff); }
.tk-mode button[aria-selected=true] b { color: #0064d2; }
.tk-pg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tk-pc { background: var(--surface); border-radius: 20px; padding: 18px; box-shadow: 0 1px 2px rgb(16 40 90 / .05), 0 8px 24px rgb(16 40 90 / .07); min-width: 0; }
.tk-pc h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font: 800 17px 'Nunito Sans', system-ui, sans-serif; color: var(--ink); }
.tk-pc h2 i { width: 26px; height: 26px; border-radius: 50%; background: #007cff; color: #fff; font: 800 13px/26px 'Nunito Sans', system-ui, sans-serif; text-align: center; font-style: normal; }
.tk-pc > p { margin: 0 0 12px; font: 600 13px/1.5 'Nunito Sans', system-ui, sans-serif; color: var(--muted); }
.tk-pmap { position: relative; height: 380px; border-radius: 14px; overflow: hidden; background: #e8eef9; }
.tk-pmap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tk-go { display: block; margin-top: 12px; padding: 14px; border-radius: 14px; background: #007cff; color: #fff !important; text-align: center; text-decoration: none; font: 800 15px 'Nunito Sans', system-ui, sans-serif; box-shadow: 0 4px 12px rgb(0 124 255 / .3); }
.tk-go:hover { background: #0064d2; }
.tk-legend { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 10px; }
.tk-legend span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #f3f6fb; font: 700 12px 'Nunito Sans', system-ui, sans-serif; color: var(--ink); }
.tk-legend span::before { content: ""; width: 16px; height: 5px; border-radius: 3px; background: currentColor; }
.tk-legend .g::before { background: #00a651; } .tk-legend .y::before { background: #ffb300; } .tk-legend .r::before { background: #e8202a; } .tk-legend .w::before { display: none; }
.tk-zona { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; scrollbar-width: thin; }
.tk-zona button { flex: none; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 6px; align-items: center; text-align: left; padding: 7px 12px; border-radius: 12px; border: 1px solid #e3e9f3; background: #fff; cursor: pointer; }
.tk-zona button[data-all] { display: flex; }
.tk-zona i { grid-row: 1 / 3; width: 20px; height: 20px; border-radius: 50%; background: #007cff; color: #fff; font: 800 11px/20px 'Nunito Sans', system-ui, sans-serif; text-align: center; font-style: normal; }
.tk-zona b { font: 800 12.5px 'Nunito Sans', system-ui, sans-serif; color: var(--ink); white-space: nowrap; }
.tk-zona small { font: 600 11px 'Nunito Sans', system-ui, sans-serif; color: var(--muted); white-space: nowrap; }
.tk-zona button[aria-pressed=true] { background: #007cff; border-color: #007cff; }
.tk-zona button[aria-pressed=true] b, .tk-zona button[aria-pressed=true] small { color: #fff; }
.tk-zona button[aria-pressed=true] i { background: #fff; color: #007cff; }
.tk-cek-g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.tk-cek-g > a, .tk-cek-g > button { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 12px 14px; border-radius: 14px; border: 0; background: #e7f2ff; text-decoration: none; cursor: pointer; }
.tk-cek-g b { font: 800 14px 'Nunito Sans', system-ui, sans-serif; color: #0064d2; }
.tk-cek-g small { font: 600 11.5px 'Nunito Sans', system-ui, sans-serif; color: #4a6fa5; }
.tk-cek-g > *:hover { background: #d6e9ff; }
@media (max-width: 1100px) { .tk-pg-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .tk-cek-g { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) {
  .tk-mode { gap: 8px; }
  .tk-mode button { grid-template-columns: 1fr; padding: 12px; text-align: center; justify-items: center; }
  .tk-mode button .tk-mi { grid-row: auto; }
  .tk-mode button .tk-mi svg { width: 44px; height: 44px; }
  .tk-mode button b { font-size: 14px; }
  .tk-pc { padding: 14px; }
  .tk-pmap { height: 320px; }
}
/* 25) Peta Jalan: hanya Google Maps */
.tk-go-r { background: #e8202a; box-shadow: 0 4px 12px rgb(232 32 42 / .28); }
.tk-go-r:hover { background: #c4141d; }

/* 26) Saldo tertutup, tampil lewat ikon mata */
.tk-eye { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-left: 6px; border-radius: 999px; background: rgb(255 255 255 / .18); color: #fff; cursor: pointer; vertical-align: middle; font-style: normal; }
.tk-eye:hover { background: rgb(255 255 255 / .3); }
.tk-eye:focus-visible { outline: 2px solid #ffd500; outline-offset: 2px; }
.tk-card small:first-child { display: inline-flex; align-items: center; }
.tk-eye-cs { width: 32px; height: 32px; margin-left: 10px; background: #e7f2ff; color: #0064d2; }
.tk-eye-cs:hover { background: #d6e9ff; }
.cs-compact .display.num + .tk-eye-cs { display: inline-grid; }
.tk-hide-saldo .tk-card b[data-v], .tk-hide-saldo .tk-mo span[data-v] { position: relative; color: transparent !important; }
.tk-hide-saldo .tk-card b[data-v]::after { content: "Rp ••••••"; position: absolute; inset: 0; color: #fff; letter-spacing: .06em; text-align: center; white-space: nowrap; }
.tk-hide-saldo .tk-mo span[data-v]::after { content: attr(data-mask); position: absolute; inset: 0; color: #fff; text-align: center; white-space: nowrap; }
.tk-hide-saldo .tk-mo span[data-v="in"]::after { content: "Masuk Rp ••••"; }
.tk-hide-saldo .tk-mo span[data-v="out"]::after { content: "Keluar Rp ••••"; }
.tk-hide-saldo .cs-compact .display.num { position: relative; color: transparent !important; }
.tk-hide-saldo .cs-compact .display.num::after { content: "Rp ••••••••"; position: absolute; left: 0; top: 0; color: #0064d2; letter-spacing: .06em; white-space: nowrap; }
.tk-hide-saldo .cs-compact .cs-wrap svg text[data-tky="y"] { visibility: hidden; }
/* 27) CCTV Demak dari YouTube */
.tk-cams-sub { margin: 4px 0 10px; font: 800 15px 'Nunito Sans', system-ui, sans-serif; color: var(--ink); }
.tk-cams-sub span { font: 600 12px 'Nunito Sans', system-ui, sans-serif; color: var(--muted); margin-left: 6px; }
.tk-cams-g + .tk-cams-sub { margin-top: 18px; }
.tk-cam-wait2 { padding: 28px 12px; text-align: center; color: var(--muted); font: 700 14px 'Nunito Sans', system-ui, sans-serif; background: #f3f6fb; border-radius: 14px; }
.tk-off { margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: #f3f6fb; }
.tk-off summary { cursor: pointer; font: 800 13.5px 'Nunito Sans', system-ui, sans-serif; color: #4a6fa5; }
.tk-off p { margin: 8px 0 4px; font: 600 12.5px/1.6 'Nunito Sans', system-ui, sans-serif; color: var(--ink); }
.tk-off small { font: 600 11.5px 'Nunito Sans', system-ui, sans-serif; color: var(--muted); }

/* 28) Peta Jalan minimalis (v20) */
.tk-page-on .tk-page { max-width: 980px; margin: 0 auto; gap: 14px; }
.tk-pg-h h1 { font-size: 22px; }
.tk-seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #eef3fb; border-radius: 14px; }
.tk-seg2 button { border: 0; background: transparent; padding: 11px 8px; border-radius: 11px; font: 800 14.5px 'Nunito Sans', system-ui, sans-serif; color: #5b6b85; cursor: pointer; }
.tk-seg2 button[aria-selected=true] { background: #fff; color: #0064d2; box-shadow: 0 1px 2px rgb(16 40 90 / .08), 0 4px 12px rgb(16 40 90 / .08); }
.tk-page .tk-pc { padding: 16px; border-radius: 18px; }
.tk-page .tk-pc h2 { font-size: 16px; margin: 0 0 4px; }
.tk-route-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.tk-route-h small { display: block; font: 700 12px 'Nunito Sans', system-ui, sans-serif; color: var(--muted); }
.tk-route-h b { font: 800 16.5px 'Nunito Sans', system-ui, sans-serif; color: var(--ink); }
.tk-page .tk-go { margin: 0; flex: none; padding: 10px 16px; border-radius: 12px; font-size: 14px; box-shadow: 0 3px 10px rgb(0 124 255 / .28); }
.tk-page .tk-pmap { height: 420px; border-radius: 14px; }
.tk-note { margin: 8px 0 0; font: 600 12.5px/1.5 'Nunito Sans', system-ui, sans-serif; color: var(--muted); }
.tk-zones { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.tk-zc { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #f5f8fd; border: 1px solid #e6edf7; text-decoration: none; color: var(--ink); }
.tk-zc:hover { background: #e7f2ff; border-color: #b9dbff; }
.tk-zc i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #007cff; color: #fff; font: 800 11.5px/22px 'Nunito Sans', system-ui, sans-serif; text-align: center; font-style: normal; }
.tk-zc span { min-width: 0; }
.tk-zc b { display: block; font: 800 13px/1.25 'Nunito Sans', system-ui, sans-serif; }
.tk-zc small { display: block; font: 600 11px 'Nunito Sans', system-ui, sans-serif; color: var(--muted); }
.tk-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tk-links a, .tk-links button { border: 0; padding: 9px 14px; border-radius: 999px; background: #e7f2ff; color: #0064d2; font: 800 13px 'Nunito Sans', system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.tk-links a:hover, .tk-links button:hover { background: #d6e9ff; }
@media (max-width: 899px) { .tk-zones { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .tk-page .tk-pmap { height: 340px; } .tk-route-h b { font-size: 15px; } .tk-zones { grid-template-columns: 1fr; } }
