/* ============================================================
   Ambara x Kontento AI — demo booking fasilitas hotel
   Dua sistem visual: .guest (milik hotel) dan .admin (milik Kontento)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:where(a) { color: inherit; }

:root {
  /* skala bersama */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px;
  --s6: 24px; --s7: 32px; --s8: 40px; --s9: 56px; --s10: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 180ms; --t-mid: 320ms; --t-slow: 420ms;

  --z-dropdown: 10; --z-sticky: 20; --z-backdrop: 30;
  --z-modal: 40; --z-toast: 50; --z-tooltip: 60;

  /* tamu */
  --g-bg: oklch(0.165 0.010 45);
  --g-surface: oklch(0.205 0.012 45);
  --g-surface-2: oklch(0.248 0.013 45);
  --g-line: oklch(0.315 0.012 45);
  --g-ink: oklch(0.975 0.005 60);
  --g-ink-2: oklch(0.820 0.010 55);
  --g-muted: oklch(0.680 0.012 55);
  --g-accent: oklch(0.660 0.135 45);
  --g-accent-hi: oklch(0.720 0.150 48);
  --g-on-accent: oklch(0.190 0.040 45);
  --g-ok: oklch(0.760 0.100 160);
  --g-wait: oklch(0.800 0.120 85);

  /* admin (brand Kontento) */
  --a-bg: #161d2c;
  --a-surface: #1e2635;
  --a-surface-2: #27303b;
  --a-line: #333c4b;
  --a-ink: #ffffff;
  --a-ink-2: #dbdbdb;
  --a-muted: #98a1b0;
  --a-accent: #ffd602;
  --a-cream: #ffe8db;

  /* shell */
  --sh-bg: #0c0f15;
  --sh-line: #1e2431;
  --sh-ink: #e7eaf0;
  --sh-muted: #7d879a;

  --font-ui: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Instrument Serif', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-brand: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
}

body {
  background: var(--sh-bg);
  color: var(--sh-ink);
  font-family: var(--font-brand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:where(button, a, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--a-accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ============================================================ SHELL */

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky; top: 0; z-index: var(--z-sticky);
  display: flex; align-items: center; gap: var(--s5);
  padding: 0 var(--s6);
  height: 60px;
  background: rgba(12, 15, 21, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sh-line);
}

.wordmark {
  font-family: var(--font-brand);
  font-weight: 800; font-size: 19px; letter-spacing: -0.035em;
  color: var(--a-accent);
  text-transform: lowercase;
}
.wordmark span { color: var(--sh-muted); font-weight: 600; margin-left: 7px; letter-spacing: 0; text-transform: none; font-size: 12.5px; }

.seg {
  display: flex; gap: 2px; padding: 3px;
  background: #151a24; border: 1px solid var(--sh-line); border-radius: 999px;
  margin-inline: auto;
}
.seg button {
  padding: 7px 20px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--sh-muted);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.seg button:hover { color: var(--sh-ink); }
.seg button[aria-selected="true"] { background: var(--a-accent); color: #161d2c; }

.topbar-actions { display: flex; align-items: center; gap: var(--s2); }
.ghost-btn {
  padding: 7px 13px; border-radius: 8px; font-size: 12.5px; font-weight: 600;
  color: var(--sh-muted); border: 1px solid var(--sh-line);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.ghost-btn:hover { color: var(--sh-ink); border-color: #2e3648; }

.stage { flex: 1; min-height: 0; }

/* --- panggung tamu: perangkat di tengah --- */
.stage-guest {
  display: flex; flex-direction: column; align-items: center;
  padding: var(--s8) var(--s5) var(--s9);
  background:
    radial-gradient(120% 80% at 50% 0%, #131923 0%, var(--sh-bg) 62%);
}
.device {
  width: 412px; max-width: 100%;
  height: min(844px, calc(100vh - 190px));
  border-radius: 40px;
  padding: 10px;
  background: #1a1f2b;
  border: 1px solid #2a3141;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  position: relative;
}
.device-screen {
  height: 100%; border-radius: 31px; overflow: hidden;
  background: var(--g-bg); position: relative;
}
.stage-caption {
  margin-top: var(--s5); text-align: center; max-width: 460px;
  color: var(--sh-muted); font-size: 13px; line-height: 1.6;
}
.stage-caption b { color: var(--sh-ink); font-weight: 600; }

/* --- panggung admin --- */
.stage-admin { background: var(--a-bg); min-height: calc(100vh - 60px); }

/* ============================================================ TAMU */

.guest {
  height: 100%;
  display: flex; flex-direction: column;
  background: var(--g-bg); color: var(--g-ink);
  font-family: var(--font-ui);
  font-size: 15.5px; line-height: 1.55;
  overflow: hidden;
  position: relative;
}
.guest-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.guest-scroll::-webkit-scrollbar { display: none; }

.g-pad { padding-inline: var(--s5); }

.g-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px var(--s5) 2px; font-size: 12px; color: var(--g-muted);
  font-variant-numeric: tabular-nums;
}
.g-status .dots { display: flex; gap: 3px; align-items: center; }
.g-status .dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--g-muted); display: block; }
.g-status .dots i:last-child { width: 16px; height: 8px; border-radius: 2px; }

.g-topline {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s3) var(--s5) var(--s2);
}
.g-brand { font-family: var(--font-display); font-size: 21px; letter-spacing: 0.06em; text-transform: uppercase; }
.g-brand small { display: block; font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.16em; color: var(--g-muted); text-transform: uppercase; margin-top: -2px; }

.lang-switch { display: flex; border: 1px solid var(--g-line); border-radius: 999px; overflow: hidden; }
.lang-switch button {
  padding: 5px 11px; font-size: 11.5px; font-weight: 600; color: var(--g-muted);
  letter-spacing: 0.04em;
}
.lang-switch button[aria-pressed="true"] { background: var(--g-surface-2); color: var(--g-ink); }

.g-hero { padding: var(--s5) var(--s5) var(--s4); }
.g-greet { font-family: var(--font-display); font-size: 34px; line-height: 1.06; letter-spacing: -0.015em; text-wrap: balance; }
.g-greet em { font-style: italic; color: var(--g-accent); }
.g-stay { margin-top: var(--s3); color: var(--g-muted); font-size: 13px; }

.g-rule { height: 1px; background: var(--g-line); margin: var(--s4) var(--s5) 0; }

.chips { display: flex; gap: var(--s2); overflow-x: auto; padding: var(--s4) var(--s5); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--g-line); color: var(--g-ink-2);
  font-size: 13px; font-weight: 500; white-space: nowrap;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.chip[aria-pressed="true"] { background: var(--g-ink); color: var(--g-bg); border-color: var(--g-ink); font-weight: 600; }

.fac-list { display: flex; flex-direction: column; gap: var(--s5); padding: 0 var(--s5) var(--s7); }

.fac-card {
  display: block; width: 100%; text-align: left;
  border-radius: 16px; overflow: hidden;
  background: var(--g-surface); border: 1px solid var(--g-line);
  transition: transform var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease);
}
.fac-card:hover { transform: translateY(-2px); border-color: oklch(0.40 0.03 45); }
.fac-art { height: 148px; position: relative; overflow: hidden; background: var(--g-surface-2); }
.fac-art .art, .fac-art img { width: 100%; height: 100%; object-fit: cover; }
.fac-art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--g-surface) 2%, transparent 62%);
}
.fac-body { padding: var(--s4) var(--s4) var(--s4); }
.fac-name { font-family: var(--font-display); font-size: 23px; line-height: 1.15; letter-spacing: -0.005em; }
.fac-tag { color: var(--g-muted); font-size: 13px; margin-top: 3px; }
.fac-meta {
  display: flex; align-items: baseline; gap: var(--s2);
  margin-top: var(--s3); padding-top: var(--s3);
  border-top: 1px solid var(--g-line);
  font-size: 13px; color: var(--g-muted);
}
.fac-price { color: var(--g-accent); font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.fac-meta .dot { color: var(--g-line); }

/* header layar detail */
.g-head {
  position: relative; height: 232px; overflow: hidden;
  border-bottom: 1px solid var(--g-line); background: var(--g-surface-2);
}
.g-head .art, .g-head img { width: 100%; height: 100%; object-fit: cover; }
.g-head::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--g-bg) 0%, transparent 70%);
}
.g-back {
  position: absolute; top: var(--s4); left: var(--s4); z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(12, 10, 9, 0.62); backdrop-filter: blur(8px);
  border: 1px solid var(--g-line);
  display: grid; place-items: center; color: var(--g-ink);
}
.g-title { font-family: var(--font-display); font-size: 30px; line-height: 1.1; letter-spacing: -0.012em; text-wrap: balance; }
.g-sub { color: var(--g-ink-2); font-size: 14.5px; margin-top: var(--s2); }
.g-desc { color: var(--g-ink-2); font-size: 15px; margin-top: var(--s4); max-width: 62ch; text-wrap: pretty; }

.g-section { padding: var(--s6) var(--s5) 0; }
/* Label kelompok form. Sengaja sentence case: eyebrow huruf kapital kecil
   di atas tiap bagian adalah pola yang paling cepat membuat layar terasa templat. */
.g-section h3 {
  margin: 0 0 var(--s3); font-size: 13.5px; font-weight: 600;
  letter-spacing: 0; color: var(--g-muted);
}

.date-row { display: flex; gap: var(--s2); overflow-x: auto; padding-bottom: var(--s2); scrollbar-width: none; }
.date-row::-webkit-scrollbar { display: none; }
.date-btn {
  flex: 0 0 auto; width: 58px; padding: 10px 0; border-radius: 12px;
  border: 1px solid var(--g-line); text-align: center; color: var(--g-ink-2);
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.date-btn small { display: block; font-size: 11px; color: var(--g-muted); letter-spacing: 0.04em; }
.date-btn b { display: block; font-size: 18px; font-weight: 600; margin-top: 2px; font-variant-numeric: tabular-nums; }
.date-btn[aria-pressed="true"] { background: var(--g-accent); border-color: var(--g-accent); color: var(--g-on-accent); }
.date-btn[aria-pressed="true"] small { color: var(--g-on-accent); opacity: 0.75; }

.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
.slot {
  padding: 11px 4px; border-radius: 12px; border: 1px solid var(--g-line);
  text-align: center; font-variant-numeric: tabular-nums;
  font-size: 15px; font-weight: 600; color: var(--g-ink);
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.slot small { display: block; font-size: 10.5px; font-weight: 500; color: var(--g-muted); letter-spacing: 0.02em; margin-top: 2px; }
.slot:hover:not(:disabled) { border-color: var(--g-accent); }
.slot[aria-pressed="true"] { background: var(--g-accent); border-color: var(--g-accent); color: var(--g-on-accent); }
.slot[aria-pressed="true"] small { color: var(--g-on-accent); opacity: 0.8; }
.slot:disabled { color: oklch(0.44 0.008 55); border-style: dashed; border-color: oklch(0.27 0.008 45); cursor: not-allowed; }
.slot:disabled small { color: oklch(0.44 0.008 55); }

.svc {
  display: flex; gap: var(--s4); width: 100%; text-align: left;
  padding: var(--s4) 0; border-bottom: 1px solid var(--g-line);
}
.svc:last-of-type { border-bottom: 0; }
.svc-main { flex: 1; min-width: 0; }
.svc-name { font-size: 16px; font-weight: 600; }
.svc-note { color: var(--g-muted); font-size: 13px; margin-top: 2px; }
.svc-right { text-align: right; flex: 0 0 auto; }
.svc-price { color: var(--g-accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.svc-dur { color: var(--g-muted); font-size: 12.5px; margin-top: 2px; }
.svc[aria-pressed="true"] .svc-name::after {
  content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--g-accent); margin-left: 8px; vertical-align: middle;
}

.pick-row { display: flex; gap: var(--s2); flex-wrap: wrap; }
.pick {
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--g-line);
  font-size: 13.5px; color: var(--g-ink-2);
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.pick[aria-pressed="true"] { background: var(--g-surface-2); border-color: var(--g-accent); color: var(--g-ink); }
.pick:disabled { opacity: 0.35; cursor: not-allowed; }

.ses {
  display: flex; align-items: center; gap: var(--s4); width: 100%; text-align: left;
  padding: var(--s4); border-radius: 14px; border: 1px solid var(--g-line);
  margin-bottom: var(--s2); background: var(--g-surface);
  transition: border-color var(--t-fast) var(--ease);
}
.ses[aria-pressed="true"] { border-color: var(--g-accent); background: var(--g-surface-2); }
.ses:disabled { opacity: 0.5; cursor: not-allowed; }
.ses-time { font-variant-numeric: tabular-nums; font-size: 19px; font-weight: 600; flex: 0 0 auto; width: 62px; }
.ses-main { flex: 1; min-width: 0; }
.ses-name { font-size: 15px; font-weight: 600; }
.ses-sub { color: var(--g-muted); font-size: 12.5px; margin-top: 1px; }
.seat-bar { height: 4px; border-radius: 2px; background: var(--g-line); margin-top: 7px; overflow: hidden; }
.seat-bar i { display: block; height: 100%; background: var(--g-accent); }

.stepper { display: flex; align-items: center; gap: var(--s4); }
.stepper button {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--g-line);
  font-size: 20px; color: var(--g-ink); display: grid; place-items: center;
}
.stepper button:disabled { opacity: 0.3; cursor: not-allowed; }
.stepper b { font-size: 19px; font-weight: 600; min-width: 34px; text-align: center; font-variant-numeric: tabular-nums; }

.menu-item { display: flex; align-items: flex-start; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--g-line); }
.menu-item:last-child { border-bottom: 0; }
.mi-main { flex: 1; min-width: 0; }
.mi-name { font-size: 15.5px; font-weight: 600; }
.mi-note { color: var(--g-muted); font-size: 12.5px; margin-top: 2px; }
.mi-price { color: var(--g-accent); font-weight: 600; font-size: 14px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.mi-add {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--g-line); color: var(--g-ink); font-size: 19px; display: grid; place-items: center;
}
.mi-qty { display: flex; align-items: center; gap: 10px; }
.mi-qty b { font-variant-numeric: tabular-nums; min-width: 16px; text-align: center; }

.g-field { margin-bottom: var(--s4); }
.g-field label { display: block; font-size: 12.5px; color: var(--g-muted); margin-bottom: 6px; letter-spacing: 0.02em; }
.g-input, .g-area {
  width: 100%; padding: 13px var(--s4); border-radius: 12px;
  background: var(--g-surface-2); border: 1px solid var(--g-line); color: var(--g-ink);
  font-size: 15.5px; font-family: inherit;
}
.g-area { min-height: 84px; resize: none; line-height: 1.5; }
.g-input::placeholder, .g-area::placeholder { color: var(--g-muted); }
.g-input:focus, .g-area:focus { border-color: var(--g-accent); outline: none; }

.notice {
  padding: var(--s4); border-radius: 12px; background: var(--g-surface);
  border: 1px solid var(--g-line); color: var(--g-ink-2); font-size: 13.5px; line-height: 1.5;
}
.notice b { color: var(--g-ink); font-weight: 600; }

.g-foot {
  padding: var(--s4) var(--s5) calc(var(--s4) + 6px);
  border-top: 1px solid var(--g-line);
  background: rgba(20, 17, 15, 0.86);
  backdrop-filter: blur(14px);
  display: flex; align-items: center; gap: var(--s4);
}
.g-foot-price { flex: 1; min-width: 0; }
.g-foot-price small { display: block; color: var(--g-muted); font-size: 11.5px; }
.g-foot-price b { font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; }

.btn-primary {
  padding: 14px var(--s6); border-radius: 999px;
  background: var(--g-accent); color: var(--g-on-accent);
  font-weight: 700; font-size: 15px; letter-spacing: 0.005em;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn-primary:hover { background: var(--g-accent-hi); }
.btn-primary:active { transform: scale(0.985); }
.btn-primary:disabled { background: var(--g-surface-2); color: var(--g-muted); cursor: not-allowed; }
.btn-wide { width: 100%; text-align: center; }
.btn-quiet {
  width: 100%; padding: 13px; border-radius: 999px; border: 1px solid var(--g-line);
  color: var(--g-ink-2); font-weight: 600; font-size: 14.5px;
}
.btn-quiet:hover { border-color: var(--g-ink-2); color: var(--g-ink); }

.paychoice {
  display: block; width: 100%; text-align: left; padding: var(--s4);
  border-radius: 14px; border: 1px solid var(--g-line); background: var(--g-surface);
  margin-bottom: var(--s2);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.paychoice[aria-pressed="true"] { border-color: var(--g-accent); background: var(--g-surface-2); }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.pc-name { font-size: 15.5px; font-weight: 600; }
.pc-sub { color: var(--g-muted); font-size: 12.5px; margin-top: 2px; }
.radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--g-line); flex: 0 0 auto; display: grid; place-items: center; }
.paychoice[aria-pressed="true"] .radio { border-color: var(--g-accent); }
.paychoice[aria-pressed="true"] .radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--g-accent); }

.sumline { display: flex; justify-content: space-between; gap: var(--s4); padding: 7px 0; font-size: 14px; color: var(--g-ink-2); }
.sumline span:last-child { font-variant-numeric: tabular-nums; }
.sumline.total { border-top: 1px solid var(--g-line); margin-top: var(--s2); padding-top: var(--s3); color: var(--g-ink); font-size: 17px; font-weight: 600; }

.g-nav {
  display: flex; border-top: 1px solid var(--g-line);
  background: var(--g-bg);
}
.g-nav button {
  flex: 1; padding: 11px 0 16px; display: flex; flex-direction: column;
  align-items: center; gap: 4px; color: var(--g-muted); font-size: 11px; font-weight: 600;
  letter-spacing: 0.02em;
}
.g-nav button[aria-current="page"] { color: var(--g-accent); }
.g-nav svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.6; }

.order-card {
  width: 100%; text-align: left; padding: var(--s4);
  border-radius: 14px; border: 1px solid var(--g-line); background: var(--g-surface);
  margin-bottom: var(--s3);
}
.oc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s3); }
.oc-name { font-family: var(--font-display); font-size: 20px; line-height: 1.2; }
.oc-when { color: var(--g-ink-2); font-size: 13.5px; margin-top: 3px; font-variant-numeric: tabular-nums; }
.oc-foot { display: flex; justify-content: space-between; align-items: center; margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--g-line); font-size: 13px; color: var(--g-muted); }
.oc-foot b { color: var(--g-ink); font-variant-numeric: tabular-nums; font-weight: 600; }

.tag {
  flex: 0 0 auto; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600;
  border: 1px solid; letter-spacing: 0.01em; white-space: nowrap;
}
.tag.ok { color: var(--g-ok); border-color: color-mix(in oklch, var(--g-ok) 40%, transparent); }
.tag.wait { color: var(--g-wait); border-color: color-mix(in oklch, var(--g-wait) 40%, transparent); }
.tag.mute { color: var(--g-muted); border-color: var(--g-line); }

.empty { text-align: center; padding: var(--s9) var(--s6); color: var(--g-muted); }
.empty h3 { font-family: var(--font-display); font-size: 24px; color: var(--g-ink); margin: 0 0 var(--s2); }
.empty p { font-size: 14px; margin: 0 auto; max-width: 30ch; line-height: 1.55; }

/* sukses */
.success { text-align: center; padding: var(--s9) var(--s5) var(--s6); }
.tick { width: 68px; height: 68px; margin: 0 auto var(--s5); border-radius: 50%; border: 1.5px solid var(--g-accent); display: grid; place-items: center; }
.tick svg { width: 30px; height: 30px; stroke: var(--g-accent); fill: none; stroke-width: 2; }
.success h2 { font-family: var(--font-display); font-size: 30px; margin: 0 0 var(--s2); }
.success p { color: var(--g-ink-2); font-size: 14.5px; margin: 0 auto; max-width: 32ch; }
.codebox {
  margin: var(--s6) auto 0; padding: var(--s4); max-width: 260px;
  border: 1px dashed var(--g-line); border-radius: 12px;
}
.codebox small { display: block; color: var(--g-muted); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.codebox b { display: block; font-size: 22px; font-weight: 600; letter-spacing: 0.04em; margin-top: 4px; font-variant-numeric: tabular-nums; }

/* verifikasi */
.verify { display: flex; flex-direction: column; height: 100%; padding: var(--s8) var(--s6) var(--s6); }
.verify-art { flex: 1; display: grid; place-items: center; min-height: 0; }
.verify-art svg { width: 148px; height: 148px; opacity: 0.9; }
.verify h1 { font-family: var(--font-display); font-size: 32px; line-height: 1.1; margin: 0 0 var(--s3); text-wrap: balance; }
.verify p { color: var(--g-ink-2); font-size: 14.5px; margin: 0 0 var(--s6); }
.verify .fine { color: var(--g-muted); font-size: 12.5px; text-align: center; margin: var(--s4) 0 0; }

/* sheet */
.sheet-back {
  position: absolute; inset: 0; z-index: var(--z-backdrop);
  background: rgba(6, 5, 4, 0.6); backdrop-filter: blur(3px);
  animation: fade var(--t-mid) var(--ease);
}
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: var(--z-modal);
  background: var(--g-surface); border-top: 1px solid var(--g-line);
  border-radius: 22px 22px 0 0; padding: var(--s5) var(--s5) var(--s6);
  animation: rise var(--t-slow) var(--ease);
  max-height: 82%; overflow-y: auto;
}
.sheet-grip { width: 38px; height: 4px; border-radius: 2px; background: var(--g-line); margin: 0 auto var(--s5); }
.sheet h3 { font-family: var(--font-display); font-size: 24px; margin: 0 0 var(--s3); }
.sheet p { color: var(--g-ink-2); font-size: 14.5px; margin: 0 0 var(--s5); }

@keyframes rise { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes upIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.screen-in { animation: slideIn var(--t-mid) var(--ease); }
.stagger > * { animation: upIn var(--t-mid) var(--ease) backwards; }
.stagger > *:nth-child(1) { animation-delay: 0ms; }
.stagger > *:nth-child(2) { animation-delay: 26ms; }
.stagger > *:nth-child(3) { animation-delay: 52ms; }
.stagger > *:nth-child(4) { animation-delay: 78ms; }
.stagger > *:nth-child(5) { animation-delay: 104ms; }
.stagger > *:nth-child(6) { animation-delay: 130ms; }
.stagger > *:nth-child(n+7) { animation-delay: 156ms; }

/* toast whatsapp */
.wa-toast {
  position: absolute; left: var(--s4); right: var(--s4); top: var(--s4); z-index: var(--z-toast);
  background: #0f1a14; border: 1px solid #1f3a2c; border-radius: 14px;
  padding: var(--s3) var(--s4); display: flex; gap: var(--s3); align-items: flex-start;
  animation: upIn var(--t-mid) var(--ease);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8);
}
.wa-toast .wa-ic { width: 30px; height: 30px; border-radius: 50%; background: #25d366; display: grid; place-items: center; flex: 0 0 auto; }
.wa-toast .wa-ic svg { width: 17px; height: 17px; fill: #0f1a14; }
.wa-toast b { display: block; font-size: 13px; }
.wa-toast span { display: block; color: var(--g-ink-2); font-size: 12.5px; line-height: 1.4; margin-top: 1px; }

/* QRIS palsu */
.qris { width: 168px; height: 168px; margin: 0 auto var(--s4); background: #fff; border-radius: 12px; padding: 10px; }
.qris svg { width: 100%; height: 100%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 120ms !important; }
  .screen-in, .stagger > * { animation: fade 120ms linear backwards; }
  .sheet { animation: fade 120ms linear; }
}
