  :root {
    --bg: #F5F6F8;
    --bg-luar: #E9ECF1;
    --kartu: #FFFFFF;
    --garis: #EEF0F3;
    --garis-2: #E5E7EB;
    --teks: #0F172A;
    --teks-2: #64748B;
    --redup: #94A3B8;
    --biru: #2563EB;
    --biru-tua: #1E4FD8;
    --biru-muda: #EAF1FF;
    --biru-garis: #DBEAFE;
    --hijau: #10B981;
    --hijau-muda: #E7F8F1;
    --hijau-tua: #059669;
    --merah: #EF4444;
    --merah-muda: #FDECEC;
    --merah-tua: #DC2626;
    --kuning: #F59E0B;
    --kuning-muda: #FFF4E5;
    --kuning-tua: #B45309;
    --gelap: #0F172A;
    --gradasi: linear-gradient(135deg, #7FB2FF 0%, #2F6BF2 55%, #1E4FD8 100%);
    --gradasi-tombol: linear-gradient(135deg, #5B9BFF 0%, #2563EB 100%);
    --bayang-kartu: 0 8px 24px rgba(15, 23, 42, .05);
    --bayang-biru: 0 10px 24px rgba(37, 99, 235, .30);
    --atas: env(safe-area-inset-top, 0px);
    --bawah: env(safe-area-inset-bottom, 0px);
  }

  * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
  html, body { margin: 0; padding: 0; }
  /* Tidak bisa di-zoom (cubit atau ketuk dua kali), dan gulir tidak "memantul" ke halaman Google di luar. */
  html, body { touch-action: pan-x pan-y; overscroll-behavior: none; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  button, a, label, input, select { touch-action: manipulation; }
  /* iPhone otomatis zoom saat fokus ke input < 16px; cegah dengan 16px khusus iOS. */
  @supports (-webkit-touch-callout: none) { input, select, textarea { font-size: 16px !important; } }
  /* Saat layar penuh, latar luar ikut warna aplikasi supaya tidak ada pinggiran putih. */
  :fullscreen, :fullscreen body { background: var(--bg); }
  /* Layar pembuka: tombol Mulai = sentuhan pengguna yang dibutuhkan browser untuk layar penuh. */
  .pembuka { position: fixed; inset: 0; z-index: 100; background: var(--gradasi); color: #fff; display: flex; flex-direction: column; align-items: center; padding: calc(64px + var(--atas)) 28px calc(36px + var(--bawah)); text-align: center; transition: opacity .25s ease; }
  .pembuka.keluar { opacity: 0; pointer-events: none; }
  .pembuka-isi { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
  .pembuka-logo { width: 84px; height: 84px; border-radius: 26px; background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); display: grid; place-items: center; margin-bottom: 8px; }
  .pembuka h1 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.3px; }
  .pembuka p { margin: 0; max-width: 280px; font-size: 15px; line-height: 1.5; opacity: .88; }
  .pembuka-tombol { width: 100%; max-width: 380px; height: 56px; border-radius: 18px; background: #fff; color: var(--biru); font-size: 16px; font-weight: 700; box-shadow: 0 12px 30px rgba(15, 23, 42, .18); }
  .pembuka-tombol:active { transform: scale(.98); }
  .pembuka small { margin-top: 14px; min-height: 16px; font-size: 12px; opacity: .78; }
  .sambutan { padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 4px; }
  .sambutan > div { display: flex; flex-direction: column; gap: 4px; padding: 0 4px 10px; }
  .sambutan > div b { font-size: 16px; }
  .sambutan > div span { color: var(--teks-2); font-size: 13px; }
  .langkah { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-top: 1px solid var(--garis); text-align: left; width: 100%; }
  .langkah .nomor { width: 30px; height: 30px; border-radius: 50%; background: var(--biru-muda); color: var(--biru); font-weight: 700; font-size: 13px; display: grid; place-items: center; flex-shrink: 0; }
  .langkah.selesai .nomor { background: var(--hijau); }
  .langkah.selesai .tx-judul { color: var(--teks-2); text-decoration: line-through; }
  .langkah .tx-teks { display: flex; flex-direction: column; }
  .tentang { text-align: center; color: var(--teks-2); font-size: 12px; line-height: 1.6; padding: 6px 0 2px; }
  .tentang a { color: var(--biru); font-weight: 600; text-decoration: none; }
  .baris-sakelar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
  .baris-sakelar span { display: flex; flex-direction: column; gap: 2px; font-weight: 500; }
  .baris-sakelar small { color: var(--teks-2); font-weight: 400; font-size: 12px; }
  .baris-sakelar input { width: 22px; height: 22px; accent-color: var(--biru); flex-shrink: 0; }
  body {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background: var(--bg-luar);
    color: var(--teks);
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
  }
  button, input, select, textarea { font: inherit; color: inherit; }
  button { cursor: pointer; border: 0; background: none; padding: 0; }
  svg { display: block; flex-shrink: 0; }
  [hidden] { display: none !important; }

  .app {
    position: relative;
    max-width: 430px;
    min-height: 100vh;
    margin: 0 auto;
    background: var(--bg);
    overflow-x: hidden;
  }
  @media (min-width: 520px) {
    .app { box-shadow: 0 24px 60px rgba(15, 23, 42, .10); }
  }
  .view { padding-bottom: calc(120px + var(--bawah)); min-height: 100vh; }
  .view.tanpa-nav { padding-bottom: calc(32px + var(--bawah)); }

  /* ───── Muat awal ───── */
  .loading-awal { min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--teks-2); }
  .spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--biru-muda); border-top-color: var(--biru); animation: putar .8s linear infinite; }
  .spinner.kecil { width: 18px; height: 18px; border-width: 2px; border-color: rgba(255,255,255,.4); border-top-color: #fff; }
  @keyframes putar { to { transform: rotate(360deg); } }

  /* ───── Hero beranda ───── */
  .hero { background: var(--gradasi); color: #fff; padding: calc(16px + var(--atas)) 20px 60px; }
  .bar-atas { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .avatar { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--biru); font-weight: 700; font-size: 16px; display: grid; place-items: center; box-shadow: 0 0 0 3px rgba(255,255,255,.5); }
  .pil-kaca { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px 0 16px; border-radius: 999px; background: rgba(255,255,255,.18); color: #fff; font-weight: 500; font-size: 13px; }
  .pil-putih { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 14px; border-radius: 999px; background: var(--kartu); border: 1px solid var(--garis-2); font-weight: 500; font-size: 13px; }
  .pil-kaca input[type=month], .pil-putih input[type=month] { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
  .tombol-bulat { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); color: #fff; }
  .tombol-bulat.putih { background: var(--kartu); border: 1px solid var(--garis); color: var(--teks); }
  .tombol-bulat.gelap { background: var(--gelap); color: #fff; }
  .lencana-titik { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: #FF5A5F; box-shadow: 0 0 0 1.5px #fff; }
  .saldo { text-align: center; margin-top: 22px; }
  .saldo-label { font-size: 14px; font-weight: 500; opacity: .85; }
  .saldo-angka { display: flex; justify-content: center; align-items: baseline; gap: 6px; margin: 8px 0 10px; }
  .saldo-angka .rp { font-size: 22px; font-weight: 600; opacity: .7; }
  .saldo-angka .nilai { font-size: 40px; font-weight: 700; letter-spacing: -1px; line-height: 1.1; }
  .pil-tren { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: 12px; font-weight: 500; }

  .lembar-isi { position: relative; margin-top: -28px; background: var(--bg); border-radius: 28px 28px 0 0; padding: 20px 16px 0; display: flex; flex-direction: column; gap: 16px; }

  /* ───── Halaman biasa ───── */
  .kepala { display: flex; align-items: center; gap: 12px; padding: calc(14px + var(--atas)) 20px 12px; }
  .kepala h1 { margin: 0; font-size: 20px; font-weight: 600; flex: 1; }
  .kepala h1.kecil { font-size: 18px; }
  .isi { padding: 4px 20px 0; display: flex; flex-direction: column; gap: 16px; }

  .baris-judul { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .baris-judul h2 { margin: 0; font-size: 16px; font-weight: 600; }
  .tautan { color: var(--biru); font-size: 13px; font-weight: 500; }
  .chip-biru { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--biru-muda); color: var(--biru); font-size: 12px; font-weight: 500; }
  .chip-garis { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--kartu); border: 1px solid var(--garis-2); color: #475569; font-size: 12px; font-weight: 500; }

  .kartu { background: var(--kartu); border: 1px solid var(--garis); border-radius: 20px; }
  .kartu.pad { padding: 16px; }
  .kartu.besar { border-radius: 24px; }

  .dua-kolom { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .kartu-arus { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
  .ikon-bulat { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
  .label-kecil { font-size: 12px; font-weight: 500; color: var(--teks-2); }
  .angka-sedang { font-size: 18px; font-weight: 700; margin-top: 4px; }

  .spanduk { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 20px 0 18px; border-radius: 999px; background: var(--gelap); color: #fff; box-shadow: 0 6px 18px rgba(37, 99, 235, .3); width: 100%; text-align: left; }
  .spanduk .kiri { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 13px; }
  .spanduk .kanan { color: var(--redup); font-size: 12px; font-weight: 500; }

  /* ───── Daftar transaksi ───── */
  .grup { display: flex; flex-direction: column; gap: 10px; }
  .grup-kepala { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--teks-2); }
  .grup-kepala b { color: var(--teks); font-size: 13px; font-weight: 600; }
  .baris-tx { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--kartu); border: 1px solid var(--garis); border-radius: 20px; width: 100%; text-align: left; }
  .baris-tx:active { transform: scale(.99); }
  .kotak-ikon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
  .kotak-ikon.besar { width: 56px; height: 56px; border-radius: 18px; }
  .tx-teks { flex: 1; min-width: 0; }
  .tx-judul { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tx-sub { font-size: 12px; color: var(--redup); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tx-kanan { text-align: right; flex-shrink: 0; }
  .tx-nominal { font-size: 15px; font-weight: 600; }
  .masuk { color: var(--hijau); }
  .keluar { color: var(--merah); }
  .netral { color: var(--biru); }

  .kosong { text-align: center; padding: 28px 16px; color: var(--teks-2); font-size: 13px; line-height: 1.5; }
  .kosong b { display: block; color: var(--teks); font-size: 15px; margin-bottom: 4px; }

  /* ───── Toggle ───── */
  .toggle { display: flex; gap: 4px; padding: 4px; background: #E8EBF0; border-radius: 999px; }
  .toggle button { flex: 1; height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--teks-2); font-weight: 500; font-size: 13px; }
  .toggle button.aktif { background: #fff; color: var(--teks); font-weight: 600; box-shadow: 0 2px 8px rgba(15, 23, 42, .08); }
  .titik { width: 8px; height: 8px; border-radius: 50%; }

  /* ───── Form tambah ───── */
  .kartu-nominal { padding: 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .input-nominal { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; }
  .input-nominal .rp { font-size: 22px; font-weight: 600; color: var(--redup); }
  .input-nominal input { border: 0; outline: 0; background: transparent; font-size: 40px; font-weight: 700; letter-spacing: -1px; width: 100%; max-width: 250px; text-align: left; caret-color: var(--biru); padding: 0; }
  .input-nominal input::placeholder { color: #CBD5E1; }
  .chip-cepat { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
  .chip-cepat button { height: 30px; padding: 0 14px; border-radius: 999px; background: var(--biru-muda); color: var(--biru); font-weight: 600; font-size: 12px; }

  .grid-kategori { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .sel-kategori { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 4px; border-radius: 16px; background: var(--kartu); border: 1px solid var(--garis); font-size: 11px; font-weight: 500; color: #475569; text-align: center; }
  .sel-kategori .ikon-bulat { width: 36px; height: 36px; }
  .sel-kategori.pilih { background: var(--biru-muda); border: 1.5px solid var(--biru); color: var(--biru); font-weight: 600; }
  .sel-kategori.pilih .ikon-bulat { background: #fff !important; }

  .kartu-isian { padding: 4px 16px; }
  .isian { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; border-bottom: 1px solid #F1F3F6; }
  .isian:last-child { border-bottom: 0; }
  .isian label { color: var(--teks-2); white-space: nowrap; }
  .isian input, .isian select { border: 0; outline: 0; background: transparent; text-align: right; font-weight: 500; flex: 1; min-width: 0; padding: 12px 0; -webkit-appearance: none; appearance: none; }
  .isian select { direction: rtl; }
  .isian select option { direction: ltr; }
  .isian input::placeholder { color: var(--redup); font-weight: 400; }

  .baris-akun { display: flex; align-items: center; gap: 12px; padding: 12px 0; position: relative; }
  .baris-akun select { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
  .logo-akun { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 11px; flex-shrink: 0; }
  .pemisah-tukar { display: flex; align-items: center; gap: 12px; }
  .pemisah-tukar::before, .pemisah-tukar::after { content: ""; flex: 1; height: 1px; background: var(--garis); }
  .pemisah-tukar button { width: 36px; height: 36px; border-radius: 50%; background: var(--biru-muda); color: var(--biru); display: grid; place-items: center; }

  .catatan-info { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #EFF6FF; border: 1px solid var(--biru-garis); color: #1E3A8A; font-size: 12px; font-weight: 500; line-height: 1.4; }
  .catatan-info .i { width: 20px; height: 20px; border-radius: 50%; background: var(--biru); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; flex-shrink: 0; }

  .struk-pratinjau { position: relative; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #EEF2F7, #E2E8F0); min-height: 112px; display: grid; place-items: center; }
  .struk-pratinjau img { width: 100%; max-height: 320px; object-fit: contain; display: block; }
  .unggah { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 14px; border: 1.5px dashed #BFD3FB; color: var(--biru); font-weight: 600; font-size: 13px; background: #F8FAFF; }
  .unggah input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

  .tombol-utama { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 56px; border-radius: 999px; background: var(--gradasi-tombol); color: #fff; font-weight: 600; font-size: 16px; box-shadow: var(--bayang-biru); }
  .tombol-utama:disabled { opacity: .6; }
  .tombol-garis { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; border-radius: 999px; background: #fff; border: 1.5px solid var(--biru-garis); color: var(--biru); font-weight: 600; font-size: 14px; }
  .tombol-bahaya { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 54px; border-radius: 999px; background: #fff; border: 1.5px solid #FECACA; color: var(--merah); font-weight: 600; font-size: 15px; }
  .baris-aksi { display: grid; grid-template-columns: 1fr 1.6fr; gap: 12px; }
  .baris-aksi .tombol-utama { height: 54px; font-size: 15px; }

  /* ───── Riwayat ───── */
  .cari { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--garis); color: var(--redup); }
  .cari input { flex: 1; border: 0; outline: 0; background: transparent; color: var(--teks); }
  .cari input::placeholder { color: var(--redup); }
  .pil-filter { display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px; padding: 2px 20px 6px; scrollbar-width: none; }
  .pil-filter::-webkit-scrollbar { display: none; }
  .pil-filter button, .pil-filter label { position: relative; flex-shrink: 0; height: 36px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--garis-2); color: #475569; font-weight: 500; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
  .pil-filter .aktif { background: var(--biru); border-color: var(--biru); color: #fff; font-weight: 600; box-shadow: 0 4px 12px rgba(37, 99, 235, .25); }
  .pil-filter select { position: absolute; inset: 0; opacity: 0; width: 100%; }

  .bar-bagi { display: flex; gap: 3px; height: 8px; }
  .bar-bagi span { border-radius: 4px; min-width: 4px; }
  .legenda { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11px; font-weight: 500; color: var(--teks-2); }
  .legenda span { display: inline-flex; align-items: center; gap: 5px; }
  .legenda i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
  .lencana { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; }
  .lencana.hijau { background: var(--hijau-muda); color: var(--hijau-tua); }
  .lencana.merah { background: var(--merah-muda); color: var(--merah-tua); }
  .lencana.kuning { background: var(--kuning-muda); color: var(--kuning-tua); }
  .lencana.biru { background: var(--biru-muda); color: var(--biru); }

  /* ───── Laporan ───── */
  .kartu-grafik { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
  .ganti-tampilan { display: flex; gap: 2px; padding: 2px; border-radius: 999px; background: #F1F5F9; }
  .ganti-tampilan button { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--redup); }
  .ganti-tampilan button.aktif { background: var(--gradasi-tombol); color: #fff; }
  .donut { position: relative; width: 220px; height: 220px; margin: 0 auto; }
  .donut svg { width: 220px; height: 220px; transform: rotate(-90deg); }
  .donut .tengah { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; }
  .donut .tengah b { font-size: 18px; }
  .batang { display: flex; align-items: flex-end; gap: 3px; height: 170px; padding-top: 10px; }
  .batang div { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--biru-muda); min-height: 3px; position: relative; }
  .batang div.ada { background: var(--gradasi-tombol); }
  .sumbu { display: flex; justify-content: space-between; font-size: 10px; color: var(--redup); }
  .kartu-insight { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: #EFF6FF; border: 1px solid var(--biru-garis); color: #1E3A8A; font-size: 13px; font-weight: 500; line-height: 1.4; }
  .kartu-insight .ikon-bulat { background: #fff; width: 32px; height: 32px; flex-shrink: 0; }
  .baris-kat { padding: 14px; display: flex; flex-direction: column; gap: 12px; width: 100%; text-align: left; }
  .jalur { height: 6px; border-radius: 3px; overflow: hidden; }
  .jalur span { display: block; height: 100%; border-radius: 3px; }

  /* ───── Dompet ───── */
  .kartu-dompet { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 84px; padding: 0 18px; border-radius: 20px; color: #fff; width: 100%; text-align: left; }
  .kartu-dompet .nama { font-size: 12px; font-weight: 500; opacity: .75; }
  .kartu-dompet .uang { font-size: 20px; font-weight: 700; margin: 3px 0 2px; }
  .kartu-dompet .nomor { font-size: 11px; font-weight: 500; opacity: .55; }
  .kartu-dompet .logo { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.16); display: grid; place-items: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }

  /* ───── Anggaran & target ───── */
  .kartu-target { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--bayang-kartu); }
  .kartu-target .badan { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
  .progres { position: relative; height: 14px; }
  .progres .rel { position: absolute; left: 0; right: 0; top: 2px; height: 10px; border-radius: 5px; background: var(--biru-muda); }
  .progres .isi-rel { position: absolute; left: 0; top: 2px; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #7FB2FF, #2563EB); }
  .progres .kenop { position: absolute; top: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--biru); transform: translateX(-50%); }
  .strip { display: flex; align-items: center; gap: 8px; padding: 11px 16px; color: #fff; font-size: 12px; font-weight: 600; background: var(--biru); }
  .strip.kuning { background: #F59E0B; }
  .strip .seru { width: 16px; height: 16px; border-radius: 50%; background: #fff; color: var(--biru); display: grid; place-items: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
  .strip.kuning .seru { color: #F59E0B; }
  .cincin { position: relative; width: 48px; height: 48px; flex-shrink: 0; }
  .cincin svg { width: 48px; height: 48px; transform: rotate(-90deg); }
  .cincin b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; font-weight: 600; }
  .menu-titik { width: 32px; height: 32px; border-radius: 50%; background: #F1F5F9; display: grid; place-items: center; flex-shrink: 0; }

  /* ───── Navigasi bawah ───── */
  .nav { position: fixed; z-index: 20; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 430px; height: calc(80px + var(--bawah)); padding: 12px 24px var(--bawah); background: #fff; display: flex; justify-content: space-between; align-items: flex-start; box-shadow: 0 -6px 24px rgba(15, 23, 42, .06); }
  .nav-tab { width: 60px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--redup); }
  .nav-tab.aktif { color: var(--teks); font-weight: 600; }
  .nav-ruang { width: 56px; }
  .fab { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); width: 60px; height: 60px; border-radius: 50%; background: var(--gradasi-tombol); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 4px #fff, 0 10px 24px rgba(37, 99, 235, .35); }
  .fab:active { transform: translateX(-50%) scale(.95); }

  /* ───── Lembar bawah (bottom sheet) ───── */
  .lapis { position: fixed; inset: 0; z-index: 40; background: rgba(15, 23, 42, .45); animation: pudar .2s ease; }
  .lembar { position: fixed; z-index: 41; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 430px; max-height: 88vh; overflow-y: auto; background: var(--bg); border-radius: 28px 28px 0 0; padding: 10px 20px calc(24px + var(--bawah)); animation: naik .25s cubic-bezier(.2, .8, .2, 1); }
  .lembar .pegangan { width: 40px; height: 5px; border-radius: 3px; background: #CBD5E1; margin: 0 auto 14px; }
  .lembar h3 { margin: 0 0 14px; font-size: 18px; font-weight: 600; }
  .lembar .form { display: flex; flex-direction: column; gap: 14px; }
  .lembar .teks-bantu { font-size: 13px; color: var(--teks-2); line-height: 1.5; margin: -6px 0 2px; }
  .pilihan-menu { display: flex; flex-direction: column; gap: 10px; }
  .pilihan-menu button { display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--garis); border-radius: 16px; text-align: left; font-weight: 600; }
  .pilihan-menu button small { display: block; color: var(--teks-2); font-weight: 400; margin-top: 2px; }
  .pilihan-menu button.bahaya { color: var(--merah); }
  .pilih-warna { display: flex; gap: 10px; flex-wrap: wrap; }
  .pilih-warna button { width: 34px; height: 34px; border-radius: 50%; }
  .pilih-warna button.aktif { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--teks); }
  @keyframes naik { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, 0); } }
  @keyframes pudar { from { opacity: 0; } to { opacity: 1; } }

  .toast { position: fixed; z-index: 60; left: 50%; bottom: calc(104px + var(--bawah)); transform: translateX(-50%); max-width: 360px; width: calc(100% - 40px); padding: 12px 16px; border-radius: 14px; background: var(--gelap); color: #fff; font-size: 13px; font-weight: 500; text-align: center; box-shadow: 0 10px 30px rgba(15, 23, 42, .25); animation: pudar .2s ease; }
  .toast.galat { background: var(--merah-tua); }

  .sembunyi-angka .bisa-sembunyi { filter: blur(7px); }

  /* Layar masuk (login Google) — memakai gaya .pembuka */
  .layar-masuk .pembuka-isi { gap: 10px; }
  .masuk-google { display: flex; align-items: center; justify-content: center; gap: 12px; }
  .masuk-google svg { flex-shrink: 0; }
  .masuk-pesan { max-width: 340px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); font-size: 13.5px; line-height: 1.5; text-align: left; }
  .masuk-pesan b { display: block; margin-bottom: 2px; font-size: 14px; }
  .masuk-pesan a { color: #fff; font-weight: 600; }
  .masuk-poin { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; text-align: left; opacity: .92; }
  .masuk-poin li { display: flex; gap: 8px; align-items: flex-start; }
  .masuk-catatan { margin-top: 14px; max-width: 340px; font-size: 12px; line-height: 1.5; opacity: .8; }
  .masuk-catatan a { color: #fff; }
  .tombol-teks-putih { margin-top: 10px; color: #fff; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
  .akun-profil { display: flex; align-items: center; gap: 12px; }
  .akun-profil > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  .akun-profil small { color: var(--teks-2); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .baris-tautan { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; color: var(--teks); text-decoration: none; font-weight: 500; font-size: 14px; }
  .baris-tautan + .baris-tautan { border-top: 1px solid var(--garis); }
  .baris-tautan.bahaya { color: #DC2626; }
