@import "https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800&display=swap";@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--midnight:#1a1050;--lavanda:#eceaf6;--violeta:#3b1d8e;--coral:#c85025;--texto:#2c2c3a;--muted:#7b7a8e;--borde:#ddd9f0;--gradiente:linear-gradient(135deg, #3b1d8e 0%, #c85025 100%);--lavanda-osc:#d6cfef;--fondo-app:#f1f5f9;--exito-bg:#f0fdf4;--exito-fg:#166534;--header-h:calc(56px + env(safe-area-inset-top,0px));--violet:var(--violeta);--lavender:var(--lavanda);--lav-light:var(--lavanda-osc);--gray-bg:var(--fondo-app);--grad:var(--gradiente)}*{box-sizing:border-box}@keyframes spin{to{transform:rotate(360deg)}}body{background:var(--gray-bg);margin:0;font-family:Lexend,system-ui,-apple-system,sans-serif}#root{width:100%;min-height:100svh}@media (display-mode:standalone){html[data-portal],html[data-dra]{min-height:min(100lvh, calc(100% + env(safe-area-inset-top,0px)))}}.mobile-only,.rx-emitir-barra{display:none}@media (width>=768px){.desktop-table{display:block}.mobile-cards{display:none!important}.patient-header-desktop{display:flex!important}.patient-header-mobile,.bottom-nav{display:none!important}.tab-content{padding:24px 28px!important}.tab-sidebar{border-right:1px solid var(--borde)!important;background:#fff!important;display:block!important}.two-col{grid-template-columns:1fr 1.4fr;align-items:start;gap:0 32px;display:grid}.demo-three-col{grid-template-columns:1fr 1fr 1fr;align-items:start;gap:14px;display:grid}.das28-monigote-wrap svg{margin:0 auto;display:block;width:auto!important;height:380px!important}.lab-grid{grid-template-columns:repeat(4,1fr)!important}.evol-lab-layout{grid-template-columns:220px 1fr;gap:0 20px;display:grid}.studies-grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.evol-layout{grid-template-columns:1fr 340px;align-items:start;gap:0 20px;height:100%;display:grid}.desktop-only{display:inline!important}.mobile-only,.fab-mobile{display:none!important}.fab-desktop{display:flex!important}.header-logo-svg{width:auto;height:36px}.header-cons-nombre{max-width:none;text-overflow:unset;white-space:nowrap;overflow:visible}.evo-overlay{align-items:stretch!important}.evo-box{grid-template-columns:1fr auto;grid-template-areas:"topbar actions""asistente asistente""body body";align-content:start;height:100vh;display:grid;border-radius:0!important;max-height:100vh!important;padding:0!important}.evo-asistente{box-sizing:border-box;grid-area:asistente;width:100%;max-width:1400px;margin:0 auto;padding:18px 28px 0!important}.evo-topbar{grid-area:topbar;margin-bottom:0!important;padding:14px 0 14px 28px!important}.evo-actions{grid-area:actions;padding:14px 28px 14px 0;flex-flow:row!important;width:auto!important}.evo-topbar,.evo-actions{z-index:5;border-bottom:1px solid var(--borde);background:#fff;position:sticky;top:0;align-items:center!important}.evo-actions button{width:auto!important}.evo-body{grid-area:body;max-width:1400px;margin:0 auto;padding:18px 28px 28px!important}.evo-banda{grid-template-columns:minmax(320px,1fr) minmax(0,2fr);align-items:start;gap:14px;display:grid!important}.evo-med-heads,.evo-med-fila{grid-template-columns:minmax(180px,1.6fr) 148px minmax(170px,260px) 90px;gap:6px;display:grid}.evo-med-fila{align-items:center}.evo-med-campos{display:contents}.evo-med-via{width:100%}.evo-med-frec{min-width:0}.rx-grupos{grid-template-columns:1fr 1fr;align-items:start}.rx-cobertura,.rx-fechas{grid-template-columns:1fr 1fr}}@media (width<=767px){.prio-cols{grid-template-columns:1fr!important}input,select,textarea{font-size:16px!important}.agenda-nav{flex-direction:column;align-items:stretch!important}.agenda-nav-fecha{width:100%}.agenda-nav-vistas{width:100%;flex-direction:column!important;align-items:stretch!important;margin-left:0!important}.agenda-nav-vistas>div,.agenda-nav-vistas>button{justify-content:center;width:100%}.acceso-fila{grid-template-columns:24px 1fr!important;align-items:start!important;row-gap:4px!important}.acceso-fila>:nth-child(n+3){grid-column:2}.acceso-fila>:last-child{flex-wrap:wrap;justify-content:flex-start!important}.desktop-table{display:none!important}.mobile-cards{display:block}.patient-header-desktop,.tab-sidebar{display:none!important}.two-col{display:block}.demo-three-col{flex-direction:column;gap:12px;display:flex}.studies-grid{display:block}.desktop-only{display:none!important}.mobile-only{display:inline-block!important}.tab-content{padding:12px 14px 80px!important}.evo-overlay{padding-top:env(safe-area-inset-top,0px);box-sizing:border-box}.evo-box{max-height:100%!important}.evo-actions{padding-bottom:env(safe-area-inset-bottom,0px)}.evo-med-heads{display:none}.evo-med-fila{flex-direction:column;gap:8px;display:flex}.evo-med-campos{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.evo-med-dosis{flex:145px}.evo-med-frec{flex:100%}.evo-med-via{flex:0 90px}.rx-grupos,.rx-cobertura{grid-template-columns:1fr}.rx-fechas{grid-template-columns:1fr;gap:0!important}.rx-overlay{padding:0!important;padding-top:env(safe-area-inset-top,0px)!important;align-items:stretch!important}.rx-box{height:100%;border-radius:0!important;max-width:none!important;max-height:100%!important}.rx-cant{width:68px!important}.rx-fecha-row{flex-direction:column;align-items:stretch!important;gap:6px!important}.rx-fecha-row input,.rx-accion select{box-sizing:border-box;width:100%}.rx-accion>div,.rx-accion>div>div{width:100%}.rx-barra-buscador{flex:100%!important;max-width:none!important}.rx-barra-toggle{flex:none;order:1}.rx-barra-cta{flex:auto;order:2;justify-content:center}.rx-barra-grupo{border-top:1px solid var(--borde);flex-wrap:wrap;flex:100%;order:3;align-items:center;gap:8px;padding-top:8px;display:flex!important}.rx-emitir-barra{z-index:600;padding:10px 14px;padding-bottom:calc(10px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--borde);background:#fff;gap:8px;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -4px 16px #1a10501a}.rx-barra-sync{flex:100%;margin-left:0!important}.rx-barra-sync>:last-child{margin-left:auto}.header-cons-nombre{text-overflow:ellipsis!important;white-space:nowrap!important;max-width:90px!important;overflow:hidden!important}.patient-header-mobile{border-bottom:1px solid var(--borde);background:#fff;flex-shrink:0;padding:10px 16px;display:block!important}.bottom-nav{flex-shrink:0;border-top:1px solid var(--borde)!important;width:100%!important;padding:4px 0!important;padding-bottom:calc(4px + env(safe-area-inset-bottom,0px))!important;z-index:150!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important;background:#fff!important;display:flex!important;overflow-x:auto!important}.bottom-nav::-webkit-scrollbar{display:none}.bottom-nav>button{flex-shrink:0!important;min-width:60px!important}.fab-mobile{bottom:calc(64px + env(safe-area-inset-bottom,0px))!important;display:flex!important;right:20px!important}.fab-desktop{display:none!important}}.acceso-cols{gap:14px;display:grid}.acceso-qr{aspect-ratio:1;background:#fff;border-radius:10px;width:min(200px,62vw);height:auto;margin:0 auto;padding:8px;display:block}.acceso-codigo{border-top:1px solid var(--borde);padding-top:12px}@media (width>=768px){.acceso-qr{width:210px;min-width:210px}.portal-modal-hoja{max-width:680px!important}.portal-modal-cols{grid-template-columns:300px 1fr;align-items:start;gap:22px;display:grid}}.aviso-pila{pointer-events:none;flex-direction:column;gap:10px;width:380px;max-width:calc(100vw - 40px);display:flex;position:fixed;bottom:20px;right:20px}.aviso-pila>*{pointer-events:auto}@media (width<=767px){.aviso-pila{width:auto;max-width:none;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px))}}@keyframes avisoEntra{0%{opacity:0;transform:translateY(10px)scale(.98)}to{opacity:1;transform:none}}.aviso-item{animation:.22s cubic-bezier(.2,.8,.3,1) both avisoEntra}@media (prefers-reduced-motion:reduce){.aviso-item{animation:none}}.agc-split{grid-template-columns:minmax(0,7fr) minmax(260px,3fr);align-items:start;gap:16px;display:grid}@media (width<=899px){.agc-split{grid-template-columns:1fr}}.agc-fila{grid-template-columns:64px 104px 1fr auto;gap:10px;display:grid}@media (width<=767px){.agc-fila{grid-template-columns:64px 1fr;row-gap:6px}.agc-fila>:nth-child(3),.agc-fila>:nth-child(4){grid-column:1/-1}.agc-fila>:nth-child(4){justify-content:flex-start!important}.agc-head{display:none}}.bandeja-app{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.bandeja-lista,.bandeja-chat,.bandeja-lado{min-width:0}.bandeja-lista-filas{border:1px solid var(--borde);background:#fff;border-radius:13px;overflow:hidden}.bandeja-chat-caja{border:1px solid var(--borde);height:calc(var(--alto-dra,100dvh) - 150px);background:#fff;border-radius:13px;flex-direction:column;min-height:420px;display:flex;overflow:hidden}.bandeja-chat-hilo{flex:1;overflow-y:auto}.bandeja-lado,.bandeja-app[data-vista=chat] .bandeja-lista,.bandeja-app[data-vista=lista] .bandeja-chat{display:none}.bandeja-app[data-pagina=si]{height:calc(var(--alto-dra,100dvh) - var(--header-h));box-sizing:border-box;grid-template-rows:minmax(0,1fr);padding:12px}.bandeja-app[data-pagina=si] .bandeja-lista{overflow-y:auto}.bandeja-app[data-pagina=si][data-vista=chat]{height:var(--alto-dra,100dvh);gap:0;padding:0}@media (width<=899px){.bandeja-app[data-pagina=si][data-vista=chat]{padding-top:env(safe-area-inset-top,0px);background:var(--midnight)}}.bandeja-app[data-pagina=si][data-vista=chat] .bandeja-chat-caja{border:0;border-radius:0;height:100%;min-height:0}@media (width>=900px){.bandeja-app{grid-template-columns:300px minmax(0,1fr);align-items:start}.bandeja-lado{display:block}.bandeja-app[data-pagina=si]{grid-template-rows:none;height:auto;padding:20px 24px}.bandeja-app[data-pagina=si] .bandeja-lista{overflow-y:visible}.bandeja-app[data-vista] .bandeja-chat{grid-area:1/2/span 2;display:block}.bandeja-app[data-vista] .bandeja-lista{grid-area:1/1;display:block}.bandeja-app[data-vista] .bandeja-lado{order:0;grid-area:2/1;display:block}.bandeja-lista-filas{max-height:calc(var(--alto-dra,100dvh) - 260px);overflow-y:auto}.bandeja-chat-caja{height:calc(var(--alto-dra,100dvh) - 170px);min-height:520px}}@media (width>=1180px){.bandeja-app{grid-template-columns:300px minmax(0,1fr) 300px}.bandeja-app[data-vista] .bandeja-chat{grid-row:1}.bandeja-app[data-vista] .bandeja-lado{grid-area:1/3}}.lt-app{grid-template-columns:minmax(0,1fr);align-items:start;gap:16px;display:grid}.lt-caja{border:1px solid var(--borde);min-width:0;height:calc(var(--alto-dra,100dvh) - var(--header-h,56px) - 250px);background:#fff;border-radius:13px;flex-direction:column;min-height:460px;display:flex;overflow:hidden}.lt-app[data-en=seccion] .lt-caja{height:calc(var(--alto-dra,100dvh) - var(--header-h,56px) - 165px)}.lt-barra{border-bottom:1px solid var(--borde);background:#fff;flex-wrap:wrap;align-items:center;gap:6px;padding:6px 12px;display:flex}.lt-hilo{background:var(--fondo-app);flex-direction:column;flex:1;gap:8px;min-height:0;padding:10px 12px;display:flex;overflow-y:auto}.lt-escribir{border-top:1px solid var(--borde);background:#fff;padding:8px 12px}.lt-lado{min-width:0}@media (width<=899px){.lt-caja,.lt-app[data-en=seccion] .lt-caja{height:auto;min-height:0}.lt-hilo{height:max(300px, calc(var(--alto-dra,100dvh) - 420px));flex:none}.lt-barra>[role=group]{scrollbar-width:none;overflow-x:auto;flex-wrap:nowrap!important}.lt-barra>[role=group]>button{flex:none}.lt-barra>[role=group]{flex:100%!important}.lt-barra>[data-no-hace-falta]{flex:100%;justify-content:center}.lt-escribir .lt-ayuda,.lt-escribir .lt-solo-ancho{display:none}.lt-escribir .lt-canales>button{height:30px!important;font-size:12px!important}.lt-red-fila[data-grande=si]{flex-wrap:wrap}.lt-red-fila[data-grande=si]>.lt-red-medio{display:contents!important}.lt-red-fila[data-grande=si] .lt-red-asunto{flex:1 1 0;order:2;min-width:0;width:auto!important}.lt-red-fila[data-grande=si]>.lt-red-enviar{order:3;margin-left:auto}.lt-red-fila[data-grande=si] [data-texto-mail],.lt-red-fila[data-grande=si] [data-texto-wa]{flex:100%;order:4}}.dash-tabs-bar>.fin-pestanas{background:#fff;flex-shrink:0;align-self:stretch;align-items:center;margin-left:auto;padding:0 20px 0 12px;display:flex;position:sticky;right:0;box-shadow:-10px 0 10px #fff}.version-barra{align-items:center;display:flex}@media (width<=767px){.version-barra button{letter-spacing:0!important;font-size:10px!important}.busq-barra{padding:10px 12px!important}.busq-lista{padding:12px!important}.busq-acciones .busq-chips{flex:100%;gap:6px;display:flex!important}.busq-acciones .busq-conteo{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px!important}.busq-acciones .busq-largo{display:none}.busq-acciones .busq-corto{display:inline!important}.pagina-consultorio .pagina-pestanas{overflow-x:visible!important}.pagina-consultorio .pagina-pestanas>.pestana{flex:1 1 0;min-width:0;position:relative;flex-direction:column!important;gap:3px!important;padding:8px 0 6px!important}.pagina-consultorio .pagina-pestanas>.pestana-sin-movil{display:none!important}.lt-desde{display:none}.pagina-consultorio .pestana>svg{width:19px;height:19px}.pagina-consultorio .pestana .pestana-texto{display:none}.pagina-consultorio .pestana .pestana-corta{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:10px;line-height:1.1;overflow:hidden;display:block!important}.pagina-consultorio .pestana .pestana-num{line-height:14px;position:absolute;top:3px;left:calc(50% + 7px);padding:0 4px!important;font-size:9px!important}.pagina-consultorio .cons-contenido{padding:12px!important}.com-app[data-vista=chat]{flex-direction:column;height:calc(100% + 24px);margin:-12px;display:flex}.com-app[data-vista=chat] .com-chat{flex-direction:column;flex:1;min-height:0;display:flex}.com-app[data-vista=chat] .com-chat>.lt-app{flex-direction:column;flex:1;align-items:stretch;min-height:0;display:flex}.com-app[data-vista=chat] .lt-caja{border:none;border-radius:0;flex:1;width:100%;min-height:0;height:auto!important}.com-app[data-vista=chat] .lt-hilo{flex:1;height:auto;min-height:0}.com-app[data-vista=chat] .lt-escribir{padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))}}@media (width>=1100px){.lt-app[data-perfil=si]{grid-template-columns:minmax(0,1fr) 300px}}.com-app{grid-template-columns:minmax(0,1fr);gap:14px;display:grid}.com-lista,.com-chat,.com-lado{min-width:0}.com-lista{flex-direction:column;gap:10px;display:flex}.com-lado,.com-app[data-vista=chat] .com-lista,.com-app[data-vista=lista] .com-chat{display:none}@media (width>=900px){.com-app{grid-template-columns:300px minmax(0,1fr);align-items:start}.com-lado{flex-direction:column;gap:12px;display:flex}.com-app[data-vista] .com-chat{grid-area:1/2/span 2;display:block}.com-app[data-vista] .com-lista{grid-area:1/1;display:flex}.com-app[data-vista] .com-lado{grid-area:2/1;display:flex}.com-lista-filas{max-height:calc(var(--alto-dra,100dvh) - var(--header-h,56px) - 400px);min-height:240px;overflow-y:auto}}@media (width>=1180px){.com-app{grid-template-columns:300px minmax(0,1fr) 300px}.com-app[data-vista] .com-chat{grid-row:1}.com-app[data-vista] .com-lado{grid-area:1/3}}@media (width>=900px){.lt-app[data-en=seccion] .lt-cabecera{border-bottom:1px solid var(--borde);flex-wrap:wrap;flex:none;align-items:stretch;display:flex}.lt-app[data-en=seccion] .lt-cabecera>*{border-bottom:none!important}.lt-app[data-en=seccion] .lt-cabecera>:first-child{flex:390px;min-width:0}.lt-app[data-en=seccion] [data-turno-conversacion]{flex-wrap:wrap;min-width:0;display:flex;flex:300px!important}.lt-app[data-en=seccion] [data-turno-conversacion]>*{border-bottom:none!important}.lt-app[data-en=seccion] [data-franja-contexto]{flex:0 auto}.lt-app[data-en=seccion] [data-historial-visitas]{flex:120px;min-width:0}.lt-app[data-en=seccion] [data-resumen-visitas]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.lt-app[data-en=seccion] [data-historial-visitas]:has([data-historial-lista]){flex-basis:100%}.lt-app[data-en=seccion] [data-responder][data-grande=no][data-cerrado=no]{align-items:flex-end;flex-direction:row!important}.lt-app[data-en=seccion] [data-responder][data-grande=no][data-cerrado=no]>.lt-canales{flex:0 36%;min-width:0;padding-bottom:6px}.lt-app[data-en=seccion] [data-responder][data-grande=no][data-cerrado=no]>[data-redaccion]{flex:1 1 0;min-width:0}}@media (width>=1180px){.lt-app[data-en=seccion] .lt-caja{height:calc(var(--alto-dra,100dvh) - var(--header-h,56px) - 88px)}.com-app[data-vista] .com-lado{max-height:calc(var(--alto-dra,100dvh) - var(--header-h,56px) - 88px);overflow-y:auto}}.bandeja-flujo{min-width:0}.flujo-panel{border:1px solid var(--borde);background:#fbfafe;border-radius:13px;flex-direction:column;min-height:0;display:flex;overflow:hidden}.flujo-paso{gap:8px;padding-bottom:10px;display:flex;position:relative}.flujo-paso:before{content:"";background:var(--borde);width:2px;position:absolute;top:22px;bottom:0;left:10px}.bandeja-flujo-riel{writing-mode:vertical-rl;width:40px;min-height:260px;height:calc(var(--alto-dra,100dvh) - 170px);border:1px solid var(--borde);color:var(--violeta);cursor:pointer;white-space:nowrap;text-overflow:ellipsis;background:#fff;border-radius:13px;padding:12px 0;font-family:inherit;font-size:12.5px;font-weight:600;overflow:hidden;transform:rotate(180deg)}.bandeja-flujo-riel:focus-visible{outline:2px solid var(--violeta);outline-offset:2px}@media (width>=1180px){.bandeja-app[data-flujo] .bandeja-flujo{grid-area:1/2}.bandeja-app[data-flujo=plegado]{grid-template-columns:300px 40px minmax(0,1fr) 300px}.bandeja-app[data-flujo=plegado][data-vista] .bandeja-chat{grid-area:1/3}.bandeja-app[data-flujo=plegado][data-vista] .bandeja-lado{grid-area:1/4}.bandeja-app[data-flujo=abierto]{grid-template-columns:280px 290px minmax(0,1fr)}.bandeja-app[data-flujo=abierto] .bandeja-flujo{grid-row:1/span 2}.bandeja-app[data-flujo=abierto][data-vista] .bandeja-chat{grid-area:1/3/span 2}.bandeja-app[data-flujo=abierto][data-vista] .bandeja-lado{grid-area:2/1}.bandeja-flujo .flujo-panel{height:calc(var(--alto-dra,100dvh) - 170px);min-height:520px}.bandeja-flujo .flujo-cuerpo{flex:1;overflow-y:auto}}@media (width>=1400px){.bandeja-app[data-flujo=abierto]{grid-template-columns:280px 290px minmax(0,1fr) 280px}.bandeja-app[data-flujo=abierto] .bandeja-flujo,.bandeja-app[data-flujo=abierto][data-vista] .bandeja-chat{grid-row:1}.bandeja-app[data-flujo=abierto][data-vista] .bandeja-lado{grid-area:1/4}}.flujo-hoja-fondo{z-index:1500;background:#1a105059;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.flujo-hoja{width:100%;max-width:560px;max-height:84dvh;padding-bottom:env(safe-area-inset-bottom,0px);background:#fbfafe;border-radius:16px 16px 0 0;flex-direction:column;display:flex;overflow:hidden}.flujo-hoja .flujo-panel{border:0;border-radius:0;flex:1}.flujo-hoja .flujo-cuerpo{flex:1;overflow-y:auto}.flujo-hoja>[data-hoja-cuerpo]{flex:1;min-height:0;overflow-y:auto}.tarifa-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.tarifa-grid-3{grid-template-columns:1.3fr .8fr .9fr}@media (width<=767px){.tarifa-grid,.tarifa-grid-3{grid-template-columns:1fr}}@media (width>=768px) and (height<=520px) and (pointer:coarse){.patient-header-desktop{gap:8px!important;padding:6px 12px!important}.patient-header-desktop .ficha-avatar{display:none!important}.patient-header-desktop .ficha-btn-texto{display:none}.patient-header-desktop .ficha-nombre{max-width:320px;flex:0 auto!important;min-width:190px!important}.patient-header-desktop .ficha-nombre h1{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:15px!important}.patient-header-desktop .ficha-meta{white-space:nowrap;overflow:hidden;flex-wrap:nowrap!important;font-size:11px!important}.patient-header-desktop .ficha-etiquetas{min-width:0;flex-wrap:nowrap!important;flex:1 1 0!important}.patient-header-desktop .ficha-chips{scrollbar-width:none;-webkit-overflow-scrolling:touch;flex:auto;gap:6px;min-width:0;overflow-x:auto;display:flex!important}.patient-header-desktop .ficha-chips::-webkit-scrollbar{display:none}.patient-header-desktop .ficha-chips>*{white-space:nowrap;flex-shrink:0}.patient-header-desktop .ficha-chips>:first-child{margin-left:auto}.tab-sidebar{width:156px!important;padding:4px!important}.tab-sidebar button{gap:8px!important;padding:8px!important}.tab-content{padding:12px 16px!important}}@media (orientation:landscape) and (height<=520px) and (pointer:coarse){:root{--barra-w:calc(64px + env(safe-area-inset-left,0px));--header-h:0px}.app-raiz[data-barra=si]{padding-left:var(--barra-w)}html:not([data-isla=izq]) .app-raiz{padding-right:env(safe-area-inset-right,0px)}.version-barra button{letter-spacing:0!important;font-size:9px!important}.pagina-pestanas>button{padding:10px 16px!important}.app-barra{width:var(--barra-w);scrollbar-width:none;gap:10px;top:0;bottom:0;left:0;overflow-y:auto;height:auto!important;padding:10px 0 10px env(safe-area-inset-left,0px)!important;flex-direction:column!important;justify-content:flex-start!important;align-items:center!important;position:fixed!important;box-shadow:2px 0 12px #1a105059!important}.app-barra::-webkit-scrollbar{display:none}.app-barra>div{flex-direction:column!important;align-items:center!important;gap:8px!important}.app-barra .desktop-only{display:none!important}.app-barra .mobile-only{display:inline-block!important}.app-barra button{width:44px;min-height:36px;padding:7px 0!important}.app-barra>div:first-child button{width:auto}.app-timer{padding:4px 6px!important}.app-timer-punto,.app-timer-nombre{display:none!important}.rx-emitir-barra{left:var(--barra-w)}}@media (orientation:landscape) and (height<=520px) and (pointer:coarse) and (width<=767px){.ficha-raiz{padding-left:72px;position:relative}.ficha-raiz>.bottom-nav{top:0;bottom:0;left:0;border-top:none!important;border-right:1px solid var(--borde)!important;flex-direction:column!important;width:72px!important;padding:4px 0!important;position:absolute!important;overflow:hidden auto!important}.ficha-raiz>.bottom-nav>button{border-left:2px solid #0000;width:100%;border-top:none!important;flex:none!important;min-width:0!important;padding:8px 2px!important}.fab-mobile{bottom:calc(16px + env(safe-area-inset-bottom,0px))!important}.ficha-raiz>.bottom-nav>button[data-activo]{border-left-color:var(--violeta)!important;background:var(--lavanda)!important}}@media (orientation:landscape) and (height<=520px) and (pointer:coarse){.agenda-nav .ag-texto-largo{display:none!important}.agenda-nav .ag-texto-corto{display:inline!important}.agenda-nav{flex-flow:row!important;align-items:center!important}.agenda-nav-fecha{flex:0 auto;width:auto!important}.agenda-nav-vistas{flex-shrink:0;flex-direction:row!important;align-items:center!important;width:auto!important;margin-left:auto!important}.agenda-nav-vistas>div,.agenda-nav-vistas>button{width:auto!important}.barra-ocultable{transition:transform .22s,opacity .22s}.barra-ocultable[data-oculta=si]{opacity:0;pointer-events:none;transform:translateY(calc(-100% - 16px))}}@media (orientation:landscape) and (height<=520px) and (pointer:coarse) and (prefers-reduced-motion:reduce){.barra-ocultable{transition:none}}.config-app{min-height:0;display:flex}.config-lado{border-right:1px solid var(--borde);background:#fff;flex:0 0 236px;padding:10px 0 24px;overflow-y:auto}.config-grupo{padding:6px 0 8px}.config-grupo-titulo{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding:8px 16px 4px;font-size:10.5px;font-weight:700}.config-item{cursor:pointer;width:100%;color:var(--texto);text-align:left;background:0 0;border:none;border-left:3px solid #0000;align-items:center;gap:8px;padding:7px 16px 7px 19px;font-family:inherit;font-size:13px;display:flex}.config-item:hover{background:var(--fondo-app)}.config-item-on{background:var(--lavanda);color:var(--violeta);border-left-color:var(--violeta);font-weight:700}.config-item-on:hover{background:var(--lavanda)}.config-cuerpo{flex-direction:column;flex:1;min-width:0;display:flex}.config-select{display:none}.config-contenido{flex:1;min-height:0;padding:20px 24px;overflow:auto}.config-contenido-informes{padding:0}.config-contenido-informes .dash-root{min-height:0}@media (width<=899px){.config-lado{display:none}.config-select{border-bottom:1px solid var(--borde);background:#fff;flex:none;align-items:center;gap:8px;padding:8px 12px;display:flex}.config-select-texto{color:var(--muted);font-size:12px}.config-select select{border:1px solid var(--borde);min-width:0;height:38px;color:var(--texto);background:#fff;border-radius:8px;flex:1;padding:0 10px;font-family:inherit;font-size:15px}.config-contenido{padding:12px}.config-contenido-informes{padding:0}}.dash-root{color:#1f2937;min-height:calc(var(--alto-dra,100svh) - var(--header-h,56px));background:#f9fafb;flex-direction:column;font-family:Segoe UI,system-ui,sans-serif;display:flex}.dash-error-banner{color:#dc2626;background:#fef2f2;border-bottom:1px solid #fecaca;padding:10px 28px;font-size:.82rem;font-weight:500}.dash-tabs-bar{border-bottom:1px solid var(--borde);scrollbar-width:none;background:#fff;flex-shrink:0;align-items:stretch;font-family:Lexend,system-ui,-apple-system,sans-serif;display:flex;overflow-x:auto}.dash-tabs-bar::-webkit-scrollbar{display:none}.dash-tab-btn{color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:none;border-bottom:2px solid #0000;outline:none;align-items:center;gap:7px;padding:12px 20px;font-family:inherit;font-size:13px;font-weight:400;transition:all .15s;display:flex}.dash-tab-btn:hover{color:var(--violeta)}.dash-tab-btn.active{color:var(--violeta);border-bottom-color:var(--violeta);font-weight:700}.dash-tab-btn:focus-visible{outline:2px solid var(--violeta);outline-offset:-2px}.dash-tab-corto{display:none}.dash-activos{color:var(--muted);white-space:nowrap;font-size:12px}.dash-activos strong{color:var(--texto);font-weight:700}.dash-content{flex:1;overflow-y:auto}.dash-panel{width:100%;max-width:1400px;margin:0 auto;padding:24px 28px 32px}.dash-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-bottom:24px;display:grid}.dash-kpi-card{background:#fff;border-left:4px solid #5b21b6;border-radius:12px;padding:18px 16px;transition:transform .12s,box-shadow .12s;position:relative;overflow:hidden;box-shadow:0 1px 3px #00000014,0 1px 2px #0000000d}.dash-kpi-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.dash-kpi-card.green{border-left-color:#10b981}.dash-kpi-card.amber{border-left-color:#f59e0b}.dash-kpi-card.red{border-left-color:#ef4444}.dash-kpi-card.blue{border-left-color:#3b82f6}.dash-kpi-icon{opacity:.12;font-size:1.6rem;position:absolute;top:14px;right:14px}.dash-kpi-label{text-transform:uppercase;letter-spacing:.07em;color:var(--muted);margin-bottom:7px;font-size:.68rem;font-weight:700}.dash-kpi-value{color:var(--midnight);word-break:break-word;font-size:1.85rem;font-weight:800;line-height:1}.dash-kpi-sub{color:var(--muted);margin-top:5px;font-size:.73rem}.dash-charts-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px;margin-bottom:24px;display:grid}.dash-chart-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 1px 3px #00000014}.dash-chart-title{color:var(--texto);flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px;font-size:.88rem;font-weight:700;display:flex}.dash-badge{color:#5b21b6;background:#ede9fe;border-radius:20px;padding:2px 8px;font-size:.68rem;font-weight:600}.dash-chart-wrap{height:220px;position:relative}.dash-chart-wrap.tall{height:300px}.dash-section-header{color:var(--midnight);align-items:center;gap:10px;margin:22px 0 14px;font-size:.95rem;font-weight:700;display:flex}.dash-section-header:after{content:"";background:var(--borde);flex:1;height:1px}.dash-table-wrap{background:#fff;border-radius:12px;margin-bottom:24px;overflow:hidden;box-shadow:0 1px 3px #00000014}.dash-table{border-collapse:collapse;width:100%;font-size:.8rem}.dash-table thead{background:#f9fafb}.dash-table th{text-align:left;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);border-bottom:1px solid var(--borde);padding:11px 14px;font-size:.68rem;font-weight:700}.dash-table td{border-bottom:1px solid var(--fondo-app);color:var(--texto);padding:10px 14px}.dash-table tr:last-child td{border-bottom:none}.dash-table tr:hover td{background:#f9fafb}.dash-badge-green{color:#065f46;white-space:nowrap;background:#d1fae5;border-radius:12px;padding:2px 8px;font-size:.7rem;font-weight:600}.dash-badge-gray{background:var(--fondo-app);color:#4b5563;white-space:nowrap;border-radius:12px;padding:2px 8px;font-size:.7rem;font-weight:600}.dash-badge-purple{color:#5b21b6;white-space:nowrap;background:#ede9fe;border-radius:12px;padding:2px 8px;font-size:.7rem;font-weight:600}.dash-bar-inline{vertical-align:middle;background:#5b21b6;border-radius:3px;min-width:2px;height:5px;margin-right:6px;display:inline-block}.dash-info-alert{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;align-items:flex-start;gap:10px;margin-bottom:18px;padding:12px 16px;font-size:.8rem;line-height:1.5;display:flex}.dash-coming-soon{text-align:center;border:2px dashed var(--borde);background:#fff;border-radius:12px;margin-bottom:18px;padding:40px 28px;box-shadow:0 1px 3px #00000014}.coming-soon-icon{margin-bottom:14px;font-size:2.8rem}.dash-coming-soon h3{color:var(--texto);margin-bottom:8px;font-size:1rem;font-weight:700}.dash-coming-soon p{color:var(--muted);max-width:420px;margin:0 auto 16px;font-size:.82rem;line-height:1.6}.dash-coming-soon ul{text-align:left;flex-direction:column;gap:5px;padding:0;list-style:none;display:inline-flex}.dash-coming-soon ul li{color:#4b5563;align-items:flex-start;gap:8px;font-size:.79rem;display:flex}.dash-coming-soon ul li:before{content:"→";color:#5b21b6;flex-shrink:0;margin-top:1px;font-weight:700}.dash-diag-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-bottom:24px;display:grid}.dash-diag-card{background:#fff;border-top:4px solid #5b21b6;border-radius:12px;padding:16px;box-shadow:0 1px 3px #00000014}.dash-diag-card:nth-child(2){border-top-color:#10b981}.dash-diag-card:nth-child(3){border-top-color:#f59e0b}.dash-diag-card:nth-child(4){border-top-color:#ef4444}.dash-diag-card:nth-child(5){border-top-color:#3b82f6}.dash-diag-card:nth-child(6){border-top-color:#8b5cf6}.dash-diag-card:nth-child(7){border-top-color:#ec4899}.dash-diag-card:nth-child(8){border-top-color:#6b7280}.dash-diag-name{color:var(--midnight);margin-bottom:8px;font-size:.8rem;font-weight:700}.dash-diag-item{color:#4b5563;border-bottom:1px solid var(--fondo-app);padding:3px 0;font-size:.73rem}.dash-diag-item:last-child{border-bottom:none}.dash-spinner-wrap{flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:80px 20px;display:flex}.dash-spinner{border:3px solid #ede9fe;border-top-color:#5b21b6;border-radius:50%;width:36px;height:36px;animation:.7s linear infinite dash-spin}@keyframes dash-spin{to{transform:rotate(360deg)}}.dash-spinner-text{color:var(--muted);font-size:.85rem}.dash-footer{text-align:center;color:var(--muted);border-top:1px solid var(--borde);padding:20px 24px;font-size:.72rem}@media (width<=640px){.dash-panel{padding:16px}.dash-kpi-value{font-size:1.5rem}.dash-tab-btn{flex-direction:column;flex:1 1 0;gap:3px;min-width:0;padding:8px 0 6px}.dash-tab-largo{display:none}.dash-tab-btn>svg{width:19px;height:19px}.dash-tab-corto{font-size:10px;line-height:1.1;display:block}.dash-activos{display:none}}
