/* =========================================================
   Pixel Core · Entorno del cliente (/app)
   Escritorio: menú lateral negro + contenido.
   Celular: cabecera negra + barra inferior, instalable como app.
   ========================================================= */
html, body.pxc-body { margin: 0; padding: 0; background: #FBBA00; }
body.pxc-body { min-height: 100vh; -webkit-tap-highlight-color: transparent; }
.pxc-body .pxa-front { container-type: normal; }
.pxc-ico { width: 22px; height: 22px; flex: 0 0 auto; }
.pxc-logo { display: block; height: auto; }

/* ---------- Estructura ---------- */
.pxc { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.pxc-side {
  position: sticky; top: 0; height: 100vh; overflow-y: auto; background: #000; color: #fff;
  display: flex; flex-direction: column; padding: 28px 18px 22px; box-sizing: border-box;
}
.pxc-side__logo { display: block; padding: 0 10px 30px; }
.pxc-side__logo .pxc-logo { width: 104px; }
.pxc-nav { display: flex; flex-direction: column; gap: 4px; }
.pxc-nav a, .pxc-salir, .pxc-wa {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 100px;
  color: #fff !important; text-decoration: none !important; font-weight: 600; font-size: 15px; transition: background .15s, color .15s;
}
.pxc-nav a:hover, .pxc-salir:hover { background: rgba(255,255,255,.1); }
.pxc-nav a.is-on { background: var(--pxa-amarillo); color: #000 !important; font-weight: 800; }
.pxc-side__pie { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.pxc-wa { border: 2px solid var(--pxa-amarillo); color: var(--pxa-amarillo) !important; justify-content: center; }
.pxc-wa:hover { background: var(--pxa-amarillo); color: #000 !important; }
.pxc-yo { display: flex; align-items: center; gap: 10px; padding: 12px 6px 0; border-top: 1px solid rgba(255,255,255,.15); font-size: 14px; font-weight: 700; line-height: 1.25; }
.pxc-yo small { display: block; font-weight: 400; color: #bbb; font-size: 12px; overflow: hidden; text-overflow: ellipsis; max-width: 170px; white-space: nowrap; }
.pxc-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--pxa-amarillo); color: #000; display: grid; place-items: center; font-weight: 900; font-family: var(--pxa-titulo); flex: 0 0 auto; }
.pxc-salir { color: #bbb !important; font-size: 14px; padding: 8px 14px; }

.pxc-main { padding: 40px clamp(20px, 4vw, 56px) 64px; max-width: 1240px; box-sizing: border-box; width: 100%; }
.pxc-top { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.pxc-top__logo { display: none; }
.pxa-front .pxc-h1 { font-family: var(--pxa-titulo); font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 4.4vw, 60px); line-height: .95; margin: 0; letter-spacing: -.01em; }
.pxa-front .pxc-h2 { font-family: var(--pxa-titulo); font-weight: 900; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 30px); line-height: 1; margin: 6px 0 14px; }
.pxc-contenido > .pxc-h2 { margin: 34px 0 16px; }
.pxc-contenido > .pxc-h2:first-child { margin-top: 0; }
.pxc-acciones { margin-bottom: 20px; }
.pxc-volver { font-weight: 700; color: #000 !important; }

/* ---------- Tarjetas del inicio ---------- */
.pxc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pxc-card { background: #fff; border: 2px solid #000; border-radius: var(--pxa-r); padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.pxc-card--ancha { grid-column: 1 / -1; }
.pxc-card--negra { background: #000; color: #fff !important; }
.pxc-card--negra .pxc-eti { color: var(--pxa-amarillo); }
.pxc-card--amarilla { background: var(--pxa-amarillo); }
.pxc-card p { margin: 0 0 12px; }
.pxc-card .pxa-btn { margin-top: auto; }
.pxc-eti { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #666; }
.pxc-vacio { color: #555; }
.pxc-mas { font-weight: 700; color: #000 !important; margin-top: 8px; }
.pxc-lista { list-style: none; margin: 4px 0 0; padding: 0; width: 100%; }
.pxc-lista li { border-top: 1px solid #e3e3e3; margin: 0; }
.pxc-lista li:first-child { border-top: 0; }
.pxc-lista a, .pxc-lista--tabla li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; color: #000 !important; text-decoration: none !important; font-weight: 600; }
.pxc-lista small { display: block; font-weight: 400; color: #666; font-size: 13px; }
.pxc-lista b { white-space: nowrap; }
.pxc-lista--tabla { background: #fff; border: 2px solid #000; border-radius: var(--pxa-r); padding: 8px 22px; }

/* ---------- Cotizar ---------- */
.pxc-servicios { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.pxc-serv { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 2px solid #000; border-radius: var(--pxa-r); padding: 22px; color: #000 !important; text-decoration: none !important; transition: transform .15s; }
.pxc-serv:hover { transform: translateY(-3px); }
.pxc-serv strong { font-family: var(--pxa-titulo); font-weight: 900; text-transform: uppercase; font-size: 22px; line-height: 1.02; }
.pxc-serv > span:not(.pxc-eti) { color: #444; font-size: 14px; }
.pxc-serv em { margin-top: auto; padding-top: 10px; font-style: normal; font-weight: 800; font-size: 14px; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.pxc-serv em .pxc-ico { width: 18px; height: 18px; }
.pxc-serv--on { background: var(--pxa-amarillo); }
.pxc-serv--on .pxc-eti { color: #000; }
.pxc-cotizador .pxa-reserva { margin: 0; }

/* ---------- Pagos ---------- */
.pxc-contenido > .pxa-mi { margin-bottom: 18px; }
.pxc-cuotas { list-style: none; margin: 8px 0 14px; padding: 0; }
.pxc-cuotas li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 9px 0; border-top: 1px solid #e3e3e3; align-items: center; }
.pxc-cuotas em { font-style: normal; font-size: 12px; font-weight: 800; text-transform: uppercase; padding: 3px 10px; border-radius: 100px; background: #eee; }
.pxc-cuotas .is-pagado em { background: #000; color: var(--pxa-amarillo); }
.pxc-cuotas .is-revision em { background: var(--pxa-amarillo); }

/* ---------- Más (celular) ---------- */
.pxc-mas-lista { display: flex; flex-direction: column; background: #fff; border: 2px solid #000; border-radius: var(--pxa-r); overflow: hidden; }
.pxc-mas-lista a { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-top: 1px solid #e3e3e3; color: #000 !important; text-decoration: none !important; font-weight: 700; }
.pxc-mas-lista a:first-child { border-top: 0; }
.pxc-mas-lista a span { flex: 1; }

/* ---------- Instalar app ---------- */
.pxc-instalar { position: fixed; left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; gap: 12px; background: #000; color: #fff; border-radius: 20px; padding: 12px 14px; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.pxc-instalar[hidden] { display: none; }
.pxc-instalar img { width: 44px; height: 44px; border-radius: 12px; }
.pxc-instalar div { flex: 1; font-size: 13px; line-height: 1.3; }
.pxc-instalar strong { display: block; font-size: 14px; }
.pxc-instalar .pxa-btn { padding: 9px 16px; font-size: 13px; }
.pxc-instalar__x { background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }

/* ---------- Login ---------- */
.pxc-login { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.pxc-login__marca { background: #000; color: #fff !important; padding: clamp(32px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.pxc-login__marca .pxc-logo { width: clamp(130px, 14vw, 190px); margin-bottom: 40px; }
.pxa-front .pxc-login__claim { font-family: var(--pxa-titulo); font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 52px); line-height: .98; margin: 0 0 28px; max-width: 520px; }
.pxc-login__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pxc-login__lista li { display: flex; align-items: center; gap: 12px; font-weight: 600; margin: 0; }
.pxc-login__lista li:before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pxa-amarillo); flex: 0 0 auto; }
.pxc-login__form { padding: clamp(32px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; max-width: 560px; box-sizing: border-box; width: 100%; }
.pxc-login__form .pxa-pill { align-self: flex-start; }
.pxc-login__form .pxc-h1 { margin: 16px 0 24px; font-size: clamp(36px, 4vw, 56px); }
.pxc-form { display: flex; flex-direction: column; gap: 16px; }
.pxc-form label { display: flex; flex-direction: column; gap: 7px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }
.pxc-form input[type=text], .pxc-form input[type=password] {
  font: 500 16px var(--pxa-cuerpo); padding: 14px 20px; border: 2px solid #000; border-radius: 100px; background: #fff; color: #000; outline: none;
}
.pxc-form input:focus { box-shadow: 0 0 0 4px var(--pxa-amarillo); }
.pxa-front .pxc-check { flex-direction: row; align-items: center; gap: 10px; text-transform: none; font-weight: 500; font-size: 14px; letter-spacing: 0; }
.pxc-check input { width: 18px; height: 18px; accent-color: #000; }
.pxc-form .pxa-btn { align-self: flex-start; margin-top: 4px; }
.pxc-login__links a { font-weight: 700; color: #000 !important; }
.pxc-login__nuevo { margin-top: 28px; padding-top: 24px; border-top: 1px solid #e2e2e2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pxc-login__nuevo strong, .pxc-login__nuevo > span { flex: 1 0 100%; }
.pxc-login__nuevo span { color: #444; }

/* ---------- Barra inferior (solo celular) ---------- */
.pxc-tabbar { display: none; }

@media (max-width: 1100px) {
  .pxc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .pxc { display: block; }
  .pxc-side { display: none; }
  .pxc-main { padding: 0 16px calc(96px + env(safe-area-inset-bottom)); }
  .pxc-top {
    position: sticky; top: 0; z-index: 30; margin: 0 -16px 20px; padding: calc(14px + env(safe-area-inset-top)) 16px 16px;
    background: #000; color: #fff !important; flex-direction: column; align-items: flex-start; gap: 14px;
  }
  .pxc-top__logo { display: block; width: 62px; }
  .pxa-front .pxc-top .pxc-h1 { font-size: 32px; }
  .pxc-grid { grid-template-columns: 1fr; gap: 14px; }
  .pxc-card { padding: 20px; }
  .pxa-mis { grid-template-columns: 1fr; }
  .pxc-servicios { grid-template-columns: 1fr; }
  .pxa-grid { grid-template-columns: 1fr; }
  .pxc-tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: #000; padding: 8px 6px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid #222;
  }
  .pxc-tabbar a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 2px; border-radius: 14px; color: #bbb !important; text-decoration: none !important; font-size: 11px; font-weight: 700; }
  .pxc-tabbar a.is-on { color: var(--pxa-amarillo) !important; }
  .pxc-tabbar .pxc-ico { width: 24px; height: 24px; }

  .pxc-login { grid-template-columns: 1fr; }
  .pxc-login__marca { padding: calc(28px + env(safe-area-inset-top)) 24px 32px; }
  .pxc-login__marca .pxc-logo { width: 96px; margin-bottom: 22px; }
  .pxa-front .pxc-login__claim { font-size: 28px; margin-bottom: 18px; }
  .pxc-login__lista { display: none; }
  .pxc-login__form { padding: 28px 24px 40px; }
}

/* El fondo negro del menú lateral llega hasta abajo aunque la página sea larga. */
@media (min-width: 901px) { .pxc { background: linear-gradient(to right, #000 264px, transparent 264px); } }
.pxc .pxa-voucher input, .pxc .pxa-voucher select { max-width: 100%; box-sizing: border-box; }
.pxc .pxa-mi { min-width: 0; }
.pxc .pxa-voucher label { min-width: 0; }
.pxc .pxa-voucher input[type=text] { width: 100%; min-width: 0; box-sizing: border-box !important; }

/* =========================================================
   Pixel Core · Entorno del ADMINISTRADOR (mismo /app)
   Fondo gris claro (el cliente usa amarillo) y etiqueta «Pixel Core».
   ========================================================= */
html:has(body.pxc-body--admin), body.pxc-body--admin { background: #ECECEA; }
.pxc-side__core { display: inline-block; margin-top: 12px; padding: 4px 10px; border-radius: 100px; background: var(--pxa-amarillo); color: #000; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.pxc-top__core { display: block; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: #555; margin-bottom: 8px; }
.pxc-nav a { position: relative; }
.pxc-badge { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 100px; background: #E5342B; color: #fff; font-style: normal; font-size: 12px; font-weight: 900; display: inline-grid; place-items: center; box-sizing: border-box; }
.pxc-nav a.is-on .pxc-badge { background: #000; color: var(--pxa-amarillo); }
.pxc-intro { font-size: 17px; margin: 0 0 20px; max-width: 720px; }
.pxc-vista { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #000; color: #fff; border-radius: var(--pxa-r); padding: 12px 18px; margin-bottom: 22px; font-size: 14px; }
.pxc-vista span { flex: 1; }
.pxc-vista a { color: var(--pxa-amarillo) !important; font-weight: 800; }
.pxc .pxa-alerta { margin: 0 0 20px; padding: 13px 18px; border-radius: 14px; font-weight: 700; border: 2px solid #000; background: #fff; }
.pxc .pxa-alerta--ok { background: #000; color: #fff; border-color: #000; }
.pxc .pxa-alerta--ok:before { content: "✓  "; color: var(--pxa-amarillo); }
.pxc .pxa-alerta--error { background: #E5342B; color: #fff; border-color: #E5342B; }
.pxc .pxa-alerta--aviso { background: var(--pxa-amarillo); }

/* KPIs */
.pxc-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.pxc-kpis--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pxc-kpi { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 2px solid #000; border-radius: var(--pxa-r); padding: 20px 22px; color: #000 !important; text-decoration: none !important; min-width: 0; }
a.pxc-kpi:hover { transform: translateY(-2px); }
.pxc-kpi strong { font-family: var(--pxa-titulo); font-weight: 900; font-size: clamp(30px, 3vw, 42px); line-height: 1; }
.pxc-kpi small { color: #555; font-size: 13px; }
.pxc-kpi--negro { background: #000; color: #fff !important; }
.pxc-kpi--negro .pxc-eti { color: var(--pxa-amarillo); }
.pxc-kpi--negro small { color: #bbb; }
.pxc-kpi--alerta { background: var(--pxa-amarillo); }
.pxc-kpi--alerta .pxc-eti, .pxc-kpi--alerta small { color: #000; }
.pxc-progreso { width: 100%; height: 8px; border-radius: 10px; background: rgba(127,127,127,.25); overflow: hidden; margin: 8px 0 2px; }
.pxc-progreso span { display: block; height: 100%; background: var(--pxa-amarillo); border-radius: 10px; }
.pxc-card--doble { grid-column: span 2; }

/* Agenda */
.pxc-agenda { list-style: none; margin: 6px 0 14px; padding: 0; width: 100%; }
.pxc-ag { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.18); margin: 0; }
.pxc-ag:first-child { border-top: 0; }
.pxc-ag__hora { font-family: var(--pxa-titulo); font-weight: 900; font-size: 15px; text-transform: uppercase; }
.pxc-ag__txt { color: inherit !important; text-decoration: none !important; min-width: 0; border-left: 4px solid var(--pxa-amarillo); padding-left: 12px; }
.pxc-ag__txt strong { display: block; font-size: 16px; }
.pxc-ag__txt small { display: block; opacity: .75; font-size: 13px; }
.pxc-ag--proyecto .pxc-ag__txt { border-left-color: #7FB4FF; }
.pxc-ag.is-pendiente_pago .pxc-ag__txt { border-left-style: dashed; border-left-color: #aaa; }
.pxc-ag__meet { font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 100px; background: var(--pxa-amarillo); color: #000 !important; text-decoration: none !important; }
.pxc-agenda--clara .pxc-ag { border-top-color: #e3e3e3; }
.pxc-agenda--clara .pxc-ag--proyecto .pxc-ag__txt { border-left-color: #2F6FD6; }
.pxc-agenda--clara .pxc-ag--asesoria .pxc-ag__txt { border-left-color: #000; }

/* Calendario */
.pxc-cal-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 0 0 10px; }
.pxc-contenido > .pxc-cal-top { margin-top: 34px; }
.pxc-contenido > .pxc-cal-top:first-child { margin-top: 0; }
.pxc-cal-top .pxc-h2 { margin: 0; }
.pxc-cal-top nav { display: flex; gap: 8px; }
.pxc-cal-top .pxa-btn { padding: 9px 16px; }
.pxc-cal-resumen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: #444; margin: 0 0 14px; }
.pxc-leyenda { display: flex; gap: 14px; align-items: center; font-size: 13px; font-weight: 700; }
.pxc-leyenda i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; margin-right: -8px; }
.pxc-leyenda .is-asesoria { background: #000; }
.pxc-leyenda .is-pendiente { background: #fff; border: 2px dashed #888; box-sizing: border-box; }
.pxc-leyenda .is-proyecto { background: #2F6FD6; }
.pxc-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: #fff; border: 2px solid #000; border-radius: var(--pxa-r); overflow: hidden; }
.pxc-cal__dn { padding: 10px 10px 8px; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; background: #000; color: #fff; }
.pxc-cal__dia { min-height: 112px; padding: 8px; border-top: 1px solid #e3e3e3; border-left: 1px solid #e3e3e3; display: flex; flex-direction: column; gap: 4px; color: #000 !important; text-decoration: none !important; min-width: 0; box-sizing: border-box; }
.pxc-cal__dia:nth-child(7n+1) { border-left: 0; }
.pxc-cal__dia.is-fuera { background: #f6f6f4; }
.pxc-cal__dia.is-pasado .pxc-cal__n { color: #999; }
.pxc-cal__dia.is-con:hover { background: #fffbe9; }
.pxc-cal__n { font-weight: 800; font-size: 14px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.pxc-cal__dia.is-hoy .pxc-cal__n { background: var(--pxa-amarillo); color: #000; }
.pxc-ev { display: block; font-size: 12px; line-height: 1.25; padding: 4px 7px; border-radius: 7px; background: #000; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pxc-ev b { color: var(--pxa-amarillo); }
.pxc-ev--proyecto { background: #2F6FD6; }
.pxc-ev--proyecto b { color: #fff; }
.pxc-ev.is-pendiente { background: #fff; color: #000; border: 1.5px dashed #888; }
.pxc-ev.is-pendiente b { color: #000; }
.pxc-ev--mas { background: none; color: #000; font-weight: 800; padding-left: 2px; }
.pxc-cal__puntos { display: none; }
.pxc-agenda-mes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pxc-agenda-dia { background: #fff; border: 2px solid #000; border-radius: var(--pxa-r); padding: 16px 20px 4px; scroll-margin-top: 90px; }
.pxc-agenda-dia.is-hoy { box-shadow: 0 0 0 4px var(--pxa-amarillo); }
.pxc-agenda-dia:target { box-shadow: 0 0 0 4px #000; }
.pxc-agenda-dia h3 { font-family: var(--pxa-titulo); font-weight: 900; text-transform: uppercase; font-size: 18px; margin: 0 0 4px; }

/* Filtros, formularios y tarjetas */
.pxc-filtros { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.pxc-filtros a { padding: 8px 14px; border-radius: 100px; border: 2px solid #000; background: #fff; color: #000 !important; text-decoration: none !important; font-weight: 800; font-size: 14px; }
.pxc-filtros a.is-on { background: #000; color: #fff !important; }
.pxc-filtros em { font-style: normal; margin-left: 4px; padding: 0 7px; border-radius: 100px; background: var(--pxa-amarillo); color: #000; font-size: 12px; }
.pxa-mi h3 small { font-weight: 600; font-size: .7em; color: #666; text-transform: none; }
.pxa-mi[id] { scroll-margin-top: 90px; }
.pxa-mi:target { box-shadow: 0 0 0 4px var(--pxa-amarillo); }
.pxc-f { margin: 0; }
.pxc-f__fila { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 10px 0 4px; }
.pxc-f__fila label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; flex: 1 1 160px; min-width: 0; }
.pxc-f__fila input, .pxc-f__fila select { border: 2px solid #000; border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 15px; background: #fff; width: 100%; box-sizing: border-box; min-width: 0; text-transform: none; letter-spacing: 0; font-weight: 500; }
.pxc-voucher { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; background: #fff7d6; border: 1.5px dashed #000; border-radius: 12px; padding: 9px 12px; font-size: 13px; margin: 6px 0; }
.pxc-voucher span { display: flex; align-items: center; gap: 6px; }
.pxc-voucher .pxc-ico { width: 18px; height: 18px; }
.pxc-voucher a { font-weight: 800; color: #000 !important; }
.pxc-mas-acc { margin-top: 10px; border-top: 1px solid #e3e3e3; padding-top: 8px; }
.pxc-mas-acc summary { cursor: pointer; font-weight: 800; font-size: 14px; padding: 4px 0; }
.pxa-mi__acc form { display: inline-flex; margin: 0; }
.pxc-cuotas__acc { display: flex !important; gap: 8px; flex-wrap: wrap; border-top: 0 !important; padding-top: 0 !important; }
.pxc-cuotas__acc form { margin: 0; }
.pxc-cuotas .pxc-voucher { margin-top: 6px; }
.pxc-datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 18px; margin: 10px 0; width: 100%; }
.pxc-datos dt { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #666; }
.pxc-datos dd { margin: 2px 0 0; font-weight: 700; word-break: break-word; }
.pxc-datos a { color: #000 !important; }
.pxc-acuerdo .pxc-progreso { background: #eee; }
.pxc-acuerdo .pxc-progreso span { background: #000; }

/* Clientes */
.pxc-buscar { display: flex; gap: 10px; margin-bottom: 18px; }
.pxc-buscar input { flex: 1; min-width: 0; border: 2px solid #000; border-radius: 100px; padding: 12px 18px; font: inherit; font-size: 15px; background: #fff; }
.pxc-clientes a { justify-content: flex-start !important; }
.pxc-clientes__txt { flex: 1; min-width: 0; }
.pxc-clientes__n { color: #666; font-weight: 600; white-space: nowrap; }
.pxc-ficha { gap: 10px; }
.pxc-ficha__top { display: flex; align-items: center; gap: 16px; }
.pxc-ficha__top .pxc-h2 { margin: 0; }
.pxc-ficha__top p { margin: 4px 0 0; color: #555; }
.pxc-avatar--xl { width: 64px; height: 64px; font-size: 28px; }
.pxc-notas { background: #f6f6f4; border-radius: 12px; padding: 12px 16px; width: 100%; box-sizing: border-box; }
.pxc-notas p { margin: 4px 0 0; }
.pxc-tabbar a { position: relative; }
.pxc-tabbar .pxc-badge { position: absolute; top: 0; left: 50%; margin-left: 6px; min-width: 18px; height: 18px; font-size: 11px; padding: 0 4px; }

@media (max-width: 1100px) {
  .pxc-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pxc-agenda-mes { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .pxc-card--doble { grid-column: auto; }
  .pxc-kpis, .pxc-kpis--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pxc-kpis--3 .pxc-kpi:first-child { grid-column: 1 / -1; }
  .pxc-kpi { padding: 14px 16px; }
  .pxc-kpi strong { font-size: 28px; }
  .pxc-top__core { color: var(--pxa-amarillo); margin-bottom: 4px; }
  .pxc-ag { grid-template-columns: 74px minmax(0, 1fr); }
  .pxc-ag__meet { grid-column: 2; justify-self: start; }
  .pxc-cal__dn { padding: 8px 0; text-align: center; font-size: 11px; }
  .pxc-cal__dia { min-height: 54px; padding: 4px 2px; align-items: center; }
  .pxc-cal__n { width: 26px; height: 26px; font-size: 13px; }
  .pxc-ev { display: none; }
  .pxc-cal__puntos { display: flex; gap: 3px; }
  .pxc-cal__puntos i { width: 6px; height: 6px; border-radius: 50%; background: #000; }
  .pxc-leyenda { display: none; }
  .pxc-clientes__n { display: none; }
  .pxc-f__fila .pxa-btn { width: 100%; }
  .pxc-vista { border-radius: 0 0 14px 14px; margin: 0 -16px 16px; }
}
body.pxc-body--admin .pxa-front.pxc { background-color: #ECECEA; }
.pxc-cuotas__acc .pxc-voucher { width: 100%; margin: 0 0 4px; }
.pxc-cuotas em { white-space: nowrap; }

/* =========================================================
   Matrices por pasos (brief, y luego ADN de marca)
   ========================================================= */
.pxc-mx-cab { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: end; background: #000; color: #fff; border-radius: var(--pxa-r); padding: 26px 28px; margin-bottom: 16px; }
.pxc-mx-cab .pxc-eti { color: var(--pxa-amarillo); }
.pxc-mx-cab .pxc-h2 { margin: 6px 0 8px; }
.pxc-mx-cab p { margin: 0; color: #ddd; max-width: 620px; }
.pxc-mx-avance strong { font-family: var(--pxa-titulo); font-weight: 900; font-size: 44px; line-height: 1; }
.pxc-mx-estado { display: block; font-size: 13px; color: #bbb; margin-top: 4px; min-height: 18px; }
.pxc-mx-estado.is-ok:before { content: "✓ "; color: var(--pxa-amarillo); }
.pxc-mx-estado.is-guardando { color: var(--pxa-amarillo); }
.pxc-mx-estado.is-error { color: #ff8a80; }

.pxc-mx-pasos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; position: sticky; top: 0; z-index: 20; padding: 8px 0; background: inherit; }
.pxc-body .pxc-mx-pasos { background: #FBBA00; }
.pxc-mx-pasos a { position: relative; display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid #000; border-radius: 16px; padding: 10px 12px; color: #000 !important; text-decoration: none !important; min-width: 0; }
.pxc-mx-pasos__n { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--pxa-titulo); font-weight: 900; font-size: 15px; border: 2px dashed #999; color: #666; }
.pxc-mx-pasos__t { min-width: 0; font-weight: 800; font-size: 14px; line-height: 1.15; }
.pxc-mx-pasos__t small { display: block; font-weight: 600; font-size: 12px; color: #666; }
.pxc-mx-pasos a.is-progreso .pxc-mx-pasos__n { border: 2px solid #000; background: linear-gradient(#000 0 0) bottom / 100% 50% no-repeat, #fff; color: #000; }
.pxc-mx-pasos a.is-progreso .pxc-mx-pasos__n { background: conic-gradient(var(--pxa-amarillo) 0 50%, #fff 50% 100%); }
.pxc-mx-pasos a.is-completo .pxc-mx-pasos__n { border: 2px solid #000; background: #000; color: var(--pxa-amarillo); }
.pxc-mx-pasos a.is-actual { background: #000; color: #fff !important; }
.pxc-mx-pasos a.is-actual small { color: #bbb; }
.pxc-mx-pasos a.is-actual .pxc-mx-pasos__n { border-color: var(--pxa-amarillo); color: var(--pxa-amarillo); }
.pxc-mx-pasos a.is-actual.is-completo .pxc-mx-pasos__n { background: var(--pxa-amarillo); color: #000; }
.pxc-mx-pasos__com { position: absolute; top: -5px; right: -5px; width: 14px; height: 14px; border-radius: 50%; background: #E5342B; border: 2px solid #fff; }
.pxc-mx-paso { background: #fff; border: 2px solid #000; border-radius: var(--pxa-r); padding: 28px clamp(18px, 3vw, 36px); }
.pxc-mx-paso[hidden] { display: none; }
.pxc-mx-paso__cab h3 { font-family: var(--pxa-titulo); font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; margin: 4px 0 18px; }
.pxc-mx-sec { margin: 0 0 30px; }
.pxc-mx-sec h4 { font-family: var(--pxa-titulo); font-weight: 900; text-transform: uppercase; font-size: 22px; line-height: 1.05; margin: 0 0 6px; padding-top: 20px; border-top: 2px solid #000; }
.pxc-mx-sec:first-of-type h4 { border-top: 0; padding-top: 0; }
.pxc-mx-intro { color: #555; margin: 0 0 18px; max-width: 760px; }
.pxc-mx-q { margin: 0 0 22px; }
.pxc-mx-q > label, .pxc-mx-q legend { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; margin: 0 0 10px; padding: 0; max-width: 860px; }
.pxc-mx-q fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pxc-mx-q strong { font-weight: 800; }
.pxc-mx-letra { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; background: var(--pxa-amarillo); color: #000; display: grid; place-items: center; font-weight: 900; font-size: 15px; margin-top: -1px; }
.pxc-mx-opc { font-style: normal; font-size: 12px; font-weight: 800; text-transform: uppercase; color: #666; background: #eee; border-radius: 100px; padding: 2px 8px; margin-left: 4px; white-space: nowrap; }
.pxc-mx-q textarea, .pxc-mx-q input[type=text] { display: block; width: 100%; box-sizing: border-box; border: 2px solid #000; border-radius: 14px; padding: 14px 16px; font: inherit; font-size: 16px; line-height: 1.5; background: #fff; resize: vertical; min-height: 54px; }
.pxc-mx-q textarea { min-height: 130px; }
.pxc-mx-q textarea:focus, .pxc-mx-q input[type=text]:focus { outline: 0; box-shadow: 0 0 0 4px var(--pxa-amarillo); }
.pxc-mx-q--sub { margin-top: -10px; padding-left: 42px; }
.pxc-mx-q--sub > label { font-size: 14px; color: #555; }
.pxc-mx-q--sub textarea { min-height: 80px; }
.pxc-mx-op { display: flex; flex-wrap: wrap; gap: 8px; }
.pxc-mx-op label { display: inline-flex; align-items: center; gap: 8px; border: 2px solid #000; border-radius: 100px; padding: 9px 16px 9px 12px; cursor: pointer; font-weight: 700; font-size: 15px; background: #fff; }
.pxc-mx-op input { width: 18px; height: 18px; accent-color: #000; margin: 0; }
.pxc-mx-op label:has(input:checked) { background: var(--pxa-amarillo); }
.pxc-mx-max { display: block; margin-top: 8px; font-weight: 800; color: #E5342B; }
.pxc-mx-nav { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 2px solid #000; padding-top: 20px; }
.pxc-mx-barra { position: sticky; bottom: 0; z-index: 25; display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; padding: 14px 0; margin-top: 8px; background: #FBBA00; }
.pxc-mx-barra .is-off { opacity: .35; pointer-events: none; }
.pxc-mx-com { background: #fff7d6; border: 2px solid #000; border-left-width: 8px; border-radius: 14px; padding: 12px 16px; margin: 0 0 22px; }
.pxc-mx-com p { margin: 4px 0 0; }

/* Tarjetas y lectura */
.pxc-mx-tarjetas { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; margin-bottom: 18px; }
.pxc-mx-tarjeta .pxc-h2 { margin: 2px 0 6px; }
.pxc-mx-tarjeta.is-off { opacity: .75; border-style: dashed; }
.pxc-mx-tarjeta__avance { display: flex; align-items: center; gap: 12px; width: 100%; }
.pxc-mx-tarjeta__avance .pxc-progreso { flex: 1; background: #eee; margin: 0; }
.pxc-mx-tarjeta__avance .pxc-progreso span { background: #000; }
.pxc-mx-chips { display: flex; gap: 6px; list-style: none; margin: 8px 0; padding: 0; flex-wrap: wrap; }
.pxc-mx-chips li { position: relative; width: 32px; height: 32px; margin: 0; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 13px; border: 2px dashed #999; color: #666; background: #fff; }
.pxc-mx-chips .is-progreso { border: 2px solid #000; color: #000; background: conic-gradient(var(--pxa-amarillo) 0 50%, #fff 50% 100%); }
.pxc-mx-chips .is-completo { border: 2px solid #000; background: #000; color: var(--pxa-amarillo); }
.pxc-mx-chips .tiene-com:after { content: ""; position: absolute; top: -4px; right: -4px; width: 11px; height: 11px; border-radius: 50%; background: #E5342B; border: 2px solid #fff; }
.pxc-mx-aviso { font-weight: 800; margin: 0; }
.pxc-mx-partes { list-style: none; margin: 8px 0; padding: 0; width: 100%; }
.pxc-mx-partes li { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid #e3e3e3; margin: 0; font-weight: 700; font-size: 14px; }
.pxc-mx-partes li:first-child { border-top: 0; }
.pxc-mx-partes span { flex: 1; }
.pxc-mx-partes .pxc-mx-pasos__com { position: static; width: 10px; height: 10px; border: 0; }
.pxc-mx-tag { font-style: normal; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 100px; background: #eee; color: #555; white-space: nowrap; }
.pxc-mx-tag.is-progreso { background: var(--pxa-amarillo); color: #000; }
.pxc-mx-tag.is-completo { background: #000; color: var(--pxa-amarillo); }
.pxc-mx-lectura { display: flex; flex-direction: column; gap: 16px; }
.pxc-mx-ver h3 { margin-bottom: 4px !important; }
.pxc-mx-ver__sec { font-family: var(--pxa-titulo); font-weight: 900; text-transform: uppercase; font-size: 17px; margin: 18px 0 8px; padding-top: 12px; border-top: 2px solid #000; }
.pxc-mx-ver__q { margin: 0 0 12px; }
.pxc-mx-ver__p { font-size: 13px; color: #555; }
.pxc-mx-ver__p b { color: #000; }
.pxc-mx-ver__r { margin-top: 4px; border-left: 4px solid var(--pxa-amarillo); padding: 2px 0 2px 12px; font-size: 15px; white-space: normal; }
.pxc-mx-ver__q.is-vacia .pxc-mx-ver__r { border-left-color: #ddd; color: #999; font-style: italic; }
.pxc-mx-comform { margin-top: 14px; padding-top: 14px; border-top: 2px dashed #000; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.pxc-mx-comform label { width: 100%; display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.pxc-mx-comform textarea { width: 100%; box-sizing: border-box; border: 2px solid #000; border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 15px; text-transform: none; font-weight: 500; }
.pxc-mx-comform small { color: #666; }
.pxc-mx-saltos { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.pxc-mx-saltos a { padding: 6px 12px; border-radius: 100px; border: 2px dashed #999; color: #000 !important; text-decoration: none !important; font-weight: 800; font-size: 13px; }
.pxc-mx-saltos a.is-progreso { border: 2px solid #000; background: var(--pxa-amarillo); }
.pxc-mx-saltos a.is-completo { border: 2px solid #000; background: #000; color: var(--pxa-amarillo) !important; }
.pxc-mx-ver { scroll-margin-top: 90px; }
body.pxc-body--admin .pxc-mx-barra, body.pxc-body--admin .pxc-mx-pasos { background: #ECECEA; }

@media (max-width: 1100px) {
  .pxc-mx-pasos { display: flex; overflow-x: auto; scrollbar-width: none; }
  .pxc-mx-pasos a { flex: 0 0 auto; }
}
@media (max-width: 900px) {
  .pxc-mx-cab { grid-template-columns: 1fr; padding: 20px; gap: 14px; }
  .pxc-mx-avance strong { font-size: 34px; }
  .pxc-mx-pasos { position: static; margin: 0 -16px 14px; padding: 4px 16px 8px; }
  .pxc-mx-pasos a { padding: 7px 10px; gap: 8px; border-radius: 14px; }
  .pxc-mx-pasos__n { width: 28px; height: 28px; font-size: 13px; }
  .pxc-mx-pasos__t { font-size: 13px; }
  .pxc-mx-paso { padding: 20px 16px; }
  .pxc-mx-q > label, .pxc-mx-q legend { font-size: 15px; gap: 10px; }
  .pxc-mx-q--sub { padding-left: 0; }
  .pxc-mx-barra { bottom: calc(76px + env(safe-area-inset-bottom)); margin: 8px -16px 0; padding: 10px 16px; }
  .pxc-mx-barra .pxa-btn { flex: 1 1 auto; justify-content: center; }
  .pxc-mx-nav .pxa-btn { flex: 1 1 auto; text-align: center; justify-content: center; }
  .pxc-mx-tarjetas { grid-template-columns: 1fr; }
}
.pxc-mx-pasos__n, .pxc-mx-chips li { width: auto !important; min-width: 34px; padding: 0 9px; border-radius: 100px !important; box-sizing: border-box; }
.pxc-mx-chips li { min-width: 32px; padding: 0 8px; }
.pxc-mx-barra .pxa-btn--line { background: #fff; }
@media (max-width: 900px) {
  .pxc-mx-pasos__n { min-width: 28px; padding: 0 7px; }
  .pxc-mx-barra { flex-wrap: nowrap; gap: 8px; }
  .pxa-front .pxc-mx-barra .pxa-btn { padding: 11px 12px; font-size: 13px; line-height: 1.15; }
  .pxc-mx-barra .pxc-ico { width: 18px; height: 18px; }
}
.pxc-mx-pasos a.is-actual.is-progreso .pxc-mx-pasos__n { color: #000; border-color: var(--pxa-amarillo); }

/* =========================================================
   Textos tipo historia
   ========================================================= */
.pxc-mx-q__tit { display: none; align-items: center; gap: 10px; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: #555; margin-bottom: 8px; }
.pxc-mx-q__tit .pxc-mx-letra { width: 24px; height: 24px; font-size: 12px; border-radius: 7px; }
.pxc-mx-tx { margin-top: 10px; }
.pxc-mx-tx__gen, .pxc-mx-tx__prop, .pxc-mx-tx__ok { display: none; }
.pxc-mx-q[data-estado="nada"] .pxc-mx-tx__gen { display: flex; }
.pxc-mx-q[data-estado="borrador"] .pxc-mx-tx__prop, .pxc-mx-q[data-estado="editando"] .pxc-mx-tx__prop { display: block; }
.pxc-mx-q[data-estado="aprobado"] .pxc-mx-tx__ok { display: block; }
/* Aprobado: se ve solo el texto. La pregunta y la respuesta quedan en «De dónde salió». */
.pxc-mx-q[data-estado="aprobado"] > label, .pxc-mx-q[data-estado="editando"] > label,
.pxc-mx-q[data-estado="aprobado"] > textarea, .pxc-mx-q[data-estado="editando"] > textarea { display: none; }
.pxc-mx-q[data-estado="aprobado"] .pxc-mx-q__tit, .pxc-mx-q[data-estado="editando"] .pxc-mx-q__tit { display: flex; }
.pxc-mx-q.ver-respuesta > label { display: flex; }
.pxc-mx-q.ver-respuesta > textarea { display: block; margin-bottom: 10px; }
.pxc-mx-tx__gen { align-items: center; gap: 14px; flex-wrap: wrap; }
.pxc-mx-tx__gen span { color: #555; font-size: 14px; }
.pxc-mx-tx__prop { background: #fff7d6; border: 2px solid #000; border-radius: 16px; padding: 16px 18px; }
.pxc-mx-tx__ayuda { margin: 4px 0 10px; font-size: 14px; color: #444; }
.pxc-mx-tx__prop textarea { width: 100%; box-sizing: border-box; border: 2px solid #000; border-radius: 12px; padding: 14px 16px; font: inherit; font-size: 16px; line-height: 1.6; background: #fff; min-height: 170px; resize: vertical; }
.pxc-mx-tx__prop textarea:focus { outline: 0; box-shadow: 0 0 0 4px var(--pxa-amarillo); }
.pxc-mx-tx__acc { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.pxc-mx-tx__acc small { color: #666; font-size: 13px; }
.pxc-mx-tx__ok { border-left: 5px solid var(--pxa-amarillo); padding: 2px 0 2px 18px; }
.pxc-mx-tx__texto p { font-size: 17px; line-height: 1.65; margin: 0 0 12px; max-width: 820px; }
.pxc-mx-tx__viejo { display: none; background: var(--pxa-amarillo); border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: 14px; }
.pxc-mx-tx[data-viejo] .pxc-mx-tx__viejo { display: block; }
.pxc-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; color: #000; }
.pxc-mx-tx__origen { margin: 6px 0 0; font-size: 14px; }
.pxc-mx-tx__origen summary { cursor: pointer; font-weight: 800; color: #555; display: inline-flex; align-items: center; gap: 6px; }
.pxc-mx-tx__origen summary:before { content: "i"; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #555; display: inline-grid; place-items: center; font-size: 11px; font-style: italic; font-family: Georgia, serif; }
.pxc-mx-tx__origen[open] { background: #f6f6f4; border-radius: 12px; padding: 10px 14px; }
.pxc-mx-tx__origen p { margin: 8px 0 0; color: #444; }
.pxc-mx-tx__resp { white-space: normal; border-left: 3px solid #ccc; padding-left: 10px; }
.pxc-mx-tx__msg { margin: 8px 0 0; font-size: 14px; font-weight: 700; min-height: 0; }
.pxc-mx-tx__msg:empty { display: none; }
.pxc-mx-tx__msg.is-error { color: #C62828; }
.pxc-mx-q.is-escribiendo .pxc-mx-tx__gen .pxa-btn, .pxc-mx-q.is-escribiendo .pxc-mx-tx__prop { opacity: .5; }
.pxc-mx-irfinal { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 2px solid #000; border-radius: var(--pxa-r); padding: 14px 20px; margin-bottom: 14px; color: #000 !important; text-decoration: none !important; }
.pxc-mx-irfinal strong { display: block; font-family: var(--pxa-titulo); font-weight: 900; text-transform: uppercase; font-size: 18px; }
.pxc-mx-irfinal small { color: #555; font-weight: 600; }
.pxc-mx-irfinal.is-listo { background: #000; color: #fff !important; }
.pxc-mx-irfinal.is-listo small { color: var(--pxa-amarillo); }

/* Brief final */
.pxc-mx-final__estado { display: flex; flex-direction: column; gap: 2px; background: #fff; border: 2px dashed #000; border-radius: 16px; padding: 14px 18px; margin-bottom: 16px; }
.pxc-mx-final__estado.is-ok { background: #000; color: #fff; border-style: solid; }
.pxc-mx-final__estado.is-ok strong { color: var(--pxa-amarillo); }
.pxc-mx-doc { background: #fff; border: 2px solid #000; border-radius: var(--pxa-r); padding: clamp(24px, 5vw, 64px); }
.pxc-mx-doc__cab { border-bottom: 3px solid #000; padding-bottom: 18px; margin-bottom: 10px; }
.pxc-mx-doc__cab h2 { font-family: var(--pxa-titulo); font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 5vw, 64px); line-height: .95; margin: 6px 0 8px; }
.pxc-mx-doc__cab p { margin: 0; color: #555; font-weight: 600; }
.pxc-mx-doc__paso { margin-top: 30px; }
.pxc-mx-doc__parte { display: inline-block; background: #000; color: var(--pxa-amarillo); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; padding: 5px 12px; border-radius: 100px; }
.pxc-mx-doc__sec h4 { font-family: var(--pxa-titulo); font-weight: 900; text-transform: uppercase; font-size: clamp(22px, 2.6vw, 30px); line-height: 1; margin: 22px 0 12px; }
.pxc-mx-doc__bloque { margin: 0 0 18px; max-width: 820px; }
.pxc-mx-doc__bloque h5 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #777; margin: 0 0 6px; }
.pxc-mx-doc__t p, .pxc-mx-doc__bloque > p { font-size: 17px; line-height: 1.65; margin: 0 0 12px; }
.pxc-mx-doc__bloque.is-pendiente { border-left: 4px dashed #ccc; padding-left: 14px; }
.pxc-mx-doc__falta { color: #888; font-style: italic; font-size: 15px !important; }
.pxc-mx-doc__falta a { color: #000 !important; font-weight: 800; font-style: normal; }
.pxc-mx-doc__chips span { display: inline-block; background: var(--pxa-amarillo); border-radius: 100px; padding: 4px 12px; margin: 0 6px 6px 0; font-weight: 700; font-size: 14px; }
.pxc-mx-final .pxc-mx-barra form { margin: 0; }

/* Administrador: textos e historial */
.pxc-mx-atx { margin: 8px 0 4px 0; padding: 10px 14px; background: #f6f6f4; border-radius: 12px; }
.pxc-mx-atx__cab { display: flex; gap: 6px; flex-wrap: wrap; }
.pxc-mx-atx__t { margin-top: 8px; border-left: 4px solid #000; padding-left: 12px; }
.pxc-mx-atx__t p { margin: 0 0 8px; font-size: 15px; line-height: 1.55; }
.pxc-mx-atx__edit, .pxc-mx-hist { margin-top: 8px; font-size: 14px; }
.pxc-mx-atx__edit summary, .pxc-mx-hist summary { cursor: pointer; font-weight: 800; }
.pxc-mx-atx__edit textarea { width: 100%; box-sizing: border-box; border: 2px solid #000; border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 15px; margin-top: 8px; }
.pxc-mx-atx__edit small { display: block; color: #666; margin-top: 6px; }
.pxc-mx-hist ol { list-style: none; margin: 8px 0 0; padding: 0; }
.pxc-mx-hist li { border-top: 1px solid #ddd; padding: 6px 0; margin: 0; }
.pxc-mx-hist li span { font-size: 12px; font-weight: 800; color: #666; }
.pxc-mx-hist li p { margin: 2px 0 0; }
@media (max-width: 900px) {
  .pxc-mx-tx__texto p, .pxc-mx-doc__t p { font-size: 16px; }
  .pxc-mx-tx__gen .pxa-btn { width: 100%; }
}

/* Logos: isologo pequeño en el menú, logo completo en la entrada (menos es más) */
.pxc-side__logo { padding: 2px 10px 26px; display: flex; align-items: center; gap: 10px; }
.pxc-side__logo .pxc-logo { width: 35px; }
.pxc-side__core { margin-top: 0; }
.pxc-top__logo { width: 26px !important; }
.pxc-login__marca .pxc-logo--completo { width: clamp(120px, 11vw, 160px); margin-bottom: 44px; }
@media (max-width: 900px) {
  .pxc-login__marca .pxc-logo--completo { width: 92px; margin-bottom: 20px; }
  .pxc-top { gap: 10px; }
}

/* =========================================================
   En vivo, base de clientes y seguimientos
   ========================================================= */
.pxc-mx-presencia { display: block; font-size: 13px; font-weight: 800; color: var(--pxa-amarillo); margin-top: 6px; }
.pxc-mx-presencia[hidden] { display: none; }
.pxc-mx-q { position: relative; transition: background .4s; border-radius: 14px; }
.pxc-vivo-cambio { animation: pxcVivo 1.6s ease-out; }
@keyframes pxcVivo { 0% { background: #fff1b8; box-shadow: 0 0 0 10px #fff1b8; } 100% { background: transparent; box-shadow: 0 0 0 10px transparent; } }
.pxc-vivo-aqui > textarea, .pxc-vivo-aqui > input[type=text] { border-color: var(--pxa-amarillo) !important; box-shadow: 0 0 0 3px var(--pxa-amarillo); }
.pxc-vivo-aqui:after { content: attr(data-quien); position: absolute; top: -10px; right: 0; background: #000; color: var(--pxa-amarillo); font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 100px; }
.pxc-mx--pixel .pxc-mx-cab { background: #1a1a1a; }

.pxc-vivo-banner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #000; color: #fff; border-radius: 18px; padding: 10px 14px; margin: 0 0 18px; }
.pxc-vivo-punto { width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.2); flex: 0 0 auto; }
.pxc-vivo-banner__t { display: flex; flex-direction: column; line-height: 1.2; }
.pxc-vivo-banner__t small { color: #aaa; font-size: 12px; }
.pxc-vivo-banner__acc { display: flex; gap: 8px; }
.pxc-vivo-banner .pxa-btn { padding: 8px 16px; font-size: 13px; }
.pxc-crono--suelto { margin: 0 0 14px; background: #000; border-radius: 16px; }

.pxc-sesion-cab { gap: 10px; }
.pxc-sesion-cab .pxc-h2 small { font-size: .6em; color: #666; text-transform: none; }
.pxc-sesion-cab .pxc-crono { margin-top: 6px; }
.pxc-sesion-nota { margin: 0; font-size: 13px; color: #555; }

/* Tabla de clientes */
.pxc-tabla-wrap { background: #fff; border: 2px solid #000; border-radius: var(--pxa-r); overflow: hidden; }
.pxc-tabla { width: 100%; border-collapse: collapse; font-size: 14px; }
.pxc-tabla th { text-align: left; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; background: #000; color: #fff; padding: 12px 14px; white-space: nowrap; }
.pxc-tabla td { padding: 12px 14px; border-top: 1px solid #e6e6e6; vertical-align: middle; }
.pxc-tabla tr:hover td { background: #fafaf7; }
.pxc-tabla small { color: #666; }
.pxc-tabla a { color: #000 !important; }
.pxc-tabla__cli { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.pxc-tabla__cli b { display: block; }
.pxc-tabla__cli .pxc-avatar { width: 34px; height: 34px; }
.pxc-tabla__prox { font-weight: 800; }
.pxc-tabla__prox.is-hoy { background: var(--pxa-amarillo); padding: 2px 8px; border-radius: 100px; }
.pxc-tabla__acc { white-space: nowrap; text-align: right; }
.pxc-tabla__acc .pxa-btn { padding: 6px 14px; font-size: 12px; }
.pxc-tabla__ico { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #000; vertical-align: middle; margin-left: 4px; }
.pxc-tabla__ico .pxc-ico { width: 18px; height: 18px; }
.pxc-cal-top .pxc-buscar { flex: 1; margin: 0; }

/* Seguimiento */
.pxc-seg { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 18px; align-items: start; margin-bottom: 18px; }
.pxc-seg__form form { width: 100%; }
.pxc-seg__form textarea { border: 2px solid #000; border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 15px; width: 100%; box-sizing: border-box; text-transform: none; font-weight: 500; letter-spacing: 0; }
.pxc-seg__tipos { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.pxc-seg__tipos label { cursor: pointer; }
.pxc-seg__tipos input { position: absolute; opacity: 0; }
.pxc-seg__tipos span { display: inline-block; padding: 6px 12px; border-radius: 100px; border: 1.5px solid #000; font-size: 13px; font-weight: 700; }
.pxc-seg__tipos input:checked + span { background: #000; color: #fff; }
.pxc-seg__tipos input:focus-visible + span { box-shadow: 0 0 0 3px var(--pxa-amarillo); }
.pxc-seg__linea ol { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid #000; }
.pxc-seg__linea li { position: relative; background: #fff; border: 2px solid #000; border-radius: 16px; padding: 12px 16px; margin: 0 0 12px; }
.pxc-seg__linea li:before { content: ""; position: absolute; left: -27px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: #000; border: 2px solid #ECECEA; }
.pxc-seg__linea li.is-vencido { border-color: #000; box-shadow: 4px 4px 0 var(--pxa-amarillo); }
.pxc-seg__linea li.is-hecho { opacity: .7; }
.pxc-seg__meta { font-size: 12px; color: #666; }
.pxc-seg__meta b { color: #000; text-transform: uppercase; letter-spacing: .04em; }
.pxc-seg__linea p { margin: 6px 0 0; }
.pxc-seg__prox { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 8px; padding-top: 8px; border-top: 1px dashed #ccc; font-size: 14px; }
.pxc-seg__prox form { margin: 0; }

@media (max-width: 900px) {
  .pxc-seg { grid-template-columns: 1fr; }
  .pxc-tabla thead { display: none; }
  .pxc-tabla, .pxc-tabla tbody, .pxc-tabla tr, .pxc-tabla td { display: block; width: 100%; box-sizing: border-box; }
  .pxc-tabla tr { border-top: 2px solid #000; padding: 10px 0; }
  .pxc-tabla tr:first-child { border-top: 0; }
  .pxc-tabla td { border: 0; padding: 4px 14px; display: flex; justify-content: space-between; gap: 10px; }
  .pxc-tabla td[data-l]:before { content: attr(data-l); font-size: 11px; font-weight: 800; text-transform: uppercase; color: #888; }
  .pxc-tabla td[data-l="Cliente"]:before { display: none; }
  .pxc-tabla__acc { justify-content: flex-start !important; text-align: left; padding-top: 8px !important; }
  .pxc-vivo-banner__acc { width: 100%; }
  .pxc-vivo-banner__acc .pxa-btn { flex: 1; justify-content: center; text-align: center; }
  .pxc-vivo-aqui:after { position: static; display: inline-block; margin-bottom: 6px; }
}
.pxc-mx-barra { align-items: center; }
.pxc-mx-barra .pxc-crono { margin: 0 auto 0 0; flex: 0 1 380px; background: #000; padding: 10px 16px; }
.pxc-mx-barra .pxc-crono .pxc-crono__sub { display: inline; }
@media (max-width: 900px) {
  .pxc-mx-barra { flex-wrap: wrap; }
  .pxc-mx-barra .pxc-crono { flex: 1 1 100%; order: -1; }
  .pxc-mx-barra .pxc-crono .pxc-crono__barra { display: none; }
}
@media (max-width: 900px) {
  .pxc-mx-barra { gap: 6px; padding: 8px 16px; flex-wrap: wrap; }
  .pxc-mx-barra .pxc-crono { padding: 6px 12px; gap: 8px; }
  .pxc-mx-barra .pxc-crono .pxc-crono__t { font-size: 15px; }
  .pxc-mx-barra .pxc-crono .pxc-crono__ico { width: 16px; height: 16px; }
  .pxc-mx-barra .pxc-crono .pxc-crono__sub { font-size: 12px; }
  .pxa-front .pxc-mx-barra > .pxa-btn { flex: 1 1 0; min-width: 0; padding: 10px 8px; font-size: 12px; }
  .pxc-mx-barra > .pxa-btn .pxc-ico { display: none; }
}
@media (min-width: 901px) {
  .pxc-mx-barra .pxc-crono { flex-wrap: nowrap; }
  .pxc-mx-barra .pxc-crono .pxc-crono__barra { min-width: 40px; }
}

/* =========================================================
   Gráfica v2.5 — menos es más
   · Todo en Montserrat.
   · Campos con línea muy fina.
   · Cajas sin línea sobre el fondo de color (amarillo o gris);
     dentro de lo blanco, separadores finos.
   ========================================================= */
body.pxc-body, body.pxc-body .pxa-front {
  --pxa-titulo: "Montserrat", system-ui, sans-serif;
  --pxa-cuerpo: "Montserrat", system-ui, sans-serif;
  --pxc-linea: rgba(0, 0, 0, .14);
  --pxc-campo: rgba(0, 0, 0, .32);
  font-family: "Montserrat", system-ui, sans-serif;
}
body.pxc-body .pxc h1, body.pxc-body .pxc h2, body.pxc-body .pxc h3, body.pxc-body .pxc h4,
body.pxc-body .pxc-h1, body.pxc-body .pxc-h2 { font-family: "Montserrat", system-ui, sans-serif; letter-spacing: -.02em; }
body.pxc-body .pxc-h1 { font-weight: 800; }
body.pxc-body .pxc-h2, body.pxc-body .pxc-mx-paso__cab h3, body.pxc-body .pxc-mx-sec h4, body.pxc-body .pxc-mx-doc__cab h2, body.pxc-body .pxc-mx-doc__sec h4 { font-weight: 800; }

/* Cajas: sin línea sobre el fondo de color */
body.pxc-body .pxc-card, body.pxc-body .pxa-mi, body.pxc-body .pxc-mx-paso, body.pxc-body .pxc-kpi,
body.pxc-body .pxc-cal, body.pxc-body .pxc-tabla-wrap, body.pxc-body .pxc-agenda-dia, body.pxc-body .pxc-mx-pasos a,
body.pxc-body .pxc-mx-irfinal, body.pxc-body .pxc-mx-doc, body.pxc-body .pxc-seg__linea li, body.pxc-body .pxa-vacio-box,
body.pxc-body .pxc-mx-final__estado, body.pxc-body .pxc-mx-com, body.pxc-body .pxc-mx-tx__prop, body.pxc-body .pxc-lista,
body.pxc-body .pxa-voucher, body.pxc-body .pxc-mx-tarjeta.is-off { border: 0 !important; }
body.pxc-body .pxc-mx-tarjeta.is-off { opacity: .6; }
body.pxc-body .pxc-agenda-dia:target, body.pxc-body .pxa-mi:target { box-shadow: 0 0 0 3px #000; }
body.pxc-body .pxc-mx-com { border-left: 4px solid #000 !important; }
body.pxc-body .pxc-seg__linea li.is-vencido { box-shadow: inset 4px 0 0 var(--pxa-amarillo); }
body.pxc-body .pxc-seg__linea li:before { border-color: transparent; }
body.pxc-body .pxc-seg__linea ol { border-left: 1px solid rgba(0,0,0,.25); }

/* Dentro de lo blanco: separadores finos */
body.pxc-body .pxc-mx-sec h4, body.pxc-body .pxc-mx-nav, body.pxc-body .pxc-mx-ver__sec, body.pxc-body .pxc-mx-doc__cab,
body.pxc-body .pxc-mx-comform, body.pxc-body .pxc-mas-acc, body.pxc-body .pxc-seg__prox { border-top-width: 1px !important; border-top-color: var(--pxc-linea) !important; border-top-style: solid !important; }
body.pxc-body .pxc-mx-doc__cab { border-top: 0 !important; border-bottom: 1px solid var(--pxc-linea) !important; }
body.pxc-body .pxc-cal__dia, body.pxc-body .pxc-tabla td, body.pxc-body .pxc-ag, body.pxc-body .pxc-mx-partes li, body.pxc-body .pxc-lista li, body.pxc-body .pxc-cuotas li { border-color: var(--pxc-linea) !important; }

/* Campos: línea muy fina */
body.pxc-body .pxc input[type=text], body.pxc-body .pxc input[type=email], body.pxc-body .pxc input[type=tel], body.pxc-body .pxc input[type=url],
body.pxc-body .pxc input[type=number], body.pxc-body .pxc input[type=date], body.pxc-body .pxc input[type=datetime-local], body.pxc-body .pxc input[type=search],
body.pxc-body .pxc input[type=password], body.pxc-body .pxc select, body.pxc-body .pxc textarea,
body.pxc-body .pxc-login input[type=text], body.pxc-body .pxc-login input[type=password] {
  border: 1px solid var(--pxc-campo) !important; box-shadow: none; font-family: "Montserrat", system-ui, sans-serif;
}
body.pxc-body .pxc input:focus, body.pxc-body .pxc select:focus, body.pxc-body .pxc textarea:focus,
body.pxc-body .pxc-login input:focus { outline: 0; border-color: #000 !important; box-shadow: 0 0 0 3px rgba(251, 186, 0, .55) !important; }
body.pxc-body .pxc-mx-q textarea, body.pxc-body .pxc-mx-q input[type=text] { border-radius: 12px; }
body.pxc-body .pxc-mx-op label, body.pxc-body .pxc-filtros a, body.pxc-body .pxc-seg__tipos span, body.pxc-body .pxc-mx-saltos a { border-width: 1px; }
body.pxc-body .pxa-btn--line { border-width: 1.5px; }
body.pxc-body .pxc-mx-pasos__n { border-width: 1px !important; }
body.pxc-body .pxc-mx-chips li { border-width: 1px; }
body.pxc-body .pxc-vivo-aqui > textarea, body.pxc-body .pxc-vivo-aqui > input[type=text] { box-shadow: 0 0 0 3px var(--pxa-amarillo) !important; }

/* =========================================================
   v2.5: clientes, marcas, Drive, cupones y materiales
   ========================================================= */
.pxc-etapa { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 3px 10px; border-radius: 100px; background: #eee; color: #444; }
.pxc-etapa.is-cliente { background: #000; color: var(--pxa-amarillo); }
.pxc-etapa.is-prospecto { background: var(--pxa-amarillo); color: #000; }
.pxc-etapa.is-inactivo { background: #e6e6e6; color: #777; }
.pxc-ficha__top .pxc-etapa { margin-bottom: 6px; }
.pxc-nuevo { margin-bottom: 16px; padding: 16px 20px; }
.pxc-nuevo > summary { list-style: none; cursor: pointer; }
.pxc-nuevo > summary::-webkit-details-marker { display: none; }
.pxc-nuevo[open] > summary { margin-bottom: 14px; }
.pxc-nuevo form { width: 100%; }
.pxc-nuevo textarea { border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 15px; width: 100%; box-sizing: border-box; text-transform: none; font-weight: 500; letter-spacing: 0; }
.pxc-multi { width: 100%; border-radius: 12px; padding: 6px; font: inherit; font-size: 14px; text-transform: none; font-weight: 500; letter-spacing: 0; background: #fff; }
.pxc-check { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 6px 0 0; }
.pxc-saltos { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 4px; position: sticky; top: 0; z-index: 15; padding: 8px 0; background: #ECECEA; }
.pxc-saltos a { padding: 6px 14px; border-radius: 100px; background: #fff; color: #000 !important; text-decoration: none !important; font-weight: 700; font-size: 13px; }
.pxc-saltos a:hover { background: #000; color: #fff !important; }
[id="seguimiento"], [id="historial"], [id="marcas"], [id="drive"], [id="matrices"], [id="asesorias"], [id="proyectos"] { scroll-margin-top: 70px; }

.pxc-hist ol { list-style: none; margin: 0; padding: 0; width: 100%; max-height: 520px; overflow: auto; }
.pxc-hist li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 9px 0 9px 14px; border-top: 1px solid var(--pxc-linea, #eee); margin: 0; position: relative; }
.pxc-hist li:first-child { border-top: 0; }
.pxc-hist li:before { content: ""; position: absolute; left: 0; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: #bbb; }
.pxc-hist li.is-pago:before { background: #1f9d55; }
.pxc-hist li.is-matriz:before { background: var(--pxa-amarillo); }
.pxc-hist li.is-proyecto:before, .pxc-hist li.is-asesoria:before { background: #000; }
.pxc-hist li.is-cupon:before { background: #2F6FD6; }
.pxc-hist__f { font-size: 12px; color: #777; font-weight: 600; padding-top: 1px; }
.pxc-hist__t a { color: #000 !important; text-decoration: none !important; }
.pxc-hist__t a:hover { text-decoration: underline !important; }

.pxc-marcas { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 18px; align-items: start; }
.pxc-marca h3 { font-size: 20px; font-weight: 800; margin: 0; }
.pxc-marca p { margin: 0; font-size: 14px; }
.pxc-marca form { width: 100%; }
.pxc-marca--nueva { border: 1.5px dashed rgba(0,0,0,.3) !important; background: transparent !important; }
.pxc-marca--nueva > summary { cursor: pointer; font-weight: 800; list-style: none; }

.pxc-drive form { width: 100%; }
.pxc-archivos { list-style: none; margin: 8px 0 0; padding: 0; width: 100%; }
.pxc-archivos li { margin: 0; border-top: 1px solid var(--pxc-linea, #eee); }
.pxc-archivos a { display: flex; align-items: center; gap: 12px; padding: 10px 2px; color: #000 !important; text-decoration: none !important; }
.pxc-archivos a:hover { background: #fafaf7; }
.pxc-archivos small { display: block; color: #777; font-size: 12px; }
.pxc-archivos__ico { width: 26px; text-align: center; font-weight: 800; }
.pxc-archivos__ico .pxc-ico { width: 20px; height: 20px; }
.pxc-drive-cli { margin-bottom: 18px; }

.pxc-cupon-form { margin: 8px 0; font-size: 14px; }
.pxc-cupon-form summary { cursor: pointer; font-weight: 800; }
.pxc-cupon-form form { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.pxc-cupon-form input { flex: 1 1 160px; border-radius: 100px; padding: 10px 16px; font: inherit; font-size: 15px; background: #fff; }
.pxc-cupon-ok { display: inline-block; background: #e8f7ee; color: #146b3d; font-weight: 800; font-size: 13px; border-radius: 100px; padding: 4px 12px; margin: 4px 0; }
.pxc-cupones-cli { background: #000; color: #fff; border-radius: var(--pxa-r); padding: 16px 20px; margin-bottom: 18px; }
.pxc-cupones-cli .pxc-eti { color: var(--pxa-amarillo); }
.pxc-cupones-cli ul { list-style: none; margin: 8px 0 0; padding: 0; }
.pxc-cupones-cli li { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; padding: 6px 0; margin: 0; border-top: 1px solid rgba(255,255,255,.15); }
.pxc-cupones-cli li:first-child { border-top: 0; }
.pxc-cupones-cli b { font-size: 18px; letter-spacing: .06em; color: var(--pxa-amarillo); }
.pxc-codigo { font-family: ui-monospace, Menlo, monospace; letter-spacing: .06em; font-size: 15px; }
.pxc-tabla tr.is-off td { opacity: .55; }
.pxc-tabla__acc form { display: inline-flex; margin: 0; }

.pxc-prueba-aviso { background: var(--pxa-amarillo); border-radius: 14px; padding: 12px 18px; margin-bottom: 16px; font-size: 14px; }
.pxc-prueba-aviso a { color: #000 !important; font-weight: 800; margin-left: 6px; }
.pxc-rec h3 { font-size: 18px; font-weight: 800; margin: 2px 0 0; }
.pxc-rec__prev { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #111; margin-bottom: 6px; }
.pxc-rec__prev iframe, .pxc-slides iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pxc-rec--cli { color: #000 !important; text-decoration: none !important; }
.pxc-slides { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--pxa-r); overflow: hidden; background: #111; margin-bottom: 18px; }
@media (max-width: 900px) {
  .pxc-hist li { grid-template-columns: 1fr; gap: 0; }
  .pxc-saltos { margin: 12px -16px 4px; padding: 8px 16px; overflow-x: auto; flex-wrap: nowrap; }
  .pxc-saltos a { flex: 0 0 auto; }
}

/* =========================================================
   v2.6: Ficha de contacto (Mi perfil)
   ========================================================= */
.pxc-pf__intro { margin: 0 0 18px; font-size: 16px; max-width: 760px; }
.pxc-pf { display: flex; flex-direction: column; gap: 16px; max-width: 980px; }
.pxc-pf__cuerpo { display: flex; flex-direction: column; gap: 16px; }
.pxc-pf__cuerpo[hidden], .pxc-pf [hidden] { display: none !important; }
.pxc-pf__caja { align-items: stretch; gap: 0; padding: 26px 28px; }
.pxc-pf__t { font-size: 20px; font-weight: 800; margin: 0 0 16px; letter-spacing: -.01em; text-transform: none; }
.pxc-pf__sub { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 10px; color: #000; }
.pxc-pf__nota { margin: -8px 0 14px !important; font-size: 14px; color: #555; }
.pxc-pf__fila { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin: 0 0 14px; }
.pxc-pf__fila--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pxc-pf__fila--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pxc-pf__fila--marca { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; }
.pxc-pf label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #333; min-width: 0; margin: 0; }
.pxc-pf input[type=text], .pxc-pf input[type=email], .pxc-pf input[type=tel], .pxc-pf input[type=url],
.pxc-pf input[type=date], .pxc-pf input[type=password], .pxc-pf select {
  width: 100%; box-sizing: border-box; min-width: 0; height: 46px; padding: 0 14px; border-radius: 12px; background: #fff; color: #000;
  font: 500 15px "Montserrat", system-ui, sans-serif; letter-spacing: 0; text-transform: none; -webkit-appearance: none; appearance: none;
}
.pxc-pf select { background-image: linear-gradient(45deg, transparent 50%, #000 50%), linear-gradient(135deg, #000 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.pxc-pf input:disabled { background: #f4f4f2; color: #666; }
.pxc-pf__edad { display: flex; align-items: center; height: 46px; padding: 0 14px; border-radius: 12px; background: #f4f4f2; font: 700 15px "Montserrat", system-ui, sans-serif; color: #000; }

/* Tipo de cliente */
.pxc-pf__tipos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pxc-pf__tipos label { position: relative; cursor: pointer; }
.pxc-pf__tipos input { position: absolute; opacity: 0; pointer-events: none; }
.pxc-pf__tipos span { display: flex; flex-direction: column; gap: 4px; height: 100%; box-sizing: border-box; padding: 16px 18px; border: 1px solid var(--pxc-campo, rgba(0,0,0,.32)); border-radius: 16px; transition: background .15s, color .15s; }
.pxc-pf__tipos strong { font-size: 16px; font-weight: 800; color: inherit; text-transform: none; letter-spacing: 0; }
.pxc-pf__tipos small { font-size: 13px; font-weight: 500; color: inherit; opacity: .7; text-transform: none; letter-spacing: 0; }
.pxc-pf__tipos label:hover span { border-color: #000; }
.pxc-pf__tipos input:checked + span { background: #000; color: #fff; border-color: #000; }
.pxc-pf__tipos input:checked + span strong { color: var(--pxa-amarillo); }
.pxc-pf__tipos input:focus-visible + span { box-shadow: 0 0 0 3px rgba(251, 186, 0, .55); }

/* Sí / No */
.pxc-pf__sino { display: flex; flex-direction: column; gap: 6px; }
.pxc-pf__sino > span { font-size: 12px; font-weight: 700; color: #333; }
.pxc-pf__sino > div { display: flex; gap: 8px; }
.pxc-pf__sino label { flex-direction: row; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border: 1px solid var(--pxc-campo, rgba(0,0,0,.32)); border-radius: 100px; font-size: 14px; font-weight: 600; color: #000; cursor: pointer; }
.pxc-pf__sino input { width: 16px; height: 16px; accent-color: #000; margin: 0; }
.pxc-pf__sino label:has(input:checked) { border-color: #000; background: #000; color: #fff; }
.pxc-pf__sino label:has(input:checked) input { accent-color: var(--pxa-amarillo); }
.pxc-pf__ruc { margin-top: 6px; }
.pxc-pf__ruc .pxc-pf__fila { margin-top: 14px; }

/* Repetibles */
.pxc-pf__item { padding: 0 0 6px; }
.pxc-pf__item + .pxc-pf__item { border-top: 1px solid var(--pxc-linea, rgba(0,0,0,.14)); padding-top: 18px; margin-top: 4px; }
.pxc-pf__item:first-child [data-quitar] { display: none; }
.pxc-pf__quitar { background: none; border: 0; padding: 0; margin: 0 0 10px; font: 600 13px "Montserrat", system-ui, sans-serif; color: #000; text-decoration: underline; cursor: pointer; }
.pxc-pf__mas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 16px; margin-top: 6px; border-radius: 14px; background: #f6f6f4; }
.pxc-pf__mas span { font-size: 14px; font-weight: 600; }
.pxc-pf__mas .pxa-btn { padding: 10px 18px; font-size: 13px; }

/* Barra de guardar */
.pxc-pf__barra { position: sticky; bottom: 12px; z-index: 20; display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding: 12px 14px 12px 22px; border-radius: 100px; background: #000; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.pxc-pf__barra span { margin-right: auto; font-size: 14px; font-weight: 600; color: var(--pxa-amarillo); }
.pxc-pf__barra .pxa-btn { background: var(--pxa-amarillo) !important; color: #000 !important; border-color: var(--pxa-amarillo) !important; }

/* Dentro de la ficha que ve Pixel */
.pxc-pf__editar .pxc-pf { margin-top: 14px; }
.pxc-pf__editar .pxc-pf__caja { background: #f6f6f4; }
.pxc-pf__editar .pxc-pf__mas { background: #fff; }
.pxc-pf__caja .pxc-datos { margin: 0 0 12px; }
.pxc-aviso-ficha p { max-width: 640px; }

@media (max-width: 900px) {
  .pxc-pf__fila--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pxc-pf__fila--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pxc-pf__caja { padding: 20px 18px; }
  .pxc-pf__tipos, .pxc-pf__fila, .pxc-pf__fila--3, .pxc-pf__fila--marca { grid-template-columns: minmax(0, 1fr); }
  .pxc-pf__fila--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pxc-pf__barra { bottom: 84px; border-radius: 18px; padding: 10px 10px 10px 16px; gap: 10px; }
  .pxc-pf__barra span { font-size: 12px; }
  .pxc-pf__barra .pxa-btn { padding: 12px 22px; font-size: 14px; }
  .pxc-pf__mas .pxa-btn { width: 100%; }
}

/* v2.6: selector de marca, tus marcas y personas */
.pxc-esp { position: relative; margin: 0 0 18px; }
.pxc-esp > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 18px; align-items: center; column-gap: 8px; padding: 10px 14px; border-radius: 14px; background: #1a1a1a; color: #fff; }
.pxc-esp > summary::-webkit-details-marker { display: none; }
.pxc-esp > summary svg { width: 18px; height: 18px; grid-row: 1 / span 2; grid-column: 2; transition: transform .15s; }
.pxc-esp[open] > summary svg { transform: rotate(180deg); }
.pxc-esp__eti { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--pxa-amarillo); }
.pxc-esp > summary strong { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pxc-esp__lista { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; background: #fff; color: #000; border-radius: 14px; box-shadow: 0 12px 34px rgba(0,0,0,.22); padding: 6px; display: flex; flex-direction: column; }
.pxc-esp__lista form { margin: 0; }
.pxc-esp__lista button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: left; background: none; border: 0; border-radius: 10px; padding: 9px 10px; cursor: pointer; font-family: "Montserrat", system-ui, sans-serif; color: #000; }
.pxc-esp__lista button strong { font-size: 14px; }
.pxc-esp__lista button small { font-size: 12px; color: #666; }
.pxc-esp__lista button:hover { background: #f4f4f2; }
.pxc-esp__lista a { display: block; padding: 10px; margin-top: 4px; border-top: 1px solid var(--pxc-linea, #eee); font-size: 13px; font-weight: 700; color: #000 !important; text-decoration: none !important; }
.pxc-esp--side { margin: -10px 4px 18px; }
.pxc-esp--top { display: none; }
@media (max-width: 900px) {
  .pxc-esp--top { display: block; margin: 0 0 10px; max-width: 320px; }
  .pxc-esp--top > summary { background: rgba(255,255,255,.12); padding: 8px 12px; }
}

.pxc-pf__h2 { margin: 34px 0 14px; }
.pxc-esps { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-bottom: 16px; max-width: 980px; }
.pxc-esps__item { gap: 6px; }
.pxc-esps__item h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; line-height: 1.15; }
.pxc-esps__item.is-on { background: #000; color: #fff; }
.pxc-esps__item.is-on h3 { color: #fff; }
.pxc-esps__item.is-on .pxa-btn--line { color: #fff !important; border-color: #fff !important; }
.pxc-esps__item form { margin-top: auto; }
.pxc-esps__tipo { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #666; }
.pxc-esps__item.is-on .pxc-esps__tipo, .pxc-esps__on { color: var(--pxa-amarillo); }
.pxc-esps__on { margin: 0 0 8px !important; font-size: 13px; font-weight: 600; }
.pxc-esps__fila { grid-template-columns: minmax(0, 1fr) auto; align-items: end; margin-top: 16px; }
.pxc-marca-cab { margin: 0 0 16px; }
.pxc-marca-cab .pxc-h2 { margin: 2px 0 0; }

.pxc-personas__lista { list-style: none; margin: 0 0 14px; padding: 0; }
.pxc-personas__lista li { display: flex; align-items: center; gap: 12px; padding: 12px 0; margin: 0; border-top: 1px solid var(--pxc-linea, #eee); }
.pxc-personas__lista li:first-child { border-top: 0; }
.pxc-personas__dato { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pxc-personas__dato strong { font-size: 15px; }
.pxc-personas__dato small { font-size: 13px; color: #666; overflow-wrap: anywhere; }
.pxc-personas__lista form { margin: 0; }
.pxc-personas__lista .pxc-pf__quitar { margin: 0; }
.pxc-personas__nueva { display: block; }
.pxc-personas__nueva > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.pxc-personas__nueva > summary::-webkit-details-marker { display: none; }
.pxc-personas__nueva[open] > summary b { display: none; }
.pxc-personas__nueva .pxc-pf { margin-top: 14px; }
.pxc-personas__nueva .pxc-pf .pxa-btn { align-self: flex-start; }
.pxc-pf__otras { margin: 4px 0 0 !important; font-size: 14px; }
@media (max-width: 640px) {
  .pxc-esps__fila { grid-template-columns: minmax(0, 1fr); }
  .pxc-esps__fila .pxa-btn { width: 100%; }
}
.pxc-mx-auto { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; color: #7a5b00; }
.pxc-mx-auto:before { content: "↺ "; }
.pxc-personas, .pxc-marca-cab { max-width: 980px; box-sizing: border-box; }

/* v2.6.2: «Pixel Core» en el menú del administrador: letras blancas, sin cápsula ni subrayado */
.pxc-side__logo, .pxc-side__logo:hover, .pxc-side__logo:focus { text-decoration: none !important; box-shadow: none !important; }
.pxa-front .pxc-side__core, body.pxc-body .pxc-side__core { background: none !important; padding: 0 !important; border-radius: 0; color: #fff !important; text-decoration: none !important; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.pxc-cargo select { width: 100%; }
.pxc-cargo input[data-cargo-otro] { margin-top: 8px; }
.pxc-micargo { margin: 0 0 14px; padding: 14px 16px; border-radius: 14px; background: #f6f6f4; gap: 6px; max-width: none; }
.pxc-micargo__fila { grid-template-columns: minmax(0, 1fr) auto; align-items: end; margin: 0; }
.pxc-micargo .pxc-pf__nota { margin: 6px 0 0 !important; }
.pxc-esps__cargo { margin-top: 14px; grid-template-columns: minmax(0, 1fr); max-width: 480px; }
.pxc-esps__cargo { margin-bottom: 0; }
.pxc-esps__item .pxc-esps__cargo, .pxc-esps__cargo[hidden] { display: none; }
.pxc-esps__cargo:not([hidden]) { display: grid; }
p.pxc-esps__cargo { display: block !important; margin: -4px 0 8px !important; font-size: 13px; font-weight: 600; opacity: .75; max-width: none; }
.pxc-salir { margin-top: 12px; font-size: 13px; width: 100%; }
.pxc-salir > summary { cursor: pointer; font-weight: 600; text-decoration: underline; list-style: none; opacity: .75; }
.pxc-salir > summary::-webkit-details-marker { display: none; }
.pxc-salir[open] > summary { opacity: 1; margin-bottom: 10px; }
.pxc-salir form { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 12px; background: #f6f6f4; color: #000; }
.pxc-esps__item.is-on .pxc-salir form { background: #1c1c1c; color: #fff; }
.pxc-salir p { margin: 0 !important; font-size: 13px; line-height: 1.45; }
.pxc-salir label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; width: 100%; }
.pxc-salir label.pxc-check { flex-direction: row; align-items: center; font-weight: 600; }
.pxc-salir select { height: 42px; border-radius: 12px; padding: 0 12px; font: 500 14px "Montserrat", system-ui, sans-serif; background: #fff; color: #000; }
.pxc-salir-pie { max-width: 980px; margin-top: 20px; }
.pxc-salir-pie .pxc-salir { background: #fff; border-radius: 18px; padding: 16px 20px; box-sizing: border-box; }
@media (max-width: 640px) { .pxc-micargo__fila { grid-template-columns: minmax(0, 1fr); } }
details.pxc-salir { display: block !important; }
details.pxc-salir > summary { display: block; width: fit-content; opacity: .85; }
details.pxc-salir > summary { color: inherit !important; opacity: .7; padding: 0; font-size: 13px; }

/* ---------- v2.7: Tarifario (panel) ---------- */
.pxt-adm { gap: 4px; align-items: stretch; }
.pxt-adm .pxc-h2 { margin-bottom: 4px; }
.pxt-adm__h { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin: 22px 0 2px; padding-top: 16px; border-top: 1px solid #ddd; }
.pxt-ta { border: 2px solid #000; border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 15px; width: 100%; box-sizing: border-box; text-transform: none; letter-spacing: 0; font-weight: 500; resize: vertical; }
.pxt-ayuda { display: block; font-size: 12px; font-weight: 500; text-transform: none; letter-spacing: 0; opacity: .75; margin-top: 2px; }
.pxc-f__fila label.pxt-check, .pxt-check { flex-direction: row !important; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 700; flex: 0 1 auto; padding-bottom: 12px; }
.pxt-check input { width: 20px !important; height: 20px; accent-color: #000; flex: 0 0 auto; }
.pxt-check--grande { align-items: flex-start !important; font-weight: 500; padding: 8px 0; max-width: 680px; }
.pxt-check--grande input { margin-top: 2px; }
.pxt-rep { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 4px; }
.pxt-rep__t { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.pxt-rep__t small { text-transform: none; font-weight: 600; letter-spacing: 0; }
.pxt-rep__t small.is-mal { color: #b00020; }
.pxt-rep__fila { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: #f6f6f6; border-radius: 14px; padding: 8px; }
.pxt-rep__fila input, .pxt-rep__fila select { border: 1px solid #bbb; border-radius: 10px; padding: 9px 10px; font: inherit; font-size: 14px; background: #fff; flex: 1 1 160px; min-width: 0; }
.pxt-rep__fila .pxt-corto { flex: 0 0 96px; }
.pxt-rep__fila small.pxt-corto { font-size: 12px; opacity: .7; }
.pxt-rep__fila [data-pxt-del] { flex: 0 0 34px; height: 34px; border-radius: 50%; border: 0; background: #000; color: #fff; font-size: 18px; cursor: pointer; }
.pxt-rep > .pxa-btn { align-self: flex-start; }
.pxt-guardar { position: sticky; bottom: 0; background: #fff; padding: 14px 0; margin-top: 10px; z-index: 5; }
.pxt-borrar { background: none; border: 0; color: #b00020; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0; }
.pxt-paq-adm { border: 0; border-top: 1px solid #ddd; padding: 14px 0 6px; margin: 8px 0 0; }
.pxt-paq-adm legend, .pxt-paq-adm summary { font-weight: 800; font-size: 17px; padding: 0; cursor: pointer; }
.pxt-quitar { color: #b00020; font-weight: 600 !important; }
@media (max-width: 760px) { .pxt-guardar { bottom: 74px; } .pxt-rep__fila .pxt-corto { flex: 1 1 80px; } }
.pxt-rep__fila--ad textarea, .pxt-rep__fila .pxt-largo { flex: 1 1 100%; border: 1px solid #bbb; border-radius: 10px; padding: 9px 10px; font: inherit; font-size: 14px; background: #fff; }
.pxt-rep__fila--ad textarea[hidden] { display: none; }

/* v2.7.2: botones de la lista del tarifario siempre en su sitio */
.pxt-acc { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: nowrap; }
.pxt-acc form { margin: 0; display: block; }
.pxt-acc .pxa-btn { display: inline-flex; justify-content: center; white-space: nowrap; }
.pxt-acc > a:nth-child(1) { width: 84px; }
.pxt-acc > a:nth-child(2) { width: 92px; }
.pxt-acc form .pxa-btn { width: 170px; }
.pxt-checks { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0 0 8px; }
.pxt-checks .pxt-check small { font-weight: 500; opacity: .6; }
@media (max-width: 760px) { .pxt-acc { flex-wrap: wrap; justify-content: flex-start; } }
.pxt-rep__fila .pxt-largo { flex: 2 1 320px; }

/* Tarifario: ordenar productos */
.pxt-mover { white-space: nowrap; width: 1%; }
.pxt-mover__asa { cursor: grab; touch-action: none; display: inline-block; padding: 4px 6px; opacity: .45; font-weight: 700; letter-spacing: -2px; user-select: none; }
.pxt-mover button { border: 0; background: transparent; cursor: pointer; font: inherit; font-size: 15px; padding: 4px 6px; border-radius: 6px; opacity: .55; }
.pxt-mover button:hover { opacity: 1; background: rgba(0,0,0,.06); }
.pxt-orden-tabla tr.is-arrastrando { opacity: .4; }
.pxt-orden-tabla tr.is-movido td { background: #fdeeb3; transition: background .6s; }
.pxt-orden-ok { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #000; color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; z-index: 50; }
.pxt-nowrap { white-space: nowrap; }
.pxt-orden-ok.is-mal { background: #c62828; }
body.pxt-arrastrando, body.pxt-arrastrando * { cursor: grabbing !important; user-select: none; }
.pxt-mover__asa { font-size: 18px; padding: 6px 8px; }
.pxt-orden-tabla tr.pxt-linea-fila td { background: #f2f2f2; padding: 8px 14px; border-top: 2px solid #000; font-size: 13px; }
.pxt-orden-tabla tr.pxt-linea-fila:hover td { background: #f2f2f2; }
.pxt-orden-tabla tr.pxt-linea-fila b { text-transform: uppercase; letter-spacing: .04em; margin-right: 6px; }
.pxt-linea-fila__b { display: inline-flex; margin-right: 10px; vertical-align: middle; }
.pxt-linea-fila__b button { border: 0; background: transparent; cursor: pointer; font: inherit; font-size: 15px; padding: 2px 6px; border-radius: 6px; opacity: .6; }
.pxt-linea-fila__b button:hover { opacity: 1; background: rgba(0,0,0,.08); }
.pxt-linea-fila__vacia { display: block; margin-top: 6px; color: #888; font-style: italic; }
.pxt-orden-tabla tbody.is-movido tr td { background: #fdeeb3; transition: background .6s; }
@media (max-width: 760px) { .pxt-orden-tabla tr.pxt-linea-fila td { display: block; } }
.pxt-linea-fila__vacia[hidden] { display: none; }

/* Matrices: números y cálculos */
.pxc-mx-num { display: inline-flex; align-items: center; gap: 8px; }
.pxc-mx-num i { font-style: normal; font-weight: 700; }
.pxc-mx-num input { max-width: 180px; }
.pxc-mx-calc { background: #000; color: #fff; border-radius: 14px; padding: 16px 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.pxc-mx-calc .pxc-mx-q__txt, .pxc-mx-calc strong { color: #fff; }
.pxc-mx-calc__v { font-size: 26px; font-weight: 900; color: #FBBA00; font-variant-numeric: tabular-nums; }

/* Biblioteca de matrices en la ficha del cliente */
.pxc-mx-biblio { margin-top: 16px; }
.pxc-mx-biblio summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.pxc-mx-biblio summary::before { content: "+"; font-weight: 900; margin-right: 4px; }
.pxc-mx-biblio[open] summary::before { content: "–"; }
.pxc-mx-biblio summary small { color: #666; }
.pxc-mx-biblio h4 { margin: 18px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #666; }
.pxc-mx-biblio__lista { list-style: none; margin: 0; padding: 0; }
.pxc-mx-biblio__lista li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--pxc-linea, #e6e6e6); }
.pxc-mx-biblio__lista li span { display: flex; flex-direction: column; gap: 2px; }
.pxc-mx-biblio__lista small { color: #666; font-size: 13px; }
.pxc-mx-biblio__lista form { margin: 0; flex: none; }
.pxc-mx-q .pxc-mx-num input[type=number] { display: block; width: 180px; box-sizing: border-box; border: 2px solid #000; border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 16px; background: #fff; min-height: 50px; }
body.pxc-body .pxc-mx-q .pxc-mx-num input[type=number] { border: 1.5px solid var(--pxc-linea, #d9d9d9); }
.pxc-mx-q .pxc-mx-num input[type=number]:focus { outline: 0; box-shadow: 0 0 0 4px var(--pxa-amarillo); }

.pxc-comprobante { margin: 10px 0; border-top: 1px solid var(--pxc-linea, #e6e6e6); padding-top: 10px; }
.pxc-comprobante summary { cursor: pointer; font-weight: 700; font-size: 13px; }
.pxc-comprobante .pxa-copiar { margin-left: 6px; font-size: 11px; padding: 2px 8px; }

/* Costos y margen */
.pxt-costos-aj { margin-bottom: 16px; }
.pxt-costos-aj summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.pxt-costos-aj summary small { color: #666; }
.pxt-margen { display: inline-block; padding: 2px 10px; border-radius: 999px; font-weight: 800; font-size: 12px; background: #eee; }
.pxt-margen.is-bien { background: #d9f2df; color: #146c2e; }
.pxt-margen.is-medio { background: #fdeeb3; color: #7a5a00; }
.pxt-margen.is-mal { background: #fbdcdc; color: #a11; }
.pxt-costo-fila { display: grid; grid-template-columns: 2fr 1.2fr .8fr 1fr auto auto; gap: 10px; align-items: end; padding: 10px 0; border-top: 1px solid var(--pxc-linea, #e6e6e6); }
.pxt-costo-fila label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; }
.pxt-costo-fila output { font-weight: 800; padding-bottom: 12px; min-width: 80px; text-align: right; }
.pxt-costo-res { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 18px 0; }
.pxt-costo-res div { background: #fff; border-radius: 14px; padding: 14px; }
.pxt-costo-res dt { font-size: 12px; color: #666; }
.pxt-costo-res dd { margin: 4px 0 0; font-weight: 900; font-size: 20px; }
.pxt-costo-res .is-gan { background: #000; color: #fff; }
.pxt-costo-res .is-gan dt { color: #ccc; }
.pxt-costo-res .is-gan dd { color: #FBBA00; }
.pxc-ganancia { margin: 6px 0; font-size: 14px; }
.pxc-ganancia small { color: #666; }
@media (max-width: 760px) { .pxt-costo-fila { grid-template-columns: 1fr 1fr; } }

/* Reparto de pagos */
.pxc-reparto-t { margin-top: 22px; }
.pxc-reparto .pxc-kpi small { display: block; color: #666; font-size: 12px; margin-top: 4px; }
.pxc-kpi--amarillo { background: #FBBA00 !important; }
.pxc-reparto-aj { margin: 12px 0 18px; }
.pxc-reparto-aj summary { cursor: pointer; font-weight: 700; }
.pxc-reparto-linea { display: block; color: #888; }

/* Lecturas */
.pxc-lec { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-bottom: 18px; }
.pxc-lec__item { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; }
.pxc-lec__item.is-leido { opacity: .75; }
.pxc-lec__img { width: 96px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; display: block; }
.pxc-lec__img--txt { background: #000; color: #fff; padding: 10px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; font-size: 11px; line-height: 1.2; }
.pxc-lec__img--txt b { color: #FBBA00; font-size: 12px; }
.pxc-lec__img--txt small { color: #ccc; }
.pxc-lec__txt h3 { margin: 4px 0 2px; }
.pxc-lec__autor { margin: 0 0 6px; color: #666; font-size: 13px; }
.pxc-lec__falta { color: #a11; font-size: 12px; margin: 4px 0; }
.pxc-lec__avance { margin-bottom: 8px; }
.pxc-lec .pxa-mi__acc form { margin: 0; }
.pxt-costo-fila input, .pxt-costo-fila select { width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 10px; min-height: 44px; font: inherit; font-size: 15px; background: #fff; }
.pxc-lec__img--txt b { overflow-wrap: anywhere; hyphens: auto; }

/* Tablero por marca */
.pxc-vistas { margin-bottom: 8px; }
.pxc-tablero { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 16px; }
.pxc-tab__cab { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.pxc-tab__cab h3 { margin: 2px 0 4px; }
.pxc-tab__gente { margin: 0; font-size: 13px; color: #555; display: flex; align-items: center; gap: 6px; }
.pxc-tab__gente .pxc-ico { width: 16px; height: 16px; }
.pxc-tab__total { background: #000; color: #fff; border-radius: 14px; padding: 10px 14px; text-align: center; min-width: 86px; }
.pxc-tab__total small { display: block; font-size: 11px; color: #ccc; text-transform: uppercase; letter-spacing: .05em; }
.pxc-tab__total strong { font-size: 26px; color: #FBBA00; }
.pxc-tab__fila, .pxc-tab__alim li { display: grid; grid-template-columns: 1fr 120px 44px; gap: 10px; align-items: center; padding: 6px 0; font-size: 14px; }
.pxc-tab__fila.is-adn { font-weight: 800; }
.pxc-tab__fila b, .pxc-tab__alim li b { text-align: right; font-size: 13px; }
.pxc-tab__barra { display: block; height: 8px; background: #eee; border-radius: 99px; overflow: hidden; }
.pxc-tab__barra > span { display: block; height: 100%; background: #FBBA00; }
.pxc-tab__barra.is-s { height: 6px; }
.pxc-tab__alim { margin: 2px 0 4px 14px; padding-left: 12px; border-left: 2px solid #FBBA00; }
.pxc-tab__alim small { color: #666; font-size: 12px; }
.pxc-tab__alim ul { list-style: none; margin: 0; padding: 0; }
.pxc-tab__alim li { font-size: 13px; padding: 3px 0; }
.pxc-tab__ok { font-style: normal; font-size: 11px; background: #d9f2df; color: #146c2e; padding: 1px 8px; border-radius: 99px; margin-left: 4px; }
.pxc-tab__nota { font-size: 12px; color: #666; margin: 8px 0; }

/* Acceso a materiales */
.pxc-acceso { border: 0; padding: 0; margin: 10px 0; }
.pxc-acceso legend { font-weight: 800; margin-bottom: 6px; }
.pxc-acceso__op { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 10px; }
.pxc-acceso__op label { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }

.pxc-lec__compra { max-width: 560px; margin-bottom: 18px; }
.pxc-lec__precio { font-size: 26px; font-weight: 900; margin: 6px 0 0; }
.pxc-check { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 8px; }

/* Ejemplos en las matrices */
.pxc-mx-ej { margin: 4px 0 10px; }
.pxc-mx-ej summary { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #000; background: #fdeeb3; padding: 4px 12px; border-radius: 999px; list-style: none; }
.pxc-mx-ej summary::-webkit-details-marker { display: none; }
.pxc-mx-ej summary::before { content: "💡"; }
.pxc-mx-ej[open] summary { background: #FBBA00; }
.pxc-mx-ej > div { margin-top: 8px; background: #fffbea; border-left: 3px solid #FBBA00; border-radius: 0 10px 10px 0; padding: 12px 14px; font-size: 14px; line-height: 1.55; color: #333; }
.pxc-mx-ej small { display: block; margin-top: 8px; color: #888; font-size: 12px; }

/* ---------- Tarjetas, firmas y QR ---------- */
.pxc-tj-items { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 8px; }
.pxc-tj-items li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 14px; background: #f6f6f6; border-radius: 16px; }
.pxc-tj-items li > span:first-child { flex: 1 1 220px; display: flex; flex-direction: column; }
.pxc-tj-items small { color: #666; font-size: 13px; }
.pxc-tj-items form { display: inline; }
.pxc-tj-cab { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin-bottom: 18px; }
.pxc-tj-cab__n { flex: 1 1 280px; }
.pxc-tj-ed { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.pxc-tj-ed__lienzo { background: #e9e9e9; border-radius: var(--pxa-r, 28px); padding: 16px; }
.pxc-tj-ed__barra { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; margin-bottom: 10px; }
.pxc-tj-ed__marco { background: repeating-conic-gradient(#ddd 0 25%, #f4f4f4 0 50%) 0 0 / 16px 16px; border-radius: 12px; padding: 12px; overflow: auto; }
.pxc-tj-ed__marco canvas { display: block; max-width: 100%; height: auto; margin: 0 auto; box-shadow: 0 6px 24px rgba(0,0,0,.18); cursor: move; }
.pxc-tj-ed__panel { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; }
.pxc-tj-sec { background: #fff; border-radius: 18px; padding: 12px 14px; }
.pxc-tj-sec > summary { font-weight: 800; cursor: pointer; }
.pxc-tj-sec label { display: block; font-size: 13px; font-weight: 600; margin-top: 8px; }
.pxc-tj-sec input[type=text], .pxc-tj-sec input[type=number], .pxc-tj-sec select { width: 100%; }
.pxc-tj-sec input[type=color] { width: 100%; height: 34px; padding: 0; border: 0; background: none; }
.pxc-tj-sec h4 { margin: 8px 0 0; font-size: 15px; }
.pxc-tj-cmyk { display: grid; grid-template-columns: auto repeat(4, 1fr); gap: 6px; align-items: end; margin-top: 8px; font-size: 12px; }
.pxc-tj-cmyk span { font-weight: 800; padding-bottom: 8px; }
.pxc-tj-cmyk label { margin: 0; }
.pxc-tj-val { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.pxc-tj-fuentes { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.pxc-tj-fuentes li { display: flex; justify-content: space-between; gap: 8px; font-size: 16px; }
.pxc-tj-sub summary { font-size: 13px; cursor: pointer; margin-top: 10px; }
.pxc-tj-ed__acc { display: flex; gap: 8px; flex-wrap: wrap; }
.pxc-ayuda { font-size: 12.5px; color: #555; line-height: 1.45; margin: 6px 0; }
.pxc-tj-cli { display: grid; grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); gap: 18px; align-items: start; }
.pxc-tj-cli__form label { display: block; font-weight: 600; font-size: 14px; margin-top: 10px; }
.pxc-tj-cli .pxc-tj-cli__form input[type=text] { width: 100%; max-width: none; box-sizing: border-box; }
.pxc-tj-cli__form input[readonly] { background: #f2f2f2; color: #666; }
.pxc-tj-cli__form small { display: block; color: #777; font-weight: 500; }
.pxc-tj-cli__acc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pxc-tj-cli__vista { background: #e9e9e9; border-radius: var(--pxa-r, 28px); padding: 16px; }
.pxc-tj-cli__vista canvas { display: block; max-width: 100%; height: auto; margin: 0 auto; box-shadow: 0 6px 24px rgba(0,0,0,.18); }
@media (max-width: 960px) { .pxc-tj-ed, .pxc-tj-cli { grid-template-columns: 1fr; } .pxc-tj-ed__panel { position: static; max-height: none; } }

/* Ficha del cliente por pestañas */
.pxc-vistas a.is-on { background: #000; color: #fff !important; }
.pxc-vistas a em { font-style: normal; font-weight: 800; margin-left: 4px; padding: 0 7px; border-radius: 100px; background: var(--pxa-amarillo, #FBBA00); color: #000; font-size: 11px; }
.pxc-vista-cli { margin-top: 8px; }
.pxc-tj-items__acc { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* ---------- Contabilidad ---------- */
.pxc-cont-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.pxc-cont-anio { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.pxc-cont-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
.pxc-cont-kpis--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pxc-cont-k { background: #fff; border-radius: 22px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; color: #000 !important; text-decoration: none !important; min-width: 0; }
.pxc-cont-k small { color: #666; font-size: 12px; }
.pxc-cont-k b { font-size: 24px; line-height: 1.15; }
.pxc-cont-k.is-alerta { background: var(--pxa-amarillo, #FBBA00); }
.pxc-cont-k.is-alerta small { color: #000; }
.pxc-cont-lim { margin-bottom: 14px; }
.pxc-cont-lim__t { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; }
.pxc-cont-barra { height: 14px; border-radius: 99px; background: #eee; overflow: hidden; margin: 10px 0 6px; }
.pxc-cont-barra i { display: block; height: 100%; background: #000; border-radius: 99px; }
.pxc-cont-barra.is-alto i { background: #e63946; }
.pxc-cont-lim small { color: #666; font-size: 12.5px; }
.pxc-cont-fila { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.pxc-cont-fila h3, .pxc-card > h3 { margin: 0 0 12px; font-size: 15px; }
.pxc-cont-bars { display: flex; align-items: flex-end; gap: 6px; height: 170px; border-bottom: 1px solid #ddd; padding-bottom: 18px; position: relative; }
.pxc-cont-bars div { flex: 1; display: flex; gap: 2px; align-items: flex-end; height: 100%; position: relative; }
.pxc-cont-bars i { flex: 1; border-radius: 4px 4px 0 0; min-height: 1px; }
.pxc-cont-bars i.e, .pxc-cont-ley i.e { background: #d6d6d6; }
.pxc-cont-bars i.c, .pxc-cont-ley i.c { background: #000; }
.pxc-cont-bars span { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; font-size: 10.5px; color: #666; }
.pxc-cont-ley { font-size: 12px; margin: 22px 0 0; display: flex; gap: 6px; align-items: center; }
.pxc-cont-ley i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-left: 6px; }
.pxc-cont-torta { width: 140px; height: 140px; border-radius: 50%; margin: 2px auto 12px; }
.pxc-cont-ley2 { list-style: none; padding: 0; margin: 0; font-size: 12.5px; line-height: 1.9; }
.pxc-cont-ley2 i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.pxc-cont-ley2 b { float: right; }
.pxc-cont-cats div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid #f1f1f1; font-size: 14px; }
.pxc-cont-cats dd { margin: 0; font-weight: 800; }
.pxc-cont-nuevo { float: right; }
.pxc-cont-tabla { overflow-x: auto; }
.pxc-cont-tabla table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pxc-cont-tabla th { text-align: left; color: #666; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; padding: 8px 6px; border-bottom: 1px solid #eee; white-space: nowrap; }
.pxc-cont-tabla td { padding: 9px 6px; border-bottom: 1px solid #f1f1f1; vertical-align: top; }
.pxc-cont-tabla td small { display: block; color: #777; font-size: 11.5px; }
.pxc-cont-tabla .n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pxc-cont-tabla tr.is-anulado td { opacity: .45; text-decoration: line-through; }
.pxc-cont-total td { font-weight: 800; border-top: 2px solid #000; }
.pxc-cont-st { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 99px; background: #eee; white-space: nowrap; }
.pxc-cont-st.is-cobrado { background: #d8f5d0; }
.pxc-cont-st.is-por_cobrar { background: var(--pxa-amarillo, #FBBA00); }
.pxc-cont-st.is-vencido { background: #ffd0d0; }
.pxc-cont-acc { white-space: nowrap; }
.pxc-cont-acc form { display: inline; }
.pxc-cont-cobrar td { background: #fafafa; }
.pxc-cont-cobrar form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; font-size: 12px; }
.pxc-cont-cobrar label { display: flex; flex-direction: column; }
.pxc-cont-filtros { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.pxc-cont-filtros input[type=search] { flex: 1 1 220px; }
.pxc-cont-falta ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pxc-cont-falta li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; background: #fff6d6; border-radius: 16px; padding: 10px 14px; }
.pxc-cont-falta li > span { flex: 1 1 220px; display: flex; flex-direction: column; }
.pxc-cont-falta form { display: inline; }
.pxc-cont-falta small { color: #666; }
.pxc-cont-calc { font-weight: 700; min-height: 1em; }
.pxc-cont-notas { padding-left: 18px; }
@media (max-width: 1100px) { .pxc-cont-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pxc-cont-fila { grid-template-columns: 1fr; } }
.pxc-cont-lim, .pxc-cont-fila > .pxc-card, .pxc-cont-falta { display: block; }
.pxc-cont-barra, .pxc-cont-bars { width: 100%; }
.pxc-cont-cats div { gap: 12px; }
.pxc-cont-ley2 li { display: flex; align-items: center; gap: 6px; }
.pxc-cont-ley2 b { margin-left: auto; float: none; }

/* Lista interna de piezas */
.pxt-lista-buscar { display: flex; gap: 12px; align-items: center; margin: 12px 0; }
.pxt-lista-buscar input { flex: 1 1 320px; }
.pxt-lista-cat { display: block; margin-bottom: 10px; }
.pxt-lista-cat > summary { cursor: pointer; font-size: 15px; }
.pxt-lista-cat > summary small { color: #666; font-weight: 500; margin-left: 6px; }
.pxt-lista-catn { display: block; margin: 12px 0 6px; font-size: 13px; font-weight: 600; }
.pxt-lista-t input { width: 100%; }
.pxt-lista-t .pxt-lista-n { min-width: 260px; }
.pxt-lista-t .pxt-lista-p, .pxt-lista-t .pxt-lista-h { width: 90px; }
.pxt-lista-t td:nth-child(5), .pxt-lista-t td:nth-child(6) { text-align: center; }
.pxt-lista-guardar { position: sticky; bottom: 12px; display: flex; justify-content: flex-end; margin: 12px 0; z-index: 5; }
.pxt-lista-cat[hidden], .pxt-lista-t tr[hidden] { display: none !important; }
/* Lista de piezas: mismo lenguaje del entorno (sin bordes, filas alternas, columnas centradas) */
.pxt-lista-cat .pxc-tabla-wrap { border: 0; border-radius: 18px; }
.pxt-lista-t th { text-align: center; }
.pxt-lista-t th:first-child, .pxt-lista-t td:first-child { text-align: left; }
.pxt-lista-t td { text-align: center; padding: 6px 10px; border: 0; vertical-align: middle; }
.pxt-lista-t tbody tr:nth-child(odd) td { background: #fff; }
.pxt-lista-t tbody tr:nth-child(even) td { background: #f2f2f2; }
.pxa-front .pxt-lista-t input:not([type=checkbox]):not([type=hidden]) { border: 0 !important; background: transparent; border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 14px; box-shadow: none; min-height: 0; }
.pxa-front .pxt-lista-t input.pxt-lista-p, .pxa-front .pxt-lista-t input.pxt-lista-h { text-align: center; }
.pxa-front .pxt-lista-t input:not([type=checkbox]):hover { background: rgba(0,0,0,.05); }
.pxa-front .pxt-lista-t input:not([type=checkbox]):focus { background: #fff; outline: 2px solid var(--pxa-amarillo, #FBBA00); }
.pxt-lista-t input[type=checkbox] { width: 18px; height: 18px; accent-color: #000; }
.pxt-lista-x { border: 0; background: transparent; color: #999; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; padding: 6px 10px; border-radius: 99px; }
.pxt-lista-x:hover { background: #000; color: #fff; }
.pxt-lista-t tr.is-quitar td { opacity: .45; }
.pxt-lista-t tr.is-quitar .pxt-lista-n { text-decoration: line-through; }
.pxt-lista-t tr.is-quitar .pxt-lista-x { opacity: 1; color: #e63946; }
.pxt-lista-catn { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 14px; font-size: 13px; font-weight: 700; max-width: 420px; }
.pxa-front .pxt-lista-catn input { border: 0 !important; background: #f2f2f2; border-radius: 99px; padding: 10px 16px; font: inherit; font-size: 15px; font-weight: 600; }
.pxa-front .pxt-lista-catn input:focus { outline: 2px solid var(--pxa-amarillo, #FBBA00); background: #fff; }
.pxt-lista-t td:first-child { min-width: 340px; } .pxa-front .pxt-lista-t input.pxt-lista-n { width: 100%; }
/* Buscador ancho y categorías más bajas */
.pxt-lista-buscar { width: 100%; }
.pxa-front .pxt-lista-buscar input[type=search] { flex: 1 1 auto; width: 100%; border: 0 !important; background: #fff; border-radius: 99px; padding: 14px 22px; font: inherit; font-size: 16px; min-height: 0; box-shadow: none; }
.pxa-front .pxt-lista-buscar input[type=search]:focus { outline: 2px solid var(--pxa-amarillo, #FBBA00); }
.pxt-lista-buscar span { white-space: nowrap; font-weight: 700; font-size: 13px; }
.pxc-card.pxt-lista-cat { padding: 12px 20px; border-radius: 20px; margin-bottom: 8px; }
.pxt-lista-cat > summary { padding: 4px 0; outline: none; }
.pxt-lista-cat > summary:focus-visible { outline: 2px solid var(--pxa-amarillo, #FBBA00); border-radius: 8px; }
.pxt-lista-cat[open] { padding-bottom: 18px; }
body.pxc-body .pxc .pxt-lista-buscar input[type=search], body.pxc-body .pxc .pxt-lista-t input[type=number], body.pxc-body .pxc .pxt-lista-catn input { border: 0 !important; box-shadow: none !important; }
body.pxc-body .pxc .pxt-lista-buscar input[type=search]:focus, body.pxc-body .pxc .pxt-lista-t input:focus, body.pxc-body .pxc .pxt-lista-catn input:focus { box-shadow: 0 0 0 2px var(--pxa-amarillo, #FBBA00) !important; outline: 0; }

/* ---------- Catálogo de piezas ---------- */
.pxc-cat { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.pxc-cat__carro { display: block; position: sticky; top: 16px; border: 0; border-radius: 22px; }
.pxc-cat__carro h3 { margin: 0 0 10px; }
.pxc-cat__carro ul { list-style: none; padding: 0; margin: 0 0 10px; font-size: 13px; }
.pxc-cat__carro li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid #f1f1f1; }
.pxc-cat__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; margin: 10px 0 4px; }
.pxc-cat__total b { font-size: 24px; }
.pxc-cat__carro label { display: block; font-weight: 700; font-size: 13px; margin: 12px 0; }
.pxc-cat__carro textarea { width: 100%; box-sizing: border-box; border-radius: 14px !important; margin-top: 6px; }
.pxc-cat__carro .pxa-btn { width: 100%; justify-content: center; }
.pxc-cat__carro .pxa-btn:disabled { opacity: .35; cursor: not-allowed; }
.pxc-cat-t td:nth-child(2) { white-space: nowrap; font-weight: 700; }
.pxc-cat-t tr.is-on td { background: #fff4cc !important; }
.pxc-cat-q { display: inline-flex; align-items: center; gap: 4px; }
.pxc-cat-q button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: #000; color: #fff; font-size: 16px; font-weight: 800; cursor: pointer; line-height: 1; }
.pxc-cat-q button:hover { background: var(--pxa-amarillo, #FBBA00); color: #000; }
body.pxc-body .pxc .pxc-cat-q input[type=number] { width: 52px; text-align: center; border: 0 !important; background: transparent; font-weight: 800; font-size: 15px; -moz-appearance: textfield; padding: 4px; }
.pxc-cat-q input::-webkit-outer-spin-button, .pxc-cat-q input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pxc-cat-ficha { display: block; margin-bottom: 14px; border: 0; }
.pxc-cat-ficha__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.pxc-cat-ficha__top span { display: flex; flex-direction: column; }
.pxc-cat-ficha__top small { color: #666; }
.pxc-pedidos { display: grid; gap: 12px; margin-top: 12px; }
.pxc-pedido { background: #fff; border-radius: 20px; padding: 16px 18px; }
.pxc-cat-ficha .pxc-pedido { background: #f6f6f6; }
.pxc-pedido__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; margin-bottom: 8px; }
.pxc-pedido ul { list-style: none; padding: 0; margin: 0; font-size: 13.5px; }
.pxc-pedido li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.pxc-pedido__total { text-align: right; margin: 8px 0; }
.pxc-pedido .pxa-mi__acc form { display: inline; }
.pxc-pedido.is-descartado { opacity: .55; }
@media (max-width: 960px) { .pxc-cat { grid-template-columns: 1fr; } .pxc-cat__carro { position: static; } }
.pxc-cat__carro li b { white-space: nowrap; }

/* Presupuesto rápido (2.15.1) */
.pxc-pr { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.pxc-pr__izq { min-width: 0; }
.pxc-pr-buscar { position: relative; margin-bottom: 14px; }
body.pxc-body .pxc .pxc-pr-buscar input[type=search] { width: 100%; box-sizing: border-box; border: 0 !important; box-shadow: none !important; background: #fff; border-radius: 999px; padding: 16px 22px; font-size: 16px; }
.pxc-pr-sug { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: #fff; border-radius: 18px; box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.pxc-pr-sug[hidden] { display: none; }
.pxc-pr-sug li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 14px; border-radius: 12px; cursor: pointer; font-size: 14px; }
.pxc-pr-sug li small { display: block; color: #777; font-size: 11px; }
.pxc-pr-sug li b { white-space: nowrap; }
.pxc-pr-sug li.is-on, .pxc-pr-sug li:hover { background: #fff4cc; }
.pxc-pr-des { display: block; border: 0; }
.pxc-pr-t th:first-child, .pxc-pr-t td:first-child { text-align: left; }
.pxc-pr-t th, .pxc-pr-t td { text-align: center; vertical-align: middle; }
.pxc-pr-t tbody tr:nth-child(even) td { background: #f6f6f6; }
.pxc-pr-t td { border: 0 !important; }
.pxc-pr-n { font-weight: 600; }
body.pxc-body .pxc .pxc-pr-t input.pxc-pr-p, body.pxc-body .pxc .pxc-pr-t input.pxc-pr-libre { border: 0 !important; box-shadow: none !important; background: transparent; font-weight: 700; }
body.pxc-body .pxc .pxc-pr-t input.pxc-pr-p { width: 90px; text-align: center; }
body.pxc-body .pxc .pxc-pr-t input.pxc-pr-libre { width: 100%; font-weight: 600; }
.pxc-pr-tot { font-weight: 800; white-space: nowrap; }
.pxc-pr-x { width: 28px; height: 28px; border-radius: 50%; border: 0; background: transparent; color: #999; font-size: 20px; line-height: 1; cursor: pointer; }
.pxc-pr-x:hover { background: #000; color: #fff; }
.pxc-pr-vacio { color: #777; margin: 12px 0; }
.pxc-pr-vacio[hidden] { display: none; }
.pxc-pr__carro { max-height: calc(100vh - 32px); overflow-y: auto; }
body.pxc-body .pxc .pxc-pr__carro select, body.pxc-body .pxc .pxc-pr__carro input:not([type=checkbox]):not([type=radio]), body.pxc-body .pxc .pxc-pr__carro textarea { width: 100%; box-sizing: border-box; margin-top: 6px; border: 0 !important; box-shadow: none !important; background: #f3f3f3; border-radius: 12px; padding: 9px 12px; font-weight: 600; }
.pxc-pr__fila { display: grid; grid-template-columns: 1fr 90px; gap: 10px; }
.pxc-pr__fila2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pxc-pr__fila label, .pxc-pr__fila2 label { margin: 6px 0 !important; }
.pxc-pr-nuevo { border: 0; margin: 0 0 6px; padding: 12px 14px; background: #fff4cc; border-radius: 16px; }
.pxc-pr-nuevo[hidden] { display: none !important; }
.pxc-pr-nuevo p { margin: 0 0 4px; font-size: 12px; }
body.pxc-body .pxc .pxc-pr-nuevo input, body.pxc-body .pxc .pxc-pr-nuevo select { background: #fff !important; }
.pxc-pr__comp { border: 0; padding: 0; margin: 12px 0; }
.pxc-pr__comp legend { font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.pxc-pr__carro .pxc-check { display: flex !important; align-items: center; gap: 8px; font-weight: 500 !important; margin: 6px 0 !important; }
.pxc-pr__rh { background: #fff4cc; border-radius: 16px; padding: 12px 14px; font-size: 13px; }
.pxc-pr__rh[hidden] { display: none !important; }
.pxc-pr__rh p { margin: 0 0 6px; }
.pxc-pr__rh small { color: #555; display: block; }
.pxc-pr__res { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13px; }
.pxc-pr__res td { padding: 5px 0; }
.pxc-pr__res td:last-child { text-align: right; white-space: nowrap; }
.pxc-pr__res tr.total td { font-size: 20px; font-weight: 800; border-top: 1px solid #000; padding-top: 8px; }
.pxc-pr__res tr.nota td { color: #666; font-size: 12px; text-align: left; }
@media (max-width: 960px) { .pxc-pr { grid-template-columns: 1fr; } .pxc-pr__carro { max-height: none; position: static; } }

/* Impresión · In-K (2.16.0) */
.pxc-ink-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; flex-direction: row; }
.pxc-ink-top h2 { margin: 0 0 4px; }
.pxc-ink-top p { margin: 0; max-width: 560px; }
.pxc-ink-lista { display: block; }
.pxc-ink-lista h3 small { font-weight: 600; color: #777; font-size: 13px; }
.pxc-ink-t th, .pxc-ink-t td { text-align: center; vertical-align: middle; }
.pxc-ink-t th:first-child, .pxc-ink-t td:first-child { text-align: left; }
.pxc-ink-t td:first-child small { display: block; color: #777; font-size: 11px; }
.pxc-ink-t tbody tr:nth-child(even) td { background: #f6f6f6; }
.pxc-ink-t td { border: 0 !important; }

/* Matrices lúdicas · modo lienzo (2.17.0) */
.pxc-lz-modo { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 6px 0 16px; }
.pxc-lz-modo [data-lz-modo] { border: 0; background: #fff; border-radius: 99px; padding: 9px 18px; font: 700 14px Montserrat, system-ui, sans-serif; cursor: pointer; color: #000; }
.pxc-lz-modo [data-lz-modo].is-on { background: #000; color: #fff; }
.pxc-lz-modo__ayuda { font-size: 12px; color: #666; margin-left: 6px; }
.pxc-lz-full { margin-left: auto; }
.pxc-mx.is-lienzo .pxc-mx-pasos, .pxc-mx.is-lienzo .pxc-mx-paso { display: none !important; }
.pxc-mx:fullscreen { background: #f2f2f2; overflow: auto; padding: 24px; }
.pxc-lz[hidden] { display: none !important; }
.pxc-lz { display: grid; gap: 22px; margin-bottom: 18px; }
.pxc-lz-tab { background: #fff; border-radius: 22px; padding: 18px; }
.pxc-lz-tab__cab h3 { margin: 0 0 2px; font-size: 18px; }
.pxc-lz-tab__cab p { margin: 0 0 14px; color: #666; font-size: 13px; }
.pxc-lz-grid { display: grid; gap: 10px; }
.pxc-lz-zona { background: color-mix(in srgb, var(--zc) 30%, #fff); border-radius: 16px; padding: 12px; min-height: 150px; display: flex; flex-direction: column; gap: 6px; transition: box-shadow .15s; }
.pxc-lz-zona.is-destino { box-shadow: inset 0 0 0 2px #000; }
.pxc-lz-zona--deco { background: #111; color: #fff; align-items: center; justify-content: center; border-radius: 50%; aspect-ratio: 1; min-height: 0; align-self: center; text-align: center; font-size: 15px; }
.pxc-lz-zona__cab { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.pxc-lz-zona__cab strong { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.pxc-lz-zona__n { font-size: 11px; font-weight: 800; background: rgba(0,0,0,.08); border-radius: 99px; padding: 1px 8px; }
.pxc-lz-zona__n:empty { display: none; }
.pxc-lz-zona__pista { color: #555; font-size: 11px; margin-top: -4px; }
.pxc-lz-zona.is-vacia .pxc-lz-lista::before { content: 'Doble clic para escribir'; color: rgba(0,0,0,.35); font-size: 12px; }
.pxc-lz-lista { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; flex: 1; min-height: 40px; }
.pxc-lz-nota { position: relative; background: var(--zc); border-radius: 4px 4px 12px 4px; padding: 10px 22px 12px 10px; width: 150px; min-height: 64px; box-shadow: 0 2px 6px rgba(0,0,0,.12); transform: rotate(var(--rot, 0deg)); cursor: grab; touch-action: none; transition: transform .12s; }
.pxc-lz-nota:hover { transform: rotate(0deg) scale(1.03); z-index: 2; }
.pxc-lz-nota__t { font-size: 13px; font-weight: 600; line-height: 1.35; outline: none; min-height: 1.3em; word-break: break-word; cursor: text; }
.pxc-lz-nota__x { position: absolute; top: 2px; right: 4px; border: 0; background: transparent; font-size: 16px; line-height: 1; color: rgba(0,0,0,.45); cursor: pointer; opacity: 0; padding: 2px; }
.pxc-lz-nota:hover .pxc-lz-nota__x, .pxc-lz-nota:focus-within .pxc-lz-nota__x { opacity: 1; }
.pxc-lz-nota.is-origen { opacity: .35; }
.pxc-lz-nota.is-fantasma { position: fixed; z-index: 9999; pointer-events: none; transform: rotate(3deg) scale(1.05); box-shadow: 0 12px 28px rgba(0,0,0,.25); }
.pxc-lz.is-arrastrando, .pxc-lz.is-arrastrando * { cursor: grabbing !important; user-select: none; }
.pxc-lz-mas { align-self: flex-start; border: 0; background: rgba(255,255,255,.7); border-radius: 99px; padding: 5px 12px; font: 700 12px Montserrat, system-ui, sans-serif; cursor: pointer; }
.pxc-lz-mas:hover { background: #fff; }
.pxc-lz-mapa { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; }
.pxc-lz-mapa__area { position: relative; width: min(100% - 60px, 520px); aspect-ratio: 1; margin: 10px 26px 34px 34px; justify-self: center; background:
  linear-gradient(#000, #000) center / 1px 100% no-repeat, linear-gradient(#000, #000) center / 100% 1px no-repeat, #fafafa; border-radius: 10px; }
.pxc-lz-eje { position: absolute; font-size: 11px; font-weight: 700; color: #555; white-space: nowrap; }
.pxc-lz-eje--x0 { left: 0; bottom: -22px; } .pxc-lz-eje--x1 { right: 0; bottom: -22px; }
.pxc-lz-eje--y0 { left: -28px; bottom: 0; transform: rotate(-90deg); transform-origin: left bottom; }
.pxc-lz-eje--y1 { left: -28px; top: 0; transform: rotate(-90deg) translateX(-100%); transform-origin: left top; }
.pxc-lz-eje--tx { left: 50%; bottom: -22px; transform: translateX(-50%); color: #000; text-transform: uppercase; }
.pxc-lz-eje--ty { left: -28px; top: 50%; transform: rotate(-90deg) translateX(-50%); transform-origin: left top; color: #000; text-transform: uppercase; }
.pxc-lz-punto { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #000; cursor: grab; touch-action: none; z-index: 2; }
.pxc-lz-punto span { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 700; white-space: nowrap; background: rgba(255,255,255,.85); padding: 1px 6px; border-radius: 6px; pointer-events: none; }
.pxc-lz-punto.is-tu { background: #FBBA00; width: 24px; height: 24px; margin: -12px 0 0 -12px; }
.pxc-lz-mapa__lado { display: flex; flex-direction: column; gap: 8px; }
.pxc-lz-marca { position: relative; display: grid; gap: 4px; background: #f3f3f3; border-radius: 12px; padding: 8px 26px 8px 10px; }
.pxc-lz-marca.is-tu { background: #fff0b8; }
body.pxc-body .pxc .pxc-lz-marca input { border: 0 !important; box-shadow: none !important; background: transparent; padding: 2px 0; font: 600 13px Montserrat, system-ui, sans-serif; width: 100%; }
body.pxc-body .pxc .pxc-lz-marca input[name=c] { font-weight: 500; font-size: 12px; color: #555; }
.pxc-lz-marca .pxc-lz-nota__x { opacity: 1; }
@media (max-width: 900px) {
  .pxc-lz-grid { grid-template-columns: 1fr !important; grid-template-areas: none !important; }
  .pxc-lz-zona { grid-area: auto !important; }
  .pxc-lz-zona--deco { display: none; }
  .pxc-lz-mapa { grid-template-columns: 1fr; }
}

/* Escritores: registro y servicios (2.20.0) */
.pxc-reg .pxc-login__form { max-width: 640px; justify-content: flex-start; }
.pxc-reg__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pxc-reg__soy { border: 0; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pxc-reg__soy legend { font-weight: 800; margin-bottom: 8px; font-size: 15px; }
.pxc-reg__op { position: relative; display: block; cursor: pointer; margin: 0 !important; }
.pxc-reg__op input { position: absolute; opacity: 0; pointer-events: none; }
.pxc-reg__op span { display: flex; flex-direction: column; gap: 4px; background: #fff; border-radius: 18px; padding: 16px 18px; min-height: 92px; box-sizing: border-box; transition: background .15s; }
.pxc-reg__op b { font-size: 16px; }
.pxc-reg__op small { color: #555; font-weight: 500; font-size: 12px; line-height: 1.35; }
.pxc-reg__op input:checked + span { background: #000; color: #fff; }
.pxc-reg__op input:checked + span small { color: #ddd; }
.pxc-reg__op input:focus-visible + span { box-shadow: 0 0 0 2px #000; }
.pxc-reg__solo[hidden] { display: none !important; }
.pxc-reg__solo { background: rgba(255,255,255,.45); border-radius: 16px; padding: 12px 14px; margin-bottom: 12px; }
.pxc-reg__ayuda { display: block; color: #555; font-size: 12px; margin: -4px 0 8px; }
.pxc-reg .pxc-f__fila { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 700px) { .pxc-reg__soy, .pxc-reg .pxc-f__fila { grid-template-columns: 1fr; } }
.pxc-etapa.is-escritor { background: #eadcff; color: #3b1d6e; }
.pxc-esc-serv { display: block; margin-bottom: 18px; }
.pxc-esc-serv h3 { margin: 0 0 2px; }
.pxc-esc-serv__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 12px; }
.pxc-esc-serv__item { display: flex; flex-direction: column; gap: 6px; background: #f3f3f3; border-radius: 16px; padding: 14px 16px; text-decoration: none !important; color: #000 !important; transition: background .15s; }
.pxc-esc-serv__item:hover { background: #fff0b8; }
.pxc-esc-serv__item span { font-size: 13px; color: #444; line-height: 1.4; }
.pxc-esc-serv__item em { font-style: normal; font-weight: 700; font-size: 12px; margin-top: auto; }
.pxc-esc-ficha { align-items: end; }
body.pxc-body .pxa-front.pxc-reg input[type=text], body.pxc-body .pxa-front.pxc-reg input[type=email], body.pxc-body .pxa-front.pxc-reg input[type=tel], body.pxc-body .pxa-front.pxc-reg input[type=password], body.pxc-body .pxa-front.pxc-reg select { border: 0 !important; box-shadow: none !important; background: #fff !important; border-radius: 99px; padding: 12px 18px; width: 100%; box-sizing: border-box; font: 500 15px Montserrat, system-ui, sans-serif; }

/* 2.21 · Servicios con precio y «¿Aún no tienes tu Greenroom?» */
.pxc-esc-serv__p { font-size: 15px; font-weight: 700; color: #000; }
.pxc-grm-cta { display: block; margin-bottom: 18px; }
.pxc-grm-cta__btn { display: flex; align-items: center; gap: 14px; width: 100%; border: 0; border-radius: 999px; background: #000; color: #fff; padding: 14px 26px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-align: left; transition: background .15s; }
.pxc-grm-cta__btn:hover { background: #222; }
.pxc-grm-cta__btn > span:last-child { margin-left: auto; }
.pxc-grm-cta__logo { height: 26px; width: auto; display: block; }
.pxc-grm-cta__marca { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; letter-spacing: .02em; }
.pxc-grm-cta__panel { background: #f3f3f3; border-radius: 20px; padding: 18px 22px; margin-top: 10px; }
.pxc-grm-cta__panel ul { margin: 8px 0 10px 18px; padding: 0; line-height: 1.6; }
.pxc-grm-cta.is-pedida { display: flex; align-items: center; gap: 16px; background: #000; color: #fff; border-radius: 22px; padding: 16px 22px; }
.pxc-grm-cta.is-pedida p { margin: 0; }
@media (max-width: 560px) { .pxc-grm-cta__btn { flex-direction: column; align-items: flex-start; border-radius: 22px; gap: 6px; } .pxc-grm-cta__btn > span:last-child { margin-left: 0; } .pxc-grm-cta.is-pedida { flex-direction: column; align-items: flex-start; } }

/* 2.21.1 · Ubicación por país y documentos */
.pxa-geo { display: contents; }
.pxa-geo__sel { display: block; }
.pxa-geo select { width: 100%; border: 0; box-shadow: none; background: #fff; border-radius: 999px; padding: 10px 14px; font: inherit; font-size: 14px; }
.pxa-geo__nota { grid-column: 1 / -1; margin: -4px 0 0; font-size: 12px; color: #666; }
.pxc-pf__ayuda { display: block; font-size: 11px; color: #666; font-weight: 400; margin-top: 4px; }
.pxc-pf__ayuda:empty { display: none; }
.pxc-grm-cta__logo { height: 30px; max-width: 170px; object-fit: contain; }

/* 2.22 · GREENROOM: logo grande, texto en Poppins y mayúsculas, tarjeta centrada, formas de pago */
.pxc-grm-word { font-family: 'Poppins', 'Montserrat', system-ui, sans-serif; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.pxc-grm-cta__logo { height: 44px; max-width: 260px; width: auto; object-fit: contain; display: block; }
.pxc-grm-cta__marca { font-size: 22px; }
.pxc-grm-cta__btn > span:last-child { font-family: 'Poppins', 'Montserrat', system-ui, sans-serif; font-weight: 600; }
.pxc-grm-cta.is-pedida { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 26px 22px; }
.pxc-grm-cta.is-pedida .pxc-grm-cta__logo { height: 60px; max-width: 300px; margin: 0 auto; }
.pxc-grm-cta.is-pedida p { margin: 0; text-align: center; max-width: 560px; }
.pxc-grm-cta.is-pedida .pxc-grm-word { font-size: 1.05em; }
.pxc-grm-pago { width: 100%; max-width: 640px; margin: 6px auto 0; text-align: left; background: #fff; color: #000; border-radius: 20px; padding: 18px 20px; }
.pxc-grm-pago__t { margin: 0 0 6px; text-align: center; font-size: 17px; }
.pxc-grm-pago__ayuda { text-align: center !important; margin: 0 auto 14px !important; font-size: 13.5px; color: #444; }
.pxc-grm-pago__op, .pxc-grm-pago__otras { background: #f3f3f3; border-radius: 14px; margin-bottom: 8px; padding: 10px 14px; }
.pxc-grm-pago__op summary, .pxc-grm-pago__otras summary { cursor: pointer; font-weight: 600; list-style: none; }
.pxc-grm-pago__op summary::-webkit-details-marker, .pxc-grm-pago__otras summary::-webkit-details-marker { display: none; }
.pxc-grm-pago__op[open] { background: #fff0b8; }
.pxc-grm-pago__como { padding-top: 8px; font-size: 13.5px; line-height: 1.55; }
.pxc-grm-pago__como ol { margin: 6px 0 8px 18px; padding: 0; }
.pxc-grm-pago__como p { text-align: left !important; max-width: none !important; margin: 6px 0; }
.pxc-grm-pago__datos { background: #fff; border-radius: 10px; padding: 8px 12px; }
.pxc-grm-pago__form { margin-top: 14px; display: grid; gap: 10px; border-top: 1px solid #ddd; padding-top: 12px; }
.pxc-grm-pago__form h4 { margin: 0; text-align: center; }
.pxc-grm-pago__form label { display: block; font-size: 13px; font-weight: 600; }
.pxc-grm-pago__form input[type=text] { width: 100%; box-sizing: border-box; border: 0; background: #f3f3f3; border-radius: 99px; padding: 11px 16px; font: inherit; }
.pxc-grm-pago__form .pxa-btn { justify-self: center; }
.pxc-sala-adm h4 { margin: 14px 0 6px; }
.pxc-pf__ayuda--marca { display: block; margin: -2px 0 8px; font-size: 12px; color: #555; line-height: 1.45; }
@media (max-width: 560px) { .pxc-grm-cta__logo { height: 38px; } .pxc-grm-cta.is-pedida { align-items: center; } .pxc-grm-cta__btn { align-items: center; text-align: center; } }

/* 2.22.1 · Estilo de fichas Pixel: fondo amarillo, tarjeta blanca con borde negro, título en Montserrat negrita */
.pxc-planes, .pxc-card.pxc-esc-serv { background: var(--pxa-amarillo); border-radius: 28px; padding: 24px; color: #000; box-shadow: none; border: 0; }
.pxc-planes { margin: 14px 0 18px; }
.pxc-planes__t, .pxc-esc-serv h3 { margin: 0 0 4px; font: 900 22px/1.1 Montserrat, system-ui, sans-serif; text-transform: uppercase; color: #000; }
.pxc-planes__d, .pxc-esc-serv > .pxc-ayuda { margin: 0 0 16px; font-size: 14px; color: #222; }
.pxc-planes__grid, .pxc-esc-serv__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 0; }
.pxc-plan, .pxc-esc-serv__item { background: #fff; border: 2px solid #000; border-radius: 28px; padding: 22px; display: flex; flex-direction: column; gap: 8px; color: #000 !important; text-decoration: none !important; transition: transform .15s, box-shadow .15s; }
.pxc-esc-serv__item:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 6px 0 #000; }
.pxc-plan__eti, .pxc-esc-serv__eti { font: 700 12px/1.2 Montserrat, system-ui, sans-serif; letter-spacing: .05em; text-transform: uppercase; color: #555; }
.pxc-plan__reco { background: #000; color: #fff; border-radius: 99px; padding: 3px 9px; font-size: 10.5px; margin-left: 2px; }
.pxc-plan__t, .pxc-esc-serv__item > b { margin: 0; font: 900 26px/1 Montserrat, system-ui, sans-serif; text-transform: uppercase; color: #000; }
.pxc-esc-serv__item > b { font-size: 22px; }
.pxc-plan__d, .pxc-esc-serv__d { margin: 0; font-size: 14.5px; line-height: 1.6; color: #444; }
.pxc-plan__p { margin: 4px 0 0; }
.pxc-plan__p strong { font: 900 24px/1.1 Montserrat, system-ui, sans-serif; }
.pxc-plan__p span { font-size: 13px; color: #555; font-weight: 600; }
.pxc-plan__lista { margin: 4px 0 0 18px; padding: 0; font-size: 13.5px; line-height: 1.55; color: #333; }
.pxc-plan__lista li { margin-bottom: 4px; }
.pxc-plan__pie { margin: 2px 0 0; font-size: 12.5px; font-weight: 700; color: #000; }
.pxc-plan form { margin: auto 0 0; padding-top: 10px; }
.pxc-plan__cta, .pxc-esc-serv__item em { display: inline-flex; align-items: center; gap: 8px; font: 800 14px/1 Montserrat, system-ui, sans-serif; text-transform: uppercase; font-style: normal; color: #000 !important; text-decoration: none !important; background: none; border: 0; padding: 0; cursor: pointer; margin-top: auto; }
.pxc-plan__cta:hover { gap: 12px; }
.pxc-plan.is-reco { box-shadow: 0 6px 0 #000; }
.pxc-plan.is-bloqueada { background: #fffaf0; border-style: dashed; }
.pxc-esc-serv__p { font: 800 15px Montserrat, system-ui, sans-serif; color: #000; }
.pxc-grm-pago__plan { text-align: center !important; margin: 0 auto 10px !important; font-size: 13.5px; }
.pxc-grm-pago__cambiar { display: inline; }
.pxc-grm-pago__cambiar button { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; color: #000; }
@media (max-width: 560px) { .pxc-planes, .pxc-card.pxc-esc-serv { padding: 16px; border-radius: 22px; } .pxc-plan, .pxc-esc-serv__item { padding: 18px; border-radius: 22px; } .pxc-plan__t { font-size: 23px; } }

/* 2.23 · Cuadro negro que se abre, tarjetas sin borde que se levantan, postulación por pasos, ventana emergente */
.pxc-grm-cta[data-grm-cta] { background: #000; color: #fff; border-radius: 999px; transition: border-radius .2s; overflow: hidden; }
.pxc-grm-cta[data-grm-cta].is-open { border-radius: 28px; padding-bottom: 22px; }
.pxc-grm-cta[data-grm-cta] .pxc-grm-cta__btn { background: transparent; }
.pxc-grm-cta[data-grm-cta] .pxc-grm-cta__btn:hover { background: rgba(255,255,255,.08); }
.pxc-grm-cta[data-grm-cta] .pxc-grm-cta__panel { background: transparent; color: #fff; padding: 4px 22px 0; margin: 0; }
.pxc-grm-cta__intro { margin: 0 0 14px; text-align: center; color: #fff; }
.pxc-planes--negro { background: transparent; padding: 0; margin: 0; border-radius: 0; }
.pxc-planes--negro .pxc-planes__d { color: #ddd; text-align: center; }
.pxc-plan, .pxc-esc-serv__item { border: 0 !important; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.pxc-plan:hover, .pxc-esc-serv__item:hover { transform: translateY(-6px); box-shadow: 0 16px 28px rgba(0,0,0,.22); }
.pxc-plan.is-reco { box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.pxc-plan.is-reco:hover { box-shadow: 0 16px 28px rgba(0,0,0,.22); }
.pxc-plan form { margin: auto 0 0; padding-top: 10px; display: grid; gap: 10px; }
.pxc-plan__codigo { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.pxc-plan__codigo input { width: 100%; box-sizing: border-box; border: 0; background: #f3f3f3; border-radius: 99px; padding: 11px 16px; font: inherit; text-transform: uppercase; }
.pxc-plan__d { margin: 0; }
.pxc-sala-codigo__c { font: 800 26px/1.1 Montserrat, system-ui, sans-serif; letter-spacing: .06em; margin: 6px 0; }
.pxc-sala-post { margin: 12px 0; background: #f3f3f3; border-radius: 14px; padding: 12px 16px; }
.pxc-sala-post__l { margin: 8px 0 0 18px; line-height: 1.6; font-size: 13.5px; }
/* Postulación */
.pxc-volver-fila { margin: 0 0 12px; }
.pxc-wz__prog { list-style: none; display: flex; gap: 8px; margin: 14px 0; padding: 0; flex-wrap: wrap; }
.pxc-wz__prog li { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 99px; background: #f3f3f3; font-size: 13px; font-weight: 600; color: #666; }
.pxc-wz__prog li span { width: 24px; height: 24px; border-radius: 50%; background: #ddd; display: grid; place-items: center; font-weight: 800; }
.pxc-wz__prog li.is-on { background: #000; color: #fff; } .pxc-wz__prog li.is-on span { background: var(--pxa-amarillo); color: #000; }
.pxc-wz__prog li.is-hecho span { background: #000; color: #fff; }
.pxc-wz__prog li em { font-style: normal; }
.pxc-wz { display: block; }
.pxc-wz__paso { padding: 22px; display: grid; gap: 14px; }
.pxc-wz__paso[hidden] { display: none; }
.pxc-wz__paso h3 { margin: 0; font: 900 20px/1.15 Montserrat, system-ui, sans-serif; text-transform: uppercase; display: flex; gap: 10px; align-items: center; }
.pxc-wz__paso h3 span { background: var(--pxa-amarillo); border-radius: 50%; width: 30px; height: 30px; display: inline-grid; place-items: center; font-size: 15px; flex: 0 0 auto; }
.pxc-wz label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.pxc-wz input[type=text], .pxc-wz input[type=email], .pxc-wz input[type=tel], .pxc-wz input[type=number], .pxc-wz input[type=date], .pxc-wz input[type=time], .pxc-wz select, .pxc-wz textarea { width: 100%; box-sizing: border-box; border: 0; background: #f3f3f3; border-radius: 16px; padding: 12px 16px; font: 500 15px/1.4 var(--pxa-cuerpo); color: #000; }
.pxc-wz input[type=text], .pxc-wz input[type=email], .pxc-wz input[type=tel], .pxc-wz select { border-radius: 99px; }
.pxc-wz__fila { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.pxc-wz__ref { margin: 0; font-size: 14px; }
.pxc-wz h4 { margin: 4px 0 0; }
.pxc-wz__red { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px 14px; background: #f3f3f3; border-radius: 16px; }
.pxc-wz__redt { font-weight: 800; min-width: 90px; }
.pxc-wz__op { display: inline-flex !important; grid-template-columns: none !important; align-items: center; gap: 6px !important; font-weight: 600 !important; }
.pxc-wz__url { flex: 1 1 240px; } .pxc-wz__url[hidden] { display: none; }
.pxc-wz__url input { background: #fff !important; }
.pxc-wz__chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pxc-wz__chips legend { font-weight: 700; font-size: 13px; margin-bottom: 8px; padding: 0; width: 100%; }
.pxc-chip { display: inline-flex !important; cursor: pointer; }
.pxc-chip input { position: absolute; opacity: 0; pointer-events: none; }
.pxc-chip span { background: #f3f3f3; border-radius: 99px; padding: 8px 14px; font-weight: 600; font-size: 13.5px; transition: background .15s; }
.pxc-chip input:checked + span { background: #000; color: #fff; }
.pxc-chip input:focus-visible + span { outline: 3px solid var(--pxa-amarillo); }
.pxc-wz__otro { display: flex; gap: 8px; width: 100%; margin-top: 4px; } .pxc-wz__otro input { flex: 1; }
.pxc-wz__multi { display: grid; gap: 8px; } .pxc-wz__multi .pxa-btn { justify-self: start; }
.pxc-wz__elegido { margin: 0; font-weight: 700; background: var(--pxa-amarillo); border-radius: 12px; padding: 10px 14px; }
.pxc-wz__err { margin: 0; color: #b00020; font-weight: 600; font-size: 14px; } .pxc-wz__err[hidden] { display: none; }
.pxc-wz__nav { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
/* Ventana emergente */
.pxc-modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: grid; place-items: center; z-index: 9999; padding: 20px; }
.pxc-modal__caja { background: #fff; color: #000; border-radius: 28px; padding: 30px; max-width: 480px; box-shadow: 0 24px 60px rgba(0,0,0,.4); text-align: center; }
.pxc-modal__caja h3 { margin: 0 0 12px; font: 900 26px/1.1 Montserrat, system-ui, sans-serif; text-transform: uppercase; }
.pxc-modal__caja p { margin: 0 0 12px; line-height: 1.55; font-size: 15px; }
/* Acceso: separar «Entrar» de los enlaces y dejar dos botones lado a lado */
.pxc-login__form .pxc-form .pxa-btn { margin-bottom: 4px; }
.pxc-login__links { margin: 26px 0 0; line-height: 1.8; }
.pxc-login__botones { flex: 1 0 100%; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.pxc-login__botones .pxa-btn { flex: 0 1 auto; }
@media (max-width: 560px) { .pxc-wz__paso { padding: 16px; } .pxc-grm-cta[data-grm-cta] .pxc-grm-cta__panel { padding: 4px 14px 0; } .pxc-grm-cta[data-grm-cta] { border-radius: 28px; } }

/* 2.23.1 · Pantalla de pago como la de reservas, reunión previa de Estreno */
.pxc-sala-vista { margin: 14px 0 24px; }
.pxc-sala-vista .pxa-reserva__grid { padding-bottom: 10px; }
.pxc-sala-vista__t { font: 900 clamp(22px, 2.6vw, 32px)/1.05 Montserrat, system-ui, sans-serif; text-transform: uppercase; margin: 0 0 16px; }
.pxc-sala-vista .pxa-paso { display: block; }
.pxc-sala-total { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid #000; border-radius: 18px; margin: 0 0 14px; overflow: hidden; }
.pxc-sala-total > div { padding: 12px 18px; display: grid; gap: 4px; }
.pxc-sala-total > div + div { border-left: 2px solid #000; }
.pxc-sala-total small { font-size: 12px; text-transform: uppercase; letter-spacing: .02em; }
.pxc-sala-total strong { font-size: 16px; }
.pxc-sala-como { margin: 4px 0 14px; background: #f3f3f3; border-radius: 14px; padding: 10px 14px; }
.pxc-sala-como > summary { cursor: pointer; font-weight: 700; }
.pxc-sala-como .pxc-grm-pago__op { background: #fff; }
.pxc-sala-pagoform { display: block; }
.pxc-sala-metodo { display: grid; gap: 6px; font-size: 13px; font-weight: 700; text-transform: uppercase; margin: 0 0 14px; }
.pxc-sala-metodo select { border: 2px solid #000; border-radius: 99px; padding: 10px 18px; font: 500 15px var(--pxa-cuerpo); background: #fff; text-transform: none; }
.pxc-sala-resumen { position: static; }
.pxc-sala-resumen__sub { font-weight: 800; text-transform: uppercase; font-size: 14px; line-height: 1.3; margin: 0 0 14px; padding-bottom: 14px; border-bottom: 2px solid rgba(255,255,255,.2); }
.pxc-sala-resumen__txt { font-size: 14px; color: #d6d6d6; }
.pxc-sala-resumen__txt .pxc-plan__d, .pxc-sala-resumen__txt .pxc-plan__lista { color: #d6d6d6; font-size: 14px; }
.pxc-sala-resumen__txt strong { display: block; margin-bottom: 6px; color: #fff; }
.pxc-sala-resumen__cambiar { margin: 0 0 10px; }
.pxc-sala-resumen__cambiar button { background: none; border: 0; color: var(--pxa-amarillo); font: inherit; font-size: 13px; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0; }
.pxc-sala-cita .pxa-nav { margin-top: 18px; }
@media (max-width: 860px) { .pxc-sala-total { grid-template-columns: 1fr; } .pxc-sala-total > div + div { border-left: 0; border-top: 2px solid #000; } }
.pxc-sala-paypal { margin-top: -4px; }
.pxc-sala-paypal .pxa-pago { max-width: 360px; }
.pxc-sala-paypal__btn { margin-top: 10px; min-height: 44px; }
/* PayPal dentro de la página: aísla el botón de los estilos de la app */
.pxc-sala-paypal__ir { align-self: flex-start; margin-top: 8px; }
.pxc-sala-paypal__card { border: 2px solid #000; border-radius: 18px; padding: 16px 18px; background: #fff; color: #000; display: flex; flex-direction: column; gap: 6px; max-width: 420px; }
.pxc-sala-paypal .pxc-sala-paypal__btn, .pxc-sala-paypal .pxc-sala-paypal__btn *:not(iframe) { text-transform: none !important; letter-spacing: normal !important; font-family: Helvetica, Arial, sans-serif !important; color: #000 !important; text-shadow: none !important; word-break: normal !important; overflow-wrap: normal !important; min-width: 0; }
.pxc-sala-paypal .pxc-sala-paypal__btn { background: #fff; text-align: left; font-size: 14px; line-height: 1.4; }
.pxc-sala-paypal .pxc-sala-paypal__btn *:not(iframe):not(svg):not(path) { max-width: 100%; }

/* =========================================================
   GREENROOM · fondo gris claro solo dentro de ese entorno
   (el resto del /app del cliente sigue en amarillo).
   ========================================================= */
html:has(body.pxc-body--greenroom), body.pxc-body--greenroom { background: #ECECEA; }
body.pxc-body--greenroom .pxa-front.pxc { background-color: #ECECEA; }
body.pxc-body--greenroom .pxc-mx-barra, body.pxc-body--greenroom .pxc-mx-pasos { background: #ECECEA; }
.pxc-ico--img { display: block; object-fit: contain; }

/* GREENROOM · más aire entre el botón Guardar y los servicios de Pixel */
.pxc-sala-serv { margin-top: 56px; }
@media (max-width: 900px) { .pxc-sala-serv { margin-top: 40px; } }
