/* =====================================================
   PLANY · ESTILOS POR PANTALLA
   ===================================================== */

/* ---------- SPLASH ---------- */
.splash {
  flex: 1; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--crema); padding: 40px 26px 34px;
}
.splash__legal { position: absolute; left: 0; right: 0; bottom: calc(20px + env(safe-area-inset-bottom)); text-align: center; z-index: 1; margin: 0; }
.splash__legal, .splash__legal a { color: var(--gray-500); }
.splash__glow {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(255,107,53,0.32), rgba(255,61,127,0.16) 45%, transparent 68%);
  pointer-events: none;
}
.splash__center { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; position: relative; z-index: 1; margin-bottom: 30px; }
.splash__tagline {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: 19px; color: var(--magenta); letter-spacing: -0.01em;
}
.splash__foot { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; }
.splash__hint {
  text-align: center; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--dark-muted);
}

/* ---------- HOME ---------- */
.home-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding-top: 8px; padding-bottom: 6px;
}
.home-hi { font-size: 15px; color: var(--dark-muted); font-weight: 500; margin-bottom: 6px; }
.home-q {
  font-family: var(--font-display); font-weight: 800; font-size: 34px;
  line-height: 1.0; letter-spacing: -0.03em; color: var(--crema);
}
.home-ava {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-marca); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
}

.home-search {
  margin: 22px 18px 0; width: calc(100% - 36px);
  display: flex; align-items: center; gap: 12px;
  background: var(--dark-surface); border: 1px solid var(--dark-line);
  border-radius: var(--r-pill); padding: 13px 16px;
  position: relative; overflow: hidden;
  animation: pulse-hint 2.6s ease-in-out infinite;
}
@keyframes pulse-hint {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,53,0); }
  50% { box-shadow: 0 0 0 4px rgba(255,107,53,0.12); }
}
.home-search__ph { flex: 1; text-align: left; color: var(--dark-muted); font-size: 15px; }
.home-search__mic { color: var(--naranja); display: flex; }

/* featured / Nia recomienda */
.featured {
  display: block; width: 100%; text-align: left; position: relative; overflow: hidden;
  background: var(--grad-calido); border-radius: var(--r-xl);
  padding: 20px 20px 18px; color: #fff; box-shadow: var(--sh-cta);
}
.featured__glow {
  position: absolute; top: -50%; right: -20%; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(255,255,255,0.28), transparent 65%); pointer-events: none;
}
.featured__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; position: relative; }
.featured__tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(0,0,0,0.18); padding: 5px 11px; border-radius: var(--r-pill); font-weight: 500;
}
.featured__live { font-size: 11px; font-weight: 700; letter-spacing: 0.02em; display: inline-flex; align-items: center; gap: 5px; }
.featured__title { font-family: var(--font-display); font-weight: 800; font-size: 27px; line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 10px; position: relative; }
.featured__sub { font-size: 14px; line-height: 1.45; color: rgba(255,255,255,0.92); margin-bottom: 16px; position: relative; }
.featured__cta {
  display: inline-flex; align-items: center; font-weight: 700; font-size: 14.5px;
  background: rgba(255,255,255,0.16); padding: 10px 16px; border-radius: var(--r-pill); position: relative;
}

/* mini venue (cerca tuyo) */
.mini-venue {
  display: flex; align-items: center; gap: 13px; width: 100%; text-align: left;
  background: var(--dark-surface); border: 1px solid var(--dark-line);
  border-radius: var(--r-lg); padding: 11px; position: relative;
}
.mini-venue img { width: 64px; height: 64px; border-radius: var(--r-md); object-fit: cover; flex: 0 0 auto; }
.mini-venue__body { flex: 1; }
.mini-venue__name { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--crema); letter-spacing: -0.01em; }
.mini-venue__meta { font-size: 12.5px; color: var(--dark-muted); margin-top: 2px; }
.mini-venue__rate { position: absolute; top: 12px; right: 14px; font-size: 12px; font-weight: 700; color: var(--amarillo); }

.pad-reset { } /* botón sin estilos de botón heredados problemáticos */

/* HOME en CLARO (app uniforme; el oscuro queda para el futuro modo oscuro) */
.theme-light .home-hi { color: var(--gray-500); }
.theme-light .home-q { color: var(--carbon); }
.theme-light .home-search { background: #fff; border-color: var(--gray-200); }
.theme-light .home-search__ph { color: var(--gray-500); }
.theme-light .chip--dark { background: var(--crema); color: var(--carbon); border: 1px solid var(--gray-200); }
.theme-light .chip--dark.is-active { background: var(--carbon); color: #fff; border-color: var(--carbon); }
.theme-light .mini-venue { background: #fff; border-color: var(--gray-200); }
.theme-light .mini-venue__name { color: var(--carbon); }
.theme-light .mini-venue__meta { color: var(--gray-500); }

/* ---------- DISCOVERY · chat de Nia ---------- */
.chat-header {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 11px;
  padding: 4px 16px 12px;
  border-bottom: 1px solid var(--dark-line);
}
.chat-header__id { line-height: 1.2; }
.chat-header__name { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--crema); }
.chat-header__status { font-size: 11.5px; color: var(--verde); font-weight: 600; }
.chat-thread { padding-top: 16px; padding-bottom: 8px; }

/* card de local dentro del chat (compacta, foto + por qué) */
.vcard {
  display: block; width: 100%; text-align: left;
  background: var(--dark-surface); border: 1px solid var(--dark-line);
  border-radius: var(--r-lg); overflow: hidden; margin-bottom: 12px;
  transition: transform .16s ease, border-color .2s ease;
}
.vcard:active { transform: scale(0.985); }
.vcard.is-pick { border-color: rgba(255,107,53,0.55); box-shadow: 0 0 0 1px rgba(255,107,53,0.25); }
.vcard__media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; }
.vcard__media::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 38%, transparent 60%, rgba(0,0,0,.45)); }
.vcard__pick {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  background: var(--carbon); color:#fff; padding: 5px 10px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 5px;
}
.vcard__rate { position: absolute; top: 10px; right: 10px; z-index: 2; font-size: 11.5px; font-weight: 700; background: rgba(255,255,255,.92); color: var(--carbon); padding: 4px 9px; border-radius: var(--r-pill); }
.vcard__live { position: absolute; bottom: 10px; left: 10px; z-index: 2; font-size: 11px; font-weight: 700; color:#fff; background: var(--magenta); padding: 4px 10px; border-radius: var(--r-pill); }
.vcard__body { padding: 13px 15px 15px; }
.vcard__name { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--crema); letter-spacing: -.02em; }
.vcard__meta { font-size: 12.5px; color: var(--dark-muted); margin-top: 3px; display:flex; gap:7px; align-items:center; flex-wrap:wrap; }
.vcard__meta .dot { width:3px;height:3px;border-radius:50%;background:rgba(255,245,236,.3); }
.vcard__why {
  margin-top: 11px; padding: 11px 13px; border-radius: var(--r-md);
  background: rgba(255,107,53,0.10); border: 1px solid rgba(255,107,53,0.14);
  font-size: 13px; line-height: 1.45; color: rgba(255,245,236,.88);
  display: flex; gap: 8px; align-items: flex-start;
}
.vcard__why b { color: var(--naranja); }
.vcard__why .nia-tag { color: var(--naranja); font-weight: 700; }
.vcard__open { margin-top: 12px; display:flex; align-items:center; justify-content:space-between;
  font-weight: 700; font-size: 13.5px; color: var(--naranja); }
.vcard__tags { margin-top: 11px; display:flex; gap:6px; flex-wrap:wrap; }
.vcard__tags .tag { background: var(--dark-surface-2); color: var(--dark-muted); }
.vcard__tags .tag--live { background: rgba(34,160,107,.16); color: #4cc78c; }
.reply-row { margin-top: 4px; margin-bottom: 8px; }

/* toast (ramas fuera del camino feliz) */
.toast {
  position: absolute; left: 50%; bottom: 96px; transform: translate(-50%, 12px);
  background: var(--carbon); color: #fff; font-size: 13.5px; font-weight: 600;
  padding: 11px 18px; border-radius: var(--r-pill); box-shadow: var(--sh-lg);
  opacity: 0; pointer-events: none; transition: all .28s ease; z-index: 90; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- HILO DEL PLAN (pill persistente) ---------- */
.plan-thread { display: flex; justify-content: center; padding: 10px 16px 6px; flex: 0 0 auto; }
.plan-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(26,26,46,.05); border: 1px solid var(--gray-200);
  border-radius: var(--r-pill); padding: 7px 15px;
  font-size: 12.5px; font-weight: 700; letter-spacing: -.01em; color: var(--gray-700);
  white-space: nowrap; animation: pill-in .3s ease;
}
@keyframes pill-in { from { opacity: 0; transform: translateY(-6px); } }
.plan-pill .pp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--naranja); flex: 0 0 auto; }
.theme-dark .plan-pill { background: rgba(255,255,255,.08); border-color: var(--dark-line); color: var(--crema); }

/* ---------- DETALLE + ARMAR PLAN ---------- */
.detail-hero { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,.32) 0%, transparent 26%, transparent 70%, var(--crema) 100%); }
.detail-hero__status { position: absolute; top: 0; left: 0; right: 0; z-index: 3; color:#fff;
  background: linear-gradient(180deg, rgba(0,0,0,.38), transparent); padding-bottom: 12px; }
.detail-hero__status .sb-time, .detail-hero__status .sb-icons { text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.detail-hero__bar { position: absolute; top: 46px; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; padding: 4px 18px; }
.detail-hero__bar .icon-btn { background: rgba(255,255,255,0.92); color: var(--carbon); }
/* Sin foto propia (Robustecer 4): el hero se achica a la barra de volver, sin ícono ni bloque vacío. */
.detail-hero--sin-foto { aspect-ratio: auto; height: 96px; }
.detail-hero--sin-foto img { display: none; }
.detail-hero--sin-foto::after { display: none; }
.detail-hero--sin-foto .detail-hero__status { color: var(--carbon); background: none; }
.detail-hero--sin-foto .detail-hero__status .sb-time, .detail-hero--sin-foto .detail-hero__status .sb-icons { text-shadow: none; }
.detail-hero--sin-foto .detail-hero__bar .icon-btn { background: var(--lino); border: 1px solid var(--gray-200); }
.detail--sin-foto .detail-body { margin-top: 0; }

.detail-body { padding: 0 18px 8px; margin-top: -10px; position: relative; z-index: 2; }
.detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.detail-name { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.03em; line-height: 1; }
.detail-meta { font-size: 13.5px; color: var(--gray-500); margin-top: 6px; font-weight: 500; }
.detail-rate { flex: 0 0 auto; font-size: 13px; font-weight: 800; background: var(--carbon); color: #fff; padding: 6px 11px; border-radius: var(--r-pill); }

.detail-status {
  display: flex; align-items: center; gap: 12px; margin-top: 18px;
  background: var(--verde-bg); border-radius: var(--r-md); padding: 13px 15px;
}
.detail-status .ds-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 0 4px rgba(34,160,107,.18); flex: 0 0 auto; }
.ds-title { font-weight: 700; font-size: 14.5px; color: #15533a; letter-spacing: -0.01em; }
.ds-sub { font-size: 12.5px; color: #2f7857; }

.block-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray-500); font-weight: 500; margin: 22px 0 11px; display: flex; align-items: center; gap: 6px;
}
.block-eyebrow .lightning { color: var(--magenta); }

/* armar plan */
.plan-builder { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--gray-200); }
.pb-title { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 6px; }
.pb-label { font-size: 13px; font-weight: 700; color: var(--gray-600); margin: 18px 0 10px; }

.guests { display: flex; gap: 10px; flex-wrap: wrap; }
.guest {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid var(--gray-200); border-radius: var(--r-pill);
  padding: 6px 14px 6px 6px; transition: all .16s ease;
}
.guest.is-on { border-color: var(--naranja); background: rgba(255,107,53,0.06); }
.guest.is-host { border-color: var(--carbon); }
.guest .ava--sm { width: 28px; height: 28px; font-size: 12px; }
.guest .g-name { font-size: 13.5px; font-weight: 700; color: var(--gray-700); }
.guest .g-check { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--gray-300); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; }
.guest.is-on .g-check { background: var(--naranja); border-color: var(--naranja); }
.guest .g-add { font-size: 18px; color: var(--gray-500); width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }

/* ---------- CONCRETAR (Nia reservando) ---------- */
.confirming {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px 28px; text-align: center; background: var(--crema);
}
.theme-light .confirming__title { color: var(--carbon); }
.confirming__nia { position: relative; margin-bottom: 30px; }
.confirming__av { z-index: 2; position: relative; box-shadow: 0 8px 30px -6px rgba(255,107,53,.6); }
.confirming__rings { position: absolute; inset: -10px; border-radius: 50%; }
.confirming__rings::before, .confirming__rings::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--naranja); opacity: 0; animation: ring 2s ease-out infinite;
}
.confirming__rings::after { animation-delay: 1s; }
@keyframes ring { 0% { transform: scale(.8); opacity: .6; } 100% { transform: scale(2.1); opacity: 0; } }
.confirming__title { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; color: var(--crema); margin-bottom: 8px; }
.confirming__sub { font-size: 14.5px; color: var(--dark-muted); margin-bottom: 32px; max-width: 280px; }
.confirming__log { width: 100%; max-width: 320px; display: flex; flex-direction: column; gap: 12px; }
.clog {
  display: flex; align-items: center; gap: 12px; text-align: left;
  background: var(--dark-surface); border: 1px solid var(--dark-line); border-radius: var(--r-md);
  padding: 13px 15px; font-size: 14px; color: var(--dark-text);
  opacity: 0; transform: translateY(8px); animation: clog-in .4s ease forwards;
}
@keyframes clog-in { to { opacity: 1; transform: translateY(0); } }
.clog__ico { width: 22px; height: 22px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.clog .spin { width: 16px; height: 16px; border: 2px solid rgba(255,107,53,.3); border-top-color: var(--naranja); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.clog.done { border-color: rgba(34,160,107,.3); }
.clog.done .clog__ico { color: #4cc78c; }
.clog__venue { color: var(--naranja); font-weight: 700; }

/* ---------- CONFIRMADO ---------- */
.confirmed { padding-top: 18px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.confirmed__check {
  width: 88px; height: 88px; border-radius: 50%; background: var(--verde-bg); color: var(--verde);
  display: flex; align-items: center; justify-content: center; margin: 14px 0 18px;
  animation: pop .5s cubic-bezier(.2,1.3,.5,1);
}
@keyframes pop { 0% { transform: scale(0); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
.confirmed__title { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.03em; line-height: 1.05; }
.confirmed__sub { font-size: 15.5px; color: var(--gray-600); margin-top: 8px; }
.confirmed__sub strong { color: var(--carbon); font-weight: 700; }
.confirmed__card { width: 100%; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-md); margin-top: 24px; overflow: hidden; text-align: left; animation: rise .5s .12s both cubic-bezier(.2,1,.4,1); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.cf-top { display: flex; align-items: center; gap: 13px; padding: 18px 18px 16px; }
.cf-logo { width: 50px; height: 50px; border-radius: var(--r-md); background: var(--grad-marca); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 17px; flex: 0 0 auto; }
.cf-name { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.cf-zone { font-size: 13.5px; color: var(--gray-500); }
.cf-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--gray-100); }
.cf-cell { padding: 14px 12px; text-align: center; border-right: 1px solid var(--gray-100); }
.cf-cell:last-child { border-right: none; }
.cf-k { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 5px; }
.cf-v { font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: -0.01em; }
.cta-secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.cta-secondary .btn { padding: 13px; font-size: 15px; }

/* ---------- WHATSAPP ---------- */
#screen-whatsapp { background: var(--whatsapp-bg); }
.wa-status { background: var(--whatsapp); color: #fff; }
.wa-status .sb-time, .wa-status .sb-icons { color: #fff; }
.wa-header {
  flex: 0 0 auto; display: flex; align-items: center; gap: 10px;
  background: var(--whatsapp); color: #fff; padding: 8px 14px 12px;
}
.wa-back { color: #fff; display: flex; }
.wa-gav { width: 40px; height: 40px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; font-size: 20px; flex: 0 0 auto; }
.wa-id { flex: 1; line-height: 1.25; }
.wa-name { font-weight: 700; font-size: 16px; }
.wa-sub { font-size: 12px; color: rgba(255,255,255,.8); }
.wa-icons { display: flex; gap: 18px; color: #fff; }

.wa-bg {
  background-color: #ECE5DD;
  background-image: radial-gradient(rgba(0,0,0,0.025) 1px, transparent 1px);
  background-size: 22px 22px;
}
.wa-thread { padding: 14px 14px 8px; display: flex; flex-direction: column; }
.wa-day { align-self: center; background: #fff; color: var(--gray-500); font-size: 11px; font-weight: 600; letter-spacing: .05em; padding: 5px 12px; border-radius: 8px; box-shadow: var(--sh-sm); margin-bottom: 14px; }

.wa-msg { max-width: 82%; padding: 7px 10px 6px; border-radius: 10px; font-size: 14.5px; line-height: 1.4; margin-bottom: 9px; position: relative; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.wa-msg .wa-time { font-size: 10.5px; color: var(--gray-500); float: right; margin: 6px 0 -2px 10px; }
.wa-msg.in { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.wa-msg.out { align-self: flex-end; background: var(--whatsapp-bubble); border-top-right-radius: 2px; }
.wa-msg.out .wa-time { color: #5b8a6a; }
.wa-msg .wa-from { font-size: 12.5px; font-weight: 700; margin-bottom: 2px; }
.wa-tick { color: #34B7F1; font-weight: 700; }

/* card de invitación plany dentro de WhatsApp (link preview) */
.wa-card { align-self: flex-end; max-width: 82%; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 1px rgba(0,0,0,.1); margin-bottom: 9px; }
.wa-card__media { background: var(--grad-calido); padding: 16px 16px 18px; color: #fff; position: relative; overflow: hidden; }
.wa-card__media::after { content:''; position:absolute; top:-40%; right:-15%; width:160px; height:160px; background: radial-gradient(circle, rgba(255,255,255,.25), transparent 65%); }
.wa-card__brand { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; position: relative; }
.wa-card__plany { display: inline-flex; }
.wa-card__rate { font-size: 11px; font-weight: 700; background: rgba(255,255,255,.22); padding: 3px 9px; border-radius: 999px; }
.wa-card__eyebrow { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; opacity: .85; margin-bottom: 5px; position: relative; }
.wa-card__title { font-family: var(--font-display); font-weight: 800; font-size: 23px; letter-spacing: -.02em; line-height: 1.05; position: relative; }
.wa-card__body { padding: 11px 13px 12px; }
.wa-card__desc { font-size: 13.5px; color: var(--gray-700); line-height: 1.4; }
.wa-card__desc b { color: var(--naranja); }
.wa-card__link { font-size: 12.5px; color: #1f8fef; margin-top: 7px; display: flex; align-items: center; gap: 5px; }
.wa-card__meta { font-size: 10.5px; color: var(--gray-500); float: right; margin-top: 4px; }

.wa-input { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 8px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--whatsapp-bg); }
.wa-field { flex: 1; background: #fff; border-radius: 999px; padding: 11px 16px; color: var(--gray-500); font-size: 14.5px; box-shadow: var(--sh-sm); }
.wa-mic { width: 44px; height: 44px; border-radius: 50%; background: var(--whatsapp); color: #fff; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }

/* control de demo para avanzar el recorrido */
.demo-next {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 78px; z-index: 70;
  background: var(--carbon); color: #fff; font-size: 13px; font-weight: 700;
  padding: 11px 18px; border-radius: 999px; box-shadow: var(--sh-lg);
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  animation: pulse-hint 2.6s ease-in-out infinite;
}

/* ---------- EXPLORAR (lista / mapa) ---------- */
#screen-explore { background: var(--crema); }
.explore-head { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 2px 16px 12px; }
.explore-head__t { flex: 1; }
.explore-head__t h1 { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; line-height: 1; }
.explore-head__t p { font-size: 12px; color: var(--gray-500); margin-top: 3px; }
.seg-toggle { display: flex; background: var(--gray-100); border-radius: var(--r-pill); padding: 3px; flex: 0 0 auto; }
.seg-toggle button { padding: 8px 13px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 700; color: var(--gray-600); transition: all .18s ease; }
.seg-toggle button.is-active { background: var(--carbon); color: #fff; }

.filters { flex: 0 0 auto; }
.fchips { padding: 2px 16px 12px; }
.fchip { font-size: 13px; padding: 8px 13px; }
.fchip--clear { background: var(--carbon); color: #fff; border-color: var(--carbon); }
.explore-body { flex: 1; position: relative; overflow: hidden; display: flex; }
/* el atributo [hidden] debe ganarle a display:grid/flex */
.explore-list[hidden], .pmap[hidden] { display: none !important; }

/* lista */
/* Robustecer 5: la columna es minmax(0, 1fr) y sin scroll de costado. Con `1fr` la columna crecía hasta el nombre más largo
   (texto en una línea) y la lista se corría de costado en el celular: las tarjetas quedaban cortadas a la derecha. */
.explore-list { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 6px 16px 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-content: start; grid-auto-rows: max-content; }
.explore-list::-webkit-scrollbar { width: 0; }
.cat-card { display: block; align-self: start; text-align: left; background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm); border: 1px solid var(--gray-100); transition: transform .14s ease; }
.cat-card:active { transform: scale(.98); }
.cat-card__media { position: relative; height: 108px; overflow: hidden; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; }
.cat-card__rate { position: absolute; top: 7px; right: 7px; font-size: 10.5px; font-weight: 800; background: rgba(255,255,255,.92); color: var(--carbon); padding: 3px 7px; border-radius: var(--r-pill); }
.cat-card__mine { position: absolute; top: 7px; left: 7px; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .08em; font-weight: 500; background: var(--magenta); color: #fff; padding: 3px 7px; border-radius: var(--r-pill); }
.cat-card__body { padding: 9px 11px 12px; }
.cat-card__name { font-family: var(--font-display); font-weight: 800; font-size: 15.5px; letter-spacing: -.01em; line-height: 1.05; }
.cat-card__meta { font-size: 11px; color: var(--gray-500); margin-top: 3px; }

/* ===== Tarjetas SIN imagen (hasta tener fotos/logos de los comercios) ===== */
.cat-card--noimg { display: flex; gap: 11px; align-items: flex-start; padding: 12px; }
.cat-card--noimg .cat-card__body { padding: 0; flex: 1; min-width: 0; }
.cat-card__emoji, .vcard__emoji, .pin-emoji { flex: 0 0 auto; border-radius: 13px; background: linear-gradient(135deg, #FFE7D6, #FFD9E5); display: flex; align-items: center; justify-content: center; }
.cat-card__emoji { width: 46px; height: 46px; font-size: 22px; }
.cat-card__topr { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.cat-card__rate2 { flex: 0 0 auto; font-weight: 800; font-size: 12.5px; color: #c8930b; }

.vcard--noimg { padding: 14px; }
.vcard--noimg .vcard__top { display: flex; align-items: center; gap: 11px; }
.vcard__emoji { width: 48px; height: 48px; font-size: 25px; }
.vcard__head { flex: 1; min-width: 0; }
.vcard__rate2 { flex: 0 0 auto; font-weight: 800; font-size: 13px; color: var(--carbon); background: var(--crema); border: 1px solid var(--gray-200); border-radius: 999px; padding: 4px 10px; }
.vcard__badges { margin-top: 10px; }
.pin-emoji { width: 54px; height: 54px; font-size: 26px; }
.cat-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.cat-card__price { font-size: 12px; font-weight: 700; color: var(--gray-700); }
.cat-card__type { font-size: 10px; font-weight: 700; color: var(--naranja); background: rgba(255,107,53,.1); padding: 3px 8px; border-radius: var(--r-pill); }

/* mapa */
.pmap { flex: 1; position: relative; overflow: hidden; }

/* ---- mapa REAL: Leaflet + OpenStreetMap ---- */
.lmap { position: absolute; inset: 0; z-index: 1; background: #E6E1D2; }
.lmap[hidden] { display: none !important; }
.pmap__canvas[hidden] { display: none !important; }
/* atribución OSM on-brand */
.leaflet-container { font: inherit; background: #E6E1D2; }
.leaflet-control-attribution { font-size: 9.5px !important; background: rgba(255,255,255,.82) !important; color: var(--gray-600) !important; padding: 1px 6px !important; }
.leaflet-control-attribution a { color: var(--naranja) !important; }
/* controles de zoom on-brand */
.leaflet-bar { border: none !important; box-shadow: var(--sh-md) !important; border-radius: var(--r-md) !important; overflow: hidden; }
.leaflet-bar a { width: 32px !important; height: 32px !important; line-height: 32px !important; color: var(--carbon) !important; font-size: 18px !important; font-weight: 700; }
.leaflet-bar a:hover { background: var(--lino) !important; color: var(--naranja) !important; }
/* marcadores divIcon (reusa el look de los pins del mapa estático) */
.lmap-pin { background: transparent; border: none; }
.lmap-pin .pin-dot {
  position: relative; width: 36px; height: 36px; border-radius: 50%;
  background: var(--carbon); border: 2.5px solid #fff;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 4px 5px rgba(0,0,0,.28));
}
.lmap-pin .pin-dot::after {
  content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent;
  border-top: 9px solid var(--carbon);
}
.lmap-pin .pin-ico { color: #fff; font-size: 14px; font-family: var(--font-display); font-weight: 800; line-height: 1; }
.lmap-pin .pin-ico--emoji { font-size: 17px; font-family: var(--font-body); }
.lmap-pin.is-pick .pin-dot { background: var(--naranja); animation: pinpulse 2s ease-out infinite; }
.lmap-pin.is-pick .pin-dot::after { border-top-color: var(--naranja); }
.lmap-pin.is-mine .pin-dot { background: var(--magenta); }
.lmap-pin.is-mine .pin-dot::after { border-top-color: var(--magenta); }
/* aviso de fallback offline */
.pmap__offline { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 6; display: flex; align-items: center; gap: 6px; background: var(--carbon); color: #fff; font-size: 11px; font-weight: 600; padding: 6px 12px; border-radius: var(--r-pill); box-shadow: var(--sh-md); }
.pmap__offline[hidden] { display: none !important; }
.pmap__offline-dot { width: 7px; height: 7px; border-radius: 50%; background: #FFB020; }

/* mapa estático (fallback offline) */
.pmap__canvas {
  position: absolute; inset: 0; overflow: hidden;
  background-color: #E6E1D2;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.55) 0 2px, transparent 2px 34px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 2px, transparent 2px 34px);
}
.pmap__canvas::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 68% 38%, rgba(255,245,236,.45), transparent 72%);
}
/* río */
.pmap__river { position: absolute; left: -14%; top: -12%; width: 32%; height: 135%; transform: rotate(10deg); background: linear-gradient(90deg, rgba(108,176,206,.5), rgba(108,176,206,.24)); border-radius: 0 60% 55% 0 / 0 42% 38% 0; }
/* avenidas / calles principales */
.pmap__ave { position: absolute; background: rgba(255,255,255,.7); }
.pmap__ave--h { left: 0; right: 0; height: 7px; }
.pmap__ave--v { top: 0; bottom: 0; width: 7px; }
.pmap__ave--diag { width: 7px; height: 170%; top: -35%; background: rgba(255,255,255,.6); transform-origin: center; }
/* plazas / parques */
.pmap__park { position: absolute; background: rgba(126,178,120,.38); border-radius: 45% 55% 50% 50%; box-shadow: inset 0 0 0 2px rgba(126,178,120,.22); }
.pmap__zone { position: absolute; transform: translate(-50%,-50%); z-index: 1; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-600); font-weight: 600; pointer-events: none; white-space: nowrap; background: rgba(255,245,236,.7); padding: 2px 6px; border-radius: 4px; }

.pmap__pin { position: absolute; transform: translate(-50%,-100%); cursor: pointer; z-index: 2; filter: drop-shadow(0 4px 5px rgba(0,0,0,.28)); }
.pmap__pin.is-active { z-index: 4; }
.pmap__pin .pin-dot {
  position: relative; width: 36px; height: 36px; border-radius: 50%;
  background: var(--carbon); border: 2.5px solid #fff;
  display: flex; align-items: center; justify-content: center; transition: transform .15s ease;
}
.pmap__pin .pin-dot::after {
  content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent;
  border-top: 9px solid var(--carbon);
}
.pmap__pin .pin-ico { color: #fff; font-size: 14px; font-family: var(--font-display); font-weight: 800; line-height: 1; }
.pmap__pin .pin-ico--emoji { font-size: 17px; font-family: var(--font-body); }
.pmap__pin.is-pick .pin-dot { background: var(--naranja); animation: pinpulse 2s ease-out infinite; }
.pmap__pin.is-pick .pin-dot::after { border-top-color: var(--naranja); }
.pmap__pin.is-mine .pin-dot { background: var(--magenta); }
.pmap__pin.is-mine .pin-dot::after { border-top-color: var(--magenta); }
.pmap__pin.is-active .pin-dot { transform: scale(1.18); }
@keyframes pinpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,53,.5); } 70% { box-shadow: 0 0 0 11px rgba(255,107,53,0); } }

.pmap__sheet { position: absolute; left: 12px; right: 12px; bottom: 26px; z-index: 5; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 11px; display: flex; align-items: center; gap: 12px; animation: sheet-up .3s cubic-bezier(.2,1,.4,1); }
@keyframes sheet-up { from { opacity: 0; transform: translateY(16px); } }
.pmap__sheet img { width: 64px; height: 64px; border-radius: var(--r-md); object-fit: cover; flex: 0 0 auto; }
.pmap__sheet .ps-body { flex: 1; min-width: 0; }
.pmap__sheet .ps-name { font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: -.01em; }
.pmap__sheet .ps-meta { font-size: 11.5px; color: var(--gray-500); margin-top: 1px; }
.pmap__sheet .ps-go { flex: 0 0 auto; background: var(--naranja); color: #fff; font-weight: 700; font-size: 13px; padding: 10px 16px; border-radius: var(--r-pill); }

/* botón "ver más opciones" en el chat de Nia */
.more-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: var(--dark-surface-2); color: var(--crema); border: 1px solid var(--dark-line); border-radius: var(--r-pill); padding: 13px; font-weight: 700; font-size: 14px; margin: 2px 0 10px; }
.more-btn .mb-count { color: var(--naranja); }

/* ---------- TEASER COMERCIO ---------- */
#screen-merchant { background: var(--lino); }
.mc-header { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 4px 18px 14px; border-bottom: 1px solid var(--gray-200); background: #fff; }
.mc-logo { width: 42px; height: 42px; border-radius: var(--r-md); background: var(--carbon); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 15px; flex: 0 0 auto; }
.mc-id { flex: 1; }
.mc-name { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.mc-role { font-size: 12px; color: var(--gray-500); }
.mc-badge { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; font-weight: 500; color: var(--magenta); background: rgba(255,61,127,.1); padding: 5px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.mc-badge::before { content:''; width:6px; height:6px; border-radius:50%; background: var(--magenta); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* KPIs del día */
.mc-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 4px 0 22px; }
.mc-kpi { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--r-md); padding: 13px 8px; text-align: center; }
.mc-kpi__n { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -.03em; color: var(--carbon); }
.mc-kpi__l { font-size: 10.5px; color: var(--gray-500); margin-top: 2px; }

/* feed de reservas */
#mc-feed { display: flex; flex-direction: column; gap: 12px; }
.mc-res { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-md); padding: 16px; border: 1.5px solid rgba(255,107,53,.3); animation: pop-in .5s cubic-bezier(.2,1.1,.4,1); }
.mc-res.is-event { border-color: rgba(255,61,127,.4); }
@keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.mc-res__top { display: flex; align-items: center; gap: 12px; }
.mc-res__who { flex: 1; }
.mc-res__name { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.mc-res__meta { font-size: 12.5px; color: var(--gray-500); margin-top: 1px; }
.mc-via { font-size: 11px; color: var(--gray-500); display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.mc-evtag { font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; background: var(--magenta); color: #fff; padding: 4px 9px; border-radius: var(--r-pill); flex: 0 0 auto; }

/* Nia for Business · chat con cliente */
.mc-botchat { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--r-lg); padding: 14px; box-shadow: var(--sh-sm); display: flex; flex-direction: column; gap: 9px; }
.bz-head { display: flex; align-items: center; gap: 9px; padding-bottom: 11px; border-bottom: 1px dashed var(--gray-200); margin-bottom: 3px; }
.bz-head .ava--sm { width: 30px; height: 30px; font-size: 12px; }
.bz-head .bz-who { font-weight: 700; font-size: 13.5px; }
.bz-head .bz-ch { font-size: 11px; color: var(--verde); font-weight: 600; }
.bz-msg { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.4; opacity: 0; transform: translateY(6px); animation: clog-in .4s ease forwards; }
.bz-msg.cli { align-self: flex-start; background: var(--gray-100); color: var(--gray-700); border-bottom-left-radius: 4px; }
.bz-msg.nia { align-self: flex-end; background: var(--grad-calido); color: #fff; border-bottom-right-radius: 4px; }
.bz-msg.nia b { color: var(--amarillo); }

/* insights */
.mc-insights { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--sh-sm); }
.mc-ins-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.mc-ins { text-align: center; }
.mc-ins__n { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; color: var(--naranja); }
.mc-ins__l { font-size: 10.5px; color: var(--gray-500); margin-top: 1px; }
.mc-bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; margin-top: 16px; }
.mc-bars span { flex: 1; background: var(--gray-200); border-radius: 4px 4px 0 0; min-height: 6px; transition: height .6s ease; }
.mc-bars span.hot { background: var(--grad-marca); }
.mc-bars__cap { font-size: 11px; color: var(--gray-500); margin-top: 10px; text-align: center; }

.mc-bot { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--gray-200); display: flex; flex-direction: column; gap: 9px; }
.mc-line { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; line-height: 1.4; opacity: 0; transform: translateY(6px); animation: clog-in .4s ease forwards; }
.mc-line__ico { width: 26px; height: 26px; border-radius: 50%; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.mc-line__ico.nia { background: var(--grad-marca); color: #fff; font-family: var(--font-display); font-weight: 800; }
.mc-line__ico.shop { background: var(--carbon); color: #fff; }
.mc-line__bubble { background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: 12px; padding: 9px 12px; color: var(--gray-700); }
.mc-line.ok .mc-line__bubble { background: var(--verde-bg); border-color: transparent; color: #15533a; font-weight: 600; }

.mc-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.mc-stat { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--r-md); padding: 14px 8px; text-align: center; }
.mc-stat__n { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.03em; color: var(--naranja); }
.mc-stat__l { font-size: 10.5px; color: var(--gray-500); margin-top: 2px; line-height: 1.25; }

.mc-teaser { margin-top: 20px; background: var(--carbon); color: var(--crema); border-radius: var(--r-lg); padding: 18px 18px 20px; position: relative; overflow: hidden; }
.mc-teaser::after { content:''; position:absolute; bottom:-40%; right:-10%; width:200px; height:200px; background: radial-gradient(circle, rgba(255,107,53,.25), transparent 65%); }
.mc-teaser__t { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; margin-bottom: 8px; position: relative; }
.mc-teaser__t b { color: var(--naranja); }
.mc-teaser__s { font-size: 13.5px; line-height: 1.5; color: rgba(255,245,236,.82); position: relative; }
.mc-teaser__s i { color: var(--amarillo); font-style: italic; font-weight: 600; }

/* badge "Destacado" (anuncio) */
.vcard__ad { background: var(--amarillo) !important; color: var(--carbon) !important; }
.cat-card__ad { background: var(--amarillo) !important; color: var(--carbon) !important; }

/* Destacá tu local */
.mc-promo { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--r-lg); box-shadow: var(--sh-sm); padding: 16px; }
.mc-promo__top { display: flex; gap: 12px; align-items: flex-start; }
.mc-promo__ico { font-size: 22px; flex: 0 0 auto; }
.mc-promo__t { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.mc-promo__s { font-size: 13px; color: var(--gray-600); line-height: 1.4; margin-top: 2px; }
.mc-promo__s b { color: var(--naranja); }
.mc-promo__demo { display: flex; align-items: center; gap: 10px; margin: 13px 0; padding: 11px 13px; background: var(--gray-50); border: 1px dashed var(--gray-200); border-radius: var(--r-md); }
.mc-promo__pin { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; font-weight: 500; background: var(--amarillo); color: var(--carbon); padding: 5px 10px; border-radius: var(--r-pill); flex: 0 0 auto; }
.mc-promo__demo-txt { font-size: 12px; color: var(--gray-500); }

/* Plany Pro */
.mc-pro { background: var(--carbon); color: var(--crema); border-radius: var(--r-lg); padding: 18px; margin-top: 12px; position: relative; overflow: hidden; }
.mc-pro::after { content: ''; position: absolute; top: -40%; right: -10%; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255,210,63,.18), transparent 65%); pointer-events: none; }
.mc-pro__head { position: relative; margin-bottom: 14px; }
.mc-pro__badge { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; font-weight: 500; background: var(--amarillo); color: var(--carbon); padding: 4px 10px; border-radius: var(--r-pill); }
.mc-pro__t { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -.02em; margin-top: 10px; }
.mc-pro__cols { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; margin-bottom: 14px; position: relative; }
.mc-pro__col { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-md); padding: 13px; }
.mc-pro__col.is-pro { background: rgba(255,210,63,.1); border-color: rgba(255,210,63,.4); }
.mc-pro__ch { font-family: var(--font-display); font-weight: 800; font-size: 14px; margin-bottom: 9px; color: var(--dark-muted); }
.mc-pro__col.is-pro .mc-pro__ch { color: var(--amarillo); }
.mc-pro__col.is-pro .mc-pro__ch span { color: var(--amarillo); }
.mc-pro__list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.mc-pro__list li { font-size: 12px; line-height: 1.35; color: rgba(255,245,236,.82); padding-left: 16px; position: relative; }
.mc-pro__list li::before { content: '✓'; position: absolute; left: 0; color: #4cc78c; font-weight: 700; }
.mc-pro__col.is-pro .mc-pro__list li::before { color: var(--amarillo); }

.mc-close { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 4px 0 14px; }
.mc-close__tag { font-size: 13px; color: var(--gray-600); }
.mc-close__tag strong { color: var(--carbon); font-weight: 700; }

/* ---------- PASAPORTE (perfil · quiero ir / estuve) ---------- */
#screen-profile { background: var(--lino); }
.pf-header { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 4px 16px 14px; background: #fff; border-bottom: 1px solid var(--gray-200); }
.pf-header__t h1 { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.pf-header__t p { font-size: 12px; color: var(--gray-500); }

.pf-hero { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.pf-ava { width: 56px; height: 56px; border-radius: 50%; background: var(--grad-calido); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 24px; flex: 0 0 auto; box-shadow: var(--sh-md); }
.pf-hero__name { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.pf-hero__sub { font-size: 12.5px; color: var(--gray-500); margin-top: 2px; }

.pf-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 16px 0 4px; }
.pf-stat { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-md); padding: 12px 6px; text-align: center; }
.pf-stat__n { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--carbon); letter-spacing: -.02em; }
.pf-stat__l { font-size: 10.5px; color: var(--gray-500); margin-top: 1px; }

.pf-tabs { display: flex; gap: 6px; background: var(--gray-100); border-radius: var(--r-pill); padding: 4px; margin: 16px 0 14px; }
.pf-tabs button { flex: 1; padding: 9px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; color: var(--gray-600); transition: all .18s ease; }
.pf-tabs button.is-active { background: var(--carbon); color: #fff; }

.pf-list { display: flex; flex-direction: column; gap: 10px; }
.pp-card { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-lg); padding: 10px; box-shadow: var(--sh-sm); transition: transform .15s ease; }
.pp-card:active { transform: scale(.985); }
.pp-card.is-ver { border-color: rgba(34,160,107,.4); }
.pp-card img { width: 60px; height: 60px; border-radius: var(--r-md); object-fit: cover; flex: 0 0 auto; }
.pp-body { flex: 1; min-width: 0; }
.pp-name { font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: -.01em; display: flex; align-items: center; gap: 6px; }
.pp-lomy { font-family: var(--font-display); font-size: 9px; font-weight: 800; letter-spacing: .08em; color: #fff; background: var(--magenta); padding: 2px 6px; border-radius: var(--r-pill); }
.pp-meta { font-size: 11.5px; color: var(--gray-500); margin: 1px 0 6px; }
.pp-chip { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: var(--r-pill); }
.pp-chip--want { color: var(--magenta-deep); background: rgba(255,61,127,.1); }
.pp-chip--ver { color: var(--verde); background: var(--verde-bg); }
.pp-chip--man { color: var(--gray-600); background: var(--gray-100); }
.pp-perk { font-size: 11.5px; color: var(--naranja-700); font-weight: 600; margin-top: 5px; }
.pp-go { flex: 0 0 auto; color: var(--gray-300); font-size: 20px; font-weight: 700; padding-right: 4px; }
.pf-empty { text-align: center; color: var(--gray-500); font-size: 13px; padding: 30px 0; }
.pf-foot { font-size: 11.5px; color: var(--gray-500); text-align: center; line-height: 1.5; margin: 18px 6px 8px; }

/* ---------- PERK LOMY (detalle + confirmado · Feature 2) ---------- */
.lomy-perk { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 13px 14px; border-radius: var(--r-lg); background: linear-gradient(135deg, rgba(255,61,127,.09), rgba(255,107,53,.09)); border: 1px solid rgba(255,61,127,.28); }
.lomy-perk[hidden] { display: none !important; }
.lp-ico { font-size: 22px; line-height: 1; flex: 0 0 auto; margin-top: 1px; }
.lp-t { font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: -.01em; color: var(--carbon); }
.lp-plany { color: var(--naranja); }
.lp-s { font-size: 12.5px; color: var(--gray-600); margin-top: 3px; line-height: 1.45; }
.lp-s b { color: var(--magenta-deep); }

.cf-perk { margin-top: 14px; background: var(--verde-bg); border: 1px solid rgba(34,160,107,.3); border-radius: var(--r-lg); padding: 12px 14px; display: flex; flex-direction: column; gap: 9px; text-align: left; }
.cf-perk[hidden] { display: none !important; }
.cfp-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--gray-700); }
.cfp-ico { width: 22px; height: 22px; border-radius: 50%; background: var(--verde); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex: 0 0 auto; }
.cfp-ico--gift { background: var(--naranja); }
.cfp-ico--heart { background: var(--magenta); }

/* ---------- REGRESO · Nia por WhatsApp (Feature 3) ---------- */
/* banner en el pasaporte */
.pf-return { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; margin: 16px 0 2px; padding: 12px 14px; border-radius: var(--r-lg); background: linear-gradient(135deg, rgba(37,211,102,.14), rgba(34,160,107,.08)); border: 1px solid rgba(34,160,107,.35); transition: transform .15s ease; }
.pf-return:active { transform: scale(.985); }
.pf-return__t { flex: 1; min-width: 0; }
.pf-return__a { font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: -.01em; }
.pf-return__wa { color: var(--verde); }
.pf-return__s { font-size: 12px; color: var(--gray-600); margin-top: 1px; }
.pf-return__badge { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: #25D366; color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(37,211,102,.5); }

/* avatar de Nia en el header de WhatsApp */
.wa-nia { width: 40px; height: 40px; font-size: 17px; }

/* dock inferior de la pantalla de regreso */
.return-dock { flex: 0 0 auto; background: #fff; border-top: 1px solid var(--gray-200); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
.return-note { font-size: 11.5px; color: var(--gray-600); line-height: 1.5; margin-bottom: 10px; text-align: center; }
.return-note b { color: var(--carbon); }

/* ---------- DOS CARAS + VISTA INVITADO (Feature 4) ---------- */
/* bloque "organizadora vs invitada" dentro del chat de WhatsApp */
.wa-sys { align-self: center; max-width: 92%; text-align: center; background: rgba(255,255,255,.96); border-radius: 12px; padding: 12px 14px; margin: 8px auto 14px; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.wa-sys__t { font-size: 12.5px; color: var(--gray-600); margin-bottom: 10px; line-height: 1.4; }
.wa-sys__btn { background: var(--carbon); color: #fff; font-size: 13px; font-weight: 700; padding: 11px 14px; border-radius: var(--r-pill); width: 100%; }

/* pantalla del invitado: navegador faux */
#screen-guest { background: var(--lino); }
.gx-browser { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border-bottom: 1px solid var(--gray-200); }
.gx-x { font-size: 16px; color: var(--gray-600); width: 26px; text-align: left; }
.gx-url { flex: 1; display: flex; align-items: center; gap: 6px; background: var(--gray-100); border-radius: var(--r-pill); padding: 7px 12px; font-size: 12px; color: var(--gray-600); font-family: var(--font-mono); white-space: nowrap; overflow: hidden; }
.gx-lock { font-size: 10px; }
.gx-menu { color: var(--gray-500); font-size: 18px; }
.gx-banner { background: var(--carbon); color: #fff; font-size: 11.5px; text-align: center; padding: 8px 10px; }
.gx-hero { position: relative; height: 180px; overflow: hidden; }
.gx-hero img { width: 100%; height: 100%; object-fit: cover; }
.gx-hero__ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,26,46,.5), transparent 55%); }
.gx-hero__tag { position: absolute; left: 14px; bottom: 12px; background: var(--grad-marca); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: var(--r-pill); }
.gx-invite { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-600); margin-top: 16px; }
.gx-host-av { width: 26px; height: 26px; border-radius: 50%; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 12px; flex: 0 0 auto; }
.gx-title { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; margin-top: 8px; }
.gx-when { font-size: 13.5px; color: var(--gray-600); margin-top: 3px; }
.gx-going { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.gx-going__l { font-size: 12px; color: var(--gray-500); }
.gx-avs { display: flex; }
.gx-av { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--lino); margin-left: -8px; color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 12px; }
.gx-av:first-child { margin-left: 0; }
.gx-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-lg); padding: 2px 14px; margin-top: 18px; }
.gxc-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--gray-100); font-size: 13px; }
.gxc-row:last-child { border-bottom: none; }
.gxc-k { color: var(--gray-500); }
.gxc-v { font-weight: 700; color: var(--carbon); }
.gx-note { font-size: 11.5px; color: var(--gray-500); line-height: 1.5; margin: 18px 4px 8px; text-align: center; }
.gx-note b { color: var(--carbon); }
#gx-cta.is-done { background: var(--verde) !important; background-image: none !important; box-shadow: none; }

/* ---------- NIA · parámetros de decisión + recomendación (Stage 1) ---------- */
.nia-params { background: var(--dark-surface-2); border: 1px solid var(--dark-line); border-radius: var(--r-lg); padding: 14px; margin: 4px 0 10px; }
.np-group { margin-bottom: 12px; }
.np-label { font-size: 12px; color: var(--dark-muted); font-weight: 600; margin-bottom: 7px; }
.np-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.np-chip { background: var(--dark-surface); color: var(--dark-text); border: 1px solid var(--dark-line); border-radius: var(--r-pill); padding: 8px 13px; font-size: 13px; font-weight: 600; transition: all .15s ease; }
.np-chip.is-active { background: var(--crema); color: var(--carbon); border-color: var(--crema); }
.np-chip:active { transform: scale(.96); }
.np-go { width: 100%; margin-top: 4px; background: var(--grad-marca); color: #fff; font-weight: 800; font-size: 15px; padding: 13px; border-radius: var(--r-pill); box-shadow: var(--sh-cta); }
/* panel de parámetros en CLARO (discovery unificado con el chat) */
.theme-light .nia-params { background: #fff; border-color: var(--gray-200); }
.theme-light .np-label { color: var(--gray-500); }
.theme-light .np-chip { background: var(--crema); color: var(--carbon); border-color: var(--gray-200); }
.theme-light .np-chip.is-active { background: var(--carbon); color: #fff; border-color: var(--carbon); }
.np-optional { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gray-500); margin: 0 0 10px; }
.np-optional span { font-weight: 600; text-transform: none; opacity: .75; }

/* LIVE magic-first: el panel RECEDE — link discreto "Afiná si querés" + chips compactos al expandir */
.nia-params--collapsible { background: transparent !important; border: none !important; border-radius: 0 !important; padding: 0 !important; margin: 2px 0 6px !important; box-shadow: none !important; }
.np-toggle { background: none; border: none; color: var(--gray-500); font-size: 13px; font-weight: 600; cursor: pointer; padding: 6px 2px; display: inline-flex; align-items: center; gap: 5px; }
.np-toggle:hover { color: var(--carbon); }
.np-caret { font-size: 10px; opacity: .65; }
.np-wrap { margin-top: 6px; padding: 11px 12px; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-lg); }
.np-wrap[hidden] { display: none; }
/* chips compactos (ni expandido es un cartelón) */
.np-wrap .np-group { margin-bottom: 8px; }
.np-wrap .np-group:last-child { margin-bottom: 0; }
.np-wrap .np-label { font-size: 11px; margin-bottom: 5px; }
.np-wrap .np-chip { padding: 6px 11px; font-size: 12.5px; }

.rec-pick { display: block; width: 100%; text-align: left; background: var(--dark-surface); border: 1px solid var(--naranja); border-radius: var(--r-lg); overflow: hidden; margin: 4px 0 8px; box-shadow: 0 10px 26px -10px rgba(255,107,53,.4); }
.rec-pick:active { transform: scale(.99); }
.rec-pick__media { position: relative; height: 132px; }
.rec-pick__media img { width: 100%; height: 100%; object-fit: cover; }
.rec-pick__tag { position: absolute; left: 10px; top: 10px; background: var(--grad-marca); color: #fff; font-size: 11px; font-weight: 800; padding: 5px 11px; border-radius: var(--r-pill); }
.rec-pick__body { padding: 12px 14px 14px; }
.rec-pick__name { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--dark-text); letter-spacing: -.01em; }
.rec-pick__meta { font-size: 12px; color: var(--dark-muted); margin-top: 2px; }
.rec-pick__params { font-size: 11.5px; color: var(--naranja); margin-top: 8px; }
.rec-pick__cta { display: inline-block; margin-top: 10px; color: var(--crema); font-weight: 700; font-size: 14px; }
.rec-alt-label { font-size: 12.5px; color: var(--dark-muted); margin: 6px 2px 2px; }
.rec-factors { display: inline-block; margin-top: 5px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em; color: var(--dark-muted); opacity: .85; }

/* ---------- MENÚ (núcleo curado · detalle) ---------- */
.menu-block[hidden] { display: none !important; }
.menu-badge { font-size: 10px; font-weight: 700; color: var(--verde); background: var(--verde-bg); padding: 2px 8px; border-radius: var(--r-pill); margin-left: 6px; vertical-align: middle; }
.menu-list { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-lg); padding: 2px 14px; margin-top: 4px; }
.menu-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--gray-100); }
.menu-row:last-child { border-bottom: none; }
.menu-n { font-size: 13.5px; color: var(--gray-700); }
.menu-d { display: block; font-size: 11.5px; color: var(--gray-500); margin-top: 2px; }   /* nota del plato (0064): "para 2 personas", "6 unidades" */
.menu-p { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--carbon); white-space: nowrap; }
/* tamaños del mismo plato en una línea que se abre (js/carta.js) */
.menu-grp > summary { list-style: none; cursor: pointer; }
.menu-grp > summary::-webkit-details-marker { display: none; }
.menu-chev { display: inline-block; margin-left: 6px; font-size: 11px; color: var(--gray-500); transition: transform .15s; }
.menu-grp[open] .menu-chev { transform: rotate(180deg); }
.menu-list > .menu-grp:last-child:not([open]) > summary { border-bottom: none; }
.menu-tams { padding: 0 0 0 12px; border-bottom: 1px solid var(--gray-100); }
.menu-list > .menu-grp:last-child .menu-tams { border-bottom: none; }
.menu-tam { padding: 8px 0; }
.menu-tam .menu-n, .menu-tam .menu-p { font-size: 12.5px; color: var(--gray-500); }
.menu-foot { font-size: 11px; color: var(--gray-500); margin: 8px 2px 0; }

/* ---------- EXPLORAR · cola larga + crecimiento ---------- */
.loading-more { color: var(--naranja); }
.list-sep { grid-column: 1 / -1; font-size: 12px; font-weight: 700; color: var(--gray-600); margin: 6px 2px 2px; }
.list-sep--muted { color: var(--gray-500); font-weight: 600; margin-top: 16px; }
.long-row { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-md); padding: 12px 14px; text-align: left; }
.long-row:active { transform: scale(.99); }
.long-row__name { font-weight: 700; font-size: 14px; color: var(--carbon); flex: 0 0 auto; }
.long-row__meta { flex: 1; font-size: 12px; color: var(--gray-500); }
.long-row__go { color: var(--gray-300); font-size: 18px; font-weight: 700; }
.long-loading { grid-column: 1 / -1; display: flex; align-items: center; gap: 5px; justify-content: center; font-size: 11.5px; color: var(--gray-500); padding: 14px 0 4px; }
.ll-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--naranja); animation: ll-pulse 1.2s ease-in-out infinite; }
.ll-dot:nth-child(2) { animation-delay: .2s; }
.ll-dot:nth-child(3) { animation-delay: .4s; }
@keyframes ll-pulse { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

/* ---------- CONCRETAR · mensaje al local por WhatsApp ---------- */
#screen-concretar { background: var(--lino); }
.cc-header { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 4px 16px 14px; background: #fff; border-bottom: 1px solid var(--gray-200); }
.cc-header__t h1 { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.cc-header__t p { font-size: 12px; color: var(--gray-500); }
.cc-plan { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-lg); padding: 10px; margin-top: 14px; box-shadow: var(--sh-sm); }
.cc-plan img { width: 58px; height: 58px; border-radius: var(--r-md); object-fit: cover; flex: 0 0 auto; }
.cc-plan__name { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.cc-plan__meta { font-size: 12px; color: var(--gray-500); margin-top: 2px; }
.cc-eyebrow { font-size: 12px; font-weight: 700; color: var(--gray-600); margin: 20px 2px 8px; }
.cc-preview { background: var(--whatsapp-bg); border-radius: var(--r-lg); padding: 14px; display: flex; justify-content: flex-end; }
.cc-bubble { max-width: 90%; background: var(--whatsapp-bubble); border-radius: 12px; border-top-right-radius: 2px; padding: 9px 12px 7px; font-size: 14px; line-height: 1.45; color: #111; box-shadow: 0 1px 1px rgba(0,0,0,.1); }
.cc-bubble__t { display: block; text-align: right; font-size: 10.5px; color: #5b8a6a; margin-top: 4px; }
.btn--wa { display: flex; align-items: center; justify-content: center; background: #25D366; color: #fff; font-weight: 800; margin-top: 16px; box-shadow: 0 10px 24px -8px rgba(37,211,102,.6); }
.cc-note { font-size: 11.5px; color: var(--gray-500); line-height: 1.5; margin: 12px 4px 0; text-align: center; }
.cc-note b { color: var(--carbon); }
.cc-sent { display: block; width: 100%; text-align: center; color: var(--gray-500); font-size: 13px; font-weight: 600; padding: 16px 0 8px; text-decoration: underline; }

/* ---------- Guiño de reclamación self-serve + opt-out (detalle) ---------- */
.venue-foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--gray-200); display: flex; flex-direction: column; gap: 12px; align-items: center; }
.vf-claim { width: 100%; background: var(--gray-50); border: 1px dashed var(--gray-300); border-radius: var(--r-md); padding: 12px; font-size: 13px; color: var(--gray-700); }
.vf-claim b { color: var(--naranja-700); }
.vf-report { font-size: 11.5px; color: var(--gray-500); text-decoration: underline; }

/* ---------- PANEL DEBUG · instrumentación del GO (Sección 5) ---------- */
.dbg-toggle { position: absolute; left: 10px; bottom: 88px; z-index: 60; width: 38px; height: 38px; border-radius: 50%; background: rgba(26,26,46,.85); color: #fff; font-size: 16px; display: flex; align-items: center; justify-content: center; opacity: .42; box-shadow: var(--sh-md); transition: opacity .2s ease; }
.dbg-toggle:hover, .dbg-toggle:active { opacity: 1; }
.dbg { position: absolute; inset: 10px; z-index: 70; background: #14141e; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); color: var(--crema); overflow-y: auto; font-family: var(--font-body); }
.dbg[hidden] { display: none !important; }
.dbg::-webkit-scrollbar { width: 0; }
.dbg__head { position: sticky; top: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 14px; background: rgba(18,18,28,.96); border-bottom: 1px solid rgba(255,255,255,.08); }
.dbg__title { font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.dbg__sub { font-size: 11px; color: var(--dark-muted); margin-top: 1px; }
.dbg__demo { display: inline-block; margin-top: 7px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--amarillo); background: rgba(255,210,63,.12); border: 1px solid rgba(255,210,63,.3); padding: 2px 8px; border-radius: var(--r-pill); }
.dbg__x { color: var(--dark-muted); font-size: 16px; width: 26px; height: 26px; flex: 0 0 auto; }
.dbg__metrics { padding: 14px; }
.dbg-hero { background: linear-gradient(135deg, rgba(255,107,53,.22), rgba(233,30,99,.24)); border: 1px solid rgba(255,61,127,.45); border-radius: var(--r-md); padding: 12px 14px; }
.dbg-hero__k { font-size: 11px; color: var(--crema); opacity: .9; display: flex; align-items: center; gap: 7px; }
.dbg-hero__v { font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 1; margin: 5px 0; }
.dbg-hero__s { font-size: 10.5px; color: var(--dark-muted); line-height: 1.45; }
.dbg-tag { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--amarillo); border: 1px solid rgba(255,210,63,.4); border-radius: var(--r-pill); padding: 1px 6px; }
.dbg__group-t { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dark-muted); margin: 14px 0 7px; }
.dbg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dbg-metric { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: var(--r-sm); padding: 9px 10px; }
.dbg-metric__k { font-size: 10px; color: var(--dark-muted); line-height: 1.3; }
.dbg-metric__v { font-family: var(--font-display); font-weight: 800; font-size: 19px; margin-top: 3px; }
.dbg-metric__t { font-size: 9.5px; margin-top: 2px; color: var(--dark-muted); }
.dbg-metric.is-go { border-color: rgba(34,160,107,.5); }
.dbg-metric.is-go .dbg-metric__t { color: #3ddc97; }
.dbg-metric.is-warn { border-color: rgba(255,210,63,.5); }
.dbg-metric.is-warn .dbg-metric__t { color: var(--amarillo); }
.dbg-metric--assume { border-style: dashed; border-color: rgba(255,255,255,.18); margin-top: 2px; }
.dbg-spend { display: flex; align-items: center; gap: 8px; margin-top: 9px; }
.dbg-spend label { font-size: 10.5px; color: var(--dark-muted); }
.dbg-spend input { width: 92px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; border-radius: var(--r-sm); padding: 6px 8px; font-family: var(--font-mono); font-size: 12px; }
.dbg__split { display: flex; gap: 8px; margin-top: 14px; }
.dbg__split div { flex: 1; background: rgba(255,255,255,.04); border-radius: var(--r-sm); padding: 8px 10px; font-size: 10px; color: var(--dark-muted); }
.dbg__split b { font-family: var(--font-display); font-size: 16px; color: var(--crema); display: block; margin-bottom: 1px; }
.dbg__feedhead { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dark-muted); margin: 16px 0 7px; }
.dbg__feedhead span { color: var(--naranja); }
.dbg__feed { display: flex; flex-direction: column; gap: 4px; }
.dbg-evt { font-family: var(--font-mono); font-size: 10px; color: var(--crema); background: rgba(255,255,255,.04); border-radius: 6px; padding: 5px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dbg-evt b { color: var(--naranja); }
.dbg__note { font-size: 10px; color: var(--dark-muted); line-height: 1.5; margin-top: 14px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.08); }

/* ---------- MVP Fase 1: footer legal + gate de pantallas de visión ---------- */
.splash__legal { font-size: 11px; color: var(--gray-500); text-align: center; }
.splash__legal a { color: var(--gray-500); text-decoration: underline; }
/* en modo live se ocultan las pantallas/entradas de visión (portal B2B, Pro, Nia for Business) */
.mode-live .vision-only { display: none !important; }
/* el panel de métricas del GO (📊) es INTERNO/pitch: oculto para usuarios reales en live */
.mode-live .dbg-toggle, .mode-live .dbg { display: none !important; }
/* contenido demo/guionado (cards fake del home): en live se oculta hasta cablear data real (mejor vacío honesto que fake) */
.mode-live .demo-only { display: none !important; }
/* contenido REAL del home: solo en live (en demo manda el guion) */
.live-only { display: none; }
.mode-live .live-only { display: block; }

/* Home · entrada al catálogo (lista/mapa) — el mapa vive dentro de Descubrir, no en una tab */
.home-explore { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #fff; border: 1px solid var(--gray-200); border-radius: 14px; padding: 14px 16px; cursor: pointer;
  box-shadow: 0 2px 10px rgba(26,26,46,.06); }
.home-explore__t { font-weight: 700; color: var(--carbon); }
.home-explore__cta { font-size: 13px; font-weight: 800; color: var(--magenta, #E91E63); white-space: nowrap; }

/* Perfil (cuenta) · menú de accesos */
.ac-menu { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.ac-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  background: #fff; border: 1px solid var(--gray-200); border-radius: 14px; padding: 15px 16px; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--carbon); text-align: left; text-decoration: none;
  box-shadow: 0 2px 10px rgba(26,26,46,.05); }
.ac-row__cta { font-size: 13px; font-weight: 700; color: var(--gray-500); white-space: nowrap; }
.ac-row--muted { cursor: default; box-shadow: none; opacity: .75; }

/* TARJETA DE LUGAR ÚNICA (.pcard) — lista · sheet del mapa · chat de Nia */
.pcard { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; cursor: pointer;
  background: #fff; border: 1px solid var(--gray-200); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(26,26,46,.06); }
.pcard--pick { border-color: #ffd0bb; background: linear-gradient(180deg,#fff,#fff7f1); }
.pcard__emoji { width: 46px; height: 46px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  font-size: 24px; border-radius: 12px; background: linear-gradient(135deg,#FFE7D6,#FFD9E5); }
.pcard__emoji--photo { background-size: cover; background-position: center; background-repeat: no-repeat; }
.pcard__emoji--icon { background: var(--lino); color: var(--gray-700); border: 1px solid var(--gray-200); }
.pcard__body { flex: 1; min-width: 0; }
.pcard, .pcard__l1, .pcard__name { min-width: 0; }   /* Robustecer 5: un nombre largo se corta con … y no ensancha la tarjeta */
.pcard__l1 { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pcard__name { font-weight: 800; color: var(--carbon); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard__ico { display: inline-flex; vertical-align: -2px; margin-right: 5px; color: var(--gray-500); }
/* Robustecer 5: el estado ("a 2,4 km · ~12 min en auto") va en su renglón, debajo de la categoría, y no empuja el nombre */
.pcard__status { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #1f8a4c; margin: -2px 0 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard__status .lico { flex: 0 0 auto; }
.pcard__l2 { font-size: 12.5px; color: var(--gray-500); margin: 2px 0 6px; }
.pcard__pick { color: #E0701F; font-weight: 800; }
.pcard__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard__cta { flex: 0 0 auto; align-self: center; color: var(--magenta, #E91E63); font-weight: 800; font-size: 18px; }
/* sheet del mapa contiene la misma tarjeta, sin doble borde */
#pmap-sheet .pcard { margin: 0; box-shadow: none; border: none; }

/* Planes · badge de ciclo de vida (en_proceso → confirmado → hoy → pasó) */
.pl-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 2px; }
.pl-st { display: inline-flex; align-items: center; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 3px 9px; line-height: 1; }
.pl-st--wip   { background: #f0eef6; color: #6b6b7b; }
.pl-st--ok    { background: #e6f6ec; color: #1f8a4c; }
.pl-st--live  { background: #fdecef; color: #E91E63; }
.pl-st--past  { background: #efe9ff; color: #6a3fd0; }
.pl-st--spont { background: #fff0e6; color: #E0701F; }

/* Chat · botón de media (scaffold) */
.ch-media-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #eadfd5; background: #fff;
  font-size: 18px; cursor: pointer; flex: 0 0 auto; line-height: 1; }

/* Chat · afterglow (plan que ya pasó: seguir hablando + sello "estuve") */
.afterglow { background: linear-gradient(135deg,#f6efff,#fdecef); border: 1px solid #e6dcff; border-radius: 14px;
  padding: 12px 14px; margin: 0 0 12px; }
.afterglow .ag-t { font-weight: 800; color: #1A1A2E; font-size: 14px; }
.afterglow .ag-s { font-size: 12.5px; color: #6b6b7b; margin: 3px 0 10px; line-height: 1.4; }
.afterglow .ag-row { display: flex; gap: 8px; }
.afterglow .ag-btn { flex: 1; border: 1px solid #d6c7f5; background: #fff; color: #6a3fd0; font-weight: 800;
  font-size: 13px; border-radius: 10px; padding: 9px; cursor: pointer; }
.afterglow .ag-btn--ok { border-color: #bfe6cc; color: #1f8a4c; }

/* Chat · banner de plan efímero (la charla/fotos desaparecen; el hecho del plan queda) */
.eph-banner { background: #efe9ff; border: 1px solid #e0d4ff; color: #5b3fb0; border-radius: 10px;
  padding: 9px 12px; font-size: 12px; line-height: 1.4; margin-bottom: 12px; }

/* ---------- Modal de consentimiento + login (live) ---------- */
.consent { position: absolute; inset: 0; z-index: 90; display: none; align-items: flex-end; justify-content: center; background: rgba(20,20,30,.55); }
.consent.show { display: flex; }
.consent__card { width: 100%; background: #fff; border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); text-align: center; animation: sheet-up .3s cubic-bezier(.2,1,.4,1); }
.consent__t { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.consent__s { font-size: 13.5px; color: var(--gray-600); margin: 4px 0 16px; line-height: 1.45; }
.consent__check { display: flex; align-items: flex-start; gap: 9px; text-align: left; font-size: 12.5px; color: var(--gray-700); margin-bottom: 16px; line-height: 1.4; }
.consent__check input { margin-top: 2px; flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--naranja); }
.consent__check a { color: var(--naranja); }
.consent__cancel { margin-top: 10px; font-size: 13px; color: var(--gray-500); font-weight: 600; }

/* ---------- Estado de carga (live · data de Supabase) ---------- */
.boot { position: absolute; inset: 0; z-index: 95; background: var(--crema); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.boot__t { color: var(--gray-500); }
/* tarjetas de recomendación de Nia + más-btn en CLARO */
.theme-light .vcard { background: #fff; border-color: var(--gray-200); }
.theme-light .vcard__name { color: var(--carbon); }
.theme-light .vcard__meta { color: var(--gray-500); }
.theme-light .vcard__meta .dot { background: rgba(26,26,46,.25); }
.theme-light .vcard__why { color: var(--carbon); }
.theme-light .rec-pick__name, .theme-light .more-btn { color: var(--carbon); }
.theme-light .vcard__tags .tag { background: var(--crema); color: var(--gray-500); }
.theme-light .rec-pick { background: #fff; }
.theme-light .more-btn { background: #fff; color: var(--carbon); border-color: var(--gray-200); }
.boot[hidden] { display: none !important; }
.boot__spin { width: 30px; height: 30px; border-radius: 50%; border: 3px solid rgba(255,255,255,.15); border-top-color: var(--naranja); animation: boot-spin .8s linear infinite; }
@keyframes boot-spin { to { transform: rotate(360deg); } }
.boot__t { font-size: 13px; color: var(--dark-muted); }

/* "¿Qué querés hacer?" (Recorrido 1, 0071): 5 botones grandes + Ver todo, sin scroll a 375 px */
.qq { padding: 2px 16px 10px; }
.home-qq .qq { padding: 0; }
.qq-t { margin: 0 0 8px; font-weight: 800; font-size: 16px; color: var(--carbon, #1A1A2E); }
.qq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.qq-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 64px;
  padding: 8px 4px; border: 1px solid #eadfd5; border-radius: 14px; background: #fff; color: var(--carbon, #1A1A2E);
  font: inherit; font-weight: 700; font-size: 13px; line-height: 1.15; text-align: center; cursor: pointer; }
.qq-tile:active { transform: scale(.97); }
.qq-tile.is-active { border-color: var(--carbon, #1A1A2E); }
.qq-ico { display: flex; line-height: 1; color: var(--gray-700); }
.qq-ico .lico { margin: 0; }
.qq-chip { display: inline-flex; align-items: center; }
.qq-row { padding: 2px 16px 8px; }
.qq-chip.is-active { background: var(--carbon, #1A1A2E); color: #fff; border-color: var(--carbon, #1A1A2E); }
.qq-nia { padding: 0 16px 8px; }
.qq-nia__b { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; font-weight: 700; color: var(--carbon, #1A1A2E); cursor: pointer; text-decoration: underline; }

/* Buscador por nombre (Recorrido 3): sugerencias desde la 2ª letra, encima de la lista y del mapa */
.xsearch { flex: 0 0 auto; position: relative; padding: 0 16px 10px; z-index: 1200; }
/* Explorar · franja "Usá tu ubicación" (Recorrido 5) */
.xubic { flex: 0 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px;
  margin: 0 16px 10px; padding: 10px 12px; background: #fff; border: 1px solid #eadfd5; border-radius: 14px; }
.xubic[hidden] { display: none; }
.xubic__tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.xubic__s { font-size: 12px; color: var(--gray-500); padding-left: 22px; }
.xubic__t { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--carbon, #1A1A2E); }
.xubic__b { display: inline-flex; gap: 6px; margin-left: auto; }
.xubic__b button { border: 0; border-radius: 999px; padding: 7px 12px; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.xubic__si { background: var(--carbon, #1A1A2E); color: #fff; }
.xubic__no { background: none; color: var(--gray-500); }
.xcount-cerca { font-weight: 800; color: var(--carbon, #1A1A2E); }
.xsearch__box { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #eadfd5; border-radius: 999px; padding: 0 6px 0 14px; }
.xsearch__box:focus-within { border-color: var(--carbon, #1A1A2E); }
.xsearch__ico { flex: 0 0 auto; color: var(--gray-500); }
.xsearch__box input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font: inherit; font-size: 15px; padding: 11px 0; color: var(--carbon, #1A1A2E); }
.xsearch__box input::-webkit-search-cancel-button { display: none; }
.xsearch__x { flex: 0 0 auto; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--gray-100); color: var(--gray-600); font-size: 13px; cursor: pointer; }
.xsearch__x[hidden], .xsug[hidden] { display: none !important; }
.xsug { position: absolute; left: 16px; right: 16px; top: calc(100% - 4px); background: #fff; border: 1px solid #eadfd5; border-radius: 14px;
  box-shadow: 0 10px 28px rgba(26,26,46,.16); overflow: hidden auto; max-height: 60vh; }
.xsug__i { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: left; border: 0; border-bottom: 1px solid #f3ece5;
  background: #fff; padding: 10px 14px; font: inherit; cursor: pointer; color: var(--carbon, #1A1A2E); }
.xsug__i:active, .xsug__i.is-on { background: #fbf5ef; }
.xsug__n { font-weight: 700; font-size: 14.5px; line-height: 1.2; }
.xsug__n mark { background: none; color: #E91E63; }
.xsug__d { font-size: 12.5px; color: var(--gray-500); }
.xsug__all { display: block; width: 100%; border: 0; background: #fff; padding: 11px 14px; font: inherit; font-weight: 700; font-size: 13.5px; color: #E91E63; text-align: left; cursor: pointer; }
.xsug__none { padding: 12px 14px; font-size: 13.5px; color: var(--gray-500); }
/* la tarjeta corta del mapa aparece sólo al tocar un pin: su display le ganaba a [hidden] y quedaba una franja blanca vacía */
.pmap__sheet[hidden] { display: none !important; }
.qq-chip .lico { margin-right: 0; }

/* Inicio · buscador por nombre arriba de todo (Robustecer 3): el mismo .xsearch de Explorar, con el margen del inicio */
.home-xsearch { padding: 4px 18px 0; z-index: 30; }
.home-xsearch .xsug { left: 18px; right: 18px; top: calc(100% + 4px); }
.mp-nia .home-explore__t { display: inline-flex; align-items: center; gap: 8px; }
