/* ==========================================================================
   Página pública para agendar (sprint 10c, pantallas 33 a 37 y móvil 15 y 16).
   NO se edita a mano: es el subconjunto de docs/diseno/referencia-ui/css (tokens + los componentes que usan
   estas páginas, copiados tal cual) más el bloque «Solo de estas páginas» del final. Las fuentes son las de la
   referencia recortadas (latín, Instrument Sans 400–600 y Bricolage 600; ver decisión 230).
   --accent lo fija la página con el color del cliente.
   ========================================================================== */

@font-face {
  font-family: 'Instrument Sans';
  src: url('/assets/agendar/instrument-sans.223193173d.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/assets/agendar/bricolage-grotesque-600.8a550965e4.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

:root {
  /* Tipografía */
  --font-display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --text-h1: 34px; /* título de pantalla, escritorio */
  --text-h1-m: 28px; /* título de pantalla, móvil */
  --text-h2: 20px; /* título de sección dentro de una pantalla */
  --text-h3: 16px; /* título de tarjeta / panel */
  --text-body: 14px; /* texto base de la interfaz */
  --text-body-l: 15px; /* subtítulos de pantalla, móvil */
  --text-sm: 13px; /* ayudas, metadatos */
  --text-xs: 12px; /* contadores, etiquetas de tabla */
  --lh: 1.5;

  /* Color del cliente */
  --accent: #2867a5;
  --accent-hover: color-mix(in srgb, var(--accent) 86%, #000);
  --accent-soft: color-mix(in srgb, var(--accent) 10%, #fff);
  --accent-ring: color-mix(in srgb, var(--accent) 24%, transparent);
  --on-accent: #ffffff;

  /* Neutros */
  --bg: #f4f5f7; /* fondo de la aplicación */
  --surface: #ffffff; /* tarjetas, tablas, modales */
  --surface-muted: #fafafb; /* pies de tarjeta, zonas secundarias */
  --sidebar: #fbfbfc; /* menú lateral del portal */
  --border: #e3e6eb;
  --border-strong: #d9dde3; /* bordes de controles */
  --divider: #eef0f3; /* separadores de filas */
  --hover: #eef0f3;
  --chip: #f0f1f4;
  --text: #15171c;
  --text-2: #3a404b;
  --muted: #5e6573; /* texto secundario (AA sobre blanco y --bg) */
  --faint: #8a919c; /* SOLO iconos y decoración, nunca texto */

  /* Estados */
  --ok: #1a6b45;
  --ok-bg: #e3f3ea;
  --warn: #8a5300;
  --warn-bg: #fdf1dc;
  --danger: #b42318;
  --danger-bg: #fdecea;
  --neutral: #4a505b;
  --neutral-bg: #eef0f3;

  /* Consola de superadmin (variante oscura del menú) */
  --console-sidebar: #111722;
  --console-sidebar-2: #1a2130;
  --console-text: #c3cad5;
  --console-muted: #8b94a3;

  /* Radios */
  --r-sm: 8px; /* ítems de menú, filas, chips pequeños */
  --r-md: 10px; /* botones, campos */
  --r-lg: 14px; /* tarjetas, tablas */
  --r-xl: 18px; /* modales, hojas inferiores */
  --r-pill: 999px;

  /* Sombras (casi todo usa borde, no sombra) */
  --shadow-raise: 0 1px 2px rgba(20, 23, 28, 0.08);
  --shadow-pop: 0 8px 24px rgba(17, 23, 34, 0.12);
  --shadow-modal: 0 24px 60px rgba(17, 23, 34, 0.25);
  --overlay: rgba(17, 23, 34, 0.45);

  /* Espaciado: escala de 4 px -> 4 8 12 16 20 24 32 44 */
  --sidebar-w: 256px;
  --page-x: 44px;
  --page-y: 36px;
  --page-x-m: 16px;
  --control-h: 40px; /* botones y campos, escritorio */
  --control-h-m: 46px; /* botón principal y campos, móvil */
  --tabbar-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
}
body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--lh);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.i {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.i-sm {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}
.logo {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: var(--accent);
  color: var(--on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}
.sub {
  font-size: 15px;
  color: var(--muted);
}
.h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 600;
}
.h3 {
  font-size: var(--text-h3);
  font-weight: 600;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--control-h);
  padding: 0 16px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover {
  background: var(--surface-muted);
  border-color: #c9ced6;
}
.btn:focus-visible,
.input:focus-visible,
.nav-item:focus-visible,
.chip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-ring);
}
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text-2);
}
.btn-ghost:hover {
  background: var(--hover);
  border-color: transparent;
}
.btn-danger {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--danger);
}
.btn-danger:hover {
  background: var(--danger-bg);
  border-color: #f3c4bf;
}
.btn-sm {
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
  border-radius: var(--r-sm);
}
.btn-icon {
  width: var(--control-h);
  padding: 0;
}
.btn-icon.btn-sm {
  width: 32px;
}
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.link {
  color: var(--accent);
  font-weight: 600;
  font-size: var(--text-sm);
}
.link:hover {
  text-decoration: underline;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.opt {
  font-weight: 400;
  color: var(--muted);
}
.hint {
  font-size: var(--text-sm);
  color: var(--muted);
}
.input,
.select,
.textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: 0 12px;
  font-size: 14px;
  color: var(--text);
}
.textarea {
  padding: 10px 12px;
  min-height: 104px;
  resize: vertical;
  line-height: 1.5;
}
.input:hover,
.select:hover,
.textarea:hover {
  border-color: #c9ced6;
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}
.field-error .input,
.field-error .textarea {
  border-color: var(--danger);
}
.error {
  font-size: var(--text-sm);
  color: var(--danger);
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.card-pad {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  white-space: nowrap;
}
.pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.pill-ok {
  background: var(--ok-bg);
  color: var(--ok);
}
.pill-off {
  background: var(--neutral-bg);
  color: var(--neutral);
}
.pill-warn {
  background: var(--warn-bg);
  color: var(--warn);
}
.pill-accent {
  background: var(--accent-soft);
  color: var(--accent);
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}
.span-2 {
  grid-column: span 2;
}
.dialog-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.m-savebar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  display: flex;
  gap: 10px;
  padding: 12px var(--page-x-m) calc(12px + env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.m-savebar .btn {
  flex: 1;
}
.scroller {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 calc(var(--page-x-m) * -1);
  padding: 0 var(--page-x-m) 2px;
  scrollbar-width: none;
}
.pending-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--warn-bg);
  border: 1px solid color-mix(in srgb, var(--warn) 25%, transparent);
  border-radius: var(--r-lg);
  font-size: 14px;
  color: var(--text-2);
}
.pending-bar > .i {
  color: var(--warn);
  flex-shrink: 0;
}
.when-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--surface-muted);
  border: 1px solid var(--divider);
}
.when-box .r {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}
.when-box .r .i {
  color: var(--muted);
  margin-top: 1px;
  flex-shrink: 0;
}
.when-box .r b {
  color: var(--text);
  font-weight: 600;
}
.when-box .r a {
  color: var(--accent);
  font-weight: 500;
  overflow-wrap: anywhere;
}
.when-box.is-accent {
  background: var(--accent-soft);
  border-color: transparent;
}
.when-box.is-accent .r .i {
  color: var(--accent);
}
.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px;
}
.slots.is-list {
  grid-template-columns: 1fr;
}
.slot {
  height: var(--control-h);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.slot:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.slot[aria-pressed='true'] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.slot:disabled {
  color: var(--faint);
  background: var(--surface-muted);
  border-style: dashed;
  cursor: not-allowed;
}
.month {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.month-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.month-head .t {
  font-weight: 600;
  font-size: 15px;
  margin-right: auto;
  text-transform: capitalize;
}
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  text-align: center;
}
.month-grid .wd {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--muted);
  padding: 4px 0;
}
.month-grid button {
  height: 40px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  font-size: 14px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  position: relative;
  cursor: default;
}
.month-grid button.is-open {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
}
.month-grid button.is-open:hover {
  background: color-mix(in srgb, var(--accent) 18%, #fff);
}
.month-grid button[aria-pressed='true'] {
  background: var(--accent);
  color: var(--on-accent);
}
.month-grid button.is-today::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: currentColor;
}
.date-chip {
  flex-shrink: 0;
  width: 52px;
  height: 64px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--muted);
  position: relative;
}
.date-chip b {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--text);
  font-weight: 600;
}
.date-chip[aria-pressed='true'] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.date-chip[aria-pressed='true'] b {
  color: var(--on-accent);
}
.date-chip:disabled {
  background: var(--surface-muted);
  border-style: dashed;
}
.date-chip:disabled b {
  color: var(--faint);
}
.date-chip .n {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  border-radius: var(--r-pill);
  background: var(--text-2);
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
.pub {
  background: var(--bg);
  min-height: 100vh;
}
.pub-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pub-wrap.is-narrow {
  max-width: 620px;
}
.pub-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
}
.pub-brand .logo {
  width: 40px;
  height: 40px;
}
.pub-card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.pub-card.is-single {
  grid-template-columns: 1fr;
}
.pub-side {
  padding: 28px;
  border-right: 1px solid var(--divider);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pub-main {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.pub-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
}
.pub-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}
.pub-meta span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pub-meta .i {
  color: var(--muted);
  flex-shrink: 0;
  margin-top: 1px;
}
.pub-pick {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 28px;
  align-items: start;
}
.pub-type {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--divider);
}
.pub-type:last-child {
  border-bottom: 0;
}
.pub-type:hover {
  background: var(--surface-muted);
}
.pub-type .t {
  font-size: 16px;
  font-weight: 600;
}
.pub-type .m {
  font-size: var(--text-sm);
  color: var(--muted);
}
.pub-type .chev {
  margin-left: auto;
  color: var(--faint);
}
.pub-foot {
  font-size: var(--text-xs);
  color: var(--muted);
  text-align: center;
}
.done-ic {
  width: 56px;
  height: 56px;
  border-radius: var(--r-pill);
  background: var(--ok-bg);
  color: var(--ok);
  display: flex;
  align-items: center;
  justify-content: center;
}
.done-ic .i {
  width: 28px;
  height: 28px;
}
@media (max-width: 767px) {
  .pub-wrap {
    padding: 0 0 calc(var(--tabbar-h) + 32px);
    gap: 0;
  }
  .pub-wrap > .pub-brand {
    padding: 14px var(--page-x-m);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
  }
  .pub-card {
    grid-template-columns: 1fr;
    border: 0;
    border-radius: 0;
  }
  .pub-side {
    border-right: 0;
    border-bottom: 1px solid var(--divider);
    padding: 20px var(--page-x-m);
  }
  .pub-main {
    padding: 20px var(--page-x-m);
  }
  .pub-title {
    font-size: 22px;
  }
  .pub-pick {
    grid-template-columns: 1fr;
  }
  .pub .input,
  .pub .select {
    min-height: var(--control-h-m);
    font-size: 16px;
  }
  .pub .textarea {
    font-size: 16px;
  }
  .pub .btn {
    height: var(--control-h-m);
    font-size: 15px;
    border-radius: 12px;
  }
  .pub .slot {
    height: 46px;
    font-size: 15px;
  }
}

/* ---------- Solo de estas páginas ---------- */
.slot:focus-visible,
.month-grid button:focus-visible,
.date-chip:focus-visible,
.pub-type:focus-visible,
.link:focus-visible,
.textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-ring);
}
.pub-type {
  color: inherit;
}
.pub-brand img.logo {
  object-fit: contain;
  background: transparent;
}
.pub-alert {
  margin: 0;
}
@media (min-width: 768px) {
  .only-m {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .only-d {
    display: none !important;
  }
  .pub .form-grid {
    grid-template-columns: 1fr;
  }
  .pub .span-2 {
    grid-column: auto;
  }
  .pub-wrap > .pub-alert,
  .pub-wrap > .when-box {
    margin: 16px var(--page-x-m) 0;
  }
}

/* ---------- Boletería (sprint 12a): copiado tal cual de la referencia ---------- */
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pill-danger {
  background: var(--danger-bg);
  color: var(--danger);
}
.drop {
  border: 1.5px dashed #c9ced6;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  background: var(--surface-muted);
}
.drop:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.drop .ic {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex-shrink: 0;
}
.kv {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}
.kv div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.kv dt {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--muted);
}
.kv dd {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  overflow-wrap: anywhere;
}
.kv dd a {
  color: var(--accent);
  font-weight: 500;
}
.check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
}
.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  margin: 0;
  flex-shrink: 0;
}
/* Mapa del lugar por zonas [VenueMap] */
.vmap {
  background: var(--surface-muted);
  border: 1px solid var(--divider);
  border-radius: var(--r-lg);
  padding: 12px;
}
.vmap svg {
  display: block;
  width: 100%;
  height: auto;
}
.vmap .zone {
  cursor: pointer;
  transition: opacity 0.15s;
}
.vmap .zone:hover {
  opacity: 0.85;
}
.vmap .zone.is-sel {
  stroke: var(--text);
  stroke-width: 3;
}
.vmap .zone.is-out {
  opacity: 0.35;
  cursor: not-allowed;
}
.vmap text {
  font-family: var(--font-body);
  font-weight: 600;
  fill: #fff;
  font-size: 14px;
  pointer-events: none;
}
.vmap .stage {
  fill: var(--text);
}

/* Localidades con cantidad [TierList] */
.tiers {
  display: flex;
  flex-direction: column;
}
.tier {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--divider);
}
.tier:last-child {
  border-bottom: 0;
}
.tier .sw {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}
.tier .t {
  font-size: 15px;
  font-weight: 600;
}
.tier .m {
  font-size: var(--text-sm);
  color: var(--muted);
}
.tier .m b {
  color: var(--text);
  font-weight: 600;
}
.tier.is-out .t,
.tier.is-out .m {
  color: var(--faint);
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
}
.qty button {
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
}
.qty button:hover {
  background: var(--hover);
}
.qty button:disabled {
  color: var(--faint);
  cursor: not-allowed;
}
.qty span {
  min-width: 34px;
  text-align: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Resumen del pedido [OrderSummary] */
.osum {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.osum .r {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-2);
}
.osum .r b {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.osum .total {
  border-top: 1px solid var(--divider);
  padding-top: 12px;
  font-size: 16px;
}
.osum .total b {
  font-family: var(--font-display);
  font-size: 24px;
}
.steps {
  display: flex;
  gap: 8px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--muted);
}
.steps span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.steps span::before {
  content: '';
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: var(--border-strong);
}
.steps span.is-done::before,
.steps span.is-cur::before {
  background: var(--accent);
}
.steps span.is-cur {
  color: var(--text);
}

/* Temporizador de reserva [HoldTimer] */
.timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  background: var(--warn-bg);
  color: var(--warn);
  font-size: var(--text-sm);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Datos bancarios con copiar [BankCard] */
.bank {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.bank-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface-muted);
  border-bottom: 1px solid var(--divider);
  font-weight: 600;
}
.copyrow {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--divider);
  font-size: 14px;
}
.copyrow:last-child {
  border-bottom: 0;
}
.copyrow .k {
  color: var(--muted);
}
.copyrow .v {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.copyrow .v.is-big {
  font-family: var(--font-display);
  font-size: 22px;
}
.copyrow .v.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.copyrow.is-key {
  background: var(--accent-soft);
}
@media (max-width: 767px) {
  .copyrow {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 2px;
    padding: 12px 14px;
  }
  .copyrow .k {
    grid-column: 1 / -1;
    font-size: var(--text-xs);
    font-weight: 600;
  }
  .copyrow .v.is-big {
    font-size: 22px;
  }
}

/* ---------- Entradas con QR (sprint 12b, móvil 20): copiado tal cual de la referencia ---------- */
/* Entrada con QR [TicketCard] */
.ticket {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ticket-band {
  height: 8px;
}
.ticket-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.ticket-qr {
  width: 200px;
  height: 200px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--r-md);
}
.ticket-qr svg {
  display: block;
  width: 100%;
  height: 100%;
}
.ticket .code {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--muted);
  letter-spacing: 0.06em;
}
.ticket-foot {
  display: flex;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px dashed var(--border-strong);
  font-size: var(--text-sm);
  color: var(--text-2);
}
.zpill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  color: #fff;
}
