/* ==========================================================================
   Lealiva · estilos
   Blanco y azul, plano y sobrio (sin modo oscuro: siempre se ve igual).
   --brand lo pone cada página: azul Lealiva en los paneles, el color del
   negocio en las páginas de sus clientes.
   ========================================================================== */
:root {
  color-scheme: light;
  --bg: #f7f9fc; --panel: #ffffff; --ink: #0b1b3f; --muted: #5b6b85; --line: #e4e9f2; --soft: #f2f5fa;
  --danger: #dc2626; --warn: #d97706; --ok: #059669;
  --radius: 14px; --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 63, .05);
  --shadow: 0 1px 2px rgba(11, 27, 63, .04), 0 6px 18px -10px rgba(11, 27, 63, .12);
  --brand-strong: color-mix(in srgb, var(--brand) 80%, #0b1b3f);
  --brand-soft: color-mix(in srgb, var(--brand) 7%, transparent);
  --brand-line: color-mix(in srgb, var(--brand) 30%, transparent);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font); color: var(--ink); line-height: 1.5; min-height: 100vh;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
main { max-width: 440px; margin: 0 auto; padding: max(16px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom)); }
h1 { font-size: 1.6rem; line-height: 1.2; margin: 0 0 .25rem; letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: 1.1rem; margin: 0 0 .5rem; letter-spacing: -.01em; font-weight: 700; }
h3 { font-size: 1rem; margin: 0 0 .35rem; }
p { margin: .5rem 0; }
a { color: var(--brand); text-underline-offset: 3px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.grow { flex: 1; min-width: 0; }
.spaced { margin-top: 22px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brand-line); outline-offset: 2px; border-radius: 8px; }
.error { color: var(--danger); font-weight: 600; }

/* ---------- Íconos ---------- */
.ico { width: 18px; height: 18px; flex: none; }

/* ---------- Tarjetas ---------- */
.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); margin-bottom: 16px;
}
.divider { height: 1px; background: var(--line); margin: 20px 0; }

/* ---------- Formularios ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
p.label { font-weight: 600; font-size: .92rem; margin: 14px 0 6px; }
select {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink); background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.notice.bday, .notice.strong.bday { border-color: #f59e0b; background: #fffbeb; color: #78350f; }
.bday-form { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
label { display: block; font-weight: 600; font-size: .92rem; margin: 14px 0 6px; }
input[type=text], input[type=password], input[type=email], input[type=number], input[type=search], textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink); background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
input:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
textarea { resize: vertical; }
input[type=color] { width: 100%; height: 48px; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); cursor: pointer; }
input[type=file] { width: 100%; font: inherit; font-size: .88rem; padding: 8px 0; }
input[type=file]::file-selector-button {
  font: inherit; font-weight: 600; margin-right: 10px; padding: 8px 12px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 10px; background: var(--soft); color: var(--ink);
}
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.prefix-input { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); box-shadow: var(--shadow-sm); }
.prefix-input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.prefix-input span { padding-left: 14px; color: var(--muted); }
.prefix-input input { border: 0; box-shadow: none; padding-left: 2px; background: transparent; }
.prefix-input input:focus { box-shadow: none; }
.choices { border: 0; padding: 0; margin: 14px 0 0; }
.choices legend { font-weight: 600; font-size: .92rem; margin-bottom: 6px; padding: 0; }
.choice {
  display: flex; gap: 10px; align-items: center; font-weight: 500; margin: 0 0 8px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .15s, background .15s;
}
.choice:hover { border-color: var(--brand-line); }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.choice input { width: 18px; height: 18px; accent-color: var(--brand); }
.form-step { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.form-step span {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); font-size: .85rem; font-weight: 800;
}

/* ---------- Botones ---------- */
.btn {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 14px; padding: 13px 18px;
  font: inherit; font-weight: 700; letter-spacing: .005em; text-decoration: none; cursor: pointer;
  color: #fff; border: 0; border-radius: var(--radius-sm);
  background: var(--brand); box-shadow: var(--shadow-sm);
  transition: background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--brand-strong); box-shadow: 0 4px 12px -6px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn:active { transform: scale(.99); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; filter: grayscale(.3); }
.btn.alt {
  color: var(--ink); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.btn.alt:hover { border-color: var(--brand-line); color: var(--brand); background: var(--brand-soft); filter: none; box-shadow: var(--shadow-sm); }
.btn.alt .ico { color: var(--brand); }
.btn.danger { color: var(--danger); background: transparent; border: 1px solid color-mix(in srgb, var(--danger) 40%, transparent); box-shadow: none; }
.btn.danger:hover { background: color-mix(in srgb, var(--danger) 8%, transparent); filter: none; }
.btn.warn { background: #d97706; }
.btn.warn:hover { background: #b45309; }
.btn.small-btn { width: auto; margin-top: 0; padding: 10px 14px; flex: none; font-size: .92rem; }
.btn.auto { width: auto; margin-top: 0; }
.btn.apple, .btn.apple:hover { background: #000; color: #fff; box-shadow: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; cursor: pointer;
  color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  transition: color .15s, border-color .15s, background .15s, transform .15s;
}
.icon-btn:hover { color: var(--brand); border-color: var(--brand-line); background: var(--brand-soft); }
.icon-btn:active { transform: scale(.95); }
.link-btn { background: none; border: 0; padding: 6px 8px; font: inherit; font-weight: 600; color: var(--brand); cursor: pointer; }
.back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; font-weight: 600; text-decoration: none; color: var(--muted); }
.back:hover { color: var(--brand); }

/* ---------- Avisos, etiquetas, filas ---------- */
.notice {
  display: block; border: 1px solid var(--brand-line); background: var(--brand-soft);
  border-radius: var(--radius-sm); padding: 6px 16px; margin-bottom: 16px;
}
.notice.strong { border-color: var(--brand); }
.link-notice { display: flex; align-items: center; gap: 10px; padding: 12px 16px; color: var(--ink); text-decoration: none; transition: transform .15s; }
.link-notice:hover { transform: translateY(-1px); }
.link-notice .ico { color: var(--brand); }
.copy-row { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.copy-row input { flex: 1; min-width: 0; }
.tag {
  display: inline-block; vertical-align: middle; font-size: .74rem; font-weight: 700; padding: 2px 9px;
  border-radius: 999px; background: var(--soft); border: 1px solid var(--line); color: var(--muted);
}
.tag.ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 10%, transparent); border-color: color-mix(in srgb, var(--ok) 30%, transparent); }
.tag.off { color: var(--danger); background: color-mix(in srgb, var(--danger) 8%, transparent); border-color: color-mix(in srgb, var(--danger) 30%, transparent); }
.tag.pending { color: var(--brand); background: var(--brand-soft); border-color: var(--brand-line); }
.tag.big { font-size: .85rem; padding: 4px 12px; }
.badge {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: .72rem; font-weight: 800;
}
.item { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.item:first-of-type { border-top: 0; }
.row-link {
  display: flex; align-items: center; gap: 14px; padding: 14px 12px; margin: 0 -12px;
  color: var(--ink); text-decoration: none; border-radius: var(--radius-sm); transition: background .15s;
}
.row-link + .row-link { border-top: 1px solid var(--line); }
.row-link:hover { background: var(--brand-soft); }
.row-link:hover .chev { color: var(--brand); transform: translateX(2px); }
.row-link.compact { padding: 10px 12px; gap: 10px; }
.row-meta { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-size: .88rem; }
.chev { font-size: 1.5rem; line-height: 1; color: var(--muted); transition: transform .15s, color .15s; }
.rank {
  display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px;
  background: var(--brand-soft); color: var(--brand); font-size: .8rem; font-weight: 800;
}
.name-link { color: var(--ink); font-weight: 700; text-decoration: none; }
.name-link:hover { color: var(--brand); }
.empty { text-align: center; color: var(--muted); padding: 26px 10px; }
.empty .ico { width: 34px; height: 34px; color: var(--brand); opacity: .55; }
.facts { margin: 0 0 6px; display: grid; gap: 8px; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.danger-zone { border-color: color-mix(in srgb, var(--danger) 30%, var(--line)); }
.big-number { font-size: 1.6rem; color: var(--brand); }
table.data { width: 100%; border-collapse: collapse; margin-top: 8px; }
table.data th, table.data td { text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--line); }
details > summary { cursor: pointer; color: var(--muted); font-weight: 600; }

/* ---------- Avatares ---------- */
.avatar { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; background: #fff; flex: none; box-shadow: var(--shadow-sm); }
.avatar.initial { display: inline-grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.05rem; }
.avatar.lg { width: 60px; height: 60px; border-radius: 16px; font-size: 1.5rem; }
.avatar.on-brand { width: 48px; height: 48px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.avatar.on-brand.initial { background: rgba(255, 255, 255, .2) !important; }

/* ==========================================================================
   Paneles (creador y negocio)
   ========================================================================== */
body.app main { max-width: 1000px; padding-top: 22px; }
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { max-width: 1000px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brandmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brandmark img { border-radius: 9px; }
.wordmark { font-weight: 800; font-size: 1.2rem; letter-spacing: -.03em; }
.brand-tag { font-size: .72rem; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 3px 9px; border-radius: 999px; }
.topbar-right { display: flex; align-items: center; gap: 10px; min-width: 0; }
.biz-chip {
  display: inline-flex; align-items: center; gap: 8px; min-width: 0; padding: 4px 12px 4px 4px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--panel); font-weight: 600; font-size: .92rem;
}
.biz-chip .avatar { width: 30px; height: 30px; border-radius: 999px; font-size: .85rem; box-shadow: none; }
.biz-chip-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.tabs { max-width: 1000px; margin: 0 auto; padding: 0 16px 10px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; white-space: nowrap;
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: .93rem; transition: color .15s, background .15s;
}
.tabs a:hover { color: var(--ink); background: var(--soft); }
.tabs a[aria-current=page] { color: var(--brand); background: var(--brand-soft); }
.creator-bar {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 8px 16px;
  background: var(--ink); color: #fff; font-size: .9rem;
}
.creator-bar span { text-align: center; }
.creator-bar .ico { vertical-align: -3px; margin-right: 6px; }
.creator-bar button { font: inherit; font-weight: 700; color: var(--ink); background: #fff; border: 0; border-radius: 999px; padding: 5px 14px; cursor: pointer; }
.app-footer { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px 30px; color: var(--muted); font-size: .82rem; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head h1 { margin: 0; }
.page-head p { margin: 4px 0 0; }
.row-left { display: flex; align-items: center; gap: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.grid-2 > .panel { margin-bottom: 0; }
.grid-2 + .panel, .grid-2 + section { margin-top: 16px; }

/* Barra de búsqueda y filtros */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.search { position: relative; flex: 1; min-width: 220px; }
.search .ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { padding-left: 40px; }
.segmented { display: inline-flex; padding: 4px; gap: 2px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.segmented button {
  font: inherit; font-weight: 600; font-size: .88rem; color: var(--muted); background: transparent; border: 0;
  padding: 7px 12px; border-radius: 9px; cursor: pointer; transition: color .15s, background .15s;
}
.segmented button:hover { color: var(--ink); }
.segmented button[aria-pressed=true] { color: var(--brand); background: var(--panel); box-shadow: var(--shadow-sm); }

/* Tarjetas de números */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.stat {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 16px 14px; box-shadow: var(--shadow); overflow: hidden;
}
.stat .ico { width: 34px; height: 34px; padding: 8px; border-radius: 10px; color: var(--brand); background: var(--brand-soft); }
.stat strong { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; margin-top: 10px; line-height: 1.1; }
.stat span { font-size: .82rem; color: var(--muted); }

/* Botón principal de Inicio */
.hero-action {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; margin-bottom: 16px; text-decoration: none; color: #fff;
  border-radius: var(--radius);
  background: var(--brand); box-shadow: var(--shadow);
  transition: background .15s ease;
}
.hero-action:hover { background: var(--brand-strong); }
.hero-action:active { transform: scale(.995); }
.hero-action strong { display: block; font-size: 1.12rem; }
.hero-action span span { opacity: .85; font-size: .9rem; }
.hero-action > span:nth-child(2) { flex: 1; }
.hero-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: rgba(255, 255, 255, .14); flex: none; }
.hero-icon .ico { width: 28px; height: 28px; }
.hero-action .chev { color: #fff; font-size: 2rem; }

/* QR y compartir */
.qr { display: grid; place-items: center; padding: 14px; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.share { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.share .qr { margin-top: 10px; }
.social { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.social figure { margin: 0; }
.social canvas { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); display: block; box-shadow: var(--shadow); }
.social figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }

/* Gráfica de sellos por día: barras finas, extremo redondeado, rejilla discreta */
.chart { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 180px auto; column-gap: 8px; margin: 14px 0 10px; }
.chart-grid { display: flex; flex-direction: column; justify-content: space-between; font-size: .75rem; color: var(--muted); text-align: right; }
.chart-grid span { line-height: 1; transform: translateY(-50%); }
.chart-grid span:last-child { transform: translateY(50%); }
.chart-bars {
  display: flex; align-items: flex-end; gap: 2px; height: 180px; border-bottom: 1px solid var(--line);
  background: linear-gradient(var(--line), var(--line)) 0 0 / 100% 1px no-repeat,
              linear-gradient(var(--line), var(--line)) 0 50% / 100% 1px no-repeat;
}
.bar-slot { flex: 1; height: 100%; display: flex; align-items: flex-end; border-radius: 6px 6px 0 0; }
.bar { width: 100%; max-width: 18px; margin: 0 auto; background: var(--brand); border-radius: 3px 3px 0 0; }
.bar-slot.hover { background: var(--brand-soft); }
.bar-slot.hover .bar { filter: brightness(1.1); }
.chart-x { grid-column: 2; display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); margin-top: 6px; }
.chart-tip {
  position: absolute; top: -8px; transform: translateX(-50%); pointer-events: none; white-space: nowrap;
  background: var(--ink); color: var(--panel); font-size: .8rem; font-weight: 600; padding: 5px 10px; border-radius: 8px; box-shadow: var(--shadow);
}

/* Escáner */
.scan-panel { max-width: 520px; margin-left: auto; margin-right: auto; }
#reader { border-radius: 12px; overflow: hidden; background: #0b1b3f; min-height: 260px; color: #fff; }
.reader-off { display: grid; place-items: center; min-height: 260px; text-align: center; padding: 20px; color: #cbd5e1; }
.result { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.result .name { font-size: 1.3rem; font-weight: 800; }

/* ==========================================================================
   Acceso (login, alta, inicio)
   ========================================================================== */
body.auth main { max-width: 440px; padding-top: max(48px, env(safe-area-inset-top)); }
body.wide-auth main { max-width: 600px; }
.auth-brand { display: flex; justify-content: center; margin-bottom: 22px; }
.auth-brand .brandmark img { width: 46px; height: 46px; border-radius: 13px; }
.auth-brand .wordmark { font-size: 1.6rem; }
.auth-card { padding: 28px; }
.auth-card h1 { font-size: 1.45rem; }

/* ==========================================================================
   Páginas del cliente final (color del negocio)
   ========================================================================== */
.head {
  color: #fff; border-radius: var(--radius) var(--radius) 0 0; padding: 22px;
  background: var(--brand);
}
.head h1 { font-size: 1.4rem; margin: 0; }
.head p { margin: 0; opacity: .85; }
.ticket { border-radius: 0 0 var(--radius) var(--radius); border-top: 0; }
.stamps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 6px 0 18px; }
.stamp {
  aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--line);
  display: grid; place-items: center; font-weight: 700; color: var(--muted);
}
.stamp.on { background: var(--brand); border: 2px solid transparent; color: #fff; }
.stamp.on::after { content: "✓"; font-size: 1.3rem; }
.stamp:not(.on)::after { content: attr(data-n); font-size: .95rem; font-weight: 500; }
.stamps.mini { grid-template-columns: repeat(8, 1fr); gap: 6px; margin: 10px 0; }
.stamps.mini .stamp::after { font-size: .75rem; }
.status { font-weight: 700; }
.recover { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
.recover summary { color: var(--brand); }
.public-footer { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 16px 28px; color: var(--muted); font-size: .8rem; }
body.public .qr { margin: 16px 0 4px; border: 0; }

/* ---------- Teléfono ---------- */
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .social { grid-template-columns: 1fr; }
  .row-meta { display: none; }
  .biz-chip-name { max-width: 110px; }
  .tabs a span { font-size: .88rem; }
}
@media (max-width: 480px) {
  .two { grid-template-columns: 1fr; }
  .two.pair { grid-template-columns: 1fr 1.5fr; }
  .share .qr { margin: 10px auto 0; }
  .wordmark { font-size: 1.05rem; }
  .biz-chip-name { display: none; }
  .biz-chip { padding: 3px; }
  .page-head .btn.auto { width: 100%; }
}

/* ---------- Póster para imprimir ---------- */
.poster-tools { display: flex; gap: 10px; max-width: 420px; margin: 0 auto 16px; }
.poster-tools .btn { margin-top: 0; }
.poster {
  background: #fff; color: #1b1f24; text-align: center; border-radius: var(--radius);
  border: 6px solid var(--brand); padding: 36px 28px; max-width: 520px; margin: 0 auto;
}
.poster h1 { font-size: 2.2rem; margin-top: 8px; }
.poster-logo { width: 96px; height: 96px; border-radius: 20px; object-fit: cover; }
.poster-logo.initial { display: inline-grid; place-items: center; color: #fff; font-size: 2.8rem; font-weight: 800; }
.poster-lead { color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.poster-qr { display: inline-block; padding: 14px; background: #fff; border: 2px solid #e3e6ea; border-radius: 16px; margin: 22px 0 10px; }
.poster-cta { font-size: 1.3rem; font-weight: 700; }
.poster-reward { font-size: 1.15rem; }
.poster-foot { color: #5d6670; margin-top: 18px; }
@media print {
  @page { size: A4; margin: 14mm; }
  body { background: #fff; }
  main { padding: 0; }
  .no-print { display: none !important; }
  .poster { max-width: none; border-width: 8px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
