/* PWA Pelanggan HALLO SAMPAH — mobile-first (390 px), kolom tengah di layar lebar. */
:root {
  --hijau: #0E9F4F;
  --hijau-tombol: #0A8743;
  --hijau-tua: #0B6B3A;
  --hijau-muda: #E5F4EA;
  --hijau-pucat: #F0F8F2;
  --kuning: #FFB81C;
  --kuning-muda: #FFF4D6;
  --kuning-teks: #7A5300;
  --teks: #1F2933;
  --teks-2: #4F5B66;
  --latar: #F5F7F4;
  --kartu: #FFFFFF;
  --garis: #E1E7E1;
  --garis-input: #B9C4BB;
  --merah: #B42318;
  --merah-muda: #FDECEA;
  --biru-teks: #1D4E89;
  --biru-muda: #E7F0FA;
  --bayang: 0 1px 2px rgba(17, 46, 28, .06), 0 6px 18px rgba(17, 46, 28, .06);
  --radius: 16px;
  --lebar: 480px;
  --nav-tinggi: 68px;
  --aman-bawah: env(safe-area-inset-bottom, 0px);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--teks);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--latar); }
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  background: var(--latar);
  color: var(--teks);
  min-height: 100dvh;
  overflow-x: hidden;
}
body.ada-nav { padding-bottom: calc(var(--nav-tinggi) + var(--aman-bawah) + 8px); }
img { max-width: 100%; display: block; }
a { color: var(--hijau-tua); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lewati { position: absolute; left: 8px; top: -60px; background: var(--hijau-tua); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.lewati:focus { top: 8px; }
:focus-visible { outline: 3px solid #7CC79A; outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }
.angka, .baris-nilai, .stat-nilai { font-variant-numeric: tabular-nums; }

#layar { display: block; max-width: var(--lebar); margin: 0 auto; min-height: 100dvh; }
.boot { min-height: 80dvh; display: grid; place-items: center; }
.boot img { width: 200px; height: auto; }
.noscript { padding: 24px 16px; }

@media (min-width: 640px) {
  html, body { background: #E8EEE7; }
  #layar { background: var(--latar); box-shadow: 0 0 0 1px #DCE4DB, 0 10px 40px rgba(17, 46, 28, .08); }
}

/* ---------- kerangka ---------- */
.halaman { min-height: 100dvh; }
body.ada-nav .halaman { min-height: calc(100dvh - var(--nav-tinggi) - 8px); }
.kepala {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 4px;
  min-height: 60px; padding: 8px 12px 8px 6px;
  padding-top: max(8px, env(safe-area-inset-top, 0px));
  background: var(--latar);
  border-bottom: 1px solid transparent;
}
.kepala-akar { padding-left: 16px; }
.kepala-judul { font-size: 20px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; flex: 1; min-width: 0; }
.kepala-aksi { display: flex; gap: 4px; }
.isi { padding: 4px 16px 24px; display: flex; flex-direction: column; gap: 12px; }

.tombol-ikon {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 12px; border: 0; background: transparent; color: var(--teks); cursor: pointer;
}
.tombol-ikon:hover { background: rgba(14, 159, 79, .08); }

/* ---------- navigasi bawah ---------- */
.nav-bawah {
  position: fixed; z-index: 30; bottom: 0; left: 50%; transform: translateX(-50%);
  width: min(100%, var(--lebar));
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--nav-tinggi) + var(--aman-bawah)); padding: 6px 6px calc(6px + var(--aman-bawah));
  background: #fff; border-top: 1px solid var(--garis);
  box-shadow: 0 -4px 18px rgba(17, 46, 28, .06);
}
.nav-bawah[hidden] { display: none; }
.nav-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  text-decoration: none; color: #5B6770; border-radius: 12px; min-height: 52px;
}
.nav-ikon { display: grid; place-items: center; width: 52px; height: 30px; border-radius: 15px; transition: background .15s; }
.nav-label { font-size: 13px; font-weight: 600; line-height: 1.1; }
.nav-item.aktif { color: var(--hijau-tua); }
.nav-item.aktif .nav-ikon { background: var(--hijau-muda); color: var(--hijau-tua); }
.nav-item.aktif .ikon { stroke-width: 2.2; }

/* ---------- kartu & teks ---------- */
.kartu { background: var(--kartu); border-radius: var(--radius); box-shadow: var(--bayang); padding: 16px; border: 1px solid #EEF2EE; }
.kartu-rapat { padding: 0; overflow: hidden; }
.judul-bagian { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.judul-bagian h2 { font-size: 17px; font-weight: 700; }
.judul-bagian a { font-size: 15px; font-weight: 600; text-decoration: none; padding: 10px 0 10px 8px; }
.kartu h2 { font-size: 17px; font-weight: 700; }
.kartu h3 { font-size: 16px; font-weight: 700; }
.teks-2 { color: var(--teks-2); }
.kecil { font-size: 15px; }
.mini { font-size: 14px; color: var(--teks-2); }
.paragraf { line-height: 1.6; }
.paragraf + .paragraf { margin-top: 10px; }

.baris { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; }
.baris + .baris { border-top: 1px dashed #E3E9E3; }
.baris-label { color: var(--teks-2); flex: 0 1 auto; min-width: 38%; }
.baris-nilai { text-align: right; font-weight: 600; }
.baris-kuat { padding-top: 10px; }
.baris-kuat .baris-label { color: var(--teks); font-weight: 700; }
.baris-kuat .baris-nilai { font-size: 18px; font-weight: 800; }

/* ---------- chip ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  font-size: 14px; font-weight: 600; line-height: 1; padding: 6px 10px; border-radius: 999px;
}
.chip-kuning { background: var(--kuning-muda); color: var(--kuning-teks); }
.chip-biru { background: var(--biru-muda); color: var(--biru-teks); }
.chip-hijau { background: var(--hijau-muda); color: var(--hijau-tua); }
.chip-hijau-penuh { background: var(--hijau-tua); color: #fff; }
.chip-merah { background: var(--merah-muda); color: var(--merah); }
.chip-abu { background: #ECEFEC; color: #46514A; }
.chip-contoh { background: transparent; color: var(--kuning-teks); border: 1.5px dashed #D9A21B; padding: 4px 8px; font-size: 13px; }
.chip-level { background: var(--hijau-muda); color: var(--hijau-tua); }
.chip-level .ikon { width: 16px; height: 16px; }

/* ---------- tombol ---------- */
.tombol {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 18px; border-radius: 14px; border: 1.5px solid transparent;
  font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; text-align: center; line-height: 1.2;
}
.tombol:disabled { opacity: .55; cursor: not-allowed; }
.tombol-utama { background: var(--hijau-tombol); color: #fff; }
.tombol-utama:hover:not(:disabled) { background: var(--hijau-tua); }
.tombol-garis { background: #fff; color: var(--hijau-tua); border-color: var(--hijau-tua); }
.tombol-garis:hover:not(:disabled) { background: var(--hijau-pucat); }
.tombol-lembut { background: var(--hijau-muda); color: var(--hijau-tua); }
.tombol-bahaya { background: var(--merah); color: #fff; }
.tombol-teks { background: transparent; color: var(--hijau-tua); border: 0; padding: 0 8px; min-height: 44px; font-weight: 700; }
.tombol-teks-bahaya { color: var(--merah); }
.tombol-kecil { min-height: 44px; padding: 0 14px; font-size: 15px; border-radius: 12px; }
.tombol-penuh { width: 100%; }
.tombol .ikon { flex: none; }
.deret-tombol { display: flex; gap: 10px; flex-wrap: wrap; }
.deret-tombol > .tombol { flex: 1 1 140px; }

/* ---------- form ---------- */
.form { display: flex; flex-direction: column; gap: 14px; }
.bidang { display: flex; flex-direction: column; gap: 6px; }
.bidang label, .label { font-weight: 600; font-size: 16px; }
.opsional { font-weight: 400; color: var(--teks-2); }
.bidang input, .bidang select, .bidang textarea, .input {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--garis-input); background: #fff; font-size: 16px;
}
.bidang textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
.bidang input:focus, .bidang select:focus, .bidang textarea:focus, .input:focus { outline: none; border-color: var(--hijau); box-shadow: 0 0 0 3px rgba(14, 159, 79, .2); }
.bidang [aria-invalid="true"] { border-color: var(--merah); }
.bidang input[readonly] { background: #EFF2EE; color: var(--teks-2); border-style: dashed; }
.bidang-petunjuk { font-size: 15px; color: var(--teks-2); }
.bidang-galat { font-size: 15px; color: var(--merah); font-weight: 600; }
.sandi-wadah { position: relative; }
.sandi-wadah input { padding-right: 52px; }
.sandi-wadah .tombol-ikon { position: absolute; right: 3px; top: 3px; }
.centang { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; cursor: pointer; }
.centang input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--hijau-tombol); flex: none; }
.centang span { line-height: 1.45; }
.centang a, .tautan-tombol { color: var(--hijau-tua); font-weight: 700; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
details.lipat { border: 1.5px solid var(--garis); border-radius: 14px; background: #fff; }
details.lipat > summary { list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
details.lipat > summary::-webkit-details-marker { display: none; }
details.lipat[open] > summary .ikon { transform: rotate(180deg); }
details.lipat > .lipat-isi { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 14px; }

.galat-kotak { background: var(--merah-muda); color: #7A1A12; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.galat-kotak[hidden] { display: none; }
.galat-baris { display: flex; gap: 10px; align-items: flex-start; flex-direction: row; }
.galat-baris .ikon { flex: none; margin-top: 2px; }
.info-kotak { background: var(--hijau-pucat); border: 1px solid #CFE8D7; border-radius: 14px; padding: 12px 14px; display: flex; gap: 10px; color: #234434; font-size: 15px; line-height: 1.5; }
.info-kotak .ikon { flex: none; color: var(--hijau-tua); margin-top: 1px; }
.info-kotak.kuning { background: #FFF8E5; border-color: #F4DE9F; color: #5A4100; }
.info-kotak.kuning .ikon { color: #A06C00; }

/* segmen */
.segmen { display: flex; gap: 6px; padding: 4px; background: #E9EEE8; border-radius: 14px; }
.segmen button { flex: 1; min-height: 44px; border: 0; border-radius: 11px; background: transparent; font-weight: 700; font-size: 15px; color: #45524A; cursor: pointer; padding: 0 6px; }
.segmen button[aria-selected="true"] { background: #fff; color: var(--hijau-tua); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.saring { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 4px; margin: 0 -16px; scrollbar-width: none; }
.saring::-webkit-scrollbar { display: none; }
.saring button { flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--garis-input); background: #fff; font-weight: 600; font-size: 15px; cursor: pointer; }
.saring button[aria-pressed="true"] { background: var(--hijau-tua); color: #fff; border-color: var(--hijau-tua); }

/* ---------- keadaan ---------- */
.memuat { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.tulang { height: 76px; border-radius: 16px; background: linear-gradient(90deg, #E7ECE6 0%, #F2F5F1 50%, #E7ECE6 100%); background-size: 200% 100%; animation: kilau 1.3s ease-in-out infinite; }
.tulang:first-of-type { height: 110px; }
@keyframes kilau { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.kosong { text-align: center; padding: 28px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.kosong-ikon { width: 56px; height: 56px; border-radius: 50%; background: var(--hijau-muda); color: var(--hijau-tua); display: grid; place-items: center; margin-bottom: 4px; }
.kosong-judul { font-weight: 700; font-size: 17px; }
.kosong-teks { color: var(--teks-2); max-width: 32ch; }
.kosong .tombol { margin-top: 8px; }

/* ---------- toast & sheet ---------- */
.toast {
  position: fixed; z-index: 60; left: 50%; bottom: calc(var(--nav-tinggi) + var(--aman-bawah) + 16px);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  width: calc(min(100vw, var(--lebar)) - 32px); padding: 14px 16px; border-radius: 14px;
  background: #1F2933; color: #fff; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transition: opacity .2s, transform .2s;
}
body:not(.ada-nav) .toast { bottom: calc(24px + var(--aman-bawah)); }
.toast.tampil { opacity: 1; transform: translate(-50%, 0); }
.toast-sukses { background: var(--hijau-tua); }
.toast-galat { background: #8E1B12; }

dialog.sheet {
  position: fixed; inset: auto 0 0 0; margin: 0 auto; width: 100%; max-width: var(--lebar);
  max-height: 90dvh; border: 0; padding: 0; border-radius: 22px 22px 0 0; background: #fff; color: var(--teks);
  display: flex; flex-direction: column; box-shadow: 0 -10px 40px rgba(0,0,0,.18);
}
dialog.sheet:not([open]) { display: none; }
dialog.sheet::backdrop { background: rgba(14, 28, 20, .48); }
.sheet-kepala { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 8px 4px 20px; }
.sheet-kepala::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 40px; height: 4px; border-radius: 4px; background: #D5DCD5; }
.sheet-judul { font-size: 18px; font-weight: 700; padding-top: 10px; }
.sheet-badan { padding: 4px 20px 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.sheet-teks { color: var(--teks-2); line-height: 1.55; }
.sheet-aksi { display: flex; gap: 10px; padding: 12px 20px calc(16px + var(--aman-bawah)); border-top: 1px solid var(--garis); }
.sheet-aksi .tombol { flex: 1; }
.foto-besar { width: 100%; border-radius: 12px; max-height: 70dvh; object-fit: contain; background: #F0F3EF; }

/* ---------- masuk / daftar ---------- */
.sambut { min-height: 100dvh; display: flex; flex-direction: column; padding: 24px 20px calc(24px + var(--aman-bawah)); position: relative; overflow: hidden; background: linear-gradient(180deg, #FAFCF9 0%, #F1F7F1 62%, #E3F1E6 100%); }
.sambut-logo { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding-top: 24px; z-index: 1; }
.sambut-logo img { width: min(78vw, 300px); height: auto; }
.sambut-teks { text-align: center; color: #33503F; max-width: 30ch; line-height: 1.5; }
.sambut-aksi { display: flex; flex-direction: column; gap: 12px; z-index: 1; padding-bottom: 8px; }
.sambut-aksi .tombol { min-height: 54px; font-size: 17px; letter-spacing: .04em; }
.sambut-kaki { text-align: center; font-size: 14px; color: #3F5A49; z-index: 1; margin-top: 12px; }
.sambut-bukit { position: absolute; left: -10%; right: -10%; bottom: -40px; height: 180px; z-index: 0; pointer-events: none; }
.form-masuk { padding: 8px 20px 32px; display: flex; flex-direction: column; gap: 18px; }
.form-masuk .logo-kecil { width: 132px; height: auto; margin: 8px 0 4px; }
.form-masuk h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.form-masuk .sub { color: var(--teks-2); margin-top: 4px; }
.pindah { text-align: center; color: var(--teks-2); }
.pindah a { font-weight: 700; display: inline-block; padding: 10px 4px; }

/* ---------- beranda ---------- */
.beranda { padding: 12px 16px 24px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(180deg, #EAF5EC 0, var(--latar) 210px); min-height: 100%; }
.sapa { display: flex; align-items: center; gap: 12px; padding: 6px 0 4px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--hijau-tua); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 19px; flex: none; letter-spacing: .02em; }
.sapa-teks { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.sapa-teks h1 { font-size: 20px; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.sapa-tgl { font-size: 14px; color: var(--teks-2); }
.sapa-logo { width: 92px; height: auto; flex: none; align-self: flex-start; }
.ringkas-grid { display: flex; justify-content: space-between; flex-wrap: wrap; row-gap: 10px; margin-top: 10px; }
.stat { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-right: 10px; flex: 1 1 auto; }
.stat + .stat { border-left: 1px solid var(--garis); padding-left: 12px; }
.stat:last-child { padding-right: 0; }
.stat-label { font-size: 14px; color: var(--teks-2); white-space: nowrap; }
.stat-nilai { font-size: 17px; font-weight: 800; color: var(--hijau-tua); line-height: 1.25; white-space: nowrap; }
.stat-nilai.poin { color: #8A5A00; }
.tombol-pickup {
  display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px;
  background: var(--hijau-tombol); color: #fff; text-decoration: none; box-shadow: 0 8px 20px rgba(10, 135, 67, .28);
}
.tombol-pickup:hover { background: var(--hijau-tua); }
.tp-ikon { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--hijau-tombol); display: grid; place-items: center; flex: none; }
.tp-teks { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.tp-teks strong { font-size: 19px; font-weight: 800; }
.tp-teks span { font-size: 15px; color: #fff; }
.tp-panah { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; flex: none; }
.pintasan { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pintas {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 12px 4px 10px; min-height: 100px; border-radius: 16px; background: #fff; box-shadow: var(--bayang); border: 1px solid #EEF2EE;
  text-decoration: none; color: var(--teks); font-size: 14px; font-weight: 600; line-height: 1.2;
}
.pintas-ikon { width: 44px; height: 44px; border-radius: 14px; background: var(--hijau-muda); color: var(--hijau-tua); display: grid; place-items: center; }
.pintas-ikon.kuning { background: var(--kuning-muda); color: #8A5A00; }
.baris-link {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-height: 56px;
  background: #fff; border-radius: 16px; box-shadow: var(--bayang); border: 1px solid #EEF2EE; text-decoration: none; color: var(--teks); font-weight: 700;
}
.baris-link .bl-ikon { color: var(--hijau); display: grid; }
.baris-link .bl-teks { flex: 1; display: flex; flex-direction: column; }
.baris-link .bl-teks small { font-weight: 400; color: var(--teks-2); font-size: 14px; }
.baris-link > .ikon:last-child { color: #7A867E; }
.dua-kolom { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tabel-kontribusi { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 14px; margin-top: 8px; align-items: baseline; }
.tabel-kontribusi > * { padding: 8px 0; border-top: 1px dashed #E3E9E3; }
.tabel-kontribusi > .tk-kepala { border-top: 0; padding-top: 0; font-size: 14px; font-weight: 700; color: var(--hijau-tua); text-align: right; }
.tabel-kontribusi > .tk-kepala:first-child { text-align: left; }
.tabel-kontribusi .tk-label { color: var(--teks-2); font-size: 15px; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.tabel-kontribusi .tk-nilai { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tabel-kontribusi .tk-nilai.kamu { color: var(--hijau-tua); }
.kolom-judul { font-size: 15px; font-weight: 700; color: var(--hijau-tua); margin-bottom: 6px; display: flex; gap: 6px; align-items: center; }
.kolom + .kolom { border-left: 1px solid var(--garis); padding-left: 12px; }
.statmini { display: flex; flex-direction: column; margin-top: 6px; }
.statmini span:first-child { font-size: 14px; color: var(--teks-2); }
.statmini strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.label-estimasi { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--kuning-teks); background: var(--kuning-muda); padding: 2px 6px; border-radius: 6px; vertical-align: middle; }
.level { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--garis); }
.level-atas { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 15px; }
.level-atas strong { color: var(--hijau-tua); }
.level-atas > span:first-child { white-space: nowrap; }
.bilah { height: 10px; border-radius: 10px; background: #E4EBE4; overflow: hidden; margin-top: 8px; }
.bilah > span { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--hijau) 0%, #3CC37A 100%); min-width: 6px; }
.tangga { display: flex; justify-content: space-between; margin-top: 6px; font-size: 13px; color: var(--teks-2); font-weight: 600; }
.tangga .ini { color: var(--hijau-tua); }

.tindakan { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: #FFF8E5; border: 1px solid #F4DE9F; text-decoration: none; color: #4A3600; }
.tindakan .ikon { color: #A06C00; flex: none; }
.tindakan div { flex: 1; display: flex; flex-direction: column; }
.tindakan strong { font-size: 16px; }
.tindakan span { font-size: 15px; }

/* daftar pickup / transaksi */
.daftar { display: flex; flex-direction: column; gap: 10px; }
.item {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: #fff;
  box-shadow: var(--bayang); border: 1px solid #EEF2EE; text-decoration: none; color: var(--teks);
}
.item-ikon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--hijau-muda); color: var(--hijau-tua); }
.item-isi { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.item-atas { display: flex; justify-content: space-between; gap: 6px 8px; align-items: center; flex-wrap: wrap; }
.item-judul { font-weight: 700; white-space: nowrap; }
.item-meta { font-size: 15px; color: var(--teks-2); overflow-wrap: anywhere; }
.item-angka { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 15px; font-variant-numeric: tabular-nums; }
.item-angka b { font-weight: 700; }
.item-kanan { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.uang-masuk { color: var(--hijau-tua); }
.uang-keluar { color: var(--merah); }

/* ---------- pickup baru ---------- */
.langkah { display: flex; align-items: center; gap: 10px; }
.langkah-no { width: 28px; height: 28px; border-radius: 50%; background: var(--hijau-tua); color: #fff; font-weight: 800; font-size: 15px; display: grid; place-items: center; flex: none; }
.langkah h2 { font-size: 18px; }
.pilih-material { display: flex; flex-wrap: wrap; gap: 8px; }
.pilih-material button { min-height: 44px; padding: 8px 14px; border-radius: 12px; border: 1.5px solid var(--garis-input); background: #fff; font-weight: 600; font-size: 15px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; text-align: left; }
.pilih-material button[aria-pressed="true"] { border-color: var(--hijau-tua); background: var(--hijau-muda); color: var(--hijau-tua); }
.grup-material + .grup-material { margin-top: 12px; }
.grup-judul { font-size: 14px; font-weight: 700; color: var(--teks-2); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.material-item { border: 1.5px solid var(--garis); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; background: #FBFCFB; }
.material-atas { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.material-nama { font-weight: 700; }
.material-harga { font-size: 15px; color: var(--teks-2); }
.material-bawah { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--garis-input); border-radius: 12px; background: #fff; overflow: hidden; }
.stepper button { width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--hijau-tua); }
.stepper input { width: 64px; height: 46px; border: 0; text-align: center; font-size: 17px; font-weight: 700; padding: 0; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; background: var(--hijau-pucat); }
.stepper-satuan { padding-right: 10px; color: var(--teks-2); font-weight: 600; }
.foto-tombol { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1.5px dashed #8DB59C; color: var(--hijau-tua); font-weight: 700; font-size: 15px; cursor: pointer; background: #fff; position: relative; }
.foto-tombol input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.foto-tombol:focus-within { outline: 3px solid #7CC79A; outline-offset: 2px; }
.foto-mini { position: relative; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; flex: none; background: #EEF2EE; border: 0; padding: 0; cursor: pointer; }
.foto-mini img { width: 100%; height: 100%; object-fit: cover; }
.foto-hapus { position: absolute; top: -6px; right: -6px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; background: #3A4540; color: #fff; display: grid; place-items: center; cursor: pointer; }
.foto-wadah { position: relative; }
.foto-status { font-size: 14px; color: var(--teks-2); }
.alamat-opsi { display: flex; gap: 12px; padding: 14px; border: 1.5px solid var(--garis); border-radius: 14px; cursor: pointer; align-items: flex-start; background: #fff; }
.alamat-opsi input { width: 22px; height: 22px; accent-color: var(--hijau-tombol); margin: 2px 0 0; flex: none; }
.alamat-opsi:has(input:checked) { border-color: var(--hijau-tua); background: var(--hijau-pucat); }
.alamat-opsi strong { display: block; }
.alamat-opsi span { color: var(--teks-2); font-size: 15px; }
.peta { height: 240px; border-radius: 14px; overflow: hidden; position: relative; z-index: 0; isolation: isolate; background: #E3EAE2; border: 1px solid var(--garis); }
.peta-tinggi { height: 320px; }
.peta-pendek { height: 160px; }
.peta-info { font-size: 15px; color: var(--teks-2); display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.peta-galat { display: grid; place-items: center; height: 100%; padding: 16px; text-align: center; color: var(--teks-2); font-size: 15px; }
.pin-peta { background: none; border: 0; }
.leaflet-container { font: inherit; font-size: 15px; }
.leaflet-container a.leaflet-popup-close-button { width: 32px; height: 32px; font-size: 22px; line-height: 30px; }
.slot { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.slot button { min-height: 48px; border-radius: 12px; border: 1.5px solid var(--garis-input); background: #fff; font-weight: 700; font-size: 15px; cursor: pointer; }
.slot button[aria-pressed="true"] { background: var(--hijau-tua); border-color: var(--hijau-tua); color: #fff; }
.slot button:disabled { opacity: .45; cursor: not-allowed; }
.estimasi-hasil { display: flex; flex-direction: column; }
.arah {
  margin-top: 10px; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 2px;
}
.arah-label { font-size: 15px; font-weight: 600; }
.arah-nilai { font-size: 26px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.arah-terima { background: var(--hijau-muda); color: var(--hijau-tua); }
.arah-bayar { background: #FFF1E0; color: #7A3E00; }
.arah-impas { background: #EEF1EE; color: #39443D; }
.bar-kirim {
  position: sticky; bottom: 0; z-index: 15; margin: 8px -16px -24px; padding: 12px 16px calc(12px + var(--aman-bawah));
  background: #fff; border-top: 1px solid var(--garis); box-shadow: 0 -6px 18px rgba(17, 46, 28, .07);
  display: flex; gap: 12px; align-items: center;
}
.bar-kirim .bk-teks { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bar-kirim .bk-teks span { font-size: 14px; color: var(--teks-2); }
.bar-kirim .bk-teks strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.bar-kirim .tombol { flex: none; min-width: 150px; }

/* ---------- detail pickup ---------- */
.ringkas-pickup { display: flex; flex-direction: column; gap: 6px; }
.kode { font-weight: 800; font-size: 18px; letter-spacing: .02em; white-space: nowrap; }
.ringkas-pickup .item-atas { flex-wrap: wrap; align-items: center; }
.lini { list-style: none; margin: 4px 0 0; padding: 0; }
.lini li { position: relative; display: flex; gap: 12px; padding-bottom: 16px; }
.lini li:last-child { padding-bottom: 0; }
.lini li::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: #DCE5DC; }
.lini li:last-child::before { display: none; }
.lini li.lewat::before { background: var(--hijau); }
.lini-titik { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #EEF2EE; color: #8A958E; border: 2px solid #DCE5DC; position: relative; z-index: 1; }
.lini li.lewat .lini-titik { background: var(--hijau); border-color: var(--hijau); color: #fff; }
.lini li.kini .lini-titik { background: #fff; border-color: var(--hijau); color: var(--hijau-tua); box-shadow: 0 0 0 4px rgba(14,159,79,.15); }
.lini li.gagal .lini-titik { background: var(--merah); border-color: var(--merah); color: #fff; }
.lini-teks { display: flex; flex-direction: column; padding-top: 3px; }
.lini-teks strong { font-size: 16px; }
.lini li:not(.lewat):not(.kini):not(.gagal) .lini-teks strong { color: #6B7770; font-weight: 600; }
.lini-teks span { font-size: 14px; color: var(--teks-2); }
.foto-deret { display: flex; gap: 8px; flex-wrap: wrap; }
.tabel-aktual { display: flex; flex-direction: column; }
.aktual-baris { display: flex; gap: 10px; padding: 10px 0; align-items: flex-start; }
.aktual-baris + .aktual-baris { border-top: 1px dashed #E3E9E3; }
.aktual-baris .ab-isi { flex: 1; min-width: 0; }
.aktual-baris .ab-nilai { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.rekening-tujuan { background: var(--hijau-pucat); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.rekening-tujuan .nomor { font-size: 22px; font-weight: 800; letter-spacing: .04em; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* ---------- harga ---------- */
.harga-baris { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.harga-baris + .harga-baris { border-top: 1px solid #EEF2EE; }
.harga-isi { flex: 1; min-width: 0; }
.harga-isi strong { display: block; }
.harga-nilai { text-align: right; flex: none; }
.harga-nilai strong { display: block; font-size: 18px; color: var(--hijau-tua); font-variant-numeric: tabular-nums; }
.harga-nilai span { font-size: 14px; color: var(--teks-2); }

/* ---------- kontribusi ---------- */
.besar { font-size: 34px; font-weight: 800; letter-spacing: -.02em; color: var(--hijau-tua); line-height: 1.1; font-variant-numeric: tabular-nums; }
.material-bar { display: flex; flex-direction: column; gap: 4px; padding: 10px 0; }
.material-bar + .material-bar { border-top: 1px dashed #E3E9E3; }
.material-bar .mb-atas { display: flex; justify-content: space-between; gap: 10px; }
.material-bar .mb-atas strong { font-variant-numeric: tabular-nums; }

/* ---------- poin ---------- */
.saldo { background: var(--hijau-tua); color: #fff; border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; }
.saldo .bintang { position: absolute; right: -10px; top: -14px; color: var(--kuning); opacity: .9; }
.saldo-label { font-weight: 600; color: #D9F0E1; }
.saldo-nilai { font-size: 40px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.saldo-catatan { font-size: 15px; color: #E3F4E9; max-width: 34ch; }
.reward { display: flex; gap: 12px; padding: 14px; align-items: flex-start; }
.reward + .reward { border-top: 1px solid #EEF2EE; }
.reward-gambar { width: 64px; height: 64px; border-radius: 14px; background: var(--kuning-muda); color: #8A5A00; display: grid; place-items: center; flex: none; overflow: hidden; }
.reward-gambar img { width: 100%; height: 100%; object-fit: cover; }
.reward-isi { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.reward-bawah { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.biaya-poin { font-weight: 800; color: #8A5A00; display: inline-flex; gap: 4px; align-items: center; }
.ledger { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.ledger + .ledger { border-top: 1px solid #EEF2EE; }
.ledger-jumlah { font-weight: 800; font-variant-numeric: tabular-nums; }
.ledger-jumlah.plus { color: var(--hijau-tua); }
.ledger-jumlah.minus { color: var(--merah); }

/* ---------- jelajahi ---------- */
.fitur-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fitur {
  display: flex; flex-direction: column; gap: 8px; padding: 16px 14px 14px; min-height: 168px; border-radius: 18px; background: #fff;
  box-shadow: var(--bayang); border: 1px solid #EEF2EE; text-decoration: none; color: var(--teks);
}
.fitur-ikon { width: 44px; height: 44px; border-radius: 14px; background: var(--hijau-muda); color: var(--hijau-tua); display: grid; place-items: center; }
.fitur strong { font-size: 16px; line-height: 1.25; }
.fitur .fitur-teks { font-size: 14px; color: var(--teks-2); line-height: 1.4; flex: 1; }
.fitur .ikon-panah { align-self: flex-end; color: #6E7B73; }
.level-pita { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--hijau-muda); }
.level-pita strong { color: var(--hijau-tua); font-size: 18px; }

/* berita & produk */
.kartu-gambar { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--hijau-muda); }
.gambar-ganti { width: 100%; aspect-ratio: 16 / 9; display: grid; place-items: center; background: repeating-linear-gradient(135deg, #EAF5EC 0 14px, #E2F0E5 14px 28px); color: var(--hijau-tua); }
.produk-isi, .berita-isi { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.produk-harga { font-size: 18px; font-weight: 800; color: var(--hijau-tua); }
.berita-artikel p { line-height: 1.7; }
.berita-artikel p + p { margin-top: 12px; }

/* bank sampah */
.titik { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; }
.titik + .titik { border-top: 1px solid #EEF2EE; }
.titik-atas { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.titik-aksi { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.legenda { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--teks-2); margin-top: -4px; }
.legenda span { display: inline-flex; align-items: center; gap: 6px; }
.legenda i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.popup-titik strong { display: block; font-size: 15px; }
.popup-titik span { font-size: 14px; color: var(--teks-2); }

/* ---------- profil ---------- */
.profil-kepala { display: flex; gap: 14px; align-items: center; }
.profil-kepala .avatar { width: 60px; height: 60px; font-size: 22px; }
.profil-nama { font-size: 20px; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.menu { display: flex; flex-direction: column; }
.menu-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 58px; text-decoration: none; color: var(--teks);
  background: none; border: 0; width: 100%; text-align: left; font-size: 16px; font-weight: 600; cursor: pointer;
}
.menu-item + .menu-item { border-top: 1px solid #EEF2EE; }
.menu-item .mi-ikon { width: 40px; height: 40px; border-radius: 12px; background: var(--hijau-muda); color: var(--hijau-tua); display: grid; place-items: center; flex: none; }
.menu-item .mi-teks { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.menu-item .mi-teks small { font-weight: 400; color: var(--teks-2); font-size: 14px; overflow-wrap: anywhere; }
.menu-item > .ikon:last-child { color: #7A867E; }
.menu-item.bahaya { color: var(--merah); }
.menu-item.bahaya .mi-ikon { background: var(--merah-muda); color: var(--merah); }
.kode-referral { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kode-referral strong { font-size: 20px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.alamat-kartu, .rek-kartu { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; }
.alamat-kartu + .alamat-kartu, .rek-kartu + .rek-kartu { border-top: 1px solid #EEF2EE; }
.ak-atas { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.ak-aksi { display: flex; gap: 4px; flex-wrap: wrap; margin-left: -8px; }
.saklar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; cursor: pointer; }
.saklar input { appearance: none; -webkit-appearance: none; width: 52px; height: 32px; border-radius: 32px; background: #C9D2CA; position: relative; cursor: pointer; flex: none; transition: background .15s; margin: 0; }
.saklar input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .15s; }
.saklar input:checked { background: var(--hijau-tombol); }
.saklar input:checked::after { transform: translateX(20px); }
.dokumen h2 { font-size: 17px; margin-top: 8px; }
.dokumen p, .dokumen li { line-height: 1.65; }
.dokumen ul { padding-left: 20px; margin: 6px 0 0; display: flex; flex-direction: column; gap: 6px; }
.versi { text-align: center; font-size: 14px; color: var(--teks-2); padding: 8px 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.memuat-ulang { opacity: .55; transition: opacity .15s; }
