dialog[data-astro-cid-f64x5zsz][open]{animation:.4s cubic-bezier(.16,1,.3,1) slide-up-fade}dialog[data-astro-cid-f64x5zsz]::backdrop{backdrop-filter:blur(4px);background:#0f172a99;animation:.3s ease-out forwards fade-in}@keyframes slide-up-fade{0%{opacity:0;transform:scale(.96)translateY(20px)}to{opacity:1;transform:scale(1)translateY(0)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.tipo-paciente-btn{color:var(--color-slate-500);cursor:pointer;border-radius:.5rem;flex:1;justify-content:center;align-items:center;gap:.375rem;font-size:.75rem;font-weight:700;transition:all .2s;display:inline-flex}.tipo-paciente-btn:hover{color:var(--color-slate-700)}.dark .tipo-paciente-btn:hover{color:var(--color-slate-200)}.tipo-paciente-btn[aria-checked=true]{color:var(--color-brand-ana,#2563eb);background:#fff;box-shadow:0 1px 2px #0f172a14}.dark .tipo-paciente-btn[aria-checked=true]{background:var(--color-slate-900);color:#93c5fd}.patient-history-drawer{width:min(820px,100vw);max-width:100vw;height:calc(100dvh / var(--escala));max-height:calc(100dvh / var(--escala));background:0 0;border:0;margin:0 0 0 auto;padding:0;position:fixed;inset:0 0 0 auto;overflow:hidden}.patient-history-drawer[open]{animation:.65s cubic-bezier(.22,1,.36,1) phd-entrar}.patient-history-drawer.cerrando{animation:.45s cubic-bezier(.55,0,.75,.2) forwards phd-salir}.patient-history-drawer::backdrop{-webkit-backdrop-filter:blur(3px);background:#0f172a8c;animation:.65s ease-out phd-fondo}.patient-history-drawer.cerrando::backdrop{animation:.45s ease-in forwards phd-fondo-salir}@keyframes phd-entrar{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes phd-salir{0%{transform:translate(0)}to{transform:translate(100%)}}@keyframes phd-fondo{0%{opacity:0}to{opacity:1}}@keyframes phd-fondo-salir{0%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){.patient-history-drawer[open],.patient-history-drawer.cerrando,.patient-history-drawer::backdrop{animation-duration:10ms}}.phd-panel{border-left:1px solid #e2e8f0}.dark .phd-panel{border-left-color:#1e293b}.phd-header-glow{pointer-events:none;background:radial-gradient(60% 120% at 0 0,#14b8a61a,#0000 60%),radial-gradient(50% 100% at 100% 0,#2563eb14,#0000 60%);position:absolute;inset:0}.phd-chip{color:#475569;background:#fff;border-color:#e2e8f0}.dark .phd-chip{color:#cbd5e1;background:#0f172a;border-color:#334155}.phd-chip[aria-pressed=true]{color:#b91c1c;background:#fef2f2;border-color:#fca5a5}.dark .phd-chip[aria-pressed=true]{color:#fca5a5;background:#450a0a80;border-color:#991b1b}#history-timeline .tl-mes{letter-spacing:.12em;text-transform:uppercase;color:#64748b;align-items:center;gap:.75rem;margin:.5rem 0 .75rem 4.75rem;font-size:11px;font-weight:800;display:flex}#history-timeline .tl-mes:after{content:"";background:#e2e8f0;flex:1;height:1px}.dark #history-timeline .tl-mes:after{background:#1e293b}#history-timeline .tl-node{opacity:0;align-items:flex-start;gap:.75rem;padding-bottom:1.25rem;animation:.45s ease-out forwards tl-enter;display:flex;position:relative}#history-timeline .tl-fecha{text-align:center;flex-shrink:0;width:3.25rem;padding-top:.55rem}#history-timeline .tl-dia{color:#0f172a;font-size:22px;font-weight:900;line-height:1;display:block}.dark #history-timeline .tl-dia{color:#fff}#history-timeline .tl-mesc{text-transform:uppercase;letter-spacing:.08em;color:#64748b;margin-top:2px;font-size:10px;font-weight:800;display:block}#history-timeline .tl-hora{color:#94a3b8;margin-top:2px;font-size:10px;display:block}#history-timeline .tl-axis{flex-shrink:0;justify-content:center;align-self:stretch;width:14px;display:flex;position:relative}#history-timeline .tl-dot{z-index:2;width:14px;height:14px;box-shadow:0 0 0 2px var(--tl-color,#94a3b8);background:var(--tl-color,#94a3b8);border:3px solid #f8fafc;border-radius:50%;margin-top:.9rem}.dark #history-timeline .tl-dot{border-color:#020617}#history-timeline .tl-line{background:#e2e8f0;width:2px;position:absolute;top:calc(.9rem + 14px);bottom:-1.25rem}.dark #history-timeline .tl-line{background:#1e293b}#history-timeline .tl-node.ultimo .tl-line{display:none}#history-timeline .tl-card{border-left:3px solid var(--tl-color,#94a3b8);flex:1;min-width:0}#history-timeline .tl-card-body{grid-template-rows:1fr;transition:grid-template-rows .35s,opacity .25s;display:grid}#history-timeline .tl-card-body>div{overflow:hidden}#history-timeline .tl-card-body.collapsed{opacity:0;grid-template-rows:0fr}#history-timeline .tl-chevron{transition:transform .3s}#history-timeline .tl-toggle[aria-expanded=false] .tl-chevron{transform:rotate(-90deg)}@keyframes tl-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media (width<=640px){#history-timeline .tl-fecha{width:2.75rem}#history-timeline .tl-mes{margin-left:4rem}}
