/* demo.css — SHARED hero POS demo styles.
   Extracted verbatim from css/hero.css + css/demo-misc.css (.pos-*,
   .screen-views, .sv* rules). Loaded by BOTH the new page and legacy
   so the FIRST hero demo renders identically. Do not re-author. */


/* ===== from css/hero.css ===== */
.pos-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 560px; height: 680px;
  background: radial-gradient(ellipse at center, rgba(200,205,215,0.12) 0%, transparent 58%);
  pointer-events: none;
  z-index: 0;
}
.pos-glow-floor {
  position: absolute;
  bottom: -60px; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 44px;
  background: rgba(160,165,180,0.18);
  filter: blur(32px);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
/* ═══════════════════════════════════════════════════════
   DEVICE FRAME — white POS terminal (Hardware.png reference)
═══════════════════════════════════════════════════════ */
.pos-device {
  position: relative;
  z-index: 1;
  width: 310px;
  aspect-ratio: 9 / 19.5;
  background: linear-gradient(170deg, #f4f5f7 0%, #eceef2 45%, #e4e6ea 100%);
  border-radius: 42px;
  transform: rotate(-2deg);
  box-shadow:
    inset 0 0 0 1px  rgba(255,255,255,0.9),
    inset 0 1px 0    rgba(255,255,255,1),
    inset 0 -1px 0   rgba(0,0,0,0.08),
    0 0 0 1px        rgba(0,0,0,0.14),
    0 4px 12px       rgba(0,0,0,0.10),
    0 18px 48px      rgba(0,0,0,0.16),
    0 0 80px         rgba(0,0,0,0.06);
}
.pos-device::before {
  content: '';
  position: absolute;
  left: -3px; top: 22%;
  width: 3px; height: 28px;
  background: linear-gradient(to right, #c8cace, #d4d6da);
  border-radius: 3px 0 0 3px;
  box-shadow: 0 42px 0 0 #caccce;
}
.pos-device::after {
  content: '';
  position: absolute;
  right: -3px; top: 30%;
  width: 3px; height: 58px;
  background: linear-gradient(to left, #c8cace, #d4d6da);
  border-radius: 0 3px 3px 0;
}
/* SCREEN SHELL — white background, rounded */
.pos-screen {
  position: absolute;
  top: 9px; left: 9px; right: 9px; bottom: 9px;
  background: #FFFFFF;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  --text:   #0A101E;
  --muted:  #64748B;
  --dim:    #94A3B8;
  --border: rgba(0,0,0,0.08);
}
/* Front camera — small punch-hole circle (Hardware.png reference) */
.pos-island {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  background: radial-gradient(circle at 35% 35%, #3a3a3c, #111112);
  border-radius: 50%;
  z-index: 30;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.18), inset 0 1px 2px rgba(0,0,0,0.5);
}
/* Status bar */
.pos-statusbar {
  height: 54px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 22px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #0A101E;
  position: relative;
  z-index: 5;
  font-family: var(--mono);
  background: #FFFFFF;
}
.pos-statusbar-icons { display: flex; align-items: center; gap: 5px; }
/* App header */
.pos-appheader {
  padding: 8px 16px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  flex-shrink: 0;
  background: #FFFFFF;
}
.pos-appheader-left { display: flex; align-items: center; gap: 8px; }
.pos-appheader-logo img { height: 20px; display: block; }
.pos-appheader-sep { width: 1px; height: 18px; background: rgba(0,0,0,0.1); }
.pos-session-name {
  font-family: var(--mono);
  font-size: 11px; font-weight: 700;
  color: #0A101E; letter-spacing: 0.04em;
}
.pos-session-sub { font-size: 9px; color: #94A3B8; margin-top: 1px; font-family: var(--mono); }
.pos-live {
  display: flex; align-items: center; gap: 4px;
  font-family: var(--mono); font-size: 9px; font-weight: 700;
  color: var(--green); letter-spacing: 0.12em;
}
.pos-live-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: livePulse 1.6s ease infinite;
}
/* Progress bar */
.pos-progress-wrap { height: 2px; background: rgba(0,0,0,0.05); flex-shrink: 0; overflow: hidden; }
.pos-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--green) 100%);
  transition: width 0.55s cubic-bezier(0.4,0,0.2,1);
  border-radius: 0 1px 1px 0;
}
/* ════════════════════════════════════════
   SCREEN VIEWS — 7 cycling screens
════════════════════════════════════════ */
.screen-views { flex: 1; position: relative; overflow: hidden; background: #FFFFFF; }
.sv {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 10px 14px 28px;
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
  will-change: opacity;
  background: #FFFFFF;
}
.sv.active { opacity: 1; pointer-events: auto; }
.sv-step {
  font-family: var(--mono);
  font-size: 8px; font-weight: 700;
  color: #94A3B8; letter-spacing: 0.1em;
  margin-bottom: 8px; text-align: right;
}
.sv-header { margin-bottom: 10px; }
.sv-title { font-size: 13px; font-weight: 700; color: #0A101E; letter-spacing: -0.3px; }
.sv-sub { font-size: 10px; color: #64748B; margin-top: 2px; font-family: var(--mono); }
/* ─── SCREEN 1: SELECT TABLE ─── */
.sv-table-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px; flex: 1; align-content: start; padding-top: 4px;
}
.sv-table-cell {
  aspect-ratio: 1.4;
  border-radius: 9px;
  border: 1.5px solid rgba(0,0,0,0.1);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  color: #64748B; background: #F8FAFC;
}
.sv-table-cell.sel {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 4px 14px rgba(91,115,240,0.35);
  animation: tablePulse 1.8s ease infinite;
}
.sv-table-cell.occ {
  background: rgba(245,158,11,0.07); border-color: rgba(245,158,11,0.25);
  color: var(--amber); font-size: 8px;
}
.sv-selection-note {
  font-family: var(--mono); font-size: 9px; color: var(--accent);
  letter-spacing: 0.03em; padding-top: 8px;
}
/* ─── SCREEN 2: POS MENU ─── */
.sv-cat-tabs {
  display: flex;
  border-bottom: 1.5px solid rgba(0,0,0,0.08);
  margin-bottom: 8px; flex-shrink: 0;
}
.sv-cat-tab {
  padding: 5px 11px 6px;
  font-size: 10px; font-weight: 600;
  color: #94A3B8; cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1.5px;
  font-family: inherit; white-space: nowrap;
  border-radius: 6px 6px 0 0;
  transition: background 0.18s ease, color 0.18s ease;
}
.sv-cat-tab.sel {
  color: var(--accent); border-bottom-color: var(--accent); font-weight: 700;
  background: rgba(91,115,240,0.06);
}
.sv-menu-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5px; flex: 1; align-content: start; overflow: hidden;
}
.sv-menu-item {
  padding: 8px 9px;
  background: #F8FAFC;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  position: relative; cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.sv-menu-item.sel {
  background: rgba(91,115,240,0.07);
  border-color: rgba(91,115,240,0.35);
  box-shadow: 0 2px 8px rgba(91,115,240,0.12);
}
.sv-menu-name { font-size: 9.5px; font-weight: 700; color: #0A101E; margin-bottom: 3px; letter-spacing: -0.1px; line-height: 1.25; }
.sv-menu-price { font-family: var(--mono); font-size: 9px; color: #64748B; }
.sv-menu-qty {
  position: absolute; top: 5px; right: 5px;
  min-width: 16px; height: 16px; padding: 0 3px;
  background: var(--accent); color: #fff;
  font-size: 8px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  border-radius: 4px;
}
.sv-order-strip {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0 0;
  border-top: 1.5px solid rgba(0,0,0,0.08);
  flex-shrink: 0; margin-top: auto;
}
.sv-strip-count { font-size: 9px; color: #94A3B8; font-family: var(--mono); margin-bottom: 1px; }
.sv-strip-total { font-size: 12px; font-weight: 800; color: #0A101E; font-family: var(--mono); letter-spacing: -0.5px; }
.sv-strip-btn {
  padding: 7px 13px;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer; font-family: inherit;
  display: flex; align-items: center; gap: 4px;
}
/* ─── SCREEN 2: COMBINED ORDER — panel switching ─── */
.sv-menu-panel { display: none; flex: 1; overflow: hidden; }
#sv-2[data-cat="burgers"] .sv-menu-panel[data-panel="burgers"],
#sv-2[data-cat="sides"] .sv-menu-panel[data-panel="sides"],
#sv-2[data-cat="drinks"] .sv-menu-panel[data-panel="drinks"] { display: block; }
/* Tab auto-highlighting via data-cat (no .sel needed on tabs) */
#sv-2[data-cat="burgers"] .sv-cat-tab:nth-child(1),
#sv-2[data-cat="sides"] .sv-cat-tab:nth-child(2),
#sv-2[data-cat="drinks"] .sv-cat-tab:nth-child(3) {
  color: var(--accent); border-bottom-color: var(--accent); font-weight: 700;
  background: rgba(91,115,240,0.06);
}
/* Order strip smooth appear */
#sv-2 .sv-order-strip { transition: opacity 0.2s ease; }
/* ─── SCREEN 3: SYNCING ─── */
.sv-center {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 11px; text-align: center; padding-bottom: 12px;
}
.sv-cloud-wrap {
  width: 58px; height: 58px;
  background: rgba(91,115,240,0.06);
  border: 1.5px solid rgba(91,115,240,0.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: cloudPulse 1.8s ease infinite;
}
.sv-sync-title { font-size: 14px; font-weight: 700; color: #0A101E; }
.sv-sync-sub { font-size: 10px; color: #64748B; font-family: var(--mono); }
.sv-sync-dots { display: flex; gap: 5px; }
.sv-sync-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  animation: dotBounce 1.2s ease infinite;
}
.sv-sync-dot:nth-child(2) { animation-delay: 0.18s; }
.sv-sync-dot:nth-child(3) { animation-delay: 0.36s; }
.sv-order-tag {
  font-family: var(--mono); font-size: 9px; color: #64748B;
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid rgba(0,0,0,0.1);
  background: #F8FAFC;
}
/* ─── SCREEN 4: ORDER READY ─── */
.sv-check-wrap {
  width: 60px; height: 60px;
  background: rgba(16,185,129,0.07);
  border: 2px solid rgba(16,185,129,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: checkGlow 2s ease infinite;
}
.sv-ready-title { font-size: 15px; font-weight: 800; color: #0A101E; }
.sv-ready-sub { font-size: 10px; color: #64748B; font-family: var(--mono); }
.sv-served-list {
  display: flex; flex-direction: column; gap: 6px;
  width: 100%; margin-top: 4px;
  background: #F8FAFC;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 8px 10px;
}
.sv-served-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 10px; font-weight: 600; color: #0A101E;
}
.sv-served-check {
  width: 14px; height: 14px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
/* ─── SCREEN 5: BILL ─── */
.sv-bill-rows { flex: 1; display: flex; flex-direction: column; }
.sv-bill-row {
  display: flex; justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  font-size: 10px;
}
.sv-bill-row .name { color: #0A101E; }
.sv-bill-row .amt { font-family: var(--mono); color: #64748B; font-size: 10px; }
.sv-bill-row.vat { opacity: 0.6; }
.sv-bill-total {
  display: flex; justify-content: space-between;
  padding: 8px 0 0; font-size: 12px; font-weight: 800;
  border-top: 1.5px solid rgba(0,0,0,0.1); margin-top: 2px;
}
.sv-bill-total .name { color: #0A101E; }
.sv-bill-total .amt { font-family: var(--mono); color: var(--green); }
/* ─── RECEIPT OPTIONS (Step 6 addon) ─── */
.sv-ro {
  display: flex; flex-direction: column; align-items: center;
  margin: 10px 0 4px;
}
/* QR area — primary, centered */
.sv-ro-qr-area {
  display: flex; flex-direction: column; align-items: center;
  flex: 1; justify-content: center;
  padding: 4px 0 6px;
}
.sv-ro-qr-frame {
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px; overflow: hidden;
  box-shadow: 0 0 0 3px #F1F5F9;
}
.sv-ro-qr { width: 100%; height: 100%; display: block; }
.sv-ro-caption {
  font-size: 7.5px; color: #94A3B8; text-align: center;
  margin-top: 5px; line-height: 1.25;
}
/* Print — secondary full-width button */
.sv-ro-print-btn {
  width: 100%; padding: 8px; border: none;
  border-radius: 10px;
  font-size: 11px; font-weight: 700;
  cursor: pointer; font-family: 'Inter', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  background: transparent; color: #64748B;
  border: 1px solid rgba(0,0,0,0.1);
  transition: background 0.15s, border-color 0.15s;
}
.sv-ro-print-btn:hover { background: #F8FAFC; border-color: rgba(0,0,0,0.16); }
.sv-ro-print-btn:active { background: #F1F5F9; }
/* Subtle inline feedback */
.sv-ro-feedback {
  font-size: 8px; color: #94A3B8; text-align: center;
  height: 12px; line-height: 12px;
  opacity: 0; transition: opacity 0.2s;
}
.sv-ro-feedback.visible { opacity: 1; color: #10B981; }
/* ─── SCREEN 7 (new): ORDER CLOSED — minimal done state ─── */
.sv-done-ring {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(16,185,129,0.08);
  border: 2px solid rgba(16,185,129,0.28);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sv-done-label {
  font-family: var(--mono); font-size: 9px; font-weight: 700;
  color: #10B981; letter-spacing: 0.12em; text-transform: uppercase;
  margin-top: 10px;
}
.sv-done-amount {
  font-family: var(--mono); font-size: 22px; font-weight: 900;
  color: #0A101E; letter-spacing: -1px; line-height: 1;
  margin-top: 2px;
}
.sv-done-ref {
  font-family: var(--mono); font-size: 8px; color: #94A3B8;
  letter-spacing: 0.04em; margin-top: 4px; margin-bottom: 16px;
}
.sv-done-rows {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 8px;
  overflow: hidden;
}
.sv-done-row {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 10px; font-weight: 600; color: #334155;
}
.sv-done-row:last-child { border-bottom: none; }
.sv-done-tick {
  width: 16px; height: 16px;
  border-radius: 4px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sv-done-sub { font-size: 9px; color: #94A3B8; font-family: var(--mono); margin-top: 1px; }
/* ═══════════════════════════════════════════════════════
   STEP 7: PRE-PAYMENT SUB-STAGE SWITCHING
═══════════════════════════════════════════════════════ */

/* All pay stages hidden by default */
.sv-pay-stage { display: none; flex-direction: column; flex: 1; overflow: hidden; }
/* ── Payment Method Buttons ── */
.sv-pm-list { display: flex; flex-direction: column; gap: 8px; padding: 0 2px; }
.sv-pm-btn {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.08); border-radius: 12px;
  background: #FAFBFC; cursor: pointer;
  transition: all 0.15s ease;
  font-family: 'Inter', sans-serif; text-align: left;
}
.sv-pm-btn:hover { background: #F1F5F9; border-color: rgba(91,115,240,0.25); }
.sv-pm-btn:active { transform: scale(0.98); }
.sv-pm-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(91,115,240,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
}
.sv-pm-label { flex: 1; min-width: 0; }
.sv-pm-name { font-size: 12px; font-weight: 700; color: #0F172A; }
.sv-pm-arrow { font-size: 18px; color: #CBD5E1; font-weight: 300; }
/* ── Tip Selection ── */
.sv-tip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 2px; }
.sv-tip-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 10px 6px; border: 1px solid rgba(0,0,0,0.08); border-radius: 10px;
  background: #FAFBFC; cursor: pointer;
  transition: all 0.15s ease;
  font-family: 'Inter', sans-serif;
}
.sv-tip-btn:hover { border-color: rgba(91,115,240,0.25); background: #F1F5F9; }
.sv-tip-btn.sel {
  background: rgba(91,115,240,0.08); border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.sv-tip-pct { font-size: 13px; font-weight: 700; color: #0F172A; }
.sv-tip-btn.sel .sv-tip-pct { color: var(--accent); }
.sv-tip-amt { font-size: 9px; color: #94A3B8; margin-top: 2px; font-family: var(--mono); }
.sv-tip-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 6px 0; margin-top: 8px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.sv-tip-total-label { font-size: 10px; color: #64748B; font-weight: 600; }
.sv-tip-total-amt { font-size: 13px; font-weight: 800; color: #0F172A; font-family: var(--mono); }
.sv-tip-actions { margin-top: auto; padding-top: 8px; flex-shrink: 0; }
/* ── Back Button ── */
.sv-pay-back {
  display: block; width: 100%;
  padding: 6px; margin-top: 4px;
  background: none; border: none; cursor: pointer;
  font-size: 10px; font-weight: 600; color: #94A3B8;
  font-family: 'Inter', sans-serif;
  transition: color 0.15s;
}
.sv-pay-back:hover { color: #64748B; }
/* ── Split Options ── */
.sv-split-list { display: flex; flex-direction: column; gap: 8px; padding: 0 2px; }
.sv-split-btn {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 14px;
  border: 1px solid rgba(0,0,0,0.08); border-radius: 12px;
  background: #FAFBFC; cursor: pointer;
  transition: all 0.15s ease;
  font-family: 'Inter', sans-serif; text-align: left;
}
.sv-split-btn:hover { background: #F1F5F9; border-color: rgba(91,115,240,0.25); }
.sv-split-btn:active { transform: scale(0.98); }
.sv-split-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(91,115,240,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: var(--accent); flex-shrink: 0;
}
.sv-split-label { font-size: 11px; font-weight: 600; color: #0F172A; line-height: 1.4; }
.sv-split-per { font-size: 9px; font-weight: 400; color: #94A3B8; font-family: var(--mono); }
/* ── Split Detail ── */
.sv-sd-rows { display: flex; flex-direction: column; gap: 4px; padding: 0 2px; }
.sv-sd-row {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 10px;
  background: #FAFBFC; border: 1px solid rgba(0,0,0,0.05);
  font-size: 11px;
}
.sv-sd-guest { font-weight: 700; color: #0F172A; flex: 1; }
.sv-sd-amt { font-family: var(--mono); font-weight: 600; color: #334155; font-size: 11px; }
.sv-sd-current { font-size: 8px; font-weight: 700; color: var(--accent); }
.sv-sd-pending { font-size: 8px; color: #CBD5E1; }
/* ── Cash Flow ── */
.sv-cash-display { display: flex; flex-direction: column; gap: 6px; padding: 0 2px; }
.sv-cash-due, .sv-cash-tendered, .sv-cash-change {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px; border-radius: 8px;
  background: #FAFBFC; border: 1px solid rgba(0,0,0,0.05);
}
.sv-cash-lbl { font-size: 10px; font-weight: 600; color: #64748B; }
.sv-cash-val { font-size: 14px; font-weight: 800; color: #0F172A; font-family: var(--mono); }
.sv-cash-green { color: var(--green); }
.sv-cash-change { background: rgba(16,185,129,0.05); border-color: rgba(16,185,129,0.15); }
.sv-cash-quicks {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px;
  padding: 10px 2px 0;
}
.sv-cash-quick {
  padding: 8px 4px; border: 1px solid rgba(0,0,0,0.08); border-radius: 8px;
  background: #FAFBFC; cursor: pointer;
  font-size: 10px; font-weight: 700; color: #334155;
  font-family: var(--mono);
  transition: all 0.12s;
}
.sv-cash-quick:hover { background: #F1F5F9; border-color: rgba(91,115,240,0.2); }
.sv-cash-quick:active { transform: scale(0.96); }
/* ── Split by Guests — Stepper ── */
.sv-sg-input-wrap { text-align: center; padding: 0 2px; }
.sv-sg-label { font-size: 10px; font-weight: 600; color: #64748B; display: block; margin-bottom: 8px; }
.sv-sg-stepper {
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.sv-sg-step-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1); background: #FAFBFC;
  font-size: 16px; font-weight: 700; color: #334155;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.12s;
  font-family: 'Inter', sans-serif;
}
.sv-sg-step-btn:hover { background: #F1F5F9; border-color: rgba(91,115,240,0.25); }
.sv-sg-step-btn:active { transform: scale(0.93); }
.sv-sg-count { font-size: 28px; font-weight: 800; color: #0F172A; min-width: 32px; text-align: center; }
.sv-sg-preview {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; border-radius: 8px; margin-top: 12px;
  background: #FAFBFC; border: 1px solid rgba(0,0,0,0.05);
}
/* ── Split by Item — Checkbox rows ── */
.sv-si-list {
  display: flex; flex-direction: column; gap: 4px; padding: 0 2px;
  max-height: 140px; overflow-y: auto;
}
.sv-si-row {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 8px;
  background: #FAFBFC; border: 1px solid rgba(0,0,0,0.05);
  cursor: pointer; transition: background 0.12s;
}
.sv-si-row:hover { background: #F1F5F9; }
.sv-si-check {
  width: 16px; height: 16px; accent-color: var(--accent);
  cursor: pointer; flex-shrink: 0;
}
.sv-si-name { flex: 1; font-size: 11px; font-weight: 600; color: #0F172A; }
.sv-si-price { font-size: 10px; font-weight: 700; color: #334155; font-family: var(--mono); }
/* ── Cash Tip Input ── */
.sv-cash-tip-input { padding: 10px 2px 0; }
.sv-cash-tip-label { font-size: 10px; font-weight: 600; color: #64748B; display: block; margin-bottom: 4px; }
.sv-cash-tip-field {
  width: 100%; padding: 10px 12px; border: 1px solid rgba(0,0,0,0.1); border-radius: 10px;
  font-size: 14px; font-weight: 700; color: #0F172A;
  font-family: var(--mono); background: #FAFBFC;
  box-sizing: border-box; outline: none; transition: border-color 0.15s;
}
.sv-cash-tip-field:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(91,115,240,0.12); }
.sv-cash-tip-field::placeholder { color: #CBD5E1; font-weight: 400; }
/* ── Tip Custom Row ── */
.sv-tip-custom { padding: 6px 2px 0; }
/* ── Split type buttons (reuse pm-btn style) ── */
.sv-split-type-btn {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.08); border-radius: 12px;
  background: #FAFBFC; cursor: pointer;
  transition: all 0.15s ease;
  font-family: 'Inter', sans-serif; text-align: left;
}
.sv-split-type-btn:hover { background: #F1F5F9; border-color: rgba(91,115,240,0.25); }
.sv-split-type-btn:active { transform: scale(0.98); }
/* ═══════════════════════════════════════════════════════
   SCREEN 6 (new): PAYMENT — CARD TAP ANIMATION
═══════════════════════════════════════════════════════ */

/* Scene wrapper — clips the card entering/exiting */
.sv-7-scene {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
/* NFC reader pad — circular, centered in scene */
.sv-nfc-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
}
.sv-nfc-reader {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(91,115,240,0.05);
  border: 1.5px solid rgba(91,115,240,0.18);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
/* NFC ripple rings — expand on tap */
.sv-nfc-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(91,115,240,0.38);
  opacity: 0;
  pointer-events: none;
}
.sv-nfc-ring.r1 { inset: -6px; }
.sv-nfc-ring.r2 { inset: -15px; border-color: rgba(91,115,240,0.18); }
.sv-nfc-label {
  font-family: var(--mono);
  font-size: 7.5px;
  color: #94A3B8;
  letter-spacing: 0.07em;
  white-space: nowrap;
}
/* Animated credit card — absolute, positioned to animate through scene */
.sv-tap-card {
  position: absolute;
  top: 47%; left: 50%;
  width: 98px; height: 62px;
  /* Center the card (adjust for label offset) */
  transform: translate(calc(-50% + 160px), -50%) rotate(8deg);
  border-radius: 10px;
  background: linear-gradient(135deg, #1a1d2e 0%, #0d0f1a 55%, #13162a 100%);
  border: 1px solid rgba(255,255,255,0.13);
  padding: 7px 9px 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow:
    0 8px 28px rgba(0,0,0,0.5),
    0 2px 8px  rgba(91,115,240,0.1),
    inset 0 1px 0 rgba(255,255,255,0.07);
  opacity: 0;
  z-index: 3;
}
/* Card inner elements */
.sv-tc-row { display: flex; justify-content: space-between; align-items: center; }
.sv-tc-chip {
  width: 17px; height: 13px;
  background: linear-gradient(135deg, #c0a040, #eec860, #c0a040);
  border-radius: 3px;
}
.sv-tc-mc { display: flex; align-items: center; }
.sv-tc-mc-r {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #EB001B;
}
.sv-tc-mc-y {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #F79E1B;
  margin-left: -6px;
  opacity: 0.9;
}
.sv-tc-num {
  font-family: var(--mono);
  font-size: 6.5px;
  color: rgba(255,255,255,0.42);
  letter-spacing: 1.2px;
}
/* Payment success result — below scene, fades in after tap */
.sv-7-result {
  flex-shrink: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(0,0,0,0.07);
  opacity: 0;
}
/* Shared payment approved elements */
.sv-approved {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; font-size: 14px; font-weight: 800;
  color: var(--green); margin-bottom: 4px;
}
.sv-approved-ring {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(16,185,129,0.1);
  border: 1.5px solid rgba(16,185,129,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sv-txn-info {
  text-align: center; font-family: var(--mono);
  font-size: 9px; color: #64748B; line-height: 1.6; margin-bottom: 10px;
}
.sv-pci-badges { display: flex; justify-content: center; gap: 5px; }
.sv-pci-badge {
  padding: 3px 7px;
  border-radius: 5px;
  border: 1px solid rgba(0,0,0,0.12);
  font-family: var(--mono); font-size: 7px; font-weight: 700;
  color: #64748B; letter-spacing: 0.05em; background: #F8FAFC;
}
/* ── Playing class — applied by JS when screen 6 (payment) activates ── */
.sv-tap-card.playing {
  animation: sv7CardAnim 2.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.sv-nfc-ring.r1.playing {
  animation: sv7Ring1 2.8s ease forwards;
}
.sv-nfc-ring.r2.playing {
  animation: sv7Ring2 2.8s ease forwards;
}
.sv-7-result.playing {
  animation: sv7ResultIn 2.8s ease forwards;
}
/* Shared button — rounded inside terminal */
.sv-btn {
  width: 100%; padding: 10px; border: none;
  border-radius: 10px;
  font-size: 11px; font-weight: 700;
  cursor: pointer; font-family: 'Inter', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  flex-shrink: 0;
}
.sv-btn.blue { background: var(--accent); color: #fff; box-shadow: 0 3px 12px rgba(91,115,240,0.25); }
.sv-btn.green { background: var(--green);  color: #fff; box-shadow: 0 3px 12px rgba(16,185,129,0.3); }
/* ═══════════════════════════════════════════════════════
   HERO ANIMATION — sv-ha-* classes (non-interactive)
═══════════════════════════════════════════════════════ */

/* ── Method / Split type list ── */
.sv-ha-list {
  display: flex; flex-direction: column; gap: 6px;
  padding: 4px 0; flex: 1;
}
.sv-ha-btn {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.08); border-radius: 10px;
  background: #FAFBFC;
  font-size: 10px; font-weight: 600; color: #0F172A;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.sv-ha-btn.sel {
  background: rgba(91,115,240,0.08);
  border-color: rgba(91,115,240,0.35);
  box-shadow: 0 0 0 1px rgba(91,115,240,0.15), 0 2px 8px rgba(91,115,240,0.1);
}
.sv-ha-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(91,115,240,0.07);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
}
.sv-ha-btn.sel .sv-ha-icon { background: rgba(91,115,240,0.12); }
.sv-ha-arrow {
  margin-left: auto;
  font-size: 16px; color: #CBD5E1; font-weight: 300;
}
.sv-ha-btn.sel .sv-ha-arrow { color: var(--accent); }
/* ── Split item checkboxes ── */
.sv-ha-checks {
  display: flex; flex-direction: column; gap: 4px;
  padding: 2px 0; flex: 1;
}
.sv-ha-check {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #FAFBFC; border: 1px solid rgba(0,0,0,0.05);
  font-size: 10px;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.sv-ha-check.sel {
  background: rgba(91,115,240,0.08);
  border-color: rgba(91,115,240,0.3);
  box-shadow: 0 1px 6px rgba(91,115,240,0.1);
}
.sv-ha-cb {
  width: 15px; height: 15px; border-radius: 4px;
  background: var(--accent); color: #fff;
  font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sv-ha-cb-empty {
  width: 15px; height: 15px; border-radius: 4px;
  border: 1.5px solid rgba(0,0,0,0.15);
  background: #fff; flex-shrink: 0;
  box-sizing: border-box;
}
.sv-ha-name { flex: 1; font-weight: 600; color: #0F172A; }
.sv-ha-price {
  font-family: var(--mono); font-weight: 700; color: #334155;
  font-size: 10px; flex-shrink: 0;
}
/* ── Selected total ── */
.sv-ha-sel-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 10px; margin-top: 4px;
  border-top: 1.5px solid rgba(0,0,0,0.07);
  font-size: 10px; font-weight: 600; color: #64748B;
}
.sv-ha-sel-amt {
  font-family: var(--mono); font-weight: 800; color: #0F172A;
  font-size: 12px;
}
/* ── Tip grid ── */
.sv-ha-tip-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5px;
  padding: 2px 0;
}
.sv-ha-tip-btn {
  padding: 8px 6px;
  border: 1px solid rgba(0,0,0,0.08); border-radius: 8px;
  background: #FAFBFC;
  font-size: 11px; font-weight: 700; color: #0F172A;
  text-align: center;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}
.sv-ha-tip-btn.sel {
  background: rgba(91,115,240,0.1); border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 2px 8px rgba(91,115,240,0.12);
}
.sv-ha-tip-amt {
  font-size: 8px; color: #94A3B8; margin-top: 2px;
  font-family: var(--mono); font-weight: 400;
}
.sv-ha-tip-btn.sel .sv-ha-tip-amt { color: rgba(91,115,240,0.6); }
/* ── Tip total ── */
.sv-ha-tip-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 6px; margin-top: 4px;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 10px; font-weight: 600; color: #64748B;
}
.sv-ha-tip-grand {
  font-family: var(--mono); font-weight: 800; color: #0F172A;
  font-size: 12px;
}
/* ── Progressive selection — hero animation only ── */

/* Qty badge: hidden by default, pops in on selection */
.hero-right .sv-menu-qty {
  opacity: 0; transform: scale(0.5);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.hero-right .sv-menu-item.sel .sv-menu-qty {
  opacity: 1; transform: scale(1);
}
/* Checkbox toggle: swap cb / cb-empty based on .sel */
.sv-ha-check .sv-ha-cb { display: none; }
.sv-ha-check.sel .sv-ha-cb { display: flex; }
.sv-ha-check.sel .sv-ha-cb-empty { display: none; }
/* Button press feedback (brief scale-down on "tap") */
.hero-right .sv-btn,
.hero-right .sv-strip-btn {
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
.hero-right .sv-btn.btn-press,
.hero-right .sv-strip-btn.btn-press {
  transform: scale(0.94);
  filter: brightness(0.90);
}
/* pos-footer removed — no persistent bottom bar */

/* Home indicator */
.pos-home {
  position: absolute; bottom: 7px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 3px;
  background: rgba(0,0,0,0.15);
  border-radius: 2px;
  z-index: 20;
}

/* ===== from css/demo-misc.css ===== */
/* ─── ORDER NOTES ─── */
/* Note input — device simulator (dsv-2) */
.sv-note-row { padding: 6px 0 0; flex-shrink: 0; }
.sv-note-input {
  width: 100%; box-sizing: border-box; padding: 6px 9px;
  font-size: 10px; font-family: 'Inter', sans-serif;
  color: #0A101E; background: #F8FAFC;
  border: 1px solid rgba(0,0,0,0.12); border-radius: 6px;
  outline: none;
}
.sv-note-input::placeholder { color: #94A3B8; }
/* Note display — device screen views (Steps 3, 5, 6) */
.sv-item-note {
  font-size: 8px; color: #94A3B8; line-height: 1.3;
  padding: 1px 0 3px 14px;
}
.sv-note-input:focus { border-color: var(--accent); background: #fff; }
/* Note display — POS order panel (FOH) */
.pos-order-note {
  margin: 5px 0 0; padding: 5px 9px 5px 10px;
  background: rgba(245,158,11,0.06);
  border: 1px solid rgba(245,158,11,0.15);
  border-left: 3px solid rgba(245,158,11,0.5);
  border-radius: 0 5px 5px 0;
}
.pos-order-note-label {
  font-size: 9px; font-weight: 700; font-family: var(--mono);
  color: #D97706; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1px;
}
.pos-order-note-text { font-size: 11px; color: #78350F; line-height: 1.35; }
/* ─── HERO TERMINAL NOTE ANIMATION ─── */
/* Wraps the typing text + cursor inside the hero sv-2 note row */
.sv-hero-note { display: flex; align-items: center; white-space: nowrap; overflow: hidden; }
/* Blinking caret shown while typing */
.sv-hero-cursor {
  display: inline-block; margin-left: 1px;
  width: 1px; height: 10px; background: #5B73F0;
  animation: svCursorBlink 0.65s step-end infinite;
  vertical-align: middle; flex-shrink: 0;
}
.sv-hero-cursor.done { opacity: 0; animation: none; }
/* Brief highlight flash on the note area when typing completes */
.sv-hero-note.highlight {
  background: rgba(91,115,240,0.1);
  border-color: rgba(91,115,240,0.35);
  animation: noteFlash 0.6s ease forwards;
}
.hero-right .pos-device {
  transition: none;
}
.flow-device-area .pos-device {
  transform: none !important; width: 250px; flex-shrink: 0;
}
.flow-device-area .pos-device .pos-island {
  top: 11px; width: 8px; height: 8px;
}
.flow-device-area .pos-device .pos-screen { border-radius: 27px; }
.flow-device-area .pos-device .pos-statusbar {
  height: 42px; font-size: 9px; padding: 0 18px 6px;
}
.flow-device-area .pos-device .pos-appheader { padding: 5px 12px 7px; }
.flow-device-area .pos-device .pos-appheader-logo img { height: 16px; }
.flow-device-area .pos-device .pos-session-name { font-size: 9px; }
.flow-device-area .pos-device .pos-session-sub { font-size: 7.5px; }
.dsv-table:hover:not(.sel):not(.occ) {
  border-color: rgba(91,115,240,0.3);
  background: rgba(91,115,240,0.05); color: #8B9EF0;
}
/* ── Confirm row (bottom of table/review screens) ── */
.sv-confirm-row {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 8px; border-top: 1.5px solid rgba(0,0,0,0.08);
  margin-top: auto; flex-shrink: 0;
}
.sv-confirm-label { font-size: 9px; color: #64748B; font-family: var(--mono); }
.sv-confirm-btn {
  padding: 7px 13px; background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700; border: none;
  border-radius: 8px; cursor: pointer; font-family: inherit;
  transition: opacity 0.15s;
}
.sv-confirm-btn:disabled { opacity: 0.35; cursor: default; }
@keyframes livePulse {
  0%,100% { opacity: 1;  box-shadow: 0 0 0 0   rgba(16,185,129,0.5); }
  50%      { opacity: 0.7; box-shadow: 0 0 0 4px rgba(16,185,129,0); }
}
@keyframes tablePulse {
  0%,100% { box-shadow: 0 4px 14px rgba(91,115,240,0.35); }
  50%      { box-shadow: 0 4px 22px rgba(91,115,240,0.6); }
}
@keyframes cloudPulse {
  0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(91,115,240,0.18); }
  50%      { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(91,115,240,0); }
}
@keyframes dotBounce {
  0%,100% { transform: translateY(0); opacity: 0.4; }
  50%      { transform: translateY(-5px); opacity: 1; }
}
@keyframes checkGlow {
  0%,100% { box-shadow: 0 0 0 0   rgba(16,185,129,0.25); }
  50%      { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
}
/* Card tap-in (screens 11 & 14) — restored from hero.css; was dropped when
   demo.css was extracted, leaving .sv-tap-card.playing referencing a missing
   keyframe so the card stayed opacity:0 (empty ring, no card). */
@keyframes sv7CardAnim {
  0%   { opacity: 0; transform: translate(calc(-50% + 160px), -50%) rotate(8deg);  }
  12%  { opacity: 1; transform: translate(calc(-50% + 88px),  -50%) rotate(4deg);  }
  26%  { opacity: 1; transform: translate(-50%, -50%) rotate(0deg);                }
  33%  { opacity: 1; transform: translate(-50%, -50%) rotate(0deg) scale(1);       }
  41%  { opacity: 1; transform: translate(-50%, -50%) rotate(0deg) scale(1.07);    }
  50%  { opacity: 1; transform: translate(-50%, -50%) rotate(0deg) scale(1.04);    }
  59%  { opacity: 1; transform: translate(-50%, -50%) rotate(0deg) scale(1);       }
  72%  { opacity: 1; transform: translate(-50%, -50%) rotate(0deg);                }
  83%  { opacity: 1; transform: translate(calc(-50% + 88px),  -50%) rotate(4deg);  }
  94%  { opacity: 0; transform: translate(calc(-50% + 160px), -50%) rotate(8deg);  }
  100% { opacity: 0; transform: translate(calc(-50% + 160px), -50%) rotate(8deg);  }
}
@keyframes sv7Ring1 {
  0%,  38% { opacity: 0; transform: scale(1);    }
  43%       { opacity: 0.9; transform: scale(1);  }
  57%       { opacity: 0;   transform: scale(1.8); }
  100%      { opacity: 0;   transform: scale(1.8); }
}
@keyframes sv7Ring2 {
  0%,  42% { opacity: 0;   transform: scale(1);   }
  49%       { opacity: 0.5; transform: scale(1);   }
  66%       { opacity: 0;   transform: scale(2.4); }
  100%      { opacity: 0;   transform: scale(2.4); }
}
@keyframes sv7ResultIn {
  0%,  56% { opacity: 0; transform: translateY(6px); }
  68%       { opacity: 1; transform: translateY(0);   }
  92%       { opacity: 1; }
  99%       { opacity: 0; }
  100%      { opacity: 0; }
}
@keyframes svCursorBlink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes noteFlash {
  0%   { background: rgba(91,115,240,0.14); }
  100% { background: rgba(91,115,240,0.04); }
}

/* ── ported verbatim from css/waiter-terminal.css (KDS + receipt asides + wrapper) ── */
:root{ --bg-3:#1a2036; }   /* aside card bg — token not in godtier's set */
.wt-hero-demo { position: relative; overflow: visible; }
.wt-hero-demo .pos-device { will-change: transform; }   /* legacy 310px from demo.css */

/* Small KDS ticket — pops out to the device's left at FIRE/READY. */
.wt-hero-kds {
  position: absolute; top: 8%; inset-inline-start: -6%; width: clamp(124px, 12vw, 156px);
  z-index: 4; transform-origin: 100% 0;
  opacity: 0; transform: translateX(24px) scale(0.9);
  transition: opacity .5s cubic-bezier(.16,1,.3,1),
              transform .65s cubic-bezier(.34,1.56,.64,1);  /* overshoot spring */
  pointer-events: none;
}
.wt-hero-kds.is-out { opacity: 1; transform: translateX(0) scale(1); }
.wt-hero-kds-bar {
  display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 9px;
  letter-spacing: .08em; color: var(--ink-dim); margin-bottom: 6px;
}
.wt-hero-kds-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.wt-hero-kds-card { background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 12px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); }
.wt-hero-kds-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.wt-hero-kds-top .mono { font-size: 10px; color: var(--ink-dim); }
.wt-hero-kds-stamp { font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em; padding: 2px 6px; border-radius: 5px; background: rgba(91,115,240,.16); color: var(--accent); }
.wt-hero-kds-stamp.is-ready { background: rgba(16,185,129,.16); color: var(--mint); }
.wt-hero-kds-item { font-size: 10.5px; color: var(--ink); margin-bottom: 3px; }
.wt-hero-kds-item .mono { color: var(--ink-mute); font-size: 9.5px; margin-inline-end: 4px; }

/* Printed receipt — prints UPWARD at CLOSE, to the device's left. */
.wt-hero-receipt {
  position: absolute; bottom: 6%; inset-inline-start: -4%; width: clamp(120px, 11.5vw, 150px);
  z-index: 4; background: #f3efe7; color: #1f2937;
  font-family: var(--mono); font-size: 8.5px; line-height: 1.5; padding: 11px 12px 12px;
  border-radius: 3px; box-shadow: 0 -16px 38px -16px rgba(0,0,0,.55);
  transform-origin: 50% 100%;
  opacity: 0; transform: translateY(20px) scaleY(.7);
  transition: opacity .5s ease, transform .7s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}
.wt-hero-receipt.is-out { opacity: 1; transform: translateY(0) scaleY(1); }
.wt-hero-receipt-h { text-align: center; font-weight: 700; font-size: 10px; letter-spacing: .1em; margin-bottom: 6px; }
.wt-hero-receipt-row { display: flex; justify-content: space-between; }
.wt-hero-receipt-rule { border-top: 1px dashed rgba(31,41,55,.35); margin: 5px 0; }
.wt-hero-receipt-paid { font-weight: 700; }
.wt-hero-receipt-jf { text-align: center; margin-top: 4px; color: #0c8f63; font-weight: 700; }
.wt-hero-receipt-tear { height: 8px; margin-top: 5px;
  background: linear-gradient(-45deg, transparent 50%, #f3efe7 50%) repeat-x,
              linear-gradient(45deg, transparent 50%, #f3efe7 50%) repeat-x;
  background-size: 8px 8px; background-position: 0 0, 4px 0; }

@media (max-width: 920px) {
  .wt-hero-kds { inset-inline-start: 2%; width: 128px; }
  .wt-hero-receipt { inset-inline-start: 2%; width: 124px; }
}
@media (prefers-reduced-motion: reduce) {
  .wt-hero-kds, .wt-hero-receipt { transition: none; }
}

/* slot-fit: center the ported demo inside §01's .split-viz (matches the original device size/framing) */
.wt-hero-demo{margin-inline:auto;transform:scale(0.72);transform-origin:center center}
@media(max-width:560px){.wt-hero-demo{transform:scale(0.6)}}

/* one-pager gating: pause CSS animations when §01 is off-screen / tab hidden */
.wt-paused, .wt-paused *{animation-play-state:paused !important}
