/* Policonsultorio Sagrado Corazón de Jesús — estilos */
:root {
  --pri: #2b8bb0; --pri-2: #5cc4c0; --pri-osc: #1f6f8f; --pri-suave: #e6f4f6;
  --rosa: #e07a8a; --rosa-suave: #fdecef;
  --ok: #3aa776; --ok-suave: #e5f5ec; --warn: #d99a2b; --warn-suave: #fdf3e1; --err: #d2556a; --err-suave: #fdeaee;
  --fondo: #f3f8fa; --tarjeta: #ffffff; --borde: #aec3cf; --texto: #1d3441; --texto-2: #5f7887; --texto-3: #8ea3af;
  --sombra: 0 1px 2px rgba(30, 70, 90, .05), 0 6px 24px rgba(30, 90, 120, .07);
  --sombra-alta: 0 12px 40px rgba(30, 80, 110, .16);
  --radio: 16px; --radio-sm: 10px;
  --trans: .25s cubic-bezier(.4, 0, .2, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--texto); background: var(--fondo); font-size: 15px; line-height: 1.45; }
a { color: var(--pri); text-decoration: none; }
a:hover { color: var(--pri-osc); }
h1, h2 { margin: 0; line-height: 1.2; }
small { color: var(--texto-2); }
.ico { flex: none; vertical-align: -3px; }

/* ---------- animaciones ---------- */
@keyframes aparecer { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes flotar { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -24px) scale(1.06); } }
@keyframes latido { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.08); } 30% { transform: scale(1); } 45% { transform: scale(1.05); } }
@keyframes girar { to { transform: rotate(360deg); } }
@keyframes entrarModal { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.aparecer { animation: aparecer .6s cubic-bezier(.2, .7, .3, 1) both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- fondo decorativo ---------- */
.fondo { position: fixed; inset: 0; overflow: hidden; z-index: -1; background: linear-gradient(160deg, #eef8f9 0%, #f5f9fc 45%, #fbf2f4 100%); }
.burbuja { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: flotar 18s ease-in-out infinite; }
.b1 { width: 420px; height: 420px; background: #bfe8e6; top: -120px; left: -100px; }
.b2 { width: 360px; height: 360px; background: #cfe3f3; bottom: -120px; right: -80px; animation-delay: -6s; }
.b3 { width: 260px; height: 260px; background: #f8d7dd; top: 40%; left: 60%; animation-delay: -11s; opacity: .4; }

/* ---------- componentes ---------- */
.tarjeta { background: var(--tarjeta); border: 1px solid var(--borde); border-radius: var(--radio); box-shadow: var(--sombra); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 10px 18px; font: inherit; font-weight: 700; cursor: pointer; transition: transform var(--trans), box-shadow var(--trans), background var(--trans), color var(--trans); white-space: nowrap; text-decoration: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-pri { background: linear-gradient(135deg, var(--pri-2), var(--pri)); color: #fff; box-shadow: 0 4px 14px rgba(43, 139, 176, .3); }
.btn-pri:hover { color: #fff; box-shadow: 0 8px 22px rgba(43, 139, 176, .38); }
.btn-sec { background: #fff; color: var(--texto); border: 1px solid var(--borde); }
.btn-sec:hover { color: var(--pri); border-color: #bfdbe4; background: #f9fdfe; }
.btn-suave { background: var(--pri-suave); color: var(--pri-osc); }
.btn-suave:hover { background: #d5edf1; color: var(--pri-osc); }
.btn-inf { background: var(--rosa-suave); color: #b24a5d; }
.btn-inf:hover { background: #fadbe1; color: #9b3a4d; }
.btn-peligro { background: var(--err); color: #fff; }
.btn-peligro:hover { background: #bf4359; color: #fff; }
.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 14px; }
.btn-sm { padding: 7px 12px; font-size: 13.5px; border-radius: 10px; gap: 6px; }
.btn-bloque { width: 100%; }
.btn-icono { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 0; background: transparent; color: var(--texto-2); cursor: pointer; transition: background var(--trans), color var(--trans); }
.btn-icono:hover { background: var(--pri-suave); color: var(--pri); }
.btn-icono.peligro:hover { background: var(--err-suave); color: var(--err); }

.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; background: #eef3f5; color: var(--texto-2); }
.chip-pend { background: var(--warn-suave); color: #a8731a; padding: 7px 12px; font-size: 13px; }
.chip-ok { background: var(--ok-suave); color: #2a8a5e; } .chip-off { background: #f0f2f4; color: #8a98a2; }
.chip-admin { background: #ece8fb; color: #6551b8; } .chip-med { background: var(--pri-suave); color: var(--pri-osc); }

.alerta { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: 14px; }
.alerta-err { background: var(--err-suave); color: #b23a50; }

.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 800; font-size: 22px; color: #fff; background: linear-gradient(135deg, var(--pri-2), var(--pri)); box-shadow: 0 4px 14px rgba(43, 139, 176, .3); }
.avatar-sm { width: 36px; height: 36px; font-size: 15px; box-shadow: none; }

input, select { font: inherit; color: var(--texto); }
.form label, .filtros label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 13.5px; color: var(--texto-2); }
.form input:not([type=checkbox]):not([type=file]), .form select, .filtros input, .filtros select {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--borde); border-radius: 12px; background: #fbfdfe; font-size: 15px; font-weight: 600;
  transition: border-color var(--trans), box-shadow var(--trans), background var(--trans); outline: none; }
.form input:focus, .form select:focus, .filtros input:focus, .filtros select:focus { border-color: var(--pri-2); box-shadow: 0 0 0 4px rgba(92, 196, 192, .18); background: #fff; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form .check, label.check { flex-direction: row; align-items: center; gap: 10px; color: var(--texto); font-weight: 600; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--pri); }
.form-error { background: var(--err-suave); color: #b23a50; padding: 10px 12px; border-radius: 10px; font-weight: 700; font-size: 14px; }
.grilla-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.col-2 { grid-column: 1 / -1; }
.sub { color: var(--texto-2); margin: 6px 0 0; }
.nota { text-align: center; color: var(--texto-3); font-size: 13px; margin: 18px 0 0; }

/* ---------- público: buscar ---------- */
.pub { min-height: 100vh; display: flex; flex-direction: column; }
.pub-header { display: flex; justify-content: center; padding: 28px 16px 8px; }
.marca, .lateral-marca, .login-marca { display: flex; align-items: center; gap: 12px; color: var(--texto); }
.marca span, .lateral-marca span, .login-marca div { display: flex; flex-direction: column; line-height: 1.15; }
.marca small, .lateral-marca small, .login-marca small { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--pri); font-weight: 800; }
.marca strong { font-size: 20px; font-weight: 800; }
.logo { flex: none; filter: drop-shadow(0 4px 10px rgba(43, 139, 176, .25)); }
.marca:hover .logo, .login-marca .logo { animation: latido 1.6s ease-in-out; }
.pub-main { flex: 1; width: 100%; max-width: 860px; margin: 0 auto; padding: 18px 16px 30px; }
.buscador { padding: 34px 32px 30px; text-align: center; }
.buscador-icono { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 20px; display: grid; place-items: center; color: var(--pri); background: linear-gradient(135deg, #e3f5f4, #e2eef7); }
.buscador h1 { font-size: 28px; font-weight: 800; }
.buscador .sub { max-width: 520px; margin: 8px auto 0; }
.form-dni { margin-top: 24px; text-align: left; max-width: 560px; margin-inline: auto; }
.form-dni > label { display: block; font-weight: 800; font-size: 13.5px; color: var(--texto-2); margin-bottom: 8px; }
.dni-fila { display: flex; gap: 10px; }
.campo-icono { position: relative; flex: 1; }
.campo-icono svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--texto-3); transition: color var(--trans); }
.campo-icono input { width: 100%; padding: 15px 16px 15px 48px; font-size: 19px; font-weight: 700; letter-spacing: .04em; border: 1.5px solid var(--borde); border-radius: 14px; background: #fbfdfe; outline: none; transition: border-color var(--trans), box-shadow var(--trans); }
.campo-icono input:focus { border-color: var(--pri-2); box-shadow: 0 0 0 5px rgba(92, 196, 192, .18); background: #fff; }
.campo-icono:focus-within svg { color: var(--pri); }
.btn-lg .ico, .btn-lg svg { flex: none; }
.btn.cargando { pointer-events: none; }
.btn.cargando svg { animation: girar 1s linear infinite; }

.resultados { margin-top: 26px; scroll-margin-top: 20px; }
.paciente { display: flex; align-items: center; gap: 14px; padding: 6px 4px 16px; }
.paciente > div:nth-child(2) { flex: 1; min-width: 0; }
.paciente-nombre { font-size: 21px; font-weight: 800; }
.paciente-dni { color: var(--texto-2); font-weight: 600; }
.lista-estudios { display: flex; flex-direction: column; gap: 14px; }
.estudio { display: flex; align-items: center; gap: 18px; padding: 18px 20px; transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans); }
.estudio:hover { transform: translateY(-2px); box-shadow: var(--sombra-alta); border-color: #cde4ea; }
.estudio-icono { width: 58px; height: 58px; border-radius: 16px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 15px; letter-spacing: .03em; }
.ic-rx { background: #e3f1f8; color: #2b7ea6; } .ic-tomo { background: #e8e8fa; color: #5a56b8; } .ic-reso { background: #f1e6f8; color: #8a4fae; }
.ic-eco { background: #e2f5ee; color: #2f8f69; } .ic-mamo { background: var(--rosa-suave); color: #b24a5d; }
.estudio-info { flex: 1; min-width: 0; }
.estudio-tipo { font-size: 18px; font-weight: 800; }
.estudio-desc { color: var(--texto-2); font-weight: 600; margin-top: 2px; }
.estudio-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; color: var(--texto-2); font-size: 13.5px; font-weight: 600; }
.estudio-meta span { display: inline-flex; align-items: center; gap: 6px; }
.estudio-meta .ico { color: var(--pri-2); }
.estudio-acciones { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 170px; }
.vacio { text-align: center; padding: 40px 24px; }
.vacio-icono { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--pri-suave); color: var(--pri); }
.vacio h2 { font-size: 21px; margin-bottom: 6px; }
.vacio p { color: var(--texto-2); max-width: 460px; margin: 0 auto 18px; }
.pub-footer { text-align: center; color: var(--texto-3); font-size: 12.5px; padding: 20px 16px 26px; }

/* ---------- login ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.login-caja { width: 100%; max-width: 410px; padding: 34px 30px 30px; }
.login-marca { margin-bottom: 24px; }
.login-marca strong { font-size: 19px; font-weight: 800; }
.login h1 { font-size: 24px; font-weight: 800; }
.login .sub { margin-bottom: 20px; }
.login .btn-bloque { margin-top: 6px; }

/* ---------- panel ---------- */
.layout { display: flex; min-height: 100vh; }
.lateral { width: 256px; flex: none; background: #fff; border-right: 1px solid var(--borde); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; z-index: 30; transition: transform var(--trans); }
.lateral-marca { padding: 22px 20px 18px; border-bottom: 1px solid var(--borde); }
.lateral-marca strong { font-size: 15px; font-weight: 800; }
.lateral-menu { flex: 1; padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.lateral-menu a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; color: var(--texto-2); font-weight: 700; transition: background var(--trans), color var(--trans), transform var(--trans); }
.lateral-menu a:hover { background: var(--fondo); color: var(--texto); transform: translateX(2px); }
.lateral-menu a.activo { background: linear-gradient(135deg, #e3f5f4, #e3eff7); color: var(--pri-osc); }
.lateral-menu a.activo .ico { color: var(--pri); }
.lateral-pie { padding: 14px 12px 18px; border-top: 1px solid var(--borde); display: flex; flex-direction: column; gap: 2px; }
.yo { display: flex; align-items: center; gap: 10px; padding: 4px 6px 10px; }
.yo strong { display: block; font-size: 14px; line-height: 1.2; }
.yo small { font-size: 12px; }
.lateral-link { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--texto-2); font: inherit; font-weight: 700; font-size: 14px; background: none; border: 0; cursor: pointer; text-align: left; transition: background var(--trans), color var(--trans); }
.lateral-link:hover { background: var(--fondo); color: var(--texto); }
.contenido { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.barra { display: flex; align-items: center; gap: 12px; padding: 18px 28px; position: sticky; top: 0; z-index: 20; background: rgba(243, 248, 250, .85); backdrop-filter: blur(10px); }
.barra h1 { font-size: 24px; font-weight: 800; flex: 1; }
.pagina { padding: 4px 28px 34px; display: flex; flex-direction: column; gap: 18px; }
.solo-movil { display: none; }
.velo { display: none; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 16px 18px; box-shadow: var(--sombra); display: flex; flex-direction: column; gap: 4px; color: var(--texto-2); font-weight: 700; font-size: 13.5px; position: relative; overflow: hidden; transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans); }
.stat::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--pri-2); }
.stat strong { font-size: 28px; color: var(--texto); font-weight: 800; }
.stat:hover { transform: translateY(-2px); box-shadow: var(--sombra-alta); color: var(--texto-2); }
.stat.sel { border-color: var(--pri-2); box-shadow: 0 0 0 3px rgba(92, 196, 192, .2), var(--sombra); }
.stat-warn::before { background: var(--warn); } .stat-ok::before { background: var(--ok); } .stat-inf::before { background: var(--rosa); }

.filtros { display: flex; flex-wrap: wrap; gap: 14px; padding: 16px 18px; align-items: flex-end; }
.filtros > label { width: 165px; }
.filtros > label:nth-of-type(4) { width: 215px; }
.filtros-botones { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.filtros input, .filtros select { padding: 9px 12px; font-size: 14.5px; }

.tabla-caja { overflow: hidden; }
.tabla-titulo { padding: 14px 20px; border-bottom: 1px solid var(--borde); color: var(--texto-2); font-weight: 600; }
.tabla-titulo strong { color: var(--texto); }
.tabla-scroll { overflow-x: auto; }
.tabla { width: 100%; border-collapse: collapse; }
.tabla th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--texto-3); font-weight: 800; padding: 12px 16px; background: #f8fbfc; border-bottom: 1px solid var(--borde); white-space: nowrap; }
.tabla td { padding: 13px 16px; border-bottom: 1px solid #bccfd9; vertical-align: middle; }
.tabla td > strong, .tabla td > small { display: block; }
.tabla td small { font-size: 12.5px; font-weight: 600; }
.tabla tbody tr { transition: background var(--trans); animation: aparecer .45s ease both; }
.tabla tbody tr:hover { background: #f7fbfc; }
.tabla tbody tr:last-child td { border-bottom: 0; }
.tabla .c { text-align: center; }
.tabla tr.inactivo td { opacity: .55; }
.tabla .tipo { font-size: 14px; margin-top: 4px; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 7px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; }
.celda-inf { min-width: 200px; }
.infs { display: flex; flex-direction: column; gap: 6px; margin-bottom: 6px; }
.infs:empty { display: none; }
.inf { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; background: var(--rosa-suave); border-radius: 9px; padding: 4px 4px 4px 9px; font-size: 13px; font-weight: 700; animation: aparecer .4s ease both; }
.inf a { color: #a6455a; display: inline-flex; align-items: center; gap: 5px; overflow: hidden; white-space: nowrap; }
.inf .x { border: 0; background: transparent; color: #c27a88; font-size: 17px; line-height: 1; width: 22px; height: 22px; border-radius: 6px; cursor: pointer; }
.inf .x:hover { background: #f6cfd7; color: #9b3a4d; }
.con-avatar { display: flex; align-items: center; gap: 10px; }
.acciones { white-space: nowrap; }
.acciones-pagina { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.acciones-pagina .sub { margin: 0; }
.paginas { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 14px; border-top: 1px solid var(--borde); color: var(--texto-2); font-weight: 700; }
.rev-quien { display: block; margin-top: 2px; font-size: 11.5px; min-height: 14px; }

.switch { position: relative; display: inline-block; width: 46px; height: 26px; cursor: pointer; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; background: #d5e0e5; border-radius: 99px; transition: background var(--trans); }
.switch span::before { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; box-shadow: 0 2px 5px rgba(0, 0, 0, .15); transition: transform .3s cubic-bezier(.4, 1.4, .5, 1); }
.switch input:checked + span { background: var(--ok); }
.switch input:checked + span::before { transform: translateX(20px); }
.switch input:focus-visible + span { box-shadow: 0 0 0 4px rgba(58, 167, 118, .25); }
.switch input:disabled + span { opacity: .6; }

/* modales */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(20, 45, 60, .35); backdrop-filter: blur(3px); }
.modal.abierto { display: flex; animation: aparecer .2s ease both; }
.modal-caja { background: #fff; border-radius: 20px; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 26px 26px 22px; box-shadow: var(--sombra-alta); animation: entrarModal .3s cubic-bezier(.2, .8, .3, 1) both; }
.modal-chica { max-width: 420px; }
.modal-caja h2 { font-size: 21px; font-weight: 800; margin-bottom: 4px; }
.modal-caja > p { color: var(--texto-2); }
.modal-botones { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.soltar { position: relative; display: flex !important; flex-direction: row !important; align-items: center; gap: 14px; padding: 22px 18px; border: 2px dashed #c6dde5; border-radius: 16px; background: #f8fcfd; cursor: pointer; transition: border-color var(--trans), background var(--trans); margin-top: 8px; }
.soltar:hover, .soltar.encima { border-color: var(--pri-2); background: #eef9f9; }
.soltar input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.soltar-icono { color: var(--pri); }
.soltar-texto { display: flex; flex-direction: column; color: var(--texto); font-weight: 600; font-size: 14.5px; word-break: break-word; }
.soltar-texto small { font-weight: 600; margin-top: 2px; }
.progreso { height: 8px; background: #e8f0f3; border-radius: 99px; overflow: hidden; }
.progreso span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--pri-2), var(--pri)); transition: width .2s; }

.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast { background: #1f3a48; color: #fff; padding: 12px 16px; border-radius: 12px; font-weight: 700; font-size: 14px; box-shadow: var(--sombra-alta); animation: aparecer .3s ease both; max-width: 340px; }
.toast.ok { background: #2a8a5e; } .toast.err { background: #c24760; }
.toast.salir { opacity: 0; transform: translateY(8px); transition: all .3s; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .filtros-botones { margin-left: 0; }
}
@media (max-width: 860px) {
  .lateral { position: fixed; left: 0; top: 0; bottom: 0; transform: translateX(-100%); box-shadow: var(--sombra-alta); }
  .lateral.abierto { transform: none; }
  .velo.abierto { display: block; position: fixed; inset: 0; background: rgba(20, 45, 60, .3); z-index: 25; }
  .solo-movil { display: inline-grid; }
  .barra { padding: 12px 16px; }
  .barra h1 { font-size: 20px; }
  .pagina { padding: 4px 16px 28px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .filtros > label, .filtros > label:nth-of-type(4) { width: calc(50% - 7px); }
  .tabla thead { display: none; }
  .tabla, .tabla tbody, .tabla tr, .tabla td { display: block; width: 100%; }
  .tabla tr { padding: 12px 16px; border-bottom: 1px solid var(--borde); }
  .tabla td { border: 0; padding: 5px 0; display: grid; grid-template-columns: 96px 1fr; gap: 8px; text-align: left !important; }
  .tabla td::before { content: attr(data-l); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--texto-3); font-weight: 800; padding-top: 3px; }
  .tabla td > * { grid-column: 2; }
  .tabla td .switch, .tabla td .btn { justify-self: start; }
  .estudio { flex-wrap: wrap; }
  .estudio-acciones { flex-direction: row; flex-wrap: wrap; width: 100%; min-width: 0; }
  .estudio-acciones .btn, .estudio-acciones .chip { flex: 1; justify-content: center; }
}
@media (max-width: 560px) {
  .buscador { padding: 26px 18px 22px; }
  .buscador h1 { font-size: 23px; }
  .dni-fila { flex-direction: column; }
  .marca strong { font-size: 17px; }
  .paciente { flex-wrap: wrap; }
  .paciente .btn { width: 100%; }
  .grilla-2 { grid-template-columns: 1fr; }
  .filtros > label, .filtros > label:nth-of-type(4) { width: 100%; }
  .stat strong { font-size: 23px; }
  .modal-caja { padding: 22px 18px 18px; }
}
