/* APTEL Store - template handphone (mobile-first, responsive) */
:root {
  --brand: #0b62c4;
  --brand-2: #1e88e5;
  --brand-dark: #0d47a1;
  --bg: #eef3fa;
  --card: #ffffff;
  --text: #17233b;
  --muted: #64748b;
  --line: #e2e8f0;
  --ok: #16a34a;
  --warn: #d97706;
  --bad: #dc2626;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
.hidden { display: none !important; }

.phone {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  box-shadow: 0 0 40px rgba(13, 71, 161, .12);
  padding-bottom: 76px;
}

/* header navbar: field search + lonceng notifikasi */
.top {
  position: sticky; top: 0; z-index: 20;
  padding: 12px 14px 13px;
  background: linear-gradient(120deg, var(--brand-dark), var(--brand-2));
  color: #fff;
  box-shadow: 0 6px 18px rgba(13, 71, 161, .25);
}
.top::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, transparent, #26c6da 30%, #9fe8ff 50%, #26c6da 70%, transparent);
  opacity: .75;
}
.top-row { display: flex; align-items: center; gap: 10px; }
.nav-search {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px;
  padding: 0 14px; border-radius: 999px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.nav-search svg { width: 17px; height: 17px; flex: 0 0 17px; color: rgba(255,255,255,.85); transition: color .18s ease; }
.nav-search input {
  flex: 1; min-width: 0; padding: 10px 0; border: 0; background: none; outline: none;
  color: #fff; font-size: 13.5px;
}
.nav-search input::placeholder { color: rgba(255,255,255,.75); }
.nav-search:focus-within { background: #fff; border-color: #fff; box-shadow: 0 4px 14px rgba(4,26,66,.28); }
.nav-search:focus-within svg { color: var(--brand); }
.nav-search:focus-within input { color: var(--text); }
.nav-search:focus-within input::placeholder { color: var(--muted); }
.notif-btn {
  position: relative; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.16); color: #fff;
  display: grid; place-items: center;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.notif-btn svg { width: 20px; height: 20px; }
.notif-btn:active { transform: scale(.9); }
.notif-btn.on { background: #fff; color: var(--brand); border-color: #fff; }
.notif-btn.has-unread svg { animation: ring 2.6s ease-in-out infinite; transform-origin: 50% 3px; }
@keyframes ring {
  0%, 55%, 100% { transform: rotate(0); }
  60% { transform: rotate(14deg); } 65% { transform: rotate(-12deg); }
  70% { transform: rotate(9deg); } 75% { transform: rotate(-6deg); }
  80% { transform: rotate(3deg); } 85% { transform: rotate(0); }
}
.notif-badge {
  position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: #ff3b30; color: #fff; border: 2px solid #fff;
  font-size: 10px; font-weight: 800; line-height: 14px; text-align: center;
  box-shadow: 0 2px 8px rgba(185,28,28,.45);
  animation: pop .35s cubic-bezier(.2, .9, .3, 1.4) both;
}

/* bottom nav */
.bottom {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; z-index: 30;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-top: 1px solid var(--line);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.bottom button {
  background: none; border: 0; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 10.5px; padding: 6px 0; border-radius: 10px;
}
.bottom button svg { width: 22px; height: 22px; }
.bottom button.on { color: var(--brand); font-weight: 600; background: #e3f0fd; }

/* views */
.view { padding: 14px 14px 20px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button {
  flex: 0 0 auto; border: 1px solid var(--line); background: #fff; color: var(--muted);
  padding: 7px 14px; border-radius: 999px; font-size: 12px;
}
.chips button.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.opsel { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; margin-bottom: 12px; font-size: 13px; color: var(--text); }

/* product cards */
.pcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; margin-bottom: 10px; display: flex; align-items: center; gap: 12px;
}
.pcard .info { flex: 1; min-width: 0; }
.pcard .op { font-size: 11px; color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.pcard .nm { font-size: 14px; font-weight: 600; margin: 2px 0; }
.pcard .nt { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard .price { font-size: 14px; font-weight: 700; color: var(--brand-dark); margin-top: 3px; }
.pcard .buy {
  border: 0; background: linear-gradient(120deg, var(--brand), var(--brand-2));
  color: #fff; font-weight: 600; font-size: 13px; padding: 9px 16px; border-radius: 999px;
}
.pcard .buy:disabled { background: #cbd5e1; }
.gangguan { font-size: 10px; color: var(--warn); font-weight: 700; }

.pager { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 8px 0; }
.pager button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 14px; font-size: 13px; }
.pager button:disabled { opacity: .4; }
.pager span { font-size: 12px; color: var(--muted); }

/* transaction cards */
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 10px; }
.tcard .row1 { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tcard .inv { font-size: 11px; color: var(--muted); }
.tcard .nm { font-size: 14px; font-weight: 600; margin: 4px 0 2px; }
.tcard .meta { font-size: 12px; color: var(--muted); }
.tcard .row2 { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.tcard .amt { font-weight: 700; color: var(--brand-dark); font-size: 14px; }
.tcard .act { border: 1px solid var(--brand); color: var(--brand); background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 600; }

.badge { font-size: 10.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.st-pending { background: #fef3c7; color: #b45309; }
.st-paid { background: #dbeafe; color: #1d4ed8; }
.st-processing { background: #e0e7ff; color: #4338ca; }
.st-success { background: #dcfce7; color: #15803d; }
.st-failed { background: #fee2e2; color: #b91c1c; }
.st-expired { background: #e2e8f0; color: #475569; }
.st-promo { background: #fbe7fd; color: #a21caf; }

/* forms / settings */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.panel h3 { font-size: 14px; margin-bottom: 12px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 5px; font-weight: 600; }
.field input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; outline: none; font-size: 14px; }
.field input:focus { border-color: var(--brand-2); }
.btn { border: 0; border-radius: 10px; padding: 11px 16px; font-weight: 600; font-size: 14px; }
.btn-primary { background: linear-gradient(120deg, var(--brand), var(--brand-2)); color: #fff; width: 100%; }
.btn-ghost { background: #fff; border: 1px solid var(--line); color: var(--text); }
.btn-danger { background: #fee2e2; color: #b91c1c; }
.note { font-size: 12px; color: var(--muted); line-height: 1.55; }
.note b { color: var(--text); }

/* QRIS modal */
.qris-box { text-align: center; }
.qris-box img { width: 230px; height: 230px; border: 1px solid var(--line); border-radius: 12px; padding: 6px; background: #fff; }
.qris-amt { font-size: 22px; font-weight: 800; color: var(--brand-dark); margin: 8px 0 2px; }
.qris-inv { font-size: 11px; color: var(--muted); }
.qris-timer { font-size: 12px; color: var(--warn); font-weight: 700; margin: 6px 0; }
.qris-status { font-size: 12px; margin: 6px 0; min-height: 18px; }
.qris-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 10px; }
.qris-actions button { border-radius: 999px; padding: 8px 14px; font-size: 12px; font-weight: 600; border: 1px solid var(--brand); background: #fff; color: var(--brand); }
.qris-actions button.solid { background: var(--brand); color: #fff; }
.qris-actions button.sim { border-color: var(--warn); color: var(--warn); }
.qris-mode { font-size: 10.5px; color: var(--warn); margin-top: 8px; }

/* swal theming */
.swal-popup { border-radius: 18px !important; font-family: inherit !important; }
.swal-btn { border: 0; border-radius: 10px; padding: 10px 22px; font-weight: 600; background: linear-gradient(120deg, var(--brand), var(--brand-2)); color: #fff; margin: 4px; }
.swal-btn-ghost { background: #e2e8f0; color: var(--text); }
.swal2-input { border-radius: 10px !important; }

/* login */
.login-wrap { max-width: 420px; margin: 0 auto; padding: 40px 20px; }
.login-brand { text-align: center; margin-bottom: 22px; }
.login-brand img { width: 132px; border-radius: 50%; filter: drop-shadow(0 6px 24px rgba(13,71,161,.25)); }
.login-brand h1 { font-size: 20px; margin-top: 12px; color: var(--brand-dark); }
.login-brand p { font-size: 12px; color: var(--muted); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: #e2e8f0; border-radius: 12px; padding: 4px; margin-bottom: 16px; }
.tabs button { border: 0; background: none; padding: 9px; border-radius: 9px; font-weight: 600; color: var(--muted); }
.tabs button.on { background: #fff; color: var(--brand); box-shadow: 0 2px 8px rgba(0,0,0,.08); }

/* entri mode tamu: tombol tetap di halaman login */
.guest-entry { margin-top: 16px; animation: geIn .45s cubic-bezier(.2,.9,.3,1.15) both; }
@keyframes geIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ge-or { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ge-or span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line)); }
.ge-or span:last-child { background: linear-gradient(90deg, var(--line), transparent); }
.btn-guest {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; color: var(--text);
  box-shadow: 0 4px 14px rgba(13,71,161,.08);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn-guest:hover { border-color: var(--brand-2); box-shadow: 0 8px 22px rgba(13,71,161,.16); transform: translateY(-1px); }
.btn-guest:active { transform: scale(.98); }
.btn-guest .gi {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-2)); color: #fff;
  box-shadow: 0 4px 12px rgba(13,71,161,.3);
}
.btn-guest .gi svg { width: 18px; height: 18px; }
.btn-guest .gt { flex: 1; min-width: 0; }
.btn-guest .gt b { display: block; font-size: 13.5px; color: var(--brand-dark); }
.btn-guest .gt small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.btn-guest .chev { flex: 0 0 16px; width: 16px; height: 16px; color: var(--muted); transition: transform .15s ease, color .15s ease; }
.btn-guest:hover .chev { transform: translateX(3px); color: var(--brand); }

.empty { text-align: center; color: var(--muted); font-size: 13px; padding: 40px 0; }
.spin { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--brand-2); border-top-color: transparent; border-radius: 50%; animation: sp 1s linear infinite; vertical-align: -2px; }
@keyframes sp { to { transform: rotate(360deg); } }

@media (min-width: 520px) {
  body { background: #dfe8f5; }
}

/* ---- custom scrollbars ---- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--brand-2), var(--brand)); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-dark); }
* { scrollbar-width: thin; scrollbar-color: var(--brand-2) transparent; }

/* ---- mode tamu: akun & gate member-only ---- */
.pc-guest svg { width: 22px; height: 22px; }
.pc-tag {
  display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px;
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35);
  font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px;
}
.gate { text-align: center; padding: 26px 20px; }
.gate .hi { width: 52px; height: 52px; border-radius: 16px; margin: 0 auto 12px; display: grid; place-items: center; }
.gate .hi svg { width: 24px; height: 24px; }
.gate h3 { font-size: 15px; margin-bottom: 6px; color: var(--brand-dark); }
.gate .note { margin-bottom: 14px; }
.gate-btn { width: 100%; }

/* ---- akun: kartu profil + total transaksi ---- */
.profile-card {
  position: relative; overflow: hidden; border-radius: 18px; padding: 16px; margin-bottom: 12px; color: #fff;
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 45%, #1e88e5 78%, #26c6da 120%);
  box-shadow: 0 10px 26px rgba(13, 71, 161, .28);
  animation: pop .45s cubic-bezier(.2, .9, .3, 1.2) both;
}
.profile-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(140px 90px at 88% 12%, rgba(255,255,255,.22), transparent 60%),
              radial-gradient(180px 130px at 6% 115%, rgba(38,198,218,.4), transparent 65%);
}
.profile-card::after {
  content: ''; position: absolute; inset: -50%; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.14) 50%, transparent 58%);
  animation: sheen 5.5s linear infinite;
}
@keyframes sheen { from { transform: translateX(-70%); } to { transform: translateX(70%); } }
.pc-top { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.pc-avatar {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-size: 17px; font-weight: 800; letter-spacing: .02em;
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.38);
  text-shadow: 0 1px 6px rgba(4, 26, 66, .35);
}
.pc-id { flex: 1; min-width: 0; line-height: 1.3; }
.pc-id b {
  display: block; font-size: 16px; font-weight: 800;
  overflow-wrap: anywhere; text-shadow: 0 2px 10px rgba(4, 26, 66, .35);
}
.pc-id small { font-size: 11.5px; opacity: .9; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.pc-stat {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 10px;
  margin-top: 14px; padding: 11px 12px; border-radius: 13px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(3px);
}
.pc-stat .si {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; background: rgba(255,255,255,.18); color: #fff;
}
.pc-stat .si svg { width: 17px; height: 17px; }
.pc-stat .st { flex: 1; min-width: 0; line-height: 1.25; }
.pc-stat .st b { display: block; font-size: 12px; font-weight: 700; }
.pc-stat .st small { font-size: 10.5px; opacity: .82; }
.pc-count {
  font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 10px rgba(4, 26, 66, .35);
}

/* ---- home: grid kategori (5 kolom x 3 baris) ---- */
.sec-head { display: flex; align-items: center; justify-content: space-between; margin: 14px 2px 10px; }
.sec-head h2 { font-size: 14px; font-weight: 800; }
.link { border: 0; background: none; color: var(--brand); font-size: 12px; font-weight: 700; }
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px 4px; padding: 2px 0 6px; }
.cat-grid.all-cats { grid-template-columns: repeat(4, 1fr); gap: 14px 6px; }
.cat-tile {
  border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 6px;
  animation: pop .45s cubic-bezier(.2, .9, .3, 1.2) both;
}
.cat-tile .ci {
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center;
  background: var(--tint); color: var(--hue);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.05), 0 3px 10px rgba(23,35,59,.10);
  transition: transform .15s ease;
}
.cat-tile:hover .ci { transform: translateY(-2px); }
.cat-tile:active .ci { transform: scale(.88); }
.ci svg { width: 22px; height: 22px; }
.cat-tile .cl {
  font-size: 10px; font-weight: 600; color: var(--text); text-align: center; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: none; } }

/* hue per kategori */
.h-blue { --hue: #1e88e5; --tint: #e3f0fd; }
.h-cyan { --hue: #0891b2; --tint: #dff7fb; }
.h-magenta { --hue: #c026d3; --tint: #fbe7fd; }
.h-orange { --hue: #ea580c; --tint: #ffedd5; }
.h-amber { --hue: #d97706; --tint: #fef3c7; }
.h-teal { --hue: #0d9488; --tint: #d9f5f2; }
.h-indigo { --hue: #4f46e5; --tint: #e4e4fd; }
.h-green { --hue: #16a34a; --tint: #e2f8e9; }
.h-emerald { --hue: #059669; --tint: #d8f5ea; }
.h-sky { --hue: #0284c7; --tint: #e0f2fe; }
.h-violet { --hue: #7c3aed; --tint: #ede9fe; }
.h-rose { --hue: #e11d48; --tint: #ffe4e6; }
.h-red { --hue: #dc2626; --tint: #fee2e2; }
.h-yellow { --hue: #ca8a04; --tint: #fef9c3; }
.h-flame { --hue: #c2410c; --tint: #ffe8d9; }
.h-slate { --hue: #475569; --tint: #e2e8f0; }

/* ---- home: kartu info ---- */
.home-cards { display: grid; gap: 10px; margin-top: 12px; }
.hc {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px;
  transition: transform .15s ease, box-shadow .15s ease;
}
button.hc:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(23,35,59,.08); }
button.hc:active { transform: scale(.98); }
.hc .hi { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--hue); }
.hc .hi svg { width: 19px; height: 19px; }
.hc .ht { flex: 1; min-width: 0; }
.hc .ht b { font-size: 12.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc .ht small { font-size: 11px; color: var(--muted); display: block; margin-top: 2px; }
.hc .chev { width: 16px; height: 16px; color: var(--muted); flex: 0 0 16px; }

/* ---- list head (drill-down kategori) ---- */
.list-head { display: flex; align-items: center; gap: 10px; margin: 4px 0 12px; }
.list-head #backBtn {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; color: var(--text); transition: transform .15s ease;
}
.list-head #backBtn svg { width: 18px; height: 18px; }
.list-head #backBtn:active { transform: scale(.92); }
.lh-icon { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--tint); color: var(--hue); }
.lh-icon svg { width: 20px; height: 20px; }
.lh-t b { font-size: 14px; display: block; }

/* ---- install PWA + tutorial ---- */
.install-panel .ip-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.install-panel .hi {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 13px;
  display: grid; place-items: center; background: var(--tint); color: var(--hue);
}
.install-panel .hi svg { width: 21px; height: 21px; }
.install-panel .ht { flex: 1; min-width: 0; line-height: 1.25; }
.install-panel .ht b { font-size: 14px; display: block; }
.install-panel .ht small { font-size: 11px; color: var(--muted); }
.ip-btn { width: 100%; margin: 10px 0 12px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.ip-btn svg { width: 18px; height: 18px; }
.ip-tuts { display: flex; flex-direction: column; gap: 10px; }
.tut { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #f8fafc; transition: box-shadow .2s ease; }
.tut.you { border-color: var(--brand-2); background: #e3f0fd; box-shadow: 0 4px 14px rgba(30, 136, 229, .16); }
.tut-h { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; margin-bottom: 7px; }
.tut-h svg { width: 16px; height: 16px; color: var(--brand); flex: 0 0 16px; }
.tut-h .you {
  margin-left: auto; font-style: normal; font-size: 9.5px; font-weight: 700;
  background: var(--brand); color: #fff; padding: 2px 8px; border-radius: 999px; letter-spacing: .04em;
}
.tut ol { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 6px; }
.tut ol li {
  counter-increment: step; position: relative; padding-left: 26px;
  font-size: 11.5px; line-height: 1.5; color: var(--text);
}
.tut ol li::before {
  content: counter(step); position: absolute; left: 0; top: 1px; width: 18px; height: 18px;
  border-radius: 50%; background: #fff; border: 1px solid var(--brand-2); color: var(--brand);
  font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.lh-t small { font-size: 11px; color: var(--muted); }

/* ---- halaman notifikasi ---- */
.notif-head { display: flex; align-items: center; gap: 10px; padding: 13px 14px; }
.notif-head .hi { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--hue); }
.notif-head .hi svg { width: 19px; height: 19px; }
.notif-head .ht { flex: 1; min-width: 0; line-height: 1.3; }
.notif-head .ht b { font-size: 14px; display: block; }
.notif-head .ht small { font-size: 11px; color: var(--muted); }
.ncard {
  position: relative; display: flex; gap: 11px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px 14px; margin-bottom: 10px;
  animation: pop .4s cubic-bezier(.2, .9, .3, 1.2) both;
  transition: box-shadow .15s ease;
}
.ncard:hover { box-shadow: 0 6px 16px rgba(23,35,59,.08); }
.ncard.unread { border-color: #bcd9f8; background: linear-gradient(135deg, #f4f9ff, #fff 55%); }
.ncard .ni { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--hue); }
.ncard .ni svg { width: 19px; height: 19px; }
.ncard .nb { flex: 1; min-width: 0; }
.ncard .ntop { display: flex; align-items: center; gap: 8px; }
.ncard .ntop b { flex: 1; min-width: 0; font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.ncard .nb p { font-size: 12px; color: #475569; line-height: 1.6; margin: 5px 0 7px; white-space: pre-line; overflow-wrap: anywhere; }
.ncard .nb small { font-size: 10.5px; color: var(--muted); }
.ncard .ndot { position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 3px rgba(30,136,229,.18); }
.ncard.unread .ntop { padding-right: 14px; }
.notif-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 56px 20px; }
.notif-empty svg { width: 46px; height: 46px; color: #b6c6dd; }
.notif-empty b { font-size: 14px; color: var(--text); }
.notif-empty span { font-size: 12px; }