/* GatewayTopup Panel — mobile-first, tanpa CDN (serasi CSP 'self') */
:root {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #0f172a;
  --muted: #5b6577;
  --border: #e2e7ee;
  --primary: #0d7f78;
  --primary-ink: #ffffff;
  --primary-soft: #e3f4f2;
  --side: #0f172a;
  --side-text: #cbd5e1;
  --side-active: #1e293b;
  --ok: #157347; --ok-bg: #e5f5ec;
  --warn: #8a5a00; --warn-bg: #fff4d6;
  --bad: #b42318; --bad-bg: #fde8e7;
  --info: #1d4ed8; --info-bg: #e6eefe;
  --sim: #6d28d9; --sim-bg: #f1eafe;
  --muted-bg: #eef1f5;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 2px 8px rgba(15, 23, 42, .04);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Ubuntu, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --bottom-h: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1120; --surface: #111a2e; --surface-2: #0f172a; --text: #e5e9f0; --muted: #94a0b4;
    --border: #233049; --primary: #2bb3a9; --primary-ink: #04201e; --primary-soft: #0f2e2c;
    --side: #070c18; --side-active: #16213a;
    --ok: #4ade80; --ok-bg: #0f2a1c; --warn: #fbbf24; --warn-bg: #2d2208; --bad: #f87171; --bad-bg: #331314;
    --info: #93b4fd; --info-bg: #142144; --sim: #c4a8ff; --sim-bg: #241a3d; --muted-bg: #1b2539;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.5 var(--font); color: var(--text); background: var(--bg); padding-bottom: calc(var(--bottom-h) + env(safe-area-inset-bottom)); }
a { color: var(--primary); text-underline-offset: 2px; }
code, .mono { font-family: var(--mono); font-size: .92em; }
h1, h2, h3, h4 { margin: 0 0 .5rem; line-height: 1.25; }
.h1 { font-size: 1.45rem; } .h2 { font-size: 1.3rem; } .h3 { font-size: 1.05rem; } .h4 { font-size: .95rem; margin-top: 1rem; }
p { margin: 0 0 .75rem; }
.small { font-size: .85rem; } .muted { color: var(--muted); } .center { text-align: center; } .nowrap { white-space: nowrap; }
.mt { margin-top: 1rem; } .big { font-size: 1.15rem; font-weight: 650; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--primary); color: var(--primary-ink); padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: .5rem; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 60%, transparent); outline-offset: 2px; }

/* Banner mod */
.mode-banner { position: sticky; top: 0; z-index: 30; display: block; height: 33px; line-height: 33px; text-align: center;
  padding: 0 .9rem; font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mode-banner > span[aria-hidden] { margin-right: .35rem; }
.banner-more { display: none; }
@media (min-width: 640px) { .banner-more { display: inline; } }
.mode-sim { background: var(--sim-bg); color: var(--sim); border-bottom: 1px solid color-mix(in srgb, var(--sim) 25%, transparent); }
.mode-real { background: var(--bad); color: #fff; }

/* Shell */
.shell { display: block; }
.sidebar { display: none; }
.main-col { min-width: 0; }
.topbar { position: sticky; top: 33px; z-index: 20; display: flex; align-items: center; gap: .65rem; padding: .6rem 1rem; background: var(--surface); border-bottom: 1px solid var(--border); }
.topbar-title { font-size: 1rem; margin: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn { border: 1px solid var(--border); background: var(--surface-2); color: var(--text); width: 40px; height: 40px; border-radius: 10px; font-size: 1.1rem; cursor: pointer; }
.more-menu { position: fixed; right: .75rem; top: 92px; z-index: 40; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.18); min-width: 220px; padding: .4rem; }
.more-menu a, .more-menu .linklike { display: block; width: 100%; text-align: left; padding: .7rem .8rem; border-radius: 8px; color: var(--text); text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; }
.more-menu a:hover, .more-menu .linklike:hover { background: var(--surface-2); }
.content { padding: 1rem; max-width: 1100px; margin: 0 auto; }

.brand { display: flex; align-items: center; gap: .65rem; padding: 1.1rem 1rem; }
.brand-mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, #14b8a6, #0d7f78); color: #fff; font-weight: 800; letter-spacing: .5px; font-size: .85rem; flex: none; }
.brand-mark.sm { width: 30px; height: 30px; font-size: .75rem; border-radius: 8px; }
.brand-text { font-weight: 750; line-height: 1.1; }
.brand-text small { display: block; font-weight: 500; opacity: .7; font-size: .75rem; }

/* Bottom nav (telefon) */
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--surface); border-top: 1px solid var(--border); height: calc(var(--bottom-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: .7rem; color: var(--muted); text-decoration: none; }
.bottom-nav a span { font-size: 1.15rem; line-height: 1; }
.bottom-nav a.is-active { color: var(--primary); font-weight: 650; }
.bottom-nav a.primary span { display: grid; place-items: center; width: 44px; height: 44px; margin-top: -18px; border-radius: 50%; background: var(--primary); color: var(--primary-ink); box-shadow: 0 4px 12px rgba(13,127,120,.35); }

@media (min-width: 992px) {
  body { padding-bottom: 0; }
  .shell { display: grid; grid-template-columns: 250px 1fr; min-height: calc(100vh - 33px); background: linear-gradient(to right, var(--side) 250px, transparent 250px); }
  .sidebar { display: flex; flex-direction: column; position: sticky; top: 33px; height: calc(100vh - 33px); background: var(--side); color: var(--side-text); }
  .sidebar .brand { color: #fff; }
  .side-nav { flex: 1; padding: .25rem .6rem; overflow-y: auto; }
  .nav-link { display: flex; align-items: center; gap: .7rem; padding: .62rem .75rem; border-radius: 9px; color: var(--side-text); text-decoration: none; margin-bottom: 2px; }
  .nav-link:hover { background: var(--side-active); color: #fff; }
  .nav-link.is-active { background: var(--side-active); color: #fff; box-shadow: inset 3px 0 0 #2dd4bf; }
  .ni { width: 1.2rem; text-align: center; opacity: .85; }
  .nav-section { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; opacity: .55; padding: 1rem .75rem .35rem; }
  .side-foot { padding: .8rem; border-top: 1px solid rgba(255,255,255,.07); display: grid; gap: .5rem; }
  .side-user { display: flex; gap: .6rem; align-items: center; color: #fff; text-decoration: none; font-size: .9rem; }
  .side-user small { display: block; opacity: .6; font-size: .75rem; }
  .side-foot .btn-ghost { color: var(--side-text); border-color: rgba(255,255,255,.15); background: transparent; }
  .topbar, .bottom-nav, .more-menu { display: none !important; }
  .content { padding: 1.6rem 2rem 3rem; }
}

/* Kad & grid */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem; box-shadow: var(--shadow); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .6rem; flex-wrap: wrap; }
.card-head .h3 { margin: 0; }
.grid-2 { display: grid; gap: 0 1rem; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } .card { padding: 1.25rem; } }
.narrow { max-width: 560px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.page-head .muted { margin: 0; }
.status-line { margin: .3rem 0 .5rem; }

/* Statistik */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-bottom: .8rem; }
@media (min-width: 720px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { display: flex; flex-direction: column; padding: .75rem .85rem; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border); text-decoration: none; color: var(--text); border-left: 4px solid var(--border); }
.stat:hover { border-color: var(--primary); }
.stat-label { font-size: .78rem; color: var(--muted); }
.stat-num { font-size: 1.5rem; font-weight: 750; line-height: 1.2; }
.stat-note { font-size: .72rem; color: var(--muted); }
.stat-ok { border-left-color: var(--ok); } .stat-warn { border-left-color: var(--warn); } .stat-bad { border-left-color: var(--bad); }
.stat-info { border-left-color: var(--info); } .stat-sim { border-left-color: var(--sim); } .stat-muted { border-left-color: var(--muted); }

/* Lencana status: ikon + teks (tidak bergantung pada warna sahaja) */
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .55rem; border-radius: 999px; font-size: .76rem; font-weight: 650; white-space: nowrap; border: 1px solid transparent; }
.badge-ok { background: var(--ok-bg); color: var(--ok); } .badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-bad { background: var(--bad-bg); color: var(--bad); } .badge-info { background: var(--info-bg); color: var(--info); }
.badge-sim { background: var(--sim-bg); color: var(--sim); border-style: dashed; border-color: currentColor; }
.badge-muted { background: var(--muted-bg); color: var(--muted); }

/* Alert */
.alert { display: flex; gap: .6rem; align-items: flex-start; padding: .75rem .9rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-size: .9rem; border: 1px solid transparent; }
.alert-ok { background: var(--ok-bg); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 25%, transparent); }
.alert-bad { background: var(--bad-bg); color: var(--bad); border-color: color-mix(in srgb, var(--bad) 25%, transparent); }
.alert-warn { background: var(--warn-bg); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 25%, transparent); }
.alert-sim { background: var(--sim-bg); color: var(--sim); border-color: color-mix(in srgb, var(--sim) 25%, transparent); }
.alert a { color: inherit; font-weight: 650; }

/* Butang */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: .55rem 1rem; border-radius: 10px; border: 1px solid transparent;
  font: 600 .92rem/1 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, opacity .15s; }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 85%, #000); }
.btn-danger { background: var(--bad); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); }
.btn-sm { min-height: 36px; padding: .4rem .75rem; font-size: .84rem; }
.btn-lg { min-height: 52px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .55; cursor: not-allowed; }
.btn.is-busy::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }

/* Borang */
.stack { display: grid; gap: .9rem; }
.field { display: grid; gap: .3rem; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-weight: 600; font-size: .88rem; padding: 0; }
input, select, textarea { width: 100%; min-height: 46px; padding: .6rem .75rem; font: 16px/1.3 var(--font); color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
textarea { resize: none; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); outline: 3px solid var(--primary-soft); }
input[aria-invalid="true"] { border-color: var(--bad); }
.hint { color: var(--muted); font-size: .8rem; }
.field-error { color: var(--bad); font-size: .83rem; margin: 0; font-weight: 600; }
.field-error::before { content: "✖ "; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: 1px; flex: none; accent-color: var(--primary); }
.filter-grid { display: grid; gap: .8rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .filter-grid { grid-template-columns: repeat(3, 1fr); } }
.filter-actions, .span-all { grid-column: 1 / -1; display: flex; gap: .5rem; flex-wrap: wrap; }
.filters summary { cursor: pointer; font-weight: 650; }
.filters[open] summary { margin-bottom: .8rem; }

.choice-grid { display: grid; gap: .5rem; grid-template-columns: 1fr; }
@media (min-width: 480px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-body { display: block; padding: .75rem .85rem; border: 2px solid var(--border); border-radius: 12px; background: var(--surface-2); }
.choice-body small { display: block; color: var(--muted); font-size: .76rem; }
.choice input:checked + .choice-body { border-color: var(--primary); background: var(--primary-soft); }
.choice input:checked + .choice-body strong::before { content: "✔ "; color: var(--primary); }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--primary-soft); }
.quick-amounts { display: flex; flex-wrap: wrap; gap: .4rem; }
.quick-amounts button { min-height: 40px; padding: .3rem .85rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); font: 600 .9rem var(--font); cursor: pointer; }
.quick-amounts button[aria-pressed="true"] { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }

/* Ringkasan */
.summary { margin: 0 0 1rem; display: grid; gap: 0; }
.summary > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: .5rem; padding: .55rem 0; border-bottom: 1px dashed var(--border); }
.summary > div:last-child { border-bottom: 0; }
.summary dt { color: var(--muted); font-size: .85rem; }
.summary dd { margin: 0; overflow-wrap: anywhere; }
.cmd { display: inline-block; padding: .15rem .45rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; overflow-wrap: anywhere; }
.select-all { user-select: all; }
.dupe-list { margin: .4rem 0 0; padding-left: 1.1rem; }

/* Senarai transaksi */
.tx-list { list-style: none; margin: 0; padding: 0; }
.tx-list li + li { border-top: 1px solid var(--border); }
.tx-item { display: flex; justify-content: space-between; gap: .75rem; padding: .75rem .25rem; text-decoration: none; color: var(--text); }
.tx-item:hover { background: var(--surface-2); }
.tx-main { min-width: 0; display: grid; }
.tx-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-sub { font-size: .75rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-side { display: grid; justify-items: end; gap: .2rem; flex: none; }
.tx-amt { font-weight: 700; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; gap: .5rem; }

.empty { text-align: center; padding: 1.5rem .5rem; color: var(--muted); }
.empty-icon { font-size: 2rem; margin: 0; opacity: .5; }
.error-code { font-size: 3rem; font-weight: 800; color: var(--primary); margin: 0; }

.checks { list-style: none; padding: 0; margin: .5rem 0; display: grid; gap: .35rem; font-size: .9rem; }
.checks li.ok { color: var(--ok); } .checks li.no { color: var(--bad); }
.checks.cols { grid-template-columns: 1fr; }
@media (min-width: 720px) { .checks.cols { grid-template-columns: 1fr 1fr; } }
.danger-zone { border: 1px solid color-mix(in srgb, var(--bad) 35%, transparent); border-radius: var(--radius-sm); padding: .8rem; }
.danger-zone summary { cursor: pointer; color: var(--bad); font-weight: 650; }
.danger-zone[open] summary { margin-bottom: .8rem; }

.svc-list { list-style: none; margin: 0; padding: 0; }
.svc { display: grid; gap: .6rem; padding: .9rem 0; border-bottom: 1px solid var(--border); }
.svc:last-child { border-bottom: 0; }
.svc.is-off { opacity: .65; }
.svc-main > * { margin-top: .2rem; }
.svc-actions { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.verify-form { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
@media (min-width: 900px) { .svc { grid-template-columns: 1fr auto; align-items: center; } .svc-actions { justify-content: flex-end; max-width: 420px; } }

.diag { list-style: none; margin: 0; padding: 0; }
.diag li { display: grid; grid-template-columns: auto 1fr; gap: .2rem .6rem; padding: .55rem 0; border-bottom: 1px solid var(--border); align-items: center; }
.diag li:last-child { border-bottom: 0; }
.diag-detail { grid-column: 2; }
.diag-name { font-weight: 600; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 .9rem; border-left: 2px solid var(--border); }
.timeline li { position: relative; padding: 0 0 .9rem .6rem; display: grid; gap: .1rem; font-size: .85rem; }
.timeline li::before { content: ""; position: absolute; left: -1.28rem; top: .3rem; width: 10px; height: 10px; border-radius: 50%; background: var(--muted); border: 2px solid var(--surface); }
.timeline li.tl-success::before { background: var(--ok); } .timeline li.tl-failure::before { background: var(--bad); }
.tl-time { color: var(--muted); font-size: .76rem; }
.tl-details { display: block; font-size: .74rem; color: var(--muted); overflow-wrap: anywhere; margin-top: .15rem; }

.table-wrap { overflow-x: auto; margin: 0 -1rem; padding: 0 1rem; }
.table { width: 100%; border-collapse: collapse; font-size: .85rem; min-width: 760px; }
.table th, .table td { text-align: left; padding: .55rem .5rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.table .tl-details { max-width: 340px; }
.pre { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .8rem; overflow-x: auto; font: .8rem/1.5 var(--mono); }

.avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #2dd4bf; color: #04201e; font-weight: 700; flex: none; }
.avatar.peer { background: var(--info-bg); color: var(--info); }

/* Chat */
.chat-page { display: flex; flex-direction: column; gap: 0; height: calc(100dvh - 33px - 57px - var(--bottom-h) - 2rem - env(safe-area-inset-bottom)); min-height: 420px; }
@media (min-width: 992px) { .chat-page { height: calc(100dvh - 33px - 3.2rem); } }
.chat-header { padding: .7rem 1rem; margin-bottom: .6rem; }
.chat-header .h3 { margin: 0; }
.chat-header p { margin: 0; }
.chat-peer { display: flex; gap: .7rem; align-items: center; }
.chat-page > .alert { margin-bottom: .6rem; }
.chat-box { flex: 1; display: flex; flex-direction: column; padding: 0; overflow: hidden; margin-bottom: 0; min-height: 0; }
.chat-scroll { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .5rem; background: var(--surface-2); overscroll-behavior: contain; }
.chat-older { align-self: center; }
#chat-messages { display: flex; flex-direction: column; gap: .5rem; }
.msg { max-width: 82%; padding: .55rem .75rem .4rem; border-radius: 14px; font-size: .93rem; white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: var(--shadow); }
.msg-out { align-self: flex-end; background: var(--primary-soft); border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent); border-bottom-right-radius: 4px; }
.msg-out.is-sim { background: var(--sim-bg); border: 1px dashed color-mix(in srgb, var(--sim) 45%, transparent); }
.msg-in { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.msg-system { align-self: center; background: var(--muted-bg); color: var(--muted); font-size: .8rem; max-width: 92%; text-align: center; box-shadow: none; }
.msg-meta { display: flex; gap: .4rem; align-items: center; justify-content: flex-end; flex-wrap: wrap; margin-top: .3rem; font-size: .7rem; color: var(--muted); white-space: normal; }
.msg-meta .badge { font-size: .66rem; padding: .08rem .4rem; }
.msg-tx { font-size: .72rem; }
.chat-state { text-align: center; color: var(--muted); font-size: .85rem; padding: .5rem; }
.chat-input { display: flex; gap: .5rem; padding: .6rem; border-top: 1px solid var(--border); background: var(--surface); align-items: flex-end; }
.chat-input textarea { min-height: 44px; max-height: 140px; border-radius: 22px; padding: .65rem 1rem; }
.chat-input .btn { width: 46px; height: 46px; min-height: 46px; padding: 0; border-radius: 50%; font-size: 1.1rem; flex: none; }
.chat-error { color: var(--bad); padding: 0 .9rem .6rem; margin: 0; background: var(--surface); }

.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--muted); border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Dialog pengesahan */
.confirm-dialog { border: 0; border-radius: var(--radius); padding: 1.25rem; width: min(92vw, 420px); background: var(--surface); color: var(--text); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.confirm-dialog::backdrop { background: rgba(15, 23, 42, .55); }
.dialog-actions { display: flex; gap: .5rem; justify-content: flex-end; margin-top: 1rem; }

/* Tetamu */
body.guest { padding-bottom: 0; }
.guest-wrap { max-width: 440px; margin: 0 auto; padding: 2.5rem 1rem; }
.guest-brand { display: flex; align-items: center; gap: .65rem; justify-content: center; margin-bottom: 1.25rem; }
.guest-card { padding: 1.5rem; }

/* Input kod 2FA / PIN */
.code-input{font-size:1.5rem;letter-spacing:.5em;text-align:center;font-variant-numeric:tabular-nums;max-width:14rem}
/* Butang pantas */
.quick-bar{display:flex;flex-wrap:wrap;gap:.5rem;padding:.5rem .75rem;border-top:1px solid var(--border,#e5e7eb)}
.quick-form{display:flex;flex-wrap:wrap;gap:.75rem;align-items:flex-end}
.quick-form label{display:flex;flex-direction:column;gap:.2rem;font-size:.85rem}
.quick-form label.check{flex-direction:row;align-items:center}
.quick-pin{width:6rem;text-align:center;padding:.3rem}
