/* Livay v424 · Levi con el mismo modelo de las demás áreas: fondo gris de la app, cabecera oscura con logo-menú,
   portada oscura, tarjeta blanca y barra inferior única (Voz | Chat). Solo cambia el aspecto. */

/* ---------- modo voz ---------- */
html body #levi-voz.lvm-l{background:#E6E7E4!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;
  gap:12px!important;padding:0 max(16px,env(safe-area-inset-right,0px)) calc(96px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px))!important;overflow-y:auto!important}
/* v425: cerrado (sin .on) no se ve; antes el display:flex de arriba lo dejaba encima de las demás áreas */
html body #levi-voz.lvm-l:not(.on){display:none!important}
html body #levi-voz.lvm-l::before,html body #levi-voz.lvm-l::after{content:none!important;display:none!important}
html body #levi-voz.lvm-l .lv-top{width:auto!important;margin:0 calc(-1 * max(16px,env(safe-area-inset-left,0px))) 2px!important;flex:none}
html body #levi-voz.lvm-l .lvl-hero{position:relative;background:#182A31;color:#EFEFED;border-radius:24px;padding:18px 20px;box-shadow:0 14px 30px rgba(14,26,32,.16);flex:none;width:100%;max-width:980px;margin:0 auto}
html body #levi-voz.lvm-l .lvl-ey{margin:0;display:flex;align-items:center;gap:7px;color:#E0335A;font:800 11px/1 Inter,system-ui,sans-serif;letter-spacing:.16em}
html body #levi-voz.lvm-l .lvl-ey::before{content:"";width:6px;height:6px;border-radius:50%;background:#E0335A}
html body #levi-voz.lvm-l .lvl-hero h2{margin:9px 0 5px;color:#EFEFED;font:800 26px/1.1 Inter,system-ui,sans-serif;letter-spacing:-.035em}
html body #levi-voz.lvm-l .lvl-hero p:not(.lvl-ey){margin:0;color:#BEC5C2;font:400 13.5px/1.45 Inter,system-ui,sans-serif}
html body #levi-voz.lvm-l .lvl-card{background:#FFFFFF;border-radius:24px;padding:18px 16px 20px;display:flex;flex-direction:column;align-items:center;gap:6px;flex:1 1 auto;min-height:0;width:100%;max-width:980px;margin:0 auto}
html body #levi-voz.lvm-l .lv-stage{width:100%!important;flex:1 1 auto!important;min-height:180px!important;max-height:340px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important}
html body #levi-voz.lvm-l .lv-orb{width:min(260px,62vw)!important;height:min(260px,62vw)!important;max-width:100%!important;max-height:100%!important;aspect-ratio:1/1;background:radial-gradient(circle,rgba(224,51,90,.10),rgba(224,51,90,0) 68%)!important;box-shadow:none!important;border:0!important}
html body #levi-voz.lvm-l .lv-orb canvas{width:100%!important;height:100%!important}
html body #levi-voz.lvm-l .lv-est{color:#182A31!important;font:800 20px/1.2 Inter,system-ui,sans-serif!important;letter-spacing:-.02em!important;margin:14px 0 0!important;text-align:center;position:relative;z-index:1}
html body #levi-voz.lvm-l .lv-sub{color:#6B7378!important;font:500 13px/1.35 Inter,system-ui,sans-serif!important;margin:0!important;text-align:center}
html body #levi-voz.lvm-l .lv-resp{color:#182A31!important;font:500 14px/1.45 Inter,system-ui,sans-serif!important;text-align:center;max-width:46ch;margin:6px auto 0!important}
html body #levi-voz.lvm-l .lv-acc{display:flex!important;justify-content:center!important;margin:0!important;padding:0!important;flex:none;position:static!important}
html body #levi-voz.lvm-l .lv-chat{display:none!important}
html body #levi-voz.lvm-l .lv-hablar{background:#182A31!important;color:#fff!important;border-radius:999px!important;box-shadow:0 10px 22px rgba(14,26,32,.22)!important}

/* ---------- chat: claro, como el resto de la app ---------- */
html body #ia-panel.lvm-l{background:#E6E7E4!important;color:#182A31!important}
html body #ia-panel.lvm-l .ia-msgs{background:transparent!important;padding:16px max(16px,env(safe-area-inset-left,0px)) 12px!important}
html body #ia-panel.lvm-l .ia-m{border:0!important;box-shadow:none!important;border-radius:20px!important;font:500 14px/1.5 Inter,system-ui,sans-serif!important}
html body #ia-panel.lvm-l .ia-m.b{background:#FFFFFF!important;color:#182A31!important;border-bottom-left-radius:8px!important}
html body #ia-panel.lvm-l .ia-m.b strong{color:#182A31!important}
html body #ia-panel.lvm-l .ia-m.u{background:#182A31!important;color:#FFFFFF!important;border-bottom-right-radius:8px!important}
html body #ia-panel.lvm-l .ia-m.err{background:#FCE9EE!important;color:#B4233F!important}
html body #ia-panel.lvm-l .ia-m code{background:#F1F2EF!important;color:#182A31!important}
html body #ia-panel.lvm-l .ia-m .ia-tools{color:#8A9095!important}
html body #ia-panel.lvm-l .ia-card{background:#FFFFFF!important;color:#182A31!important;border:1px solid #E7E8E5!important;border-radius:20px!important}
html body #ia-panel.lvm-l .ia-sug{background:transparent!important;border:0!important;padding:4px max(16px,env(safe-area-inset-left,0px)) 8px!important}
html body #ia-panel.lvm-l .ia-sug button{background:#FFFFFF!important;color:#182A31!important;border:1px solid #E7E8E5!important;border-radius:999px!important;font:700 12px/1 Inter,system-ui,sans-serif!important}
html body #ia-panel.lvm-l .ia-ft{background:transparent!important;border:0!important;box-shadow:none!important;padding:0 max(16px,env(safe-area-inset-left,0px)) calc(88px + env(safe-area-inset-bottom,0px))!important}
html body #ia-panel.lvm-l .ia-campo{background:#FFFFFF!important;border:1px solid #E7E8E5!important;border-radius:999px!important;box-shadow:none!important}
html body #ia-panel.lvm-l #ia-form #ia-in{background:transparent!important;color:#182A31!important}
html body #ia-panel.lvm-l #ia-form #ia-in::placeholder{color:#8A9095!important}
html body #ia-panel.lvm-l .ia-mic-in{color:#182A31!important;background:transparent!important}
html body #ia-panel.lvm-l .ia-ft button.send{background:#E0335A!important;color:#fff!important}

/* ---------- barra inferior Voz | Chat (igual a la de todas las áreas) ---------- */
html body .lvl-nav{position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom,0px));max-width:560px;height:66px;margin:0 auto;padding:6px;
  display:flex;align-items:stretch;gap:4px;background:#182A31;border-radius:26px;box-shadow:0 14px 34px rgba(14,26,32,.28);z-index:30}
html body .lvl-ni{flex:1 1 0;min-width:0;height:54px;margin:0;padding:0 3px;border:0;border-radius:18px;background:transparent;color:rgba(239,239,237,.58);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;cursor:pointer;transition:background-color .25s cubic-bezier(.2,.8,.2,1),color .25s,box-shadow .25s}
html body .lvl-ni:hover{color:rgba(239,239,237,.9)}
html body .lvl-ni:active{transform:scale(.96)}
html body .lvl-ni:focus-visible{outline:2px solid #fff;outline-offset:2px}
html body .lvl-ni svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html body .lvl-ni small{font:700 10px/1.08 Inter,system-ui,sans-serif;color:inherit}
html body .lvl-ni.on{background:#E0335A;color:#fff;box-shadow:0 6px 16px rgba(224,51,90,.35),inset 0 1px 0 rgba(255,255,255,.18)}
@media (prefers-reduced-motion:reduce){html body .lvl-ni{transition:none}}

/* tamaño fijo del círculo: no se monta sobre el texto */
html body #levi-voz.lvm-l .lv-stage{flex:none!important;height:min(260px,36vh)!important;min-height:0!important;max-height:none!important;overflow:hidden!important}
html body #levi-voz.lvm-l .lv-orb{width:min(240px,34vh)!important;height:min(240px,34vh)!important}
html body #levi-voz.lvm-l .lvl-card{flex:none!important;justify-content:center}
html body #levi-voz.lvm-l .lvl-card .lv-acc{margin-top:12px!important}
html body #levi-voz.lvm-l .lv-stage{height:min(240px,32vh)!important}
html body #levi-voz.lvm-l .lv-orb{width:min(220px,30vh)!important;height:min(220px,30vh)!important}
@media (max-height:780px){html body #levi-voz.lvm-l .lvl-hero{padding:14px 18px}html body #levi-voz.lvm-l .lvl-hero h2{font-size:22px;margin:7px 0 3px}html body #levi-voz.lvm-l .lv-stage{height:26vh!important}html body #levi-voz.lvm-l .lv-orb{width:24vh!important;height:24vh!important}html body #levi-voz.lvm-l .lvl-card{padding:12px 14px 14px}}
