/* Helix · panel v5 · movil-shell: todo cuelga de html.hx-v5 y va dentro de @media (max-width: 1023px) (plan: docs/plans/panel-v5-fd90).
   T11 (primera mitad): el móvil del prototipo aprobado (prototipo/gen_movil.py: barra(), ficha(), hoja_agente() y
   hoja_mas()) sobre el DOM de siempre: barra inferior y hoja «Más» de helix-app.js, ficha del lead de helix-chat.js
   y el panel de helix-agent.js / helix-asistente.js (ya decorado por helix-v5-agente.js). Lo que se AÑADE lo pone
   helix-v5-movil-shell.js con la clase hx5m. Los pocos !important ganan a estilos EN LÍNEA: el tamaño de la
   mascota (--s, que ponen en el atributo style los JS de la mascota). La lista de la Bandeja NO va aquí. */

/* Lo inyectado por helix-v5-movil-shell.js no existe en escritorio (el JS además lo retira al cruzar el corte). */
html.hx-v5 .hx5m { display: none; }
html.hx-v5 .hx5m-grupo { display: contents; }

@media (max-width: 1023px) {
  /* ═══ Tokens del móvil (prototipo: .pant.H.oscuro / .pant.H.claro) ═══ */
  html.hx-v5 {
    --hx5m-barra-b: max(14px, calc(env(safe-area-inset-bottom) - 12px));
    --hx5m-barra: calc(62px + var(--hx5m-barra-b));
    --hx5m-st: max(12px, env(safe-area-inset-top));
    --hx5m-cab-top: max(10px, calc(env(safe-area-inset-top) + 12px));
    --hx5m-cab-h: calc(var(--hx5m-cab-top) + 52px);
    --hx5m-pie-b: max(12px, calc(env(safe-area-inset-bottom) - 4px));
    --hx5m-gl: blur(30px) saturate(180%); --hx5m-gl34: blur(34px) saturate(180%); --hx5m-gl44: blur(44px) saturate(180%);
    --hx5m-flecha: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E");
  }
  html.hx-v5[data-theme="dark"] {
    --hx5m-base: #131115; --hx5m-pill: rgba(255, 255, 255, .08); --hx5m-fila: rgba(255, 255, 255, .055); --hx5m-acc-t: #FF8A84;
    --hx5m-fondo: radial-gradient(120% 30% at 0% 0%, rgba(222, 86, 58, .3), transparent 66%),
                  radial-gradient(110% 26% at 100% 100%, rgba(232, 110, 60, .2), transparent 64%), #131115;
    --hx5m-caps: linear-gradient(180deg, rgba(54, 49, 54, .7), rgba(26, 24, 28, .78)); --hx5m-capsbg: #2A262A; --hx5m-hojas: #2B272B;
    --hx5m-caps-sh: 0 18px 40px -16px rgba(0, 0, 0, .85), 0 26px 54px -26px rgba(255, 80, 50, .42);
    --hx5m-ind: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .07));
    --hx5m-ind-sh: inset 0 .5px 0 rgba(255, 255, 255, .22), inset 0 -.5px 0 rgba(0, 0, 0, .3), 0 6px 14px -8px rgba(0, 0, 0, .8);
    --hx5m-lz: linear-gradient(140deg, rgba(255, 112, 82, .34), rgba(44, 40, 44, .8) 64%);
    --hx5m-lz-sh: 0 0 0 .5px rgba(255, 140, 110, .3), 0 16px 34px -14px rgba(255, 80, 50, .62), 0 18px 36px -18px rgba(0, 0, 0, .85);
    --hx5m-circ-sh: 0 8px 20px -12px rgba(0, 0, 0, .45);
    --hx5m-fcab: rgba(30, 28, 33, .66); --hx5m-fcab-sh: 0 18px 40px -22px rgba(0, 0, 0, .6); --hx5m-prop: rgba(40, 36, 42, .72);
    --hx5m-hoja-ag: rgba(32, 30, 36, .9); --hx5m-hoja-mas: rgba(32, 30, 36, .92); --hx5m-hoja-sh: 0 -20px 50px -20px rgba(0, 0, 0, .5);
    --hx5m-bin-sh: 0 6px 16px -10px rgba(0, 0, 0, .25); --hx5m-botg: rgba(255, 255, 255, .07);
    /* terciario con contraste AA en móvil (el de escritorio se queda en 3,4:1 sobre las tarjetas) */
    --v5-t3: #8E8E98; --text-3: #8E8E98;
  }
  html.hx-v5:not([data-theme="dark"]) {
    --hx5m-base: #F3EFED; --hx5m-pill: rgba(40, 20, 15, .06); --hx5m-fila: #FFFFFF; --hx5m-acc-t: #B92E27;
    --hx5m-fondo: radial-gradient(120% 30% at 0% 0%, rgba(255, 150, 118, .42), transparent 66%),
                  radial-gradient(110% 26% at 100% 100%, rgba(255, 138, 96, .24), transparent 64%), #F3EFED;
    --hx5m-caps: rgba(255, 255, 255, .74); --hx5m-capsbg: #FBF9F8; --hx5m-hojas: #FBFAF9;
    --hx5m-caps-sh: 0 18px 40px -18px rgba(80, 30, 15, .36), 0 26px 54px -30px rgba(255, 90, 60, .4);
    --hx5m-ind: linear-gradient(180deg, #FFFFFF, #F7F4F3);
    --hx5m-ind-sh: inset 0 1px 0 #FFFFFF, 0 0 0 .5px rgba(0, 0, 0, .07), 0 8px 16px -8px rgba(80, 30, 15, .36);
    --hx5m-lz: linear-gradient(140deg, rgba(255, 130, 100, .26), rgba(255, 255, 255, .86) 64%);
    --hx5m-lz-sh: 0 0 0 .5px rgba(255, 110, 80, .34), 0 16px 34px -14px rgba(255, 80, 50, .5), 0 16px 30px -18px rgba(80, 30, 15, .4);
    --hx5m-circ-sh: 0 8px 20px -12px rgba(80, 30, 15, .3);
    --hx5m-fcab: rgba(255, 255, 255, .7); --hx5m-fcab-sh: 0 18px 40px -24px rgba(90, 40, 20, .32); --hx5m-prop: rgba(255, 255, 255, .8);
    --hx5m-hoja-ag: rgba(248, 245, 244, .95); --hx5m-hoja-mas: rgba(246, 243, 242, .95); --hx5m-hoja-sh: 0 -20px 50px -24px rgba(60, 20, 10, .35);
    --hx5m-bin-sh: 0 1px 1.5px rgba(70, 30, 20, .08), 0 8px 18px -12px rgba(70, 30, 20, .3); --hx5m-botg: rgba(40, 20, 15, .07);
    --v5-t3: #65656E; --text-3: #65656E;
  }

  /* ═══ Pared y lienzo: la escena lleva el fondo de brasa y las pantallas flotan encima (sin losa) ═══ */
  html.hx-v5 .helix-app .helix-shell { background: var(--hx5m-fondo); transform-origin: 50% 0;
    transition: transform .55s var(--v5-eo), border-radius .55s var(--v5-eo); }
  html.hx-v5 .helix-app .helix-tab-pane.is-active,
  html.hx-v5 .helix-app .helix-shell.inbox-active .helix-content { box-sizing: border-box; background: transparent; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* el hueco de abajo deja libre la barra flotante (y su zona segura) */
  html.hx-v5 .helix-app .helix-tab-pane.is-active:not(:has(> .helix-lead-detail)) { padding-bottom: calc(var(--hx5m-barra) + 26px); }
  /* borde inferior: el contenido se funde con el fondo detrás de la barra */
  html.hx-v5 .helix-app .helix-workspace::after { content: ""; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; height: calc(var(--hx5m-barra) + 66px);
    pointer-events: none; background: linear-gradient(transparent, color-mix(in srgb, var(--hx5m-base) 62%, transparent) 26%,
      color-mix(in srgb, var(--hx5m-base) 92%, transparent) 50%, var(--hx5m-base) 72%); }
  html.hx-v5 .helix-app .helix-workspace:has(.helix-content > .helix-lead-detail)::after { display: none; }

  /* ═══ Cabecera: título grande y botones redondos de cristal; al bajar, borde esmerilado como el de iOS ═══ */
  html.hx-v5 .helix-app .helix-mobile-header { position: relative; z-index: 30; flex: none; box-sizing: border-box; height: var(--hx5m-cab-h); gap: 8px; align-items: center;
    padding: var(--hx5m-cab-top) max(16px, env(safe-area-inset-right)) 10px max(18px, env(safe-area-inset-left));
    border: 0; box-shadow: none; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transition: background .25s var(--v5-eo); }
  html.hx-v5 .helix-app .helix-mobile-header::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 22px; pointer-events: none; opacity: 0;
    background: linear-gradient(color-mix(in srgb, var(--hx5m-base) 86%, transparent), transparent); transition: opacity .25s var(--v5-eo); }
  html.hx-v5 .helix-app .helix-mobile-header.hx5m-arriba { background: color-mix(in srgb, var(--hx5m-base) 86%, transparent);
    -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%); }
  html.hx-v5 .helix-app .helix-mobile-header.hx5m-arriba::after { opacity: 1; }
  html.hx-v5 .helix-app .helix-mobile-header-logo { display: none; }
  html.hx-v5 .helix-app .helix-mobile-header-text { flex: 1 1 auto; min-width: 0; }   /* el título pide su ancho: encoge antes el selector */
  html.hx-v5 .helix-app .helix-mobile-header-title { margin: 0; font: 700 32px/1.1 var(--v5-font); letter-spacing: -.032em; color: var(--v5-t1);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: hx5-entraL .45s var(--v5-eo) both; }
  html.hx-v5 .helix-app .helix-mobile-header .helix-campana,
  html.hx-v5 .helix-app .helix-mobile-header .helix-ayuda-btn { flex: none; width: 42px; height: 42px; min-width: 42px; min-height: 42px; margin: 0; padding: 0;
    display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; color: var(--v5-t1); background: var(--v5-glass);
    -webkit-backdrop-filter: var(--hx5m-gl); backdrop-filter: var(--hx5m-gl);
    box-shadow: inset 0 .5px 0 var(--v5-hl), 0 0 0 .5px var(--v5-edge), var(--hx5m-circ-sh); transition: transform .12s var(--v5-eo); }
  html.hx-v5 .helix-app .helix-mobile-header .helix-ayuda-btn::after { content: none; }
  html.hx-v5 .helix-app .helix-mobile-header .helix-campana:active,
  html.hx-v5 .helix-app .helix-mobile-header .helix-ayuda-btn:active { transform: scale(.94); }
  html.hx-v5 .helix-app .helix-mobile-header .helix-campana svg,
  html.hx-v5 .helix-app .helix-mobile-header .helix-ayuda-btn svg { width: 19px; height: 19px; }
  html.hx-v5 .helix-app .helix-mobile-header .helix-campana-badge { box-shadow: 0 0 0 2px var(--hx5m-base); background: var(--v5-acc); }
  /* selector de negocio compacto: círculo con las iniciales (.hx5m-cu-sel) encima del <select> nativo transparente (QA 24-09:
     con 132 px el título se quedaba en «M», «A» o «Band…») */
  html.hx-v5 .helix-app .helix-mobile-header .helix-tenant-select { flex: none; width: 42px; min-width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%;
    color: transparent; background: var(--v5-glass); font: 500 14px var(--v5-font); -webkit-appearance: none; appearance: none; cursor: pointer;
    -webkit-backdrop-filter: var(--hx5m-gl); backdrop-filter: var(--hx5m-gl); box-shadow: inset 0 .5px 0 var(--v5-hl), 0 0 0 .5px var(--v5-edge), var(--hx5m-circ-sh); }
  html.hx-v5 .helix-app .helix-mobile-header .helix-tenant-select option { color: var(--v5-t1); background: var(--hx5m-base); }
  html.hx-v5 .helix-app .helix-mobile-header .helix-tenant-select:focus-visible { outline: 2px solid var(--v5-acc); outline-offset: 2px; }
  html.hx-v5 .helix-app .hx5m-cu-sel { flex: none; width: 42px; height: 42px; margin-left: -50px; display: inline-flex; align-items: center; justify-content: center;
    position: relative; z-index: 1; border-radius: 50%; pointer-events: none; font: 600 13px/1 var(--v5-font); letter-spacing: .01em; color: var(--v5-t1); }
  /* «⋯» y título más pequeño cuando aun así no cabe: helix-v5-movil-bandeja.css (este fichero está al límite de tamaño) */
  /* hueco para las acciones de cada pantalla (window.hx5m.accionesCabecera()) */
  html.hx-v5 .hx5m-cab-acc { display: flex; flex: none; align-items: center; gap: 8px; }
  html.hx-v5 .hx5m-cab-acc:empty { display: none; }

  /* ═══ Barra inferior: cápsula de cristal (m-caps) con la píldora que se desliza, y Helix Agent pegado ═══ */
  html.hx-v5 .helix-app .helix-bottom-nav { left: 16px; right: 16px; bottom: var(--hx5m-barra-b); z-index: 50; box-sizing: border-box; height: 62px; padding: 5px; gap: 0;
    border: 0; border-radius: 999px; isolation: isolate; background: var(--hx5m-caps);
    -webkit-backdrop-filter: var(--hx5m-gl); backdrop-filter: var(--hx5m-gl);
    box-shadow: inset 0 .5px 0 var(--v5-hl), 0 0 0 .5px var(--v5-edge), var(--hx5m-caps-sh);
    transition: transform .45s var(--v5-eo), opacity .3s var(--v5-eo), visibility 0s linear 0s; }
  html.hx-v5 .helix-app .helix-bottom-nav.hx5m-con-lanz { right: 88px; }
  html.hx-v5 .helix-app .helix-bottom-nav::after { content: none; }
  html.hx-v5 .helix-app .helix-bottom-nav-item { position: relative; z-index: 1; flex: 1 1 0; min-width: 0; height: 100%; min-height: 0; padding: 0; gap: 3px;
    border: 0; border-radius: 999px; background: transparent; box-shadow: none; color: var(--v5-t2); font-family: var(--v5-font); text-shadow: none; }
  html.hx-v5 .helix-app .helix-bottom-nav-item.is-active,
  html.hx-v5[data-theme="dark"] .helix-app .helix-bottom-nav-item.is-active { color: var(--v5-t1); background: transparent; box-shadow: none; }
  html.hx-v5 .helix-app .helix-bottom-nav-item-label { font-size: 11px; font-weight: 600; letter-spacing: -.005em; line-height: 1.1; }
  html.hx-v5 .helix-app .helix-bottom-nav-item svg { width: 25px; height: 25px; stroke-width: 1.75; overflow: visible; transition: color .25s var(--v5-eo), transform .16s var(--v5-eo); }
  html.hx-v5 .helix-app .helix-bottom-nav-item.is-active svg { color: var(--v5-acc); animation: none; }
  html.hx-v5 .helix-app .helix-bottom-nav-item:active svg { transform: scale(.86); }
  /* el activo es el mismo trazo en coral (sin la variante rellena), como en la barra lateral de escritorio */
  html.hx-v5 .helix-app .helix-bottom-nav .is-active > .hx-ico { display: contents; }
  html.hx-v5 .helix-app .helix-bottom-nav .is-active > .hx-ico-fill { display: none; }
  html.hx-v5 .helix-app .helix-bottom-nav-indicador,
  html.hx-v5:not([data-theme="dark"]) .helix-app .helix-bottom-nav-indicador { top: 5px; bottom: 5px; border-radius: 999px; background: var(--hx5m-ind); box-shadow: var(--hx5m-ind-sh);
    transition: transform .46s cubic-bezier(.34, 1.26, .64, 1), width .2s var(--v5-eo), opacity .16s var(--v5-eo), background .45s var(--v5-eo); }
  /* aviso de «esperan respuesta» en la Bandeja */
  html.hx-v5 .hx5m-bd { display: flex; position: absolute; top: 2px; left: calc(50% + 7px); box-sizing: border-box; min-width: 18px; height: 18px; padding: 0 5px;
    align-items: center; justify-content: center; border-radius: 9px; background: var(--v5-acc); color: #fff; font: 700 11px/1 var(--v5-font); font-style: normal;
    font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px var(--hx5m-capsbg); pointer-events: none; }
  /* microanimación al activarse (la familia de iconos de escritorio) y las hojas de la Bandeja */
  html.hx-v5 .helix-app .helix-bottom-nav-item svg * { transform-box: fill-box; }
  html.hx-v5 .helix-app .helix-bottom-nav .ic-kanban rect, html.hx-v5 .helix-app .helix-bottom-nav .ic-cal .hoja-cal { transform-origin: 50% 0; }
  html.hx-v5 .helix-app .helix-bottom-nav .ic-chart .b1, html.hx-v5 .helix-app .helix-bottom-nav .ic-chart .b2,
  html.hx-v5 .helix-app .helix-bottom-nav .ic-chart .b3 { transform-origin: 50% 100%; }
  html.hx-v5 .helix-app .helix-bottom-nav .hx-hoja rect { fill: var(--hx5m-hojas); }
  html.hx-v5 .helix-app .helix-bottom-nav-item.hx5m-pop svg { animation: hx5m-icono .36s cubic-bezier(.34, 1.56, .64, 1); }
  html.hx-v5 .hx5m-pop .ic-kanban .k1 { animation: hx5-kcol .6s cubic-bezier(.34, 1.56, .64, 1); }
  html.hx-v5 .hx5m-pop .ic-kanban .k2 { animation: hx5-kcol .6s .07s cubic-bezier(.34, 1.56, .64, 1); }
  html.hx-v5 .hx5m-pop .ic-kanban .k3 { animation: hx5-kcol .6s .14s cubic-bezier(.34, 1.56, .64, 1); }
  html.hx-v5 .hx5m-pop .ic-cal .hoja-cal { animation: hx5-calgira .7s cubic-bezier(.34, 1.56, .64, 1); }
  html.hx-v5 .hx5m-pop .ic-cal .anilla { animation: hx5-anilla .7s ease; }
  html.hx-v5 .hx5m-pop .ic-chart .b1 { animation: hx5-barra .7s cubic-bezier(.34, 1.56, .64, 1); }
  html.hx-v5 .hx5m-pop .ic-chart .b2 { animation: hx5-barra .7s .08s cubic-bezier(.34, 1.56, .64, 1); }
  html.hx-v5 .hx5m-pop .ic-chart .b3 { animation: hx5-barra .7s .16s cubic-bezier(.34, 1.56, .64, 1); }
  html.hx-v5 .hx5m-pop.hx-bandeja-viva .hx-hoja--a { transform: translateY(1px) rotate(12deg); }
  html.hx-v5 .hx5m-pop.hx-bandeja-viva .hx-hoja--b { transform: translateY(-1px) rotate(-1deg); }
  html.hx-v5 .hx5m-pop.hx-bandeja-viva .hx-hoja--c { transform: translateY(0) rotate(-9deg); }

  /* lanzador de Helix Agent: botón redondo con la mascota, pegado a la cápsula (sustituye al flotante) */
  html.hx-v5 .helix-app .hxag-lanzador { display: none; }
  html.hx-v5 .hx5m-lanz { display: flex; position: fixed; z-index: 50; right: 16px; bottom: var(--hx5m-barra-b); width: 62px; height: 62px; padding: 0;
    align-items: center; justify-content: center; overflow: visible; border: 0; border-radius: 50%; color: var(--v5-t1); cursor: pointer; background: var(--hx5m-lz);
    -webkit-backdrop-filter: var(--hx5m-gl); backdrop-filter: var(--hx5m-gl); box-shadow: inset 0 .5px 0 var(--v5-hl), var(--hx5m-lz-sh);
    -webkit-tap-highlight-color: transparent; transition: transform .45s var(--v5-eo), opacity .3s var(--v5-eo), visibility 0s linear 0s; }
  html.hx-v5 .hx5m-lanz[hidden] { display: none; }
  html.hx-v5 .hx5m-lanz:active { transform: scale(.94); }
  html.hx-v5 .hx5m-lanz:focus-visible { outline: 2px solid var(--v5-acc); outline-offset: 3px; }
  html.hx-v5 .hx5m-lanz > .hx5-rig { margin-top: 2px; }
  html.hx-v5 .hx5m-lanz > img { width: 44px; height: 44px; object-fit: contain; }
  /* dentro de la ficha del lead la barra y el lanzador se van hacia abajo (como hoy, pero animado) */
  html.hx-v5 .helix-app .helix-shell:has(.helix-content > .helix-lead-detail) .helix-bottom-nav,
  html.hx-v5 .helix-app .helix-shell:has(.helix-content > .helix-lead-detail) .hx5m-lanz { display: flex; transform: translateY(160%); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .45s var(--v5-eo), opacity .3s var(--v5-eo), visibility 0s linear .45s; }
  html.hx-v5 .helix-app .helix-shell:has(.helix-content > .helix-lead-detail) .hx5m-lanz[hidden] { display: none; }

  /* ═══ Hoja «Más»: cuenta y tema arriba; trabajo y configuración en grupos (hoja_mas() del prototipo) ═══ */
  html.hx-v5 #helix-mas-sheet { background: rgba(0, 0, 0, .42); }
  html.hx-v5 #helix-mas-sheet > .helix-sheet { position: relative; box-sizing: border-box; width: 100%; max-width: none; max-height: calc(100dvh - var(--hx5m-st) - 12px);
    overflow-y: auto; overscroll-behavior: contain; padding: 24px 16px max(24px, calc(env(safe-area-inset-bottom) + 10px)); border: 0; border-image: none;
    border-radius: 38px 38px 0 0; color: var(--v5-t1); background: var(--hx5m-hoja-mas); font-family: var(--v5-font);
    -webkit-backdrop-filter: var(--hx5m-gl44); backdrop-filter: var(--hx5m-gl44); box-shadow: inset 0 .5px 0 var(--v5-hl), var(--hx5m-hoja-sh);
    animation: hx5m-sube .5s var(--v5-eo) both; transition: translate .4s var(--v5-eo); }
  html.hx-v5 #helix-mas-sheet .helix-sheet-header { touch-action: pan-x; position: static; display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 4px 2px 14px;
    border: 0; background: transparent; }
  html.hx-v5 #helix-mas-sheet .helix-sheet-header h3 { margin: 0; font: 700 24px/1.2 var(--v5-font); letter-spacing: -.03em; color: var(--v5-t1); }
  html.hx-v5 #helix-mas-sheet .helix-sheet-header [data-cerrar] { width: 34px; height: 34px; min-width: 34px; min-height: 34px; padding: 0; border: 0; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; color: var(--v5-t1); background: var(--hx5m-pill); box-shadow: none; }
  html.hx-v5 #helix-mas-sheet .helix-sheet-header [data-cerrar]::after { content: none; }
  html.hx-v5 #helix-mas-sheet .helix-sheet-header [data-cerrar] svg { width: 17px; height: 17px; }
  html.hx-v5 .hx5m-agarre { display: block; position: absolute; z-index: 6; top: 7px; left: 50%; width: 38px; height: 5px; margin-left: -19px; border-radius: 3px;
    background: var(--v5-t3); opacity: .75; cursor: pointer; touch-action: none; }
  html.hx-v5 .hx5m-agarre::after { content: ""; position: absolute; inset: -12px -26px; }
  html.hx-v5 .hx5m-cuenta { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 12px 12px 12px 14px; border-radius: 20px;
    background: var(--hx5m-fila); box-shadow: var(--v5-sh1); }
  html.hx-v5 .hx5m-cu-a { width: 40px; height: 40px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--v5-sig); color: #fff; font-weight: 600; font-size: 14px; }
  html.hx-v5 .hx5m-cu-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
  html.hx-v5 .hx5m-cu-t b { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.hx-v5 .hx5m-cu-t small { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--v5-t2); }
  html.hx-v5 .hx5m-cu-t small:empty { display: none; }
  html.hx-v5 .hx5m-punto { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--v5-t3); }
  html.hx-v5 .helix-app [data-tono="ok"] > .hx5m-punto { background: #34C759; box-shadow: 0 0 8px #34C759; }
  html.hx-v5 .helix-app [data-tono="pausa"] > .hx5m-punto { background: #FFB020; box-shadow: 0 0 8px rgba(255, 176, 32, .7); }
  html.hx-v5 .helix-app [data-tono="mal"] > .hx5m-punto { background: #FF453A; }
  html.hx-v5 .hx5m-cu-tema { flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; display: inline-flex; align-items: center;
    justify-content: center; color: var(--v5-t1); background: var(--hx5m-pill); cursor: pointer; transition: transform .12s var(--v5-eo); }
  html.hx-v5 .hx5m-cu-tema:active { transform: scale(.94); }
  html.hx-v5 .hx5m-cu-tema svg { width: 18px; height: 18px; }
  html.hx-v5 #helix-mas-sheet .helix-sheet-actions { display: block; gap: 0; }
  html.hx-v5 .hx5m-grupo { display: block; overflow: hidden; border-radius: 20px; background: var(--hx5m-fila); box-shadow: var(--v5-sh1); }
  html.hx-v5 .hx5m-grupo-t { display: block; padding: 18px 16px 8px; font-size: 13px; font-weight: 600; color: var(--v5-t3); }
  html.hx-v5 #helix-mas-sheet .helix-sheet-action { position: relative; z-index: auto; display: flex; align-items: center; gap: 14px; width: 100%; height: 54px;
    min-height: 54px; margin: 0; padding: 0 14px 0 16px; border: 0; border-radius: 0; background: transparent; color: var(--v5-t1);
    font: 400 16px var(--v5-font); letter-spacing: -.01em; text-align: left; text-shadow: none; }
  html.hx-v5 #helix-mas-sheet .helix-sheet-action + .helix-sheet-action::before { content: ""; position: absolute; left: 52px; right: 0; top: 0; height: .5px; background: var(--v5-line); }
  html.hx-v5 #helix-mas-sheet .helix-sheet-action:active,
  html.hx-v5 #helix-mas-sheet .helix-sheet-action:hover { background: var(--hx5m-pill); }
  html.hx-v5 #helix-mas-sheet .helix-sheet-action > svg:first-child { flex: none; width: 22px; height: 22px; color: var(--v5-t2); stroke-width: 1.7; }
  html.hx-v5 #helix-mas-sheet .helix-sheet-action > span:not(.hx5m) { flex: 1; min-width: 0; }
  html.hx-v5 .hx5m-chev { display: block; flex: none; width: 17px; height: 17px; color: var(--v5-t3); }
  html.hx-v5 .hx5m-activo { display: flex; align-items: center; gap: 6px; font-style: normal; font-size: 13.5px; color: var(--v5-t2); }
  html.hx-v5 .hx5m-activo[hidden] { display: none; }

  /* ═══ Ficha del lead a pantalla completa (ficha() del prototipo) ═══ */
  html.hx-v5 .helix-app .helix-tab-pane.is-active:has(> .helix-lead-detail) { padding: 0; }
  html.hx-v5 #helix-content > .helix-lead-detail { position: relative; isolation: isolate; background: transparent;
    --hx5m-cab: calc(108px + max(10px, calc(env(safe-area-inset-top) + 2px))); --hx5m-dc-g: linear-gradient(135deg, #FF922B, #FF3B30); }
  /* cabecera de cristal en dos pisos: UNA capa de cristal detrás de cabecera, acciones y chips (el chat pasa por debajo) */
  html.hx-v5 #helix-content > .helix-lead-detail::before { content: ""; position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: var(--hx5m-cab);
    border-radius: 0 0 28px 28px; background: var(--hx5m-fcab); -webkit-backdrop-filter: var(--hx5m-gl34); backdrop-filter: var(--hx5m-gl34);
    box-shadow: inset 0 .5px 0 var(--v5-hl), 0 0 0 .5px var(--v5-edge), var(--hx5m-fcab-sh); pointer-events: none; }
  html.hx-v5 #helix-content .helix-lead-detail-header { order: -3; position: relative; z-index: 3; flex: none; min-height: 0; gap: 10px;
    padding: max(10px, calc(env(safe-area-inset-top) + 2px)) 16px 0 10px; border: 0; box-shadow: none; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  html.hx-v5 #helix-content .helix-lead-detail-header [data-action="back"] { flex: none; width: 38px; height: 38px; min-width: 38px; min-height: 38px;
    margin: 0 -2px; padding: 0; border: 0; border-radius: 50%; color: var(--v5-t1); background: transparent; box-shadow: none; }
  html.hx-v5 #helix-content .helix-lead-detail-header [data-action="back"]::after { content: none; }
  html.hx-v5 #helix-content .helix-lead-detail-header [data-action="back"] svg { width: 24px; height: 24px; stroke-width: 2; }
  html.hx-v5 #helix-content .helix-lead-detail-title { gap: 10px; min-width: 0; }
  html.hx-v5 #helix-content .helix-lead-detail-title > .helix-avatar { display: none; }
  html.hx-v5 #helix-content .hx5m-av { display: inline-flex; flex: none; box-sizing: border-box; width: 42px; height: 42px; padding: 2.5px; border-radius: 50%; background: var(--ring, #5A5A64); }
  html.hx-v5 #helix-content .hx5m-av > span { width: 100%; height: 100%; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--v5-av); color: var(--v5-t1); font-size: 13px; font-weight: 600; }
  html.hx-v5 #helix-content .helix-lead-detail-name { font-size: 17.5px; font-weight: 600; letter-spacing: -.02em; line-height: 22px; color: var(--v5-t1); }
  html.hx-v5 #helix-content .helix-lead-detail-meta { margin-top: 1px; gap: 0; font-size: 13px; color: var(--v5-t2); }
  html.hx-v5 #helix-content .helix-lead-detail-meta > .helix-lead-detail-phone,
  html.hx-v5 #helix-content .helix-lead-detail-meta > .helix-heat-pill { display: none; }
  html.hx-v5 #helix-content .hx5m-meta { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html.hx-v5 #helix-content .hx5m-deg { display: block; flex: none; margin: 0 0 0 4px; font-size: 34px; font-weight: 300; line-height: 1; letter-spacing: -.04em;
    font-variant-numeric: tabular-nums; background: var(--hx5m-dc-g); -webkit-background-clip: text; background-clip: text; color: transparent; }
  html.hx-v5 #helix-content .hx5m-deg:empty { display: none; }
  html.hx-v5 #helix-content .hx5m-deg.is-cliente { background: none; color: var(--v5-ok); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
  /* segundo piso: Llamar, Pre-llamada y Más (la barra de acciones de siempre, recolocada) */
  html.hx-v5 #helix-content .helix-lead-detail-actionbar { order: -2; position: relative; z-index: 3; flex: none; display: flex; justify-content: stretch; gap: 8px;
    margin: 0; padding: 12px 14px; border: 0; box-shadow: none; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  html.hx-v5 #helix-content .helix-actionbar-btn { flex: 1 1 0; min-width: 0; height: 42px; min-height: 42px; padding: 0 12px; gap: 8px; justify-content: center;
    border: 0; border-radius: 999px; color: var(--v5-t1); background: var(--hx5m-pill); box-shadow: none; text-decoration: none; text-shadow: none;
    font: 600 15px var(--v5-font); letter-spacing: -.01em; transition: background .2s var(--v5-eo), transform .12s var(--v5-eo); }
  html.hx-v5 #helix-content .helix-actionbar-btn::after { content: none; }
  html.hx-v5 #helix-content .helix-actionbar-btn:active { transform: scale(.97); background: var(--hx5m-pill); }
  html.hx-v5 #helix-content .helix-actionbar-btn:focus-visible { outline: 2px solid var(--v5-acc); outline-offset: 2px; }
  html.hx-v5 #helix-content .helix-actionbar-btn svg { flex: none; width: 17px; height: 17px; color: var(--v5-acc); }
  html.hx-v5 #helix-content .helix-actionbar-btn > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html.hx-v5 #helix-content .helix-actionbar-btn.is-done svg { color: var(--v5-ok); }
  html.hx-v5 #helix-content .hx5m-agendar { display: inline-flex; }
  html.hx-v5 #helix-content .helix-actionbar-btn[data-action="more"] { flex: 0 0 42px; width: 42px; padding: 0; }
  html.hx-v5 #helix-content .helix-actionbar-btn[data-action="more"] svg { color: var(--v5-t1); }
  html.hx-v5 #helix-content .helix-actionbar-btn[data-action="more"] > span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  /* chips de estado y etiquetas del lead: dentro del cristal, una fila que se desliza */
  html.hx-v5 #helix-content .helix-lead-context-bar { order: -1; position: relative; z-index: 3; flex: none; flex-wrap: nowrap; gap: 6px; overflow-x: auto;
    scrollbar-width: none; padding: 0 14px 10px; border: 0; box-shadow: none; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  html.hx-v5 #helix-content .helix-lead-context-bar::-webkit-scrollbar { display: none; }
  html.hx-v5 #helix-content .helix-lead-status-row { display: flex; flex-wrap: nowrap; gap: 6px; }
  html.hx-v5 #helix-content .helix-lead-context-bar .helix-tag { flex: none; height: 24px; padding: 0 10px; border: 0; border-radius: 999px; box-shadow: none;
    font-size: 12px; white-space: nowrap; }
  html.hx-v5 #helix-content .helix-lead-context-bar .helix-tag--neutral { background: color-mix(in srgb, var(--v5-t1) 8%, transparent); color: var(--v5-t2); }
  html.hx-v5 #helix-content .helix-lead-context-bar .helix-tag--accent { background: color-mix(in srgb, var(--v5-acc) 16%, transparent); color: var(--hx5m-acc-t); }
  html.hx-v5 #helix-content .helix-lead-context-bar .helix-tag--signal { background: rgba(52, 199, 89, .16); color: var(--v5-ok); }
  /* chat: los mensajes se apoyan abajo y, al subir, pasan por debajo del cristal */
  html.hx-v5 #helix-content .helix-lead-detail-chat { position: relative; z-index: 1; gap: 6px; margin-top: calc(-1 * var(--hx5m-cab));
    padding: calc(var(--hx5m-cab) + 12px) 14px 16px; scrollbar-width: none; }
  html.hx-v5 #helix-content .helix-lead-detail-chat::-webkit-scrollbar { display: none; }
  html.hx-v5 #helix-content .helix-lead-detail-chat > :first-child { margin-top: auto; }
  html.hx-v5 #helix-content .helix-lead-detail.hx5-con-sug .helix-lead-detail-chat { padding-bottom: 54px; }
  html.hx-v5 #helix-content .helix-chat-bubble-row { gap: 0; animation: hx5-burbuja .45s var(--v5-eo) both; }
  html.hx-v5 #helix-content .helix-chat-bubble-row[data-side="left"] + .helix-chat-bubble-row[data-side="right"],
  html.hx-v5 #helix-content .helix-chat-bubble-row[data-side="right"] + .helix-chat-bubble-row[data-side="left"] { margin-top: 0; }
  html.hx-v5 #helix-content .helix-chat-bubble { max-width: 82%; padding: 10px 14px; border: 0; border-radius: 20px; font-size: 16px; line-height: 1.38; letter-spacing: -.012em; }
  html.hx-v5 #helix-content .helix-chat-bubble--lead { background: var(--v5-bin); color: var(--v5-t1); box-shadow: var(--hx5m-bin-sh); }
  html.hx-v5:not([data-theme="dark"]) #helix-content .helix-chat-bubble--lead { background: #FFFFFF; }
  html.hx-v5 #helix-content .helix-chat-bubble--ia { background: var(--v5-acc); color: #fff; box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--v5-acc) 70%, transparent); }
  html.hx-v5 #helix-content .helix-chat-bubble--alex { padding-left: 14px; border-left: 0; background: var(--bubble-alex-bg); color: #fff;
    box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--bubble-alex-bg) 70%, transparent); }
  html.hx-v5 #helix-content .helix-chat-trailing-time { margin: 5px -4px -3px 10px; color: var(--v5-t3); }
  html.hx-v5 #helix-content .helix-chat-bubble--ia .helix-chat-trailing-time,
  html.hx-v5 #helix-content .helix-chat-bubble--alex .helix-chat-trailing-time,
  html.hx-v5 #helix-content .helix-chat-bubble--ia .helix-tick,
  html.hx-v5 #helix-content .helix-chat-bubble--alex .helix-tick { color: rgba(255, 255, 255, .72); }
  html.hx-v5 #helix-content .helix-chat-bubble .helix-tick--read { color: #fff; }
  html.hx-v5 #helix-content .helix-chat-bubble .helix-tick--failed,
  html.hx-v5 #helix-content .helix-chat-bubble .helix-status-fallo { color: #FFE3E0; }
  html.hx-v5 #helix-content .helix-chat-bubble .helix-status-manual { color: rgba(255, 255, 255, .92); }
  html.hx-v5 #helix-content .helix-chat-bubble--ia .helix-chat-link,
  html.hx-v5 #helix-content .helix-chat-bubble--alex .helix-chat-link { color: #fff; text-decoration-color: rgba(255, 255, 255, .55); }
  html.hx-v5 #helix-content .helix-chat-puntos i { background: rgba(255, 255, 255, .85); }
  html.hx-v5 #helix-content .helix-chat-day-divider { margin: 8px 0 4px; }
  html.hx-v5 #helix-content .helix-chat-day-divider-label { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font-size: 13px;
    font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--v5-t3); }
  html.hx-v5 #helix-content .helix-chat-nuevos { color: var(--hx5m-acc-t); }
  html.hx-v5 #helix-content .helix-chat-nuevos::before,
  html.hx-v5 #helix-content .helix-chat-nuevos::after { background: color-mix(in srgb, var(--v5-acc) 40%, transparent); }
  html.hx-v5 #helix-content .helix-porque-btn { color: var(--v5-t3); }
  html.hx-v5 #helix-content .helix-chat-bajar { bottom: var(--hx5m-bajar, 130px); z-index: 4; color: var(--v5-t1); background: var(--v5-glass); border: 0;
    -webkit-backdrop-filter: var(--hx5m-gl); backdrop-filter: var(--hx5m-gl);
    box-shadow: inset 0 .5px 0 var(--v5-hl), 0 0 0 .5px var(--v5-edge), 0 8px 20px -10px rgba(0, 0, 0, .4); }
  /* avisos sobre el redactor (ventana de 24 h, archivo adjunto) como tarjetas */
  html.hx-v5 #helix-content .helix-ventana-aviso { position: relative; z-index: 3; margin: 0 14px 8px; padding: 9px 13px; border: 0; border-radius: 16px; font-size: 13px; }
  html.hx-v5 #helix-content .helix-composer-preview { position: relative; z-index: 3; margin: 0 14px 8px; padding: 10px 12px; border: 0; border-radius: 18px;
    background: var(--v5-card); box-shadow: var(--v5-sh1); -webkit-backdrop-filter: none; backdrop-filter: none; }
  html.hx-v5 #helix-content .helix-composer-preview[hidden] { display: none; }
  /* redactor: «adjuntar» redondo de cristal y la cápsula con el resto (respuestas, texto, audio, enviar) */
  html.hx-v5 #helix-content .helix-lead-detail-input-bar { position: relative; z-index: 3; isolation: isolate; align-items: flex-end; gap: 2px;
    padding: 6px 14px var(--hx5m-pie-b); border: 0; box-shadow: none; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  html.hx-v5 #helix-content .helix-lead-detail-input-bar::before { content: ""; position: absolute; z-index: -1; left: 70px; right: 14px; top: 6px;
    bottom: var(--hx5m-pie-b); border-radius: 23px; background: var(--v5-glass); -webkit-backdrop-filter: var(--hx5m-gl); backdrop-filter: var(--hx5m-gl);
    box-shadow: inset 0 .5px 0 var(--v5-hl), 0 0 0 .5px var(--v5-edge), 0 10px 26px -14px rgba(0, 0, 0, .4); transition: box-shadow .25s var(--v5-eo); }
  html.hx-v5 #helix-content .helix-lead-detail-input-bar:not(:has(> [data-action="attach"]))::before,
  html.hx-v5 #helix-content .helix-lead-detail-input-bar.is-recording::before { left: 14px; }
  html.hx-v5 #helix-content .helix-lead-detail-input-bar:focus-within::before { box-shadow: inset 0 .5px 0 var(--v5-hl), 0 0 0 .5px var(--v5-edge),
    0 0 0 2px color-mix(in srgb, var(--v5-acc) 55%, transparent), 0 10px 26px -14px rgba(0, 0, 0, .4); }
  html.hx-v5 #helix-content .helix-composer-btn::after,
  html.hx-v5 #helix-content .helix-lead-detail-send::after { content: none; }
  html.hx-v5 #helix-content .helix-composer-btn { width: 36px; height: 36px; min-width: 36px; min-height: 36px; margin: 0 0 5px; padding: 0; border: 0; border-radius: 50%;
    color: var(--v5-t2); background: transparent; box-shadow: none; }
  html.hx-v5 #helix-content .helix-composer-btn svg { width: 19px; height: 19px; }
  html.hx-v5 #helix-content .helix-lead-detail-input-bar > [data-action="attach"] { width: 46px; height: 46px; min-width: 46px; min-height: 46px; margin: 0 10px 0 0;
    color: var(--v5-t1); background: var(--v5-glass); -webkit-backdrop-filter: var(--hx5m-gl); backdrop-filter: var(--hx5m-gl);
    box-shadow: inset 0 .5px 0 var(--v5-hl), 0 0 0 .5px var(--v5-edge), var(--hx5m-circ-sh); }
  html.hx-v5 #helix-content .helix-lead-detail-input-bar > :first-child:not([data-action="attach"]):not(.helix-lead-detail-input) { margin-left: 4px; }
  html.hx-v5 #helix-content .helix-lead-detail-input-bar > [data-action="attach"] + .helix-composer-btn { margin-left: 4px; }
  html.hx-v5 #helix-content .helix-lead-detail-input { flex: 1; min-width: 0; height: 46px; min-height: 46px; max-height: 120px; margin: 0; padding: 12px 6px;
    border: 0; border-image: none; border-radius: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
    font: 400 16px/22px var(--v5-font); letter-spacing: -.01em; color: var(--v5-t1); }
  html.hx-v5 #helix-content .helix-lead-detail-input:focus,
  html.hx-v5:not([data-theme="dark"]) #helix-content .helix-lead-detail-input:focus { border: 0; outline: 0; background: transparent; box-shadow: none; }
  html.hx-v5 #helix-content .helix-lead-detail-input::placeholder { color: var(--v5-t3); }
  html.hx-v5 #helix-content .helix-lead-detail-send,
  html.hx-v5 #helix-content .helix-lead-detail-send:hover { width: 36px; height: 36px; min-width: 36px; min-height: 36px; margin: 0 5px 5px 0; padding: 0;
    border: 0; border-radius: 50%; background: var(--v5-acc); color: #fff; filter: none; box-shadow: none; }
  html.hx-v5 #helix-content .helix-lead-detail-send:active { transform: scale(.92); }
  html.hx-v5 #helix-content .helix-lead-detail-send svg { width: 16px; height: 16px; }
  html.hx-v5 #helix-content .helix-composer-recording { min-height: 46px; padding: 0 0 0 14px; }
  html.hx-v5 #helix-content .helix-composer-recording .helix-icon-btn { margin-bottom: 0; }

  /* «Helix Agent propone» anclada sobre el redactor (la pinta helix-v5-bandeja.js: mismos contratos que escritorio) */
  html.hx-v5 #helix-content .hx5-agent { display: block; position: relative; z-index: 3; flex: none; margin: 0 14px 12px; padding: 14px; border-radius: 26px;
    color: var(--v5-t1); background: var(--hx5m-prop); -webkit-backdrop-filter: var(--hx5m-gl34); backdrop-filter: var(--hx5m-gl34);
    box-shadow: inset 0 .5px 0 var(--v5-hl), 0 0 0 .5px var(--v5-edge), var(--v5-shg); animation: hx5-entra .6s var(--v5-eo) backwards; }
  html.hx-v5 #helix-content .hx5-asoma { position: absolute; z-index: 3; left: -2px; top: -56px; line-height: 0; pointer-events: none;
    animation: hx5-asoma .8s var(--v5-eo) .3s both; }
  html.hx-v5 #helix-content .hx5-asoma > .hx5-mpose { --s: 90px !important; }   /* la pose llega con --s:122px en línea */
  html.hx-v5 #helix-content .hx5-asoma > .hx5-rig { --s: 72px !important; }     /* y la de «pensando», con --s:104px */
  html.hx-v5 #helix-content .hx5-agent.is-pensando .hx5-asoma { left: 6px; top: -44px; }
  html.hx-v5 #helix-content .hx5-agent p { margin: 0; font-size: 16px; line-height: 1.42; }
  html.hx-v5 #helix-content .hx5-agent p b { display: block; box-sizing: border-box; width: max-content; max-width: calc(100% - 30px); min-height: 24px; padding-left: 88px;
    font-size: 13px; font-weight: 600; line-height: 24px; background: var(--v5-sig); -webkit-background-clip: text; background-clip: text; color: transparent; }
  html.hx-v5 #helix-content .hx5-agent.sin-masc p b { padding-left: 0; }
  html.hx-v5 #helix-content .hx5-agent.is-pensando p b { line-height: 1.35; padding-top: 3px; }
  html.hx-v5 #helix-content .hx5-agent-txt { display: block; margin: 6px 0 13px; white-space: pre-line; overflow-wrap: anywhere; }
  html.hx-v5 #helix-content .hx5-agent-bt { display: flex; gap: 8px; }
  html.hx-v5 #helix-content .hx5-agent-bt button { flex: 1; height: 46px; justify-content: center; font-size: 15.5px; border-radius: 999px; white-space: nowrap; }
  html.hx-v5:not([data-theme="dark"]) #helix-content .hx5-agent-bt .hx5-btn-g { background: var(--hx5m-botg); }
  html.hx-v5 #helix-content .hx5-agent-bt kbd { display: none; }
  html.hx-v5 #helix-content .hx5-agent-bt [data-hx5-sug="enviar"]::after { content: ""; width: 16px; height: 16px; flex: none; background: currentColor;
    -webkit-mask: var(--hx5m-flecha) center / contain no-repeat; mask: var(--hx5m-flecha) center / contain no-repeat; }
  html.hx-v5 #helix-content .hx5-agent-bt :focus-visible { outline: 2px solid var(--v5-acc); outline-offset: 2px; }
  html.hx-v5 #helix-content .hx5-agent-x { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; color: var(--v5-t3); background: transparent; cursor: pointer; }
  html.hx-v5 #helix-content .hx5-agent-x:focus-visible { outline: 2px solid var(--v5-acc); }
  html.hx-v5 #helix-content .hx5-puntos { display: flex; gap: 4px; margin: 8px 0 2px 88px; }
  html.hx-v5 #helix-content .hx5-puntos i { width: 6px; height: 6px; border-radius: 50%; background: var(--v5-t2); animation: hx5-punto 1.2s ease-in-out infinite; }
  html.hx-v5 #helix-content .hx5-puntos i:nth-child(2) { animation-delay: .15s; }
  html.hx-v5 #helix-content .hx5-puntos i:nth-child(3) { animation-delay: .3s; }
  html.hx-v5 #helix-content .hx5-sugerir { display: flex; flex: none; position: relative; z-index: 3; margin: 0 14px 8px; }   /* aspecto: helix-v5-base.css */

  /* ═══ Hoja de Helix Agent: casi a pantalla completa, con la pantalla de debajo encogida (hoja_agente()) ═══ */
  html.hx-v5 .helix-app .helix-shell.hxag-abierto { transform: translateY(calc(var(--hx5m-st) - 6px)) scale(.915); border-radius: 24px; overflow: hidden; }
  html.hx-v5 body:has(.helix-shell.hxag-abierto) #helix-bg,
  html.hx-v5[data-theme="dark"] body:has(.helix-shell.hxag-abierto) #helix-bg { background: #000; }
  html.hx-v5 .hx5m-velo { display: block; position: fixed; inset: 0; z-index: 8890; background: rgba(0, 0, 0, .4); opacity: 0; visibility: hidden;
    transition: opacity .5s var(--v5-eo), visibility 0s linear .5s; -webkit-tap-highlight-color: transparent; }
  html.hx-v5 .helix-app .helix-shell.hxag-abierto ~ .hx5m-velo { opacity: 1; visibility: visible; transition-delay: 0s; }
  html.hx-v5 .hxag-panel { inset: auto; top: calc(var(--hx5m-st) + 8px); left: 0; right: 0; bottom: 0; padding-top: 0; overflow: hidden; border: 0;
    border-radius: 38px 38px 0 0; color: var(--v5-t1); background: var(--hx5m-hoja-ag); font-family: var(--v5-font);
    -webkit-backdrop-filter: var(--hx5m-gl44); backdrop-filter: var(--hx5m-gl44); box-shadow: inset 0 .5px 0 var(--v5-hl), var(--hx5m-hoja-sh);
    opacity: 1; transform: translateY(106%); transition: transform .56s var(--v5-eo), translate .45s var(--v5-eo), visibility 0s linear .56s; }
  html.hx-v5 .hxag-panel.is-abierto { transform: none; transition-delay: 0s; }
  /* cabecera «Destacado»: halo, órbita, UNA mascota (o el vídeo de pensar), nombre, estado; saldo y cerrar arriba */
  html.hx-v5 .hxag-cab { position: relative; isolation: isolate; overflow: hidden; flex: none; flex-direction: column; align-items: center; justify-content: flex-start;
    gap: 2px; min-height: 0; padding: 24px 16px 12px; border-bottom: 0; touch-action: pan-x;
    background: radial-gradient(60% 75% at 50% 0%, color-mix(in srgb, var(--v5-acc) 30%, transparent), transparent 100%); }
  html.hx-v5 .hxag-cab-mascota { display: none; }
  html.hx-v5 .helix-app .hx5ag-halo { display: block; position: absolute; top: -70px; left: 50%; z-index: -1; width: 200px; height: 200px; margin-left: -100px; border-radius: 50%;
    opacity: .55; filter: blur(38px); pointer-events: none; animation: hx5-gira 14s linear infinite;
    background: conic-gradient(from 0deg, rgba(0, 122, 255, 0), rgba(0, 122, 255, .45), rgba(184, 75, 255, .45), rgba(255, 107, 53, .5), rgba(255, 59, 48, .35), rgba(0, 122, 255, 0)); }
  html.hx-v5 .helix-app .hx5ag-orbita { display: block; position: absolute; top: 18px; left: 50%; width: 210px; height: 70px; margin-left: -105px; border: 1px solid var(--hx5ag-orb);
    border-radius: 50%; transform: rotate(-12deg); pointer-events: none; }
  html.hx-v5 .helix-app .hx5ag-orbita i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--v5-acc); box-shadow: 0 0 10px var(--v5-acc);
    offset-path: ellipse(105px 35px at 105px 35px); animation: hx5ag-orbita 6s linear infinite; }
  html.hx-v5 .helix-app .hx5ag-hvs { display: grid; order: -1; position: relative; z-index: 1; flex: none; width: 104px; height: 104px; margin: -2px 0; }
  html.hx-v5 .helix-app .hx5ag-hvs > * { grid-area: 1 / 1; place-self: center; opacity: 0; transition: opacity .35s; }
  html.hx-v5 .helix-app .hx5ag-hvs > .hx5-rig { --s: 90px !important; }     /* la mascota de escritorio llega con --s:96px en línea */
  html.hx-v5 .helix-app .hx5ag-hvs > .hx5-mvid { display: none; }             /* el vídeo de escritorio no se usa en móvil */
  html.hx-v5 .hxag-panel:not(.hx5m-vid-on) .hx5ag-hvs > .hx5-rig,
  html.hx-v5 .hxag-panel.hx5m-vid-on .hx5ag-hvs > .hx5m-vid { opacity: 1; }
  html.hx-v5 .helix-app .hx5ag-hvs > .hx5m-vid { display: block; line-height: 0; }
  html.hx-v5 .hxag-panel.is-abierto .hx5ag-hvs { animation: hx5-asoma .8s var(--v5-eo) .12s both; }
  html.hx-v5 .hxag-cab-textos { flex: none; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; max-width: 100%; text-align: center; }
  html.hx-v5 .hxag-cab-nombre { margin-top: 2px; font: 700 18px/1.25 var(--v5-font); letter-spacing: -.02em; color: var(--v5-t1); }
  html.hx-v5 .helix-app .hx5ag-est { display: flex; align-items: center; gap: 7px; margin-top: 3px; font-size: 13px; color: var(--v5-t2); white-space: nowrap; }
  html.hx-v5 .helix-app .hx5ag-est i { width: 7px; height: 7px; border-radius: 50%; background: #34C759; box-shadow: 0 0 8px #34C759; animation: hx5ag-latido 2s ease-in-out infinite; }
  html.hx-v5 .helix-app .hx5ag-est[data-tono="off"] i { background: var(--v5-t3); box-shadow: none; animation: none; }
  html.hx-v5 .hxag-cab-sub { max-width: 280px; margin-top: 3px; font-size: 12px; color: var(--v5-t3); }
  html.hx-v5 .hxag-cab-acciones { position: absolute; top: 14px; left: 16px; right: 56px; z-index: 2; display: flex; align-items: center; justify-content: flex-end;
    gap: 2px; margin: 0; padding: 0; pointer-events: none; }
  html.hx-v5 .hxag-cab-acciones > * { pointer-events: auto; }
  html.hx-v5 .hxag-cab .hxa-icono { width: 34px; height: 34px; border-radius: 50%; background: transparent; color: var(--v5-t2); }
  html.hx-v5 .hxag-cab .hxa-icono svg { width: 17px; height: 17px; }
  html.hx-v5 .hxag-cab .hxa-chip-saldo { order: -1; margin-right: auto; height: 30px; gap: 5px; padding: 0 11px; border: 0; border-radius: 999px;
    background: var(--v5-card2); color: var(--v5-t1); font: 600 13px var(--v5-font); font-variant-numeric: tabular-nums; box-shadow: none; }
  html.hx-v5:not([data-theme="dark"]) .hxag-cab .hxa-chip-saldo { background: var(--hx5m-botg); }
  html.hx-v5 .hxag-cab .hxa-chip-saldo svg { width: 14px; height: 14px; color: var(--v5-t2); }
  html.hx-v5 .hxag-cab .hxa-chip-saldo.is-bajo { background: var(--warning-bg); color: var(--warning-text); }
  html.hx-v5 .hxag-cab .hxa-chip-saldo.is-cero { background: var(--danger-bg); color: var(--danger-text); }
  html.hx-v5 .hxag-cab [data-hxag-cerrar] { position: absolute; top: 14px; right: 14px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
    background: var(--v5-card2); color: var(--v5-t1); }
  html.hx-v5:not([data-theme="dark"]) .hxag-cab [data-hxag-cerrar] { background: var(--hx5m-botg); }
  html.hx-v5 .hxag-cab [data-hxag-cerrar] svg { width: 17px; height: 17px; }
  html.hx-v5 .hxag-cab .hxa-icono:active, html.hx-v5 .hxag-cab [data-hxag-cerrar]:active { transform: scale(.94); }
  /* hilo */
  html.hx-v5 .hxag-panel .hxa-hilo { padding: 6px 14px 10px; }
  html.hx-v5 .hxag-panel .hxa-hilo:has(> .hxa-col) { display: flex; flex-direction: column; }
  html.hx-v5 .hxag-panel .hxa-col { width: 100%; max-width: none; margin: auto 0 0; gap: 8px; }
  html.hx-v5 .hxag-panel .hxa-msg { gap: 6px; }
  html.hx-v5 .hxag-panel .hxa-msg.es-user .hxa-burbuja { max-width: 86%; padding: 10px 14px; border-radius: 20px; background: var(--v5-acc); color: #fff;
    font-size: 15.5px; line-height: 1.38; box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--v5-acc) 70%, transparent); }
  html.hx-v5 .hxag-panel .hxa-msg.es-asistente { position: relative; align-items: flex-start; }
  html.hx-v5 .hxag-panel .hxa-msg.es-asistente:not(:has(> .hxa-pensando)) { margin-top: 6px; padding-top: 32px; }
  html.hx-v5 .hxag-panel .hx5ag-autor { display: flex; position: absolute; top: 0; left: 2px; height: 26px; align-items: center; gap: 7px; font-size: 13px;
    color: var(--v5-t2); white-space: nowrap; }
  html.hx-v5 .hxag-panel .hx5ag-autor b { font-weight: 600; color: var(--v5-t1); }
  html.hx-v5 .hxag-panel .hxa-msg.es-asistente .hxa-burbuja { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 100%;
    padding: 0; background: none; font-size: 15.5px; line-height: 1.42; }
  html.hx-v5 .hxag-panel .hxa-md > p, html.hx-v5 .hxag-panel .hxa-md > blockquote { max-width: 86%; margin: 0; padding: 10px 14px; border-radius: 20px;
    background: var(--v5-bin); color: var(--v5-t1); box-shadow: var(--hx5m-bin-sh); }
  html.hx-v5:not([data-theme="dark"]) .hxag-panel .hxa-md > p,
  html.hx-v5:not([data-theme="dark"]) .hxag-panel .hxa-md > blockquote { background: #EDEBEE; }
  html.hx-v5 .hxag-panel .hxa-md > blockquote { border-left: 0; box-shadow: inset 3px 0 0 color-mix(in srgb, var(--v5-acc) 55%, transparent), var(--hx5m-bin-sh); }
  html.hx-v5 .hxag-panel .hxa-md > ul, html.hx-v5 .hxag-panel .hxa-md > ol { max-width: 92%; margin: 0; padding: 12px 14px 12px 32px; border-radius: 18px;
    background: var(--v5-card2); box-shadow: var(--v5-sh1); font-size: 14.5px; }
  html.hx-v5:not([data-theme="dark"]) .hxag-panel .hxa-md > ul,
  html.hx-v5:not([data-theme="dark"]) .hxag-panel .hxa-md > ol { background: #FFFFFF; }
  html.hx-v5 .hxag-panel .hxa-md li { margin: 3px 0; }
  html.hx-v5 .hxag-panel .hxa-md a { color: var(--hx5m-acc-t); }
  /* «Pensando…»: la mini mascota pensando y el texto con un brillo que lo recorre */
  html.hx-v5 .hxag-panel .hxa-pensando { position: relative; min-height: 26px; margin: 2px 0 0 2px; padding-left: 34px; color: var(--v5-t2); }
  html.hx-v5 .hxag-panel .hxa-pensando > .hxag-m, html.hx-v5 .hxag-panel .hxa-pensando > .hx5ag-orig { display: none; }
  html.hx-v5 .hxag-panel .hx5ag-pm { display: block; position: absolute; top: 50%; left: 0; width: 26px; height: 26px; margin-top: -13px; }
  html.hx-v5 .hxag-panel .hx5ag-pt { display: inline-flex; align-items: baseline; font-size: 14px; }
  html.hx-v5 .hxag-panel .hx5ag-pt b { font-weight: 400; color: transparent; -webkit-text-fill-color: transparent; -webkit-background-clip: text; background-clip: text;
    background-image: linear-gradient(90deg, var(--v5-t2) 0%, var(--v5-t1) 50%, var(--v5-t2) 100%); background-size: 200% 100%; animation: hx5ag-brillo-texto 2s linear infinite; }
  html.hx-v5 .hxag-panel .hx5ag-pt i { display: inline-block; width: 3px; height: 3px; margin-left: 2px; border-radius: 50%; background: var(--v5-t2);
    animation: hx5-punto 1.2s ease-in-out infinite; }
  html.hx-v5 .hxag-panel .hx5ag-pt i:nth-of-type(2) { animation-delay: .15s; }
  html.hx-v5 .hxag-panel .hx5ag-pt i:nth-of-type(3) { animation-delay: .3s; }
  /* tarjeta de acción pendiente: borde de degradado que orbita */
  html.hx-v5 .hxag-panel .hxa-accion { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 14px;
    border: 0; border-radius: 18px; background: var(--v5-card); box-shadow: var(--v5-sh1); }
  html.hx-v5 .hxag-panel .hxa-accion.is-pendiente { background: transparent; box-shadow: var(--v5-shg); }
  html.hx-v5 .hxag-panel .hxa-accion.is-pendiente::before { content: ""; position: absolute; top: 50%; left: 50%; z-index: -2; width: 250%; aspect-ratio: 1;
    background: conic-gradient(from 0deg, transparent 0 55%, #007AFF 65%, #B84BFF 75%, #FF6B35 85%, transparent 95%); transform: translate(-50%, -50%);
    animation: hx5-orbit 3.2s linear infinite; }
  html.hx-v5 .hxag-panel .hxa-accion.is-pendiente::after { content: ""; position: absolute; inset: 1.5px; z-index: -1; border-radius: 16.5px; background: var(--v5-card); }
  html.hx-v5 .hxag-panel .hxa-accion-cab { align-items: center; gap: 8px; padding: 0; }
  html.hx-v5 .hxag-panel .hx5ag-aico { display: inline-flex; flex: none; color: var(--v5-t1); }
  html.hx-v5 .hxag-panel .hxa-accion-titulo { font-size: 14.5px; font-weight: 600; color: var(--v5-t1); }
  html.hx-v5 .hxag-panel .hxa-estado.is-pendiente { background: color-mix(in srgb, var(--v5-acc) 14%, transparent); color: var(--hx5m-acc-t); }
  html.hx-v5 .hxag-panel .hxa-accion-cuerpo { font-size: 14px; color: var(--v5-t2); }
  html.hx-v5 .hxag-panel .hxa-antes { color: var(--v5-t3); text-decoration: line-through; }
  html.hx-v5 .hxag-panel .hxa-despues { font-weight: 600; color: var(--v5-t1); }
  html.hx-v5 .hxag-panel .hxa-accion-pie { gap: 8px; padding: 0; border: 0; background: none; }
  html.hx-v5 .hxag-panel .hxa-accion-pie .helix-btn { flex: 1; height: 42px; min-height: 42px; justify-content: center; border: 0; border-radius: 999px;
    font: 600 14.5px var(--v5-font); text-shadow: none; }
  html.hx-v5 .hxag-panel .hxa-accion-pie .helix-btn--primary { background: var(--v5-acc); color: #fff; }
  html.hx-v5 .hxag-panel .hxa-accion-pie .helix-btn--secondary { background: var(--v5-card2); color: var(--v5-t1); }
  html.hx-v5 .hxag-panel .hxa-accion-pie .helix-btn::after { content: none; }
  /* bienvenida: saludo centrado y las 4 sugerencias en 2×2 (la mascota ya está arriba) */
  html.hx-v5 .hxag-panel .hxa-hilo:has(> .hxa-vacio) { display: flex; flex-direction: column; padding: 6px 14px 14px; }
  html.hx-v5 .hxag-panel .hxa-vacio { flex: 1 0 auto; display: flex; flex-direction: column; width: 100%; max-width: none; margin: 0; padding: 0; }
  html.hx-v5 .hxag-panel .hxa-vacio > .hxag-m, html.hx-v5 .hxag-panel .hxa-vacio > h2,
  html.hx-v5 .hxag-panel .hxa-vacio > p, html.hx-v5 .hxag-panel .hxa-vacio > .hxa-sugerencias { display: none; }
  html.hx-v5 .hxag-panel .hx5ag-bien { display: flex; flex: 1 0 auto; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    padding: 6px 14px 16px; text-align: center; }
  html.hx-v5 .hxag-panel .hx5ag-bien h2 { margin: 0; font: 700 23px/1.2 var(--v5-font); letter-spacing: -.03em; color: var(--v5-t1); }
  html.hx-v5 .hxag-panel .hx5ag-bien p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--v5-t2); }
  html.hx-v5 .hxag-panel .hxa-vacio > .hxa-recientes { order: 1; margin: 0 0 12px; }
  html.hx-v5 .hxag-panel .hxa-recientes-tit { margin: 0 4px 4px; font-size: 12px; color: var(--v5-t3); }
  html.hx-v5 .hxag-panel .hxa-reciente { padding: 9px 10px; border-radius: 12px; font-size: 14px; }
  html.hx-v5 .hxag-panel .hx5ag-sug { display: grid; order: 2; grid-template-columns: 1fr 1fr; gap: 10px; }
  html.hx-v5 .hxag-panel .hx5ag-sug button { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; padding: 13px 13px 12px;
    border: .5px solid var(--v5-line); border-radius: 18px; background: var(--v5-card2); color: var(--v5-t1); font: 500 14.5px/1.35 var(--v5-font); text-align: left;
    box-shadow: var(--v5-sh1); cursor: pointer; transition: transform .2s var(--v5-eo), box-shadow .2s var(--v5-eo); }
  html.hx-v5:not([data-theme="dark"]) .hxag-panel .hx5ag-sug button { background: #FFFFFF; border-color: rgba(0, 0, 0, .06); }
  html.hx-v5 .hxag-panel.is-abierto .hx5ag-sug button { animation: hx5-entra .5s var(--v5-eo) backwards; }
  html.hx-v5 .hxag-panel.is-abierto .hx5ag-sug button:nth-child(2) { animation-delay: .07s; }
  html.hx-v5 .hxag-panel.is-abierto .hx5ag-sug button:nth-child(3) { animation-delay: .14s; }
  html.hx-v5 .hxag-panel.is-abierto .hx5ag-sug button:nth-child(4) { animation-delay: .21s; }
  html.hx-v5 .hxag-panel .hx5ag-sug button:active { transform: scale(.97); }
  html.hx-v5 .hxag-panel .hx5ag-sug button:focus-visible { outline: 2px solid var(--accent-ring); outline-offset: 2px; }
  html.hx-v5 .hxag-panel .hx5ag-sug button span { font-size: 13px; font-weight: 400; color: var(--v5-t2); }
  html.hx-v5 .hxag-panel .hx5ag-sug svg { width: 19px; height: 19px; color: var(--v5-acc); }
  /* redactor de dos pisos: el texto arriba; adjuntar, modelo, esfuerzo, voz y enviar debajo (borde que gira) */
  html.hx-v5 .hxag-panel .hxa-aviso { margin: 0 14px 8px; border-radius: 14px; font-size: 13px; }
  html.hx-v5 .hxag-panel .hxa-pendientes { padding: 0 14px 6px; }
  html.hx-v5 .hxag-panel .hxa-ficha { border: .5px solid var(--v5-line); background: var(--v5-card2); color: var(--v5-t2); }
  html.hx-v5 .hxag-panel .hxa-form { padding: 4px 14px var(--hx5m-pie-b); }
  html.hx-v5 .hxag-panel .hxa-caja { position: relative; isolation: isolate; max-width: none; padding: 12px 8px 8px 16px; border: 0; border-radius: 22px;
    background: var(--v5-card2); box-shadow: 0 10px 26px -14px rgba(0, 0, 0, .35); }
  html.hx-v5:not([data-theme="dark"]) .hxag-panel .hxa-caja { background: #FFFFFF; }
  html.hx-v5 .hxag-panel .hxa-caja::before { content: ""; position: absolute; inset: -1.5px; z-index: -1; padding: 1.5px; border-radius: 23.5px; pointer-events: none;
    background: conic-gradient(from var(--hx5ag-gira, 0deg), #007AFF, #B84BFF, #FF6B35, #FF3B30, #007AFF);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: hx5ag-borde 4s linear infinite; }
  html.hx-v5 .hxag-panel .hxa-caja:focus-within { box-shadow: 0 0 0 4px color-mix(in srgb, var(--v5-acc) 14%, transparent), 0 10px 26px -14px rgba(0, 0, 0, .35); }
  html.hx-v5 .hxag-panel .hxa-input { padding: 0 8px 0 0; min-height: 26px; font: 400 16px/1.45 var(--v5-font); letter-spacing: -.01em; color: var(--v5-t1); }
  html.hx-v5 .hxag-panel .hxa-input::placeholder { color: var(--v5-t3); }
  html.hx-v5 .hxag-panel .hxa-caja-pie { display: flex; align-items: center; gap: 4px; margin: 6px 0 0 -8px; }
  html.hx-v5 .hxag-panel .hxa-caja-pie > #hxa-clip { order: 1; }
  html.hx-v5 .hxag-panel .hxa-caja-pie > #hxa-sel-modelo { order: 2; }
  html.hx-v5 .hxag-panel .hxa-caja-pie > #hxa-sel-esfuerzo { order: 3; }
  html.hx-v5 .hxag-panel .hxa-caja-pie > .hxa-espacio { order: 4; flex: 1; }
  html.hx-v5 .hxag-panel .hxa-caja-pie > #hxa-mic { order: 5; }
  html.hx-v5 .hxag-panel .hxa-caja-pie > #hxa-enviar { order: 6; }
  html.hx-v5 .hxag-panel .hxa-adj-btn { width: 36px; height: 36px; border-radius: 50%; color: var(--v5-t2); }
  html.hx-v5 .hxag-panel .hxa-adj-btn svg { width: 19px; height: 19px; }
  html.hx-v5 .hxag-panel .hxa-sel { height: 32px; min-width: 0; padding: 0 8px 0 11px; gap: 3px; border: .5px solid var(--v5-line); border-radius: 999px;
    background: transparent; color: var(--v5-t2); font: 500 13px var(--v5-font); }
  html.hx-v5 .hxag-panel .hxa-sel svg { width: 15px; height: 15px; }
  html.hx-v5 .hxag-panel .hxa-enviar { width: 36px; height: 36px; background: var(--v5-acc); color: #fff; transition: filter .2s var(--v5-eo), transform .12s var(--v5-eo); }
  html.hx-v5 .hxag-panel .hxa-enviar:active { transform: scale(.92); }
  html.hx-v5 .hxag-panel .hxa-enviar.is-parar { background: var(--v5-t1); color: var(--bg-page); }
  html.hx-v5 .hxag-panel .hxa-pie { margin-top: 7px; font-size: 11.5px; color: var(--v5-t3); text-align: center; }
  html.hx-v5 .hxag-panel .hxa-menu { left: 14px; right: 14px; border: 0; border-radius: 16px; background: var(--hx5ag-capa);
    box-shadow: inset 0 .5px 0 var(--v5-hl), 0 0 0 .5px var(--v5-edge), 0 18px 44px -16px rgba(0, 0, 0, .55); }
  /* capas del panel (conversaciones, saldo, preferencias) */
  html.hx-v5 .hxag-panel .hxa-capa { background: var(--hx5ag-capa); }
  html.hx-v5 .hxag-panel .hxa-capa-cab { padding: 18px 14px 12px 18px; border-bottom: .5px solid var(--v5-line); }
  html.hx-v5 .hxag-panel .hxa-capa-cab h3 { font: 700 18px var(--v5-font); letter-spacing: -.02em; }
  html.hx-v5 .hxag-panel .hxa-capa-cab .hxa-icono { width: 34px; height: 34px; border-radius: 50%; background: var(--v5-card2); color: var(--v5-t1); }
  html.hx-v5 .hxag-panel .hxa-recarga { border: .5px solid var(--v5-line); border-radius: 14px; background: var(--v5-card2); box-shadow: var(--v5-sh1); }
}

@keyframes hx5m-icono { 0% { transform: scale(.82); } 60% { transform: scale(1.12); } 100% { transform: none; } }
@keyframes hx5m-sube { from { transform: translateY(100%); } to { transform: none; } }

