/* Valoración de Desempeño: colores, letras y formas de la propuesta de Capital Humano (13/10/2026). Claro siempre. */
:root {
  --navy: #002d72; --blue: #0096db; --teal: #00af66; --green: #79c000; --yellow: #ffbb1c; --orange: #f06400; --red: #f3002f;
  --bg: #eef2f7; --surface: #ffffff; --ink: #12203f; --muted: #5b6a85; --line: #e2e8f2; --soft: #f4f7fb; --radius: 16px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Inter', system-ui, sans-serif; font-size: 14px; line-height: 1.45; }
h1, h2, h3, h4, .puntaje, .valor { font-family: 'Poppins', 'Inter', sans-serif; }
h2 { font-size: 16.5px; margin: 0 0 4px; color: var(--navy); font-weight: 700; }
h3 { font-size: 14.5px; margin: 18px 0 8px; color: var(--ink); font-weight: 700; }
h4 { font-size: 13.5px; margin: 14px 0 6px; font-weight: 600; }
a { color: var(--blue); }
button, input, select, textarea { font: inherit; color: inherit; }
input, select, textarea {
  padding: 9px 11px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; outline: none; transition: border-color .15s; min-width: 0;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); }
input:disabled, select:disabled, textarea:disabled { background: var(--soft); color: var(--ink); }
textarea { width: 100%; min-height: 72px; resize: vertical; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.tenue { color: var(--muted); }
.bloque { display: block; }
.nota { color: var(--muted); font-size: 12.5px; }
.error { color: #b00022; font-weight: 600; min-height: 1em; margin: 6px 0; }
.vacio { color: var(--muted); background: var(--soft); border-radius: 10px; padding: 14px 16px; }

/* Botones */
.btn, .btn-claro {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 10px;
  font-weight: 700; font-size: 13px; border: none; cursor: pointer; text-decoration: none; background: #f0f3f8; color: var(--navy); white-space: nowrap;
}
.btn:hover { background: #e4e9f2; }
.btn.primario { background: var(--blue); color: #fff; }
.btn.primario:hover { background: #0085c3; }
.btn.chico { padding: 7px 12px; font-size: 12.5px; }
.btn.ancho { width: 100%; }
.btn.peligro { color: #b00022; }
.btn:disabled { opacity: .6; cursor: default; }
.btn-claro { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); color: #fff; padding: 8px 14px; }
.btn-claro:hover { background: rgba(255,255,255,.2); }
.btn-texto { background: none; border: none; padding: 4px 6px; color: var(--blue); font-weight: 600; font-size: 12.5px; cursor: pointer; }
.btn-texto.peligro { color: #b00022; }
.btn-texto.duda { padding: 4px 0 0; font-size: 11.5px; color: var(--muted); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }

/* Chips y categorías: fondo suave y texto oscuro del mismo color (se leen bien sobre blanco). */
.chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: #eef1f7; color: var(--muted); white-space: nowrap; }
.chip.borrador { background: #e3f2fb; color: #006a9c; }
.chip.pendiente { background: #fff4d6; color: #7a5200; }
.cat-destaca { --c: var(--teal); --cf: #e3f7ee; --ct: #00714a; }
.cat-alcanza { --c: var(--green); --cf: #eef8dc; --ct: #466f00; }
.cat-oportunidad { --c: var(--yellow); --cf: #fff4d6; --ct: #7a5200; }
.cat-no-alcanza { --c: var(--orange); --cf: #ffe8d9; --ct: #9c3f00; }
.cat-critico { --c: var(--red); --cf: #ffe0e6; --ct: #a8001f; }
.chip[class*="cat-"] { background: var(--cf); color: var(--ct); }
.chip.estado-ok { background: #e3f7ee; color: #00714a; }
.chip.estado-no { background: #ffe0e6; color: #a8001f; }
.chip.estado-minimo { background: #fff4d6; color: #7a5200; }
.chip.estado-definir { background: #e3f2fb; color: #006a9c; }

/* Estructura */
.topbar {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--navy); color: #fff; padding: 12px 24px; box-shadow: 0 8px 24px rgba(0,45,114,.18);
}
.marca { display: flex; align-items: center; gap: 14px; min-width: 0; }
.marca .logo { width: 46px; height: 46px; object-fit: contain; background: #fff; border-radius: 12px; padding: 6px; flex-shrink: 0; }
.marca h1 { font-size: 17px; margin: 0; font-weight: 700; color: #fff; }
.marca p { margin: 2px 0 0; font-size: 12.5px; color: #c9d9f2; font-weight: 500; }
.topbar-der { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.progreso { font-size: 12.5px; font-weight: 600; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); padding: 7px 14px; border-radius: 999px; }
.progreso::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); margin-right: 8px; vertical-align: middle; }
.progreso.completo::before { background: var(--teal); }
.datos-al { font-size: 12.5px; color: #c9d9f2; }
.app { max-width: 1180px; margin: 0 auto; padding: 22px 24px 60px; }
.app.angosto { max-width: 760px; }
.centro { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 20px; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(18,32,63,.04), 0 8px 20px rgba(18,32,63,.05); }
.card.angosta { width: 100%; max-width: 420px; }
.botones { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.banda-prueba { background: #fff4d6; color: #7a5200; padding: 10px 14px; border-radius: 10px; font-weight: 600; }

/* Ingreso */
.ingreso { display: flex; flex-direction: column; gap: 12px; }
.ingreso h1 { margin: 4px 0 0; font-size: 22px; color: var(--navy); }
.logo-grande { width: 120px; align-self: flex-start; }
.sub { margin: 0 0 6px; color: var(--muted); font-weight: 600; }
.ingreso label, .grilla-campos label, label.bloque { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
label.bloque { margin-top: 12px; }
.ingreso input { font-size: 15px; padding: 11px 12px; }
.en-linea { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }

/* Mi equipo */
.resumen { margin: 4px 0 20px; }
.frase { font-size: 18px; font-weight: 600; color: var(--navy); margin: 0 0 12px; font-family: 'Poppins', sans-serif; }
.cifras { display: flex; gap: 34px; flex-wrap: wrap; margin-bottom: 12px; }
.cifras > div { display: flex; flex-direction: column; }
.cifras .valor { font-size: 24px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.cifras .rotulo { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.cifras .nota-cifra { font-size: 11.5px; color: var(--muted); }
.cifras.grandes .valor { font-size: 30px; }
.camino { color: var(--muted); margin: 0; }
.camino b { color: var(--ink); }
.titulo-seccion { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.titulo-seccion p { margin: 2px 0 0; font-size: 12.5px; }
input.num { width: 5.5rem; text-align: right; }
.tabla { width: 100%; border-collapse: collapse; }
.tabla th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .3px; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 1.5px solid var(--line); }
.tabla td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tabla .num { text-align: right; font-variant-numeric: tabular-nums; }
.tabla td.acciones { text-align: right; white-space: nowrap; }
.tabla.chica td { padding: 7px 8px; font-size: 13px; }
.tabla tr.detalle > td { background: var(--soft); }
.tabla tr.abrible { cursor: pointer; }
.tabla tr.abrible:hover td { background: #f8fafd; }
.tabla tr.subtitulo td { background: var(--soft); }
.fila-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.fila-form input:not([type]) { flex: 1 1 220px; }
.agregar { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.agregar h3 { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
details.bajas { margin-top: 14px; color: var(--muted); }
details.bajas summary { cursor: pointer; font-weight: 600; font-size: 12.5px; }
.fila-baja { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
.encuesta-equipo { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; padding: 14px 16px; background: var(--soft); border-radius: 12px; }
.encuesta-equipo p { margin: 2px 0 0; font-size: 12.5px; }
.encuesta-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; border: 1.5px solid var(--blue); }
.encuesta-cta p { margin: 4px 0 0; }

/* Ventanas */
.modal-fondo { position: fixed; inset: 0; background: rgba(18,32,63,.45); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 50; }
.modal { width: 100%; max-width: 480px; max-height: 92vh; overflow: auto; margin: 0; }
.modal.ancho { max-width: 900px; }
.modal .qr { display: block; margin: 8px auto; width: 220px; height: 220px; image-rendering: pixelated; }
.modal input.link, .modal textarea.mensaje { width: 100%; font-size: 13px; }

/* Valoración */
.estado-guardado { font-size: 12.5px; margin-bottom: 14px; }
.guardado { font-weight: 600; color: var(--navy); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; }
.col-resumen { position: sticky; top: 92px; }
.grilla-campos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 12px; }
.etiqueta-eje { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .4px; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; color: #fff; }
.etiqueta-eje.resultados { background: #0079b3; }
.etiqueta-eje.comportamientos { background: #00804b; }
.pista { color: var(--muted); font-size: 13px; margin: 0 0 12px; }
.leyenda-escala { font-size: 11.5px; color: var(--muted); font-weight: 500; background: var(--soft); border-radius: 9px; padding: 8px 12px; margin: 12px 0 8px; }
.item { padding: 14px 0; border-top: 1px solid var(--line); }
.item:first-child { border-top: none; }
.item.falta { background: #fff1f3; box-shadow: -10px 0 0 #fff1f3, 10px 0 0 #fff1f3; border-radius: 4px; }
.item.falta .escala { outline: 2px solid #f3a3b2; outline-offset: 3px; border-radius: 11px; }
.item-fila { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.item-texto .eje { display: block; font-size: 11px; font-weight: 700; color: #0079b3; text-transform: uppercase; letter-spacing: .3px; margin-bottom: 3px; }
.item-texto .eje.comp { color: #00804b; }
.item-texto .titulo { display: block; font-size: 13.6px; font-weight: 600; }
.item-texto .desc { display: block; font-size: 12.3px; color: var(--muted); margin-top: 2px; }
.item.sub .titulo { font-weight: 500; font-size: 13px; }
.escala { display: flex; gap: 6px; }
/* Del 1 al 5, de rojo a verde como las franjas del velocímetro: fondo suave sin elegir y el color lleno al elegir.
   El 3 y el 4 llevan el número oscuro (sobre amarillo y verde claro el blanco no se lee). */
.escala button { width: 36px; height: 36px; border-radius: 9px; border: 1.5px solid var(--eb); background: var(--ef); color: var(--et); font-weight: 700; font-size: 13px; cursor: pointer; transition: all .15s; }
.escala button:nth-child(1) { --ef: #ffe9ed; --eb: #f8c2cd; --et: #a8001f; --es: #e0002b; --est: #fff; }
.escala button:nth-child(2) { --ef: #fff0e6; --eb: #f9cfb2; --et: #9c3f00; --es: #e05d00; --est: #fff; }
.escala button:nth-child(3) { --ef: #fff7e0; --eb: #f6dc93; --et: #7a5200; --es: #ffbb1c; --est: #12203f; }
.escala button:nth-child(4) { --ef: #f2f9e3; --eb: #cfe79f; --et: #466f00; --es: #79c000; --est: #12203f; }
.escala button:nth-child(5) { --ef: #e7f7ef; --eb: #a9e2c6; --et: #00714a; --es: #00995a; --est: #fff; }
.escala button:hover:not(:disabled) { border-color: var(--es); }
.escala button.activo { background: var(--es); border-color: var(--es); color: var(--est); transform: translateY(-1px); box-shadow: 0 3px 8px rgba(18,32,63,.18); }
.escala button:disabled { cursor: default; }
.escala button:disabled:not(.activo) { opacity: .55; }
.evidencia { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.evidencia label { display: flex; flex-direction: column; gap: 6px; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; }
.evidencia input, .evidencia textarea { width: 100%; font-size: 12.8px; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink); }
.competencia { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 14px; background: #fafbfd; }
.comp-cabeza { display: flex; align-items: center; gap: 10px; }
.comp-cabeza .eje { margin: 0; font-size: 11px; font-weight: 700; color: #00804b; text-transform: uppercase; letter-spacing: .3px; }
.comp-cabeza h3 { flex: 1; margin: 0; font-size: 14.5px; font-weight: 800; }
.prom-comp { font-size: 12.5px; font-weight: 800; color: #00714a; background: #e3f7ee; padding: 4px 12px; border-radius: 999px; }
.competencia .item { padding: 10px 0; border-top: 1px dashed var(--line); }
.competencia .item:first-of-type { border-top: none; }
.total-eje { margin-top: 14px; padding-top: 14px; border-top: 1.5px dashed var(--line); display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--navy); }
.total-eje .val { font-family: 'Poppins', sans-serif; font-size: 16px; color: #0079b3; }

.resumen-card { text-align: center; }
.resumen-card h2 { text-align: left; }
.gauge svg { width: 100%; display: block; }
.gauge .franja { fill: var(--c); opacity: .9; }
.gauge .centro { fill: #fff; }
.gauge .aguja { stroke: var(--navy); stroke-width: 4; stroke-linecap: round; transition: all .3s; }
.gauge .eje { fill: var(--navy); }
.puntaje { font-size: 34px; font-weight: 800; color: var(--navy); margin-top: -6px; }
.sobre { font-size: 11.5px; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.insignia { display: inline-block; padding: 6px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: #eef1f7; color: var(--muted); margin-bottom: 18px; }
.insignia[class*="cat-"] { background: var(--cf); color: var(--ct); }
.desglose { text-align: left; margin-bottom: 16px; }
.bd { margin-bottom: 12px; }
.bd-rotulo { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.bd-rotulo b { color: var(--ink); }
.barra { background: #eef1f7; border-radius: 99px; height: 8px; overflow: hidden; }
.relleno { height: 100%; border-radius: 99px; width: 0; transition: width .3s; }
.relleno.resultados { background: var(--blue); }
.relleno.comportamientos { background: var(--teal); }
.leyenda { text-align: left; border-top: 1px solid var(--line); padding-top: 12px; margin-bottom: 14px; }
.ley { display: flex; align-items: center; gap: 9px; font-size: 11.8px; font-weight: 600; color: var(--muted); padding: 5px 6px; border-radius: 8px; }
.ley .muestra { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex-shrink: 0; }
.ley.on { background: var(--soft); color: var(--ink); }
.acciones-resumen { display: flex; gap: 10px; }
.acciones-resumen .btn { flex: 1; }
.aviso-respaldo { border: 1.5px solid var(--yellow); }

.pasos { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0 20px; }
.paso { border: 1.5px solid var(--blue); }
.paso.hecho { border-color: var(--line); }
.paso.espera { border-style: dashed; }
.paso-cabeza { display: flex; justify-content: space-between; align-items: center; }
dl.ficha { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 10px 0 0; font-size: 13px; }
dl.ficha dt { color: var(--muted); font-weight: 600; }
dl.ficha dd { margin: 0; white-space: pre-wrap; }
.opciones { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.opcion { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 500; }
.opcion:has(input:checked) { border-color: var(--blue); background: #f0f9fe; }
fieldset.pregunta { border: none; padding: 0; margin: 0 0 22px; }
fieldset.pregunta legend { font-weight: 600; margin-bottom: 4px; padding: 0; }
.escala-encuesta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; font-size: 12.5px; }
.boton-radio { position: relative; }
.boton-radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.boton-radio span { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 700; background: #fff; }
.boton-radio input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.boton-radio input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.encuesta-equipo-pag h1 { margin: 6px 0 0; color: var(--navy); font-size: 22px; }

/* Aviso flotante */
.aviso { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; max-width: min(560px, calc(100vw - 32px)); box-shadow: 0 10px 30px rgba(18,32,63,.25); transition: all .25s; z-index: 60; }
.aviso.visible { opacity: 1; transform: translate(-50%, 0); }
.aviso.error { background: #a8001f; }

/* Panel de Capital Humano: menú a la izquierda, contenido a la derecha */
.herramienta { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; max-width: 1320px; margin: 0 auto; padding: 22px 24px 60px; align-items: start; }
.menu-lateral { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 2px; }
.menu-lateral a { padding: 9px 12px; border-radius: 9px; color: var(--muted); font-weight: 600; text-decoration: none; }
.menu-lateral a:hover { background: #e4e9f2; color: var(--ink); }
.menu-lateral a.activo { background: var(--surface); color: var(--navy); box-shadow: 0 1px 2px rgba(18,32,63,.06); }
.contenido { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; min-width: 0; }
.filtros { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.titulo-parte { font-size: 20px; margin-bottom: 10px; }
.titulo-con-boton { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tabla.hipotesis td { font-size: 13px; }
.detalle-cuenta { padding: 6px 4px; }
.columnas { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 26px; }
.columnas h3 { margin-top: 4px; }
.formulario-cuenta { border: 1.5px solid var(--blue); }
.formulario-cuenta h3 { margin-top: 0; }
.selector-franquicias { display: flex; flex-direction: column; gap: 8px; }
.elegidas { display: flex; gap: 6px; flex-wrap: wrap; }
.chip.quitar { background: #e3f2fb; color: #004f75; display: inline-flex; align-items: center; gap: 4px; }
.chip.quitar button { border: none; background: none; cursor: pointer; font-weight: 700; color: inherit; padding: 0 2px; }
.resultados-busqueda { display: flex; flex-direction: column; max-height: 260px; overflow: auto; }
.resultado { text-align: left; background: none; border: none; border-bottom: 1px solid var(--line); padding: 7px 4px; cursor: pointer; font-size: 13px; }
.resultado:hover { background: var(--soft); }
.resultado.grupo { color: var(--blue); font-weight: 600; }
.barras { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.barra-fila { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(80px, 3fr) auto auto; gap: 10px; align-items: center; font-size: 13px; }
.barra-rotulo { overflow: hidden; text-overflow: ellipsis; }
.barra-pista { background: #eef1f7; border-radius: 99px; height: 10px; overflow: hidden; }
.barra-valor { display: block; height: 100%; background: var(--blue); border-radius: 99px; }
.barra-num { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 3.5em; text-align: right; }
.barra-n { font-size: 11.5px; }
ul.textos { padding-left: 18px; }
ul.textos li { margin-bottom: 6px; }
ul.descargas { list-style: none; padding: 0; }
ul.descargas li { margin-bottom: 10px; color: var(--muted); }
.texto-calculo p { max-width: 75ch; }
.texto-largo { white-space: pre-wrap; }

/* Celular */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .col-resumen { position: static; order: -1; }
  .herramienta { grid-template-columns: 1fr; padding: 14px 16px 40px; }
  .menu-lateral { position: static; flex-direction: row; overflow-x: auto; gap: 4px; padding-bottom: 4px; }
  .menu-lateral a { white-space: nowrap; }
  .columnas { grid-template-columns: 1fr; }
  .contenido { padding: 16px; overflow-x: auto; }
}
@media (max-width: 720px) {
  .topbar { padding: 10px 16px; }
  .marca .logo { width: 38px; height: 38px; }
  .marca p { display: none; }
  .app { padding: 16px 16px 48px; }
  .card { padding: 18px 16px; }
  .item-fila { grid-template-columns: 1fr; gap: 10px; }
  .escala button { width: 44px; height: 44px; }
  .tabla.equipo thead { display: none; }
  .tabla.equipo tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .tabla.equipo td { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border: none; text-align: left; }
  .tabla.equipo td:first-child { display: block; padding-bottom: 6px; }
  .cifras { gap: 20px; }
  .tabla.equipo td[data-titulo]::before { content: attr(data-titulo); color: var(--muted); font-size: 12px; font-weight: 600; }
  .tabla.equipo td.acciones { justify-content: flex-start; padding-top: 8px; }
  .tabla.equipo tr.detalle td { display: block; }
  .encuesta-equipo, .encuesta-cta { flex-direction: column; align-items: flex-start; }
  .barra-fila { grid-template-columns: minmax(0, 1fr) auto; }
  .barra-pista { grid-column: 1 / -1; grid-row: 2; }
  .frase { font-size: 16px; }
}

/* Impresión: la valoración en papel o PDF para la charla de feedback */
@media print {
  body { background: #fff; font-size: 12px; }
  .topbar { position: static; box-shadow: none; background: #fff; color: var(--ink); border-bottom: 2px solid var(--navy); }
  .marca h1 { color: var(--navy); }
  .marca p { color: var(--muted); display: block; }
  .topbar-der, .acciones-resumen, .btn-texto, .botones, .estado-guardado, .aviso { display: none !important; }
  .app { padding: 10px 0; max-width: none; }
  .layout { grid-template-columns: 1fr; }
  .col-resumen { position: static; order: -1; }
  .card { box-shadow: none; break-inside: avoid; }
  .competencia { break-inside: avoid; }
  .resumen-card .gauge { max-width: 240px; margin: 0 auto; }
}
