/* Gestión de equipo, pasada de experiencia de uso, tanda 2 (02/12/2026): Columnas y colores del tablero.
   Decisiones de Fable: output/ux-gestion-equipo-20261202/decisiones-colores-columnas.md.
   Solo colores de la paleta de marca y las variables del módulo. Los colores que elige el cliente llegan desde el JS en
   variables (--co-color, --co-bg, --co-tx, --co-tx-bg, --co-tinte y --co-m); ninguno vive en esta hoja.
   Movimiento solo con transition y como respuesta al gesto (abrir el panel, elegir); con reducir movimiento, ninguno. */

/* ---------- Apartado 3: tinta calculada de la cabecera y del texto de columna vacía ---------- */
html .co-shell.co-page .co-column h3,
html .co-shell.co-page .co-col-prev b{color:var(--co-tx,#0B1B33)!important;-webkit-text-fill-color:var(--co-tx,#0B1B33)}
html .co-shell.co-page .co-column h3 small{opacity:1;font-weight:600}
html .co-shell.co-page .co-col-empty{color:var(--co-tx-bg,#607089)!important;-webkit-text-fill-color:var(--co-tx-bg,#607089);border-color:color-mix(in srgb,var(--co-tx-bg,#607089) 35%,transparent)}
/* En oscuro sigue el hallazgo 41 (blanco hielo sobre el color al 30 %) y se añade la línea con el color entero */
html[data-ot-theme=dark] .co-shell.co-page .co-column h3,
html[data-ot-theme=dark] .co-shell.co-page .co-col-prev b{box-shadow:inset 0 3px 0 var(--co-color)}
html[data-ot-theme=dark] .co-shell.co-page .co-col-empty{color:var(--c-muted)!important;-webkit-text-fill-color:var(--c-muted)}
/* Puntos de la Tabla y del Resumen y barras del Informe: un aro que se ve en los dos temas */
html .co-shell.co-page .co-dot:before,html .co-shell.co-page .co-lic-col i,html .co-shell.co-page .co-report i{box-shadow:inset 0 0 0 1px #0B1B3373;forced-color-adjust:none}
html[data-ot-theme=dark] .co-shell.co-page .co-dot:before,html[data-ot-theme=dark] .co-shell.co-page .co-lic-col i,
html[data-ot-theme=dark] .co-shell.co-page .co-report i{box-shadow:inset 0 0 0 1px #F4F8FF59}

/* ---------- Apartado 5: la lista (Nombre, Color, Así se verá y eliminar) y el panel, debajo a todo el ancho ---------- */
html .co-shell.co-page .co-t2-form .co-col-head,
html .co-shell.co-page .co-t2-form .co-col-edit{grid-template-columns:minmax(0,1fr) 220px 180px 40px;column-gap:12px}
html .co-shell.co-page .co-t2-form .co-col-edit{grid-template-areas:"nombre color prev quitar" "panel panel panel panel";row-gap:0;align-items:center;scroll-margin:88px 0 120px}
html .co-shell.co-page .co-t2-form .co-t2-lista{display:grid;gap:12px;min-width:0}
html .co-shell.co-page .co-t2-form .co-col-edit>input{grid-area:nombre;min-width:0;width:100%}
html .co-shell.co-page .co-t2-form .co-col-edit>.co-t2-boton{grid-area:color}
html .co-shell.co-page .co-t2-form .co-col-edit>.co-col-prev{grid-area:prev;display:block;cursor:pointer;transition:background-color .15s}
html .co-shell.co-page .co-t2-form .co-col-prev b{transition:background-color .15s,color .15s}
html .co-shell.co-page .co-t2-form .co-col-edit>.co-t2-panel{grid-area:panel;min-width:0}
html .co-shell.co-page .co-t2-form .co-col-edit>[data-remove]{grid-area:quitar;width:40px;min-width:40px;height:40px;min-height:40px}
html .co-shell.co-page .co-t2-form [aria-disabled=true]{opacity:.45;cursor:not-allowed}
html .co-shell.co-page .co-t2-form .co-col-edit>[data-remove][aria-disabled=true]:hover{color:var(--c-muted);background:none}
html .co-shell.co-page .co-t2-form .co-t2-estado{display:flex;align-items:center;flex-wrap:wrap;gap:4px 6px;margin:0;font:600 13px/1.4 var(--c-font);color:var(--c-ink)}
html .co-shell.co-page .co-t2-form .co-t2-estado:empty{display:none}

/* Botón de color de la fila: círculo, nombre de la muestra (o Personalizado) y flecha, con el borde de los campos */
html .co-shell.co-page .co-t2-form .co-t2-boton{justify-content:flex-start;gap:8px;width:100%;min-width:0;height:40px;min-height:40px;padding:0 10px 0 9px;border:1px solid var(--c-line);border-radius:10px;background:var(--c-sf);color:var(--c-ink);font:600 13px/1.2 var(--c-font);text-align:left;box-shadow:none}
html[data-ot-theme=dark] .co-shell.co-page .co-t2-form .co-t2-boton{color:var(--c-ink)!important}
html .co-shell.co-page .co-t2-form .co-t2-boton>span{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html .co-shell.co-page .co-t2-form .co-t2-circulo{flex:none;width:22px;height:22px;border-radius:50%;background:var(--co-color);box-shadow:inset 0 0 0 1px #0B1B3359;forced-color-adjust:none;transition:background-color .15s}
html .co-shell.co-page .co-t2-form .co-t2-flecha{color:var(--c-muted);transition:transform .2s}
html .co-shell.co-page .co-t2-form .co-t2-boton[aria-expanded=true]{border-color:var(--c-pline)}
html .co-shell.co-page .co-t2-form .co-t2-boton[aria-expanded=true] .co-t2-flecha{transform:rotate(180deg)}

/* Panel plegado: se despliega con altura y opacidad en 0,2 s; cerrado no recibe el foco */
html .co-shell.co-page .co-t2-form .co-t2-panel{display:grid;grid-template-rows:0fr;opacity:0;visibility:hidden;transition:grid-template-rows .2s ease,opacity .2s ease,visibility 0s linear .2s}
html .co-shell.co-page .co-t2-form .co-t2-abierta>.co-t2-panel{grid-template-rows:1fr;opacity:1;visibility:visible;transition:grid-template-rows .2s ease,opacity .2s ease,visibility 0s}
html .co-shell.co-page .co-t2-form .co-t2-panel-in{min-height:0;min-width:0;overflow:hidden}
html .co-shell.co-page .co-t2-form .co-t2-caja{display:grid;gap:14px;margin-top:10px;padding:14px 16px;background:var(--c-sf2);border:1px solid var(--c-line);border-radius:16px;min-width:0}
html .co-shell.co-page .co-t2-form .co-t2-tit{font:600 12px/1.3 var(--c-font);color:var(--c-muted)}

/* Muestras: dos bloques uno al lado del otro; círculo de 24 px en un blanco de 32 */
html .co-shell.co-page .co-t2-form .co-t2-grupo{display:grid;grid-template-columns:repeat(2,max-content);gap:12px 40px;align-items:start;min-width:0}
html .co-shell.co-page .co-t2-form .co-t2-bloque{display:grid;gap:6px;min-width:0}
html .co-shell.co-page .co-t2-form .co-t2-ms{display:grid;grid-template-columns:repeat(var(--n,6),32px);gap:2px 4px}
html .co-shell.co-page .co-t2-form .co-t2-m{position:relative;display:grid;place-items:center;width:32px;height:32px;margin:0;padding:0;cursor:pointer}
html .co-shell.co-page .co-t2-form :is(.co-t2-m,.co-t2-otro-op) input{position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;padding:0;border:0;opacity:0;cursor:pointer}
html .co-shell.co-page .co-t2-form .co-t2-m i{display:block;width:24px;height:24px;border-radius:50%;background:var(--co-m);box-shadow:inset 0 0 0 1px #0B1B3359;forced-color-adjust:none;transition:box-shadow .15s}
html .co-shell.co-page .co-t2-form .co-t2-m input:checked+i{box-shadow:inset 0 0 0 1px #0B1B3359,0 0 0 2px var(--c-sf2),0 0 0 4px var(--c-pri)}
html .co-shell.co-page .co-t2-form :is(.co-t2-m,.co-t2-otro-op) input:focus-visible+i{outline:2px solid var(--c-focus);outline-offset:5px}

/* Otro color: la última opción del grupo, con el selector del navegador y el campo de código debajo */
html .co-shell.co-page .co-t2-form .co-t2-otro-op{grid-column:1/-1;position:relative;display:inline-flex;align-items:center;gap:8px;width:max-content;max-width:100%;min-height:32px;margin:0;padding:0 8px 0 4px;cursor:pointer;font:600 12px/1.3 var(--c-font);color:var(--c-muted)}
html .co-shell.co-page .co-t2-form .co-t2-otro-op i{display:block;flex:none;box-sizing:border-box;width:24px;height:24px;border:1.5px dashed var(--c-muted);border-radius:50%;forced-color-adjust:none;transition:box-shadow .15s}
html .co-shell.co-page .co-t2-form .co-t2-otro-op input:checked+i{border:0;background:var(--co-color);box-shadow:inset 0 0 0 1px #0B1B3359,0 0 0 2px var(--c-sf2),0 0 0 4px var(--c-pri)}
html .co-shell.co-page .co-t2-form .co-t2-otro-op input:checked~span{color:var(--c-ink)}
html .co-shell.co-page .co-t2-form .co-t2-grupo+.co-t2-libre{margin-top:-6px}
html .co-shell.co-page .co-t2-form .co-t2-libre{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}
html .co-shell.co-page .co-t2-form .co-t2-libre[hidden]{display:none}
html .co-shell.co-page .co-t2-form .co-t2-libre input[type=color]{box-sizing:border-box;flex:none;width:40px;height:40px;min-height:40px;margin:0;padding:4px;border:1px solid var(--c-line);border-radius:10px;background:var(--c-sf);cursor:pointer}
html .co-shell.co-page .co-t2-form .co-t2-libre input[type=color]::-webkit-color-swatch-wrapper{padding:0}
html .co-shell.co-page .co-t2-form .co-t2-libre input[type=color]::-webkit-color-swatch{border:0;border-radius:6px;box-shadow:inset 0 0 0 1px #0B1B3359}
html .co-shell.co-page .co-t2-form .co-t2-libre input[type=color]::-moz-color-swatch{border:0;border-radius:6px}
html .co-shell.co-page .co-t2-form .co-t2-libre input[type=text]{flex:0 0 132px;width:132px;height:40px;min-height:40px;font-variant-numeric:tabular-nums}
html .co-shell.co-page .co-t2-form .co-t2-libre input[aria-invalid=true]{border-color:var(--c-bad)}
html .co-shell.co-page .co-t2-form .co-t2-error{flex:0 0 100%;margin:0;font:600 12px/1.4 var(--c-font);color:var(--c-bad-ink)}
html .co-shell.co-page .co-t2-form .co-t2-error[hidden]{display:none}

/* Fondo de la columna: Claro, A juego u Otro color, con el control segmentado del módulo */
html .co-shell.co-page .co-t2-form .co-t2-fondo{display:grid;gap:8px;justify-items:start;min-width:0}
html .co-shell.co-page .co-t2-form .co-t2-fondo .co-seg{max-width:100%}
html .co-shell.co-page .co-t2-form .co-t2-fondo .co-seg label{position:relative}
html .co-shell.co-page .co-t2-form .co-t2-fondo .co-seg input[type=radio]{inset:0;width:100%!important;height:100%!important;min-height:0;margin:0;padding:0;border:0}
html .co-shell.co-page .co-t2-form .co-t2-nota{display:none;margin:0;font:500 12px/1.45 var(--c-font);color:var(--c-muted)}
html[data-ot-theme=dark] .co-shell.co-page .co-t2-form .co-t2-nota{display:block}
html[data-ot-theme=dark] .co-shell.co-page .co-t2-form :is(.co-t2-m i,.co-t2-circulo){box-shadow:inset 0 0 0 1px #F4F8FF59}
html[data-ot-theme=dark] .co-shell.co-page .co-t2-form .co-t2-m input:checked+i,
html[data-ot-theme=dark] .co-shell.co-page .co-t2-form .co-t2-otro-op input:checked+i{box-shadow:inset 0 0 0 1px #F4F8FF59,0 0 0 2px var(--c-sf2),0 0 0 4px var(--c-pri)}

/* ---------- Móvil: nombre y eliminar en la primera línea; botón de color y vista previa en la segunda ---------- */
@media(max-width:760px){
  html .co-shell.co-page .co-t2-form .co-col-edit{grid-template-columns:minmax(0,1fr) 72px 40px;grid-template-areas:"nombre nombre quitar" "color prev prev" "panel panel panel";column-gap:8px}
  html .co-shell.co-page .co-t2-form .co-col-edit>:is(.co-t2-boton,.co-col-prev){margin-top:8px}
  html .co-shell.co-page .co-t2-form .co-t2-grupo{grid-template-columns:minmax(0,1fr)}
  html .co-shell.co-page .co-t2-form .co-t2-caja{padding:12px}
}
@media(max-width:760px),(pointer:coarse){
  html .co-shell.co-page .co-t2-form .co-t2-ms{grid-template-columns:repeat(var(--n,6),40px);gap:0 4px}
  html .co-shell.co-page .co-t2-form .co-t2-m{width:40px;height:40px}
  html .co-shell.co-page .co-t2-form .co-t2-m i,html .co-shell.co-page .co-t2-form .co-t2-otro-op i{width:28px;height:28px}
  html .co-shell.co-page .co-t2-form .co-t2-otro-op{min-height:40px}
  html .co-shell.co-page .co-t2-form .co-t2-fondo .co-seg label{height:40px;min-height:40px}
}
@media(prefers-reduced-motion:reduce){
  html .co-shell.co-page .co-t2-form :is(.co-t2-panel,.co-t2-flecha,.co-t2-circulo,.co-t2-m i,.co-t2-otro-op i,.co-col-prev,.co-col-prev b){transition:none!important}
}
