/* Tema compartido de las plataformas (sesión UX, 03/12/2026). Lo carga index.html después de plataformas.css. Guía: docs/UX_REVISION.md
   · Comodín (la madre) sigue en blanco, negro y grises. Cada plataforma suma SOLO su acento (tabla ACENTOS de plat_tema.js) con estas variables:
     --plat-acento (el color) · --plat-sobre (texto encima del acento) · --plat-tinta (el acento oscurecido, para texto sobre blanco) · --plat-suave / --plat-suave-2 (fondos) · --plat-borde.
   · El color se ve solo con html[data-tema="color"] (plataformas con acento). El Cerebro, Admin y el dominio de prueba quedan neutros.
   · Sin dorado. Los colores de estado (ok, error) no cambian: siempre van con texto o ícono.
   · Movimiento suave y corto; con «reducir movimiento» del sistema se apaga (diseno.css). */

/* ======================================================================
   1) COLOR DE LA PLATAFORMA
   ====================================================================== */
html[data-tema="color"] { --anillo: 0 0 0 3px var(--plat-borde); accent-color: var(--plat-acento); }
html[data-tema="color"] :focus-visible { outline-color: var(--plat-tinta); }

/* logo: el ícono de Comodín sobre una ficha del color de la plataforma, como el ícono de una app.
   Con acentos claros el ícono va negro: el filtro invierte también el fondo, por eso ahí se pinta con el color opuesto (--plat-inverso) y queda el acento. */
html[data-tema="color"] body .logo img { filter: none; background: var(--plat-acento); border-radius: 9px; padding: 4px; box-shadow: 0 2px 8px color-mix(in srgb, var(--plat-acento) 40%, transparent); }
html[data-tema="color"][data-sobre="oscuro"] body .logo img { filter: invert(1); background: var(--plat-inverso); box-shadow: 0 2px 8px color-mix(in srgb, var(--plat-inverso) 40%, transparent); }

/* fondo: un brillo muy suave del color arriba de todo */
html[data-tema="color"] body .app { background: radial-gradient(900px 260px at 28% -120px, var(--plat-suave-2), transparent 70%), var(--faint, #FAFAFA); }

/* menú lateral: la pantalla actual en el color de la plataforma */
html[data-tema="color"] body .side nav a:hover { background: var(--plat-suave); color: var(--ink); }
html[data-tema="color"] body .side nav a[aria-current=page] { background: var(--plat-acento); color: var(--plat-sobre); box-shadow: 0 4px 14px color-mix(in srgb, var(--plat-acento) 35%, transparent); }
html[data-tema="color"] body .side nav a[aria-current=page] .n { background: var(--plat-sobre); color: var(--plat-acento); }

/* botón principal: el acento (el texto encima se elige solo para que se lea) */
html[data-tema="color"] body .ds-btn:not(.ds-btn--sec):not(.ds-btn--ghost):not(.ds-btn--danger),
html[data-tema="color"] body .btn:not(.alt):not(.sm.alt) { background: var(--plat-acento); color: var(--plat-sobre); border-color: var(--plat-acento); }
html[data-tema="color"] body .ds-btn:not(.ds-btn--sec):not(.ds-btn--ghost):not(.ds-btn--danger):hover,
html[data-tema="color"] body .btn:not(.alt):hover { background: color-mix(in srgb, var(--plat-acento) 88%, black); border-color: color-mix(in srgb, var(--plat-acento) 88%, black); box-shadow: 0 6px 18px color-mix(in srgb, var(--plat-acento) 30%, transparent); }
html[data-tema="color"] body .ds-btn--sec:hover { border-color: var(--plat-borde); background: var(--plat-suave); }
html[data-tema="color"] body .ds-btn--ghost:hover { background: var(--plat-suave); }

/* pestañas, barras de avance y vacíos */
html[data-tema="color"] body .ds-tabs a[aria-current=page], html[data-tema="color"] body .ds-tabs button[aria-pressed=true] { box-shadow: inset 0 -2px 0 var(--plat-acento); color: var(--ink); }
html[data-tema="color"] body .bv-barra i, html[data-tema="color"] body .al-progreso i { background: var(--plat-acento); }
html[data-tema="color"] body .ds-empty { border-color: var(--plat-borde); background: linear-gradient(180deg, var(--plat-suave), var(--paper, #fff) 70%); }
html[data-tema="color"] body .ds-empty .ico { background: var(--plat-suave-2); color: var(--plat-tinta); }

/* chat de la portada: la burbuja propia con un toque del color */
html[data-tema="color"] body .ag-m--cliente > div { background: var(--plat-suave-2); }
html[data-tema="color"] body .cd-vacio h3 { background: linear-gradient(90deg, var(--ink), var(--plat-tinta)); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-tema="color"] body .cd-vacio .ds-btn--sec, html[data-tema="color"] body .cd-pistas button { border-color: var(--plat-borde); }

/* sugerencia de otra plataforma: más liviana */
html[data-tema="color"] body .plat-reco { background: var(--paper, #fff); border-color: var(--line, #E3E3E3); border-left: 3px solid var(--plat-acento); }

/* «Tus herramientas»: cada plataforma con su punto de color */
html body .plat-menu a[data-plat] b::before, html body .plat-carta h2::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: 1px; background: var(--c, var(--ink, #111)); }
html body .plat-menu a[data-plat="todo"] b::before { display: none; }
html body .plat-menu a[aria-current="true"] { background: var(--plat-suave, var(--ink)); color: var(--ink, #111); box-shadow: inset 3px 0 0 var(--plat-acento, var(--ink)); }
html body .plat-carta { transition: transform var(--t-fast, 150ms) var(--ease, ease), box-shadow var(--t-fast, 150ms) var(--ease, ease), border-color var(--t-fast, 150ms); }
html body .plat-carta:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: var(--line-2, #CFCFCF); }

/* chat de Growth (asistente.js, D-GA2): ejemplos, accesos y la conversación elegida con el color de la plataforma */
html[data-tema="color"] body .ga-idea { border-color: var(--plat-borde); }
html[data-tema="color"] body .ga-idea:hover, html[data-tema="color"] body .ga-idea:focus-visible { background: var(--plat-suave); border-color: var(--plat-acento); }
html body .ga-accesos { gap: 6px; }
html body .ga-accesos a { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line, #E3E3E3); background: var(--paper, #fff); color: var(--ink, #111); text-decoration: none; font-weight: 600; }
html[data-tema="color"] body .ga-accesos a { border-color: var(--plat-borde); color: var(--plat-tinta); }
html[data-tema="color"] body .ga-accesos a:hover, html[data-tema="color"] body .ga-accesos a:focus-visible { background: var(--plat-suave); }
html[data-tema="color"] body .ga-item[aria-current="true"] { background: var(--plat-suave-2); }
html[data-tema="color"] body .ga-item[aria-current="true"] > button, html[data-tema="color"] body .ga-item[aria-current="true"] .ga-borrar { color: var(--ink); }
html[data-tema="color"] body .ga-item[aria-current="true"] .ga-item-plat { color: var(--plat-tinta); }
html[data-tema="color"] body .ga-chat .as-m--persona { background: var(--plat-suave-2); color: var(--ink); }
html[data-tema="color"] body .ga-chat .as-form:focus-within { border-color: var(--plat-acento); box-shadow: 0 0 0 3px var(--plat-suave-2); }
/* la guía arriba del chat de Growth: una franja fina, sin empujar el chat */
html body #view:has(.ga-pag) .pt-guia { max-width: none; margin: 0; border-radius: 0; border-width: 0 0 1px; box-shadow: none; padding: 10px 24px; }
html body #view:has(.ga-pag) .pt-guia[data-modo="abierto"] { padding: 16px 24px 18px; }
html body #view:has(.ga-pag) .pt-guia::before { height: 2px; }
html body #view:has(.ga-pag) .pt-cuerpo { max-width: 1040px; margin-left: auto; margin-right: auto; }
html body nav.ga-accesos { flex-direction: row; justify-content: center; }
.pt-corto { display: none; }
@media (max-width: 760px) {   /* en el celular, arriba del chat: una sola línea corta y el avance como una rayita abajo */
  html body #view:has(.ga-pag) .pt-guia:not([data-modo="abierto"]) { padding: 8px 12px 11px; }
  html body #view:has(.ga-pag) .pt-guia:not([data-modo="abierto"]) .pt-largo, html body #view:has(.ga-pag) .pt-guia:not([data-modo="abierto"]) .pt-tit span { display: none; }
  html body #view:has(.ga-pag) .pt-guia:not([data-modo="abierto"]) .pt-corto { display: block; }
  html body #view:has(.ga-pag) .pt-guia:not([data-modo="abierto"]) .pt-tile { width: 30px; height: 30px; border-radius: 9px; }
  html body #view:has(.ga-pag) .pt-guia:not([data-modo="abierto"]) .pt-tile svg { width: 17px; height: 17px; }
  html body #view:has(.ga-pag) .pt-guia:not([data-modo="abierto"]) .pt-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 0; }
  html body #view:has(.ga-pag) .pt-guia:not([data-modo="abierto"]) .pt-cab { flex-wrap: nowrap; }
  html body #view:has(.ga-pag) .pt-guia:not([data-modo="abierto"]) .pt-ir { order: 0; min-height: 32px; }
  html body #view:has(.ga-pag) .pt-guia[data-modo="apagada"] .pt-tit span { display: none; }
}
@media (min-width: 900px) { html body #view:has(#pt-guia:not([hidden])) .ga-pag { height: calc(100dvh - var(--ga-alto, 0px) - 64px); } }

/* ======================================================================
   2) MENOS RUIDO (todas las plataformas)
   ====================================================================== */
/* herramientas de cada sección: botones más chicos, en una fila que se desliza si no entran */
html body .sec-cab .sec-tools { gap: 6px; }
html body .sec-cab .sec-tool { min-height: 34px; padding: 0 12px; font-size: var(--fs-sm, 13px); border-radius: var(--r-pill, 999px); font-weight: 600; }
html[data-tema="color"] body .sec-cab .sec-tool:hover { border-color: var(--plat-acento); background: var(--plat-suave); }
html body .sec-tools-t { font-weight: 600; }
/* «¿Qué es y cómo funciona?»: un botón chico, no una barra entera */
html body .bv-que { width: auto; max-width: max-content; font-size: 12px; padding: 3px 10px 3px 4px; }
html[data-tema="color"] body .bv-que::before { background: var(--plat-acento); color: var(--plat-sobre); }
/* el alta guiada general se reemplaza por la guía de cada plataforma (en Growth sigue en las demás pantallas) */
html[data-plataforma]:not([data-plataforma="growth"]):not([data-plataforma="todo"]):not([data-plataforma="cerebro"]):not([data-plataforma="admin"]) body #bv-pp,
html body #view:has(#pt-guia:not([hidden])) #bv-pp { display: none !important; }
/* con la guía abierta, la sugerencia de otra plataforma espera (una cosa por vez) */
html body #view:has(#pt-guia[data-modo="abierto"]) .plat-reco { display: none; }
/* «Prefiero que me ayuden»: chiquito y sin tapar el menú */
html body #al-ayuda { left: 16px; bottom: 16px; font-size: 12px; padding: 6px 12px; box-shadow: var(--sh-1); }
@media (min-width: 900px) { html body #al-ayuda { left: 16px; bottom: 84px; max-width: 200px; } }   /* en la compu, dentro de la barra, arriba de «Salir» */
@media (max-width: 899px) { html body #al-ayuda { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); left: 10px; padding: 5px 10px; font-size: 11px; opacity: .92; } }

/* ======================================================================
   3) GUÍA DE PRIMEROS PASOS (plat_tema.js)
   ====================================================================== */
.pt-guia, .pt-cuenta { --pa: var(--plat-acento, #111); --pt: var(--plat-tinta, #111); --ps: var(--plat-suave, #F4F4F4); --ps2: var(--plat-suave-2, #EDEDED); --pb: var(--plat-borde, #CFCFCF);
  position: relative; max-width: 1080px; margin: 0 auto var(--sp-4, 16px); padding: 14px 16px; border-radius: var(--r-xl, 22px); background: var(--paper, #fff);
  border: 1px solid var(--line, #E3E3E3); box-shadow: var(--sh-1); overflow: hidden; animation: pt-entra 260ms var(--ease, ease) both; }
html body #view:has(.sec-cab) .pt-guia { max-width: 880px; }   /* en las portadas con chat, el mismo ancho que el chat */
.pt-guia::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--pa), color-mix(in srgb, var(--pa) 30%, white)); }
.pt-guia[data-modo="abierto"] { background: linear-gradient(180deg, var(--ps) 0, var(--paper, #fff) 160px); padding: 18px 20px 20px; }
.pt-guia[data-modo="apagada"] { background: var(--ps); }
.pt-cab { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pt-tile { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--pa); color: var(--plat-sobre, #fff); box-shadow: 0 4px 12px color-mix(in srgb, var(--pa) 35%, transparent); }
.pt-tit { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pt-tit b { font-size: var(--fs-md, 15px); letter-spacing: -.01em; }
.pt-tit span { color: var(--mute, #555); font-size: var(--fs-sm, 13px); overflow: hidden; text-overflow: ellipsis; }
.pt-prog { flex: 0 1 160px; height: 8px; border-radius: 999px; background: var(--ps2); overflow: hidden; }
.pt-prog i { display: block; height: 100%; border-radius: inherit; background: var(--pa); transition: width 600ms var(--ease, ease); }
.pt-acc { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.pt-ver svg { transition: transform var(--t-med, 200ms) var(--ease, ease); }
.pt-ver[aria-expanded="true"] svg { transform: rotate(180deg); }
.pt-x { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--mute, #555); cursor: pointer; }
.pt-x:hover, .pt-x:focus-visible { background: var(--ps2); color: var(--ink, #111); }
.pt-cuerpo { display: grid; gap: 14px; margin-top: 16px; animation: pt-entra 220ms var(--ease, ease) both; }
.pt-h { margin: 0; font-size: var(--fs-xs, 12px); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--mute, #555); }
.pt-cartas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pt-carta { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: var(--r-lg, 16px); background: var(--paper, #fff); border: 1px solid var(--line, #E3E3E3);
  color: var(--ink, #111); text-decoration: none; transition: transform var(--t-fast, 150ms) var(--ease, ease), box-shadow var(--t-fast, 150ms) var(--ease, ease), border-color var(--t-fast, 150ms); }
.pt-carta:hover, .pt-carta:focus-visible { transform: translateY(-2px); border-color: var(--pb); box-shadow: 0 8px 22px color-mix(in srgb, var(--pa) 16%, transparent); }
.pt-carta b { font-size: var(--fs-md, 15px); margin-top: 6px; }
.pt-carta > span:not(.pt-ico):not(.pt-mas) { color: var(--mute, #555); font-size: var(--fs-sm, 13px); line-height: 1.4; flex: 1; }
.pt-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ps2); color: var(--pt); }
.pt-mas { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: var(--fs-sm, 13px); font-weight: 700; color: var(--pt); }
.pt-carta:hover .pt-mas svg { transform: translateX(2px); }
.pt-mas svg { transition: transform var(--t-fast, 150ms) var(--ease, ease); }
.pt-dos { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.pt-dos > section { display: grid; gap: 8px; }
.pt-pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pt-pasos li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-md, 12px); }
.pt-pasos li.es-sig { background: var(--paper, #fff); box-shadow: 0 0 0 1px var(--pb), 0 6px 18px color-mix(in srgb, var(--pa) 14%, transparent); }
.pt-pasos a { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; color: inherit; text-decoration: none; }
html body .pt-guia .pt-pasos a:hover b { text-decoration: underline; text-decoration-color: var(--pa); text-underline-offset: 3px; }
.pt-pasos a b { font-size: var(--fs-sm, 13px); }
.pt-pasos a span { font-size: var(--fs-xs, 12px); color: var(--mute, #555); }
.pt-n { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-2, #CFCFCF); font-size: 12px; font-weight: 800; color: var(--mute, #555); background: var(--paper, #fff); }
.pt-pasos li.es-sig .pt-n { border-color: var(--pa); color: var(--pt); }
.pt-pasos li.es-hecho .pt-n { border-color: var(--pa); background: var(--pa); color: var(--plat-sobre, #fff); animation: pt-pop 300ms var(--ease, ease) both; }
.pt-pasos li.es-hecho a b { color: var(--mute, #555); text-decoration: line-through; text-decoration-color: var(--pb); }
.pt-ahora { flex: none; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--pa); color: var(--plat-sobre, #fff); }
.pt-logros { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pt-logros li { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: var(--r-md, 12px); border: 1px dashed var(--line-2, #CFCFCF); font-size: var(--fs-xs, 12px); font-weight: 700; color: var(--soft, #9A9A9A); }
.pt-logros li[data-on] { border: 1px solid var(--pb); background: var(--paper, #fff); color: var(--ink, #111); }
.pt-medalla { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--mist, #F4F4F4); color: var(--soft, #9A9A9A); }
.pt-logros li[data-on] .pt-medalla, .pt-toast .pt-medalla { background: var(--pa); color: var(--plat-sobre, #fff); box-shadow: 0 0 0 4px var(--ps2); }
html body .pt-guia .pt-nota { margin: 0; padding: 0; border: 0; background: none; font-size: var(--fs-xs, 12px); color: var(--mute, #555); }
html body .pt-guia a, html body .pt-guia a:hover, html body .pt-guia a span, html body .pt-guia a b { text-decoration: none; }
.pt-toast { position: fixed; z-index: 90; left: 50%; top: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px;
  background: var(--ink, #111); color: #fff; border-radius: 999px; box-shadow: var(--sh-3); font-size: var(--fs-sm, 13px); animation: pt-baja 420ms var(--ease, ease) both; }
.pt-toast.es-sale { opacity: 0; transform: translate(-50%, -12px); transition: opacity 400ms, transform 400ms; }
@keyframes pt-entra { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pt-pop { 0% { transform: scale(.6); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes pt-baja { from { opacity: 0; transform: translate(-50%, -16px) scale(.96); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 760px) {
  .pt-guia { border-radius: var(--r-lg, 16px); padding: 12px; }
  .pt-guia[data-modo="abierto"] { padding: 14px 12px 14px; }
  .pt-prog { order: 5; flex: 1 1 100%; }
  .pt-acc { margin-left: 0; }
  .pt-cartas { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
  .pt-cartas::-webkit-scrollbar { display: none; }
  .pt-carta { scroll-snap-align: start; }
  .pt-dos { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .pt-tit { flex: 1 1 0; }
  .pt-tile { width: 36px; height: 36px; }
  html body .pt-guia .pt-ver { font-size: 0; gap: 0; min-height: 32px; padding: 0 6px; }   /* en el celular, solo la flecha (el nombre accesible sigue siendo «Ocultar» / «Ver todo») */
  .pt-guia .pt-ir { order: 6; }
}
@media (max-width: 420px) { .pt-cab { gap: 10px; } }
/* en el celular, «Prefiero que me ayuden» queda como un botón corto */
@media (max-width: 899px) { html body #al-ayuda { font-size: 0; } html body #al-ayuda::after { content: "¿Te ayudamos?"; font-size: 11px; } }

/* ---- chat de Growth: la «G» con el color de la plataforma y la cabecera en una línea en el celular ---- */
html[data-tema="color"] body .ga-pag .as-logo { background: var(--plat-acento); color: var(--plat-sobre); }
@media (max-width: 760px) {
  html body .ga-pag { grid-template-columns: minmax(0, 1fr); }
  html body .ga-chat { min-width: 0; grid-template-columns: minmax(0, 1fr); }
  html body .ga-cab { gap: 6px; padding-inline: 8px; }
  html body .ga-cab .ga-acciones .ds-btn { font-size: 14px; }
  html body .ga-cab .as-logo { flex: none; }
  html body .ga-cab > div:not(.ga-acciones) { min-width: 0; flex: 1 1 auto; }
  html body .ga-cab > div:not(.ga-acciones) b { display: block; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html body .ga-cab > div:not(.ga-acciones) small, html body .ga-cab .ga-plat { display: none; }
  html body .ga-cab .ga-acciones { gap: 2px; flex: none; }
  html body .ga-cab .ga-acciones .ds-btn { padding-inline: 8px; }
  html body .ga-ideas { grid-template-columns: 1fr; box-sizing: border-box; max-width: 100%; }
}

/* ---- celular: el selector de negocio no se mete debajo de «Salir» (el ▾ quedaba afuera del botón) ---- */
@media (max-width: 899px) {
  html body .side .projwrap .proj { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 100%; box-sizing: border-box; overflow: hidden; }
  html body .side .projwrap .proj > span:not(.av):not(.chev) { min-width: 0; flex: 1 1 auto; text-align: left; }
  html body .side .projwrap .proj b { display: block; max-width: none; }
  html body .side .projwrap .proj small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html body .side .projwrap .proj .chev { flex: none; }
  html body .side .foot #so { margin-left: 2px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; min-height: 36px; }
}

/* ---- primera vez en Growth (asistente.js: .ga-primera y .ga-idea--grande): 3 botones grandes con el color de la plataforma ---- */
html body .ga-idea--grande { min-height: 64px; font-size: var(--fs-md, 16px); font-weight: 700; border-radius: 16px; }
html[data-tema="color"] body .ga-idea--grande { background: var(--plat-suave); border-color: var(--plat-borde); color: var(--plat-tinta); }
html[data-tema="color"] body .ga-idea--grande:hover, html[data-tema="color"] body .ga-idea--grande:focus-visible { background: var(--plat-acento); border-color: var(--plat-acento); color: var(--plat-sobre); }


/* ---- 04/12 (pedido de Chat 2): chat de Growth primero y limpio ---- */
/* íconos del mismo juego que el menú en lugar de emojis: adjuntar, dictar y «Hablar» */
html body .ga-pag { --pt-i-clip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.4 11.1l-9.2 9.2a6 6 0 0 1-8.5-8.5l9.2-9.2a4 4 0 0 1 5.7 5.7l-9.2 9.2a2 2 0 0 1-2.8-2.8l8.5-8.5'/%3E%3C/svg%3E"); --pt-i-mic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='2' width='6' height='12' rx='3'/%3E%3Cpath d='M19 10v1a7 7 0 0 1-14 0v-1'/%3E%3Cpath d='M12 18v4'/%3E%3Cpath d='M8 22h8'/%3E%3C/svg%3E"); --pt-i-stop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='6' width='12' height='12' rx='2'/%3E%3C/svg%3E"); --pt-i-voz: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10v4'/%3E%3Cpath d='M7 6v12'/%3E%3Cpath d='M11 3v18'/%3E%3Cpath d='M15 8v8'/%3E%3Cpath d='M19 11v2'/%3E%3C/svg%3E"); --pt-i-mem: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z'/%3E%3Cpath d='M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z'/%3E%3C/svg%3E"); }
html body .ga-pag [data-as="adjuntar"], html body .ga-pag #as-mic { font-size: 0; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; }
html body .ga-pag [data-as="adjuntar"]::before, html body .ga-pag #as-mic::before, html body .ga-cab .as-hablar::before, html body .ga-hablar-grande::before {
  content: ""; width: 20px; height: 20px; flex: none; background: currentColor; -webkit-mask: var(--pt-i-mic) center / contain no-repeat; mask: var(--pt-i-mic) center / contain no-repeat; }
html body .ga-pag [data-as="adjuntar"]::before { -webkit-mask-image: var(--pt-i-clip); mask-image: var(--pt-i-clip); }
html body .ga-cab .as-hablar, html body .ga-hablar-grande { font-size: 0; display: inline-flex; align-items: center; gap: 8px; }
html body .ga-cab .as-hablar::before { width: 18px; height: 18px; }
html body .ga-cab .as-hablar::after, html body .ga-hablar-grande::after { content: "Hablar"; font-size: var(--fs-sm, 14px); font-weight: 600; }
html body .ga-hablar-grande::after { content: "O hablame"; font-size: var(--fs-md, 16px); font-weight: 700; }
html body .ga-cab .as-hablar[aria-pressed="true"]::before { -webkit-mask-image: var(--pt-i-stop); mask-image: var(--pt-i-stop); }
html body .ga-cab .as-hablar[aria-pressed="true"]::after { content: "Cortar"; }
/* en la plataforma Growth el título es solo «Growth» */
html[data-plataforma="growth"] body .ga-cab .ga-plat { display: none; }
/* menú «⋯» (Voz y Memoria) del celular */
html body .ga-mas { position: relative; }
html body .ga-mas > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; border-radius: 10px; font-size: 22px; line-height: 1; font-weight: 700; }
html body .ga-mas > summary::-webkit-details-marker { display: none; }
html body .ga-mas[open] > summary { background: var(--mist, #f2f2f2); }
html body .ga-mas-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; display: grid; min-width: 180px; padding: 6px; background: var(--paper, #fff); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(17,17,17,.14); animation: pt-entra .16s ease-out; }
html body .ga-mas-menu .ds-btn { justify-content: flex-start; gap: 10px; min-height: 44px; width: 100%; font-size: var(--fs-sm, 14px); }
html body .ga-mas-menu .ds-btn::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--pt-i-voz) center / contain no-repeat; mask: var(--pt-i-voz) center / contain no-repeat; }
html body .ga-mas-menu [data-as="memoria"]::before { -webkit-mask-image: var(--pt-i-mem); mask-image: var(--pt-i-mem); }
/* en la pantalla de Growth sobra «¿Te ayudamos?»: ya estás en el chat */
html body:has(.ga-pag) #al-ayuda { display: none !important; }
@media (max-width: 760px) {
  html body .ga-cab .ga-plat { display: inline; }
  html[data-plataforma="growth"] body .ga-cab .ga-plat { display: none; }
  html body .ga-cab .ga-acciones .as-hablar { font-size: 0; min-width: 44px; justify-content: center; padding-inline: 10px; }
  /* el celular deja correr la página: la caja de escribir queda pegada arriba del menú de abajo y nada se corta */
  html body .ga-chat .as-pie { bottom: calc(62px + env(safe-area-inset-bottom, 0px)); padding-bottom: 10px; }
  html body .ga-chat .ga-bajo { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  html body .ga-cab .as-hablar::after { content: none; }
  html body .ga-cab .as-hablar::before { width: 20px; height: 20px; }
  /* la caja de escribir entra entera */
  html body .ga-chat .as-pie, html body .ga-chat .as-form { min-width: 0; max-width: 100%; box-sizing: border-box; }
  html body .ga-chat .as-form textarea { min-width: 0; }
}

/* ---- 04/12 celular primero: nada más ancho que la pantalla, sin zoom al tocar un campo, se siente como una app ---- */
html, body { max-width: 100%; overflow-x: clip; }
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (max-width: 899px) {
  html body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), html body textarea, html body select { font-size: 16px !important; }   /* con menos de 16 px el iPhone hace zoom al tocar */
  html body #view { min-width: 0; max-width: 100vw; }
  html body #view img, html body #view video, html body #view iframe, html body #view canvas, html body #view svg { max-width: 100%; }
  html body #view :is(pre, code) { white-space: pre-wrap; overflow-wrap: anywhere; }
  html body #view :is(p, li, td, th, h1, h2, h3, h4, dd, dt, label, small, b, strong, a) { overflow-wrap: anywhere; }
  html body #view table { display: block; max-width: 100%; overflow-x: auto; }
  html body { -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; }
}

/* barra de abajo del celular como una app: como mucho 3 botones (plataformas-base marca la barra con .nav-cliente y lo que no entra con .fuera-movil) */
@media (max-width: 899px) {
  html body .side nav.nav-cliente a.fuera-movil { display: none !important; }
  html body .side nav.nav-cliente { justify-content: space-around; }
  html body .side nav.nav-cliente a:not(.fuera-movil) { flex: 1 1 0; max-width: 140px; }
}

/* ---- 04/12 guía en UNA línea (el próximo paso) y logros en «Tu cuenta» ---- */
.pt-pre { color: var(--mute, #666); font-weight: 600; }
@media (max-width: 760px) {
  html body .pt-guia .pt-tit > span, html body .pt-guia .pt-pre { display: none; }
  html body .pt-guia .pt-tit b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }
  html body .pt-guia .pt-tit { min-width: 0; flex: 1 1 auto; }
  html body .pt-guia .pt-cab { flex-wrap: nowrap; gap: 10px; }
  html body .pt-guia .pt-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 0; margin: 0; }
  html body .pt-guia { position: relative; padding: 8px 12px 11px; }
}
.pt-cuenta { max-width: 880px; margin: 24px auto 32px; padding: 20px; border: 1px solid var(--line, #E3E3E3); border-radius: 18px; background: var(--paper, #fff); display: grid; gap: 14px; }
.pt-cuenta .pt-h2 { margin: 0; font-size: 18px; }
.pt-cuenta .pt-resumen { display: flex; align-items: center; gap: 12px; }
.pt-cuenta .pt-resumen > div { flex: 1; display: grid; gap: 8px; }
.pt-cuenta .pt-prog { position: static; width: 100%; }
@media (max-width: 760px) { .pt-cuenta { margin: 16px 12px 24px; padding: 16px; } }


html body #view:has(#pt-cuenta) #bv-pp { display: none !important; }   /* en Tu cuenta ya están los pasos y logros: no repetir la alta guiada */

/* ================= 04/12 CRM «como WhatsApp» (Bandeja = Chats). Solo presentación: misma lógica, mismos botones ================= */
html body .crm-bandeja { --bi-clip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.4 11.1l-9.2 9.2a6 6 0 0 1-8.5-8.5l9.2-9.2a4 4 0 0 1 5.7 5.7l-9.2 9.2a2 2 0 0 1-2.8-2.8l8.5-8.5'/%3E%3C/svg%3E"); --bi-cam: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3z'/%3E%3Ccircle cx='12' cy='13' r='3'/%3E%3C/svg%3E"); --bi-mic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='2' width='6' height='12' rx='3'/%3E%3Cpath d='M19 10v1a7 7 0 0 1-14 0v-1'/%3E%3Cpath d='M12 18v4'/%3E%3C/svg%3E"); --bi-rayo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E"); --bi-plantilla: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M7 8h10'/%3E%3Cpath d='M7 12h10'/%3E%3Cpath d='M7 16h6'/%3E%3C/svg%3E"); --bi-archivo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3C/svg%3E"); --bi-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 17v5'/%3E%3Cpath d='M9 10.8a2 2 0 0 1-1.1 1.8l-1.8.9A2 2 0 0 0 5 15.2V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.8a2 2 0 0 0-1.1-1.8l-1.8-.9A2 2 0 0 1 15 10.8V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z'/%3E%3C/svg%3E"); --bi-buscar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E"); }
/* lo que no es la charla se va de esta pantalla: Growth está fijado primero en la lista */
html body #view:has(> .crm-bandeja) :is(.as-hero, #bv-pp, .plat-reco, #pt-guia) { display: none !important; }
/* lista de chats */
html body .bdj-tope { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
html body .bdj-titulo { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
html body .bdj-menu { position: relative; }
html body .bdj-menu > summary { list-style: none; cursor: pointer; font-size: 22px; font-weight: 800; line-height: 1; min-width: 40px; min-height: 40px; }
html body .bdj-menu > summary::-webkit-details-marker { display: none; }
html body .bdj-menu[open] > summary { background: var(--mist, #F2F2F2); }
html body .bdj-menu-l { position: absolute; right: 0; top: calc(100% + 4px); z-index: 70; display: grid; min-width: 210px; padding: 6px; background: var(--paper, #fff); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(17,17,17,.16); }
html body .bdj-menu-l > .ds-btn { justify-content: flex-start; width: 100%; min-height: 44px; text-decoration: none; }
html body .bdj-cab .ds-search .ds-input { border-radius: 999px; background: var(--mist, #F2F2F2); border-color: transparent; padding-left: 40px; }
html body .bdj-cab .ds-tabs#bdj-filtros { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; scrollbar-width: none; border: 0; padding: 2px 0; }
html body .bdj-cab .ds-tabs#bdj-filtros::-webkit-scrollbar { display: none; }
html body .bdj-cab .ds-tabs#bdj-filtros > button { flex: none; min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper, #fff); font-size: 14px; font-weight: 600; box-shadow: none; }
html body .bdj-cab .ds-tabs#bdj-filtros > button::after { display: none; }
html body .bdj-cab .ds-tabs#bdj-filtros > button[aria-selected="true"] { background: var(--plat-suave, #EDEDED); border-color: var(--plat-borde, #CFCFCF); color: var(--plat-tinta, #111); }
html body .bdj-items .bdj-item, html body .bdj-items .bdj-growth { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; min-height: 72px; text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
html body .bdj-items .bdj-item .ds-av { width: 48px; height: 48px; flex: none; font-size: 17px; }
html body .bdj-items .bdj-item .cuerpo, html body .bdj-items .bdj-growth .cuerpo { flex: 1; min-width: 0; display: grid; gap: 2px; }
html body .bdj-items .titulo { font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .bdj-items .sub { font-size: 14px; color: var(--mute, #666); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .bdj-items .lado { align-self: flex-start; display: grid; justify-items: end; gap: 6px; font-size: 12px; color: var(--mute, #666); padding-top: 4px; }
html body .bdj-items .bdj-item.is-unread .lado > span:first-child { color: var(--plat-tinta, #111); font-weight: 700; }
html body .bdj-items .bdj-item .ds-dot { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--plat-acento, #111); color: var(--plat-sobre, #fff); font-size: 12px; font-weight: 800; }
html body .bdj-items .bdj-item[aria-selected="true"] { background: var(--plat-suave, #F2F2F2); }
html body .bdj-items .bdj-item:hover, html body .bdj-items .bdj-growth:hover { background: var(--mist, #F6F6F6); }
html body .bdj-g { width: 48px; height: 48px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--plat-acento, #111); color: var(--plat-sobre, #fff); font-weight: 800; font-size: 20px; }
html body .bdj-pin { display: inline-block; width: 14px; height: 14px; margin-left: 6px; vertical-align: -2px; background: var(--mute, #888); -webkit-mask: var(--bi-pin) center / contain no-repeat; mask: var(--bi-pin) center / contain no-repeat; }
html body .bdj-fijo .bdj-growth .titulo { display: flex; align-items: center; }
/* charla: cabecera limpia, el nombre abre la info del contacto, lo demás en «⋯» */
html body .bdj-quien-btn { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding: 4px 6px; border: 0; border-radius: 12px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
html body .bdj-quien-btn:hover { background: var(--mist, #F6F6F6); }
html body .bdj-quien-btn .quien { display: grid; min-width: 0; }
html body .bdj-quien-btn .quien b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .bdj-quien-btn .quien span { font-size: 12px; color: var(--mute, #666); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .bdj-chat-cab .acciones { flex: none; display: flex; align-items: center; gap: 6px; }
html body .bdj-chat-cab { display: flex; align-items: center; gap: 6px; }
html body .bdj-msgs { background: var(--plat-suave, #F4F4F4); background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px); background-size: 18px 18px; }
html body .msg .burbuja { border-radius: 14px; box-shadow: 0 1px 1px rgba(0,0,0,.06); border: 0; }
html body .msg.in .burbuja { background: #fff; color: var(--ink, #111); border-top-left-radius: 4px; }
html body .msg.out .burbuja { background: var(--plat-suave-2, #E7E7E7); color: var(--ink, #111); border-top-right-radius: 4px; }
html body .msg.out.bot .burbuja { background: #fff; box-shadow: inset 0 0 0 1px var(--plat-borde, #D5D5D5); }
html body .bdj-dia { align-self: center; padding: 4px 10px; border-radius: 8px; background: rgba(255,255,255,.9); font-size: 12px; font-weight: 600; color: var(--mute, #666); box-shadow: 0 1px 1px rgba(0,0,0,.05); }
/* caja de escribir: íconos del mismo juego, sin emojis */
html body .bdj-comp .herr .ds-btn--icon[data-a] { font-size: 0; display: inline-flex; align-items: center; justify-content: center; }
html body .bdj-comp .herr .ds-btn--icon[data-a]::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--bi-archivo) center / contain no-repeat; mask: var(--bi-archivo) center / contain no-repeat; }
html body .bdj-comp .herr .ds-btn--icon[data-a="foto"]::before { -webkit-mask-image: var(--bi-cam); mask-image: var(--bi-cam); }
html body .bdj-comp .herr .ds-btn--icon[data-a="adjuntar"]::before { -webkit-mask-image: var(--bi-clip); mask-image: var(--bi-clip); }
html body .bdj-comp .herr .ds-btn--icon[data-a="mic"]::before { -webkit-mask-image: var(--bi-mic); mask-image: var(--bi-mic); }
html body .bdj-comp .herr .ds-btn--icon[data-a="rr"]::before { -webkit-mask-image: var(--bi-rayo); mask-image: var(--bi-rayo); }
html body .bdj-comp .herr .ds-btn--icon[data-a="plantilla"]::before { -webkit-mask-image: var(--bi-plantilla); mask-image: var(--bi-plantilla); }
html body .bdj-comp .herr .ds-btn--icon { border-color: transparent; background: transparent; color: var(--mute, #555); }
html body .bdj-comp textarea { border-radius: 22px; }
html body .bdj-comp #bdj-enviar { border-radius: 999px; }

@media (max-width: 899px) {
  /* la pantalla es la lista, como una app: sin pestañas ni carteles arriba (lo demás del CRM está en «⋯») */
  html body #view:has(> .crm-bandeja) { padding: 0 !important; }
  html body #view:has(> .crm-bandeja) :is(.sec-volver, .crm-tabs, .bv-que) { display: none !important; }
  html body #view:has(> .crm-bandeja) .crm-aviso { margin: 8px 12px; }
  html body .crm-bandeja { height: calc(100dvh - var(--bdj-top, 70px) - 64px - env(safe-area-inset-bottom, 0px)) !important; min-height: 0 !important; border: 0; border-radius: 0 !important; box-shadow: none; }
  html body .bdj-lista { background: var(--paper, #fff); }
  html body .bdj-cab { padding: 12px 14px 6px; display: grid; gap: 10px; border: 0; }
  html body .bdj-sub { display: none; }
  html body .bdj-chat-cab { padding: 8px 8px; min-height: 60px; }
  html body .bdj-chat-cab .ds-status, html body .bdj-chat-cab .acciones > :not(.bdj-menu) { display: none !important; }
  html body .bdj-comp { padding: 8px 10px calc(10px + env(safe-area-inset-bottom, 0px)); gap: 6px; }
  html body .bdj-comp .modo .ds-seg button { min-height: 30px; font-size: 13px; }
  html body .bdj-comp .herr .ds-btn--icon { min-width: 40px !important; min-height: 40px !important; }
}

html body .bdj-menu-l .ds-btn { border-color: transparent !important; background: transparent !important; box-shadow: none !important; color: var(--ink, #111) !important; font-weight: 600; }
html body .bdj-menu-l .ds-btn:hover { background: var(--mist, #F4F4F4) !important; }
html body:has(#view > .crm-bandeja) :is(#al-ayuda, #as-boton) { display: none !important; }
@media (max-width: 899px) {
  /* «Nueva conversación» como el botón redondo de WhatsApp, abajo a la derecha */
  html body #bdj-nueva:not([hidden]) { position: fixed; right: 16px; bottom: calc(78px + env(safe-area-inset-bottom, 0px)); z-index: 45; width: 56px; height: 56px; min-height: 56px; padding: 0; border-radius: 18px; font-size: 0; box-shadow: 0 6px 18px rgba(17,17,17,.22); display: inline-flex; align-items: center; justify-content: center; }
  html body #bdj-nueva:not([hidden])::before { content: "+"; font-size: 30px; font-weight: 500; line-height: 1; }
}
/* ---------- Íconos del menú: un solo juego de trazos para todas las plataformas (generado; ver docs/UX_REVISION.md) ---------- */
html body .side nav a[href="#herramientas"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M12 3l1.9 5.8L20 10.6l-5 3.6L16.8 20 12 16.6 7.2 20 9 14.2l-5-3.6 6.1-1.8z%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#tu-cuenta"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22/%3E%3Ccircle cx=%2212%22 cy=%2210%22 r=%223%22/%3E%3Cpath d=%22M6.2 18.4a7 7 0 0 1 11.6 0%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#s-crm"], html body .side nav a[href="#crm"], html body .side nav a[href="#crm-bandeja"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M21 11.5a8.4 8.4 0 0 1-9 8.4 8.5 8.5 0 0 1-3.8-.9L3 21l1.9-5.7A8.4 8.4 0 0 1 3.9 11.5 8.5 8.5 0 0 1 12.4 3a8.4 8.4 0 0 1 8.6 8.5z%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#resumen"], html body .side nav a[href="#anuncios-resumen"], html body .side nav a[href="#admin"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M3 3v18h18%22/%3E%3Cpath d=%22M8 17v-5M13 17V8M18 17v-9%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#s-conexiones"], html body .side nav a[href="#prospeccion"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2%22/%3E%3Ccircle cx=%229%22 cy=%227%22 r=%224%22/%3E%3Cpath d=%22M23 21v-2a4 4 0 0 0-3-3.9M16 3.1a4 4 0 0 1 0 7.8%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#s-finanzas"], html body .side nav a[href="#finanzas"], html body .side nav a[href="#admin-finanzas"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M23 6l-9.5 9.5-5-5L1 18%22/%3E%3Cpath d=%22M17 6h6v6%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#cuentas-conectadas"], html body .side nav a[href="#conectar-mis-cuentas"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M10 13a5 5 0 0 0 7.5.5l3-3a5 5 0 0 0-7-7l-1.7 1.7%22/%3E%3Cpath d=%22M14 11a5 5 0 0 0-7.5-.5l-3 3a5 5 0 0 0 7 7l1.7-1.7%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#s-negocio"], html body .side nav a[href="#negocio"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M3 9l1.5-5h15L21 9M3 9v11h18V9M3 9h18M9 20v-6h6v6%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#facturacion"], html body .side nav a[href="#admin-facturacion"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M4 2v20l3-2 3 2 2-2 2 2 3-2 3 2V2l-3 2-3-2-2 2-2-2-3 2z%22/%3E%3Cpath d=%22M8 9h8M8 13h6%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#modulos"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x=%223%22 y=%223%22 width=%227%22 height=%227%22 rx=%221.5%22/%3E%3Crect x=%2214%22 y=%223%22 width=%227%22 height=%227%22 rx=%221.5%22/%3E%3Crect x=%223%22 y=%2214%22 width=%227%22 height=%227%22 rx=%221.5%22/%3E%3Crect x=%2214%22 y=%2214%22 width=%227%22 height=%227%22 rx=%221.5%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#equipo"], html body .side nav a[href="#admin-acceso"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx=%229%22 cy=%228%22 r=%223.5%22/%3E%3Cpath d=%22M2 21v-1.5A4.5 4.5 0 0 1 6.5 15h5a4.5 4.5 0 0 1 4.5 4.5V21%22/%3E%3Ccircle cx=%2217.5%22 cy=%229.5%22 r=%222.5%22/%3E%3Cpath d=%22M18 15.2a4 4 0 0 1 4 3.8V21%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#s-anuncios"], html body .side nav a[href="#anuncios"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M3 11v2a1 1 0 0 0 1 1h2l5 4V6L6 10H4a1 1 0 0 0-1 1zM15.5 8.5a5 5 0 0 1 0 7M19 5a10 10 0 0 1 0 14%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#s-contenidos"], html body .side nav a[href="#producir"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x=%222%22 y=%225%22 width=%2214%22 height=%2214%22 rx=%222%22/%3E%3Cpath d=%22M22 8l-6 4 6 4z%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#s-oportunidades"], html body .side nav a[href="#oportunidades"], html body .side nav a[href="#inteligencia"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22/%3E%3Cpath d=%22M16.2 7.8l-2.1 6.3-6.3 2.1 2.1-6.3z%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#s-diagnostico"], html body .side nav a[href="#diagnostico"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M22 12h-4l-3 9L9 3l-3 9H2%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#s-paginas-web"], html body .side nav a[href="#paginas-web"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22/%3E%3Cpath d=%22M2 12h20M12 2a15 15 0 0 1 0 20 15 15 0 0 1 0-20%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#s-seo"], html body .side nav a[href="#seo"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx=%2211%22 cy=%2211%22 r=%227%22/%3E%3Cpath d=%22M21 21l-4.3-4.3%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#s-marketplaces"], html body .side nav a[href="#marketplaces"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z%22/%3E%3Cpath d=%22M3 6h18M16 10a4 4 0 0 1-8 0%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#catalogo"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M20.6 13.4l-7.2 7.2a2 2 0 0 1-2.8 0L2 12V2h10l8.6 8.6a2 2 0 0 1 0 2.8z%22/%3E%3Ccircle cx=%227%22 cy=%227%22 r=%221.5%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#turnero"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22/%3E%3Cpath d=%22M12 6v6l4 2%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#mi-plan"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#s-cerebro"], html body .side nav a[href="#inicio"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7V17h8v-2.3A7 7 0 0 0 12 2z%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#campanas"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M4 22V4a1 1 0 0 1 1-1h12l-2 4 2 4H5%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#admin-matriz"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M12 2L2 7l10 5 10-5z%22/%3E%3Cpath d=%22M2 17l10 5 10-5M2 12l10 5 10-5%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#admin-aprendizajes"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M4 19.5A2.5 2.5 0 0 1 6.5 17H20V2H6.5A2.5 2.5 0 0 0 4 4.5z%22/%3E%3Cpath d=%22M4 19.5A2.5 2.5 0 0 0 6.5 22H20v-5%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#admin-direccion-ia"], html body .side nav a[href="#admin-funciones"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M13 2L4 14h7l-1 8 9-12h-7z%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#agencia"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x=%224%22 y=%222%22 width=%2216%22 height=%2220%22 rx=%222%22/%3E%3Cpath d=%22M9 22v-4h6v4M8 6h.01M12 6h.01M16 6h.01M8 10h.01M12 10h.01M16 10h.01M8 14h.01M12 14h.01M16 14h.01%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#admin-proveedores"], html body .side nav a[href="#admin-topes"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M20 12V8H6a2 2 0 0 1 0-4h12v4%22/%3E%3Cpath d=%22M4 6v12a2 2 0 0 0 2 2h14v-4%22/%3E%3Cpath d=%22M18 12a2 2 0 0 0 0 4h4v-4z%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#admin-centro"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#admin-desarrollador"], html body .side nav a[href="#admin-devia"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M16 18l6-6-6-6M8 6l-6 6 6 6%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#admin-whatsapp"], html body .side nav a[href="#cuentas-whatsapp"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M21 11.5a8.4 8.4 0 0 1-9 8.4 8.5 8.5 0 0 1-3.8-.9L3 21l1.9-5.7A8.4 8.4 0 0 1 3.9 11.5 8.5 8.5 0 0 1 12.4 3a8.4 8.4 0 0 1 8.6 8.5z%22/%3E%3Cpath d=%22M9 10.5c.5 1.5 2 3 3.5 3.5%22/%3E%3C/svg%3E"); }
html body .side nav a[href="#admin-habilidades"] { --ico-pt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M4 21v-7M4 10V3M12 21v-9M12 8V3M20 21v-5M20 12V3M1 14h6M9 8h6M17 16h6%22/%3E%3C/svg%3E"); }
html body .side nav a::before { -webkit-mask-image: var(--ico-pt, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M12 3l1.9 5.8L20 10.6l-5 3.6L16.8 20 12 16.6 7.2 20 9 14.2l-5-3.6 6.1-1.8z%22/%3E%3C/svg%3E")); mask-image: var(--ico-pt, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M12 3l1.9 5.8L20 10.6l-5 3.6L16.8 20 12 16.6 7.2 20 9 14.2l-5-3.6 6.1-1.8z%22/%3E%3C/svg%3E")); }
html body .plat-btn .plat-ico { font-size: 0; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x=%223%22 y=%223%22 width=%227%22 height=%227%22 rx=%221.5%22/%3E%3Crect x=%2214%22 y=%223%22 width=%227%22 height=%227%22 rx=%221.5%22/%3E%3Crect x=%223%22 y=%2214%22 width=%227%22 height=%227%22 rx=%221.5%22/%3E%3Crect x=%2214%22 y=%2214%22 width=%227%22 height=%227%22 rx=%221.5%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x=%223%22 y=%223%22 width=%227%22 height=%227%22 rx=%221.5%22/%3E%3Crect x=%2214%22 y=%223%22 width=%227%22 height=%227%22 rx=%221.5%22/%3E%3Crect x=%223%22 y=%2214%22 width=%227%22 height=%227%22 rx=%221.5%22/%3E%3Crect x=%2214%22 y=%2214%22 width=%227%22 height=%227%22 rx=%221.5%22/%3E%3C/svg%3E") center / contain no-repeat; }
