/* ---------- Tema Bantu Sekitar ----------
   Dimuat setelah style.css (lihat index.php). style.css & app.js disamakan
   dengan beningbaik; semua yang membuat bantusekitar tampil beda — palet
   emas/hitam-tinta/gading (selaras yayasansahabatalmira.com), huruf, dan
   layout situs publik — ada di file ini saja, jadi sinkron dengan beningbaik
   tidak menimpanya.

   Layout publik (tamu, donatur, pemilik program — `.phone` tanpa
   `.backoffice`/`.backoffice-page`): tetap kolom seukuran ponsel (480px,
   sama dengan beningbaik) di semua lebar layar; bedanya app bar hitam
   bergaris emas, navigasi bawah berupa dok hitam melayang, kartu datar.
   Back-office (admin, superadmin, staff, staff keuangan) tetap memakai shell
   desktop dari style.css; di sini hanya ikut palet & huruf. */

/* Huruf disimpan sendiri (CSP hanya mengizinkan style dari 'self'):
   Plus Jakarta Sans untuk teks, Cormorant Garamond untuk judul. */
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/PlusJakartaSans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url("fonts/CormorantGaramond-latin.woff2") format("woff2");
}

:root {
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  /* Emas #D9AC2E tidak terbaca sebagai teks di atas putih (2.1:1), jadi
     --brand (teks, garis, isian kecil bertulisan putih) memakai emas tua
     yang lolos 4.5:1; isian besar (tombol utama, pilihan nominal, ikon tab
     aktif) memakai --brand-fill emas dengan tulisan hitam-tinta (8.9:1). */
  --brand: #866310;
  --brand-light: #D9AC2E;
  --brand-bg: #FBF3DC;
  --brand-glow: rgba(184,138,20,0.28);
  --on-brand: #FFFFFF;
  --brand-fill: #D9AC2E;
  --on-brand-fill: #14110D;
  --ink: #14110D;          /* permukaan hitam: dok navigasi, kartu saldo, chip aktif */
  --on-ink: #FAF7F0;
  --ink-muted: #A39A8E;
  --blue: #4A443C;         /* status "info" memakai cokelat-abu tua */
  --blue-bg: #F2ECDF;
  --gray-bg: #FAF7F0;
  --header-bg: #FFFFFF;
  --card: #FFFFFF;
  --text: #14110D;
  --text-secondary: #5B5650;
  --border: #ECE4D3;
  --outer-bg: #F2ECDF;
  --img-placeholder: #F2ECDF;
  --radius-lg: 14px;
  --radius-md: 12px;
  --radius-sm: 8px;
  /* Kartu datar: garis tipis, bukan bayangan lembut. */
  --shadow: 0 0 0 1px var(--border), 0 1px 2px rgba(20,17,13,0.04);
  --shadow-lg: 0 10px 30px rgba(20,17,13,0.18);
  --header-shadow: 0 1px 0 var(--border);
  --chip-active-bg: var(--ink);
  --chip-active-fg: var(--on-ink);
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%235B5650' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E");
  --chevron-brand: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23866310' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E");
}

html[data-theme="dark"] {
  --brand: #E2BC52;
  --brand-light: #F3D27A;
  --brand-bg: rgba(217,172,46,0.16);
  --brand-glow: rgba(217,172,46,0.22);
  --on-brand: #14110D;
  --brand-fill: #E2BC52;
  --on-brand-fill: #14110D;
  --ink: #1E1A15;
  --on-ink: #FAF7F0;
  --blue: #D8D0C2;
  --blue-bg: rgba(255,255,255,0.08);
  --gray-bg: #0E0C09;
  --header-bg: #14110D;
  --card: #17140F;
  --text: #FAF7F0;
  --text-secondary: #A39A8E;
  --border: #2E2820;
  --outer-bg: #000000;
  --img-placeholder: #26211A;
  --shadow: 0 0 0 1px var(--border);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.6);
  --header-shadow: 0 1px 0 var(--border);
  --chip-active-bg: var(--brand);
  --chip-active-fg: var(--on-brand);
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23A39A8E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E");
  --chevron-brand: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23E2BC52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E");
}

/* ---------- Palet pada komponen (semua peran) ---------- */

/* Isian besar: emas bertulisan hitam-tinta (lihat --brand-fill). */
.chip-arrow:hover,
.segmented button.active,
.ssr-cta { background: var(--brand-fill); color: var(--on-brand-fill); }
.amount-chip.selected { border-color: var(--brand-fill); background: var(--brand-fill); color: var(--on-brand-fill); }
.join-steps li.done .join-step-num { border-color: var(--brand-fill); background: var(--brand-fill); color: var(--on-brand-fill); }
.btn-primary { background: var(--brand-fill); color: var(--on-brand-fill); box-shadow: 0 6px 16px var(--brand-glow); }
.cart-fab { background: var(--brand-fill); color: var(--on-brand-fill); box-shadow: 0 8px 20px var(--brand-glow); }
.avatar { background: linear-gradient(135deg, var(--brand-light), var(--brand-fill)); color: var(--on-brand-fill); }

/* Judul memakai huruf serif seperti situs yayasan; Cormorant bermata kecil,
   jadi ukurannya dinaikkan agar sama tinggi dengan judul lama. */
.section-title, .result-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
}
.section-title { font-size: 25px; line-height: 1.15; }
.result-title { font-size: 24px; }
.banner-title { font-family: var(--font-display); font-size: 20px; letter-spacing: 0; }

.chip.active { background: var(--chip-active-bg); color: var(--chip-active-fg); box-shadow: none; }

/* Lencana status selalu berlatar putih, jadi warnanya tetap versi terang. */
.status-badge.aktif { color: #866310; }
.status-badge.selesai { color: #4A443C; }

.product-terlaris { background: #14110D; color: #D9AC2E; }

.saldo-hero {
  background: linear-gradient(135deg, #1E1A15, #0E0C09);
  color: #FAF7F0;
  box-shadow: inset 0 -4px 0 #D9AC2E;
}
.saldo-hero-value { color: #D9AC2E; }

.section-title { display: flex; align-items: center; gap: 10px; }
.section-title::before {
  content: ""; flex-shrink: 0;
  width: 4px; height: 1em; border-radius: 2px;
  background: var(--brand);
}

.back-btn { box-shadow: 0 0 0 1px var(--border); }

/* Ikon navigasi back-office (admin/superadmin 12–13 tab, staff keuangan 5,
   staff 4): ikon garis SVG menggantikan emoji, dipasang menurut urutan
   TAB_DEFS di app.js — sesuaikan bila urutan di beningbaik berubah. */
.backoffice > .tabbar-drawer .tab-icon { font-size: 0; }
.backoffice > .tabbar-drawer .tab-icon::before {
  content: "";
  width: 22px; height: 22px;
  background: currentColor;
  -webkit-mask: var(--tab-ic) center / contain no-repeat;
  mask: var(--tab-ic) center / contain no-repeat;
}
.backoffice > .tabbar-drawer:has(> .tab-item:nth-child(12)) > .tab-item:nth-child(1) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='7' height='9' rx='1.5'/%3E%3Crect x='13.5' y='3.5' width='7' height='5' rx='1.5'/%3E%3Crect x='13.5' y='11.5' width='7' height='9' rx='1.5'/%3E%3Crect x='3.5' y='15.5' width='7' height='5' rx='1.5'/%3E%3C/svg%3E"); }
.backoffice > .tabbar-drawer:has(> .tab-item:nth-child(12)) > .tab-item:nth-child(2) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m20 20-4.5-4.5'/%3E%3Cpath d='m8 10.5 1.8 1.8 3.2-3.3'/%3E%3C/svg%3E"); }
.backoffice > .tabbar-drawer:has(> .tab-item:nth-child(12)) > .tab-item:nth-child(3) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 7.5a2 2 0 0 1 2-2h4l2 2h7a2 2 0 0 1 2 2v8.5a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2z'/%3E%3C/svg%3E"); }
.backoffice > .tabbar-drawer:has(> .tab-item:nth-child(12)) > .tab-item:nth-child(4) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3Cpath d='m9.5 15 1.8 1.8 3.4-3.6'/%3E%3C/svg%3E"); }
.backoffice > .tabbar-drawer:has(> .tab-item:nth-child(12)) > .tab-item:nth-child(5) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12.1a1 1 0 0 1-1 .9H7.2a1 1 0 0 1-1-.9z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E"); }
.backoffice > .tabbar-drawer:has(> .tab-item:nth-child(12)) > .tab-item:nth-child(6) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 20 7.5v9L12 21l-8-4.5v-9z'/%3E%3Cpath d='M4 7.5 12 12l8-4.5M12 12v9'/%3E%3Cpath d='m8 5.3 8 4.5'/%3E%3C/svg%3E"); }
.backoffice > .tabbar-drawer:has(> .tab-item:nth-child(12)) > .tab-item:nth-child(7) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='6' width='19' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3Cpath d='M6 9.5v5M18 9.5v5'/%3E%3C/svg%3E"); }
.backoffice > .tabbar-drawer:has(> .tab-item:nth-child(12)) > .tab-item:nth-child(8) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M7 8h10M7 12h4M7 16h4'/%3E%3Crect x='14' y='11.5' width='3' height='4.5' rx='.5'/%3E%3C/svg%3E"); }
.backoffice > .tabbar-drawer:has(> .tab-item:nth-child(12)) > .tab-item:nth-child(9) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A1.5 1.5 0 0 1 5.5 4h13A1.5 1.5 0 0 1 20 5.5v10a1.5 1.5 0 0 1-1.5 1.5H9l-5 4z'/%3E%3Cpath d='M10 9a2 2 0 1 1 2.8 1.8c-.5.3-.8.7-.8 1.2M12 14.2h.01'/%3E%3C/svg%3E"); }
.backoffice > .tabbar-drawer:has(> .tab-item:nth-child(12)) > .tab-item:nth-child(10) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 19.5 6v5.5c0 4.5-3.2 8.2-7.5 9.5-4.3-1.3-7.5-5-7.5-9.5V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.backoffice > .tabbar-drawer:has(> .tab-item:nth-child(12)) > .tab-item:nth-child(11) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 12.6V4.5a1 1 0 0 1 1-1h8.1a1 1 0 0 1 .7.3l7.4 7.4a1 1 0 0 1 0 1.4l-8.1 8.1a1 1 0 0 1-1.4 0l-7.4-7.4a1 1 0 0 1-.3-.7z'/%3E%3Ccircle cx='8' cy='8' r='1.3'/%3E%3C/svg%3E"); }
.backoffice > .tabbar-drawer:has(> .tab-item:nth-child(12)) > .tab-item:nth-child(12) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20a6.5 6.5 0 0 1 13 0'/%3E%3Cpath d='M16 4.6a3.5 3.5 0 0 1 0 6.8M18 14.2a6.5 6.5 0 0 1 3.5 5.8'/%3E%3C/svg%3E"); }
.backoffice > .tabbar-drawer:has(> .tab-item:nth-child(12)) > .tab-item:nth-child(13) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3v5M15 3v5'/%3E%3Cpath d='M6.5 8h11v3a5.5 5.5 0 0 1-11 0z'/%3E%3Cpath d='M12 16.5V21'/%3E%3C/svg%3E"); }
.backoffice > .tabbar-drawer:has(> .tab-item:nth-child(5):last-child) > .tab-item:nth-child(1) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='m8.5 12 2.5 2.5 4.5-5'/%3E%3C/svg%3E"); }
.backoffice > .tabbar-drawer:has(> .tab-item:nth-child(5):last-child) > .tab-item:nth-child(2) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 20 7.5v9L12 21l-8-4.5v-9z'/%3E%3Cpath d='M4 7.5 12 12l8-4.5M12 12v9'/%3E%3Cpath d='m8 5.3 8 4.5'/%3E%3C/svg%3E"); }
.backoffice > .tabbar-drawer:has(> .tab-item:nth-child(5):last-child) > .tab-item:nth-child(3) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='9' width='19' height='11' rx='2'/%3E%3Ccircle cx='12' cy='14.5' r='2'/%3E%3Cpath d='M12 6V2.5M9.5 4.5 12 2.5l2.5 2'/%3E%3C/svg%3E"); }
.backoffice > .tabbar-drawer:has(> .tab-item:nth-child(5):last-child) > .tab-item:nth-child(4) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12v18l-3-2-3 2-3-2-3 2z'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h3'/%3E%3C/svg%3E"); }
.backoffice > .tabbar-drawer:has(> .tab-item:nth-child(5):last-child) > .tab-item:nth-child(5) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 3.5v17h17'/%3E%3Cpath d='m7 15 4-4.5 3 3 5.5-6'/%3E%3C/svg%3E"); }
.backoffice > .tabbar-drawer:has(> .tab-item:nth-child(4):last-child) > .tab-item:nth-child(1) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A1.5 1.5 0 0 1 5.5 4h13A1.5 1.5 0 0 1 20 5.5v10a1.5 1.5 0 0 1-1.5 1.5H9l-5 4z'/%3E%3Cpath d='M10 9a2 2 0 1 1 2.8 1.8c-.5.3-.8.7-.8 1.2M12 14.2h.01'/%3E%3C/svg%3E"); }
.backoffice > .tabbar-drawer:has(> .tab-item:nth-child(4):last-child) > .tab-item:nth-child(2) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 19.5 6v5.5c0 4.5-3.2 8.2-7.5 9.5-4.3-1.3-7.5-5-7.5-9.5V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.backoffice > .tabbar-drawer:has(> .tab-item:nth-child(4):last-child) > .tab-item:nth-child(3) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12.1a1 1 0 0 1-1 .9H7.2a1 1 0 0 1-1-.9z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E"); }
.backoffice > .tabbar-drawer:has(> .tab-item:nth-child(4):last-child) > .tab-item:nth-child(4) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 20 7.5v9L12 21l-8-4.5v-9z'/%3E%3Cpath d='M4 7.5 12 12l8-4.5M12 12v9'/%3E%3Cpath d='m8 5.3 8 4.5'/%3E%3C/svg%3E"); }

/* ---------- Layout situs publik ---------- */

/* Logo: app.js memuat "logo.svg" tanpa versi, jadi browser bisa terus
   menampilkan logo lama dari cache. Gambar aslinya digeser keluar dan
   logo ditampilkan sebagai background ber-versi — naikkan ?v= tiap logo
   diganti. Logo resmi berbentuk kotak (1:1) bertulisan "bantu sekitar.com",
   jadi dibuat lebih tinggi dari wordmark lama agar tulisannya terbaca.
   logo.svg = versi oranye (latar terang & app bar hitam publik);
   logo-gelap.svg = versi putih untuk mode gelap. */
img[src="logo.svg"] {
  aspect-ratio: 1 / 1;
  object-position: -9999px 0;
  background: url("../logo.svg?v=4") left center / contain no-repeat;
}
img[src="logo.svg"]:not(.appbar-logo) { height: 88px !important; }
.appbar-logo { height: 44px; }
html[data-theme="dark"] img[src="logo.svg"] { background-image: url("logo-gelap.svg?v=4"); }
html[data-theme="dark"] .phone:not(.backoffice):not(.backoffice-page) > .appbar .appbar-logo { background-image: url("../logo.svg?v=4"); }
.boot-logo { width: 96px; }

/* App bar hitam bergaris emas. */
.phone:not(.backoffice):not(.backoffice-page) > .appbar {
  background: #14110D;
  color: #FAF7F0;
  box-shadow: inset 0 -3px 0 #D9AC2E;
  padding-bottom: 13px;
}
.phone:not(.backoffice):not(.backoffice-page) > .appbar .theme-toggle-btn { background: rgba(255,255,255,0.10); color: #FFFFFF; }
.phone:not(.backoffice):not(.backoffice-page) > .appbar .appbar-sub { background: rgba(217,172,46,0.16); color: #D9AC2E; }
.phone:not(.backoffice):not(.backoffice-page) > .appbar .role-pill { background: rgba(255,255,255,0.08); color: #FFFFFF; box-shadow: 0 0 0 1px rgba(255,255,255,0.14); }
.phone:not(.backoffice):not(.backoffice-page) > .appbar .role-pill-role { color: #A39A8E; }
.phone:not(.backoffice):not(.backoffice-page) > .appbar .btn-primary { background: #D9AC2E; color: #14110D; box-shadow: none; }

/* Nama panjang tidak memecah app bar jadi dua baris. */
.phone:not(.backoffice):not(.backoffice-page) .role-pill-name {
  max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* Ponsel sempit: logo bantusekitar lebih lebar dari logo lama, jadi pil peran
   dan nama disembunyikan (peran & nama tetap ada di halaman profil). */
@media (max-width: 419px) {
  .phone:not(.backoffice):not(.backoffice-page) > .appbar .appbar-sub,
  .phone:not(.backoffice):not(.backoffice-page) > .appbar .role-pill-text { display: none; }
  .phone:not(.backoffice):not(.backoffice-page) > .appbar .role-pill { padding: 5px; }
}
/* Sapaan beranda: subjudul jangan naik menimpa judul. */
.content .appbar-title + .section-sub { margin-top: 0; }

/* Beranda: sapaan menjadi kartu hero hitam di paling atas (sebelum banner). */
.phone:not(.backoffice):not(.backoffice-page) .content > div:has(> .appbar-title + .section-sub) { display: flex; flex-direction: column; }
.phone:not(.backoffice):not(.backoffice-page) .content > div > .appbar-title:has(+ .section-sub) {
  order: -2;
  margin: 0 !important;
  padding: 20px 18px 6px;
  border-radius: 16px 16px 0 0;
  background: radial-gradient(circle at 100% 0, rgba(217,172,46,0.45), transparent 72px), #14110D;
  color: #FAF7F0;
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0;
}
.phone:not(.backoffice):not(.backoffice-page) .content > div > .appbar-title:has(+ .section-sub)::before {
  content: "Bantu Sekitar";
  display: block; margin-bottom: 6px;
  font-family: var(--font);
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: #D9AC2E;
}
.phone:not(.backoffice):not(.backoffice-page) .content > div > .appbar-title + .section-sub {
  order: -1;
  margin: 0 0 14px;
  padding: 0 18px 20px;
  border-radius: 0 0 16px 16px;
  background: #14110D;
  color: #A39A8E;
  font-size: 13.5px;
}
html[data-theme="dark"] .phone:not(.backoffice):not(.backoffice-page) .content > div > .appbar-title:has(+ .section-sub) {
  background: radial-gradient(circle at 100% 0, rgba(217,172,46,0.35), transparent 72px), #1E1A15;
}
html[data-theme="dark"] .phone:not(.backoffice):not(.backoffice-page) .content > div > .appbar-title + .section-sub { background: #1E1A15; }

/* Daftar program 1 kolom (Admin → Program → Tampilan Beranda: 1 kolom): foto kecil di kiri, teks di kanan. */
.phone:not(.backoffice):not(.backoffice-page) .program-grid.program-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.phone:not(.backoffice):not(.backoffice-page) .program-grid.program-list .program-card { display: grid; grid-template-columns: 116px minmax(0, 1fr); }
.phone:not(.backoffice):not(.backoffice-page) .program-grid.program-list .program-banner { height: auto; min-height: 116px; font-size: 32px; }
.phone:not(.backoffice):not(.backoffice-page) .program-grid.program-list .status-badge { top: 6px; left: 6px; right: auto; }
.phone:not(.backoffice):not(.backoffice-page) .program-grid.program-list .program-icon-badge { display: none; }
.phone:not(.backoffice):not(.backoffice-page) .program-grid.program-list .program-body { padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; }
.phone:not(.backoffice):not(.backoffice-page) .program-grid.program-list .program-kat { font-size: 10.5px; }
.phone:not(.backoffice):not(.backoffice-page) .program-grid.program-list .program-nama { font-size: 14px; min-height: 0; margin: 3px 0 10px; }
.phone:not(.backoffice):not(.backoffice-page) .program-grid.program-list .progress-meta { font-size: 11px; flex-direction: row; justify-content: space-between; align-items: baseline; gap: 6px; }
.phone:not(.backoffice):not(.backoffice-page) .program-grid.program-list .progress-meta b { font-size: 12.5px; }

/* Kolom publik di layar lebar: bagian atas tetap berjarak 24px dan bersudut
   36px seperti beningbaik, tetapi bagian bawah menempel ke tepi layar tanpa
   sudut, supaya dok bawah tidak terlihat terpisah dari kolom. */
@media (min-width: 481px) {
  body:has(.phone:not(.backoffice):not(.backoffice-page)) { padding-bottom: 0; }
  .phone:not(.backoffice):not(.backoffice-page) { min-height: calc(100vh - 24px); border-radius: 36px 36px 0 0; }
}

/* Dok navigasi hitam menempel di dasar kolom (mengganti bar bawah putih). */
.phone:not(.backoffice):not(.backoffice-page) > .tabbar {
  left: 0; right: 0; bottom: 0;
  max-width: 480px;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  border-radius: 20px 20px 0 0;
  background: var(--ink);
  box-shadow: 0 -6px 20px rgba(20,17,13,0.14);
}
html[data-theme="dark"] .phone:not(.backoffice):not(.backoffice-page) > .tabbar {
  box-shadow: 0 -1px 0 var(--border);
}
.phone:not(.backoffice):not(.backoffice-page) > .tabbar .tab-item { color: var(--ink-muted); min-height: 52px; }
.phone:not(.backoffice):not(.backoffice-page) > .tabbar .tab-item.active { color: var(--brand-light); }
.phone:not(.backoffice):not(.backoffice-page) > .tabbar .tab-item.active .tab-icon { background: var(--brand-fill); }
.phone:not(.backoffice):not(.backoffice-page) > .tabbar .tab-item:focus-visible .tab-icon { outline-color: var(--brand-light); }

/* Ikon navigasi: ikon garis SVG (mask, ikut warna teks) menggantikan emoji
   beningbaik. app.js tidak menandai tab dengan kelas, jadi ikon dipasang
   menurut urutan tab di TAB_DEFS — donatur (5 tab): Toko, Berita, Beranda,
   Aktivitas, Riwayat; pemilik program (2 tab): Program Saya, Saldo. Kalau
   urutan TAB_DEFS di beningbaik berubah, sesuaikan di sini. */
.phone:not(.backoffice):not(.backoffice-page) > .tabbar:has(> .tab-item:nth-child(5):last-child) .tab-icon, .phone:not(.backoffice):not(.backoffice-page) > .tabbar:has(> .tab-item:nth-child(2):last-child) .tab-icon { font-size: 0; }
.phone:not(.backoffice):not(.backoffice-page) > .tabbar:has(> .tab-item:nth-child(5):last-child) .tab-icon::before, .phone:not(.backoffice):not(.backoffice-page) > .tabbar:has(> .tab-item:nth-child(2):last-child) .tab-icon::before {
  content: "";
  width: 22px; height: 22px;
  background: currentColor;
  -webkit-mask: var(--tab-ic) center / contain no-repeat;
  mask: var(--tab-ic) center / contain no-repeat;
}
.phone:not(.backoffice):not(.backoffice-page) > .tabbar:has(> .tab-item:nth-child(5):last-child) .tab-item.active .tab-icon::before, .phone:not(.backoffice):not(.backoffice-page) > .tabbar:has(> .tab-item:nth-child(2):last-child) .tab-item.active .tab-icon::before { background: var(--on-brand-fill); }
.phone:not(.backoffice):not(.backoffice-page) > .tabbar:has(> .tab-item:nth-child(5):last-child) > .tab-item:nth-child(1) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12.1a1 1 0 0 1-1 .9H7.2a1 1 0 0 1-1-.9z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E"); }
.phone:not(.backoffice):not(.backoffice-page) > .tabbar:has(> .tab-item:nth-child(5):last-child) > .tab-item:nth-child(2) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M7 8h10M7 12h4M7 16h4'/%3E%3Crect x='14' y='11.5' width='3' height='4.5' rx='.5'/%3E%3C/svg%3E"); }
.phone:not(.backoffice):not(.backoffice-page) > .tabbar:has(> .tab-item:nth-child(5):last-child) > .tab-item:nth-child(3) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 10.5 12 4l8.5 6.5'/%3E%3Cpath d='M5.5 9v10.5a.5.5 0 0 0 .5.5h4v-6h4v6h4a.5.5 0 0 0 .5-.5V9'/%3E%3C/svg%3E"); }
.phone:not(.backoffice):not(.backoffice-page) > .tabbar:has(> .tab-item:nth-child(5):last-child) > .tab-item:nth-child(4) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3Cpath d='m9.5 15 1.8 1.8 3.4-3.6'/%3E%3C/svg%3E"); }
.phone:not(.backoffice):not(.backoffice-page) > .tabbar:has(> .tab-item:nth-child(5):last-child) > .tab-item:nth-child(5) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 12a8.5 8.5 0 1 0 2.5-6'/%3E%3Cpath d='M3.5 4v4h4'/%3E%3Cpath d='M12 8v4.5l3 2'/%3E%3C/svg%3E"); }
.phone:not(.backoffice):not(.backoffice-page) > .tabbar:has(> .tab-item:nth-child(2):last-child) > .tab-item:nth-child(1) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2'/%3E%3Cpath d='M9 4V3h6v1'/%3E%3Cpath d='M8.5 10h7M8.5 14h7M8.5 18h4'/%3E%3C/svg%3E"); }
.phone:not(.backoffice):not(.backoffice-page) > .tabbar:has(> .tab-item:nth-child(2):last-child) > .tab-item:nth-child(2) { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7.5A2.5 2.5 0 0 1 6.5 5H18v3'/%3E%3Crect x='4' y='8' width='16' height='12' rx='2'/%3E%3Cpath d='M16 14h.01'/%3E%3C/svg%3E"); }

.phone:not(.backoffice):not(.backoffice-page) > .content {
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}
.phone:not(.backoffice):not(.backoffice-page) .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
.phone:not(.backoffice):not(.backoffice-page) > .cart-fab { bottom: calc(80px + env(safe-area-inset-bottom)); }
/* Di layar lebar tombol keranjang ikut tepi kanan kolom, bukan tepi layar. */
@media (min-width: 481px) {
  .phone:not(.backoffice):not(.backoffice-page) > .cart-fab { right: calc(50% - 240px + 16px); }
}

/* Tombol keranjang: emoji 🛒 tenggelam di isian emas, diganti ikon garis
   hitam-tinta. font-size 0 hanya mengenai teks emoji; angka .cart-badge
   punya ukuran sendiri. */
.cart-fab { font-size: 0; }
.cart-fab::before {
  content: ""; width: 24px; height: 24px;
  background: currentColor;
  -webkit-mask: var(--ic-cart) center / contain no-repeat;
  mask: var(--ic-cart) center / contain no-repeat;
}
.cart-fab { --ic-cart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11.2a1.5 1.5 0 0 0 1.5 1.3h8.4a1.5 1.5 0 0 0 1.5-1.2L20.5 8H6.2'/%3E%3Ccircle cx='9.5' cy='20' r='1.2'/%3E%3Ccircle cx='17' cy='20' r='1.2'/%3E%3C/svg%3E"); }

/* ---------- Ikon pengganti emoji besar ----------
   Keadaan kosong, layar hasil, dan aktivitas tanpa foto: emoji app.js diganti
   ikon garis emas dalam lingkaran. assets/tema.js memberi data-ic menurut
   emojinya (emoji baru di beningbaik → tambahkan di MAP tema.js dan di sini). */
.empty-state .emoji[data-ic],
.result-icon[data-ic],
.activity-banner-icon[data-ic] {
  display: flex; align-items: center; justify-content: center;
  font-size: 0; border-radius: 50%;
  background: var(--brand-bg); color: var(--brand);
}
.empty-state .emoji[data-ic] { width: 64px; height: 64px; margin: 0 auto 14px; }
.result-icon[data-ic] { width: 88px; height: 88px; margin: 0 auto 14px; }
.activity-banner-icon[data-ic] { width: 52px; height: 52px; background: var(--card); box-shadow: 0 0 0 1px var(--border); }
.empty-state .emoji[data-ic]::before,
.result-icon[data-ic]::before,
.activity-banner-icon[data-ic]::before {
  content: ""; width: 50%; height: 50%;
  background: currentColor;
  -webkit-mask: var(--ic) center / contain no-repeat;
  mask: var(--ic) center / contain no-repeat;
}
/* Layar sukses: lingkaran emas penuh, ikon hitam-tinta. */
.result-icon[data-ic="check"] { background: var(--brand-fill); color: var(--on-brand-fill); box-shadow: 0 0 0 8px var(--brand-bg); }
[data-ic="folder"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 7.5a2 2 0 0 1 2-2h4l2 2h7a2 2 0 0 1 2 2v8.5a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2z'/%3E%3Cpath d='M3.5 11h17'/%3E%3C/svg%3E"); }
[data-ic="clipboard"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2'/%3E%3Cpath d='M9 4V3h6v1'/%3E%3Cpath d='M8.5 10h7M8.5 14h7M8.5 18h4'/%3E%3C/svg%3E"); }
[data-ic="alert"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 4.2 2.8 17.5A2 2 0 0 0 4.5 20.5h15a2 2 0 0 0 1.7-3L13.7 4.2a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9.5v4.5M12 17.2h.01'/%3E%3C/svg%3E"); }
[data-ic="check"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='m8.5 12 2.5 2.5 4.5-5'/%3E%3C/svg%3E"); }
[data-ic="ticket"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5V7a1.5 1.5 0 0 1 1.5-1.5h14A1.5 1.5 0 0 1 20.5 7v1.5a2.5 2.5 0 0 0 0 5V17a1.5 1.5 0 0 1-1.5 1.5H5A1.5 1.5 0 0 1 3.5 17v-1.5a2.5 2.5 0 0 0 0-5z'/%3E%3Cpath d='M14.5 5.5v13' stroke-dasharray='2 2.2'/%3E%3C/svg%3E"); }
[data-ic="bank"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 9.5 12 4.5l8.5 5'/%3E%3Cpath d='M5.5 10v7.5M9.8 10v7.5M14.2 10v7.5M18.5 10v7.5'/%3E%3Cpath d='M3.5 20.5h17'/%3E%3C/svg%3E"); }
[data-ic="tag"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 12.6V4.5a1 1 0 0 1 1-1h8.1a1 1 0 0 1 .7.3l7.4 7.4a1 1 0 0 1 0 1.4l-8.1 8.1a1 1 0 0 1-1.4 0l-7.4-7.4a1 1 0 0 1-.3-.7z'/%3E%3Ccircle cx='8' cy='8' r='1.3'/%3E%3C/svg%3E"); }
[data-ic="chat"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A1.5 1.5 0 0 1 5.5 4h13A1.5 1.5 0 0 1 20 5.5v10a1.5 1.5 0 0 1-1.5 1.5H9l-5 4z'/%3E%3Cpath d='M8 9h8M8 12.5h5'/%3E%3C/svg%3E"); }
[data-ic="wallet"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7.5A2.5 2.5 0 0 1 6.5 5H18v3'/%3E%3Crect x='4' y='8' width='16' height='12' rx='2'/%3E%3Cpath d='M16 14h.01'/%3E%3C/svg%3E"); }
[data-ic="money"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='6' width='19' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3Cpath d='M6 9.5v5M18 9.5v5'/%3E%3C/svg%3E"); }
[data-ic="doc"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3.5H7a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-10z'/%3E%3Cpath d='M14 3.5v5h5'/%3E%3Cpath d='M8.5 13h7M8.5 16.5h5'/%3E%3C/svg%3E"); }
[data-ic="receipt"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12v18l-3-2-3 2-3-2-3 2z'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h3'/%3E%3C/svg%3E"); }
[data-ic="box"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 20 7.5v9L12 21l-8-4.5v-9z'/%3E%3Cpath d='M4 7.5 12 12l8-4.5M12 12v9'/%3E%3Cpath d='m8 5.3 8 4.5'/%3E%3C/svg%3E"); }
[data-ic="news"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M7 8h10M7 12h4M7 16h4'/%3E%3Crect x='14' y='11.5' width='3' height='4.5' rx='.5'/%3E%3C/svg%3E"); }
[data-ic="plug"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3v5M15 3v5'/%3E%3Cpath d='M6.5 8h11v3a5.5 5.5 0 0 1-11 0z'/%3E%3Cpath d='M12 16.5V21'/%3E%3C/svg%3E"); }
[data-ic="link"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1'/%3E%3Cpath d='M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1'/%3E%3C/svg%3E"); }
[data-ic="bag"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12.1a1 1 0 0 1-1 .9H7.2a1 1 0 0 1-1-.9z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E"); }
[data-ic="cart"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11.2a1.5 1.5 0 0 0 1.5 1.3h8.4a1.5 1.5 0 0 0 1.5-1.2L20.5 8H6.2'/%3E%3Ccircle cx='9.5' cy='20' r='1.2'/%3E%3Ccircle cx='17' cy='20' r='1.2'/%3E%3C/svg%3E"); }
[data-ic="hourglass"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 3.5h11M6.5 20.5h11'/%3E%3Cpath d='M7.5 3.5c0 4.5 4.5 5.5 4.5 8.5s-4.5 4-4.5 8.5M16.5 3.5c0 4.5-4.5 5.5-4.5 8.5s4.5 4 4.5 8.5'/%3E%3C/svg%3E"); }
[data-ic="clock"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='13' r='7.5'/%3E%3Cpath d='M12 9.5V13l2.5 1.5'/%3E%3Cpath d='M4.5 5 7 3M19.5 5 17 3'/%3E%3C/svg%3E"); }
[data-ic="cross"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='m9 9 6 6M15 9l-6 6'/%3E%3C/svg%3E"); }

/* Tombol ganti mode (🌙/☀️) dan Panduan (❓) di app bar: ikon garis seperti
   tombol Keluar. Dikenali dari title/aria-label-nya di app.js. */
.theme-toggle-btn[title^="Ganti ke mode"],
.theme-toggle-btn[aria-label="Panduan penggunaan"] { font-size: 0; }
.theme-toggle-btn[title^="Ganti ke mode"]::before,
.theme-toggle-btn[aria-label="Panduan penggunaan"]::before {
  content: ""; width: 17px; height: 17px;
  background: currentColor;
  -webkit-mask: var(--ic) center / contain no-repeat;
  mask: var(--ic) center / contain no-repeat;
}
.theme-toggle-btn[title="Ganti ke mode gelap"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.5A8 8 0 1 1 9.5 4a6.5 6.5 0 0 0 10.5 10.5z'/%3E%3C/svg%3E"); }
.theme-toggle-btn[title="Ganti ke mode terang"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2.5v2M12 19.5v2M4.6 4.6l1.4 1.4M18 18l1.4 1.4M2.5 12h2M19.5 12h2M4.6 19.4 6 18M18 6l1.4-1.4'/%3E%3C/svg%3E"); }
.theme-toggle-btn[aria-label="Panduan penggunaan"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .8-1 1.5v.4M12 17h.01'/%3E%3C/svg%3E"); }
