/* Talent & Health — Bitácora y historial. Mobile first. */
.thb-bitacora-mensaje{font-family:inherit;color:#3e3e3e;margin:16px 0}
.thb-dashboard,.thb-historial{width:100%;font-family:inherit;color:#29115f}
.thb-dashboard *,.thb-historial *{box-sizing:border-box}
.thb-dashboard-hero{padding:18px 15px;border:1px solid #d9d1ef;border-radius:18px;background:linear-gradient(145deg,#f6fff1,#f5efff);text-align:center;margin-bottom:14px}
.thb-kicker{margin:0 0 5px!important;color:#00a92f!important;font-weight:800!important;font-size:13px!important;text-transform:uppercase;letter-spacing:.04em}
.thb-dashboard-hero h2{margin:0 0 7px;font-size:28px;line-height:1.1;color:#3f0091}
.thb-dashboard-hero p:last-child{max-width:760px;margin:0 auto;color:#4b4b4b;line-height:1.42}
.thb-resumen-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px}
.thb-resumen-card{padding:13px 9px;border:1px solid #e1dbef;border-radius:14px;background:#fff;text-align:center;box-shadow:0 2px 8px rgba(45,12,87,.06)}
.thb-resumen-card strong{display:block;font-size:20px;color:#3f0091;line-height:1.15;overflow-wrap:anywhere}
.thb-resumen-card span{display:block;margin-top:5px;color:#555;font-size:12px}
.thb-seccion-cabecera{margin:18px 0 9px}
.thb-seccion-cabecera h3{margin:0 0 4px;font-size:22px;color:#3f0091}
.thb-seccion-cabecera p{margin:0;color:#585858;font-size:14px;line-height:1.4}
.thb-ejes-grid{display:grid;grid-template-columns:1fr;gap:10px}
.thb-eje-card{padding:14px;border:1px solid #ddd5ef;border-radius:15px;background:#fff;box-shadow:0 2px 8px rgba(45,12,87,.05)}
.thb-eje-superior{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.thb-eje-superior h4{margin:0;font-size:19px;color:#3f0091}
.thb-eje-superior span{padding:5px 8px;border-radius:999px;background:#eaffdf;color:#087d25;font-size:11px;font-weight:800;white-space:nowrap}
.thb-eje-card p{margin:5px 0;color:#333;font-size:13px;line-height:1.38}

.thb-mensaje-motivacion{min-height:100%;padding:22px 20px;border:1px solid #cfe8d1;border-radius:15px;background:linear-gradient(145deg,#f0fff0,#f8f2ff);box-shadow:0 2px 8px rgba(45,12,87,.05);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.thb-mensaje-motivacion span{margin-bottom:8px;color:#00a52a;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.thb-mensaje-motivacion strong{display:block;max-width:300px;color:#5d00a8;font-size:20px;line-height:1.25}
.thb-mensaje-motivacion p{max-width:300px;margin:10px 0 0;color:#444;font-size:14px;line-height:1.45}
.thb-eje-sin-evidencia{opacity:.78;background:#fafafa}
.thb-recientes-lista{display:grid;gap:8px}
.thb-reto-compacto{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px;border:1px solid #e2deeb;border-radius:13px;background:#fff}
.thb-reto-compacto h4{margin:0 0 3px;font-size:15px;color:#2b165e}
.thb-reto-compacto p{margin:0;color:#666;font-size:12px}
.thb-reto-compacto>strong{color:#087d25;font-size:13px;text-align:right}
.thb-dashboard-acciones,.thb-vacio-acciones{display:flex;flex-direction:column;gap:8px;margin-top:16px}
.thb-boton{display:flex;align-items:center;justify-content:center;min-height:46px;padding:11px 16px;border-radius:999px;text-decoration:none!important;font-weight:800;text-align:center}
.thb-boton-principal{background:#b9ffab;color:#3f0091!important}
.thb-boton-secundario{background:#ede5fa;color:#3f0091!important}
.thb-boton-definiciones{background:#fff3c9;color:#3f0091!important;border:1px solid #eadb9b}
.thb-historial-lista{display:grid;grid-template-columns:1fr;gap:10px}
.thb-bitacora-card{background:#fff;border:1px solid #e2e2e2;border-radius:13px;padding:15px;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.thb-bitacora-nombre{margin:0 0 8px;font-size:18px;color:#3f0091}
.thb-bitacora-linea{margin:4px 0;font-size:14px;color:#333;line-height:1.35}
.thb-bitacora-estado{margin-top:9px;font-weight:600;color:#078c2a}
.thb-paginacion{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0;padding:10px 12px;border-radius:12px;background:#f4f0fb}
.thb-paginacion a{color:#3f0091;font-weight:800;text-decoration:none}
.thb-paginacion span{font-size:13px;color:#555;text-align:center}
@media(min-width:700px){
  .thb-dashboard-hero{padding:24px 22px}
  .thb-dashboard-hero h2{font-size:36px}
  .thb-resumen-grid{grid-template-columns:repeat(4,1fr);gap:12px}
  .thb-resumen-card{padding:16px 12px}
  .thb-resumen-card strong{font-size:24px}
  .thb-ejes-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .thb-historial-lista{grid-template-columns:repeat(2,1fr);gap:14px}
  .thb-dashboard-acciones,.thb-vacio-acciones{flex-direction:row;justify-content:center}
  .thb-boton{min-width:230px}
}
@media(min-width:1080px){.thb-ejes-grid{grid-template-columns:repeat(3,1fr)}}

/* 2.4.0 — Contadores acumulados por nivel en cada eje. */
.thb-niveles-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:11px 0 12px}
.thb-nivel{min-height:68px;padding:9px 6px;border-radius:12px;border:1px solid #e6e0ef;background:#faf9fc;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}
.thb-nivel strong{display:block;font-size:22px;line-height:1;color:#3f0091}
.thb-nivel span{display:block;margin-top:6px;font-size:11px;line-height:1.2;color:#4e4e4e;font-weight:700}
.thb-nivel-explorando{background:#f4f0fa;border-color:#ddd2ed}
.thb-nivel-en-desarrollo{background:#fff9df;border-color:#eee0a8}
.thb-nivel-competente{background:#edf6ff;border-color:#c9deef}
.thb-nivel-sobresaliente{background:#effbea;border-color:#cde8c1}
.thb-eje-ultimo{padding-top:10px;border-top:1px solid #eee8f6}
.thb-eje-fortalezas{color:#454545!important}
@media(min-width:480px){.thb-niveles-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.thb-nivel{min-height:76px}.thb-nivel span{font-size:10px}}
@media(min-width:700px) and (max-width:1079px){.thb-niveles-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.thb-nivel span{font-size:11px}}


/* 2.4.4 — acceso directo a definiciones y ajuste móvil del mensaje. */
@media(max-width:699px){
  .thb-mensaje-motivacion{width:calc(100% - 12px);margin:4px auto 0;padding:20px 18px;min-height:180px}
  .thb-mensaje-motivacion span{margin-top:2px}
}
html{scroll-behavior:smooth}


/* 2.6.0 — sexto tablero Health, separado de los niveles Talent. */
.thb-mensaje-franja{min-height:auto!important;margin:10px 0 12px;padding:12px 16px!important}
.thb-mensaje-franja strong{max-width:none!important;font-size:15px!important;line-height:1.35!important}
.thb-health-card{background:linear-gradient(145deg,#f5fff2,#f4faff);border-color:#cde6d0}
.thb-health-card .thb-eje-superior>div small{display:block;margin-top:2px;color:#53705b;font-size:11px;font-weight:700}
.thb-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:11px 0}
.thb-health-categoria{min-height:64px;padding:8px 5px;border-radius:12px;border:1px solid #d9e7da;background:#fff;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}
.thb-health-categoria strong{display:block;font-size:22px;line-height:1;color:#17823a}
.thb-health-categoria span{display:block;margin-top:5px;font-size:10px;line-height:1.15;color:#3f5544;font-weight:700}
.thb-health-conexion_interior{grid-column:1/-1}
.thb-health-nota{padding-top:8px;border-top:1px solid #dcebdd;color:#39704a!important;text-align:center;font-weight:700}
.thb-bitacora-health{border-color:#cde6d0;background:#f8fff6}
@media(min-width:480px){
  .thb-health-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
  .thb-health-conexion_interior{grid-column:auto}
  .thb-health-categoria span{font-size:9px}
}
@media(min-width:700px) and (max-width:1079px){
  .thb-health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .thb-health-conexion_interior{grid-column:1/-1}
  .thb-health-categoria span{font-size:10px}
}

/* 2.7.0 — puntos y Sala de Control */
.thb-puntos-resumen{margin:10px 0 13px;padding:10px 11px;border-radius:12px;background:rgba(112,47,191,.06)}
.thb-puntos-resumen>strong{display:block;color:#5b00a5;font-size:20px;line-height:1.1}
.thb-puntos-resumen>span,.thb-indicador-area small,.thb-control-card small{display:block;margin-top:5px;color:#59616d;font-size:11px;line-height:1.25}
.thb-barra{height:10px;margin-top:8px;border-radius:999px;background:#e6e8ee;overflow:hidden}
.thb-barra i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7d2de2,#22c76b);transition:width .65s ease}
.thb-indicador-area{width:100%;padding:9px 11px;border:1px solid rgba(91,0,165,.15);border-radius:14px;background:rgba(255,255,255,.86)}
.thb-indicador-linea{display:flex;justify-content:space-between;gap:8px;align-items:center;color:#4d167f}
.thb-indicador-linea strong,.thb-indicador-linea span{font-size:13px}
.thb-control-progreso{width:100%;padding:18px;border-radius:22px;background:linear-gradient(145deg,#fbfff7,#f8f2ff);border:1px solid #dfd2ec}
.thb-control-progreso header{text-align:center;margin-bottom:13px}
.thb-control-progreso h3{margin:0;color:#5b00a5;font-size:24px}
.thb-control-progreso header p{margin:5px 0 0;color:#59616d}
.thb-control-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.thb-control-card{padding:13px;border-radius:15px;background:#fff;border:1px solid #e3dbea;box-shadow:0 6px 18px rgba(47,18,83,.06)}
.thb-control-card h4{margin:0;color:#5b00a5;font-size:17px}
.thb-control-card p{margin:7px 0 0;color:#283241;font-size:13px}
.thb-control-health{background:linear-gradient(145deg,#f0fff0,#f4fbff)}
.thb-control-health h4{color:#13863a}
@media(max-width:767px){.thb-control-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.thb-control-progreso{padding:12px}.thb-control-progreso h3{font-size:20px}}


/* 2.8.0 — tarjetas compactas centradas en puntos */
.thb-ejes-grid{gap:12px!important}
.thb-eje-card{min-height:0!important;padding:16px!important}
.thb-eje-superior{margin-bottom:8px!important}
.thb-eje-superior h4{font-size:21px!important}
.thb-puntos-resumen{margin:6px 0 10px!important;padding:12px 13px!important}
.thb-puntos-resumen>strong{font-size:25px!important;text-align:center}
.thb-puntos-resumen>span{text-align:center}
.thb-eje-cierre{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:3px 2px 0;color:#52606d;font-size:12px}
.thb-eje-cierre strong{color:#5b00a5;font-size:12px}
.thb-eje-vacio{margin:4px 0 0!important;padding:0!important;font-size:12px!important;text-align:center}
.thb-niveles-grid{display:none!important}
.thb-health-card{padding:16px!important}
.thb-health-grid{margin:8px 0!important}
.thb-health-categoria{min-height:55px!important}
.thb-control-progreso{padding:12px!important}
.thb-control-progreso header{margin-bottom:9px!important}
.thb-control-progreso h3{font-size:20px!important}
.thb-control-card{padding:10px!important}
.thb-control-card h4{font-size:15px!important}
.thb-control-card p{font-size:12px!important}
.thb-control-card .thb-barra{height:8px!important}
.thb-indicador-area{padding:7px 9px!important;border-radius:11px!important}
.thb-indicador-linea strong,.thb-indicador-linea span{font-size:12px!important}
.thb-indicador-area .thb-barra{height:7px!important;margin-top:6px!important}
.thb-indicador-area small{font-size:10px!important}
@media(max-width:767px){
  .thb-eje-card{padding:12px!important}
  .thb-puntos-resumen>strong{font-size:22px!important}
  .thb-eje-cierre{display:block;text-align:center}
  .thb-eje-cierre strong{display:block;margin-top:3px}
}


/* 2.9.0 — Bitácora clara y Sala de Control silenciosa */
.thb-seccion-cabecera-simple{padding:8px 12px!important;margin:10px 0 8px!important}
.thb-seccion-cabecera-simple p{margin:0!important;font-size:15px!important;font-weight:700!important;color:#4d5561!important}
.thb-mensaje-franja{margin:8px 0 12px!important;padding:10px 12px!important}

.thb-eje-superior-simple{margin-bottom:4px!important}
.thb-eje-superior-simple h4{margin:0!important}
.thb-eje-superior-simple small{display:block;margin-top:1px;color:#627080;font-size:12px;font-weight:700;line-height:1.15}

.thb-puntos-posibles{margin:7px 0 9px!important;padding:11px 13px!important}
.thb-puntos-posibles>strong{font-size:25px!important;line-height:1.1!important;text-align:center}
.thb-puntos-posibles>strong span{font-size:15px;font-weight:700}
.thb-puntos-posibles .thb-barra{margin-top:10px!important}
.thb-retos-completados{margin:0!important;color:#4f5966!important;font-size:12px!important;font-weight:700!important}

.thb-indicador-area{
	width:100%!important;
	padding:0!important;
	margin:0!important;
	border:0!important;
	border-radius:0!important;
	background:transparent!important;
	box-shadow:none!important;
	text-align:left!important;
}
.thb-indicador-area>strong{
	display:block!important;
	margin:0 0 2px!important;
	color:#174ea6!important;
	font-size:13px!important;
	line-height:1.05!important;
	font-weight:800!important;
}
.thb-indicador-area .thb-barra{
	height:5px!important;
	margin:0!important;
	border-radius:999px!important;
	background:rgba(23,78,166,.14)!important;
}
.thb-indicador-area .thb-barra i{
	background:linear-gradient(90deg,#2457d6,#18bf72)!important;
}
.thb-control-grid-minimo{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:8px 12px;
}
@media(max-width:767px){
	.thb-puntos-posibles>strong{font-size:21px!important}
	.thb-puntos-posibles>strong span{font-size:13px}
	.thb-indicador-area>strong{font-size:12px!important}
	.thb-indicador-area .thb-barra{height:4px!important}
	.thb-control-grid-minimo{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 10px}
}

/* 3.0.0 compactación y comparativo */
.thb-dashboard-hero{padding-top:18px!important;padding-bottom:18px!important}
.thb-eje-card{padding:13px 15px!important}
.thb-eje-superior-simple{display:flex!important;align-items:baseline!important;margin-bottom:3px!important}
.thb-eje-superior-simple>div{display:flex!important;align-items:baseline!important;gap:8px!important;flex-wrap:wrap}
.thb-eje-superior-simple h4{font-size:24px!important;line-height:1!important;color:#174ea6!important}
.thb-eje-superior-simple small{font-size:14px!important;color:#13863a!important;font-weight:800!important;margin:0!important}
.thb-puntos-posibles{padding:8px 11px!important;margin:5px 0 6px!important}
.thb-puntos-posibles>strong{font-size:23px!important}
.thb-retos-completados{font-size:14px!important}
.thb-indicador-area .thb-barra{height:8px!important;margin:0!important;background:rgba(23,78,166,.16)!important}
.thb-comparativo-card{background:linear-gradient(145deg,#fbfff7,#f5f8ff)!important}
.thb-comparativo-card h4{color:#5b00a5!important;font-size:21px!important}
.thb-comparativo-card small{color:#52667a!important;font-size:12px!important}
.thb-comparativo-grid{display:grid;gap:8px;margin-top:10px}
.thb-comparativo-fila{display:grid;grid-template-columns:95px 1fr;gap:8px;align-items:center}
.thb-comparativo-fila>span{font-size:12px;font-weight:800;color:#174ea6}
.thb-comparativo-fila .thb-barra{height:8px!important;margin:0!important}
@media(max-width:767px){.thb-eje-superior-simple h4{font-size:20px!important}.thb-eje-superior-simple small{font-size:12px!important}.thb-puntos-posibles>strong{font-size:20px!important}.thb-comparativo-fila{grid-template-columns:82px 1fr}.thb-indicador-area .thb-barra{height:7px!important}}


/* 3.1.0 — compactación final y comparativo de ancho completo */
.thb-dashboard-hero{padding-top:14px!important;padding-bottom:14px!important}
.thb-seccion-cabecera-simple{margin:7px 0 6px!important;padding:6px 10px!important}
.thb-mensaje-franja{margin:6px 0 9px!important;padding:8px 10px!important}

.thb-ejes-grid{gap:9px!important}
.thb-eje-card{padding:10px 13px!important}
.thb-eje-superior-simple{margin-bottom:1px!important}
.thb-eje-superior-simple>div{gap:7px!important}
.thb-eje-superior-simple h4{font-size:23px!important}
.thb-eje-superior-simple small{font-size:13px!important}

.thb-puntos-posibles{padding:6px 10px!important;margin:4px 0 4px!important;border-radius:11px!important}
.thb-puntos-posibles>strong{font-size:21px!important}
.thb-puntos-posibles>strong span{font-size:14px!important}
.thb-puntos-posibles .thb-barra{margin-top:7px!important;height:9px!important}
.thb-retos-completados{font-size:13px!important;line-height:1.1!important}

.thb-comparativo-card{padding:10px 13px!important}
.thb-comparativo-card h4{margin:0!important;font-size:20px!important}
.thb-comparativo-card small{display:block;margin-top:1px!important;font-size:11px!important}
.thb-comparativo-grid{gap:5px!important;margin-top:6px!important}
.thb-comparativo-fila{
	display:block!important;
	width:100%!important;
}
.thb-comparativo-fila>span{
	display:block!important;
	margin:0 0 2px!important;
	font-size:11px!important;
	line-height:1!important;
}
.thb-comparativo-fila .thb-barra{
	width:100%!important;
	height:9px!important;
	margin:0!important;
}

.thb-dashboard-acciones{margin-top:9px!important;gap:10px!important}
.thb-boton{padding-top:10px!important;padding-bottom:10px!important}

.thb-indicador-area .thb-barra{
	height:10px!important;
	margin:0!important;
}

@media(max-width:767px){
	.thb-dashboard-hero{padding-top:10px!important;padding-bottom:10px!important}
	.thb-eje-card{padding:8px 10px!important}
	.thb-eje-superior-simple h4{font-size:19px!important}
	.thb-eje-superior-simple small{font-size:11px!important}
	.thb-puntos-posibles{padding:5px 8px!important}
	.thb-puntos-posibles>strong{font-size:18px!important}
	.thb-puntos-posibles>strong span{font-size:12px!important}
	.thb-retos-completados{font-size:12px!important}
	.thb-comparativo-grid{gap:4px!important}
	.thb-comparativo-fila .thb-barra{height:8px!important}
	.thb-indicador-area .thb-barra{height:9px!important}
}
