/*
 * Identidad visual del panel — ver docs/UX_REFRESH.md §03-G.
 *
 * Va como CSS plano y NO como tema de Vite a propósito: `public/build` está en
 * .gitignore y ningún autopull corre `npm run build`, así que un tema Vite dejaría a
 * producción con un manifest sin la entrada del tema y Filament tiraría 500 en TODAS las
 * pantallas del panel. Este archivo viaja con el repo y no necesita compilarse.
 *
 * Se registra en AdminPanelProvider con FilamentAsset::register(Css::make(...)).
 */

:root {
    /* Densidad: el panel es de trabajo, no de lectura. Menos aire = más filas visibles. */
    --sib-radio:        0.5rem;
    --sib-radio-chico:  0.375rem;

    /* Tokens de estado. Hasta ahora cada enum decidía su color a mano y no coincidían
       entre pantallas: el mismo "vencida" salía rojo en un lado y naranja en otro. */
    --sib-vigente:   #16a34a;
    --sib-por-vencer:#ea580c;
    --sib-vencida:   #dc2626;
    --sib-anulada:   #6b7280;
}

/* ── Tipografía ───────────────────────────────────────────────────────────
   Números tabulares en todo lo que sea dinero, fecha o patente: sin esto las
   columnas de importes no alinean y la lectura vertical se vuelve imposible. */
.fi-ta-text-item-label,
.fi-in-text .fi-in-text-item-label {
    font-variant-numeric: tabular-nums;
}

/* ── Densidad de tablas ───────────────────────────────────────────────────
   Filament trae celdas cómodas para catálogos; acá se listan cientos de pólizas. */
.fi-ta-row .fi-ta-cell {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* #409 — Líneas divisorias entre filas un tono más oscuras (gray-300 en vez del gray-200
   de Filament) y con el mismo espesor: con el gris de fábrica costaba seguir una fila de
   punta a punta en los listados anchos. Aplica a TODAS las tablas del panel (Tickets de
   Soporte incluidos) y a las tablas custom de las vistas Blade (divide-y / border-b).
   Se pisa el selector de Tailwind `.divide-y > :not([hidden]) ~ :not([hidden])`. */
.fi-ta-table > tbody > tr:not([hidden]) ~ tr:not([hidden]),
.fi-ta-table > thead > tr:not([hidden]) ~ tr:not([hidden]),
.fi-ta-table > :not([hidden]) ~ :not([hidden]) {
    border-top-color: rgb(209 213 219);
}
.fi-ta-table > tbody > tr.border-b,
.fi-ta-table > thead > tr.border-b {
    border-bottom-color: rgb(209 213 219);
}
:is(.dark) .fi-ta-table > tbody > tr:not([hidden]) ~ tr:not([hidden]),
:is(.dark) .fi-ta-table > thead > tr:not([hidden]) ~ tr:not([hidden]),
:is(.dark) .fi-ta-table > :not([hidden]) ~ :not([hidden]) {
    border-top-color: rgb(255 255 255 / 0.12);
}
/* Tablas armadas a mano en vistas Blade del panel (liquidación, cta. cte., cartera…). */
.fi-page table > tbody > tr.border-b,
.fi-page table > thead > tr.border-b,
.fi-modal table > tbody > tr.border-b {
    border-bottom-color: rgb(209 213 219) !important;
}
.fi-page table > tbody.divide-y > :not([hidden]) ~ :not([hidden]),
.fi-page table.divide-y > :not([hidden]) ~ :not([hidden]) {
    border-top-color: rgb(209 213 219);
}
:is(.dark) .fi-page table > tbody > tr.border-b,
:is(.dark) .fi-page table > thead > tr.border-b,
:is(.dark) .fi-modal table > tbody > tr.border-b {
    border-bottom-color: rgb(255 255 255 / 0.12) !important;
}
:is(.dark) .fi-page table > tbody.divide-y > :not([hidden]) ~ :not([hidden]),
:is(.dark) .fi-page table.divide-y > :not([hidden]) ~ :not([hidden]) {
    border-top-color: rgb(255 255 255 / 0.12);
}

/* La descripción secundaria (documento del cliente, patente, días restantes) tiene que
   leerse como secundaria: si pesa lo mismo que el dato principal, la jerarquía se pierde. */
.fi-ta-text-item-description {
    font-size: 0.75rem;
    line-height: 1rem;
    opacity: 0.75;
}

/* ── Radios consistentes ──────────────────────────────────────────────── */
.fi-btn, .fi-input-wrp, .fi-badge {
    border-radius: var(--sib-radio-chico);
}
.fi-section, .fi-wi {
    border-radius: var(--sib-radio);
}

/* ── Patente ──────────────────────────────────────────────────────────────
   Formaliza lo que el sistema ya venía haciendo ad-hoc: monoespaciada y destacada. */
.sib-patente {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* ── Sección de riesgo ────────────────────────────────────────────────────
   El fondo azul del bloque de riesgo estaba hardcodeado como `bg-blue-50` en cada
   formulario. Acá queda como token, y funciona también en modo oscuro. */
.sib-riesgo {
    background-color: #eff6ff;
}
:is(.dark) .sib-riesgo {
    background-color: rgb(30 58 138 / 0.15);
}

/* ── Mobile: la fila se convierte en tarjeta ──────────────────────────────
   Ninguna tabla operativa debe empujar la página de costado.

   Se hace con CSS y NO envolviendo columnas en un `Split`/`Stack` de Filament: apenas
   encuentra un componente de layout entre las columnas, Filament cambia el modo de TODA la
   tabla —se va la fila de encabezados y con ella el ordenamiento por click—, también en
   escritorio. Pasó el 2026-09-01 y dejó el listado de pólizas ilegible.

   Filament marca cada celda con la columna a la que pertenece (`fi-table-cell-{columna}`),
   así que la tarjeta puede mostrar SOLO lo esencial. Sin ese filtro la tarjeta hereda las
   veinte celdas, la mayoría vacías, y cada fila mide 600px de alto. */
@media (max-width: 767px) {
    .fi-ta-ctn { overflow-x: hidden; }

    /* Sin encabezados: en una tarjeta no hay a qué columna referirse. */
    .fi-ta-table thead { display: none; }

    .fi-ta-table,
    .fi-ta-table tbody,
    .fi-ta-row {
        display: block;
        width: 100%;
    }

    .fi-ta-row {
        position: relative;
        padding: 0.625rem 0.875rem;
        border-bottom: 1px solid rgb(0 0 0 / 0.14); /* #409 */
    }
    :is(.dark) .fi-ta-row {
        border-bottom-color: rgb(255 255 255 / 0.12);
    }

    /* Por defecto la tarjeta no muestra nada; abajo se habilita lo que sí va. */
    .fi-ta-row > .fi-ta-cell { display: none; }

    /* #504: las tablas sin tarjeta a medida muestran sus primeras 4 columnas visibles en el
       celular (`sib-tarjeta-auto`, App\Filament\Support\TarjetaMovil); la primera es el título. */
    .fi-ta-row > .fi-ta-cell.sib-en-tarjeta,
    .fi-ta-row:not(.sib-fila-tarjeta) > .fi-ta-cell.sib-tarjeta-auto {
        display: block;
        width: 100%;
        padding: 0;
        border: 0;
    }
    .fi-ta-row:not(.sib-fila-tarjeta) > .fi-ta-cell.sib-tarjeta-auto:not(.sib-tarjeta-auto-titulo) {
        display: inline-flex;
        align-items: center;
        width: auto;
        margin-right: 0.5rem;
        font-size: 0.75rem;
        color: rgb(107 114 128);
    }
    .fi-ta-row:not(.sib-fila-tarjeta) > .sib-tarjeta-auto:not(.sib-tarjeta-auto-titulo) .fi-ta-text-item-label { font-size: 0.75rem; line-height: 1.25rem; color: inherit; }
    :is(.dark) .fi-ta-row:not(.sib-fila-tarjeta) > .fi-ta-cell.sib-tarjeta-auto:not(.sib-tarjeta-auto-titulo) { color: rgb(156 163 175); }
    .fi-ta-row:not(.sib-fila-tarjeta) > .sib-tarjeta-auto-titulo .fi-ta-text-item-label {
        font-weight: 600;
        font-size: 0.9375rem;
        line-height: 1.35rem;
    }

    /* El primer renglón de la tarjeta deja lugar a las acciones que flotan a la derecha. */
    .fi-ta-row > .fi-ta-cell.sib-tarjeta-titulo,
    .fi-ta-row:not(.sib-fila-tarjeta) > .fi-ta-cell.sib-tarjeta-auto-titulo { padding-right: 9rem; }
    .fi-ta-row > .fi-ta-cell > div { padding: 0.0625rem 0 !important; }

    /* Las acciones flotan arriba a la derecha para no comerse una línea. */
    .fi-ta-row > .fi-ta-actions-cell {
        display: block;
        position: absolute;
        top: 0.375rem;
        right: 0.5rem;
        width: auto;
        padding: 0;
    }

    .fi-ta-row .fi-badge { display: inline-flex; }

    /* Tarjetas armadas por columna (#459, listado de Soporte). La tabla marca sus filas con
       `recordClasses('sib-fila-tarjeta')` y cada columna se opta con
       `extraCellAttributes(['class' => 'sib-en-tarjeta sib-tarjeta-…'])`:
       -id      → «#123» chico arriba (deja lugar a las acciones que flotan a la derecha)
       -titulo  → el texto principal, en negrita, línea completa
       -inline  → las etiquetas, una al lado de la otra (envuelven si no entran)
       -meta    → renglón aparte, chico y gris, con el rótulo de `data-sib-prefijo` adelante
       La fila es un flex que envuelve; el ::after (ancho completo, alto 0) corta la línea
       entre las etiquetas y los datos de abajo. */
    .fi-ta-row.sib-fila-tarjeta {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.25rem 0.375rem;
    }
    .fi-ta-row.sib-fila-tarjeta::after { content: ''; order: 3; flex-basis: 100%; height: 0; }
    .fi-ta-row.sib-fila-tarjeta > .fi-ta-cell { order: 2; }
    .fi-ta-row.sib-fila-tarjeta > .fi-ta-cell.sib-tarjeta-id,
    .fi-ta-row.sib-fila-tarjeta > .fi-ta-cell.sib-tarjeta-titulo { order: 1; flex-basis: 100%; }
    .fi-ta-row.sib-fila-tarjeta > .fi-ta-cell.sib-tarjeta-meta { order: 4; }

    .fi-ta-row > .fi-ta-cell.sib-en-tarjeta .fi-ta-text,
    .fi-ta-row > .fi-ta-cell.sib-en-tarjeta .fi-ta-col-wrp > div { padding: 0 !important; }

    .fi-ta-row > .fi-ta-cell.sib-tarjeta-id { min-height: 1.5rem; padding-right: 9rem; }
    .fi-ta-row > .sib-tarjeta-id .fi-ta-text-item { gap: 0; }
    .fi-ta-row > .sib-tarjeta-id .fi-ta-text-item::before { content: '#'; }
    .fi-ta-row > .sib-tarjeta-id .fi-ta-text-item,
    .fi-ta-row > .sib-tarjeta-id .fi-ta-text-item-label { font-size: 0.75rem; color: rgb(107 114 128); }

    .fi-ta-row > .sib-tarjeta-titulo .fi-ta-text-item-label {
        font-weight: 600;
        font-size: 0.9375rem;
        line-height: 1.35rem;
    }

    .fi-ta-row > .fi-ta-cell.sib-tarjeta-inline,
    .fi-ta-row > .fi-ta-cell.sib-tarjeta-meta {
        display: inline-flex;
        align-items: center;
        width: auto;
    }
    .fi-ta-row > .fi-ta-cell.sib-tarjeta-meta {
        gap: 0.25rem;
        margin-right: 0.5rem;
        font-size: 0.75rem;
        color: rgb(107 114 128);
    }
    .fi-ta-row > .sib-tarjeta-meta .fi-ta-text-item-label { font-size: 0.75rem; line-height: 1.25rem; color: inherit; }
    .fi-ta-row > .fi-ta-cell.sib-tarjeta-meta[data-sib-prefijo]::before { content: attr(data-sib-prefijo) ':'; }
    :is(.dark) .fi-ta-row > .sib-tarjeta-id .fi-ta-text-item,
    :is(.dark) .fi-ta-row > .sib-tarjeta-id .fi-ta-text-item-label,
    :is(.dark) .fi-ta-row > .fi-ta-cell.sib-tarjeta-meta { color: rgb(156 163 175); }

    .fi-header-heading { font-size: 1.25rem; line-height: 1.75rem; }
}

/* ─── Log de las corridas de deploy ──────────────────────────────────────────
   Va acá y no como utilidades de Tailwind a propósito: el CSS compilado del panel
   NO trae `.bg-gray-950` (no existe la regla) y `--gray-100` lo define Filament como
   un gris casi blanco. El resultado era texto blanco sobre fondo blanco: el log se
   veía en blanco mientras el deploy corría. Colores literales, sin variables. */
.sibroker-log {
    display: block;
    max-height: 24rem;
    overflow-y: auto;
    padding: 1rem;
    background: #0b1120;
    color: #e6edf3;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.75rem;
    line-height: 1.625;
    white-space: pre-wrap;
    word-break: break-word;
    border-radius: 0 0 0.75rem 0.75rem;
}

/* En claro y en oscuro se ve igual: es una consola, no una tarjeta del panel. */
:is(.dark) .sibroker-log { background: #0b1120; color: #e6edf3; }

/* ─── Grilla de Coberturas en riesgos (ticket #314) ──────────────────────────
   Antes cada cobertura era una tarjeta grande, siempre abierta, sin encabezados y
   con el nombre y los importes en renglones distintos. Ahora RiesgosBuilder arma
   un encabezado de columnas + filas de una sola línea (ver RiesgosBuilder::
   coberturasRepeater()). Van a mano, no como utilidades de Tailwind, porque el CSS
   del panel es el bundle por default de Filament (ver comentario arriba de este
   archivo) y no compila clases nuevas que este componente no usaba antes. */
.sib-cob-titulo {
    padding: 0.75rem 0 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgb(55 65 81);
}
:is(.dark) .sib-cob-titulo { color: rgb(209 213 219); }

.sib-cob-header {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0 1.5rem;
    /* #483: a la derecha, el ancho de la columna del eliminar. */
    padding: 0.25rem 2.75rem 0 1rem;
}
.sib-cob-header span {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: rgb(107 114 128);
}
:is(.dark) .sib-cob-header span { color: rgb(156 163 175); }

/* Filas compactas de una línea: sin tarjeta propia, solo un separador fino. */
.sib-cob-tabla .fi-fo-repeater-item {
    box-shadow: none;
    border-radius: 0;
    background: transparent;
    border-bottom: 1px solid rgb(229 231 235);
}
:is(.dark) .sib-cob-tabla .fi-fo-repeater-item { border-bottom-color: rgb(255 255 255 / 0.08); }
.sib-cob-tabla .fi-fo-repeater-item:last-child { border-bottom: 0; }
/* #483: el eliminar va en la MISMA línea, al final (después de Franquicia): el item es una
   fila flex con el contenido a la izquierda y el header (solo trae el ícono) a la derecha,
   con ancho fijo. La fila vacía final no tiene header (#482, sin eliminar): el contenido
   reserva ese mismo ancho para quedar alineado con el encabezado de columnas. */
.sib-cob-tabla .fi-fo-repeater-item {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}
.sib-cob-tabla .fi-fo-repeater-item > * { border-top-width: 0 !important; }
.sib-cob-tabla .fi-fo-repeater-item-header {
    flex: 0 0 2.75rem;
    justify-content: flex-end;
    padding: 0 0.75rem 0 0;
    min-height: 0;
}
.sib-cob-tabla .fi-fo-repeater-item-content { flex: 1 1 auto; min-width: 0; padding: 0.25rem 0 0.25rem 1rem; }
.sib-cob-tabla .fi-fo-repeater-item-content:only-child { padding-right: 2.75rem; }
.sib-cob-tabla ul > div.grid { row-gap: 0; }

.sib-cob-total {
    padding: 0.375rem 1rem 0.5rem;
    text-align: right;
    font-size: 0.8125rem;
    color: rgb(55 65 81);
}
:is(.dark) .sib-cob-total { color: rgb(209 213 219); }

/* #486: listas de una fila por item (emails y WhatsApp del cliente): misma idea que la
   grilla de coberturas (#483), el eliminar al final de la fila. En celular (< md) el
   contenido se apila y el eliminar queda arriba a la derecha. */
@media (min-width: 768px) {
    .sib-fila-unica .fi-fo-repeater-item {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
    }
    .sib-fila-unica .fi-fo-repeater-item > * { border-top-width: 0 !important; }
    .sib-fila-unica .fi-fo-repeater-item-header {
        flex: 0 0 3rem;
        justify-content: flex-end;
        padding: 0 1rem 0 0;
    }
    .sib-fila-unica .fi-fo-repeater-item-content { flex: 1 1 auto; min-width: 0; padding: 0.75rem 0 0.75rem 1rem; }
    .sib-fila-unica .fi-fo-repeater-item-content:only-child { padding-right: 3rem; }
}

/* Aire antes del campo siguiente (ej. la nómina de VC debajo del grupo). */
.sib-cob-bloque { margin-bottom: 0.5rem; }

/* #354 — cabecera persistente (sticky) de las fichas de Póliza y Propuesta
   (view-header.blade.php de cada Resource, #323/#324). Dos bugs del mismo origen:
   1) El fondo (`bg-white/95 dark:bg-gray-900/95 backdrop-blur`) es Tailwind arbitrario
      que no está en public/css/filament/filament/app.css — se purga, y sticky sin
      fondo real deja el contenido transparentándose detrás al scrollear.
   2) z-20 (misma clase que usa el propio fi-topbar de Filament) hace que la cabecera,
      al estar más abajo en el DOM, forme su propio stacking context "empatado" con el
      del topbar y lo tape entero — incluido el dropdown z-10 de la búsqueda global, que
      queda atrapado dentro del stacking context del topbar sin poder superar a la
      cabecera. Bajar a z-index:1 (por debajo del topbar, por encima del contenido de
      la página) resuelve el tapado sin tocar nada de Filament. */
.sib-ficha-header {
    background-color: #fff;
    z-index: 1;
}
:is(.dark) .sib-ficha-header { background-color: rgb(17 24 39); }

/* #521 — línea de datos de la ficha de póliza (sección, compañía, estado, vigencia):
   pasa de text-xs a 0.875rem (text-sm, igual que los botones de acción). El badge de
   Filament 3 trae su propio text-xs, así que se agranda acá con el padding en proporción.
   Solo tamaños: los colores los siguen poniendo Filament y las clases de la vista. */
.sib-ficha-datos {
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.sib-ficha-datos .fi-badge {
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding: 0.25rem 0.625rem;
}

/* #387 / #413 — listado de Alertas/Recordatorios: es una tabla clásica (encabezados
   visibles y ancho fijo por columna, que pone Filament con ->width()); el detalle es la
   única columna elástica. Acá queda lo que el ancho no resuelve: la entidad (N° de póliza
   · asegurado) y el asignado en UNA sola línea, cortadas con puntos suspensivos. Sin esto
   un asegurado largo parte la fila en varios renglones y desalinea la grilla. */
.sib-rec-entidad .fi-ta-text-item-label,
.sib-rec-entidad .fi-ta-text-item,
.sib-rec-asignado .fi-ta-text-item-label {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* #370 — Evolución de cartera: el combo de un filtro en modo "Excluir" se marca con
   borde y fondo rojizos para que se note que lo elegido se saca del reporte. */
.sib-filtro-excluir { box-shadow: 0 0 0 2px rgb(239 68 68 / .55); border-radius: .5rem; background-color: rgb(254 242 242); }
:is(.dark) .sib-filtro-excluir { background-color: rgb(127 29 29 / .25); }

/* #370 — variaciones del cuadro de Evolución de cartera. Clases propias porque
   text-success-600 / tabular-nums no están en el CSS precompilado de Filament. */
.sib-delta { font-size: 11px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.sib-delta-up   { color: rgb(22 163 74); }
.sib-delta-down { color: rgb(220 38 38); }
.sib-delta-flat { color: rgb(156 163 175); }
:is(.dark) .sib-delta-up   { color: rgb(74 222 128); }
:is(.dark) .sib-delta-down { color: rgb(248 113 113); }
:is(.dark) .sib-delta-flat { color: rgb(107 114 128); }

/* #380 — matriz "Pagos por compañía · últimos 4 meses" del listado de Pagos: primera
   columna fija al scrollear, bordes de grupo por mes, números tabulares y sin quiebre. */
.sib-pagos-matriz table { border-collapse: separate; border-spacing: 0; min-width: 56rem; }
.sib-pagos-matriz th, .sib-pagos-matriz td { white-space: nowrap; }
.sib-pagos-matriz .num { font-variant-numeric: tabular-nums; }
.sib-pagos-matriz .lead { position: sticky; left: 0; z-index: 1; background: #fff; min-width: 14rem; border-right: 1px solid rgba(100,116,139,.2); }
:is(.dark) .sib-pagos-matriz .lead { background: rgb(24 24 27); }
.sib-pagos-matriz .g { border-left: 1px solid rgba(100,116,139,.2); }
.sib-pagos-matriz thead th small { display: block; font-weight: 400; text-transform: none; letter-spacing: 0; }
.sib-pagos-matriz thead th.actual { color: rgb(var(--primary-600)); }
:is(.dark) .sib-pagos-matriz thead th.actual { color: rgb(var(--primary-400)); }
.sib-var { display: block; font-size: .7rem; font-weight: 400; }
.sib-var.sube { color: rgb(var(--success-600)); }
:is(.dark) .sib-var.sube { color: rgb(var(--success-400)); }
.sib-var.baja { color: rgb(var(--danger-600)); }
:is(.dark) .sib-var.baja { color: rgb(var(--danger-400)); }
.sib-var.igual { color: rgb(107 114 128); }

/* ════════════════════════════════════════════════════════════════════════════
   #386 — MODO OSCURO (el default del panel) en las vistas Blade custom.

   El panel usa el CSS PRECOMPILADO de Filament (no hay build de Tailwind del
   proyecto): cualquier clase que Filament no use en sus propias vistas NO existe,
   y una vista con `hover:bg-gray-50 dark:hover:bg-gray-800/50` pinta el hover
   blanco (la clase clara sí está) con texto blanco (la dark no). Eso pasaba en
   "Pagos disponibles" de Crear Liquidación, accesos del cliente, Tarjeta PDF,
   Asistente IA, Cartera Vigente y Cta. Cte. de intermediarios.

   Dos capas, en este orden de preferencia:
   1) Polyfill de las variantes `dark:*` que las vistas ya declaran y Filament no
      compila (generado a partir de resources/views — si agregás una clase dark
      nueva, preferí una que Filament compile: dark:bg-gray-800, dark:text-gray-300,
      dark:hover:bg-white/5, dark:border-gray-700, dark:divide-white/10…).
   2) Safety net con `:where()` (specificity 0) para las clases CLARAS sin variante
      dark: bg-white, bg-gray-50, text-gray-900, hover:bg-gray-50… Cualquier
      `dark:` explícito (compilado o del polyfill) le gana.
   Antes vivía en resources/css/app.css, que el panel nunca carga.
   ════════════════════════════════════════════════════════════════════════════ */

/* 1) Polyfill de variantes dark declaradas en las vistas y no compiladas por Filament */
:is(.dark) .dark\:bg-amber-950\/40 { background-color: rgba(69,26,3,0.4); }
:is(.dark) .dark\:bg-blue-900 { background-color: rgba(30,58,138,1); }
:is(.dark) .dark\:bg-blue-950\/20 { background-color: rgba(23,37,84,0.2); }
:is(.dark) .dark\:bg-blue-950\/40 { background-color: rgba(23,37,84,0.4); }
:is(.dark) .dark\:bg-danger-400\/10 { background-color: rgba(var(--danger-400),0.1); }
:is(.dark) .dark\:bg-danger-500\/20 { background-color: rgba(var(--danger-500),0.2); }
:is(.dark) .dark\:bg-danger-900\/20 { background-color: rgba(var(--danger-900),0.2); }
:is(.dark) .dark\:bg-danger-900\/30 { background-color: rgba(var(--danger-900),0.3); }
:is(.dark) .dark\:bg-emerald-950\/20 { background-color: rgba(2,44,34,0.2); }
:is(.dark) .dark\:bg-emerald-950\/40 { background-color: rgba(2,44,34,0.4); }
:is(.dark) .dark\:bg-gray-800\/50 { background-color: rgba(31,41,55,0.5); }
:is(.dark) .dark\:bg-gray-900\/40 { background-color: rgba(17,24,39,0.4); }
:is(.dark) .dark\:bg-green-900 { background-color: rgba(20,83,45,1); }
:is(.dark) .dark\:bg-primary-900 { background-color: rgba(var(--primary-900),1); }
:is(.dark) .dark\:bg-red-900 { background-color: rgba(127,29,29,1); }
:is(.dark) .dark\:bg-red-950 { background-color: rgba(69,10,10,1); }
:is(.dark) .dark\:bg-sky-950\/40 { background-color: rgba(8,47,73,0.4); }
:is(.dark) .dark\:bg-success-500\/20 { background-color: rgba(var(--success-500),0.2); }
:is(.dark) .dark\:bg-success-900\/20 { background-color: rgba(var(--success-900),0.2); }
:is(.dark) .dark\:bg-success-900\/30 { background-color: rgba(var(--success-900),0.3); }
:is(.dark) .dark\:bg-violet-950\/40 { background-color: rgba(46,16,101,0.4); }
:is(.dark) .dark\:bg-warning-400\/10 { background-color: rgba(var(--warning-400),0.1); }
:is(.dark) .dark\:bg-warning-500\/20 { background-color: rgba(var(--warning-500),0.2); }
:is(.dark) .dark\:bg-warning-900\/30 { background-color: rgba(var(--warning-900),0.3); }
:is(.dark) .dark\:border-amber-800 { border-color: rgba(146,64,14,1); }
:is(.dark) .dark\:border-blue-600 { border-color: rgba(37,99,235,1); }
:is(.dark) .dark\:border-blue-800 { border-color: rgba(30,64,175,1); }
:is(.dark) .dark\:border-blue-900 { border-color: rgba(30,58,138,1); }
:is(.dark) .dark\:border-emerald-800 { border-color: rgba(6,95,70,1); }
:is(.dark) .dark\:border-emerald-900 { border-color: rgba(6,78,59,1); }
:is(.dark) .dark\:border-gray-800 { border-color: rgba(31,41,55,1); }
:is(.dark) .dark\:border-sky-800 { border-color: rgba(7,89,133,1); }
:is(.dark) .dark\:border-violet-800 { border-color: rgba(91,33,182,1); }
:is(.dark) .dark\:divide-gray-700 > :not([hidden]) ~ :not([hidden]) { border-color: rgba(55,65,81,1); }
:is(.dark) .dark\:divide-gray-800 > :not([hidden]) ~ :not([hidden]) { border-color: rgba(31,41,55,1); }
:is(.dark) .dark\:hover\:text-danger-400:hover { color: rgba(var(--danger-400),1); }
:is(.dark) .dark\:hover\:text-primary-400:hover { color: rgba(var(--primary-400),1); }
:is(.dark) .dark\:text-amber-300 { color: rgba(252,211,77,1); }
:is(.dark) .dark\:text-blue-200 { color: rgba(191,219,254,1); }
:is(.dark) .dark\:text-blue-300 { color: rgba(147,197,253,1); }
:is(.dark) .dark\:text-blue-300\/70 { color: rgba(147,197,253,0.7); }
:is(.dark) .dark\:text-emerald-200 { color: rgba(167,243,208,1); }
:is(.dark) .dark\:text-emerald-300 { color: rgba(110,231,183,1); }
:is(.dark) .dark\:text-emerald-300\/70 { color: rgba(110,231,183,0.7); }
:is(.dark) .dark\:text-gray-100 { color: rgba(243,244,246,1); }
:is(.dark) .dark\:text-gray-600 { color: rgba(75,85,99,1); }
:is(.dark) .dark\:text-green-200 { color: rgba(187,247,208,1); }
:is(.dark) .dark\:text-red-200 { color: rgba(254,202,202,1); }
:is(.dark) .dark\:text-red-400 { color: rgba(248,113,113,1); }
:is(.dark) .dark\:text-sky-300 { color: rgba(125,211,252,1); }
:is(.dark) .dark\:text-success-400 { color: rgba(var(--success-400),1); }
:is(.dark) .dark\:text-violet-300 { color: rgba(196,181,253,1); }
:is(.dark) .dark\:text-warning-400 { color: rgba(var(--warning-400),1); }

/* 2) Safety net para clases claras sin variante dark (specificity 0: cualquier dark: gana) */
:where(.dark) :where(.bg-white)        { background-color: rgb(31 41 55); }   /* gray-800 */
:where(.dark) :where(.bg-gray-50)      { background-color: rgb(31 41 55); }   /* gray-800 */
:where(.dark) :where(.bg-gray-100)     { background-color: rgb(55 65 81); }   /* gray-700 */
:where(.dark) :where(.bg-blue-50)      { background-color: rgb(30 58 138 / .35); }
:where(.dark) :where(.bg-green-50)     { background-color: rgb(20 83 45 / .35); }
:where(.dark) :where(.bg-amber-50)     { background-color: rgb(120 53 15 / .35); }
:where(.dark) :where(.bg-yellow-50)    { background-color: rgb(113 63 18 / .35); }
:where(.dark) :where(.bg-red-50)       { background-color: rgb(127 29 29 / .35); }
:where(.dark) :where(.bg-purple-50)    { background-color: rgb(76 29 149 / .35); }
:where(.dark) :where(.bg-orange-50)    { background-color: rgb(124 45 18 / .35); }
:where(.dark) :where(.bg-teal-50)      { background-color: rgb(19 78 74 / .35); }
:where(.dark) :where(.bg-primary-50)   { background-color: rgba(var(--primary-500), .15); }

/* hover: — el par que faltaba: la clase clara de hover sí está compilada y pintaba
   la fila blanca con texto blanco en modo oscuro */
:where(.dark) :where(.hover\:bg-white:hover)      { background-color: rgb(255 255 255 / .05); }
:where(.dark) :where(.hover\:bg-gray-50:hover)    { background-color: rgb(255 255 255 / .05); }
:where(.dark) :where(.hover\:bg-gray-100:hover)   { background-color: rgb(255 255 255 / .10); }
:where(.dark) :where(.hover\:bg-primary-50:hover) { background-color: rgba(var(--primary-500), .15); }
:where(.dark) :where(.hover\:bg-warning-50:hover) { background-color: rgba(var(--warning-500), .15); }
:where(.dark) :where(.hover\:text-gray-900:hover) { color: rgb(255 255 255); }
:where(.dark) :where(.hover\:text-gray-700:hover) { color: rgb(229 231 235); }

:where(.dark) :where(.text-gray-500)   { color: rgb(156 163 175); }            /* gray-400 */
:where(.dark) :where(.text-gray-600)   { color: rgb(209 213 219); }            /* gray-300 */
:where(.dark) :where(.text-gray-700)   { color: rgb(229 231 235); }            /* gray-200 */
:where(.dark) :where(.text-gray-800)   { color: rgb(243 244 246); }            /* gray-100 */
:where(.dark) :where(.text-gray-900)   { color: rgb(243 244 246); }            /* gray-100 */
:where(.dark) :where(.text-gray-950)   { color: rgb(249 250 251); }            /* gray-50  */
:where(.dark) :where(.text-black)      { color: rgb(243 244 246); }            /* gray-100 */

:where(.dark) :where(.border-gray-100) { border-color: rgb(55 65 81); }        /* gray-700 */
:where(.dark) :where(.border-gray-200) { border-color: rgb(55 65 81); }        /* gray-700 */
:where(.dark) :where(.border-gray-300) { border-color: rgb(75 85 99); }        /* gray-600 */
:where(.dark) :where(.border-amber-200){ border-color: rgb(146 64 14); }       /* amber-800 */
:where(.dark) :where(.border-blue-200) { border-color: rgb(30 64 175); }       /* blue-800 */
:where(.dark) :where(.border-green-200){ border-color: rgb(22 101 52); }       /* green-800 */
:where(.dark) :where(.border-red-200)  { border-color: rgb(153 27 27); }       /* red-800 */
:where(.dark) :where(.divide-gray-100) > :not([hidden]) ~ :not([hidden]) { border-color: rgb(55 65 81); }
:where(.dark) :where(.divide-gray-200) > :not([hidden]) ~ :not([hidden]) { border-color: rgb(55 65 81); }

:where(.dark) :where(.text-amber-800)  { color: rgb(252 211 77); }             /* amber-300 */
:where(.dark) :where(.text-blue-800)   { color: rgb(147 197 253); }            /* blue-300 */
:where(.dark) :where(.text-green-800)  { color: rgb(134 239 172); }            /* green-300 */
:where(.dark) :where(.text-red-800)    { color: rgb(252 165 165); }            /* red-300 */
:where(.dark) :where(.text-purple-800) { color: rgb(216 180 254); }            /* purple-300 */
:where(.dark) :where(.text-amber-700)  { color: rgb(252 211 77); }
:where(.dark) :where(.text-blue-700)   { color: rgb(147 197 253); }
:where(.dark) :where(.text-green-700)  { color: rgb(134 239 172); }
:where(.dark) :where(.text-red-700)    { color: rgb(252 165 165); }
:where(.dark) :where(.text-red-600)    { color: rgb(248 113 113); }
:where(.dark) :where(.text-green-600)  { color: rgb(74 222 128); }
:where(.dark) :where(.text-blue-600)   { color: rgb(96 165 250); }

/* 3) Clases semánticas propias (con variante dark) para lo que antes iba con colores
   inline pensados para fondo claro: chips y filas de Revisar emisión, fila elegida en
   Crear Liquidación / conversación activa del Asistente IA. */
.sib-chip-ok     { color: #15803d; background-color: rgba(34,197,94,.15); }
.sib-chip-dif    { color: #b91c1c; background-color: rgba(239,68,68,.15); }
.sib-chip-warn   { color: #92400e; background-color: rgba(245,158,11,.18); }
.sib-chip-info   { color: #1d4ed8; background-color: rgba(59,130,246,.15); }
.sib-chip-neutro { color: #4b5563; background-color: rgba(156,163,175,.2); }
:is(.dark) .sib-chip-ok     { color: rgb(134 239 172); background-color: rgba(34,197,94,.18); }
:is(.dark) .sib-chip-dif    { color: rgb(252 165 165); background-color: rgba(239,68,68,.20); }
:is(.dark) .sib-chip-warn   { color: rgb(252 211 77);  background-color: rgba(245,158,11,.20); }
:is(.dark) .sib-chip-info   { color: rgb(147 197 253); background-color: rgba(59,130,246,.20); }
:is(.dark) .sib-chip-neutro { color: rgb(209 213 219); background-color: rgba(156,163,175,.18); }

.sib-ok    { color: #16a34a; }   .sib-dif  { color: #dc2626; }
.sib-info  { color: #1d4ed8; }   .sib-muted{ color: #9ca3af; }
:is(.dark) .sib-ok    { color: rgb(74 222 128); }   :is(.dark) .sib-dif   { color: rgb(248 113 113); }
:is(.dark) .sib-info  { color: rgb(147 197 253); }  :is(.dark) .sib-muted { color: rgb(107 114 128); }

.sib-fila-ok     { background-color: rgba(34,197,94,.08); }
.sib-fila-dif    { background-color: rgba(239,68,68,.10); }
.sib-fila-warn   { background-color: rgba(245,158,11,.08); }
.sib-fila-neutro { background-color: rgba(156,163,175,.12); }
:is(.dark) .sib-fila-ok     { background-color: rgba(34,197,94,.14); }
:is(.dark) .sib-fila-dif    { background-color: rgba(239,68,68,.18); }
:is(.dark) .sib-fila-warn   { background-color: rgba(245,158,11,.14); }
:is(.dark) .sib-fila-neutro { background-color: rgba(156,163,175,.14); }

/* Fila seleccionada (Crear Liquidación) / conversación activa (Asistente IA): se tiene
   que ver en ambos modos, y por encima del hover. */
.sib-fila-seleccionada,
.sib-fila-seleccionada:hover { background-color: rgba(var(--primary-500), .12) !important; }
:is(.dark) .sib-fila-seleccionada,
:is(.dark) .sib-fila-seleccionada:hover { background-color: rgba(var(--primary-500), .28) !important; }

/* #376 — fichas de estado de la matriz "Estadísticas" de Gestiones de Cobranza
   (EstadoGestionCobranza::claseFicha()). Listo verde, Gestionando azul, Estancado
   naranja, Incobrable rojo, Anulado rojo oscuro; en cero, gris atenuada. */
.sib-ficha-ok            { background-color: rgb(220 252 231); color: rgb(21 128 61); }
.sib-ficha-info          { background-color: rgb(219 234 254); color: rgb(29 78 216); }
.sib-ficha-warn          { background-color: rgb(254 243 199); color: rgb(180 83 9); }
.sib-ficha-danger        { background-color: rgb(254 226 226); color: rgb(185 28 28); }
.sib-ficha-danger-oscuro { background-color: rgb(153 27 27);   color: #fff; }
.sib-ficha-cero          { background-color: rgb(243 244 246); color: rgb(156 163 175); opacity: .6; }
:is(.dark) .sib-ficha-ok            { background-color: rgba(34,197,94,.2);   color: rgb(134 239 172); }
:is(.dark) .sib-ficha-info          { background-color: rgba(59,130,246,.22); color: rgb(147 197 253); }
:is(.dark) .sib-ficha-warn          { background-color: rgba(245,158,11,.22); color: rgb(252 211 77); }
:is(.dark) .sib-ficha-danger        { background-color: rgba(239,68,68,.22);  color: rgb(252 165 165); }
:is(.dark) .sib-ficha-danger-oscuro { background-color: rgb(153 27 27);       color: #fff; }
:is(.dark) .sib-ficha-cero          { background-color: rgb(31 41 55);        color: rgb(107 114 128); opacity: .7; }

/* #390 — importe editable por póliza en Crear Liquidación (comisión fija). */
.sib-input-importe { width: calc(9ch + 1rem); padding: .25rem .5rem; background-color: #fff; color: rgb(17 24 39); -moz-appearance: textfield; appearance: textfield; }
.sib-input-importe::-webkit-inner-spin-button,
.sib-input-importe::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.sib-input-importe:focus { outline: 2px solid rgba(var(--primary-500), .5); outline-offset: 1px; }
:is(.dark) .sib-input-importe { background-color: rgb(31 41 55); color: rgb(243 244 246); }
.sib-input-ajustado { box-shadow: 0 0 0 2px rgba(var(--warning-500), .6); }

/* #392 — íconos de ramos vigentes del asegurado (Renovaciones, Clientes, ficha). */
.sib-ramos { display: inline-flex; align-items: center; gap: .25rem; flex-wrap: nowrap; }
.sib-ramo { position: relative; display: inline-flex; align-items: center; justify-content: center;
            width: 1.6rem; height: 1.6rem; border-radius: .375rem; border: 1.5px solid transparent; }
.sib-ramo svg { width: 1.1rem; height: 1.1rem; }
.sib-ramo-off { color: rgb(209 213 219); }
:is(.dark) .sib-ramo-off { color: rgb(75 85 99); }
.sib-ramo-on.sib-ramo-vehiculo { color: rgb(37 99 235); }
.sib-ramo-on.sib-ramo-hogar    { color: rgb(217 119 6); }
.sib-ramo-on.sib-ramo-comercio { color: rgb(124 58 237); }
.sib-ramo-on.sib-ramo-art      { color: rgb(202 138 4); }
.sib-ramo-on.sib-ramo-vida     { color: rgb(220 38 38); }
:is(.dark) .sib-ramo-on.sib-ramo-vehiculo { color: rgb(96 165 250); }
:is(.dark) .sib-ramo-on.sib-ramo-hogar    { color: rgb(251 191 36); }
:is(.dark) .sib-ramo-on.sib-ramo-comercio { color: rgb(167 139 250); }
:is(.dark) .sib-ramo-on.sib-ramo-art      { color: rgb(250 204 21); }
:is(.dark) .sib-ramo-on.sib-ramo-vida     { color: rgb(248 113 113); }
.sib-ramo-actual { border-color: currentColor; background-color: rgb(0 0 0 / .04); }
:is(.dark) .sib-ramo-actual { background-color: rgb(255 255 255 / .08); }
.sib-ramo-n { position: absolute; top: -.35rem; right: -.35rem; min-width: .95rem; height: .95rem; padding: 0 .2rem;
              border-radius: 999px; font-size: .6rem; line-height: .95rem; font-weight: 700; text-align: center;
              color: #fff; background-color: currentColor; }
.sib-ramo-n { color: #fff !important; }
.sib-ramo-on .sib-ramo-n { background-color: rgb(75 85 99); }
:is(.dark) .sib-ramo-on .sib-ramo-n { background-color: rgb(156 163 175); color: rgb(17 24 39) !important; }
/* chips de la ficha */
.sib-ramos-chips { flex-wrap: wrap; gap: .4rem; }
.sib-ramo-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .55rem; border-radius: 999px;
                 font-size: .8rem; font-weight: 500; border: 1px solid rgb(229 231 235); background: #fff; text-decoration: none; }
:is(.dark) .sib-ramo-chip { border-color: rgb(55 65 81); background: rgb(31 41 55); }
.sib-ramo-chip svg { width: 1rem; height: 1rem; }
.sib-ramo-chip.sib-ramo-off { color: rgb(156 163 175); }
:is(.dark) .sib-ramo-chip.sib-ramo-off { color: rgb(107 114 128); }
.sib-ramo-chip.sib-ramo-on { border-color: currentColor; }
a.sib-ramo-chip.sib-ramo-on:hover { background-color: rgb(0 0 0 / .04); }
:is(.dark) a.sib-ramo-chip.sib-ramo-on:hover { background-color: rgb(255 255 255 / .08); }
.sib-ramo-chip .sib-ramo-n { position: static; }
.sib-ramo-detalle { font-weight: 400; opacity: .8; }

/* ════ #399 — Estadísticas de Oportunidades ════ */
:root { --sib-s1: #2a78d6; }
.sib-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1100px) { .sib-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .sib-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sib-kpi { background: #fff; border-radius: .75rem; box-shadow: 0 1px 2px rgba(0,0,0,.05); outline: 1px solid rgba(9,9,11,.05); padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
:is(.dark) .sib-kpi { background: rgb(24 24 27); outline-color: rgba(255,255,255,.1); }
.sib-kpi-lbl { font-size: .8125rem; color: rgb(113 113 122); font-weight: 500; }
.sib-kpi-val { font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: rgb(9 9 11); }
:is(.dark) .sib-kpi-val { color: #fafafa; }
.sib-kpi-val small { font-size: .875rem; font-weight: 500; color: rgb(113 113 122); }
.sib-kpi-sub, .sib-delta { font-size: .75rem; color: rgb(113 113 122); }
.sib-delta.up { color: rgb(22 163 74); } .sib-delta.down { color: rgb(225 29 72); }
:is(.dark) .sib-delta.up { color: rgb(74 222 128); } :is(.dark) .sib-delta.down { color: rgb(251 113 133); }
.sib-tag { font-size: .625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: .375rem; padding: .125rem .5rem; margin-left: .5rem; vertical-align: middle; color: rgb(var(--primary-600)); background: rgba(var(--primary-500), .1); }
.sib-tag-2 { color: rgb(82 82 91); background: rgb(244 244 245); }
:is(.dark) .sib-tag-2 { color: rgb(161 161 170); background: rgba(161,161,170,.12); }
.sib-charts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: .5rem; }
.sib-charts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1100px) { .sib-charts, .sib-charts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .sib-charts, .sib-charts-2 { grid-template-columns: 1fr; } }
.sib-chart { min-width: 0; display: flex; flex-direction: column; gap: .5rem; }
.sib-chart h3 { margin: 0; font-size: .875rem; font-weight: 600; }
.sib-chart h3 small { display: block; font-weight: 400; font-size: .75rem; color: rgb(113 113 122); margin-top: .125rem; }
.sib-foot, .sib-vacio { font-size: .75rem; color: rgb(113 113 122); margin: 0; }
.sib-vacio { padding: .5rem 0; }
.sib-legend { display: flex; flex-wrap: wrap; gap: .25rem .875rem; font-size: .75rem; color: rgb(113 113 122); margin: 0; }
.sib-legend span { display: inline-flex; align-items: center; gap: .375rem; }
.sib-legend i { width: .75rem; height: .75rem; border-radius: .1875rem; display: inline-block; }
/* barras horizontales */
.sib-bh { display: flex; flex-direction: column; gap: .4rem; }
.sib-bh-row { display: grid; grid-template-columns: minmax(6rem, 10rem) 1fr auto; align-items: center; gap: .5rem; font-size: .8125rem; }
.sib-bh-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sib-bh-bar { display: block; height: .75rem; border-radius: 999px; background: rgb(244 244 245); overflow: hidden; }
:is(.dark) .sib-bh-bar { background: rgba(255,255,255,.08); }
.sib-bh-bar i { display: block; height: 100%; border-radius: 999px; transition: width .2s; }
.sib-bh-stack { display: flex; }
.sib-bh-stack i { border-radius: 0; }
.sib-bh-val { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
/* barras verticales svg */
.sib-bv { width: 100%; height: auto; }
.sib-bv .sib-grid { stroke: rgb(236 236 238); stroke-width: 1; }
:is(.dark) .sib-bv .sib-grid { stroke: rgb(38 38 42); }
.sib-bv .sib-tick { font-size: 11px; fill: rgb(113 113 122); font-family: inherit; }
.sib-bv .sib-mark:hover { opacity: .8; }
/* tablas */
.sib-tbl-wrap { overflow-x: auto; border: 1px solid rgb(228 228 231); border-radius: .5rem; }
:is(.dark) .sib-tbl-wrap { border-color: rgb(39 39 42); }
.sib-tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .8125rem; }
.sib-tbl th, .sib-tbl td { padding: .5rem .75rem; text-align: right; white-space: nowrap; }
.sib-tbl.compact th, .sib-tbl.compact td { padding: .4rem .5rem; }
.sib-tbl th { font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: rgb(113 113 122); background: rgb(250 250 250); border-bottom: 1px solid rgb(228 228 231); }
:is(.dark) .sib-tbl th { background: rgb(30 30 34); border-color: rgb(39 39 42); }
.sib-tbl th.l, .sib-tbl td.l { text-align: left; }
.sib-tbl td { border-top: 1px solid rgb(228 228 231); font-variant-numeric: tabular-nums; }
:is(.dark) .sib-tbl td { border-color: rgb(39 39 42); }
.sib-tbl tbody tr:first-child td { border-top: 0; }
.sib-tbl tbody tr:hover td { background: rgb(250 250 250); }
:is(.dark) .sib-tbl tbody tr:hover td { background: rgba(255,255,255,.04); }
.sib-tbl td.strong { font-weight: 600; }
.sib-tbl tfoot td { border-top: 2px solid rgb(228 228 231); font-weight: 600; }
.sib-dim { color: rgb(161 161 170); }
.sib-meter { display: inline-flex; align-items: center; gap: .5rem; justify-content: flex-end; }
.sib-meter-bar { width: 4rem; height: .375rem; border-radius: 999px; background: rgb(244 244 245); overflow: hidden; display: inline-block; }
:is(.dark) .sib-meter-bar { background: rgba(255,255,255,.1); }
.sib-meter-bar i { display: block; height: 100%; border-radius: 999px; background: var(--sib-s1); }
.sib-meter-bar.ok i { background: #0ca30c; } .sib-meter-bar.warn i { background: #fab219; } .sib-meter-bar.bad i { background: #d03b3b; }
.sib-meter b { min-width: 2.75rem; text-align: right; font-weight: 600; }
.sib-badge { display: inline-flex; font-size: .75rem; font-weight: 600; padding: .0625rem .5rem; border-radius: .375rem; }
.sib-badge.danger { color: #be123c; background: #fff1f2; } .sib-badge.success { color: #15803d; background: #f0fdf4; } .sib-badge.gray { color: #52525b; background: #f4f4f5; }
:is(.dark) .sib-badge.danger { color: #fb7185; background: rgba(251,113,133,.12); } :is(.dark) .sib-badge.success { color: #4ade80; background: rgba(74,222,128,.12); } :is(.dark) .sib-badge.gray { color: #a1a1aa; background: rgba(161,161,170,.12); }
.sib-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.sib-mini { border: 1px solid rgb(228 228 231); border-radius: .5rem; padding: .75rem .875rem; display: flex; flex-direction: column; gap: .125rem; }
:is(.dark) .sib-mini { border-color: rgb(39 39 42); }
.sib-mini-lbl { font-size: .75rem; color: rgb(113 113 122); display: flex; align-items: center; gap: .375rem; }
.sib-mini-lbl i { width: .5rem; height: .5rem; border-radius: 999px; display: inline-block; }
.sib-mini-val { font-size: 1.375rem; font-weight: 700; }
.sib-mini-val small { font-size: .75rem; font-weight: 500; color: rgb(113 113 122); }

/* #415 — texto de los tickets de soporte (descripción y comentarios del hilo) renderizado
   desde Markdown: listas, negritas y subtítulos legibles. Filament no trae la tipografía
   de Tailwind, así que el espaciado de los bloques va acá. */
.sib-md > *:first-child { margin-top: 0; }
.sib-md > *:last-child  { margin-bottom: 0; }
.sib-md p  { margin: .5rem 0; line-height: 1.5; }
.sib-md ul,
.sib-md ol { margin: .5rem 0; padding-left: 1.4rem; }
.sib-md ul { list-style: disc; }
.sib-md ol { list-style: decimal; }
.sib-md li { margin: .2rem 0; }
.sib-md li > ul,
.sib-md li > ol { margin: .2rem 0; }
.sib-md strong { font-weight: 600; }
.sib-md em { font-style: italic; }
.sib-md h1, .sib-md h2, .sib-md h3, .sib-md h4 {
    font-weight: 600; margin: .9rem 0 .35rem; line-height: 1.3;
}
.sib-md h1 { font-size: 1.05rem; }
.sib-md h2 { font-size: 1rem; }
.sib-md h3, .sib-md h4 { font-size: .95rem; }
.sib-md a { color: rgb(37 99 235); text-decoration: underline; }
:is(.dark) .sib-md a { color: rgb(147 197 253); }
.sib-md code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em;
    background: rgb(243 244 246); padding: .1rem .3rem; border-radius: .25rem;
}
:is(.dark) .sib-md code { background: rgb(55 65 81); }
.sib-md pre { background: rgb(243 244 246); padding: .6rem .7rem; border-radius: .4rem; overflow-x: auto; margin: .5rem 0; }
:is(.dark) .sib-md pre { background: rgb(31 41 55); }
.sib-md pre code { background: none; padding: 0; }
.sib-md blockquote {
    border-left: 3px solid rgb(209 213 219); padding-left: .7rem; margin: .5rem 0; color: rgb(107 114 128);
}
.sib-md hr { border: 0; border-top: 1px solid rgb(229 231 235); margin: .8rem 0; }
:is(.dark) .sib-md hr { border-top-color: rgb(55 65 81); }

/* #427 — Encabezado de cada riesgo con fondo naranja claro, en pólizas y propuestas.
   Con varios riesgos cargados (una flota, los inmuebles de un combinado, las vidas de
   un VC) el formulario era una sucesión de tarjetas iguales y costaba ver dónde
   terminaba uno y empezaba el siguiente. RiesgosBuilder marca los tres contenedores
   posibles con .sib-riesgo-bloque: el repeater de riesgos múltiples, la sección del
   riesgo único (ART, caución, transporte…) y el repeater de riesgos hijos (vidas VC).

   Los selectores bajan por la estructura EXACTA del repeater de Filament
   (.fi-fo-repeater > ul > div.grid > li) a propósito: adentro de cada riesgo viven las
   coberturas y los accesorios, que son otros repeaters y tienen que seguir leyéndose
   como una grilla, sin naranja. */
.sib-riesgo-bloque > ul > div > li.fi-fo-repeater-item > .fi-fo-repeater-item-header,
.sib-riesgo-bloque.fi-section > .fi-section-header {
    background-color: rgb(255 237 213);           /* orange-100 */
    border-bottom: 1px solid rgb(254 215 170);    /* orange-200 */
}
.sib-riesgo-bloque > ul > div > li.fi-fo-repeater-item > .fi-fo-repeater-item-header {
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}
.sib-riesgo-bloque.fi-section > .fi-section-header {
    border-top-left-radius: var(--sib-radio);
    border-top-right-radius: var(--sib-radio);
}

/* En oscuro el naranja pleno encandila: se usa el mismo tono al 12% sobre el fondo del
   panel, que mantiene la señal sin romper el contraste del texto. */
:is(.dark) .sib-riesgo-bloque > ul > div > li.fi-fo-repeater-item > .fi-fo-repeater-item-header,
:is(.dark) .sib-riesgo-bloque.fi-section > .fi-section-header {
    background-color: rgb(249 115 22 / 0.12);
    border-bottom-color: rgb(249 115 22 / 0.25);
}

/* #421 — Con FiltersLayout::AboveContentCollapsible (listado de Clientes) Filament pone
   el botón "Filtros" contra el margen derecho (span.ms-auto). El equipo lo quiere a la
   izquierda, donde arranca la lectura de la grilla. El span es hijo directo del
   contenedor grid de filtros; solo existe en el layout colapsable. */
.fi-ta-filters-above-content-ctn > span.ms-auto {
    margin-inline-start: 0;
    justify-self: start;
}

/* ════ #453 — Evolución de cartera: cuadro legible ════
   Encabezado con fondo propio (pizarra) y fijo al scrollear, filas alternadas, mes en
   curso y columna interanual diferenciados con tonos neutros: el verde/rojo de las
   variaciones sigue siendo lo más visible. Los colores de variación van con dos clases
   (.sib-evo .sib-delta-up) porque la regla genérica `.sib-delta` del #399 (más abajo en
   este archivo) les pisaba el color y las dejaba grises. */
.sib-evo-scroll { max-height: 70vh; overflow: auto; border-radius: 0 0 .75rem .75rem; }
.sib-evo table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .875rem; }
.sib-evo th, .sib-evo td { padding: .5rem 1rem; white-space: nowrap; vertical-align: top; }
.sib-evo .num { text-align: right; font-variant-numeric: tabular-nums; }
.sib-evo .lead { position: sticky; left: 0; z-index: 1; text-align: left; min-width: 12rem; }

.sib-evo thead th { position: sticky; top: 0; z-index: 2; background: rgb(51 65 85); color: #fff; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; border-bottom: 2px solid rgb(30 41 59); }
.sib-evo thead th.lead { z-index: 3; }
.sib-evo thead th.actual { background: rgb(30 41 59); }
.sib-evo thead th.comparativa { background: rgb(15 23 42); border-left: 2px solid rgb(148 163 184); }
.sib-evo thead th small { display: block; font-size: .6875rem; font-weight: 400; text-transform: none; letter-spacing: 0; color: rgb(203 213 225); }

.sib-evo tbody td { background-color: #fff; color: rgb(71 85 105); border-bottom: 1px solid rgb(226 232 240); }
.sib-evo tbody tr:nth-child(even) td { background-color: rgb(241 245 249); }
.sib-evo tbody tr:hover td { background-color: rgb(226 232 240); }
.sib-evo tbody td.lead { color: rgb(15 23 42); font-weight: 500; border-right: 1px solid rgb(226 232 240); }
.sib-evo td.actual { background-image: linear-gradient(rgba(100 116 139 / .10), rgba(100 116 139 / .10)); color: rgb(15 23 42); font-weight: 600; }
.sib-evo td.comparativa { background-image: linear-gradient(rgba(100 116 139 / .14), rgba(100 116 139 / .14)); border-left: 2px solid rgb(148 163 184); }

.sib-evo tfoot td { position: sticky; bottom: 0; z-index: 1; background-color: rgb(226 232 240); color: rgb(15 23 42); font-weight: 700; border-top: 2px solid rgb(100 116 139); }
.sib-evo tfoot td.lead { z-index: 2; }

.sib-evo .sib-evo-delta { font-size: 11px; line-height: 1.2; font-weight: 500; }
.sib-evo .sib-evo-var { font-size: .9375rem; font-weight: 700; }
.sib-evo .sib-evo-sub { font-size: 11px; line-height: 1.2; font-weight: 400; color: rgb(100 116 139); }
.sib-evo .sib-evo-sin-dato { font-size: .8125rem; font-style: italic; font-weight: 500; }
.sib-evo .sib-delta-up   { color: rgb(21 128 61); }
.sib-evo .sib-delta-down { color: rgb(220 38 38); }
.sib-evo .sib-delta-flat { color: rgb(148 163 184); }

:is(.dark) .sib-evo thead th { background: rgb(39 39 42); color: rgb(244 244 245); border-bottom-color: rgb(82 82 91); }
:is(.dark) .sib-evo thead th.actual { background: rgb(52 52 57); }
:is(.dark) .sib-evo thead th.comparativa { background: rgb(63 63 70); border-left-color: rgb(113 113 122); }
:is(.dark) .sib-evo thead th small { color: rgb(161 161 170); }
:is(.dark) .sib-evo tbody td { background-color: rgb(24 24 27); color: rgb(212 212 216); border-bottom-color: rgba(255 255 255 / .06); }
:is(.dark) .sib-evo tbody tr:nth-child(even) td { background-color: rgb(32 32 36); }
:is(.dark) .sib-evo tbody tr:hover td { background-color: rgb(45 45 50); }
:is(.dark) .sib-evo tbody td.lead { color: rgb(244 244 245); border-right-color: rgba(255 255 255 / .08); }
:is(.dark) .sib-evo td.actual { background-image: linear-gradient(rgba(255 255 255 / .04), rgba(255 255 255 / .04)); color: #fff; }
:is(.dark) .sib-evo td.comparativa { background-image: linear-gradient(rgba(255 255 255 / .07), rgba(255 255 255 / .07)); border-left-color: rgb(113 113 122); }
:is(.dark) .sib-evo tfoot td { background-color: rgb(39 39 42); color: #fff; border-top-color: rgb(113 113 122); }
:is(.dark) .sib-evo .sib-evo-sub { color: rgb(161 161 170); }
:is(.dark) .sib-evo .sib-delta-up   { color: rgb(74 222 128); }
:is(.dark) .sib-evo .sib-delta-down { color: rgb(248 113 113); }
:is(.dark) .sib-evo .sib-delta-flat { color: rgb(113 113 122); }

/* Impresión / PDF: el cuadro entero (sin scroll ni celdas fijas), con los fondos, y sin
   el menú lateral ni la barra superior del panel. */
@media print {
    .sib-evo-scroll { max-height: none; overflow: visible; }
    .sib-evo thead th, .sib-evo tfoot td, .sib-evo .lead { position: static; }
    .sib-evo, .sib-evo * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .sib-evo th, .sib-evo td { padding: .25rem .5rem; }
    .sib-evo tr { break-inside: avoid; }
    body:has(.sib-evo) .fi-sidebar,
    body:has(.sib-evo) .fi-topbar,
    body:has(.sib-evo) .fi-header .fi-ac,
    body:has(.sib-evo) .sib-no-imprimir { display: none !important; }
}

/* ════ #454 — Evolución de cartera: celdas clickeables y detalle de altas/bajas ════ */
.sib-evo-link > span { display: block; }
.sib-evo-link { all: unset; box-sizing: border-box; display: block; width: calc(100% + .75rem); cursor: pointer; border-radius: .375rem; margin: -.125rem -.375rem; padding: .125rem .375rem; }
.sib-evo-link:hover, .sib-evo-link:focus-visible { background: rgba(100 116 139 / .14); outline: 1px solid rgba(100 116 139 / .35); }
:is(.dark) .sib-evo-link:hover, :is(.dark) .sib-evo-link:focus-visible { background: rgba(255 255 255 / .08); outline-color: rgba(255 255 255 / .2); }

.sib-evo-det { display: flex; flex-direction: column; gap: 1rem; font-size: .875rem; }
.sib-evo-det-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.sib-evo-det-titulo { font-weight: 600; font-size: 1rem; color: rgb(15 23 42); }
:is(.dark) .sib-evo-det-titulo { color: #fff; }
.sib-evo-det-ayuda { font-size: .75rem; color: rgb(100 116 139); margin-top: .125rem; }
:is(.dark) .sib-evo-det-ayuda { color: rgb(161 161 170); }
.sib-evo-det-resumen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
@media (max-width: 900px) { .sib-evo-det-resumen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sib-evo-det-kpi { border: 1px solid rgb(226 232 240); border-radius: .75rem; padding: .625rem .875rem; display: flex; flex-direction: column; gap: .125rem; }
:is(.dark) .sib-evo-det-kpi { border-color: rgba(255 255 255 / .1); }
.sib-evo-det-kpi span { font-size: .75rem; color: rgb(100 116 139); font-weight: 500; }
.sib-evo-det-kpi strong { font-size: 1.375rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.sib-evo-det-kpi small { font-size: .6875rem; color: rgb(100 116 139); }
.sib-evo-det-real { background: rgb(248 250 252); }
:is(.dark) .sib-evo-det-real { background: rgba(255 255 255 / .03); }
.sib-evo-det .sib-delta-up   { color: rgb(21 128 61); }
.sib-evo-det .sib-delta-down { color: rgb(220 38 38); }
.sib-evo-det .sib-delta-flat { color: rgb(148 163 184); }
:is(.dark) .sib-evo-det .sib-delta-up   { color: rgb(74 222 128); }
:is(.dark) .sib-evo-det .sib-delta-down { color: rgb(248 113 113); }
.sib-evo-det-grupo { display: flex; align-items: center; gap: .5rem; font-size: .9375rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: .375rem .75rem; border-radius: .5rem; margin-top: .5rem; }
.sib-evo-det-grupo span { font-variant-numeric: tabular-nums; }
.sib-evo-det-altas { background: rgb(240 253 244); color: rgb(21 128 61); }
.sib-evo-det-bajas { background: rgb(254 242 242); color: rgb(185 28 28); }
:is(.dark) .sib-evo-det-altas { background: rgba(34 197 94 / .12); color: rgb(74 222 128); }
:is(.dark) .sib-evo-det-bajas { background: rgba(239 68 68 / .12); color: rgb(248 113 113); }
/* #454 rework: propuestas pendientes de emisión (seguro nuevo / anulación). */
.sib-evo-det-pendientes { background: rgb(255 251 235); color: rgb(180 83 9); }
:is(.dark) .sib-evo-det-pendientes { background: rgba(245 158 11 / .12); color: rgb(251 191 36); }
.sib-evo-det-motivo h4 { font-weight: 600; color: rgb(30 41 59); display: flex; gap: .5rem; align-items: baseline; }
:is(.dark) .sib-evo-det-motivo h4 { color: rgb(228 228 231); }
.sib-evo-det-motivo h4 span { font-size: .75rem; font-weight: 600; color: rgb(71 85 105); background: rgb(241 245 249); border-radius: 9999px; padding: 0 .5rem; }
:is(.dark) .sib-evo-det-motivo h4 span { color: rgb(212 212 216); background: rgba(255 255 255 / .08); }
.sib-evo-det-vacio { font-size: .8125rem; color: rgb(148 163 184); font-style: italic; margin-top: .25rem; }
.sib-evo-det-tabla { margin-top: .5rem; overflow-x: auto; border: 1px solid rgb(226 232 240); border-radius: .5rem; }
:is(.dark) .sib-evo-det-tabla { border-color: rgba(255 255 255 / .1); }
.sib-evo-det-tabla table { width: 100%; border-collapse: collapse; font-size: .8125rem; }
.sib-evo-det-tabla th { background: rgb(51 65 85); color: #fff; font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; text-align: left; padding: .375rem .625rem; white-space: nowrap; }
:is(.dark) .sib-evo-det-tabla th { background: rgb(39 39 42); }
.sib-evo-det-tabla td { padding: .375rem .625rem; border-top: 1px solid rgb(226 232 240); color: rgb(51 65 85); white-space: nowrap; }
:is(.dark) .sib-evo-det-tabla td { border-top-color: rgba(255 255 255 / .06); color: rgb(212 212 216); }
.sib-evo-det-tabla tbody tr:nth-child(even) td { background: rgb(248 250 252); }
:is(.dark) .sib-evo-det-tabla tbody tr:nth-child(even) td { background: rgba(255 255 255 / .03); }
.sib-evo-det-tabla td.num { font-variant-numeric: tabular-nums; }
.sib-evo-det-tabla a { color: rgb(var(--primary-600)); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
:is(.dark) .sib-evo-det-tabla a { color: rgb(var(--primary-400)); }
@media print { .sib-evo-link:hover { background: none; outline: none; } }

/* ── #504 — Aviso de estado en la ficha del ticket de soporte ───────────────
   Lo primero que se ve al abrir el ticket: fondo de color según la etapa, ícono y título
   grandes, instrucción en negrita y el link a staging como botón. CSS plano (sin build). */
.sib-aviso-estado {
    --sib-av-fondo: rgb(239 246 255); --sib-av-borde: rgb(59 130 246); --sib-av-texto: rgb(30 58 138);
    --sib-av-boton: rgb(37 99 235);
    background: var(--sib-av-fondo);
    border: 1px solid var(--sib-av-borde);
    border-left-width: 6px;
    border-radius: .75rem;
    padding: 1.25rem 1.5rem;
    color: var(--sib-av-texto);
}
.sib-aviso-cabecera { display: flex; align-items: center; gap: .75rem; }
.sib-aviso-icono { display: inline-flex; flex-shrink: 0; color: var(--sib-av-borde); }
.sib-aviso-icono-svg { width: 2.25rem; height: 2.25rem; }
.sib-aviso-titulo { font-size: 1.5rem; line-height: 2rem; font-weight: 700; margin: 0; }
.sib-aviso-instruccion { font-size: 1.125rem; line-height: 1.6rem; margin-top: .75rem; }
.sib-aviso-instruccion strong { font-weight: 700; }
.sib-aviso-detalle { font-size: .9375rem; margin-top: .375rem; opacity: .9; }
.sib-aviso-boton {
    display: inline-flex; align-items: center; gap: .5rem;
    margin-top: 1rem; padding: .75rem 1.5rem;
    background: var(--sib-av-boton); color: #fff !important;
    font-size: 1.0625rem; font-weight: 700; text-decoration: none;
    border-radius: .5rem; box-shadow: 0 1px 3px rgba(0 0 0 / .15);
}
.sib-aviso-boton:hover { filter: brightness(1.08); }
.sib-aviso-recordatorio {
    margin-top: 1rem; padding-top: .75rem;
    border-top: 1px dashed var(--sib-av-borde);
    font-size: .9375rem; font-weight: 600;
}
/* Variantes: naranja = probar en staging, azul = desarrollo, verde = producción/resuelto. */
.sib-aviso-nuevo      { --sib-av-fondo: rgb(248 250 252); --sib-av-borde: rgb(100 116 139); --sib-av-texto: rgb(30 41 59); }
.sib-aviso-desarrollo { --sib-av-fondo: rgb(239 246 255); --sib-av-borde: rgb(59 130 246); --sib-av-texto: rgb(30 58 138); --sib-av-boton: rgb(37 99 235); }
.sib-aviso-staging    { --sib-av-fondo: rgb(255 247 237); --sib-av-borde: rgb(249 115 22); --sib-av-texto: rgb(124 45 18); --sib-av-boton: rgb(234 88 12); }
.sib-aviso-aprobado,
.sib-aviso-produccion,
.sib-aviso-resuelto   { --sib-av-fondo: rgb(240 253 244); --sib-av-borde: rgb(34 197 94); --sib-av-texto: rgb(20 83 45); --sib-av-boton: rgb(22 163 74); }
:is(.dark) .sib-aviso-nuevo      { --sib-av-fondo: rgba(148 163 184 / .12); --sib-av-texto: rgb(226 232 240); }
:is(.dark) .sib-aviso-desarrollo { --sib-av-fondo: rgba(59 130 246 / .14); --sib-av-texto: rgb(191 219 254); }
:is(.dark) .sib-aviso-staging    { --sib-av-fondo: rgba(249 115 22 / .14); --sib-av-texto: rgb(254 215 170); }
:is(.dark) .sib-aviso-aprobado,
:is(.dark) .sib-aviso-produccion,
:is(.dark) .sib-aviso-resuelto   { --sib-av-fondo: rgba(34 197 94 / .14); --sib-av-texto: rgb(187 247 208); }
@media (max-width: 767px) {
    .sib-aviso-estado { padding: 1rem; }
    .sib-aviso-titulo { font-size: 1.25rem; line-height: 1.75rem; }
    .sib-aviso-boton { display: flex; justify-content: center; }
}

/* «Entrar como» (app/Services/Impersonacion.php): franja fija mientras se está como otro usuario. */
.sib-impersonando {
    position: sticky; top: 0; z-index: 40;
    display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap;
    padding: .5rem 1rem;
    background: rgb(234 88 12); color: #fff;
    font-size: .875rem; line-height: 1.25rem;
    box-shadow: 0 1px 3px rgb(0 0 0 / .25);
}
.sib-impersonando strong { font-weight: 700; }
.sib-impersonando form { margin: 0; }
.sib-impersonando-boton {
    display: inline-flex; align-items: center; gap: .375rem;
    padding: .25rem .75rem; border-radius: .5rem;
    background: #fff; color: rgb(154 52 18); font-weight: 600; cursor: pointer; border: 0;
}
.sib-impersonando-boton:hover { background: rgb(255 237 213); }
:is(.dark) .sib-impersonando { background: rgb(194 65 12); }

/* #490 Copiar datos con link (resources/views/components/copiar-valor.blade.php, usado por las
   vistas de TextColumn/TextEntry en resources/views/vendor/): ícono chico al lado del dato,
   invisible hasta pasar el mouse por el ítem/celda o enfocarlo con el teclado. */
.sib-copiar-valor {
    display: inline-flex; align-items: center; flex-shrink: 0;
    margin-inline-start: .375rem; padding: 0; border: 0; background: none; cursor: pointer;
    color: rgb(156 163 175);
    opacity: 0; transition: opacity .1s, color .1s;
}
.sib-copiar-icono { width: 1rem; height: 1rem; }
:hover > .sib-copiar-valor,
.fi-ta-cell:hover .sib-copiar-valor,
.fi-in-text:hover .sib-copiar-valor,
.sib-copiar-valor:focus-visible { opacity: 1; }
.sib-copiar-valor:hover,
.sib-copiar-valor:focus-visible { color: rgb(var(--primary-600)); }
:is(.dark) .sib-copiar-valor { color: rgb(107 114 128); }
:is(.dark) .sib-copiar-valor:hover,
:is(.dark) .sib-copiar-valor:focus-visible { color: rgb(var(--primary-400)); }

/* #585 Gestiones de Cobranza: seguimiento vencido y cobertura vencida (columnas del listado). */
.sib-texto-vencido { color: var(--sib-vencida); }
