/* Presente · panel de oficina. Tailwind resuelve la maquetación; aquí vive el carácter:
   superficies, sombras, tipografía numérica y los componentes que se repiten. */
:root {
  --tinta: #0A1233; --suave: #5A6488; --tenue: #8089A8; --linea: #E4E9F5; --fondo: #F5F7FC;
  --marca: #001EAA; --marca-2: #3D6BFF; --tinte: #EDF1FF;
  --sombra: 0 1px 2px rgba(10, 18, 51, .04), 0 14px 34px -22px rgba(0, 30, 170, .28);
}
body { background: var(--fondo); color: var(--tinta); font-feature-settings: "ss01", "cv11"; }
h1, h2, h3, .display { font-family: "Outfit", system-ui, sans-serif; letter-spacing: -0.02em; }
.num { font-variant-numeric: tabular-nums; }

/* Estructura */
.marco { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.lateral { background: #fff; border-right: 1px solid var(--linea); display: flex; flex-direction: column; padding: 22px 16px; position: sticky; top: 0; height: 100vh; }
.lateral .marca { display: flex; align-items: center; gap: 11px; padding: 4px 8px 22px; }
.lateral .marca img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 6px 16px -8px var(--marca); }
.lateral .marca b { font-family: "Outfit", sans-serif; font-weight: 500; font-size: 1.32rem; letter-spacing: -0.02em; display: block; line-height: 1.1; }
.lateral .marca small { color: var(--tenue); font-size: .72rem; }
.lateral .grupo { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tenue); font-weight: 600; padding: 14px 10px 8px; }
.nav a { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 10px; color: var(--suave); font-weight: 500; font-size: .93rem; transition: background .15s, color .15s; }
.nav a svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nav a:hover { background: var(--fondo); color: var(--tinta); }
.nav a.activo { background: var(--tinte); color: var(--marca); }
.lateral .pie { margin-top: auto; border-top: 1px solid var(--linea); padding-top: 14px; display: flex; align-items: center; gap: 10px; }
.lateral .pie .quien { min-width: 0; flex: 1; }
.lateral .pie b { display: block; font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lateral .pie small { color: var(--tenue); font-size: .74rem; }
.lateral .pie button { color: var(--tenue); padding: 7px; border-radius: 8px; } .lateral .pie button:hover { background: var(--fondo); color: var(--tinta); }
.contenido { padding: 34px clamp(20px, 3.4vw, 44px) 56px; min-width: 0; }
.contenido > .ancho { max-width: 1180px; margin-inline: auto; display: grid; gap: 26px; }
.cabeza { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 24px; flex-wrap: wrap; }
.cabeza h1 { font-size: clamp(1.7rem, 2.6vw, 2.15rem); font-weight: 500; line-height: 1.1; }
.cabeza p { color: var(--suave); margin-top: 4px; }
.ceja { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--marca); font-weight: 600; margin-bottom: 6px; }

/* Superficies */
.tarjeta { background: #fff; border: 1px solid var(--linea); border-radius: 18px; box-shadow: var(--sombra); }
.tarjeta.relleno { padding: 22px; }
.tarjeta h2 { font-size: 1.12rem; font-weight: 500; }

/* Indicadores */
.indicadores { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 14px; }
.kpi { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.kpi .rot { display: flex; align-items: center; gap: 9px; font-size: .78rem; font-weight: 600; color: var(--suave); }
.kpi .rot i { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--tinte); color: var(--marca); flex: none; }
.kpi .rot svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kpi .val { font-family: "Outfit", sans-serif; font-weight: 500; font-size: 2.1rem; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi .val small { font-family: "DM Sans", sans-serif; font-size: .9rem; font-weight: 500; color: var(--tenue); letter-spacing: 0; margin-left: 4px; }
.kpi.ambar .rot i { background: #FEF3DD; color: #9A5208; } .kpi.rojo .rot i { background: #FCE7E4; color: #B4271F; } .kpi.verde .rot i { background: #DFF5EC; color: #0A7A54; }
.kpi.cobertura { flex-direction: row; align-items: center; gap: 20px; background: linear-gradient(135deg, #001EAA, #2A52E8); border-color: transparent; color: #fff; }
.kpi.cobertura .rot { color: #C9D6FF; } .kpi.cobertura .val { font-size: 2.7rem; } .kpi.cobertura p { color: #C9D6FF; font-size: .86rem; }
.anillo { --p: 0; width: 84px; height: 84px; border-radius: 50%; flex: none; background: conic-gradient(#fff calc(var(--p) * 1%), rgba(255, 255, 255, .22) 0); display: grid; place-items: center; }
.anillo::after { content: ""; width: 64px; height: 64px; border-radius: 50%; background: #1535C8; }

/* Tablas */
.tabla { width: 100%; font-size: .92rem; border-collapse: separate; border-spacing: 0; }
.tabla th { text-align: left; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tenue); font-weight: 600; padding: 14px 20px; border-bottom: 1px solid var(--linea); background: #FBFCFF; }
.tabla th:first-child { border-top-left-radius: 18px; } .tabla th:last-child { border-top-right-radius: 18px; }
.tabla td { padding: 13px 20px; border-bottom: 1px solid var(--linea); vertical-align: middle; }
.tabla tr:last-child td { border-bottom: 0; }
.tabla tbody tr { transition: background .12s; } .tabla tbody tr:hover { background: #FAFBFF; }
.tabla .der { text-align: right; }
.persona { display: flex; align-items: center; gap: 12px; min-width: 0; }
.persona b { display: block; font-weight: 600; } .persona small { color: var(--tenue); font-size: .78rem; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--tinte); color: var(--marca); display: grid; place-items: center; font-weight: 600; font-size: .78rem; flex: none; letter-spacing: .02em; }
.avatar.gris { background: #F0F2F8; color: var(--tenue); }
.marca-hora { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid var(--linea); background: #fff; font-weight: 600; font-variant-numeric: tabular-nums; transition: border-color .15s, box-shadow .15s; }
.marca-hora:hover { border-color: var(--marca-2); box-shadow: 0 6px 16px -10px var(--marca); }
.marca-hora img, .marca-hora .sinfoto { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: var(--tinte); flex: none; }
.marca-hora .sinfoto { display: grid; place-items: center; color: var(--tenue); } .marca-hora .sinfoto svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }
.vacio { color: #B6BDD3; font-variant-numeric: tabular-nums; }

/* Pastillas */
.pastilla { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pastilla::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pastilla.ok { background: #E3F6EE; color: #0A7A54; } .pastilla.ambar { background: #FEF3DD; color: #9A5208; }
.pastilla.rojo { background: #FCE7E4; color: #B4271F; } .pastilla.azul { background: var(--tinte); color: var(--marca); } .pastilla.gris { background: #F0F2F8; color: var(--suave); }

/* Controles */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: .9rem; padding: 10px 16px; border-radius: 11px; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.boton svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.boton.primario { background: linear-gradient(180deg, #1736D0, #001EAA); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 22px -12px #001EAA; }
.boton.primario:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 14px 26px -12px #001EAA; }
.boton.claro { background: #fff; color: var(--tinta); border: 1px solid var(--linea); } .boton.claro:hover { border-color: #C5CEE8; background: #FBFCFF; }
.boton.peligro { background: #B4271F; color: #fff; } .boton.bloque { width: 100%; }
.campo { display: grid; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--tinta); }
.campo input, .campo select, .entrada { font: inherit; font-weight: 400; width: 100%; background: #fff; border: 1px solid var(--linea); border-radius: 11px; padding: 10px 12px; transition: border-color .15s, box-shadow .15s; color: var(--tinta); }
.campo input:focus, .campo select:focus, .entrada:focus { outline: none; border-color: var(--marca-2); box-shadow: 0 0 0 4px rgba(61, 107, 255, .16); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--marca-2); outline-offset: 2px; border-radius: 8px; }
.paso-dia { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--linea); border-radius: 11px; overflow: hidden; }
.paso-dia a, .paso-dia span { padding: 9px 12px; font-size: .88rem; font-weight: 600; color: var(--suave); }
.paso-dia a:hover { background: var(--fondo); color: var(--tinta); } .paso-dia span { color: var(--tinta); border-inline: 1px solid var(--linea); min-width: 148px; text-align: center; text-transform: capitalize; }

/* Avisos y modal */
.avisos { position: fixed; right: 22px; top: 22px; z-index: 60; display: grid; gap: 10px; max-width: 380px; }
.avisos p { background: #fff; border: 1px solid var(--linea); border-left: 4px solid #0A7A54; border-radius: 12px; padding: 12px 14px; font-size: .88rem; box-shadow: var(--sombra); animation: entra .35s cubic-bezier(.2, .7, .2, 1) both, sale .4s 6s ease forwards; }
.avisos p.error { border-left-color: #B4271F; }
.velo { position: fixed; inset: 0; background: rgba(10, 18, 51, .46); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 20px; z-index: 50; animation: aparece .2s ease both; }
.velo > div, .velo > form { background: #fff; border-radius: 22px; width: min(460px, 100%); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(10, 18, 51, .6); animation: entra .3s cubic-bezier(.2, .7, .2, 1) both; }
.en-vivo { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--suave); }
.en-vivo::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #0A7A54; box-shadow: 0 0 0 0 rgba(10, 122, 84, .5); animation: pulso 2s infinite; }
.codigo { display: flex; gap: 8px; } .codigo span { width: 46px; height: 58px; border-radius: 12px; background: #fff; border: 1px solid #C9D6FF; display: grid; place-items: center; font-family: "Outfit", sans-serif; font-size: 1.9rem; font-weight: 500; font-variant-numeric: tabular-nums; box-shadow: 0 8px 18px -14px var(--marca); }
.estado-vacio { text-align: center; padding: 54px 24px; display: grid; gap: 10px; justify-items: center; }
.estado-vacio i { width: 54px; height: 54px; border-radius: 16px; background: var(--tinte); color: var(--marca); display: grid; place-items: center; } .estado-vacio svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.estado-vacio p { color: var(--suave); max-width: 34em; }

@keyframes entra { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes sale { to { opacity: 0; transform: translateX(20px); visibility: hidden; } }
@keyframes aparece { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulso { 70% { box-shadow: 0 0 0 8px rgba(10, 122, 84, 0); } 100% { box-shadow: 0 0 0 0 rgba(10, 122, 84, 0); } }

@media (max-width: 1080px) { .indicadores { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpi.cobertura { grid-column: 1 / -1; } }
@media (max-width: 860px) {
  .marco { grid-template-columns: minmax(0, 1fr); }
  .lateral { position: static; height: auto; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 6px 14px; padding: 12px 16px; border-right: 0; border-bottom: 1px solid var(--linea); }
  .lateral .marca { padding: 0; } .lateral .grupo, .lateral .marca small { display: none; }
  .nav { display: flex; gap: 2px; flex-wrap: wrap; } .nav a span { display: none; } .nav a.activo span { display: inline; }
  .lateral .pie { margin: 0 0 0 auto; border: 0; padding: 0; } .lateral .pie .quien { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---- Controles con la misma altura y el mismo dibujo en todos los navegadores ---- */
.campo input, .campo select, .entrada, .boton, .paso-dia { min-height: 44px; }
.campo select, select.entrada { -webkit-appearance: none; appearance: none; padding-right: 38px; cursor: pointer; line-height: 1.3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6488' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.campo input[type="time"] { -webkit-appearance: none; appearance: none; line-height: 1.3; }
.paso-dia a, .paso-dia span { display: grid; place-items: center; min-height: 42px; }
.paso-dia a { font-size: 1.15rem; padding-inline: 14px; }
input[type="file"] { max-width: 100%; min-width: 0; }

/* ---- Barra de filtros ---- */
.filtros { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding: 14px 16px; }
.filtros .buscar { position: relative; flex: 1 1 260px; min-width: 200px; }
.filtros .buscar svg { position: absolute; left: 13px; top: 50%; width: 17px; height: 17px; margin-top: -8.5px; stroke: var(--tenue); fill: none; stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.filtros .buscar input { padding-left: 38px; }
.filtros select.entrada { width: auto; flex: 0 1 220px; }
.filtros .limpiar { font-size: .86rem; font-weight: 600; color: var(--marca); padding: 8px 6px; }
.filtros .cuenta { margin-left: auto; font-size: .84rem; color: var(--suave); white-space: nowrap; }

/* ---- Filas que se abren ---- */
.tabla .abre { cursor: pointer; }
.tabla .flecha { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--tenue); transition: transform .2s, background .15s; }
.tabla .flecha svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tabla tr.abierta .flecha { transform: rotate(90deg); background: var(--tinte); color: var(--marca); }
.tabla tr.abierta td { background: #FAFBFF; border-bottom-color: transparent; }
.tabla tr.detalle td { background: #FAFBFF; padding: 4px 20px 22px 70px; }
.tabla tr.detalle:hover { background: none; }
.detalle-rejilla { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 16px; align-items: start; }
.caja { background: #fff; border: 1px solid var(--linea); border-radius: 14px; padding: 14px; display: grid; gap: 10px; }
.caja h3 { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tenue); font-weight: 600; font-family: "DM Sans", sans-serif; }
.enlace { font-weight: 600; font-size: .84rem; color: var(--marca); } .enlace:hover { text-decoration: underline; }
.enlace.rojo { color: #B4271F; }

/* ---- Páginas ---- */
.paginas { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid var(--linea); font-size: .86rem; color: var(--suave); }
.paginas nav { display: flex; align-items: center; gap: 6px; }
.paginas a, .paginas .no { min-width: 38px; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--linea); display: grid; place-items: center; font-weight: 600; color: var(--tinta); background: #fff; }
.paginas a:hover { border-color: var(--marca-2); color: var(--marca); }
.paginas .no { opacity: .4; }
.paginas .actual { background: var(--tinte); border-color: var(--tinte); color: var(--marca); }

/* ---- Ventana con formulario ---- */
.velo .formulario { padding: 26px; display: grid; gap: 16px; }
.velo .formulario h2 { font-size: 1.35rem; font-weight: 500; }
.velo .acciones { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
@media (max-width: 900px) { .detalle-rejilla { grid-template-columns: minmax(0, 1fr); } .tabla tr.detalle td { padding-left: 20px; } }

/* Foto de la persona en lugar de sus iniciales */
.avatar.foto { width: 48px; height: 48px; padding: 0; overflow: hidden; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--linea), 0 6px 14px -8px rgba(15, 27, 77, .45); cursor: zoom-in; transition: transform .15s, box-shadow .15s; }
.avatar.foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar.foto:hover, .avatar.foto:focus-visible { transform: scale(1.08); box-shadow: 0 0 0 2px var(--marca-2), 0 10px 20px -10px var(--marca); }
.marca-hora img, .marca-hora .sinfoto { width: 32px; height: 32px; }

/* ---- Reporte por páginas: filas compactas, avance por sucursal, indicadores que filtran ---- */
.tabla.compacta td { padding-top: 9px; padding-bottom: 9px; }
.tabla.compacta .avatar.foto { width: 40px; height: 40px; }
.ceja a:hover { text-decoration: underline; }
.avance { display: flex; align-items: center; gap: 12px; min-width: 190px; }
.avance i { flex: 1; height: 8px; border-radius: 999px; background: #EEF1F8; overflow: hidden; max-width: 160px; }
.avance b { display: block; height: 100%; border-radius: inherit; background: #E0A019; transition: width .4s; }
.avance.ok b { background: #12A372; } .avance.rojo i { background: #FCE7E4; }
.avance span { font-size: .84rem; font-weight: 600; white-space: nowrap; }
a.kpi { transition: border-color .15s, box-shadow .15s, transform .15s; }
a.kpi:hover { transform: translateY(-1px); border-color: #C9D6FF; }
a.kpi.elegido { border-color: var(--marca-2); box-shadow: 0 0 0 3px rgba(61, 107, 255, .16); }

/* ---- Selector con búsqueda (listas largas: nunca un desplegable de 40 renglones) ---- */
.elige { position: relative; min-width: 0; }
.elige > select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.elige-boton { text-align: left; cursor: pointer; padding-right: 38px; display: flex; align-items: center; min-width: 230px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6488' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.elige-boton span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.elige-panel { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; width: max(100%, 290px); background: #fff; border: 1px solid var(--linea); border-radius: 14px; padding: 8px; display: grid; gap: 6px; box-shadow: 0 24px 48px -24px rgba(10, 18, 51, .45); font-weight: 400; }
.elige-panel ul { display: grid; gap: 2px; }
.elige-panel li button { width: 100%; text-align: left; padding: 9px 10px; border-radius: 9px; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.elige-panel li button:hover, .elige-panel li button:focus-visible { background: var(--fondo); outline: none; }
.elige-panel li button.actual { background: var(--tinte); color: var(--marca); font-weight: 600; }
.elige-panel p { font-size: .8rem; color: var(--tenue); padding: 4px 10px 6px; }
.filtros .elige { flex: 0 1 240px; }
.velo .elige-boton { width: 100%; }
.velo .elige-panel { top: auto; bottom: calc(100% + 6px); }

/* ---- Ventanas: nunca más altas que la pantalla ---- */
.velo > div { max-height: calc(100dvh - 40px); overflow-y: auto; }
.velo > form.formulario { overflow: visible; }
.filtros #limpiar:empty { display: none; }

/* Registro cuya foto se tomó sin que la tablet detectara una cara */
.marca-hora.alerta { border-color: #F2B866; background: #FFF8EA; color: #9A5208; }
.marca-hora.alerta::after { content: "!"; width: 18px; height: 18px; border-radius: 50%; background: #F2B866; color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }

/* ---- Panel de plataforma (administrador general) ---- */
.visita { display: flex; align-items: center; justify-content: space-between; gap: 10px 18px; flex-wrap: wrap; background: #FFF8EA; border: 1px solid #F2D9A6; color: #7A4306; border-radius: 14px; padding: 11px 16px; font-size: .9rem; }
.visita .enlace { color: #7A4306; text-decoration: underline; }
.rejilla-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rejilla-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.renglones { display: grid; margin-top: 10px; }
.renglones li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--linea); min-width: 0; }
.renglones li:last-child { border-bottom: 0; padding-bottom: 0; }
.renglones li > a, .renglones li > span:first-child { min-width: 0; }
.renglones b { display: block; font-weight: 600; font-size: .93rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.renglones small { color: var(--tenue); font-size: .8rem; }
.renglones li > a:hover b { color: var(--marca); }
.renglones .num { font-weight: 600; white-space: nowrap; }
.renglones .nada { color: var(--suave); font-size: .9rem; justify-content: flex-start; }
.barras { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; height: 210px; margin-top: 18px; align-items: end; }
.barras > div { display: grid; grid-template-rows: auto 1fr auto; height: 100%; gap: 6px; text-align: center; min-width: 0; }
.barras span { font-size: .72rem; font-weight: 600; color: var(--suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barras i { align-self: end; width: 100%; max-width: 56px; margin-inline: auto; min-height: 4px; border-radius: 9px 9px 4px 4px; background: #C9D6FF; }
.barras .actual i { background: linear-gradient(180deg, #3D6BFF, #001EAA); } .barras .actual span { color: var(--marca); }
.barras small { font-size: .74rem; color: var(--tenue); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 1080px) { .rejilla-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .rejilla-2 { grid-template-columns: minmax(0, 1fr); } }
.tabla .enlace { white-space: nowrap; }
