/* OxiSeller demo (oxiseller.com/demo), in the oxiai.africa live-demo style: a clean light ground, Geist type, a phone held
   in a hand that plays itself (a cursor moves and taps), and a "Behind the scenes" log of each step. Each kind of
   business sets its own accent inside the phone. Motion stops for visitors who ask for reduced motion. */
:root {
  --bg: #F2F3EF; --card: #FFFFFF; --text: #13201A; --soft-text: #5D6A63; --rule: #DFE2DA; --deep: #14301F; --volt: #D4F25A; --palm: #C2401E;
  --accent: #C2401E; --accent-ink: #8E2C12; --accent-soft: #FBE9E2;
  --paper: #FFFFFF; --surface: #F6F3EE; --ink: #1D1B18; --muted: #6B645B; --hair: #E6E0D6; --good: #1F7A45; --warn: #9A5B00; --bad: #B3261E;
  --f-display: "Geist", "Inter Tight", "Segoe UI", system-ui, sans-serif; --f-body: "Geist", "Inter Tight", "Segoe UI", system-ui, sans-serif; --f-mono: "Geist Mono", "JetBrains Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { background: var(--bg); }
body { margin: 0; color: var(--text); font-family: var(--f-body); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button { font: inherit; cursor: pointer; color: inherit; }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.kicker { font: 500 12px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--soft-text); margin: 0; }
.small { font-size: 12.5px; color: var(--muted); }

/* Top bar */
.top { position: sticky; top: 0; z-index: 20; padding-top: 10px; }
.top .wrap { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.8); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-radius: 999px; padding-top: 10px; padding-bottom: 10px; box-shadow: 0 10px 30px -18px rgba(19,32,26,.4), inset 0 0 0 1px var(--rule); width: calc(100% - 24px); }
.brand { display: inline-flex; align-items: center; gap: 8px; font: 800 18px/1 var(--f-display); letter-spacing: -0.03em; color: var(--text); text-decoration: none; }
.dotmark { width: 20px; height: 20px; border-radius: 50%; border: 5px solid var(--palm); box-shadow: 8px -8px 0 -5px var(--volt); }
.pill { font: 500 11.5px/1 var(--f-mono); color: var(--deep); background: var(--volt); border-radius: 999px; padding: 6px 10px; }
.toplink { margin-left: auto; color: var(--soft-text); font-size: 13.5px; text-decoration: none; white-space: nowrap; }
.toplink:hover { color: var(--text); }
@media (max-width: 560px) { .pill { display: none; } }

/* Intro */
.intro { display: grid; gap: 18px; padding: 48px 0 22px; }
@media (min-width: 960px) { .intro { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 48px; } }
.intro h1 { font: 800 clamp(34px, 5vw, 60px)/1.02 var(--f-display); letter-spacing: -0.04em; margin: 10px 0 0; color: var(--deep); text-wrap: balance; }
.lead { font-size: 17px; color: var(--soft-text); margin: 0; max-width: 58ch; }

/* Kinds of business: pills, like the oxiai.africa verticals */
.types { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: none; }
.types::-webkit-scrollbar { display: none; }
.types button { flex: none; display: inline-flex; align-items: center; gap: 9px; border: 0; background: #E7E9E3; border-radius: 999px; padding: 8px 16px 8px 8px; font-weight: 600; font-size: 14.5px; transition: background .25s var(--ease), color .25s; }
.types button .sw { width: 26px; height: 26px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 -6px 10px rgba(0,0,0,.18); }
.types button span.sub { display: none; }
.types button:hover { background: #DCDFD7; }
.types button[aria-checked="true"] { background: var(--deep); color: #fff; }

/* Three columns: guide, the held phone, behind the scenes */
.stage { display: grid; gap: 28px; align-items: start; padding: 18px 0 24px; grid-template-columns: minmax(0, 1fr) 430px minmax(0, 1fr); }
@media (max-width: 1180px) { .stage { grid-template-columns: minmax(0, 1fr) 430px; } .bts { grid-column: 1 / -1; } }
@media (max-width: 860px) { .stage { grid-template-columns: 1fr; } .phonewrap { order: -1; } }

.playrow { display: flex; align-items: center; gap: 14px; }
.play { display: inline-flex; align-items: center; gap: 10px; border: 0; background: var(--deep); color: #fff; border-radius: 999px; padding: 11px 18px 11px 14px; font-weight: 700; }
.play .pi { width: 14px; height: 14px; position: relative; }
.play[aria-pressed="true"] .pi::before, .play[aria-pressed="true"] .pi::after { content: ""; position: absolute; top: 1px; bottom: 1px; width: 4px; border-radius: 2px; background: var(--volt); }
.play[aria-pressed="true"] .pi::before { left: 2px; } .play[aria-pressed="true"] .pi::after { right: 2px; }
.play[aria-pressed="false"] .pi { border-left: 12px solid var(--volt); border-top: 7px solid transparent; border-bottom: 7px solid transparent; width: 0; height: 0; }
.reset { background: none; border: 0; color: var(--soft-text); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
.playnote { font-size: 13px; color: var(--soft-text); margin: 10px 0 0; min-height: 1.5em; }
.guide-h { font: 500 12px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--soft-text); margin: 26px 0 10px; }
.guide { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.guide button { width: 100%; text-align: left; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--card); border: 0; border-radius: 16px; padding: 11px 14px; box-shadow: inset 0 0 0 1px var(--rule); transition: box-shadow .25s, transform .25s var(--ease); }
.guide button:hover { transform: translateX(3px); box-shadow: inset 0 0 0 1.5px var(--deep); }
.guide .gn { width: 28px; height: 28px; border-radius: 50%; background: #EEF0EA; display: grid; place-items: center; font: 500 12.5px/1 var(--f-mono); color: var(--soft-text); transition: background .3s, color .3s; }
.guide .done .gn { background: var(--deep); color: var(--volt); }
.guide .gt { color: var(--text); font-weight: 600; font-size: 14.5px; }
.guide .go { font-size: 12.5px; color: var(--deep); font-weight: 700; }
.guide .next button { box-shadow: inset 0 0 0 1.5px var(--deep); animation: glow 2.2s ease-in-out infinite; }
.cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; background: var(--palm); color: #fff; border-radius: 999px; padding: 14px 22px; font-weight: 700; font-size: 16px; text-decoration: none; }
.fine { font-size: 12.5px; color: var(--soft-text); margin: 0 0 40px; }

/* The held phone */
.phonewrap { position: relative; display: grid; justify-items: center; gap: 14px; }
.views { display: flex; gap: 4px; background: #E7E9E3; border-radius: 999px; padding: 4px; position: relative; z-index: 4; }
.views button { border: 0; background: none; color: var(--soft-text); padding: 7px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; transition: background .25s, color .25s; }
.views button[aria-selected="true"] { background: var(--deep); color: #fff; }
.held { position: relative; width: 100%; max-width: 360px; padding-bottom: 70px; transform: rotate(-4deg); animation: sway 9s ease-in-out infinite; transform-origin: 50% 90%; }
.phone { position: relative; z-index: 2; width: 100%; height: 740px; max-height: calc(100vh - 150px); min-height: 600px; background: #0B1F18; border-radius: 46px; padding: 11px; box-shadow: 0 40px 70px -30px rgba(15,61,46,.55), inset 0 0 0 2px #2A5A48; }
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--surface); color: var(--ink); display: flex; flex-direction: column; }
.palm { position: absolute; z-index: 1; right: -80px; bottom: -6px; width: 240px; height: 66%; pointer-events: none; }
.fingers { position: absolute; z-index: 3; left: -32px; top: 30%; width: 52px; height: 44%; transform: scaleX(-1); pointer-events: none; filter: drop-shadow(-2px 3px 3px rgba(0,0,0,.18)); }
.hthumb { position: absolute; z-index: 3; right: -80px; bottom: -6px; width: 240px; height: 66%; pointer-events: none; filter: drop-shadow(-3px 4px 4px rgba(0,0,0,.22)); }
@media (max-width: 480px) { .phone { border-radius: 34px; padding: 8px; height: 78vh; min-height: 540px; } .screen { border-radius: 27px; } .fingers { left: -18px; width: 32px; } .palm, .hthumb { right: -50px; width: 160px; } }

/* Status bar */
.sbar { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 12px 22px 4px; font: 600 12.5px/1 var(--f-body); background: var(--paper); color: var(--ink); position: relative; }
.sbar .isl { position: absolute; left: 50%; top: 8px; width: 92px; height: 24px; margin-left: -46px; border-radius: 999px; background: #0B0F0D; }
.sbar .sig { letter-spacing: 1px; }

/* Floating notes around the phone (oxiai.africa .bub) */
.bubble { position: absolute; z-index: 5; max-width: 168px; background: var(--card); color: var(--text); font-size: 13px; font-weight: 600; line-height: 1.35; padding: 9px 12px; border-radius: 14px; box-shadow: 0 14px 30px -12px rgba(19,32,26,.35); opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.bubble.on { opacity: 1; transform: none; animation: float 6s ease-in-out infinite; }
.bubble small { display: block; font: 500 10.5px/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--soft-text); }
.bubble.b1 { left: -58px; top: 9%; border-bottom-right-radius: 4px; }
.bubble.b2 { right: -66px; top: 22%; background: var(--volt); border-bottom-left-radius: 4px; animation-delay: -2s; }
.bubble.b3 { left: -64px; top: 72%; border-bottom-right-radius: 4px; animation-delay: -4s; }
@media (max-width: 1240px) { .bubble { display: none; } }

/* The cursor: moves to each control, presses, and the screen ripples */
.cursor { position: absolute; z-index: 30; left: 0; top: 0; width: 28px; height: 28px; pointer-events: none; opacity: 0; transform: translate(var(--x, 200px), var(--y, 400px)); transition: transform .75s var(--ease), opacity .3s; filter: drop-shadow(0 3px 4px rgba(0,0,0,.35)); }
.cursor.on { opacity: 1; }
.cursor svg { width: 28px; height: 28px; transition: transform .12s; transform-origin: 5px 3px; }
.cursor.press svg { transform: scale(.82); }
.ripple { position: absolute; z-index: 40; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(20,48,31,.22); box-shadow: 0 0 0 2px rgba(20,48,31,.25); pointer-events: none; animation: ripple .55s ease-out forwards; }

/* Behind the scenes */
.bts { background: #E9ECE5; border-radius: 26px; padding: 20px; }
.bts h2 { font: 700 20px/1.2 var(--f-display); letter-spacing: -0.02em; margin: 0; color: var(--deep); }
.log { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; max-height: 470px; overflow-y: auto; scroll-behavior: smooth; }
.log li { display: grid; grid-template-columns: 82px 1fr; gap: 10px; font-size: 13.5px; padding: 10px 12px; border-radius: 14px; background: var(--card); animation: logIn .35s ease-out both; }
.log li b { font: 500 10.5px/1.7 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--soft-text); }
.log li.money { background: #F3F9E3; }
.log li.wa { background: #E3F6DA; }
.log li.lock { background: #FFF1EF; }
.log li.empty { grid-template-columns: 1fr; color: var(--soft-text); background: transparent; box-shadow: inset 0 0 0 1px dashed var(--rule); }
.gets { margin-top: 16px; background: var(--deep); color: #E8EEE9; border-radius: 18px; padding: 14px 16px; font-size: 13.5px; }
.gets .kicker { color: var(--volt); margin-bottom: 4px; }
.gets p { margin: 0; }

/* Motion (from oxiai.africa) */
@keyframes in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes logIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes float { 50% { translate: 0 -8px; } }
@keyframes sway { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-6px); } }
@keyframes glow { 50% { box-shadow: inset 0 0 0 1.5px var(--deep), 0 0 0 5px rgba(212,242,90,.6); } }
@keyframes ripple { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@keyframes flash { 0% { background: var(--accent-soft); box-shadow: 0 0 0 3px var(--accent); } 100% { } }
@keyframes sweep { from { top: 28%; } to { top: 70%; } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes gone { to { opacity: 0; height: 0; padding: 0; margin: 0; } }
.enter { animation: in .35s var(--ease) both; }
.flash { animation: flash 1.1s ease; }

/* Inside the phone: the shop */
.bar { display: flex; align-items: center; gap: 10px; padding: 6px 16px 10px; background: var(--paper); border-bottom: 3px solid var(--accent); }
.bar .back { border: 0; background: none; font-size: 20px; line-height: 1; padding: 4px 6px 4px 0; color: var(--ink); }
.bar .tt { flex: 1; min-width: 0; }
.bar .tt b { display: block; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar .tt span { font-size: 12px; color: var(--muted); }
.cartbtn { position: relative; border: 1px solid var(--hair); background: var(--paper); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; color: var(--accent-ink); white-space: nowrap; }
.cartbtn .n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; margin-left: 6px; padding: 0 5px; }
.body { flex: 1; overflow-y: auto; padding: 12px 14px 90px; -webkit-overflow-scrolling: touch; }
.status { display: flex; gap: 8px; align-items: center; font-size: 12.5px; margin: 0 0 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
.chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; }
.chips button { flex: none; border: 1px solid var(--hair); background: var(--paper); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
.chips button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.sect { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 14px 2px 6px; }
.card { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; background: var(--paper); border: 1px solid var(--hair); border-radius: 14px; padding: 10px; margin-bottom: 8px; }
.card:hover { border-color: var(--accent); }
.thumb { flex: none; width: 58px; height: 58px; border-radius: 12px; display: grid; place-items: center; font-size: 26px; background: var(--accent-soft); }
.card .ci { flex: 1; min-width: 0; }
.card .ci b { display: block; font-size: 14.5px; }
.card .ci small { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; }
.card .pr { font-weight: 800; font-size: 14px; white-space: nowrap; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: #EAF5EE; color: var(--good); margin-top: 3px; }
.tag.grey { background: #EEE; color: var(--muted); }
.tag.fit { background: #E8F0FE; color: #1A56C2; }
.card.off { opacity: .55; }
.hero { background: var(--paper); border: 1px solid var(--hair); border-radius: 16px; padding: 16px; text-align: center; }
.hero .big { font-size: 64px; line-height: 1; }
.hero h2 { margin: 10px 0 4px; font-size: 20px; }
.hero p { margin: 0; color: var(--muted); font-size: 13px; }
.opt { background: var(--paper); border: 1px solid var(--hair); border-radius: 14px; padding: 10px 12px; margin-top: 10px; }
.opt h3 { margin: 0 0 6px; font-size: 14px; }
.opt .hint { font-size: 12px; color: var(--muted); margin: -2px 0 6px; }
.choice { display: flex; align-items: center; gap: 10px; padding: 8px 2px; border-top: 1px solid var(--hair); font-size: 14px; }
.choice:first-of-type { border-top: 0; }
.choice span { flex: 1; }
.choice em { font-style: normal; color: var(--muted); font-size: 13px; }
.choice input { width: 18px; height: 18px; accent-color: var(--accent); }
.step { display: inline-flex; align-items: center; border: 1px solid var(--hair); border-radius: 999px; overflow: hidden; }
.step button { border: 0; background: var(--paper); width: 32px; height: 32px; font-size: 18px; }
.step b { min-width: 28px; text-align: center; font-size: 14px; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.slots button { border: 1px solid var(--hair); background: var(--paper); border-radius: 10px; padding: 8px 4px; font-size: 13px; }
.slots button.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.slots button:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.fld { display: block; margin-top: 8px; font-size: 13px; }
.fld span { display: block; font-weight: 600; margin-bottom: 3px; }
.fld input, .fld select { width: 100%; font: inherit; font-size: 14px; padding: 9px 10px; border: 1px solid #CFC7BB; border-radius: 10px; background: #fff; color: var(--ink); }
.foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px 14px; background: linear-gradient(transparent, var(--surface) 30%); }
.primary { width: 100%; border: 0; background: var(--accent); color: #fff; border-radius: 14px; padding: 14px; font-weight: 800; font-size: 15px; display: flex; justify-content: space-between; align-items: center; }
.primary:disabled { opacity: .5; cursor: not-allowed; }
.ghost { width: 100%; border: 1px solid var(--hair); background: var(--paper); border-radius: 14px; padding: 12px; font-weight: 700; margin-top: 8px; }
.line { display: flex; gap: 10px; align-items: flex-start; background: var(--paper); border: 1px solid var(--hair); border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; }
.line .li { flex: 1; min-width: 0; }
.line .li b { font-size: 14px; }
.line .li small { display: block; color: var(--muted); font-size: 12px; }
.sum { background: var(--paper); border: 1px solid var(--hair); border-radius: 14px; padding: 10px 12px; font-size: 14px; }
.sum div { display: flex; justify-content: space-between; padding: 3px 0; }
.sum .tot { border-top: 1px solid var(--hair); margin-top: 4px; padding-top: 8px; font-weight: 800; font-size: 16px; }
.pay { display: grid; gap: 6px; }
.pay label { display: flex; gap: 10px; align-items: flex-start; background: var(--paper); border: 1px solid var(--hair); border-radius: 12px; padding: 10px; font-size: 13.5px; }
.pay label b { display: block; font-size: 14px; }
.pay label small { color: var(--muted); }
.pay input { margin-top: 3px; accent-color: var(--accent); }
.pay label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.track { list-style: none; margin: 10px 0 0; padding: 0; }
.track li { position: relative; padding: 0 0 14px 26px; font-size: 13.5px; color: var(--muted); }
.track li::before { content: ""; position: absolute; left: 6px; top: 4px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #CFC7BB; background: #fff; }
.track li::after { content: ""; position: absolute; left: 11px; top: 16px; bottom: 0; width: 2px; background: #E2DBD0; }
.track li:last-child::after { display: none; }
.track li.on { color: var(--ink); font-weight: 600; }
.track li.on::before { border-color: var(--accent); background: var(--accent); }
.note { background: var(--accent-soft); border-radius: 12px; padding: 10px 12px; font-size: 13px; margin: 10px 0; }
.toast { position: absolute; left: 50%; bottom: 84px; transform: translateX(-50%) translateY(10px); background: var(--ink); color: #fff; padding: 9px 14px; border-radius: 999px; font-size: 13px; opacity: 0; transition: .2s; pointer-events: none; white-space: nowrap; }
.toast.show { opacity: 1; transform: translateX(-50%); }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kpi { background: var(--paper); border: 1px solid var(--hair); border-radius: 14px; padding: 10px; }
.kpi b { display: block; font-size: 18px; }
.kpi span { font-size: 12px; color: var(--muted); }
.ord { background: var(--paper); border: 1px solid var(--accent); border-radius: 14px; padding: 12px; margin-top: 10px; }
.ord .row { display: flex; justify-content: space-between; font-size: 13.5px; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: #fff; }
.small { font-size: 12.5px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

/* The shop's side: WhatsApp, tills, partner shops, parts and barcodes */
.stockline { display: flex; justify-content: space-between; gap: 10px; background: var(--paper); border: 1px solid var(--hair); border-radius: 12px; padding: 8px 12px; font-size: 13px; margin: 0 0 8px; }
.stockline span { color: var(--accent-ink); font-weight: 700; white-space: nowrap; }
.wa { background: #E9E2D8; border-radius: 14px; padding: 10px; display: grid; gap: 6px; }
.wa-h { display: flex; justify-content: space-between; font-size: 12px; margin: 0 0 2px; color: var(--muted); }
.wa-h b { color: var(--ink); }
.bub { max-width: 84%; background: #fff; border-radius: 12px 12px 12px 4px; padding: 7px 10px; font-size: 13px; line-height: 1.35; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.bub.out { justify-self: end; background: #D9F7C9; border-radius: 12px 12px 4px 12px; }
.bub.inv { display: grid; gap: 2px; border: 1px solid #9BD48A; }
.bub.inv span { font-size: 11.5px; color: var(--muted); }
.poster { position: relative; margin: 4px auto 8px; border-radius: 16px; overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--accent), var(--accent-ink)); display: grid; align-content: space-between; padding: 14px; gap: 8px; }
.poster.story { width: 62%; aspect-ratio: 9 / 16; }
.poster.square { width: 82%; aspect-ratio: 1 / 1; }
.poster.wide { width: 100%; aspect-ratio: 1.9 / 1; grid-template-columns: auto 1fr; align-content: center; align-items: center; }
.poster .pe { font-size: 64px; line-height: 1; justify-self: center; }
.poster.wide .pe { font-size: 52px; grid-row: span 2; }
.poster .pt { display: grid; gap: 2px; }
.poster .pt small { font-size: 11px; opacity: .85; text-transform: uppercase; letter-spacing: .06em; }
.poster .pt b { font-size: 18px; line-height: 1.1; }
.poster .pt em { font-style: normal; font-weight: 800; font-size: 20px; color: #FFE38A; }
.poster .pl { font-size: 11.5px; background: rgba(255,255,255,.18); border-radius: 999px; padding: 5px 10px; justify-self: start; }
.poster.out .pe { filter: grayscale(1); opacity: .5; }
.poster.out .pt em { color: #fff; background: #1D1B18; padding: 2px 8px; border-radius: 6px; justify-self: start; }
.soon { display: inline-block; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; background: #FFF1C2; color: #7A5400; border-radius: 999px; padding: 2px 7px; vertical-align: 1px; }
.tills { display: grid; gap: 8px; }
.till { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; background: var(--paper); border: 1px solid var(--hair); border-radius: 14px; padding: 10px 12px; }
.till .tn { grid-row: span 2; font-family: var(--f-mono); font-size: 11px; color: var(--accent-ink); background: var(--accent-soft); border-radius: 8px; padding: 6px 4px; text-align: center; }
.till b { font-size: 14px; }
.till .sell { grid-row: 1 / span 2; grid-column: 3; }
.sell { border: 0; background: var(--accent); color: #fff; border-radius: 999px; padding: 8px 12px; font-size: 12.5px; font-weight: 700; white-space: nowrap; align-self: center; }
.zt { background: var(--paper); border: 1px solid var(--hair); border-radius: 14px; padding: 6px 10px; font-size: 12.5px; }
.zr { display: grid; grid-template-columns: 1.1fr .6fr 1fr 1fr; gap: 6px; padding: 6px 0; border-top: 1px solid var(--hair); }
.zr span:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.zh { border-top: 0; color: var(--muted); font-weight: 700; font-size: 11.5px; }
.zt-tot { font-weight: 800; }
.kv { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; padding: 6px 0; border-top: 1px solid var(--hair); font-size: 12.5px; }
.kv:first-of-type { border-top: 0; }
.kv span { color: var(--muted); }
.kv b { font-weight: 600; word-break: break-word; }
.lab { background: #fff; border: 1.5px dashed #9C9385; border-radius: 10px; padding: 10px 12px; display: grid; gap: 4px; width: 88%; margin: 0 auto 6px; }
.lab small { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.lab > b { font-size: 14px; }
.bars { width: 100%; height: 44px; fill: #111; }
.lc { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; }
.lc b { font-family: var(--f-body); font-size: 15px; }

/* WhatsApp chat arriving: messages one by one, with typing dots first */
.enter .wa .bub { animation: in .3s ease both; animation-delay: calc(var(--i, 0) * .75s + .2s); }
.typing { display: inline-flex; gap: 4px; background: #fff; border-radius: 12px; padding: 9px 12px; justify-self: start; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9A9389; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
.enter .wa .typing { animation: gone .01s linear forwards; animation-delay: 2.4s; }
.wa .typing { display: none; }
.enter .wa .typing { display: inline-flex; }
.enter .kpi, .enter .till, .enter .card, .enter .line, .enter .opt { animation: in .35s var(--ease) both; animation-delay: calc(var(--i, 0) * .06s); }
.card, .ghost, .primary, .sell, .chips button, .choice, .step button { transition: transform .15s, box-shadow .2s, background .2s; }
.card:active, .ghost:active, .primary:active, .sell:active { transform: scale(.97); }
/* Camera while scanning */
.cam { position: relative; height: 260px; border-radius: 16px; overflow: hidden; background: radial-gradient(circle at 50% 45%, #3B3F3A, #121412); display: grid; place-items: center; margin-top: 8px; }
.cam .frame { width: 64%; height: 46%; border: 3px solid rgba(255,255,255,.85); border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 13px; }
.cam .line { position: absolute; left: 18%; right: 18%; height: 2px; background: var(--volt); box-shadow: 0 0 14px var(--volt); top: 30%; animation: sweep 1s ease-in-out infinite alternate; }
.cam .cap { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: #fff; font-size: 12.5px; opacity: .85; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; } .held { animation: none; } }
