/* Tempo app · sistema visual. Sale del logo real: negro, cian, rojo y blanco, con Archivo ancha para los títulos.
   Celular primero (pestañas abajo); en escritorio, barra lateral y contenido ancho. */
@font-face { font-family: "Archivo"; src: url(fuentes/archivo-var.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  color-scheme: dark;
  --fondo: #050507; --fondo-2: #0a0c0f; --sup: #101318; --sup-2: #161a20; --sup-3: #1d222a;
  --linea: rgba(255, 255, 255, .08); --linea-2: rgba(255, 255, 255, .15);
  --texto: #fff; --suave: #c3cad2; --tenue: #7f8892;
  --cyan: #19f0ff; --cyan-2: #0aa7b3; --rojo: #ff2323; --verde: #2ee6a0; --amarillo: #ffc83d; --wa: #25d366;
  --grad: linear-gradient(90deg, var(--rojo), var(--cyan));
  --grad-d: linear-gradient(135deg, var(--rojo), var(--cyan));
  --f: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 22px; --r-chico: 14px;
  --sombra: 0 18px 50px -20px rgba(0, 0, 0, .85), 0 2px 8px rgba(0, 0, 0, .3);
  --resorte: cubic-bezier(.2, .9, .25, 1.2); --suave-c: cubic-bezier(.2, .8, .2, 1);
  --tabs: 70px; --lateral: 264px;
  --abajo: env(safe-area-inset-bottom, 0px); --arriba: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--fondo); color: var(--texto); }
body { font: 400 16px/1.5 var(--f); min-height: 100dvh; -webkit-font-smoothing: antialiased; overscroll-behavior-y: none; }
body::before { /* retícula muy sutil, toque futurista */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background: radial-gradient(900px 600px at 85% -10%, rgba(25, 240, 255, .09), transparent 60%), radial-gradient(800px 600px at -10% 110%, rgba(255, 35, 35, .08), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 44px 44px;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
svg { width: 22px; height: 22px; flex: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 8px; }
.ancha { font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
.cy { color: var(--cyan); } .rj { color: var(--rojo); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tenue { color: var(--tenue); margin: 0; } .suave { color: var(--suave); }
.mono { font-variant-numeric: tabular-nums; }
.kicker { margin: 0; display: flex; align-items: center; gap: 12px; font: 600 11px/1.2 var(--f); font-stretch: 125%; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--rojo); flex: none; }
h1, h2, h3 { margin: 0; }
h1 { font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: 1; font-size: clamp(28px, 6.8vw, 50px); text-wrap: balance; }
h1 em, h2 em { font-style: normal; color: var(--cyan); }
h2 { font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -.005em; line-height: 1.05; font-size: clamp(20px, 4.4vw, 28px); }
h3 { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }

/* ── Estructura: barra lateral (escritorio) + pestañas (celular) ── */
.marco-app { min-height: 100dvh; }
.lateral { display: none; }
.contenido { min-width: 0; }
.vista { min-height: 100dvh; padding-bottom: calc(var(--tabs) + 30px + var(--abajo)); }
.vista:not([hidden]) { animation: entra .4s var(--suave-c) both; }
@keyframes entra { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ancho-max { width: min(1180px, 100% - 32px); margin: 0 auto; }
.barra { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: calc(10px + var(--arriba)) 16px 10px;
  background: rgba(5, 5, 7, .82); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid var(--linea); }
.barra .titulo { flex: 1; min-width: 0; font-stretch: 125%; font-weight: 900; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.marca { display: flex; align-items: center; gap: 10px; }
.marca img { width: 36px; height: 36px; }
.marca b { font-stretch: 125%; font-weight: 900; font-size: 17px; letter-spacing: .03em; }
.marca small { display: block; font-stretch: 125%; font-size: 8.5px; letter-spacing: .34em; color: var(--cyan); font-weight: 500; margin-top: 1px; }
.barra .marca { flex: 1; }
.barra .marca ~ .titulo { display: none; }
@media (min-width: 1000px) { .barra .marca ~ .titulo { display: block; } }

.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 6px 6px calc(6px + var(--abajo)); background: rgba(8, 9, 11, .86); border-top: 1px solid var(--linea);
  backdrop-filter: saturate(170%) blur(22px); -webkit-backdrop-filter: saturate(170%) blur(22px);
}
.tabs a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 0 4px; font-size: 10.5px; font-weight: 700; color: var(--tenue); letter-spacing: .01em; }
.tabs a svg { width: 24px; height: 24px; transition: transform .3s var(--resorte), color .2s; }
.tabs a[aria-current="page"] { color: var(--texto); }
.tabs a[aria-current="page"] svg { color: var(--cyan); transform: translateY(-2px) scale(1.08); filter: drop-shadow(0 0 10px rgba(25, 240, 255, .6)); }
.tabs a[aria-current="page"]::before { content: ""; position: absolute; top: -7px; width: 26px; height: 3px; border-radius: 0 0 4px 4px; background: var(--grad); box-shadow: 0 0 14px rgba(25, 240, 255, .7); }
.tabs a:active svg { transform: scale(.86); }
.tabs .burbuja { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--rojo); color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; }

@media (min-width: 1000px) {
  .marco-app { display: grid; grid-template-columns: var(--lateral) 1fr; }
  .lateral { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 0; height: 100dvh; padding: 22px 16px; border-right: 1px solid var(--linea); background: rgba(8, 9, 11, .7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); z-index: 25; }
  .lateral .marca { margin: 0 8px 22px; }
  .lateral nav { display: grid; gap: 4px; }
  .lateral nav a { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; font-weight: 700; font-size: 15px; color: var(--suave); transition: background .2s, color .2s; }
  .lateral nav a:hover { background: rgba(255, 255, 255, .05); color: var(--texto); }
  .lateral nav a[aria-current="page"] { background: linear-gradient(90deg, rgba(255, 35, 35, .14), rgba(25, 240, 255, .1)); color: var(--texto); box-shadow: inset 0 0 0 1px var(--linea-2); }
  .lateral nav a[aria-current="page"] svg { color: var(--cyan); }
  .lateral nav a .burbuja { margin-left: auto; min-width: 22px; height: 22px; border-radius: 99px; background: var(--rojo); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; padding: 0 6px; }
  .lateral .sep { margin: 14px 14px 6px; font-stretch: 125%; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--tenue); font-weight: 600; }
  .lateral .pie { margin-top: auto; display: grid; gap: 10px; }
  .lateral .quien { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: var(--sup); border: 1px solid var(--linea); }
  .lateral .quien b { display: block; font-size: 14px; } .lateral .quien span { font-size: 12px; color: var(--tenue); }
  .tabs { display: none; }
  .vista { padding-bottom: 40px; }
  .barra { padding: 14px 32px; }
  .barra .marca { display: none; }
}

/* ── Botones (animados) ── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px;
  border-radius: 999px; border: 1px solid var(--linea-2); background: rgba(255, 255, 255, .04); color: var(--texto);
  font: 700 15.5px/1 var(--f); letter-spacing: -.005em; white-space: nowrap; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .2s var(--resorte), background .25s, box-shadow .3s, border-color .25s, opacity .2s; user-select: none; -webkit-user-select: none; touch-action: manipulation;
}
.btn:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .26); }
.btn:active:not(:disabled) { transform: scale(.955); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--resorte); }
.btn:hover svg.mueve { transform: translateX(4px); }
.btn.primario { border: 0; background: var(--grad); color: #050507; box-shadow: 0 12px 34px -12px rgba(255, 35, 35, .6), 0 12px 34px -14px rgba(25, 240, 255, .6); }
.btn.primario:hover { box-shadow: 0 16px 40px -10px rgba(255, 35, 35, .7), 0 16px 40px -12px rgba(25, 240, 255, .7); }
.btn.primario::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-130%); animation: brilla 5s 1.5s ease-in-out infinite; }
@keyframes brilla { 0%, 72% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
.btn.cyan { border: 0; background: var(--cyan); color: #050507; box-shadow: 0 12px 30px -12px rgba(25, 240, 255, .8); }
.btn.wa { border: 0; background: var(--wa); color: #052712; box-shadow: 0 12px 30px -12px rgba(37, 211, 102, .8); }
.btn.wa-borde { background: rgba(37, 211, 102, .08); border-color: rgba(37, 211, 102, .5); color: #5be38f; }
.btn.plano { background: transparent; border-color: transparent; color: var(--suave); }
.btn.plano:hover { color: var(--texto); background: rgba(255, 255, 255, .05); }
.btn.peligro { border-color: rgba(255, 35, 35, .45); color: #ff8a8a; background: rgba(255, 35, 35, .06); }
.btn.grande { min-height: 58px; font-size: 16.5px; padding: 0 28px; }
.btn.chico { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn.ancho { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.cargando { color: transparent !important; pointer-events: none; }
.btn.cargando::before { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; left: calc(50% - 11px); top: calc(50% - 11px); border: 2.5px solid rgba(255, 255, 255, .3); border-top-color: currentColor; animation: gira .7s linear infinite; color: var(--texto); }
.btn.primario.cargando::before { border-color: rgba(0, 0, 0, .2); border-top-color: #050507; }
@keyframes gira { to { transform: rotate(360deg); } }
.btn-icono { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linea-2); background: rgba(10, 12, 15, .6); color: #fff; cursor: pointer; flex: none;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .2s var(--resorte), background .2s; }
.btn-icono:active { transform: scale(.88); }
.btn-icono.plano { background: transparent; border-color: transparent; }
.btn-icono .burbuja { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--rojo); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.salta { animation: salta .5s var(--resorte); }
@keyframes salta { 30% { transform: scale(1.25); } 60% { transform: scale(.92); } }

/* ── Tarjetas y paneles ── */
.panel { position: relative; margin: 0; padding: 20px; display: grid; gap: 14px; background: var(--sup); border: 1px solid var(--linea); border-radius: var(--r); box-shadow: var(--sombra); }
.panel.brillo { background: radial-gradient(120% 120% at 100% 0%, rgba(25, 240, 255, .12), transparent 55%), radial-gradient(120% 120% at 0% 100%, rgba(255, 35, 35, .1), transparent 55%), var(--sup); }
.panel.borde-vivo { border-color: transparent; background: linear-gradient(var(--sup), var(--sup)) padding-box, conic-gradient(from var(--ang, 0deg), var(--rojo), var(--cyan), var(--rojo)) border-box; border: 1.5px solid transparent; animation: vivo 6s linear infinite; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes vivo { to { --ang: 360deg; } }
.panel h2 { font-size: clamp(18px, 4vw, 22px); }
.grupo { display: grid; gap: 14px; }
.cuerpo { padding: 18px 16px 0; display: grid; gap: 16px; }
@media (min-width: 1000px) { .cuerpo { padding: 28px 32px 0; gap: 22px; } }
.cabeza-sec { display: grid; gap: 10px; padding: 6px 2px 2px; }
.cabeza-sec p { margin: 0; color: var(--suave); max-width: 60ch; }
.fila-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* entrada en cascada */
.cae > * { animation: entra .55s var(--suave-c) both; }
.cae > *:nth-child(2) { animation-delay: .05s; } .cae > *:nth-child(3) { animation-delay: .1s; } .cae > *:nth-child(4) { animation-delay: .15s; }
.cae > *:nth-child(5) { animation-delay: .2s; } .cae > *:nth-child(6) { animation-delay: .25s; } .cae > *:nth-child(n+7) { animation-delay: .3s; }

/* ── Inicio ── */
.hero-app { position: relative; overflow: hidden; border-radius: 28px; min-height: 300px; padding: 24px; display: grid; align-content: end; gap: 12px; isolation: isolate; border: 1px solid var(--linea-2); box-shadow: var(--sombra); }
.hero-app > img.fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: acerca 20s ease-out both; }
@keyframes acerca { from { transform: scale(1.15); } to { transform: scale(1.02); } }
.hero-app::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 5, 7, .15) 0%, rgba(5, 5, 7, .78) 55%, rgba(5, 5, 7, .96) 100%); }
.hero-app h1 { font-size: clamp(28px, 7.5vw, 52px); }
.hero-app p { margin: 0; color: var(--suave); max-width: 46ch; }
@media (min-width: 1000px) { .hero-app { min-height: 380px; padding: 40px; } .hero-app::before { background: linear-gradient(90deg, rgba(5, 5, 7, .96) 0%, rgba(5, 5, 7, .8) 45%, rgba(5, 5, 7, .15) 100%); } }
.acciones-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .acciones-grid { grid-template-columns: repeat(4, 1fr); } }
.accion { position: relative; overflow: hidden; display: grid; gap: 10px; align-content: space-between; min-height: 150px; padding: 18px; border-radius: 22px; background: var(--sup); border: 1px solid var(--linea); transition: transform .25s var(--resorte), border-color .25s, box-shadow .3s; isolation: isolate; }
.accion:hover { transform: translateY(-3px); border-color: rgba(25, 240, 255, .35); box-shadow: 0 20px 50px -24px rgba(25, 240, 255, .5); }
.accion:active { transform: scale(.97); }
.accion .ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: rgba(25, 240, 255, .1); color: var(--cyan); border: 1px solid rgba(25, 240, 255, .25); }
.accion.r .ic { background: rgba(255, 35, 35, .1); color: var(--rojo); border-color: rgba(255, 35, 35, .28); }
.accion b { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 14.5px; line-height: 1.15; }
.accion span { display: block; color: var(--tenue); font-size: 13px; margin-top: 4px; }
.accion::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--grad-d); opacity: .1; filter: blur(20px); z-index: -1; transition: opacity .3s; }
.accion:hover::after { opacity: .3; }
.cinta-dis { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; scroll-snap-type: x mandatory; }
.cinta-dis::-webkit-scrollbar { display: none; }
.cinta-dis a { flex: none; width: 104px; scroll-snap-align: start; display: grid; gap: 8px; text-align: center; font-size: 12px; font-weight: 700; color: var(--suave); }
.cinta-dis .disco { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: #ece8e3; box-shadow: inset 0 -6px 14px rgba(0, 0, 0, .18), 0 10px 24px -12px rgba(0, 0, 0, .9); transition: transform .3s var(--resorte); }
.cinta-dis .disco img { width: 58%; filter: invert(1); }
.cinta-dis a:hover .disco { transform: rotate(-8deg) scale(1.05); }
.banner { position: relative; overflow: hidden; border-radius: 26px; padding: 24px; display: grid; gap: 12px; isolation: isolate; border: 1px solid var(--linea-2); min-height: 240px; align-content: end; }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--suave-c); }
.banner:hover > img { transform: scale(1.05); }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 5, 7, .2), rgba(5, 5, 7, .93) 70%); }
.banner p { margin: 0; color: var(--suave); max-width: 52ch; }
@media (min-width: 1000px) { .banner::before { background: linear-gradient(90deg, rgba(5, 5, 7, .96) 0%, rgba(5, 5, 7, .82) 50%, rgba(5, 5, 7, .2) 100%); } .banner { padding: 36px; } }
.dos-col { display: grid; gap: 16px; }
@media (min-width: 1000px) { .dos-col { grid-template-columns: 1fr 1fr; } }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { padding: 16px 18px; border-radius: 20px; background: var(--sup); border: 1px solid var(--linea); display: grid; gap: 4px; }
.kpi b { font-stretch: 125%; font-weight: 900; font-size: 28px; line-height: 1; }
.kpi span { color: var(--tenue); font-size: 12.5px; font-weight: 600; }
.kpi.cy b { color: var(--cyan); } .kpi.rj b { color: var(--rojo); }

/* ── Diseños (catálogo base) ── */
.filtros { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 4px; }
.filtros::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--linea-2); background: rgba(255, 255, 255, .03); border-radius: 999px; padding: 9px 16px; font-size: 13.5px; font-weight: 700; color: var(--suave); transition: transform .2s var(--resorte), background .2s, color .2s, border-color .2s; }
.chip:active { transform: scale(.93); }
.chip[aria-pressed="true"] { background: var(--texto); color: #050507; border-color: var(--texto); }
.grilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .grilla { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grilla { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1400px) { .grilla { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.tarjeta { position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; overflow: hidden; border-radius: 20px; border: 1px solid var(--linea); background: var(--sup); color: inherit; transition: transform .25s var(--resorte), border-color .25s, box-shadow .3s; }
.tarjeta:hover { border-color: rgba(25, 240, 255, .35); box-shadow: 0 20px 50px -26px rgba(25, 240, 255, .55); transform: translateY(-3px); }
.tarjeta:active { transform: scale(.97); }
.tarjeta .figura { position: relative; display: block; aspect-ratio: 1; background: radial-gradient(circle at 50% 42%, #1c222a, var(--sup) 72%); }
.tarjeta .figura img { position: absolute; inset: 17%; width: 66%; height: 66%; object-fit: contain; filter: drop-shadow(0 0 0 transparent); transition: transform .35s var(--resorte), filter .3s; }
.tarjeta:hover .figura img { transform: scale(1.06); filter: drop-shadow(0 0 14px rgba(25, 240, 255, .5)); }
.tarjeta .datos { padding: 10px 14px 14px; display: grid; gap: 2px; }
.tarjeta .codigo { font-stretch: 125%; font-size: 11px; font-weight: 800; color: var(--rojo); letter-spacing: .1em; }
.tarjeta .nombre { font-weight: 800; font-size: 15.5px; }
.tarjeta .linea { font-size: 12px; color: var(--tenue); }
.tarjeta .sello { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 99px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: rgba(25, 240, 255, .14); color: var(--cyan); border: 1px solid rgba(25, 240, 255, .3); }
.previas .tarjeta .figura { aspect-ratio: 9 / 16; }
.previas .tarjeta .figura img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.esqueleto { aspect-ratio: .8; border-radius: 20px; background: linear-gradient(100deg, var(--sup) 40%, var(--sup-2) 50%, var(--sup) 60%) 0 0 / 300% 100%; animation: brillo-esq 1.4s linear infinite; }
@keyframes brillo-esq { to { background-position: -150% 0; } }
.vacio { grid-column: 1 / -1; padding: 30px 20px; border: 1px dashed var(--linea-2); border-radius: 20px; color: var(--tenue); text-align: center; display: grid; gap: 14px; justify-items: center; }
.segmentado { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; padding: 4px; margin: 0; background: rgba(0, 0, 0, .4); border-radius: 16px; border: 1px solid var(--linea); }
.segmentado button { border: 0; border-radius: 12px; background: transparent; color: var(--tenue); padding: 10px 8px; font-size: 14px; font-weight: 700; transition: background .25s, color .2s, box-shadow .25s; }
.segmentado button[aria-selected="true"] { background: var(--sup-3); color: var(--texto); box-shadow: 0 2px 10px rgba(0, 0, 0, .4), inset 0 0 0 1px var(--linea-2); }

/* ── Tienda ── */
.tienda { display: grid; gap: 18px; }
@media (min-width: 1200px) { .tienda { grid-template-columns: 1fr 360px; align-items: start; } }
.buscador { position: relative; }
.buscador input { width: 100%; height: 52px; border-radius: 999px; border: 1px solid var(--linea-2); background: rgba(255, 255, 255, .04); padding: 0 20px 0 50px; font-size: 16px; color: var(--texto); }
.buscador input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(25, 240, 255, .15); }
.buscador svg { position: absolute; left: 18px; top: 15px; color: var(--tenue); }
.productos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .productos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1500px) { .productos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.prod { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--sup); border: 1px solid var(--linea); transition: transform .25s var(--resorte), border-color .25s, box-shadow .3s; }
.prod:hover { transform: translateY(-3px); border-color: rgba(25, 240, 255, .3); box-shadow: 0 22px 50px -26px rgba(25, 240, 255, .5); }
.prod .foto { position: relative; aspect-ratio: 1; background: #fff; cursor: pointer; overflow: hidden; }
.prod .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--suave-c); }
.prod:hover .foto img { transform: scale(1.06); }
.prod .etq { position: absolute; top: 10px; left: 10px; padding: 5px 10px; border-radius: 99px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: rgba(5, 5, 7, .78); color: var(--amarillo); backdrop-filter: blur(6px); }
.prod .info { padding: 12px 14px 14px; display: grid; gap: 6px; flex: 1; align-content: space-between; }
.prod .info .lin { font-stretch: 125%; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); font-weight: 600; }
.prod .info .nom { font-weight: 700; font-size: 14.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod .pie { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
@media (max-width: 420px) { .prod .precio { font-size: 15.5px; } .paso-cant button { width: 30px; height: 30px; } .prod .info { padding: 10px 11px 12px; } }
.prod .precio { font-stretch: 112%; font-weight: 900; font-size: 17px; }
.agregar { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--grad-d); color: #050507; display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(25, 240, 255, .7); transition: transform .2s var(--resorte); flex: none; }
.agregar:active { transform: scale(.85); }
.agregar svg { width: 20px; height: 20px; }
.paso-cant { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border-radius: 99px; background: rgba(255, 255, 255, .06); border: 1px solid var(--linea-2); }
.paso-cant button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--sup-3); font-weight: 900; font-size: 17px; }
.paso-cant span { min-width: 24px; text-align: center; font-weight: 800; }
.carrito { display: grid; gap: 12px; align-content: start; }
.carrito .item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: rgba(0, 0, 0, .25); border: 1px solid var(--linea); animation: entra .35s var(--suave-c) both; }
.carrito .item img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: #fff; }
.carrito .item b { font-size: 13.5px; line-height: 1.3; display: block; }
.carrito .item small { color: var(--tenue); }
.carrito .total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 8px; border-top: 1px solid var(--linea); }
.carrito .total b { font-stretch: 112%; font-weight: 900; font-size: 24px; }
.lado-carrito { display: none; }
@media (min-width: 1200px) { .lado-carrito { display: block; position: sticky; top: 90px; } .boton-carrito-flota { display: none !important; } }
.boton-carrito-flota { position: fixed; z-index: 28; left: 16px; right: 16px; bottom: calc(var(--tabs) + 12px + var(--abajo)); }
@media (min-width: 1000px) { .boton-carrito-flota { left: calc(var(--lateral) + 32px); right: 32px; bottom: 24px; } }

/* ── Hojas y diálogos ── */
.capa { position: fixed; inset: 0; z-index: 60; display: grid; place-items: end center; background: rgba(0, 0, 0, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: aparece .25s both; }
@keyframes aparece { from { opacity: 0; } }
.capa .hoja-caja { width: min(560px, 100%); max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; background: var(--sup); border: 1px solid var(--linea-2); border-bottom: 0; border-radius: 28px 28px 0 0; padding: 10px 20px calc(22px + var(--abajo)); display: grid; gap: 14px; animation: sube .42s var(--suave-c) both; box-shadow: 0 -20px 60px rgba(0, 0, 0, .6); }
@keyframes sube { from { transform: translateY(60px); opacity: 0; } }
@media (min-width: 700px) { .capa { place-items: center; } .capa .hoja-caja { border-radius: 28px; border-bottom: 1px solid var(--linea-2); padding-bottom: 24px; } }
.agarre { display: grid; place-items: center; height: 18px; } .agarre span { width: 44px; height: 5px; border-radius: 99px; background: var(--linea-2); }
.dialogo { position: fixed; inset: 0; z-index: 70; display: grid; place-items: end center; background: rgba(0, 0, 0, .6); padding: 16px; backdrop-filter: blur(6px); }
.dialogo-caja { width: min(440px, 100%); background: var(--sup); border: 1px solid var(--linea-2); border-radius: 26px; padding: 22px; margin-bottom: var(--abajo); display: grid; gap: 12px; animation: sube .38s var(--suave-c) both; }
.dialogo-caja ol { padding-left: 20px; color: var(--suave); margin: 0; } .dialogo-caja li { margin-bottom: 6px; }
.aviso { position: fixed; left: 50%; bottom: calc(var(--tabs) + 18px + var(--abajo)); transform: translateX(-50%); z-index: 90; max-width: calc(100vw - 32px); text-align: center;
  background: rgba(255, 255, 255, .96); color: #050507; padding: 12px 20px; border-radius: 999px; font-weight: 800; font-size: 14px; box-shadow: var(--sombra); animation: aviso .35s var(--resorte) both; }
@keyframes aviso { from { opacity: 0; transform: translate(-50%, 16px) scale(.95); } }
@media (min-width: 1000px) { .aviso { bottom: 30px; left: calc(50% + var(--lateral) / 2); } }

/* ── Formularios ── */
.campo { display: grid; gap: 7px; font-size: 13px; font-weight: 700; color: var(--suave); }
.campo input, .campo textarea, .campo select { width: 100%; font: 500 16px/1.3 var(--f); color: var(--texto); background: rgba(0, 0, 0, .35); border: 1.5px solid var(--linea); border-radius: var(--r-chico); padding: 14px; transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none; }
.campo input::placeholder, .campo textarea::placeholder { color: rgba(195, 202, 210, .45); }
.campo input:focus, .campo textarea:focus, .campo select:focus { outline: none; border-color: var(--cyan); background: rgba(0, 0, 0, .5); box-shadow: 0 0 0 4px rgba(25, 240, 255, .14); }
.campos-2 { display: grid; gap: 12px; } @media (min-width: 560px) { .campos-2 { grid-template-columns: 1fr 1fr; } }
.grupo-campos { display: grid; gap: 12px; }
.separador { display: flex; align-items: center; gap: 12px; color: var(--tenue); font-size: 13px; font-weight: 700; }
.separador::before, .separador::after { content: ""; flex: 1; height: 1px; background: var(--linea-2); }
.codigo-wa { font-size: 24px; letter-spacing: .1em; text-align: center; padding: 16px; border: 1.5px dashed var(--cyan); border-radius: 16px; margin: 0; background: rgba(25, 240, 255, .06); font-weight: 800; }

/* ── Cuenta ── */
.perfil-cabeza { display: flex; align-items: center; gap: 16px; }
.avatar { width: 66px; height: 66px; border-radius: 50%; padding: 3px; flex: none; background: conic-gradient(from var(--ang, 0deg), var(--rojo), var(--cyan), var(--rojo)); animation: vivo 6s linear infinite; }
.avatar span { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: var(--sup-2); font-stretch: 125%; font-weight: 900; font-size: 22px; }
.insignia { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; background: rgba(255, 255, 255, .07); color: var(--suave); }
.insignia.pro { background: rgba(25, 240, 255, .12); color: var(--cyan); }
.insignia.eq { background: rgba(255, 35, 35, .14); color: #ff8a8a; }
.roles { display: grid; gap: 10px; }
@media (min-width: 760px) { .roles { grid-template-columns: repeat(3, 1fr); } }
.rol { position: relative; text-align: left; display: grid; gap: 6px; padding: 16px; border-radius: 20px; border: 1.5px solid var(--linea-2); background: rgba(0, 0, 0, .25); transition: border-color .25s, transform .2s var(--resorte), background .25s; }
.rol:active { transform: scale(.97); }
.rol b { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 14px; }
.rol span { color: var(--tenue); font-size: 13px; }
.rol[aria-pressed="true"] { border-color: var(--cyan); background: rgba(25, 240, 255, .07); box-shadow: 0 0 0 4px rgba(25, 240, 255, .1); }
.rol[aria-pressed="true"]::after { content: "✓"; position: absolute; top: 12px; right: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--cyan); color: #050507; display: grid; place-items: center; font-weight: 900; font-size: 13px; }
.lista { display: grid; margin: 0; padding: 0; list-style: none; background: var(--sup); border: 1px solid var(--linea); border-radius: var(--r); overflow: hidden; }
.lista li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 12px 18px; font-size: 15px; }
.lista li + li { border-top: 1px solid var(--linea); }
.lista .etq { color: var(--tenue); font-weight: 600; } .lista .val { font-weight: 700; text-align: right; overflow-wrap: anywhere; } .lista .ok { color: var(--cyan); font-size: 12px; font-weight: 800; }
.titulo-grupo { margin: 8px 4px -4px; font-stretch: 125%; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--tenue); }
.bienvenida { position: relative; border-radius: 28px; overflow: hidden; min-height: min(62vh, 520px); display: grid; align-content: end; gap: 10px; padding: 24px; isolation: isolate; border: 1px solid var(--linea-2); }
.bienvenida img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; object-position: center 60%; animation: acerca 20s ease-out both; }
.bienvenida::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 5, 7, 0) 25%, rgba(5, 5, 7, .8) 55%, rgba(5, 5, 7, .97) 80%); }
.bienvenida p { margin: 0 0 6px; color: var(--suave); }
.btn.google { background: #fff; color: #1f1f1f; border: 0; }
.btn.google .g { width: 20px; height: 20px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3C/svg%3E") center / contain no-repeat; }
.beneficios { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.beneficios li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--suave); }
.beneficios li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 900; background: rgba(25, 240, 255, .12); color: var(--cyan); border: 1px solid rgba(25, 240, 255, .3); }
.interruptor { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 66px; padding: 0 18px; border: 1.5px solid var(--linea-2); border-radius: 20px; background: rgba(0, 0, 0, .3); font-weight: 800; font-size: 17px; transition: border-color .3s, background .3s, box-shadow .3s, color .3s; }
.interruptor .punto { order: 2; width: 54px; height: 32px; border-radius: 99px; background: var(--sup-3); position: relative; transition: background .3s; flex: none; }
.interruptor .punto::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); transition: transform .35s var(--resorte); }
.interruptor.on { border-color: rgba(25, 240, 255, .6); color: var(--cyan); background: rgba(25, 240, 255, .07); box-shadow: 0 0 0 6px rgba(25, 240, 255, .07), 0 0 40px -10px rgba(25, 240, 255, .6); }
.interruptor.on .punto { background: var(--cyan); }
.interruptor.on .punto::after { transform: translateX(22px); background: #050507; }

/* ── Pedidos del tatuador / agenda ── */
.pedido { display: grid; gap: 10px; padding: 16px; border-radius: 20px; background: rgba(0, 0, 0, .28); border: 1px solid var(--linea); animation: entra .35s var(--suave-c) both; }
.pedido + .pedido { margin-top: 10px; }
.pedido.mio { border-color: rgba(25, 240, 255, .4); background: linear-gradient(160deg, rgba(25, 240, 255, .08), rgba(0, 0, 0, .25)); }
.pedido.nuevo { border-color: rgba(255, 35, 35, .45); background: linear-gradient(160deg, rgba(255, 35, 35, .1), rgba(0, 0, 0, .25)); }
.pedido strong { font-size: 16px; } .pedido .fila { display: flex; flex-wrap: wrap; gap: 8px; } .pedido .fila .btn { flex: 1 1 auto; min-height: 44px; font-size: 14.5px; }
.latido { width: 12px; height: 12px; border-radius: 50%; background: var(--rojo); flex: none; position: relative; display: inline-block; }
.latido::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--rojo); animation: latir 1.4s ease-out infinite; }
.latido.listo { background: var(--cyan); } .latido.listo::after { border-color: var(--cyan); animation-duration: 2.2s; }
.latido.quieto::after { display: none; } .latido.quieto { background: var(--tenue); }
@keyframes latir { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }

/* ── Mapa (Cerca / Eventos) ── */
.vista-mapa { position: fixed; inset: 0; min-height: 0; padding: 0; overflow: hidden; }
@media (min-width: 1000px) { .vista-mapa { left: var(--lateral); } }
.vista-mapa .mapa { position: absolute; inset: 0; bottom: calc(var(--tabs) + var(--abajo) - 24px); background: #0d1013 url(img/mapa-vacio.webp?v=2) center / cover; z-index: 0; }
@media (min-width: 1000px) { .vista-mapa .mapa { bottom: 0; } }
.leaflet-container { font-family: var(--f); background: #0d1013; }
.leaflet-tile-pane { filter: grayscale(.85) brightness(.55) contrast(1.2) sepia(.15) hue-rotate(150deg) saturate(1.6); }
.leaflet-control-zoom { display: none; }
.leaflet-control-attribution { background: rgba(5, 5, 7, .6) !important; color: var(--tenue) !important; font-size: 9px; }
.leaflet-control-attribution a { color: var(--tenue) !important; }
.leaflet-popup-content-wrapper { border-radius: 18px; background: var(--sup-2); color: var(--texto); box-shadow: var(--sombra); border: 1px solid var(--linea-2); }
.leaflet-popup-tip { background: var(--sup-2); }
.leaflet-popup-content { margin: 12px 14px; }
.leaflet-container a.leaflet-popup-close-button { color: var(--tenue); }
.pop { display: grid; gap: 3px; font: 600 13px/1.35 var(--f); } .pop strong { font-size: 15px; } .pop a { color: var(--cyan); } .pop .ya { color: var(--cyan); font-weight: 800; }
.flotante { position: absolute; z-index: 5; left: 0; right: 0; top: 0; display: flex; gap: 10px; align-items: center; padding: calc(12px + var(--arriba)) 12px 0; pointer-events: none; }
.flotante > * { pointer-events: auto; }
.pastilla { flex: 1; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; min-height: 54px; border-radius: 999px; background: rgba(10, 12, 15, .86); border: 1px solid var(--linea-2); box-shadow: var(--sombra); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); }
.pastilla img { width: 38px; height: 38px; border-radius: 50%; }
.pastilla div { display: grid; line-height: 1.2; min-width: 0; } .pastilla strong { font-size: 14px; font-stretch: 112%; } .pastilla span { font-size: 12px; color: var(--tenue); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn-icono.vidrio { width: 52px; height: 52px; background: rgba(10, 12, 15, .86); box-shadow: var(--sombra); } .btn-icono.vidrio svg { color: var(--cyan); }
.hoja { position: absolute; z-index: 6; left: 0; right: 0; bottom: calc(var(--tabs) + var(--abajo)); max-height: calc(100dvh - var(--tabs) - var(--abajo) - var(--arriba) - 84px); overflow-y: auto; overscroll-behavior: contain;
  padding: 6px 18px 18px; background: rgba(16, 19, 24, .96); border: 1px solid var(--linea-2); border-bottom: 0; border-radius: 28px 28px 0 0; box-shadow: 0 -14px 44px rgba(0, 0, 0, .55);
  backdrop-filter: saturate(160%) blur(20px); -webkit-backdrop-filter: saturate(160%) blur(20px); animation: sube .5s var(--suave-c) both; }
@media (min-width: 1000px) { .hoja { left: auto; right: 24px; top: 24px; bottom: 24px; width: 420px; max-height: none; border-radius: 28px; border-bottom: 1px solid var(--linea-2); } .flotante { right: 460px; padding-left: 24px; padding-top: 24px; } }
.hoja > div { display: grid; gap: 12px; }
.hoja h2 { font-size: 22px; }
.hoja .agarre-btn { display: grid; place-items: center; width: 100%; height: 22px; border: 0; background: none; padding: 0; margin-bottom: 4px; }
.hoja .agarre-btn span { width: 44px; height: 5px; border-radius: 99px; background: var(--linea-2); }
@media (min-width: 1000px) { .hoja .agarre-btn { display: none; } .hoja:not(.abierta) .solo-abierta { display: grid !important; } .hoja:not(.abierta) #pedido-form .tenue { display: block !important; } }
.hoja:not(.abierta) .solo-abierta { display: none; }
.hoja:not(.abierta) #pedido-form .tenue { display: none; }
.estado-cabeza { display: flex; align-items: center; gap: 14px; } .estado-cabeza > div { flex: 1; min-width: 0; } .estado-cabeza .kicker { margin: 0 0 6px; }
.cuenta-regresiva { font-size: 22px; margin: 0; color: var(--cyan); font-weight: 800; font-variant-numeric: tabular-nums; } .cuenta-regresiva:empty { display: none; }
.pasos-pedido { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 0; padding: 0; list-style: none; }
.pasos-pedido li { position: relative; padding-top: 12px; font-size: 10.5px; font-weight: 700; color: var(--tenue); text-align: center; }
.pasos-pedido li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 99px; background: var(--sup-3); transition: background .4s; }
.pasos-pedido li.hecho { color: var(--texto); } .pasos-pedido li.hecho::before { background: var(--grad); box-shadow: 0 0 10px rgba(25, 240, 255, .5); }
.estrellas { display: flex; gap: 6px; justify-content: center; }
.estrellas button { font-size: 34px; background: none; border: 0; color: var(--sup-3); padding: 0 2px; transition: transform .2s var(--resorte), color .2s; }
.estrellas button.on { color: var(--amarillo); transform: scale(1.12); }
.pin-aplicador { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--rojo); border: 3px solid #fff; box-shadow: 0 6px 16px rgba(255, 35, 35, .6); font-weight: 900; font-size: 14px; color: #fff; font-stretch: 112%; }
.pin-aplicador.ahora { background: var(--cyan); color: #050507; box-shadow: 0 0 0 6px rgba(25, 240, 255, .25), 0 6px 16px rgba(25, 240, 255, .6); animation: pin-late 2s ease-in-out infinite; }
@keyframes pin-late { 50% { box-shadow: 0 0 0 14px rgba(25, 240, 255, 0), 0 6px 16px rgba(25, 240, 255, .6); } }
.pin-yo { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--cyan); box-shadow: 0 0 0 8px rgba(25, 240, 255, .22); }

/* ── Probador (cámara) ── */
.probador { background: #000; display: grid; place-items: center; min-height: 100dvh; overflow: hidden; padding: 0 !important; }
@media (min-width: 1000px) { .probador { position: fixed; inset: 0; z-index: 40; } }
.escenario { position: relative; overflow: hidden; background: #050507; width: min(100vw, calc(100dvh * 9 / 16)); aspect-ratio: 9 / 16; touch-action: none; user-select: none; -webkit-user-select: none; }
#video, #foto-fondo, #capa { position: absolute; inset: 0; width: 100%; height: 100%; }
#video, #foto-fondo { object-fit: cover; } #video.espejo { transform: scaleX(-1); } #capa { pointer-events: none; }
.estado-camara { position: absolute; inset: 0; display: grid; place-content: center; gap: 16px; text-align: center; padding: 24px; background: var(--fondo); z-index: 2; }
.estado-camara p { margin: 0; color: var(--suave); max-width: 30ch; } .estado-botones { display: grid; gap: 10px; }
.arriba, .abajo { position: absolute; left: 0; right: 0; z-index: 3; pointer-events: none; } .arriba > *, .abajo > * { pointer-events: auto; }
.arriba { top: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(12px + var(--arriba)) 12px 30px; background: linear-gradient(rgba(0, 0, 0, .6), transparent); }
.etiqueta { text-align: center; line-height: 1.15; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); pointer-events: none; }
.etiqueta .mono { display: block; font-stretch: 125%; font-size: 10px; color: var(--cyan); letter-spacing: .16em; font-weight: 600; }
.etiqueta strong { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 16px; }
.ayuda { position: absolute; top: calc(80px + var(--arriba)); left: 50%; transform: translateX(-50%); margin: 0; padding: 8px 14px; border-radius: 999px; z-index: 3; white-space: nowrap; background: rgba(5, 5, 7, .75); font-size: 12px; font-weight: 700; pointer-events: none; transition: opacity .4s; border: 1px solid var(--linea-2); }
.ayuda.oculta { opacity: 0; }
.abajo { bottom: 0; padding: 40px 0 calc(16px + var(--abajo)); background: linear-gradient(transparent, rgba(0, 0, 0, .75) 40%); }
.nombre-color { margin: 0 0 8px; text-align: center; font-stretch: 125%; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; pointer-events: none; font-weight: 600; }
.colores { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 16px 6px; scroll-snap-type: x proximity; } .colores::-webkit-scrollbar { display: none; }
.color { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); scroll-snap-align: center; padding: 0; transition: transform .2s var(--resorte); }
.color[aria-checked="true"] { border-color: #fff; box-shadow: 0 0 0 3px var(--cyan); transform: scale(1.12); }
.intensidad { display: flex; align-items: center; gap: 10px; margin: 8px auto 4px; width: min(280px, 80%); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--suave); font-weight: 600; }
.intensidad input { flex: 1; accent-color: var(--cyan); }
.acciones { display: flex; align-items: center; justify-content: space-around; padding: 6px 24px 0; }
.acciones label.btn-icono { cursor: pointer; }
.disparador { width: 78px; height: 78px; border-radius: 50%; border: 4px solid #fff; padding: 0; background: radial-gradient(circle, var(--rojo) 0 52%, transparent 54%); box-shadow: 0 0 0 4px rgba(25, 240, 255, .35), 0 0 30px rgba(25, 240, 255, .4); transition: transform .12s; }
.disparador:active { transform: scale(.9); }
.flash { position: absolute; inset: 0; background: #fff; z-index: 4; pointer-events: none; animation: flash .35s ease-out forwards; }
@keyframes flash { from { opacity: .85; } to { opacity: 0; } }

/* ── Resultado ── */
.modos { max-width: 360px; margin: 0 auto; }
.marco-res { width: min(calc(100vw - 32px), calc(60dvh * 9 / 16)); aspect-ratio: 9 / 16; margin: 0 auto; background: var(--sup); border-radius: 24px; overflow: hidden; box-shadow: var(--sombra), 0 0 0 1px var(--linea-2); }
.marco-res img { width: 100%; height: 100%; object-fit: cover; }
.botonera { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 520px; width: 100%; margin: 0 auto; }
.bloque { display: grid; gap: 10px; max-width: 520px; width: 100%; margin: 0 auto; }
.bloque p { margin: 0; color: var(--suave); }

/* ── Panel admin ── */
.tabla-caja { overflow-x: auto; border-radius: 20px; border: 1px solid var(--linea); background: var(--sup); }
.tabla { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.tabla th { text-align: left; padding: 12px 14px; font-stretch: 112%; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--tenue); font-weight: 700; border-bottom: 1px solid var(--linea); position: sticky; top: 0; background: var(--sup); }
.tabla td { padding: 11px 14px; border-bottom: 1px solid var(--linea); vertical-align: middle; }
.tabla tr:last-child td { border-bottom: 0; }
.tabla tr:hover td { background: rgba(255, 255, 255, .02); }
.tabla input.mini { width: 120px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--linea-2); background: rgba(0, 0, 0, .35); color: var(--texto); font: 600 14px var(--f); }
.tabla input.mini:focus { outline: none; border-color: var(--cyan); }
.tabla select.mini { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--linea-2); background: var(--sup-2); color: var(--texto); font: 600 13px var(--f); }
.punto-estado { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .06); }
.punto-estado.nueva, .punto-estado.pendiente { background: rgba(255, 35, 35, .14); color: #ff8a8a; }
.punto-estado.ganada, .punto-estado.completada, .punto-estado.aceptada { background: rgba(25, 240, 255, .12); color: var(--cyan); }
.toggle-mini { width: 44px; height: 26px; border-radius: 99px; border: 0; background: var(--sup-3); position: relative; transition: background .25s; }
.toggle-mini::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .3s var(--resorte); }
.toggle-mini[aria-pressed="true"] { background: var(--cyan); } .toggle-mini[aria-pressed="true"]::after { transform: translateX(18px); background: #050507; }

/* ── Salón / simulador ── */
.simulador { display: grid; gap: 16px; }
.sim-filas { display: grid; gap: 14px; }
.sim-fila { display: grid; gap: 8px; }
.sim-fila label { display: flex; justify-content: space-between; font-weight: 700; font-size: 14px; color: var(--suave); }
.sim-fila label b { color: var(--texto); font-variant-numeric: tabular-nums; }
.sim-fila input[type=range] { width: 100%; accent-color: var(--cyan); }
.sim-res { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sim-res div { padding: 16px; border-radius: 18px; background: rgba(0, 0, 0, .3); border: 1px solid var(--linea); }
.sim-res b { display: block; font-stretch: 125%; font-weight: 900; font-size: clamp(22px, 5vw, 30px); line-height: 1.05; }
.sim-res span { font-size: 12.5px; color: var(--tenue); font-weight: 600; }
.sim-res .dinero b { color: var(--cyan); } .sim-res .alcance b { color: var(--rojo); }
.escalones { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: esc; }
.escalones li { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 18px; background: rgba(0, 0, 0, .25); border: 1px solid var(--linea); font-weight: 700; }
.escalones li::before { counter-increment: esc; content: "0" counter(esc); flex: none; font-stretch: 125%; font-weight: 900; font-size: 12px; color: #050507; background: var(--grad); border-radius: 99px; padding: 6px 10px; }
.foto-pablo { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 20px; background: rgba(0, 0, 0, .3); border: 1px solid var(--linea); }
.foto-pablo .ini { width: 58px; height: 58px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--grad-d); color: #050507; font-stretch: 125%; font-weight: 900; font-size: 20px; }
.foto-pablo b { display: block; } .foto-pablo span { color: var(--tenue); font-size: 13.5px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ── Cliente: 3 pasos, ficha, pedido, ticket ── */
.pasos-cliente { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 10px; counter-reset: pc; max-width: 520px; }
.pasos-cliente li { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; padding: 10px 12px; border-radius: 16px; background: rgba(5, 5, 7, .55); border: 1px solid var(--linea-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: entra .5s var(--suave-c) both; }
.pasos-cliente li:nth-child(2) { animation-delay: .12s; } .pasos-cliente li:nth-child(3) { animation-delay: .24s; }
.pasos-cliente li::before { counter-increment: pc; content: counter(pc); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-d); color: #050507; font-stretch: 125%; font-weight: 900; font-size: 17px; }
.pasos-cliente b { font-weight: 800; font-size: 15.5px; } .pasos-cliente span { font-size: 12.5px; color: var(--tenue); }
.acciones-grid.dos { grid-template-columns: repeat(2, 1fr); }
.puesto-activo { text-decoration: none; }
.ficha-dis { display: grid; place-items: center; padding: 6px 0; }
.disco-grande { width: min(260px, 70vw); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: #ece8e3; box-shadow: inset 0 -10px 24px rgba(0, 0, 0, .2), 0 30px 60px -20px rgba(25, 240, 255, .35), 0 0 0 6px rgba(255, 255, 255, .04); animation: gira-in .6s var(--resorte) both; }
.disco-grande img { width: 62%; filter: invert(1); }
@keyframes gira-in { from { transform: rotate(-25deg) scale(.7); opacity: 0; } }
.item-tat { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--linea); animation: entra .35s var(--suave-c) both; }
.item-tat:last-of-type { border-bottom: 0; }
.item-tat b { display: block; font-size: 15px; } .item-tat small { color: var(--rojo); font-stretch: 125%; font-weight: 800; font-size: 11px; letter-spacing: .08em; }
.disco-mini { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #ece8e3; }
.disco-mini img { width: 64%; filter: invert(1); }
.puesto-linea { display: flex; gap: 12px; align-items: center; } .puesto-linea img { width: 46px; height: 46px; }
.puesto-linea small { display: block; color: var(--tenue); font-size: 12px; } .puesto-linea b { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 17px; }
.total-tat { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-block: 1px solid var(--linea); }
.total-tat span { color: var(--suave); } .total-tat b { font-stretch: 112%; font-weight: 900; font-size: 24px; }
.metodos { display: grid; gap: 8px; }
@media (min-width: 560px) { .metodos { grid-template-columns: repeat(3, 1fr); } }
.metodo { text-align: left; display: grid; gap: 3px; padding: 14px; border-radius: 16px; border: 1.5px solid var(--linea-2); background: rgba(0, 0, 0, .25); transition: border-color .2s, background .2s, transform .2s var(--resorte); }
.metodo:active { transform: scale(.97); }
.metodo b { font-weight: 800; } .metodo span { font-size: 12.5px; color: var(--tenue); }
.metodo[aria-pressed="true"] { border-color: var(--cyan); background: rgba(25, 240, 255, .08); box-shadow: 0 0 0 4px rgba(25, 240, 255, .1); }
.fila-ticket { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--linea); }
.fila-ticket b { font-size: 20px; color: var(--cyan); } .fila-ticket span { font-weight: 700; } .fila-ticket small { display: block; color: var(--tenue); font-weight: 500; font-size: 12px; }
.ticket { position: relative; padding: 26px 22px 22px; border-radius: 28px; background: linear-gradient(180deg, #14181e, #0c0f13); border: 1px solid var(--linea-2); display: grid; gap: 12px; box-shadow: var(--sombra), 0 30px 80px -40px rgba(25, 240, 255, .5); max-width: 520px; width: 100%; margin: 0 auto; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 132px; width: 26px; height: 26px; border-radius: 50%; background: var(--fondo); border: 1px solid var(--linea-2); }
.ticket::before { left: -14px; } .ticket::after { right: -14px; }
.ticket .numero { text-align: center; font-stretch: 125%; font-weight: 900; font-size: 88px; line-height: 1; color: var(--tenue); }
.ticket .numero span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ticket.pagada .numero span, .ticket.hecha .numero span { animation: late-num 1.6s ease-in-out infinite; display: inline-block; }
@keyframes late-num { 50% { transform: scale(1.06); filter: drop-shadow(0 0 18px rgba(25, 240, 255, .6)); } }
.ticket .para { text-align: center; margin: -4px 0 4px; font-weight: 800; font-size: 18px; border-bottom: 2px dashed var(--linea-2); padding-bottom: 16px; }
.ticket ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ticket li { display: flex; justify-content: space-between; font-weight: 700; } .ticket li small { color: var(--rojo); font-stretch: 125%; font-weight: 800; }
.pago-datos { max-width: 520px; width: 100%; margin: 0 auto; }
.alias { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; border-radius: 20px; border: 1.5px dashed var(--cyan); background: rgba(25, 240, 255, .05); }
.alias small { display: block; color: var(--tenue); font-size: 12px; } .alias b { display: block; font-size: 19px; font-weight: 800; overflow-wrap: anywhere; margin: 2px 0; }
.visor-qr { position: relative; } .visor-qr .mira { position: absolute; inset: 18%; border: 3px solid var(--cyan); border-radius: 24px; box-shadow: 0 0 0 999px rgba(0, 0, 0, .35), 0 0 30px rgba(25, 240, 255, .5); animation: mira 1.6s ease-in-out infinite; }
@keyframes mira { 50% { inset: 21%; } }

/* ── Puesto del tatuador ── */
.qr-panel { justify-items: center; text-align: center; }
.qr-caja { width: min(300px, 76vw); padding: 16px 16px 12px; background: #fff; border-radius: 26px; display: grid; gap: 6px; justify-items: center; box-shadow: 0 30px 70px -30px rgba(25, 240, 255, .6); }
.qr-caja svg { width: 100%; height: auto; display: block; }
.qr-caja b { color: #050507; font-size: 26px; letter-spacing: .2em; }
.venta { display: grid; grid-template-columns: 64px 1fr; gap: 6px 12px; padding: 14px; border-radius: 20px; background: rgba(0, 0, 0, .28); border: 1px solid var(--linea); animation: entra .35s var(--suave-c) both; }
.venta .num { font-size: 26px; color: var(--cyan); grid-row: span 2; align-self: center; }
.venta .det { display: grid; gap: 2px; min-width: 0; } .venta .det b { font-size: 16px; } .venta .det span { font-size: 13.5px; color: var(--suave); } .venta .det small { font-size: 12px; color: var(--tenue); }
.venta .acc { display: flex; gap: 8px; flex-wrap: wrap; }
.venta.pendiente { border-color: rgba(255, 35, 35, .45); background: linear-gradient(160deg, rgba(255, 35, 35, .1), rgba(0, 0, 0, .25)); }
.venta.pagada { border-color: rgba(25, 240, 255, .45); background: linear-gradient(160deg, rgba(25, 240, 255, .08), rgba(0, 0, 0, .25)); }
.venta.hecha, .venta.cancelada { opacity: .6; }
.cfg-puesto summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 6px; } .cfg-puesto summary::-webkit-details-marker { display: none; }
.chk { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--linea-2); font-weight: 700; font-size: 14px; }
.chk input { accent-color: var(--cyan); width: 18px; height: 18px; }


/* ── Mapa: elegir tatuador ── */
.lista-cerca { display: grid; gap: 8px; max-height: 46dvh; overflow-y: auto; overscroll-behavior: contain; padding-right: 2px; }
.hoja:not(.abierta) .lista-cerca { max-height: 30dvh; }
@media (min-width: 1000px) { .lista-cerca, .hoja:not(.abierta) .lista-cerca { max-height: none; } }
.tat-cerca { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: rgba(0, 0, 0, .28); border: 1px solid var(--linea); animation: entra .35s var(--suave-c) both; }
.tat-cerca > div { min-width: 0; cursor: pointer; }
.tat-cerca b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tat-cerca small { color: var(--tenue); font-size: 12px; }
.tat-cerca.ahora { border-color: rgba(25, 240, 255, .45); }
.tat-cerca .ini, .tat-elegido .ini { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--rojo); color: #fff; font-stretch: 112%; font-weight: 900; border: 2px solid #fff; }
.tat-cerca.ahora .ini { background: var(--cyan); color: #050507; }
.tat-elegido { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 18px; border: 1.5px solid var(--cyan); background: rgba(25, 240, 255, .07); }
.tat-elegido .ini { width: 48px; height: 48px; }
.tat-elegido small { display: block; color: var(--tenue); font-size: 12px; } .tat-elegido b { display: block; font-stretch: 112%; font-weight: 900; font-size: 17px; text-transform: uppercase; }
.pin-aplicador.tempo { box-shadow: 0 0 0 4px rgba(25, 240, 255, .35), 0 6px 16px rgba(255, 35, 35, .6); }
.pin-aplicador.elegido { transform: scale(1.3); background: var(--cyan); color: #050507; box-shadow: 0 0 0 8px rgba(25, 240, 255, .3), 0 8px 20px rgba(25, 240, 255, .7); }
.pop .btn { min-height: 36px; padding: 0 14px; font-size: 13px; }

#btn-sin-elegir { white-space: normal; line-height: 1.3; text-align: center; padding-block: 10px; }

/* ── Novedades (cliente) ── */
.inversion { display: grid; gap: 12px; }
@media (min-width: 760px) { .inversion { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1300px) { .inversion { grid-template-columns: repeat(4, 1fr); } }
.inv { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 22px; background: var(--sup); border: 1px solid var(--linea); animation: entra .5s var(--suave-c) both; }
.inv:nth-child(2) { animation-delay: .08s; } .inv:nth-child(3) { animation-delay: .16s; } .inv:nth-child(4) { animation-delay: .24s; }
@media (min-width: 1300px) { .inv { grid-template-columns: 1fr; } }
.inv .foto { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #fff; }
.inv .foto img { width: 100%; height: 100%; object-fit: cover; }
.inv .n { position: absolute; top: 8px; left: 8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-d); color: #050507; font-stretch: 125%; font-weight: 900; font-size: 13px; }
.inv b { display: block; font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 15px; }
.inv p { margin: 4px 0 6px; color: var(--suave); font-size: 13.5px; }
.inv .precio { font-weight: 800; color: var(--cyan); font-size: 14px; }
.novedades { display: grid; gap: 14px; }
@media (min-width: 760px) { .novedades { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1300px) { .novedades { grid-template-columns: repeat(3, 1fr); } }
.nov { display: grid; gap: 12px; padding: 14px; border-radius: 24px; background: var(--sup); border: 1px solid var(--linea); transition: transform .25s var(--resorte), border-color .25s; }
.nov:hover { transform: translateY(-3px); border-color: rgba(25, 240, 255, .35); }
.nov .fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.nov .fotos img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 14px; background: #fff; }
.nov .fotos img:only-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.nov .txt b { display: block; font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 18px; margin-top: 6px; }
.nov .txt p { margin: 4px 0; color: var(--suave); font-size: 14px; }
.nov .txt small { color: var(--tenue); font-size: 12px; }
.sello-nuevo { display: inline-block; padding: 4px 10px; border-radius: 99px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--rojo); color: #fff; animation: late-nuevo 2.4s ease-in-out infinite; }
@keyframes late-nuevo { 50% { box-shadow: 0 0 0 6px rgba(255, 35, 35, .18); } }

.variantes { display: grid; gap: 10px; max-height: 52dvh; overflow-y: auto; }
.variantes .item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: rgba(0, 0, 0, .25); border: 1px solid var(--linea); }
.variantes .item img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: #fff; }
.variantes .item b { font-size: 13.5px; line-height: 1.3; display: block; } .variantes .item small { color: var(--tenue); }

/* ── Universo Tempo ── */
.puertas { display: grid; gap: 12px; }
@media (min-width: 900px) { .puertas { grid-template-columns: repeat(3, 1fr); } }
.puerta-u { display: grid; grid-template-columns: 76px 1fr 24px; gap: 14px; align-items: center; padding: 12px; border-radius: 22px; background: var(--sup); border: 1px solid var(--linea); transition: transform .25s var(--resorte), border-color .25s, box-shadow .3s; animation: entra .5s var(--suave-c) both; }
.puerta-u:nth-child(2) { animation-delay: .08s; } .puerta-u:nth-child(3) { animation-delay: .16s; }
.puerta-u:hover { transform: translateY(-3px); border-color: rgba(25, 240, 255, .35); }
.puerta-u:active { transform: scale(.97); }
.puerta-u img { width: 76px; height: 76px; border-radius: 16px; object-fit: cover; }
.puerta-u b { display: block; font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 16px; }
.puerta-u span { font-size: 13px; color: var(--tenue); }
.puerta-u svg { color: var(--cyan); }
.puerta-u.d { background: linear-gradient(var(--sup), var(--sup)) padding-box, conic-gradient(from var(--ang, 0deg), var(--rojo), var(--cyan), var(--rojo)) border-box; border: 1.5px solid transparent; animation: entra .5s var(--suave-c) .08s both, vivo 6s linear infinite; }
@media (min-width: 900px) { .puerta-u { grid-template-columns: 1fr; text-align: left; } .puerta-u img { width: 100%; height: 170px; } .puerta-u svg { justify-self: end; } }
.cinta-nov { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
.cinta-nov::-webkit-scrollbar { display: none; }
.nov-mini { position: relative; flex: none; width: 150px; border-radius: 18px; overflow: hidden; background: var(--sup); border: 1px solid var(--linea); }
.nov-mini img { width: 150px; height: 150px; object-fit: cover; background: #fff; }
.nov-mini .sello-nuevo { position: absolute; top: 8px; left: 8px; }
.nov-mini b { display: block; padding: 10px; font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 12px; }
.ciudad-caja { display: grid; gap: 14px; }
.ciudad-titulo { font-size: clamp(20px, 5vw, 30px); }
.datos-ciudad { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.datos-ciudad div { padding: 12px; border-radius: 16px; background: rgba(0, 0, 0, .3); border: 1px solid var(--linea); }
.datos-ciudad b { display: block; font-stretch: 125%; font-weight: 900; font-size: 22px; color: var(--cyan); line-height: 1.1; }
.datos-ciudad small { color: var(--tenue); font-size: 12px; }
.ciudad-caja select, .campo select { width: 100%; padding: 13px; border-radius: 14px; border: 1.5px solid var(--linea-2); background: rgba(0, 0, 0, .35); color: var(--texto); font: 600 15px var(--f); }
.otra-ciudad summary { cursor: pointer; color: var(--cyan); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.programa { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .programa { grid-template-columns: repeat(4, 1fr); } }
.prog-item { display: grid; gap: 4px; padding: 8px; border-radius: 16px; background: rgba(0, 0, 0, .3); border: 1px solid var(--linea); }
.prog-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: #fff; }
.prog-item b { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 12.5px; margin-top: 4px; }
.prog-item small { color: var(--tenue); font-size: 11.5px; }

/* ── Panel: Números (administrador general) y Canales (ventas) ── */
.segmentado[data-desliza] { overflow-x: auto; scrollbar-width: none; grid-auto-columns: minmax(max-content, 1fr); }
.segmentado[data-desliza]::-webkit-scrollbar { display: none; }
.segmentado[data-desliza] button { padding: 10px 14px; white-space: nowrap; }
.tenue + .tabla, input.mini + .tabla { margin-top: 10px; }
input.mini { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--linea-2); background: rgba(0, 0, 0, .35); color: var(--texto); font: 600 14px var(--f); }
input.mini:focus { outline: none; border-color: var(--cyan); }
.grafico { gap: 10px; }
.grafico h2 em, .cabeza-sec h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.svg-graf { width: 100%; height: auto; overflow: visible; }
.svg-graf .grilla { stroke: rgba(255, 255, 255, .07); stroke-width: 1; }
.svg-graf .eje { fill: var(--tenue); font: 600 11px var(--f); }
.svg-graf .eti { fill: var(--suave); font: 800 12px var(--f); }
.svg-graf .barra { transition: opacity .2s; }
.svg-graf:hover .barra { opacity: .6; } .svg-graf .barra:hover { opacity: 1; }
.pares { display: grid; gap: 10px; }
.leyenda { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--suave); font-weight: 600; }
.leyenda span { display: inline-flex; align-items: center; gap: 6px; }
.leyenda i { width: 10px; height: 10px; border-radius: 3px; }
.par { display: grid; grid-template-columns: minmax(90px, 34%) 1fr; gap: 10px; align-items: center; padding: 3px 0; border-radius: 8px; }
.par:hover { background: rgba(255, 255, 255, .03); }
.par .nom { font-size: 13px; color: var(--suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.par .barras { display: grid; gap: 2px; }
.par .b { position: relative; height: 9px; border-radius: 0 4px 4px 0; min-width: 2px; }
.par .b em { position: absolute; left: calc(100% + 6px); top: 50%; transform: translateY(-50%); font: 700 11px var(--f); color: var(--suave); font-style: normal; }
.par .barras { padding-right: 34px; }
.calor { display: grid; gap: 3px; overflow-x: auto; }
.calor .fila { display: grid; grid-template-columns: 34px repeat(24, minmax(9px, 1fr)); gap: 3px; align-items: center; }
.calor .cab span { font-size: 10px; color: var(--tenue); font-weight: 600; }
.calor .dia { font-size: 11.5px; color: var(--suave); font-weight: 700; }
.calor .cel { aspect-ratio: 1; border-radius: 3px; min-height: 9px; }
.calor .cel:hover { outline: 2px solid #fff; outline-offset: 1px; }
.calor .escala { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 11.5px; color: var(--tenue); }
.calor .escala i { width: 110px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, rgba(25, 240, 255, .06), rgba(25, 240, 255, 1)); }
.colores-v { display: grid; gap: 8px; }
.cv { display: grid; grid-template-columns: 16px 80px 1fr 34px; gap: 10px; align-items: center; font-size: 13px; color: var(--suave); text-transform: capitalize; }
.cv i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--linea-2); }
.cv b { text-align: right; color: var(--texto); }
.barra-n { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .05); overflow: hidden; }
.barra-n div { height: 100%; border-radius: 0 4px 4px 0; background: #0a9fab; }
.recos { display: grid; gap: 12px; }
@media (min-width: 900px) { .recos { grid-template-columns: repeat(2, 1fr); } }
.reco { padding: 16px 18px; border-radius: 18px; background: var(--sup); border: 1px solid var(--linea); display: grid; gap: 6px; align-content: start; }
.reco .tipo { justify-self: start; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; background: rgba(255, 255, 255, .06); color: var(--suave); }
.reco.publicidad .tipo { background: rgba(25, 240, 255, .12); color: var(--cyan); }
.reco.ventas .tipo { background: rgba(255, 35, 35, .14); color: #ff6b6b; }
.reco b { font-size: 16px; } .reco p { margin: 0; color: var(--suave); font-size: 14px; }
.charla { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--linea); }
.charla small { display: block; color: var(--tenue); font-size: 12px; }
.charla p { margin: 4px 0 0; color: var(--suave); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.charla .btn { flex: none; }
.dos-col > .grafico { align-content: start; align-self: start; }
.tabla input.mini:disabled { opacity: .45; cursor: not-allowed; }

/* ── Equipo: ventas y pagos, mapa, equipo ── */
input.mini.corto, .tabla input.mini.corto { width: 76px; }
.vtas-lista { display: grid; gap: 12px; }
@media (min-width: 1100px) { .vtas-lista { grid-template-columns: 1fr 1fr; } }
.vta { padding: 16px 18px; border-radius: 18px; background: var(--sup); border: 1px solid var(--linea); display: grid; gap: 10px; align-content: start; }
.vta.pendiente_pago { border-color: rgba(255, 59, 59, .45); box-shadow: inset 3px 0 0 var(--rojo); }
.vta-cab { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.vta-cab small { display: block; color: var(--tenue); font-size: 12px; margin-top: 2px; }
.vta-total { display: grid; justify-items: end; gap: 6px; }
.vta-total b { font-stretch: 125%; font-weight: 900; font-size: 18px; }
.vta-items { margin: 0; color: var(--suave); font-size: 14px; }
.chip-estado { font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; background: rgba(255, 255, 255, .07); color: var(--suave); white-space: nowrap; }
.chip-estado.pendiente_pago { background: rgba(255, 59, 59, .15); color: #ff7a7a; }
.chip-estado.pagado, .chip-estado.preparando { background: rgba(25, 240, 255, .12); color: var(--cyan); }
.chip-estado.despachado, .chip-estado.entregado { background: rgba(46, 230, 160, .12); color: var(--verde); }
.form-venta { gap: 14px; }
.campos-2 { display: grid; gap: 12px; }
@media (min-width: 700px) { .campos-2 { grid-template-columns: 1fr 1fr; } }
.sugeridos { display: grid; gap: 6px; }
.sugeridos:empty { display: none; }
.sugerido { display: flex; justify-content: space-between; gap: 10px; align-items: center; text-align: left; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--linea-2); background: var(--sup-2); color: var(--texto); font: 600 14px var(--f); }
.sugerido small { color: var(--cyan); font-weight: 800; }
.sugerido:hover { border-color: var(--cyan); }
.items-venta { display: grid; gap: 8px; }
.item-venta { display: grid; grid-template-columns: 1fr 76px 110px auto; gap: 8px; align-items: center; font-size: 14px; }
.item-venta .mini { width: 100%; }
.fila-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--linea); }
.total-venta { font-stretch: 125%; font-weight: 900; font-size: 26px; color: var(--cyan); }
.mapa-equipo { height: min(68vh, 680px); min-height: 380px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--linea); }
.leyenda-mapa { display: flex; gap: 8px; flex-wrap: wrap; }
.leyenda-mapa .chip { display: inline-flex; align-items: center; gap: 8px; }
.leyenda-mapa .chip i { width: 10px; height: 10px; border-radius: 50%; }
.leyenda-mapa .chip[aria-pressed="false"] { opacity: .45; text-decoration: line-through; }
.mapa-equipo .leaflet-control-zoom { display: block; }
.miembros { display: grid; gap: 10px; }
.miembro { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 18px; background: var(--sup); border: 1px solid var(--linea); }
.miembro-dato { display: grid; gap: 2px; min-width: 0; }
.miembro-dato small { font-size: 12px; color: var(--suave); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.miembro-dato small.tenue { color: var(--tenue); }
.barra-bot { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.barra-bot .segmentado { flex: 1 1 320px; max-width: 620px; }
.marco-bot { width: 100%; height: calc(100dvh - 230px); min-height: 520px; border: 1px solid var(--linea); border-radius: var(--r); background: #0b0d10; }
@media (max-width: 999px) { .marco-bot { height: calc(100dvh - 250px - var(--tabs) - var(--abajo)); border-radius: 16px; } }
.comprobante { display: grid; gap: 6px; font-size: 13.5px; color: var(--suave); }
.comprobante span { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.avatar.chico { width: 42px; height: 42px; font-size: 14px; }
select.mini { padding: 9px 10px; border-radius: 10px; border: 1px solid var(--linea-2); background: var(--sup-2); color: var(--texto); font: 600 13px var(--f); }
@media (max-width: 520px) { .miembro { grid-template-columns: auto 1fr; } .miembro select { grid-column: 1 / -1; } .item-venta { grid-template-columns: 1fr 64px 92px auto; } }
.leyenda-mapa .chip[aria-pressed="true"] { background: rgba(255, 255, 255, .06); color: var(--texto); border-color: var(--linea-2); }
.avatar.chico span { font-size: 14px; }
