/* =====================================================================
   Klyvo · lapisan halaman (dimuat setelah style.css).
   Hanya gaya khusus halaman dan komponen pendukung. Dasar sistem desain
   ada di style.css. Semua warna memakai variabel tema.
   ===================================================================== */

/* ---------- Dasar ---------- */
.wrap-anywhere { overflow-wrap: anywhere; word-break: break-word; }
.greet-emoji { display: inline-block; font-size: 1.1em; line-height: 1; margin-right: 2px; vertical-align: -0.08em; }

/* ---------- Beranda ---------- */
.home { position: relative; isolation: isolate; }
.home::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -22px;
  left: -16px;
  right: -16px;
  height: 340px;
  border-radius: 0 0 40px 40px;
  pointer-events: none;
  background:
    radial-gradient(110% 90% at 100% 0%, var(--accent-soft) 0%, transparent 62%),
    radial-gradient(90% 70% at 0% 0%, var(--primary-soft) 0%, transparent 70%);
}
.home-hello { font-size: 14.5px; font-weight: 500; color: var(--muted); }
.home-greeting .page-title { font-size: 26px; margin-top: 2px; }
.home-body .home-section { border-radius: var(--radius-lg); }
.home-body .txn-row { padding: 12px 0; }

.hero-top-end { display: inline-flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; min-width: 0; }
.hero-toggle {
  padding: 5px 12px;
  border: 1px solid color-mix(in srgb, var(--primary-contrast) 36%, transparent);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--primary-contrast);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.hero-toggle:hover { background: color-mix(in srgb, var(--primary-contrast) 16%, transparent); }
.hero-toggle:active { transform: scale(0.96); }
.hero-plan { white-space: nowrap; }
.hero-card .hero-action-primary {
  background: var(--surface);
  color: var(--primary);
  border-color: transparent;
  box-shadow: 0 12px 24px color-mix(in srgb, var(--text) 22%, transparent);
}
.hero-card .hero-action-primary:hover { background: var(--surface); color: var(--primary); filter: brightness(1.02); }
.hero-action-primary:focus-visible { outline-color: var(--accent); }

/* Kartu layanan: panel kaca dengan tile lembut */
.dash-services {
  padding: 18px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  border-color: color-mix(in srgb, var(--surface) 70%, var(--border));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}
.dash-services .section-title { font-size: 19px; margin-bottom: 14px; }
.dash-services .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dash-services .service-tile {
  padding: 16px 6px 14px;
  border: 1px solid color-mix(in srgb, var(--surface) 80%, transparent);
  border-radius: 22px;
  background: var(--background);
  transition: transform 0.15s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.dash-services .service-tile.is-blue { background: linear-gradient(165deg, color-mix(in srgb, var(--accent) 8%, var(--surface)) 0%, color-mix(in srgb, var(--accent) 17%, var(--surface)) 100%); }
.dash-services .service-tile.is-violet { background: linear-gradient(165deg, color-mix(in srgb, var(--primary) 7%, var(--surface)) 0%, color-mix(in srgb, var(--primary) 16%, var(--surface)) 100%); }
.dash-services .service-tile.is-pink { background: linear-gradient(165deg, color-mix(in srgb, var(--danger) 6%, var(--surface)) 0%, color-mix(in srgb, var(--danger) 14%, var(--surface)) 100%); }
.dash-services .service-tile.is-amber { background: linear-gradient(165deg, color-mix(in srgb, var(--warn) 7%, var(--surface)) 0%, color-mix(in srgb, var(--warn) 16%, var(--surface)) 100%); }
.dash-services .service-tile.is-green { background: linear-gradient(165deg, color-mix(in srgb, var(--success) 7%, var(--surface)) 0%, color-mix(in srgb, var(--success) 16%, var(--surface)) 100%); }
.dash-services .service-tile.is-teal { background: linear-gradient(165deg, color-mix(in srgb, var(--accent) 6%, var(--surface)) 0%, color-mix(in srgb, var(--success) 13%, var(--surface)) 100%); }
.dash-services .service-tile:active { transform: scale(0.97); }
.dash-services .service-icon {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--text) 7%, transparent);
}
.dash-services .service-icon svg { width: 26px; height: 26px; }
.dash-services .service-label { font-size: 14px; font-weight: 700; min-height: 2.5em; }
@media (hover: hover) {
  .dash-services .service-tile:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }
  .dash-services .service-tile:hover .service-icon { box-shadow: 0 12px 24px color-mix(in srgb, var(--text) 12%, transparent); }
}

/* Topbar di beranda: sedikit lebih besar */
body.is-home .brand-mark,
body.is-home .brand-logo { width: 44px; height: 44px; border-radius: 15px; }
body.is-home .brand-name { font-size: 20px; }
body.is-home .icon-btn,
body.is-home .avatar { width: 46px; height: 46px; border-radius: 16px; }

/* ---------- Katalog: brand dan produk ---------- */
.brand-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.brand-card:active { transform: scale(0.98); }
.brand-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.brand-go { color: var(--muted); display: inline-flex; }
.avatar { display: grid; place-items: center; }
.product-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 8px;
  margin-top: auto;
}
.product-status { font-size: 12px; font-weight: 600; color: var(--muted); }
.back-link { font-weight: 700; color: var(--primary); text-decoration: none; }
.choice-switch { justify-content: space-between; }
@media (hover: hover) {
  .product:not(:disabled):hover {
    box-shadow: var(--shadow-md);
    border-color: color-mix(in srgb, var(--primary) 24%, var(--border));
  }
  .brand-card:hover { box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--primary) 20%, var(--border)); }
}

/* ---------- Order sheet ---------- */
.order-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px;
  border-radius: 17px;
  background: var(--background);
  border: 1px solid var(--border);
}
.order-main { flex: 1; min-width: 0; }
.order-price { text-align: right; flex: 0 0 auto; font-variant-numeric: tabular-nums; }

/* ---------- Pembayaran (deposit dan riwayat) ---------- */
.pay-qr-wrap { display: flex; justify-content: center; }
.pay-qr { max-width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--border); padding: 10px; background: #fff; box-shadow: var(--shadow-sm); }
.pay-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--background);
}
.pay-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.pay-note { margin: 0; }
.pay-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.5;
}
.pay-steps li::marker { font-weight: 800; color: var(--primary); }
.pay-details {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--background);
  padding: 11px 13px;
}
.pay-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
  min-height: 32px;
}
.pay-details > summary::-webkit-details-marker { display: none; }
.pay-details > summary::after { content: "▾"; color: var(--muted); transition: transform 0.2s var(--ease); }
.pay-details[open] > summary::after { transform: rotate(180deg); }
.pay-details-body { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.pay-string { margin: 0; max-height: 120px; overflow: auto; word-break: break-all; }
.pay-code { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pay-code-value { font-size: 16px; letter-spacing: 0.04em; }
.pay-actions { flex-wrap: wrap; }

/* ---------- Riwayat ---------- */
.hist-item { display: flex; flex-direction: column; gap: 6px; }
.hist-kind {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 75%, var(--text));
}
/* Label kolom dibatasi lebarnya; nilai panjang (kode deposit) boleh membungkus */
.riwayat-page .kv {
  grid-template-columns: minmax(84px, max-content) minmax(0, 1fr);
  gap: 8px 14px;
  align-items: start;
}
.riwayat-page .kv > span { min-width: 0; }
.riwayat-page .kv .strong { font-variant-numeric: tabular-nums; }
@media (max-width: 359px) {
  .riwayat-page .kv { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .riwayat-page .kv > .muted { margin-top: 6px; }
}

/* ---------- Sheet, toast, status ---------- */
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet-head .sheet-title { margin: 0; min-width: 0; }
.sheet-close {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--background);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.sheet-close:hover { background: var(--border); }
.sheet-close:active { transform: scale(0.94); }
.sheet-body { display: flex; flex-direction: column; gap: 14px; }

.toast { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.toast-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, currentColor 22%, transparent);
  font-size: 13px;
  font-weight: 800;
}
.toast-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }

.push-status { display: flex; align-items: center; gap: 10px; }
.push-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: 0 0 auto; }
.push-dot.is-on { background: var(--success); box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 18%, transparent); }

/* ---------- Riwayat: daftar dua kolom di tablet dan desktop ---------- */
@media (min-width: 768px) {
  .riwayat-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
  }
  .riwayat-list > * { min-width: 0; }
}

/* ---------- Beranda: penyesuaian per ukuran layar ---------- */
@media (max-width: 379px) {
  .hero-amount { font-size: 30px; }
  .hero-action { font-size: 14px; padding: 10px 8px; }
  .dash-services .service-tile { padding: 14px 4px 12px; }
  .dash-services .service-icon { width: 54px; height: 54px; border-radius: 18px; }
  .dash-services .service-label { font-size: 13px; }
}
@media (min-width: 768px) {
  .home::before { height: 380px; left: -24px; right: -24px; }
  .home-greeting .page-title { font-size: 32px; }
  .hero-card { padding: 28px 30px 26px; }
  .hero-amount { font-size: 42px; }
  .hero-action { min-height: 56px; font-size: 16px; }
  .dash-services .service-grid { gap: 14px; }
  .dash-services .service-tile { padding: 20px 8px 16px; }
  .dash-services .service-icon { width: 68px; height: 68px; border-radius: 23px; }
  .dash-services .service-icon svg { width: 28px; height: 28px; }
  .stack.home-body { gap: 22px; }
}
@media (min-width: 1100px) {
  .stack.home-body { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; }
  .stack.home-body > .hero-card,
  .stack.home-body > .admin-entry { grid-column: 1 / -1; }
  .hero-card { padding: 30px 34px 28px; }
  .hero-amount { font-size: 46px; margin: 12px 0 26px; }
  .dash-services { padding: 24px; }
  .dash-services .service-label { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* =====================================================================
   Autentikasi (login dan halaman sejenis): satu kolom terpusat.
   ===================================================================== */
.auth {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  max-width: 440px;
  margin: 6px auto 0;
  min-width: 0;
}
.auth-head { display: flex; flex-direction: column; gap: 8px; padding: 0 2px; }
.auth-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 78%, var(--text));
}
.auth-title { margin: 0; font-size: 30px; font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; }
.auth-sub { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.auth-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  min-width: 0;
}
.auth-links { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.auth-link {
  align-self: flex-start;
  color: var(--primary);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  padding: 6px 0;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.auth-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.auth-link-muted { color: var(--muted); font-weight: 600; }
.auth-alt {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px dashed color-mix(in srgb, var(--primary) 26%, var(--border));
}
.auth-alt-btn { box-shadow: none; }

@media (min-width: 768px) {
  .auth { max-width: 460px; margin-top: 28px; gap: 26px; }
  .auth-title { font-size: 34px; }
  .auth-card { padding: 28px; }
}

/* =====================================================================
   Katalog brand (PPOB, top-up, sosmed, premium): kartu tegak dengan ikon di atas.
   Tanpa perubahan markup: staged-catalog.js tetap sama.
   ===================================================================== */
.grid-brands .brand-card {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-height: 150px;
  padding: 16px;
  border-radius: 22px;
  position: relative;
}
.grid-brands .brand-card .avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  font-size: 19px;
}
.grid-brands .brand-main { gap: 4px; width: 100%; min-width: 0; }
.grid-brands .brand-card .product-name {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.grid-brands .brand-card .small { font-size: 13px; }
.grid-brands .brand-go {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--background);
  color: var(--muted);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.grid-brands .brand-card:hover .brand-go { background: var(--primary); color: var(--primary-contrast); transform: translateX(2px); }

/* Catatan kaki autentikasi dan status kosong */
.auth-foot {
  margin: 0;
  text-align: center;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}
.auth-foot a { color: var(--primary); font-weight: 700; }
.auth-state { display: flex; flex-direction: column; gap: 16px; }

/* Halaman autentikasi yang butuh ruang lebih (pemulihan akun) */
.auth-wide { max-width: 520px; }
@media (min-width: 768px) { .auth-wide { max-width: 560px; } }

/* Header bagian di beranda: judul dengan keterangan kecil */
.section-head { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.section-head .section-title,
.section-head .card-title { margin-bottom: 0; }
.section-sub { margin: 0; font-size: 13px; color: var(--muted); }
.section-head-row { align-items: flex-start; }
.section-head-row .link-more { padding-top: 4px; }

/* =====================================================================
   Katalog produk dan sheet pemesanan.
   ===================================================================== */
.product {
  position: relative;
  overflow: hidden;
  gap: 12px;
  padding: 16px;
}
.product::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.product:not(:disabled):hover::after,
.product:not(:disabled):focus-visible::after { opacity: 1; }
.product .product-name { font-size: 15px; font-weight: 700; color: var(--text); }
.product .price {
  font-size: 16px;
  color: var(--primary-ink);
  letter-spacing: -0.01em;
}
.product.is-unavailable {
  background: color-mix(in srgb, var(--background) 60%, var(--surface));
  box-shadow: none;
}
.product.is-unavailable .product-name { color: var(--muted); }
.product.is-unavailable .price { color: var(--muted); }
.product-foot { align-items: center; }

/* Ringkasan produk di sheet pemesanan */
.order-summary {
  gap: 14px;
  padding: 16px;
  background: linear-gradient(160deg, var(--primary-soft) 0%, var(--background) 72%);
  border: 1px solid color-mix(in srgb, var(--primary) 12%, var(--border));
}
.order-avatar {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 62%, var(--accent)) 100%);
  color: var(--primary-contrast);
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 6px 14px var(--shadow-brand);
}
.order-summary .order-main .strong { font-size: 15px; overflow-wrap: anywhere; }
.order-summary .order-price .strong { font-size: 17px; color: var(--primary-ink); font-variant-numeric: tabular-nums; }

/* Kontrol katalog: satu kartu ringkas di atas daftar */
.catalog-controls {
  padding: 14px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.catalog-controls .choice { min-height: 50px; border-radius: 14px; }

/* =====================================================================
   Deposit dan riwayat.
   ===================================================================== */
.stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stepper-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
}
.stepper-item:first-child { color: var(--primary); border-color: color-mix(in srgb, var(--primary) 26%, var(--border)); }
.stepper-num {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 800;
}
.stepper-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pay-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
  border: 1px solid color-mix(in srgb, var(--primary) 14%, var(--border));
}
.pay-total .pay-label { margin: 0; }
.pay-total-value {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-ink);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  text-align: right;
}

.txn-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.txn-card .txn-amount { text-align: right; }

/* =====================================================================
   Akun, plan, dan notifikasi.
   ===================================================================== */
.account-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(145deg, var(--primary-soft) 0%, var(--surface) 62%);
  border: 1px solid color-mix(in srgb, var(--primary) 14%, var(--border));
}
.account-avatar {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 62%, var(--accent)) 100%);
  color: var(--primary-contrast);
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 10px 22px var(--shadow-brand);
}
.account-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.account-name { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.account-flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

.plan-card { position: relative; overflow: hidden; }
.plan-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.plan-card .card-title { font-size: 18px; }

.notif-row { padding: 8px 0; border-top: 1px solid var(--border); }
.notif-row:first-child { border-top: 0; padding-top: 0; }
.push-card .push-status { margin-bottom: 2px; }

/* =====================================================================
   Katalog bertahap (top-up, sosmed, premium, PPOB): langkah dan tautan kembali.
   ===================================================================== */
.stepper-catalog { margin-bottom: 4px; }
.stepper-item.is-done { color: var(--primary); border-color: color-mix(in srgb, var(--primary) 22%, var(--border)); background: color-mix(in srgb, var(--primary) 5%, var(--surface)); }
.stepper-item.is-done .stepper-num { background: var(--primary); color: var(--primary-contrast); }
.stepper-item.is-active { color: var(--text); border-color: var(--accent); box-shadow: var(--ring); }
.stepper-item.is-active .stepper-num { background: var(--accent); color: var(--on-accent); }

.back-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.back-link:hover { background: var(--primary-soft); border-color: color-mix(in srgb, var(--primary) 24%, var(--border)); }

/* ---------- Plan: saldo kurang mengarah ke deposit ---------- */
.plan-duration { gap: 6px; }
.plan-topup { min-height: 44px; padding: 8px 16px; font-size: 14px; }
.plan-short { margin: 0; font-size: 13px; color: color-mix(in srgb, var(--warn) 85%, var(--text)); }
