/* Phone-first, one column. Taxi yellow marks the action; banknote green marks money; QR codes always sit on white. */
:root {
  --paper: #F1F4F2; --surface: #FFFFFF; --ink: #14211D; --muted: #56645F; --line: #D2DAD7;
  --taxi: #F5C400; --taxi-ink: #14211D; --taxi-soft: #FFF4C2;
  --bill: #2C6A4D; --bill-ink: #FFFFFF; --warn: #A24E17; --good: #1E7A4A; --bad: #B42318; --qr-bg: #FFFFFF;
  /* one colour per business, so the account in use is obvious */
  --b0: #FFF4C2; --b0-line: #E0B400; --b1: #DDF1E6; --b1-line: #2C6A4D; --b2: #DCEBFA; --b2-line: #2F6FB3;
  --b3: #F6E0F2; --b3-line: #A63D8F; --b4: #FBE3D3; --b4-line: #C2581C; --b5: #E7E3FA; --b5-line: #5B4BC4;
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 12px;
  color-scheme: light;
}
/* Dark: the phone's setting, unless switched in the menu for this visit (data-theme, the founder 2026-10-27). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E1412; --surface: #17201C; --ink: #E6EDEA; --muted: #9AA8A3; --line: #2B3632;
    --taxi: #F5C400; --taxi-ink: #14211D; --taxi-soft: #3B3413;
    --bill: #7CC39E; --bill-ink: #0E1412; --warn: #F0A066; --good: #6CD299; --bad: #F97066;
    --b0: #3B3413; --b0-line: #F5C400; --b1: #16352A; --b1-line: #7CC39E; --b2: #172B42; --b2-line: #7FB2E8;
    --b3: #3A1A35; --b3-line: #E08ACF; --b4: #3D2414; --b4-line: #F0A066; --b5: #24203F; --b5-line: #A79BF0;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0E1412; --surface: #17201C; --ink: #E6EDEA; --muted: #9AA8A3; --line: #2B3632;
  --taxi: #F5C400; --taxi-ink: #14211D; --taxi-soft: #3B3413;
  --bill: #7CC39E; --bill-ink: #0E1412; --warn: #F0A066; --good: #6CD299; --bad: #F97066;
  --b0: #3B3413; --b0-line: #F5C400; --b1: #16352A; --b1-line: #7CC39E; --b2: #172B42; --b2-line: #7FB2E8;
  --b3: #3A1A35; --b3-line: #E08ACF; --b4: #3D2414; --b4-line: #F0A066; --b5: #24203F; --b5-line: #A79BF0;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); }
body { color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.5; -webkit-text-size-adjust: 100%; min-height: 100vh; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--bill); outline-offset: 2px; }
[hidden] { display: none !important; }

.bar { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.bar-in { max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); }
.mark { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 800; font-stretch: 82%; font-size: 21px; white-space: nowrap; margin-right: auto; }
a.mark { color: inherit; text-decoration: none; }
.coin { width: 28px; height: 28px; border-radius: 50%; background: var(--taxi); color: var(--taxi-ink); display: grid; place-items: center; font-size: 15px; font-weight: 800; box-shadow: inset 0 0 0 2.5px var(--taxi-ink); }
.biz { font-weight: 700; color: var(--muted); font-size: 15px; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 2px; gap: 2px; }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: 5px 12px; font-size: 14px; font-weight: 700; cursor: pointer; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.seg.full { display: flex; }
.seg.full button { flex: 1; padding: 9px 12px; font-size: 16px; }
/* The header's tools: the QR scanner (yellow, with a QR picture), sharing, and the way back to the wallet. */
.hdr-tools { display: inline-flex; gap: 6px; }
.hdr-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--ink); font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.hdr-btn svg { width: 22px; height: 22px; flex: none; }
.hdr-btn.scan { background: var(--taxi); color: var(--taxi-ink); border-color: var(--taxi); }
.bar-in.has-wallet .mark { margin-right: 0; }
.hdr-wallet { margin-right: auto; }
.hdr-btn.lang-one { display: none; flex: none; min-width: 40px; justify-content: center; white-space: nowrap; } /* (never shrunk: 2026-11-21) */
.menu-lang { display: none !important; }
/* On a phone the whole logo stays (the same on every screen): the tools beside it shrink to their
   pictures, and Billetera keeps its word. Narrower still, ES|EN becomes one button: the other language. */
@media (max-width: 480px) {
  .mark { font-size: 18px; gap: 6px; }
  .coin { width: 26px; height: 26px; font-size: 14px; }
  .hdr-btn.share .hdr-label, .bar-in.has-tools .hdr-btn.scan .hdr-label { display: none; }
  .hdr-btn.share, .bar-in.has-tools .hdr-btn.scan, .hdr-btn.menu { padding: 0 8px; min-height: 38px; }
  .bar-in.has-tools { gap: 6px; }
  .hdr-tools { gap: 4px; }
  .seg button { padding: 5px 7px; font-size: 13px; }
  .hdr-wallet { padding: 0 9px; gap: 4px; font-size: 13px; min-height: 38px; }
  .hdr-wallet svg { width: 20px; height: 20px; }
}
@media (max-width: 400px) {
  .bar .seg { display: none; }
  .hdr-btn.lang-one { display: inline-flex; padding: 0 9px; min-height: 38px; font-size: 13px; }
  .mark { font-size: 16px; gap: 5px; }
  .bar-in.has-tools { gap: 4px; }
  .bar .hdr-wallet { padding: 0 7px; }
}
/* The wallet's scanner: the main thing a customer does there, so bigger and with its word, on any phone. */
.bar-in.scan-big .hdr-btn.scan { min-height: 42px; padding: 0 12px; font-size: 15px; gap: 6px; }
.bar-in.scan-big .hdr-btn.scan .hdr-label { display: inline; }
.bar-in.scan-big .hdr-btn.scan svg { width: 24px; height: 24px; }
@media (max-width: 480px) {
  .bar-in.scan-big .seg { display: none; }
  .bar-in.scan-big .hdr-btn.lang-one { display: inline-flex; padding: 0 9px; min-height: 38px; font-size: 13px; }
}
@media (max-width: 400px) { .bar-in.scan-big .hdr-btn.scan { padding: 0 10px; font-size: 14px; gap: 5px; } }
@media (max-width: 374px) {
  /* (Its ES / EN in the bar itself on a 360 px phone, the founder's field test 2026-11-20, an Infinix: "no option to change between
     English and Spanish from the wallet directly": the coin alone for the mark, to make room.) */
  .bar-in.scan-big .mark .word { display: none; }
  .bar-in.scan-big .hdr-btn.lang-one { display: inline-flex; padding: 0 8px; min-height: 38px; font-size: 13px; }
  .menu-lang { display: block !important; }
}
/* A business's own look: its banner photo above (never text on it), its logo on a white disc and its
   name on its colour (white or near-black text, whichever reads). */
.brand-head { display: grid; gap: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.brand-banner { display: block; width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
.brand-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.brand-name { font-family: var(--display); font-size: 21px; font-weight: 700; line-height: 1.15; }
.brand-head.bold .brand-name { font-weight: 800; font-size: 23px; }
/* A logo on a white rounded square: square logos and round ones both show whole, never cropped. */
.brand-logo { flex: none; width: 46px; height: 46px; border-radius: 11px; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 0 0 2px rgba(0, 0, 0, .08); }
.brand-logo img { width: 90%; height: 90%; object-fit: contain; border-radius: 7px; }
.place-logo { width: 22px; height: 22px; border-radius: 5px; background: #fff; object-fit: contain; vertical-align: -5px; margin-right: 6px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.swatch { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--surface); box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; padding: 0; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--ink); }
.swatch.other { position: relative; overflow: hidden; background: conic-gradient(#e11d48, #f59e0b, #16a34a, #2563eb, #9333ea, #e11d48); }
.swatch.other input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.pack-list { display: grid; gap: 8px; }
.pct-own { display: grid; gap: 4px; margin-top: 10px; }
.card-off-row { align-items: flex-start; }
/* The stamp card's promise to customers part-way through, where the owner changes it. */
.keep-note { display: grid; gap: 4px; padding: 12px 14px; border-left: 4px solid var(--bill); border-radius: 8px; background: var(--paper); }
.keep-note span { font-size: 15px; } /* the stamp card: Descuento and Hasta labels level */
.pct-box { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.pct-box input { width: 5.5em; }
/* Premia el efectivo: each step, from what amount (typed) and what %, and ✕ to take it off. */
.item.tier-row { display: grid; grid-template-columns: 1fr auto 44px; gap: 10px; align-items: center; }
.tier-from { display: grid; gap: 4px; min-width: 0; }
.tier-from label { font-weight: 700; font-size: 15px; }
.pack-chip { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-radius: var(--r); padding: 12px 14px; font-size: 18px; text-align: left; }
.packs-held { display: flex; flex-wrap: wrap; gap: 6px; }
.pack-held { padding: 6px 12px; border-radius: 999px; border: 2px solid var(--bill); color: var(--bill); font-weight: 700; }
.pack-use b { color: var(--good); font-size: 20px; }
/* The landing page (/inicio): a yellow opening with the two ways in, numbered steps, and lists with line pictures. */
.lp { gap: 30px; }
.lp-hero { display: grid; gap: 14px; background: var(--taxi); color: var(--taxi-ink); border-radius: 22px; padding: 24px 18px 20px; }
.lp-hero .eyebrow { color: var(--taxi-ink); opacity: .75; }
.lp-hero h1 { font-size: clamp(34px, 9.5vw, 50px); line-height: 1.02; }
/* The slogan (the founder, 2026-11-15: "a bold VueltoYa slogan … on the landing page"; the intro ends on it too). */
.lp-slogan { margin: 0; font-family: var(--display); font-stretch: 82%; font-weight: 800; font-size: clamp(22px, 6vw, 28px); line-height: 1.15; }
.lp-lead { margin: 0; font-size: 19px; }
.lp-sub { margin: 0; color: var(--muted); }
.lp-hero .lp-sub { color: var(--taxi-ink); opacity: .85; } /* on the yellow: dark, so it reads */
.lp-hero a.btn.primary.gn-be { background: var(--taxi-ink); color: #FFFFFF; border-color: var(--taxi-ink); } /* «Hazte Guía» on the yellow: dark, so it is a button */
.lp-hero .gn-sum { margin: 0; }
/* Gana con VueltoYa: how it's paid. */
.gn-list { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
/* The Kit de Guía (/guia, 2026-11-13): each line its icon first; a list of its sections to jump to. */
.kit-lines { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.kit-lines li { line-height: 1.4; }
.kit-fig { margin: 10px 0 2px; } /* (the kit's pictures, under the line each shows: 2026-11-13) */
.kit-fig img { display: block; width: 100%; max-width: 560px; height: auto; border-radius: 14px; background: var(--line); }
.kit-fig figcaption { margin-top: 5px; font-size: 14px; font-weight: 700; color: var(--muted); }
.kit-toc { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.kit-toc a { padding: 6px 10px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 14px; text-decoration: none; color: inherit; white-space: nowrap; }
.kit .lp-section { scroll-margin-top: 70px; }
/* Why we do this (2026-11-16): the line big, three points under it. */
.kit-why h2 { font-size: 22px; font-weight: 800; margin: 0; }
.kit-why-line { margin: 0; font-weight: 800; font-size: 21px; line-height: 1.3; }
.kit-why-tag { margin: 0; font-weight: 700; font-size: 17px; line-height: 1.35; } /* the website's words (2026-11-21) */
.lp-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-go { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 16px; text-decoration: none; min-height: 84px; justify-content: center; }
.lp-go b { font-family: var(--display); font-stretch: 88%; font-size: 21px; line-height: 1.1; }
.lp-go span { font-size: 15px; }
.lp-go-client { background: #14211D; color: #F5C400; }
.lp-go-biz { background: #FFFFFF; color: #14211D; }
.lp-free { margin: 0; font-weight: 700; }
.lp-card { display: grid; gap: 4px; justify-items: start; background: #FFFFFF; color: #14211D; border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 10px 24px rgba(20, 33, 29, .18); transform: rotate(-1.2deg); max-width: 300px; margin: 6px 0 4px 6px; }
.lp-card .eyebrow, .lp-card .muted { color: #56645F; }
.lp-card-amt { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; }
.lp-card .pack-held { border-color: #2C6A4D; color: #2C6A4D; margin-top: 4px; }
.lp-card-goal { font-weight: 700; font-size: 15px; border-left: 4px solid #2C6A4D; padding-left: 8px; margin-top: 4px; }
.lp-section { scroll-margin-top: 76px; }
.lp-section h2 { font-size: clamp(26px, 6.5vw, 32px); font-weight: 800; }
.lp-section > p { margin: 0; }
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: lp; }
.lp-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; counter-increment: lp; }
.lp-steps li::before { content: counter(lp); width: 36px; height: 36px; border-radius: 50%; background: var(--taxi); color: var(--taxi-ink);
  display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 19px; }
.lp-steps p, .lp-feat p { margin: 2px 0 0; color: var(--muted); }
.lp-feats { display: grid; gap: 10px; }
@media (min-width: 540px) { .lp-feats { grid-template-columns: 1fr 1fr; } }
.lp-feat { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.lp-feat.solo { grid-template-columns: 1fr; } /* no icon (/gana): the text across the whole box */
.lp-icon { width: 30px; height: 30px; fill: none; stroke: var(--bill); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-install summary { cursor: pointer; font-weight: 700; }
.lp-install[open] { display: grid; gap: 12px; }
.lp-links { justify-content: center; }
.lp-q { border-bottom: 1px solid var(--line); padding: 12px 0; }
/* Visit mode's nearby list (2026-11-15): one row each, the business on the left, "Voy a visitarlo" on the right */
.vm-near { list-style: none; margin: 0; padding: 0; }
.vm-near-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.vm-near-row > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vm-near-row .btn { flex: none; }
.lp-q summary { cursor: pointer; font-weight: 700; font-size: 18px; }
.lp-q p { margin: 8px 0 0; color: var(--muted); }
.lp-q .howto-link { margin-top: 6px; } /* its video, under the answer (/preguntas) */
.fq-jump { gap: 8px; flex-wrap: nowrap; }
/* on the yellow: dark chips with light words, one row at 360 px */
.lp-hero .fq-jump .btn { flex: 1 1 0; min-width: 0; padding: 10px 4px; font-size: 16px; background: var(--taxi-ink); color: #FFFFFF; border-color: var(--taxi-ink); }
.lp-q .fq-more { display: inline-block; margin-top: 8px; font-weight: 700; } /* where to read more (/gana, /guia) */
.lp-faq { scroll-margin-top: 12px; }
.lp-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 15px; padding-bottom: 24px; }
.lp-foot a { color: var(--muted); }
.vy-social { display: flex; justify-content: center; gap: 6px; padding-bottom: 20px; }
.vy-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--muted); border-radius: 50%; }
.vy-social a:hover, .vy-social a:focus-visible { color: var(--ink); }
.so-kinds { margin: 6px 0 0; padding-left: 18px; }
/* Gift cards: the business's colour (or banknote green), a design that stays at the edges, the amount big. */
.gift-card { position: relative; overflow: hidden; border-radius: 18px; padding: 18px; min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; gap: 6px;
  background: var(--card-bg, #F5C400); color: var(--card-fg, #14211D); /* VueltoYa's yellow (the founder, 2026-10-30: not a coffee chain's green) */ box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.gift-card > * { position: relative; z-index: 1; }
.gift-top { display: flex; align-items: center; gap: 10px; }
.gift-biz { font-weight: 800; font-size: 17px; }
.gift-label { font-family: var(--display); font-weight: 800; font-size: 22px; }
.gift-amount { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; }
.gift-msg { font-size: 17px; font-style: italic; }
.gift-card::after { content: ""; position: absolute; z-index: 0; pointer-events: none; }
/* A gift card's colour (the founder, 2026-10-30): round swatches; "its own" is the business's colour, else VueltoYa's yellow. */
.swatch-chip { padding: 6px 8px; }
.swatch { display: inline-block; width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .18); vertical-align: middle; }
.swatch-own { background: #F5C400; }
/* Its own look (the founder, 2026-10-30): the business's banner behind the card, darkened so the words read. */
.gift-card.has-banner { background-image: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), var(--card-img); background-size: cover; background-position: center; color: #FFFFFF; }
.design-birthday::after { right: -30px; top: -30px; width: 170px; height: 170px; opacity: .35;
  background: radial-gradient(circle, currentColor 3px, transparent 4px) 0 0 / 22px 22px; border-radius: 50%; }
.design-thanks::after { right: -40px; bottom: -40px; width: 180px; height: 180px; border-radius: 50%; opacity: .22; border: 18px solid currentColor; }
.design-celebrate::after { inset: auto -20px -20px auto; width: 220px; height: 110px; opacity: .3;
  background: repeating-linear-gradient(-45deg, currentColor 0 10px, transparent 10px 22px); }
/* The menu: a panel from the side. */
.menu-sheet { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .55); display: flex; justify-content: flex-end; }
.menu-panel { width: min(340px, 86vw); height: 100%; overflow: auto; background: var(--paper); display: flex; flex-direction: column; gap: 4px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 16px calc(20px + env(safe-area-inset-bottom, 0px)); }
.menu-item { display: block; width: 100%; text-align: left; padding: 14px 12px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font: inherit; font-weight: 700; font-size: 18px; text-decoration: none; cursor: pointer; }
/* A screen of its own over the page (Mi código), closed with the cross in the corner. */
.over-screen { position: fixed; inset: 0; z-index: 50; background: var(--paper); overflow: auto; display: flex; flex-direction: column; justify-content: center;
  padding: calc(56px + env(safe-area-inset-top, 0px)) 16px calc(24px + env(safe-area-inset-bottom, 0px)); }
.over-screen .my-code { border: 0; background: none; }
.over-screen .phone-qr { width: min(300px, 72vw, 48vh); max-width: none; }
.x-close { position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); right: 12px; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink); font-size: 22px; font-weight: 800; cursor: pointer; }
.x-close.inline { position: static; width: 44px; height: 44px; }
.over-screen > .mark { position: absolute; top: calc(18px + env(safe-area-inset-top, 0px)); left: 16px; }
/* The bill as a sum: numbers big and to the right; what's left to pay biggest. */
.bill-sum { margin: 0; display: grid; gap: 6px; }
.bill-sum div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bill-sum dt { color: var(--muted); font-weight: 700; }
.bill-sum dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 22px; }
.bill-sum .total { border-top: 2px solid var(--line); padding-top: 8px; }
.bill-sum .total dt { color: var(--ink); font-size: 18px; }
.bill-sum .total dd { font-size: 32px; }
/* Their saldo to use, in the same column as the sum's numbers; what they add, with its bonus; the balance after. */
.bill-sum .sum-use { align-items: center; }
.bill-sum .sum-use .check { margin: 0; font-weight: 700; color: var(--ink); }
/* The bill page on one screen: closer together; what they add and the tip as grids; the three ways in one row. */
.bill-box.stack { gap: 10px; }
.bill-box .chips.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 6px; }
.bill-box .chips.grid .chip, .bill-box .pay-how-q .chip { padding: 6px 4px; font-size: 15px; }
.bill-box .pay-how-q { display: flex; flex-wrap: wrap; gap: 6px; }
.bill-box .pay-how-q .chip { flex: 1 1 auto; } /* Apple Pay · Cash · Terminal · Transfer in one row where they fit */
/* (Four in Spanish don't fit one row: two by two, not three and one stretched.) */
:root[lang="es"] .bill-box .pay-how-q:has(> .chip:nth-child(4)) { display: grid; grid-template-columns: 1fr 1fr; }
/* Apple Pay among the ways to pay, its mark as Apple draws it (Safari, the founder 2026-10-29); elsewhere its name. */
.pay-mark-apple { display: none; }
@supports (-webkit-appearance: -apple-pay-button) {
  .pay-mark-apple { display: inline-block; vertical-align: middle; width: 52px; height: 24px; border-radius: 5px;
    -webkit-appearance: -apple-pay-button; -apple-pay-button-type: plain; -apple-pay-button-style: black; pointer-events: none; }
  .pay-mark-apple + .pay-mark-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pay-mark-apple { -apple-pay-button-style: white; } }
:root[data-theme="dark"] .pay-mark-apple { -apple-pay-button-style: white; }
/* Google Pay where Stripe offers it: Google's coloured G, then "Pay" (the founder, 2026-10-30). */
.pay-mark-google { display: inline-flex; align-items: center; justify-content: center; gap: 4px; vertical-align: middle; }
.pay-mark-google svg { width: 18px; height: 18px; flex: none; }
/* A provider tile's second line (Recurrente: card or transfer, 2026-11-20). */
.pay-tile .pay-sub { display: block; font-size: .78rem; font-weight: 400; opacity: .85; margin-top: 2px; }
/* …and a card beside Apple's or Google's mark: Stripe's page takes cards too (the founder, 2026-11-15). */
.pay-mark-card { display: inline-flex; align-items: center; vertical-align: middle; margin-left: 8px; padding-left: 8px; border-left: 1.5px solid currentColor; opacity: .85; }
.pay-mark-card .ico, .pay-tile .pay-mark-card .ico { width: 24px; height: 24px; }
.bill-box .tip-q .chip { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; }
.bill-box .tip-q .chip small { font-size: 12px; font-weight: 600; color: var(--muted); }
.bill-sum .sum-use dd { font-size: 18px; color: var(--muted); }
.bill-sum .sum-up { justify-content: flex-end; margin-top: -4px; }
.bill-sum .sum-up dd { font-family: inherit; font-size: 15px; font-weight: 700; color: var(--good); text-align: right; }
.bill-sum .sum-keep { font-size: 16px; }
/* The outcome big (Pagas, then Ahora | Después as on the change page); the receipt rows quieter. */
.bill-box .bill-sum { gap: 4px; }
.bill-box .bill-sum dt { font-size: 15px; }
.bill-box .bill-sum dd { font-size: 18px; }
.bill-box .bill-sum .total dd { font-size: 32px; }
.balances.bill-now-after { grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); padding-top: 10px; }
.bill-now-after .ok-text { color: var(--good); }
.balances.bill-now-after .owed b { font-size: 22px; white-space: nowrap; }
/* A button's second line: what it results in, smaller. */
.btn .btn-sub { display: block; font-size: 13px; font-weight: 600; opacity: .85; }
/* What they keep, on the bill's button: a big white pill under its label (the founder via 04, 2026-11-22: "far more prominent … the text is difficult to read"). */
.btn:has(.btn-gain) { flex-direction: column; flex-wrap: wrap; gap: 6px; padding-top: 10px; padding-bottom: 10px; }
.btn .btn-sub.btn-gain { font-size: 18px; font-weight: 800; opacity: 1; line-height: 1.2; background: #fff; color: #111; border-radius: 999px; padding: 6px 14px; box-shadow: 0 1px 0 rgba(0,0,0,.25); text-align: center; }
.bill-box .chips.grid .chip { line-height: 1.1; }
.keep-final b { font-size: 22px; color: var(--good); }
/* Once paid: the balance first, big. */
.result-top { text-align: center; }
.result-lines { margin: 0; padding-left: 20px; display: grid; gap: 4px; color: var(--muted); }
.big-number, .ok b.big-number { font-family: var(--display); font-size: clamp(40px, 13vw, 56px); font-weight: 800; line-height: 1.05; }
/* The share sheet: a QR to scan, the link, WhatsApp, the phone's own share. */
.share-sheet { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .55); display: flex; align-items: flex-end; justify-content: center; }
/* A payout address made on the phone (v94): its own screen over the page; the 12 words big, numbered, two columns. */
.pa-sheet { position: fixed; inset: 0; z-index: 70; background: var(--paper); overflow-y: auto; }
.pa-panel { max-width: 560px; margin: 0 auto; padding: 16px; }
.pa-words { columns: 2; column-gap: 24px; margin: 0; padding-left: 2.2em; font-size: 20px; font-weight: 700; line-height: 1.9; }
.pay-addr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.pay-addr.stack { display: grid; }
.pay-addr code, .pa-full { font-size: 14px; word-break: break-all; }
/* A check visit by video (v96): the camera full width, the step being filmed big above it. */
.cv-live { width: 100%; max-height: 60vh; background: #000; border-radius: 12px; }
.cv-now { font-size: 20px; margin: 0; }
.cv-time { margin: 0; text-align: center; }
.check-video video { width: 100%; max-height: 50vh; background: #000; border-radius: 8px; }
.share-panel { width: min(560px, 100%); max-height: 92vh; overflow: auto; background: var(--paper); border-radius: 18px 18px 0 0;
  padding: 18px max(16px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.share-head { justify-content: space-between; align-items: center; }
.share-head > .btn { flex: none; } /* "← Atrás" on the left, the ✕ in the corner */
/* Its first screen: add a taxi driver, a business, or invite a friend, big (the founder, 2026-10-27). */
.btn.share-big { min-height: 60px; font-size: 18px; justify-content: flex-start; padding: 12px 18px; }
/* Ajustes in groups that open with a tap (the founder, 2026-10-28); the sections in an open group, divided by a line, not cards in a card. */
.set-groups { display: flex; flex-direction: column; gap: 10px; }
.set-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.set-head { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; min-height: 58px; padding: 12px 16px;
  border: 0; background: none; color: var(--ink); font: inherit; font-size: 18px; font-weight: 700; text-align: left; cursor: pointer; }
.set-head .chev { font-size: 26px; line-height: 1; color: var(--muted); }
.set-body { padding: 0 16px 16px; }
.set-body > .panel { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 16px 0 0; }
.share-panel .qr { width: min(230px, 56vw); margin: 0 auto; } /* the buttons stay in sight on a small phone */
.share-mode button { font-size: 14px; padding: 7px 8px; line-height: 1.2; } /* whom you invite: two choices side by side */
.guide-steps { margin: 0; padding-left: 1.4em; display: grid; gap: 10px; font-size: 1.05rem; }
.guide-steps li.done { opacity: .6; }
/* The founder's test notes, 2026-10-30: the welcome gift one tap from the till's home; the plate's save shown; copying only if the icon has no wallet. */
.member .member-more { flex-basis: 100%; order: 9; } /* (after the one button in sight) */
.member .member-more summary { cursor: pointer; font-size: 14px; color: var(--muted); padding: 4px 0; }
.member .member-more .row { flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.member .member-linked { flex-basis: 100%; margin: 0; color: var(--good); font-weight: 700; font-size: 15px; } /* "✓ Teléfono conectado", in place of the button, on its own line */
.join-first > summary { list-style: none; text-align: center; }
.join-first > summary::-webkit-details-marker { display: none; }
.join-first[open] > summary { margin-bottom: 10px; }
.ho-qr { max-width: 240px; margin: 0 auto; }
.ho-qr svg { width: 100%; height: auto; display: block; }
.gn-split { width: 100%; border-collapse: collapse; font-size: 15px; }
.gn-split th, .gn-split td { padding: 7px 6px; border-bottom: 1px solid var(--line); text-align: right; }
.gn-split th[scope="row"] { text-align: left; font-weight: 600; }
.gn-split thead th { font-size: 13px; color: var(--muted); font-weight: 600; }
.gn-split .gn-people th, .gn-split .gn-people td { font-weight: 800; border-top: 2px solid var(--line); }
.gn-split .gn-us th, .gn-split .gn-us td { color: var(--muted); }
/* Every alternative a visible button with an icon, never grey text (the founder's standing rule, 2026-11-21: "text … simply is not
   digested by the users … they just give up"): «Más opciones» a bordered button with its ⋯; «✏️ Cambiar» the same. */
.save-more > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  border: 2px solid var(--line); border-radius: var(--r, 12px); background: var(--surface); color: var(--ink); font-weight: 700; }
.save-more > summary::-webkit-details-marker { display: none; }
.save-more > summary::before { content: "⋯"; font-size: 22px; line-height: 1; }
.save-more[open] > summary::before { content: "▴"; font-size: 16px; }
.save-more[open] > summary { margin-bottom: 8px; }
.lp-login { display: block; text-align: center; font-weight: 600; margin-top: 12px; }
/* Wompi's ways, as chips (Colombia, v112): on its card, and small on the "Pagos digitales" head. */
.wp-ways { display: flex; flex-wrap: wrap; gap: 6px; }
.wp-way { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 700; }
.wp-way .ico { width: 18px; height: 18px; }
.set-head .wp-ways.small { margin-top: 6px; font-weight: 400; }
.set-head .wp-ways.small .wp-way { font-size: 11px; padding: 2px 8px; }
.set-head .wp-ways.small .ico { width: 14px; height: 14px; }
.wp-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.wp-needs ul { margin: 4px 0 0; padding-left: 18px; }
.pill.give-pill, .pill.shop-pill { align-self: center; display: inline-flex; align-items: center; gap: 4px; width: auto; margin: 2px auto 0; padding: 8px 16px; font-size: 15px; cursor: pointer; color: inherit; }
.pill.shop-pill { gap: 6px; } /* its online shop, from the home (v111) */
.pill.shop-pill .ico { width: 20px; height: 20px; }
.plate-done { display: flex; flex-direction: column; gap: 2px; }
.move-fallback { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); }
/* A business its onboarder brought in, not saved yet: on that business's card in their wallet (2026-10-30). */
.setup-line { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--taxi); border-radius: var(--r); background: var(--taxi-soft); }
.setup-line .setup-open { flex: 1; min-width: 0; text-align: left; background: none; border: 0; padding: 4px 0; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.rw-steps { display: flex; flex-wrap: wrap; gap: 2px 10px; margin: 4px 0; }
.rw-steps span { color: var(--muted); }
.rw-steps span.done { color: var(--good); }
/* Its fee (2026-11-17): its bill unpaid in the warning colour, else how it went; this month's under it. The till's quiet line too. */
.rw-fee { display: flex; flex-direction: column; gap: 2px; margin: 4px 0; }
.rw-fee-due { color: var(--warn); font-weight: 600; }
/* A product's value, its Guide's to raise (v129): one line each, its pencil beside it; one changed since, its pill in the warning colour. */
.prize-values { display: flex; flex-direction: column; gap: 4px; margin: 4px 0; }
.prize-value { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.prize-value form { flex-basis: 100%; }
.pill.prize-again { border-color: var(--warn); color: var(--warn); }
.prize-sure { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }
.item.pv-open { border-color: var(--warn); }
/* "Lo que VueltoYa te dejó" (2026-11-17): its line, as the fee's; its screen, three numbers a span, each big with what it is under it. */
.left-row { display: flex; align-items: flex-start; gap: 12px; }
.left-ico { font-size: 22px; line-height: 1.2; }
.left-row b { display: block; font-size: 22px; }
.left-row .small { display: block; }
.fee-line.left-empty { cursor: default; } /* (before any money stayed: a line, nothing to open) */
.fee-line { display: flex; align-items: center; gap: 6px; width: 100%; margin: 2px 0 8px; padding: 4px 0; background: none; border: 0; color: var(--muted); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.rw-gain { display: block; color: var(--good); font-weight: 600; margin: 2px 0 4px; }
.setup-help { padding: 12px; border: 1px solid var(--taxi); border-radius: var(--r); background: var(--taxi-soft); }
.setup-help .guide-steps { font-size: 1rem; gap: 6px; }
/* Connecting Stripe: what to have ready, then its steps (folded on the home card). */
.stripe-ready { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.stripe-how summary { font-weight: 700; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.stripe-how .guide-steps { font-size: 1rem; }
.stripe-how .guide-steps .row { margin-top: 6px; align-items: center; flex-wrap: wrap; }
.stripe-how .code-url { word-break: break-all; }
/* The business and the wallet, one tap apart: a second row of the header, always on screen. */
.modes { flex-basis: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 3px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); }
.modes a { text-align: center; padding: 7px 10px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--muted); text-decoration: none; }
.modes a[aria-current="page"] { background: var(--ink); color: var(--paper); }
/* The two sides look different (2026-11-12): the wallet's side in VueltoYa's yellow, the business's dark as before. */
.modes a[data-mode-go="client"][aria-current="page"] { background: var(--taxi); color: var(--taxi-ink); }
/* The first time on each side: a few words under it, over the page (nothing moves), gone by itself; never a red pill. */
.modes { position: relative; }
/* Ajustes → «Modo» shares the class name with the header's switch: none of its pill (it drew a round outline behind the chips, 2026-12-04). */
section.modes { display: flex; flex-direction: column; gap: 10px; padding: 0; border: 0; border-radius: 0; background: none; }
.mode-chips .mode-custom { align-self: center; }
.mode-hint { position: absolute; top: calc(100% + 8px); z-index: 30; max-width: 60%; padding: 6px 12px; border-radius: 10px; font-size: 13px; font-weight: 600;
  background: var(--ink); color: var(--paper); box-shadow: 0 4px 14px rgba(0, 0, 0, .18); pointer-events: none; white-space: nowrap;
  animation: mode-hint 6s ease both; }
.mode-hint.business { left: 6px; }
.mode-hint.client { right: 6px; background: var(--taxi); color: var(--taxi-ink); }
.mode-hint::before { content: ''; position: absolute; top: -6px; width: 12px; height: 12px; background: inherit; transform: rotate(45deg); }
.mode-hint.business::before { left: 22px; }
.mode-hint.client::before { right: 22px; }
@keyframes mode-hint { 0% { opacity: 0; transform: translateY(-4px); } 6% { opacity: 1; transform: none; } 85% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .mode-hint { animation-name: mode-hint-still; } @keyframes mode-hint-still { 0%, 90% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } } }
/* The key buttons stay on screen at the bottom; what comes next lands below the header. */
/* Fixed at the bottom of the screen, whatever the phone: the button to press next is always in sight. */
.sticky-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; max-width: 560px; margin: 0 auto; background: var(--paper);
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  box-shadow: 0 -10px 14px -10px rgba(0, 0, 0, .35); border-top: 1px solid var(--line); }
.wrap:has(.sticky-actions) { padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); }
/* The QR screen: the code sized to fit with its buttons. */
.qr.fit { width: min(320px, 74vw, 44vh); scroll-margin-top: 112px; }
/* Invita y gana: under its two "Agregar" buttons, still whole on a short phone (an iPhone SE) without scrolling. */
@media (max-height: 700px) { .qr.fit.under-adds { width: min(74vw, 28vh); } }
.pitch-banner { margin: 0; padding: 12px 14px; border-radius: var(--r); background: var(--taxi-soft); border: 2px solid var(--taxi); font-size: 17px; }
.pay-how .chip { font-size: 17px; }
.bill-take, main [role="status"] { scroll-margin-top: 150px; }
#calc-warn { scroll-margin-bottom: 110px; } /* clear of the buttons at the bottom */

.wrap { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px;
  padding: 22px max(16px, env(safe-area-inset-right, 0px)) calc(40px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
h1, h2, h3 { font-family: var(--display); font-stretch: 88%; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(28px, 7.5vw, 38px); font-weight: 800; }
h2 { font-size: clamp(23px, 6vw, 29px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.center { text-align: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 15px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-weight: 700; }
.field input { width: 100%; padding: 13px 14px; border: 2px solid var(--line); border-radius: var(--r); background: var(--surface); font-size: 18px; }
.field input:focus { outline: none; border-color: var(--taxi); }
.field select { width: 100%; padding: 13px 14px; border: 2px solid var(--line); border-radius: var(--r); background: var(--surface); color: inherit; font-size: 18px; }
.field select:focus { outline: none; border-color: var(--taxi); }
.money { display: flex; align-items: center; gap: 8px; border: 2px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 4px 14px; }
.money:focus-within { border-color: var(--taxi); }
.money span { font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--muted); }
.money input { flex: 1; min-width: 0; border: 0; background: transparent; font-family: var(--display); font-weight: 800; font-size: 32px; padding: 6px 0; font-variant-numeric: tabular-nums; }
.money input:focus { outline: none; }
.pin { letter-spacing: .4em; font-family: var(--display); font-weight: 800; font-size: 26px !important; text-align: center; }

.btn { min-height: 52px; padding: 0 20px; border-radius: var(--r); font-weight: 700; font-size: 17px; border: 2px solid var(--line); background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; color: var(--ink); }
.btn.primary { background: var(--taxi); border-color: var(--taxi); color: var(--taxi-ink); }
.btn.primary:disabled { opacity: .45; cursor: not-allowed; }
.btn.quiet { border-color: transparent; color: var(--muted); }
.btn.danger { color: var(--warn); border-color: var(--warn); }
.btn.block { width: 100%; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row > .btn { flex: 1; }
/* The confirm button on the right (the founder, 2026-10-27: "people are used to … most confirm buttons on the bottom right"):
   in a row of buttons the main one goes last, a destructive one just before it, whatever order the page writes them in. */
.row > .btn.danger { order: 1; }
.row > .btn.primary { order: 2; }
.contact-row > .btn { flex: 1 1 auto; white-space: nowrap; } /* Llamar · WhatsApp · Ver el negocio: each on one line */

.owed { display: flex; flex-direction: column; gap: 2px; }
.wallet-id { gap: 4px; }
.pitch { font-weight: 700; color: var(--good); margin: 0; }
.tiers-line { margin: 6px 0 0; color: var(--good); }
.todo { border-color: var(--warn); }
.todo ul { margin: 0; padding-left: 20px; }
.todo li { margin: 6px 0; }
.goal { display: flex; flex-direction: column; gap: 2px; }
.goal .dots { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.goal .dots i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--taxi); }
.goal .dots i.on { background: var(--taxi); }
.visit-box .visit-title { margin: 0; font-size: 17px; }
.goal progress, .res-bar progress { width: 100%; height: 10px; accent-color: var(--good); }
.res-bar { min-width: 120px; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.milestone { font-weight: 700; color: var(--good); margin: 0; }
.saved { font-family: var(--display); font-size: 24px; line-height: 1.15; }
fieldset.rule { border: 1px solid var(--line); border-radius: var(--r); padding: 6px 12px 12px; margin: 0; }
fieldset.rule legend { padding: 0 4px; }
fieldset.rule .row { flex-wrap: wrap; align-items: flex-end; }
/* Cash back: one % (the default), or its steps once "Que suba con las visitas" is ticked (2026-11-09). */
.ladder-rule .ladder-grow { margin-top: 10px; }
.ladder-rule:has(input[name="ladderGrow"]:checked) .ladder-flat, .ladder-rule:has(input[name="ladderGrow"]:not(:checked)) .ladder-steps { display: none; }
label.field { font-weight: 700; font-size: 14px; }
.practice-bar { background: var(--warn); color: var(--paper); padding: 8px 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.practice-bar .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.practice-tag { display: inline-block; font-weight: 800; color: var(--warn); border: 1.5px solid var(--warn); border-radius: 999px; padding: 2px 10px; margin: 0 0 6px; font-size: 13px; }
.demo-banner { background: var(--ink); color: var(--paper); text-align: center; font-size: 14px; font-weight: 700;
  padding: max(6px, env(safe-area-inset-top, 0px)) 16px 6px; }
.demo-start, .app-first { border-color: var(--taxi); border-width: 2px; }
.phone-qr { width: 240px; max-width: 70vw; margin: 0 auto; background: var(--qr-bg); padding: 8px; border-radius: 8px; }
.phone-qr svg { display: block; width: 100%; height: auto; }
.first-q { margin: 0; font-size: 15px; }
.first-q .btn { margin-left: 2px; text-decoration: underline; }
/* The scanner inside the app: the camera full screen, a square to aim with, the hint and Close below. */
.scanner { position: fixed; inset: 0; z-index: 100; background: #000; display: flex; flex-direction: column; justify-content: flex-end; }
.scanner video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scan-frame { position: absolute; left: 50%; top: 42%; width: min(70vw, 300px); aspect-ratio: 1; transform: translate(-50%, -50%);
  border: 3px solid var(--taxi); border-radius: 18px; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.45); }
.scan-bottom { position: relative; padding: 16px max(16px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-bottom, 0px));
  color: #fff; text-align: center; display: grid; gap: 8px; }
.scan-bottom p { margin: 0; }
.scan-msg:empty { display: none; }
.scan-msg { background: rgba(0, 0, 0, 0.7); border-radius: var(--r); padding: 8px 12px; }
.scan-bottom .btn { background: #fff; color: #14211D; border-color: #fff; }
.first-time { border-color: var(--good); }
.first-time p { margin: 0; }
details.first-time summary { cursor: pointer; font-weight: 700; color: var(--good); }
details.first-time p { margin: 6px 0 0; }
.say { font-weight: 700; margin: 8px 0 0; }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 120px; border-bottom: 1px solid var(--line); }
.bars .col { flex: 1; min-width: 2px; height: 100%; display: flex; flex-direction: column-reverse; }
.bars .col.pair { flex-direction: row; align-items: flex-end; gap: 1px; }
.bars .col i { display: block; width: 100%; border-radius: 2px 2px 0 0; }
.bars .col.pair i { width: 50%; }
.bars i.one, .bars i.back, .bars i.cash, .legend i.back, .legend i.cash { background: var(--good); }
.bars i.new, .legend i.new { background: var(--b2-line); }
.bars i.cost, .legend i.cost { background: var(--warn); }
.bars-x { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
#frecuencia .money input { font-size: 20px; padding-top: 8px; padding-bottom: 8px; }
#frecuencia .money { max-width: 180px; }
.wallet-hello { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.15; }
.wallet-id .btn.quiet { align-self: flex-start; }
.owed b { font-family: var(--display); font-stretch: 88%; font-size: 40px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.tools { display: grid; gap: 10px; }
.tool[aria-pressed="true"] { border-color: var(--taxi); background: var(--taxi-soft); } /* the one chosen: a device's business, a chain's locale */
.tool { text-align: left; border: 2px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 16px 18px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.tool .tool-name { font-family: var(--display); font-stretch: 88%; font-weight: 800; font-size: 24px; }
.tool .tool-desc { color: var(--muted); font-size: 15px; }
.tool.k-change { border-color: var(--taxi); background: var(--taxi-soft); }
.tool.minor { padding: 12px 18px; }
.tool.minor .tool-name { font-size: 19px; }

.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.note-btn { min-height: 58px; border: 2.5px solid var(--bill); border-radius: 8px; background: var(--surface); color: var(--bill); font-family: var(--display); font-weight: 800; font-size: 24px; cursor: pointer; position: relative; }
.note-btn::before { content: ""; position: absolute; inset: 5px; border: 1px dashed var(--bill); border-radius: 4px; opacity: .5; pointer-events: none; }
.note-btn[aria-pressed="true"] { background: var(--bill); color: var(--bill-ink); }
.note-btn.note-long { font-size: 19px; } .note-btn.note-longer { font-size: 15px; } /* ("₦1,000", "$ 100.000": inside the note) */
/* Several of one note: "×2" in its corner. */
.note-count { position: absolute; top: -9px; right: -7px; min-width: 26px; padding: 1px 6px; border-radius: 999px; background: var(--ink); color: var(--surface); font-size: 14px; line-height: 20px; }
.notes-sum { margin: 6px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-weight: 700; }
.notes-sum:empty { display: none; }
/* A note picked: tap it to take it off. */
.note-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 14px; border: 2px solid var(--bill); border-radius: 999px; background: var(--surface); color: var(--bill); font-weight: 800; font-size: 21px; cursor: pointer; }
.note-chip span { font-size: 16px; opacity: .8; }
.notes-label { font-size: 18px; }
.notes-sum b { font-family: var(--display); font-size: 26px; }
.btn.notes-clear { min-height: 48px; padding: 0 18px; font-size: 17px; }
details.bill-more > summary { cursor: pointer; padding: 6px 0; font-weight: 600; color: var(--muted); }
details.bill-more[open] { display: grid; gap: 12px; }
/* A visit reward taken off the bill: both phones show it, to say to each other. */
.bill-off { display: grid; gap: 2px; margin: 0; padding: 10px 12px; border-radius: var(--r); border: 2px solid var(--good); color: var(--good); }
.bill-off .muted { color: var(--muted); font-weight: 500; }
.bill-off-mini { color: var(--good); }
.next-reward { margin: 0; padding: 8px 10px; border-left: 4px solid var(--good); background: var(--surface); font-weight: 600; }
button.next-reward { display: grid; gap: 8px; width: 100%; text-align: left; border-top: 0; border-right: 0; border-bottom: 0; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.next-more { color: var(--bill); font-size: 14px; font-weight: 700; }
/* The level meter on the home screen: saldo owed against the cap, and the next step. */
.cap-meter { display: grid; gap: 4px; width: 100%; text-align: left; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.cap-meter b { font-family: var(--display); font-size: 20px; }
.cap-bar { display: block; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.cap-bar i { display: block; height: 100%; background: var(--good); }
.cap-meter.near .cap-bar i { background: var(--warn); }
.cap-meter.full { border-color: var(--bad); }
.cap-meter.full .cap-bar i { background: var(--bad); }
.cap-full { color: var(--bad); font-weight: 700; font-size: 14px; }
.limit-left { margin: 0; font-size: 14px; font-weight: 700; color: var(--muted); }
/* Sign-up: big tiles, one tap (categories, and what a sole trader does). */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
a.btn[data-access-wa] { text-align: center; } /* its two lines centred, like a button */
.cat-tiles.drive-tiles { grid-template-columns: repeat(2, 1fr); } /* four vehicles: two by two, never three and one */
@media (min-width: 520px) { .cat-tiles.drive-tiles { grid-template-columns: repeat(4, 1fr); } }
.cat-tile { display: grid; justify-items: center; gap: 4px; padding: 10px 6px; border: 2px solid var(--line); border-radius: var(--r); background: var(--surface);
  color: var(--ink); font: inherit; font-weight: 700; font-size: 14px; text-align: center; cursor: pointer; }
.cat-tile input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; } /* (1px: an input is as wide as its form, and from a tile's corner that made its page 473px wide on a 360px phone: 2026-12-05) */
.cat-tile:has(input:checked) { border-color: var(--taxi); background: var(--taxi-soft); }
.cat-ico { font-size: 28px; line-height: 1; }
.more-cats { margin-top: 8px; }
.more-cats summary { cursor: pointer; font-weight: 700; padding: 6px 0; }
.lost-access summary { cursor: pointer; font-weight: 700; color: var(--bill); padding: 8px 0; }
/* A WhatsApp number (2026-11-18: "the driver does not see the small box"): its country a big chip, its flag and code (🇪🇨 +593), the
   country's own list over it (a tap anywhere on it); the number beside; what's wrong for its country under them. */
.wa-field { display: flex; flex-wrap: wrap; align-items: stretch; gap: 6px; }
.wa-field.grow { flex: 1; }
.wa-field input { flex: 1; min-width: 0; }
.wa-chip { position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; min-height: 48px; border: 2px solid var(--ink);
  border-radius: 12px; background: var(--surface); color: var(--ink); font-size: 1.15rem; cursor: pointer; }
.wa-chip .wa-flag { font-size: 1.5rem; line-height: 1; }
.wa-chip .wa-code { font-weight: 800; letter-spacing: 0.01em; }
.wa-chip .chev { font-size: 0.8rem; opacity: 0.7; }
.wa-chip select.wa-country { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.wa-chip:focus-within { outline: 3px solid var(--bill); outline-offset: 2px; }
.wa-field input.wa-cc { flex: none; width: 4.6em; padding-left: 6px; padding-right: 6px; text-align: center; font-weight: 700; } /* "Otro país": its code typed */
.wa-field input[data-wa] { font-size: 1.15rem; min-height: 48px; }
.wa-field .wa-msg { flex-basis: 100%; margin: 2px 0 0; color: var(--bad); font-weight: 600; }
.wa-field.wa-bad input[data-wa] { border-color: var(--bad); }
.taxi-item { align-items: center; } /* "Pedir un taxi": a driver, and WhatsApp beside */
.typed-more summary { cursor: pointer; font-weight: 700; color: var(--muted); padding: 8px 0; } /* the till's "Otro monto": folded until tapped */
.limit-left.low { color: var(--warn); }
.near-limit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; border-color: var(--warn); }
/* Wallet: earning from referrals, easy to find. */
.panel.earn-card { border: 2px solid var(--taxi); background: var(--taxi-soft); }
.till-next { margin: 4px 0; padding: 8px 10px; border-left: 4px solid var(--good); background: var(--surface); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 2px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; font-weight: 700; cursor: pointer; min-height: 44px; }
.chip.pay-way { display: inline-flex; align-items: center; gap: 6px; } /* a way to pay online, its provider named (v111) */
.chip.pay-way > .ico { width: 24px; height: 24px; }
.chip[aria-pressed="true"] { background: var(--taxi-soft); border-color: var(--taxi); }

.calc { border-radius: var(--r); background: var(--surface); border: 1.5px solid var(--line); padding: 12px 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.calc b { font-family: var(--display); font-weight: 800; font-size: 28px; font-variant-numeric: tabular-nums; }
.alert { border: 1.5px solid var(--warn); color: var(--warn); border-radius: var(--r); padding: 10px 14px; font-weight: 700; }
.ok { border: 1.5px solid var(--good); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.ok b { font-family: var(--display); font-weight: 800; font-size: 26px; }
/* Money left here, thanked: as big as the visit's reward. */
.ok.thanks { background: color-mix(in srgb, var(--good) 10%, transparent); }
.ok.thanks b { font-size: 22px; }
.ok.thanks span { font-size: 18px; font-weight: 700; }
.ok.thanks span.held { font-size: 16px; font-weight: 600; }
.ok.thanks span.held b { color: var(--good); }
/* Ajustes → Cobros: the bank's emails, one short line each, ✓ in green when one closed a bill. */
.dn-last { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.dn-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.dn-row.done svg { color: var(--good); }
.dn-row b { font-variant-numeric: tabular-nums; }

.qr { background: var(--qr-bg); border-radius: var(--r); padding: 14px; align-self: center; width: min(100%, 360px); border: 1.5px solid var(--line); }
.qr svg { display: block; width: 100%; height: auto; }
/* A QR drawn again on a canvas, pure black on white (a browser's dark mode greys an SVG's): its SVG hidden beside it. */
svg.qr-src { display: none !important; }
canvas.qr-px { display: block; width: 100%; height: auto; background: #fff; border: 10px solid #fff; box-sizing: border-box; border-radius: 6px; image-rendering: pixelated; forced-color-adjust: none; color-scheme: only light; }
.qr-sum { text-align: center; font-family: var(--display); font-stretch: 88%; font-weight: 800; font-size: 26px; }
.status { text-align: center; color: var(--muted); font-weight: 700; }
.status::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--taxi); margin-right: 8px; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

.list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: transparent; border-left: 0; border-right: 0; border-top: 0; text-align: left; width: 100%; cursor: pointer; }
.item:last-child { border-bottom: 0; }
.item div { min-width: 0; }
.item .amt { font-family: var(--display); font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.item .amt.plus { color: var(--good); }
.item .amt.minus { color: var(--warn); }
div.item { cursor: default; }
.empty { border: 2px dashed var(--line); border-radius: var(--r); padding: 24px 18px; text-align: center; color: var(--muted); }

.switch { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface); cursor: pointer; text-align: left; width: 100%; }
.switch .knob { flex: none; width: 52px; height: 30px; border-radius: 999px; background: var(--line); position: relative; transition: background .15s; }
.switch .knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); transition: transform .15s; }
.switch[aria-checked="true"] .knob { background: var(--good); }
.switch[aria-checked="true"] .knob::after { transform: translateX(22px); }
.asbar { border-bottom: 3px solid var(--band-line); background: var(--band); }
.asbar-in { max-width: 560px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px max(16px, env(safe-area-inset-right, 0px)) 8px max(16px, env(safe-area-inset-left, 0px)); }
.asbar-in > div { min-width: 0; }
.asbar b { font-family: var(--display); font-stretch: 88%; font-size: 19px; }
.item.pick { border-left: 6px solid var(--band-line); }
.band-0 { --band: var(--b0); --band-line: var(--b0-line); }
.band-1 { --band: var(--b1); --band-line: var(--b1-line); }
.band-2 { --band: var(--b2); --band-line: var(--b2-line); }
.band-3 { --band: var(--b3); --band-line: var(--b3-line); }
.band-4 { --band: var(--b4); --band-line: var(--b4-line); }
.band-5 { --band: var(--b5); --band-line: var(--b5-line); }
.btn.small { min-height: 38px; padding: 0 12px; font-size: 14px; border-width: 1.5px; }
.pill { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 8px; background: var(--taxi-soft); border: 1px solid var(--taxi); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.balances { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.balances .owed b { font-size: 32px; }
.owed-link { all: unset; display: flex; flex-direction: column; gap: 2px; cursor: pointer; border-radius: var(--r); }
.owed-link:focus-visible { outline: 2px solid var(--accent, currentColor); outline-offset: 4px; }
.navgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.navgrid > :last-child:nth-child(odd) { grid-column: 1 / -1; } /* (an odd one out: the whole row) */
.tool.k-tab { border-color: var(--bill); }
.owed b.owe, .owed b.name-b { font-size: 28px; }
.owed b.owe { color: var(--warn); }
.item.total { background: var(--taxi-soft); }
.item.member { cursor: default; flex-wrap: wrap; }
.item.member.off { opacity: .6; }
.item.member .row { flex-wrap: wrap; justify-content: flex-end; }
.roles { display: grid; gap: 8px; }
.role-opt { text-align: left; border: 2px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 10px 14px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.role-opt[aria-pressed="true"] { border-color: var(--taxi); background: var(--taxi-soft); }
.access { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.access > div { display: flex; flex-direction: column; }
.linkbox { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 13px; color: var(--muted); }
.code-box { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 7vw, 30px); letter-spacing: .1em; overflow-wrap: anywhere; } /* a code fits its box on any phone */

.asbar-btns { display: flex; gap: 6px; flex: none; flex-wrap: wrap; justify-content: flex-end; }
.pill.viewing { display: inline-block; margin-top: 4px; background: var(--surface); border-color: var(--warn); color: var(--warn); }
.field textarea { width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--r); background: var(--surface); font-size: 17px; resize: vertical; }
.field textarea:focus { outline: none; border-color: var(--taxi); }
.qr.small-qr { width: min(100%, 240px); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; cursor: pointer; }
.check input { width: 24px; height: 24px; flex: none; margin-top: 2px; accent-color: var(--good); }
.access.big > div { background: var(--surface); border: 2px solid var(--taxi); border-radius: var(--r); padding: 12px 14px; }
/* The code wider than the PIN, on one line (2026-11-06: "XXHKE / M" broke on a phone). */
.access.big { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
/* The code and PIN, a tap to copy both (the founder, 2026-11-06). */
/* One key, a longer code: its own size. */
.access.big.key-box { grid-template-columns: minmax(0, 1fr); }
.access.big.key-box .code-box { font-size: clamp(18px, 5.4vw, 28px); letter-spacing: .02em; white-space: normal; overflow-wrap: anywhere; }
.access-tap { width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.access-tap:active > div { background: var(--taxi-soft); }
.access-tap:has(> div:only-child) { grid-template-columns: minmax(0, 1fr); }
.access.big .code-box { font-size: clamp(22px, 6.6vw, 36px); letter-spacing: .04em; overflow-wrap: normal; white-space: nowrap; }
/* An iPhone browser's bill: "Already have VueltoYa on your home screen? Open it and tap Scan" (2026-10-30), noticed, not alarming. */
.nudge-app { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--r); background: var(--taxi-soft); border: 1px solid var(--taxi); font-weight: 700; }
.notice { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border: 2px solid var(--taxi); border-radius: var(--r); background: var(--taxi-soft); cursor: pointer; text-align: left; font-size: 17px; }
.handover { display: flex; flex-direction: column; gap: 10px; border: 2px solid var(--warn); }
.handover .item { cursor: default; }
.handover > .btn { align-self: flex-start; }
.limit-chips { width: 100%; justify-content: flex-end; }

.map { position: relative; z-index: 0; height: 55vh; min-height: 280px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.map.small-map { height: 320px; min-height: 0; }
/* The map library loads its stylesheet after ours, so these rules need .map in front to win. */
.map.leaflet-container { font-family: var(--body); font-size: 15px; }
.map .leaflet-popup-content-wrapper, .map .leaflet-popup-tip { background: var(--surface); color: var(--ink); }
.map .leaflet-popup-content { font-size: 15px; line-height: 1.4; }
.map .leaflet-popup-content a, .place-item a { color: var(--bill); font-weight: 700; }
.map a.leaflet-popup-close-button { color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 2px; }
.place-item { flex-direction: column; align-items: stretch; cursor: default; }
.place-go { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.item.static { cursor: default; }
.pair-code { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; text-align: center; letter-spacing: .12em; }
.steps { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; }
.back-top { align-self: flex-start; min-height: 40px; padding: 0 6px; margin-bottom: -8px; }
.pay-preview b { font-size: 24px; }
.ios-share { vertical-align: -5px; margin-left: 4px; }
/* An iPhone's home-screen steps, drawn (the founder, 2026-11-06: pictures work better than words). */
.ios-steps .steps li { display: flex; flex-direction: column; gap: 6px; }
.ios-pic { display: flex; }
.ios-key { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; background: var(--surface); border: 1.5px solid var(--line); color: #0a84ff; }
.ios-row { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-width: 210px; padding: 10px 14px; border-radius: 12px;
  background: var(--surface); border: 1.5px solid var(--line); color: var(--ink); font-weight: 600; }
.ios-add { display: inline-block; padding: 8px 20px; border-radius: 999px; background: #0a84ff; color: #fff; font-weight: 700; }
.ios-pic .on, .ios-pic .ios-row { box-shadow: 0 0 0 3px color-mix(in srgb, #0a84ff 35%, transparent); animation: ios-tap 1.6s ease-in-out infinite; }
@keyframes ios-tap { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, #0a84ff 12%, transparent); } }
@media (prefers-reduced-motion: reduce) { .ios-pic .on, .ios-pic .ios-row { animation: none; } }
.home-steps-till > li { margin-bottom: 6px; }
.home-steps-till > li > b { display: block; margin-bottom: 6px; }
.setup-coach { margin: 0; padding: 8px 10px; border-radius: 10px; background: var(--taxi-soft); }
.request { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 2px solid var(--taxi); border-radius: var(--r); background: var(--taxi-soft); }
.requests { border: 2px solid var(--taxi); }
.big-amount { font-family: var(--display); font-weight: 800; font-size: 44px; }
.rank-right { text-align: right; }
.country-warn { border: 2px solid var(--taxi); background: var(--taxi-soft); }
.stampcard { display: flex; flex-direction: column; gap: 6px; }
.stampcard .dots { display: flex; flex-wrap: wrap; gap: 6px; }
.stampcard i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--taxi); }
.stampcard i.on { background: var(--taxi); }
/* After paying: bigger, and filling in dot by dot up to the stamp just added, which pops. */
.stampcard.fill i { width: 26px; height: 26px; }
.stampcard.fill i.on { animation: stamp-in .3s ease-out both; animation-delay: calc(var(--i) * 90ms); }
.stampcard.fill i.new { animation-name: stamp-new; animation-duration: .6s; }
@keyframes stamp-in { from { background: transparent; transform: scale(.6); } to { background: var(--taxi); transform: scale(1); } }
@keyframes stamp-new { 0% { background: transparent; transform: scale(.4); } 60% { background: var(--taxi); transform: scale(1.35); } 100% { background: var(--taxi); transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .stampcard.fill i { animation: none !important; } }
/* In the business's colour, its logo on a white disc in the corner (the founder, 2026-11-09); a second line, a row of its own. */
.stampcard { position: relative; }
.stampcard.branded { background: var(--card-bg); color: var(--card-fg); padding: 12px; border-radius: 14px; }
.stampcard.branded i { border-color: currentColor; }
.stampcard.branded i.on { background: currentColor; }
.stampcard.branded .muted, .stampcard.branded .card-off { color: inherit; opacity: .85; }
.stampcard.has-logo { padding-right: 52px; min-height: 40px; }
.stampcard.has-logo:not(.branded) { padding-top: 2px; }
.stampcard .card-logo { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; background: #fff; overflow: hidden; display: grid; place-items: center; }
.stampcard .card-logo img { width: 100%; height: 100%; object-fit: contain; }
.stampcard.two { gap: 10px; }
.stampcard .card-line { display: flex; flex-direction: column; gap: 4px; }
.stampcard .card-line.done .dots { opacity: .6; }
.stampcard .card-off { font-weight: 600; }
.next-milestone b { color: var(--good); }
.banner-backup { border: 2.5px solid var(--taxi); background: var(--taxi-soft); position: relative; }
.banner-backup > h2 { padding-right: 36px; }
/* A small ✕ in a corner (the backup's panel and its red pill, 2026-11-10). */
.corner-x { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface);
  color: var(--ink); font-size: 13px; line-height: 1; display: grid; place-items: center; cursor: pointer; padding: 0; }
.corner-x.mini { top: -9px; right: -9px; width: 22px; height: 22px; font-size: 10px; }
.warn-wrap { position: relative; display: inline-flex; }
/* A cashier's commission (2026-11-10): its chip at the till, its own card in their wallet, apart from their saldo. */
.pchip.comm-chip { border-color: var(--taxi); color: var(--ink); background: var(--taxi-soft); gap: 4px; }
.pchip.comm-chip svg { width: 14px; height: 14px; color: var(--taxi); }
.comm-card { border: 2.5px solid var(--taxi); background: var(--taxi-soft); }
.comm-card .eyebrow svg, .my-comm .eyebrow svg { width: 14px; height: 14px; vertical-align: -2px; }
.comm-biz + .comm-biz { border-top: 1px solid var(--line); padding-top: 10px; }
/* Commission phase 2 (v88): paid in cash by the business; the owner's side in "Tu cuota"; "¿Quién te atendió?" on a receipt. */
.comm-cash { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
/* The month's fee, live (v90): the month so far big, today and where it heads under it. */
.fee-now { gap: 2px; }
.fee-now .fee-sofar { font-size: clamp(32px, 10vw, 44px); }
.fee-now .fee-sub { margin: 0; }
.served { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; }
.served-q { margin: 0; }
/* Joined a team, the icon they have to open (2026-11-10). */
.join-done { text-align: center; padding-top: 24px; }
.join-done .done-big { display: inline-grid; place-items: center; width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; background: var(--good); color: var(--surface); }
.join-done .done-big svg { width: 40px; height: 40px; }
.backup-code { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; margin: 4px 0; font-family: ui-monospace, 'Courier New', monospace; font-weight: 700; font-size: 24px; letter-spacing: .08em; user-select: all; }
.backup-code span { padding: 4px 8px; border: 1.5px solid var(--line); border-radius: 6px; background: var(--surface); }
.backup-input { font-family: ui-monospace, 'Courier New', monospace; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; }
.tick { display: flex; align-items: flex-start; gap: 10px; font-weight: 700; cursor: pointer; }
.tick input { width: 24px; height: 24px; margin: 2px 0 0; flex: none; accent-color: var(--taxi); }
.caps { border: 1.5px solid var(--line); border-radius: var(--r); padding: 12px 14px; background: var(--surface); }
.caps ul { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 4px; }
.caps li { display: flex; gap: 8px; align-items: baseline; }
.caps li.can span { color: var(--good); font-weight: 800; }
.caps li.cannot { color: var(--muted); }
.caps li.cannot span { color: var(--warn); font-weight: 800; }
.example { margin: 0; padding: 10px 14px; border-radius: var(--r); background: var(--taxi-soft); font-weight: 700; }
.banner-tabs { border: 2px solid var(--warn); }
.banner-tabs p { margin: 0; font-weight: 700; }
.share-qr { display: block; margin: 4px auto; width: 240px; height: 240px; border-radius: 8px; background: #fff; image-rendering: pixelated; }
.row.center { justify-content: center; flex-wrap: wrap; }
.perms-edit { flex-basis: 100%; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 6px; }
.summary ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.summary { border: 2px solid var(--taxi); }
.pill.featured { background: var(--taxi); color: var(--taxi-ink); }
.kit { border-top: 1px solid var(--line); padding-top: 12px; }
.pending-bonus { color: var(--good); font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  .status::before { animation: none; }
  .switch .knob, .switch .knob::after { transition: none; }
}

/* Our admin area (/admin): wider, with tables and charts. */
.wrap.admin { max-width: 960px; }
.admin-tabs a.chip { display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.chip[aria-current="page"] { background: var(--taxi-soft); border-color: var(--taxi); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.kpis .owed { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.kpis .owed b { font-size: 32px; }
.chart { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.chart svg { width: 100%; height: 110px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.chart rect { fill: var(--taxi); }
.chart-axis { display: flex; justify-content: space-between; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.admin-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.admin-table th, .admin-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.admin-table th:first-child, .admin-table td:first-child { text-align: left; white-space: normal; }
.admin-table tr:last-child td { border-bottom: 0; }
.pay-to { white-space: pre-wrap; font-weight: 700; }
.announce { border-color: var(--taxi); }
.block-link { display: block; text-decoration: none; }
textarea { width: 100%; font: inherit; padding: 10px 12px; border: 2px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); }

/* A customer's statement prints without the app around it. */
@media print {
  .bar, .no-print, .back-top { display: none !important; }
  body { background: #fff; color: #000; }
  .wrap { max-width: none; }
}
.legal h2 { font-size: 20px; margin-top: 8px; }
.legal li { margin-bottom: 6px; }

/* Cobrar: the main button on the till, and the rest under "Más". */
.cobrar { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 16px 18px; font-size: 1.15rem; text-align: left; }
.cobrar .tool-desc { font-weight: 400; font-size: .85rem; opacity: .85; }
.cobrar b { font-family: var(--display); font-stretch: 88%; font-weight: 800; font-size: 24px; } /* as big as the buttons under it */
.scan-client { margin-top: 10px; }
.scan-client .tool-desc.waiting { font-weight: 800; opacity: 1; } /* someone's showing a code: said plainly */
.waiting-open { margin-top: 8px; justify-content: flex-start; gap: 8px; } /* a customer showing a code: their bill, one tap (2026-12-05) */
.more-tools { margin-top: 10px; }
details:not([open]) > summary .when-open, details[open] > summary .when-shut { display: none; } /* "Más" folded, "Menos" open */
.pct-typed { max-width: 7.5em; } .pct-typed input { text-align: right; } /* a stamp card's % typed (2026-11-09) */
/* «✏️ Otro» in Fidelidad (2026-11-25): its box under the chips, its range under the box. */
.num-other { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; max-width: 12em; }
.num-typed { max-width: 7.5em; }
.num-range { display: block; }
.biz-page .row { flex-wrap: nowrap; align-items: center; } .biz-page .code-url { flex: 1; min-width: 0; } /* its page's address, to copy */
.more-tools > summary { cursor: pointer; padding: 10px 0; font-weight: 600; }
.alert.cap-full { font-size: 1.05rem; } /* a business at its saldo limit, on the customer's bill */
.keep-big { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2px solid var(--taxi); border-radius: var(--r); font-weight: 700; font-size: 1.05rem; cursor: pointer; } /* "Apoyar a este negocio con mi vuelto" */
.keep-big.on { background: var(--taxi-soft); }
.keep-big input { width: 22px; height: 22px; flex: none; }
.typed-recv { align-items: center; } .typed-recv .money { flex: 1; }
.small-chips .chip { padding: 6px 12px; font-size: .9rem; } /* the till switching how a bill is paid */
.guide-visits .item { flex-direction: column; align-items: stretch; gap: 8px; } /* Admin: a Guide's visit, its buttons under it */
.sub-nav { margin: 4px 0 8px; gap: 8px; justify-content: flex-start; } /* a page's own way to what left the home */
.sub-nav > .btn { flex: 0 0 auto; }
.biz-choice > summary { cursor: pointer; padding: 12px 0; font-weight: 600; color: var(--muted); } /* the invite: a business, folded away */
.bill-took b { font-size: 1.6rem; line-height: 1.2; } /* a paid bill: what came in, first and big */
/* The till at a glance (the founder, 2026-10-29): the amount big, how in one line; nothing to tap while a phone pays. */
.till-amount, .bill-took .till-amount { display: block; font-size: 2.8rem; line-height: 1.05; font-weight: 800; }
.till-how { display: block; font-size: 1.15rem; font-weight: 700; margin: 0; }
.till-check { display: block; font-size: 2rem; line-height: 1; }
.till-back { display: block; font-size: 1.15rem; font-weight: 700; }
.bill-phone-wait { text-align: center; }
.spinner { display: inline-block; width: .9em; height: .9em; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .9s linear infinite; vertical-align: -.1em; }
@keyframes spin { to { transform: rotate(360deg); } }
.till-later { visibility: hidden; animation: till-later 0s forwards; } /* shown after a wait (its delay inline) */
@keyframes till-later { to { visibility: visible; } }
.till-next { font-size: 1.1rem; }
.bill-rest { font-size: 1.6rem; font-weight: 700; margin: 4px 0; }

/* Mi código: the customer's code, and its 5 letters to read out. */
.my-code .phone-qr { margin: 0 auto; }
.my-code-short { font-size: 2rem; font-weight: 800; letter-spacing: .3em; margin: 6px 0 0; }

/* Pedidos por WhatsApp: the transfer details as the business wrote them, and why to use the link. */
.transfer-info p { white-space: pre-line; margin: 4px 0 0; font-weight: 600; }
.why { margin: 0; padding-left: 1.2em; }
.why li { margin: 2px 0; }

/* The scanner's permission steps: readable over the camera's black screen. */
.scan-panel { background: rgba(0, 0, 0, 0.75); color: #fff; border-radius: var(--r); padding: 12px; display: grid; gap: 8px; }
.scan-panel:empty { display: none; }
.scan-panel p { margin: 0; }
.scan-bottom .btn.primary { background: var(--taxi); color: var(--taxi-ink); border-color: var(--taxi); }

/* The demo business's steps for giving the demo. */
.demo-steps { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }

/* Cobrar's form: what goes onto the customer's saldo (or the change to give), said boldly. */
.defaults-note { border-left: 3px solid var(--line); padding-left: 10px; color: var(--muted); }
.to-saldo { margin: 0; padding: 14px 16px; border-radius: var(--r); background: var(--b1); border: 2px solid var(--b1-line); border-left-width: 6px; font-weight: 800; font-size: 21px; line-height: 1.3; }

/* Owners' home: wrong PINs locked the business code. */
.pin-alarm { border: 1.5px solid var(--warn); }
.pin-alarm b { color: var(--warn); }

/* Waiting for the server (slow internet): a thin moving bar at the top. */
html.vy-working body::after { content: ''; position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--taxi), transparent) no-repeat; background-size: 40% 100%; animation: vy-working 1s linear infinite; }
@keyframes vy-working { from { background-position: -40% 0; } to { background-position: 140% 0; } }
@media (prefers-reduced-motion: reduce) { html.vy-working body::after { animation: none; background: var(--taxi); opacity: .7; } }
/* Staff limits: "Otro…" with a typed amount. */
.limit-other input { width: 8em; }

/* Home: put-away cards come back from these pills. */
.home-pills { margin: 0; }
/* A card's title with a small button beside it. */
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }

/* Something important in the menu (a wallet or an access not saved yet): a red dot on ☰ and on its item. */
.hdr-btn.menu { position: relative; }
.menu-dot { position: absolute; top: 3px; right: 3px; width: 11px; height: 11px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 0 2px var(--surface); }
/* The ☰'s number: steps left for the businesses they brought (the founder, 2026-11-06). */
.menu-dot.menu-count { display: grid; place-items: center; width: auto; min-width: 19px; height: 19px; padding: 0 5px; top: -3px; right: -3px; border-radius: 999px;
  color: #fff; font-size: 12px; font-weight: 800; line-height: 1; }
.menu-item.menu-alert::after { content: ''; display: inline-block; width: 10px; height: 10px; margin-left: 8px; border-radius: 50%; background: var(--bad); vertical-align: middle; }
/* Onboarding 2: what a wallet not saved yet holds, waiting. */
.lock-tag { display: block; color: var(--warn); font-weight: 600; margin-top: 2px; }
/* The trusted tab (v106): its lines on a business's card and the tabs banner; late in red, in the till's Clientes too. */
.trusted-line { display: block; margin-top: 2px; }
.trusted-late { color: var(--bad); font-weight: 700; }
/* The shared record (v107): "📋 Mostrar mi historial" on the card, as wide as its words; the pick list. */
.biz-card .share-open { align-self: flex-start; }
.share-record fieldset { border: 0; padding: 0; margin: 0; }
/* The wallet's businesses as an accordion. */
/* No backup of the wallet, or the owner's access not saved (the founder, 2026-10-27): a red box in the top corner, to tap. */
.warn-box { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 2px solid var(--bad); border-radius: 10px; background: color-mix(in srgb, var(--bad) 10%, var(--surface));
  color: var(--bad); font: inherit; font-size: 13px; font-weight: 700; line-height: 1.25; text-align: left; cursor: pointer; }
/* ...pulsing gently, to draw the eye (the founder, 2026-10-30); still where motion is reduced. */
.warn-box { animation: warn-pulse 2.4s ease-in-out infinite; }
@keyframes warn-pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--bad) 0%, transparent); } 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--bad) 35%, transparent); } }
.urgent-title { color: var(--bad); animation: urgent-pulse 2.4s ease-in-out infinite; } /* "Urgent: back up your wallet" (the founder, 2026-10-30) */
@keyframes urgent-pulse { 50% { opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .warn-box, .urgent-title { animation: none; } }
/* A business reversing a payment: the customer's answer, at the top (the founder, 2026-11-06). */
.void-ask { border: 2px solid var(--bad); background: color-mix(in srgb, var(--bad) 8%, var(--surface)); }
.corner-warn { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
/* The till's: its row kept, a pill's height, with none in it (2026-11-12: the home never moves when one comes). */
.corner-warn.till-pills { min-height: 33px; }
/* ...and one row, however many (2026-11-16: three wrapped and "Cobrar" moved down): what doesn't fit scrolls sideways, the first
   ones (the alerts) in sight. Right-aligned by the first one's margin, so the row still scrolls to its start; 6 px round it for
   their pulse, given back by the margin, so it takes the same room as before. */
.corner-warn.till-pills { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
  min-height: 45px; padding: 6px; margin: -6px; }
.corner-warn.till-pills::-webkit-scrollbar { display: none; }
.corner-warn.till-pills > .warn-box { flex: none; white-space: nowrap; }
.corner-warn.till-pills > .warn-box:first-child { margin-left: auto; }
.notice-view { margin-top: 4px; }
.places { display: grid; gap: 10px; }
.place-line { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r);
  background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.place-line .place-name { flex: 1; font-weight: 700; }
.place-open { border: 1.5px solid var(--line); border-radius: var(--r); padding: 14px 16px; background: var(--surface); }
/* The "← Atrás" at the top of inner screens: a pill, easy to see and tap. */
.btn.quiet.back-top { border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); padding: 0 16px; margin-bottom: 4px; }

/* The wallet's top: the title with everything held added up, and beside it who, and the backup while there's none;
   then a tile per business with its balance, one tap from its card. */
.wallet-title { display: grid; gap: 8px; }
.wallet-total { margin: 0; display: grid; }
.wallet-total .btn { justify-self: start; min-height: 0; padding: 4px 0; text-align: left; } /* in line with the lines above */
.wallet-total b { font-family: var(--display); font-stretch: 88%; font-weight: 800; font-size: 32px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.bal-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.bal-tiles.swipe { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; scroll-padding: 0 16px; }
.bal-tiles.swipe::-webkit-scrollbar { display: none; }
.bal-tiles.swipe .bal-tile { flex: 0 0 42%; scroll-snap-align: start; }
.bal-more { justify-self: start; min-height: 36px; padding: 6px 14px; }
/* A receipt's gains, at its top (2026-11-06). */
.result-top .gains { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 2px; font-weight: 800; }
.bal-wrap { display: grid; gap: 8px; }
.bal-tile { display: grid; gap: 2px; align-content: start; min-width: 0; text-align: left; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r);
  background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.bal-tile[aria-pressed="true"] { border-color: var(--taxi); box-shadow: inset 0 0 0 1.5px var(--taxi); }
.bal-name { font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bal-tile b { font-family: var(--display); font-stretch: 88%; font-weight: 800; font-size: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.bal-tile b.owe { color: var(--warn); font-size: 18px; }
.bal-pack { font-size: 13px; font-weight: 700; color: var(--bill); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.place-open, #invita, #seguridad { scroll-margin-top: 72px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
/* A new wallet's one big thing to do: scan a business's code. */
.scan-hero { margin: 8px 0 4px; }
.btn.scan-hero-btn { min-height: 88px; border-radius: 20px; font-size: 21px; line-height: 1.2; gap: 14px; padding: 14px 18px; text-align: left; box-shadow: 0 6px 18px rgba(20, 33, 29, .18); }
.btn.scan-hero-btn { justify-content: flex-start; }
.btn.scan-hero-btn svg { width: 40px; height: 40px; flex: none; }
.btn.paste-hero-btn { margin-top: 10px; background: var(--surface); border: 2px solid var(--taxi); color: var(--ink); box-shadow: none; }
/* A red count: cash-ups waiting for this person's approval. */
.badge-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 6px; border-radius: 999px;
  background: var(--bad); color: #fff; font-size: 13px; font-weight: 800; line-height: 1; }
.close-item.to-review { border-left: 4px solid var(--bad); }
/* Beside Aprobar: what to check, the payments to find (or not) on the card machine's list. */
.cr-guide { gap: 6px; padding: 10px 12px; margin: 6px 0; }
.cr-guide ul { margin: 0; padding-left: 1.1em; }
.cr-guide ul.cr-list { list-style: none; padding: 0; }
.cr-list li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border-bottom: 1px solid var(--line); }
.cr-list li:last-child { border-bottom: 0; }
.review { font-weight: 700; font-size: 15px; }
.ok-text { color: var(--good); }
.bad-text { color: var(--bad); }
/* The wallet's top: the title, and beside it who (tapped: their name) and, while there's none, the backup's box. */
.wallet-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.wallet-top h1 { margin: 0; }
.wallet-top .wallet-id { display: grid; justify-items: end; text-align: right; gap: 3px; max-width: 60%; }
.wallet-top .wallet-hello { font-size: 18px; }
button.wallet-hello { background: none; border: 0; padding: 0; color: var(--ink); text-align: right; cursor: pointer; }
.wallet-top .warn-box { margin-top: 4px; }
/* «🔑 Guarda tu llave» with balance and no key saved (the founder via 57, 2026-12-03: "very visible"): the first pill, full width, solid. */
.wallet-top .warn-wrap.key-call-wrap { order: -1; flex: 1 0 100%; justify-self: stretch; }
.wallet-top .warn-box.key-call { width: 100%; justify-content: center; padding: 12px 14px; font-size: 17px; background: var(--bad); color: #fff; }
.wallet-top .chip { padding: 3px 10px; font-size: 13px; min-height: 0; }

/* Gift cards online (/regalo): the gift's link to send, and the test-mode note. */
.code-url { word-break: break-all; padding: 10px 12px; border: 1px dashed var(--line); border-radius: var(--r); background: var(--surface); font-size: 15px; }
.test-note { padding: 10px 12px; border-left: 4px solid var(--taxi); background: var(--taxi-soft); border-radius: 6px; font-size: 15px; }
/* Before money changes hands: only with a business you know and trust. */
.trust-box { display: grid; gap: 6px; padding: 12px 14px; border: 2px solid var(--warn); border-radius: var(--r); background: var(--surface); }
.trust-box p { margin: 0; }
.trust-note { padding: 8px 12px; border-left: 4px solid var(--warn); background: var(--surface); border-radius: 6px; font-size: 15px; }
/* The list of businesses (/negocios). */
.biz-card h3 { margin: 0; }
.biz-card .pills { display: flex; flex-wrap: wrap; gap: 6px; }
.profile-links a { text-decoration: underline; }
.row .field.grow { flex: 1 1 140px; margin: 0; }
.row .money.grow { flex: 1 1 140px; }
/* Ajustes → Tu nivel: the steps that raise what a business can do. */
.level-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.level-step { display: flex; gap: 10px; align-items: flex-start; }
.level-dot { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-weight: 700; }
.level-step.done .level-dot { border-color: var(--good); color: var(--good); }
/* "📅 Pedir mi visita" (2026-11-12): a day a row, morning and afternoon beside it. */
.visit-req { margin-top: 8px; }
.visit-days { display: grid; gap: 6px; }
.visit-day { display: grid; grid-template-columns: 1fr auto auto; gap: 6px; align-items: center; }
.visit-day .chip { min-width: 0; }
.vr-item .chips { flex-wrap: wrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* A bus's fares (the founder, 2026-10-27): a big button each on the till; the passenger's "Pagado", readable from the driver's seat. */
.fare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fare-btn { font-size: 1.7rem; font-weight: 700; padding: 18px 8px; min-height: 72px; }
.fare-title { font-size: 2.6rem; margin: 0; }
.fares-paid .item { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.fares-paid .item.new b { color: var(--good); }
.fare-paid { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 28px 16px; border-radius: var(--r); background: var(--good); color: var(--surface); }
.fare-paid .fare-check { font-size: 4.5rem; line-height: 1; }
.fare-paid b { font-size: 2.2rem; }
.fare-paid .fare-paid-amt { font-size: 1.6rem; font-weight: 700; }

/* Chains (the founder, 2026-10-27): the till's locale in its bar, a tap to change it. */
.locale-pill { font: inherit; font-size: 12px; font-weight: 700; color: inherit; background: transparent; border-color: currentColor; cursor: pointer; vertical-align: middle; }
span.locale-pill { cursor: default; }
.locale-item .row { flex-wrap: wrap; gap: 6px; }
.locale-line { margin: 4px 0 0; }
.bal-locales { font-weight: 400; font-size: 12px; opacity: 0.8; }

/* Printed stickers (2026-11-07; A6 since 2026-11-08, the founder: a counter stand "fairly well standardised"): four to an
   A4 page, each an A6 (105 × 148 mm) to cut out; on paper, only the stickers. */
.sticker-sheet { display: block; margin-top: 12px; }
.sticker-sheet .sticker-page { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 8px; }
.print-sticker { background: #fff; border: 1px dashed #999; break-inside: avoid; aspect-ratio: 144 / 101; }
.print-sticker img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* The stickers (2026-11-18): A6 144 × 101 mm, four to an A4 (turned, two by two); small 98 × 66 mm, eight (two by four). Their card
   backing's sheet after them. On paper, each sheet its own page; thin dashed lines to cut on, over the edges. */
.sticker-sheet.stand .print-sticker { aspect-ratio: 98 / 66; }
.print-backing { margin-top: 8px; background: #fff; border: 1px dashed #999; }
.print-backing img { display: block; width: 100%; height: auto; }
.stk-more { display: grid; gap: 8px; }
/* The owner's preview before «Enviar a la imprenta» (2026-11-20): its sticker as it prints, the backing beside it. */
.own-preview { display: grid; grid-template-columns: 3fr 2fr; gap: 10px; align-items: start; }
.own-preview img { width: 100%; height: auto; min-height: 60px; border-radius: 6px; background: var(--surface); box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.own-preview img:not([src]) { aspect-ratio: 98 / 66; }
/* The print shop's page (/imprimir/:id): the two sheets as they print, side by side where there's room. */
.print-sheets { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.print-sheets img { width: 100%; height: auto; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.print-sheets img:not([src]) { aspect-ratio: 210 / 279; }
.stk-more summary { cursor: pointer; font-weight: 700; }
.icon-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.icon-steps li { display: flex; align-items: center; gap: 12px; }
.icon-steps .step-ico { font-size: 1.6rem; width: 2.2rem; text-align: center; flex: none; }
/* (Only where a sheet is shown: any other page, a statement, prints as before.) */
@page stickers { size: A4; margin: 0; }
@media print {
  body:has(.sticker-sheet) { background: #fff !important; }
  body:has(.sticker-sheet) * { visibility: hidden; }
  body:has(.sticker-sheet) .sticker-sheet, body:has(.sticker-sheet) .sticker-sheet * { visibility: visible; }
  .sticker-sheet { page: stickers; position: absolute; left: 0; top: 0; width: 210mm; margin: 0; }
  .sticker-sheet .sticker-page { width: 210mm; height: 297mm; box-sizing: border-box; margin: 0; gap: 0; break-after: page;
    padding: 4.5mm 4mm; grid-template-columns: 101mm 101mm; grid-auto-rows: 144mm; }
  .print-sticker { width: 101mm; height: 144mm; border: 0; outline: 0.2mm dashed #bbb; outline-offset: -0.1mm; position: relative; overflow: hidden; aspect-ratio: auto; }
  .print-sticker img { position: absolute; left: 50%; top: 50%; width: 144mm; height: 101mm; transform: translate(-50%, -50%) rotate(90deg); object-fit: fill; }
  .sticker-sheet.stand .sticker-page { padding: 16.5mm 7mm; grid-template-columns: 98mm 98mm; grid-auto-rows: 66mm; }
  .sticker-sheet.stand .print-sticker { width: 98mm; height: 66mm; }
  .sticker-sheet.stand .print-sticker img { position: static; width: 100%; height: 100%; transform: none; }
  .print-backing { width: 210mm; margin: 0; border: 0; break-before: page; }
  .print-backing img { width: 210mm; height: auto; }
}
/* A guide's visit, step by step (2026-11-08): "Before you leave" stands out. */
.visit-guide .eyebrow.must { color: var(--bad, #c0392b); font-weight: 800; }
.visit-guide .icon-steps label.check { display: flex; align-items: center; gap: 10px; }

/* The payment screen as the approved mockups (the founder, 2026-11-08): the bill big, chips for what comes off, tiles for how,
   banknotes for the notes, the change a switch (on), "+ Add", one button. */
.ico { width: 30px; height: 30px; flex: none; }
.pay2 { gap: 14px; }
.bill-head { display: flex; align-items: baseline; justify-content: center; gap: 14px; padding: 4px 0 0; }
.bill-amt { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; }
.bill-head .bill-rest { font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--good); }
.bill-head:has(.bill-rest) .bill-amt { font-size: 34px; color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.pchips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pchip { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); font-weight: 700; font-size: 17px; }
.pchip.use { cursor: pointer; }
.pchip.use.on { background: var(--taxi-soft); border-color: var(--taxi); color: var(--taxi-ink); }
.pchip input, .keep-sw input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pchip:focus-within, .keep-sw:focus-within { outline: 3px solid var(--ink); outline-offset: 2px; }
.coin { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--taxi-ink); color: var(--taxi); display: inline-grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 17px; }
.pchip .coin { width: 24px; height: 24px; font-size: 14px; }
.pay-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pay-tiles.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pay-tile { min-height: 92px; border-radius: 18px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-weight: 700; font-size: 16px; cursor: pointer; padding: 8px 6px; }
.pay-tile .ico { width: 34px; height: 34px; }
.pay-tile[aria-pressed="true"] { background: var(--taxi); border-color: var(--taxi); color: var(--taxi-ink); }
.pay-tile .pay-mark { display: inline-flex; align-items: center; gap: 4px; font-size: 18px; }
/* On a tile (three a row), with Apple's mark the card goes UNDER it, as the other tiles' icon above their word: Safari draws
   Apple's mark at least ~100pt wide (the founder's iPhone, 2026-11-15), so beside it the card wouldn't fit. Google's G Pay is
   small: its card stays beside it, as on the chips. */
.pay-tile .pay-mark:has(.pay-mark-apple) { flex-direction: column; gap: 6px; }
.pay-tile .pay-mark-apple ~ .pay-mark-card { margin-left: 0; padding-left: 0; border-left: 0; }
.note-tiles { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
.note-tiles .note-btn.banknote { background: var(--bill); color: var(--bill-ink); border-color: var(--bill); }
.note-tiles .note-btn.banknote::before { border-color: var(--bill-ink); opacity: .35; }
.note-tiles .note-btn.banknote[aria-pressed="true"] { border-color: var(--taxi); box-shadow: 0 0 0 3px var(--ink); }
.note-tiles .note-exact { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--ink); border-color: var(--line); font-family: var(--body); font-size: 15px; }
.note-tiles .note-exact::before { display: none; }
.note-tiles .note-exact .ico { width: 22px; height: 22px; }
.note-tiles .note-exact[aria-pressed="true"] { background: var(--taxi); border-color: var(--taxi); color: var(--taxi-ink); }
.notes-sum .notes-clear .ico { width: 20px; height: 20px; }
.keep-sw { position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border-radius: 16px; border: 2px solid var(--line); background: var(--surface); cursor: pointer; }
.keep-sw.on { background: var(--taxi-soft); border-color: var(--taxi); color: var(--taxi-ink); }
.keep-sw .keep-txt { flex: 1 1 auto; font-weight: 700; font-size: 17px; line-height: 1.25; }
.keep-sw .sw { width: 48px; height: 28px; flex: none; border-radius: 999px; background: var(--line); position: relative; transition: background .15s; }
.keep-sw .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; transition: left .15s; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.keep-sw.on .sw { background: var(--good); }
.keep-sw.on .sw::after { left: 23px; }
.add-row { display: flex; flex-direction: column; gap: 8px; }
.add-row .add-lbl { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--muted); }
.add-row .add-lbl .ico { width: 20px; height: 20px; }
.bill-foot { text-align: center; }
/* (Readable in dark mode too: the text on the soft yellow is the page's ink; the tiles a grid even where older rules made a row.) */
.keep-sw.on, .pchip.use.on { color: var(--ink); }
.bill-box .pay-tiles.pay-how-q { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bill-box .pay-tiles.pay-how-q.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bill-box .pay-tiles .pay-tile { flex: none; }
.bill-biz { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 88%; font-size: 22px; line-height: 1.15; }
.bill-biz .biz-init { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--b1); border: 2px solid var(--b1-line); color: var(--b1-line); display: grid; place-items: center; font-size: 15px; font-stretch: 100%; }
/* Four ways (Apple or Google Pay too): one row in English (the founder, 2026-10-29), two in Spanish, where "Transferencia" is long. */
.bill-box .pay-tiles.pay-how-q.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bill-box .pay-tiles.n4 .pay-tile { min-height: 84px; font-size: 14px; padding: 6px 2px; }
.bill-box .pay-tiles.n4 .pay-tile .ico { width: 28px; height: 28px; }
:root[lang="es"] .bill-box .pay-tiles.pay-how-q.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
:root[lang="es"] .bill-box .pay-tiles.n4 .pay-tile { font-size: 16px; }

/* The paid receipt and "keep it" as the approved mockups (2026-11-08). */
.paid-top { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 0 6px; text-align: center; }
.paid-check { width: 104px; height: 104px; border-radius: 50%; background: var(--good); color: #FFFFFF; display: grid; place-items: center; }
.paid-check .ico { width: 58px; height: 58px; stroke-width: 2.6; }
.paid-amt { margin: 0; font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1.05; }
.paid-biz { color: var(--muted); font-weight: 700; }
.paid-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; background: var(--b1); border: 2px solid var(--b1-line); }
.paid-card .coin { width: 50px; height: 50px; font-size: 26px; }
.paid-card-txt { display: flex; flex-direction: column; flex: 1 1 auto; }
.paid-card-txt b { font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1.05; }
.paid-card-txt span { font-weight: 700; color: var(--b1-line); }
.paid-pct { background: var(--taxi); color: var(--taxi-ink); border-radius: 999px; padding: 4px 10px; font-weight: 700; }
.paid-details summary { cursor: pointer; color: var(--muted); font-weight: 700; text-align: center; list-style-position: inside; }
.btn.keep-open, .btn.keep-copy { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; font-size: 20px; }
.btn.keep-open .ico, .btn.keep-copy .ico { width: 26px; height: 26px; }
.keep-title { display: flex; align-items: center; gap: 10px; }
.keep-title .ico { width: 30px; height: 30px; }
.keep-step { display: flex; align-items: center; gap: 12px; }
.keep-step > .step-n { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--ink); color: var(--surface); display: grid; place-items: center; font-weight: 700; }
.keep-step > .btn { flex: 1 1 auto; }
.keep-step > :not(.step-n):not(.app-tile) { min-width: 0; }
.btn.copied-btn { background: var(--surface); border: 2px solid var(--good); color: var(--good); }
.after-copy { position: relative; display: flex; flex-direction: column; gap: 14px; transition: opacity .2s; }
.keep-it:not(.copied) .after-copy { opacity: .35; }
.after-lock { position: absolute; right: 0; top: 0; color: var(--muted); }
.after-lock .ico { width: 24px; height: 24px; }
.app-tile { width: 56px; height: 56px; flex: none; border-radius: 14px; background: var(--taxi); color: var(--taxi-ink); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 28px; }

/* "Show the cashier" as the approved mockup (2026-11-08): the title big, the code big. */
.show-cashier { gap: 16px; padding-top: 8px; }
.show-title { margin: 0; display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--display); font-weight: 800; font-stretch: 88%; font-size: 30px; line-height: 1.1; }
.show-title .ico { width: 30px; height: 30px; }
.phone-qr.show-qr { width: min(300px, 78vw); padding: 14px; border-radius: 20px; }
.pchip .ico { width: 22px; height: 22px; }

/* The icon's key, as the approved mockups (2026-11-08): one red button, then its own screen. */
.key-btn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 0 16px; border-radius: 16px; border: 2px solid var(--bad); background: var(--surface); color: var(--bad); font: inherit; font-weight: 700; font-size: 19px; cursor: pointer; text-align: left; }
.key-btn span { flex: 1 1 auto; }
.key-btn .ico { width: 26px; height: 26px; }
.key-screen { gap: 16px; }
.key-back { align-self: flex-start; min-height: 44px; }
.key-back .ico { width: 22px; height: 22px; }
.key-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 18px 0 10px; }
.key-head h1 { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 88%; font-size: 34px; }
.key-big { width: 108px; height: 108px; border-radius: 50%; border: 3px solid var(--bad); color: var(--bad); display: grid; place-items: center; }
.key-big .ico { width: 54px; height: 54px; }
.key-why { margin: 0; font-weight: 700; font-size: 18px; max-width: 300px; }
.btn.key-main { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; font-size: 20px; }
.btn.key-main .ico { width: 24px; height: 24px; }
.key-more summary { cursor: pointer; color: var(--muted); font-weight: 700; text-align: center; }
.paid-facts { text-align: center; color: var(--muted); font-weight: 700; }
.paid-facts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }

/* The till as the approved mockups (2026-11-08). */
.big-amount { text-align: center; }
.big-amount label { color: var(--muted); font-weight: 700; }
.money.big { justify-content: center; border: none; background: transparent; box-shadow: none; }
.money.big span { font-family: var(--display); font-weight: 800; font-size: 48px; }
.money.big input { font-family: var(--display); font-weight: 800; font-size: 64px; text-align: center; width: 6.2ch; max-width: 100%; background: transparent; border: none; border-bottom: 3px solid var(--taxi); border-radius: 0; padding: 0 4px; }
.till-qr-head { text-align: center; }
/* The code under a till QR, typed when the camera can't read it (2026-11-27): spaced, monospaced, big enough to read across a counter. */
.typed-code-line { margin: 0; }
.typed-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 28px; letter-spacing: 0.18em; }
.scanner .typed-box label { color: #fff; }
.scanner .typed-input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 28px; letter-spacing: 0.25em; text-align: center; text-transform: uppercase; }
.till-qr-head b { display: block; font-family: var(--display); font-weight: 800; font-size: 48px; line-height: 1.05; }
.till-take { align-items: center; text-align: center; gap: 14px; }
.till-note { width: 220px; height: 108px; border-radius: 14px; background: var(--bill); color: var(--bill-ink); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 46px; box-shadow: 0 6px 0 rgba(0,0,0,.25); border: 4px solid rgba(0,0,0,.15); }
.till-give { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 800; font-size: 22px; color: var(--warn); }
.till-give .ico { width: 28px; height: 28px; }
.till-nochange { margin: 0; font-weight: 700; color: var(--good); }
/* The cashier's line (the founder, 2026-11-16): what to say when change is due, big enough to read out; what a yes earns, small. */
.say-line { margin: 0; padding: 10px 14px; border-radius: 14px; border: 2px solid var(--taxi); background: var(--taxi-soft); color: var(--ink); text-align: left; }
.say-line .say-q, p.say-q { margin: 0; font-weight: 800; font-size: 19px; line-height: 1.3; }
.say-line .say-gain { justify-content: flex-start; margin-top: 8px; }
.say-line .say-gain .pchip { min-height: 32px; font-size: 14px; padding: 2px 10px; }
/* «Lo guarda» (2026-11-16): a yes to the line, asked on their phone; while it waits, and what their phone said. */
.say-line .keep-ask { margin-top: 10px; min-height: 52px; font-size: 19px; font-weight: 800; background: var(--taxi); border-color: var(--taxi); color: var(--taxi-ink); }
.say-line .keep-wait { margin-top: 10px; font-size: 17px; }
/* (v169) The question's two answers, equal. */
.say-line .keep-pick { margin-top: 10px; gap: 8px; flex-direction: column; align-items: stretch; }
.say-line .keep-pick .btn { flex: 0 0 auto; width: 100%; margin-top: 0; min-height: 52px; font-size: 17px; font-weight: 800; }
.till-keep-no { margin: 0; font-weight: 700; color: var(--muted); }
/* ...and their phone's one big button. */
.keep-ask-q .btn.keep-yes { min-height: 76px; font-size: 21px; font-weight: 800; }
/* A bill the customer typed and paid from their phone, its code scanned (2026-11-10): red when shown before, or paid long ago. */
.till-shown-warn .till-amount { color: var(--bad); }
.till-shown-alert { font-weight: 700; font-size: 18px; }
.pchip.paid-chip { color: var(--good); border-color: var(--good); font-weight: 700; }
.btn.till-got { min-height: 70px; font-size: 22px; background: var(--good); border-color: var(--good); color: #FFFFFF; }
.till-notso { color: var(--bad); }
.till-ways { margin-top: 4px; }

/* The customer's first two screens as the approved mockups (2026-11-08). */
.hon-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.hon-tile { min-height: 170px; border-radius: 22px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 18px 12px; font: inherit; font-weight: 700; font-size: 19px; line-height: 1.2; text-align: center; cursor: pointer; }
.hon-tile .ico { width: 48px; height: 48px; }
.hon-tile.new { background: var(--taxi); border-color: var(--taxi); color: var(--taxi-ink); }
/* "Open a business": both ways in, equal and yellow (2026-11-08); smaller under the list of this phone's businesses. */
.start-tiles .hon-tile { background: var(--taxi); border-color: var(--taxi); color: var(--taxi-ink); }
.start-tiles.slim .hon-tile { min-height: 112px; gap: 8px; }
.start-tiles.slim .hon-tile .ico { width: 36px; height: 36px; }
.start-tiles + .save-more { margin-top: 14px; }
.pill-btn { align-self: center; display: inline-flex; align-items: center; gap: 8px; margin: 0 auto; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
.pill-btn .ico { width: 20px; height: 20px; }
/* (The amount big, its label small, the symbol beside the number.) */
.field.big-amount label { font-size: 16px; font-family: var(--body); letter-spacing: 0; text-transform: none; }
.money.big { display: flex; align-items: baseline; gap: 6px; }
.money.big input { width: 5.2ch; flex: 0 1 auto; }

/* The business's screens as the approved mockups (2026-11-08): its till, its sign-up, its first steps. */
.btn.cobrar.big-act { flex-direction: row; align-items: center; gap: 14px; min-height: 84px; }
.cobrar.big-act > .ico { width: 34px; height: 34px; flex: none; }
.cobrar-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; }
.navgrid .nav-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 86px; text-align: center; }
.navgrid .nav-tile .ico { width: 26px; height: 26px; }
.navgrid .nav-tile .badge-count { position: absolute; top: 8px; right: 10px; }
.quick-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding-top: 10px; }
.quick-head h1 { margin: 0; }
.quick-ico { width: 104px; height: 104px; border-radius: 30px; background: var(--b1); border: 3px solid var(--b1-line); display: grid; place-items: center; font-size: 56px; line-height: 1; }
.btn.big-go { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; font-size: 20px; }
.btn.big-go .ico { width: 26px; height: 26px; }
.quick-full { margin-top: 4px; }
.prep-take { display: flex; flex-direction: column; }
.prep-take h1 { margin: 0; }
.prep-way { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 44px; }
.prep-way .ico { width: 48px; height: 48px; }
.step-dots { display: flex; align-items: center; gap: 8px; margin: 0; }
.step-dots i { width: 10px; height: 10px; border-radius: 999px; background: var(--line); }
.step-dots i.done { background: var(--good); }
.step-dots i.on { width: 30px; background: var(--taxi); }
.won-card { margin: 4px 0; }
.ico-label { display: inline-flex; align-items: center; gap: 8px; }
.ico-label .ico { width: 22px; height: 22px; }
.wa-head { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 88%; font-size: 28px; }
.wa-head .ico { width: 32px; height: 32px; color: var(--good); }
.sw-line:has(input:checked) { border-color: var(--good); }
.sw-line:has(input:checked) .sw { background: var(--good); }
.sw-line:has(input:checked) .sw::after { left: 23px; }
.home-steps-till .keep-step > .panel { flex: 1 1 auto; margin: 0; }
.open-it { display: flex; flex-direction: column; gap: 2px; }
.droid-steps .droid-key { color: var(--ink); }
.join-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.join-tile { min-height: 124px; border-radius: 20px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 14px 6px; font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; text-align: center; cursor: pointer; }
.join-tile .ico { width: 40px; height: 40px; }
.join-tile.on { border-color: var(--taxi); background: var(--taxi-soft); color: var(--ink); }
.biz-choice .drive-tiles { margin-top: 10px; }
/* "Añadir otro negocio": "Ya tengo uno" or "Abrir uno nuevo", two tiles (2026-11-08). */
a.hon-tile { text-decoration: none; }
.add-tiles + .btn { margin-top: 14px; }
/* "Usar en otro dispositivo": which one this is, two tiles (2026-11-08). */
.device-how { text-align: center; margin: 4px 0 0; }

/* Log in, the wallet's home and the receipt's rewards as the approved mockups (2026-11-08). */
.key-big.key-in { border-color: var(--ink); color: var(--ink); }
.or-line { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--muted); font-weight: 700; font-size: 15px; }
.or-line::before, .or-line::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line); }
.key-type { display: flex; gap: 10px; }
.key-type input { flex: 1 1 auto; min-width: 0; min-height: 56px; box-sizing: border-box; border: 2px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); padding: 0 12px; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .02em; }
.btn.key-go { width: 56px; min-height: 56px; padding: 0; flex: none; display: grid; place-items: center; background: var(--ink); color: var(--surface); border-color: var(--ink); }
.btn.key-go .ico { width: 24px; height: 24px; }
.key-pills { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.pill-more > summary { list-style: none; display: flex; align-items: center; justify-content: center; gap: 8px; width: max-content; margin: 0 auto; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 700; font-size: 15px; cursor: pointer; }
.pill-more > summary::-webkit-details-marker { display: none; }
.pill-more > summary .ico { width: 18px; height: 18px; }
.pill-more[open] > summary { margin-bottom: 10px; }
.q-dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: 12px; line-height: 1; }
/* The wallet's home. */
.wallet-top:has(.wallet-total) { flex-direction: column-reverse; align-items: stretch; }
.wallet-top:has(.wallet-total) .wallet-id { max-width: none; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; }
button.wallet-total { all: unset; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; padding: 4px 0; cursor: pointer; text-align: center; }
button.wallet-total:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 12px; }
button.wallet-total b { font-size: 54px; line-height: 1; }
button.wallet-total span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; font-size: 15px; }
button.wallet-total .ico { width: 16px; height: 16px; }
.biz-cards { display: flex; flex-direction: column; gap: 12px; }
/* Above the cards (item 5, 2026-11-20): the reward closest, and «📍 Cerca de mí». */
.near-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 4px 0 10px; }
.near-top { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.near-btn { flex: none; margin-left: auto; }
.biz-card { background: var(--surface); border: 2px solid var(--line); border-radius: 20px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.biz-card.warn { border-color: var(--warn); }
.biz-card-top { display: flex; align-items: center; gap: 12px; }
.biz-init, .biz-logo { width: 44px; height: 44px; flex: none; border-radius: 12px; }
.biz-init { background: var(--b1); border: 2px solid var(--b1-line); color: var(--b1-line); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 16px; }
.biz-init.ride { background: var(--taxi-soft); border-color: var(--taxi); color: var(--ink); }
.biz-init .ico { width: 24px; height: 24px; }
.biz-logo { object-fit: cover; }
.biz-card-name { flex: 1 1 auto; min-width: 0; font-family: var(--display); font-weight: 800; font-stretch: 88%; font-size: 21px; line-height: 1.15; overflow-wrap: anywhere; }
a.biz-card-name { color: inherit; text-decoration: none; } /* (its page, 2026-11-20) */
.biz-card-amt { font-family: var(--display); font-weight: 800; font-size: 26px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.biz-card-amt.owe { color: var(--warn); }
.biz-packs { display: flex; flex-wrap: wrap; gap: 6px; }
.biz-card-acts { display: flex; gap: 10px; }
.biz-card-acts .pay-here { flex: 1 1 auto; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 17px; }
.biz-card-acts .pay-here .ico { width: 20px; height: 20px; }
.btn.sq { width: 48px; min-height: 48px; padding: 0; flex: none; display: grid; place-items: center; }
.btn.sq .ico { width: 22px; height: 22px; }
.home-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.home-tiles:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-tile { position: relative; min-height: 76px; border-radius: 16px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px 4px; font: inherit; font-weight: 700; font-size: 14px; line-height: 1.15; text-align: center; cursor: pointer; }
.home-tile .ico { width: 24px; height: 24px; }
.home-tile .badge-count { position: absolute; top: 6px; right: 8px; }
.scan-bottom { position: sticky; bottom: 12px; z-index: 2; margin-top: 4px; }
.scan-bottom .btn.scan-hero-btn { justify-content: center; min-height: 72px; }
.place-view .owed b { font-size: 40px; }
/* Goals: an icon, a few words, the reward as a chip; dots or a bar. */
.goal-row { display: flex; flex-direction: column; gap: 6px; }
.goal-head { display: flex; align-items: center; gap: 8px; }
.goal-head .ico { width: 20px; height: 20px; flex: none; }
.goal-label { flex: 1 1 auto; min-width: 0; font-weight: 700; font-size: 16px; }
.goal-chip { flex: none; background: var(--taxi); color: var(--taxi-ink); border-radius: 999px; padding: 3px 10px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.goal-row .dots, .goal-near .dots { display: flex; flex-wrap: wrap; gap: 6px; }
.goal-row .dots i, .goal-near .dots i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--taxi); }
.goal-row .dots i.on, .goal-near .dots i.on { background: var(--taxi); }
.goal-row .dots i.on { animation: stamp-in .3s ease-out both; animation-delay: calc(var(--i, 0) * 90ms); }
.goal-row .dots i.new { animation-name: stamp-new; animation-duration: .6s; }
@media (prefers-reduced-motion: reduce) { .goal-row .dots i { animation: none !important; } }
.goal-bar { height: 12px; border-radius: 999px; background: var(--line); overflow: hidden; }
.goal-bar span { display: block; height: 100%; background: var(--taxi); border-radius: 999px; }
.goal-near .goal-bar { flex: 1 1 auto; }
.goal-cap { align-self: flex-end; color: var(--muted); font-size: 13px; }
.goal-row.done .goal-label::after { content: " ✓"; color: var(--good); }
.goal-near { display: flex; align-items: center; gap: 8px; }
.goal-near.tap { cursor: pointer; border-radius: 10px; margin: -4px -6px; padding: 4px 6px; } /* (its stamp status, 2026-11-20) */
.goal-near.tap:focus-visible { outline: 2px solid var(--taxi); outline-offset: 2px; }
.goal-near .goal-more { flex: none; color: var(--muted); font-weight: 700; }
.goal-near .dots i { width: 16px; height: 16px; }
.goal-n { flex: 1 1 auto; color: var(--muted); font-weight: 700; font-size: 14px; }
.goal-near .goal-bar + .goal-n { flex: none; }
.rewards-card .visit-title { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 800; font-stretch: 88%; font-size: 20px; }
.rewards-card .visit-title .ico { width: 22px; height: 22px; }
.rewards-card .goals { display: flex; flex-direction: column; gap: 14px; }
.cash-back .ladder-now, .cash-back .ladder-top { font-family: var(--display); font-weight: 800; font-size: 18px; }
.cash-back .ladder-top { color: var(--muted); }
.cash-back .ladder-now + .ico { width: 16px; height: 16px; color: var(--muted); }
.next-short { display: flex; align-items: center; gap: 8px; margin: 0; background: var(--b1); border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: 16px; color: var(--b1-line); }
.next-short .ico { width: 20px; height: 20px; flex: none; }

/* Paying with no decisions (the approved mockups, 2026-11-09): what we chose said as results; the options under "Cambiar". */
.bill-head { flex-wrap: wrap; }
.bill-head .bill-lbl { flex: 1 0 100%; text-align: center; color: var(--muted); font-weight: 700; font-size: 16px; }
.bill-head .bill-amt:not(.struck) { font-size: 60px; color: var(--ink); text-decoration: none; }
.pay-result { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 14px; border-radius: 18px; background: var(--b1); border: 2px solid var(--b1-line); font-weight: 700; font-size: 16px; }
.pay-result .coin { flex: none; }
.pay-result .pr-label { flex: 1 1 auto; color: var(--b1-line); }
.pay-result b { font-family: var(--display); font-weight: 800; font-size: 22px; white-space: nowrap; }
.pay-result.keep-result { background: var(--taxi-soft); border-color: var(--taxi); color: var(--ink); }
.pay-result.keep-result.off { background: var(--surface); border-color: var(--line); }
.to-pay { display: flex; align-items: baseline; justify-content: space-between; padding: 0 4px; }
.to-pay span { font-weight: 700; font-size: 18px; }
.to-pay b { font-family: var(--display); font-weight: 800; font-size: 34px; }
.notes-lbl { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-weight: 700; font-size: 17px; }
.notes-lbl .ico { width: 22px; height: 22px; }
.pay-more { padding: 14px; border-radius: 18px; border: 2px dashed var(--line); background: var(--surface); }
.pay-more-link { all: unset; box-sizing: border-box; align-self: center; display: flex; align-items: center; justify-content: center; gap: 6px; margin: 4px auto 0; padding: 10px 16px; min-height: 44px;
  border: 2px solid var(--line); border-radius: var(--r, 12px); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 16px; cursor: pointer; } /* (a visible button: 2026-11-21) */
.pay-more-link:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 10px; }
.pay-more-link .ico { width: 18px; height: 18px; }
/* "Cómo te pagan" (2026-11-09): cash always, card and transfer switched, cash first. */
.pay-ways .keep-sw > .ico { width: 24px; height: 24px; flex: none; }
.way-always { cursor: default; border-color: var(--good); }
.way-always > .ico:last-child { color: var(--good); }
/* Cash first (the founder, 2026-11-09): its tile whole width, yellow, with what it earns. */
:root .pay-tiles.pay-tiles:has(.cash-tile) { display: flex; flex-wrap: wrap; gap: 10px; }
:root .pay-tiles.pay-tiles:has(.cash-tile) > .pay-tile { flex: 1 1 0; min-width: 0; }
:root .pay-tiles.pay-tiles > .pay-tile.cash-tile { flex: 1 1 100%; flex-direction: row; justify-content: center; gap: 12px; min-height: 76px; font-size: 20px; background: var(--taxi); border-color: var(--taxi); color: var(--taxi-ink); }
:root .pay-tiles.pay-tiles > .pay-tile.cash-tile .ico { width: 30px; height: 30px; }
:root .pay-tiles.pay-tiles > .pay-tile.cash-tile[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--ink); }
/* How they pay the rest, on the screen itself (2026-11-08): cash big and first; the others smaller, in a row under it; the one
   chosen ringed, and cash only soft yellow while another is chosen. */
:root .bill-box > .pay-tiles.pay-how-q > .pay-tile:not(.cash-tile) { min-height: 64px; gap: 4px; font-size: 15px; padding: 6px 4px; }
:root .bill-box > .pay-tiles.pay-how-q > .pay-tile:not(.cash-tile) .ico { width: 24px; height: 24px; }
:root .bill-box > .pay-tiles.pay-how-q > .pay-tile[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--ink); }
/* One yellow at a time, on the customer's screen and the till's (the founder, 2026-11-08: "only one of the buttons should be
   highlighted at a time … that then goes yellow and the others dark"): another way chosen, cash goes plain; its bonus stays
   in sight. */
:root .pay-tiles.pay-tiles:has(> .pay-tile:not(.cash-tile)[aria-pressed="true"]) > .pay-tile.cash-tile { background: var(--surface); border-color: var(--line); color: var(--ink); }
:root .pay-tiles.pay-tiles:has(> .pay-tile:not(.cash-tile)[aria-pressed="true"]) > .pay-tile.cash-tile .pay-pct { background: var(--taxi); color: var(--taxi-ink); }
.pay-pct { background: var(--taxi-ink); color: var(--taxi); border-radius: 999px; padding: 3px 10px; font-weight: 800; font-size: 15px; }
.bill-notes .other-amt { margin-top: 6px; }
.hand-field { margin-top: 8px; align-items: center; }
.pay-result.from-saldo { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 2px; align-items: center; }
.pay-result.from-saldo .coin { grid-row: span 2; }
.pay-result.from-saldo .pr-label, .pay-result.from-saldo b { grid-column: 2; }
.pay-result.from-saldo b { white-space: normal; }
/* The onboarder's "Nuevo taxista" (the approved mockups, 2026-11-09): the ride big, banknotes, one button; "Muéstrale esto". */
.prep-head { display: flex; align-items: center; gap: 10px; }
.prep-head > .ico { width: 26px; height: 26px; flex: none; }
.prep-head b { flex: 1 1 auto; font-family: var(--display); font-weight: 800; font-stretch: 88%; font-size: 22px; }
.prep-head .prep-country { margin: 0; padding: 5px 10px; font-size: 13px; }
.prep-amt { align-items: center; text-align: center; }
.show-him { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 4px 0; font-family: var(--display); font-weight: 800; font-stretch: 88%; font-size: 26px; }
.show-him .ico { width: 28px; height: 28px; }
.qr.prep-qr { max-width: 300px; margin: 0 auto; }
.prep-chips { justify-content: center; }

/* The till once paid, at a glance (2026-11-08): what to tell them as a card (an icon, a few big words, the prize as a chip);
   their bonus and balance as chips; the home screen warning short, with a phone. */
.done-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 2px solid var(--good); }
.done-card > .ico { width: 40px; height: 40px; flex: none; color: var(--good); }
.done-card > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.done-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.done-card b { font-family: var(--display); font-weight: 800; font-stretch: 92%; font-size: 24px; line-height: 1.1; }
.done-card small { color: var(--muted); font-size: 15px; }
.done-prize { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.done-pct { background: var(--taxi); color: var(--taxi-ink); border-radius: 999px; padding: 2px 12px; font-weight: 800; font-size: 19px; }
.done-reward { border-color: var(--taxi); }
.done-reward > .ico { color: var(--ink); }
.done-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.done-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); }
.done-chip b { font-size: 18px; }
.done-chip small { color: var(--muted); font-size: 14px; }
.done-chip .ico, .done-chip > svg { width: 22px; height: 22px; flex: none; }
.done-chip .coin { width: 24px; height: 24px; font-size: 13px; }
.home-warn { display: flex; align-items: center; gap: 12px; }
.home-warn .ico { width: 34px; height: 34px; flex: none; }
.home-warn b, .home-warn small { display: block; }
.home-warn small { font-weight: 600; margin-top: 2px; }

/* Paid by transfer (2026-11-08): in Ajustes, where they transfer to; on the till, the amount and its bank's QR big; on the
   customer's phone, the amount and where to send it, each to copy, and its pay link one dark tap (the yellow stays "Ya transferí"). */
.ico-head { display: flex; align-items: center; gap: 8px; }
.ico-head .ico { width: 24px; height: 24px; flex: none; }
.tr-qr-up { display: flex; align-items: center; justify-content: center; gap: 8px; }
.tr-qr-up .ico { width: 22px; height: 22px; }
.qr.tr-qr { max-width: 200px; }
.till-transfer { align-items: center; text-align: center; padding: 12px 0 4px; }
.till-tr-amt { font-family: var(--display); font-weight: 800; font-stretch: 90%; font-size: 44px; line-height: 1; }
.qr.till-tr-qr { width: min(280px, 80vw); margin: 0 auto; }
.till-tr-lbl { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; }
.till-tr-lbl .ico { width: 24px; height: 24px; }
.till-tr-info, .tr-info p { white-space: pre-line; font-weight: 700; margin: 0; }
.pay-transfer { padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1.5px solid var(--line); }
.tr-amt { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tr-amt b { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; margin-right: auto; }
.tr-info { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.tr-info.tr-pieces { align-items: stretch; } /* (its pieces, each a row to copy, across: 2026-11-25) */
.tr-copy { display: inline-flex; align-items: center; gap: 6px; }
.tr-copy .ico { width: 18px; height: 18px; }
.tr-boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tr-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; }
.tr-row .label { grid-column: 1 / -1; }
/* Spain's IBAN (2026-11-20): the holder in sight, as the payer's bank checks it. */
.tr-holder b { font-size: 1.12rem; }
.iban-holder-why { display: block; font-weight: 600; margin-top: 4px; }
.tr-row b { font-size: 20px; letter-spacing: .03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.till-tr-fields { display: grid; gap: 8px; }
.till-tr-fields > div { display: flex; flex-direction: column; align-items: center; }
.till-tr-fields b { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.tr-scan-till { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; }
.tr-scan-till .ico { width: 20px; height: 20px; flex: none; }
.btn.tr-link { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; background: var(--ink); color: var(--paper); border-color: var(--ink); font-weight: 800; text-decoration: none; }
.btn.tr-link .ico { width: 24px; height: 24px; }

/* The home screen guide, drawn (2026-11-08): a phone (its own colours in both themes: it is a picture of one), a finger
   tapping each step, a caption under it. */
.ha { --ph-bezel: #0B0F0D; --ph-paper: #F1F4F2; --ph-surface: #FFFFFF; --ph-ink: #14211D; --ph-muted: #8A9692; --ph-line: #DDE3E0; --ph-sheet: #F2F2F5;
  --ph-blue: #0A66D8; --ph-green: #34C759; --ph-wall1: #2F6F57; --ph-wall2: #173A30; --ph-tile: rgba(255,255,255,.28); --ph-dim: rgba(10,14,12,.38);
  --ph-hi: #F5C400; --ph-on-hi: #14211D; --ph-white: #FFFFFF; --ph-pressed: #D9AE00;
  display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.ha-phone { width: min(230px, 62vw); aspect-ratio: 9 / 19; border-radius: 38px; padding: 8px; background: var(--ph-bezel); box-shadow: 0 12px 30px rgba(0,0,0,.28); container-type: inline-size; }
.ha-screen { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: var(--ph-paper); color: var(--ph-ink); font-family: var(--body); font-size: 5.2cqw; line-height: 1.2; cursor: pointer; user-select: none; -webkit-user-select: none; }
.ha-screen svg { width: 1.5em; height: 1.5em; flex: none; }
.ha [data-on] { position: absolute; opacity: 0; visibility: hidden; transition: opacity .3s, transform .35s ease, visibility 0s .35s; }
.ha [data-on].on { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .35s ease, visibility 0s; }
.ha-status { position: absolute; left: 0; right: 0; top: 0; height: 6.5%; display: flex; align-items: center; justify-content: space-between; padding: 0 9%; font-weight: 700; font-size: .85em; z-index: 1; }
.ha-status i { width: 2.6em; height: .9em; border-radius: .3em; background: currentColor; opacity: .75; }
.ha-page { inset: 13% 0 0 0; padding: 4% 7%; display: flex; flex-direction: column; gap: .7em; }
.ha[data-kind="ios26"] .ha-page { top: 6.5%; }
.ha-hdr { display: flex; align-items: center; gap: .45em; font-family: var(--display); font-weight: 800; font-size: 1.15em; }
.ha-coin { width: 1.4em; height: 1.4em; border-radius: 50%; background: var(--ph-hi); color: var(--ph-on-hi); display: grid; place-items: center; font-size: .85em; box-shadow: inset 0 0 0 .14em var(--ph-on-hi); }
.ha-bal { display: flex; flex-direction: column; align-items: center; padding: .6em 0 .2em; }
.ha-bal small { color: var(--ph-muted); font-size: .8em; }
.ha-bal b { font-family: var(--display); font-weight: 800; font-size: 2.4em; line-height: 1.05; }
.ha-cta { min-height: 2.4em; border-radius: .8em; background: var(--ph-hi); color: var(--ph-on-hi); display: grid; place-items: center; font-weight: 800; font-size: .95em; }
.ha-lines { display: flex; flex-direction: column; gap: .55em; padding-top: .4em; }
.ha-lines i { height: 2.2em; border-radius: .7em; background: var(--ph-surface); border: 1px solid var(--ph-line); }
.ha-open { inset: 0; background: var(--ph-paper); transform: scale(.25); transform-origin: 62% 33%; }
.ha-open .ha-page { position: absolute; opacity: 1; visibility: visible; top: 6.5%; }
.ha-bar { display: flex; align-items: center; gap: 3%; z-index: 2; }
.ha-url { flex: 1 1 auto; min-width: 0; height: 100%; border-radius: 999px; background: var(--ph-surface); display: flex; align-items: center; justify-content: center; gap: .3em; font-size: .85em; color: var(--ph-ink); white-space: nowrap; overflow: hidden; }
.ha-url::before { content: ""; width: .55em; height: .7em; border: .12em solid var(--ph-muted); border-radius: .15em; }
.ha-rb { height: 100%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: var(--ph-ink); }
.ha-b26 { left: 4%; right: 4%; bottom: 2.5%; height: 7%; padding: 1.2%; border-radius: 999px; background: rgba(255,255,255,.82); box-shadow: 0 .3em 1.2em rgba(0,0,0,.18); }
.ha-b26 .ha-rb { background: var(--ph-surface); }
.ha-ttop { left: 0; right: 0; top: 6.5%; height: 6.5%; padding: 1% 4%; background: var(--ph-sheet); }
.ha-ttop .ha-url { border-radius: .7em; }
.ha-tbot { left: 0; right: 0; bottom: 0; height: 8.5%; padding: 0 5% 2%; background: var(--ph-sheet); justify-content: space-between; }
.ha-tbot .ha-rb { color: var(--ph-blue); height: 80%; }
.ha-chr { left: 0; right: 0; top: 6.5%; height: 6.5%; padding: 1% 2% 1% 4%; background: var(--ph-surface); gap: 1.5%; }
.ha-chr .ha-url { background: var(--ph-sheet); }
.ha-tabs { width: 1.2em; height: 1.2em; border: .14em solid var(--ph-ink); border-radius: .25em; font-size: .7em; display: grid; place-items: center; font-weight: 700; }
.ha-sbot { left: 0; right: 0; bottom: 0; height: 8%; padding: 0 4% 2%; background: var(--ph-surface); justify-content: space-between; }
.ha-dim { inset: 0; background: var(--ph-dim); z-index: 3; }
.ha-pop { right: 4%; bottom: 11%; width: 68%; border-radius: 1em; background: var(--ph-surface); box-shadow: 0 .4em 1.6em rgba(0,0,0,.25); padding: .3em 0; transform: scale(.85); transform-origin: 92% 100%; z-index: 4; }
.ha-menu { right: 2%; top: 7%; width: 72%; border-radius: .7em; background: var(--ph-surface); box-shadow: 0 .4em 1.6em rgba(0,0,0,.25); padding: .3em 0; transform: scale(.85); transform-origin: 95% 0; z-index: 4; }
.ha-icons4 { display: flex; justify-content: space-around; padding: .35em .5em .5em; border-bottom: 1px solid var(--ph-line); color: var(--ph-muted); }
.ha-row { display: flex; align-items: center; gap: .55em; min-height: 2.3em; padding: .35em .8em; font-size: .88em; }
.ha-row i { flex: 1; height: .6em; border-radius: .3em; background: var(--ph-line); max-width: 70%; }
.ha-row em { font-style: normal; font-weight: 700; flex: 1; }
.ha-pop .ha-row + .ha-row, .ha-rows .ha-row + .ha-row { border-top: 1px solid var(--ph-line); }
.ha-sheet { left: 0; right: 0; bottom: 0; height: 80%; border-radius: 1.2em 1.2em 0 0; background: var(--ph-sheet); padding: .9em .7em; display: flex; flex-direction: column; gap: .8em; transform: translateY(100%); z-index: 4; }
.ha-sh-head { display: flex; align-items: center; gap: .5em; }
.ha-sh-head b, .ha-dlg-app b { display: block; font-size: .95em; }
.ha-sh-head small, .ha-dlg-app small { display: block; color: var(--ph-muted); font-size: .75em; }
.ha-apps { display: flex; justify-content: space-between; padding: 0 .3em; }
.ha-apps i { width: 2.6em; height: 2.6em; border-radius: .7em; background: var(--ph-line); }
.ha-rows { background: var(--ph-surface); border-radius: .8em; overflow: hidden; }
.ha-rows .ha-row svg { margin-left: auto; }
.ha-icon { display: inline-grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: .65em; background: var(--ph-hi); flex: none; }
.ha-icon::before { content: "¢"; width: 64%; height: 64%; border-radius: 50%; background: var(--ph-ink); color: var(--ph-hi); display: grid; place-items: center; font-weight: 800; font-size: 1.25em; line-height: 1; }
.ha-dlg { inset: 6.5% 0 0 0; border-radius: 1.2em 1.2em 0 0; background: var(--ph-sheet); padding: .9em .8em; display: flex; flex-direction: column; gap: 1em; transform: translateY(8%); z-index: 5; }
.ha-dlg-top { display: flex; align-items: center; justify-content: space-between; font-size: .88em; }
.ha-dlg-top b { font-size: .95em; }
.ha-blue { color: var(--ph-blue); font-weight: 700; padding: .3em .5em; border-radius: .5em; }
.ha-dlg-app { display: flex; align-items: center; gap: .6em; background: var(--ph-surface); border-radius: .8em; padding: .7em; }
.ha-tog { display: flex; align-items: center; justify-content: space-between; background: var(--ph-surface); border-radius: .8em; padding: .7em; font-size: .88em; }
.ha-tog em { font-style: normal; }
.ha-sw { width: 2.4em; height: 1.45em; border-radius: 999px; background: var(--ph-green); position: relative; flex: none; }
.ha-sw::after { content: ""; position: absolute; right: .12em; top: .12em; width: 1.2em; height: 1.2em; border-radius: 50%; background: var(--ph-white); }
.ha-card { left: 7%; right: 7%; top: 30%; border-radius: 1em; background: var(--ph-surface); padding: 1em; display: flex; flex-direction: column; gap: .8em; box-shadow: 0 .5em 2em rgba(0,0,0,.3); transform: scale(.92); z-index: 5; }
.ha-card > b { font-size: 1em; }
.ha-card .ha-dlg-app { padding: 0; }
.ha-btns { display: flex; justify-content: flex-end; gap: .4em; font-size: .9em; }
.ha-btns span { padding: .45em .8em; border-radius: 999px; font-weight: 700; color: var(--ph-blue); }
.ha-btns .solid { background: var(--ph-blue); color: var(--ph-white); }
.ha-ssheet { left: 0; right: 0; bottom: 0; border-radius: 1.2em 1.2em 0 0; background: var(--ph-surface); padding: 1em .6em 1.4em; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8em .3em; transform: translateY(100%); z-index: 4; }
.ha-tile { display: flex; flex-direction: column; align-items: center; gap: .3em; font-size: .72em; text-align: center; padding: .3em .1em; border-radius: .6em; }
.ha-tile i { width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--ph-line); }
.ha-tile svg { width: 2.2em; height: 2.2em; }
.ha-slist { left: 10%; right: 10%; top: 36%; border-radius: 1em; background: var(--ph-surface); padding: .4em 0; box-shadow: 0 .5em 2em rgba(0,0,0,.3); transform: scale(.92); z-index: 5; }
.ha-home { inset: 0; background: linear-gradient(160deg, var(--ph-wall1), var(--ph-wall2)); color: var(--ph-white); transform: scale(1.06); z-index: 6; }
.ha-home .ha-status { color: var(--ph-white); }
.ha-grid { position: absolute; left: 7%; right: 7%; top: 11%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1em .5em; }
.ha-grid > i, .ha-dock i { aspect-ratio: 1; border-radius: 26%; background: var(--ph-tile); }
.ha-app { display: flex; flex-direction: column; align-items: center; gap: .25em; border-radius: 26%; }
.ha-app .ha-icon { width: 100%; height: auto; aspect-ratio: 1; border-radius: 26%; font-size: 1em; }
.ha-app small { font-size: .62em; color: var(--ph-white); white-space: nowrap; }
.ha-home.on .ha-app { animation: ha-pop .7s .3s both; }
@keyframes ha-pop { 0% { transform: scale(0); } 70% { transform: scale(1.18); } 100% { transform: scale(1); } }
.ha-dock { position: absolute; left: 5%; right: 5%; bottom: 3%; padding: .7em; border-radius: 1.6em; background: var(--ph-tile); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8em; }
.ha .hi { box-shadow: inset 0 0 0 .16em var(--ph-hi); border-radius: .6em; }
.ha .ha-rb.hi, .ha .ha-app.hi { box-shadow: 0 0 0 .2em var(--ph-hi); }
.ha .ha-cta.hi { box-shadow: 0 0 0 .2em var(--ph-ink); }
.ha .pressed { background-color: var(--ph-line); }
.ha .ha-cta.pressed { background-color: var(--ph-pressed); }
.ha .ha-app.pressed { transform: scale(.9); transition: transform .15s; }
.ha-finger { position: absolute; left: 0; top: 0; width: 13%; aspect-ratio: 1; margin: -6.5% 0 0 -6.5%; border-radius: 50%; background: rgba(20,33,29,.35); border: .15em solid var(--ph-white); box-shadow: 0 .1em .5em rgba(0,0,0,.35);
  transform: translate(var(--fx, 50cqw), var(--fy, 120cqw)); transition: transform .7s cubic-bezier(.3,.7,.3,1), opacity .3s; opacity: 0; z-index: 9; pointer-events: none; }
.ha-finger.show { opacity: 1; }
.ha-finger::after { content: ""; position: absolute; inset: -.15em; border-radius: 50%; border: .15em solid var(--ph-hi); opacity: 0; }
.ha-finger.tap::after { animation: ha-ring .5s ease-out; }
@keyframes ha-ring { from { opacity: 1; transform: scale(.6); } to { opacity: 0; transform: scale(2.2); } }
.ha[data-paused] .ha-screen::after { content: "▶"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 10; width: 3em; height: 3em; display: grid; place-items: center; padding-left: .2em;
  font-size: 1.2em; color: var(--ph-white); background: var(--ph-dim); border-radius: 50%; }
.ha-caps { min-height: 3.4em; display: grid; place-items: center; text-align: center; }
.ha-cap { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ha-cap span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-stretch: 90%; font-weight: 800; font-size: 20px; line-height: 1.15; }
.ha-cap svg { width: 26px; height: 26px; flex: none; }
.ha-cap small { color: var(--muted); font-size: 14px; max-width: 30ch; }
.ha-dots { display: flex; gap: 4px; }
.ha-dots button { width: 26px; height: 26px; border: 0; padding: 0; background: transparent; display: grid; place-items: center; cursor: pointer; }
.ha-dots button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: background .2s, transform .2s; }
.ha-dots button[aria-current="step"]::before { background: var(--taxi); transform: scale(1.3); }
.ha-screen:focus-visible, .ha-dots button:focus-visible { outline: 3px solid var(--taxi); outline-offset: 2px; }
.ha.ha-now [data-on], .ha.ha-now [data-on].on, .ha.ha-now .ha-finger { transition: none; }
.ha.ha-now .ha-app { animation: none; }
@media (prefers-reduced-motion: reduce) { .ha [data-on], .ha [data-on].on, .ha-finger { transition: none; } .ha-home.on .ha-app { animation: none; } }

/* The latest payments (the founder, 2026-11-09; approved as drawn, 2026-11-12): a row each, how it was paid in small chips. */
.pcoin { display: inline-grid; place-items: center; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--taxi-ink); color: var(--taxi); box-shadow: 0 0 0 1px var(--taxi); font-family: var(--display); font-weight: 800; font-size: 11px; line-height: 1; }
.pay-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 5px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 700; font-size: 14px; line-height: 1.3; }
.pay-chip .ico { width: 16px; height: 16px; }
.pay-chip.keep { border-color: var(--taxi); background: var(--taxi-soft); color: var(--ink); }
.pay-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-ways .chip { display: inline-flex; align-items: center; gap: 6px; }
.pay-ways .chip .ico { width: 18px; height: 18px; }
.pay-list { display: flex; flex-direction: column; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.pay-row { display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 12px 14px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.pay-row:first-child { border-top: 0; }
.pay-ico { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--paper); }
.pay-ico .ico { width: 22px; height: 22px; }
.pay-main { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.pay-top { display: flex; align-items: baseline; gap: 8px; }
.pay-top b { flex: 1; min-width: 0; }
.pay-amt { font-family: var(--display); font-weight: 800; font-size: 19px; white-space: nowrap; }
.pay-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; color: var(--muted); font-size: 14px; font-weight: 700; }
.pay-meta .ico { width: 15px; height: 15px; vertical-align: -2px; }
.pay-row.voided .pay-amt, .pay-big.voided, .last-amt.voided { text-decoration: line-through; color: var(--muted); }
.pay-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pay-hero { align-items: center; text-align: center; }
.pay-big { font-family: var(--display); font-weight: 800; font-size: 48px; line-height: 1; }
.pay-lines { display: flex; flex-direction: column; padding: 2px 14px; }
.pay-line { display: flex; align-items: center; gap: 12px; min-height: 52px; border-top: 1px solid var(--line); }
.pay-lines .pay-line:first-child { border-top: 0; }
.pay-line > .ico { width: 24px; height: 24px; }
.pay-line .pcoin { width: 26px; height: 26px; font-size: 15px; }
.pay-line-label { display: flex; flex-direction: column; flex: 1; font-weight: 700; }
.pay-line-label .ico { width: 14px; height: 14px; vertical-align: -2px; }
.pay-line b { font-family: var(--display); font-size: 21px; }
.pay-after { border-top: 0; padding: 0 6px; color: var(--muted); }
.pay-self { flex-direction: row; align-items: center; gap: 12px; border-color: var(--good); }
.pay-self > .ico { width: 28px; height: 28px; }
.pay-self .ico { vertical-align: -3px; }
.danger-text { color: var(--bad); }
/* The till's "Último cobro": always under Cobrar, the same height, so the home never moves (2026-11-12). */
.last-pay { display: flex; flex-direction: column; gap: 6px; padding: 10px 14px 12px; border: 2px solid var(--line); border-radius: var(--r); background: var(--surface); }
.last-head { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 700; }
.last-head > span { flex: 1; }
.last-head .ico { width: 18px; height: 18px; }
.last-all { min-height: 32px; padding: 2px 6px; border: 0; background: transparent; color: var(--good); font: inherit; font-weight: 700; cursor: pointer; }
.last-main { display: flex; align-items: center; gap: 10px; width: 100%; height: 44px; padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.last-main .pay-chips { flex-wrap: nowrap; overflow: hidden; mask-image: linear-gradient(to right, #000 85%, transparent); } /* (one line: the row never grows; all of it a tap away) */
.last-pay.none .last-main { cursor: default; }
.last-amt { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1; white-space: nowrap; }
.last-main .pay-chips { flex: 1; min-width: 0; }
.last-mark { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--good); color: var(--surface); }
.last-mark .ico { width: 20px; height: 20px; }
.last-mark.bad { background: var(--bad); }
.last-mark.wait { background: var(--warn); }

/* A month's fee by card, Lightning or crypto (2026-11-12): a tile each; one waiting, its QR, its address, its amount big. */
.fee-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fee-chains { justify-content: center; }
.fee-wait.center { align-items: center; text-align: center; }
.fee-amt { font-family: var(--display); font-size: 22px; }
.fee-qr { width: 220px; max-width: 70vw; aspect-ratio: 1; padding: 10px; border-radius: var(--r); background: #fff; }
.fee-qr svg, .fee-qr canvas, .fee-qr img { width: 100%; height: 100%; display: block; }
.fee-addr { max-width: 100%; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; }
/* How-to videos (the founder, 2026-11-13, as drawn): a sheet over everything; the video 4:5, its poster until tapped; the list
   with posters and WhatsApp beside each; a quiet "▶ Ver cómo · 1:40" where a task starts. */
.howto-sheet { z-index: 75; }
/* The Guide's pitch to the owner (2026-11-16): the whole screen, black, its ✕ in the corner; the form under it, as it was. */
.video-full { position: fixed; inset: 0; z-index: 80; background: #000; display: flex; align-items: center; justify-content: center; }
.video-full-v { width: 100%; height: 100%; object-fit: contain; background: #000; }
.video-full-x { z-index: 1; }
.howto-video { width: 100%; aspect-ratio: 4 / 5; max-height: 62vh; background: #000; border-radius: 14px; object-fit: contain; }
.howto-wa { display: flex; align-items: center; justify-content: center; gap: 8px; }
.howto-wa .ico, .howto-wa-small .ico { width: 22px; height: 22px; color: var(--good); }
.howto-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.howto-item { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.howto-item:first-child { border-top: 0; }
.howto-row { flex: 1; min-width: 0; min-height: 70px; display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.howto-thumb { position: relative; flex: none; width: 56px; height: 70px; border-radius: 10px; overflow: hidden; background: #000; }
.howto-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.howto-thumb .howto-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.howto-play { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #14211D; color: #F5C400; }
.howto-play .ico { width: 13px; height: 13px; }
.howto-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.howto-txt b { font-size: 17px; line-height: 1.25; }
.howto-wa-small { flex: none; width: 48px; height: 48px; padding: 0; display: grid; place-items: center; }
.howto-h { align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; }
.howto-h h3 { margin: 0; }
.howto-link { align-self: center; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 14px 4px 6px; border: 0; border-radius: 999px;
  background: var(--taxi-soft); color: var(--ink); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
/* The intro video (2026-11-15): on the yellow heroes, dark so it reads; in a list (Guide kit), under its line. */
.lp-hero .howto-watch { align-self: flex-start; margin-top: 4px; background: var(--taxi-ink); color: #FFFFFF; font-size: 16px; }
.lp-hero .howto-watch .howto-play { background: #F5C400; color: #14211D; }
/* The intro on the home page: its silent preview playing, a big ▶ over it, its name under (the founder, 2026-11-15). */
.intro-card { display: block; width: min(100%, 260px); margin: 6px auto 2px; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: center; }
.intro-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: #14211D; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.intro-media video, .intro-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.intro-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: rgba(20, 33, 29, .82); color: #F5C400; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.intro-play .ico { width: 30px; height: 30px; margin-left: 3px; }
.intro-card:hover .intro-play, .intro-card:focus-visible .intro-play { background: #14211D; }
.intro-label { display: block; margin-top: 10px; font-weight: 800; font-size: 17px; }
.kit-lines .howto-watch { display: flex; width: fit-content; margin-top: 8px; }
/* The Guide's pitch screen (2026-11-15): the line big, the fee as the home page's banner, the video, the demo one tap away. */
.pitch-panel { gap: 14px; }
.pitch-hero { display: grid; gap: 4px; margin: 0; text-align: center; } /* the website's hero and band, first (2026-11-21) */
.pitch-hero b { font-family: var(--display); font-size: 24px; line-height: 1.2; }
.pitch-hero span { font-size: 17px; font-weight: 700; }
.pitch-line { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; }
.pitch-line .ico, .pitch-fee .ico { flex: none; width: 24px; height: 24px; margin-top: 2px; }
.pitch-fee { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.pitch-panel .howto-watch { align-self: flex-start; }
.pitch-demo-btn, .pitch-open { display: flex; align-items: center; justify-content: center; gap: 8px; }
.pitch-demo-btn .ico, .pitch-open .ico { width: 20px; height: 20px; }
.pitch-demo .qr { width: min(240px, 70vw); margin: 0 auto; }
.kit-lines .pitch-open { margin-top: 8px; }

/* The wallet's explanations, only on asking (the founder, 2026-11-14): a small pill that opens its line. */
.whats { text-align: center; }
.whats > summary { display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; font-size: 14px; color: var(--muted);
  border: 1px solid var(--line, rgba(127, 127, 127, 0.35)); border-radius: 999px; padding: 4px 12px; }
.whats > summary::-webkit-details-marker { display: none; }
.whats[open] > summary { margin-bottom: 6px; }
.whats > p { margin: 0 auto; max-width: 36ch; }
/* Its terms at the very bottom of the screen, however little is above them. */
body:has(main.wallet-main) { display: flex; flex-direction: column; }
body:has(main.wallet-main) > #app { flex: 1 0 auto; display: flex; flex-direction: column; }
main.wallet-main { flex: 1 0 auto; width: 100%; }
main.wallet-main > .wallet-foot { margin-top: auto; }

/* A Guide's photo of a business found closed or unused (2026-11-15). */
.visit-photo { display: block; max-width: 100%; max-height: 260px; border-radius: 8px; object-fit: cover; }
/* A town field (v108): its country's towns as it's typed; a tap picks one. */
.town-sugg { display: flex; flex-direction: column; margin-top: 4px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.town-opt { text-align: left; padding: 10px 12px; background: none; border: 0; border-bottom: 1px solid var(--line); font: inherit; color: var(--ink); cursor: pointer; }
.town-opt:last-child { border-bottom: 0; }
.town-opt:hover, .town-opt:focus-visible { background: var(--paper); }
.town-here { align-self: flex-start; margin-top: 6px; }
.town-credit { font-size: 11px; color: var(--muted); margin: 2px 0 0; }
.town-credit a { color: inherit; }
/* A city team's month (v112): its report's counts two by two, its photos small, each with its ✕. */
.city-panel .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
/* A Guide's profile (v162): a round photo, their name and short text. */
.guide-card { display: flex; gap: 12px; align-items: flex-start; text-align: left; }
.guide-card > div { min-width: 0; flex: 1; }
.guide-card .guide-about { margin: 2px 0 6px; overflow-wrap: anywhere; }
.guide-photo { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--line); font-size: 26px; }
.guide-photo.big { width: 96px; height: 96px; font-size: 44px; }
.guide-photo.tiny { width: 24px; height: 24px; font-size: 14px; vertical-align: middle; }
.city-photos { display: flex; flex-wrap: wrap; gap: 8px; }
.city-photo { position: relative; }
.city-photo img { display: block; width: 96px; height: 96px; object-fit: cover; border-radius: 8px; }
.city-photo .x-close { position: absolute; top: 2px; right: 2px; }
.city-reports .visit-photo { max-height: 140px; }
.city-table td, .city-table th { white-space: normal; }

/* «Confiar en el monto del cliente» (v116): the customer's receipt (its colour, its tick drawn as it arrives, a clock that keeps
   ticking, its code) and the till's banner on top of any screen. */
.trust-receipt { --trust: #1E7A4A; border: 3px solid var(--trust); border-radius: 22px; padding: 22px 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.trust-tick { width: 72px; height: 72px; border-radius: 50%; background: var(--trust); color: #fff; display: grid; place-items: center; animation: trust-pop .6s ease-out both; }
.trust-tick svg { width: 40px; height: 40px; }
@keyframes trust-pop { 0% { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }
.trust-paid { margin: 0; font-weight: 700; font-size: 1.25rem; }
.trust-amount { margin: 0; font-size: 2.4rem; font-weight: 800; }
.trust-clock { margin: 0; font-variant-numeric: tabular-nums; font-size: 2rem; font-weight: 800; letter-spacing: .04em; }
.trust-code { margin: 0; display: flex; align-items: center; gap: 10px; }
.trust-code b { font-size: 2rem; letter-spacing: .25em; border: 2px dashed var(--trust); border-radius: 12px; padding: 4px 12px; }
.trust-seen { margin: 4px 0; font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: var(--good); } /* (its QR scanned: 2026-11-20) */
.trust-banner { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #1E7A4A; color: #fff; font-size: 1rem; }
.trust-banner > span { flex: 1; }
.trust-banner .trust-check { font-size: 1.3rem; letter-spacing: .2em; background: rgba(255,255,255,.18); border-radius: 10px; padding: 2px 10px; }
.trust-banner .trust-close { background: transparent; border: 0; color: #fff; font-size: 1.2rem; min-width: 44px; min-height: 44px; }

/* «Pagos recientes» (v116): each its code big, the unseen ones standing out; the notices' card. */
.recent-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.recent-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 2px solid var(--line, #D2DAD7); }
.recent-row.unseen { border-color: #1E7A4A; background: rgba(30, 122, 74, .08); }
.recent-row.seen { opacity: .75; }
.recent-code { font-size: 1.8rem; letter-spacing: .18em; font-variant-numeric: tabular-nums; min-width: 4.2em; }
.recent-what { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.recent-tick { min-height: 44px; }
.recent-open.has-unseen { border-color: #1E7A4A; font-weight: 700; }
.trust-banner .trust-open { flex: 1; background: transparent; border: 0; color: inherit; font: inherit; text-align: left; padding: 0; min-height: 44px; cursor: pointer; }
.trust-set .switch .muted { display: block; margin-top: 4px; font-weight: 400; }

/* The shop's till (v118): "Who's serving?" as big tiles to tap, who's serving on the till's home, the owner's new-device alert,
   Other devices, and the approval's choice (full access in red). */
.till-who-biz { margin: 0; color: var(--muted); }
.till-who-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.till-who-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px; min-height: 120px; border-radius: 16px;
  border: 2px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.till-who-tile.on { border-color: #1E7A4A; background: rgba(30, 122, 74, .08); }
.till-who-av { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 1.4rem; font-weight: 700; }
.till-who-name { font-weight: 700; text-align: center; }
.till-code .pin { font-size: 1.6rem; letter-spacing: .4em; text-align: center; }
.serving-bar { display: block; width: 100%; text-align: left; padding: 10px 14px; min-height: 44px; border-radius: 14px; border: 2px solid var(--line);
  background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
/* (2026-11-25, the founder: "very clear and a LARGE button") */
.set-status { font-size: .85rem; font-weight: 600; margin-left: 6px; white-space: nowrap; }
.set-status.todo { color: var(--warn); }
.set-status.done { color: var(--good); }
.serving-bar.big { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; min-height: 72px; padding: 12px 16px; margin-bottom: 12px;
  background: var(--taxi); color: var(--taxi-ink); border-color: var(--taxi); }
.serving-bar.big .sb-label { grid-column: 1; font-size: .95rem; font-weight: 600; }
.serving-bar.big .sb-name { grid-column: 1; font-family: var(--display); font-size: 1.7rem; line-height: 1.1; overflow-wrap: anywhere; }
.serving-bar.big .sb-change { grid-column: 2; grid-row: 1 / span 2; padding: 10px 14px; border-radius: 10px; background: var(--taxi-ink); color: var(--taxi); font-weight: 700; }
.serving-bar.big .sb-was { grid-column: 1; font-size: .85rem; opacity: .8; }
.serving-bar.big.ask { outline: 3px solid var(--taxi-ink); outline-offset: -6px; }
.new-device { border: 2px solid var(--bad); }
.device-row { align-items: flex-start; gap: 12px; }
.device-row .check { margin-top: 6px; }
.till-no { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--line); }
.pair-kind { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; border: 2px solid var(--line); cursor: pointer; }
.pair-kind > span { display: flex; flex-direction: column; gap: 2px; }
.pair-kind:has(input:checked) { border-color: var(--ink); }
.pair-full:has(input:checked) { border-color: var(--bad); }
.pair-full b { color: var(--bad); }

/* The receipt's QR (2026-11-17): for the cashier's scan at a busy counter; a code that isn't a payment here, red on the till. */
.trust-receipt .trust-qr { width: min(220px, 64vw); }
.scan-bad { border: 3px solid var(--bad); }
.scan-bad b { color: var(--bad); font-size: 1.1rem; }
.till-check b { letter-spacing: .15em; }

/* The tiles under Cash (the founder's Colombian user, 2026-11-18: "needs realigning"): a provider's tile (Wompi's «Nequi, PSE o
   tarjeta», Mercado Pago's «Bancolombia o tarjeta»…) its icon above its words, as every other tile, in their size; four or more
   ways under cash, two a row, so no word is cut. (Google Pay's and Apple Pay's own marks keep their layout.) */
:root .pay-tile .pay-mark:has(> .ico:first-child) { flex-direction: column; gap: 4px; font-size: inherit; line-height: 1.15; text-align: center; }
:root .pay-tiles.pay-tiles:has(> .pay-tile:not(.cash-tile) ~ .pay-tile:not(.cash-tile) ~ .pay-tile:not(.cash-tile) ~ .pay-tile:not(.cash-tile)) > .pay-tile:not(.cash-tile) { flex: 1 1 calc(50% - 5px); }

/* A business's country, first and in big tiles (2026-11-18: "country selection should come first"; never the phone's time zone): its
   flag and name; one picked, that one alone with "Cambiar país"; none, all of them. Its currency folded under it ("Moneda: USD"). */
.ctry-field .label { display: block; margin-bottom: 6px; }
.ctry-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.ctry-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 76px; padding: 8px 6px;
  border: 2px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; text-align: center; }
.ctry-tile .ctry-flag { font-size: 2rem; line-height: 1; }
.ctry-tile .ctry-name { font-size: 0.9rem; line-height: 1.15; }
.ctry-tile[aria-pressed="true"] { border-color: var(--bill); box-shadow: inset 0 0 0 1px var(--bill); }
.ctry-one { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ctry-one .ctry-tile { flex-direction: row; gap: 10px; min-height: 56px; padding: 8px 16px; font-size: 1.1rem; }
.ctry-one .ctry-tile::after { content: '✓'; color: var(--bill); font-weight: 800; }
.cur-more summary { cursor: pointer; font-weight: 700; padding: 6px 0; }
.cur-row .chips { margin: 4px 0; }

/* The Guide's flow (the founder's walk-through, 2026-11-18): what's still needed, ticked as it's in, above one "Continuar"; a business's
   progress with its Guide (accepted, QR, first sale, saved), each ticked; "¿Trajiste un QR?" and, linked, a big ✓. */
.prep-needs { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.guide-progress { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 8px; } /* (a step a line, its action under it: 2026-11-20) */
.guide-progress .gp-line { display: inline-flex; align-items: center; gap: 8px; }
.guide-progress .gp-act { margin: 6px 0 2px 2.1em; }
.prep-needs li { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; }
.guide-progress li { color: var(--muted); font-weight: 600; }
.prep-needs li .tick, .guide-progress li .tick { display: inline-grid; place-items: center; width: 1.4em; height: 1.4em; border-radius: 50%; border: 2px solid var(--line); font-size: 0.85rem; }
.prep-needs li.done, .guide-progress li.done { color: var(--good); }
.prep-needs li.done .tick, .guide-progress li.done .tick { border-color: var(--good); background: var(--good); color: var(--surface); }
.gq { border: 2px dashed var(--line); border-radius: 14px; padding: 12px; }
.gq-done { border-radius: 14px; padding: 14px; background: color-mix(in srgb, var(--good) 14%, var(--surface)); text-align: center; }
.gq-here { outline: 3px solid var(--good); outline-offset: 4px; border-radius: 8px; transition: outline-color .4s; }
.gq-big { display: block; font-size: 1.6rem; color: var(--good); }
.pay-why { margin-top: 4px; }
.rw-print { margin-top: 6px; }

/* The counter page, first screen (the founder, 2026-11-20: "modelled around [the] wallet screen"): its name, what change is worth
   here, "Pagar aquí" big, the rest as tiles, the explanations behind pills. */
.landing { gap: 16px; }
.land-biz { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 8px; text-align: center; }
.land-biz h1 { margin: 0; font-size: 30px; }
.land-badge { width: 76px; height: 76px; border-radius: 20px; background: var(--b1); border: 2px solid var(--b1-line); color: var(--b1-line);
  display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 30px; }
.land-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.land-chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 7px 16px; font-family: var(--display); font-weight: 800; font-size: 18px; }
.land-chip.hook { border: 2px solid var(--taxi); color: var(--taxi); }
.land-chip.bal { background: var(--surface); border: 1px solid var(--line); }
.land-chip.bal.owe { color: var(--bad); }
.land-tile { display: flex; align-items: center; gap: 14px; width: 100%; border-radius: 18px; padding: 18px 16px; border: 2px solid var(--line); background: var(--surface);
  color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 20px; cursor: pointer; text-align: left; }
.land-tile .ico, .land-tile svg { width: 30px; height: 30px; flex: none; }
.land-tile.big { background: var(--taxi); border-color: var(--taxi); color: var(--taxi-ink); padding: 22px 20px; font-size: 24px; }
.land-tiles { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.land-tiles.n1 { grid-template-columns: 1fr; }
.land-tiles.n3 { grid-template-columns: repeat(3, 1fr); }
.land-tiles .land-tile { flex-direction: column; justify-content: center; gap: 8px; padding: 16px 8px; font-size: 16px; text-align: center; }
/* (2026-11-24: its pill under the sentence, full width: beside it, a phone squeezed the sentence to one word a line.) */
/* Loyalty first (2026-11-20): «Recoger mis premios» big, what cash earns under it; «Deja tu vuelto o un depósito…» beside it; on a
   bill, the notes for their change folded under «💵 Dejar mi vuelto»; the till's «💵 Vuelto» chip; «Dilo así», the scan first. */
.land-cash { text-align: center; margin: -6px 0 0; }
.land-chip.cash { border: 2px solid var(--good); color: var(--good); font-size: 16px; padding: 5px 14px; }
.land-tile.more-btn { font-size: 17px; line-height: 1.25; text-align: left; flex-wrap: wrap; }
.land-tile.more-btn > span:not(.land-chip) { flex: 1 1 0; min-width: 0; }
.land-tile.more-btn .land-chip { flex: 1 0 100%; justify-content: center; font-size: 15px; padding: 4px 10px; }
.keep-fold { margin-top: 4px; }
.keep-fold > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border: 2px solid var(--line); border-radius: 999px; font-weight: 700; }
.keep-fold > summary::-webkit-details-marker { display: none; }
.keep-fold[open] > summary { margin-bottom: 8px; border-color: var(--taxi); }
.say-loyalty { font-weight: 800; }
.bill-what { justify-content: center; margin: 2px 0 4px; }
.what-chip { min-height: 48px; font-size: 16px; }
.land-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.land-pill { flex: 0 1 auto; }
.land-pill[open] { flex-basis: 100%; }
.land-pill.warn > summary { color: var(--warn); border-color: var(--warn); }
.land-pill > div { text-align: left; max-width: 40ch; margin: 0 auto; }
/* The bill page in fewer words (2026-11-20): its amounts as chips; a long line under its pill; too much for a wallet not saved, a red pill. */
.land-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 4px 0 12px; }
.land-chips > span[aria-hidden] { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line, rgba(127, 127, 127, 0.35)); background: var(--surface); font-weight: 700; }
.lock-row { text-align: center; margin: 8px 0; }
.lock-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--bad); color: var(--bad); font-weight: 700; text-decoration: none; }
.whats.field-why { text-align: left; margin-top: 4px; }
.whats.field-why > p { margin: 0; max-width: none; }
.whats.nudge-pill { margin: 0 0 12px; }
.secure-badge { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; margin-top: 6px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--muted); }
.fare-short { margin: 4px 0 8px; }
.whats.nudge-pill > summary { color: var(--ink); border-color: var(--taxi); background: var(--taxi-soft); font-weight: 700; }
.land-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.land-order { margin-top: -4px; }
/* The paid screen's visit, short (2026-11-20): the reward or milestone said, the nearest goal's dots. */
.visit-card, .come-back { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 14px 16px; }
.gb-notice { display: flex; margin: 8px 0 0; gap: 4px; align-items: center; } .gb-notice .gb-notice-go { display: block; flex: 1; min-width: 0; text-align: left; white-space: normal; } .gb-notice .gb-notice-x { flex: none; }
.paid-goal { display: grid; gap: 8px; }
.paid-goal-biz { font-family: var(--display); font-weight: 800; }
.report-link { display: block; margin: 8px auto 0; background: none; border: 0; color: var(--muted); font-size: 13px; cursor: pointer; padding: 6px 10px; }
/* The sticker studio's preview (2026-11-20): the A4 pages as they print, the stickers' and the backing's, side by side. */
.studio-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.studio-preview img { width: 100%; height: auto; background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.2); }
.studio-preview img:not([src]) { aspect-ratio: 210 / 279; }
/* «Stickers para negocios»: each sheet, its first sticker small (2026-11-20). */
.stk-item { display: flex; align-items: center; gap: 12px; }
.stk-thumb { width: 64px; height: auto; flex: none; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.stk-thumb:not([src]) { height: 43px; background: var(--surface); }
/* A business's look, chosen ahead by its Guide (item 3, 2026-11-20): its editor (a sticker as it prints, its logo, colour, background,
   headline) and a page in its look (V.applyLook: a band in its colour and background at its top, its logo framed on that colour). */
.look-ed-prev { display: flex; justify-content: center; margin: 4px 0 12px; }
.look-ed-prev img { width: 100%; max-width: 360px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25); }
.le-logo-row { align-items: center; gap: 10px; flex-wrap: wrap; }
.le-logo-img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: #FFFFFF; border: 1px solid var(--line); }
.le-logo-btn { cursor: pointer; }
.le-own-color { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.le-own-color input[type="color"] { width: 28px; height: 28px; padding: 0; border: none; background: none; }
.le-slogan { margin-top: 8px; width: 100%; }
.has-look::before { content: ''; display: block; height: 48px; margin-bottom: 12px; border-radius: 16px; background-color: var(--look-face); border-bottom: 8px solid var(--look-band); }
.has-look.look-dots::before { background-image: radial-gradient(circle, rgba(0, 0, 0, 0.14) 2px, transparent 2.6px); background-size: 14px 14px; }
.has-look.look-stripes::before { background-image: repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.12) 0 6px, transparent 6px 14px); }
.has-look.look-waves::before { background-image: radial-gradient(circle at 50% 100%, transparent 7px, rgba(0, 0, 0, 0.13) 8px, transparent 10px); background-size: 20px 12px; }
.has-look.look-photo::before { height: 96px; background-image: var(--look-photo); background-size: cover; background-position: center; } /* its own background (v130) */
.has-look .prep-logo { background: var(--look-face); border-radius: 18px; padding: 8px; }
.reg-who .chips .chip { min-height: 44px; }
/* The owner's «¿Dónde cobrarás?» and its congrats (G). */
.where-tiles { display: grid; gap: 10px; }
.where-tile { min-height: 64px; padding: 12px 16px; border: 2px solid var(--line); border-radius: var(--r); background: transparent; color: var(--ink); font: inherit; font-size: 18px; font-weight: 700; text-align: left; cursor: pointer; }
.where-tile[aria-pressed="true"] { border-color: var(--taxi); background: var(--taxi); color: var(--taxi-ink); }
.congrats { text-align: center; }
.congrats h1 { font-size: 28px; }
.congrats .claim-qr { max-width: 240px; margin: 0 auto; }
.prep-logo { display: block; margin: 8px auto 0; width: 96px; height: 96px; object-fit: contain; border-radius: 16px; background: #fff; }
/* The Kit's «Arma tus exhibidores»: the headlines as they print, small, side by side (2026-11-21). */
.kit-slogans { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.kit-slogans figure { margin: 0; }
/* «Así queda»: the founder's photos of a real stand (2026-11-25), under the Kit's steps. */
.kit-real { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 8px 0 14px; }
.kit-real img { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--line); }
.kit-slogans img { display: block; width: 100%; height: auto; border-radius: 8px; background: var(--line); }
.kit-slogans figcaption { margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--muted); }
/* Alternative actions in the key flows: a visible button with its icon, never a grey text one (the founder, 2026-11-21). */
.btn.alt-btn { gap: 8px; color: var(--ink); }
.btn.alt-btn .ico, .btn.alt-btn svg { width: 20px; height: 20px; flex: none; }
/* A business's own background (v130, 2026-11-21): its picture under a veil (its words stay readable), or its pattern in its colour;
   behind its counter page and its stamp card. */
.brand-bg { --veil: color-mix(in srgb, var(--paper) 80%, transparent); }
.brand-bg.bg-photo { background-image: linear-gradient(var(--veil), var(--veil)), var(--bg-img); background-size: cover; background-position: center; }
.brand-bg.bg-dots { background-image: radial-gradient(circle, color-mix(in srgb, var(--brand-c, var(--ink)) 32%, transparent) 1.8px, transparent 2.4px); background-size: 16px 16px; }
.brand-bg.bg-stripes { background-image: repeating-linear-gradient(135deg, color-mix(in srgb, var(--brand-c, var(--ink)) 18%, transparent) 0 7px, transparent 7px 16px); }
.brand-bg.bg-waves { background-image: radial-gradient(circle at 50% 100%, transparent 8px, color-mix(in srgb, var(--brand-c, var(--ink)) 28%, transparent) 9px, transparent 11px); background-size: 22px 13px; }
.landing.brand-bg { border-radius: 22px; padding: 14px 12px; }
.brand-bg-preview { display: grid; place-items: center; min-height: 96px; margin: 6px 0; border-radius: 16px; border: 1px solid var(--line); font-family: var(--display); font-size: 20px; }
/* /inicio's band under its hero (2026-11-21): "Never lose a stamp card again." · "Every loyalty card, in one place." */
.lp-band { text-align: center; padding: 18px 16px; border-radius: 18px; background: var(--taxi-soft); border: 1px solid var(--taxi); }
.lp-band p { margin: 4px 0; font-family: var(--display); font-size: 20px; }
.lp-band p + p { font-size: 17px; color: var(--muted); }
.lower-ask { border-color: var(--warn); }

/* The Guide's «Imprime stickers y exhibidores para negocios», high on «Invita y gana» with the finished stand (2026-11-21). */
.stk-card { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; border: 2px solid var(--taxi); border-radius: 16px;
  background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.stk-card img { width: 92px; height: 92px; object-fit: contain; flex: none; }
.stk-card b { font-size: 1.05rem; line-height: 1.25; }
.stk-more-phrases > summary { cursor: pointer; color: var(--muted); font-size: 0.9rem; padding: 4px 0; }

/* The bill's two choices as big tiles (the founder's field note, 2026-11-21): the one that earns more, tempting, its bonus big. */
.bill-what { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 8px; }
.what-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 84px; padding: 10px 8px;
  border: 2px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; font-weight: 700;
  text-align: center; cursor: pointer; }
.what-tile[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.what-keep, .what-add { background: var(--taxi-soft); border-color: var(--taxi); }
.what-extra { font-size: 22px; font-weight: 800; line-height: 1.1; color: var(--good); }
.notes-head { font-weight: 700; }
.add-way { display: inline-flex; align-items: center; gap: 4px; margin-right: 8px; padding: 2px 8px; border-radius: 999px; background: var(--paper); }
/* A receipt's customer «Necesito factura» (item C): under its row, full width; each detail beside its Copiar. */
.rc-row { flex-wrap: wrap; }
.rc-ask { flex-basis: 100%; padding-top: 6px; }
.rc-ask-row { justify-content: space-between; align-items: center; gap: 8px; }
.fa-box { margin: 6px 0; }
/* The loyalty card's other goals (the founder via 2d, 2026-11-25/26): small rings (B) or a swipe (C), its ◎ / ⇆ in a corner; in the
   business's colour and text when it has one (V.brandFace). */
.goal-card { position: relative; display: flex; flex-direction: column; gap: 8px; }
.goal-card.branded { background: var(--card-bg); color: var(--card-fg); border-radius: 14px; padding: 10px 12px; }
.goal-card.branded .dots i { border-color: currentColor; }
.goal-card.branded .dots i.on { background: currentColor; }
.goal-card.branded .goal-chip { background: var(--card-fg); color: var(--card-bg); }
.goal-card.branded .goal-n, .goal-card.branded .goal-more { color: inherit; opacity: .85; }
.goal-card.branded .goal-bar { background: color-mix(in srgb, currentColor 25%, transparent); }
.goal-card.branded .goal-bar span { background: currentColor; }
.goal-card > .goal-view { position: absolute; bottom: 4px; right: 4px; width: 28px; height: 28px; padding: 0; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  background: transparent; color: inherit; font-size: 15px; line-height: 1; display: grid; place-items: center; cursor: pointer; z-index: 1; }
.goal-card.swipe > .goal-view { bottom: -4px; }
.goal-card:not(.swipe):has(> .goal-view) > .goal-rings { padding-right: 34px; }
.goal-rings { display: flex; gap: 6px; padding-top: 8px; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); cursor: pointer; }
.goal-ring { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; font-size: 12px; font-weight: 700; line-height: 1.2; }
.goal-ring .ring { width: 40px; height: 40px; }
.goal-ring .trk { stroke: color-mix(in srgb, currentColor 20%, transparent); }
.goal-ring .arc { stroke: var(--bill); }
.goal-card.branded .goal-ring .arc { stroke: currentColor; }
.goal-ring text { font: 800 10px var(--body); fill: currentColor; }
.goal-ring-l { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.goal-track { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px; }
.goal-track::-webkit-scrollbar { display: none; }
.goal-slide { flex: 0 0 84%; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; text-align: left; border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  border-radius: 12px; padding: 8px 10px; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.goal-slide-h { font-weight: 800; font-size: 14px; }
.goal-slide .goal-near { gap: 6px; }
.goal-pager { display: flex; gap: 5px; justify-content: center; min-height: 10px; align-items: center; }
.goal-pager i { width: 6px; height: 6px; border-radius: 50%; background: color-mix(in srgb, currentColor 30%, transparent); }
.goal-pager i.on { width: 16px; border-radius: 3px; background: currentColor; }
/* «Tus metas» in the business's colour (2026-11-26). */
.premios-biz[style*="--brand-bar"] progress { accent-color: var(--brand-bar); }
/* The owner's preview of its customers' card (2026-11-26): in «Tu marca», and at the top of Fidelidad, kept in view while scrolling. */
.card-preview { display: flex; flex-direction: column; gap: 6px; }
.card-preview.sticky { position: sticky; top: 0; z-index: 5; background: var(--paper); padding: 8px 0; margin: 0 0 8px; }
.card-preview .biz-card { gap: 10px; }
.card-look > summary { cursor: pointer; font-weight: 700; padding: 6px 0; }
.goal-slide .dots { gap: 4px; }
.goal-slide .dots i { width: 14px; height: 14px; }
.goal-slide .goal-near { flex-wrap: wrap; }
.goal-slide .goal-near .dots, .goal-slide .goal-near .goal-bar { flex: 1 0 100%; }
.landing .gift-bonus { margin: -4px 0 0; padding: 0; border: 0; background: none; text-align: center; font-size: 14px; } .landing .gift-bonus b { font-weight: 700; font-size: 14px; line-height: 1.4; }
/* A gift card's seasonal occasions (v147, the founder via 2d, 2026-11-26): Navidad (stars), Día de la Madre (flowers); its business's
   words under the amount; the owner's live card with its bonus. */
.design-xmas::after { right: -36px; top: -36px; width: 190px; height: 190px; opacity: .28; border-radius: 50%;
  background: repeating-conic-gradient(currentColor 0 6deg, transparent 6deg 30deg); }
.design-mothers::after { right: -24px; bottom: -24px; width: 170px; height: 170px; opacity: .3;
  background: radial-gradient(circle at 50% 22%, currentColor 0 22px, transparent 23px), radial-gradient(circle at 22% 50%, currentColor 0 22px, transparent 23px),
    radial-gradient(circle at 78% 50%, currentColor 0 22px, transparent 23px), radial-gradient(circle at 50% 78%, currentColor 0 22px, transparent 23px); }
.gift-slogan { font-weight: 700; font-size: 15px; opacity: .9; }
.gift-look { border-top: 1px solid var(--line); padding-top: 10px; }
.gift-preview { display: flex; flex-direction: column; gap: 6px; }
/* «Tu marca» (the founder's approved layout, 2026-11-26): its controls on top, its four previews side by side (two on a phone). */
.tu-marca .tm-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; align-items: start; }
.tu-marca .tm-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tu-marca .tm-page { border: 1px solid var(--line); border-radius: 22px; padding: 12px; gap: 10px; pointer-events: none; }
.tu-marca .tm-page .land-tile.big { padding: 16px 14px; font-size: 19px; }
.tu-marca .gq-preview { display: block; width: 100%; aspect-ratio: 98 / 66; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, .22); background: var(--surface); }
.gift-preview-bonus { margin: 0; font-weight: 700; }
/* A gift card offer on the counter QR's landing (the founder via dd, 2026-11-26): a gentle pulse and its «+N%» badge; still for reduced motion. */
.land-gift.has-offer { position: relative; animation: gift-offer 2.4s ease-in-out infinite; }
.land-gift .gift-badge { position: absolute; top: -8px; right: -6px; padding: 2px 8px; border-radius: 999px; background: var(--taxi); color: var(--taxi-ink); font-size: .8rem; font-weight: 800; line-height: 1.4; }
@keyframes gift-offer { 0%, 70%, 100% { transform: none; } 78% { transform: scale(1.03); } 86% { transform: scale(.99); } 92% { transform: scale(1.015); } }
@media (prefers-reduced-motion: reduce) { .land-gift.has-offer { animation: none; } }
/* The simpler business page and «Tus metas» (the founder's approved mockups, 2026-11-26). */
.place-head { position: relative; }
.place-name { margin: 0; }
.red-note { position: absolute; top: -10px; right: -4px; z-index: 2; max-width: 80%; }
.red-note > summary { list-style: none; cursor: pointer; background: var(--bad); color: #fff; border-radius: 999px; padding: 4px 10px; font-weight: 800; font-size: 13px; box-shadow: 0 0 0 3px var(--paper); text-align: right; }
.red-note > summary::-webkit-details-marker { display: none; }
.red-note[open] > summary { animation: none; }
.red-note > p { margin: 6px 0 0; background: var(--surface); border: 2px solid var(--bad); border-radius: 12px; padding: 8px 10px; font-size: 14px; }
.red-note:not([open]) > summary { animation: pill-pulse 1.6s ease-in-out infinite; }
@keyframes pill-pulse { 50% { box-shadow: 0 0 0 3px var(--paper), 0 0 0 7px color-mix(in srgb, var(--bad) 35%, transparent); } }
@media (prefers-reduced-motion: reduce) { .red-note > summary { animation: none !important; } }
.bal-lbl { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; }
.bal-lbl .ico { width: 18px; height: 18px; }
.place-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.place-tiles .tile { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.place-tiles .tile.main { background: var(--taxi); border-color: var(--taxi); color: var(--taxi-ink); }
.place-tiles .tile .ico { width: 24px; height: 24px; }
.hrow > summary, div.hrow { display: flex; align-items: center; gap: 10px; list-style: none; cursor: pointer; }
.hrow > summary::-webkit-details-marker { display: none; }
.hrow .h-what { flex: 1; display: flex; flex-direction: column; }
.hrow .h-more { display: flex; flex-direction: column; gap: 2px; padding-top: 6px; }
.place-more > summary, .m-how > summary { list-style: none; cursor: pointer; margin: 4px auto; width: fit-content; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 800; color: var(--muted); background: var(--surface); }
.place-more > summary::-webkit-details-marker, .m-how > summary::-webkit-details-marker { display: none; }
.m-how > summary { margin: 4px 0 0 auto; width: 30px; height: 30px; padding: 0; display: grid; place-items: center; }
.m-saved { display: flex; flex-direction: column; gap: 6px; }
.m-big { font-family: var(--display); font-weight: 800; font-size: 36px; line-height: 1; color: var(--good); }
.m-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.m-chip { display: inline-flex; align-items: center; gap: 5px; background: var(--paper); border-radius: 999px; padding: 4px 10px; font-weight: 700; font-size: 14px; }
.m-chip .ico { width: 16px; height: 16px; }
.goal-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.goal-tile { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; border-radius: 14px; padding: 10px 4px; background: var(--surface); border: 1px solid var(--line); font-weight: 800; font-size: 13px; line-height: 1.2; }
.goal-tiles.branded .goal-tile { background: var(--card-bg); color: var(--card-fg); border-color: transparent; }
.goal-tile .ring { width: 52px; height: 52px; }
.goal-tile .ring.done { display: grid; place-items: center; font-size: 28px; }
.goal-tile .trk { stroke: color-mix(in srgb, currentColor 20%, transparent); }
.goal-tile .arc { stroke: var(--bill); }
.goal-tiles.branded .goal-tile .arc { stroke: currentColor; }
.goal-tile text { font: 800 10px var(--body); fill: currentColor; }
.goal-tile .goal-chip { font-size: 12px; }
.goal-tiles.branded .goal-chip { background: var(--card-fg); color: var(--card-bg); }
.m-next { display: flex; align-items: center; gap: 8px; margin: 0; background: var(--taxi-soft); border-radius: 12px; padding: 10px 12px; font-weight: 800; }
.m-next .ico { width: 20px; height: 20px; }
.m-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.m-badge { border-radius: 999px; padding: 5px 10px; font-weight: 800; font-size: 13px; background: var(--good); color: #fff; }
.m-badge.todo { background: transparent; color: var(--muted); border: 2px dashed var(--line); }
/* The season's counter card's preview (2026-11-26). */
.season-preview { width: min(220px, 60vw); aspect-ratio: 105 / 148; border-radius: 10px; box-shadow: 0 6px 18px -8px rgba(0,0,0,.45); align-self: center; background: #8E1B1B; }
.bal-lbl svg { width: 18px; height: 18px; flex: none; }
.place-tiles .tile svg { width: 24px; height: 24px; flex: none; }
.m-chip svg, .m-next svg, .m-saved .bal-lbl svg { width: 16px; height: 16px; flex: none; }
.hrow .amt { margin-left: auto; }
/* «¿Tienes un negocio? Tenlo gratis» (2026-11-26): a quiet link where customers look. */
.biz-free { display: inline-block; margin: 6px auto; font-weight: 800; color: var(--bill); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; background: var(--surface); }
/* A stamp card's second row (2026-11-26). */
.goal-card .goal-second .dots i { opacity: .85; }
/* A stamp card's second row, offered as a button (2026-11-26). */
.add-row { border: 2px dashed var(--line); background: transparent; font-weight: 800; }
/* «Pon tu QR donde te pagan» (2026-11-27): where, as icons; its three ticks. */
.setup-wheres { display: flex; flex-wrap: wrap; gap: 6px; }
.setup-where { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; }
.setup-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.setup-tick { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.setup-mark { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; border: 2px solid currentColor; font-weight: 800; opacity: 0.6; }
.setup-tick.done .setup-mark { background: var(--good); border-color: var(--good); color: #fff; opacity: 1; }
.setup-tick.done > span:nth-child(2) { opacity: 0.7; }
/* A bill paid, nothing to do: back to the till by itself (2026-11-27); the bar runs out in 3 s; a tap anywhere stays. */
.auto-home-bar { height: 4px; border-radius: 2px; background: var(--good); transform-origin: left; animation: auto-home 3s linear forwards; }
@keyframes auto-home { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .auto-home-bar { animation: none; opacity: 0.6; } }

/* The bill (2026-11-27, a real customer couldn't tell what was chosen): the way chosen filled with a ✓; the others outlined, cash's
   bonus still yellow; then ONE bonus row, «¿Pagas $5? Recibes $3.15 de saldo (+5%)», a chip each with what it gives. */
:root .bill-box .pay-tiles.pay-tiles > .pay-tile { position: relative; }
:root .bill-box .pay-tiles.pay-tiles > .pay-tile[aria-pressed="false"] { background: var(--surface); border-color: var(--line); color: var(--ink); box-shadow: none; }
:root .bill-box .pay-tiles.pay-tiles > .pay-tile.cash-tile[aria-pressed="false"] { border-color: var(--taxi); }
:root .bill-box .pay-tiles.pay-tiles > .pay-tile[aria-pressed="false"] .pay-pct { background: var(--taxi); color: var(--taxi-ink); }
:root .bill-box .pay-tiles.pay-tiles > .pay-tile[aria-pressed="true"] { background: var(--taxi); border-color: var(--taxi); color: var(--taxi-ink); box-shadow: 0 0 0 3px var(--ink); }
:root .bill-box .pay-tiles.pay-tiles > .pay-tile[aria-pressed="true"] .pay-pct { background: var(--taxi-ink); color: var(--taxi); }
.pay-tick { position: absolute; top: 6px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--taxi-ink); color: var(--taxi); display: grid; place-items: center; font-weight: 900; font-size: 16px; line-height: 1; }
.gain-row { display: flex; flex-direction: column; gap: 10px; border: 2px solid var(--taxi); border-radius: 18px; padding: 12px; background: var(--surface); }
.gain-q { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; line-height: 1.25; }
.gain-q .ico { width: 22px; height: 22px; flex: none; color: var(--good); }
.gain-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 8px; }
.chip.gain-chip { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 14px; padding: 8px 4px; min-height: 60px; font-size: 18px; font-weight: 800; }
.chip.gain-chip > span { display: inline-flex; align-items: center; gap: 4px; }
.chip.gain-chip .ico { width: 16px; height: 16px; }
.chip.gain-chip small { color: var(--good); font-size: 14px; font-weight: 800; }
.chip.gain-chip[aria-pressed="true"] { background: var(--taxi); border-color: var(--taxi); color: var(--taxi-ink); }
.chip.gain-chip[aria-pressed="true"] small { color: var(--taxi-ink); }
/* The chips on one line, each as wide as the others, their words always inside them, on a 360px phone too (the founder, 2026-11-28:
   «Otro» ran past its box): «Otro»'s pencil above its word; the words a little smaller on narrow phones. */
.gain-chips { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
.chip.gain-chip { min-width: 0; padding: 8px 2px; font-size: min(18px, 4.4vw); overflow: hidden; }
.chip.gain-chip small { font-size: min(14px, 3.4vw); white-space: nowrap; }
.chip.gain-chip.gain-more > span { flex-direction: column; gap: 2px; font-size: min(15px, 3.8vw); }
.chip.gain-chip:not(:has(small)) > span { font-size: min(16px, 3.8vw); } /* («Exacto», «Otro»: one word, no amount under it) */

/* A gift card's new bonus: «Make a QR for this offer?», one quiet row, its ✕ at the end (2026-11-28). */
.gb-qr-ask { display: flex; align-items: center; gap: 8px; margin: 0; }
.gb-qr-ask > span { flex: 1; min-width: 0; }
.gb-qr-ask .btn { flex: none; }
/* The seller links (2026-11-28): their line and address wrap. */
.sell-link .sl-text { overflow-wrap: anywhere; margin: 0; }
.join-loyalty span { text-wrap: balance; max-width: 13em; line-height: 1.25; }
/* An unpaid bill's line to its customers (2026-11-28): a small red dot, pulsing gently; still with reduced motion. */
.rewards-note .rn-dot { display: inline-block; width: .85em; height: .85em; margin-right: .5em; border-radius: 50%; background: var(--bad); vertical-align: .08em; animation: rn-pulse 1.8s ease-in-out infinite; }
@keyframes rn-pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--bad) 45%, transparent); } 50% { box-shadow: 0 0 0 .35em color-mix(in srgb, var(--bad) 0%, transparent); transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .rewards-note .rn-dot { animation: none; } }

/* «Facturación»: a red dot on its head while a bill is to pay; an unpaid bill's row a button (2026-11-28). */
.set-head .set-dot { display: inline-block; width: .6em; height: .6em; margin-left: .45em; border-radius: 50%; background: var(--bad); vertical-align: .1em; }
.list .item.bill-due-row { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; border-color: var(--bad); }
/* An error beside the button that caused it. */
.alert.err-here { margin-top: .5rem; }

/* (v164) A network's two links, never confused (the founder via 48, 2026-11-29): its workers' card, and the ordinary invite's. */
.net-card { border-radius: 14px; padding: 12px 14px; border: 2px solid; }
.net-card.net-worker { border-color: #1b6fd1; background: rgba(27, 111, 209, 0.07); }
.net-card.net-indep { border-color: #1f9d55; background: rgba(31, 157, 85, 0.07); }
/* (v165) a network report's photos, small, each with its ✕ */
.net-photos { gap: 6px; flex-wrap: wrap; }
.net-photo { position: relative; display: inline-flex; align-items: flex-start; gap: 2px; }
.net-photo img { border-radius: 8px; object-fit: cover; }

/* The new payment screens («simple payment», v172): the customer's form (one 360x740 screen, no scrolling), its QR alone, the till's take. */
.sp-form { display: flex; flex-direction: column; gap: 8px; margin: -6px 0 0; }
.sp-form > * { margin: 0; }
.sp-biz { font-size: 1.15rem; line-height: 1.2; margin: 0; }
.sp-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); }
.sp-row label, .sp-topay-label { font-weight: 700; font-size: .95rem; }
.sp-row .money { display: flex; align-items: center; gap: 4px; flex: 0 1 190px; min-width: 0; border: 0; padding: 0; background: none; font-weight: 800; }
.sp-row .money input { width: 100%; min-width: 0; border: 0; border-bottom: 3px solid var(--taxi); border-radius: 0; background: none; padding: 0 2px; text-align: right; font: inherit; font-weight: 800; color: inherit; }
.sp-bill .money { font-size: 34px; line-height: 1.15; }
.sp-given .money { font-size: 24px; flex-basis: 150px; }
.sp-with { display: flex; flex-direction: column; gap: 3px; }
.sp-with-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.sp-tiny { font-size: .78rem; line-height: 1.2; }
.sp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sp-two > :only-child { grid-column: 1 / -1; }
.sp-opt { display: flex; flex-direction: column; gap: 0; align-items: center; justify-content: center; min-height: 44px; padding: 5px 6px; border: 2px solid var(--line); border-radius: 12px; background: var(--surface); color: inherit; font: inherit; font-size: .9rem; line-height: 1.2; cursor: pointer; text-align: center; }
.sp-opt span { font-size: .76rem; }
.sp-opt[aria-pressed="true"] { border-color: var(--ink); background: #FFF4C2; color: #14211D; }
.sp-form .stampcard .dots { gap: 5px; }
.sp-form .stampcard i { width: 18px; height: 18px; }
.sp-form .stampcard .muted { display: none; }
.sp-form .switch.sp-bal { padding: 6px 12px; gap: 10px; }
.sp-bal-label { font-size: .95rem; font-weight: 700; flex: 1; }
.sp-bal-amt { font-size: 24px; line-height: 1.1; font-weight: 800; }
.sp-topay { border-color: transparent; background: none; padding: 0 12px; }
.sp-topay-amt { font-family: var(--display); font-size: 40px; line-height: 1; font-weight: 800; }
.sp-paid-bal { font-weight: 700; color: var(--good); }
.sp-leave-line { font-weight: 700; font-size: .9rem; }
.sp-alert { padding: 6px 10px; font-size: .9rem; }
.sp-go { min-height: 54px; font-size: 1.15rem; }
.sp-more { align-self: center; border: 0; background: none; color: var(--muted); font: inherit; font-size: .9rem; padding: 4px 12px; cursor: pointer; }
.sp-screen { background: #FFFFFF; color: #14211D; border-radius: 16px; padding: 14px 12px; gap: 8px; }
.sp-screen > * { margin: 0; }
.sp-screen-biz { font-weight: 700; color: #56645F; }
.sp-screen .sp-show { font-size: 1.4rem; color: #14211D; }
.sp-big-qr { width: min(320px, 100%); max-width: 100%; background: #FFFFFF; padding: 0; margin: 0 auto !important; align-self: center; box-sizing: border-box; } /* (never wider than its card: it sat off-centre, the founder's review) */
.sp-big-qr svg, .sp-big-qr .qr-px { display: block; width: 100%; height: auto; margin: 0 auto; }
.sp-screen .sp-topay { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 0; }
.sp-screen .sp-topay-label, .sp-screen .sp-code { color: #56645F; }
.sp-screen .sp-topay-amt { font-size: 46px; }
.sp-screen .sp-paid-bal { color: #2C6A4D; }
.sp-qr-line { color: #14211D; font-size: .95rem; }
.sp-code { font-size: 1.05rem; letter-spacing: .04em; }
.sp-screen .sp-change { background: #FFFFFF; color: #14211D; border: 2px solid #14211D; }
.sp-take { display: flex; flex-direction: column; align-items: center; width: 100%; padding: 12px; background: #DDF1E6; color: #14211D; border: 2px solid #2C6A4D; border-radius: 12px; }
.sp-take-label { font-size: 14px; font-weight: 700; text-transform: uppercase; color: #56645F; }
.sp-take-amt { font-size: 50px; line-height: 1.05; font-weight: 800; }
.sp-loud { margin: 0; width: 100%; padding: 12px 8px; border-radius: 12px; text-align: center; font-size: 25px; font-weight: 800; }
.sp-loud.give { background: #FFF4C2; color: #14211D; border: 2px solid #14211D; }
.sp-loud.none { background: #14211D; color: #F5C400; border: 2px solid #14211D; }
.sp-notes:empty { display: none; }
/* (Its main action, pinned to the bottom of the screen on every phone, the keyboard open or not: the founder via b8, 2026-12-03.) */
.sp-pin { position: sticky; bottom: 0; z-index: 6; display: flex; flex-direction: column; gap: 8px; width: 100%; margin: 0 !important; padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--paper); }
.sp-screen .sp-pin { background: #FFFFFF; }
.sp-pin > * { margin: 0; }
/* (The founder's review, 2026-12-03: what leaving their change gets, in a box, its amount large; the till home's two pills on one row.) */
.sp-leave-box { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 2px 8px; margin: 0; padding: 8px 10px; border: 2px solid #2C6A4D; border-radius: 12px; background: #DDF1E6; color: #14211D; font-weight: 700; font-size: .95rem; text-align: center; }
.sp-leave-box b { font-family: var(--display); font-size: 30px; line-height: 1; font-weight: 800; }
.chip.row-chip { padding-left: 10px; padding-right: 10px; font-size: .84rem; white-space: nowrap; }

/* The sign-up's type of business (the founder, 2026-12-03: "easy to miss"): a question, three full-width choices, outlined until one is picked. */
.prep-tipo .label { font-size: 1.05rem; font-weight: 800; }
.prep-tipo .chips { flex-direction: column; }
.prep-tipo .chips .chip { width: 100%; min-height: 52px; border-radius: 14px; text-align: left; font-size: 1.05rem; }
.prep-tipo.need .chips .chip { border-color: var(--taxi); }
.share-panel .sp-pin { bottom: calc(-20px - env(safe-area-inset-bottom, 0px)); } /* (to the sheet's very edge: nothing shows under it) */

/* The Cobrar redesign (the founder via b8, 2026-12-04): Cobrar's screen with the scan at its top and «Continuar» pinned; its QR alone on
   white; on the take screen, what to offer (big) and «Corregir la cuenta». The customer's confirm: the bill, shown. */
.cobrar-scan { margin-bottom: 4px; }
.cobrar-pin .btn { flex: 1; }
.till-qr-only .sp-big-qr svg { width: 100%; height: auto; }
.till-qr-only .typed-code { letter-spacing: .12em; }
.sp-offer { display: flex; flex-direction: column; align-items: center; gap: 2px; box-sizing: border-box; min-width: 0; overflow-wrap: anywhere; width: 100%; margin: 0; padding: 10px 8px; border: 2px dashed #2C6A4D; border-radius: 12px; background: #DDF1E6; color: #14211D; font: inherit; font-size: 20px; font-weight: 800; text-align: center; cursor: pointer; }
.sp-offer.say-only { cursor: default; }
.sp-offer[disabled] { opacity: .5; }
.sp-quiet { justify-content: space-between; gap: 8px; }
.sp-quiet .btn { flex: 1; }
.sp-correct { flex-wrap: wrap; gap: 6px 10px; }
.sp-correct label { flex: 1 0 100%; }
.sp-correct .money { flex: 1 1 0; }
.sp-correct .money input { font-size: 1.5rem; }
.sp-correct .btn { flex: none; min-height: 48px; }
/* (Its customer's confirm: «Confirmar» at the bottom of the screen, whatever the form's height.) */
.spc-form { min-height: calc(100dvh - 118px); }
.spc-form .sp-pin { margin-top: auto !important; }
.spc-bill-amt { font-size: 1.5rem; font-weight: 800; }
.sp-off { color: var(--good); font-weight: 700; }
.sp-offer b { font-size: min(20px, 5.2vw); line-height: 1.2; max-width: 100%; }
.sp-offer span { font-size: min(16px, 4.4vw); font-weight: 700; max-width: 100%; }
/* (The founder via ed, 2026-12-05: stacked, cashiers tapped the top one by habit. Side by side, the same size: a choice.) */
.cobrar-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }
.cobrar-two .btn.cobrar.big-act { min-height: 150px; margin: 0; min-width: 0; flex-direction: column; justify-content: center; text-align: center; gap: 10px; padding: 12px 8px; }
.cobrar-two .cobrar-txt { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; font-size: 17px; line-height: 1.15; overflow-wrap: anywhere; }
.spc-form .sp-go { white-space: normal; overflow-wrap: anywhere; line-height: 1.2; }

/* The new payment form's choices (the founder via 9e, 2026-12-04): a little bigger, each with its icon. */
.sp-opt { min-height: 52px; }
.sp-opt b { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.sp-opt .ico { width: 20px; height: 20px; flex: none; }
.sp-bal > svg { width: 22px; height: 22px; flex: none; }
/* What they add by card or transfer: «Exacto · +$5 · +$10» / «+$15 · +$20 · Otra», three a row, its total small under each. */
.gain-chips.gain-add { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gain-add .chip.gain-chip small { color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.gain-add .chip.gain-chip[aria-pressed="true"] small { color: var(--taxi-ink); }
.pay-cash-back { display: inline-flex; align-items: center; justify-content: center; gap: 6px; align-self: center; border: 0; background: none; color: var(--muted); font: inherit; font-size: .9rem; font-weight: 700; text-decoration: underline; padding: 8px; cursor: pointer; }
.pay-cash-back .ico { width: 18px; height: 18px; }
.gain-add .chip.gain-chip { font-size: 20px; min-height: 64px; }
/* Card or transfer, said on the form before: a tighter screen, so what they add is in sight above the pinned button (360x740). */
.pay2.no-cash .bill-head .bill-amt:not(.struck) { font-size: 40px; }
.pay2.no-cash .pay-result.from-saldo { display: none; }
.pay2.no-cash .pay-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pay2.no-cash .pay-tiles .pay-tile { min-height: 56px; flex-direction: row; gap: 8px; font-size: 16px; padding: 6px 8px; }
.pay2.no-cash .pay-tiles .pay-tile .ico { width: 24px; height: 24px; }
.pay2.no-cash .gain-row { padding: 10px; gap: 8px; }
.pay2.no-cash .gain-q { font-size: 16px; }

/* Equipo (2026-12-04): three big actions on top; adding a person, its form alone. */
.team-main[hidden] { display: none; }
.team-acts { margin: 0 0 14px; }
.team-acts .team-act { min-height: 56px; font-size: 1.05rem; }

/* «Trabajo aquí» (v173): the asking phone's form, its owner's cards, the counter's code. */
.jr-link { display: block; margin: 6px auto 0; }
.jr-form { padding-bottom: 96px; }
.jr-kinds { gap: 8px; }
.jr-kinds .chip { flex: 1; }
.jr-nocode { align-self: flex-start; }
.ap-list { margin-bottom: 12px; }
.ap-title { margin: 0; color: var(--danger, #b3261e); }
.ap-card { border: 2px solid var(--danger, #b3261e); }
/* v175, the pin rule: what waits until the wallet is pinned (its receipt, its wallet), and its owner's two steps. */
.pin-wait, .pin-held { border: 2px solid var(--danger, #b3261e); }
.pin-wait b, .pin-held h2 { font-size: 1.05rem; margin: 0; }
.pin-step-done { margin: 0; }
.wall-inviter { text-align: center; font-size: 1.1rem; }
.su-end h1 { text-align: center; }
.su-end-qr { margin: 0 auto; }
.ap-nos { gap: 8px; }
.ap-nos .btn { flex: 1; }
.join-code-line { margin: 8px 0; }
.join-code { font-size: 1.6rem; letter-spacing: .2em; font-variant-numeric: tabular-nums; }
/* The location picker (2026-12-05): «📍 Montañita ▾» on the list and the map; its question, its towns to tap. */
.place-chip { font-weight: 700; }
.place-head { justify-content: space-between; align-items: center; flex-wrap: nowrap; }
.place-head h2 { margin: 0; }
.place-towns { display: flex; flex-wrap: wrap; gap: 8px; }
.place-town .muted { margin-left: 4px; }
