/*
 * Kit · el patrón de las pantallas de trabajo del admin (Negocio y las que sigan). 21/10/2026.
 * El dueño, sobre la versión anterior: «esto… es un insulto». El patrón (aprobado en el mockup
 * E2YbyC43qJcy8X2fHKowKh): menú de secciones a la izquierda, encabezado con la acción principal
 * arriba a la derecha, números clave arriba, listas en filas, el detalle en un panel al costado,
 * los caminos por pasos como tablero, lo urgente con un punto de color y la configuración en paneles.
 *
 * Hoja aparte, sin compilar: los colores salen de las variables del tema del Hub (claro y oscuro),
 * así que el modo oscuro se hereda. El azul de marca es #0077b6 (MARCA.md); en oscuro, #7cc7ee.
 * Las piezas que la usan están en resources/views/components/ui (espacio, encabezado, numeros,
 * lista, fila, maestro, panel, tablero, paso, tarjeta, chips, vistas, mosaicos, mosaico, rapido).
 *
 * Anchos: 1280 y 768 con el menú a la izquierda (desde 900); por debajo de 900 el menú pasa a una
 * fila de botones que baja de línea, el panel del elegido va ARRIBA de la lista y el tablero se
 * apila. Todo lo que se toca mide 44 en el teléfono.
 */

:root { --ws-azul: #0077b6; --ws-azul-suave: rgba(0, 119, 182, .09); --ws-rojo: #D92D20; --ws-naranja: #F79009; --ws-gris: #98A2B3; --ws-verde: #12B76A; }
.dark { --ws-azul: #7cc7ee; --ws-azul-suave: rgba(0, 119, 182, .22); }
.ws-esp { display: flex; gap: 28px; align-items: flex-start; }

/* ── Menú de secciones ── */
.ws-esp__menu { flex: none; width: 212px; position: sticky; top: 88px; display: flex; flex-direction: column; gap: 2px; }
.ws-esp__titulo { margin: 0 12px 10px; font-size: 15px; font-weight: 700; }
.ws-esp__item { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 42px; padding: 0 12px; border-radius: 10px;
  font-size: 14px; color: inherit; text-decoration: none; }
.ws-esp__item:hover { background: var(--color-muted, #f3f4f6); }
.ws-esp__item[aria-current] { background: var(--ws-azul-suave); color: var(--ws-azul); font-weight: 600; }
.ws-esp__cuenta { font-size: 12px; font-weight: 600; color: var(--color-muted-foreground, #6b7280); }
.ws-esp__cuenta--ojo { color: #fff; background: var(--ws-azul); border-radius: 10px; padding: 1px 8px; }
.dark .ws-esp__cuenta--ojo { color: #0b1220; }
.ws-esp__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 22px; }

/* ── Encabezado: título, para qué sirve, la acción principal a la derecha ── */
.ws-enc { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ws-enc__t { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.ws-enc__s { margin: 4px 0 0; font-size: 14px; color: var(--color-muted-foreground, #6b7280); overflow-wrap: anywhere; }
.ws-enc__acc { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── Títulos de sección ── */
.ws-sec { margin: 0 0 10px; font-size: 15px; font-weight: 700; }
.ws-sec__n { font-weight: 500; color: var(--color-muted-foreground, #6b7280); }

/* ── Números clave ── */
.ws-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.ws-num { background: var(--color-card, #fff); border: 1px solid var(--color-border, #e5e7eb); border-radius: 12px; padding: 14px 16px; min-width: 0; }
.ws-num__l { margin: 0; font-size: 12px; color: var(--color-muted-foreground, #6b7280); overflow-wrap: anywhere; }
.ws-num__v { margin: 4px 0 0; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ws-num__c { margin: 2px 0 0; font-size: 12px; color: var(--color-muted-foreground, #6b7280); overflow-wrap: anywhere; }
/* Kit · interruptor (x-ui.interruptor): una celda de la franja de números con el estado en grande y su botón abajo. */
.ws-interruptor { display: flex; flex-direction: column; }
.ws-interruptor--prendido { border-top: 4px solid var(--ws-verde); }
.ws-interruptor__v { display: flex; align-items: center; gap: 8px; }
.ws-interruptor__f { margin-top: auto; padding-top: 10px; }
.ws-interruptor__f .ws-btn { width: 100%; justify-content: center; }

/* ── Lista en filas ── */
.ws-lista { background: var(--color-card, #fff); border: 1px solid var(--color-border, #e5e7eb); border-radius: 14px; overflow: hidden; min-width: 0; }
.ws-lista__cab { display: flex; justify-content: space-between; gap: 12px; padding: 10px 18px; font-size: 12px; font-weight: 600;
  color: var(--color-muted-foreground, #6b7280); background: var(--color-muted, #f9fafb); border-bottom: 1px solid var(--color-border, #e5e7eb); }
.ws-lista__pie { padding: 10px 18px; font-size: 13px; color: var(--color-muted-foreground, #6b7280); border-top: 1px solid var(--color-border, #e5e7eb); }
.ws-lista__vacia { padding: 18px; font-size: 14px; color: var(--color-muted-foreground, #6b7280); }
.ws-fila { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; min-height: 56px; padding: 10px 18px; color: inherit; text-decoration: none;
  border-top: 1px solid var(--color-border, #e5e7eb); }
.ws-lista > .ws-fila:first-child, .ws-lista__cab + .ws-fila { border-top: 0; }
a.ws-fila:hover { background: var(--color-muted, #f6f7f9); }
.ws-fila[aria-current] { background: var(--ws-azul-suave); box-shadow: inset 3px 0 0 var(--ws-azul); }
.ws-fila__punto { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ws-gris); }
.ws-fila__punto--rojo { background: var(--ws-rojo); } .ws-fila__punto--naranja { background: var(--ws-naranja); }
.ws-fila__punto--verde { background: var(--ws-verde); } .ws-fila__punto--azul { background: var(--ws-azul); }
/* Con punto: el punto cuelga a la izquierda del título, a su altura, y todo el texto de la fila (título, detalle y lo que baja
   de línea, como la fecha) arranca en la misma vertical (31/10/2026). */
.ws-fila--punto { padding-left: 42px; }
.ws-fila__t { position: relative; }
.ws-fila__t > .ws-fila__punto { position: absolute; left: -24px; top: 5px; }
/* En una lista donde algunas filas llevan punto y otras no, todas arrancan en la misma vertical (01/11/2026). */
.ws-lista:has(.ws-fila--punto) > .ws-fila:not(.ws-fila--punto) { padding-left: 42px; }
/* La leyenda de los puntos de una lista: qué quiere decir cada color. */
.ws-leyenda { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--color-muted-foreground, #6b7280); }
.ws-leyenda > span { display: inline-flex; align-items: center; gap: 6px; }
.ws-fila__txt { flex: 1 1 220px; min-width: 0; }
.ws-fila__t { display: block; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.ws-fila__s { display: block; margin-top: 2px; font-size: 13px; color: var(--color-muted-foreground, #6b7280); overflow-wrap: anywhere; }
/* El dato de la derecha puede achicarse y bajar de renglón: con «flex: none» un dato largo («2 propuestas · 1 hecha sola · 123
   descartadas», Cerebro, 07/11/2026) se salía 9 px del borde de la lista en el teléfono. */
.ws-fila__meta { flex: 0 1 auto; min-width: 0; overflow-wrap: anywhere; font-size: 13px; color: var(--color-muted-foreground, #6b7280); }
.ws-fila__acc { flex: none; font-size: 13px; font-weight: 600; color: var(--ws-azul); }
.ws-fila__fin { flex: none; display: flex; flex-wrap: wrap; gap: 6px; }
/* Algo pasando AHORA con la fila (prop proceso del kit): se tiñe, barra azul y píldora llena con un círculo que gira. */
.ws-fila--proceso, a.ws-fila--proceso:hover { background: var(--ws-azul-suave); box-shadow: inset 4px 0 0 var(--ws-azul); }
.ws-fila__proceso { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 4px 12px; border-radius: 999px;
  background: var(--ws-azul); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
.dark .ws-fila__proceso { color: #0b1220; }
.ws-fila__giro { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: ws-fila-giro .8s linear infinite; }
@keyframes ws-fila-giro { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ws-fila__giro { animation: none; border-right-color: currentColor; opacity: .7; } }

/* ── Área de negocio de una propuesta: una etiqueta de color por área (como las etiquetas de Linear) ── */
.ws-area { display: inline-flex; align-items: center; width: fit-content; padding: 1px 9px; border-radius: 999px; font-size: 12px; line-height: 20px;
  font-weight: 600; background: var(--color-muted, #f3f4f6); color: var(--color-foreground, #111827); }
.ws-area--contenido  { background: #e0f0fa; color: #075985; }
.ws-area--recuperar  { background: #fdf0dc; color: #92400e; }
.ws-area--conversion { background: #dcf5e6; color: #166534; }
.ws-area--canales    { background: #fbe4f0; color: #9d174d; }
.ws-area--agencias   { background: #dff4f1; color: #115e59; }
.ws-area--mercado    { background: #ece8fb; color: #5b21b6; }
.ws-area--soporte    { background: #e6eefc; color: #1e3a8a; }
.dark .ws-area--contenido  { background: rgb(56 189 248 / .16); color: #7dd3fc; }
.dark .ws-area--recuperar  { background: rgb(251 191 36 / .16); color: #fcd34d; }
.dark .ws-area--conversion { background: rgb(74 222 128 / .16); color: #86efac; }
.dark .ws-area--canales    { background: rgb(244 114 182 / .16); color: #f9a8d4; }
.dark .ws-area--agencias   { background: rgb(45 212 191 / .16); color: #5eead4; }
.dark .ws-area--mercado    { background: rgb(167 139 250 / .18); color: #c4b5fd; }
.dark .ws-area--soporte    { background: rgb(96 165 250 / .16); color: #bfdbfe; }
.ws-fila__txt > .ws-area { display: flex; margin-bottom: 4px; }
/* Proveedores de IA (Negocio → Consumo de IA, 02/11/2026: «diferenciarlos mejor… así no lo veo»): cada uno con su color. */
.ws-area--anthropic { background: #fbe9df; color: #9a3412; }
.ws-area--openai    { background: #dcf3ea; color: #065f46; }
.ws-area--gemini    { background: #e3ecfc; color: #1e40af; }
.dark .ws-area--anthropic { background: rgb(251 146 60 / .18); color: #fdba74; }
.dark .ws-area--openai    { background: rgb(52 211 153 / .16); color: #6ee7b7; }
.dark .ws-area--gemini    { background: rgb(96 165 250 / .18); color: #93c5fd; }
.ws-fila__marcas { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.ws-fila__marcas .ws-area, .ws-tabla .ws-area { white-space: nowrap; overflow-wrap: normal; }
.ws-tabla .ws-fila__marcas { margin-bottom: 0; }
/* Los modelos de IA, cada uno con su color; Opus (el más caro) lleno para que salte a la vista. */
.ws-area--opus   { background: #5b21b6; color: #fff; font-weight: 600; }
.ws-area--sonnet { background: #dbeafe; color: #1e40af; font-weight: 600; }
.ws-area--haiku  { background: #ccfbf1; color: #115e59; font-weight: 600; }
.ws-area--gpt    { background: #e5e7eb; color: #111827; font-weight: 600; }
.ws-area--imagen { background: #fce7f3; color: #9d174d; font-weight: 600; }
.dark .ws-area--opus   { background: #7c3aed; color: #fff; }
.dark .ws-area--sonnet { background: rgb(96 165 250 / .2); color: #bfdbfe; }
.dark .ws-area--haiku  { background: rgb(45 212 191 / .18); color: #99f6e4; }
.dark .ws-area--gpt    { background: rgb(229 231 235 / .14); color: #e5e7eb; }
.dark .ws-area--imagen { background: rgb(244 114 182 / .16); color: #f9a8d4; }
.ws-num--anthropic { border-top: 4px solid #ea580c; }
.ws-num--openai    { border-top: 4px solid #059669; }
.ws-num--gemini    { border-top: 4px solid #2563eb; }

/* ── Tarea con casilla (Pendientes): la casilla de shadcn/basecoat, con 44 de área para el dedo ── */
.ws-tarea { display: flex; align-items: center; gap: 4px 10px; min-height: 56px; padding: 6px 12px 6px 6px; border-top: 1px solid var(--color-border, #e5e7eb); }
.ws-lista > .ws-tarea:first-child, .ws-lista__cab + .ws-tarea { border-top: 0; }
.ws-tarea[aria-current] { background: var(--ws-azul-suave); box-shadow: inset 3px 0 0 var(--ws-azul); }
.ws-tarea__marca { flex: none; margin: 0; }
.ws-tarea__casilla { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: none; border: 0; cursor: pointer; }
.ws-tarea__casilla:hover { background: var(--color-muted, #f3f4f6); }
.ws-tarea__cuadro { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--color-muted-foreground, #9ca3af);
  color: #fff; background: transparent; }
.ws-tarea--hecha .ws-tarea__cuadro { background: var(--ws-azul); border-color: var(--ws-azul); }
.ws-tarea__txt { flex: 1 1 200px; min-width: 0; padding: 6px 0; color: inherit; text-decoration: none; }
a.ws-tarea__txt:hover .ws-tarea__t { text-decoration: underline; }
.ws-tarea__t { display: block; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.ws-tarea--hecha .ws-tarea__t { font-weight: 500; text-decoration: line-through; color: var(--color-muted-foreground, #6b7280); }
.ws-tarea .ws-fila__fin .btn-ghost { width: 44px; padding: 0; justify-content: center; }

/* ── Lista + panel del elegido ── */
.ws-md { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.ws-md__lista { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ws-md__panel { flex: 1 1 320px; max-width: 420px; min-width: 0; }
.ws-md--ancho .ws-md__panel { max-width: 560px; }
/* Bandeja: la lista angosta a la izquierda y lo elegido ancho a la derecha, para leer (21/10/2026: «se
   despliega una columna finita a la derecha»). El texto del elegido no pasa de un ancho cómodo de leer. */
.ws-md--bandeja .ws-md__lista { flex: 1 1 300px; max-width: 380px; }
.ws-md--bandeja .ws-md__panel { flex: 999 1 460px; max-width: none; }
/* Varios grupos en la columna de una bandeja: una pila; cada grupo conserva su alto (una lista recorta su contenido, y en una
   grilla de alto fijo se achicaba hasta cortar filas). */
.ws-md__grupos { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ws-md__grupos > * { flex: none; }
/* El texto del panel de la bandeja usa todo su ancho (31/10/2026: «todo el contenido aproveche siempre el ancho»). */
/* Bandeja de alto fijo, como un cliente de correo (22/10/2026: «todo ese espacio vacío… un error de diseño garrafal»):
   en pantallas de 900 o más ocupa el alto de la ventana, la lista se desplaza por dentro y el elegido llena la misma
   altura con su botón de decidir abajo. Nunca queda una columna larga al lado de un panel corto. */
turbo-frame#ws-bandeja, turbo-frame#ws-cajon { display: block; }
@media (min-width: 900px) {
  /* El alto lo termina de ajustar x-ui.espacio con --ws-bandeja-top (dónde empieza la bandeja): así termina justo en el
     borde inferior de la ventana y el botón de decidir queda siempre a la vista. */
  .ws-md--bandeja { flex-wrap: nowrap; align-items: stretch; height: max(440px, calc(100vh - var(--ws-bandeja-top, 210px) - 24px)); }
  .ws-md--bandeja .ws-md__lista { gap: 0; min-height: 0; }
  .ws-md--bandeja .ws-md__lista > .ws-lista { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
  /* Una bandeja con varios grupos (Cerebro: «Para aprobar» y «Cómo terminó», 07/11/2026): la columna entera se desplaza;
     sin esto los grupos se salían de la bandeja y quedaban encima de las secciones de abajo. */
  .ws-md--bandeja .ws-md__lista > .ws-md__grupos { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-right: 2px; }
  .ws-md--bandeja .ws-md__panel { display: flex; min-height: 0; }
  .ws-md--bandeja .ws-panel { position: static; flex: 1 1 auto; max-height: none; height: 100%; overflow-y: auto; }
  .ws-md--bandeja .ws-panel__pie { margin-top: auto; }
}
/* El texto de un correo dentro del panel: párrafos con su aire, como se va a leer (no un renglón vacío por salto). */
.ws-correo { display: grid; gap: 10px; }
.ws-correo p { margin: 0; }
.ws-correo a { color: var(--ws-azul, #0077b6); overflow-wrap: anywhere; }
/* Mientras Turbo trae lo siguiente, lo actual se atenúa apenas: el clic responde en el acto. */
turbo-frame[aria-busy="true"] .ws-md__panel { opacity: .55; transition: opacity .12s ease; }
.turbo-progress-bar { height: 2px; background: var(--ws-azul, #0077b6); }

/* ── Panel al costado ── */
.ws-panel { background: var(--color-card, #fff); border: 1px solid var(--color-border, #e5e7eb); border-radius: 14px; padding: 18px 20px;
  display: flex; flex-direction: column; gap: 14px; position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow: auto; box-sizing: border-box; }
.ws-panel__cab { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ws-panel__t { margin: 0; font-size: 17px; line-height: 1.35; font-weight: 700; overflow-wrap: anywhere; }
.ws-panel__s { margin: 3px 0 0; font-size: 13px; color: var(--color-muted-foreground, #6b7280); overflow-wrap: anywhere; }
.ws-panel__cerrar { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: -8px -10px 0 0; border-radius: 10px;
  color: var(--color-muted-foreground, #6b7280); text-decoration: none; }
.ws-panel__cerrar:hover { background: var(--color-muted, #f3f4f6); }
.ws-panel__sec { display: flex; flex-direction: column; gap: 6px; }
/* Varias secciones que van juntas en un formulario: el mismo aire que entre secciones sueltas del panel. */
.ws-panel__grupo { display: flex; flex-direction: column; gap: 14px; }
.ws-panel__l { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--color-muted-foreground, #6b7280); }
.ws-panel__txt { margin: 0; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; white-space: pre-line; }
/* Las acciones quedan siempre a la vista, al pie del panel, aunque el contenido sea largo. */
.ws-panel__pie { display: flex; flex-wrap: wrap; gap: 8px; position: sticky; bottom: -18px; margin: 0 -20px -18px; padding: 12px 20px 16px;
  background: var(--color-card, #fff); border-top: 1px solid var(--color-border, #e5e7eb); }
.ws-burbuja { background: var(--color-muted, #f8fafc); border: 1px solid var(--color-border, #eef2f6); border-radius: 10px; padding: 12px; }
.ws-burbuja--suya { background: var(--ws-azul-suave); }

/* ── Tablero por pasos ── */
/* Las columnas se acomodan al ancho: 4 a lo ancho, menos si el panel está abierto; nunca más angostas que un nombre. */
.ws-tablero { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; align-items: start; }
.ws-paso { background: var(--color-muted, #eef1f5); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ws-paso__t { margin: 2px 4px 2px; font-size: 13px; font-weight: 700; }
.ws-paso__vacio { margin: 2px 4px 4px; font-size: 12px; line-height: 1.5; color: var(--color-muted-foreground, #6b7280); }
.ws-tarjeta { display: block; min-height: 44px; background: var(--color-card, #fff); border: 1px solid var(--color-border, #e5e7eb); border-radius: 10px;
  padding: 10px 12px; color: inherit; text-decoration: none; box-sizing: border-box; }
.ws-tarjeta:hover { border-color: var(--ws-azul); }
.ws-tarjeta[aria-current] { border: 2px solid var(--ws-azul); padding: 9px 11px; }
.ws-tarjeta--aviso { border-style: dashed; border-color: var(--ws-naranja); }
.ws-tarjeta__t { display: block; font-size: 14px; font-weight: 600; overflow-wrap: break-word; }
.ws-tarjeta__s { display: block; margin-top: 2px; font-size: 12px; color: var(--color-muted-foreground, #6b7280); overflow-wrap: anywhere; }

/* ── Filtros (chips) y vistas (pestañas internas) ── */
.ws-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ws-chips__l { font-size: 13px; color: var(--color-muted-foreground, #6b7280); }
.ws-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 13px; border: 1px solid var(--color-border, #e5e7eb); border-radius: 18px;
  background: var(--color-card, #fff); color: inherit; font-size: 13px; font-weight: 500; text-decoration: none; }
.ws-chip[aria-current] { border-color: var(--ws-azul); background: var(--ws-azul-suave); color: var(--ws-azul); }
.ws-vistas { display: flex; flex-wrap: wrap; gap: 2px; border-bottom: 1px solid var(--color-border, #e5e7eb); }
/* Dentro de una sección (Hoy → Para decidir) no hay separación del espacio: aire propio bajo la línea (21/10/2026: «pegada a todo el contenido de abajo»). */
section > .ws-vistas { margin-bottom: 16px; }
.ws-vista { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; margin-bottom: -1px; border-bottom: 2px solid transparent;
  color: var(--color-muted-foreground, #4b5563); font-size: 14px; font-weight: 500; text-decoration: none; }
.ws-vista[aria-current] { border-bottom-color: var(--ws-azul); color: var(--ws-azul); font-weight: 600; }

/* ── Mosaicos (herramientas) ── */
.ws-mosaicos { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.ws-mosaico { display: flex; flex-direction: column; gap: 6px; min-height: 44px; background: var(--color-card, #fff); border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 12px; padding: 14px 16px; color: inherit; text-decoration: none; box-sizing: border-box; }
a.ws-mosaico:hover { border-color: var(--ws-azul); }
.ws-mosaico[aria-current] { border: 2px solid var(--ws-azul); padding: 13px 15px; }
.ws-mosaico__cab { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ws-mosaico__t { font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.ws-mosaico__e { flex: none; font-size: 12px; font-weight: 600; color: var(--color-muted-foreground, #6b7280); }
.ws-mosaico__e--bien { color: #067647; } .ws-mosaico__e--falta { color: #B54708; }
.dark .ws-mosaico__e--bien { color: #4ade80; } .dark .ws-mosaico__e--falta { color: #fbbf24; }
.ws-mosaico__s { font-size: 13px; color: var(--color-muted-foreground, #6b7280); overflow-wrap: anywhere; }
.ws-mosaico__acc { margin-top: auto; padding-top: 4px; font-size: 13px; font-weight: 600; color: var(--ws-azul); }

/* ── Anotar rápido (un renglón arriba de la lista) ── */
.ws-rapido { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; background: var(--color-card, #fff); border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 12px; padding: 8px; }
.ws-rapido > * { min-width: 0; }
.ws-rapido__campo { flex: 999 1 260px; }
.ws-rapido__lista { flex: 1 1 180px; }

/* ── El hilo de un ticket (soporte-admin/hilo, 03/11/2026: «Se ve mal móvil… tiene mucha oportunidad de mejora») ──
   Cada mensaje es una caja con quién, cómo llegó y cuándo en un renglón que envuelve; el texto a 15 para leerlo en el
   teléfono. Lo nuestro lleva la barra azul; la nota interna, la ámbar (el cliente nunca la ve). */
.ws-enc--arriba { align-items: flex-start; }
.ws-enc--arriba .ws-enc__t { overflow-wrap: anywhere; }
.ws-msj { background: var(--color-card, #fff); border: 1px solid var(--color-border, #e5e7eb); border-radius: 14px; padding: 16px 20px;
  display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ws-msj--nuestro { border-left: 4px solid var(--ws-azul, #0077b6); background: var(--ws-azul-suave, rgba(0,119,182,.06)); }
.ws-msj--nota { border-color: rgba(245, 158, 11, .35); border-left: 4px solid #f59e0b; background: rgba(245, 158, 11, .08); }
.ws-msj__cab { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; color: var(--color-muted-foreground, #6b7280); }
.ws-msj__quien { font-size: 14px; font-weight: 600; color: var(--color-foreground, #111827); overflow-wrap: anywhere; }
.ws-msj--nota .ws-msj__quien { color: #b45309; }
.dark .ws-msj--nota .ws-msj__quien { color: #fbbf24; }
.ws-msj__cuando { margin-left: auto; font-size: 13px; white-space: nowrap; }
.ws-msj__txt { font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; min-width: 0; }
.ws-msj__txt p { margin: 0 0 10px; } .ws-msj__txt p:last-child { margin-bottom: 0; }
.ws-msj__txt a { color: var(--ws-azul, #0077b6); }
.ws-msj__txt img { max-width: 100%; max-height: 320px; width: auto; border-radius: 10px; border: 1px solid var(--color-border, #e5e7eb); }
.ws-msj__txt pre, .ws-msj__txt code { white-space: pre-wrap; overflow-wrap: anywhere; }
.ws-msj__pie { margin: 0; font-size: 13px; color: var(--color-muted-foreground, #6b7280); display: flex; align-items: center; gap: 6px; }
.ws-msj__pie--mal { color: #dc2626; }
.ws-hilo__evento { margin: 0; padding: 0 8px; text-align: center; font-size: 13px; color: var(--color-muted-foreground, #6b7280); overflow-wrap: anywhere; }
.ws-responder .ws-responder__pie { justify-content: space-between; }
.ws-opcion { justify-content: flex-start; text-align: left; height: auto; min-height: 44px; white-space: normal; padding-top: 8px; padding-bottom: 8px; }
.ws-ficha__fila { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-bottom: 1px solid var(--color-border, #e5e7eb); min-width: 0; }
.ws-ficha__fila:last-child { border-bottom: 0; }
.ws-ficha__fila .ws-fila__punto { display: inline-block; margin-right: 8px; vertical-align: 1px; }
.ws-ficha__fila > .btn-ghost { align-self: flex-start; margin-left: -12px; }
@media (max-width: 599px) {
  .ws-enc--arriba .ws-enc__t { font-size: 22px; }
  .ws-msj { padding: 14px 16px; }
  .ws-responder__pie > * { flex: 1 1 100%; }
}

/* ── Anchos ── */
@media (max-width: 899px) {
  .ws-esp { flex-direction: column; align-items: stretch; gap: 16px; }
  /* Una sola fila que se desliza de costado (declarada con data-desplazable, INTERFAZ.md §3.1). */
  .ws-esp__menu { position: static; width: auto; flex-direction: row; flex-wrap: nowrap; gap: 6px; overflow-x: auto; scrollbar-width: none;
    min-width: 0; margin: 0 -16px; padding: 0 16px 2px; }
  .ws-esp__menu::-webkit-scrollbar { display: none; }
  .ws-esp__titulo { display: none; }
  .ws-esp__item { flex: none; min-height: 44px; border: 1px solid var(--color-border, #e5e7eb); background: var(--color-card, #fff); }
  .ws-md__panel { max-width: none; order: -1; flex-basis: 100%; }
  .ws-md--auto .ws-md__panel { display: none; }
  .ws-md--despues .ws-md__panel { order: 0; }
  .ws-md--bandeja .ws-md__lista { max-width: none; }
  .ws-panel { position: static; max-height: none; }
  .ws-chip { min-height: 44px; }
}
@media (max-width: 599px) {
  .ws-enc__acc, .ws-enc__acc > * { width: 100%; }
}

/* ── Panel lateral que entra desde la derecha (21/10/2026: «se debería abrir con un… sidebar panel… desde la
   derecha»). Va al final para ganarle a las reglas de los anchos. ── */
.ws-md--cajon .ws-md__lista { flex-basis: 100%; max-width: none; }
.ws-md--cajon .ws-md__panel { display: contents; }
.ws-md__velo { position: fixed; inset: 0; z-index: 60; background: rgba(15, 23, 42, .38); }
.ws-md--cajon .ws-panel { position: fixed; z-index: 61; top: 0; right: 0; bottom: 0; width: min(540px, 100vw); max-height: none;
  border-radius: 0; border-width: 0 0 0 1px; padding: 20px 22px 18px; box-shadow: -12px 0 32px rgba(15, 23, 42, .18); outline: none;
  animation: ws-cajon-entra .18s ease-out; }
.ws-md--cajon .ws-panel__pie { margin: 0 -22px -18px; padding: 12px 22px 16px; }
.dark .ws-md__velo { background: rgba(0, 0, 0, .55); }
body:has(.ws-md__velo) { overflow: hidden; }
@keyframes ws-cajon-entra { from { transform: translateX(24px); opacity: .4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ws-md--cajon .ws-panel { animation: none; } }

/* Un texto largo para corregir (el correo de Seguimiento, las indicaciones) crece con lo que tiene: se lee entero sin
   desplazarse dentro del cuadro (31/10/2026). Los navegadores sin field-sizing se quedan con su alto de siempre. */
.ws-esp textarea.textarea { field-sizing: content; min-height: 6rem; }

/* ── Tabla de datos (01/11/2026, Adquisición → Pagos): para leer de un vistazo muchas filas con varias columnas.
   En su caja con borde; si no entra, se desliza dentro de la caja y la página no. ── */
.ws-tabla-caja { overflow-x: auto; border: 1px solid var(--color-border, #e5e7eb); border-radius: 14px; background: var(--color-card, #fff); }
.ws-tabla { width: 100%; border-collapse: collapse; font-size: 14px; }
.ws-tabla th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  color: var(--color-muted-foreground, #6b7280); padding: 12px 14px; border-bottom: 1px solid var(--color-border, #e5e7eb);
  background: var(--color-muted, #f9fafb); }
.ws-tabla td { padding: 12px 14px; border-bottom: 1px solid var(--color-border, #e5e7eb); vertical-align: top; overflow-wrap: anywhere; }
.ws-tabla tbody tr:last-child td { border-bottom: 0; }
.ws-tabla tbody tr:hover { background: var(--color-muted, #f6f7f9); }
.ws-tabla tr[aria-current] { background: var(--ws-azul-suave); box-shadow: inset 3px 0 0 var(--ws-azul); }
.ws-tabla .text-right, .ws-tabla th.text-right { text-align: right; }
.ws-tabla__quien { font-weight: 600; color: inherit; text-decoration: none; display: inline-block; min-height: 24px; }
.ws-tabla__quien:hover { text-decoration: underline; }
/* Título de columna que ordena (x-ui.orden): la flecha tenue hasta que esa columna manda. */
.ws-tabla__orden { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; min-height: 24px; }
.ws-tabla__orden:hover { color: var(--color-foreground, #111827); }
.ws-tabla__orden[aria-current] { color: var(--color-foreground, #111827); }
.ws-tabla__flecha { opacity: .35; font-size: 11px; }

.ws-tabla__orden[aria-current] .ws-tabla__flecha { opacity: 1; }
.ws-tabla__estado { display: inline-flex; align-items: center; gap: 8px; }
.ws-tabla__pie { padding: 10px 14px; font-size: 13px; color: var(--color-muted-foreground, #6b7280); border-top: 1px solid var(--color-border, #e5e7eb); }

/* ── Kit · x-ui.vacio: el lugar de algo que todavía no hay (04/11/2026). Punteada, del mismo radio que una tarjeta,
   centrada: se ve dónde empieza y dónde termina la sección aunque esté vacía. ── */
.ws-vacio { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 140px;
  padding: 24px 20px; border: 1.5px dashed var(--color-border, #d0d5dd); border-radius: 14px; text-align: center; min-width: 0; }
.dark .ws-vacio { border-color: rgba(255, 255, 255, .26); }
.ws-vacio__icono { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 4px;
  border-radius: 50%; background: var(--color-muted, #f2f4f7); color: var(--color-muted-foreground, #667085); }
.dark .ws-vacio__icono { background: rgba(255, 255, 255, .08); }
.ws-vacio__titulo { margin: 0; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.ws-vacio__texto { margin: 0; max-width: 520px; font-size: 13px; line-height: 1.45; color: var(--color-muted-foreground, #6b7280); overflow-wrap: anywhere; }
.ws-vacio__accion { margin-top: 8px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

/* ── Kit · x-ui.tienda: el nombre de una tienda en su píldora de color (04/11/2026). Seis colores que no dicen urgencia
   (nada de rojo, naranja ni verde), los tres primeros lo más distintos posible; el mismo para la misma tienda en toda la pantalla. Un nombre largo baja de renglón. ── */
.ws-tienda { --t: #475467; --t-fondo: #f2f4f7; display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
  padding: 2px 9px; border-radius: 8px; background: var(--t-fondo); color: var(--t); font-size: 12px; font-weight: 600;
  line-height: 1.5; overflow-wrap: anywhere; vertical-align: middle; }
.ws-tienda__punto { width: 7px; height: 7px; border-radius: 50%; flex: none; background: currentColor; }
.ws-tienda--punto { padding: 0; background: none; gap: 0; } /* sólo el punto (con la referencia arriba) */
.ws-tienda--punto .ws-tienda__punto { width: 9px; height: 9px; }
.ws-tienda--c0 { --t: #026aa2; --t-fondo: #e0f2fe; } /* azul */
.ws-tienda--c1 { --t: #6941c6; --t-fondo: #f4ebff; } /* violeta */
.ws-tienda--c2 { --t: #c11574; --t-fondo: #fdf2fa; } /* rosa */
.ws-tienda--c3 { --t: #854a0e; --t-fondo: #fef7c3; } /* mostaza */
.ws-tienda--c4 { --t: #0e7090; --t-fondo: #cff9fe; } /* cian */
.ws-tienda--c5 { --t: #3538cd; --t-fondo: #eef4ff; } /* índigo */
.dark .ws-tienda { --t: #cfd4dc; --t-fondo: rgba(255, 255, 255, .08); }
.dark .ws-tienda--c0 { --t: #7cd4fd; --t-fondo: rgba(11, 165, 236, .16); }
.dark .ws-tienda--c1 { --t: #d6bbfb; --t-fondo: rgba(158, 119, 237, .18); }
.dark .ws-tienda--c2 { --t: #faa7e0; --t-fondo: rgba(238, 70, 188, .16); }
.dark .ws-tienda--c3 { --t: #fde272; --t-fondo: rgba(234, 170, 8, .16); }
.dark .ws-tienda--c4 { --t: #67e3f9; --t-fondo: rgba(6, 174, 212, .16); }
.dark .ws-tienda--c5 { --t: #a4bcfd; --t-fondo: rgba(97, 114, 243, .18); }
/* Una tienda y su cuenta en un renglón: la píldora y el nombre de la cuenta al lado */
/* Varias tiendas en una tarjeta (05/11/2026): la referencia arriba y, en cada tarea, los puntitos con su cantidad. */
.ws-ini__tiendas { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: -4px; }
.ws-ini__partes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ws-ini__parte { min-height: 30px; padding: 0 11px; border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; }
.ws-ini__parte:hover { box-shadow: inset 0 0 0 1px currentColor; }
@media (max-width: 767px) { .ws-ini__parte { min-height: 44px; padding: 0 14px; } }
.ws-ini__lugar { display: block; font-size: 13px; line-height: 1.5; color: var(--color-muted-foreground, #6b7280); overflow-wrap: anywhere; word-break: break-all; }
/* La tienda va pegada al principio del texto (un nombre de cuenta larguísimo dejaba el punto solo en su renglón). */
.ws-ini__lugar > .ws-tienda { margin-right: 6px; }
.ws-ini__pildoras { display: flex; flex-wrap: wrap; gap: 6px; }
.ws-ini__rep-quien { margin: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
.ws-ini__pildoras .ws-ini__rep-quien { gap: 6px; margin-right: 10px; }

/* ── Inicio del cliente (04/11/2026): resources/views/inicio/index.blade.php ──
   Rehecho sobre el teléfono del diseño aprobado («No hay armonía. No hay equilibrio»): una tarjeta, una escala.
   En la computadora («se ve espantoso en computadoras»): cada sección a todo el ancho y cada fila llega al borde; nada
   de dos secciones lado a lado, que estiraban a la más corta en una caja vacía.
   Letra: título 24/26 · sección 17 · renglón 15 · texto 14 · detalle 13 · rótulo 12 · número 22/26 · el grande 34.
   Aire: 16 entre tarjetas y 16 de borde en el teléfono; 20 y 20 desde 768. Dentro: 6 del rótulo al dato, 12 entre partes. */
.ws-ini { --ini-gap: 16px; --ini-pad: 16px; --ini-linea: var(--color-border, #e5e7eb);
  display: flex; flex-direction: column; gap: var(--ini-gap); min-width: 0; }
.ws-ini__cab { display: flex; flex-direction: column; gap: 4px; }
.ws-ini__cab-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ws-ini__titulo { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.ws-ini__ver { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 10px; max-width: 640px; }
.ws-ini__h { margin: 0; font-size: 18px; font-weight: 700; } /* el diseño aprobado: títulos de sección 18 / 700 */
/* El período y «Ver» juntos, arriba a la derecha (en el teléfono, debajo del saludo). El período del título de la sección, en gris. */
.ws-ini__controles { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; min-width: 0; }
.ws-ini__controles .ws-ini__ver { margin-top: 0; }
.ws-ini__h-per { font-weight: 500; color: var(--color-muted-foreground, #6b7280); }
.ws-ini__nota { margin: 0; font-size: 13px; line-height: 1.45; color: var(--color-muted-foreground, #6b7280); }
.ws-ini__rot { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--color-muted-foreground, #6b7280); overflow-wrap: anywhere; }
.ws-ini__rot--grupo { padding-top: 6px; }
.ws-ini__sub { margin: 0; font-size: 13px; line-height: 1.45; color: var(--color-muted-foreground, #6b7280); overflow-wrap: anywhere; }
.ws-ini__frase { margin: 0; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.ws-ini__frase--ojo { color: #b54708; }
.dark .ws-ini__frase--ojo { color: #fdb022; }
.ws-ini__pie { margin: 0; font-size: 13px; color: var(--color-muted-foreground, #6b7280); }

/* La tarjeta: una sola, para todo */
.ws-ini__card { background: var(--color-card, #fff); border: 1px solid var(--ini-linea); border-radius: 14px; padding: var(--ini-pad); min-width: 0; }
.ws-ini__pila { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ws-ini__abajo { margin-top: auto; }
.ws-ini__acc { display: flex; flex-wrap: wrap; gap: 8px; }

/* Cómo está todo */
.ws-ini__estado { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }
.ws-ini__estado--bien { color: #067647; }
.ws-ini__estado--mal { color: var(--ws-rojo); }
.dark .ws-ini__estado--bien { color: #47cd89; }
.dark .ws-ini__estado--mal { color: #f97066; }
.ws-ini__linea { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--color-muted-foreground, #6b7280); overflow-wrap: anywhere; }
.ws-ini__punto { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--ws-gris); }
.ws-ini__punto--verde { background: var(--ws-verde); }
.ws-ini__punto--naranja { background: var(--ws-naranja); }
.ws-ini__punto--rojo { background: var(--ws-rojo); }
.ws-ini__punto--gris { background: var(--ws-gris); }

/* Renglones dentro de una tarjeta (problemas, oportunidades): el renglón entero se toca */
.ws-ini__filas { display: flex; flex-direction: column; }
.ws-ini__filas--suelta { padding-top: 4px; padding-bottom: 4px; }
.ws-ini__fila { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 12px 0; border-top: 1px solid var(--ini-linea); color: inherit; text-decoration: none; }
.ws-ini__fila:first-child { border-top: 0; padding-top: 0; }
.ws-ini__fila .ws-ini__punto { align-self: flex-start; margin-top: 6px; }
.ws-ini__fila-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; overflow-wrap: anywhere; }
.ws-ini__fila-t { font-size: 15px; font-weight: 600; }
.ws-ini__donde { font-size: 13px; font-weight: 600; color: var(--color-foreground, #111827); opacity: .75; overflow-wrap: anywhere; }
.ws-ini__flecha { flex: none; color: var(--color-muted-foreground, #6b7280); }
a.ws-ini__fila:hover .ws-ini__fila-t, a.ws-ini__ren:hover .ws-ini__fila-t { color: var(--ws-azul); }

/* Un dato con su valor a la derecha (horas, productos, por cuenta) */
.ws-ini__dato { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-top: 1px solid var(--ini-linea); font-size: 14px; }
.ws-ini__filas > .ws-ini__dato:first-child, .ws-ini__rot--grupo + .ws-ini__dato { border-top: 0; }
.ws-ini__dato > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.ws-ini__dato-v { flex: none; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ws-ini__dato--suelto { padding: 0; border-top: 0; }
.ws-ini__dato--mal { color: var(--ws-rojo); font-weight: 600; }
.ws-ini__mas { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--ws-azul); text-decoration: none; }

/* Hoy: lo vendido hoy a la izquierda y la última venta a la derecha (en el teléfono, una debajo de la otra).
   Azul marino de woosync.io con el monto en blanco y el verde de «plata que entró» en la venta: el dueño, del primer diseño
   (todo en el mismo azul lavado): «Inventate otra combinación de colores… queda desagradable… De muy poca calidad»; y «Por lo
   menos ponelo en gradiente». */
.ws-ini__pulso { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; color: #fff; border-color: #0b1b33;
  background: linear-gradient(120deg, #0b1b33 0%, #0e2a4f 55%, #0a4a7a 100%); }
.dark .ws-ini__pulso { border-color: #1d3a63; background: linear-gradient(120deg, #0d2140 0%, #123563 55%, #0c5689 100%); }
.ws-ini__pulso-hoy { display: flex; flex-direction: column; gap: 6px; flex: 0 1 260px; min-width: 0; }
.ws-ini__pulso-hoy .ws-ini__rot { color: #7cd4fd; }
.ws-ini__pulso .ws-ini__val { color: #fff; }
.ws-ini__pulso-hoy .ws-ini__sub, .ws-ini__pulso-hoy .ws-ini__frase { color: rgba(255, 255, 255, .72); }
.ws-ini__pulso-ultima { flex: 1 1 320px; min-width: 0; min-height: 44px; display: flex; align-items: center; gap: 14px; padding: 12px 14px;
  border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; text-decoration: none;
  transition: background .15s ease; }
.ws-ini__pulso-ultima:hover { background: rgba(255, 255, 255, .1); }
.ws-ini__pulso-ultima .ws-ini__rot { color: rgba(255, 255, 255, .6); }
.ws-ini__pulso-ultima .ws-ini__fila-t { color: #fff; }
.ws-ini__pulso-ultima .ws-ini__lugar { color: rgba(255, 255, 255, .72); }
.ws-ini__pulso-ultima .ws-ini__comp-accion, .ws-ini__pulso-ultima .ws-ini__flecha { color: #7cd4fd; }
@media (max-width: 599px) { .ws-ini__pulso-ultima .ws-ini__comp-accion { display: none; } } /* en el teléfono, el renglón entero lleva y queda la flecha */
.ws-ini__pulso-icono { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none;
  border-radius: 50%; background: #12b76a; color: #fff; }

/* Avisos push en este dispositivo: una línea fina, debajo de «Hoy» */
.ws-ini__push { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--ini-linea);
  background: var(--color-card, #fff); font-size: 13px; color: var(--color-muted-foreground, #667085); }
.ws-ini__push[hidden] { display: none; }
.ws-ini__push-ico { display: inline-flex; color: var(--ws-azul); }
.dark .ws-ini__push-ico { color: #7cd4fd; }
.ws-ini__push-txt { flex: 1 1 260px; min-width: 0; overflow-wrap: anywhere; }
.ws-ini__push-btn { flex: none; min-height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid rgba(0, 119, 182, .4); background: transparent;
  color: var(--ws-azul); font-size: 13px; font-weight: 600; cursor: pointer; }
.ws-ini__push-btn:hover { background: var(--ws-azul-suave); }
.ws-ini__push-btn[hidden] { display: none; }
.dark .ws-ini__push-btn { color: #7cd4fd; border-color: rgba(124, 212, 253, .4); }
@media (max-width: 599px) { .ws-ini__push-btn { min-height: 44px; flex: 1 1 100%; } }

/* Para hacer hoy: el número, qué es y una línea, con el borde del color de la urgencia */
.ws-ini__ren { display: flex; align-items: center; gap: 14px; min-height: 72px; border-left-width: 3px; color: inherit; text-decoration: none; }
.ws-ini__ren--rojo { border-left-color: var(--ws-rojo); }
.ws-ini__ren--naranja { border-left-color: var(--ws-naranja); }
.ws-ini__ren--verde { border-left-color: var(--ws-verde); }
.ws-ini__ren--azul { border-left-color: var(--ws-azul); }
.ws-ini__ren-n { flex: none; min-width: 32px; font-size: 34px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; } /* el número de cada tarea del diseño: 34 / 800 */
.ws-ini__ren-n--icono { display: inline-flex; justify-content: center; }
/* La tarjeta de una tarea, como el diseño aprobado: raya de color arriba, rótulo, número 34/800, explicación y botón abajo. */
.ws-ini__tarea { display: flex; flex-direction: column; gap: 10px; border-top: 3px solid var(--ini-linea); }
.ws-ini__tarea--rojo { border-top-color: var(--ws-rojo); }
.ws-ini__tarea--naranja { border-top-color: var(--ws-naranja); }
.ws-ini__tarea--azul { border-top-color: var(--ws-azul); }
.ws-ini__tarea--verde { border-top-color: var(--ws-verde); }
.ws-ini__tarea--gris { border-top-color: var(--ws-gris); }
.ws-ini__tarea-n { margin: 0; font-size: 34px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.ws-ini__tarea-n--icono { display: flex; color: var(--color-muted-foreground, #6b7280); }
.ws-ini__tarea .ws-ini__partes { margin-top: 0; }
.ws-ini__tarea-btn { align-self: flex-start; margin-top: auto; }
/* Oportunidades, como el diseño aprobado: cabecera con «Ver las N» y cada renglón con su punto, lo que encontró y su botón. */
.ws-ini__ops { gap: 0; }
.ws-ini__ops-cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; }
.ws-ini__op { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 0; border-top: 1px solid var(--ini-linea); }
.ws-ini__op > .ws-ini__punto { flex: none; }
.ws-ini__op-txt { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ws-ini__op-txt .ws-ini__fila-t { margin: 0; font-size: 15px; }
.ws-ini__op-btn { flex: none; }
.ws-ini__op-vacio { margin: 0; padding: 14px 0 2px; border-top: 1px solid var(--ini-linea); font-size: 14px; line-height: 1.5; color: var(--color-muted-foreground, #6b7280); }
@media (max-width: 767px) { .ws-ini__op-btn { width: 100%; } }
.ws-ini__ren--verde .ws-ini__ren-n--icono { color: var(--ws-verde); }
.ws-ini__ren--azul .ws-ini__ren-n--icono { color: var(--ws-azul); }
.ws-ini__ren-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; overflow-wrap: anywhere; }


/* Los números */
.ws-ini__num { display: flex; flex-direction: column; gap: 6px; }
/* La línea de lo vendido por día (Vendido en ML): el color de la marca, abajo de la tarjeta. (Se llamaba ws-ini__linea, el
   mismo nombre que los renglones de «Cómo está todo», y los estiraba a 40 px.) */
.ws-ini__grafico { display: block; width: 100%; height: 40px; margin-top: auto; padding-top: 6px; color: var(--ws-azul); }
/* Todo funcionando: una línea finita bajo el saludo, no una sección («está en otra escala», 05/11/2026). Con un problema o
   una versión nueva vuelve a ser la sección «Cómo está todo», al lado de lo de hoy. */
.ws-ini__salud { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; line-height: 1.45; color: var(--color-muted-foreground, #6b7280); }
/* Desde tu última visita: una línea, cada cosa separada por un punto suave; el reclamo, en rojo. */
.ws-ini__cambios { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 14px; line-height: 1.5; color: var(--color-foreground, #0f172a); }
.ws-ini__cambios-t { display: inline-flex; align-items: center; gap: 6px; color: var(--color-muted-foreground, #6b7280); }
.ws-ini__cambios strong { font-weight: 700; }
.ws-ini__cambios-mal { color: var(--ws-rojo); }
.ws-ini__salud-ver { display: none; } /* en el teléfono, la versión no entra en la línea: la dice la sección si hay que actualizar */
@media (min-width: 768px) { .ws-ini__salud-ver { display: inline; } }
.ws-ini__salud-ok { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #067647; }
.dark .ws-ini__salud-ok { color: #47cd89; }
.ws-ini__val { margin: 0; font-size: 22px; line-height: 1.15; font-weight: 800; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ws-ini__num--queda { background: var(--ws-azul-suave); border-color: rgba(0, 119, 182, .28); }
.ws-ini__num--queda .ws-ini__rot, .ws-ini__num--queda .ws-ini__val { color: var(--ws-azul); }
.ws-ini__cambio { font-weight: 700; }
.ws-ini__cambio--sube { color: #067647; }
.ws-ini__cambio--baja { color: var(--ws-rojo); }
.dark .ws-ini__cambio--sube { color: #47cd89; }
/* Un monto no se parte nunca por la mitad («1.843.» arriba y «205» abajo, a 360): la cifra va entera y el tamaño se ajusta al
   ancho de su tarjeta; si no entra, baja entera debajo de la moneda. */
.ws-ini__cifra { white-space: nowrap; }
.ws-ini__num { container-type: inline-size; }
.ws-ini__num .ws-ini__val { font-size: clamp(16px, 13cqi, 22px); overflow-wrap: normal; }
.ws-ini__mon { margin-right: 4px; font-size: 13px; font-weight: 700; letter-spacing: .02em; vertical-align: 2px; }
.ws-ini__hero { margin: 0; font-size: 40px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; } /* «14 horas» del diseño: 40 / 800 */

/* Reputación y plan: el rótulo con su etiqueta a la derecha, y barras */
.ws-ini__rep { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; border-top: 1px solid var(--ini-linea); }
.ws-ini__rep-cab + .ws-ini__rep { padding-top: 0; border-top: 0; } /* el primero, pegado al título (como el diseño) */
.ws-ini__rep:first-child { padding-top: 0; border-top: 0; }
.ws-ini__rep-cab { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.ws-ini__chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 99px; font-size: 13px; font-weight: 700; background: var(--color-muted, #f3f4f6); }
/* Complementos: el chip de cada estado (sin instalar = azul suave; con Pro = azul lleno, la puerta a pasarse) */
.ws-ini__chip--azul { background: var(--ws-azul-suave); color: var(--ws-azul); }
.ws-ini__chip--pro { background: var(--ws-azul); color: #fff; }
.dark .ws-ini__chip--azul { background: rgba(0, 119, 182, .22); color: #7cd4fd; }
.ws-ini__comp-cab { display: flex; align-items: center; gap: 10px; }
.ws-ini__comp-icono { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: none;
  border-radius: 10px; background: var(--color-muted, #f2f4f7); color: var(--color-foreground, #111827); }
.dark .ws-ini__comp-icono { background: rgba(255, 255, 255, .08); }
.ws-ini__comp-fila .ws-ini__lugar { flex: 1; min-width: 0; }
.ws-ini__comp-accion { flex: none; font-size: 14px; font-weight: 600; color: var(--ws-azul); }
.dark .ws-ini__comp-accion { color: #7cd4fd; }
.ws-ini__chip--gris { color: var(--color-muted-foreground, #6b7280); }
.ws-ini__chip--verde { background: #e7f8ef; color: #067647; }
.ws-ini__chip--amarillo { background: #fef7c3; color: #854a0e; }
.ws-ini__chip--naranja { background: #fef0c7; color: #b54708; }
.ws-ini__chip--rojo { background: #fee4e2; color: #b42318; }
.dark .ws-ini__chip--verde { background: rgba(18, 183, 106, .18); color: #47cd89; }
.dark .ws-ini__chip--amarillo { background: rgba(250, 204, 21, .16); color: #fde047; }
.dark .ws-ini__chip--naranja { background: rgba(247, 144, 9, .18); color: #fdb022; }
.dark .ws-ini__chip--rojo { background: rgba(217, 45, 32, .2); color: #f97066; }
.ws-ini__barra { display: flex; flex-direction: column; gap: 6px; }
.ws-ini__riel { height: 8px; border-radius: 99px; background: var(--color-muted, #e8edf3); overflow: hidden; }
.dark .ws-ini__riel { background: rgba(255, 255, 255, .12); }
.ws-ini__riel-v { display: block; height: 100%; border-radius: 99px; background: var(--ws-azul); }
.ws-ini__riel-v--azul { background: var(--ws-azul); }
.ws-ini__riel-v--verde { background: var(--ws-verde); }
.ws-ini__riel-v--naranja { background: var(--ws-naranja); }
.ws-ini__gancho { margin: 0; padding: 12px; border-radius: 10px; border: 1px dashed rgba(0, 119, 182, .35); background: var(--ws-azul-suave); font-size: 14px; }

/* Filas que llenan (data-llena, la compuerta lo mide): cada fila llega al borde derecho. Nada de auto-fill, que deja
   columnas vacías a la derecha: lo que sobra en la última fila crece hasta el borde. En la computadora del dueño, a 1920:
   «se ve espantoso en computadoras» — cada fila terminaba en otro lado. */
.ws-ini__llena { display: flex; flex-wrap: wrap; gap: var(--ini-gap); }
.ws-ini__llena > * { flex: 1 1 var(--ini-base, 100%); min-width: 0; }
.ws-ini__renglones { --ini-base: 100%; gap: 12px; }
.ws-ini__nums { --ini-base: calc(50% - 6px); gap: 12px; } /* de a dos en el teléfono */
.ws-ini__malla { --ini-base: 100%; }
.ws-ini__grupos { --ini-base: 100%; gap: 8px 32px; } /* lo que más te deja: una columna por moneda */
.ws-ini__par { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--ini-gap); }

@media (min-width: 768px) {
  .ws-ini { --ini-gap: 20px; --ini-pad: 20px; }
  .ws-ini__cab { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; }
  .ws-ini__controles { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin-top: 0; }
  .ws-ini__ver { display: flex; flex-wrap: wrap; margin-top: 0; max-width: none; }
  .ws-ini__ver > label { width: 280px; max-width: 100%; }
  .ws-ini__titulo { font-size: 28px; } /* «Hola, …» del diseño: 28 / 700 */
  .ws-ini__val { font-size: 26px; }
  .ws-ini__num .ws-ini__val { font-size: clamp(18px, 12cqi, 30px); } /* los montos del diseño: 30 / 800 */
  /* Las tareas en columnas fijas: una tarjeta nunca se estira a todo el ancho por quedar sola en su fila (05/11/2026, el dueño:
     «es una mala práctica que una tarjeta de ese tipo ocupe todo el ancho… no justifica que desperdicie tanto espacio»). */
  .ws-ini__renglones.ws-ini__llena { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ws-ini__nums { --ini-base: 220px; gap: var(--ini-gap); }
  .ws-ini__grupos { --ini-base: 300px; }
  .ws-ini__malla { --ini-base: 420px; } /* 1 por fila a 768, 2 a 1280, 3 a 1920 */
}

/* ── Módulos por tienda (04/11/2026): resources/views/modulos/index.blade.php, diseño aprobado en Claude Design
   (https://claude.ai/artifact/T3c94K9awmFgRVr4hoW2kc). La tienda «se enciende»: anillo de encendidos, tarjetas con su
   interruptor, verde lo que trabaja, punteado azul lo que suma Pro. Claro y oscuro. ── */
.ws-mod { gap: 28px; }
.ws-mod__cab { display: flex; flex-direction: column; gap: 8px; }
.ws-mod__ceja { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ws-azul); }
.dark .ws-mod__ceja { color: #7cd4fd; }
.ws-mod__h1 { margin: 0; font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.ws-mod__h2 { margin: 0; font-size: 21px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; }
.ws-mod__h3 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.ws-mod__bajada { margin: 0; font-size: 15px; line-height: 1.5; color: var(--color-muted-foreground, #667085); max-width: 680px; }
.ws-mod__tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.ws-mod__tab { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border-radius: 12px;
  border: 1px solid var(--ini-linea); background: var(--color-card, #fff); color: inherit; text-decoration: none; max-width: 100%; }
.ws-mod__tab:hover { border-color: rgba(0, 119, 182, .5); }
.ws-mod__tab.is-sel { border-color: var(--ws-azul); box-shadow: 0 0 0 3px rgba(0, 119, 182, .14); }
.ws-mod__tab-n { flex: none; font-size: 12px; font-weight: 700; color: var(--color-muted-foreground, #667085); background: var(--color-muted, #f2f4f7);
  border-radius: 999px; padding: 3px 9px; }
.dark .ws-mod__tab-n { background: rgba(255, 255, 255, .08); }
.ws-mod__hero { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; padding: 24px; border-radius: 20px;
  border: 1px solid rgba(0, 119, 182, .25); background: var(--color-card, #fff); }
.ws-mod__anillo { position: relative; flex: none; width: 148px; height: 148px; }
.ws-mod__anillo-fondo { stroke: var(--color-muted, #eaecf0); }
.dark .ws-mod__anillo-fondo { stroke: rgba(255, 255, 255, .08); }
.ws-mod__anillo-v { stroke: var(--ws-azul); }
.dark .ws-mod__anillo-v { stroke: #7cd4fd; }
.ws-mod__anillo-txt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.ws-mod__anillo-txt strong { font-size: 40px; line-height: 1; font-weight: 800; }
.ws-mod__anillo-txt small { font-size: 20px; color: var(--color-muted-foreground, #667085); }
.ws-mod__anillo-txt span { font-size: 12px; font-weight: 600; color: var(--color-muted-foreground, #667085); }
.ws-mod__hero-txt { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ws-mod__hero-pildoras { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ws-mod__plan { font-size: 12px; font-weight: 700; letter-spacing: .03em; color: #fff; background: var(--ws-azul); border-radius: 999px; padding: 4px 10px; }
.ws-mod__grilla { --ini-base: 100%; gap: 20px; }
.ws-mod__card { display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 18px; min-height: 250px; box-sizing: border-box;
  background: var(--color-card, #fff); border: 1px solid var(--ini-linea); }
/* Encendido: la tarjeta sigue blanca; el verde queda sólo en el interruptor. El dueño, al ver las tarjetas pintadas de verde: «estamos
   desviándonos del concepto de la marca» (04/11/2026). Marca: blanco, negro y el azul #0077b6; el verde, acento de estado. */
.ws-mod__card.is-on { border-color: var(--ini-linea); }
.ws-mod__card.is-pro { border-style: dashed; border-color: rgba(0, 119, 182, .45); }
.dark .ws-mod__card.is-pro { border-color: rgba(124, 212, 253, .4); }
.ws-mod__card-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ws-mod__icono { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--color-muted, #f2f4f7); color: var(--color-foreground, #101828); }
.dark .ws-mod__icono { background: rgba(255, 255, 255, .07); }
.ws-mod__card.is-on .ws-mod__icono { background: var(--ws-azul-suave); color: var(--ws-azul); }
.dark .ws-mod__card.is-on .ws-mod__icono { color: #7cd4fd; }
.ws-mod__card.is-pro .ws-mod__icono { background: var(--ws-azul-suave); color: var(--ws-azul); }
.dark .ws-mod__card.is-pro .ws-mod__icono { color: #7cd4fd; }
.ws-mod__estado { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--color-muted-foreground, #667085); }
.ws-mod__estado.is-on { color: var(--color-foreground, #101828); }
.ws-mod__switch { position: relative; display: inline-block; width: 40px; height: 24px; border-radius: 999px; background: #d0d5dd; }
.dark .ws-mod__switch { background: rgba(255, 255, 255, .18); }
.ws-mod__switch > span { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.ws-mod__switch.is-on { background: #12b76a; }
.dark .ws-mod__switch.is-on { background: #2fd17f; }
.ws-mod__switch.is-on > span { left: auto; right: 3px; }
.ws-mod__chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px;
  background: var(--ws-azul-suave); color: var(--ws-azul); }
.dark .ws-mod__chip { color: #7cd4fd; background: rgba(0, 119, 182, .2); }
.ws-mod__chip.is-pro { background: var(--ws-azul); color: #fff; }
.ws-mod__chip.is-gris { background: var(--color-muted, #f2f4f7); color: var(--color-muted-foreground, #667085); }
.dark .ws-mod__chip.is-gris { background: rgba(255, 255, 255, .08); color: #cfd4dc; }
.ws-mod__card-txt { display: flex; flex-direction: column; gap: 6px; }
.ws-mod__promesa { margin: 0; font-size: 15px; line-height: 1.45; }
.ws-mod__dato { margin: 0; font-size: 14px; line-height: 1.45; font-weight: 600; color: var(--color-muted-foreground, #667085); }
.ws-mod__card.is-on .ws-mod__dato { color: var(--color-foreground, #101828); }
.ws-mod__card.is-pro .ws-mod__dato { color: #b54708; }
.dark .ws-mod__card.is-pro .ws-mod__dato { color: #f7c873; }
.ws-mod__btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; min-height: 40px;
  padding: 0 18px; border-radius: 10px; font-size: 14px; font-weight: 700; text-decoration: none; background: var(--color-foreground, #101828); color: var(--color-background, #fff); }
.ws-mod__btn:hover { filter: brightness(1.08); }
.ws-mod__card.is-on .ws-mod__btn, .ws-mod__card.is-incluido .ws-mod__btn { background: var(--color-card, #fff); color: inherit; border: 1px solid var(--ini-linea); }
.dark .ws-mod__card.is-on .ws-mod__btn, .dark .ws-mod__card.is-incluido .ws-mod__btn { background: rgba(255, 255, 255, .06); }
.ws-mod__btn.is-pro, .ws-mod__card.is-pro .ws-mod__btn { background: var(--ws-azul); color: #fff; border: 0; }
.ws-mod__pro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 24px 28px; border-radius: 20px;
  background: var(--ws-azul-suave); border: 1px solid rgba(0, 119, 182, .35); }
.dark .ws-mod__pro { background: #0f2440; }
.ws-mod__pro-txt { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ws-mod__pro .ws-mod__btn { margin-top: 0; min-height: 44px; }
@media (min-width: 768px) {
  .ws-mod__h1 { font-size: 36px; }
  .ws-mod__h2 { font-size: 26px; }
  .ws-mod__hero { padding: 32px; }
  .ws-mod__grilla { --ini-base: 380px; } /* dos por fila hasta 1280 */
}
@media (min-width: 1500px) { .ws-mod__grilla { --ini-base: 480px; } } /* tres a 1920: los cinco quedan 3 + 2, nunca 4 + 1 */
@media (max-width: 599px) {
  .ws-mod__btn { align-self: stretch; min-height: 44px; }
  .ws-mod__hero { justify-content: center; text-align: center; }
  .ws-mod__hero-pildoras { justify-content: center; }
}

/* ── Botón del kit (x-ui.boton): mide 44 y, si el texto no entra, baja de renglón en lugar de salirse (04/11/2026, Inicio) ── */
.ws-btn { max-width: 100%; }
.ws-btn.h-11 { height: auto; min-height: 44px; white-space: normal; overflow-wrap: anywhere; text-align: center; padding-top: 6px; padding-bottom: 6px; }

/* ── Cascarón: el menú del usuario. En el teléfono, sólo el ícono, con 44 para el dedo (un nombre largo empujaba la página, 04/11/2026) ── */
.ws-usuario { min-height: 44px; max-width: 100%; }
@media (max-width: 599px) { .ws-usuario__nombre { display: none; } .ws-usuario { min-width: 44px; justify-content: center; } }

/* ── La aplicación en el teléfono (04/11/2026, js/ws-app.js): el puntito rojo que guía a instalarla y a prender los avisos,
   y la hoja de los pasos del iPhone. «si detectamos que no la tiene instalada, le pones un puntito rojo… también… al lado
   del icono del usuario». ── */
.ws-app-ico { position: relative; display: inline-flex; }
.ws-app-punto { position: absolute; top: -3px; right: -4px; width: 8px; height: 8px; border-radius: 50%; background: #f04438;
  box-shadow: 0 0 0 2px var(--color-background, #fff); }
.ws-app-punto[hidden] { display: none; }
.ws-app-punto--item { position: static; margin-left: auto; box-shadow: none; }
.ws-usuario__menu { width: auto; min-width: 224px; }
.ws-app-item { width: 100%; text-align: left; white-space: nowrap; background: none; border: 0; cursor: pointer; min-height: 40px; }
.ws-app-item[hidden] { display: none; }
@media (max-width: 599px) { .ws-app-item { min-height: 44px; } }
.ws-app-hoja { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; background: rgba(16, 24, 40, .45); }
.ws-app-hoja[hidden] { display: none; }
.ws-app-hoja__caja { width: 100%; max-width: 440px; box-sizing: border-box; padding: 24px 20px calc(20px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0;
  background: var(--color-card, #fff); color: var(--color-foreground, #101828); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.ws-app-hoja__ico { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 2px 8px rgba(16, 24, 40, .12); }
.ws-app-hoja__t { margin: 6px 0 0; font-size: 17px; font-weight: 700; }
.ws-app-hoja__s { margin: 0; font-size: 13px; color: var(--color-muted-foreground, #667085); }
.ws-app-hoja__pasos { margin: 10px 0 4px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; text-align: left; width: 100%; font-size: 14px; }
.ws-app-hoja__pasos[hidden] { display: none; }
.ws-app-hoja__pasos li { display: flex; align-items: flex-start; gap: 10px; }
.ws-app-hoja__paso { flex: 1; min-width: 0; line-height: 1.45; padding-top: 2px; }
.ws-app-hoja__paso svg { display: inline-block; vertical-align: -3px; }
.ws-app-hoja__n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--ws-azul-suave); color: var(--ws-azul); font-size: 12px; font-weight: 700; }
.ws-app-hoja__ok { width: 100%; min-height: 44px; margin-top: 6px; border: 0; border-radius: 10px; background: var(--ws-azul); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; }
@media (min-width: 1100px) { .ws-ini__renglones.ws-ini__llena { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1700px) { .ws-ini__renglones.ws-ini__llena { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Lo que se abre con un ancla (#agente en el Cerebro) queda debajo de la barra de arriba, no tapado por ella. */
.ws-ancla { scroll-margin-top: 80px; }
